* sim/ucsim/avr.src/Makefile.in, sim/ucsim/hc08.src/Makefile.in,
[fw/sdcc] / ChangeLog
index e80d77d67bee809a8bcb4a3fce322264d902058c..8385c77bd6f6cfcdcfc7acfd896cc21410349234 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
+2008-02-17 Raphael Neider <rneider AT web.de>
+
+       * src/pic16/genarith.c,
+       * src/pic16/gen.c,
+       * src/pic16/gen.h,
+       * src/pic16/genutils.c: removed unused legacy code,
+         removed unused fields from struct asmop and struct _G
+
+2008-02-17 Raphael Neider <rneider AT web.de>
+
+       * src/pic16/gen.c (AccRsh): cosmetic changes,
+         (shiftR1Left2ResultSigned,shiftR1Left2Result,shiftL1Left2Result,
+         genRightShiftLiteral): fixed to work with SFRs as result by
+         assigning only once to result,
+         removed a lot of unused/excluded code fragments
+
+2008-02-17 Raphael Neider <rneider AT web.de>
+
+       * device/include/pic/pic16f88.h,
+       * device/include/pic/pic16f886.h,
+       * device/include/pic/pic16f887.h: added TRISA6 and TRISA7
+
+2008-02-17 Borut Razem <borut.razem AT siol.net>
+
+       * src/z80/peeph.def: applied patch
+         #1893626: Optimize tail calls on Z80, thanks to Philipp Krause
+       * src/z80/gen.c, src/z80/peeph.def: applied patch
+         #1893510: Improve logical left shift on Z80, thanks to Philipp Krause
+       * sim/ucsim/avr.src/Makefile.in, sim/ucsim/hc08.src/Makefile.in,
+         sim/ucsim/s51.src/Makefile.in, sim/ucsim/sim.src/Makefile.in,
+         sim/ucsim/xa.src/Makefile.in, sim/ucsim/z80.src/Makefile.in,
+         sim/ucsim/main_in.mk: renamed libutil.a to libucsimutil.a in order to
+         enable compilation on Mac OS X 10.5 (Leopard) and XCode v3.0
+
+2008-02-16 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * as/link/mcs51/aslink.dsp: removed SDK define
+       * as/link/z80/clean.mk: brought in sync with other ports
+       * as/link/z80/lklibr.c (SdccLib, fndsym): handle the dflag here too
+       * as/hc08/Makefile.bcc,
+       * as/mcs51/Makefile.bcc,
+       * as/z80/Makefile.bcc: noice.c was moved to as/asxxsrc/
+       * src/z80/main.c (_setValues): use the now capitalized -Z,
+         (z80_port, gbz80_port): generate debug information when asked
+
+2008-02-16 Borut Razem <borut.razem AT siol.net>
+
+       * as/z80/asmain.c, as/z80/asm.h, as/z80/asdata.c,
+         as/link/z80/lkmain.c, as/z80/as_gbz80.dsp, as/z80/as_z80.dsp,
+         as/z80/Makefile.in. as/z80/Makefile.bcc:
+         applied patch #1893393: patch for as-z80 and link-z80 to generate
+         cdb, thanks to Armin Diehl
+       * as/*/asnoice.c, as/hc08/as_hc08.dsp, as/hc08/Makefile.in,
+         as/mcs51/asx8051.dsp, as/mcs51/Makefile.in:
+         asnoice.c moved to as/asxxsrc/asnoice.c
+       * src/z80/peeph-gbz80.def: applied patch
+         #1880235: Z80 return peephole, thanks to Philipp Krause
+
+2008-02-14 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * .version,
+       * doc/sdccman.lyx: bumped version to 2.7.5
+       * src/SDCCsymt.c (compareType, comparePtrType): fixed bug 1281583
+
+2008-02-13 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * device/include/pic16/stdlib.h,
+       * device/lib/pic16/libc/stdlib/ltoa.c,
+       * device/lib/pic16/libc/stdio/vfprintf.c: ascii strings are char*
+
+2008-02-13 Borut Razem <borut.razem AT siol.net>
+
+       * src/SDCCmain.c, src/SDCCglue.c: fixed --c1mode
+       * src/pic16/glue.c, src/SDCCast.c, src/SDCCast.h, src/SDCCBBlock.c,
+         src/SDCCcse.c, src/SDCCglue.c, src/SDCCicode.c, src/SDCCloop.c,
+         src/SDCCopt.c,  src/SDCCval.c:
+         fixed bug #1890273: SDCC Warning 154 shows wrong filename
+
+2008-02-12 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/SDCCsymt.c (compareType): fixed bug 1309013
+
+2008-02-09 Borut Razem <borut.razem AT siol.net>
+
+       * src/SDCCval.c, src/SDCCval.h:
+         code cleaning, added function constChrVal()
+       * src/SDCCglue.c, src/pic/glue.c, src/pic16/glue.c, src/SDCCast.c, src/SDCC.y:
+         call constChrVal() instead constVal()
+
+2008-02-01 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/SDCCast.c (resolveSymbols): added reentrancy check for parameters
+         of function pointer
+       * src/SDCCerr.h,
+       * src/SDCCerr.c: changed warning W_NONRENT_ARGS to error E_NONRENT_ARGS
+       * support/regression/tests/absolute.c: added TestStruct TestVar (see also
+         bug 1859853)
+
+2008-02-01 Raphael Neider <rneider AT web.de>
+
+       * device/include/pic/pic16f886.h,
+       * device/include/pic/pic16f887.h: added RA6 and RA7
+
+2008-01-24 Raphael Neider <rneider AT web.de>
+
+       * device/include/pic/pic16f88.h: added RA6 and RA7
+       * device/lib/pic/libdev/disabled_pic16f886.c,
+       * device/lib/pic/libdev/disabled_pic16f887.c: renamed and enabled
+
+       * src/pic16/devices.inc,
+       * device/include/pic16/pic18f2423.h,
+       * device/include/pic16/pic18f2523.h,
+       * device/include/pic16/pic18fregs.h,
+       * device/lib/pic16/pics.all
+       * device/lib/pic16/libdev/pic18f2423.c,
+       * device/lib/pic16/libdev/pic18f2523.c: added 18f2423 and 18f2523
+       * device/lib/pic16/libio/i2c.ignore,
+       * device/lib/pic16/libio/usart.ignore,
+       * device/lib/pic16/libio/adc.ignore: ignore new devices
+
+2008-01-23 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/SDCCast.c (createRMW): fixed bug 1582651
+
+2008-01-20 Borut Razem <borut.razem AT siol.net>
+
+       * src/SDCCcse.c: partially fixed enhancement request
+         #1793872 - multiply by -1 not collapsed
+       * support/regression/tests/arithcsi.c: added regression test
+
+2008-01-19 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * as/mcs51/asx8051.dsp: removed define SDK
+       * as/mcs51/i51mch.c (machine): fixed bug 1865114
+       * device/include/asm/ds390/features.h: fixed bug with ds390 & stack-auto
+       * as/link/lklex.c,
+       * as/link/mcs51/lkmain.c: used LKDIRSEP, LKDIRSEPSTR and LKOBJEXT,
+         cosmetic changes, brought more in sync, changed old K&R to ANSI
+
+2008-01-13 Borut Razem <borut.razem AT siol.net>
+
+       * support/scripts/sdcc.nsi: added Uninstall/reinstall page, ...
+       * src/SDCCicode.c: fixed bug #1870216 - Error 122: dividing by zero
+
+2007-12-30 Borut Razem <borut.razem AT siol.net>
+
+       * src/pic16/gen.c: fixed implementation of bitwise operations for
+         pic16 target
+       * support/regression/tests/bitwise.c: added test cases
+
+2007-12-29 Borut Razem <borut.razem AT siol.net>
+
+       * src/SDCCasm.[ch]: renamed from asm[ch], use dbuf_getline(), ...
+       * src/src.dsp, src/Makefile.bcc, src/Makefile.in, src/common.h,
+         src/SDCCglue.c, src/xa51/main.c: asm.[ch] renamed to SDCCasm.[ch]
+       * support/Util/dbuf_string.[ch]: added function dbuf_getline()
+       * src/ds390/gen.c, src/hc08/gen.c, src/mcs51/gen.c, src/pic16/gen.c,
+         src/pic/gen.c, src/z80/gen.c, src/xa51/gen.c, src/pic16/ralloc.c,
+         src/pic16/pcode.[ch]: added const qualifier
+       * as/hc08/Makefile.bcc, as/hc08/Makefile.in, as/hc08/as_hc08.dsp,
+         as/mcs51/Makefile.bcc, as/mcs51/Makefile.in, as/mcs51/asx8051.dsp,
+         as/z80/Makefile.bcc, as/z80/Makefile.in, as/z80/as_gbz80.dsp,
+         as/z80/as_z80.dsp: added dbuf.[ch] and dbuf_string[ch] to project
+       * as/asxxsrc/aslex.c: use dbuf_getline()
+       * as/hc08/asdata.c, as/hc08/asexpr.c, as/hc08/asm.h, as/hc08/m08adr.c,
+         as/mcs51/asdata.c, as/mcs51/asexpr.c, as/mcs51/asm.h,
+         as/mcs51/i51adr.c, as/z80/asdata.c, as/z80/asexpr.c, as/z80/aslist.c,
+         as/z80/asm.h, as/z80/z80adr.c:
+         changed type of ib and ip to const char *
+
+2007-12-28 Borut Razem <borut.razem AT siol.net>
+
+       * as/asxxsrc/aslex.c: moved from as/mcs51/aslex.c;
+         introduced (readlin) - long lines are turuncated
+       * as/hc08/as_hc08.dsp, as/mcs51/asx8051.dsp, as/z80/as_gbz80.dsp,
+         as/z80/as_z80.dsp, as/hc08/Makefile.in, as/mcs51/Makefile.in,
+         as/z80/Makefile.in: moved aslex.c to asxxsrc
+       * as/hc08/aslex.c, as/z80/aslex.c: deleted
+       * as/hc08/asmain.c, as/mcs51/asmain.c:
+         added missing initialization of a_addr field
+       * support/regression/tests/long_asm_line.c: added regtest for long
+         assembler line
+
+2007-12-22 Borut Razem <borut.razem AT siol.net>
+
+       * src/SDCC.lex: fixed bug #1852894: # character hangs the compiler
+
+2007-12-20 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/SDCCsymt.c (computeType): fixed bug, thanks Fan Weiguang
+
+2007-12-16 Borut Razem <borut.razem AT siol.net>
+
+       * device/include/pic16/stdbool.h: removed, since already exists in
+        device/include/; this also fixes bitopcse.c regression test for pic16
+        target
+       * support/regression/fwk/inclusw/testfwk.h: added macro ASSERT_FAILED
+       * src/pic16/glue.c: fixed bug #1851855: generic static pointer
+         dereference doesn't work; covered by regression test bug1399290
+
+2007-12-05 Borut Razem <borut.razem AT siol.net>
+
+       * doc/sdccman.lyx: fixed bug #1844509 - Correction to Manual 4.6.9
+         Adding new PIC16
+
+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-10 Maarten Brock <sourceforge.brock AT dse.nl>
+2007-11-11 Maarten Brock <sourceforge.brock AT dse.nl>
 
        * as/hc08/asmain.c,
        * as/z80/asmain.c: cosmetic changes