summaryrefslogtreecommitdiffstats
path: root/lld/ELF/OutputSections.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2015-12-17 01:18:40 +0000
committerRui Ueyama <ruiu@google.com>2015-12-17 01:18:40 +0000
commit02dfd496b04919ece112ff2ddf3f195b9f5925cd (patch)
tree0e9377e2e55ef578e9b70f2936510d96100e8fbb /lld/ELF/OutputSections.cpp
parentbb936067553437ed4dd0de628e173fc5be4d7fa6 (diff)
downloadbcm5719-llvm-02dfd496b04919ece112ff2ddf3f195b9f5925cd.tar.gz
bcm5719-llvm-02dfd496b04919ece112ff2ddf3f195b9f5925cd.zip
ELF: Rename relocNeedsCopy -> needsCopyRel
Just "copy" was a bit too ambiguous to say about copy relocations. llvm-svn: 255866
Diffstat (limited to 'lld/ELF/OutputSections.cpp')
-rw-r--r--lld/ELF/OutputSections.cpp2
1 files changed, 1 insertions, 1 deletions
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 <class ELFT> void RelocationSection<ELFT>::writeTo(uint8_t *Buf) {
uint32_t Type = RI.getType(Config->Mips64EL);
if (applyTlsDynamicReloc(Body, Type, P, reinterpret_cast<Elf_Rel *>(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() &&
OpenPOWER on IntegriCloud