Add --no-relax option.
authorJames Clarke <jrtc27@jrtc27.com>
Fri, 4 Aug 2017 05:44:21 +0000 (22:44 -0700)
committerCary Coutant <ccoutant@gmail.com>
Fri, 4 Aug 2017 05:44:44 +0000 (22:44 -0700)
gold/
* options.h (General_options): Set a non-NULL second help string
argument for relax to allow --no-relax.

gold/ChangeLog
gold/options.h

index c886cc1ca4f11cc90b32c73edae8017079e5b253..950be7013a8e7e2a91b27095bb75bb04c91bee2c 100644 (file)
@@ -1,3 +1,8 @@
+2017-08-03  James Clarke  <jrtc27@jrtc27.com>
+
+       * options.h (General_options): Set a non-NULL second help string
+       argument for relax to allow --no-relax.
+
 2017-08-01  Alan Modra  <amodra@gmail.com>
 
        * ehframe.cc (Fde::operator==): New.
index 7be15a56ad1532cc34cc56403dd18e39f217671a..6b45f645e442d085ac9f850a3ef86f5814320e22 100644 (file)
@@ -1164,7 +1164,8 @@ class General_options
              N_("Generate relocatable output"), NULL);
 
   DEFINE_bool(relax, options::TWO_DASHES, '\0', false,
-             N_("Relax branches on certain targets"), NULL);
+             N_("Relax branches on certain targets"),
+             N_("Do not relax branches"));
 
   DEFINE_string(retain_symbols_file, options::TWO_DASHES, '\0', NULL,
                N_("keep only symbols listed in this file"), N_("FILE"));