Print the default for all binary options; clean up --help output.
authorCary Coutant <ccoutant@gmail.com>
Tue, 22 Nov 2016 23:44:56 +0000 (15:44 -0800)
committerCary Coutant <ccoutant@gmail.com>
Tue, 22 Nov 2016 23:46:34 +0000 (15:46 -0800)
commit358a971863e93cbafa9e864b4db4d5448b960304
tree4b3a85e4b2f2709fc1fbc54d81b523d9aa872c92
parentca3cbe5cd7715d1559d55f8e71be1dd7340f13b1
Print the default for all binary options; clean up --help output.

gold/
PR gold/20346
* options.cc (One_option::print): Print "(default)" when appropriate.
* options.h: Clean up and re-sort options.
(One_option::is_default): New data member.
(One_option::One_option): Add is_default parameter; adjust all calls.
(DEFINE_var): Add is_default__ parameter; adjust all calls.
(DEFINE_bool): Set is_default based on default_value__.
(DEFINE_bool_ignore): New macro.
(--no-eh-frame-hdr): New option.
(--enable-new-dtags): Remove mention of DT_FLAGS.
gold/ChangeLog
gold/options.cc
gold/options.h
This page took 0.02608 seconds and 4 git commands to generate.