gold patch committed: Remove some unnecessary options arguments

Ian Lance Taylor iant@google.com
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.

Ian


2009-03-13  Ian Lance Taylor  <iant@google.com>

	* fileread.cc (Input_file::open): Remove options parameter.
	Change all callers.
	(Input_file::open_binary): Likewise.
	* script.cc (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: <https://sourceware.org/pipermail/binutils/attachments/20090313/8bbecc56/attachment.bin>


More information about the Binutils mailing list