Lines Matching refs:sectHeader
238 Elf32_Shdr sectHeader[32]; in ConvertELF() local
281 rxCount = fread(rxBlock, 1, sizeof sectHeader[0], file); in ConvertELF()
282 getPtr = ExtractLong((uint32_t *)§Header[i].sh_name, rxBlock); in ConvertELF()
283 getPtr = ExtractLong((uint32_t *)§Header[i].sh_type, getPtr); in ConvertELF()
284 getPtr = ExtractLong((uint32_t *)§Header[i].sh_flags, getPtr); in ConvertELF()
285 getPtr = ExtractLong((uint32_t *)§Header[i].sh_addr, getPtr); in ConvertELF()
286 getPtr = ExtractLong((uint32_t *)§Header[i].sh_offset, getPtr); in ConvertELF()
287 getPtr = ExtractLong((uint32_t *)§Header[i].sh_size, getPtr); in ConvertELF()
288 getPtr = ExtractLong((uint32_t *)§Header[i].sh_link, getPtr); in ConvertELF()
289 getPtr = ExtractLong((uint32_t *)§Header[i].sh_info, getPtr); in ConvertELF()
290 getPtr = ExtractLong((uint32_t *)§Header[i].sh_addralign, getPtr); in ConvertELF()
291 getPtr = ExtractLong((uint32_t *)§Header[i].sh_entsize, getPtr); in ConvertELF()
292 if (rxCount != sizeof sectHeader[0]) { in ConvertELF()
312 if ( (sectHeader[i].sh_type == SHT_PROGBITS) in ConvertELF()
313 && (sectHeader[i].sh_size != 0) in ConvertELF()
315 loadSize = sectHeader[i].sh_size; in ConvertELF()
316 if (sectHeader[i].sh_flags != 0) { in ConvertELF()
317 loadAddr = sectHeader[i].sh_addr; in ConvertELF()
318 loadDiff = loadAddr - sectHeader[i].sh_offset; in ConvertELF()
321 loadAddr = sectHeader[i].sh_offset + loadDiff; in ConvertELF()
328 loadSize = sectHeader[i].sh_size; in ConvertELF()
329 fseek(file, sectHeader[i].sh_offset, SEEK_SET); in ConvertELF()