/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_proc.c | 1674 ehp->e_ident[EI_CLASS] == ELFCLASS32 ? 32 : 64); in pt_status_dcmd() 1819 ehp->e_ident[EI_CLASS] == ELFCLASS32 ? 32 : 64); in pt_status_dcmd()
|
H A D | mdb_main.c | 1012 if (ehdr.e_ident[EI_CLASS] == ELFCLASS32) in main() 1015 if (ehdr.e_ident[EI_CLASS] == ELFCLASS64) in main()
|
/illumos-gate/usr/src/cmd/dtrace/ |
H A D | dtrace.c | 1316 if (ehdr.e_ident[EI_CLASS] == ELFCLASS64) { in main() 1322 } else if (ehdr.e_ident[EI_CLASS] == ELFCLASS32) { in main()
|
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm.c | 2237 switch (elf.e_ident[EI_CLASS]) { in update_dircache()
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | elf_common.h | 124 #define EI_CLASS 4 /* Class of machine. */ macro
|
/illumos-gate/usr/src/cmd/sgs/libelf/common/ |
H A D | gelf.c | 150 class = src->e_ident[EI_CLASS]; in gelf_update_ehdr()
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | elf.c | 230 if (ehdr->e_ident[EI_CLASS] != M_CLASS) { in elf_verify() 232 rej->rej_info = (uint_t)ehdr->e_ident[EI_CLASS]; in elf_verify()
|
/illumos-gate/usr/src/boot/common/ |
H A D | load_elf.c | 121 if (ehdr->e_ident[EI_CLASS] != ELF_TARG_CLASS || /* Layout ? */ in __elfN()
|
/illumos-gate/usr/src/cmd/sgs/crle/common/ |
H A D | inspect.c | 721 (!((ehdr.e_ident[EI_CLASS] == M_CLASS) || in inspect_file()
|
/illumos-gate/usr/src/cmd/sgs/elfdump/common/ |
H A D | elfdump.c | 1608 (ehdr->e_ident[EI_CLASS] == ELFCLASS32) && in cap_section()
|
/illumos-gate/usr/src/uts/common/exec/elf/ |
H A D | elf.c | 347 if (ehdrp->e_ident[EI_CLASS] == ELFCLASS32) { in elfexec() 1139 ehdr->e_ident[EI_CLASS] != ELFCLASS32 || in getelfhead() 1141 ehdr->e_ident[EI_CLASS] != ELFCLASS64 || in getelfhead() 2152 ehdr->e_ident[EI_CLASS] = ELFCLASS; in elfcore()
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pgcore.c | 1166 ehdr.e_ident[EI_CLASS] = ELFCLASS32; in Pfgcore() 1224 ehdr.e_ident[EI_CLASS] = ELFCLASS64; in Pfgcore()
|
H A D | Pcore.c | 1706 if (e32.e_ident[EI_CLASS] == ELFCLASS64) { in core_elf_fdopen() 1772 if (efp->e_hdr.e_ident[EI_CLASS] == ELFCLASS32) { in core_elf_fdopen() 1821 if (efp->e_hdr.e_ident[EI_CLASS] == ELFCLASS32) { in core_elf_fdopen() 2228 if (efp->e_hdr.e_ident[EI_CLASS] == ELFCLASS32) in core_load_shdrs() 2436 switch (core.e_hdr.e_ident[EI_CLASS]) { 2476 if (core.e_hdr.e_ident[EI_CLASS] == ELFCLASS64)
|
H A D | Psymtab.c | 1061 ehdr->e_ident[EI_CLASS] != ELFCLASS32 || in read_ehdr32() 1115 ehdr->e_ident[EI_CLASS] != ELFCLASS64 || in read_ehdr64() 1969 fptr->file_class = ehdr.e_ident[EI_CLASS]; in Pbuild_file_symtab()
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | fastboot.c | 1097 if (ehdr->e_ident[EI_CLASS] == ELFCLASS32 && in fastboot_load_kernel() 1133 } else if (ehdr->e_ident[EI_CLASS] == ELFCLASS64 && in fastboot_load_kernel()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | elf.h | 111 #define EI_CLASS 4 /* File class */ macro
|
/illumos-gate/usr/src/uts/common/fs/objfs/ |
H A D | objfs_data.c | 614 ehdr.e_ident[EI_CLASS] = ELFCLASS64; in objfs_data_read() 620 ehdr.e_ident[EI_CLASS] = ELFCLASS32; in objfs_data_read()
|
/illumos-gate/usr/src/cmd/sgs/ldd/common/ |
H A D | ldd.c | 411 switch (class = ehdr.e_ident[EI_CLASS]) { in elf_check()
|
/illumos-gate/usr/src/cmd/sgs/ld/common/ |
H A D | ld.c | 239 *class_ret = ehdr->e_ident[EI_CLASS]; in archive() 246 *class_ret = ehdr->e_ident[EI_CLASS]; in archive() 441 class = hdr.ehdr.e_ident[EI_CLASS]; in process_args()
|
/illumos-gate/usr/src/cmd/sgs/elfwrap/common/ |
H A D | elfwrap.c | 551 ehdr->e_ident[EI_CLASS] = tdesc.td_class; in output()
|
/illumos-gate/usr/src/cmd/file/ |
H A D | file.c | 1263 class = ident[EI_CLASS]; in check_ident() 1294 class = ident[EI_CLASS]; in elf_check()
|
/illumos-gate/usr/src/cmd/abi/appcert/static_prof/ |
H A D | static_prof.c | 449 if (ptr->e_ident[EI_CLASS] != ELFCLASS64) { in obj_elf_hdr() 456 if (ptr->e_ident[EI_CLASS] != ELFCLASS32) { in obj_elf_hdr()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | mmapobj.c | 1936 ei_class = ehdrp->e_ident[EI_CLASS]; in doelfwork()
|
/illumos-gate/usr/src/tools/mbh_patch/ |
H A D | mbh_patch.c | 309 if (ident[EI_CLASS] == ELFCLASS64) { in main() 313 if (ident[EI_CLASS] != ELFCLASS32) { in main() 315 ident[EI_CLASS]); in main()
|
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | ldmain.c | 171 def_ehdr.e_ident[EI_CLASS] = ld_targ.t_m.m_class; in ld_main()
|