X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2FSDCCglue.c;h=c05896df5a0e7b88cbbe22737f0be19fc33b4709;hb=3df17c583bad53f0ee98c8a2464222431584a62b;hp=32e4e654f31c18817904bcc9097ce799f34d5caa;hpb=80e14d4d7f9a3a1d6d90d5a160dc3595ba1983c1;p=fw%2Fsdcc diff --git a/src/SDCCglue.c b/src/SDCCglue.c index 32e4e654..c05896df 100644 --- a/src/SDCCglue.c +++ b/src/SDCCglue.c @@ -23,7 +23,6 @@ -------------------------------------------------------------------------*/ #include "common.h" -#include "asm.h" #include #include "newalloc.h" #include @@ -1270,8 +1269,10 @@ emitStaticSeg (memmap * map, struct dbuf_s * oBuf) dbuf_tprintf (oBuf, "\t!org\n", SPEC_ADDR (sym->etype)); } dbuf_printf (oBuf, "%s:\n", sym->rname); + ++noAlloc; resolveIvalSym (sym->ival, sym->type); printIval (sym, sym->type, sym->ival, oBuf); + --noAlloc; /* if sym is a simple string and sym->ival is a string, WE don't need it anymore */ if (IS_ARRAY(sym->type) && IS_CHAR(sym->type->next) &&