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

12 lines
159 B
ArmAsm

.global v1
.section .tdata,"awT",%progbits
v1:
.word 1
.text
# Test tiny TLS IE.
mrs x2, tpidr_el0
ldr x0, #:gottprel:v1
add x0, x2, x0
ldr w0, [x0]