sim/ucsim/gui.src/Makefile.in: target "install" builds the same packages as target...
[fw/sdcc] / ChangeLog
index 722dc3dfb60ce957a23c396e137ecbb611ecb961..0c5bbb9c19d912debe1da90fd1f3848d47d21895 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,213 @@
+2003-04-19  Bernhard Held <bernhard@bernhardheld.de>
+
+       * as/z80/Makefile: fix permanent rebuild of z80
+       * sim/ucsim/gui.src/Makefile.in: target "install" builds the same packages as target "all"
+
+2003-04-18     Kevin Vigor <kevin@vigor.nu>
+
+       * src/SDCCopt.c: add special case optimization to replace modulo by
+         a power of two with a bitwise AND.
+
+2003-04-18    <johan@balder>
+
+       * src/mcs51/gen.c (getFreePtr): fixed bug #635354
+
+2003-04-17    <johan@balder>
+
+       * src/mcs51/ralloc.c (packRegsForAssign): fixed bug #716790 and removes lot's of redundant register usage around function calls
+       * src/mcs51/ralloc.c (packRegisters): fixed bug #720667
+
+2003-04-13  Borut Razem <borut.razem@siol.net>
+
+       * doc/sdccman.lyx: updated info about #pragma SAVE/RESTORE nesting
+       * configure.in, configure: fixed problems on cygwin/WinCVS environmet with ports.* line endings;
+         fixed mingw problem in adl_NORMALIZE_PATH
+
+2003-04-12  Borut Razem <borut.razem@siol.net>
+
+       * fixed "#pragma SAVE/RESTORE can not be nested":
+       * src/SDCC.lex: reworked pragma handling functions
+       * sdcc/src/SDCCglobl.h: reworked stack handling macros
+       * support/Util/SDCCerr.c, support/Util/SDCCerr.h: added E_STACK_VIOLATION error
+
+2003-04-12  Bernhard Held <bernhard@bernhardheld.de>
+
+       * src/SDCCutil.c (pathEquivalent): defined but not used
+       * debugger/mcs51/sdcdb.c: replace SDCC_LIB_DIR
+       * configure.in: remove sdcc_datadir, sdcc_lib_dir and sdcc_include_dir
+       * configure: rebuilt from configure.in
+       * sdccconf_in.h: remove SDCC_LIB_DIR and SDCC_INCLUDE_DIR
+       * sdcc_vc_in.h: remove SDCC_LIB_DIR and SDCC_INCLUDE_DIR
+       * device/include/Makefile.in: replace sdcc_datadir
+       * device/lib/Makefile.in: replace sdcc_datadir
+       * Makefile.common.in: add LDFLAGS from configure
+       * packihx/Makefile.in: use LDFLAGS
+       * src/Makefile.in: use LDFLAGS
+       * support/cpp2/Makefile.in: add LDFLAGS from configure
+       * support/makebin/Makefile: use LDFLAGS
+       * .version: bumped version number to 2.3.5
+
+2003-04-12  Borut Razem <borut.razem@siol.net>
+
+       * completed "different paths" task:
+       * src/SDCCmacro.c: fixed bug in handling quotes
+       * src/SDCCutil.c, src/SDCCutil.c: rewritten getPrefixFromBinPath()
+       * src/SDCCmain.c: _discoverPaths() replaced with setBinPaths(), setIncludePath() and setLibPath()
+
+2003-04-12  Bernhard Held <bernhard@bernhardheld.de>
+
+       * src/pic/pcoderegs.c (Remove1pcode): fix warning on alpha
+
+2003-04-11 kevin Vigor <kevin@vigor.nu>
+
+       * ds390/gen.c ds390/peeph.def: fix bug 706781
+
+2003-04-11  Borut Razem <borut.razem@siol.net>
+
+       * support/Util/dbuf.c, support/Util/dbuf.h: update to version 1.1.1 - re-added C++ stuff to make it still more portable
+
+2003-04-10  Scott Dattalo  <scott@dattalo.com>
+
+       * src/pic/* Applied the pointer-to-function patch from Steve Tell.
+       * src/pic/* Fixed several pointer bugs. (PIC port broke when the ruonly bit was
+        set - this bit used to not be set...).
+        * src/pic/gen.c Fixed buf 609268 ==> x = (x+1) & 0xf; generated 
+          bad code in PIC Port
+        * src/regression/and2.c added to test bug 609268
+        * src/regression/Makefile added and2.c to regression test
+
+
+2003-04-08    <johan@CP255758-A>
+
+       * src/mcs51/gen.c (gen51Code): display reg usage in --icode-in-asm
+       * src/mcs51/ralloc.c (serialRegAssign): update the registers in use and save some slocs
+       * src/SDCCicode.h: added riu to show the register usage in --icode-in-asm
+
+2003-04-07  Bernhard Held <bernhard@bernhardheld.de>
+
+       * configure.in: fully support prefix, exec_prefix, datadir, docdir;
+       fix bug #487815
+       * support/cpp2/Makefile.in: fix bug #487815
+       * configure: rebuilt from configure.in
+       * Makefile.common.in: docdir changed, new path suffixes
+       * sdccconf_in.h: new RETSIGTYPE, and other PATHs
+       * sdcc_vc_in.h: reflect changes from sdccconf.h
+       * src/SDCCglobl.h: remove *SEPARATOR_CHARS, they are now in sdccconf.h
+       * src/SDCCutil.h: remove BINDIR hack
+       * doc/sdccman.lyx: update new path hierarchy
+
+2003-04-06    Paul Stoffregen <paul@pjrc.com>
+
+       * src/SDCCpeeph.c: added okToRemoveSLOC test
+
+2003-04-06    Paul Stoffregen <paul@pjrc.com>
+
+       * device/lib/printf_fast.c: added leading zero format ("%06d", etc)
+
+2003-04-06    Paul Stoffregen <paul@pjrc.com>
+
+       * src/SDCCpeeph.c: added labelIsReturnOnly test
+       * src/mcs51/peeph.def: Peephole 244: replace ljmp to ret with ret
+
+2003-04-05    <johan@balder>
+
+       * src/SDCCcse.c (cseAllBlocks): fixed bug #460088
+       * src/SDCCloop.c (DEFSETFUNC): fixed bug #460088
+       * src/SDCCopt.c (eBBlockFromiCode): fixed bug #460088
+       * src/SDCCast.c: fixed a warning
+       * src/SDCCast.h: fixed a warning
+       * src/SDCCicode.c (operandFromAst): fixed a warning
+
+2003-04-04    <johan@balder>
+
+       * src/SDCCloop.c (DEFSETFUNC): undid the fix for bug #519584
+       * src/SDCCast.c (decorateType): fixed bug #715076
+       * src/SDCC.y: fixed bug #702907
+
+2003-04-03    <johan@balder>
+
+       * device/lib/_mulint.c (_muluint): new #pragma LESS_PEDANTIC
+       * src/SDCCopt.c (eBBlockFromiCode): new #pragma LESS_PEDANTIC
+       * src/SDCCglobl.h (PRAGMA_LESSPEDANTIC): new #pragma LESS_PEDANTIC
+       * src/SDCC.lex (doPragma): new #pragma LESS_PEDANTIC
+       * src/SDCCmain.c (parseCmdLine): new #pragma LESS_PEDANTIC
+
+2003-04-03  Bernhard Held <bernhard@bernhardheld.de>
+
+       * _decdptr.c: fix return values
+       * _gptrget.c: fix return values
+       * _gptrgetc.c: fix return values
+       * _gptrput.c: fix return values
+       * _mulint.c: fix return values
+       * as/z80/Makefile: fix 'make -j' problem
+
+2003-04-02  Bernhard Held <bernhard@bernhardheld.de>
+
+       * Makefile.common.in: unused PORT, SCC and SAS removed, fixed docdir
+       * configure.in: big cleanup, updated to autoconf 2.5x
+       * configure: rebuilt from configure.in
+       * sdccconf_in.h: new RETSIGTYPE, and other PATHs
+       * sdcc_vc_in.h: reflect changes from sdccconf.h
+       * doc/Makefile: fixed a flaw in "make install"
+
+2003-04-02    <johan@balder>
+
+       * src/ds390/gen.c (genCmp): no comments
+       * src/mcs51/gen.c (genCmp): no comments
+       * src/SDCCopt.c (eBBlockFromiCode): detect missing return values
+       * src/SDCCast.c (ast_print): fixed the function type in --dumptree
+
+2003-04-01  Bernhard Held <bernhard@bernhardheld.de>
+
+       * support/regression/generate-cases.py: place generated file in given sub directory
+       * support/regression/ports/host/spec.mk: prevent removal of testfwk.o
+       * support/regression/Makefile: improvements for 'make -j';
+       side effect: it's simpler and faster now
+
+2003-03-31  Borut Razem <borut.razem@siol.net>
+
+       * src/z80/main.c: link-{port} and as-{port} defined without path
+       * src/src.dsp: support/Util/MySystem.h and src/SDCCutil.h added to project
+
+2003-03-31  Bernhard Held <bernhard@bernhardheld.de>
+
+       * Makefile, src/Makefile.in: add dependencies, so that 'make -j' works
+
+2003-03-30  Borut Razem <borut.razem@siol.net>
+
+       * support/Util/BuildCmd.c, support/Util/BuildCmd.h: rewrite buildCmdLine(),
+         changed type of list parameter to set
+       * src/ds390/main.c: changed type of parameter asmOptions to set in _tininative_do_assemble()
+       * src/port.h: changed type of do_assemble() parameter to set
+       * src/SDCCmain.c: type of asmOptions changed to set, introduced setParseWithComma(),
+         sdcpp defined without path, removed variable VersionString, introduced set binPathSet,
+         definition of "cppoutfilename" macro with NULL value in preProcess()
+       * src/SDCCglobl.h: included "SDCCset.h", added declaration of setParseWithComma()
+       * src/SDCCglue.c: removed variable VersionString, inroduced spacesToUnderscores()
+       * support/Util/MySystem.c, support/Util/MySystem.h: rewrite, char *ExePathList[]
+         replaced with set *binPathSet
+       * shash_add() deallocates the item, if allready exsists, before adding the new one
+       * src/SDCCmacro.c: handling macros with empty or NULL values in _evalMacros()
+
+2003-03-30  Scott Dattalo  <scott@dattalo.com>
+
+       * src/pic/gen.c: Commit patch from Steve Tell <tell@telltronics.org> that fixes
+         a nested for loop bug in the PIC port
+       * src/regression/nestfor.c: new regression test file Steve wrote to test nested
+         for loops
+
+2003-03-29  Bernhard Held <bernhard@bernhardheld.de>
+
+       * support/Util/dbuf.h: remove C++ stuff to make it portable
+
+2003-03-28  Borut Razem <borut.razem@siol.net>
+
+       * src/SDCC.lex: Fix for bug #711240: dynamic buffer handling of C
+          literal strings in stringLiteral()
+       * support/Util/dbuf.c, support/Util/dbuf.h: added: dynamic buffer handling
+       * src/Makefile.bcc, src/Makefile.in, src\src.dsp: added support/Util/dbuf.c
+          to the project
+
 2003-03-27  Paul Stoffregen <paul@pjrc.com>
 
        * src/SDCCpeeph.c (pcDistance): accurate byte distance for mcs51