This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [6/6][PATCH] Respect symbol wrappers when computing symbol resolutions.
- From: Alan Modra <amodra at gmail dot com>
- To: Dave Korn <dave dot korn dot cygwin at gmail dot com>
- Cc: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Sat, 26 Feb 2011 19:58:00 +1030
- Subject: Re: [6/6][PATCH] Respect symbol wrappers when computing symbol resolutions.
- References: <4D684CB8.6020106@gmail.com> <4D684D00.70803@gmail.com> <4D684D79.9090708@gmail.com>
On Sat, Feb 26, 2011 at 12:46:49AM +0000, Dave Korn wrote:
> * plugin.c (get_symbols): Use wrapped lookup for undefined symbols.
OK.
> I'd like it if someone can confirm that I've correctly interpreted the
> comment that precedes the definition of bfd_wrapped_link_hash_lookup, about
> how it should "only be used for references to an undefined symbol, not for
> definitions of a symbol"; I took that to mean that I should key off the
> initial state of defined-ness of the symbol passed from the plugin and call
> either a wrapped or unwrapped lookup accordingly
Yes, I think that is correct.
--
Alan Modra
Australia Development Lab, IBM