[gold][patch] Fix plugin API to call cleanup handlers on error exits

Ian Lance Taylor iant@google.com
Wed Dec 24 02:31:00 GMT 2008
Cary Coutant <ccoutant@google.com> writes:

> 	* 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.

This is OK.

Thanks.

Ian



More information about the Binutils mailing list