Home
last modified time | relevance | path

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

/openbmc/linux/arch/mips/tools/
H A Delf-entry.c38 Elf32_Ehdr ehdr32; in main() member
58 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()
/openbmc/u-boot/tools/
H A Dmips-relocs.c202 const Elf32_Ehdr *ehdr32; in main() local
232 ehdr32 = elf; in main()
235 if (memcmp(&ehdr32->e_ident[EI_MAG0], ELFMAG, SELFMAG)) { in main()
241 if (ehdr32->e_ident[EI_VERSION] != EV_CURRENT) { in main()
247 switch (ehdr32->e_ident[EI_CLASS]) { in main()
260 switch (ehdr32->e_ident[EI_DATA]) { in main()
H A Dzynqmpbif.c650 Elf32_Ehdr *ehdr32; in bif_add_elf() local
657 ehdr32 = (void *)elf; in bif_add_elf()
660 switch (ehdr32->e_ident[EI_CLASS]) { in bif_add_elf()
663 bf->entry = le32_to_cpu(ehdr32->e_entry); in bif_add_elf()
671 printf("Unknown ELF class: %d\n", ehdr32->e_ident[EI_CLASS]); in bif_add_elf()