[PATCH] D62994: [ELF] Delete R_PPC64_CALL_PLT from isRelExpr()

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 7 04:07:09 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL362788: [ELF] Delete R_PPC64_CALL_PLT from isRelExpr() (authored by MaskRay, committed by ).

Repository:
  rL LLVM

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

https://reviews.llvm.org/D62994

Files:
  lld/trunk/ELF/Relocations.cpp


Index: lld/trunk/ELF/Relocations.cpp
===================================================================
--- lld/trunk/ELF/Relocations.cpp
+++ lld/trunk/ELF/Relocations.cpp
@@ -379,8 +379,7 @@
 // file (PC, or GOT for example).
 static bool isRelExpr(RelExpr Expr) {
   return oneof<R_PC, R_GOTREL, R_GOTPLTREL, R_MIPS_GOTREL, R_PPC64_CALL,
-               R_PPC64_CALL_PLT, R_PPC64_RELAX_TOC, R_AARCH64_PAGE_PC,
-               R_RELAX_GOT_PC>(Expr);
+               R_PPC64_RELAX_TOC, R_AARCH64_PAGE_PC, R_RELAX_GOT_PC>(Expr);
 }
 
 // Returns true if a given relocation can be computed at link-time.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62994.203531.patch
Type: text/x-patch
Size: 603 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190607/8074b1ae/attachment.bin>


More information about the llvm-commits mailing list