* sim/ucsim/cmd.src/cmdmem.cc, sim/ucsim/cmd.src/mem.cc:
[fw/sdcc] / ChangeLog
index f72eef0a3e43e8e31363c2e39a119b8c60755fa6..bc017136e83544819b7b3885aa3f72834df73838 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,214 @@
+2007-12-01 Borut Razem <borut.razem AT siol.net>
+
+       * sim/ucsim/cmd.src/cmdmem.cc, sim/ucsim/cmd.src/mem.cc:
+         corrected handling of the highest_valid_address
+
+2007-11-17 Raphael Neider <rneider AT web.de>
+
+       * src/pic/main.c (_asmCmd): include debug arguments (-g as $3)
+       * src/pic/glue.c (picglue): emit .file if --debug is given
+
+2007-11-17 Raphael Neider <rneider AT web.de>
+
+       * src/pic16/genarith.c (pic16_genPlus, pic16_genMinus): take special
+       care when left or right operand resides in result, fixes #1830220
+
+2007-11-17 Borut Razem <borut.razem AT siol.net>
+
+       * src/SDCCglue.c, src/pic16/glue.c: reverted fix for bug
+         #983491 - "Merge duplicate strings function is ineffective"
+       * support/regression/tests/bug-983491.c: regtest disabled
+       * as/asxxsrc: created
+         as/asxxsrc/assym.c, as/asxxsrc/strcmpi.c: moved
+         as/hc08/assym.c, as/mcs51/assym.c, as/strcmpi.c,
+         as/z80/assym.c, as/hc08/asstore.c, as/mcs51/asstore.c: deleted
+         as/hc08/Makefile.bcc, as/hc08/Makefile.in, as/hc08/as_hc08.dsp,
+         as/hc08/asm.h, as/link/hc08/Makefile.bcc, as/link/hc08/Makefile.in,
+         as/link/hc08/link_hc08.dsp, as/link/mcs51/Makefile.bcc,
+         as/link/mcs51/Makefile.in, as/link/mcs51/aslink.dsp,
+         as/link/z80/Makefile.in, as/link/z80/linkgbz80.dsp,
+         as/link/z80/linkz80.dsp, as/mcs51/Makefile.bcc, as/mcs51/Makefile.in,
+         as/mcs51/asm.h, as/mcs51/asx8051.dsp, as/z80/Makefile.bcc,
+         as/z80/Makefile.in, as/z80/as_gbz80.dsp, as/z80/as_z80.dsp,
+         as/z80/Makefile.as_hc08, as/mcs51/Makefile.asx8051: modified
+         created as/asxxsrc directory, assym.c and strcpi.c moved into it
+
+2007-11-15 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * device/include/stdarg.h: added and removed some casts
+       * src/SDCCsymt.c (compareType): Fully check types between generic and
+         non-generic pointers, also accept ptr-ptr to void-ptr assignments
+
+2007-11-13 Borut Razem <borut.razem AT siol.net>
+
+       * support/regression/tests/bug-1817005.c:
+         added regtest for bug #1817005 - as-z80 chokes on long labels
+
+2007-11-12 Borut Razem <borut.razem AT siol.net>
+
+       * as\z80\asmain.c, as\z80\asm.h, as\z80\assym.c, as\z80\asdata.c,
+         as\z80\asout.c, as\z80\aslist.c:
+         fixed bug #1817005 - as-z80 chokes on long labels
+
+2007-11-11 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * as/hc08/asmain.c,
+       * as/z80/asmain.c: cosmetic changes
+       * as/hc08/alloc.h,
+       * as/mcs51/alloc.h,
+       * as/z80/alloc.h: removed
+       * as/hc08/assym.c,
+       * as/mcs51/assym.c: replaced alloc.h with stdlib.h
+       * as/link/aslink.h: added LKDIRSEP and, LKDIRSEPSTR
+       * as/link/hc08/Makefile.in,
+       * as/link/mcs51/Makefile.in,
+       * as/link/z80/Makefile.in: added -DUNIX to CFLAGS
+       * as/link/lklex.c,
+       * as/link/mcs51/lkarea.c,
+       * as/link/mcs51/lkmain.c: cosmetic changes
+       * as/link/hc08/lklibr.c,
+       * as/link/z80/lklibr.c,
+       * as/link/mcs51/lklibr.c: used LKDIRSEP, LKDIRSEPSTR and LKOBJEXT,
+         used cygwin_conv_to_full_posix_path,
+         added warnings, cosmetic changes, brought more in sync
+         changed old K&R into ANSI function declarations
+       * as/link/z80/lklibr.c (loadAdb): added
+       * as/link/z80/lkmain.c: removed -- option from usage text
+
+2007-11-03 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/mcs51/gen.c (outBitC): optimized for no result
+
+2007-10-31 Borut Razem <borut.razem AT siol.net>
+
+       * src/SDCCsymt.c: fixed (hopeful properly) bug
+         #1805702 - order of extern matters
+       * support/regression/tests/bug-1805702.c: enabled regtest for bug
+         #1805702
+
+2007-10-29 Borut Razem <borut.razem AT siol.net>
+
+       * src/SDCCsymt.c: reverted bad fixed of bug #1805702
+         - order of extern matters
+       * support/regression/tests/bug-1805702.c: disabled regtest for bug
+         #1805702
+
+2007-10-29 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/ds390/peeph.def: replaced 24bitModeAndPortDS390 by
+         24bitMode, portIsDS390
+       * src/mcs51/gen.c (genOr): optimized for RFE 1750727
+       * src/SDCCpeeph.c (flat24bitModeAndPortDS390): removed
+         (notVolatileVariable): also check sloc names,
+         (callFuncByName): moved ftab[] out of function and sorted it by use
+
+2007-10-28 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * device/include/stdarg.h: fixed bug in va_start macro for --xstack
+       * src/hc08/gen.c (aopForRemat): aop->aopu.aop_immd.from_cast_remat not set,
+         aop->aopu.aop_immd.aop_immd2 not filled with (generic) pointer type
+       * src/SDCCicode.c (geniCodeCast): fixed bug 880197
+       * support/regression/tests/bug-880197.c: new, added
+
+2007-10-28 Borut Razem <borut.razem AT siol.net>
+
+       * support/regression/Makefile.in,
+         support/regression/ports/mcs51-large/spec.mk,
+         support/regression/ports/mcs51-xstack-auto/spec.mk,
+         support/regression/ports/mcs51-stack-auto/spec.mk,
+         support/regression/ports/mcs51-medium/spec.mk,
+         support/regression/ports/mcs51-common/spec.mk,
+         support/regression/ports/mcs51-common/*,
+         support/regression/ports/mcs51-small/*:
+         mcs51 renamed to mcs51-common, created mcs51-small
+       * src/SDCCsymt.c: fixed bug #1805702 - order of extern matters
+       * support/regression/tests/bug-1805702.c: added regtest for bug
+         #1805702
+
+2007-10-26 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/mcs51/peeph.def: moved rules 257.x to 253.x and re-enabled 253.b,
+         added new rules 265 - 270
+       * support/regression/tests/bug1721024.c:new, added
+       * support/regression/Makefile.in: renamed test-mcs51 to test-mcs51-small,
+         introduced new test-mcs51 to run all mcs51 tests
+
+2007-10-25 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * support/regression/tests/bug1816470.c: new, added
+
+2007-10-21 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/SDCCast.c (resultTypePropagate): do propagate for LEFT_OP, do not
+         propagate for *,+,- with float, fixed bug 1816470
+         (decorateType): cast to resultTypeProp instead of resultType
+
+2007-10-19 Borut Razem <borut.razem AT siol.net>
+
+       * src/pic16/glue.c: fixed bug #983491 - "Merge duplicate strings
+         function is ineffective" for pic16 tareget
+       * support/scripts/listerr.c: corrected include path
+       * device/lib/_itoa.c: fixed bug #1806402 - _itoa and _uitoa leak to
+         adjacent memory
+
+2007-10-18 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * support/regression/tests/using.c: new, added
+       * support/regression/tests/vaargs.c: fixed and enabled test
+
+2007-10-18 Borut Razem <borut.razem AT siol.net>
+
+       * src/SDCCglue.c: fixed bug #983491 - Merge duplicate strings function
+         is ineffective
+       * support/regression/tests/bug-983491.c: added regtest for bug #983491
+
+2007-10-18 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * doc/sdccman.lyx: documented option --Werror
+       * src/SDCCsymt.c (checkFunction): fixed bug 1815418 by setting
+         RegBankUsed[] earlier
+
+2007-10-14 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * device/include/mcs51/p89lpc938.h: new, added, thanks Kyle Guinn
+       * src/pic/glue.c,
+       * src/SDCCval.c,
+       * src/SDCCast.c,
+       * src/SDCCast.h: replaced AST_LIT_VALUE with AST_FLOAT_VALUE and
+         AST_ULONG_VALUE
+       * src/SDCCast.c (decorateType): improved optimization of tri-op
+       * src/SDCCerr.c (vwerror, setWError),
+       * src/SDCCerr.h,
+       * src/SDCCmain.c (parseCmdLine): added option --Werror to treat all
+         warnings as errors, thanks Stas Sergeev for PATCH 1813211
+
+2007-10-13 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/mcs51/gen.c (leftRightUseAcc): use macro IS_OP_ACCUSE
+       * src/SDCCast.c (decorateType): optimize bit=cond?1:0, RFE 1738430
+       * support/regression/tests/bug-223113.c,
+       * support/regression/tests/bug-426632.c,
+       * support/regression/tests/bug-468811.c,
+       * support/regression/tests/bug-477835.c,
+       * support/regression/tests/bug-478094.c,
+       * support/regression/tests/bug-499644.c,
+       * support/regression/tests/bug-524209.c,
+       * support/regression/tests/bug-524211.c,
+       * support/regression/tests/packcast.c,
+       * support/regression/tests/structidx.c: added empty tests
+       * support/regression/tests/bug-607243.c: enabled test
+
+2007-10-06 Borut Razem <borut.razem AT siol.net>
+
+       * .version, doc/sdccman.lyx: bumped version to 2.7.4 to indicate the full
+          support of universal binaries on Mac OS X
+
+2007-10-02 Borut Razem <borut.razem AT siol.net>
+
+       * src/SDCCval.h: unified double2ul macro for all platforms
+       * src/SDCCval.c: fixed bug #1777758 - applied Maarten's patch
+       * support/regression/tests/bitwise.c: added regtest for bug #1777758
+
 2007-09-30 Borut Razem <borut.razem AT siol.net>
 
        * src/SDCCval.h: fixed bug #1739860 - sdcc does not work correctly on some