summaryrefslogtreecommitdiff
path: root/gold/plugin.h
diff options
context:
space:
mode:
authorespindola <espindola>2011-03-23 14:13:27 +0000
committerespindola <espindola>2011-03-23 14:13:27 +0000
commit47a7d5e07ce56ec4598009f0f7c0ae11e85814a6 (patch)
treecce9bf4e0b7d21c04e9fba80ee18fe46afe37350 /gold/plugin.h
parent8dcd7c12c124341c56e0b7ad0096af4f84da4b73 (diff)
downloadbinutils-redhat-47a7d5e07ce56ec4598009f0f7c0ae11e85814a6.tar.gz
2010-03-23 Rafael Ávila de Espíndola <respindola@mozilla.com>
* plugin.cc (get_view): New. (Plugin::load): Pass get_view to the plugin. (Plugin_manager::get_view): New.
Diffstat (limited to 'gold/plugin.h')
-rw-r--r--gold/plugin.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gold/plugin.h b/gold/plugin.h
index c26414df72..87747bf208 100644
--- a/gold/plugin.h
+++ b/gold/plugin.h
@@ -245,6 +245,9 @@ class Plugin_manager
ld_plugin_status
get_input_file(unsigned int handle, struct ld_plugin_input_file* file);
+ ld_plugin_status
+ get_view(unsigned int handle, const void **viewp);
+
// Release an input file.
ld_plugin_status
release_input_file(unsigned int handle);