* powerpc.cc (Powerpc_relobj::set_got2_shndx): Delete.
authorAlan Modra <amodra@gmail.com>
Tue, 14 Aug 2012 01:07:01 +0000 (01:07 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 14 Aug 2012 01:07:01 +0000 (01:07 +0000)
commitd1a8cabd8fd4d4a74294a54045ef3d08e93969f4
tree608b0c2eb0c9d7a03d4da22e3d208bf9bbc7dacd
parentd6a935eb69726c76cb00476f85cc473d9bfc8d73
* powerpc.cc (Powerpc_relobj::set_got2_shndx): Delete.
(Powerpc_relobj::do_find_special_sections): Don't use set_got2_shndx.
(Output_data_glink::add_entry,find_entry): Remove shndx param.
(class Glink_sym_ent): Rename from struct Glink_sym_ent.  Remove
all references to shndx_.  Handle special case for R_PPC_PLTREL24
here.
(class Glink_sym_ent_hash): Rename from struct Glink_sym_ent_hash.
(Output_data_glink::do_write): Retrieve got2_shdnx from object.
(Target_powerpc::make_plt_entry): Don't special case R_PPC_PLTREL24
here.
(Target_powerpc::Scan::global): Nor on make_plt_entry call.
(Target_powerpc::Relocate::relocate): Nor on glink->find_entry call.
gold/ChangeLog
gold/powerpc.cc