diff options
author | Ian Lance Taylor <ian@airs.com> | 2011-10-19 15:05:58 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2011-10-19 15:05:58 +0000 |
commit | ea0d8c4740b09bb4d919a3e6b53d7a141f76a2bd (patch) | |
tree | 50897e96b062747ac46fa0ea1c2817548acfb13e /gold/options.h | |
parent | 1d5316ab67e12d6fb58c29728eb72fa937521e94 (diff) | |
download | binutils-gdb-ea0d8c4740b09bb4d919a3e6b53d7a141f76a2bd.tar.gz |
PR gold/13204
* layout.cc (Layout::segment_precedes): Don't assert failure if a
--section-start option was seen.
* options.h (General_options::any_section_start): New function.
Diffstat (limited to 'gold/options.h')
-rw-r--r-- | gold/options.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gold/options.h b/gold/options.h index 427e9574fd6..28377908b7b 100644 --- a/gold/options.h +++ b/gold/options.h @@ -1381,6 +1381,11 @@ class General_options bool section_start(const char* secname, uint64_t* paddr) const; + // Return whether any --section-start option was used. + bool + any_section_start() const + { return !this->section_starts_.empty(); } + enum Fix_v4bx { // Leave original instruction. |