diff options
author | Alan Modra <amodra@gmail.com> | 2005-04-19 05:44:55 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2005-04-19 05:44:55 +0000 |
commit | c87b5a93b231384514839c0f19c4ee1a7a6f1244 (patch) | |
tree | c7647efa1593afcb7c6a9f024060e2ce55dd3440 /ld | |
parent | eed0d89a39b01af05d393dcf91d2886f9eb3190a (diff) | |
download | binutils-c87b5a93b231384514839c0f19c4ee1a7a6f1244.zip binutils-c87b5a93b231384514839c0f19c4ee1a7a6f1244.tar.gz binutils-c87b5a93b231384514839c0f19c4ee1a7a6f1244.tar.bz2 |
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.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/reloc.d | 5 |
2 files changed, 5 insertions, 4 deletions
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 <amodra@bigpond.net.au> + + * ld-powerpc/reloc.d: Update to suit removal of non-alloc relocs. + 2005-04-15 Alan Modra <amodra@bigpond.net.au> * 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 |