lrh
[fw/sdcc] / ChangeLog
index 2ea5e440a6214e7f0d3b39c1bfa123f1e85facb9..722dc3dfb60ce957a23c396e137ecbb611ecb961 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,301 @@
+2003-03-27  Paul Stoffregen <paul@pjrc.com>
+
+       * src/SDCCpeeph.c (pcDistance): accurate byte distance for mcs51
+
+2003-03-26    <johan@balder>
+
+       * src/mcs51/gen.c (saveRegisters): catched symbol abuse
+       * src/ds390/gen.c (saveRegisters): catched symbol abuse
+       * src/SDCCast.c (decorateType): fixed " -v < 3"
+
+2003-03-23  Bernhard Held <bernhard@bernhardheld.de>
+
+       * doc/cdbfile.html: removed, replaced by cdbfileformat.lyx
+       Added Lenny Story's debug infrastructure changes:
+       * src/Makefile.in:  added new files cdbFile.c and SDCCdebug.c
+       * src/Makefile.bcc: added new files cdbFile.c and SDCCdebug.c
+       * src/cdbFile.c: added
+       * src/SDCCdebug.c: added
+       * src/SDCCdebug.h: added
+       * src/SDCCast.c (createFunction)
+       * src/SDCCglue.c (emitRegularMap, emitStaticSeg, emitOverlay, glue)
+       * src/SDCCmain.c (parseCmdLine, main)
+       * src/SDCCmem.c (redoStackOffsets)
+       * src/SDCCsymt.c (cdbStructBlock, cdbTypeInfo, cdbSymbol, cdbStruct, cdbStructBlock)
+       * src/SDCCsymt.h
+       * src/common.h
+       * src/avr/gen.c (genAVRCode)
+       * src/ds390/gen.c (gen390Code)
+       * src/mcs51/gen.c (gen51Code) 
+       * src/pic/gen.c (genpic14Code)
+       * src/pic/glue.c (pic14emitRegularMap, pic14emitStaticSeg, pic14emitOverlay, picglue)
+       * src/xa51/gen.c (genXA51Code)
+       * src/SDCCast.c: fixed "void foo(void){char c; -c < 0;}"
+
+2003-03-22  Frieder Ferlemann <Frieder.Ferlemann@web.de>
+
+       * src/mcs51/gen.c (genCodePointerGet): quicker code for bug #700797
+       * src/mcs51/peeph.def: added rules 177, 241.x to 243, touched 181, 182.x, 193.x
+
+2003-03-22    <johan@balder>
+
+       * src/SDCCicode.c (geniCodeDerefPtr): fixed bug #698231
+
+2003-03-21  Bernhard Held <bernhard@bernhardheld.de>
+
+       * support/scripts/sdcc_mingw32: adapted to configure from autoconf 2.54
+       * doc/cdbfileformat.lyx: added, written by Lenny Story
+       * doc/Makefile: added cdbfileformat.lyx
+       * doc/clean.mk: added cdbfileformat.lyx
+
+2003-03-20  Bernhard Held <bernhard@bernhardheld.de>
+
+       * src/mcs51/peeph.def: fix bug #705773
+
+2003-03-20    <johan@balder>
+
+       An sfr/sbit can have an "at #" AND an initializer
+       * src/SDCCsymt.c (checkSClass): 
+       * src/SDCCmem.c (allocGlobal): 
+       * src/SDCCmem.c (allocLocal): 
+       * src/SDCCast.c (createBlock): 
+
+2003-03-17  Bernhard Held <bernhard@bernhardheld.de>
+
+       * src/ds390/peeph.def: fix bug #704878: added rule 213.b suggested by Jan Rejlek
+
+2003-03-16    <johan@balder>
+
+       Undid the hackup of const and volatile, the problem is much bigger
+       * src/SDCC.y:1.65
+       * src/SDCCast.c:1.171
+       * src/SDCCglue.c:1.138
+       * src/SDCCicode.c:1.146
+       * src/SDCCsymt.c:1.150
+       * src/SDCCval.c:1.65
+
+2003-03-15  Bernhard Held <bernhard@bernhardheld.de>
+
+       * src/mcs51/ralloc.c (packRegsForAssign): fixed bug #703541
+       * src/ds390/gen.c (genAddrOf): fixed bug #704087
+
+2003-03-13    <johan@balder>
+
+       Hackup const and volatile modifiers in type chains a bit:
+       * src/SDCC.y:1.63
+       * src/SDCCast.c:1.169
+       * src/SDCCglue.c:1.136
+       * src/SDCCicode.c:1.143
+       * src/SDCCsymt.c1.146
+       * src/SDCCsymt.h1.59
+       * src/SDCCval.c:1.63
+
+2003-03-12    <johan@balder>
+
+       * src/SDCCBBlock.h: more LRH debugging junk
+       * src/SDCCcflow.h: more LRH debugging junk
+       * src/SDCCloop.c: more LRH debugging junk
+       * src/SDCC.y (struct_declaration): fixed bug #697590
+       * src/SDCCsymt.[hc] (cloneSpec): NEVER EVER use this again
+       * src/ds390/gen.c (aopForRemat): fixed bug #700031
+       * src/SDCCglue.c (emitStaticSeg): fixed bug #700797
+
+2003-03-11 Kevin Vigor <kevin@vigor.nu>
+       * src/SDCCpeeph.c: quit being lazy and made proper fix (peephole
+       test function names must now match exactly).
+       * src/SDCCcse.c: added special case in findCheaperOp to allow
+       extending a short integer. Makes less awful code for bug 700121 test case.
+
+2003-03-11  Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
+
+       * as/mcs51/lkmain.c: Added ASlink-Warning to messages 
+       * as/mcs51/lkaomf51.c: Fixed bug when linking asmblink example
+
+2003-03-11 Kevin Vigor <kevin@vigor.nu>
+
+       * src/SDCCpeeph.c: fix so that operandsNotEqualX functions are
+       actually called (operandsNotEqual() was called for all 
+       operandsNotEqualX tests).
+
+2003-03-11 Kevin Vigor <kevin@vigor.nu>
+
+       * src/SDCCcse.c: fix findCheaperOp to prevent replacing int types
+       with shorter literals. Fixes bug 700121.
+
+2003-03-11    <johan@balder>
+
+       * src/SDCCsymt.c (compareType): a (void *) can be assigned to any pointer
+
+2003-03-11  Bernhard Held <bernhard@bernhardheld.de>
+
+        * src/SDCCloop.c (mergeRegions): an evil beast is dead
+       * src/SDCCmain.c (preProcess): minor cleanup: eliminate preOutName
+
+2003-03-10  Borut Razem <borut.razem@siol.net>
+
+       * src/SDCCmain.c: pipe preprocessor's output
+       * support/Util/MySystem.c, support/Util/MySystem.h: added my_popen()
+       * sdcc_vc_in.h: define pclose as _pclose for WIN32
+       * src/SDCCglue.c, src/SDCCglue.h: added set pipeSet, added function closePipes,
+       which closes all pipes in pipeSet set
+       * src/SDCCset.c: free deleted item in function deleteSetItem()
+       * src/src.dsp, src/z80/z80.dsp: files support/Util/BuildCmd.c and support/Util/MySystem.c
+       moved from z80 to src subproject
+       * .version: increased version number to 2.3.4
+
+2003-03-10  Bernhard Held <bernhard@bernhardheld.de>
+
+       * support/regression/ports/mcs51/spec.mk: increase timeout for CF's sparc to 30s
+       * support/regression/ports/ds390/spec.mk: increase timeout for CF's sparc to 25s
+       * support/regression/ports/xa51/spec.mk: fix typo
+
+2003-03-09  Bernhard Held <bernhard@bernhardheld.de>
+
+       * src/SDCCglobl.h: PATH_MAX is already defined in mingw32 headers
+
+2003-03-09  Borut Razem <borut.razem@siol.net>
+
+       * src/SDCCmain.c: pipe preprocessor's output
+       * support/Util/MySystem.c, support/Util/MySystem.h: added my_popen()
+       * sdcc_vc_in.h: define pclose as _pclose for WIN32
+       * src/SDCCglue.c, src/SDCCglue.h: added set pipeSet, added function closePipes,
+       which closes all pipes in pipeSet set
+       * src/SDCCset.c: free deleted item in function deleteSetItem()
+       * src/src.dsp, src/z80/z80.dsp: files support/Util/BuildCmd.c and support/Util/MySystem.c
+       moved from z80 to src subproject
+
+2003-03-09  Borut Razem <borut.razem@siol.net>
+
+       * src/SDCCglue.c: re-implemented tempfilename() and tempfile(): using mkstemp() if available
+       * src/SDCCsymt.h: fixed MSVC and BORLANDC compilation (included SDCCglobl.h instead srccconf.h)
+       * sdcc_vc_in.h: explicitly undefined HAVE_MKSTEMP which is not available on BORLANDC and MSVC
+       * src/SDCCset.h: removed inclusion of sdccconf.h or sdcc_vc.h
+       * src/SDCCglobl.h: unification of WIN32 native definitions
+
+2003-03-09  Frieder Ferlemann <Frieder.Ferlemann@web.de>
+
+       * src/mcs51/gen.c: applied in-/dec patch mentioned on sdcc-devel 2003-03-01
+
+2003-03-08  Bernhard Held <bernhard@bernhardheld.de>
+
+       * src/configure.in:   check for endianess (even while cross-compiling)
+       * src/configure:      check for endianess (even while cross-compiling)
+       * src/configure_in.h: check for endianess (even while cross-compiling)
+       * src/avr/gen.c:        remove old endianess stuff
+       * src/mcs51/gen.c:      remove old endianess stuff
+       * src/ds390/gen.c:      remove old endianess stuff
+       * src/pic/gen.c:        remove old endianess stuff
+       * src/pic/genarith.c:   remove old endianess stuff
+       * src/pic/glue.c:       fix endianess check
+       * src/pic16/gen.c:      remove old endianess stuff
+       * src/pic16/genarith.c: remove old endianess stuff
+       * src/pic16/glue.c:     fix endianess check
+       * src/xa51/gen.c:       remove old endianess stuff
+       * src/z80/gen.c:        fix endianess check
+       * src/SDCCglue.c:       fix endianess check
+       * src/ds390/peeph.def: fix bug 700036
+
+2003-03-08  Bernhard Held <bernhard@bernhardheld.de>
+
+       * src/SDCCsymt.h: use appropriate data-types on host for SDCC's int and long
+       * src/configure: find appropriate data-types on host for SDCC's int and long
+       * src/configure.in: find appropriate data-types on host for SDCC's int and long
+       * src/sdccconf_in.h: find appropriate data-types on host for SDCC's int and long
+       * src/xa51/gen.c: use %d, not %ld for 4 byte variables
+
+2003-03-07    <johan@balder>
+
+       Just a big NOOP:
+               some minor cleanups before the big shot
+               OP_DEFS and OP_USES now use Kevin's protection
+               new option --nolabelopt
+
+       * src/SDCCBBlock.c:
+       * src/SDCCast.c,:
+       * src/SDCCcflow.c:
+       * src/SDCCcse.c:
+       * src/SDCCicode.c:
+       * src/SDCCicode.h:
+       * src/SDCClabel.c:
+       * src/SDCCloop.c:
+       * src/SDCCmain.c:
+       * src/ds390/ralloc.c:
+       * src/mcs51/ralloc.c:
+       * src/pic/ralloc.c:
+       * src/xa51/ralloc.c:
+       * src/z80/ralloc.c:
+
+2003-03-06  Bernhard Held <bernhard@bernhardheld.de>
+
+       * src/pic/pcode.c (get_op): fix 64 bit warnings
+       * src/pic/pcode.c (pCode2str): fix 64 bit warnings
+       * src/SDCChasht.c (newHashTable): fix 64 bit warnings
+       * src/SDCCsymt.c (checkTypeSanity): fix 64 bit warnings
+       * support/regression/tests/malloc.c: fix 64 bit warnings
+
+2003-03-04  Bernhard Held <bernhard@bernhardheld.de>
+
+       * src/mcs51/gen.c (genMinus): fixed bug 696436
+
+2003-03-02  Borut Razem <borut.razem@siol.net>
+
+       * src/SDCCmain.c: added BORLANDC, corrected MSVC in printVersionInfo()
+
+2003-02-26  Bernhard Held <bernhard@bernhardheld.de>
+
+       * configure.in: test for mkstemp
+       * sdccconf_in.h: add HAVE_MKSTEMP
+
+2003-02-24  Bernhard Held <bernhard@bernhardheld.de>
+
+       * device/include/ctype.h: removed warning while using --stack-auto
+       * device/include/malloc.h: removed warning while using --stack-auto
+       * device/include/string.h: removed warning while using --stack-auto
+
+2003-02-23  Borut Razem <borut.razem@siol.net>
+
+       * src/asm.h: corrected assertion in function printILine(): _pipe() was not executed on MSVC,
+       because NDEBUG is defined (see man assert)
+       * sdcc_vc_in.h: vsnprintf is defined as _vsnprintf on MSVC
+
+2003-02-23  Frieder Ferlemann <Frieder.Ferlemann@web.de>
+
+       * src/mcs51/gen.c (genUminusFloat): avoided dptr in-/decrement for xdata variables
+       * src/mcs51/peeph.def: added rule suggested by Gernot Fink, white space/comment changes
+
+2003-02-18  Frieder Ferlemann <Frieder.Ferlemann@web.de>
+
+        * src/SDCCpeeph.c: added peephole conditions testing for same arguments
+        * src/mcs51/peeph.def: added rules 238a-d which remove redundant moves
+
+2003-02-18    <johan@balder>
+
+       * as/mcs51/asmain.c (asmbl): module can start with a digit
+       * as/z80/asmain.c (asmbl): module can start with a digit
+
+2003-02-16  Bernhard Held <bernhard@bernhardheld.de>
+
+       * sim/ucsim/mkecho: inserted #!/bin/sh for Cygwin, so that it's executable
+       * src/asm.c: fix pipe() for Mingw32
+
+2003-02-15  Bernhard Held <bernhard@bernhardheld.de>
+
+       * src/SDCCglue.h: make tmpfileNameSet available for preOutName
+       * src/SDCCmain.c (preProcess): make sure, that preOutName will be deleted;
+       make -V work again; --c1mode reads now from stdin
+       * doc/sdccman.lyx: added --c1mode
+       * support/Util/SDCCerr.c: new messages for c1 mode
+       * support/Util/SDCCerr.h: new messages for c1 mode
+       * src/SDCC.lex (checkCurrFile): test if fullSrcFileName is NULL for c1mode
+
+2003-02-15    <johan@balder>
+
+       * src/asm.c: new options: --no-c-code-in-asm and --i-code-in-asm
+
+2003-02-14  Bernhard Held <bernhard@bernhardheld.de>
+
+       * doc/sdccman.lyx: Environment variables, -o and other minor things
+
 2003-02-14    <johan@balder>
 
        * src/xa51/main.c: before anyone really tries to use it :)