[gold patch] Change option registration

Ian Lance Taylor iant@google.com
Tue Aug 25 01:33:00 GMT 2009


Cary Coutant <ccoutant@google.com> writes:

> 	* options.h (Command_line::Pre_options): New class.
> 	(Command_line::pre_options): New member.
> 	* options.cc (gold::options::ready_to_register): New variable.
> 	(One_option::register_option): Do nothing if not registering options.
> 	Assert if same short option registered twice.
> 	(General_options::General_options): Turn off option registration when
> 	done constructing.
> 	(Command_line::Pre_options::Pre_options): New constructor.

This is OK.

Thanks for sorting that out.

Ian



More information about the Binutils mailing list