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

12 lines
277 B
ArmAsm

.global test, var
.text
test:
adrp x0, :tlsdesc:var
ldr x1, [x0, :tlsdesc_lo12:var]
add x0, x0, :tlsdesc_lo12:var
.tlsdesccall var
blr x1
.section .tbss,"awT",%nobits
var:
.zero 4