From ea0d8c4740b09bb4d919a3e6b53d7a141f76a2bd Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 19 Oct 2011 15:05:58 +0000 Subject: 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. --- gold/options.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gold/options.h') diff --git a/gold/options.h b/gold/options.h index 427e957..2837790 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. -- cgit v1.1