aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-powerpc/ppc476-shared.s
blob: e23b78a47fbd34976757b3eca839b23e6a8383c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
 .text
 lis 3,x@ha
 addi 3,3,x@l
 .org 0x10000
 lis 3,x@ha
 addi 3,3,x@l
 .org 0x20000
 lis 3,x@ha
 addi 3,3,x@l

 .org 0x2fff4
 bcl 20,31,.+4
0:
 mflr 9
 addis 9,9,x-0b@ha
 addi 9,9,x-0b@l

 .section .bss,"aw",@nobits
x: .space 4