diff options
-rw-r--r-- | gold/ChangeLog | 5 | ||||
-rw-r--r-- | gold/options.h | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index 9ec596c..b0e90a1 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -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. diff --git a/gold/options.h b/gold/options.h index da12599..d0e42a1 100644 --- a/gold/options.h +++ b/gold/options.h @@ -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); |