Home
last modified time | relevance | path

Searched refs:EI_Ehdr (Results 1 – 1 of 1) sorted by relevance

/titanic_41/usr/src/cmd/file/
H A Delf_read.c98 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()
[all …]