PR gold/12525
authorIan Lance Taylor <ian@airs.com>
Mon, 7 Mar 2011 22:51:39 +0000 (22:51 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 7 Mar 2011 22:51:39 +0000 (22:51 +0000)
* options.h (class General_options): Add -dy and -dn.

gold/ChangeLog
gold/options.h

index 9ec596c..b0e90a1 100644 (file)
@@ -1,3 +1,8 @@
+2011-03-07  Ian Lance Taylor  <iant@google.com>
+
+       PR gold/12525
+       * options.h (class General_options): Add -dy and -dn.
+
 2011-03-02  Cary Coutant  <ccoutant@google.com>
 
        * testsuite/script_test_9.t: Add TLS segment.
index da12599..d0e42a1 100644 (file)
@@ -623,6 +623,10 @@ class General_options
   DEFINE_bool_alias(Bstatic, Bdynamic, options::ONE_DASH, '\0',
                    N_("-l does not search for shared libraries"), NULL,
                    true);
+  DEFINE_bool_alias(dy, Bdynamic, options::ONE_DASH, '\0',
+                   N_("alias for -Bdynamic"), NULL, false);
+  DEFINE_bool_alias(dn, Bdynamic, options::ONE_DASH, '\0',
+                   N_("alias for -Bstatic"), NULL, true);
 
   DEFINE_bool(Bsymbolic, options::ONE_DASH, '\0', false,
               N_("Bind defined symbols locally"), NULL);