* src/pic16/gen.c (genPcall): fixed bug #1443644
[fw/sdcc] / ChangeLog
index 04ffe1b00180f24548744f394e640c89f5f7ac42..1c33e739ec5e85d44d93138ae9aa72e1f29de64d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,139 @@
+2006-03-06 Vangelis Rokas <vrokas AT users.sourceforge.net>
+
+       * src/pic16/gen.c (genPcall): fixed bug #1443644
+       * src/pic16/device.h (struct pic16_options_t): added 'int CATregs' flag
+       which dumps before the function entry point a data byte which represents
+       the number of the local variables used by the specified function, added
+       'xinst' for initial support for Extended Instruction Support,
+       * src/pic16/gen.c (aopForSym, pic16_aopGet): beautifications,
+       (pic16_testStackOverflow): do not prefix GSTACK_TEST_NAME with
+       port->fun_prefix anymore (may change later),
+       (genFunction, genEndFunction): do not store/restore local registers for
+       _main (this should take care the --main-return command line option in
+       the future),
+       (genOr): removed some legacy pic-port instructions,
+       * src/pic16/genarith.c (genAddLit): re-enabled old code because
+       performing operations with SFR's causes data to be written more than
+       once to each SFR. Perhaps SFRs should be handled in special cases...
+       * src/pic16/glue.c: macros BIG_ENDIAN and BYTE_IN_LONG are moved to
+       pcode.h
+       * src/pic16/main.c (_process_pragma): stack bound checking did not take
+       into account for stack starting position,
+       (struct OPTIONS pic16_optionsTable): added command line argument
+       --extended or -y for Extended Instruction Support,
+       * src/pic16/ralloc.c (pic16_decodeOp): added case for FUNCTION,
+       (deassignLRs): *** perhaps the most important change, old 'for' code
+       (comented out for reference), didn't account for some registers which
+       were left marked 'not free' after a pointer operation. The change
+       reduces register usage a lot in some cases
+
+2006-03-04 Borut Razem <borut.razem AT siol.net>
+
+       * support/regression/ports/hc08/spec.mk: remove *.asm in traget
+         _clean
+       * support/regression/tests/bug-524697.c: decreased array size for
+         mcs51 to fit into the internal RAM
+       * support/regression/Makefile.in: a little bit more verbose
+
+2006-03-03 Borut Razem <borut.razem AT siol.net>
+
+       * support/regression/fwk/lib/testfwk.c,
+         support/regression/fwk/include/testfwk.h: introduced function
+         _prints(), nonrecursive _printn(), call _initEmu() from main()
+       * support/regression/ports/gbz80/support.asm,
+         support/regression/ports/ucz80/support.asm,
+         support/regression/ports/z80/support.asm,
+         support/regression/ports/ds390/support.c,
+         support/regression/ports/hc08/support.c,
+         support/regression/ports/host/support.c,
+         support/regression/ports/mcs51/support.c,
+         support/regression/ports/xa51/support.c: added empty _initEmu()
+         function
+       * support/regression/ports/pic16/gpsim.cmd,
+         support/regression/ports/pic16/spec.mk,
+         support/regression/ports/pic16/support.c,
+         support/regression/Makefile.in: added pic16 regression test
+
+2006-03-01 Raphael Neider <rneider AT web.de>
+
+       * src/pic16/gen.c (genPcall,pic16_derefPtr,genGenPointerGet,
+         genConstPointerGet): use safe way of generating MOVFF to cover
+           literals as well as registers, fixes bug #1440527
+       * src/pic16/glue.c (pic16_printIvalBitFields): prevent NULL pointer
+           dereference
+         (pic16_printIvalUnion,pic16_isUnion): NEW, handle initialized unions
+           more correctly, fixes bug #1232186
+         (pic16_printIval): use pic16_printIvalUnion() for initialized unions
+       * src/pic16/main.c (_pic16_linkEdit): reorder linker arguments to make
+           gplink guess the correct processor in more cases, applied patch
+           from Till Riedel attached to and fixing bug #1436552
+
+2006-02-20 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
+
+       * support/regression/tests/array.c: added, contains check for #1434401
+       * src/mcs51/peeph.def: disabled 186.d as temporary fix for #1434401
+
+2006-02-16 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * device/include/mcs51/at89s8253.h: new, thanks to Krzysztof Polomka
+       * device/include/mcs51/at89S8252.h: fixed, thanks to Krzysztof Polomka
+       * device/include/mcs51/c8051f326.h,
+       * device/include/mcs51/c8051f340.h: new SiLabs mcu's
+       * device/include/mcs51/c8051f000.h,
+       * device/include/mcs51/c8051f018.h,
+       * device/include/mcs51/c8051f020.h: used () with __at, renamed IDLE,STOP to
+         PCON_IDLE,PCON_STOP and added sfr16 definitions
+
+2006-02-14 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/mcs51/gen.c (genPlus, genMinus, genMult, genGetAbit, genGetByte,
+         genGetWord): fixed bug 1409955
+
+2006-02-14 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * device/include/hc08/mc68hc908gp32.h,
+       * device/include/hc08/mc68hc908jb8.h: removed AWUL, added PTA6 & PTA7
+
+2006-02-13 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/SDCCast.c (constExprValue): return NULL if not a value
+       * src/SDCCglue.c (printIvalArray): fixed bug 1225568
+       * src/hc08/gen.c(genUnpackBits, genUnpackBitsImmed): fixed bug 1019480
+       * support/regression/tests/bitfields.c: enabled signed bitfield for all
+
+2006-02-13 Borut Razem <borut.razem AT siol.net>
+
+       * src/regression/ptrarg.c: added, fails due to bug #1430967
+       * src/regression/Makefile: ptrarg.c added, ...
+
+2006-02-12 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/z80/gen.c (genUnpackBits): fixed bug 1019480
+       * support/regression/tests/bitfields.c: enabled signed bitfield for z80
+
+2006-02-11 Borut Razem <borut.razem AT siol.net>
+
+       * src/SDCCmain.c: Added "sdcc: Calling linker..." if --verbose,
+         print "Processor: xxx" message to stdout only if --verbose
+
+2006-02-11 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/SDCCglue.c (printIvalStruct): fixed bug 1426356 union initializer
+       * support/regression/tests/bug1426356.c: added
+       * support/regression/tests/bitfields.c: removed 2 tests
+
+2006-02-10 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * device/include/mcs51/at89c51snd1c.h: updated comments, see patch 1428901
+       * device/include/mcs51/c8051f330.h,
+       * device/include/mcs51/c8051f350.h: used () with __at, renamed IDLE,STOP to
+         PCON_IDLE,PCON_STOP and added sfr16 definitions
+       * device/lib/_divsint.c,
+       * device/lib/_divuint.c,
+       * device/lib/_divulong.c,
+       * device/lib/_divulong.c: renamed a,b to x,y to avoid confusion, fixed
+         register bank bug for small stackauto
+
 2006-02-09 Maarten Brock <sourceforge.brock AT dse.nl>
 
        * support/regression/fwk/lib/timeout.c: include <stdlib.h> for exit()
        * device/lib/printf_large.c (output_float): fixed bug 1388703
        * support/regression/tests/bug1057979.c: added test for bug 1388703
 
-
 2006-02-08 Raphael Neider <rneider AT web.de>
 
        * src/pic/pcode.c (pciTRIS): fixed typo,
            created, reuse existing ones instead
        * src/pic/gen.c (genPcall): fixed #1424719
 
+2006-02-07 Bernhard Held <bernhard AT bernhardheld.de>
+
+       * link/z80/lkmain.c,
+       * link/z80/lklex.c,
+       * link/z80/lkdata.c,
+       * link/z80/aslink.h: fixed build on current cygwin:
+       replaced getline() by lk_getline()
+
 2006-02-01 Borut Razem <borut.razem AT siol.net>
 
        * src/regression/add.c, src/regression/add2.c, src/regression/add3.c,