Home
last modified time | relevance | path

Searched refs:EI_DATA (Results 1 – 25 of 47) sorted by relevance

12

/titanic_44/usr/src/grub/grub-0.97/stage2/
H A Di386-elf.h48 #define EI_DATA 5 /* data type and ordering */ macro
98 & (h.e_ident[EI_CLASS] == ELFCLASS32) & (h.e_ident[EI_DATA] == ELFDATA2LSB) \
/titanic_44/usr/src/cmd/sgs/elfedit/modules/common/
H A Dehdr.c318 case EI_DATA: in print_ehdr()
320 ELFEDIT_CONST_EI, EI_DATA, 1); in print_ehdr()
321 value = conv_ehdr_data(ehdr->e_ident[EI_DATA], in print_ehdr()
407 case EI_DATA: in print_ehdr()
410 ehdr->e_ident[EI_DATA], 0, in print_ehdr()
583 c = ehdr->e_ident[EI_DATA]; in print_ehdr()
1246 ELFEDIT_CONST_EI, EI_DATA, 1); in cmd_body()
1248 if (ehdr->e_ident[EI_DATA] == data) { in cmd_body()
1255 conv_ehdr_data(ehdr->e_ident[EI_DATA], in cmd_body()
1259 ehdr->e_ident[EI_DATA] = data; in cmd_body()
[all …]
/titanic_44/usr/src/cmd/sgs/elfwrap/common/
H A Delfwrap.c279 ehdr->e_ident[EI_DATA] = M_DATA; in output()
553 ehdr->e_ident[EI_DATA] = tdesc.td_data; in output()
561 if ((_elf_sys_encoding() != ehdr->e_ident[EI_DATA]) && in output()
/titanic_44/usr/src/cmd/sgs/libelf/common/
H A Dbegin.c152 elf->ed_encode = base[EI_DATA]; in _elf_config()
224 elf->ed_encode = image[EI_DATA]; in elf_memory()
H A Dupdate.c482 eh->e_ident[EI_DATA]; in wrt()
816 if ((u = eh->e_ident[EI_DATA]) == ELFDATANONE) { in _elfxx_update()
826 eh->e_ident[EI_DATA] = (Byte)encode; in _elfxx_update()
875 encode = eh->e_ident[EI_DATA]; in _elfxx_swap_wrimage()
/titanic_44/usr/src/cmd/dis/
H A Ddis_main.c505 ehdr.e_ident[EI_DATA] != ELFDATA2MSB) { in dis_file()
517 ehdr.e_ident[EI_DATA] != ELFDATA2MSB) { in dis_file()
533 ehdr.e_ident[EI_DATA] != ELFDATA2MSB) { in dis_file()
/titanic_44/usr/src/uts/intel/amd64/krtld/
H A Dkobj_isa.c46 return ((h->e_ident[EI_DATA] == ELFDATA2LSB) && in elf_mach_ok()
/titanic_44/usr/src/uts/intel/ia32/krtld/
H A Dkobj_isa.c46 return ((h->e_ident[EI_DATA] == ELFDATA2LSB) && in elf_mach_ok()
/titanic_44/usr/src/uts/sparc/krtld/
H A Dkobj_isa.c52 return (h->e_ident[EI_DATA] == ELFDATA2MSB && in elf_mach_ok()
/titanic_44/usr/src/cmd/sgs/tools/common/
H A Dleb128.c218 if (eident[EI_DATA] == ELFDATA2LSB) in dwarf_ehe_extract()
/titanic_44/usr/src/grub/grub-0.97/netboot/
H A Delf.h130 #define EI_DATA 5 /* Data encodeing byte index */ macro
/titanic_44/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_bargs.c76 format = ident[EI_DATA]; in get_kernel_fd()
/titanic_44/usr/src/cmd/sgs/liblddbg/common/
H A Delf.c53 conv_ehdr_data(ehdr->e_ident[EI_DATA], 0, &inv_buf2)); in Elf_ehdr()
/titanic_44/usr/src/cmd/sgs/ldd/common/
H A Dldd.c424 if (ehdr.e_ident[EI_DATA] != M_DATA) { in elf_check()
426 conv_ehdr_data(ehdr.e_ident[EI_DATA], 0, &inv_buf)); in elf_check()
/titanic_44/usr/src/uts/common/fs/objfs/
H A Dobjfs_data.c609 ehdr.e_ident[EI_DATA] = ELFDATA2MSB; in objfs_data_read()
611 ehdr.e_ident[EI_DATA] = ELFDATA2LSB; in objfs_data_read()
/titanic_44/usr/src/lib/libc/i386/crt/
H A D_rtld.c155 ehdr->e_ident[EI_DATA] != ELFDATA2LSB) in __rtld()
/titanic_44/usr/src/lib/libc/sparc/crt/
H A D_rtld.c154 ehdr->e_ident[EI_DATA] != ELFDATA2MSB) in __rtld()
/titanic_44/usr/src/tools/ctf/dwarf/common/
H A Ddwarf_elf_access.c154 if(ehdr_ident[EI_DATA] == ELFDATA2LSB){ in dwarf_elf_object_access_internals_init()
157 else if(ehdr_ident[EI_DATA] == ELFDATA2MSB){ in dwarf_elf_object_access_internals_init()
/titanic_44/usr/src/lib/libdtrace/common/
H A Ddt_link.c484 elf_file.ehdr.e_ident[EI_DATA] = ELFDATA2MSB; in dump_elf32()
486 elf_file.ehdr.e_ident[EI_DATA] = ELFDATA2LSB; in dump_elf32()
621 elf_file.ehdr.e_ident[EI_DATA] = ELFDATA2MSB; in dump_elf64()
623 elf_file.ehdr.e_ident[EI_DATA] = ELFDATA2LSB; in dump_elf64()
/titanic_44/usr/src/uts/common/exec/elf/
H A Delf.c1028 !elfheadcheck(ehdr->e_ident[EI_DATA], ehdr->e_machine, in getelfhead()
1829 ehdr->e_ident[EI_DATA] = ELFDATA2MSB; in elfcore()
1832 ehdr->e_ident[EI_DATA] = ELFDATA2LSB; in elfcore()
1841 ehdr->e_ident[EI_DATA] = ELFDATA2MSB; in elfcore()
1844 ehdr->e_ident[EI_DATA] = ELFDATA2LSB; in elfcore()
/titanic_44/usr/src/cmd/mdb/common/modules/krtld/
H A Dkrtld.c152 ehdr->e_ident[EI_CLASS], ehdr->e_ident[EI_DATA]); in dump_ehdr()
/titanic_44/usr/src/lib/libproc/common/
H A Dproc_arg.c103 ehdr.e_ident[EI_DATA] != order) in open_core()
/titanic_44/usr/src/cmd/sgs/libld/common/
H A Dldmain.c172 def_ehdr.e_ident[EI_DATA] = ld_targ.t_m.m_data; in ld_main()
/titanic_44/usr/src/cmd/file/
H A Delf_read.c123 return (EI_Ehdr.e_ident[EI_DATA]); in get_format()
/titanic_44/usr/src/cmd/sgs/ld/common/
H A Dld.c431 (ld_elfdata == hdr.ehdr.e_ident[EI_DATA]) ? in process_args()

12