* sim/ucsim/mkecho: inserted #!/bin/sh for Cygwin, so that it's executable
[fw/sdcc] / ChangeLog
index 43cea7f04981751b8fe02e41f7ed057331d467c7..8d49de6b6876d04149da619df83c4d35d4cb150c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,199 @@
+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 :)
+
+       * Install doc's in share/sdcc/doc
+       * removed some obsolete files
+       * Do a proper make distclean and uninstall
+       M Makefile.common.in
+       R sdccbuild.sh
+       M as/Makefile
+       M device/include/Makefile.in
+       M device/lib/Makefile.in
+       M doc/sdccman.lyx
+       M link/Makefile
+       M sim/ucsim/doc/Makefile.in
+       M src/clean.mk
+       R src/avr/peeph.rul
+       R src/xa51/peeph.rul
+       M support/cpp2/Makefile.in
+       M support/makebin/Makefile
+
+
+2003-02-13  Bernhard Held <bernhard@bernhardheld.de>
+
+       * support/regression/ports/host/spec.mk: use cc as host compiler for max osx
+
+2003-02-10  Borut Razem <borut.razem@siol.net>
+
+       * doc/bccinst.txt, packihx/packihx.c, sdcc_vc_in.h, src/SDCCset.h,
+       support/cpp2/config.in: Borland C++ build doesn't depend on Cygwin configure
+       * Bcc.ini, Makefile.bcc, as/mcs51/Makefile.bcc,
+       device/examples/ds390/tinitalk/Makefile.bcc, packihx/Makefile.bcc,
+       support/cpp2/Makefile.bcc, src/Makefile.bcc, src/avr/Makefile.bcc,
+       src/ds390/Makefile.bcc, src/izt/Makefile.bcc, src/mcs51/Makefile.bcc,
+       src/pic/Makefile.bcc, src/pic16/Makefile.bcc, src/xa15/Makefile.bcc,
+       src/z80/Makefile.bcc: Borland Makefile cleanup
+       * as/z80/Makefile.bcc: Added Borland Makefile
+       * support/cpp2/borland.h: Removed
+
+2003-02-10  Bernhard Held <bernhard@bernhardheld.de>
+
+       * doc/sdccman.lyx: new pragma NOIV by "Johannes Stezenbach" <js@convergence.de>
+       * src/SDCC.lex: new pragma NOIV
+       * src/SDCCglobl.h: new pragma NOIV
+       * src/SDCCmem.c: new pragma NOIV
+
+2003-02-09  Bernhard Held <bernhard@bernhardheld.de>
+
+       * src/SDCCmain.c: signal handling is switched off by SDCC_LEAVE_SIGNALS
+
+2003-02-09  Bernhard Held <bernhard@bernhardheld.de>
+
+       * src/SDCCmain.c: signal handling is switched off by --debug
+       * doc/Makefile: small fix for install; use clean.mk again
+       * doc/clean.mk: clean *.pdf and *.html too
+
+2003-02-08  Bernhard Held <bernhard@bernhardheld.de>
+
+       * device/lib/_mulint.c: small fix for large/ds390 --int-long-reent resp. --stack-auto
+       * device/lib/printfl.c: fix a ds390 bug by making it portable
+       * src/SDCCsymt.c (initCSupport): fix compile warning on Cygwin
+       * src/SDCCopt.c (cnvToFloatCast): fix compile warning on Cygwin
+       * src/SDCCopt.c (cnvFromFloatCast): fix compile warning on Cygwin
+       * debugger/mcs51/cmd.c: converted multi-line string literals
+       * sim/ucsim/globals.cc: converted multi-line string literals
+       * src/SDCCmain.c: introduced signal handler to remove temp files
+       * doc/Makefile: small tweaks, implement clean
+       * doc: removed generated files
+
+2003-02-05  Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
+
+       * as/mcs51/aslink.h, as/mcs51/lkihx.c, as/mcs51/lkrloc.c:  Applied
+       patch from Jan Rejlek <jr@apex-lib.cz> to fix Bug 677692: "Extended
+       Address Record is not correctly generated for DS390."
+
+2003-02-02  Borut Razem <borut.razem@siol.net>
+
+       * Makefile.bcc: removed non existing cpp project and non compilable izt project from makefile
+       * as/mcs51/asm.h: fixed compilation with Borland C
+       * support/cpp2/Makefile.bcc: added rule to generate auto-host.h
+       * support/cpp2/auto-host_vc_in.h: fixed compilation with Borland C
+       * src/mcs51/mcs51a.dsp: corrected misspelled project name from msc51a to mcs51a
+       * src/avr/Makefile.bcc, src/ds390/Makefile.bcc, src/izt/Makefile.bcc,
+       src/mcs51/Makefile.bcc, src/pic16/Makefile.bcc, src/xa51/Makefile.bcc,
+       src/z80/Makefile.bcc: delete $(LIB) only if exist
+       * src/Makefile.bcc, src/pic/Makefile.bcc:  fixed compilation with Borland C
+
+2003-02-02  Bernhard Held <bernhard@bernhardheld.de>
+
+       * device/include/malloc.h: introduced NULL
+       * device/include/string.h: introduced NULL
+       * device/include/stdlib.h: introduced NULL
+       * device/lib/_memcpy.c: removed NULL
+       * device/lib/_strcat.c: removed NULL
+       * device/lib/_strchr.c: removed NULL
+       * device/lib/_strcmp.c: removed NULL
+       * device/lib/_strcpy.c: removed NULL
+       * device/lib/_strcspn.c: removed NULL
+       * device/lib/_strlen.c: removed NULL
+       * device/lib/_strncat.c: removed NULL
+       * device/lib/_strncmp.c: removed NULL
+       * device/lib/_strncpy.c: removed NULL
+       * device/lib/_strpbrk.c: removed NULL
+       * device/lib/_strrchr.c: removed NULL
+       * device/lib/_strspn.c: removed NULL
+       * device/lib/_strstr.c: removed NULL
+       * device/lib/_strtok.c: removed NULL
+       * device/lib/malloc.c: removed NULL, include own header
+
+2003-02-02    <johan@balder>
+
+       * src/mcs51/ralloc.c (packForPush): fixed bug #631653, maybe other ports need this too? At least now some new alerts in SDCCBBlock.c and SDCCicode.c gives an early warning
+       * support/regression/fwk/lib/testfwk.c: div and mod isn't broken anymore
+       * regressions ds390/spec.mk and mcs51/spec.mk (timeout): my good old balder isn't fast enough for some tests
+       * src/z80/gen.c (genZ80Code): added c-lines in asm comments
+       * as/z80/asm.h (NINPUT): increased for long c-comments in regression tests
+       * src/z80/gen.c (genRightShiftLiteral): fixed the (char)(-3)>>8 (I think)
+
+2003-02-01  Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
+
+       * src/SDCCmain.c: Fixed bug 678574: "ds390: ASlink-Error-Stack overlaps
+       area 'DATA'"
+
+2003-02-01    <johan@balder>
+
+       * src/SDCCval.c (valBitwise): fixed Karl's "2 | (1<<8)"
+
+2003-01-31    <johan@CP255758-A>
+
+       * src/ds390/main.c (_ds390_genAssemblerPreamble): applied Jan Rejlek's >64K startup patch
+
+2003-01-30    <johan@balder>
+
+       * src/SDCCBBlock.c: automatic bug detection
+       * src/SDCCicode.c: automatic bug detection
+
+2003-01-29  Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
+
+       * src/SDCCglobl.h:   now --xram-size 0 works
+       * src/SDCCmain.c:    now --xram-size 0 works
+
+2003-01-29    <johan@balder>
+
+       * src/almosteverything: changed OP_DEFS and OP_USES from macros to functions to catch symbol abuse (a hot topic in the bug list :)
+
+2003-01-29  Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
+
+       * as/mcs51/aslink.h: Added options --xram-size and --code-size 
+       * as/mcs51/lkdata.c: Added options --xram-size and --code-size 
+       * as/mcs51/lkmain.c: Added options --xram-size and --code-size 
+       * as/mcs51/lkmem.c:  Added options --xram-size and --code-size 
+       * src/SDCCglobl.h:   Added options --xram-size and --code-size 
+       * src/SDCCmain.c:    Added options --xram-size and --code-size 
+
+2003-01-28  Bernhard Held <bernhard@bernhardheld.de>
+
+       * src/ds390/gen.c: fix deps by replacing <common.h> with "common.h"
+       * src/SDCC.lex: rename P_OVERLAY to P_OVERLAY_ for cross-gcc 3.2 MINGW32
+
+2003-01-27    <johan@balder>
+
+       * src/SDCC.y: fixed bug #613764
+
+2003-01-26    <johan@balder>
+
+       * src/SDCClrange.c:  fixed Bernhard's "char * code ptr = &c"
+       * src/SDCCsymt.h: fixed bug #673374
+       * src/SDCCglue.c: fixed bug #661910
+       * src/SDCCast.c: fixed bug #458099 and 673374
+
 2003-01-26  Bernhard Held <bernhard@bernhardheld.de>
 
-       * as/mcs51/strcmpi.c: added, provides as_strcmpi(); strcmpi() is not ANSI
+       * as/mcs51/strcmpi.c: added, provides Aurelien Jarno's as_strcmpi(); strcmpi() is not ANSI
        * as/mcs51/strcmpi.h: added
        * as/mcs51/asm.h: remove ugly "#define strcmpi strcmp"
        * as/mcs51/aslink.h: remove ugly "#define strcmpi strcmp"
        * as/mcs51/Makefile.asx8051: new module strcmpi
        * as/mcs51/Makefil.bcc: new module strcmpi
        * as/mcs51/Makefile.in: new module strcmpi
+       * sim/ucsim/s51.src/uc390.cc (get_mem_size): make RAM big enough for tinibios
 
 2003-01-26    <johan@balder>