aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2010-10-11 23:15:25 +0000
committerCary Coutant <ccoutant@google.com>2010-10-11 23:15:25 +0000
commit6a9da32a2fbdc4eebe6640c72d193d0dc94aa26b (patch)
tree8463495263fc5b0255ad88d24030ed14163c845c /gold
parent77582464449d1ac03a71d9dcf70ab320b997ad6d (diff)
downloadgdb-6a9da32a2fbdc4eebe6640c72d193d0dc94aa26b.zip
gdb-6a9da32a2fbdc4eebe6640c72d193d0dc94aa26b.tar.gz
gdb-6a9da32a2fbdc4eebe6640c72d193d0dc94aa26b.tar.bz2
* options.h (class General_options): Redefine -z lazy as an alias for
the negation of -z now.
Diffstat (limited to 'gold')
-rw-r--r--gold/ChangeLog5
-rw-r--r--gold/options.h6
2 files changed, 8 insertions, 3 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 71a0fd5..c57ed06 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,8 @@
+2010-10-11 Cary Coutant <ccoutant@google.com>
+
+ * options.h (class General_options): Redefine -z lazy as an alias for
+ the negation of -z now.
+
2010-10-11 Ian Lance Taylor <iant@google.com>
* resolve.cc (symbol_to_bits): Report the value of the unsupported
diff --git a/gold/options.h b/gold/options.h
index c990961..59e2267 100644
--- a/gold/options.h
+++ b/gold/options.h
@@ -1097,9 +1097,9 @@ class General_options
DEFINE_bool(interpose, options::DASH_Z, '\0', false,
N_("Mark object to interpose all DSOs but executable"),
NULL);
- DEFINE_bool(lazy, options::DASH_Z, '\0', false,
- N_("Mark object for lazy runtime binding (default)"),
- NULL);
+ DEFINE_bool_alias(lazy, now, options::DASH_Z, '\0',
+ N_("Mark object for lazy runtime binding (default)"),
+ NULL, true);
DEFINE_bool(loadfltr, options::DASH_Z, '\0', false,
N_("Mark object requiring immediate process"),
NULL);