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

Rafael Espindola espindola@google.com
Fri Jun 18 15:17:00 GMT 2010

The attached patch just adds const to add_input_file and
add_input_library callbacks. Is it OK?

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

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

2010-06-18  Rafael Espindola  <espindola@google.com>

	* plugin.h (ld_plugin_add_input_file, ld_plugin_add_input_library):
	Make argument const.

Rafael Ávila de Espíndola
-------------- next part --------------
A non-text attachment was scrubbed...
Name: const.patch
Type: text/x-patch
Size: 2564 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20100618/960883aa/attachment.bin>

More information about the Binutils mailing list