Searched refs:EI_MAG0 (Results 1 – 13 of 13) sorted by relevance
36 #define IS_ELF(ehdr) ((ehdr).e_ident[EI_MAG0] == ELFMAG0 && \
53 #define EI_MAG0 0 /* Magic number, byte 0. */ macro111 #define IS_ELF(ehdr) ((ehdr).e_ident[EI_MAG0] == ELFMAG0 && \
35 #define EI_MAG0 0 /* file ID */ macro85 #define IS_ELF(ehdr) ((ehdr).e_ident[EI_MAG0] == ELFMAG0 && \
44 if (strncmp((char *)&elf_hdr->e_ident[EI_MAG0], ELFMAG, SELFMAG)) { in pfe_load_elf()
166 if (base_as_char[EI_MAG0] != ELFMAG0 || base_as_char[EI_MAG1] != ELFMAG1 || in Init()
235 if (memcmp(&ehdr32->e_ident[EI_MAG0], ELFMAG, SELFMAG)) { in main()
50 EI_MAG0 = 0, // File identification index. enumerator
47 EI_MAG0 = 0, // File identification index. enumerator
71 #define EI_MAG0 0 macro
277 Header.e_ident[EI_MAG0] = 0x7f; in writeELFHeader()