* debugger/mcs51/sdcdb.c: fixed compilation with older readline
[fw/sdcc] / ChangeLog
index b4823f368ddb553f6f6b039b2d465b286ff56551..960fb7c171c2bbc417ced62dddf7cc5fe2b99f47 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,245 @@
+2007-08-23 Borut Razem <borut.razem AT siol.net>
+
+       * debugger/mcs51/sdcdb.c: fixed compilation with older readline
+         library versions without the completition functionality
+
+2007-08-22 Raphael Neider <rneider AT web.de>
+
+       * device/include/pic16/pic18f1220.h,
+       * device/lib/pic16/libdev/pic18f1220.c: applied patch #1776191
+
+2007-08-12 Borut Razem <borut.razem AT siol.net>
+
+       * debugger/mcs51/Makefile.in: support/Util/SDCCerr.[ch] moved to src
+
+2007-08-11 Borut Razem <borut.razem AT siol.net>
+
+       * 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 <jesusc at ece.ubc.ca>
+
+       * device/include/mcs51/at89c51ed.h: Fixed typo in declarations of CKCON0
+         and CKCON1.
+
+2007-08-07 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
+
+       * sdccconf_in.h: update the endian test so that SPARC Solaris
+         does not throw syntax errors
+
+2007-08-06 Borut Razem <borut.razem AT siol.net>
+
+       * doc/sdccman.lyx: removed two index entries which prevented the
+         generation of sdcc doc archive
+
+2007-08-05 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
+
+       * 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 <epetrich AT ivorytower.norman.ok.us>
+
+       * device/include/hc08/mc68hc908apxx.h: new header contributed by
+         Lucas Loizaga, with minor modifications. Thanks!
+
+2007-07-28 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
+
+       * doc/sdccman.lyx: Documented --acall-ajmp and described new features
+         in sdcclib.
+
+2007-07-28 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
+
+       * 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 <borut.razem AT siol.net>
+
+       * 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 <sourceforge.brock AT dse.nl>
+
+       * 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 <sourceforge.brock AT dse.nl>
+
+       * support/regression/tests/bug1678803.c: new, added
+
+2007-07-14 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * 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 <sourceforge.brock AT dse.nl>
+
+       * 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 <rneider AT web.de>
+
+       * src/pic16/gen.c (genNearPointerSet): fixed handling of literals
+
+2007-07-11 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * 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 <stdbool.h> 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 <sourceforge.brock AT dse.nl>
+
+       * 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 <sourceforge.brock AT dse.nl>
+
+       * 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 <borut.razem AT siol.net>
+
+       * 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 <sourceforge.brock AT dse.nl>
+
+       * 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 <borut.razem AT siol.net>
+
+       * src/SDCCmain.c: fixed bug
+         #1744746: SDCC #4867: broken option --xram-size
+
+2007-06-28 Borut Razem <borut.razem AT siol.net>
+
+       * sim/ucsim/configure.in, sim/ucsim/configure, sim/ucsim/ddconfig_in.h:
+         find out the endianess of host machine for ucsim
+
+2007-06-27 Borut Razem <borut.razem AT siol.net>
+
+       * support/regression/generate-cases.py: corrected the file name
+         in warning
+       * configure.in, configure, sdccconf_in.h: find out the endianess of
+         host machine
+       * src/SDCC.y: fixed bug #1744146: Crash when compiling array of
+         negative size
+
+2007-06-27 Gudjon I. Gudjonsson <gudjon AT gudjon.org>
+
+       * device/include/mcs51/p89c66x.h: NXP header file, OK to change licence
+
+2007-06-26 Borut Razem <borut.razem AT siol.net>
+
+       * support/regression/generate-cases.py: display warning if function
+         list is empty; implemented more flexible rule for detection of
+         testing functions, allowing return type 'void' in the same line as
+         the function name in the function definition
+       * support/regression/tests/bug-1654060.c: corrected test
+       * support/librarian/sdcclib.c: fixed warning:
+         format '%s' expects type 'char *', but argument 2 has type 'int'
+
+2007-06-25 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
+
+       * support/librarian/sdcclib.c: Added feature Requests [1510635]
+         Multiple infiles for sdcclib.
+
+2007-06-20 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
+
+       * src/SDCCast.c (inlineFindMaxBlockno, createFunction): fixed
+         bug 1731741
+
+2007-06-18 Borut Razem <borut.razem AT siol.net>
+
+       * src/SDCCmain.c: removed option -C since SDCC compiler doesn't know
+         how to handle comments, so they have to be removed by the
+         preprocessor; fixed bug #1738926:SDCC #4852: broken option -V
+       * src/SDCCmain.c, src/SDCCargs.h, src/ds390/main.c, src/mcs15/main.c,
+         src/pic16/main.c, src/pic/main.c, src/z80/main.c,
+         support/Util/SDCCerr.c, support/Util/SDCCerr.h:
+         table driven option hadling
+
+2007-06-16 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/SDCCast.c (decorateType),
+       * src/SDCCicode.c (geniCodeConditional): moved optimization for '?' from
+         iCode to ast level to fix bug 1738367
+       * support/regression/tests/bug1738367.c: new, added
+
+2007-06-15 Raphael Neider <rneider AT web.de>
+
+       * src/pic16/devices.inc,
+       * device/lib/pic16/pics.all,
+       * device/include/pic16/pic18fregs.h,
+       * device/include/pic16/pic18f[24][45]20.h,
+       * device/lib/pic16/libdev/pic18f[24][45]20.c: added support for
+         18f2420, 18f2520, and 18f4420 devices, updated 18f4520 definitions
+       * device/lib/pic16/Makefile.in: faster cleanup
+
+2007-06-13 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
+
+       * src/mcs51/peeph.def: added 177.i (mov from a is slightly cheaper)
+
 2007-06-13 Raphael Neider <rneider AT web.de>
 
        * src/SDCCmain.c: prevent NULL pointer dereference, avoid warning