aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2011-03-07 22:51:39 +0000
committerIan Lance Taylor <ian@airs.com>2011-03-07 22:51:39 +0000
commitb821d13c6daa6a562ad33736cc5a60b85bc59245 (patch)
tree8442230a80273ed30c9679858115f5e644b77bb9 /gold
parent967d1f9b8191f7131b2b4ce88b4052ff2457473b (diff)
downloadgdb-b821d13c6daa6a562ad33736cc5a60b85bc59245.zip
gdb-b821d13c6daa6a562ad33736cc5a60b85bc59245.tar.gz
gdb-b821d13c6daa6a562ad33736cc5a60b85bc59245.tar.bz2
PR gold/12525
* options.h (class General_options): Add -dy and -dn.
Diffstat (limited to 'gold')
-rw-r--r--gold/ChangeLog5
-rw-r--r--gold/options.h4
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);