This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Support --no-rosegment.


>From 38a33693f406d1cce6877bf6baa67c368e243485 Mon Sep 17 00:00:00 2001
From: Fangrui Song <maskray@google.com>
Date: Thu, 19 Dec 2019 17:40:17 -0800
Subject: [PATCH] Support --no-rosegment.
To: binutils@sourceware.org

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 3dc2ce81b7..60ce5d7719 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,7 @@
+2019-12-19  Fangrui Song  <maskray@google.com>
+
+	* options.h (General_options): Add --no-rosegment option.
+
 2019-11-26  Martin Liska  <mliska@suse.cz>
 
 	* layout.cc (Layout::special_ordering_of_input_section):
diff --git a/gold/options.h b/gold/options.h
index f7c127953c..ab7f2d946f 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.24.0


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]