aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);