Commit | Line | Data |
---|---|---|
8fd4256d L |
1 | # Test SIZE32 relocations against global symbols |
2 | .text | |
3 | movl $xxx@SIZE, %eax | |
4 | movl $xxx@SIZE - 8, %eax | |
5 | movl $xxx@SIZE + 8, %eax | |
6 | movl $yyy@SIZE, %eax | |
7 | movl $yyy@SIZE - 16, %eax | |
8 | movl $yyy@SIZE + 16, %eax | |
9 | movl $zzz@SIZE, %eax | |
10 | movl $zzz@SIZE - 32, %eax | |
11 | movl $zzz@SIZE + 32, %eax | |
12 | .comm zzz,429496729,32 | |
13 | .bss | |
14 | .global yyy | |
15 | .type yyy,%object | |
16 | .size yyy,30 | |
17 | yyy: | |
18 | .zero 30 | |
19 | .data | |
20 | .global xxx | |
21 | .type xxx,%object | |
22 | .size xxx,80 | |
23 | xxx: | |
24 | .zero 80 | |
25 | .long xxx@SIZE - 1 | |
26 | .long yyy@SIZE + 2 | |
27 | .long zzz@SIZE |