summaryrefslogtreecommitdiff
path: root/ld/plugin.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-12-06 12:44:51 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-12-06 12:44:51 +0000
commite73d965c22db66e6fc825d54b1dc78d20dcfe176 (patch)
tree346dd5c9163eb3a13b72a0d86862c1cbeee342b9 /ld/plugin.h
parent3b8525f821f1b9180dd5bd3073414e7d13883a69 (diff)
downloadbinutils-gdb-e73d965c22db66e6fc825d54b1dc78d20dcfe176.tar.gz
Call xatexit with plugin_call_cleanup.
2010-12-06 H.J. Lu <hongjiu.lu@intel.com> Dmitry Gorbachev <d.g.gorbachev@gmail.com> PR ld/12289 * ldmain.c (main): Don't call plugin_call_cleanup. * plugin.c (plugin_call_cleanup): Make it static. (message): Don't call plugin_call_cleanup. (plugin_load_plugins): Call xatexit with plugin_call_cleanup.
Diffstat (limited to 'ld/plugin.h')
-rw-r--r--ld/plugin.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/ld/plugin.h b/ld/plugin.h
index e95c3eecf46..fc5f37f2dab 100644
--- a/ld/plugin.h
+++ b/ld/plugin.h
@@ -50,9 +50,6 @@ extern int plugin_call_claim_file (const struct ld_plugin_input_file *file,
/* 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