* sim/ucsim/cpu.gif, sim/ucsim/interrupt.gif, sim/ucsim/new.gif,
[fw/sdcc] / ChangeLog
index 56ba54b173fc26812aa6eab7d7b61b60aa774a64..7e73b0c5397fd93c588dccea94c2afdcac0421cd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,245 @@
+2006-04-24 Borut Razem <borut.razem AT siol.net>
+
+       * device/examples/main8051.c: deleted - it was removed from CVS
+         24.mar.2000 and after that modified 18.feb.2001, so it reappered
+         after the transition to Subversion 
+       * src/SDCCalloc.h: deleted - it was removed  from CVS
+         3.feb.2001 and after that modified 18.feb.2001, so it reappered
+         after the transition to Subversion 
+       * sim/ucsim/cpu.gif, sim/ucsim/interrupt.gif, sim/ucsim/new.gif, 
+         sim/ucsim/serial1.gif, sim/ucsim/serial2.gif,
+         sim/ucsim/term_cpuopt.gif, sim/ucsim/timers.gif, sim/ucsim/wins.gif,
+         sim/ucsim/post.jpg, sim/ucsim/UCsim.jpg: corrected
+
+2006-04-22 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * as/asx8051.dsp: added mcs51/strcmpi.h
+       * as/hc08/as_hc08.dsp: added asm.h, m6808.h, strcmpi.h
+       * as/hc08/aslink.h: updated lnksect prototype
+       * as/hc08/asm.h,
+       * as/mcs51/asm.h: added a_addr to struct area and s_org to struct sym
+       * as/hc08/asmain.c,
+       * as/mcs51/asmain.c (asmbl): init dot.s_org for S_ORG,
+         (newdot): handle A_ABS
+       * as/hc08/asout.c,
+       * as/mcs51/asout.c (outarea): output address
+       * as/hc08/lkaomf51.c,
+       * as/mcs51/lkaomf51.c: disabled unused array UsageType
+       * as/hc08/m08pst.c,
+       * as/mcs51/i51pst.c,
+       * as/z80/z80pst.c: "ABS" is not A_OVR
+       * as/hc08/lkarea.c (newarea): read a_addr,
+         (lnkarea): added codemap array, sort absolute areas to the front,
+          combine all GSINITx/GSFINAL,
+         (find_empty_space, allocate_space): new functions,
+         (lnksect): return next address, handle absolute sections
+       * as/mcs51/lkarea.c (newarea): read a_addr,
+         lnksect2 prototype changed,
+         (lnkarea2): define codemap unsigned, combine all GSINITx/GSFINAL,
+         (find_empty_space, allocate_space): new, factored out of lnksect2,
+         (lnksect2): return next address, handle absolute sections
+       * as/hc08/lkhead.c,
+       * as/mcs51/lkhead.c (newhead): head is absolute but not overlay
+       * as/hc08/lklibr.c (addfile, fndsym),
+       * as/mcs51/lklibr.c (addfile, buildlibraryindex, fndsym): prevent
+         index out of range and detect both '\' and '/'
+       * device/include/mcs51/c8051f200.h: added _XPAGE, removed bad comment
+       * device/include/stdbool.h: removed SDCC_ds390 from check to pass
+         regression tests (ds390 cannot return bool yet)
+       * doc/sdccman.lyx: changed version number, document changed --no-peep,
+         document critical interrupts on z80, document changed SDCC define
+       * src/asm.c (_asxxxx_mapping): fixed .org directive,
+         (_a390_mapping): added .org directive
+       * src/hc08/gen.c (transferAopAop): made bytemask log to fix warning,
+         (genMultOneByte): fixed warnings
+       * src/hc08/hc08.dsp: lowered warning level to 2 to suppress pedantic
+         ones
+       * src/pic16/device.c: removed newReg prototype, removed BYTE_IN_LONG
+       * src/pic16/gen.c (pic16_popGetLabel): made parameter key signed,
+         (pic16_genLeftShiftLiteral, genRightShiftLiteral): fixed warnings
+       * src/pic16/gen.h: changed prototype for pic16_popGetLabel
+       * src/pic16/main.c: removed newReg prototype
+       * src/pic16/pcode.c,
+       * src/pic16/pcode.h (pic16_emitDB): changed parameter c to int to fix
+         warnings
+       * src/pic16/pic16.dsp: lowered warning level to 2 to suppress pedantic
+         ones
+       * src/pic16/ralloc.c
+       * src/pic16/ralloc.h (newReg): changed type to int and size to unsigned
+         to fix warnings
+       * src/pic/pcode.c (allocInternalRegister): changed parameter optype
+         from short to PIC_OPTYPE
+       * src/pic/pic.dsp: lowered warning level to 2 to suppress pedantic ones
+       * src/pic/ralloc.c (newReg, allocInternalRegister): changed parameter
+         optype from short to PIC_OPTYPE
+       * src/port.h: made int_size unsigned to fix warnings
+       * src/SDCC.y: fixed warning on MSVC
+       * src/SDCCicode.c (getArraySizePtr): return unsigned int
+       * src/SDCCopt.c (convertToFcall): fixed warnings
+       * src/SDCCsymt.h: removed double prototype for genSymName
+       * src/xa51/ralloc.c (allocReg): made size unsigned int, type int and
+         offset int to fix warnings
+
+2006-04-22 Borut Razem <borut.razem AT siol.net>
+
+       * doc/sdccman.lyx, */Makefile, */Makefile.in:
+         references to CVS replaced with Subversion
+
+2006-04-21 Borut Razem <borut.razem AT siol.net>
+
+       * doc/sdccman.lyx, */Makefile, */Makefile.in:
+         references to CVS replaced with Subversion
+
+2006-04-19 Borut Razem <borut.razem AT siol.net>
+
+       * src/version.awk: adapted for svn
+       * /asxxxx/asxhtml/*.gif: set property svn:mime-type to image/gif
+         sim/ucsim/doc/*.gif: set property svn:mime-type to image/gif
+         sim/ucsim/doc/*.jpg: set property svn:mime-type to image/jpeg
+         /binutils-avr/etc/*.vi, *.jin: removed all properties
+         support/scripts/sdcc.ico: set property svn:mime-type to image/x-icon
+
+2006-04-19 Borut Razem <borut.razem AT siol.net>
+
+       * CVS to Subversion migration completed
+
+2006-04-18 Borut Razem <borut.razem AT siol.net>
+
+       * support/scripts/sdcc.nsi: removed unexisting ${DEV_ROOT}\lib\pic\*.o,
+         ${DEV_ROOT}\lib\src\pic\libdev\*.S, ${DEV_ROOT}\lib\src\pic\libdev\*.inc
+
+2006-04-17 Borut Razem <borut.razem AT siol.net>
+
+       * device/include/Makefile.in: added pic/*.inc to the installation
+
+2006-04-15 Bernhard Held <bernhard AT bernhardheld.de>
+
+       * support/regression/collate-results.py: fixed output in case of
+       a valdiag error
+       * support/regression/generate-cases.py: fixed splitting of pathnames
+       with dots
+       * as/hc08/lklibr.c (addfile),
+       * as/mcs51/lklibr.c (addfile): fixed off-by-one bug
+
+2006-04-11 Raphael Neider <rneider AT web.de>
+
+       * src/pic16/gen.c (getFreePtr, pic16_popRegFromString),
+       * src/pic16/ralloc.c (pic16_allocregWithName): removed debug output
+       * src/pic16/pcode.c (assignValnums): fixed #1460578
+
+2006-04-11 Raphael Neider <rneider AT web.de>
+
+       * device/lib/pic/libdev/*.c,
+       * device/include/pic/*.h: replaced sfr and data with __sfr and __data,
+         fixes #1468739, enables compilation in --std-c99 mode
+       * support/scripts/inc2h.pl: emit __sfr/__data instead of sfr/data
+
+2006-04-11 Raphael Neider <rneider AT web.de>
+
+       * src/pic/device.c (find_device): removed debug output
+         (list_valid_pics): enabled verbose listing of supported devices
+       * device/include/stdbool.h: define bool as char for pic14/16 as well
+
+2006-04-07 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
+
+       * src/SDCC.y: allow using brackets here: "__interrupt (1) __using (1)"
+
+2006-04-07 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * .version: bumped version to 2.5.6
+       * src/pic/ralloc.c (newReg): MSVC doesn't support __builtin_return_address
+
+2006-04-06 Raphael Neider <rneider AT web.de>
+
+       * .version: bumped version to 2.5.6 (pic14 ABI changed)
+       * src/SDCCmain.c: add -DSDCC_PROCESSOR=<id> for pic14 port
+       * src/pic/glue.c (emitSymbolToFile,pic14_constructAbsMap,
+         pic14emitRegularMap,pic14emitMaps): moved output for absolute symbols to
+           pic14_constructAbsMap
+         (pic14printPublics): declare absolute global symbols as global
+         (pic14createInterruptVect),
+       * src/pic/ralloc.c (IS_CONFIG_ADDRESS): support second config word,
+         (newReg): assume new registers unused, use correct name in
+           hashtable (reg->name instead of name), more debugLog output
+       * src/pic/device.h (PIC_device): added fields for verbose output
+       * src/pic/device.c: moved device definition to pic14devices.txt,
+           added routines for runtime parsing of pic14devices.txt,
+           added support for second config word
+       * src/pic/main.c (_process_pragma): removed #pragma maxram,
+         (_pic14_keywords): no longer accept "bit" and "sbit" keywords
+         (_pic14_initPaths): add search paths with "pic" suffix (not "pic14")
+         (_pic14_parseOptions): moved pCodeInitRegisters here
+         (_pic14_do_link): add "pic$(ARCH).lib" to linker arguments
+       * src/pic/pcode.c (AnalyzeBanking): bail out on unset processor,
+         (pCodeInitRegisters): rewrapped comments, perpared new approach to
+           handling the pseudo stack
+       * device/lib/Makefile.in: ignore failures in objects-pic16,
+       * device/lib/pic/{configure,configure.in,Makefile}: added libdev/
+       * device/lib/pic/NEWS: document new dependency on picXXX.lib
+       * device/lib/pic/Makefile.subdir,
+       * device/lib/pic16/Makefile.subdir: improved clean rules
+       * device/lib/pic/libdev/: NEW, pic14 device libraries
+       * device/lib/pic/libsdcc/_gptr{get,put}{1,2,3,4}.S: use _X not X
+       * device/lib/pic/libsdcc/macros.inc: use _X not X, declare default SFRs
+       * device/include/Makefile.in: create subdir and install pic14 headers
+       * device/include/pic/p16f_common.inc: removed unused declarations
+       * device/include/pic/pic16*.h: added header files for 100+ 14 bit
+           PICs from inc2h.pl v1.6,
+           replaced BIT_AT macros with struct declarations
+       * device/include/pic/pic14devices.txt: definition of supported devices,
+           all above improvements contributed by Zik Saleeba, thanks
+       * support/scripts/inc2h.pl: removed BIT_AT, replaced with structs
+       * support/scripts/sdcc.nsi: also install pic14 device libraries and
+           headers
+
+2006-04-06 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * device/include/mcs51/c8051f410.h: added interrupt numbers,
+       * device/include/mcs51/c8051f200.h: old SiLabs mcu completes the list,
+         thanks to Charles Olds
+
+2006-04-06 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
+
+       * debugger/mcs51/cmd.c (infoRegisters): show return address on stack
+
+2006-04-06 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/SDCCpeeph.c (labelIsReturnOnly): fixed bug 1464657
+       * src/mcs51/gen.c (genJumpTab): fixed bug in medium model
+       * support/regression/bug1464657.c: added, new test
+
+2006-04-05 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/SDCCmain.c (preProcess): implemented RFE 1449908, define SDCC as the
+         version number
+
+2006-04-05 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/SDCCpeeph.c (initPeepHole): implemented RFE 1460196, when both
+         --no-peep and --peep-file <file> are used don't use default rules but
+         do use the <file>
+
+2006-04-05 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/mcs51/gen.c (genCall): fixed bug 1457608
+
+2006-03-30 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
+
+       * doc/sdccman.lyx: reverted to version 1.129 of december as my latest
+       changes seem to cause (trigger?) problems with the build system.
+
+2006-03-29 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/SDCCpeeph.c (operandsLiteral): new, added,
+         (callFuncByName): inserted operandsLiteral
+       * src/mcs51/peeph.def: reenabled 132.e, added extra check to 132.x
+
 2006-03-28 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
 
+       * doc/sdccman.lyx: added paragraph "Use of SDCC in Education"
        * src/mcs51/peeph.def: disabled rule 132.e fixing bug #1453093
 
-2006-03-23 Maarten Brock <sourceforge.brock AT dse.nl>
+2006-03-24 Maarten Brock <sourceforge.brock AT dse.nl>
 
        * src/z80/gen.c (genFunction, genEndFunction): fixed bug 1160666,
          implemented patch 1120823 Thanks to Willy De la Court (normal