aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/reloc.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-i386/reloc.d')
-rw-r--r--ld/testsuite/ld-i386/reloc.d18
1 files changed, 18 insertions, 0 deletions
diff --git a/ld/testsuite/ld-i386/reloc.d b/ld/testsuite/ld-i386/reloc.d
new file mode 100644
index 0000000..2981110
--- /dev/null
+++ b/ld/testsuite/ld-i386/reloc.d
@@ -0,0 +1,18 @@
+# Test that orphan reloc sections are placed before .rel.plt even when
+# .rel.plt is the only reloc section.
+#source: reloc.s
+#as: --32
+#ld: -shared -melf_i386
+#objdump: -hw
+#target: i?86-*-*
+
+.*: +file format elf32-i386
+#...
+.*\.relplatypus.*
+#...
+.*\.rel\.plt.*
+# x86 ld doesn't output non-alloc reloc sections to shared libs, so disable
+# the following two lines for the time being.
+# #...
+# .*\.relechidna.*
+#pass