[patch][gold] Add const to the add_input_file and add_input_library callbacks

Ian Lance Taylor iant@google.com
Fri Jun 18 15:44:00 GMT 2010

Rafael Espindola <espindola@google.com> writes:

> What is the correct procedure with plugin-api.h? Should I first commit
> it to the gcc repo and then copy it back?


> gold/
> 2010-06-18  Rafael Espindola  <espindola@google.com>
> 	* plugin.cc (add_input_file,add_input_library,
> 	Plugin_manager::add_input_file): Make filename arguments const.
> 	* plugin.h (Plugin_manager::add_input_file): Make filename arguments
> 	const.
> include/
> 2010-06-18  Rafael Espindola  <espindola@google.com>
> 	* plugin.h (ld_plugin_add_input_file, ld_plugin_add_input_library):
> 	Make argument const.

This is OK here and in gcc.  Send the include patch to gcc-patches and
note that I have already approved it.



More information about the Binutils mailing list