* sim/ucsim/cmd.src/newcmd.cc, sim/ucsim/cmd.src/newcmdcl.h,
[fw/sdcc] / ChangeLog
index 7179208ed665f9137a66a615817640e8662aa023..242623c0eb9b1330b8f7285c1d9a1a5f88ef7f2c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,99 @@
+2006-08-16 Borut Razem <borut.razem AT siol.net>
+
+       * sim/ucsim/cmd.src/newcmd.cc, sim/ucsim/cmd.src/newcmdcl.h,
+         sim/ucsim/cmd.src/cmdutil.cc, sim/ucsim/cmd.src/cmdutil.h,
+         sim/ucsim/sim.src/mem.cc, sim/ucsim/sim.src/uc.cc: code cleaning
+
+2006-08-14 Borut Razem <borut.razem AT siol.net>
+
+       * support/regression/Makefile.in,
+         support/regression/ports/pic14/gpsim.cmd,
+         support/regression/ports/pic14/spec.mk,
+         support/regression/ports/pic14/support.c:
+         added pic14 regression test
+
+2006-08-14 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * as/doc/asxhtm.html: documented changed ABS behaviour
+       * as/doc/README: fixed some typos
+
+2006-08-13 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * support/regression/tests/float_trans.c: disabled test if __STDC_IEC_559__
+         not defined on host
+
+2006-08-12 Borut Razem <borut.razem AT siol.net>
+
+       * support/regression/fwk/include/testfwk.h,
+         support/regression/fwk/lib/testfwk.c,
+         support/regression/generate-cases.py,
+         support/regression/Makefile.in:
+         regression test framework does not depend on function pointers and
+         variable arguments
+
+2006-08-09 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * device/include/stddef.h: c temporary hack to fix bug 1518273
+
+2006-08-09 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
+
+       * device/include/mcs51/cc2510fx.h: added
+       * src/z80/z80.dsp, src/gbz80/gbz80.dsp: added support/Util/strcmpi.ch
+         to projects.
+
+2006-08-09 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * as/z80/assym.c (mlookup): ignore case when looking up mnemonics
+       * as/z80/Makefile.in: added strcmpi.c
+       * as/z80/z80adr.c: added upper case registers and lower case conditionals
+       * support/Util/strcmpi.ch: added with intention to remove from mcs51/hc08
+
+2006-08-08 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * device/lib/gbz80/asm_strings.s,
+       * device/lib/gbz80/crt0_rle.s,
+       * device/lib/gbz80/div.s,
+       * device/lib/gbz80/mul.s,
+       * device/lib/gbz80/shift.s,
+       * device/lib/z80/asm_strings.s,
+       * device/lib/z80/crt0_rle.s,
+       * device/lib/z80/div.s,
+       * device/lib/z80/mul.s,
+       * device/lib/z80/shift.s: changed to all lower case menmonics except the
+         flags which are all upper case
+
+2006-08-07 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * as/z80/asm.h: made CASE_SENSITIVE 1
+       * link/z80/aslink.h: made CASE_SENSITIVE 1
+       * src/z80/gen.c (throughout): made all conditionals upper case
+       * support/regression/tests/bug1503067.c: new
+
+2006-08-07 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/z80/gen.c (aopPut): fixed bug !*ixy should be !*iyx,
+         (shiftIntoPair): added case 2 for PAIR_IY,
+         (setupToPreserveCarry): replaced parameters with iCode and check if
+          PAIR_DE is in use to fix bug 1399290,
+         (genPlus, genMinus): updated call to setupToPreserveCarry
+       * support/regression/tests/bug1399290.c: new
+
+2006-08-06 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * device/lib/Makefile.in (Z80SOURCES): enabled float support
+       * sim/ucsim/z80.src/inst.cc (inst_rst): generate breakpoint on RST8,ACC==0
+       * src/ds390/gen.c (shiftRLong),
+       * src/hc08/gen.c (shiftLLong, shiftRLong): fixed bug 1533966
+       * src/mcs51/gen.c (sameReg): changed to sameByte,
+         (xch_a_aopGet): new,
+         (shiftL2Left2Result, shiftR2Left2Result, shiftRLeftOrResult, shiftLLong,
+          shiftRLong): fixed bug 1533966
+       * src/z80/gen.c (shiftR2Left2Result, shiftL2Left2Result, genlshTwo,
+         genLeftShiftLiteral, genrshTwo, genRightShiftLiteral): fixed bug 1533966
+       * support/regression/Makefile.in: disabled z80, enabled ucz80
+       * support/regression/tests/float_trans.c: enabled test for z80 and host
+       * support/regression/tests/shifts2.c: new, for testing bug 1533966
+
 2006-08-01 Borut Razem <borut.razem AT siol.net>
 
        * src/mcs51/gen.c, src/dc390/gen.c: fixed warning:
 
 2006-08-01 Maarten Brock <sourceforge.brock AT dse.nl>
 
+       * sim/ucsim/hc08.src/hc08mac.h: removed faulty and unused add_u16_disp
+       * sim/ucsim/hc08.src/hc08.cc: removed faulty and unused int8
        * sim/ucsim/z80.src/z80mac.h (add_u16_disp): use explicit signed char cast
+       * sim/ucsim/z80.src/z80.cc: removed faulty and unused int8
 
 2006-07-31 Borut Razem <borut.razem AT siol.net>
 
 2006-06-25 Borut Razem <borut.razem AT siol.net>
 
        * device/lib/pic16/libc/stdio/sprintf.c: return the number of
-         characters printed (not including the trailing '/0' used to end
+         characters printed (not including the trailing '\0' used to end
          output to strings). Problem detected in regression test bug-927659.c.
          NOTE: printf() family functions should return int instead
          unsigned int!
        * as/mcs51/lkhead.c (newhead): head is absolute but not overlay
        * as/hc08/lklibr.c (addfile, fndsym),
        * as/mcs51/lklibr.c (addfile, buildlibraryindex, fndsym): prevent
-         index out of range and detect both '/' and '/'
+         index out of range and detect both '\' and '/'
        * device/include/mcs51/c8051f200.h: added _XPAGE, removed bad comment
        * device/include/stdbool.h: removed SDCC_ds390 from check to pass
          regression tests (ds390 cannot return bool yet)
 
 2006-04-18 Borut Razem <borut.razem AT siol.net>
 
-       * support/scripts/sdcc.nsi: removed unexisting ${DEV_ROOT}/lib/pic/*.o,
-         ${DEV_ROOT}/lib/src/pic/libdev/*.S, ${DEV_ROOT}/lib/src/pic/libdev/*.inc
+       * support/scripts/sdcc.nsi: removed unexisting ${DEV_ROOT}\lib\pic\*.o,
+         ${DEV_ROOT}\lib\src\pic\libdev\*.S, ${DEV_ROOT}\lib\src\pic\libdev\*.inc
 
 2006-04-17 Borut Razem <borut.razem AT siol.net>
 
 
 2005-06-20 Slade Rich <slade_rich AT users.sourceforge.net>
 
-       * src/pic/pcode.c : Fixed problem when a string constant contains a "/r/n"
+       * src/pic/pcode.c : Fixed problem when a string constant contains a "\r\n"
          and the output asm file line is printed on two lines.
 
 2005-06-19 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
 2005-05-26 Raphael Neider <rneider AT web.de>
 
        * src/pic16/glue.c (pic16_printIvalChar): fixed _constant_ string
-         initializers with /0, bug #1208187
+         initializers with \0, bug #1208187
        * src/pic/glue.c (printIvalChar): fixed (non- and constant) string
-         intializers with /0, bug #1208187
+         intializers with \0, bug #1208187
 
 2005-05-26 Raphael Neider <rneider AT web.de>
 
        * src/pic16/glue.c (pic16_printIvalChar): fixed string
-         initializers with /0, bug #1208187
+         initializers with \0, bug #1208187
        * src/pic16/main.c (_process_pragma): added sanity checks
          for stack position and size, emit warnings when appropriate
 
 2005-05-26 Maarten Brock <sourceforge.brock AT dse.nl>
 
-       * device/lib/_strncpy.c: fixed not filling with /0
+       * device/lib/_strncpy.c: fixed not filling with \0
 
 2005-05-26 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
 
          (findNextInstruction), (findPrevInstruction),
          (findInstructionUsingLabel),
          src/pic/pcode.h: fixed bug #1164907 - Labels not being recognized
-       * src/pic/pcode.c (findLabel): added missing '/n'
+       * src/pic/pcode.c (findLabel): added missing '\n'
        * src/src.dsp: added SDCCdwarf2.c to the project
 
 2005-04-09 Borut Razem <borut.razem AT siol.net>
        to memccpy(void *, void *, char, size_t)
        * src/pic16/gen.c (genFunction, genEndFunction): reenable if-case to
        check whether to omit frame pointer or not,
-       * (genInline): convert all occurences of "/n" to LF in inline
+       * (genInline): convert all occurences of "\n" to LF in inline
        assembler blocks, this helps formatting the inline text,
        * (pic16_loadFSR0): modified prototype,
        * (genNearPointerGet, genNearPointerSet): reorganization of code,
 
 2004-08-04 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
 
-       * src/mcs51/gen.c (genInline): Add /n for labels, not DOS/WIN dirs
-         such as c:/mydir.
+       * src/mcs51/gen.c (genInline): Add \n for labels, not DOS/WIN dirs
+         such as c:\mydir.
 
 2004-08-03 Maarten Brock <sourceforge.brock AT dse.nl>
 
          _memcmp.c _memmove.c calloc.c realloc.c free.c
        * support/regression/tests/malloc.c: added tests for new functionality
        * support/regression/tests/zeropad.c: added tests for truncated initializers
-         and initialized char arrays starting with '/x0'
+         and initialized char arrays starting with '\x0'
        * src/mcs51/peeph.def: fixed regression, added peephole 177.f
 
 2004-07-26 Bernhard Held <bernhard AT bernhardheld.de>
        a member of a specific memory bank,
        * (pic16_printIvalCharPtr): added code to add string literals either
        to code or the idata sections,
-       * src/pic16/main.c (_process_pragma): added /n to WHITE constant,
+       * src/pic16/main.c (_process_pragma): added \n to WHITE constant,
        also accept the 'udata' pragma,
        * src/pic16/main.h: new structure types sectName and sectSym
        * src/pic16/pcode.c: added new pCodeInstruction entry for BANKSEL
 
 2003-06-18  Bernhard Held <bernhard AT bernhardheld.de>
 
-       * support/Util/MySystem.c (merge_command): quick fix for Linux segfault with /"cmd/" arg
+       * support/Util/MySystem.c (merge_command): quick fix for Linux segfault with \"cmd\" arg
 
 2003-06-15  Borut Razem <borut.razem AT siol.net>
 
        * doc/sdccman.lyx: updated to Lyx 1.3
        * doc/cdbfileformat.lyx: updated to Lyx 1.3
        * doc/test_suite_spec.lyx: updated to Lyx 1.3
-       * doc/Makefile: added fix for the /tabularnewline problem, thanks to Jesus
+       * doc/Makefile: added fix for the \tabularnewline problem, thanks to Jesus
 
 2003-06-03  Bernhard Held <bernhard AT bernhardheld.de>
 
 2003-01-12  Bernhard Held <bernhard AT bernhardheld.de>
 
        * src/SDCCmain.c (main): port->finaliseOptions() moved for z80 linking
-       * src/SDCCutil.c (join): ugly bug: missing '/0'
+       * 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 AT bernhardheld.de>
          so it is replaced with STRCASECMP, which is defined as stricmp in case of MSC and BORLANDC
        - solved MSC error in function aopDump()
 
-       * sdcc_vc.h: define PREFIX as "//sdcc"
+       * sdcc_vc.h: define PREFIX as "\\sdcc"
 
 2002-07-18  Bernhard Held <bernhard AT bernhardheld.de>
        * src/SDCCast.c (decorateType): fixed access to array of structures http://sourceforge.net/mailarchive/forum.php?thread_id=902690&forum_id=4107