* doc/sdccman.lyx:
[fw/sdcc] / ChangeLog
index 3b3116508fc92a7ab011404260f1c81f17c97883..ec47b2203653a7488c1f8c00b689db3faaf33515 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,9 +1,294 @@
+2008-11-19 Borut Razem <borut.razem AT siol.net>
+
+       * doc/sdccman.lyx:
+         fixed 2314467: sdccman.lyx: fix "--" in command line parameters
+         thanks Mauro Giachero
+
+2008-11-16 Borut Razem <borut.razem AT siol.net>
+
+       * .version, doc/sdccman.lyx: bumped sdcc version to 2.8.5
+       * doc/sdccman.lyx: documented fixed unnamed bit-field initialization
+
+2008-11-15 Borut Razem <borut.razem AT siol.net>
+
+       * src/pic16/glue.c, src/SDCC.y, src/SDCCast.c, src/SDCCglue.c,
+         src/SDCCsymt.c, src/SDCCsymt.h:
+         fixed RFE #2291335 : Unnamed bit-field initialization
+       * support/regression/tests/bitfields.c:
+         added test case for RFE #2291335
+       * support/regression/tests/bug-1981238.c:
+         don't initialize unnamed bit-fields
+
+2008-11-11 Raphael Neider <rneider AT web.de>
+
+       * device/include/pic16/pic18f25j10.h,
+         device/include/pic16/pic18f45j10.h: remove useless boilerplate
+
+       * 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/adcread.c,
+         device/lib/pic16/libio/adc/adcsetch.c: generalized, documented,
+         and fixed ADC routines to work for more target devices,
+         incorporates patch #2036130 by Nick Materer
+
+2008-11-10 Steven Borley <steven.borley AT partnerelectronics.com>
+
+       * device/include/ctype.h,
+       * device/include/ds400rom.h,
+       * device/include/ds80c390.h,
+       * device/include/float.h,
+       * device/include/math.h,
+       * device/include/serial.h,
+       * device/include/stdbool.h,
+       * device/include/tinibios.h: replaced non-C89 '//' with '/* */',
+         patch 2195343
+       * device/include/mcs51/C8051F336.h,
+       * device/include/mcs51/C8051T600.h,
+       * device/include/mcs51/C8051T610.h,
+       * device/include/mcs51/C8051T630.h: new, added, patch 2183334
+         (svn commit by Maarten Brock <sourceforge.brock AT dse.nl>)
+
+2008-11-10 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
+
+       * device/include/mcs51/P89LPC922.h: fixed #2255989, thanks kubi57
+
+2008-11-10 Raphael Neider <rneider AT web.de>
+
+       * device/lib/pic16/libdev/mkmk.sh: obey pics.all
+       * device/lib/pic16/libio/mkmk.sh: properly match whole lines in
+         .ignore files, fixes IO libs for 18f242, 18f252, 18f442, and 18f452
+         (patch by Nick Materer, #2253980)
+
+       * device/lib/pic16/libio/adc.ignore,
+         device/lib/pic16/libio/i2c.ignore,
+         device/lib/pic16/libio/usart.ignore,
+         device/lib/pic16/pics.all: updated to build more device libs
+
+       * device/lib/pic16/libdev/Makefile.am,
+         device/lib/pic16/libdev/Makefile.in,
+         device/lib/pic16/libio/Makefile.am,
+         device/lib/pic16/libio/Makefile.in: regenerated
+
+       * src/pic16/device.c (pic16_dump_usection): fixed output of multiple
+         names per memory location, applied SDCC style to more functions
+
+2008-11-09 Gudjon I. Gudjonsson <gudjon AT gudjon.org>
+
+       * device/include/mcs51/p89lpc933_4.h: new NXP header file
+       * device/include/mcs51/p89lpc935_6.h: new NXP header file
+       * device/include/mcs51/p89v66x.h: minor changes
+         (svn commit by Frieder Ferlemann <Frieder.Ferlemann AT web.de>)
+
+2008-11-09 Raphael Neider <rneider AT web.de>
+
+       * device/include/pic/pic14devices.txt: fixed memory description for
+         12f629 and 12f675, closes #2236240
+
+2008-11-06 Borut Razem <borut.razem AT siol.net>
+
+       * src/SDCCmain.c: #fixed bug 2224960: sdcc -MM no working correctly
+         pass system include paths with -isystem to sdcpp
+       * src/SDCCglue.c, src/pic/glue.c, src/pic16/glue.c: removed unneeded
+         functions (closePipes), (closeTmpFiles) and (rmTmpFiles)
+
+2008-11-02 Raphael Neider <rneider AT web.de>
+
+       * doc/sdccman.lyx: updated the sections on the library build process
+         and on how to add support for new devices, and documented known
+         problems with the extended instruction set including a workaround
+
+2008-11-01 Raphael Neider <rneider AT web.de>
+
+       * device/include/pic16/adc.h,
+         device/include/pic16/pic16devices.txt,
+         device/include/pic16/pic18f2410.h,
+         device/include/pic16/pic18f2510.h,
+         device/include/pic16/pic18f2515.h,
+         device/include/pic16/pic18f2610.h,
+         device/include/pic16/pic18f4410.h,
+         device/include/pic16/pic18f4510.h,
+         device/include/pic16/pic18f4515.h,
+         device/include/pic16/pic18f4610.h,
+         device/include/pic16/pic18fregs.h,
+         device/lib/pic16/libdev/Makefile.am,
+         device/lib/pic16/libdev/Makefile.in,
+         device/lib/pic16/libdev/pic18f2410.c,
+         device/lib/pic16/libdev/pic18f2510.c,
+         device/lib/pic16/libdev/pic18f2515.c,
+         device/lib/pic16/libdev/pic18f2610.c,
+         device/lib/pic16/libdev/pic18f4410.c,
+         device/lib/pic16/libdev/pic18f4510.c,
+         device/lib/pic16/libdev/pic18f4515.c,
+         device/lib/pic16/libdev/pic18f4610.c,
+         device/lib/pic16/libio/Makefile.am,
+         device/lib/pic16/libio/Makefile.in,
+         device/lib/pic16/pics.all: added support for 18f[24][456]10
+         and 18f[24]515 devices
+       * doc/sdccman.lyx: updated list of supported PIC16 devices
+
+       * src/pic/glue.c, src/pic/pcode.c, src/pic/pcodeflow.c,
+         src/pic16/glue.c, src/pic16/pcode.c, src/pic16/pcodeflow.c,
+         src/xa51/gen.c: avoid compiler warnings
+       * support/scripts/inc2h-pic16.pl: removed trailing whitespace
+
+2008-10-22 Gudjon I. Gudjonsson <gudjon AT gudjon.org>
+
+       * device/include/mcs51/p89v66x.h: NXP header file
+       * device/include/mcs51/p89c66x.h: fixed an SBIT definition
+         (svn commit by Frieder Ferlemann <Frieder.Ferlemann AT web.de>)
+
+2008-10-14 Raphael Neider <rneider AT web.de>
+
+       * device/lib/pic16/libdev/Makefile.am,
+         device/lib/pic16/libio/Makefile.am: enable building libraries for
+         18f2321, 18f4321, 18f2523, 18f4620, 18f66j60, 18f66j65, 18f67j60,
+         18f86j60, 18f86j65, 18f87j60, 18f96j60, 18f96j65, and 18f97j60
+       * device/lib/pic16/libdev/Makefile.in,
+         device/lib/pic16/libio/Makefile.in: regenerated
+
+2008-10-14 Raphael Neider <rneider AT web.de>
+
+       * device/include/pic16/pic18f2450.h,
+         device/include/pic16/pic18f4450.h,
+         device/lib/pic16/libdev/pic18f2450.c,
+         device/lib/pic16/libdev/pic18f4450.c,
+         device/include/pic16/adc.h,
+         device/include/pic16/pic16devices.txt,
+         device/include/pic16/pic18fregs.h,
+         device/lib/pic16/libdev/Makefile.am,
+         device/lib/pic16/libdev/Makefile.in,
+         device/lib/pic16/libio/Makefile.am,
+         device/lib/pic16/libio/Makefile.in,
+         device/lib/pic16/pics.all: added 18f2450 and 18f4450, closes #1844525
+
+       * device/lib/pic16/libsdcc/stack/stack.S: there is no need to pin the
+         stack to a fixed location, relax it to automatically work with all
+         but the smallest devices (256 byte RAM devices need #pragma stack)
+
+2008-10-09 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * debugger/mcs51/break.c: bugfix from patch 1989966, thanks Risto Huotari
+       * debugger/mcs51/simi.c: bugfix from patch 1989972, thanks Risto Huotari
+       * device/lib/_strcspn.c: fixed bug 2140931
+
+2008-10-06 Raphael Neider <rneider AT web.de>
+
+       * device/include/pic16/stdio.h,
+         device/lib/pic16/libc/stdio/putchar.c: putchar should not be
+         declared __naked for convenience, named all arguments
+       * device/lib/pic16/libc/stdio/strmgpsim.c,
+         device/lib/pic16/libc/stdio/strmmssp.c,
+         device/lib/pic16/libc/stdio/strmusart.c: cosmetic changes
+
+       * src/pic16/pcode.c (createReachingDefinitions): avoid segfault on
+         empty __naked functions,
+       * (pCodeLabelDestruct, pic16_unlinkpCode, pic16_pCodeUnlink): fix
+         corner cases (unlink first/last pCode in list), reuse more code
+
+2008-10-05 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/ds390/main.c (_ds390_genInitStartup): added
+       * src/SDCCpeeph.c (getPatternVar): new, added,
+         (labelInRange): fixed bug 2115959
+       * src/mcs51/peeph.def (rules 193.x to 198.x): check for labelInRange
+       * src/SDCCicode.h: added newiTempOperand
+       * src/SDCCcse.c (algebraicOpts): fixed bug for x*-1,
+         added optimizations for 0/x and x/-1, see also patch 2142900
+       * support/regression/tests/onebyte.c (testMul): added test cases
+
+2008-09-20 Borut Razem <borut.razem AT siol.net>
+
+       * src/pic16/glue.c:
+         definition of absolute address symbols without initial value,
+         fixed SDCC crash "do not know how to intialize symbol"
+
+2008-09-16 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * device/lib/z80/mul.s (__mulsuchar_rrx_s, __muluschar_rrx_s),
+       * device/lib/z80/div.s (__divsuchar_rrx_s, __modsuchar_rrx_s,
+         __divuschar_rrx_s, __moduschar_rrx_s): added mixed signedness versions
+       * device/lib/z80/stubs.s: added stubs for above functions
+       * src/SDCCopt.c (convilong),
+       * src/SDCCsymt.c (initCSupport): fixed bug 1900961
+       * src/SDCCsymt.h (__muldiv): enlarged for mixed signedness
+       * src/z80/main.c (_hasNativeMulFor): fixed bug, I think
+       * support/regression/tests/onebyte.c: enabled all tests for z80
+
+2008-09-15 Borut Razem <borut.razem AT siol.net>
+
+       * device/include/pic16/stdio.h, device/lib/pic16/libc/stdio/streams.c,
+         device/lib/pic16/libc/stdio/printf.c,
+         device/lib/pic16/libc/stdio/strmusart.c,
+         device/lib/pic16/libc/stdio/printf_tiny.c,
+         device/lib/pic16/libc/stdio/sprintf.c,
+         device/lib/pic16/libc/stdio/strmgpsim.c,
+         device/lib/pic16/libc/stdio/putchar.c,
+         device/lib/pic16/libc/stdio/fprintf.c,
+         device/lib/pic16/libc/stdio/strmmssp.c,
+         device/device/lib/pic16/libc/stdio/vprintf.c,
+         device/lib/pic16/libc/stdio/printf_small.c,
+         device/lib/pic16/libc/stdio/vsprintf.c,
+         device/lib/pic16/libc/stdio/strmputchar.c,
+         device/lib/pic16/libc/Makefile.am,
+         device/lib/pic16/libc/Makefile.in:
+         *printf now returns int, puchar.c moved from stdlib to stdio,
+         *printf format parameter type changed from char * to const char *,
+         added GNU link excetion text to library source files,
+         applyed GNU coding style, removed useless svn ids,
+         added BINARY_SPECIFIER macro re-enables the use of the removed 'b'
+         binary specifier: "%b", "%hb" and "%lb"
+       * device/lib/pic16/libc/stdio/vfprintf.c:
+         applied patch #2044424: PIC16: vfprintf
+         thanks Mauro Giachero
+       * support/regression/tests/bug1057979.c:
+         removed old pic16 sprintf specifics
+       * .version, doc/sdccman.lyx: bumped sdcc version to 2.8.4
+       * doc/sdccman.lyx: documented 'b' binary format specifier removal
+
+2008-09-15 Raphael Neider <rneider AT web.de>
+
+       * src/pic16/device.c (pic16_dump_usection): force udata sections
+         into the addressable range (0..0xFFF), workaround for a gpsim
+         bug preventing simulation of regtest bug1750318
+       * src/pic16/ralloc.c (deassignLRs): cosmetic changes,
+         (serialRegAssign): fixed regtest bug-971834,
+         (pic16_packRegisters): avoid null-pointer dereference
+
+2008-09-14 Raphael Neider <rneider AT web.de>
+
+       * src/pic16/gen.c, src/pic16/ralloc.c: use
+         SYM_SPIL_LOC/SPIL_LOC macros, no functional changes
+       * src/pic16/ralloc.c (rematStr): reimplemented, fixes #1818857
+
+2008-09-12 Borut Razem <borut.razem AT siol.net>
+
+       * support/regression/fwk/testfwk.h:
+         define pdata as data for pic16 target
+         thanks Mauro Giachero
+
+2008-09-11 Borut Razem <borut.razem AT siol.net>
+
+       * support/regression/tests/bug-221100.c, support/regression/shifts.c,
+         support/regression/absolute.c:
+         applied patch #2105615: Some PIC16 testcase fixlets
+         thanks Mauro Giachero
+
+2008-09-08 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/z80/gen.c (genCmpGt, genCmpLt): fixed bug 2094505
+       * support/regression/tests/bug2094505.c: new, added
+
 2008-09-07 Borut Razem <borut.razem AT siol.net>
 
        * src/SDCCglue.c, src/SDCCast.c:
          fixed throw of "excess elements" warning for char arrays
+       * support/regression/tests/nullstring.c:
+         disable warning about excess elements in array of chars initializer
 
-2008-06-04 Maarten Brock <sourceforge.brock AT dse.nl>
+2008-09-07 Maarten Brock <sourceforge.brock AT dse.nl>
 
        * as/z80/aslist.c (lstsym): changed old K&R to ANSI
        * src/SDCCicode.c (geniCodeCritical): fixed bug for hc08