[gdb] Fix tsan warning: signal handler spoils errno
[binutils-gdb.git] / ld / testsuite / ld-aarch64 / tls-relax-ie-le-3.s
blob70e7062c940e7fc998fa022a9e8d524cade175f9
1 # Test TLS IE to TLS LE relaxation when using arbitrary registers.
3 .section .tdata
4 var:
5 .word 2
6 .text
7 mrs x2, tpidr_el0
8 adrp x15, :gottprel:var
9 ldr x15, [x15, #:gottprel_lo12:var]
10 add x15, x2, x15
11 ldr w0, [x15]
12 .section .tdata