Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/ld/testsuite/ld-powerpc/tlsopt1_32.s
2023-03-06 14:48:14 +01:00

12 lines
300 B
ArmAsm

.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,30,gd@got@tlsgd
cmpwi 4,0
beq 0f
bl __tls_get_addr
b 1f
0:
bl __tls_get_addr
1: