aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-powerpc/tocnovar.s
blob: 8045d1488c044b7bac50c4a5b5a94ac1bfc92d7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
 .section .opd,"aw",@progbits
 .global _start
 .type _start,@function
_start:
 .quad .L_start, .TOC.@tocbase, 0

 .text
.L_start:
 lwz 3,x@toc(2)
 b _start
 .size _start,.-.L_start

 .section .toc,"aw",@progbits
 .type x,@object
x: .long 0
 .size x,.-x