Lines Matching refs:ehdr
39 Elf64_Ehdr *ehdr = edi->ei.image; in find_gp() local
64 soff = ehdr->e_shoff; in find_gp()
65 str_soff = soff + (ehdr->e_shstrndx * ehdr->e_shentsize); in find_gp()
67 if (soff + ehdr->e_shnum * ehdr->e_shentsize > edi->ei.size) in find_gp()
70 soff + ehdr->e_shnum * ehdr->e_shentsize, in find_gp()
78 for (i = 0; i < ehdr->e_shnum; ++i) in find_gp()
86 shdr = (Elf64_Shdr *) (((char *) shdr) + ehdr->e_shentsize); in find_gp()
100 Elf64_Ehdr *ehdr; in ia64_find_unwind_table() local
106 ehdr = edi->ei.image; in ia64_find_unwind_table()
107 phdr = (Elf64_Phdr *) ((char *) edi->ei.image + ehdr->e_phoff); in ia64_find_unwind_table()
109 for (i = 0; i < ehdr->e_phnum; ++i) in ia64_find_unwind_table()