old-cross-binutils/ld/testsuite/ld-powerpc/symtocbase-1.s
2005-09-28 19:32:19 +00:00

18 lines
252 B
ArmAsm

.section .toc,"aw",@progbits
.align 15
.globl x
x: .quad .x,.x@tocbase,0
.LCi: .quad i
.space 48 * 1024
.data
.globl i
i: .long 0
.L1bases:
.quad .TOC.@tocbase
.quad .x@tocbase
.quad .y@tocbase
.text
.globl .x
.x:
ld 9,.LCi@toc(2)
blr