aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-powerpc/tlsopt2_32.s
blob: 8c387d08d68cadb7408da0a8800f8a6f6da9f726 (plain)
1
2
3
4
5
6
7
8
9
10
 .section ".no_opt2", "ax", %progbits
# this section should not be optimised since we have old-style
# __tls_get_addr without marker relocs, and two arg setup insns
# feed into one __tls_get_addr call.
 addi 3,30,gd@got@tlsgd
 cmpwi 4,0
 beq 0f
 addi 3,30,gd@got@tlsgd
0:
 bl __tls_get_addr