| /OK3568_Linux_fs/kernel/kernel/ |
| H A D | kexec_elf.c | 31 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()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/boot/ |
| H A D | elf_util.c | 26 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 D | addnote.c | 102 #define EI_DATA 5 macro 145 e_data = buf[E_IDENT+EI_DATA]; in main()
|
| H A D | elf.h | 122 #define EI_DATA 5 macro
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/kvm/lib/ |
| H A D | elf.c | 53 && (ident[EI_DATA] == ELFDATA2LSB)) in elfhdr_get() 55 && (ident[EI_DATA] == ELFDATA2MSB)), "Current " in elfhdr_get() 66 ident[EI_DATA], ELFDATA2LSB, ELFDATA2MSB); in elfhdr_get()
|
| /OK3568_Linux_fs/kernel/arch/mips/tools/ |
| H A D | elf-entry.c | 65 switch (hdr.ehdr32.e_ident[EI_DATA]) { in main() 82 switch (hdr.ehdr32.e_ident[EI_DATA]) { in main()
|
| H A D | loongson3-llsc-check.c | 280 if (eh->e_ident[EI_DATA] != ELFDATA2LSB) { in main()
|
| /OK3568_Linux_fs/kernel/arch/mips/boot/tools/ |
| H A D | relocs.c | 163 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()
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oe/ |
| H A D | qa.py | 14 EI_DATA = 5 variable in ELFFile 83 self.endian = self.data[ELFFile.EI_DATA]
|
| /OK3568_Linux_fs/kernel/arch/mips/vdso/ |
| H A D | genvdso.c | 160 switch (ehdr->e_ident[EI_DATA]) { in map_vdso() 163 need_swap = ehdr->e_ident[EI_DATA] != HOST_ORDER; in map_vdso()
|
| /OK3568_Linux_fs/kernel/scripts/mod/ |
| H A D | mk_elfconfig.c | 31 switch (ei[EI_DATA]) { in main()
|
| /OK3568_Linux_fs/kernel/drivers/remoteproc/ |
| H A D | remoteproc_elf_loader.c | 80 if (ehdr->e_ident[EI_DATA] != ELFDATA2LSB) { 82 if (ehdr->e_ident[EI_DATA] != ELFDATA2MSB) {
|
| H A D | remoteproc_elf_helpers.h | 34 hdr->e_ident[EI_DATA] = ELFDATA2LSB; in elf_hdr_init_ident()
|
| /OK3568_Linux_fs/kernel/scripts/ |
| H A D | sorttable.c | 303 switch (ehdr->e_ident[EI_DATA]) { in do_file() 322 ehdr->e_ident[EI_DATA], fname); in do_file()
|
| H A D | recordmcount.c | 490 switch (ehdr->e_ident[EI_DATA]) { in do_file() 494 ehdr->e_ident[EI_DATA], fname); in do_file()
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-core/glibc/ldconfig-native-2.12.1/ |
| H A D | endian-ness_handling.patch | 48 + 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))
|
| /OK3568_Linux_fs/kernel/arch/arm/vdso/ |
| H A D | vdsomunge.c | 159 swap = inhdr->e_ident[EI_DATA] != HOST_ORDER; in main()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/oprofile/cell/ |
| H A D | vma_map.c | 100 [EI_DATA] = ELFDATA2MSB, in create_vma_map()
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | elf.h | 335 #define EI_DATA 5 macro
|
| /OK3568_Linux_fs/kernel/arch/arm64/kvm/hyp/nvhe/ |
| H A D | gen-hyprel.c | 287 assert_eq(elf.ehdr->e_ident[EI_DATA], ELFENDIAN, "%u"); in init_elf()
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | elf.h | 334 #define EI_DATA 5 macro
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | elf.h | 334 #define EI_DATA 5 macro
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | elf.h | 48 #define EI_DATA 5 /* data encoding */ macro
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-core/systemd/systemd/ |
| H A D | CVE-2022-4415-2.patch | 263 + !IN_SET(elf[EI_DATA], ELFDATA2LSB, ELFDATA2MSB)) 267 + if ((elf[EI_DATA] == ELFDATA2LSB) != (__BYTE_ORDER == __LITTLE_ENDIAN))
|
| /OK3568_Linux_fs/kernel/tools/perf/util/ |
| H A D | genelf.c | 281 ehdr->e_ident[EI_DATA] = GEN_ELF_ENDIAN; in jit_write_elf()
|