Lines Matching refs:DBG

100 #define DBG(fmt, ...) fprintf(stdlog, fmt "\n", ##__VA_ARGS__)  macro
147DBG("SortedReloc[%3zu] = {0x%08" PRIX32 ",0x%02" PRIX8 "}", i, app->nanoReloc[i].ofstInRam, app->n… in packNanoRelocs()
166 DBG("Out: RelocTC [size 1] // to 0x%02" PRIX8, app->nanoReloc[i].type); in packNanoRelocs()
171 DBG("Out: RelocTC [size 2] (0x%02" PRIX8 ") // to 0x%02" PRIX8, in packNanoRelocs()
192 DBG("Out: Reloc0 [size 2]; repeat=%zu", j); in packNanoRelocs()
204 DBG("Out: Reloc8 [size 1] 0x%02" PRIX32, displacement); in packNanoRelocs()
208 DBG("Out: Reloc16 [size 3] 0x%06" PRIX32, displacement); in packNanoRelocs()
215 DBG("Out: Reloc24 [size 4] 0x%08" PRIX32, displacement); in packNanoRelocs()
223 DBG("Out: Reloc32 [size 5] 0x%08" PRIX32, displacement); in packNanoRelocs()
287 DBG("Final binary size %zu bytes", binarySize); in finalizeAndWrite()
288 DBG(""); in finalizeAndWrite()
289 DBG(" FW header size (flash): %6zu bytes", FLASH_RELOC_OFFSET); in finalizeAndWrite()
290 DBG(" Code + RO data (flash): %6zu bytes", inf->codeAndRoDataSize); in finalizeAndWrite()
291 DBG(" Relocs (flash): %6zu bytes", inf->packedNanoRelocSize); in finalizeAndWrite()
292 DBG(" GOT + RW data (flash & RAM): %6zu bytes", gotSz); in finalizeAndWrite()
293 DBG(" BSS (RAM): %6zu bytes", bssSz); in finalizeAndWrite()
294 DBG(""); in finalizeAndWrite()
295 DBG("Runtime flash use: %zu bytes", in finalizeAndWrite()
297 DBG("Runtime RAM use: %zu bytes", gotSz + bssSz); in finalizeAndWrite()
319 DBG("Fixup addr 0x%08" PRIX32 " (RAM) --> 0x%08" PRIX32, old, *addr); in fixupAddress()
324 DBG("Fixup addr 0x%08" PRIX32 " (FLASH) --> 0x%08" PRIX32, old, *addr); in fixupAddress()
470 DBG("Found %zu relocs and a %zu-entry symbol table", app.relocSize, app.symtabSize); in handleApp()
505DBG("Reloc[%3" PRIu32 "]:\n {@0x%08" PRIX32 ", type %3" PRIu32 ", -> sym[%3" PRIu32 "]: {@0x%08" P… in handleApp()
529 DBG(" -> Nano reloc skipped for in-header reloc"); in handleApp()
543DBG(" -> Nano reloc calculated as 0x%08" PRIX32 ",0x%02" PRIX8 "\n", nanoReloc->ofstInRam, nanoRe… in handleApp()
735 DBG("Read %" PRIu32 " bytes from %s", bufUsed, posArg[0]); in main()