Searched refs:e_ident (Results 1 – 20 of 20) sorted by relevance
/arch/powerpc/boot/ |
D | elf_util.c | 24 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 …]
|
D | addRamDisk.c | 26 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()
|
D | elf.h | 55 unsigned char e_ident[EI_NIDENT]; member 72 unsigned char e_ident[16]; /* ELF "magic number" */ member
|
D | of.c | 54 if (elf64->e_ident[EI_CLASS] == ELFCLASS64) { in of_image_hdr()
|
/arch/s390/include/asm/ |
D | elf.h | 132 && (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/ |
D | misc.c | 352 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()
|
D | relocs.c | 198 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/ |
D | elf.h | 188 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/ |
D | bootloader.c | 115 if (elf->e_ident[0] == 0x7f && strncmp(elf->e_ident + 1, "ELF", 3) != 0) { in start_bootloader()
|
/arch/alpha/boot/tools/ |
D | objstrip.c | 147 if (elf->e_ident[0] == 0x7f && strncmp((char *)elf->e_ident + 1, "ELF", 3) == 0) { in main()
|
/arch/mips/kernel/ |
D | binfmt_elfn32.c | 40 if (__h->e_ident[EI_CLASS] != ELFCLASS32) \
|
D | binfmt_elfo32.c | 40 if (__h->e_ident[EI_CLASS] != ELFCLASS32) \
|
D | vpe.c | 849 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/ |
D | elf_64.h | 201 if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
|
/arch/parisc/include/asm/ |
D | elf.h | 302 #define elf_check_arch(x) ((x)->e_machine == EM_PARISC && (x)->e_ident[EI_CLASS] == ELF_CLASS)
|
/arch/powerpc/oprofile/cell/ |
D | vma_map.c | 134 if (memcmp(ehdr.e_ident, expected, EI_PAD) != 0) { in create_vma_map()
|
/arch/powerpc/include/asm/ |
D | elf.h | 238 if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
|
/arch/x86/vdso/ |
D | vdso32-setup.c | 165 BUG_ON(memcmp(ehdr->e_ident, ELFMAG, SELFMAG) != 0 || in relocate_vdso()
|
/arch/mips/boot/ |
D | elf2ecoff.c | 313 if (ex.e_ident[EI_DATA] == ELFDATA2MSB) in main()
|
/arch/powerpc/kernel/ |
D | prom_init.c | 676 .e_ident = { 0x7f, 'E', 'L', 'F',
|