* src/z80/gen.c (genArrayInit): Made it work for on stack arrays.
[fw/sdcc] / ChangeLog
index 51d5dcebcafd0ff7029eff9934e9f84c05636c05..24dbd279a9639ed81f8c76be2a7aacce8487a288 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,240 @@
+2001-10-28  Michael Hope  <michaelh@juju.net.nz>
+
+       * src/z80/gen.c (genArrayInit): Made it work for on stack arrays.
+
+       * src/z80/main.c (gbz80_port =): Added rle support to the gbz80 port.
+
+       * src/z80/gen.c (genMinus): Fixed for where the result is one byte.
+       (movLeft2ResultLong): Created.
+
+       * src/z80/ralloc.c (packRegsForHLUse): Added a couple of simple cases for the GB.
+       (joinPushes): Added.  Joins two char pushes into a word push.
+
+2001-10-27  Michael Hope  <michaelh@juju.net.nz>
+
+       * support/cpp2/Makefile.in (install): Added creation of dest dir.
+
+       * support/makebin/Makefile (install): Added creation of dest dir.
+
+2001-10-24 Karl Bongers <karl@turbobit.com>
+
+       * configure.in, configure, Makefile, support/cpp: Removed cpp folder, since we have new cpp2 preprocessor code.
+
+2001-10-21  Michael Hope  <michaelh@juju.net.nz>
+
+       * src/z80/ralloc.c: Turned off faulty pack for one use.
+
+       * src/z80/peeph-gbz80.def: Removed redundent restart options.
+
+       * src/z80/gen.c (genMult): Added native mul for constants on the z80 and gbz80.
+
+2001-10-21  Bernhard Held  <bernhard@bernhardheld.de>
+
+       * support/regression/Makefile: Improved clean
+
+       * support/regression/ports/gbz80/spec.mk: Added clean
+
+       * support/regression/ports/host/spec.mk: Added clean
+
+       * support/regression/ports/z80/spec.mk: Added clean
+
+       * support/regression/ports/mcs51/spec.mk: Added clean, little improvements
+
+       * support/regression/ports/mcs51/timeout.c: little improvements
+
+2001-10-17  Michael Hope  <michaelh@juju.net.nz>
+
+       * device/lib/malloc.c (MEMHEADER): Fixed against new pedantic pointers.
+
+       * support/regression/fwk/include/testfwk.h: Fixed up to use function pts correctly.
+
+       * support/regression/generate-cases.py: Fixed up to use function pts correctly.
+
+2001-10-16  Bernhard Held  <bernhard@bernhardheld.de>
+
+       * support/regression/port/mcs51/spec.mk: add timeout for uCsim
+
+       * support/regression/port/mcs51/timeout.c: add timeout for uCsim
+
+2001-10-13  Michael Hope  <michaelh@juju.net.nz>
+       * src/z80/gen.c (emitCall): Fixed up missing spill of HL when used to assign the result value.
+
+       * src/z80/ralloc.c: Turned off pack for one use as it's quite broken.
+
+       * src/SDCCmain.c (linkEdit): Added support for passing a legacy command line through the processor.
+
+       * src/mcs51/main.c (_linkCmd): Added bin path to command.
+
+       * src/SDCCmain.c (initValues): Added support for when it it called just to link.
+
+       * as/mcs51/lklibr.c (libfil;): Turned off 'library file' message.
+
+       * src/SDCCval.c (constVal): Fixed usage of 'L' modifier problems on ppc.
+
+       * support/regression/tests/longor.c: Added.
+
+2001-10-11  Bernhard Held  <bernhard@bernhardheld.de>
+
+       * as/mcs51/asdata.c: replaced FILENAME_MAX with PATH_MAX
+
+       * as/mcs51/aslink.h: define PATH_MAX
+
+       * as/mcs51/asm.h: define PATH_MAX
+
+       * as/mcs51/asmain.c: replaced FILENAME_MAX with PATH_MAX
+
+       * as/mcs51/asnoice.c: replaced FILENAME_MAX with PATH_MAX
+
+       * as/mcs51/lklex.c: replaced FILENAME_MAX with PATH_MAX
+
+       * as/mcs51/lkmain.c: replaced FILENAME_MAX with PATH_MAX
+
+       * src/SDCCglobl.h: define PATH_MAX
+
+       * src/SDCCmacro.c: replaced FILENAME_MAX with PATH_MAX
+
+       * src/SDCCmain.c: replaced FILENAME_MAX with PATH_MAX
+
+2001-10-11  Michael Hope  <michaelh@juju.net.nz>
+
+       * src/z80/gen.c (gencjneshort): Fixed
+
+       * src/z80/ralloc.c (packRegsForHLUse): Added pack into HL for cast then ipush.
+
+2001-10-09  Michael Hope  <michaelh@juju.net.nz>
+
+       * support/regression/tests/bug-469671.c: Added.
+
+       * src/z80/gen.c (shiftIntoPair): Fixed up warning.
+
+2001-10-08  Michael Hope  <michaelh@juju.net.nz>
+
+       * src/SDCCmain.c: Added --fommit-frame-pointer option and implemented in the z80 port.
+
+       * src/z80/gen.c (genPlus): Fixed to work with extended stack.  Also fixed genMinus, genCmp.  genUMinus is still left.
+
+2001-10-08  Bernhar Held  <bernhard@bernhardheld.de>
+
+       * src/SDCCmain.c (preProcess): added define SDCC_NOOVERLAY
+
+       * src/device/lib/_mulint.c  : removed hint: nooverlay bug
+
+       * src/device/lib/_mullong.c : removed hint: nooverlay bug
+
+       * src/device/lib/_divuint.c : removed hint: nooverlay bug
+
+       * src/device/lib/_divulong.c: removed hint: nooverlay bug
+
+       * src/device/lib/_moduint.c : removed hint: nooverlay bug
+
+       * src/device/lib/_modulong.c: removed hint: nooverlay bug
+
+2001-10-07  Michael Hope  <michaelh@juju.net.nz>
+
+       * src/z80/gen.c (setupPair): Added 'extended stack' support for the z80.  Can now have local variables or parameters of more than 127 bytes in size.  Increadibly slow, but it will work.  Currently anything involving the carry flag.
+
+       * support/Util/NewAlloc.c (freeTrace): Changed free for the gc case to not free at all.  Fixes runtime segfault.
+
+       * support/regression/tests/scott-compare3.c (c_abcd): Fixed up casts.
+
+2001-10-07    <johan@FRIJA>
+
+       * device/lib/gets.c (gets): fixed the return value.
+
+2001-10-06  Michael Hope  <michaelh@juju.net.nz>
+       * src/SDCCmain.c (WRITE_SEG_LOC): Fixed up to use Safe_strdup.
+
+       * src/SDCCpeeph.c (peepHole): Fixed all leaks.  Added trace support for freeing lines.  Optimised restart logic to re-run instead of restart.  Now compiles dscan.c on ~60MB instead of ~200MB.
+
+       * support/Util/NewAlloc.c: Added ability to use libgc instead of malloc.  Added Safe_free and Safe_strdup.  Added trace support where you can log allocations and free all at once.
+
+       * src/z80/gen.c (genZ80Code): Added de-allocation via trace support.
+
+       * src/pic/gen.c: Removed Safe_strdup.
+
+       * configure.in: Added option to enable libgc support.
+
+       * src/SDCCbitv.c (bitVectnBitsOn): Optimised.
+       (bitVectUnion): Optimised.
+       (bitVectIntersect): Optimised.
+       (bitVectBitsInCommon): Optimised.
+       (bitVectCplAnd): Optimised.
+
+       * support/makebin/makebin.c (usage): Removed getopt as mingw32 doesn't have it.  Sigh.
+
+2001-10-03 Bernhard Held <bernhard@bernhardheld.de>
+
+       * src/SDCCmain.c: distinguish between assembler debug and plain options
+
+       * src/avr/main.c:   remove standard assembler options
+
+       * src/ds390/main.c: remove standard assembler options
+
+       * src/mcs51/main.c: remove standard assembler options
+
+       * src/port.h: removed "PENDING" comment
+
+2001-10-03 Bernhard Held <bernhard@bernhardheld.de>
+
+       * src/device/lib/_mulint.c  : new, with assember functions
+
+       * src/device/lib/_mullong.c : new, with assember functions
+
+       * src/device/lib/_divuint.c : with assember functions
+
+       * src/device/lib/_divsint.c : with assember functions
+
+       * src/device/lib/_divulong.c: with assember functions
+
+       * src/device/lib/_divslong.c: with assember functions
+
+       * src/device/lib/_moduint.c : with assember functions
+
+       * src/device/lib/_modsint.c : with assember functions
+
+       * src/device/lib/_modulong.c: with assember functions
+
+       * src/device/lib/_modslong.c: with assember functions
+
+       * src/device/lib/libint.lib:  replaced _muluint.c  and _mulsint.c  by _mulint.c
+
+       * src/device/lib/liblong.lib: replaced _mululong.c and _mulslong.c by _mullong.c
+
+       * src/device/lib/Makefile.in: replaced _muluint.c  and _mulsint.c  by _mulint.c
+                                     replaced _mululong.c and _mulslong.c by _mullong.c
+
+2001-10-03 Bernhard Held <bernhard@bernhardheld.de>
+
+       * src/SDCCsymt.c: sequence of specifiers in pintTypeChain() corrected
+
+2001-10-01 Bernhard Held <bernhard@bernhardheld.de>
+
+       * src/SDCCglue.c: test, if win32api is available for MINGW
+
+2001-10-01 Bernhard Held <bernhard@bernhardheld.de>
+
+       * src/SDCCsymt.c: no more _modifier in printTypeChain()
+       * support/regression/tests/driverstruct.c: REENTRANT for mcs51
+       * support/regression/ports/gbz80/spec.mk: removed GENERIC
+       * support/regression/ports/host/spec.mk: removed GENERIC
+       * support/regression/ports/mcs51/spec.mk: removed GENERIC
+       * support/regression/ports/z80/spec.mk: removed GENERIC
+
+2001-10-01  Michael Hope  <michaelh@juju.net.nz>
+
+       * support/regression/fwk/lib/testfwk.c (__printf): Removed GENERIC.
+
+       * support/regression/tests/bug-467035.c: Created.
+
+2001-10-01    <johan@FRIJA>
+
+       * src/SDCC.y: fixed bug #466586 part 1
+
+2001-10-01  Johan Knol <johan.knol@iduna.nl>
+
+       * SDCCicode.c: z80 has no generic pointers
+       * removed -s from strip in all Makefile(.in)'s. It is not needed, but Solaris chocks on it.
+       
 2001-09-30  Michael Hope  <michaelh@juju.net.nz>
 
        * sim/ucsim/cmd.src/Makefile.in ($(PRJDIR)/libcmd.a): Changed all ar references to $(AR) for Solaris.