OSDN Git Service

* options.h (Command_line::Pre_options): New class.
authorccoutant <ccoutant>
Tue, 25 Aug 2009 01:10:48 +0000 (01:10 +0000)
committerccoutant <ccoutant>
Tue, 25 Aug 2009 01:10:48 +0000 (01:10 +0000)
commita45cc96124161e5576272cebdbc0cac6e215c3ac
tree184b3fa6839aed99369a235095391b9c60bfeeed
parent593d60de69bde3a55423168c9d3bed32b09af77d
* 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