* options.h (class General_options): Make -i a synonym for -r.

This commit is contained in:
Ian Lance Taylor 2011-05-16 23:41:23 +00:00
parent 732e31de7d
commit ec69d6da3a
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2011-05-16 Ian Lance Taylor <iant@google.com>
* options.h (class General_options): Make -i a synonym for -r.
2011-05-16 Ian Lance Taylor <iant@google.com>
* testsuite/tls_test_main.cc: Use semaphores instead of mutexes.

View File

@ -761,9 +761,6 @@ class General_options
DEFINE_string(soname, options::ONE_DASH, 'h', NULL,
N_("Set shared library name"), N_("FILENAME"));
DEFINE_bool(i, options::EXACTLY_ONE_DASH, '\0', false,
N_("Ignored"), NULL);
DEFINE_double(hash_bucket_empty_fraction, options::TWO_DASHES, '\0', 0.0,
N_("Min fraction of empty buckets in dynamic hash"),
N_("FRACTION"));
@ -896,6 +893,8 @@ class General_options
DEFINE_bool(relocatable, options::EXACTLY_ONE_DASH, 'r', false,
N_("Generate relocatable output"), NULL);
DEFINE_bool_alias(i, relocatable, options::EXACTLY_ONE_DASH, '\0',
N_("Synonym for -r"), NULL, false);
DEFINE_bool(relax, options::TWO_DASHES, '\0', false,
N_("Relax branches on certain targets"), NULL);