OSDN Git Service

* options.h (Command_line::Pre_options): New class.
authorCary Coutant <ccoutant@google.com>
Tue, 25 Aug 2009 01:10:48 +0000 (01:10 +0000)
committerCary Coutant <ccoutant@google.com>
Tue, 25 Aug 2009 01:10:48 +0000 (01:10 +0000)
commit4e33f2066e1377559a7b04be0145a0d8d066dd7b
tree3a7d3dd0b7b460ffb4eabfe9690802a9247f8eda
parentb9942fad5d766941e678dce1b48e57c0f63cb82e
* 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.
gold/ChangeLog
gold/options.cc
gold/options.h