Retro68/binutils/ld/testsuite/ld-powerpc/tlsopt2_32.s

11 lines
291 B
ArmAsm
Raw Normal View History

.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.
2018-12-28 15:25:28 +00:00
addi 3,30,gd@got@tlsgd
cmpwi 4,0
beq 0f
2018-12-28 15:25:28 +00:00
addi 3,30,gd@got@tlsgd
0:
bl __tls_get_addr