aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-aarch64/tls-relax-gd-ie.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-aarch64/tls-relax-gd-ie.d')
-rw-r--r--ld/testsuite/ld-aarch64/tls-relax-gd-ie.d9
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-aarch64/tls-relax-gd-ie.d b/ld/testsuite/ld-aarch64/tls-relax-gd-ie.d
new file mode 100644
index 0000000..a142f54
--- /dev/null
+++ b/ld/testsuite/ld-aarch64/tls-relax-gd-ie.d
@@ -0,0 +1,9 @@
+#source: tls-relax-gd-ie.s
+#ld: -T relocs.ld -e0
+#objdump: -dr
+#...
+ +10000: 90000080 adrp x0, 20000 <var\+0x20000>
+ +10004: f9400000 ldr x0, \[x0\]
+ +10008: d53bd041 mrs x1, tpidr_el0
+ +1000c: 8b000020 add x0, x1, x0
+ +10010: b9400000 ldr w0, \[x0\]