summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/ppc/xcoff-toc-1.s
blob: ac491aef6d5d3601352f1c0dd30a9dafbc2e0d44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
	.csect _rw_[RW],4
	.toc

	.csect .text[PR]
	.align 2
	.lglobl .foo
	.csect foo[DS]
foo:
	.long .foo, TOC[tc0], 0
	.csect .text[PR]
.foo:
	lwz 1,LC..72(2)
	blr
	.align 2
	.toc
LC..72:
	.tc data[TC],data
	.csect _rw_[RW],4
	.align 2
data:
	.space 0x10000