* doc/sdccman.lyx:
[fw/sdcc] / ChangeLog
index e2be7033cc2f982032e9b520ed6f4e9765a45a5c..6bd0cf01a9cd30862853b921d7e78775442991e7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,404 @@
+2007-04-30 Borut Razem <borut.razem AT siol.net>
+
+       * doc/sdccman.lyx:
+         fixed bug #1669175: Problem with space in output paths
+         documented how to use paths with spaces for Windows users
+
+2007-04-29 Borut Razem <borut.razem AT siol.net>
+
+       * Fixed svn:eol-style and svn:keywords properties
+       * src/SDCCval.c: fixed bug
+         #1592871: Segfault with "large" const arrays of characters
+         replaced recursion with iteration
+       * Removed svn:executable property from non-executable files
+
+2007-04-29 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/mcs51/gen.c (genRet): fixed bug 1707003
+
+2007-04-27 Raphael Neider <rneider AT web.de>
+
+       * src/pic16/pcode.c (pBlockRemoveUnusedLabels,pic16_pBlockAddInval,
+         createReachingDefinitions,assignValnums,pic16_destructDF,
+         pic16_createDF,pic16_vcg_dumpedges,pic16_vcg_dump_default):
+         prevent NULL pointer dereferences
+       * device/lib/pic/libdev/pic16f886.c,
+       * device/lib/pic/libdev/pic16f887.c: svn mv'ed to disabled_* to
+         prevent building them, gputils do not really support them yet
+
+2007-03-27 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
+
+       * device/lib/_ltoa.c: 36 bytes less __data mem. This really
+         helps printf_small. 32 bytes more __idata mem.
+
+2007-04-27 Raphael Neider <rneider AT web.de>
+
+       * src/pic/pcode.c (addpCode2pBlock,LinkFlow,pBlockRemoveUnusedLabels):
+         return early when pb or pb->pcHead is NULL (patch #1708427)
+       * src/regression/empty.c,
+       * src/regression/Makefile: added test with empty functions
+       * support/Util/SDCCerr.c: fixed typo in E_INIT_STRUCT message
+
+2007-04-27 Borut Razem <borut.razem AT siol.net>
+
+       * src/SDCCast.c: fixed feature request
+         #1547512: Redundant strings linked when using sizeof("abc")
+
+2007-04-23 Borut Razem <borut.razem AT siol.net>
+
+       * doc/sdccman.lyx, src/SDCCmain.c:
+         peep-hole comments are generated only if --fverbose-asm option is
+         specified and --no-peep-comments is not, as proposed by Frieder.
+       * support/regression/Makefile.in: compile regression tests with
+         --fverbose-asm option so one can "grep" whether a new (or an old)
+         peephole is (still) applied; requested by Frieder.
+
+2007-04-23 Kevin Buettner <kevin AT buettner.to>
+
+       * device/include/pic/pic16f886.h,
+       * device/include/pic/pic16f887.h,
+       * device/lib/pic/libdev/pic16f886.c,
+       * device/lib/pic/libdev/pic16f887.c,
+       * device/include/pic/pic14devices.txt,
+       * device/lib/pic/libdev/devices.txt: Add 16f886 and 16f887.
+
+2007-04-23 Kevin Buettner <kevin AT buettner.to>
+
+       * device/lib/pic/libsdcc/idata.c: PAGESEL _main before going there,
+         fixes #1704666
+
+2007-04-23 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
+
+       * device/lib/_memset.c: assembler version for mcs51
+
+2007-04-22 Borut Razem <borut.razem AT siol.net>
+
+       * support/scripts/listerr.c: program to create the list of errors and
+         warnings list from - added
+       * doc/sdccman.lyx: removed the note
+         "For list of warnings and corresponding codes, see err_warn.txt"
+       * src/SDCCsymt.c: fixed bug #1699804:
+         Bug with some uses of sizeof(static local array) (MCS51)
+       * support/regression/tests/bug-1699804.c: added
+
+2007-04-20 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * as/mcs51/asmain.c (search_path_append, search_path_fopen): new, added,
+         (main): added option -i,
+         (asmbl, case S_INCL): use search_path_fopen,
+         mostly from patch 1579668 by Peter Miller, thanks
+       * src/z80/main.c: fixed typo --callee-saves-bc
+       * device/include/mcs51/compiler.h: added sfrword for Tasking
+
+2007-04-20 Borut Razem <borut.razem AT siol.net>
+
+       * src/z80/main.c: replaced reserved keyword asm with asmblr
+
+2007-04-19 Borut Razem <borut.razem AT siol.net>
+
+       * src/port.h: use const poiters to strings
+       * src/SDCCargs.h: declared getStringArg() and getIntArg()
+       * src/pic16/main.c: include SDCCargs.h
+       * src/SDCCglobl.h: code_seg and const_seg are not pointers to
+         const char, since the strings are dynamically allocated
+       * src/SDCCmain.c: options.code_seg and options.const_seg are
+         dynamically allocated; check port specific command line options
+         before the general ones
+       * src/z80/main.c: fixed bug #1631895: codeseg/constseg #pragma fail
+
+2007-04-18 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * device/include/ds400rom.h,
+       * device/lib/ds390/lcd390.c,
+       * device/lib/ds390/memcpyx.c,
+       * device/lib/ds390/rtc390.c,
+       * device/lib/ds400/ds400rom.c,
+       * device/lib/ds400/memcpyx.c,
+       * device/lib/hc08/_ret.c: more replacements of keywords with their
+         double underscore equivalents
+       * device/lib/ds390/Makefile.in,
+       * device/lib/ds400/Makefile.in,
+       * device/lib/gbz80/Makefile.in,
+       * device/lib/hc08/Makefile.in,
+       * device/lib/mcs51/Makefile.in,
+       * device/lib/z80/Makefile.in: added --std-c89 to CFLAGS
+
+2007-04-17 Borut Razem <borut.razem AT siol.net>
+
+       * doc/sdccman.lyx, src/SDCCmain.c, src/SDCCglobal.h, src/ds390/gen.c,
+         src/hc08/gen.c, src/mcs51/gen.c, src/mcs51/rtrack.c:
+         fixed #1493816: option --no-gen-comments: --no-gen-comments renamed
+         to --fverbose-asm, to be gcc'ish
+
+2007-04-17 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/mcs51/gen.c (aopOp): set size to 1 for ruonly, fixes bug 1699455
+
+2007-04-17 Borut Razem <borut.razem AT siol.net>
+
+       * doc/sdccman.lyx: fixed #1701874: Mac OSX references in SDCC manual
+       * device/lib/ds400/tinibios.c, device/lib/hc08/_divuint.c,
+         device/lib/hc08/_divulong.c: replaced _asm and _endasm keywords
+         with their double underscore equivalent
+
+2007-04-14 Borut Razem <borut.razem AT siol.net>
+
+       * doc/sdccman.lyx: some additional "freeware" replaced with "free open
+         source"
+
+2007-04-13 Borut Razem <borut.razem AT siol.net>
+
+       * doc/sdccman.lyx: -pedantic-parse-number is not in conformance with
+         C99 standard
+       * device/examples/serialcomm/windows/serial.[ch],
+         device/examples/serialcomm/windows/test_serialcomm.cpp:
+         updated by Bela Torok
+       * device/examples/serialcomm/windows/serialcomm.dsw,
+         device/examples/serialcomm/windows/serialcomm.dsp: added
+
+2007-04-13 Jan Waclawek <wek AT efton.sk>
+
+       * doc/sdccman.lyx: additions and changes at various places
+         (submitted as #1697136).
+         (svn commit by Frieder Ferlemann <Frieder.Ferlemann AT web.de>)
+
+2007-04-10 Borut Razem <borut.razem AT siol.net>
+
+       * doc/cdbfileformat.lyx, doc/sdccman.lyx, doc/test_suite_spec.lyx:
+         LyX file format changed to 245
+       * doc/sdccman.lyx, doc/README.txt, sdc/SDCC.lex, src/SDCCglue.c:
+         "FreeWare" replaced with "free open source"
+
+2007-04-10 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * device/include/mcs51/C8051F120.h: added some defines for bits in RSTSRC
+
+2007-04-08 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * device/include/pic16/pic18fregs.h,
+       * device/lib/_bp.c,
+       * device/lib/_decdptr.c,
+       * device/lib/_divsint.c,
+       * device/lib/_divslong.c,
+       * device/lib/_divuint.c,
+       * device/lib/_divulong.c,
+       * device/lib/_fs2schar.c,
+       * device/lib/_fs2sint.c,
+       * device/lib/_fs2slong.c,
+       * device/lib/_fs2uchar.c,
+       * device/lib/_fs2uint.c,
+       * device/lib/_fs2ulong.c,
+       * device/lib/_fsadd.c,
+       * device/lib/_fscmp.c,
+       * device/lib/_fsdiv.c,
+       * device/lib/_fseq.c,
+       * device/lib/_fsget1arg.c,
+       * device/lib/_fsget2args.c,
+       * device/lib/_fsgt.c,
+       * device/lib/_fslt.c,
+       * device/lib/_fsmul.c,
+       * device/lib/_fsneq.c,
+       * device/lib/_fsnormalize.c,
+       * device/lib/_fsreturnval.c,
+       * device/lib/_fsrshift.c,
+       * device/lib/_fssub.c,
+       * device/lib/_fsswapargs.c,
+       * device/lib/_gptrget.c,
+       * device/lib/_gptrgetc.c,
+       * device/lib/_gptrput.c,
+       * device/lib/_logexpf.c,
+       * device/lib/_modsint.c,
+       * device/lib/_modslong.c,
+       * device/lib/_moduint.c,
+       * device/lib/_modulong.c,
+       * device/lib/_mulint.c,
+       * device/lib/_mullong.c,
+       * device/lib/_schar2fs.c,
+       * device/lib/_ser.c,
+       * device/lib/_setjmp.c,
+       * device/lib/_sint2fs.c,
+       * device/lib/_slong2fs.c,
+       * device/lib/_spx.c,
+       * device/lib/_uchar2fs.c,
+       * device/lib/_uint2fs.c,
+       * device/lib/_ulong2fs.c,
+       * device/lib/asincosf.c,
+       * device/lib/atanf.c,
+       * device/lib/calloc.c,
+       * device/lib/ds390/tinibios.c,
+       * device/lib/ds400/tinibios.c,
+       * device/lib/expf.c,
+       * device/lib/free.c,
+       * device/lib/hc08/_mulint.c,
+       * device/lib/logf.c,
+       * device/lib/malloc.c,
+       * device/lib/printf_fast.c,
+       * device/lib/printf_tiny.c,
+       * device/lib/printfl.c,
+       * device/lib/realloc.c,
+       * device/lib/ser_ir.c,
+       * device/lib/serial.c,
+       * support/regression/tests/libmullong.c: replaced all special keywords
+         with their double underscore equivalent
+       * support/regression/ports/mcs51-xstack-auto/spec.mk,
+       * device/lib/Makefile.in: compile libs with --std-c99 instead of
+         --std-sdcc99
+       * src/mcs51/gen.c (outBitC): don't store if result is return-use-only,
+         (genRet): if the bit-symbol is ruonly it already is in the carry
+       * src/mcs51/ralloc.c (regTypeNum): make regType REG_CND for ruonly bit
+       * src/SDCCast.c (createFunction): applied patch 887171 by Stas Sergeev
+       * src/SDCCicode.c (ast2iCode): '!', GETHBIT, GETABIT: only set operand
+         type UCHAR if dest is not bit
+
+2007-04-03 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * device/include/math.h,
+       * device/lib/cotf.c,
+       * device/lib/expf.c,
+       * device/lib/sincoshf.c: changed XMAX to C99 HUGE_VALF
+
+2007-04-01 Borut Razem <borut.razem AT siol.net>
+
+       * src/SDCC.lex, src/SDCCmain.c, support/cpp2/sdcpp.c:
+         fixed bug #1692042: input buffer overflow...scanner uses REJECT
+       * support/cpp2/sdcpp.c: fixed recursion bug - internal_error() called
+         gcc_unreachable() called internal_error()...
+
+2007-03-30 Raphael Neider <rneider AT web.de>
+
+       * src/pic/ralloc.c (isData): suppress garbage debug output
+
+2007-03-28 Borut Razem <borut.razem AT siol.net>
+
+       * doc/sdccman.lyx:
+         "Nightly Snapshots" replaced with "Snapshot Builds", since the SDCC
+         is developed, built and used worldwide, and the word "night" doesn't
+         make any sense.
+
+2007-03-28 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * device/include/mcs51/C8051F360.h: new, added
+       * device/include/mcs51/C8051F520.h: fixed buggy sbit addresses SPI0CN
+
+2007-03-27 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
+
+       * src/SDCC.y (declaration_specifiers, function_specifier),
+       * support/Util/SDCCerr.c,
+       * support/Util/SDCCerr.h,
+       * src/SDCCsymt.h,
+       * src/SDCCsymt.c (mergeSpec, checkFunction): Parse and validate the
+         inline keyword
+       * src/SDCCmem.c (deallocParms),
+       * src/SDCCast.c: support for function inlining, not quite complete
+       * src/SDCCsymt.c (printTypeChain, printTypeChainRaw): display
+         'restrict' qualifier
+
+2007-03-24 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/mcs51/gen.c (saveRegisters, unsaveRegisters): free some bitVects,
+         (saveRBank, unsaveRBank): don't save bits,
+         (genFunction, genEndFunction): save bits exactly once, fix bug 1535242
+       * support/regression/tests/bug1535242.c: new, added
+       * device/include/assert.h: applied patch 1686533 to fix bug 1686528,
+         thanks Alexey Shamrin <shamrin AT gmail.com>,
+         made assert.h header ANSI compliant (added a check for NDEBUG macro,
+         removed header guard)
+       * .version,
+       * sdcc.spec: bumped version to 2.6.5
+       * src/SDCCmain.c(parseCmdLine): fixed bug 1677144
+
+2007-03-22 Borut Razem <borut.razem AT siol.net>
+
+       * debugger/mcs51/cmd.c, debugger/mcs51/sdcdb.c:
+         fixed bug #1653671: sdcdb integration into ddd is broken
+
+2007-03-22 Raphael Neider <rneider AT web.de>
+
+       * src/pic/gen.c (popGetExternal): augmented to also create references
+         to external variables (not only labels),
+         (genCall): comment on plan to reduce PAGESEL overhead,
+         (genFunction, genEndFunction): also save/restore FSR around interrupt
+         handling code, removed lots of unused code
+         (genDivOneByte): release acquired temp register
+       * src/pic/glue.c (pic14createInterruptVect): adapt to new signature
+         of popGetExternal
+       * device/lib/pic/libsdcc/shadowregs.c: NEW, provide storage location
+         for registers that need to be saved during interrupts (FSR, STATUS,
+         PCLATH; W needs special handling), currently only FSR is used
+
+2007-03-22 Raphael Neider <rneider AT web.de>
+
+       * device/include/pic/pic14devices.txt: 16f688 has only one config word
+
+2007-03-19 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
+
+       * /as/link/mcs51/aslink.dsp: Object extension for mcs51 is 'rel' not 'o'.
+
+2007-03-17 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/mcs51/peeph.def (263.x): fixed bug for volatile variables
+
+2007-03-14 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * as/link/aslink.h: added LKOBJEXT
+       * as/link/hc08/link_hc08.dsp,
+       * as/link/hc08/Makefile.bcc,
+       * as/link/hc08/Makefile.in,
+       * as/link/mcs51/aslink.dsp,
+       * as/link/mcs51/Makefile.bcc,
+       * as/link/mcs51/Makefile.in: moved lkamof51.c and lkdata.c
+       * as/link/hc08/lkaomf51.c,      as/link/mcs51/lkaomf51.c,
+       * as/link/lkaomf51.c: merged and moved
+       * as/link/hc08/lkdata.c,        as/link/mcs51/lkdata.c,
+       * as/link/z80/lkdata.c,
+       * as/link/lkdata.c: merged and moved
+       * as/link/hc08/lkmain.c,
+       * as/link/mcs51/lkmain.c: cosmetic changes
+       * as/link/z80/lkeval.c,         as/link/lkeval.c: merged
+       * as/link/lklex.c: use LKOBJEXT
+       * as/link/z80/lklist.c,         as/link/lklist.c: merged,
+         ANSI-fied functions, removed bubble-sorts
+       * as/link/z80/lksym.c           as/link/lksym.c: merged,
+         ANSI-fied functions
+       * as/link/z80/linkgbz80.dsp,
+       * as/link/z80/linkz80.dsp,
+       * as/link/z80/Makefile.in: added lkaomf51.c and lknoice.c,
+         moved lkdata.c, lkeval.c, lkhead.c, lklex.x, lklist.c, lksym.c
+       * as/link/z80/lkhead.c,
+       * as/link/z80/lklex.c: deleted
+       * as/link/z80/lklibr.c: moved LKOBJEXT to aslink.h
+       * as/link/z80/lkmain.c: added copyfile()
+
+2007-03-13 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
+
+       * device/include/mcs51/P89LPC925.h: Added missing P1_6 and P1_7.
+
+2007-03-13 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
+
+       * device/lib/_strlen.c: assembler version for mcs51
+
+2007-03-13 Raphael Neider <rneider AT web.de>
+
+       * device/include/pic16/pic18f2221.h,
+       * device/include/pic16/pic18f2321.h,
+       * device/include/pic16/pic18f2331.h,
+       * device/include/pic16/pic18f4221.h,
+       * device/include/pic16/pic18f4321.h,
+       * device/include/pic16/pic18f4331.h: fixed config byte location names
+       * support/scripts/inc2h-pic16.pl: removed debug output, emit
+         consistently named config byte locations
+
+2007-03-13 Borut Razem <borut.razem AT siol.net>
+
+       * src/Makefile.in, sim/ucsim/avr.src/Makefile.in,
+         sim/ucsim/hc08.src/Makefile.in, sim/ucsim/s51.src/Makefile.in,
+         sim/ucsim/xa.src/Makefile.in, sim/ucsim/z80.src/Makefile.in,
+         as/link/z80/Makefile.in, as/z80/Makefile.in:
+         introduced LDFLAGS
+
 2007-03-11 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
 
+       * device/lib/printfl.c: 13 bytes less __data mem (12 more __idata)
        * device/lib/printf_large.c: pointer was converted to generic
        pointer for mcs51 models other than model-small (Maarten noticed)