]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
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 9ec596c7b7397420593ebb7728e9351eaa4192bd..b0e90a118d6b4e952bc1c1f57067bc9a50dcb7de 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 da125994a0611751e04dd6baf226c56e9a82fa07..d0e42a18b202159d2e51f1effebde8af810f7663 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);