Home
last modified time | relevance | path

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

123

/titanic_51/usr/src/cmd/sgs/libelf/common/
H A Dcook.c127 if (elf->ed_ident[EI_CLASS] == ELFCLASS64) in _elf_slide()
193 if (elf->ed_ident[EI_CLASS] == ELFCLASS32) { in _elf_cook()
201 } else if (elf->ed_ident[EI_CLASS] == ELFCLASS64) { in _elf_cook()
H A Dbegin.c151 elf->ed_class = base[EI_CLASS]; in _elf_config()
223 elf->ed_class = image[EI_CLASS]; in elf_memory()
/titanic_51/usr/src/tools/ctf/cvt/
H A Dutil.c106 if (ehdr.e_ident[EI_CLASS] == ELFCLASS32) in elf_ptrsz()
108 else if (ehdr.e_ident[EI_CLASS] == ELFCLASS64) in elf_ptrsz()
111 terminate("unknown ELF class %d\n", ehdr.e_ident[EI_CLASS]); in elf_ptrsz()
/titanic_51/usr/src/tools/elfextract/
H A Delfextract.c250 if (ident[EI_CLASS] == ELFCLASS32) { in main()
253 } else if (ident[EI_CLASS] == ELFCLASS64) { in main()
258 ident[EI_CLASS]); in main()
/titanic_51/usr/src/cmd/dis/
H A Ddis_main.c505 if (ehdr.e_ident[EI_CLASS] != ELFCLASS32 || in dis_file()
517 if (ehdr.e_ident[EI_CLASS] != ELFCLASS32 || in dis_file()
533 if (ehdr.e_ident[EI_CLASS] != ELFCLASS64 || in dis_file()
553 if (ehdr.e_ident[EI_CLASS] != ELFCLASS32 || in dis_file()
567 if (ehdr.e_ident[EI_CLASS] == ELFCLASS32) { in dis_file()
569 } else if (ehdr.e_ident[EI_CLASS] == ELFCLASS64) { in dis_file()
/titanic_51/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()
/titanic_51/usr/src/uts/i86pc/dboot/
H A Ddboot_elfload.c58 if (ident[EI_CLASS] == ELFCLASS32) in getehdr()
60 else if (ident[EI_CLASS] == ELFCLASS64) in getehdr()
/titanic_51/usr/src/grub/grub-0.97/stage2/
H A Di386-elf.h45 #define EI_CLASS 4 /* data sizes */ macro
98 & (h.e_ident[EI_CLASS] == ELFCLASS32) & (h.e_ident[EI_DATA] == ELFDATA2LSB) \
/titanic_51/usr/src/cmd/mdb/common/mdb/
H A Dmdb_gelf.c484 if (gf->gf_ehdr.e_ident[EI_CLASS] == ELFCLASS32) in mdb_gelf_dyns_set()
496 if (gf->gf_ehdr.e_ident[EI_CLASS] == ELFCLASS32) { in mdb_gelf_dyns_set()
783 switch (ehdr.h32.e_ident[EI_CLASS]) { in mdb_gelf_create()
805 IOP_NAME(io), ehdr.h32.e_ident[EI_CLASS]); in mdb_gelf_create()
1178 if (gf->gf_ehdr.e_ident[EI_CLASS] == ELFCLASS32) in mdb_gelf_symtab_create_file_by_name()
1216 if (ehdr->e_ident[EI_CLASS] == ELFCLASS32) { in mdb_gelf_symtab_create_raw()
1245 if (gf->gf_ehdr.e_ident[EI_CLASS] == ELFCLASS32) { in mdb_gelf_symtab_create_dynamic()
1332 if (gf->gf_ehdr.e_ident[EI_CLASS] == ELFCLASS32) in mdb_gelf_symtab_create_dynamic()
1375 ehdr.e_ident[EI_CLASS] = class; in mdb_gelf_symtab_create_mutable()
1562 if (gst->gst_ehdr->e_ident[EI_CLASS] in mdb_gelf_sym_name()
[all...]
/titanic_51/usr/src/cmd/sgs/elfedit/modules/common/
H A Dehdr.c312 case EI_CLASS: in print_ehdr()
314 ELFEDIT_CONST_EI, EI_CLASS, 1); in print_ehdr()
315 value = conv_ehdr_class(ehdr->e_ident[EI_CLASS], in print_ehdr()
401 case EI_CLASS: in print_ehdr()
404 ehdr->e_ident[EI_CLASS], 0, in print_ehdr()
574 c = ehdr->e_ident[EI_CLASS]; in print_ehdr()
656 EHDR_CMD_T_EI_CLASS, /* 4: EI_CLASS */ in cmd_body()
1221 ELFEDIT_CONST_EI, EI_CLASS, 1); in cmd_body()
1223 if (ehdr->e_ident[EI_CLASS] == class) { in cmd_body()
1230 conv_ehdr_class(ehdr->e_ident[EI_CLASS], in cmd_body()
[all...]
/titanic_51/usr/src/cmd/sgs/ld/common/
H A Dld.c203 *class_ret = ehdr->e_ident[EI_CLASS]; in archive()
211 *class_ret = ehdr->e_ident[EI_CLASS]; in archive()
411 class = hdr.ehdr.e_ident[EI_CLASS]; in process_args()
/titanic_51/usr/src/cmd/sgs/libelf/misc/
H A Dnlist.c153 if (ISELF && (magic_buf[EI_CLASS] == ELFCLASS32)) in nlist()
/titanic_51/usr/src/cmd/amt/
H A Damt.c739 if (idarray[EI_CLASS] == ELFCLASS32) { in memory_type()
741 } else if (idarray[EI_CLASS] == ELFCLASS64) { in memory_type()
/titanic_51/usr/src/cmd/sgs/tools/common/
H A Dleb128.c223 if (eident[EI_CLASS] == ELFCLASS64) in dwarf_ehe_extract()
/titanic_51/usr/src/grub/grub-0.97/netboot/
H A Delf.h125 #define EI_CLASS 4 /* File class byte index */ macro
/titanic_51/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_bargs.c75 class = ident[EI_CLASS]; in get_kernel_fd()
/titanic_51/usr/src/cmd/sgs/liblddbg/common/
H A Delf.c52 conv_ehdr_class(ehdr->e_ident[EI_CLASS], 0, &inv_buf1), in Elf_ehdr()
/titanic_51/usr/src/lib/libctf/common/
H A Dctf_lib.c498 if (hdr.e32.e_ident[EI_CLASS] == ELFCLASS64) { in ctf_fdcreate_int()
511 if (hdr.e32.e_ident[EI_CLASS] == ELFCLASS32) { in ctf_fdcreate_int()
546 if (hdr.e32.e_ident[EI_CLASS] == ELFCLASS32) { in ctf_fdcreate_int()
/titanic_51/usr/src/psm/stand/boot/common/
H A Dreadfile.c234 int is64 = (elfhdr.e_ident[EI_CLASS] == in readfile()
262 elfhdr.e_ident[EI_CLASS], ELFCLASS32, ELFCLASS64); in readfile()
264 if (elfhdr.e_ident[EI_CLASS] == ELFCLASS64) { in readfile()
284 amd64_elf64 = (elfhdr.e_ident[EI_CLASS] == in readfile()
/titanic_51/usr/src/uts/common/fs/objfs/
H A Dobjfs_data.c616 ehdr.e_ident[EI_CLASS] = ELFCLASS64; in objfs_data_read()
622 ehdr.e_ident[EI_CLASS] = ELFCLASS32; in objfs_data_read()
/titanic_51/usr/src/cmd/tnf/prex/
H A Dmain.c891 if (ident[EI_CLASS] == ELFCLASS32) in get_elf_class()
893 if (ident[EI_CLASS] == ELFCLASS64) in get_elf_class()
/titanic_51/usr/src/cmd/modload/
H A Dadd_drv.c895 if (ident[EI_CLASS] == ELFCLASS32) { in elf_type()
898 } else if (ident[EI_CLASS] == ELFCLASS64) { in elf_type()
/titanic_51/usr/src/lib/libc/sparc/crt/
H A D_rtld.c153 if (ehdr->e_ident[EI_CLASS] != ELFCLASS32 || in __rtld()
/titanic_51/usr/src/lib/libc/i386/crt/
H A D_rtld.c154 if (ehdr->e_ident[EI_CLASS] != ELFCLASS32 || in __rtld()
/titanic_51/usr/src/lib/libproc/common/
H A DPidle.c290 switch (ehdr.e_ident[EI_CLASS]) { in Pgrab_file()

123