aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-powerpc/tocopt2.s
blob: 8d07de09a3af4f7853e0689ad00b1add2fb4afdf (plain)
1
2
3
4
5
6
7
8
9
10
 .globl xt
 .section .toc,"aw"
xt:
 .quad x

 .globl _start
 .text
_start:
 addis 9,2,xt@toc@ha
 ld 9,xt@toc@l(9)