Lines Matching refs:ehdr
479 GElf_Ehdr ehdr; in dis_file() local
495 dis_tgt_ehdr(current, &ehdr); in dis_file()
503 switch (ehdr.e_machine) { in dis_file()
505 if (ehdr.e_ident[EI_CLASS] != ELFCLASS32 || in dis_file()
506 ehdr.e_ident[EI_DATA] != ELFDATA2MSB) { in dis_file()
515 uint64_t flags = ehdr.e_flags & EF_SPARC_32PLUS_MASK; in dis_file()
517 if (ehdr.e_ident[EI_CLASS] != ELFCLASS32 || in dis_file()
518 ehdr.e_ident[EI_DATA] != ELFDATA2MSB) { in dis_file()
533 if (ehdr.e_ident[EI_CLASS] != ELFCLASS64 || in dis_file()
534 ehdr.e_ident[EI_DATA] != ELFDATA2MSB) { in dis_file()
553 if (ehdr.e_ident[EI_CLASS] != ELFCLASS32 || in dis_file()
554 ehdr.e_ident[EI_DATA] != ELFDATA2MSB) { in dis_file()
567 if (ehdr.e_ident[EI_CLASS] == ELFCLASS32) { in dis_file()
569 } else if (ehdr.e_ident[EI_CLASS] == ELFCLASS64) { in dis_file()
576 if (ehdr.e_ident[EI_DATA] != ELFDATA2MSB) { in dis_file()
584 ehdr.e_machine); in dis_file()
593 if (ehdr.e_type == ET_REL) in dis_file()