aboutsummaryrefslogtreecommitdiff
path: root/gold/plugin.h
diff options
context:
space:
mode:
authorPeter Collingbourne <pcc@google.com>2015-02-04 09:47:28 -0800
committerCary Coutant <ccoutant@google.com>2015-02-04 09:48:22 -0800
commit3c537f7fdb11f02f7082749f3f21dfdd2c2025e8 (patch)
treefd93d67ebbe9c88a2c012c410cd12cf70db000ce /gold/plugin.h
parent42d9e5288b6576b56f3f803901433b88ee863bc6 (diff)
downloadgdb-3c537f7fdb11f02f7082749f3f21dfdd2c2025e8.zip
gdb-3c537f7fdb11f02f7082749f3f21dfdd2c2025e8.tar.gz
gdb-3c537f7fdb11f02f7082749f3f21dfdd2c2025e8.tar.bz2
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.
Diffstat (limited to 'gold/plugin.h')
-rw-r--r--gold/plugin.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gold/plugin.h b/gold/plugin.h
index ef78b84..f926879 100644
--- a/gold/plugin.h
+++ b/gold/plugin.h
@@ -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;