From 02dfd496b04919ece112ff2ddf3f195b9f5925cd Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Thu, 17 Dec 2015 01:18:40 +0000 Subject: ELF: Rename relocNeedsCopy -> needsCopyRel Just "copy" was a bit too ambiguous to say about copy relocations. llvm-svn: 255866 --- lld/ELF/OutputSections.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lld/ELF/OutputSections.cpp') diff --git a/lld/ELF/OutputSections.cpp b/lld/ELF/OutputSections.cpp index bb5e0e16111..723da267e6f 100644 --- a/lld/ELF/OutputSections.cpp +++ b/lld/ELF/OutputSections.cpp @@ -258,7 +258,7 @@ template void RelocationSection::writeTo(uint8_t *Buf) { uint32_t Type = RI.getType(Config->Mips64EL); if (applyTlsDynamicReloc(Body, Type, P, reinterpret_cast(Buf))) continue; - bool NeedsCopy = Body && Target->relocNeedsCopy(Type, *Body); + bool NeedsCopy = Body && Target->needsCopyRel(Type, *Body); bool NeedsGot = Body && Target->relocNeedsGot(Type, *Body); bool CanBePreempted = canBePreempted(Body, NeedsGot); bool LazyReloc = Body && Target->supportsLazyRelocations() && -- cgit v1.2.3