Lines Matching defs:elfhdr
166 GElf_Ehdr elfhdr;
193 if (gelf_getehdr(elf, &elfhdr) == NULL) {
226 if (elfhdr.e_ident[EI_DATA] == ELFDATA2MSB)
236 elf_corres_to_string(mach_corres, (int)elfhdr.e_machine),
238 (int)elfhdr.e_ident[EI_CLASS]));
242 switch (elfhdr.e_machine) {
246 (int)elfhdr.e_ident[EI_DATA]),
247 (elfhdr.e_flags & EF_ARM_NEW_ABI) > 0 ?
249 (elfhdr.e_flags & EF_ARM_VFP_FLOAT) > 0 ?
259 switch (elfhdr.e_flags & EF_MIPS_ABI) {
267 if (elfhdr.e_ident[EI_DATA] ==
270 else if (elfhdr.e_ident[EI_DATA] ==
277 (int)elfhdr.e_ident[EI_DATA]), abi);