X-Git-Url: https://git.gag.com/?p=fw%2Fsdcc;a=blobdiff_plain;f=ChangeLog;h=4ef7674b94845221e11a9bf0c914ebc4cc5251f5;hp=723558c494e9feac91953e938b315c77fed6b953;hb=4bafa836005a601b321ee04bb15e0c27242036df;hpb=24a948a79cc9a76ee83dc2d90b6f5a3604fa617d diff --git a/ChangeLog b/ChangeLog index 723558c4..4ef7674b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,527 @@ +2009-01-10 Borut Razem + + * support/scripts/sdcc.nsi: added asranlib.exe to the install package + * .version, doc/sdccman.lyx: bumped sdcc version to 2.8.7 + due added support for ar format libraries + +2009-01-09 Borut Razem + + * as/asranlib/Makefile.in, as/asranlib/asranlib.dsp, + as/asranlib/asranlib.c: added asranlib + * as/link/lkar.c, as/link/lkar.h: added support for ar format libraries + * Makefile.in, as/link/hc08/Makefile.in, + as/link/hc08/link_hc08.dsp, as/link/lklib.c, as/link/lklibr.c, + as/link/lklibr.h, as/link/lkrel.c, as/link/lkrel.h, + as/link/lksdcclib.c, 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, configure, + configure.in, sdcc.dsw: modified to support ar format libraries + +2009-01-08 Maarten Brock + + * src/SDCCast.c (decorateType RETURN): use RESULT_TYPE_GPTR for generic + pointer return + +2009-01-05 Philipp Klaus Krause + + * sim/ucsim/z80.src/inst_ed.cc: + Fixed bug #2488074, which made regression tests fail. + +2009-01-05 Philipp Klaus Krause + + * device/lib/z80/mod.s, + device/lib/z80/div.s, + device/lib/z80/mulchar.s, + device/lib/z80/mul.s, + device/lib/z80/divsigned.s, + device/lib/z80/Makefile.in: + Implemented RFE #1702376. + +2009-01-05 Borut Razem + + * as/link/lksdcclib.c: + fixed linker hanging in INDEXLIB is not defined (hc08) + +2009-01-04 Philipp Klaus Krause + + * src/z80/gen.c: + Implemented RFE #2485684, and some further improvements of HL caching + including a bugfix. + * src/z80/peeph-z80.def: + Fixed a bug exposed by implementing RFE #2485684. + +2009-01-04 Philipp Klaus Krause + + * src/z80/peeph-z80.def: + Peephole improvements. + * src/z80/gen.c, + src/z80/main.c, + device/include/string.h, + device/lib/z80/memmove.s: + Minor code cleanup. + * device/lib/z80/Makefile.in, + device/lib/Makefile.in, + support/regression/tests/memory.c, + device/lib/z80/strlen.s: + Partially implemented RFE #2471534. + +2009-01-04 Borut Razem + + * .version, doc/sdccman.lyx: bumped sdcc version to 2.8.6 + due changes in sdcc asxxxx linkers - it sholud be done 2 days ago :( + * doc/README.txt: updated John Hartman's e-mail address + * as/link/lkrel.c, as/link/lksdcclib.c: + fixed bug #2484677: Linker hangs + * src/z80/peep.c: fixed msvc warning C4047: + 'return' : 'int ' differs in levels of indirection from 'char *' + * config.dsp: as/lib corrected to as/link + +2009-01-04 Philipp Klaus Krause + + * src/z80/peep.c: + Implemented RFE #2484693. + * src/z80/peeph-z80.def: + Some peephole improvements. + +2009-01-03 Borut Razem + + * as/link/lklibr.c: + fixed warning: 'ret' may be used uninitialized in this function + +2009-01-02 Borut Razem + + * as/link/lklib.c, as/link/lksdcclib.c, as/link/lklibr.h, + as/link/getline.[ch], as/link/lkrel.[ch]: added, + made support for differnet library formats more flexible, + preparation for support of ar format + * as/link/lklibr.c, as/link/z80/Makefile.in, + as/link/z80/linkgbz80.dsp, as/link/z80/linkz80.dsp, + as/link/hc08/link_hc08.dsp, as/link/hc08/Makefile.in, + as/link/mcs51/aslink.dsp, as/link/mcs51/Makefile.in, + as/link/hc08/lkelf.c, as/link/aslink.h: + made support for differnet library formats more flexible, + preparation for support of ar format + +2009-01-01 Borut Razem + + * as/link/asxxxx_config.h.in: + fixed warning: extra tokens at end of #endif directive + * src/z80/peep.c: + fixed warning: suggest parentheses around && within || + * device/lib/Makefile.in: allow whitespaces at the end of lines in + ports.build, in order to make it work on cygwin - it seems to be a + bug in cygwin grep: CR is not treated as part of end-of-line + +2008-12-31 Borut Razem + + * configure, configure.in, config.dsp, config_vc.awk, + as/link/asxxxx_config.h.in, as/link/hc08/lkelf.c, as/link/aslink.h, + as/link/hc08/Makefile.in, as/link/mcs51/Makefile.in: + introduced asxxxx_config.h.in + +2008-12-30 Philipp Klaus Krause + + * src/z80/gen.c, + src/z80/peeph-z80.def: + Minor addition improvement. + +2008-12-30 Raphael Neider + + * as/link/hc08/lkelf.c, as/link/lkaomf51.c, as/link/lklibr.c, + as/link/z80/lkgb.c, debugger/mcs51/cmd.c, sim/ucsim/utils.cc, + src/SDCCasm.c, support/Util/dbuf_string.c, support/cpp/c-ppoutput.c, + support/cpp/libcpp/lex.c, support/cpp/libcpp/macro.c, + support/librarian/sdcclib.c, support/makebin/makebin.c: + partially revert changes from r5293..r5295 + +2008-12-29 Philipp Klaus Krause + + * src/z80/peeph-z80.def: + Minor peephole improvement. + +2008-12-29 Raphael Neider + + * src/pic/pcode.c (insertBankSel, FixRegisterBanking): emit + incorrectly discarded BANKSELs + +2008-12-29 Philipp Klaus Krause + + * support/regression/tests/memory.c: + Added simple test for memset(), memcpy() and memmove() + +2008-12-29 Borut Razem + + * sdcc/support/scripts/sdcc.nsi: removed $INSTDIR\lib\src\z80\*.c + +2008-12-28 Maarten Brock + + * src/mcs51/peeph.def (177.e): replaced notVolatile(%3) with + operandsNotRelated(%1 %3), had to change (a)r%1 to (a)%1 for this to work + (177.j): added new rule + * src/SDCCsymt.h: added RESULT_TYPE_GPTR + * src/SDCCast.c (processParms): use RESULT_TYPE_GPTR for generic ptr parms, + (decorateType CAST): propagate storage class to generic pointer results + +2008-12-27 Philipp Klaus Krause + + * device/lib/z80/string.c, + device/lib/z80/printf.c, + device/lib/z80/mul.s: + z80 library cleanup + * src/z80/gen.c: + Fixed code generation bug exposed by builtin memcpy(). + +2008-12-27 Philipp Klaus Krause + + * device/lib/_memcpy.c: + fixed conflict with builtin memcpy() + +2008-12-26 Borut Razem + + * support/librarian/sdcclib.c: + fixed bug 2466950: "sdcclib broken" + by removing fgets return value check + +2008-12-26 Philipp Klaus Krause + * src/z80/main.c, + src/z80/gen.c, + device/include/string.h: Implemented RFE #1914254 + +2008-12-26 Philipp Klaus Krause + * device/lib/z80/Makefile.in, + device/lib/Makefile.in, + device/lib/z80/memmove.s: Implemented RFE #1914256 + +2008-12-26 Philipp Klaus Krause + + * src/z80/peeph-z80.def: fixed a bug in peephole 0zf + * src/z80/peep.c: improved checks for unused data + * src/z80/gen.c, + src/z80/main.c: Implemented RFE #1899189 + +2008-12-25 Borut Razem + + * support/regression/Makefile.in: + add -I$(INC_DIR) to SDCCFLAGS only if INC_DIR is defined + +2008-12-25 Philipp Klaus Krause + + * src/z80/peeph-z80.def: minor peephole improvements + +2008-12-21 Borut Razem + + * support/librarian/sdcclib.c: fixed build failure on Mac OS X + due to redefinition of symbol __assert + sdcclib.c:53:1:warning: "__assert" redefined + /Xcode2.5/SDKs/MacOSX10.4u.sdk/usr/include/assert.h:80:1: + warning: this is the location of the previous definition + +2008-12-20 Raphael Neider + + * debugger/mcs51/break.c, debugger/mcs51/cmd.c, + debugger/mcs51/simi.c, debugger/mcs51/symtab.c, + support/cpp/libcpp/macro.c: fix format string errors + + * sim/ucsim/s51.src/timer2.cc: add clarifying parens + + * src/pic/device.c: partial rewrite using strtok, + quieten compiler warnings, adopt SDCC coding style + + * as/link/hc08/lkelf.c, as/link/lkaomf51.c, as/link/lklibr.c, + as/link/z80/lkgb.c, as/z80/asout.c, debugger/mcs51/cmd.c, + sim/ucsim/utils.cc, src/SDCCasm.c, support/Util/dbuf_string.c, + support/cpp/c-ppoutput.c, support/cpp/libcpp/lex.c, + support/librarian/sdcclib.c, support/makebin/makebin.c: + quieten most compiler warnings + + * sim/ucsim/avr.src/arith_inst.cc: quieten compiler warnings, + probably fix operator precedence bug + + * doc/clean.mk: quieten rm if no .lyx is present + +2008-12-19 Borut Razem + + * doc/sdccman.lyx, doc/random-notes.txt, doc/avr/avr_design.txt, + doc/TININative.txt, doc/macro-sys-design.txt, doc/libdoc.txt, + doc/README.txt, doc/test_suite_spec.lyx: + applied patch 2446381: Dcoumentation spelling correcitons + thanks to Steven Borley + +2008-12-16 Raphael Neider + + * device/include/pic/pic12f629.h, + device/include/pic/pic12f675.h, + device/lib/pic/libdev/pic12f629.c, + device/lib/pic/libdev/pic12f675.c: consolidated, added TRISIO bits + +2008-12-14 Borut Razem + + * doc/sdccman.lyx, cdbfileformat.lyx, test_suite_spec.lyx: + converted to LyX 1.5.7 (\lyxformat 276) format + +2008-12-07 Borut Razem + + * support/regression/tests/bitfields.c: + added test case for bug #2366757 + +2008-12-07 Raphael Neider + + * src/pic16/glue.c (pic16_printIvalBitFields): prevent + NULL pointer dereference, closes #2366757 + +2008-11-25 Raphael Neider + + * device/include/pic16/pic16devices.txt, + sdcc/src/pic16/device.c, + sdcc/src/pic16/device.h: implicitly disable XINST + whenever CONFIG4L is set via an additional optional + argument to the configword directive in pic16devices.txt + +2008-11-24 Raphael Neider + + * device/lib/pic16/configure.ac, + device/lib/pic16/Makefile.common: fixed quoting issues + + * device/lib/pic16/configure, + device/lib/pic16/debug/Makefile.in, + device/lib/pic16/libc/Makefile.in, + device/lib/pic16/libdev/Makefile.in, + device/lib/pic16/libio/Makefile.in, + device/lib/pic16/libm/Makefile.in, + device/lib/pic16/libsdcc/Makefile.in, + device/lib/pic16/Makefile.in, + device/lib/pic16/startup/Makefile.in: regenerated + + * src/pic16/main.c (_pic16_finaliseOptions): revert to + variant of r5216 + +2008-11-24 Raphael Neider + + * src/pic16/main.c (_pic16_finaliseOptions): do not quote the + argument of --asm= or --link= to allow for + --asm="sh script --options", the user can double quote the + argument if needed: --asm="'c:/program files/gpasm' -q", + also fix some potential buffer overflows + +2008-11-19 Borut Razem + + * doc/sdccman.lyx: + fixed 2314467: sdccman.lyx: fix "--" in command line parameters + thanks Mauro Giachero + +2008-11-16 Borut Razem + + * .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 + + * 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 + + * 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 + + * 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 ) + +2008-11-10 Frieder Ferlemann + + * device/include/mcs51/P89LPC922.h: fixed #2255989, thanks kubi57 + +2008-11-10 Raphael Neider + + * 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 + + * 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 ) + +2008-11-09 Raphael Neider + + * device/include/pic/pic14devices.txt: fixed memory description for + 12f629 and 12f675, closes #2236240 + +2008-11-06 Borut Razem + + * 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 + + * 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 + + * 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 + + * device/include/mcs51/p89v66x.h: NXP header file + * device/include/mcs51/p89c66x.h: fixed an SBIT definition + (svn commit by Frieder Ferlemann ) + +2008-10-14 Raphael Neider + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 * device/include/pic16/stdio.h, device/lib/pic16/libc/stdio/streams.c, @@ -66,6 +590,8 @@ * 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-09-07 Maarten Brock