reported by Adam Wozniak in Sdcc-user list
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3262
4a8a32a2-be11-0410-ad9d-
d568d2c75423
+2004-03-12 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
+
+ * src/SDCCglue.c (printIvalPtr): fixed bug with pointer initializer
+ reported by Adam Wozniak in Sdcc-user list
+
2004-03-10 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCast.c (decorateType): fixed with bug and promotion in
2004-03-10 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCast.c (decorateType): fixed with bug and promotion in
case 3: // how about '390??
if (port->little_endian)
{
case 3: // how about '390??
if (port->little_endian)
{
- fprintf (oFile, "\t.byte %s,%s,#0x%d\n",
- aopLiteral (val, 0), aopLiteral (val, 1), GPTYPE_CODE);
+ fprintf (oFile, "\t.byte %s,%s,%s\n",
+ aopLiteral (val, 0), aopLiteral (val, 1), aopLiteral (val, 2));
- fprintf (oFile, "\t.byte %s,%s,#0x%d\n",
- aopLiteral (val, 1), aopLiteral (val, 0), GPTYPE_CODE);
+ fprintf (oFile, "\t.byte %s,%s,%s\n",
+ aopLiteral (val, 2), aopLiteral (val, 1), aopLiteral (val, 0));