/illumos-gate/usr/src/cmd/dis/ |
H A D | dis_main.c | 471 ehdr.e_ident[EI_DATA] != ELFDATA2MSB) { in dis_file() 483 ehdr.e_ident[EI_DATA] != ELFDATA2MSB) { in dis_file() 499 ehdr.e_ident[EI_DATA] != ELFDATA2MSB) { in dis_file() 519 ehdr.e_ident[EI_DATA] != ELFDATA2MSB) { in dis_file() 541 if (ehdr.e_ident[EI_DATA] != ELFDATA2MSB) { in dis_file() 554 if (ehdr.e_ident[EI_DATA] != ELFDATA2LSB) { in dis_file()
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | i386-elf.h | 48 #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 D | ehdr.c | 318 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 D | elfwrap.c | 278 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 D | begin.c | 148 elf->ed_encode = base[EI_DATA]; in _elf_config() 219 elf->ed_encode = image[EI_DATA]; in elf_memory()
|
H A D | update.c | 483 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 D | kobj_isa.c | 44 return ((h->e_ident[EI_DATA] == ELFDATA2LSB) && in elf_mach_ok()
|
/illumos-gate/usr/src/uts/sparc/krtld/ |
H A D | kobj_isa.c | 52 return (h->e_ident[EI_DATA] == ELFDATA2MSB && in elf_mach_ok()
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | dwarf_object_detector.c | 94 #define EI_DATA 5 macro 276 switch(h->e_ident[EI_DATA]) { in fill_in_elf_fields()
|
H A D | dwarf_elf_defines.h | 868 #ifndef EI_DATA 869 #define EI_DATA 5 macro
|
H A D | dwarf_elf_access.c | 172 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 D | elf.h | 130 #define EI_DATA 5 /* Data encodeing byte index */ macro
|
/illumos-gate/usr/src/lib/libgrubmgmt/common/ |
H A D | libgrub_bargs.c | 76 format = ident[EI_DATA]; in get_kernel_fd()
|
/illumos-gate/usr/src/cmd/sgs/common/ |
H A D | leb128.c | 218 if (eident[EI_DATA] == ELFDATA2LSB) in dwarf_ehe_extract()
|
/illumos-gate/usr/src/cmd/sgs/ldd/common/ |
H A D | ldd.c | 402 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 D | elf.c | 53 conv_ehdr_data(ehdr->e_ident[EI_DATA], 0, &inv_buf2)); in Elf_ehdr()
|
/illumos-gate/usr/src/uts/common/fs/objfs/ |
H A D | objfs_data.c | 607 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.c | 155 ehdr->e_ident[EI_DATA] != ELFDATA2LSB) in __rtld()
|
/illumos-gate/usr/src/lib/libc/sparc/crt/ |
H A D | _rtld.c | 154 ehdr->e_ident[EI_DATA] != ELFDATA2MSB) in __rtld()
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_link.c | 483 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/sgs/libld/common/ |
H A D | ldmain.c | 172 def_ehdr.e_ident[EI_DATA] = ld_targ.t_m.m_data; in ld_main()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/krtld/ |
H A D | krtld.c | 150 ehdr->e_ident[EI_CLASS], ehdr->e_ident[EI_DATA]); in dump_ehdr()
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | proc_arg.c | 104 ehdr.e_ident[EI_DATA] != order) in open_core()
|
H A D | Pgcore.c | 1169 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 D | elf.c | 1143 !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()
|