fw/sdcc
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

17 years ago* device/lib/printfl.c: 13 bytes less __data mem (12 more __idata)
frief [Sun, 11 Mar 2007 20:22:30 +0000 (20:22 +0000)]
* device/lib/printfl.c: 13 bytes less __data mem (12 more __idata)

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

17 years ago* device/lib/printf_large.c: pointer was converted to generic pointer for mcs51 model...
frief [Sun, 11 Mar 2007 19:19:48 +0000 (19:19 +0000)]
* device/lib/printf_large.c: pointer was converted to generic pointer for mcs51 models other than model-small (Maarten noticed)

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

17 years agodevice/include/mcs51/ADuC84x.h: Added.
jesusc [Sat, 10 Mar 2007 21:31:53 +0000 (21:31 +0000)]
device/include/mcs51/ADuC84x.h: Added.

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

17 years ago* src/SDCC.lex, src/SDCCutil.[ch], src/SDCCval:
borutr [Sat, 10 Mar 2007 17:31:55 +0000 (17:31 +0000)]
* src/SDCC.lex, src/SDCCutil.[ch], src/SDCCval:
  fixed RFE #1624219: double backslashes in filenames;
  functions hexEscape(), octalEscape() and copyStr() moved from
  SDCCval.c to SDCCutil.c and made them glovbally available

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

17 years agogit-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4676 4a8a32a2...
MaartenBrock [Fri, 9 Mar 2007 23:14:12 +0000 (23:14 +0000)]
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4676 4a8a32a2-be11-0410-ad9d-d568d2c75423

17 years ago* src/SDCC.lex, src/SDCCast.c. src/SDCCglobl.c, src/SDCCsymt.c,
borutr [Fri, 9 Mar 2007 16:39:13 +0000 (16:39 +0000)]
* src/SDCC.lex, src/SDCCast.c. src/SDCCglobl.c, src/SDCCsymt.c,
  src/SDCCval.c: fixed bugs #1676768: Wrong line number reported and
  1673361: Missaligned comments in output files

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

17 years ago* device/include/pic/pic14devices.txt: fixed confsiz of 16f91[3467]
tecodev [Fri, 9 Mar 2007 14:16:29 +0000 (14:16 +0000)]
* device/include/pic/pic14devices.txt: fixed confsiz of 16f91[3467]

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

17 years ago* src/pic/gen.c,
tecodev [Fri, 9 Mar 2007 12:30:51 +0000 (12:30 +0000)]
* src/pic/gen.c,
* src/pic/glue.c,
* src/pic/ralloc.c: suppress undesired debug output
* src/SDCCmain.c (linkEdit): initialize c to quieten compiler

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

17 years ago* device/lib/printf_large.c: 6 bytes less __data mem (6 more __idata)
frief [Thu, 8 Mar 2007 22:00:32 +0000 (22:00 +0000)]
* device/lib/printf_large.c: 6 bytes less __data mem (6 more __idata)

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

17 years ago* device/lib/pic16/libdev/pic18f[24][34]31.c:
borutr [Wed, 7 Mar 2007 06:45:32 +0000 (06:45 +0000)]
* device/lib/pic16/libdev/pic18f[24][34]31.c:
  search include files in the current directory

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

17 years ago* src/SDCCglue.c (emitMaps, glue),
MaartenBrock [Sun, 4 Mar 2007 21:04:39 +0000 (21:04 +0000)]
* src/SDCCglue.c (emitMaps, glue),
* src/SDCCmem.c (initMem, allocDefault): added x_abs for initialized
  absolute xdata
* support/regression/tests/absolute.c: added xdata test

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

17 years ago* src/SDCCmain.c (parseCmdLine): only set options.xstack_loc for mcs51,
MaartenBrock [Sat, 3 Mar 2007 17:26:55 +0000 (17:26 +0000)]
* src/SDCCmain.c (parseCmdLine): only set options.xstack_loc for mcs51,
  added condition to macro, fixes bug 1666080

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

17 years ago* src/pic/gen.c (genGenPointerSet): removed bogus assertion
tecodev [Fri, 2 Mar 2007 21:52:21 +0000 (21:52 +0000)]
* src/pic/gen.c (genGenPointerSet): removed bogus assertion

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

17 years ago* device/lib/mcs51/crtxclear.asm: pdata segment of 256 byte would not be cleared...
frief [Wed, 28 Feb 2007 12:50:23 +0000 (12:50 +0000)]
* device/lib/mcs51/crtxclear.asm: pdata segment of 256 byte would not be cleared. Unconditionally set __XPAGE

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

17 years ago* src/hc08/gen.c: --no-gen-comments (RFE #1493816) for hc08
frief [Wed, 28 Feb 2007 08:59:04 +0000 (08:59 +0000)]
* src/hc08/gen.c: --no-gen-comments (RFE #1493816) for hc08

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

17 years ago* src/SDCCglobl.h,
frief [Tue, 27 Feb 2007 12:30:58 +0000 (12:30 +0000)]
* src/SDCCglobl.h,
* src/SDCCmain.c,
* src/mcs51/gen.c,
* src/mcs51/rtrack.c,
* src/ds390/gen.c,
* doc/sdccman.lyx: added --no-gen-comments
* src/mcs51/peeph.def: added 192.b, disabled 185

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

17 years ago* src/pic16/gen.c (genCast): fixed typo
tecodev [Sun, 25 Feb 2007 21:57:27 +0000 (21:57 +0000)]
* src/pic16/gen.c (genCast): fixed typo
* device/lib/pic16/Makefile.subdir: only install existing files
* device/lib/pic16/libdev/Makefile.in: build serially, avoid races

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

17 years ago* device/lib/mcs51/crtcall.asm: set svn properties
MaartenBrock [Sun, 25 Feb 2007 21:46:05 +0000 (21:46 +0000)]
* device/lib/mcs51/crtcall.asm: set svn properties

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

17 years ago* src/mcs51/rtrack.c,
MaartenBrock [Sun, 25 Feb 2007 21:43:00 +0000 (21:43 +0000)]
* src/mcs51/rtrack.c,
* src/mcs51/rtrack.h: set svn properties

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

17 years ago* device/lib/mcs51/crtcall.asm: new, added for indirect calls
MaartenBrock [Sun, 25 Feb 2007 21:33:40 +0000 (21:33 +0000)]
* device/lib/mcs51/crtcall.asm: new, added for indirect calls
* device/lib/mcs51/crtclear.asm,
* device/lib/mcs51/crtxclear.asm: renumbered labels
* device/lib/mcs51/Makefile.in: added crtcall.asm
* doc/sdccman.lyx: documented mcs51 crt* library startup code
* src/mcs51/gen.c (movc): removed,
  (aopGet, genPlusBits): clear a after loading the carry (possibly from
    acc.x or psw.x),
  (toCarry, genSend, genRet): added function toCarry,
  (genPcall): use "lcall @a+dptr" for functions w/o parameters,
  (assignBit, genAssign, genCast): added function assignBit
* src/mcs51/Makefile.bcc: added rtrack.c
* src/mcs51/ralloc.h: made valueKnown a bitfield
* src/mcs51/rtrack.c (getReg, rtrackUpdate): added getReg,
  fixed "jbc acc" and "cpl acc" bug, enhanced "cjne", "jnz" and "djnz",
  disabled InvalidateAllRx for lcall __gptrput, added "xch a,rn"
* src/pic/pcode.c (FixRegisterBanking): fixed warning used uninitialized
* src/z80/gen.c: added AOP_IS_PAIRPTR,
  (_pop): only pop valid pairs, see gencjneshort,
  (gencjneshort): return pair that still needs to be popped, restructured,
  (gencjne, genCmpEq): call _pop

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

17 years ago* device/include/pic/pic14devices.txt: 16f684 has only one config word
tecodev [Fri, 23 Feb 2007 08:25:04 +0000 (08:25 +0000)]
* device/include/pic/pic14devices.txt: 16f684 has only one config word

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

17 years agodevice/include/mcs51/P89LPC925.h: Added
jesusc [Thu, 22 Feb 2007 08:19:40 +0000 (08:19 +0000)]
device/include/mcs51/P89LPC925.h: Added

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

17 years agoP89LPC925 draft.
jesusc [Tue, 20 Feb 2007 14:16:11 +0000 (14:16 +0000)]
P89LPC925 draft.

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

17 years ago* src/pic/glue.c (emitInitVal): fixed #1659894 (SIGSEGV on arrays)
tecodev [Sun, 18 Feb 2007 21:28:46 +0000 (21:28 +0000)]
* src/pic/glue.c (emitInitVal): fixed #1659894 (SIGSEGV on arrays)

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

17 years ago* support/cpp2/directives.c, support/cpp2/version.c:
borutr [Sat, 17 Feb 2007 15:40:51 +0000 (15:40 +0000)]
* support/cpp2/directives.c, support/cpp2/version.c:
  synchronized with GCC CPP 4.1.2

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

17 years agoadded src\mcs51\rtrack.c to project
jesusc [Fri, 16 Feb 2007 23:11:34 +0000 (23:11 +0000)]
added src\mcs51\rtrack.c to project

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

17 years agoforgot this in my last commit
frief [Thu, 15 Feb 2007 12:11:32 +0000 (12:11 +0000)]
forgot this in my last commit

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

17 years ago* src/mcs51/rtrack.h,
frief [Thu, 15 Feb 2007 11:23:10 +0000 (11:23 +0000)]
* src/mcs51/rtrack.h,
* src/mcs51/rtrack.c: added register tracking for the mcs51 port, by checking the strings passed by emitcode() to the assembler.
Feel free to change. This in part addresses RFE #482179.
Set environment variable SDCC_RTRACK to enable.
* src/mcs51/gen.c: inserted hooks
* src/mcs51/ralloc.h: added two members to struct regs
* support/regression/tests/regtrack.c: added

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

17 years ago* Makefile.in: applied patch from Makefile related part of
borutr [Wed, 14 Feb 2007 20:08:31 +0000 (20:08 +0000)]
* Makefile.in: applied patch from Makefile related part of
  #1469393: Compiler does not initialize static data

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

17 years ago* src/SDCC.y: fixed bug #1291133: duplicate members across enum(s)
borutr [Wed, 14 Feb 2007 19:52:54 +0000 (19:52 +0000)]
* src/SDCC.y: fixed bug #1291133: duplicate members across enum(s)

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

17 years ago* src/SDCCicode.c (geniCodeAssign): return (itemp) right instead of left
MaartenBrock [Mon, 12 Feb 2007 20:15:36 +0000 (20:15 +0000)]
* src/SDCCicode.c (geniCodeAssign): return (itemp) right instead of left
  for better fix of bug 1273984, compiles pic16 rand.c

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

17 years ago* src/pic16/main.c: fixed pic16 standard library directory bug
borutr [Mon, 12 Feb 2007 19:06:53 +0000 (19:06 +0000)]
* src/pic16/main.c: fixed pic16 standard library directory bug

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

17 years ago* src/hc08/gen.c (genSwap): fix swap regression test
MaartenBrock [Sun, 11 Feb 2007 12:30:15 +0000 (12:30 +0000)]
* src/hc08/gen.c (genSwap): fix swap regression test

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

17 years ago* src/SDCCsymt.c: fixed bug #1159134: invalid duplicate declarations
borutr [Sat, 10 Feb 2007 13:41:24 +0000 (13:41 +0000)]
* src/SDCCsymt.c: fixed bug #1159134: invalid duplicate declarations
  with same scope
* support/regression/tests/bug-1654060.c: added regression test for
  #1654060

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

17 years ago* src/SDCC.y: fixed bug #1159134: invalid duplicate declarations with
borutr [Sat, 10 Feb 2007 11:47:41 +0000 (11:47 +0000)]
* src/SDCC.y: fixed bug #1159134: invalid duplicate declarations with
  same scope, this time for real ;-)

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

17 years agosrc/mcs51/gen.c (genRet): fixed RFE 1652561: added code for bit to bit moves in retur...
bernhardheld [Fri, 9 Feb 2007 22:43:53 +0000 (22:43 +0000)]
src/mcs51/gen.c (genRet): fixed RFE 1652561: added code for bit to bit moves in return statement

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

17 years ago* src/SDCC.y: fixed bug #1159134: invalid duplicate declarations with
borutr [Fri, 9 Feb 2007 21:33:07 +0000 (21:33 +0000)]
* src/SDCC.y: fixed bug #1159134: invalid duplicate declarations with
  same scope

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

17 years ago* src/mcs51/gen.c (aopPut): use direct name for pushing registers
MaartenBrock [Wed, 7 Feb 2007 17:10:27 +0000 (17:10 +0000)]
* src/mcs51/gen.c (aopPut): use direct name for pushing registers
* src/SDCCmain.c (parseCmdLine): dbuf_s path must be initialised

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

17 years ago* src/pic16/devices.inc,
tecodev [Wed, 7 Feb 2007 08:46:16 +0000 (08:46 +0000)]
* src/pic16/devices.inc,
* device/include/pic16/pic18fregs.h,
* device/include/pic16/pic18f[24][34]31.h,
* device/lib/pic16/libdev/pic18f[24][34]31.c,
* device/lib/pic16/pics.all: added 18f[24][34]31 family
* device/lib/pic16/libio/i2c.ignore: do not build i2c

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

17 years ago* support/regression/tests/bug1273984.c: new, added, thanks Günther Jehle
MaartenBrock [Tue, 6 Feb 2007 23:33:52 +0000 (23:33 +0000)]
* support/regression/tests/bug1273984.c: new, added, thanks Günther Jehle

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

17 years ago* device/lib/printf_large.c (_print_format): fixed compare/assign bug, how
MaartenBrock [Tue, 6 Feb 2007 23:26:46 +0000 (23:26 +0000)]
* device/lib/printf_large.c (_print_format): fixed compare/assign bug, how
  can this have lived here for so many years?
* src/SDCCicode.c (ast2iCode): return left instead of right for assignment,
  fixes bug 1273984, see also patch 1645121, thanks Günther Jehle

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

17 years ago* src/SDCCBlock.c (addiCodeToeBBlock): fixed bug 1652207: GOTO icodes appended by...
bernhardheld [Tue, 6 Feb 2007 19:50:30 +0000 (19:50 +0000)]
* src/SDCCBlock.c (addiCodeToeBBlock): fixed bug 1652207: GOTO icodes appended by loop induction must be at the very end of the eBBlock

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

17 years agoAddress bug 1469393.
kvigor [Tue, 6 Feb 2007 06:53:52 +0000 (06:53 +0000)]
Address bug 1469393.

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

17 years ago* support/regression/fwk/lib/timeout.c: native WIN32 port,
borutr [Mon, 5 Feb 2007 21:11:23 +0000 (21:11 +0000)]
* support/regression/fwk/lib/timeout.c: native WIN32 port,
  implemented #1651830 Reg. tests: rewrite timeout.c to use WIN32 API

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

17 years agoAdded missing comment in SST89x5xRDx.h
jesusc [Sun, 4 Feb 2007 01:27:42 +0000 (01:27 +0000)]
Added missing comment in SST89x5xRDx.h

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

17 years ago* device/lib/Makefile.in: added the -f option to rm so it doesn't
borutr [Sat, 3 Feb 2007 16:09:18 +0000 (16:09 +0000)]
* device/lib/Makefile.in: added the -f option to rm so it doesn't
  prompt for file deletion a few hundred times (especially the
  subversion files, which have ro permissions so it asks for
  confirmation), thanks to Simon McAuliffe;
  added {}+ option to find in order to remove multiple files from a
  single rm commad

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

17 years agoadded thanks to Gunther Jehle
borutr [Sat, 3 Feb 2007 12:10:18 +0000 (12:10 +0000)]
added thanks to Gunther Jehle

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

17 years ago* sdc/SDCC.y, src/SDCCmain.c, src/SDCCglobl.h, doc/sdccman.lyx:
borutr [Sat, 3 Feb 2007 12:08:54 +0000 (12:08 +0000)]
* sdc/SDCC.y, src/SDCCmain.c, src/SDCCglobl.h, doc/sdccman.lyx:
  applied patch #1646602 option to set default signedness of char to
  unsigned, added -funsigned-char command line option

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

17 years agodevice/include/mcs51/SST89x5xRDx.h: Added
jesusc [Sat, 3 Feb 2007 04:51:27 +0000 (04:51 +0000)]
device/include/mcs51/SST89x5xRDx.h: Added

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

17 years ago* src/pic/glue.c (emitSymbolSet): check sym->etype before use
tecodev [Fri, 2 Feb 2007 09:26:09 +0000 (09:26 +0000)]
* src/pic/glue.c (emitSymbolSet): check sym->etype before use
* src/regression/Makefile: use --no-pcode-opt, ignore failing tests

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

17 years ago* src/pic/glue.c (picglue,emitSymbolSet,showAllMemmaps): emit the
tecodev [Thu, 1 Feb 2007 10:21:08 +0000 (10:21 +0000)]
* src/pic/glue.c (picglue,emitSymbolSet,showAllMemmaps): emit the
    config words again

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

17 years ago* support/Util/dbuf_string.h: added ATTRIBUTE_PRINTF to dbuf_printf()
borutr [Wed, 31 Jan 2007 21:13:26 +0000 (21:13 +0000)]
* support/Util/dbuf_string.h: added ATTRIBUTE_PRINTF to dbuf_printf()
  if compiled with GCC. Thanks to Raphael Neider

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

17 years ago* src/pic/pcode.c (isValidIdChar,bankCompare): fuzzy matching of
tecodev [Tue, 30 Jan 2007 23:52:00 +0000 (23:52 +0000)]
* src/pic/pcode.c (isValidIdChar,bankCompare): fuzzy matching of
    operand names, handles name and (name + n) for all n,
  (sameBank): restructured, also check bank allocation policy,
* src/pic/glue.c (emitPseudoStack): fixed printf arguments,
  (pic14_operandsAllocatedInSameBank): check whether to operands
    will be allocated into the same bank (i.e., section) to reduce
    BANKSEL overhead, queried from pcode.c:sameBank,
  (pic14printLocals): reintroduced clustering registers into a single
    section: all compiler generated symbols will now reside in one
    bank (per file), reducing BANKSEL overhead and code size,
  (showAllMemmaps): use local dbuf where possible

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

17 years ago* src/pic/gen.c (popGetExternal): simplified, mark symbol as used,
tecodev [Mon, 29 Jan 2007 22:19:03 +0000 (22:19 +0000)]
* src/pic/gen.c (popGetExternal): simplified, mark symbol as used,
  (call_libraryfunc): retrieve/create symbol and mark as used,
  (genFunction): mark defined functions as non-extern and add again
   to code memmap for later output
* src/pic/glue.c (emitPseudoStack): put into own subroutine,
  (pic14printLocals): reworked for new symbol emission,
  (emitIfNew,pic14_constructAbsMap,emitIvalLabel,emitIvals,emitInitVal,
  showAllMemmaps): reworked symbol output using dbufs, added handling
    of string literals (still incomplete),
  (picglue): removed symbol emission, moved into showAllMemmaps,
  (emitSymbolSet): new workhorse for symbol output,
  (pic14emitMaps,pic14printPublics,pic14printExterns): commented out,

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

17 years ago* src/SDCCmain.c, src/SDCCutil.c: dbuf_splitFile: file extension
borutr [Mon, 29 Jan 2007 16:47:44 +0000 (16:47 +0000)]
* src/SDCCmain.c, src/SDCCutil.c: dbuf_splitFile: file extension
  component contains the extension separator.

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

17 years agofixed *nix build
borutr [Sun, 28 Jan 2007 19:28:55 +0000 (19:28 +0000)]
fixed *nix build

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

17 years ago* sim/ucsim/cmd.src/cmdutil.cc: NUL device is detected as CG_FILE type
borutr [Sun, 28 Jan 2007 18:10:42 +0000 (18:10 +0000)]
* sim/ucsim/cmd.src/cmdutil.cc: NUL device is detected as CG_FILE type
  on WIN32
* src/SDCCdwarf2.c, src/SDCCglobl.h, src/SDCCmain.c, src/SDCCutil.c,
  src/SDCCutil.h, src/avr/gen.c, src/ds390/gen.c, src/hc08/gen.c,
  src/mcs51/gen.c, src/pic/device.c, src/pic/gen.c, src/pic/pcode.c,
  src/pic/pcodepeep.c, src/pic/ralloc.c, src/pic16/device.h,
  src/pic16/gen.c, src/pic16/main.c, src/pic16/pcode.c,
  src/pic16/pcodepeep.c, src/pic16/ralloc.c, src/xa51/gen.c,
  src/z80/gen.c, support/Util/MySystem.c:
  accept slash and backslash as directory separator on WIN32 and
  Cygwin ports

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

17 years ago* src/pic16/devices.inc,
tecodev [Sun, 28 Jan 2007 10:46:04 +0000 (10:46 +0000)]
* src/pic16/devices.inc,
* device/include/pic16/pic18f[24][23]21.h,
* device/include/pic16/pic18fregs.h,
* device/lib/pic16/libdev/pic18f[24][23]21.c,
* device/lib/pic16/pics.all: added support for the 18f[24][23]21 family
* device/lib/pic16/libio/adc.ignore,
* device/lib/pic16/libio/i2c.ignore,
* device/lib/pic16/libio/usart.ignore: do not build I/O lib for new
  family, as gputils do not yet support the devices
* device/lib/pic16/Makefile.subdir: ignore errors on install
* support/scripts/inc2h-pic16.pl: script to generate pic16 device
  headers and libraries from gputils .inc files

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

17 years agoconvert sdccman.lyx back to 221 format
pjs [Fri, 26 Jan 2007 19:37:24 +0000 (19:37 +0000)]
convert sdccman.lyx back to 221 format

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

17 years agoadd printf_tiny data dependent integer speed footnote
pjs [Fri, 26 Jan 2007 12:44:48 +0000 (12:44 +0000)]
add printf_tiny data dependent integer speed footnote

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

17 years agoadd footnote regarding printf_fast_f precision limit
pjs [Fri, 26 Jan 2007 12:27:44 +0000 (12:27 +0000)]
add footnote regarding printf_fast_f precision limit

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

17 years agoadded printf benchmarks to manual
pjs [Fri, 26 Jan 2007 12:15:35 +0000 (12:15 +0000)]
added printf benchmarks to manual

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

17 years agofix %c in printf_fast, printf_fast_f and printf_tiny
pjs [Thu, 25 Jan 2007 20:57:29 +0000 (20:57 +0000)]
fix %c in printf_fast, printf_fast_f and printf_tiny

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