summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-powerpc/symtocbase-2.s
blob: 1176cb8a9c543d9e2f195ddcd5bd45a906ccf00c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
.section .toc,"aw",@progbits
	.align 15
	.globl y
y:	.quad	.y,.y@tocbase,0
.LCi:	.quad	i
	.space	48 * 1024
.data
.L2bases:
	.quad	.TOC.@tocbase
	.quad	.x@tocbase
	.quad	.y@tocbase
.text
	.globl .y
.y:
	ld 9,.LCi@toc(2)
	blr