binutils-gdb/ld/testsuite/ld-powerpc/symtocbase-1.s

19 lines
252 B
ArmAsm
Raw Normal View History

.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