This change alters the sorting for OutputSections with the SHF_LINK_ORDER flag in OutputSection::finalize() to use the InputSectionDescription representation and not the OutputSection::Sections representation.
With this change the OutputSections::Sections is no longer operated on for SHF_LINK_ORDER. The synchronize function has been changed to skip sections with SHF_LINK_ORDER as this will undo the ordering done in finalize().