* elf32-spu.c (build_stub): Fix malloc under-allocation.
[binutils.git] / ld / testsuite / ld-powerpc / tlsopt4_32.s
blob9643fcb202c765f448a7ed58bbec02a5b5106a83
1 .section ".tbss","awT",@nobits
2 .global gd0
3 .align 3
4 gd0: .space 8
6 .section ".opt1", "ax", %progbits
7 addi 3,13,gd@got@tlsgd
8 cmpwi 4,0
9 beq 0f
10 bl __tls_get_addr(gd@tlsgd)
11 b 1f
13 bl __tls_get_addr(gd@tlsgd)
16 .section ".opt2", "ax", %progbits
17 addi 3,13,gd@got@tlsgd
18 cmpwi 4,0
19 beq 0f
20 addi 3,13,gd@got@tlsgd
22 bl __tls_get_addr(gd@tlsgd)
24 .section ".opt3", "ax", %progbits
25 addi 3,13,gd@got@tlsgd
26 b 0f
27 addi 3,13,gd0@got@tlsgd
28 b 1f
30 bl __tls_get_addr(gd@tlsgd)
31 b 2f
33 bl __tls_get_addr(gd0@tlsgd)