Home
last modified time | relevance | path

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

/u-boot/tools/
A Dimg2srec.c237 Elf32_Ehdr elfHeader; in ConvertELF() local
252 getPtr = ExtractBlock(sizeof elfHeader.e_ident, elfHeader.e_ident, rxBlock); in ConvertELF()
253 getPtr = ExtractWord(&elfHeader.e_type, getPtr); 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()
271 || (elfHeader.e_type != ET_EXEC) in ConvertELF()
279 fseek(file, elfHeader.e_shoff, SEEK_SET); in ConvertELF()
280 for (i = 0; i < elfHeader.e_shnum; i++) { in ConvertELF()
[all …]

Completed in 3 milliseconds