[PATCH] D85459: [PowerPC] Add compatibility check for PPC PLT stubs

Victor Huang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 7 05:58:51 PDT 2020


NeHuang marked an inline comment as done.
NeHuang added inline comments.


================
Comment at: lld/ELF/Thunks.cpp:872
+                                        const Relocation &rel) const {
+  return rel.type != R_PPC64_REL24_NOTOC;
+}
----------------
sfertile wrote:
> Would it be better to explicitly check for R_PPC64_REL24 and R_PPC64_REL14?
Good catch! Updated.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D85459/new/

https://reviews.llvm.org/D85459



More information about the llvm-commits mailing list