Home
last modified time | relevance | path

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

/device/google/contexthub/util/nanoapp_postprocess/
Dpostprocess.c96 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()
[all …]
/device/google/contexthub/firmware/misc/cpu/cortexm4f/
Dapp.lkr25 * list of relocs
33 …After this image is produced a nonoapp_postprocess unitily will process relocs and symbols and com…
34 …elf potentially to adjust for new reloc format. This shrinks relocs a lot. GCC produces relocs at 8
36 from there into relocs and app image itself, generating 4 bytes per reloc of "nano reloc data"
96 .relocs : {
98 /* relocs */
/device/google/contexthub/firmware/app/
Dcommon.mk32 $(OBJCOPY) -j.relocs -j.flash -j.data -j.dynsym -O binary $(APP_ELF) $(APP_BIN)