aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-aarch64/rela-abs-relative-opt.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-aarch64/rela-abs-relative-opt.d')
-rw-r--r--ld/testsuite/ld-aarch64/rela-abs-relative-opt.d13
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ld-aarch64/rela-abs-relative-opt.d b/ld/testsuite/ld-aarch64/rela-abs-relative-opt.d
new file mode 100644
index 0000000..a1e5ca0
--- /dev/null
+++ b/ld/testsuite/ld-aarch64/rela-abs-relative-opt.d
@@ -0,0 +1,13 @@
+#name: rela-abs-relative --no-apply-dynamic-relocs
+#source: rela-abs-relative.s
+#ld: -shared -Ttext-segment=0x100000 -Tdata=0x200000 -Trelocs.ld --no-apply-dynamic-relocs
+#notarget: aarch64_be-*-*
+#objdump: -dR -j .data
+#...
+
+Disassembly of section .data:
+
+.* <a>:
+ 200000: fe ca fe ca 00 00 00 00 00 00 00 00 00 00 00 00.*
+ 200008: R_AARCH64_RELATIVE \*ABS\*\+0x100ca
+ 200010: ad de ad de 00 00 00 00.*