[PATCH] D72904: [ELF] Allow SHF_LINK_ORDER sections to have sh_link=0

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 10 21:02:16 PDT 2020


phosek added a comment.

In D72904#2071861 <https://reviews.llvm.org/D72904#2071861>, @pcc wrote:

> Should we drop this and just let users set sh_link=self if they want these semantics?


One issue I ran into while trying to use `sh_link=self` in D76802 <https://reviews.llvm.org/D76802> is that bfd.ld doesn't seem to handle that case: older versions of bfd.ld report an error while the tip-of-tree version hits an infinite loop.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D72904





More information about the llvm-commits mailing list