* fixed GCC 4.4.0 mingw compilation:
[fw/sdcc] / ChangeLog
index 6b4753c8d6bdc62727ad6526acc30c334bb21b2d..5db8a84ef4b53d5642d8cc73715b37ca1461f15c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
-2008-02-14 Borut Razem <borut.razem AT siol.net>
+2009-04-27 Borut Razem <borut.razem AT siol.net>
+
+       * fixed GCC 4.4.0 mingw compilation:
+       * sim/ucsim/cmd.src/cmdlex.l: added #include <stdio.h>
+       * support/cpp/sdcpp-opts.c: fixed warning:
+         unknown conversion type character 'm' in format,
+         use strerror(errno) instead of %m glibc extension format specifier
+       * src/SDCCsymt.c: fixed warning:
+         suggest parentheses around operand of '!' or change '&' to '&&' or
+         '!' to '~'
+       * src/pic16/pcode.c, src/pic16/glue.c: fixed warning:
+         unknown conversion type character 'h' in format,
+         replaced hh printf format specifier with parameter casting to
+         unsigned char
+
+support\cpp\sdcpp-opts.c
+
+2009-04-19 Philipp Klaus Krause <pkk AT spth.de>
+       * device/lib/z80/shift.s,
+         device/lib/z80/memmove.s,
+         device/lib/z80/mul.s,
+         device/lib/z80/mulchar.s,
+         device/lib/z80/div.s,
+         device/lib/z80/mod.s:
+         Applied patch #2762516 from Marco Bodrato containing minor
+         improvementsof many Z80 asm routines.
+
+2009-04-19 Philipp Klaus Krause <pkk AT spth.de>
+
+       * support/regression/tests/strtok.c,
+         support/regression/tests/strstr.c,
+         support/regression/tests/strspn.c,
+         support/regression/tests/strncmp.c,
+         support/regression/tests/strcpy.c,
+         support/regression/tests/strcmp.c:
+         Added some regression tests by Ruud van Silfhout from patch #2321830.
+
+2009-04-13 Borut Razem <borut.razem AT siol.net>
+
+       * device/lib/Makefile.in, device/lib/ds390/Makefile.in,
+         device/lib/ds400/Makefile.in, device/lib/gbz80/Makefile.in,
+         device/lib/hc08/Makefile.in, device/lib/mcs51/Makefile.in,
+         device/lib/z80/Makefile.in: override PORTDIR in sub-makefiles
+
+2009-04-13 Raphael Neider <rneider AT web.de>
+
+       * device/lib/pic16/bootstrap.sh: avoid symlinks
+       * device/lib/pic16/configure.ac,
+         device/lib/pic16/configure.gnu: removed obsolete configure-wrapper
+
+2009-04-13 Borut Razem <borut.razem AT siol.net>
+
+       * device/lib/Makefile.in: remove abspath for PORTDIR, introduced in
+         svn revision #5341, since it makes asranlib to fail on cygming and
+         mingw builds: win32 native asranlib doesn't understand cygwin paths.
+
+2009-04-10 Raphael Neider <rneider AT web.de>
+
+       * device/lib/pic/libsdcc/fs2ulong.c, device/lib/pic/libsdcc/fsadd.c,
+         device/lib/pic/libsdcc/fsdiv.c, device/lib/pic/libsdcc/fseq.c,
+         device/lib/pic/libsdcc/fsgt.c, device/lib/pic/libsdcc/fslt.c,
+         device/lib/pic/libsdcc/fsmul.c, device/lib/pic/libsdcc/fsneq.c,
+         device/lib/pic/libsdcc/fssub.c, device/lib/pic/libsdcc/ulong2fs.c,
+         device/lib/pic16/libsdcc/float/fs2ulong.c,
+         device/lib/pic16/libsdcc/float/fsadd.c,
+         device/lib/pic16/libsdcc/float/fsdiv.c,
+         device/lib/pic16/libsdcc/float/fsmul.c: fixed pic14 libraries, merge
+         changes from the pic16 port, minor code cleanup
+       * src/pic/gen.c: implemented genUminusFloat(), fixed warning and style
+
+2009-04-09 Philipp Klaus Krause <pkk AT spth.de>
+
+       * device/lib/z80/mod.s,
+         device/lib/z80/Makefile.in,
+         device/lib/z80/div.s,
+         device/lib/z80/modsigned.s,
+         device/lib/z80/divsigned.s:
+         Applied patch #2741451 from Marco Bodrato
+         and moved functions for signed modulo into
+         separate file.
+
+2009-04-06 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
+
+       * src/mcs51/peeph.def: disabled rule 270, fixing bug #2736282
+
+2009-04-04 Philipp Klaus Krause <pkk AT spth.de>
+
+       * src/z80/gen.c,
+         src/z80/peeph-z80.def:
+         Improved caching of pointers in hl and iy.
+         device/lib/z80/div.s:
+         Applied patch #2727917 from Marco Bodrato.
+
+2009-04-03 Philipp Klaus Krause <pkk AT spth.de>
+
+       * src/z80/ralloc.c:
+         Enabled use of hl as inter-i-code temporary.
+
+2009-04-03 Philipp Klaus Krause <pkk AT spth.de>
+
+       * src/z80/peeph-z80.def:
+         Reenabled peephole 0t.
+
+2009-04-03 Philipp Klaus Krause <pkk AT spth.de>
+
+       * src/z80/gen.c:
+         Fixed bugs #2728224, #2728218.
+         src/z80/peeph-z80.def:
+         Workaround for bug #2728445.
+         support/regression/tests/memory.c:
+         Added test for memcmp().
+
+2009-04-03 Philipp Klaus Krause <pkk AT spth.de>
+
+       * device/lib/z80/mul.s,
+         device/lib/z80/memmove.s,
+         device/lib/z80/strlen.s:
+         Minor improvements, code cleanup and license clarification.
+
+2009-04-01 Philipp Klaus Krause <pkk AT spth.de>
+
+       * device/lib/z80/mul.s: 
+         Minor improvement in Z80 16x16 bit multiplication.
+
+2009-03-23 Borut Razem <borut.razem AT siol.net>
+
+       * src/SDCCval.c, src/SDCCmain.c, device/include/limits.h,
+         device/include/pic/limits.h, device/include/pic16/limits.h,
+         device/lib/_fs2schar.c, device/lib/pic/libsdcc/fs2schar.c,
+         device/lib/pic16/libsdcc/float/fs2schar.c, doc/sdccman.lyx,
+         support/regression/tests/funsigned-char.c:
+         applied patch 2704189: character constant sign fix
+         thanks to Robert Larice
+
+2009-03-22 Borut Razem <borut.razem AT siol.net>
+
+       * Small Device C Compiler 2.9.0 released
+       * .version, doc/sdccman.lyx: changed sdcc version to 2.9.1
+
+2009-03-15 Borut Razem <borut.razem AT siol.net>
+
+       * support/scripts/repack_release.sh: added
+
+2009-03-13 Borut Razem <borut.razem AT siol.net>
+
+       * doc/sdccman.lyx: "freeware" replaced with "free open source"
+
+2009-03-12 Borut Razem <borut.razem AT siol.net>
+
+       * src/z80/peep.c: #2652979: --debug crashes sdcc
+
+2009-03-12 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
+
+       * src/SDCCglue.c,
+         support/regression/tests/bug2655200.c:
+         applied modified patch from Robert Larice <larice AT vidisys.de>
+         fixing original report of bug #2655200: pointer to pdata memory
+         not correctly initialized
+
+2009-03-11 Borut Razem <borut.razem AT siol.net>
+
+       * as/asranlib/asranlib.c: retain the original file mode
+
+2009-03-10 Borut Razem <borut.razem AT siol.net>
+
+       * src/mcs51/gen.c, src/z80/gen.c, src/hc08/gen.c, src/ds390/gen.c,
+         support/regression/tests/bug1875933.c:
+         fixed bug #1875933: Evelyn jumps into the void
+         thanks to Robert Larice
+
+2009-03-10 Raphael Neider <rneider AT web.de>
+
+       * src/pic16/pcode.c (LinkFlow): fix invalid cast from pCodeLabel
+         to pCodeInstruction to avoid a segmentation fault
+
+2009-03-03 Borut Razem <borut.razem AT siol.net>
+
+       * device/lib/printf_large.c: fixed bug #2656821: bug in printf
+
+2009-03-03 Raphael Neider <rneider AT web.de>
+
+       * device/lib/pic/libdev/Makefile.in: build device-specific
+         libraries for the correct processor, fixes #2654585
+
+2009-03-01 Raphael Neider <rneider AT web.de>
+
+       * device/lib/Makefile.in: fixed parallel builds (i.e., make -jN, N>1)
+
+2009-03-01 Borut Razem <borut.razem AT siol.net>
+
+       * src/z80/peep.c: fixed bug #2648964: --i-code-in-asm crashes sdcc
+       * .version, sdcc.spec, doc/sdccman.lyx, doc/INSTALL.txt:
+         changed sdcc version to 2.9.0
+
+2009-03-01 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/mcs51/ralloc.c (spillThis, spilSomething): fixed bug 2435941
+         (serialRegAssign): do not spil bit registers
+         throughout cosmetic changes
+       * support/regression/tests/bug2435941.c: new, added
+
+2009-02-28 Raphael Neider <rneider AT web.de>
+
+       * src/regression/compare10.c,
+         src/regression/compare7.c,
+         src/regression/compare8.c,
+         src/regression/compare9.c: reset watchdog timer in time
+       * src/regression/configword.c: apply patch from #2488150
+       * src/pic/glue.c (pic14createInterruptVect): pin RESET vector
+         handler to 0x0000 as the linker no longer knows STARTUP sections
+       * src/pic/pcode.c (register_reassign, ReuseReg): applied modified
+         patch #2512926 to (mostly) fix #1762626, cosmetic changes
+       * src/pic/pcodepeep.c: remove reference to nonexisting function
+
+2009-02-28 Raphael Neider <rneider AT web.de>
+
+       * device/include/pic16/signal.h: avoid multiline inline
+         assembler statements in macros, addresses #2644965
+
+2009-02-27 Raphael Neider <rneider AT web.de>
+
+       * device/include/pic16/pic18f[24][3456]k20.h,
+         device/include/pic16/pic18f[68][567]j50.h,
+         device/include/pic16/pic18f[68]6j55.h,
+         device/lib/pic16/libdev/pic18f[24][3456]k20.c,
+         device/lib/pic16/libdev/pic18f[68][567]j50.c,
+         device/lib/pic16/libdev/pic18f[68]6j55.c,
+         device/include/pic16/pic18fregs.h,
+         device/include/pic16/pic16devices.txt,
+         device/lib/pic16/pics.all,
+         device/lib/pic16/libdev/Makefile.am,
+         device/lib/pic16/libio/Makefile.am: added/re-enabled many device
+         families (87j50 family contributed by Robert Wuest)
+
+       * device/include/pic16/adc.h,
+         device/lib/pic16/libio/adc/adcbusy.c,
+         device/lib/pic16/libio/adc/adcclose.c,
+         device/lib/pic16/libio/adc/adcconv.c,
+         device/lib/pic16/libio/adc/adcopen.c,
+         device/lib/pic16/libio/adc/adcsetch.c: added 65j50-style ADC
+
+       * doc/sdccman.lyx: updated list of supported devices, fixed typo
+       * device/lib/pic16/Makefile.common: do not suppress assembler warnings
+
+       * device/lib/pic16/Makefile.in,
+         device/lib/pic16/libm/Makefile.in,
+         device/lib/pic16/debug/Makefile.in,
+         device/lib/pic16/libio/Makefile.in,
+         device/lib/pic16/startup/Makefile.in,
+         device/lib/pic16/libsdcc/Makefile.in,
+         device/lib/pic16/libdev/Makefile.in,
+         device/lib/pic16/libc/Makefile.in: regenerated
+
+2009-02-27 Borut Razem <borut.razem AT siol.net>
+
+       * as/z80/asexpr.c, as/z80/z80mch.c: re-fixed bugs
+         #1829678 and #1704376 in the way proposed by Alan Baldwin
+
+2009-02-23 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
+
+       * device/include/mcs51/at89c51ed2.h: Fixed address of SFR P5. Thanks
+         to Steve Qu for the fix.
+
+2009-02-23 Borut Razem <borut.razem AT siol.net>
+
+       * as/z80/asexpr.c: fixed bug #1829678: Z-80 CP A,<xxx> assembly
+         it is already fixed for mcs51 and hc08 targets
+       * as/z80/z80mch.c: fixed bug #1704376: missing as-z80 errors
+
+2009-02-22 Borut Razem <borut.razem AT siol.net>
+
+       * device/lib/Makefile.in: fixed parenthesis error
+       * doc/sdccman.lyx: fixed webdocs bug #2071421: error in the manual,
+         fixed webdocs bug #1967920: --version
+
+2009-02-18 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * device/include/mcs51/at89c51ed2.h: fixed bug #2071949 bitmask RBCK wrong
+
+2009-02-17 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * as/link/mcs51/lkihx.c (hexRecord): bugfix do not insert extended address
+         when addresses are unsorted
+
+2009-02-15 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
+
+       * device/include/mcs51/p89v66x.h: added ENBOOT thanks
+         Gudjon Gudjonsson <gudjon AT gudjon.org>
+       * device/include/mcs51/p89c66x.h: fixed some defines
+       * device/include/mcs51/p89v66x.h: fixed some sbit addresses
+       * doc/sdccman.lyx: added <NO FLOAT> to index, try to reanimate
+         svn keywords
+
+2009-02-14 Borut Razem <borut.razem AT siol.net>
 
        * doc/sdccman.lyx: corrected cpp info
 
 
        * doc/sdccman.lyx: corrected cpp info
 
-2008-02-13 Borut Razem <borut.razem AT siol.net>
+2009-02-13 Borut Razem <borut.razem AT siol.net>
 
        * as/Makefile.in: *.doc renamed to *.txt
 
 
        * as/Makefile.in: *.doc renamed to *.txt
 
-2008-02-11 Borut Razem <borut.razem AT siol.net>
+2009-02-11 Borut Razem <borut.razem AT siol.net>
 
        * as/doc/aslnk.doc, as/doc/abstra.doc: renamed to *.txt
        * as/doc/aslnk.txt, as/doc/asxhtml.html: changed licens to GPLv3
 
 
        * as/doc/aslnk.doc, as/doc/abstra.doc: renamed to *.txt
        * as/doc/aslnk.txt, as/doc/asxhtml.html: changed licens to GPLv3
 
-2008-02-11 Borut Razem <borut.razem AT siol.net>
+2009-02-11 Borut Razem <borut.razem AT siol.net>
 
        * doc/sdccman.lyx: documented ar format libraries
 
 
        * doc/sdccman.lyx: documented ar format libraries
 
-2008-02-10 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
+2009-02-10 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
 
 
-       * support/regression/tests/float_single.c: added regression 
+       * support/regression/tests/float_single.c: added regression
          test. Some testpoints for probably rarely used functions
          (acosf, sinhf, tanf, expf) disabled for some targets
 
          test. Some testpoints for probably rarely used functions
          (acosf, sinhf, tanf, expf) disabled for some targets
 
-2008-02-10 Raphael Neider <rneider AT web.de>
+2009-02-10 Raphael Neider <rneider AT web.de>
 
        * src/pic16/gen.c (pic16_freeAsmop): avoid NULL pointer dereference,
          (genAssign): fixed for operands on the stack
 
        * src/pic16/gen.c (pic16_freeAsmop): avoid NULL pointer dereference,
          (genAssign): fixed for operands on the stack
          device/lib/pic16/libc/stdio/vsprintf.c: do not mess up the user's
          pointer to the string buffer, enlarge buffer for x_ftoa()
 
          device/lib/pic16/libc/stdio/vsprintf.c: do not mess up the user's
          pointer to the string buffer, enlarge buffer for x_ftoa()
 
-2008-02-10 Borut Razem <borut.razem AT siol.net>
+2009-02-10 Borut Razem <borut.razem AT siol.net>
 
        * device/lib/printf_tiny.c: replaced non-C89 comments '//' with '/* */'
 
 
        * device/lib/printf_tiny.c: replaced non-C89 comments '//' with '/* */'
 
-2008-02-10 Raphael Neider <rneider AT web.de>
+2009-02-10 Raphael Neider <rneider AT web.de>
 
        * device/include/pic16/pic18f*.h: add bit aliases in INTCONbits_t
 
 
        * device/include/pic16/pic18f*.h: add bit aliases in INTCONbits_t
 
-2008-02-09 Raphael Neider <rneider AT web.de>
+2009-02-09 Raphael Neider <rneider AT web.de>
 
        * src/pic16/pcode.c (assignToSameBank): add force argument to ignore
          artificial bank size limits for compound data (structs, arrays),
 
        * src/pic16/pcode.c (assignToSameBank): add force argument to ignore
          artificial bank size limits for compound data (structs, arrays),
          device/lib/z80/Makefile.in:
          chose source files in the PORT directory if they are available
 
          device/lib/z80/Makefile.in:
          chose source files in the PORT directory if they are available
 
-2008-02-01 Raphael Neider <rneider AT web.de>
+2009-02-01 Raphael Neider <rneider AT web.de>
 
        * device/lib/pic16/libdev/pic18f1220.c,
        * device/lib/pic16/libdev/pic18f4450.c:
 
        * device/lib/pic16/libdev/pic18f1220.c,
        * device/lib/pic16/libdev/pic18f4450.c:
        * support/regression/tests/snprintf.c:
          reenable floating point in small-xstack-auto library
 
        * support/regression/tests/snprintf.c:
          reenable floating point in small-xstack-auto library
 
-2008-01-26 Raphael Neider <rneider AT web.de>
+2009-01-26 Raphael Neider <rneider AT web.de>
 
        * src/pic16/ralloc.c (packForPush): disabled to fix #2496919
 
 
        * src/pic16/ralloc.c (packForPush): disabled to fix #2496919
 
-2008-01-25 Raphael Neider <rneider AT web.de>
+2009-01-25 Raphael Neider <rneider AT web.de>
 
        * src/pic16/main.c (_pic16_linkEdit): prepend -L paths to linker
          search path instead of appending them
 
        * src/pic16/main.c (_pic16_linkEdit): prepend -L paths to linker
          search path instead of appending them