fw/sdcc
17 years ago* debugger/mcs51/break.c,
MaartenBrock [Fri, 26 May 2006 12:48:57 +0000 (12:48 +0000)]
* debugger/mcs51/break.c,
* debugger/mcs51/cmd.c (throughout): removed unused variables and labels,
  use %p to print pointers, made address variables unsigned
* debugger/mcs51/cmd.c (infoSymbols): added missing parameter to printf
* debugger/mcs51/symtab.c (parseSymbol): must return something
* src/mcs51/gen.c (aopForSym): small optimization,
   moved declarations mcs51_ptrRegReq and mcs51_nRegs to ralloc.h,
  (freeAsmop): added missing break,
  (aopPut): removed parameter bvolatile, determine it inside the function,
  (saveRegisters, unsaveRegisters): small optimization,
  (genIpush): removed pointless check,
  (throughout): replaced Safe_calloc, strcpy with Safe_strdup,
  replaced sprintf with SNPRINTF,
  replaced strcpy with strncpyz,
  updated aopPut calls,
  replaced D(emitcode("; genXXX", "")) with D(emitcode(";", "genXXX"))
* src/mcs51/ralloc.h:  added declarations mcs51_ptrRegReq and mcs51_nRegs

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

17 years ago* support/regression/tests/bug-221100.c: fixed xdata problem caused by
borutr [Wed, 24 May 2006 19:52:20 +0000 (19:52 +0000)]
* support/regression/tests/bug-221100.c: fixed xdata problem caused by
  modification of test for the pic16 port, put the array to the code
  memory for pic16port; thanks to Maarten Brock and Frieder Ferlemann

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

18 years agoMSC 6 does not have <stdint.h>. Use pstdint.h instead.
jesusc [Wed, 24 May 2006 00:47:58 +0000 (00:47 +0000)]
MSC 6 does not have <stdint.h>.  Use pstdint.h instead.

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

18 years ago* src/regression/Makefile: removed bool2.c test, added -q linker option
borutr [Tue, 23 May 2006 18:59:28 +0000 (18:59 +0000)]
* src/regression/Makefile: removed bool2.c test, added -q linker option
* src/regression/add2.c, src/regression/add3.c, src/regression/bool1.c,
  src/regression/bool3.c, src/regression/nestfor.c, src/regression/ptrfunc.c,
  src/regression/compare.c, src/regression/or1.c, src/regression/compare2.c,
  src/regression/while.c, src/regression/compare3.c, src/regression/compare4.c,
  src/regression/compare5.c, src/regression/sub2.c, src/regression/rotate1.c,
  src/regression/rotate2.c, src/regression/rotate3.c, src/regression/rotate4.c,
  src/regression/switch1.c, src/regression/rotate5.c, src/regression/for.c,
  src/regression/add.c, src/regression/sub.c, src/regression/call1.c:
  define SUPPORT_BIT_TYPES 0, removed unused bit variables

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

18 years ago* src/pic16/gen.c (pic16_storeForReturn): fragile fix for
tecodev [Mon, 22 May 2006 21:50:06 +0000 (21:50 +0000)]
* src/pic16/gen.c (pic16_storeForReturn): fragile fix for
  bug #1492360 (problematic due to generic pointers, see code)

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

18 years ago* support/regression/ports/pic16/specs.mk: removed stack size linker
borutr [Mon, 22 May 2006 20:04:51 +0000 (20:04 +0000)]
* support/regression/ports/pic16/specs.mk: removed stack size linker
  directive
* support/regression/tests/array.c,
  support/regression/tests/bitopcse.c,
  support/regression/tests/bug-908454.c,
  support/regression/tests/malloc.c: modified for pic16 regression test
* support/regression/tests/bitfields.c:
  pic16 - excluded bitfileds of size > 8
* support/regression/tests/bp.c: pic16 - reduced data size
* support/regression/tests/bug-221100.c: pic16 - reduced data size
* support/regression/tests/bug-460010.c:
  pic16 - used the absolute address the fits in memory
* support/regression/tests/bug-716242.c:
  bug [ 1443651 ] pic 16: redefining symbol that cannot be redefined.
* support/regression/tests/float.c:
  pic16 - excluded - data size too big
* support/regression/tests/onebyte.c:
  pic16 - bug [ 1444425 ] onebyte.c regression tes fails on pic16
* support/regression/tests/shifts.c:
  pic16 - function names probably have to differ in first X characters
  (gpasm limitation?)
* support/regression/tests/staticinit.c:
  pic16 - excluded some tests due error: no target memory available for
  section ".idata"

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

18 years ago* support/Util/dbuf.c: fixed bug #1489008 fix dbuf_c_str(),
borutr [Mon, 22 May 2006 19:47:32 +0000 (19:47 +0000)]
* support/Util/dbuf.c: fixed bug #1489008 fix dbuf_c_str(),
  second try. Thanks Stas Sergeev once more.

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

18 years ago* src/hc08/gen.c (transferAopAop): aop forced to stack was not restored,
MaartenBrock [Sun, 21 May 2006 17:20:08 +0000 (17:20 +0000)]
* src/hc08/gen.c (transferAopAop): aop forced to stack was not restored,
  (genLeftShift, genRightShift): fixed bug 1491627
* src/hc08/peeph.def (rules 7, 8.x): added
* support/regression/tests/shifts.c (ShiftLeftByParam,
  ShiftRightByParam, testShiftByParam): added to test variable shifting

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

18 years ago* src/pic/gen.c (bitpatternFromVal): fixed for 64-bit machines
tecodev [Sat, 20 May 2006 16:55:08 +0000 (16:55 +0000)]
* src/pic/gen.c (bitpatternFromVal): fixed for 64-bit machines
* src/pic16/ralloc.c (newReg): use correct name in hashtable,
  (allocReg): add only new registers to dynAllocRegs,
  (pic16_assignRegisters): do not reset dynrIdx, fixes bugs
    #1489055, #1445850, and probably #1483693

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

18 years ago* src/pic16/glue.c (pic16_emitConfigRegs, pic16_emitIDRegs): fixed
vrokas [Fri, 19 May 2006 21:45:07 +0000 (21:45 +0000)]
* src/pic16/glue.c (pic16_emitConfigRegs, pic16_emitIDRegs): fixed
bug in for-loop that didn't emit the last of CONFIG and ID registers

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

18 years ago* src/ds390/peeph.def (186.x, 227.x): updated and reenabled to fix bugs
MaartenBrock [Thu, 18 May 2006 11:19:21 +0000 (11:19 +0000)]
* src/ds390/peeph.def (186.x, 227.x): updated and reenabled to fix bugs
  14890161434401 and 1490124

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

18 years ago* src/mcs51/gen.c (genCodePointerGet): inc dptr instead of loading acc
MaartenBrock [Thu, 18 May 2006 10:54:34 +0000 (10:54 +0000)]
* src/mcs51/gen.c (genCodePointerGet): inc dptr instead of loading acc
  with offset
* src/mcs51/peeph.def (186.x): updated and reenabled to fix bugs
  14890161434401 and 1490124

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

18 years ago* support/Util/dbuf.c: fixed bug #1489008 fix dbuf_c_str(),
borutr [Wed, 17 May 2006 16:23:27 +0000 (16:23 +0000)]
* support/Util/dbuf.c: fixed bug #1489008 fix dbuf_c_str(),
  thanks Stas Sergeev

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

18 years ago* device/include/mcs51/P89c51RD2.h,
MaartenBrock [Mon, 15 May 2006 19:58:58 +0000 (19:58 +0000)]
* device/include/mcs51/P89c51RD2.h,
* device/include/mcs51/P89LPC901.h,
* device/include/mcs51/P89LPC922.h,
* device/include/mcs51/P89LPC932.h: added, thanks Omar Espinosa

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

18 years ago* device/lib/pic16/libsdcc/stack/{stack.S, Makefile.in}: add workaround
vrokas [Mon, 15 May 2006 01:00:07 +0000 (01:00 +0000)]
* device/lib/pic16/libsdcc/stack/{stack.S, Makefile.in}: add workaround
to fix missing stack pragma in compiled binary object file,

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

18 years ago* support/packihx/configure.in,
bernhardheld [Sun, 14 May 2006 19:56:18 +0000 (19:56 +0000)]
* support/packihx/configure.in,
* support/packihx/configure: removed warning, autoconf >= 2.5x can determine sizeof basic types even while cross compiling

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

18 years ago* src/avr/gen.c (aopop),
bernhardheld [Sat, 13 May 2006 20:38:14 +0000 (20:38 +0000)]
* src/avr/gen.c (aopop),
* src/ds390/gen.c (aopOp),
* src/hc08/gen.c (aopOp),
* src/mcs51/gen.c (aopop),
* src/pic16/gen.c (pic16_aopOp),
* src/pic/gen.c (aopOp),
* src/z80/gen.c (aopop): fix for bug #1479882; use new, exclusive asmop if size of operand is smaller than spill location

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

18 years ago* *.dsw, *.dsp: changed property svn:eol-style to CRLF since they
borutr [Fri, 12 May 2006 20:34:43 +0000 (20:34 +0000)]
* *.dsw, *.dsp: changed property svn:eol-style to CRLF since they
  have to have CR/LF line endings even if they are checked out on *nix
  or on WIN32 in cygwin binmode

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

18 years ago* doc/sdccman.lyx: documented numeric ranges, WEBDOC #1442369
MaartenBrock [Fri, 12 May 2006 15:01:17 +0000 (15:01 +0000)]
* doc/sdccman.lyx: documented numeric ranges, WEBDOC #1442369
* device/include/ds80c390.h: added sfr16 definitions
* src/ds390/gen.c,
* src/ds390/gen.h,
* src/ds390/main.c,
* src/ds390/ralloc.c,
* src/ds390/ralloc.h: changes all over the place to sync with mcs51
  fixing several bugs and adding sfr16/sfr32, reentrant bit params,
  bit returning functions
* support/regression/tests/sfr16.c: enabled test on ds390

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

18 years ago* src/hc08/gen.c (asmopToBool, genIfx): fix for bug #1429722
epetrich [Thu, 11 May 2006 21:42:48 +0000 (21:42 +0000)]
* src/hc08/gen.c (asmopToBool, genIfx): fix for bug #1429722
* src/hc08/gen.c (storeRegToAop): fix for bug #1439894

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

18 years ago* sim/ucsim/sim.src/memcl.h: added get_decoder() to cl_address_space
MaartenBrock [Thu, 11 May 2006 20:25:04 +0000 (20:25 +0000)]
* sim/ucsim/sim.src/memcl.h: added get_decoder() to cl_address_space
* sim/ucsim/sim.src/mem.cc: implemented cl_address_space::get_decoder,
  (cl_address_space constructor): removed expensive initialization,
  (cl_address_space::get_cell): extended for late initialization,
  (cl_address_space::*): use late initialization,
  (cl_address_decoder::activate): removed expensive initialization,
  This reduced regression test running time by 25%

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

18 years ago* packihx/,
bernhardheld [Thu, 11 May 2006 20:06:55 +0000 (20:06 +0000)]
* packihx/,
* configure.in,
* configure,
* sdcc.dsw,
* Makefile.bcc,
* Makefile.in,
* support/packihx/Makefile.in,
* support/packihx/clean.mk,
* support/packihx/Makefile.bcc,
* support/packihx/PackIhx.dsp: moved packihx to support/packihx

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

18 years ago* src/SDCCval.c (valNot): fix for regression test failure
epetrich [Thu, 11 May 2006 17:39:14 +0000 (17:39 +0000)]
* src/SDCCval.c (valNot): fix for regression test failure
  of not.c on big endian hosts

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

18 years ago* device/inlcude/mcs51/msc1210.h: new, added, thanks Philippe Latu
MaartenBrock [Thu, 11 May 2006 10:49:40 +0000 (10:49 +0000)]
* device/inlcude/mcs51/msc1210.h: new, added, thanks Philippe Latu

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

18 years ago* device/lib/mcs51/Makefile.in: changed string comparison operator
epetrich [Wed, 10 May 2006 20:09:10 +0000 (20:09 +0000)]
* device/lib/mcs51/Makefile.in: changed string comparison operator
  to = for POSIX compliance; == is bash extension

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

18 years ago* device/lib/hc08/_mulint.c: applied patch 1485428, thanks
MaartenBrock [Wed, 10 May 2006 12:08:46 +0000 (12:08 +0000)]
* device/lib/hc08/_mulint.c: applied patch 1485428, thanks
  kosmonaut_pirx

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

18 years ago* src/pic16/gen.c (pic16_freeAsmop): release any temp registers
vrokas [Tue, 9 May 2006 21:48:44 +0000 (21:48 +0000)]
* src/pic16/gen.c (pic16_freeAsmop): release any temp registers
allocated by aopForSym thus fixing bug #1478657 about failed testfwk.c
* src/pic16/main.c (_pic16_keywords): added 'sfr16' keyword,
* src/pic16/ralloc.c (pic16_allocWithIdx): also a fix for bug exposed by
bug report #1478657

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

18 years ago* src/pic16/gen.c (pic16_freeAsmop): release any temp registers
vrokas [Tue, 9 May 2006 21:47:35 +0000 (21:47 +0000)]
* src/pic16/gen.c (pic16_freeAsmop): release any temp registers
allocated by aopForSym thus fixing bug #1478657 about failed testfwk.c
* src/pic16/main.c (_pic16_keywords): added 'sfr16' keyword,
* src/pic16/ralloc.c (pic16_allocWithIdx): also a fix for bug exposed by
bug report #1478657

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

18 years ago* doc/Makefile.in: remove of WARNINGS and labels.pl immediately after
borutr [Sat, 6 May 2006 18:34:45 +0000 (18:34 +0000)]
* doc/Makefile.in: remove of WARNINGS and labels.pl immediately after
  making the html

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

18 years ago* doc/Makefile.in: removed *.ind dependency since there is no rule to
borutr [Tue, 2 May 2006 18:56:04 +0000 (18:56 +0000)]
* doc/Makefile.in: removed *.ind dependency since there is no rule to
  create *.ind, which made make to fail if invoked with -j 2
* local/amd64-linux1.mk: added SDCCCONFIGUREFLAGS = --enable-doc
  to configure the doc Makefile and OPT_ENABLE_DOC = 1 to run the
  doc Makefile

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

18 years ago* src/SDCCglue.c (emitRegularMap): partial fix for bug 1477149, thanks
MaartenBrock [Mon, 1 May 2006 21:45:34 +0000 (21:45 +0000)]
* src/SDCCglue.c (emitRegularMap): partial fix for bug 1477149, thanks
  Hubert Sack for patch 1479782

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

18 years ago* src/pic16/glue.c (pic16_printIvalStruct): fixed bug #1445929
vrokas [Mon, 1 May 2006 21:27:20 +0000 (21:27 +0000)]
* src/pic16/glue.c (pic16_printIvalStruct): fixed bug #1445929

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

18 years ago* src/pic/device.c (sanitise_processor_name): only remove p(ic) prefix,
tecodev [Mon, 1 May 2006 20:47:12 +0000 (20:47 +0000)]
* src/pic/device.c (sanitise_processor_name): only remove p(ic) prefix,
  (create_pic): store only prefix-free device name,
  (init_pic): check for device names with "16" prefix,
  (list_valid_pics),
* src/pic/device.h (struct PIC_device),
* src/pic/main.c (_pic14_genAssemblerPreamble): adapted to single
    stored device name,
* device/include/pic/pic12f{635,675,629,683}.h,
* device/lib/pic/libdev/pic12f{635,675,629,683}.c: NEW device libraries
* device/lib/pic/libdev/Makefile.in: allow pic12* devices,
* device/include/pic/pic16f505.h,
* device/lib/pic/libdev/pic16f505.c: removed
* device/include/pic/pic14devices.txt: added support for pic12f
    devices, removed unsupported non 16-bit devices
    [above changes provided by patch from Zik Saleeba]
* src/pic/*, src/pic16/*, device/include/pic16/*,
  device/lib/pic/**, device/lib/pic16/**: obfuscated email address

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

18 years ago* configure.in, configure, doc/Makefile.in:
borutr [Mon, 1 May 2006 20:01:44 +0000 (20:01 +0000)]
* configure.in, configure, doc/Makefile.in:
  sync with nightly build makefile - latex, dvipdf and dvips
  not needed any more

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

18 years agoChanged back to unlink()...
jesusc [Sun, 30 Apr 2006 20:32:47 +0000 (20:32 +0000)]
Changed back to unlink()...

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

18 years ago* support/scripts/sdcc.nsi: removed all Readmes and Makefiles in the library source
sdcc-builder [Sun, 30 Apr 2006 19:55:44 +0000 (19:55 +0000)]
* support/scripts/sdcc.nsi: removed all Readmes and Makefiles in the library source

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

18 years agoChanged unlink to POSIX _unlink
jesusc [Sun, 30 Apr 2006 17:18:43 +0000 (17:18 +0000)]
Changed unlink to POSIX _unlink

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

18 years ago* support/regression/ports/hc08/spec.mk: fixed bug 1478892
MaartenBrock [Sun, 30 Apr 2006 12:34:21 +0000 (12:34 +0000)]
* support/regression/ports/hc08/spec.mk: fixed bug 1478892

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

18 years ago* src/pic16/pcode.c (pic16_newpCodeOpLit12),
tecodev [Sat, 29 Apr 2006 08:53:05 +0000 (08:53 +0000)]
* src/pic16/pcode.c (pic16_newpCodeOpLit12),
* src/pic16/gen.c (pic16_popGetLit12): NEW, create 12 bit literal,
  (pic16_loadFSR0): handle 12 bit literals correctly, fixes #1440527
* src/pic16/pcode.h: added prototype for pic16_newpCodeOpLit12()

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

18 years ago* device/include/Makefile.in (install): added installation of pic/*.inc and pic/...
bernhardheld [Fri, 28 Apr 2006 22:39:58 +0000 (22:39 +0000)]
* device/include/Makefile.in (install): added installation of pic/*.inc and pic/*.txt files again, they were erroneously removed

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

18 years ago* configure,
bernhardheld [Fri, 28 Apr 2006 22:03:38 +0000 (22:03 +0000)]
* configure,
* configure.in: replaced duplicate message about ucsim by missing sdcpp
* install-sh: fix bug #1204398 by setting umask 0022
* device/lib/Makefile.in: separate build of z80 and gbz80 lib

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

18 years ago* configure,
bernhardheld [Fri, 28 Apr 2006 20:31:20 +0000 (20:31 +0000)]
* configure,
* configure.in: replaced duplicate message about ucsim by missing sdcpp
* install-sh: fix bug #1204398 by setting umask 0022
* device/lib/Makefile.in: separate build of z80 and gbz80 lib

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

18 years ago* configure,
bernhardheld [Fri, 28 Apr 2006 20:25:03 +0000 (20:25 +0000)]
* configure,
* configure.in: replaced duplicate message about ucsim by missing sdcpp
* install-sh: fix bug #1204398 by setting umask 0022
* device/lib/Makefile.in: separate build of z80 and gbz80 lib

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

18 years ago* src/pic/{gen.c,main.h,pcode.c},
tecodev [Fri, 28 Apr 2006 16:53:01 +0000 (16:53 +0000)]
* src/pic/{gen.c,main.h,pcode.c},
* src/pic16/{gen.c,pcode.c}: quietened compiler warnings
    concerning signedness with casts

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

18 years ago* src/pic/gen.c (genFunction): set global pic14_hasInterrupt on
tecodev [Fri, 28 Apr 2006 16:23:34 +0000 (16:23 +0000)]
* src/pic/gen.c (genFunction): set global pic14_hasInterrupt on
    definition of an interrupt handler,
* src/pic/glue.c (pic14_emitInterruptHandler): moved output of
    interrupt handler stuff from picglue() to separate routine,
  (picglue): enabled definition of intr handlers in files w/o main()

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

18 years ago* support/librarian/sdcclib.c: moved include <limits.h> up to enable
MaartenBrock [Fri, 28 Apr 2006 13:06:43 +0000 (13:06 +0000)]
* support/librarian/sdcclib.c: moved include <limits.h> up to enable
  compilation with MSVC 2005 Express Edition (VC8)

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

18 years ago* device/lib/Makefile: fixed build of gbz80 lib
bernhardheld [Wed, 26 Apr 2006 08:52:30 +0000 (08:52 +0000)]
* device/lib/Makefile: fixed build of gbz80 lib

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

18 years ago* support/regression/tests/bug-460010.c,
MaartenBrock [Tue, 25 Apr 2006 22:36:08 +0000 (22:36 +0000)]
* support/regression/tests/bug-460010.c,
* support/regression/tests/bug-524691.c,
* support/regression/tests/bug-716242.c: removed conditional defines
  that are already in testfwk.h

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

18 years ago* configure,
bernhardheld [Tue, 25 Apr 2006 21:35:19 +0000 (21:35 +0000)]
* configure,
* configure.in: replaced duplicate message about ucsim by missing sdcpp
* install-sh: fix bug #1204398 by setting umask 0022
* device/lib/Makefile.in: separate build of z80 and gbz80 lib

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

18 years ago* src/ds390/gen.c (AccAXRrl1, AccAXLrl1): changed to real rotate by 1,
MaartenBrock [Tue, 25 Apr 2006 21:25:21 +0000 (21:25 +0000)]
* src/ds390/gen.c (AccAXRrl1, AccAXLrl1): changed to real rotate by 1,
  (AccAXRsh1): added, shift right by 1,
  (AccAXLsh, AccAXRsh, AccAXRshS): updated for AccAXRrl1, AccAXRsh1 and
   AccAXLrl1
* support/regression/tests/rotate.c: use <stdint.h> and enabled ds390

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

18 years ago* as/z80/Makefile,
bernhardheld [Tue, 25 Apr 2006 14:32:01 +0000 (14:32 +0000)]
* as/z80/Makefile,
* link/z80/Makefile: removed, they have moved to Makefile.in files

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

18 years ago* src/SDCCast.c (decorateType): fix for RFE 1475742, optimize 'ifx (op == 0)' resp...
bernhardheld [Tue, 25 Apr 2006 14:05:04 +0000 (14:05 +0000)]
* src/SDCCast.c (decorateType): fix for RFE 1475742, optimize 'ifx (op == 0)' resp. 'ifx (op != 0)'

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

18 years ago* src/SDCCast.c (decorateType): partial fix for RFE 1475769, remove cast to same...
bernhardheld [Tue, 25 Apr 2006 11:25:05 +0000 (11:25 +0000)]
* src/SDCCast.c (decorateType): partial fix for RFE 1475769, remove cast to same type

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

18 years agofix warning
bernhardheld [Mon, 24 Apr 2006 21:19:58 +0000 (21:19 +0000)]
fix warning

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

18 years agoEnabled VPATH feature: changed nearly all Makefiles (149 files).
bernhardheld [Mon, 24 Apr 2006 20:29:10 +0000 (20:29 +0000)]
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

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

18 years ago* src/pic/device.c (pic14_assignConfigWordValue): remember assignments to
tecodev [Mon, 24 Apr 2006 20:22:31 +0000 (20:22 +0000)]
* 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

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

18 years ago* doc/Makefile: sync with nightly build makefile
borutr [Mon, 24 Apr 2006 20:09:44 +0000 (20:09 +0000)]
* doc/Makefile: sync with nightly build makefile

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

18 years ago* src/pic/pcoderegs.c (OptimizeRegUsage): do not optimize
tecodev [Mon, 24 Apr 2006 19:06:03 +0000 (19:06 +0000)]
* 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

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

18 years agogit-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4115 4a8a32a2...
borutr [Mon, 24 Apr 2006 11:29:26 +0000 (11:29 +0000)]
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4115 4a8a32a2-be11-0410-ad9d-d568d2c75423

18 years ago* sim/ucsim/cpu.gif, sim/ucsim/interrupt.gif, sim/ucsim/new.gif,
borutr [Mon, 24 Apr 2006 09:28:10 +0000 (09:28 +0000)]
* 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

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

18 years agogit-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4113 4a8a32a2...
borutr [Mon, 24 Apr 2006 08:51:57 +0000 (08:51 +0000)]
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4113 4a8a32a2-be11-0410-ad9d-d568d2c75423

18 years ago* as/asx8051.dsp: added mcs51/strcmpi.h
MaartenBrock [Sat, 22 Apr 2006 21:35:27 +0000 (21:35 +0000)]
* 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

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

18 years agoreverted changes from last commit, made by mistake
borutr [Sat, 22 Apr 2006 07:23:33 +0000 (07:23 +0000)]
reverted changes from last commit, made by mistake

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

18 years ago* doc/sdccman.lyx, */Makefile, */Makefile.in:
borutr [Sat, 22 Apr 2006 07:13:16 +0000 (07:13 +0000)]
* doc/sdccman.lyx, */Makefile, */Makefile.in:
  references to CVS replaced with Subversion

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

18 years agogit-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4106 4a8a32a2...
borutr [Fri, 21 Apr 2006 21:04:55 +0000 (21:04 +0000)]
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4106 4a8a32a2-be11-0410-ad9d-d568d2c75423

18 years ago* src/version.awk: adapted for svn
borutr [Wed, 19 Apr 2006 18:15:39 +0000 (18:15 +0000)]
* 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

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

18 years ago* src/version.awk: adapted for svn
borutr [Wed, 19 Apr 2006 07:18:48 +0000 (07:18 +0000)]
* src/version.awk: adapted for svn

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

18 years ago* CVS to Subversion migration completed
borutr [Wed, 19 Apr 2006 06:24:35 +0000 (06:24 +0000)]
* CVS to Subversion migration completed

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

18 years ago* support/scripts/sdcc.nsi: removed unexisting ${DEV_ROOT}\lib\pic\*.o,
borutr [Tue, 18 Apr 2006 04:56:22 +0000 (04:56 +0000)]
* 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

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

18 years ago* device/include/Makefile.in: added pic/*.inc to the installation
borutr [Mon, 17 Apr 2006 20:44:19 +0000 (20:44 +0000)]
* device/include/Makefile.in: added pic/*.inc to the installation

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

18 years ago* support/regression/collate-results.py: fixed output in case of a valdiag error
bernhardheld [Sat, 15 Apr 2006 20:54:19 +0000 (20:54 +0000)]
* 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,
* as/mcs51/lklibr.c (addfile): fixed off-by-one bug

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

18 years ago* src/pic16/gen.c (getFreePtr, pic16_popRegFromString),
tecodev [Tue, 11 Apr 2006 20:12:07 +0000 (20:12 +0000)]
* src/pic16/gen.c (getFreePtr, pic16_popRegFromString),
* src/pic16/ralloc.c (pic16_allocregWithName): removed debug output
* src/pic16/pcode.c (assignValnums): fixed #1460578

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

18 years ago* device/lib/pic/libdev/*.c,
tecodev [Tue, 11 Apr 2006 18:59:23 +0000 (18:59 +0000)]
* 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

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

18 years ago* src/pic/device.c (find_device): removed debug output
tecodev [Tue, 11 Apr 2006 18:23:55 +0000 (18:23 +0000)]
* 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

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

18 years ago* src/SDCC.y: allow using brackets here: "__interrupt (1) __using (1)"
frief [Fri, 7 Apr 2006 14:38:20 +0000 (14:38 +0000)]
* src/SDCC.y: allow using brackets here: "__interrupt (1) __using (1)"

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

18 years agoallow using brackets here: "__interrupt (1) __using (1)"
frief [Fri, 7 Apr 2006 14:37:25 +0000 (14:37 +0000)]
allow using brackets here: "__interrupt (1) __using (1)"

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

18 years ago* .version: bumped version to 2.5.6
maartenbrock [Fri, 7 Apr 2006 09:52:42 +0000 (09:52 +0000)]
* .version: bumped version to 2.5.6
* src/pic/ralloc.c (newReg): MSVC doesn't support __builtin_return_address

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

18 years agoRaphael forgot to commit this I guess
maartenbrock [Fri, 7 Apr 2006 09:24:47 +0000 (09:24 +0000)]
Raphael forgot to commit this I guess

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

18 years ago* .version: bumped version to 2.5.6 (pic14 ABI changed)
tecodev [Thu, 6 Apr 2006 19:56:14 +0000 (19:56 +0000)]
* .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

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

18 years ago* device/include/mcs51/c8051f410.h: added interrupt numbers,
maartenbrock [Thu, 6 Apr 2006 19:25:31 +0000 (19:25 +0000)]
* device/include/mcs51/c8051f410.h: added interrupt numbers,
* device/include/mcs51/c8051f200.h: old SiLabs mcu completes the list,
  thanks to Charles Olds

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

18 years agoChangeLog: fixed my cut and paste error within the ChangeLog
frief [Thu, 6 Apr 2006 16:49:51 +0000 (16:49 +0000)]
ChangeLog: fixed my cut and paste error within the ChangeLog

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

18 years ago* debugger/mcs51/cmd.c (infoRegisters): show return address on stack
frief [Thu, 6 Apr 2006 16:40:18 +0000 (16:40 +0000)]
* debugger/mcs51/cmd.c (infoRegisters): show return address on stack

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

18 years ago(infoRegisters): show return address on stack
frief [Thu, 6 Apr 2006 16:39:02 +0000 (16:39 +0000)]
(infoRegisters): show return address on stack

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

18 years ago* src/SDCCpeeph.c (labelIsReturnOnly): fixed bug 1464657
maartenbrock [Thu, 6 Apr 2006 15:24:25 +0000 (15:24 +0000)]
* src/SDCCpeeph.c (labelIsReturnOnly): fixed bug 1464657
* src/mcs51/gen.c (genJumpTab): fixed bug in medium model
* support/regression/bug1464657.c: added, new test

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

18 years ago* src/SDCCmain.c (preProcess): implemented RFE 1449908, define SDCC as the
maartenbrock [Wed, 5 Apr 2006 12:52:33 +0000 (12:52 +0000)]
* src/SDCCmain.c (preProcess): implemented RFE 1449908, define SDCC as the
  version number

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

18 years ago* src/SDCCpeeph.c (initPeepHole): implemented RFE 1460196, when both
maartenbrock [Wed, 5 Apr 2006 09:42:42 +0000 (09:42 +0000)]
* 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>

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

18 years ago* src/mcs51/gen.c (genCall): fixed bug 1457608
maartenbrock [Wed, 5 Apr 2006 08:55:37 +0000 (08:55 +0000)]
* src/mcs51/gen.c (genCall): fixed bug 1457608

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

18 years agodoc/sdccman.lyx: reverted to version 1.129 of december as my latest changes seem...
frief [Thu, 30 Mar 2006 07:40:27 +0000 (07:40 +0000)]
doc/sdccman.lyx: reverted to version 1.129 of december as my latest changes seem to cause (trigger?) problems with the build system.

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

18 years ago* src/SDCCpeeph.c (operandsLiteral): new, added,
maartenbrock [Wed, 29 Mar 2006 07:21:04 +0000 (07:21 +0000)]
* src/SDCCpeeph.c (operandsLiteral): new, added,
  (callFuncByName): inserted operandsLiteral
* src/mcs51/peeph.def: reenabled 132.e, added extra check to 132.x

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

18 years agochanged crappy link
frief [Tue, 28 Mar 2006 22:48:01 +0000 (22:48 +0000)]
changed crappy link

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

18 years agodoc/sdccman.lyx: added paragraph "Use of SDCC in Education"
frief [Tue, 28 Mar 2006 22:18:22 +0000 (22:18 +0000)]
doc/sdccman.lyx: added paragraph "Use of SDCC in Education"

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

18 years agoadded paragraph "Use of SDCC in Education"
frief [Tue, 28 Mar 2006 22:16:50 +0000 (22:16 +0000)]
added paragraph "Use of SDCC in Education"

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

18 years ago* src/mcs51/peeph.def: disabled rule 132.e fixing bug #1453093
frief [Tue, 28 Mar 2006 06:33:19 +0000 (06:33 +0000)]
* src/mcs51/peeph.def: disabled rule 132.e fixing bug #1453093

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

18 years agodisabled rule 132.e fixing bug #1453093
frief [Tue, 28 Mar 2006 06:31:03 +0000 (06:31 +0000)]
disabled rule 132.e fixing bug #1453093

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

18 years ago* src/z80/gen.c (genFunction, genEndFunction): fixed bug 1160666,
maartenbrock [Fri, 24 Mar 2006 15:27:11 +0000 (15:27 +0000)]
* src/z80/gen.c (genFunction, genEndFunction): fixed bug 1160666,
  implemented patch 1120823 Thanks to Willy De la Court (normal
  interrupts need an interrupt number now if they are made critical),
  and enabled nesting of critical functions though not for gbz80
  (genCritical, genEndCritical): added functions
  (genZ80Code): added cases for CRITICAL and ENDCRITICAL
* src/z80/mappings.i: added "ei" to all mappings

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

18 years agoapplied patch fixing GCC 4.1 build submitted by the Debian SDCC maintainer Aurelien...
frief [Mon, 20 Mar 2006 08:17:46 +0000 (08:17 +0000)]
applied patch fixing GCC 4.1 build submitted by the Debian SDCC maintainer Aurelien Jarno:
"Credits goes to Martin Michlmayr, who rebuilt the whole Debian archive with gcc 4.1 on mips and wrote the patch"

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

18 years ago* src/pic16/genarith.c (genAddLit): simplified and fixed case where
tecodev [Thu, 16 Mar 2006 09:32:20 +0000 (09:32 +0000)]
* src/pic16/genarith.c (genAddLit): simplified and fixed case where
  the left operand is shorter than the result (c* = lit-c* + int),
  fixes bug #1450796
* src/pic16/gen.c (genRightShift): check IS_SYMOP before accessing
  OP_SYMBOL

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

18 years ago* src/pic16/gen.c (pic16_popGet): comented out usage of 'char *rs'
vrokas [Wed, 15 Mar 2006 01:33:16 +0000 (01:33 +0000)]
* src/pic16/gen.c (pic16_popGet): comented out usage of 'char *rs'

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

18 years ago* enviroment variable 'PIC16_PACKED_BITFIELDS'
vrokas [Wed, 15 Mar 2006 00:45:24 +0000 (00:45 +0000)]
* enviroment variable 'PIC16_PACKED_BITFIELDS'

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

18 years ago* src/SDCCmain.c (linkEdit): do not test for PIC16 target since, PIC16
vrokas [Wed, 15 Mar 2006 00:43:05 +0000 (00:43 +0000)]
* src/SDCCmain.c (linkEdit): do not test for PIC16 target since, PIC16
linking is done manually in pic16 port's _linkEdit,
* src/SDCCsymt.c (compStructSize): for target PIC16 and shell variable
PIC16_PACKED_BITFIELDS, compact bitfield structures as much as possible,
* src/pic16/gen.c (aopForSym): when direct register name is WREG then
allocate asmop as AOP_ACC,
(aopForRemat): added parameter 'bool result' in function declaration,
(pic16_aopGet): return AOP_ACC when accessing WREG,
(pic16_popGetTempReg): minor modification,
(pic16_popRegFromIdx): first try with 'pic16_regWithIdx' then with
'pic16_allocWithIdx',
(genPcall): removed ftype, usage of OP_SYM_TYPE asserted error when
calling function in absolute addresses,
(genAssign): take into account AOP_ACC asmop,
* src/pic16/pcode.c (pic16_newpCodeOpReg): minor modifications,
* src/pic16/pcoderegs.c: some debug functions and lines added,
* src/pic16/ralloc.c (decodeRegType): added but commented out,
* (pic16_typeRegWithIdx): search 'pic16_dynInternalRegs' for given
register too,
* (pic16_findFreeReg, pic16_findFreeRegNext): allocate new register via
call to allocReg, not by manually allocating a new one,
(pic16_assignRegisters): now before going through the register
allocating functions mark all registers as free. This eliminates some
side effects resulting from peephole parser done earlier in the backbone

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