From: Cary Coutant Date: Mon, 11 Oct 2010 23:15:25 +0000 (+0000) Subject: * options.h (class General_options): Redefine -z lazy as an alias for X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6a9da32a2fbdc4eebe6640c72d193d0dc94aa26b;p=binutils-gdb.git * options.h (class General_options): Redefine -z lazy as an alias for the negation of -z now. --- 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);