aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
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);