Home
last modified time | relevance | path

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

123

/illumos-gate/usr/src/cmd/dis/
H A Ddis_main.c507 ehdr.e_ident[EI_DATA] != ELFDATA2MSB) { in dis_file()
519 ehdr.e_ident[EI_DATA] != ELFDATA2MSB) { in dis_file()
535 ehdr.e_ident[EI_DATA] != ELFDATA2MSB) { in dis_file()
555 ehdr.e_ident[EI_DATA] != ELFDATA2MSB) { in dis_file()
577 if (ehdr.e_ident[EI_DATA] != ELFDATA2MSB) { in dis_file()
590 if (ehdr.e_ident[EI_DATA] != ELFDATA2LSB) { in dis_file()
/illumos-gate/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) \
/illumos-gate/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 …]
/illumos-gate/usr/src/cmd/sgs/elfwrap/common/
H A Delfwrap.c278 ehdr->e_ident[EI_DATA] = M_DATA; in output()
552 ehdr->e_ident[EI_DATA] = tdesc.td_data; in output()
560 if ((_elf_sys_encoding() != ehdr->e_ident[EI_DATA]) && in output()
/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Dbegin.c148 elf->ed_encode = base[EI_DATA]; in _elf_config()
219 elf->ed_encode = image[EI_DATA]; in elf_memory()
H A Dupdate.c483 eh->e_ident[EI_DATA]; in wrt()
814 if ((u = eh->e_ident[EI_DATA]) == ELFDATANONE) { in _elfxx_update()
824 eh->e_ident[EI_DATA] = (Byte)encode; in _elfxx_update()
873 encode = eh->e_ident[EI_DATA]; in _elfxx_swap_wrimage()
/illumos-gate/usr/src/uts/intel/amd64/krtld/
H A Dkobj_isa.c44 return ((h->e_ident[EI_DATA] == ELFDATA2LSB) && in elf_mach_ok()
/illumos-gate/usr/src/uts/sparc/krtld/
H A Dkobj_isa.c52 return (h->e_ident[EI_DATA] == ELFDATA2MSB && in elf_mach_ok()
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_object_detector.c94 #define EI_DATA 5 macro
276 switch(h->e_ident[EI_DATA]) { in fill_in_elf_fields()
H A Ddwarf_elf_defines.h868 #ifndef EI_DATA
869 #define EI_DATA 5 macro
H A Ddwarf_elf_access.c172 if (ehdr_ident[EI_DATA] == ELFDATA2LSB){ in dwarf_elf_object_access_internals_init()
174 } else if (ehdr_ident[EI_DATA] == ELFDATA2MSB){ in dwarf_elf_object_access_internals_init()
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Delf.h130 #define EI_DATA 5 /* Data encodeing byte index */ macro
/illumos-gate/usr/src/cmd/sgs/common/
H A Dleb128.c218 if (eident[EI_DATA] == ELFDATA2LSB) in dwarf_ehe_extract()
/illumos-gate/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_bargs.c76 format = ident[EI_DATA]; in get_kernel_fd()
/illumos-gate/usr/src/cmd/sgs/ldd/common/
H A Dldd.c402 if (ehdr.e_ident[EI_DATA] != M_DATA) { in elf_check()
404 conv_ehdr_data(ehdr.e_ident[EI_DATA], 0, &inv_buf)); in elf_check()
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Delf.c53 conv_ehdr_data(ehdr->e_ident[EI_DATA], 0, &inv_buf2)); in Elf_ehdr()
/illumos-gate/usr/src/uts/common/fs/objfs/
H A Dobjfs_data.c607 ehdr.e_ident[EI_DATA] = ELFDATA2MSB; in objfs_data_read()
609 ehdr.e_ident[EI_DATA] = ELFDATA2LSB; in objfs_data_read()
/illumos-gate/usr/src/lib/libc/i386/crt/
H A D_rtld.c155 ehdr->e_ident[EI_DATA] != ELFDATA2LSB) in __rtld()
/illumos-gate/usr/src/lib/libc/sparc/crt/
H A D_rtld.c154 ehdr->e_ident[EI_DATA] != ELFDATA2MSB) in __rtld()
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_link.c483 elf_file.ehdr.e_ident[EI_DATA] = ELFDATA2MSB; in dump_elf32()
485 elf_file.ehdr.e_ident[EI_DATA] = ELFDATA2LSB; in dump_elf32()
620 elf_file.ehdr.e_ident[EI_DATA] = ELFDATA2MSB; in dump_elf64()
622 elf_file.ehdr.e_ident[EI_DATA] = ELFDATA2LSB; in dump_elf64()
/illumos-gate/usr/src/cmd/mdb/common/modules/krtld/
H A Dkrtld.c150 ehdr->e_ident[EI_CLASS], ehdr->e_ident[EI_DATA]); in dump_ehdr()
/illumos-gate/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()
/illumos-gate/usr/src/lib/libproc/common/
H A Dproc_arg.c104 ehdr.e_ident[EI_DATA] != order) in open_core()
H A DPgcore.c1169 ehdr.e_ident[EI_DATA] = ELFDATA2MSB; in Pfgcore()
1172 ehdr.e_ident[EI_DATA] = ELFDATA2LSB; in Pfgcore()
1227 ehdr.e_ident[EI_DATA] = ELFDATA2MSB; in Pfgcore()
1230 ehdr.e_ident[EI_DATA] = ELFDATA2LSB; in Pfgcore()
/illumos-gate/usr/src/uts/common/exec/elf/
H A Delf.c1143 !elfheadcheck(ehdr->e_ident[EI_DATA], ehdr->e_machine, in getelfhead()
2158 ehdr->e_ident[EI_DATA] = ELFDATA2MSB; in elfcore()
2161 ehdr->e_ident[EI_DATA] = ELFDATA2LSB; in elfcore()
2170 ehdr->e_ident[EI_DATA] = ELFDATA2MSB; in elfcore()
2173 ehdr->e_ident[EI_DATA] = ELFDATA2LSB; in elfcore()

123