]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - ld/testsuite/ld-powerpc/aix-toc-1b.s
bfd/
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-powerpc / aix-toc-1b.s
1 .macro loadtoc
2 .toc
3 .tc asym\@[TC], \@ | 0x10000
4
5 .csect .f2[PR]
6 .if size == 32
7 lwz 1,asym\@[TC](2)
8 .else
9 ld 1,asym\@[TC](2)
10 .endif
11 .endm
12
13 .globl .f2
14 .csect .f2[PR]
15 .f2:
16 .rept 0x7ffc * 8 / size
17 loadtoc
18 .endr
19
20 .globl f2
21 .csect f2[DS]
22 f2:
23 .long .f2[PR],TOC[TC0],0