diff --git a/gold/ChangeLog b/gold/ChangeLog index 71a0fd55e4..c57ed0614f 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 c990961465..59e22672a5 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);