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

23 lines
281 B
ArmAsm
Raw Normal View History

2022-10-27 18:45:45 +00:00
.section .toc,"aw",@progbits
2012-03-26 19:18:29 +00:00
.align 15
.globl x
x: .quad .x,.x@tocbase,0
.LCi: .quad i
.space 48 * 1024
2022-10-27 18:45:45 +00:00
.data
.p2align 2
2012-03-26 19:18:29 +00:00
.globl i
i: .long 0
.L1bases:
.quad .TOC.@tocbase
.quad .x@tocbase
.quad .y@tocbase
2022-10-27 18:45:45 +00:00
.text
2012-03-26 19:18:29 +00:00
.globl .x
2022-10-27 18:45:45 +00:00
.hidden .x
2012-03-26 19:18:29 +00:00
.x:
ld 9,.LCi@toc(2)
blr