[PATCH] D68094: ELF: Don't merge SHF_LINK_ORDER sections in relocatable links.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 26 18:06:49 PDT 2019


pcc added a comment.

I think you're right, we can't just prevent merging because this will cause the creation of multiple .ARM.exidx sections (and possibly other SHF_LINK_ORDER sections depending on ordering) and there would then be nothing preventing the sections from being merged.

I'm uploading a new version of the patch that will merge SHF_LINK_ORDER sections that end up referring to the same output section. It looks like it should work; I just need to test it against the original reproduction scenario that uncovered this bug.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68094/new/

https://reviews.llvm.org/D68094





More information about the llvm-commits mailing list