Home
last modified time | relevance | path

Searched refs:EI_CLASS (Results 1 – 24 of 24) sorted by relevance

/arch/s390/include/asm/
Delf.h156 && (x)->e_ident[EI_CLASS] == ELF_CLASS)
159 && (x)->e_ident[EI_CLASS] == ELF_CLASS)
245 if ((ex).e_ident[EI_CLASS] == ELFCLASS32) { \
/arch/powerpc/boot/
Delf_util.c24 elf64->e_ident[EI_CLASS] == ELFCLASS64 && in parse_elf64()
60 elf32->e_ident[EI_CLASS] == ELFCLASS32 && in parse_elf32()
Dof.c53 if (elf64->e_ident[EI_CLASS] == ELFCLASS64) { in of_image_hdr()
Daddnote.c101 #define EI_CLASS 4 macro
142 e_class = buf[E_IDENT+EI_CLASS]; in main()
Delf.h121 #define EI_CLASS 4 macro
/arch/parisc/include/asm/
Delf.h247 if ((ex).e_ident[EI_CLASS] == ELFCLASS32) { \
315 ((x)->e_machine == EM_PARISC && (x)->e_ident[EI_CLASS] == ELF_CLASS)
317 ((x)->e_machine == EM_PARISC && (x)->e_ident[EI_CLASS] == ELFCLASS32)
/arch/mips/include/asm/
Delf.h289 if (__h->e_ident[EI_CLASS] != ELFCLASS32) \
312 if (__h->e_ident[EI_CLASS] != ELFCLASS64) \
328 if (__h->e_ident[EI_CLASS] != ELFCLASS32) \
414 if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
/arch/mips/kernel/
Delf.c90 elf32 = ehdr->e32.e_ident[EI_CLASS] == ELFCLASS32; in arch_elf_pt_proc()
150 elf32 = ehdr->e32.e_ident[EI_CLASS] == ELFCLASS32; in arch_check_elf()
172 ielf32 = iehdr->e32.e_ident[EI_CLASS] == ELFCLASS32; in arch_check_elf()
/arch/sparc/vdso/
Dvdso2c.c148 if (hdr->e_ident[EI_CLASS] == ELFCLASS64) { in go()
151 } else if (hdr->e_ident[EI_CLASS] == ELFCLASS32) { in go()
/arch/x86/entry/vdso/
Dvdso2c.c170 if (hdr->e_ident[EI_CLASS] == ELFCLASS64) { in go()
173 } else if (hdr->e_ident[EI_CLASS] == ELFCLASS32) { in go()
/arch/mips/boot/tools/
Drelocs_main.c79 if (e_ident[EI_CLASS] == ELFCLASS64) in main()
Drelocs.c213 if (ehdr.e_ident[EI_CLASS] != ELF_CLASS) in read_ehdr()
/arch/x86/tools/
Drelocs_common.c75 if (e_ident[EI_CLASS] == ELFCLASS64) in main()
Drelocs.c348 if (ehdr.e_ident[EI_CLASS] != ELF_CLASS) { in read_ehdr()
/arch/mips/tools/
Delf-entry.c60 switch (hdr.ehdr32.e_ident[EI_CLASS]) { in main()
/arch/sparc/include/asm/
Delf_64.h205 do { if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
/arch/powerpc/include/asm/
Delf.h91 if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
/arch/s390/kernel/
Dkexec_elf.c80 ehdr->e_ident[EI_CLASS] != ELFCLASS64 || in s390_elf_load()
Dcrash_dump.c516 ehdr->e_ident[EI_CLASS] = ELFCLASS64; in ehdr_init()
/arch/arm/vdso/
Dvdsomunge.c156 if (inhdr->e_ident[EI_CLASS] != ELFCLASS32) in main()
/arch/mips/vdso/
Dgenvdso.c145 elf_class = ehdr->e_ident[EI_CLASS]; in map_vdso()
/arch/powerpc/oprofile/cell/
Dvma_map.c99 [EI_CLASS] = ELFCLASS32, in create_vma_map()
/arch/powerpc/platforms/powernv/
Dopal-core.c357 elf->e_ident[EI_CLASS] = ELF_CLASS; in create_opalcore()
/arch/powerpc/kernel/
Dfadump.c846 elf->e_ident[EI_CLASS] = ELF_CLASS; in fadump_init_elfcore_header()