/openbmc/linux/arch/s390/include/asm/ |
H A D | elf.h | 180 && (x)->e_ident[EI_CLASS] == ELF_CLASS) 183 && (x)->e_ident[EI_CLASS] == ELF_CLASS) 264 if ((ex).e_ident[EI_CLASS] == ELFCLASS32) { \
|
/openbmc/linux/arch/powerpc/boot/ |
H A D | elf_util.c | 24 elf64->e_ident[EI_CLASS] == ELFCLASS64 && in parse_elf64() 60 elf32->e_ident[EI_CLASS] == ELFCLASS32 && in parse_elf32()
|
H A D | addnote.c | 101 #define EI_CLASS 4 macro 142 e_class = buf[E_IDENT+EI_CLASS]; in main()
|
H A D | of.c | 53 if (elf64->e_ident[EI_CLASS] == ELFCLASS64) { in of_image_hdr()
|
/openbmc/linux/arch/parisc/include/asm/ |
H A D | elf.h | 246 if ((ex).e_ident[EI_CLASS] == ELFCLASS32) { \ 311 ((x)->e_machine == EM_PARISC && (x)->e_ident[EI_CLASS] == ELF_CLASS) 313 ((x)->e_machine == EM_PARISC && (x)->e_ident[EI_CLASS] == ELFCLASS32)
|
/openbmc/linux/arch/riscv/include/asm/ |
H A D | elf.h | 38 ((x)->e_ident[EI_CLASS] == ELF_CLASS)) 142 do { if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
|
/openbmc/linux/arch/mips/kernel/ |
H A D | elf.c | 91 elf32 = ehdr->e32.e_ident[EI_CLASS] == ELFCLASS32; in arch_elf_pt_proc() 151 elf32 = ehdr->e32.e_ident[EI_CLASS] == ELFCLASS32; in arch_check_elf() 173 ielf32 = iehdr->e32.e_ident[EI_CLASS] == ELFCLASS32; in arch_check_elf()
|
/openbmc/openbmc/poky/meta/recipes-core/glibc/ldconfig-native-2.12.1/ |
H A D | 32and64bit.patch | 42 - if (elf_header->e_ident [EI_CLASS] != ElfW (CLASS)) 70 - if (elf_header->e_ident [EI_CLASS] == ELFCLASS32) 72 - else if (elf_header->e_ident [EI_CLASS] == ELFCLASS64) 323 + if (elf_header->e_ident [EI_CLASS] == ELFCLASS32) 325 + else if (elf_header->e_ident [EI_CLASS] == ELFCLASS64)
|
/openbmc/openbmc/poky/meta/lib/oe/ |
H A D | qa.py | 16 EI_CLASS = 4 variable in ELFFile 77 if self.data[ELFFile.EI_CLASS] == ELFFile.ELFCLASS32: 79 elif self.data[ELFFile.EI_CLASS] == ELFFile.ELFCLASS64:
|
/openbmc/linux/tools/testing/selftests/kvm/lib/ |
H A D | elf.c | 44 TEST_ASSERT(ident[EI_CLASS] == ELFCLASS64, in elfhdr_get() 50 ident[EI_CLASS], ELFCLASS64); in elfhdr_get()
|
/openbmc/u-boot/drivers/net/pfe_eth/ |
H A D | pfe_firmware.c | 49 if (elf_hdr->e_ident[EI_CLASS] != ELFCLASS32) { in pfe_load_elf() 51 elf_hdr->e_ident[EI_CLASS]); in pfe_load_elf()
|
/openbmc/qemu/linux-user/ |
H A D | gen-vdso.c | 170 switch (buf[EI_CLASS]) { in main() 179 inf_name, buf[EI_CLASS]); in main()
|
/openbmc/linux/drivers/remoteproc/ |
H A D | remoteproc_elf_helpers.h | 27 return ehdr->e_ident[EI_CLASS]; in fw_elf_get_class() 33 hdr->e_ident[EI_CLASS] = class; in elf_hdr_init_ident()
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | elf.h | 287 if (__h->e_ident[EI_CLASS] != ELFCLASS32) \ 315 if (__h->e_ident[EI_CLASS] != ELFCLASS64) \ 399 if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
|
/openbmc/linux/arch/sparc/vdso/ |
H A D | vdso2c.c | 148 if (hdr->e_ident[EI_CLASS] == ELFCLASS64) { in go() 151 } else if (hdr->e_ident[EI_CLASS] == ELFCLASS32) { in go()
|
/openbmc/linux/arch/x86/entry/vdso/ |
H A D | vdso2c.c | 175 if (hdr->e_ident[EI_CLASS] == ELFCLASS64) { in go() 178 } else if (hdr->e_ident[EI_CLASS] == ELFCLASS32) { in go()
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | elf.h | 216 if (__h->e_ident[EI_CLASS] != ELFCLASS32) \ 232 if (__h->e_ident[EI_CLASS] != ELFCLASS64) \
|
/openbmc/linux/lib/ |
H A D | buildid.c | 185 if (ehdr->e_ident[EI_CLASS] == ELFCLASS32) in build_id_parse() 187 else if (ehdr->e_ident[EI_CLASS] == ELFCLASS64) in build_id_parse()
|
/openbmc/linux/scripts/mod/ |
H A D | mk_elfconfig.c | 21 switch (ei[EI_CLASS]) { in main()
|
/openbmc/linux/kernel/ |
H A D | kexec_elf.c | 135 if (ehdr->e_ident[EI_CLASS] != ELF_CLASS) { in elf_read_ehdr() 160 switch (ehdr->e_ident[EI_CLASS]) { in elf_read_ehdr() 218 switch (ehdr->e_ident[EI_CLASS]) { in elf_read_phdr()
|
/openbmc/u-boot/tools/ |
H A D | prelink-riscv.c | 93 bool is64 = e_ident[EI_CLASS] == ELFCLASS64; in main()
|
/openbmc/linux/arch/mips/boot/tools/ |
H A D | relocs_main.c | 79 if (e_ident[EI_CLASS] == ELFCLASS64) in main()
|
/openbmc/linux/scripts/ |
H A D | sorttable.c | 331 switch (ehdr->e_ident[EI_CLASS]) { in do_file() 356 ehdr->e_ident[EI_CLASS], fname); in do_file()
|
/openbmc/linux/arch/x86/tools/ |
H A D | relocs_common.c | 75 if (e_ident[EI_CLASS] == ELFCLASS64) in main()
|
/openbmc/linux/arch/mips/tools/ |
H A D | elf-entry.c | 63 switch (hdr.ehdr32.e_ident[EI_CLASS]) { in main()
|