* src/SDCCmain.c: (setParseWithComma) substituted brain damaged strtok
[fw/sdcc] / ChangeLog
index f15b2df226f92cb6fd0b7bd3bc172800d9d19046..5030b36b266752eef6b19aa373f600ab8b9fe205 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,143 @@
+2006-12-17 Borut Razem <borut.razem AT siol.net>
+
+       * doc/sdccman.lyx, src/pic16/main.c, src/pic/main.c, src/port.h,
+         src/SDCC.lex, src/SDCCutil.[ch], src/z80/main.c,
+         support/Util/SDCCerr.[ch]: removed deprecated pragmas,
+         unified table driven pragma handling, pragma argument type checking
+       * support/Util/dbuf.c: (dbuf_set_size) allow to set size equal to the
+         current one - version 1.1.3
+       * src/SDCCmain.c: (setParseWithComma) substituted brain damaged strtok
+
+2006-12-13 Raphael Neider <rneider AT web.de>
+
+       * src/pic/device.h: removed AssignedMemory structure and macros
+       * src/pic/device.c: removed global finalMapping (linker assigns
+           memory locations),
+         (register_map): add SFRs to remembered memRanges
+         (addMemRange,isSFR,dump_map,dump_sfr,mapRegister,assignRegister,
+         assignFixedRegisters,assignRelocatableRegisters): removed,
+         (setMaxRAM,validAddress): adapted accordingly,
+         (pic14_hasSharebank,pic14_getSharedStack): only report and use
+           reasonably sized sharebanks,
+       * src/pic/ralloc.c (writeUsedRegs): stripped down (remove?),
+         (allDefsOutOfRange): removed unused code,
+       * src/pic/main.c (_process_pragma): removed memmap/maxram pragma
+           handling
+       * src/pic/pcode.c (register_reassign): removed recursion warning,
+           fired far too often,
+       * src/pic/glue.c (emitSymbolToFile,pic14_constructAbsMap): modified
+           to use existing pic14_stringInSet() to avoid duplicate symbols,
+           tidied up the code a bit,
+         (pic14printLocals): added in symmetry to printExterns, replaces
+           writeUsedRegs more or less,
+         (picglue): call new pic14_printLocals(),
+       * device/include/pic/pic*.h: removed #pragma memmap directives,
+           information gathered from include/pic/pic14devices.txt
+       * support/scripts/inc2h.pl: do not emit #pragma memmap lines
+
+2006-12-10 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * device/include/mcs51/C8051F520.h: fixed buggy CPT0MX
+
+2006-12-11 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
+
+       * device/include/mcs51/cc2430.h: fixed missing ';'
+
+2006-12-10 Raphael Neider <rneider AT web.de>
+
+       * device/lib/pic16/libc/stdio/vfprintf.c,
+       * device/lib/pic16/libc/stdio/printf_small.c,
+       * device/lib/pic16/libc/stdio/printf_timy.c: pop int from stack for
+         char arguments, as char varargs are cast to int by the caller,
+         hopefully fixes #1604915 (other device libraries are still affected)
+
+2006-12-10 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
+       * src/mcs51/ralloc.c (packRegsForAssign),
+       * src/hc08/ralloc.c (packRegsForAssign): fixed bug #1605880
+
+2006-12-10 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * device/include/malloc.h: removed init_dynamic_memory
+       * device/lib/malloc.c: made init_dynamic_memory static and automatically
+         call it once from malloc. Also use _sdcc_heap[] from _heap.c
+       * device/lib/_heap.c: new, added, contains _sdcc_heap[]
+       * device/lib/libsdcc.lib,
+       * device/lib/Makefile.in,
+       * support/regression/ports/mcs51-xstack-auto/spec.mk: added _heap.c
+       * doc/sdccman.lyx: documented use of new _heap.c
+       * support/regression/tests/malloc.c: removed init_dynamic_memory
+       * src/cdbFile.c(spacesToUnderscores): new function,
+         (cdbWriteEndFunction, cdbWriteCLine): use spacesToUnderscores, fixes bug
+         1068030
+       * device/include/tinibios.h: removed defines for putchar and getchar
+       * device/lib/ds390/Makefile.in: added putchar.c
+       * device/lib/ds390/putchar.c: new, added, fixes bug 1465671
+
+2006-12-09 Borut Razem <borut.razem AT siol.net>
+
+       * support/cpp2/sdcc.h: prevent multiple inclusion
+       * support/cpp2/options.h: deleted
+
+2006-12-08 Borut Razem <borut.razem AT siol.net>
+
+       * support/cpp2/sdcc.h: removed x*alloc() macros
+       * support/cpp2/libiberty.h: uncommented out x*alloc() declarations
+       * support/cpp2/Makefile.bcc, support/cpp2/Makefile.in,
+         support/cpp2/sdcpp.sdc: x*alloc files added to the project
+       * support/cpp2/system.h: moved #include "sdcc.h"
+       * support/cpp2/libiberty/xexit.c, support/cpp2/libiberty/xmalloc.c,
+         support/cpp2/libiberty/xstrdup.c, support/cpp2/libiberty/xstrerror.c:
+         added
+       * support/cpp2/sdcppinit.c: added -isysroot, -fsigned-char,
+         -funsigned-char options
+       * support/cpp2/sdcppmain.c: fixed bug 1611411
+
+2006-12-07 Borut Razem <borut.razem AT siol.net>
+
+       * support/cpp2/cpplib.c: reverted sdcpp special handling of _Pragma()
+         directive
+
+2006-12-06 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/SDCCsymt.c (addDecl): fixed bug 1609244
+       * src/SDCCmain.c (linkEdit): fixed bug 1609279
+       * doc/sdccman.lyx,
+       * .version: bumped to 2.6.2 because a) it's been a while
+         b) the linker sources have moved c) the preprocessor is upgraded
+
+2006-12-04 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
+
+       * support/regression/tests/snprintf.c: some checks
+       * lib/src/printf_large.c: %bc: read char instead of int from stack
+
+2006-12-03 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * device/include/mcs51/cc2430.h: inserted _XPAGE
+
+2006-12-02 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
+
+       * device/include/mcs51/cc2430.h: added
+
+2006-12-02 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * device/include/asm/default/features.h,
+       * device/include/asm/ds390/features.h,
+       * device/include/mcs51/at89s53.h,
+       * device/include/ser.h,
+       * device/include/ser_ir.h,
+       * device/include/serial.h: changed keywords to double underscore variants,
+         fixes bug 1590261 some more, thanks Steven Borley
+
+2006-12-01 Raphael Neider <rneider AT web.de>
+
+       * src/pic/pcode.c (register_reassign): do not crash on recursive code
+         but emit warning (recursion is not supported for pic14)
+
+2006-11-30 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
+
+       * src/mcs51/peeph.def: added 101.a,b (moves to int/long xdata)
+       * doc/sdccman.lyx: various small changes, acknowledged Sourceforge
+
 2006-11-30 Raphael Neider <rneider AT web.de>
 
        * src/pic/device.c (dump_sfr): always emit symbols
 
 2006-11-27 Borut Razem <borut.razem AT siol.net>
 
-       * support\cpp2\cppexp.c, support\cpp2\hashtable.h,
-         support\cpp2\Makefile.in, support\cpp2\cppfiles.c,
-         support\cpp2\output.h, support\cpp2\cppinit.c,
-         support\cpp2\cpplib.c, support\cpp2\cpplib.h,
-         support\cpp2\Makefile.bcc, support\cpp2\cpphash.c,
-         support\cpp2\cppdefault.c, support\cpp2\system.h,
-         support\cpp2\cpphash.h, support\cpp2\cpplex.c,
-         support\cpp2\cppdefault.h, support\cpp2\mbchar.c,
-         support\cpp2\prefix.c, support\cpp2\except.h,
-         support\cpp2\hwint.h, support\cpp2\cppmacro.c,
-         support\cpp2\line-map.h, support\cpp2\sdcpp.dsp,
-         support\cpp2\sdcc.h, support\cpp2\mkdeps.c,
-         support\cpp2\version.c, support\cpp2\cppmain.c,
-         support\cpp2\version.h, support\cpp2\hashtable.c,
-         support\cpp2\cpperror.c:
+       * support/cpp2/cppexp.c, support/cpp2/hashtable.h,
+         support/cpp2/Makefile.in, support/cpp2/cppfiles.c,
+         support/cpp2/output.h, support/cpp2/cppinit.c,
+         support/cpp2/cpplib.c, support/cpp2/cpplib.h,
+         support/cpp2/Makefile.bcc, support/cpp2/cpphash.c,
+         support/cpp2/cppdefault.c, support/cpp2/system.h,
+         support/cpp2/cpphash.h, support/cpp2/cpplex.c,
+         support/cpp2/cppdefault.h, support/cpp2/mbchar.c,
+         support/cpp2/prefix.c, support/cpp2/except.h,
+         support/cpp2/hwint.h, support/cpp2/cppmacro.c,
+         support/cpp2/line-map.h, support/cpp2/sdcpp.dsp,
+         support/cpp2/sdcc.h, support/cpp2/mkdeps.c,
+         support/cpp2/version.c, support/cpp2/cppmain.c,
+         support/cpp2/version.h, support/cpp2/hashtable.c,
+         support/cpp2/cpperror.c:
          synchronized with GCC CPP release version 3.3.6,
          the latest where cppmain.c still exists.
-       * support\cpp2\cpptrad.c, support\cpp2\sdcppmain.c,
-         support\cpp2\sdcppinit.c: added
+       * support/cpp2/cpptrad.c, support/cpp2/sdcppmain.c,
+         support/cpp2/sdcppinit.c: added
 
 2006-11-27 Borut Razem <borut.razem AT siol.net>