[PATCH] [gold] Resolve forwarding symbols when computing symbol resolution info for plugins.

Cary Coutant ccoutant@google.com
Wed Feb 4 04:34:00 GMT 2015


> 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



More information about the Binutils mailing list