Lines Matching defs:elfp
297 ElfReloc::get_elf_reloc (Elf *elfp, char *sec_name, ElfReloc *rlc)
299 int et = elfp->elf_getehdr ()->e_type;
302 int sec = elfp->elf_get_sec_num (sec_name);
305 Elf_Internal_Shdr *shdr = elfp->get_shdr (sec);
309 Elf_Data *data = elfp->elf_getdata (sec);
314 Elf_Internal_Shdr *shdr_sym = elfp->get_shdr (shdr->sh_link);
317 Elf_Data *data_sym = elfp->elf_getdata (shdr->sh_link);
326 elfp->elf_getrela (data, n, &rela);
329 elfp->elf_getrel (data, n, &rela);
334 elfp->elf_getsym (data_sym, ndx, &sym);
343 secHdr = elfp->get_shdr (sym.st_shndx);
349 secHdr = elfp->get_shdr (shdr->sh_info);
357 secHdr = elfp->get_shdr (sym.st_shndx);
367 rlc = new ElfReloc (elfp);