This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] [gold] Resolve forwarding symbols when computing symbol resolution info for plugins.
- From: Cary Coutant <ccoutant at google dot com>
- To: Peter Collingbourne <pcc at google dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Tue, 3 Feb 2015 20:34:55 -0800
- Subject: Re: [PATCH] [gold] Resolve forwarding symbols when computing symbol resolution info for plugins.
- Authentication-results: sourceware.org; auth=none
- References: <1422921397-34890-1-git-send-email-pcc at google dot com>
> If we observe a symbol defined by a plugin, followed by a versioned symbol
> reference in a DSO, followed by a default-versioned definition of the symbol
> in another DSO, the plugin-defined symbol will become a forwarding symbol
> pointing to the DSO-defined symbol. We must resolve the forwarding symbol
> in order to compute the correct resolution for the symbol, which in this
> case should be LDPR_PREVAILING_DEF.
>
> 2015-02-02 Peter Collingbourne <pcc@google.com>
>
> * plugin.cc (Pluginobj::get_symbol_resolution_info): Resolve
> forwarding symbols when computing symbol resolution info for plugins.
This patch is OK. Thanks!
-cary