Home
last modified time | relevance | path

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

123

/freebsd/lib/libkvm/
H A Dkvm_powerpc64.c60 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 Dkvm_private.h137 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 Dkvm_powerpc.c60 if (eh->e_ident[EI_DATA] != ELFDATA2MSB) in valid_elf_header()
185 kd->nlehdr.e_ident[EI_DATA] == ELFDATA2MSB); in _powerpc_probe()
H A Dkvm_arm.c260 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 DELF.cpp38 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 Delfdump.c97 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 Dgelf_mips64el.c38 e->e_u.e_elf.e_ehdr.e_ehdr64->e_ident[EI_DATA] == ELFDATA2LSB); in _libelf_is_mips64el()
H A Dlibelf_memory.c65 e_byteorder = image[EI_DATA]; in _libelf_memory()
H A Dlibelf_ehdr.c98 eh->e_ident[EI_DATA] = ELFDATANONE; \
/freebsd/usr.bin/elfctl/
H A Delfctl.c168 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 Delfclass.h32 swap = (u.c[sizeof(int32_t) - 1] + 1) != elfhdr.e_ident[EI_DATA];
H A Dreadelf.h162 #define EI_DATA 5 macro
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.cpp74 if (e_ident[EI_DATA] == ELFDATA2MSB) in GetByteOrder()
76 if (e_ident[EI_DATA] == ELFDATA2LSB) in GetByteOrder()
/freebsd/usr.bin/ldd/
H A Dldd.c295 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 Dlibdwarf_elf_access.c76 switch (e->eo_ehdr.e_ident[EI_DATA]) { in _dwarf_elf_get_byte_order()
H A Dlibdwarf_elf_init.c189 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 Delf.c58 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 Dkldelf.h109 #define elf_encoding(ef) ((ef)->ef_hdr.e_ident[EI_DATA])
/freebsd/sys/kern/
H A Dkern_dump.c307 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 Dexec_elf32.c176 data = eh.e_ident[EI_DATA]; in ELFNAMEEND()
245 data = ehdr.e_ident[EI_DATA]; in ELFNAMEEND()
/freebsd/sys/compat/linux/
H A Dlinux_vdso.c114 MPASS(ehdr->e_ident[EI_DATA] == ELF_TARG_DATA); in __elfN()
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DELF.h54 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 Dif_sgereg.h255 #define EI_DATA 0xffff0000 macro
/freebsd/lib/libc/gen/
H A Dnlist.c109 ehdr->e_ident[EI_DATA] == ELF_TARG_DATA && in __elf_is_okay__()
/freebsd/contrib/elftoolchain/elfcopy/
H A Dbinary.c181 oeh.e_ident[EI_DATA] = ecp->oed; in create_elf_from_binary()

123