[PATCH] D84360: [WIP][LLD][PowerPC] Implement GOT to PC-Rel relaxation
Nemanja Ivanovic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 22 13:46:24 PDT 2020
nemanjai created this revision.
Herald added subscribers: shchenz, MaskRay, kbarton, hiraditya, arichardson, emaste.
Herald added a reviewer: espindola.
Herald added a reviewer: MaskRay.
Herald added a project: LLVM.
This patch implements the handling for the `R_PPC64_PCREL_OPT` relocation as well as the GOT relocation for the associated `R_PPC64_GOT_PCREL34` relocation.
Test cases will be added later, at which time I'll add reviewers and provide a more detailed description.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D84360
Files:
lld/ELF/Arch/PPC64.cpp
lld/ELF/InputSection.cpp
llvm/include/llvm/Target/PPCLegacyToPCRelMap.def
llvm/lib/Target/PowerPC/PPCPreEmitPeephole.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84360.279937.patch
Type: text/x-patch
Size: 17448 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200722/c42e24e1/attachment.bin>
More information about the llvm-commits
mailing list