This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [gold patch] Change option registration
- From: Ian Lance Taylor <iant at google dot com>
- To: Cary Coutant <ccoutant at google dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Mon, 24 Aug 2009 17:50:54 -0700
- Subject: Re: [gold patch] Change option registration
- References: <c17be2b30908241714q6c2918f4t4907260eee6940b4@mail.gmail.com>
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