diff options
Diffstat (limited to 'lld/ELF/InputSection.cpp')
-rw-r--r-- | lld/ELF/InputSection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/InputSection.cpp b/lld/ELF/InputSection.cpp index 0d708b58d5c..9ba4c040b7d 100644 --- a/lld/ELF/InputSection.cpp +++ b/lld/ELF/InputSection.cpp @@ -199,7 +199,7 @@ void InputSectionBase<ELFT>::relocate(uint8_t *Buf, uint8_t *BufEnd, SymVA = Out<ELFT>::Got->getEntryAddr(Body); if (Body.isTls()) Type = Target->getTlsGotReloc(); - } else if (!Target->relocNeedsCopy(Type, Body) && + } else if (!Target->needsCopyRel(Type, Body) && isa<SharedSymbol<ELFT>>(Body)) { continue; } else if (Target->isTlsDynReloc(Type) || |