aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-powerpc/reloc.d
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-09-30 05:25:20 +0000
committerAlan Modra <amodra@gmail.com>2002-09-30 05:25:20 +0000
commit17c2bdeefede37c53dfb7f54e1c1a2cdcd8bc387 (patch)
tree1aa2cb7892a9c7e12e94a474ddd0a05b19168c7f /ld/testsuite/ld-powerpc/reloc.d
parent42f986191ba958a9f996e411eb67888ec663ade7 (diff)
downloadgdb-17c2bdeefede37c53dfb7f54e1c1a2cdcd8bc387.zip
gdb-17c2bdeefede37c53dfb7f54e1c1a2cdcd8bc387.tar.gz
gdb-17c2bdeefede37c53dfb7f54e1c1a2cdcd8bc387.tar.bz2
* ld-powerpc/reloc.s, ld-powerpc/reloc.d: New.
* ld-powerpc/powerpc.exp: New.
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