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

Sean Fertile via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 6 18:31:40 PDT 2020


sfertile accepted this revision.
sfertile added a comment.

LGTM.



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


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