aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-powerpc/tlsopt3_32.s
blob: c2b5fcd0ec2579962a9a5aed79c8d157d7c1c108 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
 .section ".tbss","awT",@nobits
 .global gd0
 .align 3
gd0: .space 8

 .section ".no_opt3", "ax", %progbits
# this section should also not be optimised
 addi 3,30,gd@got@tlsgd
 b 0f
 addi 3,30,gd0@got@tlsgd
 b 1f
0:
 bl __tls_get_addr
 b 2f
1:
 bl __tls_get_addr
2: