* gold.cc (gold_exit): Call plugin cleanup handlers on exit.
authorCary Coutant <ccoutant@google.com>
Wed, 24 Dec 2008 06:17:18 +0000 (06:17 +0000)
committerCary Coutant <ccoutant@google.com>
Wed, 24 Dec 2008 06:17:18 +0000 (06:17 +0000)
commit483620e86f09fcb4bc923c9f4b0c211e10efd334
tree2e24f24e6eee98a246bb3da678e6348a31309549
parent7fe893f8f0c0e1964745aa2b2f8dab5babe173e9
* gold.cc (gold_exit): Call plugin cleanup handlers on exit.
* plugin.cc (Plugin_manager::finish): Rename as
layout_deferred_objects.  Move cleanup to separate function.
(Plugin_manager::cleanup): New function.
(Plugin_finish::run): Call layout_deferred_objects and cleanup
separately.
* plugin.h (Plugin_manager::finish): Rename as
layout_deferred_objects.
(Plugin_manager::cleanup): New function.
(Plugin_manager::cleanup_done): New field.
gold/ChangeLog
gold/gold.cc
gold/plugin.cc
gold/plugin.h