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.
This commit is contained in:
Ian Lance Taylor
2011-10-19 15:05:58 +00:00
parent 1d5316ab67
commit ea0d8c4740
3 changed files with 15 additions and 2 deletions

View File

@@ -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.