| /linux/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 | 103 #define EI_DATA 5 macro 146 e_data = buf[E_IDENT+EI_DATA]; in main()
|
| H A D | elf.h | 122 #define EI_DATA 5 macro
|
| /linux/tools/testing/selftests/kvm/lib/ |
| H A D | elf.c | 52 && (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()
|
| /linux/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()
|
| /linux/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()
|
| /linux/scripts/ |
| H A D | elf-parse.c | 60 switch (ehdr->e32.e_ident[EI_DATA]) { in elf_parse() 77 ehdr->e32.e_ident[EI_DATA], fname); in elf_parse()
|
| H A D | recordmcount.c | 524 switch (ehdr->e_ident[EI_DATA]) { in do_file() 528 ehdr->e_ident[EI_DATA], fname); in do_file()
|
| H A D | insert-sys-cert.c | 336 if (hdr->e_ident[EI_DATA] != endianness()) { in main()
|
| /linux/tools/objtool/include/objtool/ |
| H A D | endianness.h | 17 (ehdr->e_ident[EI_DATA] == ELFDATA2LSB); in need_bswap()
|
| /linux/arch/s390/tools/ |
| H A D | relocs.c | 82 if (ehdr.e_ident[EI_DATA] == ELFDATA2LSB) in elf16_to_cpu() 90 if (ehdr.e_ident[EI_DATA] == ELFDATA2LSB) in elf32_to_cpu() 126 if (ehdr.e_ident[EI_DATA] != ELF_ENDIAN) in read_ehdr()
|
| /linux/drivers/remoteproc/ |
| H A D | remoteproc_elf_loader.c | 82 if (ehdr->e_ident[EI_DATA] != ELFDATA2LSB) { 84 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()
|
| /linux/arch/arm64/kernel/pi/ |
| H A D | relacheck.c | 72 swap = ehdr->e_ident[EI_DATA] != HOST_ORDER; in main()
|
| /linux/arch/arm/vdso/ |
| H A D | vdsomunge.c | 159 swap = inhdr->e_ident[EI_DATA] != HOST_ORDER; in main()
|
| /linux/arch/arm64/kvm/hyp/nvhe/ |
| H A D | gen-hyprel.c | 290 assert_eq(elf.ehdr->e_ident[EI_DATA], ELFENDIAN, "%u"); in init_elf()
|
| /linux/tools/perf/util/ |
| H A D | genelf.c | 201 ehdr->e_ident[EI_DATA] = GEN_ELF_ENDIAN; in jit_write_elf()
|
| H A D | symbol-minimal.c | 123 need_swap = check_need_swap(hdrs.ehdr32.e_ident[EI_DATA]); in filename__read_build_id()
|
| /linux/kernel/ |
| H A D | crash_core.c | 202 ehdr->e_ident[EI_DATA] = ELFDATA2LSB; in crash_prepare_elf64_headers()
|
| /linux/arch/powerpc/platforms/powernv/ |
| H A D | opal-core.c | 361 elf->e_ident[EI_DATA] = ELFDATA2MSB; in create_opalcore()
|
| /linux/tools/bpf/resolve_btfids/ |
| H A D | main.c | 370 obj->efile.encoding = ehdr.e_ident[EI_DATA]; in elf_collect()
|
| /linux/arch/mips/boot/ |
| H A D | elf2ecoff.c | 315 if (ex.e_ident[EI_DATA] == ELFDATA2MSB) in main()
|
| /linux/arch/s390/kernel/ |
| H A D | crash_dump.c | 453 ehdr->e_ident[EI_DATA] = ELFDATA2MSB; in ehdr_init()
|
| /linux/arch/x86/tools/ |
| H A D | relocs.c | 354 if (ehdr.e_ident[EI_DATA] != ELFDATA2LSB) in read_ehdr()
|