Home
last modified time | relevance | path

Searched refs:e_ident (Results 1 – 20 of 20) sorted by relevance

/arch/powerpc/boot/
Delf_util.c24 if (!(elf64->e_ident[EI_MAG0] == ELFMAG0 && in parse_elf64()
25 elf64->e_ident[EI_MAG1] == ELFMAG1 && in parse_elf64()
26 elf64->e_ident[EI_MAG2] == ELFMAG2 && in parse_elf64()
27 elf64->e_ident[EI_MAG3] == ELFMAG3 && in parse_elf64()
28 elf64->e_ident[EI_CLASS] == ELFCLASS64 && in parse_elf64()
29 elf64->e_ident[EI_DATA] == ELFDATA2MSB && in parse_elf64()
56 if (!(elf32->e_ident[EI_MAG0] == ELFMAG0 && in parse_elf32()
57 elf32->e_ident[EI_MAG1] == ELFMAG1 && in parse_elf32()
58 elf32->e_ident[EI_MAG2] == ELFMAG2 && in parse_elf32()
59 elf32->e_ident[EI_MAG3] == ELFMAG3 && in parse_elf32()
[all …]
DaddRamDisk.c26 if (elf64->e_ident[EI_MAG0] != ELFMAG0 || in check_elf64()
27 elf64->e_ident[EI_MAG1] != ELFMAG1 || in check_elf64()
28 elf64->e_ident[EI_MAG2] != ELFMAG2 || in check_elf64()
29 elf64->e_ident[EI_MAG3] != ELFMAG3 || in check_elf64()
30 elf64->e_ident[EI_CLASS] != ELFCLASS64 || in check_elf64()
31 elf64->e_ident[EI_DATA] != ELFDATA2MSB || in check_elf64()
Delf.h55 unsigned char e_ident[EI_NIDENT]; member
72 unsigned char e_ident[16]; /* ELF "magic number" */ member
Dof.c54 if (elf64->e_ident[EI_CLASS] == ELFCLASS64) { in of_image_hdr()
/arch/s390/include/asm/
Delf.h132 && (x)->e_ident[EI_CLASS] == ELF_CLASS)
135 && (x)->e_ident[EI_CLASS] == ELF_CLASS)
179 if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
/arch/x86/boot/compressed/
Dmisc.c352 if (ehdr.e_ident[EI_MAG0] != ELFMAG0 || in parse_elf()
353 ehdr.e_ident[EI_MAG1] != ELFMAG1 || in parse_elf()
354 ehdr.e_ident[EI_MAG2] != ELFMAG2 || in parse_elf()
355 ehdr.e_ident[EI_MAG3] != ELFMAG3) { in parse_elf()
Drelocs.c198 if (memcmp(ehdr.e_ident, ELFMAG, SELFMAG) != 0) { in read_ehdr()
201 if (ehdr.e_ident[EI_CLASS] != ELFCLASS32) { in read_ehdr()
204 if (ehdr.e_ident[EI_DATA] != ELFDATA2LSB) { in read_ehdr()
207 if (ehdr.e_ident[EI_VERSION] != EV_CURRENT) { in read_ehdr()
/arch/mips/include/asm/
Delf.h188 if (__h->e_ident[EI_CLASS] != ELFCLASS32) \
217 if (__h->e_ident[EI_CLASS] != ELFCLASS64) \
302 if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
/arch/ia64/hp/sim/boot/
Dbootloader.c115 if (elf->e_ident[0] == 0x7f && strncmp(elf->e_ident + 1, "ELF", 3) != 0) { in start_bootloader()
/arch/alpha/boot/tools/
Dobjstrip.c147 if (elf->e_ident[0] == 0x7f && strncmp((char *)elf->e_ident + 1, "ELF", 3) == 0) { in main()
/arch/mips/kernel/
Dbinfmt_elfn32.c40 if (__h->e_ident[EI_CLASS] != ELFCLASS32) \
Dbinfmt_elfo32.c40 if (__h->e_ident[EI_CLASS] != ELFCLASS32) \
Dvpe.c849 if (memcmp(hdr->e_ident, ELFMAG, SELFMAG) != 0 in vpe_elfload()
1123 if (memcmp(hdr->e_ident, ELFMAG, SELFMAG) == 0) { in vpe_release()
/arch/sparc/include/asm/
Delf_64.h201 if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
/arch/parisc/include/asm/
Delf.h302 #define elf_check_arch(x) ((x)->e_machine == EM_PARISC && (x)->e_ident[EI_CLASS] == ELF_CLASS)
/arch/powerpc/oprofile/cell/
Dvma_map.c134 if (memcmp(ehdr.e_ident, expected, EI_PAD) != 0) { in create_vma_map()
/arch/powerpc/include/asm/
Delf.h238 if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
/arch/x86/vdso/
Dvdso32-setup.c165 BUG_ON(memcmp(ehdr->e_ident, ELFMAG, SELFMAG) != 0 || in relocate_vdso()
/arch/mips/boot/
Delf2ecoff.c313 if (ex.e_ident[EI_DATA] == ELFDATA2MSB) in main()
/arch/powerpc/kernel/
Dprom_init.c676 .e_ident = { 0x7f, 'E', 'L', 'F',