* device/include/pic16/stdio.h, device/lib/pic16/libc/stdio/streams.c,
[fw/sdcc] / ChangeLog
index 28372e8f6ea6e91acdbfb6af3099c901c3411008..1ca93c601c46273cb8248a610504cc20fccb518c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,297 @@
+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
+
+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
+
+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
+       * src/z80/gen.c (genCritical, genEndCritical): fixed bug 2077267
+       * support/regression/tests/bug2077267.c: new, added
+
+2008-09-05 Raphael Neider <rneider AT web.de>
+
+       * configure.in, Makefile.common.in: add support for ccache,
+         remove spurious $VERSION output, detect doc-tools even without
+         --enable-doc to facilitate later manual doc-builds, minor cleanup
+       * configure: regenerated
+
+       * doc/Makefile.in: quieten pdflatex, makeindex, and latex2html,
+         avoid races in parallel VPATH builds
+       * doc/clean.mk: remove .lyx files in the builddir for VPATH builds
+       * doc/sdccman.lyx: mention --without-ccache configure option
+
+2008-09-01 Raphael Neider <rneider AT web.de>
+
+       * src/pic16/gen.c (pic16_derefPtr): handle CPOINTERs as well
+       * (genConstPointerGet): fix reading bitfields from __code space
+       * src/pic16/glue.c (pic16_printIvalBitFields): correctly mask
+         bitfield initializers (fix regression test bug1856409.c)
+       * (pic16_printIvalCharPtr,pic16_printIvalPtr): generalized to support
+         arbitrary sizes
+
+2008-08-31 Raphael Neider <rneider AT web.de>
+
+       * src/pic16/gen.c (genAssign): removed useless compiler output
+       * (genPointerGet,genPointerSet,genCast),
+         src/pic16/glue.c (pic16_printGPointerType):
+         also handle PPOINTERs just to avoid spurious asserts
+       * (pic16_printIvalType,pic16_printIvalBitFields):
+         generalized to arbitrary type/bitfield sizes, allows compilation of
+         regression test bug-1981238.c
+       * (pic16_printIvalChar): fix regression test structflexarray.c
+       * (pic16_printIvalArray): avoid SIGSEGV on uninitialized strings
+         in initialized structs and fix #1843745
+       * (pic16_printIvalStruct): always output initializers for all fields,
+         even those not explicitly given, fixes zeropad.c regression test
+       * (pic16_printIvalUnion): fix union initializers (bug1426356.c,
+         #2073635, #1567098, and #1485812)
+       * src/pic16/main.c (_pic16_keywords): remove unsupported 'pdata'
+
+2008-08-31 Borut Razem <borut.razem AT siol.net>
+
+       * support/regression/tests/bug-895992.c,
+         support/regression/tests/onebyte.c:
+         enabled pic16 regression testing since the bugs
+         1511794: pic16: regression test bug-895992.c fails
+         1444425: onebyte.c regression tes fails on pic16
+         are fixed, probably by fixing
+         2048464: PIC16: fix genUminus - addresses not.c regression test
+       * src/SDCCsymt.c, src/SDCCglue.c,
+         support/regression/tests/bug-1981238.c:
+         applied patch 2076664: fix #1981238 + SIGSEGV in SDCCGlue.c
+         thanks to RvS
+
+2008-08-30 Borut Razem <borut.razem AT siol.net>
+
+       * support/cpp/libcpp/files.c: SDCPP synchronized with GCC CPP
+         release version 4.3.2
+
+2008-08-24 Raphael Neider <rneider AT web.de>
+
+       * device/lib/pic16/configure, device/lib/pic16/configure.ac:
+         always use the sdcc from the current build tree (ignore $CC from
+         the environment, fixes compile farm builds)
+       * device/lib/Makefile.in: rename .a into .lib for compatibility,
+         remove more build products from install directory
+       * sdcc/src/pic16/main.c (_pic16_linkEdit,_pic16_finaliseOptions)
+       * sdcc/support/scripts/sdcc.nsi: revert to .lib extension for libs
+
+2008-08-24 Borut Razem <borut.razem AT siol.net>
+
+       * src/SDCC.y: applied patch
+         2050245: Fix # 1963382
+         for bug
+         1963382: Listing File - C file comment is incorrect
+         thanks to RvS
+
+2008-08-23 Borut Razem <borut.razem AT siol.net>
+
+       * src/pic16/gen.c: applied patch
+         2048464: PIC16: fix genUminus - addresses not.c regression test
+         thanks Mauro Giachero
+
+2008-08-22 Borut Razem <borut.razem AT siol.net>
+
+       * device/lib/pic16/configure, device/lib/pic16/configure.ac,
+         src/pic16/main.c: allow spaces in gpasm and gplink paths
+
+2008-08-15 Philipp Klaus Krause <pkk AT spth.de>
+
+       * src/z80/peep.c,
+       * src/z80/peeph-z80.def: minor peephole improvement
+
+2008-08-15 Raphael Neider <rneider AT web.de>
+
+       * src/z80/gen.c (_vemit2): suppress compiler warning
+
+       * src/pic/*.[ch]: make proper use of header files and avoid
+         ad-hoc extern declarations, mark module-local helpers 'static',
+         removed dead/replaced code, no functional changes
+       * src/pic16/pcode.c: disentangled from pic14 backend
+
+2008-08-14 Philipp Klaus Krause <pkk AT spth.de>
+
+       * src/z80/gen.c: fixed #2051348
+       * support/regression/tests/bug-2051348.c: regression test for #2051348
+
+2008-08-10 Raphael Neider <rneider AT web.de>
+
+       * configure.in,
+       * Makefile.common.in: export PACKAGE for $docdir,
+         fixes #1957036, avoid some "underquoted definition" warnings
+       * configure: regenerated
+
+2008-08-10 Raphael Neider <rneider AT web.de>
+
+       * device/lib/pic16/**: build pic16 library using autotools for
+         improved dependency tracking
+
+       * device/lib/Makefile.in,
+       * src/pic16/main.c,
+       * support/scripts/sdcc.nsi: adapt to changes in filenames (s/.lib/.a/)
+
+2008-08-10 Raphael Neider <rneider AT web.de>
+
+       * src/pic/pcode.c (ReuseReg): do not overlay the registers used for
+         local variables if --nooverlay is given, workaround for #2023121
+
+2008-08-08 Raphael Neider <rneider AT web.de>
+
+       * src/pic16/genarith.c (genAddLit): fix structure access (#1888004)
+
+2008-08-08 Raphael Neider <rneider AT web.de>
+
+       * src/pic/pcoderegs.c,
+       * src/pic/pcode.c,
+       * src/pic16/pcode.c: replace own SAFE_snprintf with common SNPRINTF
+
+2008-08-07 Borut Razem <borut.razem AT siol.net>
+
+       * src/SDCCval.c, src/SDCCmain.c, src/SDCC.lex,
+         device/lib/pic/Makefile.rules, device/lib/ds390/Makefile.in,
+         device/lib/ds400/Makefile.in, device/lib/hc08/Makefile.in,
+         support/cpp/libcpp/lex.c,  doc/sdccman.lyx:
+         applied modified patch 2038174: Add support for binary constants v2
+         thanks Mauro Giachero
+       * .version, doc/sdccman.lyx: bumped sdcc version to 2.8.3
+
+2008-08-04 Raphael Neider <rneider AT web.de>
+
+       * doc/sdccman.lyx,
+       * src/pic16/device.h,
+       * src/pic16/glue.c,
+       * src/pic16/main.c: enable --optimize-goto by default
+
+       * device/lib/pic16/Makefile.common.in: suppress removed option
+
+       * src/pic16/gen.c,
+       * src/pic16/genutils.c: avoid too long relative branches (#2031890)
+
+2008-07-30 Borut Razem <borut.razem AT siol.net>
+
+       * src/pic16/device.c, src/pic16/glue.c, src/pic16/pcode.c:
+         applied patch 22032433: PIC16: fix constant strings,
+         thanks Mauro Giachero
+
+2008-07-29 Borut Razem <borut.razem AT siol.net>
+
+       * src/pic16/gen.c: applied patches:
+         2030306: [1/3] PIC16: fix failing rotate.c tests on 16-bit variables,
+         2030307: [2/3] PIC16: fix failing rotate.c tests for 32-bit var (1),
+         2030310: [3/3] PIC16: fix failing rotate.c tests for 32-bit var (2),
+         thanks Mauro Giachero
+
+2008-07-13 Philipp Klaus Krause <pkk AT spth.de>
+
+       * src/port.h: Fixed typo in comment
+
+2008-07-12 Philipp Klaus Krause <pkk AT spth.de>
+
+       * src/z80/mappings.i: Implemented RFE #1919415
+       * src/z80/peeph-z80.def: Implemented RFE #1919415, #1861376,
+         #1880202, #1914434, prepared for RFE #1703943
+
+2008-07-12 Philipp Klaus Krause <pkk AT spth.de>
+
+       * src/z80/peeph.def,
+       * src/z80/peeph-z80.def,
+       * src/z80/peeph-gbz80.def: separate Z80 from GBZ80 peepholes in
+         preparation for Z80 peephole improvements
+
+2008-06-21 Raphael Neider <rneider AT web.de>
+
+       * device/include/pic16/pic18f66j60.h,
+       * device/include/pic16/pic18f66j65.h,
+       * device/include/pic16/pic18f67j60.h,
+       * device/include/pic16/pic18f86j60.h,
+       * device/include/pic16/pic18f86j65.h,
+       * device/include/pic16/pic18f87j60.h,
+       * device/include/pic16/pic18f96j60.h,
+       * device/include/pic16/pic18f96j65.h,
+       * device/include/pic16/pic18f97j60.h,
+       * device/lib/pic16/libdev/pic18f66j60.c,
+       * device/lib/pic16/libdev/pic18f66j65.c,
+       * device/lib/pic16/libdev/pic18f67j60.c,
+       * device/lib/pic16/libdev/pic18f86j60.c,
+       * device/lib/pic16/libdev/pic18f86j65.c,
+       * device/lib/pic16/libdev/pic18f87j60.c,
+       * device/lib/pic16/libdev/pic18f96j60.c,
+       * device/lib/pic16/libdev/pic18f96j65.c,
+       * device/lib/pic16/libdev/pic18f97j60.c,
+       * device/include/pic16/pic16devices.txt,
+       * device/include/pic16/pic18fregs.h,
+       * device/lib/pic16/pics.all: added new devices
+
+       * device/include/pic16/adc.h,
+       * device/lib/pic16/libio/adc/adcbusy.c,
+       * device/lib/pic16/libio/adc/adcopen.c,
+       * device/lib/pic16/libio/adc/adcsetch.c,
+       * device/lib/pic16/libio/i2c/i2copen.c,
+       * device/lib/pic16/libio/usart/uopen.c: adapted to new devices,
+         all changes from a patch by Anton Strobl
+
 2008-06-12 Borut Razem <borut.razem AT siol.net>
 
        * sim/ucsim/cmd.src/info.cc, sim/ucsim/cmd.src/bp.cc,
 
 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:
+       * 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>
 
 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>