diff options
author | Ian Lance Taylor <ian@airs.com> | 2008-07-22 23:55:24 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2008-07-22 23:55:24 +0000 |
commit | 3481085102449795e77ce56d628a10e931bde4be (patch) | |
tree | f6510cf30a08cd3a890974e609b85960ce03ac24 /gold/options.h | |
parent | af6156ef8ded31c7b8e19fa7995e4de14a5b9639 (diff) | |
download | gdb-3481085102449795e77ce56d628a10e931bde4be.zip gdb-3481085102449795e77ce56d628a10e931bde4be.tar.gz gdb-3481085102449795e77ce56d628a10e931bde4be.tar.bz2 |
* options.h (class General_options): Define --check-sections.
* layout.cc (Layout::set_segment_offsets): Handle
--check-sections.
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 91f9552..6a456f1 100644 --- a/gold/options.h +++ b/gold/options.h @@ -576,6 +576,10 @@ class General_options N_("Generate build ID note"), N_("[=STYLE]")); + DEFINE_bool(check_sections, options::TWO_DASHES, '\0', true, + N_("Check segment addresses for overlaps (default)"), + N_("Do not check segment addresses for overlaps")); + #ifdef HAVE_ZLIB_H DEFINE_enum(compress_debug_sections, options::TWO_DASHES, '\0', "none", N_("Compress .debug_* sections in the output file"), |