[gold patch obvious] Fix -z lazy to negate a prior -z now
Cary Coutant
ccoutant@google.com
Mon Oct 11 23:16:00 GMT 2010
Currently, gold processes the -z lazy option, but treats it as a nop.
This patch fixes -z lazy to negate a previous -z now.
Checking in as obvious.
-cary
* options.h (class General_options): Define -z lazy as an
alias for -z now.
Index: options.h
===================================================================
RCS file: /cvs/src/src/gold/options.h,v
retrieving revision 1.150
diff -u -p -r1.150 options.h
--- options.h 9 Sep 2010 15:29:01 -0000 1.150
+++ options.h 11 Oct 2010 23:07:06 -0000
@@ -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);
More information about the Binutils
mailing list