R_PPC64_GOT_LO_DS and R_PPC64_GOT_HA sanity check
authorAlan Modra <amodra@gmail.com>
Thu, 15 Oct 2020 22:56:32 +0000 (09:26 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 15 Oct 2020 22:56:32 +0000 (09:26 +1030)
commitfba8689ad3b72a3e895ebd41485d747dba5da811
tree4a71aa6eeafe0439b9a671b5ab2411407acc9683
parenta1c72cdfaba25bfc8a02fda36df566a24c401839
R_PPC64_GOT_LO_DS and R_PPC64_GOT_HA sanity check

The previous sanity check allowed a ld on the HA reloc and addis
on the LO_DS.

* elf64-ppc.c (ppc64_elf_relocate_section): Tighten sanity check
on R_PPC64_GOT_LO_DS and R_PPC64_GOT_HA instructions.
bfd/ChangeLog
bfd/elf64-ppc.c