Lines Matching refs:relocs
96 struct RelocEntry *relocs; in handleApp() local
128 relocs = (struct RelocEntry*)(buf + sect->rel_start - FLASH_BASE); in handleApp()
157 uint32_t relocType = relocs[i].info & 0xff; in handleApp()
158 uint32_t whichSym = relocs[i].info >> 8; in handleApp()
167 i, relocs[i].where, relocs[i].info & 0xff, whichSym); in handleApp()
175 i, relocs[i].where, relocs[i].info & 0xff, whichSym, syms[whichSym].addr); in handleApp()
177 if (IS_IN_RANGE_E(relocs[i].where, sect->bss_start, sect->bss_end)) in handleApp()
179 else if (IS_IN_RANGE_E(relocs[i].where, sect->data_start, sect->data_end)) in handleApp()
181 else if (IS_IN_RANGE_E(relocs[i].where, sect->got_start, sect->got_end)) in handleApp()
183 else if (IS_IN_RANGE_E(relocs[i].where, FLASH_BASE, FLASH_BASE + sizeof(struct BinHdr))) in handleApp()
191 …if (IS_IN_FLASH(relocs[i].where) && relocs[i].where - FLASH_BASE < sizeof(struct BinHdr) && relocT… in handleApp()
199 valThereP = (uint32_t*)(buf + relocs[i].where - FLASH_BASE); in handleApp()
206 i, relocs[i].where, relocType, whichSym, syms[whichSym].addr); in handleApp()
223 if (!IS_IN_RAM(relocs[i].where)) { in handleApp()
229 i, relocs[i].where, relocType, whichSym, syms[whichSym].addr); in handleApp()
233 valThereP = (uint32_t*)(buf + relocs[i].where + sect->data_data - RAM_BASE - FLASH_BASE); in handleApp()
235 nanoRelocs[outNumRelocs].ofstInRam = relocs[i].where - RAM_BASE; in handleApp()
394 memcpy(relocs, packedNanoRelocs, packedNanoRelocSz); in handleApp()