From bbc5ae17c4b20dfb91e3a16590a5fc785d90269d Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 10 May 2013 22:33:35 +0000 Subject: gold/ * options.h (General_options): Add --rosegment-gap option. * options.cc (finalize): --rosegment-gap implies --rosegment. * layout.cc (set_segment_offsets): Let user option override target->rosegment_gap(). --- 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 c00e69a..0055826 100644 --- a/gold/options.h +++ b/gold/options.h @@ -927,6 +927,10 @@ class General_options N_("Put read-only non-executable sections in their own segment"), NULL); + DEFINE_uint64(rosegment_gap, options::TWO_DASHES, '\0', -1U, + N_("Set offset between executable and read-only segments"), + N_("OFFSET")); + DEFINE_string(m, options::EXACTLY_ONE_DASH, 'm', "", N_("Set GNU linker emulation; obsolete"), N_("EMULATION")); -- cgit v1.1