This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb/binutils-2_29-branch] Add --no-relax option.
- From: Cary Coutant <ccoutant at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 20 Sep 2017 21:37:05 -0000
- Subject: [binutils-gdb/binutils-2_29-branch] Add --no-relax option.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=13d7031e342b76e68dff74120a8f2a4c4e70a142
commit 13d7031e342b76e68dff74120a8f2a4c4e70a142
Author: James Clarke <jrtc27@jrtc27.com>
Date: Thu Aug 3 22:44:21 2017 -0700
Add --no-relax option.
gold/
* options.h (General_options): Set a non-NULL second help string
argument for relax to allow --no-relax.
Diff:
---
gold/ChangeLog | 5 +++++
gold/options.h | 3 ++-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 795837b..0fc54dd 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-09-20 Alan Modra <amodra@gmail.com>
* powerpc.cc (Target_powerpc::Branch_info::make_stub): Put
diff --git a/gold/options.h b/gold/options.h
index 576b2a3..4a802cf 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"));