Home
last modified time | relevance | path

Searched refs:e_ident (Results 1 – 5 of 5) sorted by relevance

/optee_os/ta/remoteproc/src/
H A Delf_parser.c34 ehdr->e_ident[EI_VERSION] != EV_CURRENT || in e32_parse_ehdr()
35 ehdr->e_ident[EI_CLASS] != ELFCLASS32 || in e32_parse_ehdr()
/optee_os/lib/libutee/include/
H A Delf_common.h137 #define IS_ELF(ehdr) ((ehdr).e_ident[EI_MAG0] == ELFMAG0 && \
138 (ehdr).e_ident[EI_MAG1] == ELFMAG1 && \
139 (ehdr).e_ident[EI_MAG2] == ELFMAG2 && \
140 (ehdr).e_ident[EI_MAG3] == ELFMAG3)
H A Delf32.h58 unsigned char e_ident[EI_NIDENT]; /* File identification. */ member
H A Delf64.h67 unsigned char e_ident[EI_NIDENT]; /* File identification. */ member
/optee_os/ldelf/
H A Dta_elf.c103 if (ehdr->e_ident[EI_VERSION] != EV_CURRENT || in e32_parse_ehdr()
104 ehdr->e_ident[EI_CLASS] != ELFCLASS32 || in e32_parse_ehdr()
105 ehdr->e_ident[EI_DATA] != ELFDATA2LSB || in e32_parse_ehdr()
106 (ehdr->e_ident[EI_OSABI] != ELFOSABI_NONE && in e32_parse_ehdr()
107 ehdr->e_ident[EI_OSABI] != ELFOSABI_ARM) || in e32_parse_ehdr()
116 if (ehdr->e_ident[EI_OSABI] == ELFOSABI_NONE && in e32_parse_ehdr()
120 if (ehdr->e_ident[EI_OSABI] == ELFOSABI_ARM && in e32_parse_ehdr()
139 if (ehdr->e_ident[EI_VERSION] != EV_CURRENT || in e64_parse_ehdr()
140 ehdr->e_ident[EI_CLASS] != ELFCLASS64 || in e64_parse_ehdr()
141 ehdr->e_ident[EI_DATA] != ELFDATA2LSB || in e64_parse_ehdr()
[all …]