Don't write unattached after_input sections twice.
This commit is contained in:
parent
ab209b3a0d
commit
0205c1752c
1 changed files with 0 additions and 8 deletions
|
@ -2043,14 +2043,6 @@ Layout::write_sections_after_input_sections(Output_file* of)
|
||||||
(*p)->write(of);
|
(*p)->write(of);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (Section_list::const_iterator p = this->unattached_section_list_.begin();
|
|
||||||
p != this->unattached_section_list_.end();
|
|
||||||
++p)
|
|
||||||
{
|
|
||||||
if ((*p)->after_input_sections())
|
|
||||||
(*p)->write(of);
|
|
||||||
}
|
|
||||||
|
|
||||||
this->section_headers_->write(of);
|
this->section_headers_->write(of);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue