* src/pic/device.c (find_device): prevent buffer underflow error
[fw/sdcc] / ChangeLog
index 40e1d51d857366f6d4d9628d16c7987dc0c1cbaf..c0fb9e07ee4f1d32d3f55206a0d6580326b21163 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,84 @@
+2007-09-28 Raphael Neider <rneider AT web.de>
+
+       * src/pic/device.c (find_device): prevent buffer underflow error
+       * src/pic/pcoderegs.c (OptimizeRegUsage): avoid dereferencing
+         the just destroyed list entry
+
+2007-09-18 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
+
+       * doc/sdccman.lyx: there's a dedicated wiki page for cmake and sdcc, thanks
+         Alexander Neundorf
+
+2007-09-18 Borut Razem <borut.razem AT siol.net>
+
+       * src/SDCCval.c: fixed MSVC warning C4146: unary minus operator
+        applied to unsigned type, result still unsigned
+
+2007-09-17 Borut Razem <borut.razem AT siol.net>
+
+       * src/SDCC.y, src/SDCCast.c, src/SDCCcse.c, src/SDCCglue.c,
+         src/SDCCicode.c, src/SDCCopt.c, src/SDCCsymt.c, src/SDCCval.c,
+         src/SDCCval.h, src/hc08/gen.c, src/avr/gen.c, src/ds390/gen.c,
+         src/mcs51/gen.c, src/pic/gen.c, src/pic/genarith.c, src/pic/glue.c,
+         src/pic/ralloc.c, src/pic16/gen.c, src/pic16/genarith.c,
+         src/pic16/genutils.c, src/pic16/glue.c, src/pic16/main.c,
+         src/z80/gen.c, src/z80/ralloc.c:
+         fixed bug #1739860 - sdcc does not work correctly on some platforms
+         (not finished)
+         introduced and used ulFromVal(), double2ul(), used strtod() instead sscanf()
+
+2007-09-17 Raphael Neider <rneider AT web.de>
+
+       * src/pic16/device.c: reverted to previous version
+       * device/lib/pic16/Makefile.common.in: quieten gpasm via -Wa,-q
+
+2007-09-16 Raphael Neider <rneider AT web.de>
+
+       * src/pic16/device.c (pic16_dump_usection): do not reserve 0 bytes,
+         as this raises a ton of gpasm warnings, just emit a second label
+       * src/pic16/devices.inc,
+       * device/lib/pic16/pics.all,
+       * device/lib/pic16/libdev/pic18f2585.c,
+       * device/lib/pic16/libdev/pic18f2680.c,
+       * device/lib/pic16/libdev/pic18f2682.c,
+       * device/lib/pic16/libdev/pic18f2685.c,
+       * device/lib/pic16/libdev/pic18f4585.c,
+       * device/lib/pic16/libdev/pic18f4680.c,
+       * device/lib/pic16/libdev/pic18f4682.c,
+       * device/lib/pic16/libdev/pic18f4685.c,
+       * device/include/pic16/pic18f2585.h,
+       * device/include/pic16/pic18f2680.h,
+       * device/include/pic16/pic18f2682.h,
+       * device/include/pic16/pic18f2685.h,
+       * device/include/pic16/pic18f4585.h,
+       * device/include/pic16/pic18f4680.h,
+       * device/include/pic16/pic18f4682.h,
+       * device/include/pic16/pic18f4685.h,
+       * device/include/pic16/pic18fregs.h: added 18f2585, 18f2680,
+         18f2682, 18f2685, 18f4585, 18f4680, 18f4682, 18f4685,
+         patch contributed by Anton Strobl, applied with changes
+
+2007-09-16 Raphael Neider <rneider AT web.de>
+
+       * device/include/pic16/pic18f2431.h,
+       * device/include/pic16/pic18f25j10.h,
+       * device/include/pic16/pic18f4431.h,
+       * device/include/pic16/pic18f45j10.h: adopted common include style
+       * device/include/pic16/pic18f1320.h,
+       * device/include/pic16/pic18f2320.h,
+       * device/include/pic16/pic18f2525.h,
+       * device/include/pic16/pic18f4320.h,
+       * device/include/pic16/pic18f4525.h: NEW, just include proper .h file
+       * device/include/pic16/pic18fregs.h: prepared for automatic include
+         file selection by having DEVICE.h for every DEVICE
+       * device/lib/pic16/libdev/pic18f2320.c,
+       * device/lib/pic16/libdev/pic18f4320.c: just include proper .c file
+
+       * device/lib/pic16/configure.in,
+       * device/lib/pic16/configure: use rm -rf instead of rmdir
+       * device/lib/pic16/Makefile.in: use RMDIR to remove build directories
+       * device/lib/pic16/libc/stdlib/free.c: avoid warning on pointer cast
+
 2007-09-09 Borut Razem <borut.razem AT siol.net>
 
        * src/SDCCmain.c, src/SDCCutil.c: print newline after printVersionInfo(),