diff options
Diffstat (limited to 'ld/testsuite/ld-aarch64/tls-relax-gd-ie.s')
-rw-r--r-- | ld/testsuite/ld-aarch64/tls-relax-gd-ie.s | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ld-aarch64/tls-relax-gd-ie.s b/ld/testsuite/ld-aarch64/tls-relax-gd-ie.s new file mode 100644 index 0000000..88c7eec --- /dev/null +++ b/ld/testsuite/ld-aarch64/tls-relax-gd-ie.s @@ -0,0 +1,10 @@ + .global var + .section .tdata,"awT",%progbits +var: + .word 2 + .text + adrp x0, :tlsgd:var + add x0, x0, :tlsgd_lo12:var + bl __tls_get_addr + nop + ldr w0, [x0] |