gold patch committed: Remove some unnecessary options arguments

Ian Lance Taylor
Fri Mar 13 21:31:00 GMT 2009

In the old days the options structure was not available from the
parameters global variable, and so it was passed around a lot.  I
committed this patch to gold to remove it from a few places.


2009-03-13  Ian Lance Taylor  <>

	* (Input_file::open): Remove options parameter.
	Change all callers.
	(Input_file::open_binary): Likewise.
	* (read_input_script): Likewise.
	* readsyms.h (class Read_symbols): Remove options_ field.  Remove
	options parameter from constructor.  Change all callers.
	(class Read_script): Likewise.
	* fileread.h (class Input_file): Update declarations.
	* script.h (read_input_script): Update declaration.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-patch
Size: 12315 bytes
Desc: Remove some unnecessary options arguments
URL: <>

More information about the Binutils mailing list