diff options
author | Ian Lance Taylor <ian@airs.com> | 2011-05-16 23:41:23 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2011-05-16 23:41:23 +0000 |
commit | ec69d6da3a2b7d5c60e6da9249d06968110f50f5 (patch) | |
tree | 9908269eb10accfff3647357e7c2d1233ead2c70 /gold/options.h | |
parent | 732e31de7d97b662bc70cc2e8c3acdf45bc41889 (diff) | |
download | gdb-ec69d6da3a2b7d5c60e6da9249d06968110f50f5.zip gdb-ec69d6da3a2b7d5c60e6da9249d06968110f50f5.tar.gz gdb-ec69d6da3a2b7d5c60e6da9249d06968110f50f5.tar.bz2 |
* options.h (class General_options): Make -i a synonym for -r.
Diffstat (limited to 'gold/options.h')
-rw-r--r-- | gold/options.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gold/options.h b/gold/options.h index 3949690..f98bb27 100644 --- a/gold/options.h +++ b/gold/options.h @@ -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); |