Searched refs:EI_DATA (Results 1 – 25 of 33) sorted by relevance
12
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()
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()
102 #define EI_DATA 5 macro145 e_data = buf[E_IDENT+EI_DATA]; in main()
122 #define EI_DATA 5 macro
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()
65 switch (hdr.ehdr32.e_ident[EI_DATA]) { in main()82 switch (hdr.ehdr32.e_ident[EI_DATA]) { in main()
280 if (eh->e_ident[EI_DATA] != ELFDATA2LSB) { in main()
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()
160 switch (ehdr->e_ident[EI_DATA]) { in map_vdso()163 need_swap = ehdr->e_ident[EI_DATA] != HOST_ORDER; in map_vdso()
31 switch (ei[EI_DATA]) { in main()
82 if (ehdr->e_ident[EI_DATA] != ELFDATA2LSB) {84 if (ehdr->e_ident[EI_DATA] != ELFDATA2MSB) {
34 hdr->e_ident[EI_DATA] = ELFDATA2LSB; in elf_hdr_init_ident()
335 switch (ehdr->e_ident[EI_DATA]) { in do_file()354 ehdr->e_ident[EI_DATA], fname); in do_file()
490 switch (ehdr->e_ident[EI_DATA]) { in do_file()494 ehdr->e_ident[EI_DATA], fname); in do_file()
336 if (hdr->e_ident[EI_DATA] != endianness()) { in main()
159 swap = inhdr->e_ident[EI_DATA] != HOST_ORDER; in main()
335 #define EI_DATA 5 macro
287 assert_eq(elf.ehdr->e_ident[EI_DATA], ELFENDIAN, "%u"); in init_elf()
276 ehdr->e_ident[EI_DATA] = GEN_ELF_ENDIAN; in jit_write_elf()
110 need_swap = check_need_swap(e_ident[EI_DATA]); in filename__read_build_id()
345 [EI_DATA] = ELF_DATA, in read_kcore()
359 elf->e_ident[EI_DATA] = ELFDATA2MSB; in create_opalcore()
517 ehdr->e_ident[EI_DATA] = ELFDATA2MSB; in ehdr_init()
315 if (ex.e_ident[EI_DATA] == ELFDATA2MSB) in main()
327 linker->elf_hdr->e_ident[EI_DATA] = ELFDATA2LSB; in init_output_elf()329 linker->elf_hdr->e_ident[EI_DATA] = ELFDATA2MSB; in init_output_elf()579 if (ehdr->e_ident[EI_DATA] != host_endianness) { in linker_load_obj_file()
Completed in 37 milliseconds