From c87b5a93b231384514839c0f19c4ee1a7a6f1244 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 19 Apr 2005 05:44:55 +0000 Subject: bfd/ * elf32-ppc.c (ppc_elf_check_relocs): Don't bother with dynamic relocs in non-SEC_ALLOC sections. (ppc_elf_gc_sweep_hook): Likewise. (ppc_elf_relax_section): Likewise. (ppc_elf_relocate_section): Likewise. ld/testsuite/ * ld-powerpc/reloc.d: Update to suit removal of non-alloc relocs. --- ld/testsuite/ChangeLog | 4 ++++ ld/testsuite/ld-powerpc/reloc.d | 5 +---- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'ld') diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 2b107b2..f1fbcb9 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2005-04-19 Alan Modra + + * ld-powerpc/reloc.d: Update to suit removal of non-alloc relocs. + 2005-04-15 Alan Modra * ld-d10v/default_layout.d: Update for unused section removal. diff --git a/ld/testsuite/ld-powerpc/reloc.d b/ld/testsuite/ld-powerpc/reloc.d index 08a209d..1c7eb8a 100644 --- a/ld/testsuite/ld-powerpc/reloc.d +++ b/ld/testsuite/ld-powerpc/reloc.d @@ -1,6 +1,5 @@ # 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. +# .rela.plt is the only reloc section. #source: reloc.s #ld: -shared -z nocombreloc @@ -11,6 +10,4 @@ .*\.relaplatypus.* #... .*\.rela\.plt.* -#... -.*\.relaechidna.* #pass -- cgit v1.1