aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Clarke <jrtc27@jrtc27.com>2017-08-03 22:44:21 -0700
committerCary Coutant <ccoutant@gmail.com>2017-08-03 22:44:44 -0700
commit223b97ba9d9d1aa61bf22058f637c779c7621e6f (patch)
tree3af745fa58b4561cab85b74d849c58dc873056f6
parenta30d3a7990e73c54e0bab9933e48989376770162 (diff)
downloadgdb-223b97ba9d9d1aa61bf22058f637c779c7621e6f.zip
gdb-223b97ba9d9d1aa61bf22058f637c779c7621e6f.tar.gz
gdb-223b97ba9d9d1aa61bf22058f637c779c7621e6f.tar.bz2
Add --no-relax option.
gold/ * options.h (General_options): Set a non-NULL second help string argument for relax to allow --no-relax.
-rw-r--r--gold/ChangeLog5
-rw-r--r--gold/options.h3
2 files changed, 7 insertions, 1 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index c886cc1..950be70 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -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.
diff --git a/gold/options.h b/gold/options.h
index 7be15a5..6b45f64 100644
--- a/gold/options.h
+++ b/gold/options.h
@@ -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"));