aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2011-05-16 23:41:23 +0000
committerIan Lance Taylor <ian@airs.com>2011-05-16 23:41:23 +0000
commitec69d6da3a2b7d5c60e6da9249d06968110f50f5 (patch)
tree9908269eb10accfff3647357e7c2d1233ead2c70
parent732e31de7d97b662bc70cc2e8c3acdf45bc41889 (diff)
downloadfsf-binutils-gdb-ec69d6da3a2b7d5c60e6da9249d06968110f50f5.zip
fsf-binutils-gdb-ec69d6da3a2b7d5c60e6da9249d06968110f50f5.tar.gz
fsf-binutils-gdb-ec69d6da3a2b7d5c60e6da9249d06968110f50f5.tar.bz2
* options.h (class General_options): Make -i a synonym for -r.
-rw-r--r--gold/ChangeLog4
-rw-r--r--gold/options.h5
2 files changed, 6 insertions, 3 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index ae006bd..255bc8a 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,5 +1,9 @@
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.
2011-05-10 Cary Coutant <ccoutant@google.com>
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);