From 6a9da32a2fbdc4eebe6640c72d193d0dc94aa26b Mon Sep 17 00:00:00 2001 From: Cary Coutant Date: Mon, 11 Oct 2010 23:15:25 +0000 Subject: [PATCH] * options.h (class General_options): Redefine -z lazy as an alias for the negation of -z now. --- gold/ChangeLog | 5 +++++ gold/options.h | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gold/ChangeLog b/gold/ChangeLog index 71a0fd55e4b..c57ed0614f7 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,8 @@ +2010-10-11 Cary Coutant + + * options.h (class General_options): Redefine -z lazy as an alias for + the negation of -z now. + 2010-10-11 Ian Lance Taylor * resolve.cc (symbol_to_bits): Report the value of the unsupported diff --git a/gold/options.h b/gold/options.h index c990961465b..59e22672a50 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);