X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=ChangeLog;h=bc017136e83544819b7b3885aa3f72834df73838;hb=80389380ff28b4697e85edd6a0cf30bd00759745;hp=fbead69253b29952827bbc83e98c6a7f40e66057;hpb=11f029a039dd3f91dd9c106d8a738fcb794769a6;p=fw%2Fsdcc diff --git a/ChangeLog b/ChangeLog index fbead692..bc017136 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,519 @@ +2007-12-01 Borut Razem + + * sim/ucsim/cmd.src/cmdmem.cc, sim/ucsim/cmd.src/mem.cc: + corrected handling of the highest_valid_address + +2007-11-17 Raphael Neider + + * src/pic/main.c (_asmCmd): include debug arguments (-g as $3) + * src/pic/glue.c (picglue): emit .file if --debug is given + +2007-11-17 Raphael Neider + + * src/pic16/genarith.c (pic16_genPlus, pic16_genMinus): take special + care when left or right operand resides in result, fixes #1830220 + +2007-11-17 Borut Razem + + * src/SDCCglue.c, src/pic16/glue.c: reverted fix for bug + #983491 - "Merge duplicate strings function is ineffective" + * support/regression/tests/bug-983491.c: regtest disabled + * as/asxxsrc: created + as/asxxsrc/assym.c, as/asxxsrc/strcmpi.c: moved + as/hc08/assym.c, as/mcs51/assym.c, as/strcmpi.c, + as/z80/assym.c, as/hc08/asstore.c, as/mcs51/asstore.c: deleted + as/hc08/Makefile.bcc, as/hc08/Makefile.in, as/hc08/as_hc08.dsp, + as/hc08/asm.h, as/link/hc08/Makefile.bcc, as/link/hc08/Makefile.in, + as/link/hc08/link_hc08.dsp, as/link/mcs51/Makefile.bcc, + 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, as/mcs51/Makefile.bcc, as/mcs51/Makefile.in, + as/mcs51/asm.h, as/mcs51/asx8051.dsp, as/z80/Makefile.bcc, + as/z80/Makefile.in, as/z80/as_gbz80.dsp, as/z80/as_z80.dsp, + as/z80/Makefile.as_hc08, as/mcs51/Makefile.asx8051: modified + created as/asxxsrc directory, assym.c and strcpi.c moved into it + +2007-11-15 Maarten Brock + + * device/include/stdarg.h: added and removed some casts + * src/SDCCsymt.c (compareType): Fully check types between generic and + non-generic pointers, also accept ptr-ptr to void-ptr assignments + +2007-11-13 Borut Razem + + * support/regression/tests/bug-1817005.c: + added regtest for bug #1817005 - as-z80 chokes on long labels + +2007-11-12 Borut Razem + + * 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 + + * as/hc08/asmain.c, + * as/z80/asmain.c: cosmetic changes + * as/hc08/alloc.h, + * as/mcs51/alloc.h, + * as/z80/alloc.h: removed + * as/hc08/assym.c, + * as/mcs51/assym.c: replaced alloc.h with stdlib.h + * as/link/aslink.h: added LKDIRSEP and, LKDIRSEPSTR + * as/link/hc08/Makefile.in, + * as/link/mcs51/Makefile.in, + * as/link/z80/Makefile.in: added -DUNIX to CFLAGS + * as/link/lklex.c, + * as/link/mcs51/lkarea.c, + * as/link/mcs51/lkmain.c: cosmetic changes + * as/link/hc08/lklibr.c, + * as/link/z80/lklibr.c, + * as/link/mcs51/lklibr.c: used LKDIRSEP, LKDIRSEPSTR and LKOBJEXT, + used cygwin_conv_to_full_posix_path, + added warnings, cosmetic changes, brought more in sync + changed old K&R into ANSI function declarations + * as/link/z80/lklibr.c (loadAdb): added + * as/link/z80/lkmain.c: removed -- option from usage text + +2007-11-03 Maarten Brock + + * src/mcs51/gen.c (outBitC): optimized for no result + +2007-10-31 Borut Razem + + * src/SDCCsymt.c: fixed (hopeful properly) bug + #1805702 - order of extern matters + * support/regression/tests/bug-1805702.c: enabled regtest for bug + #1805702 + +2007-10-29 Borut Razem + + * src/SDCCsymt.c: reverted bad fixed of bug #1805702 + - order of extern matters + * support/regression/tests/bug-1805702.c: disabled regtest for bug + #1805702 + +2007-10-29 Maarten Brock + + * src/ds390/peeph.def: replaced 24bitModeAndPortDS390 by + 24bitMode, portIsDS390 + * src/mcs51/gen.c (genOr): optimized for RFE 1750727 + * src/SDCCpeeph.c (flat24bitModeAndPortDS390): removed + (notVolatileVariable): also check sloc names, + (callFuncByName): moved ftab[] out of function and sorted it by use + +2007-10-28 Maarten Brock + + * device/include/stdarg.h: fixed bug in va_start macro for --xstack + * src/hc08/gen.c (aopForRemat): aop->aopu.aop_immd.from_cast_remat not set, + aop->aopu.aop_immd.aop_immd2 not filled with (generic) pointer type + * src/SDCCicode.c (geniCodeCast): fixed bug 880197 + * support/regression/tests/bug-880197.c: new, added + +2007-10-28 Borut Razem + + * support/regression/Makefile.in, + support/regression/ports/mcs51-large/spec.mk, + support/regression/ports/mcs51-xstack-auto/spec.mk, + support/regression/ports/mcs51-stack-auto/spec.mk, + support/regression/ports/mcs51-medium/spec.mk, + support/regression/ports/mcs51-common/spec.mk, + support/regression/ports/mcs51-common/*, + support/regression/ports/mcs51-small/*: + mcs51 renamed to mcs51-common, created mcs51-small + * src/SDCCsymt.c: fixed bug #1805702 - order of extern matters + * support/regression/tests/bug-1805702.c: added regtest for bug + #1805702 + +2007-10-26 Maarten Brock + + * src/mcs51/peeph.def: moved rules 257.x to 253.x and re-enabled 253.b, + added new rules 265 - 270 + * support/regression/tests/bug1721024.c:new, added + * support/regression/Makefile.in: renamed test-mcs51 to test-mcs51-small, + introduced new test-mcs51 to run all mcs51 tests + +2007-10-25 Maarten Brock + + * support/regression/tests/bug1816470.c: new, added + +2007-10-21 Maarten Brock + + * src/SDCCast.c (resultTypePropagate): do propagate for LEFT_OP, do not + propagate for *,+,- with float, fixed bug 1816470 + (decorateType): cast to resultTypeProp instead of resultType + +2007-10-19 Borut Razem + + * src/pic16/glue.c: fixed bug #983491 - "Merge duplicate strings + function is ineffective" for pic16 tareget + * support/scripts/listerr.c: corrected include path + * device/lib/_itoa.c: fixed bug #1806402 - _itoa and _uitoa leak to + adjacent memory + +2007-10-18 Maarten Brock + + * support/regression/tests/using.c: new, added + * support/regression/tests/vaargs.c: fixed and enabled test + +2007-10-18 Borut Razem + + * src/SDCCglue.c: fixed bug #983491 - Merge duplicate strings function + is ineffective + * support/regression/tests/bug-983491.c: added regtest for bug #983491 + +2007-10-18 Maarten Brock + + * doc/sdccman.lyx: documented option --Werror + * src/SDCCsymt.c (checkFunction): fixed bug 1815418 by setting + RegBankUsed[] earlier + +2007-10-14 Maarten Brock + + * device/include/mcs51/p89lpc938.h: new, added, thanks Kyle Guinn + * src/pic/glue.c, + * src/SDCCval.c, + * src/SDCCast.c, + * src/SDCCast.h: replaced AST_LIT_VALUE with AST_FLOAT_VALUE and + AST_ULONG_VALUE + * src/SDCCast.c (decorateType): improved optimization of tri-op + * src/SDCCerr.c (vwerror, setWError), + * src/SDCCerr.h, + * src/SDCCmain.c (parseCmdLine): added option --Werror to treat all + warnings as errors, thanks Stas Sergeev for PATCH 1813211 + +2007-10-13 Maarten Brock + + * src/mcs51/gen.c (leftRightUseAcc): use macro IS_OP_ACCUSE + * src/SDCCast.c (decorateType): optimize bit=cond?1:0, RFE 1738430 + * support/regression/tests/bug-223113.c, + * support/regression/tests/bug-426632.c, + * support/regression/tests/bug-468811.c, + * support/regression/tests/bug-477835.c, + * support/regression/tests/bug-478094.c, + * support/regression/tests/bug-499644.c, + * support/regression/tests/bug-524209.c, + * support/regression/tests/bug-524211.c, + * support/regression/tests/packcast.c, + * support/regression/tests/structidx.c: added empty tests + * support/regression/tests/bug-607243.c: enabled test + +2007-10-06 Borut Razem + + * .version, doc/sdccman.lyx: bumped version to 2.7.4 to indicate the full + support of universal binaries on Mac OS X + +2007-10-02 Borut Razem + + * src/SDCCval.h: unified double2ul macro for all platforms + * src/SDCCval.c: fixed bug #1777758 - applied Maarten's patch + * support/regression/tests/bitwise.c: added regtest for bug #1777758 + +2007-09-30 Borut Razem + + * src/SDCCval.h: fixed bug #1739860 - sdcc does not work correctly on some + platforms + * sdcc_vc_in.h: enabled warnings + * src/hc08/gen.c: fixed MSVC warning C4146: unary minus operator applied to + unsigned type, result still unsigned + * src/mcs51/peep.c: fixed gcc warning: suggest parentheses around && within || + +2007-09-28 Raphael Neider + + * src/pic/device.c (find_device): prevent buffer underflow error + * src/pic/pcoderegs.c (OptimizeRegUsage): avoid dereferencing + the just destroyed list entry + +2007-09-18 Frieder Ferlemann + + * doc/sdccman.lyx: there's a dedicated wiki page for cmake and sdcc, thanks + Alexander Neundorf + +2007-09-18 Borut Razem + + * src/SDCCval.c: fixed MSVC warning C4146: unary minus operator + applied to unsigned type, result still unsigned + +2007-09-17 Borut Razem + + * src/SDCC.y, src/SDCCast.c, src/SDCCcse.c, src/SDCCglue.c, + src/SDCCicode.c, src/SDCCopt.c, src/SDCCsymt.c, src/SDCCval.c, + src/SDCCval.h, src/hc08/gen.c, src/avr/gen.c, src/ds390/gen.c, + src/mcs51/gen.c, src/pic/gen.c, src/pic/genarith.c, src/pic/glue.c, + src/pic/ralloc.c, src/pic16/gen.c, src/pic16/genarith.c, + src/pic16/genutils.c, src/pic16/glue.c, src/pic16/main.c, + src/z80/gen.c, src/z80/ralloc.c: + fixed bug #1739860 - sdcc does not work correctly on some platforms + (not finished) + introduced and used ulFromVal(), double2ul(), used strtod() instead sscanf() + +2007-09-17 Raphael Neider + + * src/pic16/device.c: reverted to previous version + * device/lib/pic16/Makefile.common.in: quieten gpasm via -Wa,-q + +2007-09-16 Raphael Neider + + * src/pic16/device.c (pic16_dump_usection): do not reserve 0 bytes, + as this raises a ton of gpasm warnings, just emit a second label + * src/pic16/devices.inc, + * device/lib/pic16/pics.all, + * device/lib/pic16/libdev/pic18f2585.c, + * device/lib/pic16/libdev/pic18f2680.c, + * device/lib/pic16/libdev/pic18f2682.c, + * device/lib/pic16/libdev/pic18f2685.c, + * device/lib/pic16/libdev/pic18f4585.c, + * device/lib/pic16/libdev/pic18f4680.c, + * device/lib/pic16/libdev/pic18f4682.c, + * device/lib/pic16/libdev/pic18f4685.c, + * device/include/pic16/pic18f2585.h, + * device/include/pic16/pic18f2680.h, + * device/include/pic16/pic18f2682.h, + * device/include/pic16/pic18f2685.h, + * device/include/pic16/pic18f4585.h, + * device/include/pic16/pic18f4680.h, + * device/include/pic16/pic18f4682.h, + * device/include/pic16/pic18f4685.h, + * device/include/pic16/pic18fregs.h: added 18f2585, 18f2680, + 18f2682, 18f2685, 18f4585, 18f4680, 18f4682, 18f4685, + patch contributed by Anton Strobl, applied with changes + +2007-09-16 Raphael Neider + + * device/include/pic16/pic18f2431.h, + * device/include/pic16/pic18f25j10.h, + * device/include/pic16/pic18f4431.h, + * device/include/pic16/pic18f45j10.h: adopted common include style + * device/include/pic16/pic18f1320.h, + * device/include/pic16/pic18f2320.h, + * device/include/pic16/pic18f2525.h, + * device/include/pic16/pic18f4320.h, + * device/include/pic16/pic18f4525.h: NEW, just include proper .h file + * device/include/pic16/pic18fregs.h: prepared for automatic include + file selection by having DEVICE.h for every DEVICE + * device/lib/pic16/libdev/pic18f2320.c, + * device/lib/pic16/libdev/pic18f4320.c: just include proper .c file + + * device/lib/pic16/configure.in, + * device/lib/pic16/configure: use rm -rf instead of rmdir + * device/lib/pic16/Makefile.in: use RMDIR to remove build directories + * device/lib/pic16/libc/stdlib/free.c: avoid warning on pointer cast + +2007-09-09 Borut Razem + + * src/SDCCmain.c, src/SDCCutil.c: print newline after printVersionInfo(), + distingush between i386 and ppc Mac OS X versions + +2007-09-05 Maarten Brock + + * src/mcs51/gen.c (genReceive): fixed bug 1788177 + * support/regression/tests/bug1788177.c: new, added + +2007-09-04 Frieder Ferlemann + + * doc/sdccman.lyx: mentioned d52 and cmake, customizing startup code + * device/include/mcs51/lint.h added keyword __naked + +2007-09-04 Maarten Brock + + * src/pic16/glue.c, + * src/pic/glue.c, + * src/SDCCmem.h: removed maxRegBank + * src/SDCCmem.c (allocVariables): removed maxRegBank and moved setting + RegBankUsed[] to checkFunction() in SDCCsymt.c to fix bug 1759839 + * src/SDCCsymt.c (checkFunction): set RegBankUsed[] here + * src/mcs51/peep.c (isCallerSaveFunc, termScanAtFunc): changed function + name and behaviour to handle banked functions + (scan4op): and use it to fix bug 1786213 + +2007-09-03 Raphael Neider + + * device/include/pic16/pic18f248.h, + * device/include/pic16/pic18f258.h, + * device/include/pic16/pic18f448.h, + * device/lib/pic16/libdev/pic18f248.c, + * device/lib/pic16/libdev/pic18f258.c, + * device/lib/pic16/libdev/pic18f448.c: fixed TRISEbits, + added T0CONbits, fixes #1786891 + +2007-08-29 Maarten Brock + + * src/ds390/gen.c (genFarPointerSet), + * src/hc08/ralloc.c (packRegisters), + * src/mcs51/ralloc.c (packRegisters), + * src/SDCCcse.c (cseBBlock): check if result is a symbol first to fix + bug 1750318 + * src/SDCCicode.h: POINTER_SET can be true for literals too + * support/regression/tests/bug1750318.c: new, added + +2007-08-23 Borut Razem + + * debugger/mcs51/sdcdb.c: fixed compilation with older readline + library versions without the completition functionality + +2007-08-22 Raphael Neider + + * device/include/pic16/pic18f1220.h, + * device/lib/pic16/libdev/pic18f1220.c: applied patch #1776191 + +2007-08-12 Borut Razem + + * debugger/mcs51/Makefile.in: support/Util/SDCCerr.[ch] moved to src + +2007-08-11 Borut Razem + + * support/Util/SDCCerr.c, support/Util/SDCCerr.h, src/src.dsp, + src/Makefile.in, src/Makefile.bcc, support/scripts/listerr.c: + support/Util/SDCCerr.[ch] moved to src + * as/hc08/as_hc08.dsp, as/link/hc08/link_hc08.dsp, + as/link/z80/linkgbz80.dsp, as/link/z80/linkz80.dsp, + device/examples/ds390/tinitalk/tinitalk.dsp, + device/examples/serialcomm/windows/serialcomm.dsp, + support/librarian/librarian.dsp: + removed linking of unused odbc32.lib and odbccp32.lib + * support/scripts/winres.h: + added for compilation with Visual C++ 2005 Express Edition + +2007-08-09 Jesus Calvino-Fraga + + * device/include/mcs51/at89c51ed.h: Fixed typo in declarations of CKCON0 + and CKCON1. + +2007-08-07 Erik Petrich + + * sdccconf_in.h: update the endian test so that SPARC Solaris + does not throw syntax errors + +2007-08-06 Borut Razem + + * doc/sdccman.lyx: removed two index entries which prevented the + generation of sdcc doc archive + +2007-08-05 Jesus Calvino-Fraga + + * doc/sdccman.lyx: Same changes made 2007-07-28 but using lyx 1.4.4 + instead of lyx 1.5.0. + +2007-07-31 Erik Petrich + + * device/include/hc08/mc68hc908apxx.h: new header contributed by + Lucas Loizaga, with minor modifications. Thanks! + +2007-07-28 Jesus Calvino-Fraga + + * doc/sdccman.lyx: Documented --acall-ajmp and described new features + in sdcclib. + +2007-07-28 Jesus Calvino-Fraga + + * src/SDCCglobl.h, src/SDCCpeeph.c, src/SDCCglue.c, src/mcs51/main.c, + src/mcs51/peeph.def: Added option --acall-ajmp: replaces lcall/ljmp + with acall/ajmp. + +2007-07-22 Borut Razem + + * configure.in, configure: re-introduced .version + * sdcc.spec, doc/INSTALL.txt: they are used only for releases; + the version reverted to 2.7.0 + +2007-07-18 Maarten Brock + + * configure.in, + * doc/sdccman.lyx: bumped version to 2.7.3 + * device/include/mcs51/compiler.h: fixed elif->else + * src/mcs51/gen.c (genAnd, genOr): handle accuse for pure bit operands + * src/mcs51/ralloc.c (createStackSpil): fixed SCLS bug with sloc for sbit, + (operandUsesAcc, packRegsForAccUse): added parameter allowBitspace to + enable accuse for bit operands + * src/SDCCmain.c (printVersionInfo), + * src/SDCCutil.c (getBuildEnvironment): factored out creation of build + environment descriptor + * src/SDCCutil.h: added getBuildEnvironment + * src/SDCCglue.c (initialComments): use getBuildEnvironment + * support/regression/tests/bug1464657.c: enabled test test_Peephole251 + * support/regression/tests/bug-408972.c: enabled test leftShiftLong + * support/regression/tests/bug1348008.c, + * support/regression/tests/bug1496419.c, + * support/regression/tests/bug1503067.c, + * support/regression/tests/preproc.c: added empty tests + +2007-07-15 Maarten Brock + + * support/regression/tests/bug1678803.c: new, added + +2007-07-14 Maarten Brock + + * as/link/aslink.h, + * as/link/hc08/lkihx.c, + * as/link/hc08/lkrloc.c, + * as/link/mcs51/lkihx.c, + * as/link/mcs51/lkrloc.c: renamed ihxEntendedLinearAddress to + ihxExtendedLinearAddress + * as/link/mcs51/lkrloc.c (relr), + * as/mcs51/asout.c (outr11, outr19): handle absolute destination for + acall/ajmp, see bug 830513 + +2007-07-13 Maarten Brock + + * src/SDCCcse.c (replaceAllSymBySym): renamed siaddr to isaddr, + (cseBBlock): remember aggr2ptr has been used + * src/SDCCicode.c (operandSize): added function to handle aggr2ptr, + (geniCodeAssign): fixed bug 868103 + * src/SDCCicode.h: made operand.aggr2ptr 2 bits wide, + added operandSize prototype + * src/mcs51/gen.c (aopOp): use operandSize to fix bug 868103, + (genDataPointerSet): use max of size of right and result, + (gencjne): added parameter useCarry for optimization, + (genCmpEq): use carry if appropriate, + (genXor): check if operand already in carry + * support/regression/tests/bug-868103.c: enabled test + +2007-07-12 Raphael Neider + + * src/pic16/gen.c (genNearPointerSet): fixed handling of literals + +2007-07-11 Maarten Brock + + * src/SDCCsymt.c (compareType): fixed bugs 1738367 and 1745717 with patch + from Robert Larice, thanks + * support/regression/tests/bitopcse.c, + * support/regression/tests/bitvars.c, + * support/regression/tests/bug-908454.c: use for the bit types + * support/regression/tests/bug-927659.c: enabled test for z80 + * support/regression/tests/bug1738367.c: added extra tests by Frieder + * support/regression/tests/bug1745717.c: new, added + * support/regression/tests/literalop.c, + * support/regression/tests/nullstring.c: removed storage definitions that + are now in testfwk.h + +2007-07-10 Maarten Brock + + * device/include/stdbool.h: do not define __bool_true_false_are_defined + and bool for targets that do not fully support it. + * support/regression/tests/bug1546986.c, + * support/regression/tests/bug1723128.c, + * support/regression/tests/bug1734654.c, + * support/regression/tests/bug1738367.c, + * support/regression/tests/constantRange.c: only use bool if allowed + +2007-07-09 Maarten Brock + + * src/mcs51/peep.c (isCallerSaveFunc): fixed bug 1749275, thanks Robert + Larice, also handle function pointers + * support/regression/tests/bug1749275.c: new, added + +2007-07-03 Borut Razem + + * src/mcs51/gen.c, src/avr/gen.c, src/pic/gen.c, src/z80/gen.c, + src/pic16/gen.c, src/hc08/gen.c, src/ds390/gen.c: fixed RFE + #1746528: SDCC should ignore ':' in inline assembler comments + * device/include/typeof.h: fixed bug #1747142: typeof.h needs fixing + +2007-07-02 Maarten Brock + + * device/include/mcs51/C8051F360.h: fixed bug #1746410, thanks Chris Jones + * device/lib/mcs51/crtxclear.asm: do not set __XPAGE unconditionally + 2007-06-29 Borut Razem * src/SDCCmain.c: fixed bug @@ -37,6 +553,7 @@ Multiple infiles for sdcclib. 2007-06-20 Erik Petrich + * src/SDCCast.c (inlineFindMaxBlockno, createFunction): fixed bug 1731741