diff options
Diffstat (limited to 'lld/ELF/InputSection.cpp')
-rw-r--r-- | lld/ELF/InputSection.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lld/ELF/InputSection.cpp b/lld/ELF/InputSection.cpp index 1098105c50d..dd5eb310387 100644 --- a/lld/ELF/InputSection.cpp +++ b/lld/ELF/InputSection.cpp @@ -148,9 +148,6 @@ void InputSectionBase<ELFT>::relocate( SymVA = Out<ELFT>::Got->getEntryAddr(Body); Type = Body.isTLS() ? Target->getTlsGotReloc() : Target->getGotRefReloc(Type); - } else if (Target->relocPointsToGot(Type)) { - SymVA = Out<ELFT>::Got->getVA(); - Type = Target->getPCRelReloc(); } else if (!Target->relocNeedsCopy(Type, Body) && isa<SharedSymbol<ELFT>>(Body)) { continue; |