diff options
author | Roland McGrath <roland@gnu.org> | 2013-05-10 22:33:35 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2013-05-10 22:33:35 +0000 |
commit | bbc5ae17c4b20dfb91e3a16590a5fc785d90269d (patch) | |
tree | 94d11a353e0f194681ad09bfc732812b80ca9e0f /gold/options.h | |
parent | 0c6e6c39ad2ffe80c3abb214467115bedea795e6 (diff) | |
download | gdb-bbc5ae17c4b20dfb91e3a16590a5fc785d90269d.zip gdb-bbc5ae17c4b20dfb91e3a16590a5fc785d90269d.tar.gz gdb-bbc5ae17c4b20dfb91e3a16590a5fc785d90269d.tar.bz2 |
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().
Diffstat (limited to 'gold/options.h')
-rw-r--r-- | gold/options.h | 4 |
1 files changed, 4 insertions, 0 deletions
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")); |