aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-aarch64/emit-relocs-538.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-aarch64/emit-relocs-538.d')
-rw-r--r--ld/testsuite/ld-aarch64/emit-relocs-538.d9
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-aarch64/emit-relocs-538.d b/ld/testsuite/ld-aarch64/emit-relocs-538.d
new file mode 100644
index 0000000..dffde23
--- /dev/null
+++ b/ld/testsuite/ld-aarch64/emit-relocs-538.d
@@ -0,0 +1,9 @@
+#source: emit-relocs-538.s
+#ld: -T relocs.ld -e0 --emit-relocs
+#objdump: -dr
+#...
+0000000000010000 <.text>:
+ 10000: f9400482 ldr x2, \[x4,#8\]
+ 10000: R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC v2
+ 10004: f940062e ldr x14, \[x17,#8\]
+ 10004: R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC v3