Home
last modified time | relevance | path

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

123

/illumos-gate/usr/src/cmd/dis/
H A Ddis_main.c506 if (ehdr.e_ident[EI_CLASS] != ELFCLASS32 || in dis_file()
518 if (ehdr.e_ident[EI_CLASS] != ELFCLASS32 || in dis_file()
534 if (ehdr.e_ident[EI_CLASS] != ELFCLASS64 || in dis_file()
554 if (ehdr.e_ident[EI_CLASS] != ELFCLASS32 || in dis_file()
568 if (ehdr.e_ident[EI_CLASS] == ELFCLASS32) { in dis_file()
570 } else if (ehdr.e_ident[EI_CLASS] == ELFCLASS64) { in dis_file()
595 if (ehdr.e_ident[EI_CLASS] == ELFCLASS32) { in dis_file()
597 } else if (ehdr.e_ident[EI_CLASS] == ELFCLASS64) { in dis_file()
/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Dcook.c122 if (elf->ed_ident[EI_CLASS] == ELFCLASS64) in _elf_slide()
187 if (elf->ed_ident[EI_CLASS] == ELFCLASS32) { in _elf_cook()
195 } else if (elf->ed_ident[EI_CLASS] == ELFCLASS64) { in _elf_cook()
H A Dbegin.c147 elf->ed_class = base[EI_CLASS]; in _elf_config()
218 elf->ed_class = image[EI_CLASS]; in elf_memory()
H A Dupdate.c178 p[EI_CLASS] = ELFCLASS; in _elf_upd_lib()
361 p[EI_CLASS] = ELFCLASS; in _elf_upd_usr()
/illumos-gate/usr/src/tools/elfextract/
H A Delfextract.c253 if (ident[EI_CLASS] == ELFCLASS32) { in main()
256 } else if (ident[EI_CLASS] == ELFCLASS64) { in main()
261 ident[EI_CLASS]); in main()
/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/uts/i86pc/dboot/
H A Ddboot_elfload.c61 if (ident[EI_CLASS] == ELFCLASS32) in getehdr()
63 else if (ident[EI_CLASS] == ELFCLASS64) in getehdr()
/illumos-gate/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) \
/illumos-gate/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] == ELFCLASS32) in mdb_gelf_sym_name()
[all …]
/illumos-gate/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()
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()
1234 ehdr->e_ident[EI_CLASS] = class; in cmd_body()
[all …]
/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/libelf/misc/
H A Dnlist.c147 if (ISELF && (magic_buf[EI_CLASS] == ELFCLASS32)) in nlist()
/illumos-gate/usr/src/cmd/amt/
H A Damt.c738 if (idarray[EI_CLASS] == ELFCLASS32) { in memory_type()
740 } else if (idarray[EI_CLASS] == ELFCLASS64) { in memory_type()
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_object_detector.c93 #define EI_CLASS 4 macro
265 switch(h->e_ident[EI_CLASS]) { in fill_in_elf_fields()
H A Ddwarf_elf_defines.h865 #ifndef EI_CLASS
866 #define EI_CLASS 4 macro
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Delf.h125 #define EI_CLASS 4 /* File class byte index */ macro
/illumos-gate/usr/src/cmd/sgs/common/
H A Dleb128.c223 if (eident[EI_CLASS] == ELFCLASS64) in dwarf_ehe_extract()
/illumos-gate/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_bargs.c75 class = ident[EI_CLASS]; in get_kernel_fd()
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Delf.c52 conv_ehdr_class(ehdr->e_ident[EI_CLASS], 0, &inv_buf1), in Elf_ehdr()
/illumos-gate/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()
/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/modload/
H A Dadd_drv.c895 if (ident[EI_CLASS] == ELFCLASS32) { in elf_type()
898 } else if (ident[EI_CLASS] == ELFCLASS64) { in elf_type()
/illumos-gate/usr/src/lib/libc/i386/crt/
H A D_rtld.c154 if (ehdr->e_ident[EI_CLASS] != ELFCLASS32 || in __rtld()
/illumos-gate/usr/src/lib/libc/sparc/crt/
H A D_rtld.c153 if (ehdr->e_ident[EI_CLASS] != ELFCLASS32 || in __rtld()
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm_upgrade.c181 if (ident[EI_CLASS] != class) { in get_boot_cap()
183 ident[EI_CLASS]); in get_boot_cap()

123