* i386.cc (Output_data_plt_i386::address_for_global,
authorAlan Modra <amodra@gmail.com>
Fri, 5 Oct 2012 00:45:54 +0000 (00:45 +0000)
committerAlan Modra <amodra@gmail.com>
Fri, 5 Oct 2012 00:45:54 +0000 (00:45 +0000)
commit19fec8c1d313c6757a53dc7f09776dc9770ee2ef
treee330d3c2414ede0d1e0b37e4bb238811cc6c11e3
parentfda1189bbcdf6b9c384bf5befee3e3ff6e647711
* i386.cc (Output_data_plt_i386::address_for_global,
address_for_local): Add plt offset to returned value.  Adjust uses.
* sparc.cc (Output_data_plt_sparc::address_for_global,
address_for_local): Likewise.
* tilegx.cc (Output_data_plt_tilegx::address_for_global,
address_for_local): Likewise.
* x86_64.cc (Output_data_plt_x86_64::address_for_global,
address_for_local): Likewise.
* target.h (Target::plt_address_for_global, plt_address_for_local):
Update comment.
* output.cc (Output_reloc::symbol_value): Don't add plt offset here.
(Output_data_got::Got_entry::write): Nor here.
* output.h: Comment fix.
gold/ChangeLog
gold/i386.cc
gold/output.cc
gold/output.h
gold/sparc.cc
gold/target.h
gold/tilegx.cc
gold/x86_64.cc