* src/mcs51/main.c: fixed bug #737001 for the mcs51. SDCC clears xdata and data memor...
[fw/sdcc] / ChangeLog
index 82c464396a8c8b257faecf813c95ee7572342c24..166996d4ac691b648c0cdd8d413e44cc087b82bc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,114 @@
+2003-12-13 Frieder Ferlemann <Frieder.Ferlemann@web.de>
+
+       * src/mcs51/main.c: fixed bug #737001 for the mcs51. SDCC clears 
+       xdata and data memory on startup. Set the environment variable 
+       SDCC_NOGENRAMCLEAR to disable this.
+       * src/ds390/peephole.def: using the atomic test and clear instruction jbc
+       (allows non-interrupt and interrupt code to safely compete for a resource
+       without the non-interrupt code having to disable interrupts)
+
+2003-12-13 Erik Petrich <epetrich@ivorytower.norman.ok.us>
+
+       * src/SDCCicode.c (geniCodeAdd),
+       * src/SDCCast.c (decorateType): fixed bug #857753 (need to be careful
+       with valFromType if type might be a pointer and host is big endian).
+       * src/SDCCast.c (decorateType): unary plus compatible with all arithmetic
+       types, not just integer types.
+       * src/SDCCsymt.c (addSymChain): clarified error message when symbol is
+       multiply defined with mismatching "at" address.
+
+2003-12-12 Erik Petrich <epetrich@ivorytower.norman.ok.us>
+
+       * src/ds390/main.c (PORT tininative_port): fixed bug #858416
+       * src/SDCCglue.c (printChar, printIvalChar, emitStaticSeg),
+       * src/SDCCast.c (createIvalCharPtr, stringToSymbol): handle strings
+       with embedded nulls (fixed bug #753752)
+
+2003-12-12 Frieder Ferlemann <Frieder.Ferlemann@web.de>
+
+       * src/mcs51/main.c(_mcs51_genRAMCLEAR): using r0 instead of r1/r2.
+       Apparently this did not see much testing (endless loop)
+
+2003-12-11 Erik Petrich <epetrich@ivorytower.norman.ok.us>
+
+       * src/z80/ralloc.c: set DISABLE_PACK_HL = 1 as a temporary fix to bug #855165
+
+2003-12-10 Erik Petrich <epetrich@ivorytower.norman.ok.us>
+
+       * src/SDCCdebug.c (outputDebugSymbols, outputDebugStackSymbols, dumpSymInfo):
+       gracefully handle NULL memmap pointers
+
+2003-12-08 Erik Petrich <epetrich@ivorytower.norman.ok.us>
+
+       * src/SDCCopt.c (killDeadCode): change iCode type to DUMMY_READ_VOLATILE
+       instead of deleting the iCode when an operand is volatile
+       * src/z80/gen.c (genDummyRead),
+       * src/mcs51/gen.c (genDummyRead),
+       * src/ds390/gen.c (genDummyRead),
+       * src/hc08/gen.c (genDummyRead): handle operands in IC_LEFT and/or IC_RIGHT,
+       not just IC_RIGHT
+       * src/SDCCicode.c (geniCodeCall): fixed bug #851607
+       * src/SDCC.y: fixed bug #850420
+
+2003-12-05 Erik Petrich <epetrich@ivorytower.norman.ok.us>
+
+       Applied z80 i/o port patch from Peter Townson and fixed some operators
+       to better handle operands in A register.
+       * device/include/z180.h
+       * src/SDCC.y
+       * src/SDCCglue.c
+       * src/z80/gen.c
+       * src/z80/gen.h
+       * src/z80/main.c
+       * src/z80/peeph-z80.def
+       * src/z80/peeph.def
+       * src/z80/z80.h
+
+2003-12-03 Erik Petrich <epetrich@ivorytower.norman.ok.us>
+
+       * src/SDCCsymt.c (addSymChain, compareTypeExact): fixed bug #838241 again
+
+2003-12-01 Erik Petrich <epetrich@ivorytower.norman.ok.us>
+
+       * device/lib/hc08/_mullong.c: Removed extra #endif
+
+2003-12-01 Erik Petrich <epetrich@ivorytower.norman.ok.us>
+
+       * sim/ucsim/hc08.src/inst.cc,
+       * sim/ucsim/hc08.src/hc08mac.h: fixed some problems with CC flag bits and
+       carries from x to h
+       * src/hc08/gen.c (aopAdrStr): fixed problem with 16 bit immediate
+       * src/hc08/gen.c (XAccRsh): fixed problem with right shift
+       * device/include/stdarg.h: fixed varargs for hc08
+       * device/lib/Makefile.in,
+       * device/lib/hc08/Makefile,
+       * device/lib/hc08/_mulint.c,
+       * device/lib/hc08/_mullong.c: fixed some endian problems
+
+2003-11-28 Frieder Ferlemann <Frieder.Ferlemann@web.de>
+
+       * sdcc/src/mcs51/gen.c (genMultOneByte): help peephole 105
+       * sdcc/src/mcs51/peeph.def: added peephole 186.e array access in code space
+       * device/lib/_gptrget.c,
+       * device/lib/_gptrput.c: P2 not used any more (related to #850747, #785979)
+
+2003-11-27 Erik Petrich <epetrich@ivorytower.norman.ok.us>
+
+       * src/SDCClrange.c (findNextUseSym, rlivePoint): fixed bug #849795
+       * src/SDCCast.c (astErrors): fixed bug #846007
+       * src/SDCCsymt.c (checkFunction): fixed follow-up bug on bug #846007
+
+2003-11-26 Erik Petrich <epetrich@ivorytower.norman.ok.us>
+
+       * src/SDCCast.c (decorateType): disabled a transformation I added in
+       revision 1.188 (access to fields of a structure at an absolute address);
+       it breaks with bitfields, extern declarations, and gcse analysis.
+       * src/SDCCopt.c (isLocalWithoutDef): if ADDRESS_OF applied to a symbol, it
+       could be assigned through a pointer, so don't complain.
+       * src/SDCCast.c (astErrors),
+       * src/SDCCast.h,
+       * src/SDCCglue.c (emitRegularMap): fixed bug #847813
+
 2003-11-26 Vangelis Rokas <vrokas@otenet.gr>
        
        * src/pic16/main.c (_pic16_genIVT): fixed interrupt vector table