aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2020-03-19 15:54:20 -0700
committerCary Coutant <ccoutant@gmail.com>2020-03-19 15:54:38 -0700
commit9a6c68caa9543e09b064b7ac7c2b658f277bc19c (patch)
tree2faa8400ce0bc755b10bfb1fa78f0e42529ee15e
parentf09db380942d1393e6f60d1ecaa7d4b6edfaaecf (diff)
downloadgdb-9a6c68caa9543e09b064b7ac7c2b658f277bc19c.zip
gdb-9a6c68caa9543e09b064b7ac7c2b658f277bc19c.tar.gz
gdb-9a6c68caa9543e09b064b7ac7c2b658f277bc19c.tar.bz2
Add support for --no-rosegment option.
gold/ * options.h (General_options): Add --no-rosegment option.
-rw-r--r--gold/ChangeLog4
-rw-r--r--gold/options.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 77949d2..4466f4d 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,7 @@
+2020-03-19 Fangrui Song <maskray@google.com>
+
+ * options.h (General_options): Add --no-rosegment option.
+
2020-02-24 Nick Clifton <nickc@redhat.com>
* po/fr.po: Update French translation.
diff --git a/gold/options.h b/gold/options.h
index 4146102..b2059d9 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"),