aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-powerpc/tlsopt5_32.s
blob: d07b74257942e86a4313db60e2fcb7e292077e46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
 .globl _start
_start:
 stwu 1,-16(1)
 mflr 0
 bcl 20,31,.L2
.L2:
 stw 30,8(1)
 mflr 30
 addis 30,30,_GLOBAL_OFFSET_TABLE_-.L2@ha
 stw 0,20(1)
 addi 30,30,_GLOBAL_OFFSET_TABLE_-.L2@l
 addi 3,30,gd@got@tlsgd
 bl __tls_get_addr(gd@tlsgd)@plt
 lwz 0,20(1)
 lwz 30,8(1)
 mtlr 0
 addi 1,1,16
 blr