Home
last modified time | relevance | path

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

12

/openbmc/linux/kernel/
H A Dkexec_elf.c31 if (ehdr->e_ident[EI_DATA] == ELFDATA2LSB) in elf64_to_cpu()
33 else if (ehdr->e_ident[EI_DATA] == ELFDATA2MSB) in elf64_to_cpu()
41 if (ehdr->e_ident[EI_DATA] == ELFDATA2LSB) in elf32_to_cpu()
43 else if (ehdr->e_ident[EI_DATA] == ELFDATA2MSB) in elf32_to_cpu()
51 if (ehdr->e_ident[EI_DATA] == ELFDATA2LSB) in elf16_to_cpu()
53 else if (ehdr->e_ident[EI_DATA] == ELFDATA2MSB) in elf16_to_cpu()
138 } else if (ehdr->e_ident[EI_DATA] != ELFDATA2LSB && in elf_read_ehdr()
139 ehdr->e_ident[EI_DATA] != ELFDATA2MSB) { in elf_read_ehdr()
/openbmc/linux/arch/powerpc/boot/
H A Delf_util.c26 elf64->e_ident[EI_DATA] == ELFDATA2LSB && in parse_elf64()
28 elf64->e_ident[EI_DATA] == ELFDATA2MSB && in parse_elf64()
61 elf32->e_ident[EI_DATA] == ELFDATA2MSB && in parse_elf32()
H A Daddnote.c102 #define EI_DATA 5 macro
145 e_data = buf[E_IDENT+EI_DATA]; in main()
H A Delf.h122 #define EI_DATA 5 macro
/openbmc/linux/tools/testing/selftests/kvm/lib/
H A Delf.c52 && (ident[EI_DATA] == ELFDATA2LSB)) in elfhdr_get()
54 && (ident[EI_DATA] == ELFDATA2MSB)), "Current " in elfhdr_get()
65 ident[EI_DATA], ELFDATA2LSB, ELFDATA2MSB); in elfhdr_get()
/openbmc/linux/arch/mips/tools/
H A Delf-entry.c65 switch (hdr.ehdr32.e_ident[EI_DATA]) { in main()
82 switch (hdr.ehdr32.e_ident[EI_DATA]) { in main()
H A Dloongson3-llsc-check.c280 if (eh->e_ident[EI_DATA] != ELFDATA2LSB) { in main()
/openbmc/u-boot/drivers/net/pfe_eth/
H A Dpfe_firmware.c55 if (elf_hdr->e_ident[EI_DATA] != ELFDATA2MSB) { in pfe_load_elf()
57 elf_hdr->e_ident[EI_DATA]); in pfe_load_elf()
/openbmc/linux/arch/mips/boot/tools/
H A Drelocs.c163 if (ehdr.e_ident[EI_DATA] == ELFDATA2LSB) in elf16_to_cpu()
171 if (ehdr.e_ident[EI_DATA] == ELFDATA2LSB) in elf32_to_cpu()
179 if (ehdr.e_ident[EI_DATA] == ELFDATA2LSB) in cpu_to_elf32()
191 if (ehdr.e_ident[EI_DATA] == ELFDATA2LSB) in elf64_to_cpu()
216 if ((ehdr.e_ident[EI_DATA] != ELFDATA2LSB) && in read_ehdr()
217 (ehdr.e_ident[EI_DATA] != ELFDATA2MSB)) in read_ehdr()
/openbmc/qemu/linux-user/
H A Dgen-vdso.c144 switch (buf[EI_DATA]) { in main()
153 inf_name, buf[EI_DATA]); in main()
/openbmc/linux/tools/objtool/include/objtool/
H A Dendianness.h18 (elf->ehdr.e_ident[EI_DATA] == ELFDATA2LSB); in need_bswap()
/openbmc/linux/scripts/mod/
H A Dmk_elfconfig.c31 switch (ei[EI_DATA]) { in main()
/openbmc/linux/arch/mips/vdso/
H A Dgenvdso.c160 switch (ehdr->e_ident[EI_DATA]) { in map_vdso()
163 need_swap = ehdr->e_ident[EI_DATA] != HOST_ORDER; in map_vdso()
/openbmc/linux/scripts/
H A Dsorttable.c274 switch (ehdr->e_ident[EI_DATA]) { in do_file()
293 ehdr->e_ident[EI_DATA], fname); in do_file()
H A Drecordmcount.c524 switch (ehdr->e_ident[EI_DATA]) { in do_file()
528 ehdr->e_ident[EI_DATA], fname); in do_file()
H A Dinsert-sys-cert.c336 if (hdr->e_ident[EI_DATA] != endianness()) { in main()
/openbmc/openbmc/poky/meta/lib/oe/
H A Dqa.py17 EI_DATA = 5 variable in ELFFile
86 self.endian = self.data[ELFFile.EI_DATA]
/openbmc/linux/drivers/remoteproc/
H A Dremoteproc_elf_loader.c82 if (ehdr->e_ident[EI_DATA] != ELFDATA2LSB) {
84 if (ehdr->e_ident[EI_DATA] != ELFDATA2MSB) {
H A Dremoteproc_elf_helpers.h34 hdr->e_ident[EI_DATA] = ELFDATA2LSB; in elf_hdr_init_ident()
/openbmc/openbmc/poky/meta/recipes-core/glibc/ldconfig-native-2.12.1/
H A Dendian-ness_handling.patch48 + be = (elf_header->e_ident[EI_DATA] == ELFDATA2MSB);
194 + be = (elf_header->e_ident[EI_DATA] == ELFDATA2MSB);
343 + else if ((elf_header->e_ident[EI_DATA] == ELFDATA2MSB && be16toh(elf_header->e_type) != ET_DYN) …
344 + (elf_header->e_ident[EI_DATA] == ELFDATA2LSB && le16toh(elf_header->e_type) != ET_DYN))
/openbmc/linux/arch/arm/vdso/
H A Dvdsomunge.c159 swap = inhdr->e_ident[EI_DATA] != HOST_ORDER; in main()
/openbmc/qemu/contrib/elf2dmp/
H A Dqemu_elf.c148 ehdr->e_ident[EI_DATA] != ELFDATA2LSB) { in check_ehdr()
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/
H A Dgen-hyprel.c287 assert_eq(elf.ehdr->e_ident[EI_DATA], ELFENDIAN, "%u"); in init_elf()
/openbmc/linux/include/uapi/linux/
H A Delf.h339 #define EI_DATA 5 macro
/openbmc/u-boot/tools/
H A Dmips-relocs.c260 switch (ehdr32->e_ident[EI_DATA]) { in main()

12