[PATCH] D72831: [llvm-mc] - Produce R_X86_64_PLT32 relocation for branches with JCC opcodes too.
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 16 11:11:14 PST 2020
MaskRay accepted this revision.
MaskRay added a comment.
This revision is now accepted and ready to land.
`R_X86_64_PLT32` is a branch relocation type which means the exact address is insignificant.
- In an executable, it can prevent the creation of a canonical PLT entry.
- In a shared object, an R_X86_64_PC32 to a preemptible symbol is not allowed.
This can be favorable since it can enable us to use `JCC_4` for tail calls.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72831/new/
https://reviews.llvm.org/D72831
More information about the llvm-commits
mailing list