* powerpc.cc (Powerpc_relobj::get_opd_ent): Make const.
authorAlan Modra <amodra@gmail.com>
Wed, 5 Sep 2012 02:54:26 +0000 (02:54 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 5 Sep 2012 02:54:26 +0000 (02:54 +0000)
commit3ea0a085a6f439598edec3b67e7be8fd53d4a702
tree18d4a6f1b453175a742159bf1fccf1b4e70999c4
parent7404fe1b8d20b30162a7e56307d5a2d400cb5645
* powerpc.cc (Powerpc_relobj::get_opd_ent): Make const.
(Powerpc_relocate_functions::Status): New typedef.
(Target_powerpc::Scan::get_reference_flags): Handle more relocs.
(Target_powerpc::Scan::local): Handle REL64.
(Target_powerpc::Scan::global): Likewise, and dynamic relocs
for REL32 and REL64.
(Target_powerpc::symval_for_branch): New function, extracted from..
(Target_powerpc::Relocate::relocate): ..here.  Correct plt call
checks.  Report overflow errors.
gold/ChangeLog
gold/powerpc.cc