diff options
Diffstat (limited to 'ld/testsuite/ld-aarch64/tls-relax-ie-le.s')
-rw-r--r-- | ld/testsuite/ld-aarch64/tls-relax-ie-le.s | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-aarch64/tls-relax-ie-le.s b/ld/testsuite/ld-aarch64/tls-relax-ie-le.s new file mode 100644 index 0000000..093cda2 --- /dev/null +++ b/ld/testsuite/ld-aarch64/tls-relax-ie-le.s @@ -0,0 +1,9 @@ + .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] |