Add vmfunc
[deliverable/binutils-gdb.git] / ld / plugin.h
index 7b39e729ea9c115c9afcfb2c2b72898baf3bf629..dc32295b0d8e59b1104d59a4e150f89f19037d18 100644 (file)
@@ -50,8 +50,8 @@ extern int plugin_load_plugins (void);
 extern const char *plugin_error_plugin (void);
 
 /* Call 'claim file' hook for all plugins.  */
-extern int plugin_call_claim_file (const struct ld_plugin_input_file *file,
-                                  int *claimed);
+extern void plugin_maybe_claim (struct ld_plugin_input_file *,
+                               lang_input_statement_type *);
 
 /* Call 'all symbols read' hook for all plugins.  */
 extern int plugin_call_all_symbols_read (void);
@@ -66,4 +66,7 @@ extern void plugin_call_cleanup (void);
    add_symbols hook has been called so that it can be read when linking.  */
 extern bfd *plugin_get_ir_dummy_bfd (const char *name, bfd *template);
 
+/* Return true if bfd is a dynamic library that should be reloaded.  */
+extern bfd_boolean plugin_should_reload (bfd *);
+
 #endif /* !def GLD_PLUGIN_H */
This page took 0.025382 seconds and 4 git commands to generate.