Lines Matching refs:relocs
93 struct ElfAppSection relocs; member
295 struct RelocEntry *relocs; in handleApp() local
327 relocs = (struct RelocEntry*)(buf + sect->rel_start - FLASH_BASE); in handleApp()
356 uint32_t relocType = relocs[i].info & 0xff; in handleApp()
357 uint32_t whichSym = relocs[i].info >> 8; in handleApp()
366 i, relocs[i].where, relocs[i].info & 0xff, whichSym); in handleApp()
374 i, relocs[i].where, relocs[i].info & 0xff, whichSym, syms[whichSym].addr); in handleApp()
376 if (IS_IN_RANGE_E(relocs[i].where, sect->bss_start, sect->bss_end)) in handleApp()
378 else if (IS_IN_RANGE_E(relocs[i].where, sect->data_start, sect->data_end)) in handleApp()
380 else if (IS_IN_RANGE_E(relocs[i].where, sect->got_start, sect->got_end)) in handleApp()
382 else if (IS_IN_RANGE_E(relocs[i].where, FLASH_BASE, FLASH_BASE + sizeof(struct BinHdr))) in handleApp()
390 …if (IS_IN_FLASH(relocs[i].where) && relocs[i].where - FLASH_BASE < sizeof(struct BinHdr) && relocT… in handleApp()
398 valThereP = (uint32_t*)(buf + relocs[i].where - FLASH_BASE); in handleApp()
405 i, relocs[i].where, relocType, whichSym, syms[whichSym].addr); in handleApp()
422 if (!IS_IN_RAM(relocs[i].where)) { in handleApp()
428 i, relocs[i].where, relocType, whichSym, syms[whichSym].addr); in handleApp()
432 valThereP = (uint32_t*)(buf + relocs[i].where + sect->data_data - RAM_BASE - FLASH_BASE); in handleApp()
434 nanoRelocs[outNumRelocs].ofstInRam = relocs[i].where - RAM_BASE; in handleApp()
500 memcpy(relocs, packedNanoRelocs, packedNanoRelocSz); in handleApp()
561 .offset = offsetof(struct ElfNanoApp, relocs), in elfExtractSectionPointer()
720 size_t numDataRelocs = app->relocs.size / sizeof(Elf32_Rel); in genElfNanoRelocs()
734 const Elf32_Rel *relocs = (const Elf32_Rel *) app->relocs.data; in genElfNanoRelocs() local
740 uint32_t type = ELF32_R_TYPE(relocs[i].r_info); in genElfNanoRelocs()
741 uint32_t sym = ELF32_R_SYM(relocs[i].r_info); in genElfNanoRelocs()
744 " --> 0x%08" PRIx32, i, relocs[i].r_offset, type, sym, in genElfNanoRelocs()
750 if (!IS_IN_RAM(relocs[i].r_offset)) { in genElfNanoRelocs()
754 uint32_t offset = relocs[i].r_offset - RAM_BASE; in genElfNanoRelocs()