Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/tools/
H A Dimg2srec.c252 getPtr = ExtractBlock(sizeof elfHeader.e_ident, elfHeader.e_ident, rxBlock); in ConvertELF()
267 || (elfHeader.e_ident[0] != ELFMAG0) in ConvertELF()
268 || (elfHeader.e_ident[1] != ELFMAG1) in ConvertELF()
269 || (elfHeader.e_ident[2] != ELFMAG2) in ConvertELF()
270 || (elfHeader.e_ident[3] != ELFMAG3) in ConvertELF()
H A Dmips-relocs.c238 if (memcmp(&ehdr32->e_ident[EI_MAG0], ELFMAG, SELFMAG)) { in main()
244 if (ehdr32->e_ident[EI_VERSION] != EV_CURRENT) { in main()
250 switch (ehdr32->e_ident[EI_CLASS]) { in main()
263 switch (ehdr32->e_ident[EI_DATA]) { in main()
/rk3399_rockchip-uboot/include/
H A Delf.h85 #define IS_ELF(ehdr) ((ehdr).e_ident[EI_MAG0] == ELFMAG0 && \
86 (ehdr).e_ident[EI_MAG1] == ELFMAG1 && \
87 (ehdr).e_ident[EI_MAG2] == ELFMAG2 && \
88 (ehdr).e_ident[EI_MAG3] == ELFMAG3)
92 unsigned char e_ident[EI_NIDENT]; /* ELF Identification */ member
110 unsigned char e_ident[EI_NIDENT]; /* ELF Identification */ member
/rk3399_rockchip-uboot/tools/rockchip/
H A Dtrust_merger.h133 uint8_t e_ident[EI_NIDENT]; member
150 uint8_t e_ident[EI_NIDENT]; /* ELF "magic number" */ member
/rk3399_rockchip-uboot/arch/arm/mach-rockchip/
H A Drk_mini_dump.c202 memcpy(ehdr->e_ident, ELFMAG, SELFMAG); in rk_dump_elf64_image_phdr()
203 ehdr->e_ident[EI_CLASS] = ELFCLASS64; in rk_dump_elf64_image_phdr()
204 ehdr->e_ident[EI_DATA] = ELFDATA2LSB; in rk_dump_elf64_image_phdr()
205 ehdr->e_ident[EI_VERSION] = EV_CURRENT; in rk_dump_elf64_image_phdr()
206 ehdr->e_ident[EI_OSABI] = ELFOSABI_NONE; in rk_dump_elf64_image_phdr()