Simplify this further.
Thanks to Rui for noticing it. llvm-svn: 299777
This commit is contained in:
parent
58fa724494
commit
e4c8b9b78c
|
@ -332,8 +332,7 @@ LinkerScript::createInputSectionList(OutputSectionCommand &OutCmd) {
|
|||
continue;
|
||||
|
||||
Cmd->Sections = computeInputSections(Cmd);
|
||||
for (InputSectionBase *S : Cmd->Sections)
|
||||
Ret.push_back(S);
|
||||
Ret.insert(Ret.end(), Cmd->Sections.begin(), Cmd->Sections.end());
|
||||
}
|
||||
|
||||
return Ret;
|
||||
|
|
Loading…
Reference in New Issue