]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
ppc476 workaround for ld -r fixes
authorAlan Modra <amodra@gmail.com>
Mon, 17 Feb 2014 06:21:25 +0000 (16:51 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 16 Apr 2014 02:38:34 +0000 (12:08 +0930)
commitf80f2684a1f17cf6fb1656a90a7e686832e0580c
treef12b5a6e030b01c45653bac2fac10d629ca15ce3
parent94babe6f642307b7f654792e49064b55a9707215
ppc476 workaround for ld -r fixes

This fixes the glaring error that the ppc476 workaround wasn't
actually enabled for ld -r, and adjusts relocations to match moved
code.

bfd/
* elf32-ppc.c (ppc_elf_relocate_section): Move relocs on insns
patched for ppc476 workaround.  Reapply branch taken/not taken
relocs.
ld/
* emultempl/ppc32elf.em (ppc_after_open_output): Really enable
ppc476 workaround for ld -r.
bfd/ChangeLog
bfd/elf32-ppc.c
ld/ChangeLog
ld/emultempl/ppc32elf.em