SmallVectorImpl<char> &Result) const;
/// \brief Get the symbol for a given relocation.
- template <class RelT>
- const Elf_Sym *getRelocationSymbol(const RelT *Rel,
+ const Elf_Sym *getRelocationSymbol(const Elf_Rel *Rel,
const Elf_Shdr *SymTab) const;
ELFFile(StringRef Object, std::error_code &EC);
}
template <class ELFT>
-template <class RelT>
const typename ELFFile<ELFT>::Elf_Sym *
-ELFFile<ELFT>::getRelocationSymbol(const RelT *Rel,
+ELFFile<ELFT>::getRelocationSymbol(const Elf_Rel *Rel,
const Elf_Shdr *SymTab) const {
uint32_t Index = Rel->getSymbol(isMips64EL());
if (Index == 0)