]>
git.gag.com Git - fw/sdcc/log
borutr [Fri, 14 Mar 2008 21:34:13 +0000 (21:34 +0000)]
fixed nested comments
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5098
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Fri, 14 Mar 2008 21:29:13 +0000 (21:29 +0000)]
added a list of linkers, supported by SDCC
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5097
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Fri, 14 Mar 2008 20:33:17 +0000 (20:33 +0000)]
* doc/sdccman.lyx: enhanced paragraph about bankswitching for mcs51
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5096
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Fri, 14 Mar 2008 16:42:13 +0000 (16:42 +0000)]
* as/doc/asmlnk.doc, as/doc/asxhtm.html: updated link-xx and aslink
command line options
* as/link/hc08/lkmain.c: converted tabs to spaces so that the usage
is correctly displayed
* as/link/z80/lkmain.c: usage line commented out
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5095
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Thu, 13 Mar 2008 22:05:41 +0000 (22:05 +0000)]
* updated the list pf supported pic14 devices
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5094
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Thu, 13 Mar 2008 21:32:14 +0000 (21:32 +0000)]
* doc/sdccman.lyx: corrected to be able to convert to PDF
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5093
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Wed, 12 Mar 2008 21:59:15 +0000 (21:59 +0000)]
* doc/sdccman.lyx: added paragraph about bankswitching for mcs51
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5092
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 12 Mar 2008 21:13:09 +0000 (21:13 +0000)]
* doc/sdccman.lyx: added description of --no-std-crt0 gbz80 command line option
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5091
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 12 Mar 2008 20:46:08 +0000 (20:46 +0000)]
* as/doc/asmlnk.doc, as/doc/asxhtm.html: updated command line options
* as/hc80/asmain.c, as/mcs51/asmain.c: added option -c to usage
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5090
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Mon, 10 Mar 2008 21:34:22 +0000 (21:34 +0000)]
* src/SDCCast.c (isConformingBody): fixed bug
1505811 , thanks Robert Larice
* support/regression/tests/bug1505811.c: new, added
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5087
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Sun, 9 Mar 2008 22:12:13 +0000 (22:12 +0000)]
* device/include/pic16/pic18f2620.h,
* device/include/pic16/pic18f4620.h,
* device/lib/pic16/libdev/pic18f2620.c,
* device/lib/pic16/libdev/pic18f4525.c,
* device/lib/pic16/libdev/pic18f4620.c: merged
18f2525 /2620/4525/4620
family to consistently use pic18f4620.[ch], fixes #
1832562
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5085
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sun, 9 Mar 2008 07:48:37 +0000 (07:48 +0000)]
* knownbugs.html: regenerated
* support/scripts/gen_known_bugs.pl: added number of open bugs
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5082
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sun, 9 Mar 2008 06:58:54 +0000 (06:58 +0000)]
* .version, sdcc.spec, doc/sdccman.lyx, doc/INSTALL.txt: changed version to 2.8.0
* knownbugs.html: regenerated
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5081
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Sun, 9 Mar 2008 01:18:48 +0000 (01:18 +0000)]
* src/pic16/gen.c (pic16_mov2w_volatile): NEW, read volatile operands,
(genOr): read volatile operand even if the result is known,
closes #
1511838
(genOr,genXor): removed unused legacy code,
(genDummyRead): use pic16_mov2w_volatile()
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5080
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sat, 8 Mar 2008 19:23:48 +0000 (19:23 +0000)]
* src/SDCCglue.c: fixed bug #
1864582 : multiple definition of char
cons w. --model-large
* support/regression/staticinit.c: added regression test for bug
#
1864582
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5079
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sat, 8 Mar 2008 18:48:52 +0000 (18:48 +0000)]
* src/ds390/gen.c (pushSide): fixed 'too few arguments'
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5078
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sat, 8 Mar 2008 17:34:50 +0000 (17:34 +0000)]
* src/ds390/gen.c (pushSide, genPcall),
* src/hc08/gen.c (pushSide, genPcall): synchronized with mcs51
* src/mcs51/gen.c: cosmetic changes
* support/regression/fwk/include/testfwk.h: added macro reentrant
* support/regression/tests/bug1908493.c: new, added
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5077
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Sat, 8 Mar 2008 17:21:06 +0000 (17:21 +0000)]
Fixed bug
1909409 : Pdata in OMF file
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5076
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sat, 8 Mar 2008 12:31:42 +0000 (12:31 +0000)]
* src/mcs51/gen.c (pushSide, genPcall): fixed bug
1908493
* src/SDCCmain.c (preProcess): removed -DSDCC_PARMS_IN_BANK1 because it is
already set in ds390/main.c and mcs51/main.c
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5075
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Fri, 7 Mar 2008 22:21:24 +0000 (22:21 +0000)]
* src/regression/init0.c: new test for initialized arrays of function
pointers
* src/regression/Makefile: made a bit more flexible, added init0.c
* src/pic/glue.c (emitIvals): hacky fix for initializing from function
pointers, closes #
1427663
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5074
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Thu, 6 Mar 2008 02:09:59 +0000 (02:09 +0000)]
Better solution for feature request
1908061
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5073
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 5 Mar 2008 20:21:48 +0000 (20:21 +0000)]
* dos/sdccman.lyx: docummented predefined macros SDCC_REVISION,
SDCC_PARMS_IN_BANK1, SDCC_FLOAT_REENT and SDCC_INT_LONG_REENT
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5072
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Wed, 5 Mar 2008 15:03:42 +0000 (15:03 +0000)]
support/librarian/sdcclib.c:Added feature request
1908061 : Synchronise sdcclib commands with ar
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5071
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
frief [Tue, 4 Mar 2008 22:37:58 +0000 (22:37 +0000)]
* src/SDCCmain.c: added predefined macros SDCC_REVISION (RFE #
1907229 ),
and (depending on corresponding compiler option) SDCC_PARMS_IN_BANK1,
SDCC_FLOAT_REENT, SDCC_INT_LONG_REENT
* device/include/mcs51/compiler.h: removed umlauts, added double
underscore
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5070
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Tue, 4 Mar 2008 21:28:19 +0000 (21:28 +0000)]
* src/*/ralloc.c: removed IS_OP_RUONLY macro
* src/ds390/ralloc.c (packRegisters),
* src/mcs51/ralloc.c (packRegisters),
* src/z80/ralloc.c (packRegisters): applied fix for bug
1618050 , thanks
Robert Larice
* support/regression/tests/bug1618050.c: new, added
* support/regression/fwk/include/testfwk.h,
* support/regression/tests/bug1838000.c: moved _AUTOMEM and _STATMEM to
testfwk.h
* src/SDCCsymt.h: fixed typo in DECLSPEC2TXT
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5069
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Tue, 4 Mar 2008 17:53:18 +0000 (17:53 +0000)]
* src/SDCCutil.c,
* src/SDCCutil.h: added getBuildDate()
* src/SDCCmain.c (printVersionInfo),
* src/SDCCglue.c (initialComments): use getBuildDate() instead of __DATE__
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5068
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Tue, 4 Mar 2008 14:09:24 +0000 (14:09 +0000)]
* src/SDCCptropt.c (ptrPseudoSymConvert): fixed bug
1536762
* support/regression/tests/bug1536762.c: new, added
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5067
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Tue, 4 Mar 2008 01:42:30 +0000 (01:42 +0000)]
* src/pic/gen.c: removed unused prototypes, prevent internal errors
on accessing OP_SYM_TYPE(op)
* src/pic/gen.h: removed unused protorype of genMinusDec()
* src/pic/genarith.c (genMinus): cosmetic changes, rewritten to
fix #
1876953 (invalid subtraction code), removed unused code
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5066
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Mon, 3 Mar 2008 01:44:05 +0000 (01:44 +0000)]
* src/pic/gen.c (saveRegisters): Disable debug output.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5065
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Mon, 3 Mar 2008 01:40:12 +0000 (01:40 +0000)]
* src/pic/gen.c,
* src/pic/gen.h,
* src/pic/genarith.c,
* src/pic/ralloc.c,
* src/pic/ralloc.h: removed AOP_R0, AOP_R1, AOP_DPTR, AOP_DPTR2,
AOP_ACC, and *_IDX and adjusted code, removed unused legacy code
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5064
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Mon, 3 Mar 2008 01:27:36 +0000 (01:27 +0000)]
* src/pic/device.c (find_device): search user-specified paths first
for pic14devices.txt, fixes #
1900827
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5063
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sun, 2 Mar 2008 12:04:52 +0000 (12:04 +0000)]
* support/scripts/sdcc.nsi: fixed bug in IsNT, LogicLib-isation of AddToPath and RemoveFromPath
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5062
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sat, 1 Mar 2008 18:45:45 +0000 (18:45 +0000)]
implemented debug function name stack
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5061
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sat, 1 Mar 2008 15:00:05 +0000 (15:00 +0000)]
* support/scripts/sdcc.nsi: reverted MULTIUSER page since it didn't
work correctly, added debugging support if -DSDCC.DEBUG command line
option is defined
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5060
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Thu, 28 Feb 2008 20:16:27 +0000 (20:16 +0000)]
* doc/sdccman.lyx: cosmetic changes
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5059
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Thu, 28 Feb 2008 11:18:56 +0000 (11:18 +0000)]
* doc/sdccman.lyx: fixed unmeant removal of spaces
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5058
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Thu, 28 Feb 2008 08:03:49 +0000 (08:03 +0000)]
* src/mcs51/ralloc.c (fillGaps): fixed bug
1839671
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5057
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 27 Feb 2008 19:18:19 +0000 (19:18 +0000)]
* support/scripts/sdcc.nsi: corrected installation directory for
current user installation mode
* doc/README.txt: added Philipp Klaus Krause to the developers list
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5056
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Wed, 27 Feb 2008 17:09:15 +0000 (17:09 +0000)]
* device/include/mcs51/cc1110.h: new, added, thanks to Pravin Angolkar
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5055
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Wed, 27 Feb 2008 13:50:39 +0000 (13:50 +0000)]
* src/mcs51/gen.c (genUnpackBits): don't generate ifxJump, instead return
ifx condition
(genNearPointerGet, genPagedPointerGet, genFarPointerGet,
genCodePointerGet, genGenPointerGet): cleanup aop before generating
ifxJump to fix bug
1838000
* src/SDCCsymt.c (aggregateToPointer): fix problem for xstack
* support/regression/tests/bug1838000.c: new, added
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5054
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Tue, 26 Feb 2008 19:18:32 +0000 (19:18 +0000)]
* src/mcs51/ralloc.c (isSpiltOnStack): fixed bug
1565152
* support/regression/tests/bug1565152.c: new, added
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5053
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Tue, 26 Feb 2008 13:42:57 +0000 (13:42 +0000)]
* support/scripts/sdcc.nsi: added MULTIUSER page,
NSIS upgraded to version 2.35
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5052
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Tue, 26 Feb 2008 07:02:22 +0000 (07:02 +0000)]
doc/adccman.lyx: documented RFE #
1901171 : inerger promotion of casted varargs
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5050
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Tue, 26 Feb 2008 06:24:45 +0000 (06:24 +0000)]
* src/SDCCast.c, src/SDCCast.h: fixed RFE #
1901171 : inerger promotion
of casted varargs
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5049
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Mon, 25 Feb 2008 22:12:52 +0000 (22:12 +0000)]
* src/mcs51/gen.c (genPagedPointerSet): fixed bug
1670148
* support/regression/ports/mcs51-xstack-auto/spec.mk: added expf.c
* support/regression/tests/bug1670148.c: new, added
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5048
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Mon, 25 Feb 2008 18:05:21 +0000 (18:05 +0000)]
fixed bug
1901469
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5047
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sun, 24 Feb 2008 22:43:07 +0000 (22:43 +0000)]
removed debugging leftovers
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5046
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sun, 24 Feb 2008 22:30:27 +0000 (22:30 +0000)]
* src/SDCCast.c, src/SDCCast.h: fixed bug #
1874922 : explicit typecast
is ineffective for unsigned char parameter, this time by using
removedCast flag
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5045
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sun, 24 Feb 2008 20:59:03 +0000 (20:59 +0000)]
* src/SDCCast.c, src/SDCCast.h: fixed bug #
1874922 : explicit typecast
is ineffective for unsigned char parameter
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5044
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sun, 24 Feb 2008 19:32:38 +0000 (19:32 +0000)]
* src/SDCCglue.c (printIvalBitFields): fixed bug
1806631
* support/regression/tests/bitopcse.c: removed hc08 exception, see testfwk.h
* support/Util/MySystem.c (my_system): output errorcode when verbose,
see bug
1533372
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5043
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sun, 24 Feb 2008 16:35:14 +0000 (16:35 +0000)]
* src/SDCCast.c (expandInlineFuncs): fixed bug
1875869
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5042
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
spth [Fri, 22 Feb 2008 16:18:04 +0000 (16:18 +0000)]
Rewrote 8-bit multiplication by constant, implements #
1898231
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5041
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
spth [Fri, 22 Feb 2008 14:46:58 +0000 (14:46 +0000)]
Faster 8-bit multiplication: #
1896290
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5040
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Thu, 21 Feb 2008 23:48:02 +0000 (23:48 +0000)]
* src/SDCCast.c (createIvalStruct): fixed bug
1466761
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5037
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Thu, 21 Feb 2008 18:51:18 +0000 (18:51 +0000)]
* support/regression/Makefile.in,
support/regression/ports/ds390/spec.mk,
support/regression/ports/hc08/spec.mk,
support/regression/ports/mcs51-common/spec.mk,
support/regression/ports/pic14/spec.mk,
support/regression/ports/pic16/spec.mk,
support/regression/ports/ucz80/spec.mk,
support/regression/ports/xa51/spec.mk:
added CFLAGS when compiling timeout
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5035
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
spth [Thu, 21 Feb 2008 12:59:53 +0000 (12:59 +0000)]
Regression test for #
1596270 , #
1736867
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5034
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Wed, 20 Feb 2008 18:21:56 +0000 (18:21 +0000)]
* src/SDCClrange.c (findPrevUse): fixed bug
1888147
* support/regression/tests/bug1888147.c: new, added
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5029
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
spth [Wed, 20 Feb 2008 15:51:15 +0000 (15:51 +0000)]
Fixed bugs #
1596270 , #
1736867
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5028
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
spth [Wed, 20 Feb 2008 13:20:39 +0000 (13:20 +0000)]
fixed bug in register pair loading
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5027
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
spth [Wed, 20 Feb 2008 11:14:03 +0000 (11:14 +0000)]
Fixed #
1806565
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5026
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Tue, 19 Feb 2008 23:15:11 +0000 (23:15 +0000)]
* src/SDCCpeeph.c (operandBaseName): added check for @Ri
* src/mcs51/peeph.def (rule 177.c): added operandsNotRelated(%1 %3)
fixes bug
1739475 , thanks Robert Larice
(rule 271): new, added
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5025
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Mon, 18 Feb 2008 07:26:19 +0000 (07:26 +0000)]
* sim/ucsim/s51.src/Makefile.in: fixed error made in previous commit
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5022
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sun, 17 Feb 2008 22:07:46 +0000 (22:07 +0000)]
* src/SDCCmain.c (linkEdit): emit -z when using --debug for z80
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5021
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sun, 17 Feb 2008 17:16:28 +0000 (17:16 +0000)]
* sim/ucsim/avr.src/Makefile.in, sim/ucsim/hc08.src/Makefile.in,
sim/ucsim/s51.src/Makefile.in, sim/ucsim/sim.src/Makefile.in,
sim/ucsim/xa.src/Makefile.in, sim/ucsim/z80.src/Makefile.in,
sim/ucsim/main_in.mk: renamed libutil.a to libucsimutil.a in order to
enable compilation on Mac OS X 10.5 (Leopard) and XCode v3.0
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5019
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Sun, 17 Feb 2008 16:31:47 +0000 (16:31 +0000)]
* src/pic16/genarith.c,
* src/pic16/gen.c,
* src/pic16/gen.h,
* src/pic16/genutils.c: removed unused legacy code,
removed unused fields from struct asmop and struct _G
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5018
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Sun, 17 Feb 2008 13:38:14 +0000 (13:38 +0000)]
* src/pic16/gen.c (AccRsh): cosmetic changes,
(shiftR1Left2ResultSigned,shiftR1Left2Result,shiftL1Left2Result,
genRightShiftLiteral): fixed to work with SFRs as result by
assigning only once to result,
removed a lot of unused/excluded code fragments
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5017
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sun, 17 Feb 2008 12:30:30 +0000 (12:30 +0000)]
* src/z80/gen.c, src/z80/peeph.def: applied patch
#
1893510 : Improve logical left shift on Z80, thanks to Philipp Krause
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5016
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Sun, 17 Feb 2008 10:47:26 +0000 (10:47 +0000)]
* device/include/pic/pic16f88.h,
* device/include/pic/pic16f886.h,
* device/include/pic/pic16f887.h: added TRISA6 and TRISA7
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5015
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sun, 17 Feb 2008 07:25:53 +0000 (07:25 +0000)]
* src/z80/peeph.def: applied patch
#
1893626 : Optimize tail calls on Z80, thanks to Philipp Krause
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5014
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sat, 16 Feb 2008 21:28:52 +0000 (21:28 +0000)]
* as/link/mcs51/aslink.dsp: removed SDK define
* as/link/z80/clean.mk: brought in sync with other ports
* as/link/z80/lklibr.c (SdccLib, fndsym): handle the dflag here too
* as/hc08/Makefile.bcc,
* as/mcs51/Makefile.bcc,
* as/z80/Makefile.bcc: noice.c was moved to as/asxxsrc/
* src/z80/main.c (_setValues): use the now capitalized -Z,
(z80_port, gbz80_port): generate debug information when asked
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5013
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sat, 16 Feb 2008 15:05:19 +0000 (15:05 +0000)]
* src/z80/peeph-gbz80.def: applied patch
#
1880235 : Z80 return peephole, thanks to Philipp Krause
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5012
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sat, 16 Feb 2008 14:28:22 +0000 (14:28 +0000)]
* as/z80/asmain.c, as/z80/asm.h, as/z80/asdata.c,
as/link/z80/lkmain.c, as/z80/as_gbz80.dsp, as/z80/as_z80.dsp,
as/z80/Makefile.in. as/z80/Makefile.bcc:
applied patch #
1893393 : patch for as-z80 and link-z80 to generate cdb,
thanx to Armin Diehl
* as/*/asnoice.c, as/hc08/as_hc08.dsp, as/hc08/Makefile.in,
as/mcs51/asx8051.dsp, as/mcs51/Makefile.in:
asnoice.c moved to as/asxxsrc/asnoice.c
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5011
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Thu, 14 Feb 2008 14:01:06 +0000 (14:01 +0000)]
* .version,
* doc/sdccman.lyx: bumped version to 2.7.5
* src/SDCCsymt.c (compareType, comparePtrType): fixed bug
1281583
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5009
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Wed, 13 Feb 2008 21:59:32 +0000 (21:59 +0000)]
* device/include/pic16/stdlib.h,
* device/lib/pic16/libc/stdlib/ltoa.c,
* device/lib/pic16/libc/stdio/vfprintf.c: ascii strings are char*
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5008
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 13 Feb 2008 19:17:50 +0000 (19:17 +0000)]
* src/pic16/glue.c, src/SDCCast.c, src/SDCCast.h, src/SDCCBBlock.c,
src/SDCCcse.c, src/SDCCglue.c, src/SDCCicode.c, src/SDCCloop.c,
src/SDCCopt.c, src/SDCCval.c:
fixed bug #
1890273 : SDCC Warning 154 shows wrong filename
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5007
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 13 Feb 2008 17:56:02 +0000 (17:56 +0000)]
fixed warnings, produced with last commit
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5006
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 13 Feb 2008 06:55:24 +0000 (06:55 +0000)]
* src/SDCCmain.c, src/SDCCglue.c: fixed --c1mode
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5005
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Tue, 12 Feb 2008 15:09:16 +0000 (15:09 +0000)]
* src/SDCCsymt.c (compareType): fixed bug
1309013
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5004
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sat, 9 Feb 2008 16:45:05 +0000 (16:45 +0000)]
* src/SDCCval.c, src/SDCCval.h:
code cleaning, added function constChrVal()
* src/SDCCglue.c, src/pic/glue.c, src/pic16/glue.c, src/SDCCast.c, src/SDCC.y:
call constChrVal() instead constVal()
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5003
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Fri, 1 Feb 2008 18:46:38 +0000 (18:46 +0000)]
* src/SDCCast.c (resolveSymbols): added reentrancy check for parameters
of function pointer
* src/SDCCerr.h,
* src/SDCCerr.c: changed warning W_NONRENT_ARGS to error E_NONRENT_ARGS
* support/regression/tests/absolute.c: added TestStruct TestVar (see also
bug
1859853 )
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5002
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Fri, 1 Feb 2008 15:57:45 +0000 (15:57 +0000)]
* device/include/pic/pic16f886.h,
* device/include/pic/pic16f887.h: added RA6 and RA7
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5001
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Thu, 24 Jan 2008 11:24:53 +0000 (11:24 +0000)]
* device/include/pic/pic16f88.h: added RA6 and RA7
* device/lib/pic/libdev/disabled_pic16f886.c,
* device/lib/pic/libdev/disabled_pic16f887.c: renamed and enabled
* src/pic16/devices.inc,
* device/include/pic16/pic18f2423.h,
* device/include/pic16/pic18f2523.h,
* device/include/pic16/pic18fregs.h,
* device/lib/pic16/pics.all
* device/lib/pic16/libdev/pic18f2423.c,
* device/lib/pic16/libdev/pic18f2523.c: added
18f2423 and
18f2523
* device/lib/pic16/libio/i2c.ignore,
* device/lib/pic16/libio/usart.ignore,
* device/lib/pic16/libio/adc.ignore: ignore new devices
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5000
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Wed, 23 Jan 2008 22:13:38 +0000 (22:13 +0000)]
* src/SDCCast.c (createRMW): fixed bug
1582651
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4999
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sun, 20 Jan 2008 00:37:33 +0000 (00:37 +0000)]
* support/regression/tests/arithcsi.c: fixed regression test
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4998
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sun, 20 Jan 2008 00:35:31 +0000 (00:35 +0000)]
* support/regression/tests/arithcsi.c: added regression test
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4997
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sat, 19 Jan 2008 23:49:32 +0000 (23:49 +0000)]
* src/SDCCcse.c: partially fixed enhancement request
#
1793872 - multiply by -1 not collapsed
* support/regression/tests/arithcsi.c: added regression test
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4996
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sat, 19 Jan 2008 15:42:51 +0000 (15:42 +0000)]
* device/include/asm/ds390/features.h: fixed bug with ds390 & stack-auto
* as/link/lklex.c,
* as/link/mcs51/lkmain.c: used LKDIRSEP, LKDIRSEPSTR and LKOBJEXT,
cosmetic changes, brought more in sync, changed old K&R to ANSI
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4995
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sat, 19 Jan 2008 13:06:10 +0000 (13:06 +0000)]
* as/mcs51/asx8051.dsp: removed define SDK
* as/mcs51/i51mch.c (machine): fixed bug
1865114
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4994
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sun, 13 Jan 2008 11:14:43 +0000 (11:14 +0000)]
sdcc-build:
* lib/version.mk: fixed VER_XXX macros
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4993
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sun, 13 Jan 2008 07:54:32 +0000 (07:54 +0000)]
*src/SDCCicode.c: fixed bug #
1870216 - Error 122: dividing by zero
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4992
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sun, 13 Jan 2008 06:43:50 +0000 (06:43 +0000)]
sdcc-build:
* Makefile, lib/bootstrap.mk, lib/variables.mk, lib/version.mk:
added version.mk, introduced variables SDCC_VER_MAJOR,
SDCC_VER_MINOR, SDCC_VER_DEVEL, SDCCREVISION renamed to
SDCC_REVISION
sdcc-cf:
* packages/build.nsis/Makefile: updated to NSIS version 2.34
* crontab.txt: execute .bash_profile instead of .bashrc on cf-x86
sdcc:
* support/scripts/sdcc.nsi: added Uninstall/reinstall page, ...
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4991
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sun, 30 Dec 2007 22:56:15 +0000 (22:56 +0000)]
* src/pic16/gen.c: fixed implementation of bitwise operations for
pic16targer
* support/regression/tests/bitwise.c: added test cases
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4990
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sat, 29 Dec 2007 22:33:50 +0000 (22:33 +0000)]
fixed makefiles
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4989
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sat, 29 Dec 2007 21:44:17 +0000 (21:44 +0000)]
* as/hc08/Makefile.bcc, as/hc08/Makefile.in, as/hc08/as_hc08.dsp,
as/mcs51/Makefile.bcc, as/mcs51/Makefile.in, as/mcs51/asx8051.dsp,
as/z80/Makefile.bcc, as/z80/Makefile.in, as/z80/as_gbz80.dsp,
as/z80/as_z80.dsp: added dbuf.[ch] and dbuf_string[ch] to project
* as/asxxsrc/aslex.c: use dbuf_getline()
* as/hc08/asdata.c, as/hc08/asexpr.c, as/hc08/asm.h, as/hc08/m08adr.c,
as/mcs51/asdata.c, as/mcs51/asexpr.c, as/mcs51/asm.h,
as/mcs51/i51adr.c, as/z80/asdata.c, as/z80/asexpr.c, as/z80/aslist.c,
as/z80/asm.h, as/z80/z80adr.c:
changed type of ib and ip to const char *
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4988
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sat, 29 Dec 2007 18:01:19 +0000 (18:01 +0000)]
fixed skipLine() and printCLine()
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4987
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sat, 29 Dec 2007 16:56:58 +0000 (16:56 +0000)]
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4986
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sat, 29 Dec 2007 16:50:25 +0000 (16:50 +0000)]
* src/SDCCasm.[ch]: renamed from asm[ch], use dbuf_getline(), ...
* src/src.dsp, src/Makefile.bcc, src/Makefile.in, src/common.h,
src/SDCCglue.c, src/xa51/main.c: asm.[ch] renamed to SDCCasm.[ch]
* support/Util/dbuf_string.[ch]: added function dbuf_getline()
* src/ds390/gen.c, src/hc08/gen.c, src/mcs51/gen.c, src/pic16/gen.c,
src/pic/gen.c, src/z80/gen.c, src/xa51/gen.c, src/pic16/ralloc.c,
src/pic16/pcode.[ch]: added const qualifier
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4985
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Fri, 28 Dec 2007 19:32:00 +0000 (19:32 +0000)]
removed gcc warning: 'c' may be used uninitialized in this function
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4984
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Fri, 28 Dec 2007 19:19:05 +0000 (19:19 +0000)]
* as/hc08/asmain.c, as/mcs51/asmain.c:
added missing initialization of a_addr field
* support/regression/tests/long_asm_line.c: added regtest for long
assembler line
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4983
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Fri, 28 Dec 2007 18:39:56 +0000 (18:39 +0000)]
* as/asxxsrc/aslex.c: moved from as/mcs51/aslex.c;
introduced (readlin) - long lines are turuncated
* as/hc08/as_hc08.dsp, as/mcs51/asx8051.dsp, as/z80/as_gbz80.dsp,
as/z80/as_z80.dsp, as/hc08/Makefile.in, as/mcs51/Makefile.in,
as/z80/Makefile.in: moved aslex.c to asxxsrc
* as/hc08/aslex.c, as/z80/aslex.c: deleted
* as/z80/asmain.c, as/hc08/asmain.c, as/mcs51/asmain.c:
added missing initialization of a_addr field
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4982
4a8a32a2 -be11-0410-ad9d-
d568d2c75423