EXEEXT introduces to solve Cygwin problems
[fw/sdcc] / ChangeLog
index 08125f9fdf3918fe9973e5a213666b854824accb..8641431f522ef740748efe4e13c9573cdf2d1f88 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,949 @@
+2003-04-24  Bernhard Held <bernhard@bernhardheld.de>
+
+       Cygwin's gcc always appends .exe: 'gcc -o a a.c' creates a.exe;
+       EXEEXT was introduced to fix all related problems with targets
+       "clean", "install" and "uninstall"; a couple of further flaws
+       especially with "clean" have been fixed too
+       * as/mcs51/Makefile.in
+       * as/mcs51/clean.mk
+       * as/z80/Makefile
+       * Makefile
+       * clean.mk
+       * debugger/mcs51/Makefile.in
+       * debugger/mcs51/clean.mk
+       * link/z80/Makefile
+       * link/z80/Makefile.in
+       * link/z80/clean.mk
+       * link/Makefile
+       * packihx/Makefile.in
+       * packihx/clean.mk
+       * sim/ucsim/Makefile
+       * sim/ucsim/clean.mk
+       * sim/ucsim/avr.src/Makefile.in
+       * sim/ucsim/avr.src/clean.mk
+       * sim/ucsim/s51.src/Makefile.in
+       * sim/ucsim/s51.src/clean.mk
+       * sim/ucsim/xa.src/Makefile.in
+       * sim/ucsim/xa.src/clean.mk
+       * sim/ucsim/z80.src/Makefile.in
+       * sim/ucsim/z80.src/clean.mk
+       * sim/ucsim/main_in.mk
+       * sim/ucsim/packages_in.mk
+       * sim/ucsim/gui.src/Makefile.in
+       * sim/ucsim/gui.src/serio.src/Makefile.in
+       * sim/ucsim/gui.src/serio.src/clean.mk
+       * src/Makefile.in
+       * src/clean.mk
+       * support/cpp2/Makefile.in
+       * support/cpp2/clean.mk
+       * support/makebin/Makefile
+       * support/makebin/clean.mk
+       * support/scripts/sdcc_mingw32: --program-suffix no longer needed
+       * doc/sdccman.lyx: --program-suffix no longer needed
+
+2003-04-23  Karl Bongers(apply patches for Martin Helmling)
+
+        * debugger/mcs51/sdcdb.c,simi.c,cmd.c,..
+        Martin Helmling added support for ddd GUI debugger.
+        Code added to display assembly, set variables, and other commands
+        to interface to ddd.
+
+2003-04-23  Bernhard Held <bernhard@bernhardheld.de>
+
+       * as/Makefile: fix target clean
+       * as/clean.mk: fix target clean
+       * as/z80/clean.mk: fix target clean
+
+2003-04-22  Bernhard Held <bernhard@bernhardheld.de>
+
+       * Makefile.common.in: added @EXEEXT@
+       * configure.in: removed all mingw32 stuff
+       * configure: rebuilt from configure.in
+       * doc/sdccman.lyx: updated section "installation"
+       * support/scripts/sdcc_mingw32: adapted to configure
+       * support/scripts/sdcc_cygwin_mingw32: added
+
+2003-04-22  Scott Dattalo  <scott@dattalo.com>
+
+       * src/pic Added object file support for the PIC port
+       * src/pic Applied patch from Craig Franklin (this started the object file support)
+       * src/regression Updated the PIC regression tests for object files
+
+2003-04-20  Borut Razem <borut.razem@siol.net>
+
+       * sdcc/as/mcs51/lklex.c: make getfid() more robust and fixed gcc warning:
+         lklex.c: In function `getfid':
+         lklex.c:203: warning: array subscript has type `char'
+       * src/SDCCglobl.h: small change in stack handling macros, to avoid crash when compiled
+         with MSVC with global optimization enabled (probably an cl compiler bug ;-)
+       * support/Util/SDCCerr.c, support/Util/SDCCerr.h: added function fatal(), called from
+         stack handling macros
+
+2003-04-19  Borut Razem <borut.razem@siol.net>
+
+       * "handling space characters in file path" task:
+       * src/SDCCmacro.c: fixed bug in handlig quote at the end of line
+       * support/Util/BuildCmd.c: define par as NULL if parameter value is invalid
+       * support/Util/MySystem.h: make it self-sufficient
+       * src/avr/main.c, src/ds390/main.c, src/mcs51/main.c, src/pic/main.c, src/xa51/main.c,
+         src/z80/main.c, sdcc/as/mcs51/lklex.c:
+         handling space characters in file path
+       * src/SDCCmain.c: introduced setDataPaths() function, {datadir} macro
+         (it will be used by assemblers, which have their own includes, e.g. gpasm)
+       * support/Util/MySystem.c: handling space characters in executable's path
+
+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"
+       * support/regression/tests/bitfields.c: added Johan's bitfields.c
+
+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
+
+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 :)
+
+       * 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 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/asmain.c: strcmpi -> as_strcmpi
+       * as/mcs51/assym.c: strcmpi -> as_strcmpi
+       * as/mcs51/lkmem.c: strcmpi -> as_strcmpi
+       * as/mcs51/lknoice.c: strcmpi -> as_strcmpi
+       * as/mcs51/lksym.c: strcmpi -> as_strcmpi
+       * as/mcs51/Makefile.aslink: new module strcmpi
+       * 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>
+
+       * src/SDCCglue.c: reverted back to 1.124
+       * src/SDCCast.c: reverted back to 1.156
+       * src/mcs51/gen.c (aopGet): applied Frieder's efficiency patch
+
+2003-01-25    <johan@balder>
+
+       * src/SDCCglue.c: A better fix for bug #661910
+       * src/SDCCast.c: A better fix for bug #661910
+       * src/SDCCglue.c (emitRegularMap): That was a little too efficient
+
+2003-01-24  Bernhard Held <bernhard@bernhardheld.de>
+
+       * src/Makefile.in: remove spawn.o
+       * src/SDCCmain.c: remove spawn.h
+       * src/SDCCmain.c (printVersionInfo): report MINGW32 instead of UNIX
+       * src/spawn.c: removed
+       * src/spawn.h: removed
+       * support/regression/ports/ds390/spec.mk: link with -r
+
+2003-01-24    <johan@CP255758-A>
+
+       * src/ds390/gen.c (aopOp): fixed bug #667458
+       * src/SDCCglue.c (emitRegularMap): fixed bug #458099 again
+       * src/SDCCast.c (createIvalCharPtr): fixed bug #661910
+       (createIvalCharPtr): an ival doesn't always have a storage class anymore
+
+2003-01-24  Bernhard Held <bernhard@bernhardheld.de>
+
+       * src/mcs51/peeph.def: better assembler identation by Frieder
+       * src/mcs51/gen.c: better assembler identation by Frieder
+
+2003-01-22  Bernhard Held <bernhard@bernhardheld.de>
+
+       * as/z80/string.h: removed for gcc 3.2
+       * support/makebin/makebin.c: #include <string.h> for gcc 3.2
+       * src/pic/pcode.c (get_op_from_instruction): fix concatenation of string literals with __FUNCTION__ for gcc 3.2
+
+2003-01-19  Bernhard Held <bernhard@bernhardheld.de>
+
+       * src/SDCCmain.c (linkEdit): rename mem and map files even in case of failure
+       * src/SDCCpeeph.c (replaceRule): fix bug #663503
+       * support/regression/Makefile: separate temp files for ports
+       * support/regression/generate-cases.py: separate temp files for ports
+       * src/mcs51/peeph.def: Frieder: removed 237 (obsolete by 236g and 105); added 237 a/b
+       * src/ds390/peeph.def: Frieder: removed 237 (obsolete by 236g and 105); added 237 a/b
+
+2003-01-19  Bernhard Held <bernhard@bernhardheld.de>
+
+       * moved tinitalk to device/examples/ds390
+
+2003-01-14  Bernhard Held <bernhard@bernhardheld.de>
+
+       * as/mcs51/lkmem.c: rflag is for DS390
+       * src/SDCCglobl.h: removed out_name and options stackOnData, genericPtr
+       * src/SDCCmain.c (optionsTable, setDefaultOptions): removed --stack-after-data and --generic
+                        (linkEdit): move mem- and map-files the same way as ihx-files
+       * src/z80/main.c (_setDefaultOptions): removed --generic
+       * src/SDCCmain.c (_processC1Arg, parseCmdLine, main): --c1mode works again
+       * src/SDCCglue.c (createInterruptVect, glue): --c1mode works again
+       * src/pic/glue.c (picglue): --c1mode works again
+       * src/pic16/glue.c (pic16glue): --c1mode works again
+       * src/asm.c (printCLine): fix #660034
+
+2003-01-13  Bernhard Held <bernhard@bernhardheld.de>
+
+       * src/ds390/peeph.def: fix #123; add 14 rules by Fiorenzo D. Ramaglia <fd.ramaglia@tin.it>, 1 by Frieder
+       * src/mcs51/peeph.def: fix #123; add 14 rules by Fiorenzo, 1 by Frieder
+       * src/mcs51/gen.c (genFunction): emit r0 instead of ar0 by Fiorenzo
+       * as/mcs51/lkmem (summary): better fix for sp problem
+       * src/SDCCglue.c (glue): __start_stack - 1, saves 1 byte!
+       * src/ds390/main.c (_ds390_finaliseOptions, _tininative_finaliseOptions): stack_loc = 0x400008
+       * support/regression/ports/*/spec.mk: moving testfwk-object to port dir allow parallel execution of regression tests
+                                             remove --stack-after-data
+
+2003-01-12  Bernhard Held <bernhard@bernhardheld.de>
+
+       * src/SDCCmain.c (main): port->finaliseOptions() moved for z80 linking
+       * src/SDCCutil.c (join): ugly bug: missing '\0'
+       * as/mcs51/lkmem.c (summary): sp on address 7 is safe
+
+2003-01-11  Bernhard Held <bernhard@bernhardheld.de>
+
+       * src/SDCCmain.c (assemble, linkEdit): preparations for -o
+       * src/port.h: typo
+       * src/pic/main.c (_asmCmd): gpasm supports -o
+       * src/z80/main.c: more general macros
+       * device/lib/Makefile.in: remove intermediate files
+
+2003-01-11  Bernhard Held <bernhard@bernhardheld.de>
+
+       * .version: Bumped version number to 2.3.3
+       * src/SDCCBBlock.c: new option -o
+       * src/SDCCglobl.h: new option -o
+       * src/SDCCglue.c: new option -o
+       * src/SDCCmain.c: new option -o
+       * src/asm.c: new option -o
+       * src/ds390/main.c: new option -o
+       * src/pic/glue.c: new option -o
+       * src/pic/pcode.c: new option -o
+       * src/pic/ralloc.c: new option -o
+       * src/pic16/glue.c: new option -o
+       * src/pic16/pcode.c: new option -o
+       * src/pic16/ralloc.c: new option -o
+       * src/z80/main.c: new option -o
+       * device/lib/Makefile.in: use -o
+       * support/regression/ports/ds390/spec.mk: use -o
+       * support/regression/ports/gbz80/spec.mk: use -o
+       * support/regression/ports/mcs51/spec.mk: use -o
+       * support/regression/ports/mcs51-stack-auto/spec.mk: use -o
+       * support/regression/ports/z80/spec.mk: use -o
+       * support/regression/ports/ucz80/spec.mk: use -o
+       * support/regression/ports/xa51/spec.mk: use -o
+       * support/regression/fwk/lib/timeout.c: fix usage string
+
+2003-01-09  Bernhard Held <bernhard@bernhardheld.de>
+       * src/mcs51/gen.c (genPlus): replaced "mov b,acc" by "mov b,a" Fiorenzo D. Ramaglia <fd.ramaglia@tin.it>
+       
+2003-01-07    <johan@balder>
+
+       * src/SDCCast.c (decorateType): fixed bug #600035
+
+2003-01-07  Bernhard Held <bernhard@bernhardheld.de>
+       * as/mcs51/lkmem.c: added several l-modifiers to printf to remove warnings
+       * as/mcs51/lkaomf51.c: #include <ctype.h> to remove warnings
+       * src/pic/main.c (_hasNativeMulFor): outcommented unused variables to remove warnings
+       * src/pic/pcode.c: outcommented unused variable to remove warnings
+       * src/pic/ralloc.c: outcommented unused variable to remove warnings
+
+2003-01-06    <karl@turbobit.com>
+       * sim/ucsim/cmd.src/command.cc: fixed so "break xram r 0x7654" works again in
+   regression tests.
+
+2003-01-06    <johan@balder>
+
+       * src/SDCCicode.c: fixed array add
+
+2002-01-05  Bernhard Held <bernhard@bernhardheld.de>
+       * src/SDCCmacro.c: MAX_STRING_LENGTH increased to 2048; was too small for regression tests
+       * support/regression/ports/host/support.c: #include <stdarg.h> for gcc 3.2
+
+2003-01-04    <johan@balder>
+
+       * src/SDCCval.c (getNelements): fixed the initialized array of structures
+
+2002-12-29  Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
+        * as/mcs51/Makefile.bcc: fixed typo lkomf51.o -> lkaomf51.o
+
+2002-12-28  Bernhard Held <bernhard@bernhardheld.de>
+       * src/mcs51/peeph.def: added rules 234 and 235 from Frieder Ferlemann <frieder.ferlemann@web.de>
+       * support/regression/tests/bug-524697.c: fit mem usage into 8032
+
+2002-12-28  Bernhard Held <bernhard@bernhardheld.de>
+       * src/mcs51/gen.c (aopGetUsesAcc): inserted missing "return FALSE"
+
 2002-12-27  Bernhard Held <bernhard@bernhardheld.de>
         * as/mcs51/Makefile.in: fixed typo lkomf51.o -> lkaomf51.o
 
 
        * support/regression/tests/bug-524691.c: made it a little less shy 
 
-       * src/SDCCast.c (decorateType): fixed bug #524697 
+       * src/SDCCast.c (decorateType): fixed bug #524697
 
        * src/SDCCast.c: made some lineno improvements