Lines Matching defs:elfhdr
301 GElf_Ehdr elfhdr;
328 if (gelf_getehdr(elf, &elfhdr) == NULL) {
361 if (elfhdr.e_ident[EI_DATA] == ELFDATA2MSB)
370 (int)elfhdr.e_ident[EI_CLASS]);
372 arch = elf_corres_to_string(mach_corres, (int) elfhdr.e_machine);
379 switch (elfhdr.e_machine) {
382 (int)elfhdr.e_ident[EI_DATA]);
386 if ((elfhdr.e_flags & 0xFF000000) != 0) {
435 } else if (elfhdr.e_ident[EI_OSABI] != ELFOSABI_NONE) {
457 switch (elfhdr.e_flags & EF_MIPS_ABI) {
465 if (elfhdr.e_ident[EI_DATA] ==
468 else if (elfhdr.e_ident[EI_DATA] ==
474 (int)elfhdr.e_ident[EI_DATA]);