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