diff --git a/lld/ELF/InputSection.cpp b/lld/ELF/InputSection.cpp index 29fa7a6323ee..98a39fba9fe2 100644 --- a/lld/ELF/InputSection.cpp +++ b/lld/ELF/InputSection.cpp @@ -78,7 +78,7 @@ InputSectionBase::getOffset(const DefinedRegular &Sym) { } template -static DefinedRegular *getRelocTargetSym(ObjectFile *File, +static DefinedRegular *getRelocTargetSym(elf::ObjectFile *File, const typename ELFT::Rel &Rel) { uint32_t SymIndex = Rel.getSymbol(Config->Mips64EL); SymbolBody &B = File->getSymbolBody(SymIndex).repl();