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 bd11ab58e4c..c8dc53f2b32 100644 --- a/lld/ELF/InputSection.cpp +++ b/lld/ELF/InputSection.cpp @@ -137,7 +137,7 @@ void InputSectionBase<ELFT>::relocate( uintX_t SymVA = getSymVA<ELFT>(Body); if (Target->relocNeedsPlt(Type, Body)) { SymVA = Out<ELFT>::Plt->getEntryAddr(Body); - Type = Target->getPLTRefReloc(Type); + Type = Target->getPltRefReloc(Type); } else if (Target->relocNeedsGot(Type, Body)) { SymVA = Out<ELFT>::Got->getEntryAddr(Body); Type = Body.isTLS() ? Target->getTlsGotReloc() : Target->getGotRefReloc(); |

