Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/u-boot/tools/
H A Dmips-relocs.c203 const Elf32_Ehdr *ehdr32; in main() local
235 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()