old-cross-binutils/ld/testsuite/ld-aarch64/tls-tiny-ie.s
2015-02-26 22:23:09 +00: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]