diff options
author | Nick Clifton <nickc@redhat.com> | 2012-08-13 14:52:54 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2012-08-13 14:52:54 +0000 |
commit | a06ea96464a2928865beb2ac6f12deb0464bfcd7 (patch) | |
tree | 5af98be87fc6e7ea4e8197c241698b97cceeafb8 /ld/testsuite/ld-aarch64/tls-relax-ie-le-3.s | |
parent | f47f77df4e0f38c96bf5a4c4d8ecda6c73f5ffc2 (diff) | |
download | binutils-gdb-a06ea96464a2928865beb2ac6f12deb0464bfcd7.tar.gz |
Add support for 64-bit ARM architecture: AArch64
Diffstat (limited to 'ld/testsuite/ld-aarch64/tls-relax-ie-le-3.s')
-rw-r--r-- | ld/testsuite/ld-aarch64/tls-relax-ie-le-3.s | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ld/testsuite/ld-aarch64/tls-relax-ie-le-3.s b/ld/testsuite/ld-aarch64/tls-relax-ie-le-3.s new file mode 100644 index 00000000000..70e7062c940 --- /dev/null +++ b/ld/testsuite/ld-aarch64/tls-relax-ie-le-3.s @@ -0,0 +1,12 @@ +# Test TLS IE to TLS LE relaxation when using arbitrary registers. + + .section .tdata +var: + .word 2 + .text + mrs x2, tpidr_el0 + adrp x15, :gottprel:var + ldr x15, [x15, #:gottprel_lo12:var] + add x15, x2, x15 + ldr w0, [x15] + .section .tdata |