aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-powerpc/symtocbase-1.s
blob: ba6f073710c3eecbc3bb4fda2c43e53965cb2dbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
.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