[gold][patch] Add a add_input_library callback

Ian Lance Taylor iant@google.com
Mon Oct 5 20:23:00 GMT 2009


Rafael Espindola <espindola@google.com> writes:

> gold/
> 2009-10-01  Rafael Avila de Espindola  <espindola@google.com>
>
> 	* plugin.cc (add_input_library): New.
> 	(Plugin::load): Add add_input_library to tv.
> 	(Plugin_manager::add_input_file): Add the search argument.
> 	(add_input_file): Update call to Plugin_manager::add_input_file.
> 	(add_input_library): New.
> 	* plugin.h (Plugin_manager::add_input_file): Add the search argument.
>
> include/
> 2009-10-01  Rafael Avila de Espindola  <espindola@google.com>
>
> 	* plugin-api.h (ld_plugin_symbol_resolution): Document.
> 	(ld_plugin_add_input_library): New.
> 	(ld_plugin_tag): Add LDPT_ADD_INPUT_LIBRARY.
> 	(ld_plugin_tv): Add tv_add_input_library.

This is OK.

The plugin-api.h file is in both the gcc and src repository.  Please
commit the changes to the copy in gcc first.  If you haven't already
done so, please send the patch to gcc-patches@gcc.gnu.org with the
comment that I had approved it.

Please make sure that http://gcc.gnu.org/wiki/whopr/driver is up to
date with this and other changes, or get Cary to do it.  In
particular, LDPT_ADD_INPUT_LIBRARY needs to be documented to explain
what sort of file name should be passed--e.g., "c" to mean the same as
"-lc".

Thanks.

Ian



More information about the Binutils mailing list