fw/sdcc
17 years ago* configure.in: added missing mcs51 in status output
bernhardheld [Wed, 3 Jan 2007 21:19:58 +0000 (21:19 +0000)]
* configure.in: added missing mcs51 in status output
* Makefile.in: add support/regression to SDCC_EXTRA to distclean this directory
* debugger/mcs51/clean.mk (distclean): remove config.h
* src/clean.mk (clean): remove SDCCy.c, SDCCy.h, SDCClex.c
* support/cpp2/Makefile.in (clean): remove s-options, optionlist, options.h, s-options-h and options.c
* support/cpp2/clean.mk: unused, removed
* Makefile.common.in,
* main_in.mk,
* as/Makefile.in,
* as/hc08/Makefile.in,
* as/hc08/clean.mk,
* as/mcs51/Makefile.in,
* as/mcs51/clean.mk,
* as/z80/clean.mk,
* as/z80/conf.mk,
* as/z80/Makefile.in,
* as/z80/clean.mk,
* as/link/Makefile.in,
* as/link/hc08/Makefile.in,
* as/link/hc08/clean.mk,
* as/link/mcs51/Makefile.in,
* as/link/mcs51/clean.mk,
* as/link/z80/Makefile.in,
* as/link/z80/clean.mk,
* as/link/z80/conf.mk,
* debugger/mcs51/Makefile.in,
* debugger/mcs51/clean.mk,
* device/include/Makefile.in,
* device/lib/Makefile.in,
* device/lib/mcs51/Makefile.in,
* device/lib/pic/Makefile.in,
* device/lib/pic/Makefile.common.in,
* device/lib/pic/Makefile.subdir,
* device/lib/pic/Makefile.rules,
* device/lib/pic16/libio/Makefile.in,
* device/lib/pic16/Makefile.subdir,
* device/lib/pic16/libdev/Makefile.in,
* device/lib/pic16/Makefile.rules,
* device/lib/pic16/Makefile.common.in,
* sim/ucsim/avr.src/Makefile.in,
* sim/ucsim/main_in.mk,
* sim/ucsim/cmd.src/Makefile.in,
* sim/ucsim/doc/Makefile.in,
* sim/ucsim/gui.src/Makefile.in,
* sim/ucsim/gui.src/obsolete/portmon.src/Makefile.in,
* sim/ucsim/gui.src/serio.src/Makefile.in,
* sim/ucsim/hc08.src/Makefile.in,
* sim/ucsim/libltdl/Makefile.in,
* sim/ucsim/s51.src/Makefile.in,
* sim/ucsim/sim.src/Makefile.in,
* sim/ucsim/sim.src/conf.mk,
* sim/ucsim/xa.src/Makefile.in,
* sim/ucsim/z80.src/Makefile.in,
* src/Makefile.in,
* src/clean.mk,
* src/port.mk,
* support/cpp2/Makefile.in,
* support/librarian/Makefile.in,
* support/librarian/clean.mk,
* support/makebin/Makefile.in,
* support/makebin/clean.mk,
* support/packihx/Makefile.in,
* support/regression/Makefile.in,
* support/regression/ports/ds390/spec.mk,
* support/regression/ports/gbz80/spec.mk,
* support/regression/ports/hc08/spec.mk,
* support/regression/ports/mcs51/spec.mk,
* support/regression/ports/mcs51-large/spec.mk,
* support/regression/ports/mcs51-medium/spec.mk,
* support/regression/ports/mcs51-xstack-auto/spec.mk,
* support/regression/ports/pic14/spec.mk,
* support/regression/ports/pic16/spec.mk,
* support/regression/ports/mcs51-stack-auto/spec.mk,
* support/regression/ports/ucz80/spec.mk,
* support/regression/ports/xa51/spec.mk,
* support/regression/ports/z80/spec.mk: fixed for autoconf 2.6x by adding a slash after $(top_builddir) and/or adding @datarootdir@
* configure.in,
* debugger/mcs51/configure.in,
* device/lib/pic/configure.in,
* device/lib/pic16/configure.in,
* sim/ucsim/configure.in,
* support/cpp2/configure.in,
* support/packihx/configure.in: changed AC_PREREQ to 2.60
* configure,
* debugger/mcs51/configure,
* device/lib/pic/configure,
* device/lib/pic16/configure,
* sim/ucsim/configure,
* support/cpp2/configure,
* support/packihx/configure: generated with autoconf 2.60

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

17 years ago* as/link/hc08/lkihx.c (newArea),
MaartenBrock [Tue, 2 Jan 2007 21:47:42 +0000 (21:47 +0000)]
* as/link/hc08/lkihx.c (newArea),
* as/link/hc08/lkrloc.c: renamed newArea() to ihxNewArea()

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

17 years ago* support/cpp2/c-ppoutput.c: fixed warning: no newline at end of file
borutr [Tue, 2 Jan 2007 18:53:33 +0000 (18:53 +0000)]
* support/cpp2/c-ppoutput.c: fixed warning: no newline at end of file

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

17 years ago* doc/sdccman.lyx: documented #pragma sdcc_hash
borutr [Tue, 2 Jan 2007 17:33:58 +0000 (17:33 +0000)]
* doc/sdccman.lyx: documented #pragma sdcc_hash
* support/cpp2/sdcpp.c: allow_naked_hash (value of #pragma sdcc_hash)
  initialized to 0

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

17 years ago* src/SDCCast.c (createDo): backPatchLabels() needs falseLabel in empty 'while'-loop...
bernhardheld [Mon, 1 Jan 2007 20:42:04 +0000 (20:42 +0000)]
* src/SDCCast.c (createDo): backPatchLabels() needs falseLabel in empty 'while'-loop to work correctly, see regression test 'while.c'
* support/regression/tests/while.c: added

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

17 years ago* support/cpp2/libcpp/directives.c, support/cpp2/libcpp/identifiers.c,
borutr [Mon, 1 Jan 2007 17:00:18 +0000 (17:00 +0000)]
* support/cpp2/libcpp/directives.c, support/cpp2/libcpp/identifiers.c,
  support/cpp2/libcpp/init.c, support/cpp2/libcpp/sdcpp-opts.c,
  support/cpp2/libcpp/sdcpp.c:
  sdcpp specific pragma/directive/option handling moved to sdcpp.c
* doc/sdccman.lyx: reference to the GCC 4.1.1 CPP Manual
* support/cpp2/libcpp/mkdeps.c: synchronized with GCC CPP 4.1.1

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

17 years agofixed dependencies on options.h
borutr [Sun, 31 Dec 2006 17:27:10 +0000 (17:27 +0000)]
fixed dependencies on options.h

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

17 years agoremoved duplicate definition of ATTRIBUTE_GCC_DIAG
borutr [Sun, 31 Dec 2006 17:12:44 +0000 (17:12 +0000)]
removed duplicate definition of ATTRIBUTE_GCC_DIAG

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

17 years agosvn:eol-style native, svn:keywords Author Date Id Revision
borutr [Sun, 31 Dec 2006 16:39:48 +0000 (16:39 +0000)]
svn:eol-style native, svn:keywords Author Date Id Revision

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

17 years agoadded
borutr [Sun, 31 Dec 2006 16:35:53 +0000 (16:35 +0000)]
added

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

17 years agomodifided for sdcpp 4.1.1
borutr [Sun, 31 Dec 2006 16:32:49 +0000 (16:32 +0000)]
modifided for sdcpp 4.1.1

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

17 years ago* SDCPP synchronized with GCC CPP release version 4.1.1,
borutr [Sun, 31 Dec 2006 16:29:37 +0000 (16:29 +0000)]
* SDCPP synchronized with GCC CPP release version 4.1.1,
 currently the latest release:
* support/cpp2/libcpp, support/cpp2/libcpp/include,
  support/cpp2/libcpp/include/cpp-id-data.h
  support/cpp2/libiberty/fopen_unlocked.c
  support/cpp2/libiberty/md5.c
  support/cpp2/md5.h
  support/cpp2/opt-functions.awk
  support/cpp2/opt-gather.awk
  support/cpp2/optc-gen.awk
  support/cpp2/opth-gen.awk:
  added
* support/cpp2/Makefile.in, support/cpp2/auto-host_vc_in.h,
  support/cpp2/c-incpath.c, support/cpp2/c-incpath.h,
  support/cpp2/c-ppoutput.c, support/cpp2/c-pretty-print.c,
  support/cpp2/c-pretty-print.h, support/cpp2/cppdefault.c,
  support/cpp2/cppdefault.h, support/cpp2/diagnostic.c,
  support/cpp2/diagnostic.h, support/cpp2/except.h,
  support/cpp2/hwint.h, support/cpp2/input.h,
  support/cpp2/intl.h, support/cpp2/move-if-change,
  support/cpp2/opts.c, support/cpp2/opts.h,
  support/cpp2/output.h, support/cpp2/prefix.c,
  support/cpp2/prefix.h, support/cpp2/pretty-print.c,
  support/cpp2/pretty-print.h, support/cpp2/sdcpp-opts.c,
  support/cpp2/sdcpp.c, support/cpp2/sdcpp.dsp,
  support/cpp2/sdcpp.h, support/cpp2/sdcpp.opt,
  support/cpp2/sdcppa.dsp, support/cpp2/symcat.h,
  support/cpp2/version.c:
  modified
* support/cpp2/libcpp/charset.c, support/cpp2/libcpp/directives.c,
  support/cpp2/libcpp/errors.c, support/cpp2/libcpp/expr.c,
  support/cpp2/libcpp/files.c, support/cpp2/libcpp/identifiers.c,
  support/cpp2/libcpp/include/cpplib.h, support/cpp2/libcpp/include/line-map.h,
  support/cpp2/libcpp/include/mkdeps.h, support/cpp2/libcpp/include/symtab.h,
  support/cpp2/libcpp/init.c, support/cpp2/libcpp/internal.h,
  support/cpp2/libcpp/lex.c, support/cpp2/libcpp/line-map.c,
  support/cpp2/libcpp/macro.c, support/cpp2/libcpp/mkdeps.c,
  support/cpp2/libcpp/symtab.c, support/cpp2/libcpp/system.h,
  support/cpp2/libcpp/traditional.c, support/cpp2/libcpp/ucnid.h,
  support/cpp2/libiberty/hashtab.c, support/cpp2/libiberty/hashtab.h:
  moved
* support/cpp2/cppcharset.c, support/cpp2/cpperror.c,
  support/cpp2/cppexp.c, support/cpp2/cppfiles.c,
  support/cpp2/cpphash.c, support/cpp2/cpphash.h,
  support/cpp2/cppinit.c, support/cpp2/cpplex.c,
  support/cpp2/cpplib.c, support/cpp2/cpplib.h,
  support/cpp2/cppmacro.c, support/cpp2/cpptrad.c,
  support/cpp2/cppucnid.h, support/cpp2/hashtab.c,
  support/cpp2/hashtab.h, support/cpp2/hashtable.c,
  support/cpp2/hashtable.h, support/cpp2/line-map.c,
  support/cpp2/line-map.h, support/cpp2/mkdeps.c,
  support/cpp2/mkdeps.h, support/cpp2/options_vc_in.c,
  support/cpp2/options_vc_in.h, support/cpp2/opts.sh,
  support/cpp2/system.h:
  deleted / moved

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

17 years agoconfigure.in, configure: fixed bug #1538756: configure dies if bison and flex are...
borutr [Sun, 31 Dec 2006 11:48:34 +0000 (11:48 +0000)]
configure.in, configure: fixed bug #1538756: configure dies if bison and flex are not installed, 2nd try

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

17 years ago* src/mcs51/peeph.def: renamed rule 400 to 500, moved rule 253.x to 400.x for better...
bernhardheld [Sat, 30 Dec 2006 22:32:47 +0000 (22:32 +0000)]
* src/mcs51/peeph.def: renamed rule 400 to 500, moved rule 253.x to 400.x for better code in RFE 899102

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

17 years ago* src/SDCCpeeph.c (deadMove),
bernhardheld [Sat, 30 Dec 2006 22:02:12 +0000 (22:02 +0000)]
* src/SDCCpeeph.c (deadMove),
* src/port.h,
* src/mcs51/peep.h: renamed 'op' by 'reg'
* src/mcs51/peep.c (isFunc, isCallerSaveFunc): added,
(scan4op): small change for removeDeadMove(), added support for 'callee saves' and/or PACLL function calls,
(removeDeadMove): added, removes superflous 'mov r%1,%2',
(removeDeadPopPush): renamed from mcs51DeadMove(), common parts left in new dispatcher mcs51DeadMove()
(mcs51DeadMove): dispatcher for removeDeadPopPush() and new removeDeadMove()
* src/mcs51/peeph.def: added rule 301 removing superflous 'mov r%1,%2'

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

17 years agoCreate support/cpp2/options.c and support/cpp2/options.h under MSVC
jesusc [Sat, 30 Dec 2006 16:12:13 +0000 (16:12 +0000)]
Create support/cpp2/options.c and support/cpp2/options.h under MSVC

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

17 years ago* configure.in, configure: configure dies if bison and flex are not
borutr [Sat, 30 Dec 2006 15:23:30 +0000 (15:23 +0000)]
* configure.in, configure: configure dies if bison and flex are not
  installed

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

17 years ago* support/cpp2/spacs.h: deleted from svn
borutr [Sat, 30 Dec 2006 13:53:42 +0000 (13:53 +0000)]
* support/cpp2/spacs.h: deleted from svn

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

17 years ago* src/z80/gen.c (assignResultValue): fixed bug when registers overlap,
MaartenBrock [Fri, 29 Dec 2006 09:02:08 +0000 (09:02 +0000)]
* src/z80/gen.c (assignResultValue): fixed bug when registers overlap,
  with this z80 passes printf float test when enabled
* support/regression/tests/bug1057979.c: typo disabled ds390 float test

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

17 years agostrsignal declaration commented out
borutr [Thu, 28 Dec 2006 22:22:19 +0000 (22:22 +0000)]
strsignal declaration commented out

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

17 years ago* support/cpp2/config.in, support/cpp2/configure.in,
borutr [Thu, 28 Dec 2006 20:12:21 +0000 (20:12 +0000)]
* support/cpp2/config.in, support/cpp2/configure.in,
  support/cpp2/configure, support/cpp2/Makefile.in:
  fix for the solaris build

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

17 years ago* src/pic16/main.c: fixed #pragma udata handling
borutr [Wed, 27 Dec 2006 16:45:12 +0000 (16:45 +0000)]
* src/pic16/main.c: fixed #pragma udata handling
* src/mcs51/mcs51.dsp: added peep.[ch] to the project

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

17 years ago* src/SDCC.y (type_specifier2, pointer),
epetrich [Wed, 27 Dec 2006 16:28:04 +0000 (16:28 +0000)]
* src/SDCC.y (type_specifier2, pointer),
* src/SDCCsymt.h,
* src/SDCCsymt.c (mergeSpec, checkSClass),
* support/Util/SDCCerr.c,
* support/Util/SDCCerr.h: Parse and validate the restrict keyword
* support/valdiag/valdiag.py: Allow test cases to specify
  required language standard
* support/valdiag/tests/restrict.c: New file to test restrict keyword
* support/valdiag/tests/tentdecl.c: Supress empty source file error

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

17 years agogit-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4530 4a8a32a2...
borutr [Wed, 27 Dec 2006 13:52:07 +0000 (13:52 +0000)]
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4530 4a8a32a2-be11-0410-ad9d-d568d2c75423

17 years agoadded vasprintf.obj
borutr [Wed, 27 Dec 2006 13:42:33 +0000 (13:42 +0000)]
added vasprintf.obj

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

17 years ago* support/cpp2/cppmain.c, support/cpp2/mbchar.[ch]: removed
borutr [Wed, 27 Dec 2006 09:45:56 +0000 (09:45 +0000)]
* support/cpp2/cppmain.c, support/cpp2/mbchar.[ch]: removed
* support/cpp2/libiberty/Makefile.in, support/cpp2/libiberty/sdcpp.dsp:
  mbchar removed
* support/cpp2/libiberty/getpwd.c, support/cpp2/sdcpp.h:
  fixed for borland C
* support/cpp2/libiberty/Makefile.bcc: updated

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

17 years ago* support/cpp2/Makefile.in: added vasprintf.c
borutr [Tue, 26 Dec 2006 21:35:00 +0000 (21:35 +0000)]
* support/cpp2/Makefile.in: added vasprintf.c

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

17 years ago* src/SDCCpeeph.c: made labelHashEntry global, made pcDistance, FBYNAME static,
bernhardheld [Tue, 26 Dec 2006 21:02:49 +0000 (21:02 +0000)]
* src/SDCCpeeph.c: made labelHashEntry global, made pcDistance, FBYNAME static,
(pcDistance): made static, use isComment and isLabel,
(deadMove): added,
(getLabelRef): added, extracted from labelRefCount(),
(labelRefCount): use new getLabelRef(),
(callFuncByName): made static, added deadMove, use isComment and isLabel,
(newPeepRule): made static, set isLabel,
(isLabelDefinition): added parameter isPeepRule to allow '%' in labels from peephole rules,
(buildLabelRefCountHash): speed up by running isLabelDefinition() only when isComment or isLabel is set
* src/SDCCpeeph.h: added "isLabel" and "visited" to struct lineNode, added labelHashEntry, isLabelDefinition, labelHash and getLabelRef to make them global
* src/mcs51/peep.h: added
* src/mcs51/peep.c: added, implements mcs51DeadMove()
* src/port.h: added peep->deadMove to port structure
* src/mcs51/main.c: initialize peep->deadMove with mcs51DeadMove
* src/mcs51/peeph.def: renumbered rule 300 to 400, added new rule 300 deadMove, finally removed no. 1 and 2
* src/mcs51/gen.c,
* src/pic/gen.c,
* src/z80/gen.c,
* src/z80/ralloc.c,
* src/pic16/gen.c,
* src/ds390/gen.c,
* src/hc08/gen.c: mark lines with isComment or isLabel
* sim/ucsim/s51.src/uc390hw.cc: don't waist 65535 ticks before CKRDY
* .version,
* sdcc.spec: bumped version to 2.6.3

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

17 years ago* support/cpp2/Makefile.in: added dependency on options.h
borutr [Tue, 26 Dec 2006 07:45:35 +0000 (07:45 +0000)]
* support/cpp2/Makefile.in: added dependency on options.h
* configure: regenerated
* support/cpp2/sdcpp.opt, support/cpp2/move-if-change: svn:eol-style native

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

17 years ago* SDCPP synchronized with GCC CPP release version 3.4.6,
borutr [Mon, 25 Dec 2006 21:10:07 +0000 (21:10 +0000)]
* SDCPP synchronized with GCC CPP release version 3.4.6,
  the latest release before 4.x:
* support/cpp2/Makefile.in, support/cpp2/config.h,
  support/cpp2/configure, support/cpp2/configure.in,
  support/cpp2/cppdefault.c, support/cpp2/cppdefault.h,
  support/cpp2/cpperror.c, support/cpp2/cppexp.c,
  support/cpp2/cppfiles.c, support/cpp2/cpphash.c,
  support/cpp2/cpphash.h, support/cpp2/cppinit.c,
  support/cpp2/cpplex.c, support/cpp2/cpplib.c,
  support/cpp2/cpplib.h, support/cpp2/cppmacro.c,
  support/cpp2/cpptrad.c, support/cpp2/except.h,
  support/cpp2/hashtable.c, support/cpp2/hashtable.h,
  support/cpp2/hwint.h, support/cpp2/intl.h,
  support/cpp2/line-map.c, support/cpp2/line-map.h,
  support/cpp2/mkdeps.c, support/cpp2/mkdeps.h,
  support/cpp2/output.h, support/cpp2/prefix.c,
  support/cpp2/prefix.h, support/cpp2/sdcpp.dsp,
  support/cpp2/system.h, support/cpp2/version.c:
  modified
* support/cpp2/c-incpath.c, support/cpp2/c-incpath.h,
  support/cpp2/c-ppoutput.c, support/cpp2/c-pretty-print.c,
  support/cpp2/c-pretty-print.h, support/cpp2/cppcharset.c,
  support/cpp2/cppucnid.h, support/cpp2/diagnostic.c,
  support/cpp2/diagnostic.def, support/cpp2/diagnostic.h,
  support/cpp2/hashtab.c, support/cpp2/hashtab.h,
  support/cpp2/input.h, support/cpp2/libiberty/getpwd.c,
  support/cpp2/libiberty/vasprintf.c, support/cpp2/libiberty/xmemdup.c,
  support/cpp2/move-if-change, support/cpp2/opts.c,
  support/cpp2/opts.h, support/cpp2/opts.sh,
  support/cpp2/pretty-print.c, support/cpp2/pretty-print.h,
  support/cpp2/sdcpp.opt, support/cpp2/sdcpp-opts.c,
  support/cpp2/win32, support/cpp2/win32/dirent.c,
  support/cpp2/win32/dirent.h:
  added
* support/cpp2/sdcpp.c: renamed from sdcppmain.c
* support/cpp2/sdcpp.h: renamed from sdcc.h
* sdcppinit.c: deleted

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

17 years ago* support/cpp2/cpphash.h, support/cpp2/cpplex.c,
borutr [Sat, 23 Dec 2006 19:52:42 +0000 (19:52 +0000)]
* support/cpp2/cpphash.h, support/cpp2/cpplex.c,
  support/cpp2/cpplib.[ch], support/cpp2/sdcppinit.c, doc/sdccman.lyx,
  preproc.c: an other try to fix bug #982435: introduced
  -pedantic-parse-number command line option and pedantic_parse_number
  pragma

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

17 years ago* support/cpp2/cpphash.h, support/cpp2/cpplex.c,
borutr [Sat, 23 Dec 2006 19:46:24 +0000 (19:46 +0000)]
* support/cpp2/cpphash.h, support/cpp2/cpplex.c,
  support/cpp2/cpplib.[ch], support/cpp2/sdcppinit.c, doc/sdccman.lyx:
  an other try to fix bug #982435: introduced -pedantic-parse-number
  command line option and pedantic_parse_number pragma

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

17 years ago* as/link/mcs51/lkarea.c (lnkarea2): handle absolute areas, restructured
MaartenBrock [Thu, 21 Dec 2006 20:46:09 +0000 (20:46 +0000)]
* as/link/mcs51/lkarea.c (lnkarea2): handle absolute areas, restructured
   BSEG handling,
  (lnksect2): use --data-loc and --idata-loc as lower bound for ramstart,
   corrected overlayed areax addresses, warn about memory overlaps
* as/mcs51/asmain.c (asmbl): create a new area for every .org directive
* src/avr/main.c,
* src/ds390/main.c,
* src/hc08/main.c,
* src/mcs51/main.c,
* src/pic16/main.c,
* src/pic/main.c,
* src/xa51/main.c,
* src/z80/main.c,
* src/port.h: added xabs_name and iabs_name
* src/SDCCglue.c (emitRegularMap): allocate for absolutes with initializer
  (glue, emitMaps): create and emit maps d_abs and i_abs
* src/SDCCglue.h: cosmetic changes
* src/SDCCmain.c (setDefaultOptions): idata can start below 0x80
* src/SDCCmem.h,
* src/SDCCmem.c (initMem): added x_abs, i_abs and d_abs
  (allocDefault): put absolute, initialized globals in them
* support/regression/tests/absolute.c: added absolute bdata test
* device/lib/printf_large.c (output_float): moved fpBuffer to stack/xdata

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

17 years ago* support/cpp2/cpphash.h, support/cpp2/cpplex.c: fixed bug #982435
borutr [Wed, 20 Dec 2006 22:43:09 +0000 (22:43 +0000)]
* support/cpp2/cpphash.h, support/cpp2/cpplex.c: fixed bug #982435
* support/regression/tests/bug-1351710.c: renamed from bug-1351710.c,
  added regression test for bug #982435

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

17 years ago* src/SDCC.lex: (stringLiteral) fixed bug #1351710
borutr [Mon, 18 Dec 2006 22:22:08 +0000 (22:22 +0000)]
* src/SDCC.lex: (stringLiteral) fixed bug #1351710
* support/regression/tests/bug-1351710.c: added regression test

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

17 years ago* src/SDCCutil.c: fixed a bug in (get_pragma_token)
borutr [Mon, 18 Dec 2006 18:05:42 +0000 (18:05 +0000)]
* src/SDCCutil.c: fixed a bug in (get_pragma_token)
* src/pic16/main.c, src/SDCC.lex, src/z80/main.c:
  small cosmetic changes

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

17 years ago* doc/sdccman.lyx: added the long missed iCode table "<where is figure II?>", added...
frief [Mon, 18 Dec 2006 14:31:22 +0000 (14:31 +0000)]
* doc/sdccman.lyx: added the long missed iCode table "<where is figure II?>", added links to wiki

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

17 years ago* src/SDCCmain.c: (setParseWithComma) substituted brain damaged strtok
borutr [Sun, 17 Dec 2006 21:20:11 +0000 (21:20 +0000)]
* src/SDCCmain.c: (setParseWithComma) substituted brain damaged strtok

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

17 years agogit-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4515 4a8a32a2...
borutr [Sun, 17 Dec 2006 17:47:57 +0000 (17:47 +0000)]
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4515 4a8a32a2-be11-0410-ad9d-d568d2c75423

17 years ago* src/pic/device.h: removed AssignedMemory structure and macros
tecodev [Tue, 12 Dec 2006 23:47:32 +0000 (23:47 +0000)]
* src/pic/device.h: removed AssignedMemory structure and macros
* src/pic/device.c: removed global finalMapping (linker assigns
    memory locations),
  (register_map): add SFRs to remembered memRanges
  (addMemRange,isSFR,dump_map,dump_sfr,mapRegister,assignRegister,
  assignFixedRegisters,assignRelocatableRegisters): removed,
  (setMaxRAM,validAddress): adapted accordingly,
  (pic14_hasSharebank,pic14_getSharedStack): only report and use
    reasonably sized sharebanks,
* src/pic/ralloc.c (writeUsedRegs): stripped down (remove?),
  (allDefsOutOfRange): removed unused code,
* src/pic/main.c (_process_pragma): removed memmap/maxram pragma
    handling
* src/pic/pcode.c (register_reassign): removed recursion warning,
    fired far too often,
* src/pic/glue.c (emitSymbolToFile,pic14_constructAbsMap): modified
    to use existing pic14_stringInSet() to avoid duplicate symbols,
    tidied up the code a bit,
  (pic14printLocals): added in symmetry to printExterns, replaces
    writeUsedRegs more or less,
  (picglue): call new pic14_printLocals(),
* device/include/pic/pic*.h: removed #pragma memmap directives,
    information gathered from include/pic/pic14devices.txt
* support/scripts/inc2h.pl: do not emit #pragma memmap lines

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

17 years ago* device/include/mcs51/C8051F520.h: fixed buggy CPT0MX
MaartenBrock [Mon, 11 Dec 2006 13:35:22 +0000 (13:35 +0000)]
* device/include/mcs51/C8051F520.h: fixed buggy CPT0MX

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

17 years agodevice/include/mcs51/cc2430.h: fixed missing ';'
jesusc [Mon, 11 Dec 2006 09:38:29 +0000 (09:38 +0000)]
device/include/mcs51/cc2430.h: fixed missing ';'

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

17 years ago* device/lib/pic16/libc/stdio/vfprintf.c,
tecodev [Sun, 10 Dec 2006 17:07:41 +0000 (17:07 +0000)]
* device/lib/pic16/libc/stdio/vfprintf.c,
* device/lib/pic16/libc/stdio/printf_small.c,
* device/lib/pic16/libc/stdio/printf_timy.c: pop int from stack for
  char arguments, as char varargs are cast to int by the caller,
  hopefully fixes #1604915 (other device libraries are still affected)

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

17 years ago* src/mcs51/ralloc.c (packRegsForAssign),
epetrich [Sun, 10 Dec 2006 16:43:49 +0000 (16:43 +0000)]
* src/mcs51/ralloc.c (packRegsForAssign),
* src/hc08/ralloc.c (packRegsForAssign): fixed bug #1605880

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

17 years ago* device/include/tinibios.h: removed defines for putchar and getchar
MaartenBrock [Sun, 10 Dec 2006 16:21:42 +0000 (16:21 +0000)]
* device/include/tinibios.h: removed defines for putchar and getchar
* device/lib/ds390/Makefile.in: added putchar.c
* device/lib/ds390/putchar.c: new, added, fixes bug 1465671

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

17 years ago* device/include/malloc.h: removed init_dynamic_memory
MaartenBrock [Sun, 10 Dec 2006 15:04:52 +0000 (15:04 +0000)]
* device/include/malloc.h: removed init_dynamic_memory
* device/lib/malloc.c: made init_dynamic_memory static and automatically
  call it once from malloc. Also use _sdcc_heap[] from _heap.c
* device/lib/_heap.c: new, added, contains _sdcc_heap[]
* device/lib/libsdcc.lib,
* device/lib/Makefile.in,
* support/regression/ports/mcs51-xstack-auto/spec.mk: added _heap.c
* doc/sdccman.lyx: documented use of new _heap.c
* support/regression/tests/malloc.c: removed init_dynamic_memory
* src/cdbFile.c(spacesToUnderscores): new function,
  (cdbWriteEndFunction, cdbWriteCLine): use spacesToUnderscores, fixes bug
  1068030

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

17 years ago* support/cpp2/sdcc.h: prevent multiple inclusion
borutr [Sat, 9 Dec 2006 22:20:24 +0000 (22:20 +0000)]
* support/cpp2/sdcc.h: prevent multiple inclusion
* support/cpp2/options.h: deleted

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

17 years agocosmetic changes
borutr [Sat, 9 Dec 2006 07:53:53 +0000 (07:53 +0000)]
cosmetic changes

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

17 years ago* support/cpp2/sdcc.h: removed x*alloc() macros
borutr [Fri, 8 Dec 2006 19:18:20 +0000 (19:18 +0000)]
* support/cpp2/sdcc.h: removed x*alloc() macros
* support/cpp2/libiberty.h: uncommented out x*alloc() declarations
* support/cpp2/Makefile.bcc, support/cpp2/Makefile.in,
  support/cpp2/sdcpp.sdc: x*alloc files added to the project
* support/cpp2/system.h: moved #include "sdcc.h"
* support/cpp2/libiberty/xexit.c, support/cpp2/libiberty/xmalloc.c,
  support/cpp2/libiberty/xstrdup.c, support/cpp2/libiberty/xstrerror.c:
  added
* support/cpp2/sdcppinit.c: added -isysroot, -fsigned-char,
  -funsigned-char options
* support/cpp2/sdcppmain.c: fixed bug 1611411

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

17 years ago* support/cpp2/cpplib.c: reverted sdcpp special handling of _Pragma() directive
borutr [Thu, 7 Dec 2006 18:24:45 +0000 (18:24 +0000)]
* support/cpp2/cpplib.c: reverted sdcpp special handling of _Pragma() directive

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

17 years ago* src/SDCCsymt.c (addDecl): fixed bug 1609244
MaartenBrock [Wed, 6 Dec 2006 17:04:20 +0000 (17:04 +0000)]
* src/SDCCsymt.c (addDecl): fixed bug 1609244
* doc/sdccman.lyx: bumped to 2.6.2

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

17 years ago* src/SDCCmain.c (linkEdit): fixed bug 1609279
MaartenBrock [Wed, 6 Dec 2006 12:30:34 +0000 (12:30 +0000)]
* src/SDCCmain.c (linkEdit): fixed bug 1609279
* .version: bumped to 2.6.2 because a) it's been a while
  b) the linker sources have moved c) the preprocessor is upgraded

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

17 years ago* support/regression/tests/snprintf.c: some checks
frief [Mon, 4 Dec 2006 18:42:47 +0000 (18:42 +0000)]
* support/regression/tests/snprintf.c: some checks
* lib/src/printf_large.c: %bc: read char instead of int from stack

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

17 years ago* device/include/mcs51/cc2430.h: inserted _XPAGE
MaartenBrock [Sun, 3 Dec 2006 22:31:52 +0000 (22:31 +0000)]
* device/include/mcs51/cc2430.h: inserted _XPAGE

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

17 years agodevice/include/mcs51/cc2430.h: added
jesusc [Sun, 3 Dec 2006 04:24:49 +0000 (04:24 +0000)]
device/include/mcs51/cc2430.h: added

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

17 years ago* device/include/asm/default/features.h,
MaartenBrock [Sat, 2 Dec 2006 11:53:42 +0000 (11:53 +0000)]
* device/include/asm/default/features.h,
* device/include/asm/ds390/features.h,
* device/include/mcs51/at89s53.h,
* device/include/ser.h,
* device/include/ser_ir.h,
* device/include/serial.h: changed keywords to double underscore variants,
  fixes bug 1590261 some more, thanks Steven Borley

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

17 years ago* src/pic/pcode.c (register_reassign): do not crash on recursive code
tecodev [Fri, 1 Dec 2006 08:49:18 +0000 (08:49 +0000)]
* src/pic/pcode.c (register_reassign): do not crash on recursive code
  but emit warning (recursion is not supported for pic14)

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

17 years ago* src/mcs51/peeph.def: added 101.a,b (moves to int/long xdata)
frief [Thu, 30 Nov 2006 22:20:19 +0000 (22:20 +0000)]
* src/mcs51/peeph.def: added 101.a,b (moves to int/long xdata)
* doc/sdccman.lyx: various small changes, acknowledged Sourceforge

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

17 years ago* src/pic/device.c (dump_sfr): always emit symbols
tecodev [Thu, 30 Nov 2006 18:18:53 +0000 (18:18 +0000)]
* src/pic/device.c (dump_sfr): always emit symbols
* src/pic/glue.c (pic14printPublics): fixed typo

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

17 years ago* src/pic/device.c (create_pic,ram_map): add memRange entries to PIC
tecodev [Thu, 30 Nov 2006 13:51:34 +0000 (13:51 +0000)]
* src/pic/device.c (create_pic,ram_map): add memRange entries to PIC
  (pic14_getSharebankSize, pic14_getSharebankAddress): replaced with
  (pic14_hasSharebank,pic14_isShared,pic14_allRAMShared,
   pic14_getSharedStack): NEW, evaluate the memRange entries to locate
   a sharebank, use a non-shared bank for the stack if none available
* src/pic/device.h (struct memRange): added linked list next field,
  added prototypes for above functions
* src/pic/ralloc.c (initStack): handle shared and banked stacks,
  (typeRegWithIdx): accept fixed and unfixed stack registers
* src/pic/pcode.c (pCodeInitRegisters): use new functions to create
  the stack, handle shared and banked stack (except for WSAVE),
  (insertBankSel): removed useless optimization (will never fire),
  (FixRegisterBanking): added optimization for devices with only one
  possibly aliased bank of memory, like 16f84
* src/pic/glue.c (pic14_constructAbsMap): back to udata_ovr, as some
  devices have no SHAREBANK in the linker script
* device/include/pic/pic14devices.txt: documented memmap
* device/lib/pic/libdev/Makefile.in: removed --stack-loc again

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

17 years agogit-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4493 4a8a32a2...
mhelmling [Thu, 30 Nov 2006 13:39:32 +0000 (13:39 +0000)]
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4493 4a8a32a2-be11-0410-ad9d-d568d2c75423

17 years ago* src/hc08/gen.c (transferRegReg, loadRegFromAop, forceStackedAop,
epetrich [Thu, 30 Nov 2006 06:34:16 +0000 (06:34 +0000)]
* src/hc08/gen.c (transferRegReg, loadRegFromAop, forceStackedAop,
  storeRegToAop, freeAsmop, genPlusIncr, genPlus, genPointerGetSetOfs,
  genAnd, genOr, genXor, genLeftShiftLiteral, genRightShiftLiteral,
  genhc08Code): switched most of the D (debug) macros to DD (detailed
  debug) macros to better control clutter in the generated .asm file.
* src/hc08/gen.c: (forceStackedAop, genUminus, genLeftShift,
  genRightShift): fixed bug with non-constant bit shift stored to
  a volatile result (SF Open Discussion forum thread #1616749).
  Single byte case is not yet optimized.

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

17 years ago* device/include/asm/mcs51/features.h,
MaartenBrock [Wed, 29 Nov 2006 07:31:45 +0000 (07:31 +0000)]
* device/include/asm/mcs51/features.h,
* device/include/malloc.h,
* device/include/stdio.h: changed keywords to double underscore variants,
  fixes bug 1590261

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

17 years ago* support\cpp2\cpptrad.c: added
borutr [Mon, 27 Nov 2006 21:09:30 +0000 (21:09 +0000)]
* support\cpp2\cpptrad.c: added

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

17 years ago* support\cpp2\cppexp.c, support\cpp2\hashtable.h,
borutr [Mon, 27 Nov 2006 20:03:33 +0000 (20:03 +0000)]
* support\cpp2\cppexp.c, support\cpp2\hashtable.h,
  support\cpp2\Makefile.in, support\cpp2\cppfiles.c,
  support\cpp2\output.h, support\cpp2\cppinit.c,
  support\cpp2\cpplib.c, support\cpp2\cpplib.h,
  support\cpp2\Makefile.bcc, support\cpp2\cpphash.c,
  support\cpp2\cppdefault.c, support\cpp2\system.h,
  support\cpp2\cpphash.h, support\cpp2\cpplex.c,
  support\cpp2\cppdefault.h, support\cpp2\mbchar.c,
  support\cpp2\prefix.c, support\cpp2\except.h,
  support\cpp2\hwint.h, support\cpp2\cppmacro.c,
  support\cpp2\line-map.h, support\cpp2\sdcpp.dsp,
  support\cpp2\sdcc.h, support\cpp2\mkdeps.c,
  support\cpp2\version.c, support\cpp2\cppmain.c,
  support\cpp2\version.h, support\cpp2\hashtable.c,
  support\cpp2\cpperror.c:
  synchronized with GCC CPP release version 3.3.6,
  the latest where cppmain.c still exists.
* support\cpp2\sdcppmain.c, support\cpp2\sdcppinit.c: added

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

17 years ago* support/cpp2/cpplex.c:
borutr [Mon, 27 Nov 2006 18:22:21 +0000 (18:22 +0000)]
* support/cpp2/cpplex.c:
  fixed _asm ... _endasm handling bug, introduce with GCC CPP
  synchronization
* support/cpp2/cpplib.c: removed definitions of unused variables

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

17 years ago* support/cpp2/sdcc.h: x*alloc macro redefinition
borutr [Sun, 26 Nov 2006 18:21:29 +0000 (18:21 +0000)]
* support/cpp2/sdcc.h: x*alloc macro redefinition

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

17 years ago* support/cpp2/libiberty.h: commented out x*alloc() declarations
borutr [Sun, 26 Nov 2006 17:00:45 +0000 (17:00 +0000)]
* support/cpp2/libiberty.h: commented out x*alloc() declarations
  since they are redefined by macros in support/cpp2/sdcc.h

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

17 years ago* synchronized with GCC CPP release version 3.2.3,
borutr [Sat, 25 Nov 2006 18:38:50 +0000 (18:38 +0000)]
* synchronized with GCC CPP release version 3.2.3,
  the latest before integration of cpp into gcc

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

17 years ago* support/cpp2/cppexp.c, support/cpp2/hashtable.h,
borutr [Sat, 25 Nov 2006 12:03:05 +0000 (12:03 +0000)]
* support/cpp2/cppexp.c, support/cpp2/hashtable.h,
  support/cpp2/configure, support/cpp2/Makefile.in,
  support/cpp2/cppfiles.c, support/cpp2/output.h,
  support/cpp2/cppinit.c, support/cpp2/cpplib.c,
  support/cpp2/config.h, support/cpp2/cpplib.h,
  support/cpp2/Makefile.bcc, support/cpp2/cpphash.c,
  support/cpp2/cppdefault.c, support/cpp2/config.in,
  support/cpp2/system.h, support/cpp2/cpplex.c,
  support/cpp2/cpphash.h, support/cpp2/mbchar.c,
  support/cpp2/cppdefault.h, support/cpp2/prefix.c
  support/cpp2/hwint.h, support/cpp2/mbchar.h,
  support/cpp2/prefix.h, support/cpp2/cppmacro.c,
  support/cpp2/configure.in, support/cpp2/intl.h,
  support/cpp2/sdcpp.dsp, support/cpp2/acconfig.h,
  support/cpp2/sdcc.h, support/cpp2/mkdeps.c,
  support/cpp2/version.c, support/cpp2/cppmain.c,
  support/cpp2/ansidecl.h, support/cpp2/libiberty.h,
  support/cpp2/hashtable.c, support/cpp2/aclocal.m4,
  support/cpp2/cpperror.c,
  support/cpp2/libiberty/safe-ctype.c,
  support/cpp2/libiberty/safe-ctype.h,
  support/cpp2/libiberty/splay-tree.c,
  support/cpp2/libiberty/obstack.c,
  support/cpp2/libiberty/lbasename.c,
  support/cpp2/libiberty/splay-tree.h,
  support/cpp2/libiberty/obstack.h:
  synchronized with GCC CPP release version 3.1
* support/cpp2/except.h, support/cpp2/line-map.c,
  support/cpp2/line-map.h,
  support/cpp2/libiberty/hex.c,
  support/cpp2/libiberty/concat.c,
  support/cpp2/libiberty/filenames.h: added
* support/cpp2/intl.c: deleted

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

17 years ago* src/SDCC.y: enabled compilation of empty source file
borutr [Fri, 24 Nov 2006 20:01:34 +0000 (20:01 +0000)]
* src/SDCC.y: enabled compilation of empty source file
* support/Util/SDCCerr.[ch]: added sdcc warning 190 -
  "ISO C forbids an empty source file"
* device/lib/_startup.c, device/lib/printf_tiny.c: disable warning 190
  if all the code is ifdefed out.

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

17 years ago* src/hc08/gen.c (genPcall): fix for bug #1601032
epetrich [Fri, 24 Nov 2006 05:04:05 +0000 (05:04 +0000)]
* src/hc08/gen.c (genPcall): fix for bug #1601032

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

17 years ago* device/include/mcs51/c8051f000.h, device/include/mcs51/C8051F000.h,
MaartenBrock [Thu, 23 Nov 2006 21:55:59 +0000 (21:55 +0000)]
* device/include/mcs51/c8051f000.h, device/include/mcs51/C8051F000.h,
* device/include/mcs51/c8051f018.h, device/include/mcs51/C8051F018.h,
* device/include/mcs51/c8051f020.h, device/include/mcs51/C8051F020.h,
* device/include/mcs51/c8051f040.h, device/include/mcs51/C8051F040.h,
* device/include/mcs51/c8051f060.h, device/include/mcs51/C8051F060.h,
* device/include/mcs51/c8051f120.h, device/include/mcs51/C8051F120.h,
* device/include/mcs51/c8051f200.h, device/include/mcs51/C8051F200.h,
* device/include/mcs51/c8051f300.h, device/include/mcs51/C8051F300.h,
* device/include/mcs51/c8051f310.h, device/include/mcs51/C8051F310.h,
* device/include/mcs51/c8051f320.h, device/include/mcs51/C8051F320.h,
* device/include/mcs51/c8051f326.h, device/include/mcs51/C8051F326.h,
* device/include/mcs51/c8051f330.h, device/include/mcs51/C8051F330.h,
* device/include/mcs51/c8051f340.h, device/include/mcs51/C8051F340.h,
* device/include/mcs51/c8051f350.h, device/include/mcs51/C8051F350.h,
* device/include/mcs51/c8051f410.h, device/include/mcs51/C8051F410.h:
  Renamed to all upper case as per the standard set by SiLabs

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

17 years agogit-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4480 4a8a32a2...
MaartenBrock [Thu, 23 Nov 2006 21:48:14 +0000 (21:48 +0000)]
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4480 4a8a32a2-be11-0410-ad9d-d568d2c75423

17 years ago* device/include/mcs51/C8051F520.h: new, added
MaartenBrock [Thu, 23 Nov 2006 21:33:35 +0000 (21:33 +0000)]
* device/include/mcs51/C8051F520.h: new, added
* device/include/mcs51/compiler.h: added link about predefined macros

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

17 years ago* src/regression/Makefile: add -L path to fresh library
tecodev [Thu, 23 Nov 2006 02:28:31 +0000 (02:28 +0000)]
* src/regression/Makefile: add -L path to fresh library
* src/regression/simulate: emphasize FAILED output
* src/regression/create_stc: output _failures from gpsim
* src/regression/compare4.c,
* src/regression/rotate6.c: fixed char literals,
  all compile, all run =8-D

* src/pic/pcode.h: added isPCASMDIR macro
* src/pic/gen.c (genAnd): fixed bit offset
* src/pic/ralloc.c (allocNewDirReg,allocDirReg,allocRegByName,
  packBits): unified register numbering schemes,
  (newReg): do not insert stack registers into hash table,
  (initStack): unpinned pseudo stack, simplified,
  (typeRegWithIdx): fixed retrieval of stack registers,
* src/pic/pcode.c (addpCodeComment,sameBank): added,
  (pCodeReplace): removed invalid assertion,
  (insertPCodeInstruction): fixed newly added labels,
  (insertBankSwitch,BankSelect,IsBankChange,DoBankSelect,
  FixRegisterBankingInFlow,compareBankFlow,FixBankFlow,
  DumpFlow): removed unsed (broken?) code,
  (insertBankSel): prevent STATUS from being BANKSELed,
  (FixRegisterBanking): rewritten from scratch, implemented generic
    optimizations (suppress BANKSELs to same register and to registers
    present in all banks),
  (AnalyzeBanking): update flow after BANKSELection

* src/pic/glue.c (pic14_constructAbsMap): emit pseudo stack in
    sharebank, let linker place it, mark STKxx symbols as emitted

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

17 years agosrc/regression/arrays.c, src/regression/bank1.c, src/regression/bool2.c, src/regressi...
frief [Tue, 21 Nov 2006 17:15:18 +0000 (17:15 +0000)]
src/regression/arrays.c, src/regression/bank1.c, src/regression/bool2.c, src/regression/compare7.c, src/regression/compare8.c, src/regression/compare9.c, src/regression/compare10.c, src/regression/configword.c, src/regression/for.c, src/regression/mult1.c, src/regression/pointer1.c, src/regression/rotate6.c, src/regression/string1.c, src/regression/struct1.c, src/regression/Makefile: make PIC14 regression tests run again (3 fail, 6 won't compile)

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

17 years ago* device/include/pic16/pic18f4550.h,
tecodev [Tue, 21 Nov 2006 15:27:08 +0000 (15:27 +0000)]
* device/include/pic16/pic18f4550.h,
* device/include/pic16/pic18f4455.h,
* device/lib/pic16/libdev/pic18f4550.c,
* device/lib/pic16/libdev/pic18f4455.c: fixed #1578591 and #1595144
* configure.in: removed superfluous closing bracket

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

17 years ago* device/lib/expf.c: Fixed bug 1599523: result of expf(x) is always positive.
jesusc [Tue, 21 Nov 2006 08:18:22 +0000 (08:18 +0000)]
* device/lib/expf.c: Fixed bug 1599523: result of expf(x) is always positive.

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

17 years ago* src/pic/device.{c,h}: added pic14_getPIC()
tecodev [Mon, 20 Nov 2006 23:21:40 +0000 (23:21 +0000)]
* src/pic/device.{c,h}: added pic14_getPIC()
* src/pic/gen.c (continueIfTrue,jumpIfTrue): added PIC code,
  (genAnd): added PIC code for one case, fixes #1597044
* src/pic/pcode.c (BankSelect): Ohoh, added generic optimization for
  SFRs that are present in all banks (e.g., STATUS)

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

17 years ago* src/pic/pcode.c: changed inverted ops for DECFSZ/DECFSZW and
tecodev [Mon, 20 Nov 2006 22:04:40 +0000 (22:04 +0000)]
* src/pic/pcode.c: changed inverted ops for DECFSZ/DECFSZW and
  INCFSZ/INCFSZW and declared them as changing Z bit,
  (insertPCodeInstruction): correctly invert the above instructions,
  fixes #1599333,
  (DoBankSelect): don't panic on po_immediates

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

17 years ago* as/link/aslink.h,
MaartenBrock [Tue, 14 Nov 2006 13:44:47 +0000 (13:44 +0000)]
* as/link/aslink.h,
* as/link/mcs51/lkihx.c (newArea),
* as/link/mcs51/lkrloc.c: renamed newArea() to ihxNewArea()
* as/link/mcs51/lkihx.c (ihx): output reset vector as start address

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

17 years ago* src/pic/pcode.c (newpCodeOpBit): search SymbolTab for referenced
tecodev [Sat, 11 Nov 2006 23:23:47 +0000 (23:23 +0000)]
* src/pic/pcode.c (newpCodeOpBit): search SymbolTab for referenced
  bitfield symbols, fixes #1579535 (once more...).

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

17 years ago* support/regression/generate-cases.py,
frief [Thu, 9 Nov 2006 15:07:43 +0000 (15:07 +0000)]
* support/regression/generate-cases.py,
* support/regression/fwk/include/testfwk.h,
* support/regression/fwk/lib/testfwk.c: used code pointers, (about 50kByte less code generated for mcs51)

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

17 years agoMakefile.in: put back prefix and exec_prefix
borutr [Mon, 6 Nov 2006 21:26:22 +0000 (21:26 +0000)]
Makefile.in: put back prefix and exec_prefix

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

17 years ago* debugger/mcs51/acinclude.m4, debugger/mcs51/aclocal.m4,
borutr [Mon, 6 Nov 2006 19:46:33 +0000 (19:46 +0000)]
* debugger/mcs51/acinclude.m4, debugger/mcs51/aclocal.m4,
  debugger/mcs51/configure: fixed failed check because the function
  rl_function_of_keyseq isn't in Readline 5.2. Thanks to Ilya Goldberg
  who submitted the patch for gpsim.
* debugger/mcs51/configure.in: removed the result message
* debugger/mcs51/Makefile.in: fixed the config.status warning
  "... seems to ignore the --datarootdir setting"

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

17 years ago* device/include/mcs51/c8051f020.h,
MaartenBrock [Fri, 3 Nov 2006 09:11:47 +0000 (09:11 +0000)]
* device/include/mcs51/c8051f020.h,
* device/include/mcs51/c8051f040.h,
* device/include/mcs51/c8051f060.h,
* device/include/mcs51/c8051f120.h: added PS0, fixed bug 1589279
* src/z80/gen.c (gencjneshort),
* src/z80/peeph.def: applied patch 1571373, thanks Philipp Krause

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

17 years agoregenerated aclocal.m4 and configure
borutr [Tue, 31 Oct 2006 21:03:30 +0000 (21:03 +0000)]
regenerated aclocal.m4 and configure

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

17 years agocall AC_MSG_RESULT for each tested library
borutr [Tue, 31 Oct 2006 20:57:41 +0000 (20:57 +0000)]
call AC_MSG_RESULT for each tested library

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

17 years ago* debugger/mcs51/acinclude.m4, debugger/mcs51/aclocal.m4,
borutr [Tue, 31 Oct 2006 19:19:25 +0000 (19:19 +0000)]
* debugger/mcs51/acinclude.m4, debugger/mcs51/aclocal.m4,
  debugger/mcs51/configure: get readline version

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

17 years agoremove readline5.dll
borutr [Mon, 30 Oct 2006 22:21:21 +0000 (22:21 +0000)]
remove readline5.dll

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

17 years agosdcc:
borutr [Mon, 30 Oct 2006 22:10:49 +0000 (22:10 +0000)]
sdcc:
* support/scripts/sdcc.nsi: include readline5.dll into the setup package
sdcc-build:
* lib/bootstrap.mk: add readline5.dll to packages if cross compiling

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

17 years ago* debugger/mcs51/aclocal.m4, debugger/mcs51/configure:
borutr [Mon, 30 Oct 2006 20:08:04 +0000 (20:08 +0000)]
* debugger/mcs51/aclocal.m4, debugger/mcs51/configure:
  locate readline even when cross compiling

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

17 years ago* debugger/mcs51/sdcdb.c: replaced hardcoded "/" with DIR_SEPARATOR_STRING
borutr [Mon, 30 Oct 2006 19:32:18 +0000 (19:32 +0000)]
* debugger/mcs51/sdcdb.c: replaced hardcoded "/" with DIR_SEPARATOR_STRING
* debugger/mcs51/acinclude.m4: locate readline even when cross compiling

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

17 years agodevice/include/mcs51/serial_IO.h: putchar() and getchar() using serial port.
jesusc [Sun, 29 Oct 2006 20:55:38 +0000 (20:55 +0000)]
device/include/mcs51/serial_IO.h: putchar() and getchar() using serial port.

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

17 years ago* device/include/malloc.h,
MaartenBrock [Sun, 29 Oct 2006 19:47:53 +0000 (19:47 +0000)]
* device/include/malloc.h,
* device/lib/calloc.c,
* device/lib/free.c,
* device/lib/malloc.c,
* device/lib/realloc.c: moved definition of struct into sources
* support/regression/tests/malloc.c: use void* for init_dynamic_memory()

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

17 years ago* as/asx8051.dsp: corrected output directories
MaartenBrock [Sun, 29 Oct 2006 16:29:34 +0000 (16:29 +0000)]
* as/asx8051.dsp: corrected output directories
* as/link/hc08: new directory for hc08 linker
* as/hc08/aslink.h,             as/link/aslink.h,
* as/hc08/aslink.mak,           as/link/hc08/aslink.mak,
* as/hc08/clean.mk,             as/link/hc08/clean.mk,
* as/hc08/link_hc08.dsp,        as/link/hc08/link_hc08.dsp,
* as/hc08/lkaomf51.c,           as/link/hc08/lkaomf51.c,
* as/hc08/lkarea.c,             as/link/hc08/lkarea.c,
* as/hc08/lkdata.c,             as/link/hc08/lkdata.c,
* as/hc08/lkelf.c,              as/link/hc08/lkelf.c,
* as/hc08/lkihx.c,              as/link/hc08/lkihx.c,
* as/hc08/lklibr.c,             as/link/hc08/lklibr.c,
* as/hc08/lkmain.c,             as/link/hc08/lkmain.c,
* as/hc08/lkmem.c,              as/link/hc08/lkmem.c,
* as/hc08/lkrloc.c,             as/link/hc08/lkrloc.c,
* as/hc08/lks19.c,              as/link/hc08/lks19.c,
* as/hc08/Makefile.aslink,      as/link/hc08/Makefile.aslink,
* as/hc08/Makefile.bcc,         as/link/hc08/Makefile.bcc,
* as/hc08/Makefile.in,          as/link/hc08/Makefile.in,
* as/link/hc08/conf.mk,
* configure,
* configure.in,
* Makefile.in,
* sdcc.dsw: moved hc08 linker to as/link/hc08
* as/hc08/lkeval.c,     as/link/mcs51/lkeval.c,     as/link/lkeval.c,
* as/hc08/lkhead.c,     as/link/mcs51/lkhead.c,     as/link/lkhead.c,
* as/hc08/lklex.c,      as/link/mcs51/lklex.c,      as/link/lklex.c,
* as/hc08/lklist.c,     as/link/mcs51/lklist.c,     as/link/lklist.c,
* as/hc08/lknoice.c,    as/link/mcs51/lknoice.c,    as/link/lknoice.c,
* as/hc08/lksym.c,      as/link/mcs51/lksym.c,      as/link/lksym.c,
* as/link/mcs51/aslink.dsp,
* as/link/mcs51/Makefile.in: factored out the common files
* as/hc08/lkstore.c: deleted, use the one already in as/link/
* as/clean.mk: extra cleaning common files
* as/link/mcs51/strcmpi.c,      as/strcmpi.c: moved
* as/link/mcs51/strcmpi.h: deleted, moved protoype to aslink.h
* as/mcs51/asm.h: include sdccconf.h or sdcc_vc.h

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

17 years ago* src/pic/ralloc.c (newReg): create aliases for registers with
tecodev [Sat, 28 Oct 2006 23:40:14 +0000 (23:40 +0000)]
* src/pic/ralloc.c (newReg): create aliases for registers with
  multiple names to fix #1579535 and #1584001,
  (regWithIdx,dirregWithName): resolve aliases on lookup
* src/pic/pcode.c (DoBankSelect): die with error message on failing
  bankselect
* device/lib/pic/libdev/Makefile.in: move pseudo stack down to 0x4f
  to prevent build errors on small devices

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

17 years ago* src/pic/gen.c (genFunction,genCall): drop "same code page"
tecodev [Sat, 28 Oct 2006 16:01:37 +0000 (16:01 +0000)]
* src/pic/gen.c (genFunction,genCall): drop "same code page"
  assumption within interrupt handlers, fixes #1584940
* src/pic/glue.c (pic14_constructAbsMap): mark absolute symbols as
  "emitted" to avoid emitting them again in udata

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

17 years agodevice/lib/_putchar.c,_getchar.c, inituart.c: removed
jesusc [Sat, 28 Oct 2006 05:33:58 +0000 (05:33 +0000)]
device/lib/_putchar.c,_getchar.c, inituart.c: removed

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