[PATCH] D80496: [ELF] Add -z rel and -z rela
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 28 15:59:18 PDT 2020
MaskRay added a comment.
In D80496#2060948 <https://reviews.llvm.org/D80496#2060948>, @mcgrathr wrote:
> LGTM. It might be worth mentioning in the doc/comment that REL format cannot pack the full range of addend values for all reloc types, but this only affects reloc types that lld doesn't support emitting as dynamic relocs since they are only used for TEXTRELs.
My understanding is that text relocations describes dynamic relocations in non-SHF_WRITE sections. I do not say text relocations because we disallow such dynamic relocations from SHF_WRITE sections as well.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80496/new/
https://reviews.llvm.org/D80496
More information about the llvm-commits
mailing list