This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gold patch] Change option registration


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]