forked from Imagelibrary/binutils-gdb
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user