Call xatexit with plugin_call_cleanup.
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 6 Dec 2010 12:44:51 +0000 (12:44 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 6 Dec 2010 12:44:51 +0000 (12:44 +0000)
commite73d965c22db66e6fc825d54b1dc78d20dcfe176
tree346dd5c9163eb3a13b72a0d86862c1cbeee342b9
parent3b8525f821f1b9180dd5bd3073414e7d13883a69
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.
ld/ChangeLog
ld/ldmain.c
ld/plugin.c
ld/plugin.h