[lld] r250372 - [ELF2/PPC64] Remove now-dead weak/undef check
Hal Finkel via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 14 23:44:20 PDT 2015
Author: hfinkel
Date: Thu Oct 15 01:44:19 2015
New Revision: 250372
URL: http://llvm.org/viewvc/llvm-project?rev=250372&view=rev
Log:
[ELF2/PPC64] Remove now-dead weak/undef check
After r250311, this check is dead. Remove it.
Modified:
lld/trunk/ELF/Target.cpp
Modified: lld/trunk/ELF/Target.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Target.cpp?rev=250372&r1=250371&r2=250372&view=diff
==============================================================================
--- lld/trunk/ELF/Target.cpp (original)
+++ lld/trunk/ELF/Target.cpp Thu Oct 15 01:44:19 2015
@@ -406,7 +406,7 @@ bool PPC64TargetInfo::relocNeedsPlt(uint
return false;
// These are function calls that need to be redirected through a PLT stub.
- return S.isShared() || (S.isUndefined() && S.isWeak());
+ return S.isShared();
}
bool PPC64TargetInfo::isRelRelative(uint32_t Type) const {
More information about the llvm-commits
mailing list