Searched refs:EI_CLASS (Results 1 – 25 of 28) sorted by relevance
12
24 elf64->e_ident[EI_CLASS] == ELFCLASS64 && in parse_elf64()60 elf32->e_ident[EI_CLASS] == ELFCLASS32 && in parse_elf32()
53 if (elf64->e_ident[EI_CLASS] == ELFCLASS64) { in of_image_hdr()
101 #define EI_CLASS 4 macro142 e_class = buf[E_IDENT+EI_CLASS]; in main()
121 #define EI_CLASS 4 macro
38 ((x)->e_ident[EI_CLASS] == ELF_CLASS))142 do { if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
180 && (x)->e_ident[EI_CLASS] == ELF_CLASS) 183 && (x)->e_ident[EI_CLASS] == ELF_CLASS)264 if ((ex).e_ident[EI_CLASS] == ELFCLASS32) { \
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)
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()
148 if (hdr->e_ident[EI_CLASS] == ELFCLASS64) { in go()151 } else if (hdr->e_ident[EI_CLASS] == ELFCLASS32) { in go()
287 if (__h->e_ident[EI_CLASS] != ELFCLASS32) \315 if (__h->e_ident[EI_CLASS] != ELFCLASS64) \399 if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
175 if (hdr->e_ident[EI_CLASS] == ELFCLASS64) { in go()178 } else if (hdr->e_ident[EI_CLASS] == ELFCLASS32) { in go()
216 if (__h->e_ident[EI_CLASS] != ELFCLASS32) \232 if (__h->e_ident[EI_CLASS] != ELFCLASS64) \
79 if (e_ident[EI_CLASS] == ELFCLASS64) in main()
75 if (e_ident[EI_CLASS] == ELFCLASS64) in main()
63 switch (hdr.ehdr32.e_ident[EI_CLASS]) { in main()
275 if (eh->e_ident[EI_CLASS] != ELFCLASS64) { in main()
204 do { if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
89 if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
80 ehdr->e_ident[EI_CLASS] != ELFCLASS64 || in s390_elf_load()
457 ehdr->e_ident[EI_CLASS] = ELFCLASS64; in ehdr_init()
156 if (inhdr->e_ident[EI_CLASS] != ELFCLASS32) in main()
91 hdr->e_ident[EI_CLASS] == ELFCLASS32; in compat_elf_check_arch()
148 elf_class = ehdr->e_ident[EI_CLASS]; in map_vdso()
289 assert_eq(elf.ehdr->e_ident[EI_CLASS], ELFCLASS64, "%u"); in init_elf()
360 elf->e_ident[EI_CLASS] = ELF_CLASS; in create_opalcore()