Home
last modified time | relevance | path

Searched refs:EI_CLASS (Results 1 – 25 of 62) sorted by last modified time

123

/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_proc.c1674 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 Dmdb_main.c1012 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 Ddtrace.c1316 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 Dbootadm.c2237 switch (elf.e_ident[EI_CLASS]) { in update_dircache()
/illumos-gate/usr/src/boot/sys/sys/
H A Delf_common.h124 #define EI_CLASS 4 /* Class of machine. */ macro
/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Dgelf.c150 class = src->e_ident[EI_CLASS]; in gelf_update_ehdr()
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Delf.c230 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 Dload_elf.c121 if (ehdr->e_ident[EI_CLASS] != ELF_TARG_CLASS || /* Layout ? */ in __elfN()
/illumos-gate/usr/src/cmd/sgs/crle/common/
H A Dinspect.c721 (!((ehdr.e_ident[EI_CLASS] == M_CLASS) || in inspect_file()
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Delfdump.c1608 (ehdr->e_ident[EI_CLASS] == ELFCLASS32) && in cap_section()
/illumos-gate/usr/src/uts/common/exec/elf/
H A Delf.c347 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 DPgcore.c1166 ehdr.e_ident[EI_CLASS] = ELFCLASS32; in Pfgcore()
1224 ehdr.e_ident[EI_CLASS] = ELFCLASS64; in Pfgcore()
H A DPcore.c1706 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 DPsymtab.c1061 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 Dfastboot.c1097 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 Delf.h111 #define EI_CLASS 4 /* File class */ macro
/illumos-gate/usr/src/uts/common/fs/objfs/
H A Dobjfs_data.c614 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 Dldd.c411 switch (class = ehdr.e_ident[EI_CLASS]) { in elf_check()
/illumos-gate/usr/src/cmd/sgs/ld/common/
H A Dld.c239 *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 Delfwrap.c551 ehdr->e_ident[EI_CLASS] = tdesc.td_class; in output()
/illumos-gate/usr/src/cmd/file/
H A Dfile.c1263 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 Dstatic_prof.c449 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 Dmmapobj.c1936 ei_class = ehdrp->e_ident[EI_CLASS]; in doelfwork()
/illumos-gate/usr/src/tools/mbh_patch/
H A Dmbh_patch.c309 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 Dldmain.c171 def_ehdr.e_ident[EI_CLASS] = ld_targ.t_m.m_class; in ld_main()

123