Home
last modified time | relevance | path

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

/u-boot/tools/
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()
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()

Completed in 4 milliseconds