aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-powerpc/tlsopt1.s
blob: e66e315c2fcdbcc2c43dbcedd369f7755725f5dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
 .section ".no_opt1", "ax", %progbits
# this section should not be optimised since we have old-style
# __tls_get_addr without marker relocs, and the arg setup insn
# is shared with two __tls_get_addr calls.
 addi 3,2,gd@got@tlsgd
 cmpdi 4,0
 beq 0f
 bl __tls_get_addr
 nop
 b 1f
0:
 bl __tls_get_addr
 nop
1: