emitted, do not emit them again...
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4594
4a8a32a2-be11-0410-ad9d-
d568d2c75423
+2007-01-22 Raphael Neider <rneider AT web.de>
+
+ * src/pic/glue.c (pic14emitRegularMap): mark initialized symbols as
+ emitted, do not emit them again...
+
2007-01-22 Raphael Neider <rneider AT web.de>
* src/regression/bank1.c, src/regression/compare6.c,
2007-01-22 Raphael Neider <rneider AT web.de>
* src/regression/bank1.c, src/regression/compare6.c,
//dbuf_printf (&map->oBuf, "\t.ds\t0x%04x\n", (unsigned int)getSize (sym->type) & 0xffff);
}
//dbuf_printf (&map->oBuf, "\t.ds\t0x%04x\n", (unsigned int)getSize (sym->type) & 0xffff);
}
+ /* if it has a initial value then do it only if
+ it is a global variable */
+ if (sym->ival) {
+ /* mark symbol as already defined */
+ pic14_stringInSet(sym->name, &emitted, 1);
+ pic14_stringInSet(sym->rname, &emitted, 1);
+ }
#if 0
/* if it has a initial value then do it only if
it is a global variable */
#if 0
/* if it has a initial value then do it only if
it is a global variable */