fw/sdcc
15 years ago* device/lib/Makefile.in: reenable floating point in model-xstack-auto
borutr [Sun, 8 Feb 2009 14:23:05 +0000 (14:23 +0000)]
* device/lib/Makefile.in: reenable floating point in model-xstack-auto
  libraries

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5365 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* as/COPYING3: added
borutr [Sun, 8 Feb 2009 08:36:48 +0000 (08:36 +0000)]
* as/COPYING3: added
* support/scripts/sdcc.nsi: added COPYING3.txt to the package

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5361 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years agomodified properties
borutr [Sun, 8 Feb 2009 08:22:11 +0000 (08:22 +0000)]
modified properties

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5360 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years agoadded COPYING3
borutr [Sun, 8 Feb 2009 08:19:45 +0000 (08:19 +0000)]
added COPYING3

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5359 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years agofixed offset calculation
borutr [Sat, 7 Feb 2009 17:57:02 +0000 (17:57 +0000)]
fixed offset calculation

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5358 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* asranlib/asranlib.c: fixed BSD header length calculation
borutr [Sat, 7 Feb 2009 13:26:25 +0000 (13:26 +0000)]
* asranlib/asranlib.c: fixed BSD header length calculation
* .version, doc/sdccman.lyx: bumped sdcc version to 2.8.8
  due sdcc asxxxx license change to GPLv3

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5357 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* asranlib/asranlib.c, link/lkar.h, link/lkar.c:
borutr [Thu, 5 Feb 2009 22:15:19 +0000 (22:15 +0000)]
* asranlib/asranlib.c, link/lkar.h, link/lkar.c:
  added support for BSD (Mac OS X) ar format
* as/asxxsrc/aslex.c, as/as/asxxsrc/asnoice.c, as/as/asxxsrc/assym.c,
  as/as/hc08/asdata.c, as/hc08/asexpr.c, as/hc08/aslist.c,
  as/hc08/asm.h, as/hc08/asmain.c, as/hc08/asout.c, as/hc08/assubr.c,
  as/hc08/m08adr.c, as/hc08/m08ext.c, as/hc08/m08mch.c,
  as/hc08/m08pst.c, as/hc08/m6808.h, as/link/aslink.h,
  as/link/hc08/lkarea.c, as/link/hc08/lkelf.c, as/link/hc08/lkihx.c,
  as/link/hc08/lkmain.c, as/link/hc08/lkmem.c, as/link/hc08/lkrloc.c,
  as/link/hc08/lks19.c, as/link/lkaomf51.c, as/link/lkdata.c,
  as/link/lkeval.c, as/link/lkhead.c, as/link/lklex.c, as/link/lklib.c,
  as/link/lklibr.c, as/link/lklibr.h, as/link/lklist.c,
  as/link/lknoice.c, as/link/lkrel.c, as/link/lkrel.h,
  as/link/lksdcclib.c, as/link/lkstore.c, as/link/lksym.c,
  as/link/mcs51/lkarea.c, as/link/mcs51/lkihx.c,
  as/link/mcs51/lkmain.c, as/link/mcs51/lkmem.c,
  as/link/mcs51/lkrloc.c, as/link/mcs51/lks19.c, as/link/z80/lkarea.c,
  as/link/z80/lkgb.c, as/link/z80/lkgg.c, as/link/z80/lkihx.c,
  as/link/z80/lkmain.c, as/link/z80/lkrloc.c, as/link/z80/lks19.c,
  as/mcs51/asdata.c, as/mcs51/asexpr.c, as/mcs51/aslist.c,
  as/mcs51/asm.h, as/mcs51/asmain.c, as/mcs51/asout.c,
  as/mcs51/assubr.c, as/mcs51/i51adr.c, as/mcs51/i51ext.c,
  as/mcs51/i51mch.c, as/mcs51/i51pst.c, as/mcs51/i8051.h,
  as/xa51/xa_link.c, as/xa51/xa_main.c, as/xa51/xa_main.h,
  as/xa51/xa_rasm.l, as/xa51/xa_rasm.y, as/xa51/xa_version.h,
  as/z80/asdata.c, as/z80/asexpr.c, as/z80/aslist.c, as/z80/asm.h,
  as/z80/asmain.c, as/z80/asout.c, as/z80/assubr.c, as/z80/z80.h,
  as/z80/z80adr.c, as/z80/z80ext.c, as/z80/z80mch.c, as/z80/z80pst.c:
  changed license to GPL either version 3, or (at your option) any
  later version

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5356 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years agofixed warnings and errors
borutr [Thu, 5 Feb 2009 21:02:00 +0000 (21:02 +0000)]
fixed warnings and errors

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5355 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* asranlib/asranlib.c, link/lkar.h, link/lkar.c:
borutr [Thu, 5 Feb 2009 19:10:08 +0000 (19:10 +0000)]
* asranlib/asranlib.c, link/lkar.h, link/lkar.c:
  added support for BSD (Mac OS X) ar format

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5354 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* device/lib/gbz80/Makefile.in, device/lib/hc08/Makefile.in,
borutr [Mon, 2 Feb 2009 16:01:02 +0000 (16:01 +0000)]
* device/lib/gbz80/Makefile.in, device/lib/hc08/Makefile.in,
  device/lib/z80/Makefile.in:
  chose source files in the PORT directory if they are available

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5353 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* device/lib/pic16/libdev/pic18f1220.c,
tecodev [Sun, 1 Feb 2009 16:40:52 +0000 (16:40 +0000)]
* device/lib/pic16/libdev/pic18f1220.c,
* device/lib/pic16/libdev/pic18f4450.c:
  define SSPBUF to allow use of printf

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5352 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* device/lib/Makefile.in, device/lib/gbz80/Makefile.in,
borutr [Sun, 1 Feb 2009 11:11:47 +0000 (11:11 +0000)]
* device/lib/Makefile.in, device/lib/gbz80/Makefile.in,
  device/lib/hc08/Makefile.in, device/lib/incl.mk,
  device/lib/z80/Makefile.in:
  don't remake libraries
* support/regression/tests/snprintf.c:

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5351 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* src/pic16/ralloc.c (packForPush): disabled to fix #2496919
tecodev [Mon, 26 Jan 2009 18:27:05 +0000 (18:27 +0000)]
* src/pic16/ralloc.c (packForPush): disabled to fix #2496919

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5350 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* src/pic16/main.c (_pic16_linkEdit): prepend -L paths to linker
tecodev [Sun, 25 Jan 2009 22:35:30 +0000 (22:35 +0000)]
* src/pic16/main.c (_pic16_linkEdit): prepend -L paths to linker
  search path instead of appending them

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5349 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* as/asranlib/asranlib.h: changed type of offset to unsigned int to
borutr [Sat, 24 Jan 2009 08:18:53 +0000 (08:18 +0000)]
* as/asranlib/asranlib.h: changed type of offset to unsigned int to
  make it work on ppc Mac OS X (off_t is 64 bit and is not converted
  to 32 bit unsigned int when calling sputl() since it is a macro
* as/link/lkar.c: changed the initialization of This->loaded

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5348 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* as/link/lkar.h: changed type of ar_size to size_t to make it work on
borutr [Fri, 23 Jan 2009 20:12:27 +0000 (20:12 +0000)]
* as/link/lkar.h: changed type of ar_size to size_t to make it work on
  ppc Mac OS X (off_t is 64 bit and is not converted to 32 bit
  unsigned int when calling new(), since asxxxx doesn't use function
  prototypes)

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5347 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* as/link/lkar.h: sgetl and sputl are independent of endianness
borutr [Wed, 21 Jan 2009 21:08:10 +0000 (21:08 +0000)]
* as/link/lkar.h: sgetl and sputl are independent of endianness
* as/link/sdxxxx_config.h.in: removed endianness detection

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5346 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* support/scripts/sdcc.nsi:
borutr [Tue, 20 Jan 2009 18:33:51 +0000 (18:33 +0000)]
* support/scripts/sdcc.nsi:
  don't add nonexistent object files to the package

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5344 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* .version, doc/sdccman.lyx: bumped sdcc version to 2.8.8
borutr [Tue, 20 Jan 2009 06:05:37 +0000 (06:05 +0000)]
* .version, doc/sdccman.lyx: bumped sdcc version to 2.8.8
  due creation of ar format libraries

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5343 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* device/lib/libfloat.lib, device/lib/libint.lib,
borutr [Mon, 19 Jan 2009 21:32:26 +0000 (21:32 +0000)]
* device/lib/libfloat.lib, device/lib/libint.lib,
  device/lib/liblong.lib, device/lib/libsdcc.lib: removed

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5342 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* Makefile.in, configure.in, configure,
borutr [Mon, 19 Jan 2009 21:06:40 +0000 (21:06 +0000)]
* Makefile.in, configure.in, configure,
  device\lib\Makefile.in, device\lib\ds390\Makefile.in,
  device\lib\ds400\Makefile.in, device\lib\gbz80\Makefile.in,
  device\lib\hc08\Makefile.in, device\lib\large\Makefile.in,
  device\lib\mcs51\Makefile.in, device\lib\medium\Makefile.in,
  device\lib\small\Makefile.in,
  device\lib\z80\Makefile.in: create ar format libraries
* support\regression\ports\mcs51-xstack-auto\spec.mk:
  use device\lib\Makefile to create library
* support\regression\tests\snprintf.c:
  floating point is not enabled in small-xstack-auto library

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5341 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* support/cpp/auto-host.h: fixed warning: "__STDC__" redefined,
borutr [Sun, 18 Jan 2009 14:23:26 +0000 (14:23 +0000)]
* support/cpp/auto-host.h: fixed warning: "__STDC__" redefined,
  warning: extra tokens at end of #endif directive

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5340 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* Makefile.in: added SDCC_ASRANLIB to PKGS
borutr [Sun, 11 Jan 2009 08:29:41 +0000 (08:29 +0000)]
* Makefile.in: added SDCC_ASRANLIB to PKGS

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5339 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* support/scripts/sdcc.nsi: added asranlib.exe to the install package
borutr [Sat, 10 Jan 2009 10:16:28 +0000 (10:16 +0000)]
* support/scripts/sdcc.nsi: added asranlib.exe to the install package
* .version, doc/sdccman.lyx: bumped sdcc version to 2.8.7
  due added support for ar format libraries

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5338 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years agoLIB_TYPE=LIB
borutr [Fri, 9 Jan 2009 23:10:44 +0000 (23:10 +0000)]
LIB_TYPE=LIB

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5337 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* as/asranlib/Makefile.in, as/asranlib/asranlib.dsp,
borutr [Fri, 9 Jan 2009 23:04:14 +0000 (23:04 +0000)]
* as/asranlib/Makefile.in, as/asranlib/asranlib.dsp,
  as/asranlib/asranlib.c: added asranlib
* as/link/lkar.c, as/link/lkar.h: added support for ar format libraries
* Makefile.in, as/link/hc08/Makefile.in,
  as/link/hc08/link_hc08.dsp, as/link/lklib.c, as/link/lklibr.c,
  as/link/lklibr.h, as/link/lkrel.c, as/link/lkrel.h,
  as/link/lksdcclib.c, as/link/mcs51/Makefile.in,
  as/link/mcs51/aslink.dsp, as/link/z80/Makefile.in,
  as/link/z80/linkgbz80.dsp, as/link/z80/linkz80.dsp, configure,
  configure.in, sdcc.dsw: modified to support ar format libraries

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5336 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* src/SDCCast.c (decorateType RETURN): use RESULT_TYPE_GPTR for generic
MaartenBrock [Thu, 8 Jan 2009 17:18:01 +0000 (17:18 +0000)]
* src/SDCCast.c (decorateType RETURN): use RESULT_TYPE_GPTR for generic
  pointer return

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5335 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years agoFixed bug #2488074
spth [Mon, 5 Jan 2009 16:12:39 +0000 (16:12 +0000)]
Fixed bug #2488074

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5334 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years agoImplemented RFE #1702376
spth [Mon, 5 Jan 2009 10:20:47 +0000 (10:20 +0000)]
Implemented RFE #1702376

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5333 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* as/link/lksdcclib.c:
borutr [Mon, 5 Jan 2009 07:33:45 +0000 (07:33 +0000)]
* as/link/lksdcclib.c:
  fixed linker hanging in INDEXLIB is not defined (hc08)

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5332 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years agoImplemented RFE #2485684
spth [Sun, 4 Jan 2009 22:25:36 +0000 (22:25 +0000)]
Implemented RFE #2485684

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5331 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years agoPartially implemented RFE #2471534 and some other minor improvements
spth [Sun, 4 Jan 2009 18:30:12 +0000 (18:30 +0000)]
Partially implemented RFE #2471534 and some other minor improvements

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5330 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* src/z80/peep.c: fixed msvc warning C4047:
borutr [Sun, 4 Jan 2009 17:23:15 +0000 (17:23 +0000)]
* src/z80/peep.c: fixed msvc warning C4047:
  'return' : 'int ' differs in levels of indirection from 'char *'
* config.dsp: as/lib corrected to as/link

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5329 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* as/link/lkrel.c, as/link/lksdcclib.c:
borutr [Sun, 4 Jan 2009 16:42:39 +0000 (16:42 +0000)]
* as/link/lkrel.c, as/link/lksdcclib.c:
  fixed bug #2484677: Linker hangs

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5328 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* .version, doc/sdccman.lyx: bumped sdcc version to 2.8.6
borutr [Sun, 4 Jan 2009 08:18:33 +0000 (08:18 +0000)]
* .version, doc/sdccman.lyx: bumped sdcc version to 2.8.6
  due changes in sdcc asxxxx linkers - it sholud be done 2 days ago :(
* doc/README.txt: updated John Hartman's e-mail address

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5325 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years agoRFE #2484693 and peephole improvements
spth [Sun, 4 Jan 2009 00:39:44 +0000 (00:39 +0000)]
RFE #2484693 and peephole improvements

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5322 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* as/link/lklibr.c:
borutr [Sat, 3 Jan 2009 21:18:17 +0000 (21:18 +0000)]
* as/link/lklibr.c:
  fixed warning: 'ret' may be used uninitialized in this function

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5321 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years agofixed test if symbol was found in fndsym()
borutr [Fri, 2 Jan 2009 22:01:12 +0000 (22:01 +0000)]
fixed test if symbol was found in fndsym()

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5320 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* as/link/lklib.c, as/link/lksdcclib.c, as/link/lklibr.h,
borutr [Fri, 2 Jan 2009 20:40:13 +0000 (20:40 +0000)]
* as/link/lklib.c, as/link/lksdcclib.c, as/link/lklibr.h,
  as/link/getline.[ch], as/link/lkrel.[ch]: added,
  made support for differnet library formats more flexible,
  preparation for support of ar format
* as/link/lklibr.c, as/link/z80/Makefile.in,
  as/link/z80/linkgbz80.dsp, as/link/z80/linkz80.dsp,
  as/link/hc08/link_hc08.dsp, as/link/hc08/Makefile.in,
  as/link/mcs51/aslink.dsp, as/link/mcs51/Makefile.in,
  as/link/hc08/lkelf.c, as/link/aslink.h:
  made support for differnet library formats more flexible,
  preparation for support of ar format

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5319 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years agoremoved struct lbfile member "unsigned int type;", added by mistake
borutr [Fri, 2 Jan 2009 07:32:08 +0000 (07:32 +0000)]
removed struct lbfile member "unsigned int type;", added by mistake

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5318 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* device/lib/Makefile.in: allow whitespaces at the end of lines in
borutr [Thu, 1 Jan 2009 19:38:35 +0000 (19:38 +0000)]
* device/lib/Makefile.in: allow whitespaces at the end of lines in
  ports.build, in order to make it work on cygwin - it seems to be a
  bug in cygwin grep: CR is not treated as part of end-of-line

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5317 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* as/link/asxxxx_config.h.in:
borutr [Thu, 1 Jan 2009 12:14:27 +0000 (12:14 +0000)]
* as/link/asxxxx_config.h.in:
  fixed warning: extra tokens at end of #endif directive
* src/z80/peep.c:
  fixed warning: suggest parentheses around && within ||

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5316 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago as/link/hc08/Makefile.in, as/link/mcs51/Makefile.in:
borutr [Wed, 31 Dec 2008 16:21:00 +0000 (16:21 +0000)]
  as/link/hc08/Makefile.in, as/link/mcs51/Makefile.in:
  introduced asxxxx_config.h.in

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5315 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years agoremoved #include "getline.h"
borutr [Wed, 31 Dec 2008 16:06:15 +0000 (16:06 +0000)]
removed #include "getline.h"

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5314 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years agocorected lib to link
borutr [Wed, 31 Dec 2008 15:17:59 +0000 (15:17 +0000)]
corected lib to link

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5313 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* configure, configure.in, config.dsp, config_vc.awk,
borutr [Wed, 31 Dec 2008 14:45:47 +0000 (14:45 +0000)]
* configure, configure.in, config.dsp, config_vc.awk,
  as\link\asxxxx_config.h.in, as\link\hc08\lkelf.c, as\link\aslink.h:
  introduced asxxxx_config.h.in

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5312 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years agominor addition improvement
spth [Tue, 30 Dec 2008 22:29:12 +0000 (22:29 +0000)]
minor addition improvement

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5311 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* as/link/hc08/lkelf.c, as/link/lkaomf51.c, as/link/lklibr.c,
tecodev [Tue, 30 Dec 2008 13:27:20 +0000 (13:27 +0000)]
* as/link/hc08/lkelf.c, as/link/lkaomf51.c, as/link/lklibr.c,
  as/link/z80/lkgb.c, debugger/mcs51/cmd.c, sim/ucsim/utils.cc,
  src/SDCCasm.c, support/Util/dbuf_string.c, support/cpp/c-ppoutput.c,
  support/cpp/libcpp/lex.c, support/cpp/libcpp/macro.c,
  support/librarian/sdcclib.c, support/makebin/makebin.c:
  partially revert changes from r5293..r5295

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5310 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years agoMinor peephole improvement
spth [Mon, 29 Dec 2008 23:22:21 +0000 (23:22 +0000)]
Minor peephole improvement

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5309 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* src/pic/pcode.c (insertBankSel, FixRegisterBanking): emit
tecodev [Mon, 29 Dec 2008 20:08:55 +0000 (20:08 +0000)]
* src/pic/pcode.c (insertBankSel, FixRegisterBanking): emit
    incorrectly discarded BANKSELs

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5308 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years agoAdded simple test for memory functions
spth [Mon, 29 Dec 2008 18:08:36 +0000 (18:08 +0000)]
Added simple test for memory functions

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5307 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* sdcc/support/scripts/sdcc.nsi: removed $INSTDIR\lib\src\z80\*.c
borutr [Mon, 29 Dec 2008 17:50:12 +0000 (17:50 +0000)]
* sdcc/support/scripts/sdcc.nsi: removed $INSTDIR\lib\src\z80\*.c

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5306 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* src/mcs51/peeph.def (177.e): replaced notVolatile(%3) with
MaartenBrock [Sun, 28 Dec 2008 21:39:44 +0000 (21:39 +0000)]
* src/mcs51/peeph.def (177.e): replaced notVolatile(%3) with
  operandsNotRelated(%1 %3), had to change (a)r%1 to (a)%1 for this to work
  (177.j): added new rule
* src/SDCCsymt.h: added RESULT_TYPE_GPTR
* src/SDCCast.c (processParms): use RESULT_TYPE_GPTR for generic ptr parms,
  (decorateType CAST): propagate storage class to generic pointer results

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5305 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years agoz80 library cleanup
spth [Sat, 27 Dec 2008 18:19:48 +0000 (18:19 +0000)]
z80 library cleanup

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5304 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years agoFixed conflict with builtin memcpy()
spth [Sat, 27 Dec 2008 10:53:10 +0000 (10:53 +0000)]
Fixed conflict with builtin memcpy()

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5303 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* support/librarian/sdcclib.c:
borutr [Fri, 26 Dec 2008 23:03:42 +0000 (23:03 +0000)]
* support/librarian/sdcclib.c:
  fixed bug 2466950: "sdcclib broken"
  by removing fgets return value check

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5302 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years agoImplemented RFE #1914254
spth [Fri, 26 Dec 2008 13:54:16 +0000 (13:54 +0000)]
Implemented RFE #1914254

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5301 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years agoImplemented RFE #1914256
spth [Fri, 26 Dec 2008 10:23:35 +0000 (10:23 +0000)]
Implemented RFE #1914256

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5300 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years agoImplemented RFE #1899189
spth [Thu, 25 Dec 2008 23:26:11 +0000 (23:26 +0000)]
Implemented RFE #1899189

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5299 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* support/regression/Makefile.in:
borutr [Thu, 25 Dec 2008 21:41:01 +0000 (21:41 +0000)]
* support/regression/Makefile.in:
  add -I$(INC_DIR) to SDCCFLAGS only if INC_DIR is defined

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5298 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years agoMinor peephole improvements
spth [Thu, 25 Dec 2008 10:42:31 +0000 (10:42 +0000)]
Minor peephole improvements

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5297 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years agoinclude assert.h
borutr [Sun, 21 Dec 2008 14:24:43 +0000 (14:24 +0000)]
include assert.h

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5295 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* support/librarian/sdcclib.c: fixed build failure on Mac OS X
borutr [Sun, 21 Dec 2008 13:47:21 +0000 (13:47 +0000)]
* support/librarian/sdcclib.c: fixed build failure on Mac OS X
  due to redifinition of symbol __assert
  sdcclib.c:53:1:warning: "__assert" redefined
  /Xcode2.5/SDKs/MacOSX10.4u.sdk/usr/include/assert.h:80:1:
  warning: this is the location of the previous definition

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5294 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* debugger/mcs51/break.c, debugger/mcs51/cmd.c,
tecodev [Sat, 20 Dec 2008 00:34:55 +0000 (00:34 +0000)]
* debugger/mcs51/break.c, debugger/mcs51/cmd.c,
  debugger/mcs51/simi.c, debugger/mcs51/symtab.c,
  support/cpp/libcpp/macro.c: fix format string errors

* sim/ucsim/s51.src/timer2.cc: add clarifying parens

* src/pic/device.c: partial rewrite using strtok,
  quieten compiler warnings, adopt SDCC coding style

* as/link/hc08/lkelf.c, as/link/lkaomf51.c, as/link/lklibr.c,
  as/link/z80/lkgb.c, as/z80/asout.c, debugger/mcs51/cmd.c,
  sim/ucsim/utils.cc, src/SDCCasm.c, support/Util/dbuf_string.c,
  support/cpp/c-ppoutput.c, support/cpp/libcpp/lex.c,
  support/librarian/sdcclib.c, support/makebin/makebin.c:
  quieten most compiler warnings

* sim/ucsim/avr.src/arith_inst.cc: quieten compiler warnings,
  probably fix operator precedence bug

* doc/clean.mk: quieten rm if no .lyx is present

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5293 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* doc/sdccman.lyx, doc/random-notes.txt, doc/avr/avr_design.txt,
borutr [Fri, 19 Dec 2008 07:09:42 +0000 (07:09 +0000)]
* doc/sdccman.lyx, doc/random-notes.txt, doc/avr/avr_design.txt,
  doc/TININative.txt, doc/macro-sys-design.txt, doc/libdoc.txt,
  doc/README.txt, doc/test_suite_spec.lyx:
  applaid patch 2446381: Dcoumentation spelling correcitons
  thanks to Steven Borley

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5290 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* device/include/pic/pic12f629.h,
tecodev [Tue, 16 Dec 2008 10:25:11 +0000 (10:25 +0000)]
* device/include/pic/pic12f629.h,
  device/include/pic/pic12f675.h,
  device/lib/pic/libdev/pic12f629.c,
  device/lib/pic/libdev/pic12f675.c: consolidated, added TRISIO bits

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5287 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* doc/sdccman.lyx, cdbfileformat.lyx, test_suite_spec.lyx:
borutr [Sun, 14 Dec 2008 21:11:05 +0000 (21:11 +0000)]
* doc/sdccman.lyx, cdbfileformat.lyx, test_suite_spec.lyx:
  converted to LyX 1.5.7 (\lyxformat 276) format

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5286 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* support/regression/tests/bitfields.c:
borutr [Sun, 7 Dec 2008 07:54:09 +0000 (07:54 +0000)]
* support/regression/tests/bitfields.c:
  added test case for bug #2366757

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5278 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* src/pic16/glue.c (pic16_printIvalBitFields): prevent
tecodev [Sat, 6 Dec 2008 23:31:13 +0000 (23:31 +0000)]
* src/pic16/glue.c (pic16_printIvalBitFields): prevent
  NULL pointer dereference, closes #2366757

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5277 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* device/include/pic16/pic16devices.txt,
tecodev [Tue, 25 Nov 2008 01:47:40 +0000 (01:47 +0000)]
* device/include/pic16/pic16devices.txt,
  sdcc/src/pic16/device.c,
  sdcc/src/pic16/device.h: implicitly disable XINST
  whenever CONFIG4L is set via an additional optional
  argument to the configword directive in pic16devices.txt

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5276 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* device/lib/pic16/configure.ac,
tecodev [Mon, 24 Nov 2008 22:14:14 +0000 (22:14 +0000)]
* device/lib/pic16/configure.ac,
  device/lib/pic16/Makefile.common: fixed quoting issues

* device/lib/pic16/configure,
  device/lib/pic16/debug/Makefile.in,
  device/lib/pic16/libc/Makefile.in,
  device/lib/pic16/libdev/Makefile.in,
  device/lib/pic16/libio/Makefile.in,
  device/lib/pic16/libm/Makefile.in,
  device/lib/pic16/libsdcc/Makefile.in,
  device/lib/pic16/Makefile.in,
  device/lib/pic16/startup/Makefile.in: regenerated

* src/pic16/main.c (_pic16_finaliseOptions): revert to
  variant of r5216

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5275 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* src/pic16/main.c (_pic16_finaliseOptions): do not quote the
tecodev [Mon, 24 Nov 2008 00:16:33 +0000 (00:16 +0000)]
* src/pic16/main.c (_pic16_finaliseOptions): do not quote the
  argument of --asm= or --link= to allow for
  --asm="sh script --options", the user can double quote the
  argument if needed: --asm="'c:/program files/gpasm' -q",
  also fix some potential buffer overflows

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5274 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* doc/sdccman.lyx:
borutr [Wed, 19 Nov 2008 18:08:05 +0000 (18:08 +0000)]
* doc/sdccman.lyx:
  fixed 2314467: sdccman.lyx: fix "--" in command line parameters
  thanks Mauro Giachero

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5273 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years agocorrected spelling error
borutr [Sun, 16 Nov 2008 20:36:12 +0000 (20:36 +0000)]
corrected spelling error

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5272 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* .version, doc/sdccman.lyx: bumped sdcc version to 2.8.5
borutr [Sun, 16 Nov 2008 12:55:47 +0000 (12:55 +0000)]
* .version, doc/sdccman.lyx: bumped sdcc version to 2.8.5
* doc/sdccman.lyx: documented fixed unnamed bit-field initialization

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5271 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago(printIvalChar) - removed internal error: it is triggered by structflexarray.c regres...
borutr [Sat, 15 Nov 2008 18:11:26 +0000 (18:11 +0000)]
(printIvalChar) - removed internal error: it is triggered by structflexarray.c regression test

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5270 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* support/regression/tests/bug-1981238.c:
borutr [Sat, 15 Nov 2008 17:41:36 +0000 (17:41 +0000)]
* support/regression/tests/bug-1981238.c:
  don't initialize unnamed bit-fields

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5269 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* support/regression/tests/bitfields.c:
borutr [Sat, 15 Nov 2008 17:27:17 +0000 (17:27 +0000)]
* support/regression/tests/bitfields.c:
  added test case for RFE #2291335

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5268 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* src/pic16/glue.c, src/SDCC.y, src/SDCCast.c, src/SDCCglue.c,
borutr [Sat, 15 Nov 2008 14:14:42 +0000 (14:14 +0000)]
* src/pic16/glue.c, src/SDCC.y, src/SDCCast.c, src/SDCCglue.c,
  src/SDCCsymt.c, src/SDCCsymt.h:
  unnamed bitfields are not initialized (gcc, msvc comatibility)

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5267 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* src/pic16/glue.c, src/SDCC.y, src/SDCCast.c, src/SDCCglue.c,
borutr [Sat, 15 Nov 2008 14:13:47 +0000 (14:13 +0000)]
* src/pic16/glue.c, src/SDCC.y, src/SDCCast.c, src/SDCCglue.c,
  src/SDCCsymt.c, src/SDCCsymt.h:
  unnamed bitfields are not initialized (gcc, msvc comatibility)

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5266 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* device/include/pic16/pic18f25j10.h,
tecodev [Tue, 11 Nov 2008 02:14:20 +0000 (02:14 +0000)]
* device/include/pic16/pic18f25j10.h,
  device/include/pic16/pic18f45j10.h: remove useless boilerplate

* device/include/pic16/adc.h,
  device/lib/pic16/libio/adc/adcbusy.c,
  device/lib/pic16/libio/adc/adcclose.c,
  device/lib/pic16/libio/adc/adcconv.c,
  device/lib/pic16/libio/adc/adcopen.c,
  device/lib/pic16/libio/adc/adcread.c,
  device/lib/pic16/libio/adc/adcsetch.c: generalized, documented,
  and fixed ADC routines to work for more target devices,
  incorporates patch #2036130 by Nick Materer

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5264 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* device/include/ctype.h,
MaartenBrock [Mon, 10 Nov 2008 20:12:44 +0000 (20:12 +0000)]
* device/include/ctype.h,
* device/include/ds400rom.h,
* device/include/ds80c390.h,
* device/include/float.h,
* device/include/math.h,
* device/include/serial.h,
* device/include/stdbool.h,
* device/include/tinibios.h: replaced non-C89 '//' with '/* */',
  patch 2195343
* device/include/mcs51/C8051F336.h,
* device/include/mcs51/C8051T600.h,
* device/include/mcs51/C8051T610.h,
* device/include/mcs51/C8051T630.h: new, added, patch 2183334
  (svn commit by Maarten Brock <sourceforge.brock AT dse.nl>)

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5263 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* device/include/mcs51/P89LPC922.h: fixed #2255989, thanks kubi57
frief [Mon, 10 Nov 2008 17:38:37 +0000 (17:38 +0000)]
* device/include/mcs51/P89LPC922.h: fixed #2255989, thanks kubi57

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5262 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* device/lib/pic16/libdev/mkmk.sh: obey pics.all
tecodev [Mon, 10 Nov 2008 16:44:25 +0000 (16:44 +0000)]
* device/lib/pic16/libdev/mkmk.sh: obey pics.all
* device/lib/pic16/libio/mkmk.sh: properly match whole lines in
  .ignore files, fixes IO libs for 18f242, 18f252, 18f442, and 18f452
  (patch by Nick Materer, #2253980)

* device/lib/pic16/libio/adc.ignore,
  device/lib/pic16/libio/i2c.ignore,
  device/lib/pic16/libio/usart.ignore,
  device/lib/pic16/pics.all: updated to build more device libs

* device/lib/pic16/libdev/Makefile.am,
  device/lib/pic16/libdev/Makefile.in,
  device/lib/pic16/libio/Makefile.am,
  device/lib/pic16/libio/Makefile.in: regenerated

* src/pic16/device.c (pic16_dump_usection): fixed output of multiple
  names per memory location, applied SDCC style to more functions

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5261 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago2008-11-09 Gudjon I. Gudjonsson <gudjon AT gudjon.org>
frief [Sun, 9 Nov 2008 22:05:13 +0000 (22:05 +0000)]
2008-11-09 Gudjon I. Gudjonsson <gudjon AT gudjon.org>
        * device/include/mcs51/p89lpc933_4.h: new NXP header file
        * device/include/mcs51/p89lpc935_6.h: new NXP header file
        * device/include/mcs51/p89v66x.h: minor changes

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5260 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* device/include/pic/pic14devices.txt: fixed memory description for
tecodev [Sun, 9 Nov 2008 07:55:13 +0000 (07:55 +0000)]
* device/include/pic/pic14devices.txt: fixed memory description for
  12f629 and 12f675, closes #2236240

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5258 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* src/SDCCmain.c: #fixed bug 2224960: sdcc -MM no working correctly
borutr [Thu, 6 Nov 2008 17:20:29 +0000 (17:20 +0000)]
* src/SDCCmain.c: #fixed bug 2224960: sdcc -MM no working correctly
  pass system include paths with -isystem to sdcpp
* src/SDCCglue.c, src/pic/glue.c, src/pic16/glue.c: removed unneded
  functions (closePipes), (closeTmpFiles) and (rmTmpFiles)

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5257 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* doc/sdccman.lyx: updated the sections on the library build process
tecodev [Sun, 2 Nov 2008 13:40:55 +0000 (13:40 +0000)]
* doc/sdccman.lyx: updated the sections on the library build process
  and on how to add support for new devices, and documented known
  problems with the extended instruction set including a workaround

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5256 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* device/include/pic16/adc.h,
tecodev [Sat, 1 Nov 2008 17:33:54 +0000 (17:33 +0000)]
* device/include/pic16/adc.h,
  device/include/pic16/pic16devices.txt,
  device/include/pic16/pic18f2410.h,
  device/include/pic16/pic18f2510.h,
  device/include/pic16/pic18f2515.h,
  device/include/pic16/pic18f2610.h,
  device/include/pic16/pic18f4410.h,
  device/include/pic16/pic18f4510.h,
  device/include/pic16/pic18f4515.h,
  device/include/pic16/pic18f4610.h,
  device/include/pic16/pic18fregs.h,
  device/lib/pic16/libdev/Makefile.am,
  device/lib/pic16/libdev/Makefile.in,
  device/lib/pic16/libdev/pic18f2410.c,
  device/lib/pic16/libdev/pic18f2510.c,
  device/lib/pic16/libdev/pic18f2515.c,
  device/lib/pic16/libdev/pic18f2610.c,
  device/lib/pic16/libdev/pic18f4410.c,
  device/lib/pic16/libdev/pic18f4510.c,
  device/lib/pic16/libdev/pic18f4515.c,
  device/lib/pic16/libdev/pic18f4610.c,
  device/lib/pic16/libio/Makefile.am,
  device/lib/pic16/libio/Makefile.in,
  device/lib/pic16/pics.all: added support for 18f[24][456]10
  and 18f[24]515 devices
* doc/sdccman.lyx: updated list of supported PIC16 devices

* src/pic/glue.c, src/pic/pcode.c, src/pic/pcodeflow.c,
  src/pic16/glue.c, src/pic16/pcode.c, src/pic16/pcodeflow.c,
  src/xa51/gen.c: avoid compiler warnings
* support/scripts/inc2h-pic16.pl: removed trailing whitespace

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5255 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years agoGudjon I. Gudjonsson <gudjon AT gudjon.org>
frief [Wed, 22 Oct 2008 18:00:51 +0000 (18:00 +0000)]
Gudjon I. Gudjonsson <gudjon AT gudjon.org>
* device/include/mcs51/p89v66x.h: NXP header file
* device/include/mcs51/p89c66x.h: fixed an SBIT definition

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5253 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* device/lib/pic16/libdev/Makefile.am,
tecodev [Tue, 14 Oct 2008 17:34:37 +0000 (17:34 +0000)]
* device/lib/pic16/libdev/Makefile.am,
  device/lib/pic16/libio/Makefile.am: enable building libraries for
  18f232118f432118f252318f4620, 18f66j60, 18f66j65, 18f67j60,
  18f86j60, 18f86j65, 18f87j60, 18f96j60, 18f96j65, and 18f97j60
* device/lib/pic16/libdev/Makefile.in,
  device/lib/pic16/libio/Makefile.in: regenerated

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5252 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* device/include/pic16/pic18f2450.h,
tecodev [Tue, 14 Oct 2008 12:18:51 +0000 (12:18 +0000)]
* device/include/pic16/pic18f2450.h,
  device/include/pic16/pic18f4450.h,
  device/lib/pic16/libdev/pic18f2450.c,
  device/lib/pic16/libdev/pic18f4450.c,
  device/include/pic16/adc.h,
  device/include/pic16/pic16devices.txt,
  device/include/pic16/pic18fregs.h,
  device/lib/pic16/libdev/Makefile.am,
  device/lib/pic16/libdev/Makefile.in,
  device/lib/pic16/libio/Makefile.am,
  device/lib/pic16/libio/Makefile.in,
  device/lib/pic16/pics.all: added 18f2450 and 18f4450, closes #1844525

* device/lib/pic16/libsdcc/stack/stack.S: there is no need to pin the
  stack to a fixed location, relax it to automatically work with all
  but the smallest devices (256 byte RAM devices need #pragma stack)

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5251 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* debugger/mcs51/break.c: bugfix from patch 1989966, thanks Risto Huotari
MaartenBrock [Thu, 9 Oct 2008 21:56:54 +0000 (21:56 +0000)]
* debugger/mcs51/break.c: bugfix from patch 1989966, thanks Risto Huotari
* debugger/mcs51/simi.c: bugfix from patch 1989972, thanks Risto Huotari
* device/lib/_strcspn.c: fixed bug 2140931

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5250 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* device/include/pic16/stdio.h,
tecodev [Sun, 5 Oct 2008 23:07:36 +0000 (23:07 +0000)]
* device/include/pic16/stdio.h,
  device/lib/pic16/libc/stdio/putchar.c: putchar should not be
  declared __naked for convenience, named all arguments
* device/lib/pic16/libc/stdio/strmgpsim.c,
  device/lib/pic16/libc/stdio/strmmssp.c,
  device/lib/pic16/libc/stdio/strmusart.c: cosmetic changes

* src/pic16/pcode.c (createReachingDefinitions): avoid segfault on
  empty __naked functions,
* (pCodeLabelDestruct, pic16_unlinkpCode, pic16_pCodeUnlink): fix
  corner cases (unlink first/last pCode in list), reuse more code

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5249 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* src/ds390/main.c (_ds390_genInitStartup): added
MaartenBrock [Sun, 5 Oct 2008 20:35:35 +0000 (20:35 +0000)]
* src/ds390/main.c (_ds390_genInitStartup): added
* src/SDCCpeeph.c (getPatternVar): new, added,
  (labelInRange): fixed bug 2115959
* src/mcs51/peeph.def (rules 193.x to 198.x): check for labelInRange
* src/SDCCicode.h: added newiTempOperand
* src/SDCCcse.c (algebraicOpts): fixed bug for x*-1,
  added optimizations for 0/x and x/-1, see also patch 2142900
* support/regression/tests/onebyte.c (testMul): added test cases

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5248 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* src/pic16/glue.c:
borutr [Sat, 20 Sep 2008 15:55:48 +0000 (15:55 +0000)]
* src/pic16/glue.c:
  definition of absolute address symbols without initial value,
  fixed SDCC cresh "do not know how to intialize symbol"

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5242 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* device/lib/z80/mul.s (__mulsuchar_rrx_s, __muluschar_rrx_s),
MaartenBrock [Tue, 16 Sep 2008 19:34:18 +0000 (19:34 +0000)]
* device/lib/z80/mul.s (__mulsuchar_rrx_s, __muluschar_rrx_s),
* device/lib/z80/div.s (__divsuchar_rrx_s, __modsuchar_rrx_s,
  __divuschar_rrx_s, __moduschar_rrx_s): added mixed signedness versions
* device/lib/z80/stubs.s: added stubs for above functions
* src/SDCCopt.c (convilong),
* src/SDCCsymt.c (initCSupport): fixed bug 1900961
* src/SDCCsymt.h (__muldiv): enlarged for mixed signedness
* src/z80/main.c (_hasNativeMulFor): fixed bug, I think
* support/regression/tests/onebyte.c: enabled all tests for z80

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5241 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* support/regression/tests/bug1057979.c:
borutr [Mon, 15 Sep 2008 19:55:17 +0000 (19:55 +0000)]
* support/regression/tests/bug1057979.c:
  removed old pic16 sprintf specifics
* .version, doc/sdccman.lyx: bumped sdcc version to 2.8.4
* doc/sdccman.lyx: documented 'b' binary format specifier removal

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5240 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* device/include/pic16/stdio.h, device/lib/pic16/libc/stdio/streams.c,
borutr [Mon, 15 Sep 2008 18:33:02 +0000 (18:33 +0000)]
* device/include/pic16/stdio.h, device/lib/pic16/libc/stdio/streams.c,
  device/lib/pic16/libc/stdio/printf.c,
  device/lib/pic16/libc/stdio/strmusart.c,
  device/lib/pic16/libc/stdio/printf_tiny.c,
  device/lib/pic16/libc/stdio/sprintf.c,
  device/lib/pic16/libc/stdio/strmgpsim.c,
  device/lib/pic16/libc/stdio/putchar.c,
  device/lib/pic16/libc/stdio/fprintf.c,
  device/lib/pic16/libc/stdio/strmmssp.c,
  device/device/lib/pic16/libc/stdio/vprintf.c,
  device/lib/pic16/libc/stdio/printf_small.c,
  device/lib/pic16/libc/stdio/vsprintf.c,
  device/lib/pic16/libc/stdio/strmputchar.c,
  device/lib/pic16/libc/Makefile.am,
  device/lib/pic16/libc/Makefile.in:
  *printf now returns int, puchar.c moved from stdlib to stdio,
  *printf format parameter type changed from char * to const char *,
  added GNU link excetion text to library source files,
  applyed GNU coding style, removed useless svn ids,
  added BINARY_SPECIFIER macro re-enables the use of the removed 'b'
  binary specifier: "%b", "%hb" and "%lb"
* device/lib/pic16/libc/stdio/vfprintf.c:
  applied patch #2044424: PIC16: vfprintf
  thanks Mauro Giachero

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5239 4a8a32a2-be11-0410-ad9d-d568d2c75423

15 years ago* src/pic16/device.c (pic16_dump_usection): force udata sections
tecodev [Mon, 15 Sep 2008 09:28:11 +0000 (09:28 +0000)]
* src/pic16/device.c (pic16_dump_usection): force udata sections
  into the addressable range (0..0xFFF), workaround for a gpsim
  bug preventing simulation of regtest bug1750318
* src/pic16/ralloc.c (deassignLRs): cosmetic changes,
  (serialRegAssign): fixed regtest bug-971834,
  (pic16_packRegisters): avoid null-pointer dereference

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5238 4a8a32a2-be11-0410-ad9d-d568d2c75423