X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=ChangeLog;h=55798d6259146dbb1d6558fef1f7ad095a804d7d;hb=16ac8b47e19e2fde58a59fab8b53be041be8efe6;hp=4fe5e06011b0b465307a9db7eeafb3637cc01cb5;hpb=658b300d2a914babde7a788a2da6ae3736d8f1c3;p=fw%2Fsdcc diff --git a/ChangeLog b/ChangeLog index 4fe5e060..55798d62 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,267 @@ -2006-06-16 Maarten Brock +2006-08-06 Maarten Brock + + * device/lib/Makefile.in (Z80SOURCES): enabled float support + * sim/ucsim/z80.src/inst.cc (inst_rst): generate breakpoint on RST8,ACC==0 + * src/ds390/gen.c (shiftRLong), + * src/hc08/gen.c (shiftLLong, shiftRLong): fixed bug 1533966 + * src/mcs51/gen.c (sameReg): changed to sameByte, + (xch_a_aopGet): new, + (shiftL2Left2Result, shiftR2Left2Result, shiftRLeftOrResult, shiftLLong, + shiftRLong): fixed bug 1533966 + * src/z80/gen.c (shiftR2Left2Result, shiftL2Left2Result, genlshTwo, + genLeftShiftLiteral, genrshTwo, genRightShiftLiteral): fixed bug 1533966 + * support/regression/Makefile.in: disabled z80, enabled ucz80 + * support/regression/tests/float_trans.c: enabled test for z80 and host + * support/regression/tests/shifts2.c: new, for testing bug 1533966 + +2006-08-01 Borut Razem + + * src/mcs51/gen.c, src/dc390/gen.c: fixed warning: + comparison is always false due to limited range of data type + on PPC64 machine (openpower-linux1) where "char = unsigned char" + +2006-08-01 Maarten Brock + + * sim/ucsim/hc08.src/hc08mac.h: removed faulty and unused add_u16_disp + * sim/ucsim/hc08.src/hc08.cc: removed faulty and unused int8 + * sim/ucsim/z80.src/z80mac.h (add_u16_disp): use explicit signed char cast + * sim/ucsim/z80.src/z80.cc: removed faulty and unused int8 + +2006-07-31 Borut Razem + + * sim/ucsim/configure, sim/ucsim/cmd.src/newcmdcl.h, + sim/ucsim/cmd.src/newcmd.cc, sim/ucsim/cmd.src/cmdutil.cc, + sim/ucsim/z80.src/Makefile.in, sim/ucsim/configure.in, + sim/ucsim/hc08.src/Makefile.in, sim/ucsim/hc08.src/hc08.cc, + sim/ucsim/ddconfig_in.h, sim/ucsim/s51.src/Makefile.in, + sim/ucsim/s51.src/uc51cl.h, sim/ucsim/s51.src/serialcl.h, + sim/ucsim/s51.src/uc51.cc, sim/ucsim/s51.src/serial.cc, + sim/ucsim/app.cc, sim/ucsim/avr.src/Makefile.in: + enable ucsim mingw compilation. Serial port is disabled, + since it uses termios.h API, which is not available on native + WIN32 + +2006-07-31 Borut Razem + + * Small Device C Compiler 2.6.0 released + * support/scripts/sdcc.nsi: added FULL_DOC option + * .version, doc/sdccman.lyx: changed sdcc version to 2.6.1 + +2006-07-28 Borut Razem + + * support/scripts/sdcc.nsi: remove $INSTDIR/include/asm/pic16/*.h + * doc/INSTALL.txt: updated + +2006-07-27 Borut Razem + + * device/lib/pic/Makefile.in, device/lib/pic/Makefile.subdir, + device/lib/pic/libdev/Makefile.in: fixed bug + [ 1438354 ] pic libsdcc: distclean doesn't work + * device/lib/pic16/Makefile.in, device/lib/pic16/Makefile.subdir, + device/lib/pic16/libio/Makefile.in: fixed bug + [ 1438344 ] pic16 lib: clean doesn't work properly + * doc/knownbugs.html removed [ 1438354 ] and [ 1438344 ] from the list + +2006-07-26 Maarten Brock + + * device/lib/pic/libsdcc/fsdiv.c, + * device/lib/pic/libsdcc/fsmul.c, + * device/lib/pic16/libsdcc/float/fsdiv.c, + * device/lib/pic16/libsdcc/float/fsmul.c, + * device/lib/_fsdiv.c, + * device/lib/_fsmul.c: bugfix, handle too large and too small numbers + * support/regression/tests/bug1520966.c: added + * doc/knownbugs.html: removed [ 1520966 ] from the list + +2006-07-25 Borut Razem + + * configure.in, configure, sdccconf_in.h: fixed bug + [ 1519095 ] regression test onebyte.c fails on ppc64 host + * doc/knownbugs.html: removed [ 1519095 ] from the list + +2006-07-25 Maarten Brock + + * doc/knownbugs.html: added, contains list of known bugs at release + * device/include/mcs51/compiler.h: fixed SFR32 for SDCC + +2006-07-23 Maarten Brock + + * device/include/mcs51/compiler.h: added SFRX for xdata based special + function registers and corrected defaults with additional warning + * device/lib/malloc.c: cosmetic changes + * device/lib/realloc.c: bugfix for bug #1496907, Thanks Efim Monyak + * src/ds390/ralloc.c (getRegBitNoSpil): reenabled, + (fillGaps): and used it + +2006-07-20 Raphael Neider + + * src/pic/device.c (addMemRange,assignRegister): suppress verbose + output unless SDCCPICDEBUG is set + * device/lib/pic16/Makefile.rules (%.lib target): suppress verbose + output if SILENT is set + +2006-07-11 Borut Razem + * doc/README.txt: updated + +2006-07-10 Borut Razem + + * support/scripts/sdcc.nsi: added device/include/asm/pic/features.h and + device/lib/src/pic/libm/*.c and device/lib/src/pic16/libsdcc/stack/*.S + in WIN32 installation + * .version, sdcc.spec, doc/sdccman.lyx: changed sdcc version to 2.6.0 - + release candidate 1 + +2006-07-08 Maarten Brock + + * device/include/mcs51/XC866.h: added sbit definitions for Px_x, P1_x, P2_x + * src/pic16/glue.c (initPointer): fixed bug 1496419 for pic16 + +2006-07-06 Maarten Brock + + * src/hc08/gen.c (genAddrOf): fixed bug when offset on stack is >127 + +2006-07-06 Borut Razem + + * support/regression/tests/bitfields.c: + fixed bug [ 1518322 ] regression test bitfields fails on ppc hosts + * support/regression/tests/constantRange.c: + fixed bug [ 1518317 ] regression test constantRange fails on alpha host + +2006-07-04 Borut Razem + + * src/configure.in, src/configure, src/Makefile.in, as/z80/Makefile.in, + src/port.mk, + src/avr/Makefile.in, src/ds390/Makefile.in, src/ds400/Makefile.in, + src/hc08/Makefile.in, src/mcs51/Makefile.in, src/pic16/Makefile.in, + src/pic/Makefile.in, src/xa51/Makefile.in, src/z80/Makefile.in: + reverted changes from 2006-07-03 + * Makefile.common.in: added @CPPFLAGS@ to CPPFLAGS + * support/regression/Makefile.in, support/regression/ports/host/spec.mk: + added CPPFLAGS, used by the host port + +2006-07-03 Bernhard Held + + * support/regression/valdiag/tests/switch.c, + * support/regression/valdiag/tests/constantRange.c: adapted to gcc 4 + * support/regression/tests/libmullong.c: fixed for host + * support/regression/ports/host/spec.mk: disable all warnings for host, + SDCC runs with --less-pedantic too + +2006-07-03 Borut Razem + + * src/configure.in, src/configure, src/Makefile.in, as/z80/Makefile.in: + defined CPPFLAGS + * src/port.mk: defined CPPFLAGS, renamed to src/port.mk.in + * src/avr/Makefile.in, src/ds390/Makefile.in, src/ds400/Makefile.in, + src/hc08/Makefile.in, src/mcs51/Makefile.in, src/pic16/Makefile.in, + src/pic/Makefile.in, src/xa51/Makefile.in, src/z80/Makefile.in: + include ../port.mk + * sim/ucsim/main_in.mk, sim/ucsim/avr.src/Makefile.in, + sim/ucsim/gui.src/Makefile.in, sim/ucsim/hc08.src/Makefile.in, + sim/ucsim/s52.src/Makefile.in, sim/ucsim/sim.src/Makefile.in, + sim/ucsim/xa.src/Makefile.in: ignore header files for dependencies + +2006-07-02 Raphael Neider + + * src/pic16/devices.inc, + * device/include/pic16/pic18fregs.h, + * device/include/pic16/pic18f4550.h, + * device/lib/pic16/pics.all, + * device/lib/pic16/libdev/pic18f4550.c: added support for 18f4550 + +2006-07-01 Bernhard Held + + * as/hc08/lkaomf51.c (OutputName), + * as/mcs51/lkaomf51.c (OutputName), + * as/z80/asmain.c (asmbl), + * src/ds390/main.c (asmLineNodeFromLineNode), + * src/hc08/ralloc.c (hc08_assignRegisters), + * src/mcs51/main.c (asmLineNodeFromLineNode), + * src/xa51/ralloc.c (checkRegMask), + * src/xa51/gen.c (emitcode), + * src/z80/gen.c (_emit2), + * src/SDCCast.c (searchLitOp), + * src/SDCCglobl.h, + * support/packihx/packihx.c, + * support/Util/MySystem.c (split_command): fix gcc 4 warnings + * src/ds390/gen.c (aopPutUsesAcc), + * src/ds390/ralloc.c (getRegBitNoSpil): unused, therefore disabled + * support/regression/tests/libmullong.c (mullong_wrapper), + * src/SDCCsymt.c (powof2), + * src/SDCCast.c, + * src/SDCCicode.c: renamed TYPE_WORD by TYPE_TARGET_INT and so on + * src/SDCCsymt.h: added TYPE_TARGET_* + * src/SDCCutil.c (doubleFromFixed16x16, fixed16x16FromDouble), + * src/SDCCutil.h (doubleFromFixed16x16, fixed16x16FromDouble): moved to + SDCCast because 1) header problems 2) this is the right place + * src/SDCCast.c (doubleFromFixed16x16, fixed16x16FromDouble): added + * src/SDCCval.h (doubleFromFixed16x16, fixed16x16FromDouble): added + prototype + +2006-06-29 Bernhard Held + + * src/SDCCicode.h: removed buggy semicolon in unused macro + * src/SDCClrange.c (findPrevUseSym, rlivePoint): fixed bug #1486853, + search for previous definiton of auto symbols too, + (findPrevUse): fixed logic of emitWarnings + +2006-06-26 Raphael Neider + + * src/pic16/gen.c (genFunction, genEndFunction): also preserve + PCLATH and PCLATU on interrupts, potentially fixes #1505141 + +2006-06-25 Raphael Neider + + * device/lib/pic/libm: NEW, added math library functions + * device/lib/pic/libsdcc: NEW; added float support functions + * device/lib/pic/{Makefile.in,configure.in,configure}: added libm/ + * device/include/pic/{limits.h,errno.h,sdcc-lib.h,float.h,math.h}: + NEW, added math related headers + * device/include/asm/pic/features.h: NEW + * src/pic/gen.c (emitpcode_real): emit warning on NULL pCodeOp, + (popGet): allow larger offsets for AOP_PCODE, + (genDataPointerSet): handle literals explicitly, more debug output, + (genAssign): fixed for float using aopLiteral ;-) + * src/pic/glue.c (pic14createInterruptVect): inserted pagesel before + GOTO initialisation routine + * src/pic/pcoderegs.c (pCodeRegMapLiveRangesInFlow): set wasUsed + flag on registers, fixes #1469043 (local variables do not work) + * src/pic/main.c (_pic14_do_link), + * src/pic16/main.c (_pic16_linkEdit): use fullDstFileName if + available + +2006-06-25 Borut Razem + + * device/lib/pic16/libc/stdio/sprintf.c: return the number of + characters printed (not including the trailing '\0' used to end + output to strings). Problem detected in regression test bug-927659.c. + NOTE: printf() family functions should return int instead + unsigned int! + * device/lib/pic16/libc/stdio/vfprintf.c: "%%" prints "%", unknown + specifier are printed as themselves + * sdcc/support/regression/tests/bug1057979.c: pic16 printf doesn't + support flags, width and precision specifiers + +2006-06-24 Borut Razem + + * sdcc/support/regression/tests/bitvars.c: added gbz80, pic16 and pic16 + to the list of sdcc tagrets not supporting bit type + * sdcc/support/regression/tests/bug-905992.c.c: excluded regression + testfor pic16 due to bug: + [ 1511794 ] pic16: regression test bug-895992.c fails + +2006-06-24 Maarten Brock + + * src/mcs51/gen.c (genCmp): optimization for RFE 1162453 * src/SDCCglue.c (initPointer), fixed bug 1496419 * support/regression/tests/bug1496419.c: new, added +2006-06-22 Borut Razem + + * support/regression/ports/pic16/support.c: use gpsim usart module from + libgpsim_modules library + 2006-06-21 Jesus Calvino-Fraga * device/include/mcs51/at89c51ed2.h: Fixed bug 1510144 changed @@ -8257,7 +8516,7 @@ 2003-10-31 Borut Razem - * support\cpp2\cpplex.c: fixed for SDCPP: + * support/cpp2/cpplex.c: fixed for SDCPP: comments(when executed with -C option) and _asm blocks were included even if they where in skipped #if block. Applied solution from GCC cpp 3.3.2 @@ -8999,20 +9258,20 @@ Fixed some warnings when building with MSVC: - * as\mcs51\asdata.c - * as\z80\asdata.c - * as\mcs51\asm.h - * as\z80\asm.h - * link\z80\aslink.h - * link\z80\lkdata.c - * link\z80\lkeval.c - * link\z80\lkgb.c - * link\z80\lkihx.c - * link\z80\lks19.c - * link\z80\lksym.c - * support\cpp2\cpplib.c - * src\ds390\gen.c - * src\mcs51\gen.c + * as/mcs51/asdata.c + * as/z80/asdata.c + * as/mcs51/asm.h + * as/z80/asm.h + * link/z80/aslink.h + * link/z80/lkdata.c + * link/z80/lkeval.c + * link/z80/lkgb.c + * link/z80/lkihx.c + * link/z80/lks19.c + * link/z80/lksym.c + * support/cpp2/cpplib.c + * src/ds390/gen.c + * src/mcs51/gen.c 2003-08-03 Bernhard Held @@ -9020,21 +9279,21 @@ 2003-08-01 Jesus Calvino-Fraga - * support\librarian\clean.mk: Do not remove Makefile. - * support\librarian\Makefile: added. + * support/librarian/clean.mk: Do not remove Makefile. + * support/librarian/Makefile: added. 2003-08-01 Jesus Calvino-Fraga Added librarian to MSVC build: * all.dsp * sdcc.dsw - * support\librarian\librarian.dsp + * support/librarian/librarian.dsp 'configure' not needed for librarian, removed: - * support\librarian\configure - * support\librarian\configure.in - * support\librarian\config_in.h - * support\librarian\Makefile.in + * support/librarian/configure + * support/librarian/configure.in + * support/librarian/config_in.h + * support/librarian/Makefile.in Hopefully these ones built the librarian and the rest of sdcc properly: * Makefile @@ -9054,13 +9313,13 @@ Adding sdcclib to the build. MSVC project coming soon. Files added/changed: - * support\librarian\clean.mk - * support\librarian\configure - * support\librarian\configure.in - * support\librarian\config_in.h - * support\librarian\Makefile.bcc - * support\librarian\Makefile.in - * support\librarian\sdcclib.c + * support/librarian/clean.mk + * support/librarian/configure + * support/librarian/configure.in + * support/librarian/config_in.h + * support/librarian/Makefile.bcc + * support/librarian/Makefile.in + * support/librarian/sdcclib.c * Makefile.bcc * Makefile * Makefile.common.in @@ -9073,25 +9332,25 @@ example, one compiled using --model-large and another one compiled with --model-small. The following files were modified: - * as\mcs51\asdata.c - * as\mcs51\aslink.h - * as\mcs51\asm.h - * as\mcs51\asmain.c - * as\mcs51\asout.c - * as\mcs51\i51pst.c - * as\mcs51\lkdata.c - * as\mcs51\lklibr.c - * as\mcs51\lkmain.c - * as\z80\asdata.c - * as\z80\asm.h - * as\z80\asmain.c - * as\z80\asout.c - * as\z80\z80pst.c - * link\z80\aslink.h - * link\z80\lkdata.c - * link\z80\lklibr.c - * link\z80\lkmain.c - * src\SDCCglue.c + * as/mcs51/asdata.c + * as/mcs51/aslink.h + * as/mcs51/asm.h + * as/mcs51/asmain.c + * as/mcs51/asout.c + * as/mcs51/i51pst.c + * as/mcs51/lkdata.c + * as/mcs51/lklibr.c + * as/mcs51/lkmain.c + * as/z80/asdata.c + * as/z80/asm.h + * as/z80/asmain.c + * as/z80/asout.c + * as/z80/z80pst.c + * link/z80/aslink.h + * link/z80/lkdata.c + * link/z80/lklibr.c + * link/z80/lkmain.c + * src/SDCCglue.c 2003-07-28 Jesus Calvino-Fraga @@ -9895,7 +10154,7 @@ * src/SDCC.lex: Fix for bug #711240: dynamic buffer handling of C literal strings in stringLiteral() * support/Util/dbuf.c, support/Util/dbuf.h: added: dynamic buffer handling - * src/Makefile.bcc, src/Makefile.in, src\src.dsp: added support/Util/dbuf.c + * src/Makefile.bcc, src/Makefile.in, src/src.dsp: added support/Util/dbuf.c to the project 2003-03-27 Paul Stoffregen @@ -10547,23 +10806,23 @@ 2002-12-10 Jesus Calvino-Fraga - * in \sdcc\as\mcs51\ changed these files in order to create an + * in /sdcc/as/mcs51/ changed these files in order to create an aomf51 file: aslink.h, lkdta.c, lklex.c, lklibr.c, lklist.c, lkmain.c. Also added: lkmem.c and lkaomf51.c. Changed the following files to include the previous two files: aslink.dsp, Makefile.aslink, Makefile.bcc, and Makefile.in. - * Changed \sdcc\src\SDCCmain.c so it creates files with extension + * Changed /sdcc/src/SDCCmain.c so it creates files with extension .adb instead of .cdb 2002-11-09 Jesus Calvino-Fraga - * \sdcc\as\mcs51\lklist.c: Now reports memory usage using the + * /sdcc/as/mcs51/lklist.c: Now reports memory usage using the value from option --iram-size. 2002-09-20 Jesus Calvino-Fraga - * \sdcc\as\mcs51\lklist.c: added boundary check before using + * /sdcc/as/mcs51/lklist.c: added boundary check before using dram[] array. 2002-09-18 @@ -10578,50 +10837,50 @@ compact code for X = LITERAL - Y 2002-09-00 Jesus Calvino-Fraga - * \sdcc\as\mcs51\lklist.c: Fixed incorrect number of parameters to + * /sdcc/as/mcs51/lklist.c: Fixed incorrect number of parameters to sprintf() in line 1267. 2002-09-08 Jesus Calvino-Fraga - * \sdcc\src\SDCCglue.c: Generate areas REG_BANK_[0-3] only for 8051 + * /sdcc/src/SDCCglue.c: Generate areas REG_BANK_[0-3] only for 8051 like ports. 2002-09-04 Jesus Calvino-Fraga Changes to aslink (All the changes are marked with 'JCF'): - * \sdcc\as\mcs51\aslink.h: External definition of sflag and + * /sdcc/as/mcs51/aslink.h: External definition of sflag and summary(). - * \sdcc\as\mcs51\lkarea.c: Computes the size of area BSEG_BYTES from + * /sdcc/as/mcs51/lkarea.c: Computes the size of area BSEG_BYTES from area BSEG. Also moves, if possible, the DATA area down into the internal ram so more space is available. - * \sdcc\as\mcs51\lkdata.c: Definition of memory summary output flag + * /sdcc/as/mcs51/lkdata.c: Definition of memory summary output flag sflag. - * \sdcc\as\mcs51\lklist.c: For the BSEG area report the size in bits, + * /sdcc/as/mcs51/lklist.c: For the BSEG area report the size in bits, not bytes. Function summary() which creates a memory usage summary file with extension .mem. Reports of overlaping stack and small stack size. If the space for the stack is less than 16 bytes aslink trows a warning. - * \sdcc\as\mcs51\lkmain.c: Creation of some of the default areas for + * /sdcc/as/mcs51/lkmain.c: Creation of some of the default areas for the 8051. Option 'y' for memory summary output file. Changes to sdcc (All the changes are marked with 'JCF'): - * \sdcc\src\SDCCglobl.h: External definition of RegBankUsed[4]. + * /sdcc/src/SDCCglobl.h: External definition of RegBankUsed[4]. - * \sdcc\src\SDCCglue.c: If a register bank is used, creates an + * /sdcc/src/SDCCglue.c: If a register bank is used, creates an overlaying area for it (uses RegBankUsed[4]). - * \sdcc\src\SDCCmain.c: Definition RegBankUsed[4]; marks register + * /sdcc/src/SDCCmain.c: Definition RegBankUsed[4]; marks register bank zero as used by default. By default aslink locates the stack (equivalent to --stack-after-data). Pass option 'y' to aslink for the creation of the .mem file. Delegates the allocation of data area to aslink (it is not longer 0x30 by default). If --stack-loc passes the begining of the stack area to aslink. - * \sdcc\src\SDCCmem.c: If a register bank is used, marks it so + * /sdcc/src/SDCCmem.c: If a register bank is used, marks it so glue() in SDCCglue.c creates an area for it. 2002-09-03 Borut Razem