[gdb] Fix tsan warning: signal handler spoils errno
[binutils-gdb.git] / ld / testsuite / ld-aarch64 / tls-relax-large-desc-le.s
blobff27c4ee5b5e2fb34ee80901d5235d6577340d32
1 .section .tdata
2 var:
3 .word 2
5 .text
6 test:
7 ldr x1, .Lgot
8 adr x2, .Lgot
9 add x18, x1, x2
11 movz x0, #:tlsdesc_off_g1:var
12 movk x0, #:tlsdesc_off_g0_nc:var
13 .tlsdescldr var
14 ldr x1, [x18, x0]
15 .tlsdescadd var
16 add x0, x18, x0
17 .tlsdesccall var
18 blr x1
20 .Lgot: .xword _GLOBAL_OFFSET_TABLE_ - .