Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/ArmPlatformPkg/Library/ArmShellCmdRunAxf/
DElfLoader.c39 if (Hdr->e_ident[EI_CLASS] != ELFCLASS32) { in IsArmElf()
62 if (Hdr->e_ident[EI_CLASS] != ELFCLASS64) { in IsAarch64Elf()
101 if (Hdr32->e_ident[EI_CLASS] == ELFCLASS32) { in ElfCheckHeader()
115 } else if (Hdr32->e_ident[EI_CLASS] == ELFCLASS64) { in ElfCheckHeader()
Delf_common.h126 #define IS_ELF(ehdr) ((ehdr).e_ident[EI_MAG0] == ELFMAG0 && \
127 (ehdr).e_ident[EI_MAG1] == ELFMAG1 && \
128 (ehdr).e_ident[EI_MAG2] == ELFMAG2 && \
129 (ehdr).e_ident[EI_MAG3] == ELFMAG3)
Delf32.h69 unsigned char e_ident[EI_NIDENT]; /* File identification. */ member
Delf64.h77 unsigned char e_ident[EI_NIDENT]; /* File identification. */ member
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFw/
Delf_common.h126 #define IS_ELF(ehdr) ((ehdr).e_ident[EI_MAG0] == ELFMAG0 && \
127 (ehdr).e_ident[EI_MAG1] == ELFMAG1 && \
128 (ehdr).e_ident[EI_MAG2] == ELFMAG2 && \
129 (ehdr).e_ident[EI_MAG3] == ELFMAG3)
Delf32.h69 unsigned char e_ident[EI_NIDENT]; /* File identification. */ member
Delf64.h77 unsigned char e_ident[EI_NIDENT]; /* File identification. */ member
DElf64Convert.c142 if (mEhdr->e_ident[EI_CLASS] != ELFCLASS64) { in InitializeElf64()
146 if (mEhdr->e_ident[EI_DATA] != ELFDATA2LSB) { in InitializeElf64()
DElf32Convert.c139 if (mEhdr->e_ident[EI_CLASS] != ELFCLASS32) { in InitializeElf32()
143 if (mEhdr->e_ident[EI_DATA] != ELFDATA2LSB) { in InitializeElf32()