ld: elfvers tests: support symbol prefixed targets
[deliverable/binutils-gdb.git] / ld / plugin.h
index b79e739223e487b0d61b7b3b6dd80259c1230491..fc5f37f2dabd355f0c867bc58ba35015992042f3 100644 (file)
@@ -45,14 +45,11 @@ 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);
+                                  int *claimed);
 
 /* Call 'all symbols read' hook for all plugins.  */
 extern int plugin_call_all_symbols_read (void);
 
-/* Call 'cleanup' hook for all plugins.  */
-extern int plugin_call_cleanup (void);
-
 /* Generate a dummy BFD to represent an IR file, for any callers of
    plugin_call_claim_file to use as the handle in the ld_plugin_input_file
    struct that they build to pass in.  The BFD is initially writable, so
@@ -62,13 +59,15 @@ extern bfd *plugin_get_ir_dummy_bfd (const char *name, bfd *template);
 
 /* Notice-symbol bfd linker callback hook.  */
 extern bfd_boolean plugin_notice (struct bfd_link_info *info,
-               const char *name, bfd *abfd, asection *section,
-               bfd_vma value);
+                                 const char *name, bfd *abfd,
+                                 asection *section, bfd_vma value);
 
 /* Multiple-definition bfd linker callback hook.  */
 extern bfd_boolean plugin_multiple_definition (struct bfd_link_info *info,
-               const char *name,
-               bfd *obfd, asection *osec, bfd_vma oval,
-               bfd *nbfd, asection *nsec, bfd_vma nval);
+                                              const char *name,
+                                              bfd *obfd, asection *osec,
+                                              bfd_vma oval, bfd *nbfd,
+                                              asection *nsec,
+                                              bfd_vma nval);
 
 #endif /* !def GLD_PLUGIN_H */
This page took 0.035496 seconds and 4 git commands to generate.