ELF: Rename relocNeedsCopy -> needsCopyRel

Just "copy" was a bit too ambiguous to say about copy relocations.

llvm-svn: 255866
This commit is contained in:
Rui Ueyama
2015-12-17 01:18:40 +00:00
parent bb93606755
commit 02dfd496b0
5 changed files with 12 additions and 14 deletions

View File

@@ -245,7 +245,7 @@ void Writer<ELFT>::scanRelocs(
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);