]>
git.gag.com Git - fw/sdcc/log
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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