fw/sdcc
16 years ago* sim/ucsim/configure, sim/ucsim/configure.in:
borutr [Fri, 1 Jun 2007 19:37:18 +0000 (19:37 +0000)]
* sim/ucsim/configure, sim/ucsim/configure.in:
  temporary solution to supress GCC 4.2.0 c++ warning:
  deprecated conversion from string constant to `char *'

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

16 years ago* device/lib/pic16/libdev/pic18f[24][45]j10.c: fixed svn atrributes
borutr [Fri, 1 Jun 2007 17:39:09 +0000 (17:39 +0000)]
* device/lib/pic16/libdev/pic18f[24][45]j10.c: fixed svn atrributes
* device/lib/pic16/libdev/pic18f[24]5j10.c:
  search for included source file in local directory

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

16 years agosupport/cpp2/Makefile.in: modified
borutr [Fri, 1 Jun 2007 16:31:56 +0000 (16:31 +0000)]
support/cpp2/Makefile.in: modified

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

16 years ago* SDCPP synchronized with GCC CPP release version 4.2.0,
borutr [Fri, 1 Jun 2007 15:23:01 +0000 (15:23 +0000)]
* SDCPP synchronized with GCC CPP release version 4.2.0,
  currently the latest release:
* support/cpp2/c-incpath.c, support/cpp2/c-incpath.h,
  support/cpp2/c-ppoutput.c, support/cpp2/cppdefault.c,
  support/cpp2/cppdefault.h, support/cpp2/except.h,
  support/cpp2/libcpp/directives.c, support/cpp2/libcpp/expr.c,
  support/cpp2/libcpp/files.c, support/cpp2/libcpp/include/cpplib.h,
  support/cpp2/libcpp/init.c, support/cpp2/libcpp/internal.h,
  support/cpp2/libcpp/lex.c, support/cpp2/libcpp/macro.c,
  support/cpp2/libcpp/mkdeps.c, support/cpp2/libiberty/getpwd.c,
  support/cpp2/libiberty/hashtab.c, support/cpp2/optc-gen.awk,
  support/cpp2/opth-gen.awk, support/cpp2/opts.c,
  support/cpp2/opts.h, support/cpp2/output.h,
  support/cpp2/prefix.c, support/cpp2/sdcpp-opts.c,
  support/cpp2/sdcpp.dsp, support/cpp2/sdcpp.opt,
  support/cpp2/system.h, support/cpp2/version.c: modified
* support/cpp2/opts-common.c: added

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

16 years ago* device/lib/pic/libdev/pic12f683.c,
tecodev [Fri, 1 Jun 2007 08:08:53 +0000 (08:08 +0000)]
* device/lib/pic/libdev/pic12f683.c,
* device/include/pic/pic12f683.h: added GPIO bits

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

16 years ago* doc/sdccman.lyx: added --disable-pic16-port, fixed some `--' and
tecodev [Thu, 31 May 2007 22:42:43 +0000 (22:42 +0000)]
* doc/sdccman.lyx: added --disable-pic16-port, fixed some `--' and
  quotation marks, clarified role of PIC14 vs. PIC16 ports
* src/pic16/devices.inc,
* device/include/pic16/pic18fregs.h,
* device/include/pic16/pic18f[24][45]j10.h,
* device/lib/pic16/pics.all,
* device/lib/pic16/libdev/pic18f[24][45]j10.c: added support for
  18f24j10, 18f25j10, 18f44j10, and 18f45j10
* device/lib/pic16/libio/{i2c,adc,usart}.ignore: do not build IO libs
  for new devices as they are not yet supported by gputils

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

16 years ago* Small Device C Compiler 2.7.0 released
borutr [Thu, 31 May 2007 20:45:20 +0000 (20:45 +0000)]
* Small Device C Compiler 2.7.0 released
* .version, sdcc.spec, doc/sdccman.lyx, doc/INSTALL.txt:
  changed sdcc version to 2.7.1
* support/scripts/sdcc.nsi: added How to create WIN32 release setup.exe package

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

16 years ago* doc/sdccman.lyx: documented initialization and allocation of absolute
MaartenBrock [Tue, 29 May 2007 10:58:44 +0000 (10:58 +0000)]
* doc/sdccman.lyx: documented initialization and allocation of absolute
  variables, bit parameter passing, the need for function pointers to be
  reentrant and alpha quality support of inline and retrict

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

16 years ago* support/regression/tests/bug1057979.c, support/regression/tests/malloc.c,
borutr [Sat, 26 May 2007 09:43:07 +0000 (09:43 +0000)]
* support/regression/tests/bug1057979.c, support/regression/tests/malloc.c,
  support/regression/fwk/include/testfwk.h: fixed compilation on Mac OS x
* docs/knownbugs.html: updated

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

16 years ago* doc/sdccman.lyx: inserted footnotes about inline assembler labels,
MaartenBrock [Fri, 25 May 2007 06:05:06 +0000 (06:05 +0000)]
* doc/sdccman.lyx: inserted footnotes about inline assembler labels,
  thanks Jan Waclawek
* src/mcs51/gen.c (aopPut): fixed part of bug 1723128 when result is
  AOP_CRY and ruonly
  (gencjneshort): optimized when left is AOP_DIR
* src/SDCCglue.c (printIvalStruct): fixed other part of bug 1723128 for
  initializing unions in a struct/array
* support/regression/fwk/include/testfwk.h: added defines for data, near
  and far for host and z80
* support/regression/tests/bug1723128.c: new, added

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

16 years ago* doc/knownbugs.html: updated
borutr [Tue, 22 May 2007 21:45:48 +0000 (21:45 +0000)]
* doc/knownbugs.html: updated

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

16 years ago* src/pic16/glue.c (pic16_initPointer): avoid assertion, emit better
tecodev [Mon, 21 May 2007 21:16:14 +0000 (21:16 +0000)]
* src/pic16/glue.c (pic16_initPointer): avoid assertion, emit better
  error message instead
* src/pic/pcoderegs.c (pCodeOptime2pCodes): keep register state intact

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

16 years ago* src/mcs51/peeph.def (257.b): disabled to fix bug 1721024
MaartenBrock [Mon, 21 May 2007 17:23:07 +0000 (17:23 +0000)]
* src/mcs51/peeph.def (257.b): disabled to fix bug 1721024

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

16 years ago* src/pic/pcoderegs.c (pCodeOptime2pCodes): fixed bogus optimization,
tecodev [Mon, 21 May 2007 09:10:38 +0000 (09:10 +0000)]
* src/pic/pcoderegs.c (pCodeOptime2pCodes): fixed bogus optimization,
  closes #1722392
* src/regression/gpsim_assert.h,
* src/regression/Makefile,
* src/regression/pcodeopt.c: regression test for the above fix

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

17 years ago* src/SDCCpeeph.c (labelIsUncondJump): ignore identical labels for
MaartenBrock [Fri, 11 May 2007 18:12:13 +0000 (18:12 +0000)]
* src/SDCCpeeph.c (labelIsUncondJump): ignore identical labels for
  jumps to self, fixed bug 1717281

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

17 years ago* support/scripts/gen_known_bugs.pl: cosmetic fix
borutr [Thu, 10 May 2007 06:50:59 +0000 (06:50 +0000)]
* support/scripts/gen_known_bugs.pl: cosmetic fix
* doc/knownbugs.html: generated by gen_known_bugs.pl

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

17 years ago* src/SDCCast.c (createFunction): also generate non-inlined version of
epetrich [Thu, 10 May 2007 05:29:03 +0000 (05:29 +0000)]
* src/SDCCast.c (createFunction): also generate non-inlined version of
  function for functions declared as "static inline"
* src/SDCCast.c (fixupInline, inlineAddDecl): reset symbol state so
  function can be inlined after non-inlined version generated.

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

17 years ago* support/scripts/gen_known_bugs.pl: added script which generates knownbugs.html
borutr [Wed, 9 May 2007 22:22:10 +0000 (22:22 +0000)]
* support/scripts/gen_known_bugs.pl: added script which generates knownbugs.html

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

17 years ago* doc/knownbugs.html: updated for release 2.7.0
MaartenBrock [Wed, 9 May 2007 21:11:46 +0000 (21:11 +0000)]
* doc/knownbugs.html: updated for release 2.7.0

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

17 years agodevice/include/mcs51/uPSD33xx.h: Added SFRX definitions by Jan Waclawek
jesusc [Wed, 9 May 2007 15:32:32 +0000 (15:32 +0000)]
device/include/mcs51/uPSD33xx.h: Added SFRX definitions by Jan Waclawek

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

17 years ago* src/ds390/gen.c (emitcode): don't change properties of previous lines,
MaartenBrock [Tue, 8 May 2007 19:44:35 +0000 (19:44 +0000)]
* src/ds390/gen.c (emitcode): don't change properties of previous lines,
  (throughout): updated generating comments
* src/mcs51/gen.c (emitcode): don't change properties of previous lines,
  (throughout): updated generating comments
* src/SDCCpeeph.c (peepHole): continue searching at the first replaced
  rule instead of at the second, or it might skip lines when removing the
  complete match
* support/regression/tests/bug1714204.c: changed test to foo

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

17 years ago* doc/sdccman.lyx: changed sdcc version to 2.7.0,
borutr [Tue, 8 May 2007 17:51:15 +0000 (17:51 +0000)]
* doc/sdccman.lyx: changed sdcc version to 2.7.0,
  thanks to SDCC Distributed Compile Farm members,
  added Z80 and GBZ80 command line options
* .version, doc/INSTALL.txt, sdcc.spec: changed sdcc version to 2.7.0

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

17 years ago* device/lib/mcs51/crtxinit.asm: added disabled version for dual dptr
MaartenBrock [Tue, 8 May 2007 16:59:41 +0000 (16:59 +0000)]
* device/lib/mcs51/crtxinit.asm: added disabled version for dual dptr
* device/include/mcs51/uPSD33xx.h: added sfr DPS as alias for DPTC
* support/regression/tests/longlit.c: modified to be tested at all and
  to pass the actual test

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

17 years agodevice/include/mcs51/uPSD33xx.h: Added.
jesusc [Tue, 8 May 2007 02:33:42 +0000 (02:33 +0000)]
device/include/mcs51/uPSD33xx.h: Added.

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

17 years ago* device/lib/_gptrput.c,
MaartenBrock [Mon, 7 May 2007 16:32:16 +0000 (16:32 +0000)]
* device/lib/_gptrput.c,
* device/lib/_gptrget.c: removed old code,
 (_gptrgetWord),
* src/ds390/gen.c (genGenPointerGet): fixed bug 1714204
* support/regression/tests/bug1714204.c: new, added

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

17 years ago* support/regression/tests/regtrack.c: test was never executed because of the regress...
frief [Sun, 6 May 2007 20:26:51 +0000 (20:26 +0000)]
* support/regression/tests/regtrack.c: test was never executed because of the regression test being picky about white spaces.
* device/lib/mcs51/crtclear.asm: added comment

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

17 years ago* device/lib/pic/Makefile.rules,
tecodev [Sun, 6 May 2007 20:08:22 +0000 (20:08 +0000)]
* device/lib/pic/Makefile.rules,
* device/lib/pic16/Makefile.rules: make sure *.ignore file exists,
  made "&> /dev/null" redirection sh-safe ("> /dev/null 2>&1")

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

17 years ago* src/pic16/device.h,
tecodev [Sun, 6 May 2007 18:36:59 +0000 (18:36 +0000)]
* src/pic16/device.h,
* src/pic16/main.h,
* src/pic16/main.c (pic16_optionsTable,_pic16_parseOptions,
  _pic16_setDefaultOptions): removed/reordered command-line args
* doc/sdccman.lyx: updated PIC14 and PIC16 documentation (supported
  devices, regrouped command line args, environment variables),
  clarified sone points, added sections on how to add devices to the
  PIC14/PIC16 ports

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

17 years ago* src/z80/peeph.def: fixed bug in rule 2
MaartenBrock [Sun, 6 May 2007 16:32:39 +0000 (16:32 +0000)]
* src/z80/peeph.def: fixed bug in rule 2

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

17 years ago* src/mcs51/peep.c (): fixed bug 1712928
MaartenBrock [Sat, 5 May 2007 16:48:00 +0000 (16:48 +0000)]
* src/mcs51/peep.c (): fixed bug 1712928
* support/regression/tests/bug1712928.c: new, added

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

17 years ago* src/port.h: added TARGET_MCS51_LIKE
MaartenBrock [Sat, 5 May 2007 13:45:50 +0000 (13:45 +0000)]
* src/port.h: added TARGET_MCS51_LIKE
* src/SDCCpeeph.c (labelIsUncondJump): new, added, other targets could
  take advantage of it too
* src/z80/gen.c (genIpush): push b, d or h directly instead of using a,
  (shiftR2Left2Result): Optimized: don't check shifting by 0
* src/z80/peeph-z80.def,
* src/z80/peeph.def: whole set of new rules by Philipp Krause with some
  modifications, see patch 1700823

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

17 years ago* device/lib/pic16/Makefile.common.in,
borutr [Sat, 5 May 2007 07:41:17 +0000 (07:41 +0000)]
* device/lib/pic16/Makefile.common.in,
  device/lib/pic/Makefile.common.in, sim/ucsim/cmd.src/Makefile.in:
  removed bash dependencies

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

17 years ago* src/SDCCicode.c:
borutr [Tue, 1 May 2007 12:28:14 +0000 (12:28 +0000)]
* src/SDCCicode.c:
  fixed bug #1710507: --i-code-in-asm makes compile fail
  all iCode comments are now one liners
* src/mcs51/gen.c: fixed memory leak

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

17 years ago* device/lib/pic/libdev/*.c
tecodev [Tue, 1 May 2007 10:59:39 +0000 (10:59 +0000)]
* device/lib/pic/libdev/*.c
* device/include/pic/*.h: regenerated all device libs from updated
  .inc files
* support/scripts/inc2h.pl: documented usage, now uses strict to
  catch more bugs

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

17 years ago* doc/sdccman.lyx:
borutr [Mon, 30 Apr 2007 18:14:17 +0000 (18:14 +0000)]
* doc/sdccman.lyx:
  fixed bug #1669175: Problem with space in output paths
  documented how to use paths with spaces for Windows users

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

17 years ago* Removed svn:executable property from non-executable files
borutr [Sun, 29 Apr 2007 20:33:44 +0000 (20:33 +0000)]
* Removed svn:executable property from non-executable files

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

17 years ago* src/SDCCval.c: fixed bug
borutr [Sun, 29 Apr 2007 18:24:00 +0000 (18:24 +0000)]
* src/SDCCval.c: fixed bug
  #1592871: Segfault with "large" const arrays of characters
  replaced recursion with iteration

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

17 years ago* Fixed svn:eol-style and svn:keywords properties
borutr [Sun, 29 Apr 2007 15:13:29 +0000 (15:13 +0000)]
* Fixed svn:eol-style and svn:keywords properties

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

17 years ago* Fixed svn:eol-style and svn:keywords properties
borutr [Sun, 29 Apr 2007 15:02:49 +0000 (15:02 +0000)]
* Fixed svn:eol-style and svn:keywords properties

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

17 years ago* Fixed svn:eol-style and svn:keywords properties
borutr [Sun, 29 Apr 2007 13:31:48 +0000 (13:31 +0000)]
* Fixed svn:eol-style and svn:keywords properties

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

17 years ago* Fixed svn:eol-style and svn:keywords properties
borutr [Sun, 29 Apr 2007 13:15:51 +0000 (13:15 +0000)]
* Fixed svn:eol-style and svn:keywords properties

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

17 years ago* src/mcs51/gen.c (genRet): fixed bug 1707003
MaartenBrock [Sun, 29 Apr 2007 08:36:30 +0000 (08:36 +0000)]
* src/mcs51/gen.c (genRet): fixed bug 1707003

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

17 years ago* src/pic16/pcode.c (pBlockRemoveUnusedLabels,pic16_pBlockAddInval,
tecodev [Fri, 27 Apr 2007 22:03:51 +0000 (22:03 +0000)]
* src/pic16/pcode.c (pBlockRemoveUnusedLabels,pic16_pBlockAddInval,
  createReachingDefinitions,assignValnums,pic16_destructDF,
  pic16_createDF,pic16_vcg_dumpedges,pic16_vcg_dump_default):
  prevent NULL pointer dereferences
* device/lib/pic/libdev/pic16f886.c,
* device/lib/pic/libdev/pic16f887.c: svn mv'ed to disabled_* to
  prevent building them, gputils do not really support them yet

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

17 years ago* device/lib/_ltoa.c: 36 bytes less __data mem. This really helps printf_small. 32...
frief [Fri, 27 Apr 2007 13:24:27 +0000 (13:24 +0000)]
* device/lib/_ltoa.c: 36 bytes less __data mem. This really helps printf_small. 32 bytes more __idata mem.

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

17 years ago* src/pic/pcode.c (addpCode2pBlock,LinkFlow,pBlockRemoveUnusedLabels):
tecodev [Fri, 27 Apr 2007 08:33:17 +0000 (08:33 +0000)]
* src/pic/pcode.c (addpCode2pBlock,LinkFlow,pBlockRemoveUnusedLabels):
  return early when pb or pb->pcHead is NULL (patch #1708427)
* src/regression/empty.c,
* src/regression/Makefile: added test with empty functions
* support/Util/SDCCerr.c: fixed typo in E_INIT_STRUCT message

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

17 years agoadded comment
borutr [Fri, 27 Apr 2007 06:44:07 +0000 (06:44 +0000)]
added comment

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

17 years ago* src/SDCCast.c: fixed feature request
borutr [Fri, 27 Apr 2007 06:42:06 +0000 (06:42 +0000)]
* src/SDCCast.c: fixed feature request
  #1547512: Redundant strings linked when using sizeof("abc")

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

17 years ago* doc/sdccman.lyx, src/SDCCmain.c:
borutr [Mon, 23 Apr 2007 19:11:03 +0000 (19:11 +0000)]
* doc/sdccman.lyx, src/SDCCmain.c:
  peep-hole comments are generated only if --fverbose-asm option is
  specified and --no-peep-comments is not, as proposed by Frieder.
* support/regression/Makefile.in: compile regression tests with
  --fverbose-asm option so one can "grep" whether a new (or an old)
  peephole is (still) applied; requested by Frieder.

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

17 years ago* device/include/pic/pic16f886.h,
tecodev [Mon, 23 Apr 2007 13:42:32 +0000 (13:42 +0000)]
* device/include/pic/pic16f886.h,
* device/include/pic/pic16f887.h,
* device/lib/pic/libdev/pic16f886.c,
* device/lib/pic/libdev/pic16f887.c,
* device/include/pic/pic14devices.txt,
* device/lib/pic/libdev/devices.txt: Add 16f886 and 16f887.

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

17 years ago* device/lib/pic/libsdcc/idata.c: PAGESEL _main before going there,
tecodev [Mon, 23 Apr 2007 13:09:53 +0000 (13:09 +0000)]
* device/lib/pic/libsdcc/idata.c: PAGESEL _main before going there,
  fixes #1704666

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

17 years ago* device/lib/_memset.c: assembler version for mcs51
frief [Sun, 22 Apr 2007 22:05:39 +0000 (22:05 +0000)]
* device/lib/_memset.c: assembler version for mcs51

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

17 years ago"__code" keyword replaces with "code" macro
borutr [Sun, 22 Apr 2007 16:59:19 +0000 (16:59 +0000)]
"__code" keyword replaces with "code" macro

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

17 years agotest-1699804.c renamed to bug-1699804.c
borutr [Sun, 22 Apr 2007 16:12:39 +0000 (16:12 +0000)]
test-1699804.c renamed to bug-1699804.c

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

17 years agosupport/regression/tests/test-1699804.c: added
borutr [Sun, 22 Apr 2007 16:00:15 +0000 (16:00 +0000)]
support/regression/tests/test-1699804.c: added

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

17 years ago* support/scripts/listerr.c: program to create the list of errors and
borutr [Sun, 22 Apr 2007 15:57:03 +0000 (15:57 +0000)]
* support/scripts/listerr.c: program to create the list of errors and
  warnings list from - added
* doc/sdccman.lyx: removed the note
  "For list of warnings and corresponding codes, see err_warn.txt"
* src/SDCCsymt.c: fixed bug #1699804:
  Bug with some uses of sizeof(static local array) (MCS51)
* support/regression/tests/test-1699804.c: added

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

17 years ago* support/scripts/listerr.c: program to create the list of errors and
borutr [Sun, 22 Apr 2007 07:09:02 +0000 (07:09 +0000)]
* support/scripts/listerr.c: program to create the list of errors and
  warnings list from - added
* doc/sdccman.lyx: removed the note
  "For list of warnings and corresponding codes, see err_warn.txt"

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

17 years ago* as/mcs51/asmain.c (search_path_append, search_path_fopen): new, added,
MaartenBrock [Fri, 20 Apr 2007 18:36:38 +0000 (18:36 +0000)]
* as/mcs51/asmain.c (search_path_append, search_path_fopen): new, added,
  (main): added option -i,
  (asmbl, case S_INCL): use search_path_fopen,
  mostly from patch 1579668 by Peter Miller, thanks
* src/z80/main.c: fixed typo --callee-saves-bc
* device/include/mcs51/compiler.h: added sfrword for Tasking

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

17 years ago* src/z80/main.c: replaced reserved keyword asm with asmblr
borutr [Fri, 20 Apr 2007 16:16:15 +0000 (16:16 +0000)]
* src/z80/main.c: replaced reserved keyword asm with asmblr

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

17 years ago* src/port.h: use const poiters to strings
borutr [Thu, 19 Apr 2007 20:10:32 +0000 (20:10 +0000)]
* src/port.h: use const poiters to strings
* src/SDCCargs.h: declared getStringArg() and getIntArg()
* src/pic16/main.c: include SDCCargs.h
* src/SDCCglobl.h: code_seg and const_seg are not pointers to
  const char, since the strings are dynamically allocated
* src/SDCCmain.c: options.code_seg and options.const_seg are
  dynamically allocated; check port specific command line options
  before the general ones
* src/z80/main.c: fixed bug #1631895: codeseg/constseg #pragma fail

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

17 years ago* device/include/ds400rom.h,
MaartenBrock [Wed, 18 Apr 2007 19:56:32 +0000 (19:56 +0000)]
* device/include/ds400rom.h,
* device/lib/ds390/lcd390.c,
* device/lib/ds390/memcpyx.c,
* device/lib/ds390/rtc390.c,
* device/lib/ds400/ds400rom.c,
* device/lib/ds400/memcpyx.c,
* device/lib/hc08/_ret.c: more replacements of keywords with their
  double underscore equivalents
* device/lib/ds390/Makefile.in,
* device/lib/ds400/Makefile.in,
* device/lib/gbz80/Makefile.in,
* device/lib/hc08/Makefile.in,
* device/lib/mcs51/Makefile.in,
* device/lib/z80/Makefile.in: added --std-c89 to CFLAGS

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

17 years ago* corrected typo
MaartenBrock [Tue, 17 Apr 2007 22:19:52 +0000 (22:19 +0000)]
* corrected typo

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

17 years agoremoved "don't"
borutr [Tue, 17 Apr 2007 20:22:24 +0000 (20:22 +0000)]
removed "don't"

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

17 years ago* doc/sdccman.lyx, src/SDCCmain.c, src/SDCCglobal.h, src/ds390/gen.c,
borutr [Tue, 17 Apr 2007 20:11:37 +0000 (20:11 +0000)]
* doc/sdccman.lyx, src/SDCCmain.c, src/SDCCglobal.h, src/ds390/gen.c,
  src/hc08/gen.c, src/mcs51/gen.c, src/mcs51/rtrack.c:
  fixed #1493816: option --no-gen-comments: --no-gen-comments renamed
  to --fverbose-asm, to be gcc'ish

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

17 years ago* doc/sdccman.lyx, src/SDCCmain.c, src/SDCCglobal.h, src/ds390/gen.c,
borutr [Tue, 17 Apr 2007 19:59:45 +0000 (19:59 +0000)]
* doc/sdccman.lyx, src/SDCCmain.c, src/SDCCglobal.h, src/ds390/gen.c,
  src/hc08/gen.c, src/mcs51/gen.c, src/mcs51/rtrack.c:
  fixed #1493816: option --no-gen-comments: --no-gen-comments renamed
  to --fno-verbose-asm, to be gcc'ish

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

17 years ago* device/lib/ds400/tinibios.c, device/lib/hc08/_divuint.c,
borutr [Tue, 17 Apr 2007 06:20:14 +0000 (06:20 +0000)]
* device/lib/ds400/tinibios.c, device/lib/hc08/_divuint.c,
  device/lib/hc08/_divulong.c: replaced _asm and _endasm keywords
  with their double underscore equivalent

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

17 years ago* src/mcs51/gen.c (aopOp): set size to 1 for ruonly, fixes bug 1699455
MaartenBrock [Tue, 17 Apr 2007 06:14:10 +0000 (06:14 +0000)]
* src/mcs51/gen.c (aopOp): set size to 1 for ruonly, fixes bug 1699455

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

17 years ago* doc/sdccman.lyx: fixed #1701874: Mac OSX references in SDCC manual
borutr [Tue, 17 Apr 2007 05:35:13 +0000 (05:35 +0000)]
* doc/sdccman.lyx: fixed #1701874: Mac OSX references in SDCC manual

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

17 years agosdcc:
borutr [Sat, 14 Apr 2007 15:16:14 +0000 (15:16 +0000)]
sdcc:
* doc/sdccman.lyx: some additional "freeware" replaced with "free open source"

sdcc-cf:
* crontab.txt: run do-upload in a separate make task on cf-x86 too

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

17 years ago* device/examples/serialcomm/windows/serial.[ch],
borutr [Fri, 13 Apr 2007 19:52:07 +0000 (19:52 +0000)]
* device/examples/serialcomm/windows/serial.[ch],
  device/examples/serialcomm/windows/test_serialcomm.cpp:
  updated by Bela Torok
* device/examples/serialcomm/windows/serialcomm.dsw,
  device/examples/serialcomm/windows/serialcomm.dsp: added

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

17 years ago* doc/sdccman.lyx: -pedantic-parse-number is not in conformance with
borutr [Fri, 13 Apr 2007 18:48:40 +0000 (18:48 +0000)]
* doc/sdccman.lyx: -pedantic-parse-number is not in conformance with
  C99 standard

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

17 years ago2007-04-13 Jan Waclawek <wek AT efton.sk>
frief [Fri, 13 Apr 2007 14:24:00 +0000 (14:24 +0000)]
2007-04-13 Jan Waclawek <wek AT efton.sk>
* doc/sdccman.lyx: additions and changes at various places (submitted as #1697136).

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

17 years ago* doc/sdccman.lyx, doc/README.txt, sdc/SDCC.lex, src/SDCCglue.c:
borutr [Tue, 10 Apr 2007 18:53:04 +0000 (18:53 +0000)]
* doc/sdccman.lyx, doc/README.txt, sdc/SDCC.lex, src/SDCCglue.c:
  "FreeWare" replaced with "free open source"

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

17 years ago* doc/cdbfileformat.lyx, doc/sdccman.lyx, doc/test_suite_spec.lyx:
borutr [Tue, 10 Apr 2007 17:12:09 +0000 (17:12 +0000)]
* doc/cdbfileformat.lyx, doc/sdccman.lyx, doc/test_suite_spec.lyx:
  LyX file format changed to 245

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

17 years ago* device/include/mcs51/C8051F120.h: added some defines for bits in RSTSRC
MaartenBrock [Tue, 10 Apr 2007 09:24:34 +0000 (09:24 +0000)]
* device/include/mcs51/C8051F120.h: added some defines for bits in RSTSRC

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

17 years ago* device/include/pic16/pic18fregs.h,
MaartenBrock [Sun, 8 Apr 2007 13:05:45 +0000 (13:05 +0000)]
* device/include/pic16/pic18fregs.h,
* device/lib/_bp.c,
* device/lib/_decdptr.c,
* device/lib/_divsint.c,
* device/lib/_divslong.c,
* device/lib/_divuint.c,
* device/lib/_divulong.c,
* device/lib/_fs2schar.c,
* device/lib/_fs2sint.c,
* device/lib/_fs2slong.c,
* device/lib/_fs2uchar.c,
* device/lib/_fs2uint.c,
* device/lib/_fs2ulong.c,
* device/lib/_fsadd.c,
* device/lib/_fscmp.c,
* device/lib/_fsdiv.c,
* device/lib/_fseq.c,
* device/lib/_fsget1arg.c,
* device/lib/_fsget2args.c,
* device/lib/_fsgt.c,
* device/lib/_fslt.c,
* device/lib/_fsmul.c,
* device/lib/_fsneq.c,
* device/lib/_fsnormalize.c,
* device/lib/_fsreturnval.c,
* device/lib/_fsrshift.c,
* device/lib/_fssub.c,
* device/lib/_fsswapargs.c,
* device/lib/_gptrget.c,
* device/lib/_gptrgetc.c,
* device/lib/_gptrput.c,
* device/lib/_logexpf.c,
* device/lib/_modsint.c,
* device/lib/_modslong.c,
* device/lib/_moduint.c,
* device/lib/_modulong.c,
* device/lib/_mulint.c,
* device/lib/_mullong.c,
* device/lib/_schar2fs.c,
* device/lib/_ser.c,
* device/lib/_setjmp.c,
* device/lib/_sint2fs.c,
* device/lib/_slong2fs.c,
* device/lib/_spx.c,
* device/lib/_uchar2fs.c,
* device/lib/_uint2fs.c,
* device/lib/_ulong2fs.c,
* device/lib/asincosf.c,
* device/lib/atanf.c,
* device/lib/calloc.c,
* device/lib/ds390/tinibios.c,
* device/lib/ds400/tinibios.c,
* device/lib/expf.c,
* device/lib/free.c,
* device/lib/hc08/_mulint.c,
* device/lib/logf.c,
* device/lib/malloc.c,
* device/lib/printf_fast.c,
* device/lib/printf_tiny.c,
* device/lib/printfl.c,
* device/lib/realloc.c,
* device/lib/ser_ir.c,
* device/lib/serial.c,
* support/regression/tests/libmullong.c: replaced all special keywords
  with their double underscore equivalent
* support/regression/ports/mcs51-xstack-auto/spec.mk,
* device/lib/Makefile.in: compile libs with --std-c99 instead of
  --std-sdcc99
* src/mcs51/gen.c (outBitC): don't store if result is return-use-only,
  (genRet): if the bit-symbol is ruonly it already is in the carry
* src/mcs51/ralloc.c (regTypeNum): make regType REG_CND for ruonly bit
* src/SDCCast.c (createFunction): applied patch 887171 by Stas Sergeev
* src/SDCCicode.c (ast2iCode): '!', GETHBIT, GETABIT: only set operand
  type UCHAR if dest is not bit

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

17 years ago* device/include/math.h,
MaartenBrock [Tue, 3 Apr 2007 12:21:50 +0000 (12:21 +0000)]
* device/include/math.h,
* device/lib/cotf.c,
* device/lib/expf.c,
* device/lib/sincoshf.c: changed XMAX to C99 HUGE_VALF

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

17 years ago* support/cpp2/sdcpp.c: fixed recursion bug - internal_error() called
borutr [Sun, 1 Apr 2007 16:29:00 +0000 (16:29 +0000)]
* support/cpp2/sdcpp.c: fixed recursion bug - internal_error() called
  gcc_unreachable() called internal_error()...

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

17 years ago* src/SDCC.lex, sdc/SDCCmain.c, support/cpp2/sdcpp.c:
borutr [Sun, 1 Apr 2007 11:06:09 +0000 (11:06 +0000)]
* src/SDCC.lex, sdc/SDCCmain.c, support/cpp2/sdcpp.c:
  fixed bug #1692042: input buffer overflow...scanner uses REJECT

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

17 years agoreverted to revision 4719; revision 4721 was committed by mistake
borutr [Sat, 31 Mar 2007 13:20:16 +0000 (13:20 +0000)]
reverted to revision 4719; revision 4721 was committed by mistake

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

17 years ago* doc/sdccman.lyx:
borutr [Fri, 30 Mar 2007 18:18:09 +0000 (18:18 +0000)]
* doc/sdccman.lyx:
  "Nightly Snapshots" replaced with "Snapshot Builds", since the SDCC
  is developed, built and used worldwide, and the word "night" doesn't
  make any sense.

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

17 years ago* src/pic/ralloc.c (isData): suppress garbage debug output
tecodev [Fri, 30 Mar 2007 15:45:46 +0000 (15:45 +0000)]
* src/pic/ralloc.c (isData): suppress garbage debug output

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

17 years agosdcc:
borutr [Wed, 28 Mar 2007 17:39:28 +0000 (17:39 +0000)]
sdcc:
* doc/sdccman.lyx:
  "Nightly Snapshots" replaced with "Snapshot Builds", since the SDCC
  is developed, built and used worldwide, and the word "night" doesn't
  make any sense.

sdcc-web:
* index.php, snap_header.php:
  "Nightly Snapshots" replaced with "Snapshot Builds", since the SDCC
  is developed, built and used worldwide, and the word "night" doesn't
  make any sense.

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

17 years ago* device/include/mcs51/C8051F360.h: new, added
MaartenBrock [Wed, 28 Mar 2007 15:55:07 +0000 (15:55 +0000)]
* device/include/mcs51/C8051F360.h: new, added
* device/include/mcs51/C8051F520.h: fixed buggy sbit addresses SPI0CN

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

17 years ago* src/SDCC.y (declaration_specifiers, function_specifier),
epetrich [Tue, 27 Mar 2007 06:02:02 +0000 (06:02 +0000)]
* src/SDCC.y (declaration_specifiers, function_specifier),
* support/Util/SDCCerr.c,
* support/Util/SDCCerr.h,
* src/SDCCsymt.h,
* src/SDCCsymt.c (mergeSpec, checkFunction): Parse and validate the
  inline keyword
* src/SDCCmem.c (deallocParms),
* src/SDCCast.c: support for function inlining, not quite complete
* src/SDCCsymt.c (printTypeChain, printTypeChainRaw): display
  'restrict' qualifier

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

17 years ago* src/SDCCmain.c(parseCmdLine): fixed bug 1677144
MaartenBrock [Sat, 24 Mar 2007 21:24:54 +0000 (21:24 +0000)]
* src/SDCCmain.c(parseCmdLine): fixed bug 1677144

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

17 years ago* device/include/assert.h: applied patch 1686533 to fix bug 1686528,
MaartenBrock [Sat, 24 Mar 2007 19:22:56 +0000 (19:22 +0000)]
* device/include/assert.h: applied patch 1686533 to fix bug 1686528,
  thanks Alexey Shamrin <shamrin AT gmail.com>,
  made assert.h header ANSI compliant (added a check for NDEBUG macro,
  removed header guard)
* .version,
* sdcc.spec: bumped version to 2.6.5

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

17 years ago* src/mcs51/gen.c (saveRegisters, unsaveRegisters): free some bitVects,
MaartenBrock [Sat, 24 Mar 2007 18:58:58 +0000 (18:58 +0000)]
* src/mcs51/gen.c (saveRegisters, unsaveRegisters): free some bitVects,
  (saveRBank, unsaveRBank): don't save bits,
  (genFunction, genEndFunction): save bits exactly once, fix bug 1535242
* support/regression/tests/bug1535242.c: new, added

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

17 years ago* debugger/mcs51/cmd.c, debugger/mcs51/sdcdb.c:
borutr [Thu, 22 Mar 2007 20:44:15 +0000 (20:44 +0000)]
* debugger/mcs51/cmd.c, debugger/mcs51/sdcdb.c:
  fixed bug #1653671: sdcdb integration into ddd is broken

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

17 years ago* src/pic/gen.c (popGetExternal): augmented to also create references
tecodev [Thu, 22 Mar 2007 13:09:13 +0000 (13:09 +0000)]
* src/pic/gen.c (popGetExternal): augmented to also create references
  to external variables (not only labels),
  (genCall): comment on plan to reduce PAGESEL overhead,
  (genFunction, genEndFunction): also save/restore FSR around interrupt
  handling code, removed lots of unused code
  (genDivOneByte): release acquired temp register
* src/pic/glue.c (pic14createInterruptVect): adadt to new signature
  of popGetExternal
* device/lib/pic/libsdcc/shadowregs.c: NEW, provide storage location
  for registers that need to be saved during interrupts (FSR, STATUS,
  PCLATH; W needs special handling), currently only FSR is used

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

17 years ago* device/include/pic/pic14devices.txt: 16f688 has only one config word
tecodev [Thu, 22 Mar 2007 09:27:41 +0000 (09:27 +0000)]
* device/include/pic/pic14devices.txt: 16f688 has only one config word

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

17 years ago/as/link/mcs51/aslink.dsp: Object extension for mcs51 is 'rel' not 'o'.
jesusc [Mon, 19 Mar 2007 20:23:14 +0000 (20:23 +0000)]
/as/link/mcs51/aslink.dsp: Object extension for mcs51 is 'rel' not 'o'.

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

17 years agogit-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4698 4a8a32a2...
MaartenBrock [Sat, 17 Mar 2007 21:21:05 +0000 (21:21 +0000)]
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4698 4a8a32a2-be11-0410-ad9d-d568d2c75423

17 years agoAdded strcmi.c to project
jesusc [Fri, 16 Mar 2007 20:47:08 +0000 (20:47 +0000)]
Added strcmi.c to project

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

17 years agoAdded strcmpi.c to project
jesusc [Fri, 16 Mar 2007 20:00:15 +0000 (20:00 +0000)]
Added strcmpi.c to project

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

17 years ago* as/link/aslink.h: added LKOBJEXT
MaartenBrock [Wed, 14 Mar 2007 08:59:32 +0000 (08:59 +0000)]
* as/link/aslink.h: added LKOBJEXT
* as/link/hc08/link_hc08.dsp,
* as/link/hc08/Makefile.bcc,
* as/link/hc08/Makefile.in,
* as/link/mcs51/aslink.dsp,
* as/link/mcs51/Makefile.bcc,
* as/link/mcs51/Makefile.in: moved lkamof51.c and lkdata.c
* as/link/hc08/lkaomf51.c,      as/link/mcs51/lkaomf51.c,
* as/link/lkaomf51.c: merged and moved
* as/link/hc08/lkdata.c,        as/link/mcs51/lkdata.c,
* as/link/z80/lkdata.c,
* as/link/lkdata.c: merged and moved
* as/link/hc08/lkmain.c,
* as/link/mcs51/lkmain.c: cosmetic changes
* as/link/z80/lkeval.c,         as/link/lkeval.c: merged
* as/link/lklex.c: use LKOBJEXT
* as/link/z80/lklist.c,         as/link/lklist.c: merged,
  ANSI-fied functions, removed bubble-sorts
* as/link/z80/lksym.c           as/link/lksym.c: merged,
  ANSI-fied functions
* as/link/z80/linkgbz80.dsp,
* as/link/z80/linkz80.dsp,
* as/link/z80/Makefile.in: added lkaomf51.c and lknoice.c,
  moved lkdata.c, lkeval.c, lkhead.c, lklex.x, lklist.c, lksym.c
* as/link/z80/lkhead.c,
* as/link/z80/lklex.c: deleted
* as/link/z80/lklibr.c: moved LKOBJEXT to aslink.h
* as/link/z80/lkmain.c: added copyfile()

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

17 years agodevice/include/mcs51/P89LPC925.h: Added missing P1_6 and P1_7.
jesusc [Tue, 13 Mar 2007 19:35:17 +0000 (19:35 +0000)]
device/include/mcs51/P89LPC925.h: Added missing P1_6 and P1_7.

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

17 years ago* as/link/z80/Makefile.in, as/z80/Makefile.in:
borutr [Tue, 13 Mar 2007 17:25:17 +0000 (17:25 +0000)]
* as/link/z80/Makefile.in, as/z80/Makefile.in:
  introduced LDFLAGS

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

17 years ago* device/lib/_strlen.c: assembler version for mcs51
frief [Tue, 13 Mar 2007 15:15:38 +0000 (15:15 +0000)]
* device/lib/_strlen.c: assembler version for mcs51

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

17 years ago* device/include/pic16/pic18f2221.h,
tecodev [Tue, 13 Mar 2007 09:41:19 +0000 (09:41 +0000)]
* device/include/pic16/pic18f2221.h,
* device/include/pic16/pic18f2321.h,
* device/include/pic16/pic18f2331.h,
* device/include/pic16/pic18f4221.h,
* device/include/pic16/pic18f4321.h,
* device/include/pic16/pic18f4331.h: fixed config byte location names
* support/scripts/inc2h-pic16.pl: removed debug output, emit
  consistently named config byte locations

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

17 years ago* src/Makefile.in, sim/ucsim/avr.src/Makefile.in,
borutr [Tue, 13 Mar 2007 06:48:59 +0000 (06:48 +0000)]
* src/Makefile.in, sim/ucsim/avr.src/Makefile.in,
  sim/ucsim/hc08.src/Makefile.in, sim/ucsim/s51.src/Makefile.in,
  sim/ucsim/xa.src/Makefile.in, sim/ucsim/z80.src/Makefile.in:
  introduced LDFLAGS

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