]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
PowerPC64 GOLD: complain on misaligned _DS relocs
authorAlan Modra <amodra@gmail.com>
Tue, 24 Feb 2015 07:46:26 +0000 (18:16 +1030)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 24 Aug 2017 12:46:49 +0000 (09:46 -0300)
commitc84ee5473df0a407b648d30a7158043775cf5704
tree49e65adf4db9e1b6ceaf09f813f8c8ed7c545bb9
parent155b3c6bfd5f27f8bd99e4aa5f803a9d75e35ed5
PowerPC64 GOLD: complain on misaligned _DS relocs

PR 18010
* powerpc.cc (Powerpc_relocate_functions::addr16_ds): Always
complain if value is not a multiple of four.
(Target_powerpc::Relocate::relocate): Correct handling of
R_POWERPC_GOT_TPREL16 and R_POWERPC_GOT_TPREL16_LO for ppc64.
gold/ChangeLog
gold/powerpc.cc