[PATCH] D83469: [LLD][ELF] - Allow relocation sections to appear before their target sections.

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 9 10:09:10 PDT 2020


MaskRay added inline comments.


================
Comment at: lld/test/ELF/reloc-sec-before-target.test:3
+## the corresponding relocatable target section. Normally it is not what
+## compilers would emit. We have to support it, because some custom tools might
+## want to use this feature, which is not restricted by ELF gABI.
----------------
MaskRay wrote:
> > We have to support it, because some custom tools might want to use this feature, which is not restricted by ELF gABI.
> 
> Worth mentioning that GNU ld supports this as well.
This should also be mentioned in the description.


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

https://reviews.llvm.org/D83469





More information about the llvm-commits mailing list