[PATCH] D83748: Adding support for PCRel32GOTLoad in ELF x86 for the jitlinker
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 14 23:07:35 PDT 2020
MaskRay added inline comments.
================
Comment at: llvm/lib/ExecutionEngine/JITLink/ELF_x86_64.cpp:35
+ bool isGOTEdge(Edge &E) const {
+ return E.getKind() == PCRel32GOT || E.getKind() == PCRel32GOTLoad;
+ }
----------------
PCRel32GOT & PCRel32GOTLoad seem to match the names of Mach-O X86_64_RELOC_GOT & X86_64_RELOC_GOT_LOAD. The ELF relocation types are named R_X86_64_GOTPCREL & R_X86_64_GOTPCRELX
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D83748/new/
https://reviews.llvm.org/D83748
More information about the llvm-commits
mailing list