Searched refs:EI_DATA (Results 1 – 21 of 21) sorted by relevance
30 elf64->e_ident[EI_DATA] == ELFDATA2LSB && in parse_elf64()32 elf64->e_ident[EI_DATA] == ELFDATA2MSB && in parse_elf64()65 elf32->e_ident[EI_DATA] == ELFDATA2MSB && in parse_elf32()
106 #define EI_DATA 5 macro149 e_data = buf[E_IDENT+EI_DATA]; in main()
121 #define EI_DATA 5 macro
30 switch (ei[EI_DATA]) { in main()
71 if (ehdr->e_ident[EI_DATA] != ELFDATA2LSB) {73 if (ehdr->e_ident[EI_DATA] != ELFDATA2MSB) {
241 switch (ehdr->e_ident[EI_DATA]) { in do_file()244 ehdr->e_ident[EI_DATA], fname); in do_file()
325 switch (ehdr->e_ident[EI_DATA]) { in do_file()329 ehdr->e_ident[EI_DATA], fname); in do_file()
65 (x)->e_ident[EI_DATA] == ELF_DATA && \
172 swap = inhdr->e_ident[EI_DATA] != HOST_ORDER; in main()
104 [EI_DATA] = ELFDATA2MSB, in create_vma_map()
330 #define EI_DATA 5 macro
103 need_swap = check_need_swap(e_ident[EI_DATA]); in filename__read_build_id()
666 if (dso__swap_init(dso, ehdr.e_ident[EI_DATA])) { in symsrc__init()
335 elf->e_ident[EI_DATA] = ELF_DATA; in elf_kcore_store_hdr()
442 ehdr->e_ident[EI_DATA] = ELFDATA2LSB; in prepare_elf64_headers()
506 ehdr->e_ident[EI_DATA] = ELFDATA2MSB; in ehdr_init()
313 if (ex.e_ident[EI_DATA] == ELFDATA2MSB) in main()
345 if (ehdr.e_ident[EI_DATA] != ELFDATA2LSB) { in read_ehdr()
771 elf->e_ident[EI_DATA] = ELF_DATA; in fadump_init_elfcore_header()
1278 elf->e_ident[EI_DATA] = ELF_DATA; in fill_elf_fdpic_header()
1350 elf->e_ident[EI_DATA] = ELF_DATA; in fill_elf_header()