PowerPC64 GOLD: complain on misaligned _DS relocs
authorAlan Modra <amodra@gmail.com>
Tue, 24 Feb 2015 07:46:26 +0000 (18:16 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 24 Feb 2015 07:51:39 +0000 (18:21 +1030)
commitec86f43468e2591127c493d67882de59dbfd79de
tree162bf55f2438fbd9bc5e6c575d65ec630d5308fa
parentecfe5151674f7837eb05f0f05dea868586ce2848
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