[ELF] Delete R_PPC64_CALL_PLT from isRelExpr()
It was added by D46654 but is actually never used.
R_PPC64_CALL_PLT (was: R_PPC_CALL_PLT) is a static link-time constant.
Reviewed By: ruiu
Differential Revision: https://reviews.llvm.org/D62994
git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@362788 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/ELF/Relocations.cpp b/ELF/Relocations.cpp
index d3cc608..68055bf 100644
--- a/ELF/Relocations.cpp
+++ b/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.