summaryrefslogtreecommitdiffstats
path: root/lld/ELF/InputSection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/ELF/InputSection.cpp')
-rw-r--r--lld/ELF/InputSection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/InputSection.cpp b/lld/ELF/InputSection.cpp
index 8a0a5898e03..90823a8e755 100644
--- a/lld/ELF/InputSection.cpp
+++ b/lld/ELF/InputSection.cpp
@@ -57,7 +57,7 @@ void InputSection<ELFT>::relocate(
// resolved so we don't allocate a SymbolBody.
const Elf_Shdr *SymTab = File.getSymbolTable();
if (SymIndex < SymTab->sh_info) {
- uintX_t SymVA = getLocalRelTarget(File, RI);
+ uintX_t SymVA = getLocalRelTarget(File, RI, Type);
relocateOne(Buf, BufEnd, RI, Type, BaseAddr, SymVA);
continue;
}
OpenPOWER on IntegriCloud