From 9a6c68caa9543e09b064b7ac7c2b658f277bc19c Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Thu, 19 Mar 2020 15:54:20 -0700 Subject: [PATCH] Add support for --no-rosegment option. gold/ * options.h (General_options): Add --no-rosegment option. --- gold/ChangeLog | 4 ++++ gold/options.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gold/ChangeLog b/gold/ChangeLog index 77949d2da75..4466f4d1dfa 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,7 @@ +2020-03-19 Fangrui Song + + * options.h (General_options): Add --no-rosegment option. + 2020-02-24 Nick Clifton * po/fr.po: Update French translation. diff --git a/gold/options.h b/gold/options.h index 4146102279c..b2059d984cd 100644 --- a/gold/options.h +++ b/gold/options.h @@ -1182,7 +1182,7 @@ class General_options DEFINE_bool(rosegment, options::TWO_DASHES, '\0', false, N_("Put read-only non-executable sections in their own segment"), - NULL); + N_("Do not put read-only non-executable sections in their own segment")); DEFINE_uint64(rosegment_gap, options::TWO_DASHES, '\0', -1U, N_("Set offset between executable and read-only segments"), -- 2.30.2