diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2010-12-06 12:44:51 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2010-12-06 12:44:51 +0000 |
commit | e73d965c22db66e6fc825d54b1dc78d20dcfe176 (patch) | |
tree | 346dd5c9163eb3a13b72a0d86862c1cbeee342b9 /ld/plugin.h | |
parent | 3b8525f821f1b9180dd5bd3073414e7d13883a69 (diff) | |
download | gdb-e73d965c22db66e6fc825d54b1dc78d20dcfe176.zip gdb-e73d965c22db66e6fc825d54b1dc78d20dcfe176.tar.gz gdb-e73d965c22db66e6fc825d54b1dc78d20dcfe176.tar.bz2 |
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.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ld/plugin.h b/ld/plugin.h index e95c3ee..fc5f37f 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 |