summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-aarch64/morello-static-got.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-aarch64/morello-static-got.d')
-rw-r--r--ld/testsuite/ld-aarch64/morello-static-got.d13
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ld-aarch64/morello-static-got.d b/ld/testsuite/ld-aarch64/morello-static-got.d
new file mode 100644
index 00000000000..0e24d97f2d1
--- /dev/null
+++ b/ld/testsuite/ld-aarch64/morello-static-got.d
@@ -0,0 +1,13 @@
+# This testcase is just to exercise some code rather than to test for an
+# observable. We may as well check that the __rela_dyn_start symbol exists.
+#as: -march=morello+c64
+#ld: -static
+#readelf: --symbols --relocs
+
+Relocation section '\.rela\.dyn' at offset .* contains 1 entry:
+ Offset Info Type Sym\. Value Sym\. Name \+ Addend
+.* 00000000e803 R_MORELLO_RELATIV 0
+
+#...
+.* __rela_dyn_start
+#...