Resolve forwarding symbols in plugins.

2015-02-04  Peter Collingbourne  <pcc@google.com>

	* plugin.cc (Pluginobj::get_symbol_resolution_info): Resolve
	forwarding symbols when computing symbol resolution info for plugins.
This commit is contained in:
Peter Collingbourne
2015-02-04 09:47:28 -08:00
committed by Cary Coutant
parent 42d9e5288b
commit 3c537f7fdb
2 changed files with 18 additions and 6 deletions

View File

@ -282,6 +282,10 @@ class Plugin_manager
input_objects() const
{ return this->input_objects_; }
Symbol_table*
symtab()
{ return this->symtab_; }
Layout*
layout()
{ return this->layout_; }
@ -396,7 +400,8 @@ class Pluginobj : public Object
// Fill in the symbol resolution status for the given plugin symbols.
ld_plugin_status
get_symbol_resolution_info(int nsyms,
get_symbol_resolution_info(Symbol_table* symtab,
int nsyms,
ld_plugin_symbol* syms,
int version) const;