* options.h (class General_options): Make -i a synonym for -r.
authorIan Lance Taylor <ian@airs.com>
Mon, 16 May 2011 23:41:23 +0000 (23:41 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 16 May 2011 23:41:23 +0000 (23:41 +0000)
gold/ChangeLog
gold/options.h

index ae006bdcddd2c99d67d47ee1f04f60c5f2494666..255bc8a81df1ca4806bb012c18a93626c5fbebaf 100644 (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.
index 3949690a46a712d33b2854b15f79411c59c13f92..f98bb27ba88f4e55de3e296057f0b6e124aacf91 100644 (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);
This page took 0.031653 seconds and 4 git commands to generate.