aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-powerpc/reloc.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-powerpc/reloc.d')
-rw-r--r--ld/testsuite/ld-powerpc/reloc.d16
1 files changed, 16 insertions, 0 deletions
diff --git a/ld/testsuite/ld-powerpc/reloc.d b/ld/testsuite/ld-powerpc/reloc.d
new file mode 100644
index 0000000..80a22bf
--- /dev/null
+++ b/ld/testsuite/ld-powerpc/reloc.d
@@ -0,0 +1,16 @@
+# Test that orphan reloc sections are placed before .rela.plt even when
+# .rela.plt is the only reloc section. Also tests that orphan non-alloc
+# reloc sections go after alloc sections.
+
+#source: reloc.s
+#ld: -shared
+#objdump: -hw
+
+.*: +file format elf.*
+#...
+.*\.relaplatypus.*
+#...
+.*\.rela\.plt.*
+#...
+.*\.relaechidna.*
+#pass