Searched refs:ehdr32 (Results 1 – 2 of 2) sorted by relevance
38 Elf32_Ehdr ehdr32; in main() member58 if (memcmp(hdr.ehdr32.e_ident, ELFMAG, SELFMAG)) { in main()63 switch (hdr.ehdr32.e_ident[EI_CLASS]) { in main()65 switch (hdr.ehdr32.e_ident[EI_DATA]) { in main()67 entry = le32toh(hdr.ehdr32.e_entry); in main()70 entry = be32toh(hdr.ehdr32.e_entry); in main()82 switch (hdr.ehdr32.e_ident[EI_DATA]) { in main()
203 const Elf32_Ehdr *ehdr32; in main() local235 ehdr32 = elf; in main()238 if (memcmp(&ehdr32->e_ident[EI_MAG0], ELFMAG, SELFMAG)) { in main()244 if (ehdr32->e_ident[EI_VERSION] != EV_CURRENT) { in main()250 switch (ehdr32->e_ident[EI_CLASS]) { in main()263 switch (ehdr32->e_ident[EI_DATA]) { in main()