llvm.org GIT mirror llvm / 26a99b2
This code never uses r_addend, so it can just use Elf_Rel. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248040 91177308-0d34-0410-b5e6-96231b3b80d8 Rafael Espindola 4 years ago
1 changed file(s) with 2 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
8686 SmallVectorImpl &Result) const;
8787
8888 /// \brief Get the symbol for a given relocation.
89 template
90 const Elf_Sym *getRelocationSymbol(const RelT *Rel,
89 const Elf_Sym *getRelocationSymbol(const Elf_Rel *Rel,
9190 const Elf_Shdr *SymTab) const;
9291
9392 ELFFile(StringRef Object, std::error_code &EC);
288287 }
289288
290289 template
291 template
292290 const typename ELFFile::Elf_Sym *
293 ELFFile::getRelocationSymbol(const RelT *Rel,
291 ELFFile::getRelocationSymbol(const Elf_Rel *Rel,
294292 const Elf_Shdr *SymTab) const {
295293 uint32_t Index = Rel->getSymbol(isMips64EL());
296294 if (Index == 0)