Home
last modified time | relevance | path

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

/device/google/contexthub/util/nanoapp_postprocess/
Dpostprocess.c84 struct RelocEntry *reloc; member
333 static void relocDiag(const struct NanoAppInfo *app, const struct RelocEntry *reloc, const char *ms… in relocDiag() argument
335 size_t symIdx = reloc->info >> 8; in relocDiag()
336 uint8_t symType = reloc->info; in relocDiag()
338 ERR("Reloc %zu %s", reloc - app->reloc, msg); in relocDiag()
340 ERR(" Where: 0x%08" PRIX32, reloc->where); in relocDiag()
351 static uint8_t fixupReloc(struct NanoAppInfo *app, struct RelocEntry *reloc, in fixupReloc() argument
356 uint32_t relocOffset = reloc->where; in fixupReloc()
362 } else if (IS_IN_RAM(reloc->where)) { in fixupReloc()
363 relocOffset = reloc->where - RAM_BASE; in fixupReloc()
[all …]
/device/google/contexthub/firmware/os/platform/stm32/lkr/
Dapp.lkr33 …onoapp_postprocess unitily will process relocs and symbols and compress them to a small reloc table
34 …while also modifying the app code itself potentially to adjust for new reloc format. This shrinks …
35 …bytes per reloc and symbols at 16 bytes per symbol. We remove all symbol infos (as we do not need …
36 from there into relocs and app image itself, generating 4 bytes per reloc of "nano reloc data"