]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - bfd/elf64-ppc.c
PowerPC addpcis fix again
authorAlan Modra <amodra@gmail.com>
Tue, 28 Feb 2017 13:12:29 +0000 (23:42 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 28 Feb 2017 13:19:28 +0000 (23:49 +1030)
commit3de43e7beb9839fa268a73be77de73a7b7cd97db
tree70e24494b90d6c35a204c299764b62d757adea7d
parent15c7c1d8a535000e94ed36f4259d0ede32001408
PowerPC addpcis fix again

In the last patch I said "The patch also fixes overflow checking".
In fact, there wasn't anything wrong with the previous code.  So,
revert that change.  The new checks are OK too, so this is just a
tidy.

* elf64-ppc.c (ppc64_elf_ha_reloc): Revert last change.
(ppc64_elf_relocate_section): Likewise.
bfd/ChangeLog
bfd/elf64-ppc.c