[PATCH] D33239: [LLD][ELF] Make SHF_LINK_ORDER section ordering use InputSectionDescriptions

Rafael Ávila de Espíndola via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 19 15:55:37 PDT 2017


rafael added a comment.

The sorting does have to be made at the linker script level, but why do you have to change when it is made? Can the call to Script->sortLinkOrder be just before

  for (OutputSection *Sec : OutputSections)
    Sec->finalize<ELFT>();


https://reviews.llvm.org/D33239





More information about the llvm-commits mailing list