aboutsummaryrefslogtreecommitdiff
path: root/ld/ldmain.c
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/ldmain.c
parent3b8525f821f1b9180dd5bd3073414e7d13883a69 (diff)
downloadbinutils-e73d965c22db66e6fc825d54b1dc78d20dcfe176.zip
binutils-e73d965c22db66e6fc825d54b1dc78d20dcfe176.tar.gz
binutils-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/ldmain.c')
-rw-r--r--ld/ldmain.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/ld/ldmain.c b/ld/ldmain.c
index c5b7d88..5530dca 100644
--- a/ld/ldmain.c
+++ b/ld/ldmain.c
@@ -479,13 +479,6 @@ main (int argc, char **argv)
lang_finish ();
-#ifdef ENABLE_PLUGINS
- /* Now everything is finished, we can tell the plugins to clean up. */
- if (plugin_call_cleanup ())
- info_msg (_("%P: %s: error in plugin cleanup (ignored)\n"),
- plugin_error_plugin ());
-#endif /* ENABLE_PLUGINS */
-
/* Even if we're producing relocatable output, some non-fatal errors should
be reported in the exit status. (What non-fatal errors, if any, do we
want to ignore for relocatable output?) */