public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Support --no-rosegment.
@ 2019-12-20  1:53 Fangrui Song via binutils
  2020-02-14  2:13 ` Fāng-ruì Sòng via binutils
  0 siblings, 1 reply; 8+ messages in thread
From: Fangrui Song via binutils @ 2019-12-20  1:53 UTC (permalink / raw)
  To: binutils; +Cc: Cary Coutant

[-- Attachment #1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #2: gold.patch --]
[-- Type: text/x-diff, Size: 1286 bytes --]

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-03-18 19:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-20  1:53 [PATCH] Support --no-rosegment Fangrui Song via binutils
2020-02-14  2:13 ` Fāng-ruì Sòng via binutils
2020-03-02 13:00   ` Nick Clifton
2020-03-02 16:50     ` Fāng-ruì Sòng via binutils
2020-03-02 16:54       ` Nick Clifton
2020-03-17 22:01         ` Cary Coutant
2020-03-17 23:18           ` Fangrui Song
     [not found]           ` <BN6PR15MB1874822C272A95EF9F10D4B9CBF60@BN6PR15MB1874.namprd15.prod.outlook.com>
2020-03-18 19:40             ` Cary Coutant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).