Enabled VPATH feature: changed nearly all Makefiles (149 files).
[fw/sdcc] / ChangeLog
index 426c939401c1b10fc6d6c401727909fa4f5710a7..caa9dae5cda1bb80b1c9a10e7c3367add3f12029 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,192 @@
+2006-04-24 Bernhard Held <bernhard AT bernhardheld.de>
+
+       Enabled VPATH feature: changed nearly all Makefiles (149 files).
+       See sdccman.lyx '2.4.10 VPATH feature' about how to use it.
+
+       One basic decision: e.g. src/clean.mk includes further files. In order
+       to make this work there are two solutions:
+       - rename another dozen clean.mk to clean_in.mk, add srcdir to them and
+         run configure on them. This way they can use
+         'include $(srcdir)/port-clean.mk'
+       - always include clean.mk by the Makefile at the same level. To avoid
+         that `make clean` tries to include and build Makefile.dep the
+         MAKECMDGOALS are examined (see e.g. src/Makefile.in). This has been
+         implemented, because now even `make uninstall` doesn't create
+         Makefile.in. clean.mk could be eliminated by pasting it in
+         Makefile.in.
+
+       * debugger/mcs51/Makefile.in: build own objects from library sources
+       (SLIB, SDCC) in current directory
+
+       * configure, configure.in: renamed --disable-device-lib-build in 
+       --disable-device-lib; added --enable-doc, the required tools are
+       searched by configure; added result message; the toolchain for the
+       belonging ports are now only built, if the port is enabled.
+
+       * support/regression/*: all output is written in directory gen, because
+       the fwk and ports directories don't livet in the build tree using vpath
+
+       * doc/sdccman.lyx: renamed --disable-device-lib-build to
+       --disable-device-lib, added --enable-doc, added section VPATH
+
+       * sim/ucsim/configure.in,
+       * sim/ucsim/configure.in: hc08 couldn't be disabled, now hc08 and
+       z80 are enabled by default
+
+2006-04-24 Raphael Neider <rneider AT web.de>
+
+       * src/pic/device.c (pic14_assignConfigWordValue): remember assignments to
+           config word, "pic14_"-prefixed some extern functions
+         (pic14_emitConfigWord): emit __config directive(s) if assignment to
+           config word has been found
+       * src/pic/device.h: added prototypes
+       * src/pic/pcode.c: added "pic14_"-prefix where needed
+       * src/pic/ralloc.c (IS_CONFIG_ADDRESS,pic14_assignRegisters): cosmetic fixup
+       * src/pic/glue.c (pic14_constructAbsMap): handle assignments to config words,
+         (pic14emitRegularMap): ignore config words,
+         (pic14createInterruptVect): moved generating __config directives away
+         (picglue): have __config directives emitted
+
+2006-04-24 Borut Razem <borut.razem AT siol.net>
+
+       * doc/Makefile: sync with nightly build makefile
+
+2006-04-24 Raphael Neider <rneider AT web.de>
+
+       * src/pic/pcoderegs.c (OptimizeRegUsage): do not optimize
+           registers that have not been assigned proper liveranges,
+           fixes #1469504 and #1474602,
+         (pCodeRegOptimizeRegUsage): fixed typo in comment
+
+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,
   * as/mcs51/lksym.c:  accept everything as symbol name in rel-files, bug fix ID 452601
 
 $Revision$
+