From 0f72bf6f74f8fbd07abc144ff73ac2c4d3418ecf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20=C3=81vila=20de=20Esp=C3=ADndola?= Date: Thu, 9 Sep 2010 15:29:01 +0000 Subject: 2010-09-09 Rafael Espindola * 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. --- gold/options.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gold/options.h') 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")); -- cgit v1.1