Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-aarch64/tls-relax-gd-ie.s
2023-03-06 14:48:14 +01:00

10 lines
155 B
ArmAsm

.global var
.section .tdata,"awT",%progbits
var:
.word 2
.text
adrp x0, :tlsgd:var
add x0, x0, :tlsgd_lo12:var
bl __tls_get_addr
nop
ldr w0, [x0]