old-cross-binutils/ld/testsuite/ld-aarch64/tls-relax-ie-le.s
2012-08-13 14:52:54 +00:00

9 lines
146 B
ArmAsm

.section .tdata
var:
.word 2
.text
mrs x1, tpidr_el0
adrp x0, :gottprel:var
ldr x0, [x0, #:gottprel_lo12:var]
add x0, x1, x0
ldr w0, [x0]