Commit | Line | Data |
---|---|---|
252b5132 RH |
1 | .section ".data" |
2 | .globl x | |
3 | .globl z | |
4 | x: .long 0 | |
5 | z = . + 4 | |
6 | four = z - x - 4 | |
7 | y: .long 0 | |
8 | ||
9 | .section ".text" | |
10 | foo: | |
11 | nop ; nop ; nop | |
12 | .globl a | |
13 | a: b .+4 | |
14 | b: b .+8 | |
15 | b x | |
16 | b y | |
17 | b z | |
18 | b z+20 | |
19 | b .+four | |
20 | b a | |
21 | b b | |
22 | b a+4 | |
23 | b b+4 | |
24 | b a@local | |
25 | b b@local | |
26 | .long . | |
27 | .long .+8 | |
28 | .long x-. | |
29 | .long x+4-. | |
30 | .long z-. | |
31 | .long y-. | |
32 | .long x | |
33 | .long y | |
34 | .long z | |
35 | .long x-four | |
36 | .long y-four | |
37 | .long z-four | |
38 | .long a-. | |
39 | .long b-. | |
40 | .long a | |
41 | .long b | |
42 | ||
43 | apfour = a + four | |
44 | .long apfour | |
45 | .long a-apfour | |
46 | .long apfour+2 | |
47 | .long apfour-b | |
48 | ||
49 | .type foo,@function | |
50 | .type a,@function | |
51 | .type b,@function | |
52 | .type apfour,@function |