/freebsd/lib/libkvm/ |
H A D | kvm_powerpc64.c | 60 if (eh->e_ident[EI_DATA] != ELFDATA2MSB && in valid_elf_header() 61 eh->e_ident[EI_DATA] != ELFDATA2LSB) in valid_elf_header() 190 kd->nlehdr.e_ident[EI_DATA] == ELFDATA2MSB); in _powerpc64_probe() 198 kd->nlehdr.e_ident[EI_DATA] == ELFDATA2LSB); in _powerpc64le_probe()
|
H A D | kvm_private.h | 137 if (kd->nlehdr.e_ident[EI_DATA] == ELFDATA2LSB) in _kvm16toh() 147 if (kd->nlehdr.e_ident[EI_DATA] == ELFDATA2LSB) in _kvm32toh() 157 if (kd->nlehdr.e_ident[EI_DATA] == ELFDATA2LSB) in _kvm64toh()
|
H A D | kvm_powerpc.c | 60 if (eh->e_ident[EI_DATA] != ELFDATA2MSB) in valid_elf_header() 185 kd->nlehdr.e_ident[EI_DATA] == ELFDATA2MSB); in _powerpc_probe()
|
H A D | kvm_arm.c | 260 return (kd->nlehdr.e_ident[EI_DATA] == ELFDATA2LSB); in _arm_native() 262 return (kd->nlehdr.e_ident[EI_DATA] == ELFDATA2MSB); in _arm_native()
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
H A D | ELF.cpp | 38 if (Data[ELF::EI_DATA] == ELF::ELFDATA2LSB) { in readTargetMachineArch() 54 if (Data[ELF::EI_DATA] == ELF::ELFDATA2MSB) { in readTargetMachineArch() 82 uint8_t DataEncoding = Buffer.data()[ELF::EI_DATA]; in createLinkGraphFromELFObject()
|
/freebsd/usr.bin/elfdump/ |
H A D | elfdump.c | 97 offsetof(Elf32_Ehdr, e_ident[EI_DATA]), 138 offsetof(Elf32_Ehdr, e_ident[EI_DATA]), 1128 switch (e->e_ident[EI_DATA]) { in elf_get_quarter() 1141 switch (e->e_ident[EI_DATA]) { in elf_get_quarter() 1169 switch (e->e_ident[EI_DATA]) { 1182 switch (e->e_ident[EI_DATA]) { 1210 switch (e->e_ident[EI_DATA]) { in elf_get_word() 1223 switch (e->e_ident[EI_DATA]) { in elf_get_word() 1250 switch (e->e_ident[EI_DATA]) { in elf_get_quad() 1263 switch (e->e_ident[EI_DATA]) { in elf_get_quad()
|
/freebsd/contrib/elftoolchain/libelf/ |
H A D | gelf_mips64el.c | 38 e->e_u.e_elf.e_ehdr.e_ehdr64->e_ident[EI_DATA] == ELFDATA2LSB); in _libelf_is_mips64el()
|
H A D | libelf_memory.c | 65 e_byteorder = image[EI_DATA]; in _libelf_memory()
|
H A D | libelf_ehdr.c | 98 eh->e_ident[EI_DATA] = ELFDATANONE; \
|
/freebsd/usr.bin/elfctl/ |
H A D | elfctl.c | 168 if (ehdr.e_ident[EI_DATA] == HOST_ENDIAN) { in main() 170 } else if (ehdr.e_ident[EI_DATA] == SWAP_ENDIAN) { in main()
|
/freebsd/contrib/file/src/ |
H A D | elfclass.h | 32 swap = (u.c[sizeof(int32_t) - 1] + 1) != elfhdr.e_ident[EI_DATA];
|
H A D | readelf.h | 162 #define EI_DATA 5 macro
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
H A D | ELFHeader.cpp | 74 if (e_ident[EI_DATA] == ELFDATA2MSB) in GetByteOrder() 76 if (e_ident[EI_DATA] == ELFDATA2LSB) in GetByteOrder()
|
/freebsd/usr.bin/ldd/ |
H A D | ldd.c | 295 if (gelf_xlatetom(elf, &dst, &src, ehdr->e_ident[EI_DATA]) == NULL) { in has_freebsd_abi_tag() 369 if (gelf_xlatetom(elf, &dst, &src, ehdr->e_ident[EI_DATA]) == NULL) { in is_pie()
|
/freebsd/contrib/elftoolchain/libdwarf/ |
H A D | libdwarf_elf_access.c | 76 switch (e->eo_ehdr.e_ident[EI_DATA]) { in _dwarf_elf_get_byte_order()
|
H A D | libdwarf_elf_init.c | 189 rel, symtab_data, eh.e_ident[EI_DATA]); in _dwarf_elf_relocate() 193 eh.e_ident[EI_DATA]); in _dwarf_elf_relocate()
|
/freebsd/lib/libkldelf/ |
H A D | elf.c | 58 hdr->e_ident[EI_DATA] == (*erd)->data && in elf_find_reloc() 146 efile->ef_hdr.e_ident[EI_DATA] != hdr->e_ident[EI_DATA] || in elf_compatible()
|
H A D | kldelf.h | 109 #define elf_encoding(ef) ((ef)->ef_hdr.e_ident[EI_DATA])
|
/freebsd/sys/kern/ |
H A D | kern_dump.c | 307 ehdr.e_ident[EI_DATA] = ELFDATA2LSB; in dumpsys_generic() 309 ehdr.e_ident[EI_DATA] = ELFDATA2MSB; in dumpsys_generic()
|
/freebsd/usr.sbin/crunch/crunchide/ |
H A D | exec_elf32.c | 176 data = eh.e_ident[EI_DATA]; in ELFNAMEEND() 245 data = ehdr.e_ident[EI_DATA]; in ELFNAMEEND()
|
/freebsd/sys/compat/linux/ |
H A D | linux_vdso.c | 114 MPASS(ehdr->e_ident[EI_DATA] == ELF_TARG_DATA); in __elfN()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
H A D | ELF.h | 54 EI_DATA = 5, // Data encoding. enumerator 83 unsigned char getDataEncoding() const { return e_ident[EI_DATA]; } in getDataEncoding() 109 unsigned char getDataEncoding() const { return e_ident[EI_DATA]; } in getDataEncoding()
|
/freebsd/sys/dev/sge/ |
H A D | if_sgereg.h | 255 #define EI_DATA 0xffff0000 macro
|
/freebsd/lib/libc/gen/ |
H A D | nlist.c | 109 ehdr->e_ident[EI_DATA] == ELF_TARG_DATA && in __elf_is_okay__()
|
/freebsd/contrib/elftoolchain/elfcopy/ |
H A D | binary.c | 181 oeh.e_ident[EI_DATA] = ecp->oed; in create_elf_from_binary()
|