parent
2b714b56a9
commit
ec5c4adbf2
|
@ -275,6 +275,9 @@ LinkerScript::computeInputSections(const InputSectionDescription *Cmd) {
|
||||||
!Pat.SectionPat.match(Sec->Name))
|
!Pat.SectionPat.match(Sec->Name))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
// It is safe to assume that Sec is an InputSection
|
||||||
|
// because mergeable or EH input sections have already been
|
||||||
|
// handled and eliminated.
|
||||||
Ret.push_back(cast<InputSection>(Sec));
|
Ret.push_back(cast<InputSection>(Sec));
|
||||||
Sec->Assigned = true;
|
Sec->Assigned = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue