]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - bfd/ChangeLog
Minor fix for R_PPC_VLE_ADDR20
authorAlan Modra <amodra@gmail.com>
Tue, 4 Feb 2020 11:04:45 +0000 (21:34 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 4 Feb 2020 11:26:29 +0000 (21:56 +1030)
commit24872cb30211b650a9360edd2476a6a1dd033cbb
tree69bca77da9e86cd47cb524adc21a1ee052132cd8
parente8b791227f26871ae0030465f77c14f225135c28
Minor fix for R_PPC_VLE_ADDR20

It is incorrect to "continue" in the ppc_elf_relocate_section reloc
processing loop except when editing or deleting relocs.  The normal
loop processing arranges to write the relocs if shuffling them over a
deleted entry.  Deleting only happens for debug sections currently and
those sections won't contain R_PPC_VLE_ADDR20 relocs, so this patch
doesn't fix a bug that would trigger with any normal object file.

* elf32-ppc.c (ppc_elf_relocate_section): After applying
R_PPC_VLE_ADDR20, goto copy_reloc.
bfd/ChangeLog
bfd/elf32-ppc.c