* options.h (class General_options): Redefine -z lazy as an alias for
authorCary Coutant <ccoutant@google.com>
Mon, 11 Oct 2010 23:15:25 +0000 (23:15 +0000)
committerCary Coutant <ccoutant@google.com>
Mon, 11 Oct 2010 23:15:25 +0000 (23:15 +0000)
the negation of -z now.

gold/ChangeLog
gold/options.h

index 71a0fd55e4b8c3e34fa2cfd0798602c4609b60b0..c57ed0614f73e4393c6d4e320454dc62db1cf5a1 100644 (file)
@@ -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
index c990961465bc39c88589958736b2f3f122e02942..59e22672a5015c595b8c58e617ef37e66516b31f 100644 (file)
@@ -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);