From 223b97ba9d9d1aa61bf22058f637c779c7621e6f Mon Sep 17 00:00:00 2001 From: James Clarke Date: Thu, 3 Aug 2017 22:44:21 -0700 Subject: [PATCH] Add --no-relax option. gold/ * options.h (General_options): Set a non-NULL second help string argument for relax to allow --no-relax. --- gold/ChangeLog | 5 +++++ gold/options.h | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gold/ChangeLog b/gold/ChangeLog index c886cc1ca4f..950be7013a8 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,8 @@ +2017-08-03 James Clarke + + * options.h (General_options): Set a non-NULL second help string + argument for relax to allow --no-relax. + 2017-08-01 Alan Modra * ehframe.cc (Fde::operator==): New. diff --git a/gold/options.h b/gold/options.h index 7be15a56ad1..6b45f645e44 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")); -- 2.30.2