From 17c2bdeefede37c53dfb7f54e1c1a2cdcd8bc387 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 30 Sep 2002 05:25:20 +0000 Subject: * ld-powerpc/reloc.s, ld-powerpc/reloc.d: New. * ld-powerpc/powerpc.exp: New. --- ld/testsuite/ld-powerpc/reloc.d | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 ld/testsuite/ld-powerpc/reloc.d (limited to 'ld/testsuite/ld-powerpc/reloc.d') 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 -- cgit v1.1