* device/lib/Makefile.in: fixed copying pic16 libraries (broken by
[fw/sdcc] / ChangeLog
index 0f26cc261ecbcbdfd102024602d51cfe9d8bbf60..bb05705e6484a395b661201b4078a91c4ac2fde9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,102 @@
+2005-08-10 Raphael Neider <rneider AT web.de>
+
+       * device/lib/Makefile.in: fixed copying pic16 libraries (broken by
+         my last commit)
+
+2005-08-10 Raphael Neider <rneider AT web.de>
+
+       * src/*.c, src/pic16/{gen.c,glue.c,main.c}: applied Vangelis
+         Rokas' patch to add the new fixed point type "__fixed16x16"
+       * device/lib/pic16/libsdcc/fixed16x16: added Vangelis' support
+         functions for __fixed16x16 arithmetics
+       * device/lib/pic16: reimplemented the build system to support
+         a separate build directory, better handling of libio (create
+         the library in a separate subdir for each architecture) and
+         easier configuration (centralized in Makefile.common)
+
+2005-08-07 Raphael Neider <rneider AT web.de>
+
+       * src/pic16/gen.c (genrshTwo): fixed sign extension
+       * src/pic16/device.c: added pic18f2320, 4220 and 4320
+       * device/include/pic16/pic18f2220.h: changed some bit definitions,
+         added T0CONbits
+       * device/include/pic16/pic18f4220.h: NEW, header for
+         pic18f4220 and pic18f4320
+       * device/include/pic16/pic18fregs.h: added new devices,
+         embraced Nop(), ClrWdt(), Sleep() and Reset() with do {} while(0)
+       * device/include/pic16/signal.h: resolved name clashes
+         on bit definitions, added DEF_HANDLER2(sig1,sig2,handler)
+         to also allow testing for interrupt enable bits, added
+         comments on how to use the macros
+       * device/lib/pic16/libdev/pic18f2220.c: added T0CONbits
+       * device/lib/pic16/libdev/pic18f{2320,4220,4320}.c: NEW,
+         register definitions for the devices
+       * device/lib/pic16/pics.all: added new devices
+       * device/lib/pic16/libc/stdlib/calloc.c: fixed zeroing
+         allocated memory
+       * device/lib/pic16/libc/stdlib/memfree: do not count
+         the block header as free memory
+       * device/lib/pic16/libc/stdlib/memmisc.c (_initHeap):
+         simplified and added missing end-of-blocklist-marker
+         (reported by Peter Onion, fixes #1252814)
+       * (_mergeHeapBlock): fixed loop condition
+       * device/lib/pic16/libc/stdlib/realloc.c: return NULL for
+         len==0, restructured code
+       * device/lib/pic16/libc/stdlib/{malloc,memfreemax}.c: cleaned
+         up a bit, reduced bitfield accesses, prevent endless loops
+         in case of heap corruption
+       * device/lib/pic16/libc/stdlib/x_ftoa.c: disabled
+         "unreferenced arguments/must return a value" warnings
+       * device/lib/pic16/libio/usart/ubaud.c (usart_baud):
+         replaced BAUDREG with SPBRG
+       * device/lib/pic16/libsdcc/lregs/{lrrest.c,lrst.c},
+         device/lib/pic16/debug/gstack/gstack.c: replaced
+         _naked, _asm, _endasm with __naked, __asm, __endasm
+
+2005-08-05 Raphael Neider <rneider AT web.de>
+
+       * src/pic16/gen.c (pic16_aopGet): fixed handling of offsets in
+         AOP_PCODE operands, fixes multibyte union-bitfield-accesses
+
+2005-08-05 Borut Razem <borut.razem AT siol.net>
+
+       * device/lib/Makefile.in: added missing ';'
+       * configure: removed ^M characters
+
+2005-08-04 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
+
+       * device/include/mcs51/at89c51ed2.h, device/include/mcs51/p89v51rd2.h,
+         device/include/mcs51/at89s53.h: changed to GNU Lesser General Public
+         License
+
+2005-08-04 Borut Razem <borut.razem AT siol.net>
+
+       * configure.in: pic16 libraries build 2nd try - enable running
+         configure in device/lib/pic16
+       * configure: regenerated from configure.in
+       * device/lib/Makefile.in: create $(PORT)/bin directory
+
+2005-08-03 Raphael Neider <rneider AT web.de>
+
+       * src/pic16/gen.c (pic16_derefPtr): NEW, single place
+         to get/set values via pointers
+       * (genUnpackBits,genPackBits): changed detection of
+         ptr->bitfield vs. sym.bitfield, fixed access via generic
+         pointers, removed dead (wrong) code for multibyte bitfields
+       * (genNearPointerGet, genGenPointerGet): removed useless code,
+         fixed bitfield detection, fixes #1250594
+       * (genNearPointerSet): removed useless code
+       * src/pic16/gen.h: renamed pic16_emitpcode to pic16_emitpcode_real
+         and introduced macro pic16_emitpcode that conditionally emits
+         the origin of the following pCode (useful for debugging SDCC)
+       * src/pic16/pcode.c: changed (and disabled) some debug outputs
+       * (createDefmap): fixed handling of LFSR for --optimize-df
+
+2005-08-02 Borut Razem <borut.razem AT siol.net>
+
+       * device/lib/Makefile.in: pic16 libraries build enabled since
+         gputils-0.13.2 are now localy installed at sourceforge's compile farm
+
 2005-08-02 Raphael Neider <rneider AT web.de>
 
        * src/pic16/gen.c (genPackBits): removed deprecated warning