Lines Matching refs:EI_Ehdr
98 static Elf_Ehdr EI_Ehdr; /* Elf_Ehdr to be stored */ variable
109 return (EI_Ehdr.e_ident[EI_CLASS]); in get_class()
116 return (EI_Ehdr.e_ident[EI_VERSION] ? in get_version()
117 EI_Ehdr.e_ident[EI_VERSION] : 1); in get_version()
123 return (EI_Ehdr.e_ident[EI_DATA]); in get_format()
189 Elf_Ehdr *ehdr = &EI_Ehdr; in elf_read()
209 EI_Ehdr_shnum = EI_Ehdr.e_shnum; in elf_read()
210 EI_Ehdr_phnum = EI_Ehdr.e_phnum; in elf_read()
211 EI_Ehdr_shstrndx = EI_Ehdr.e_shstrndx; in elf_read()
213 (EI_Ehdr.e_shoff != 0)) { in elf_read()
257 off = (FILE_ELF_OFF_T)EI_Ehdr.e_phoff + (inx * size); in get_phdr()
285 if ((EI_Ehdr.e_shoff == 0) || ((inx > 0) && (inx >= EI_Ehdr_shnum))) in get_shdr()
289 off = (FILE_ELF_OFF_T)EI_Ehdr.e_shoff + (inx * size); in get_shdr()
329 EI_Ehdr.e_type == ET_CORE) { in process_phdr()
429 mac = EI_Ehdr.e_machine; in process_shdr()
432 if (EI_Ehdr.e_shoff == 0 && EI_Ehdr_shnum == 0) in process_shdr()