Moving the SHF_LINK_ORDER processing out of OutputSection::finalize() means that we no longer need to copy all InputSections as we now only need the first InputSection.
This is patch 2 of 3 in sequence:
Differential D40966
[LLD][ELF] Refactor to remove loop copying all Sections in OS->finalize() [NFC] ClosedPublic Authored by peter.smith on Dec 7 2017, 9:19 AM.
Details Summary Moving the SHF_LINK_ORDER processing out of OutputSection::finalize() means that we no longer need to copy all InputSections as we now only need the first InputSection. This is patch 2 of 3 in sequence:
Diff Detail
Event Timelinepeter.smith added a parent revision: D40964: [LLD][ELF] Move SHF_LINK_ORDER processing earlier in Writer.cpp [NFC]. Closed by commit rLLD320478: [ELF] Refactor to remove loop copying all Sections in OS->finalize() [NFC] (authored by psmith). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 126536 ELF/OutputSections.cpp
|