ELF: Rename relocNeedsCopy -> needsCopyRel
Just "copy" was a bit too ambiguous to say about copy relocations.
llvm-svn: 255866
diff --git a/lld/ELF/Writer.cpp b/lld/ELF/Writer.cpp
index cae1f20..522eb62 100644
--- a/lld/ELF/Writer.cpp
+++ b/lld/ELF/Writer.cpp
@@ -245,7 +245,7 @@
if (auto *E = dyn_cast<SharedSymbol<ELFT>>(Body)) {
if (E->NeedsCopy)
continue;
- if (Target->relocNeedsCopy(Type, *Body))
+ if (Target->needsCopyRel(Type, *Body))
E->NeedsCopy = true;
}
NeedsPlt = Target->relocNeedsPlt(Type, *Body);