Lines Matching defs:elfp
269 ElfReloc::get_elf_reloc (Elf *elfp, char *sec_name, ElfReloc *rlc)
271 int et = elfp->elf_getehdr ()->e_type;
274 int sec = elfp->elf_get_sec_num (sec_name);
277 Elf_Internal_Shdr *shdr = elfp->get_shdr (sec);
281 Elf_Data *data = elfp->elf_getdata (sec);
286 Elf_Internal_Shdr *shdr_sym = elfp->get_shdr (shdr->sh_link);
289 Elf_Data *data_sym = elfp->elf_getdata (shdr->sh_link);
298 elfp->elf_getrela (data, n, &rela);
301 elfp->elf_getrel (data, n, &rela);
306 elfp->elf_getsym (data_sym, ndx, &sym);
315 secHdr = elfp->get_shdr (sym.st_shndx);
321 secHdr = elfp->get_shdr (shdr->sh_info);
329 secHdr = elfp->get_shdr (sym.st_shndx);
339 rlc = new ElfReloc (elfp);