[PATCH] D84360: [LLD][PowerPC] Implement GOT to PC-Rel relaxation
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 5 21:59:02 PDT 2020
MaskRay added inline comments.
================
Comment at: lld/ELF/Options.td:407
+defm pcrel_got_optimize : B<"pcrel-got-optimize",
+ "(PowerPC64) Enable PCRel GOT related optimizations (default)",
----------------
Is this an option binutils will support as well?
Note that on x86, --no-relax can control whether R_X86_64_GOTPCRELX is optimized.
I hope PowerPC can adopt the same option.
There is a related thread https://sourceware.org/pipermail/binutils/2020-June/111571.html before I knew the PCREL GOT optimization activities on PowerPC.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D84360/new/
https://reviews.llvm.org/D84360
More information about the llvm-commits
mailing list