This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [GOLD] plt_address_for_global/local
- From: Ian Lance Taylor <iant at google dot com>
- To: binutils at sourceware dot org
- Date: Thu, 4 Oct 2012 09:42:08 -0700
- Subject: Re: [GOLD] plt_address_for_global/local
- References: <20121004071311.GE25219@bubble.grove.modra.org>
On Thu, Oct 4, 2012 at 12:13 AM, Alan Modra <amodra@gmail.com> wrote:
>
> * 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.
This is OK.
Thanks.
Ian