aboutsummaryrefslogtreecommitdiff
path: root/gold/options.h
diff options
context:
space:
mode:
authorRafael Ávila de Espíndola <respindola@mozilla.com>2010-09-09 15:29:01 +0000
committerRafael Ávila de Espíndola <respindola@mozilla.com>2010-09-09 15:29:01 +0000
commit0f72bf6f74f8fbd07abc144ff73ac2c4d3418ecf (patch)
treeab17de033891263d5542d9f89371ba948eac8348 /gold/options.h
parentc2a66c29c98ee9f824c229eabe1f81d93e5a89ad (diff)
downloadfsf-binutils-gdb-0f72bf6f74f8fbd07abc144ff73ac2c4d3418ecf.zip
fsf-binutils-gdb-0f72bf6f74f8fbd07abc144ff73ac2c4d3418ecf.tar.gz
fsf-binutils-gdb-0f72bf6f74f8fbd07abc144ff73ac2c4d3418ecf.tar.bz2
2010-09-09 Rafael Espindola <espindola@google.com>
* layout.cc (Layout::attach_allocated_section_to_segment): Don't put sections with different PF_X flags in the same segment. (Layout::find_first_load_seg): Search all segments to find the first one. * options.h (rosegment): New.
Diffstat (limited to 'gold/options.h')
-rw-r--r--gold/options.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/options.h b/gold/options.h
index c5e24cc..c990961 100644
--- a/gold/options.h
+++ b/gold/options.h
@@ -808,6 +808,10 @@ class General_options
N_(" Only search directories specified on the command line."),
NULL);
+ DEFINE_bool(rosegment, options::TWO_DASHES, '\0', false,
+ N_(" Put read-only non-executable sections in their own segment"),
+ NULL);
+
DEFINE_string(m, options::EXACTLY_ONE_DASH, 'm', "",
N_("Ignored for compatibility"), N_("EMULATION"));