Retro68/binutils/ld/testsuite/ld-powerpc/symtocbase-1.s
2012-03-26 21:18:29 +02:00

19 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