fw/sdcc
21 years ago* src/SDCCsymt.c (initCSupport): fix compile warning on Cygwin
bernhardheld [Sat, 8 Feb 2003 18:39:30 +0000 (18:39 +0000)]
* src/SDCCsymt.c (initCSupport): fix compile warning on Cygwin
* src/SDCCopt.c (cnvToFloatCast): fix compile warning on Cygwin
* src/SDCCopt.c (cnvFromFloatCast): fix compile warning on Cygwin
* debugger/mcs51/cmd.c: converted multi-line string literals
* sim/ucsim/globals.cc: converted multi-line string literals
* src/SDCCmain.c: introduced signal handler to remove temp files

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

21 years ago* device/lib/printfl.c: fix a ds390 bug by making it portable
bernhardheld [Sat, 8 Feb 2003 11:01:58 +0000 (11:01 +0000)]
* device/lib/printfl.c: fix a ds390 bug by making it portable

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

21 years agodevice/lib/_mulint.c: small fix for large/ds390 --int-long-reent resp. --stack-auto
bernhardheld [Fri, 7 Feb 2003 23:46:59 +0000 (23:46 +0000)]
device/lib/_mulint.c: small fix for large/ds390 --int-long-reent resp. --stack-auto

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

21 years agobug 681909: tell preprocessor we're compiling C99, not C++
kvigor [Thu, 6 Feb 2003 22:19:28 +0000 (22:19 +0000)]
bug 681909: tell preprocessor we're compiling C99, not C++

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

21 years agoWhat was I thinking?
johanknol [Thu, 6 Feb 2003 08:51:23 +0000 (08:51 +0000)]
What was I thinking?

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

21 years agopatch from Jan Rejlek <jr@apex-lib.cz> to fix Bug 677692
jesusc [Thu, 6 Feb 2003 06:43:20 +0000 (06:43 +0000)]
patch from Jan Rejlek <jr@apex-lib.cz> to fix Bug 677692

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

21 years agoMinor ds390 performance enhancement on generic pointer reads
kvigor [Tue, 4 Feb 2003 05:52:45 +0000 (05:52 +0000)]
Minor ds390 performance enhancement on generic pointer reads

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

21 years agofixed compilation with Borland C
borutr [Sun, 2 Feb 2003 22:22:47 +0000 (22:22 +0000)]
fixed compilation with Borland C

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

21 years agodelete $(LIB) only if exist
borutr [Sun, 2 Feb 2003 22:01:33 +0000 (22:01 +0000)]
delete $(LIB) only if exist

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

21 years agocorrected misspelled project name from msc51a to mcs51a
borutr [Sun, 2 Feb 2003 22:00:46 +0000 (22:00 +0000)]
corrected misspelled project name from msc51a to mcs51a

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

21 years agofixed compilation with Borland C
borutr [Sun, 2 Feb 2003 22:00:19 +0000 (22:00 +0000)]
fixed compilation with Borland C

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

21 years agoadded rule to generate auto-host.h
borutr [Sun, 2 Feb 2003 21:59:56 +0000 (21:59 +0000)]
added rule to generate auto-host.h

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

21 years agoremoved non existing cpp project and non compilable izt project from makefile
borutr [Sun, 2 Feb 2003 21:56:00 +0000 (21:56 +0000)]
removed non existing cpp project and non compilable izt project from makefile

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

21 years ago* introduced NULL
bernhardheld [Sun, 2 Feb 2003 20:42:07 +0000 (20:42 +0000)]
* introduced NULL

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

21 years ago* fix type
bernhardheld [Sun, 2 Feb 2003 20:39:30 +0000 (20:39 +0000)]
* fix type

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

21 years ago* introduced NULL in the headers
bernhardheld [Sun, 2 Feb 2003 20:37:40 +0000 (20:37 +0000)]
* introduced NULL in the headers

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

21 years ago* introduced NULL in the headers
bernhardheld [Sun, 2 Feb 2003 20:36:49 +0000 (20:36 +0000)]
* introduced NULL in the headers

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

21 years agoChanged stack usage declaration to match sdcc/src/mcs51/gen.c:1.121+. This fixes...
epetrich [Sun, 2 Feb 2003 17:24:57 +0000 (17:24 +0000)]
Changed stack usage declaration to match sdcc/src/mcs51/gen.c:1.121+. This fixes bug #585584

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

21 years agofixed bug #628025
johanknol [Sun, 2 Feb 2003 13:48:28 +0000 (13:48 +0000)]
fixed bug #628025

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

21 years agoNow the regression tests could go online again
johanknol [Sun, 2 Feb 2003 12:39:12 +0000 (12:39 +0000)]
Now the regression tests could go online again

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

21 years agofixed bug #631653
johanknol [Sun, 2 Feb 2003 12:36:01 +0000 (12:36 +0000)]
fixed bug #631653

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

21 years agoCleanups of the mess I made on the last commit
kvigor [Sun, 2 Feb 2003 06:07:02 +0000 (06:07 +0000)]
Cleanups of the mess I made on the last commit

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

21 years agoFixed bug 678574: "ds390: ASlink-Error-Stack overlaps area 'DATA'"
jesusc [Sun, 2 Feb 2003 04:00:54 +0000 (04:00 +0000)]
Fixed bug 678574: "ds390: ASlink-Error-Stack overlaps area 'DATA'"

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

21 years agoadded Jesus's MSVC build notes
johanknol [Sat, 1 Feb 2003 15:56:49 +0000 (15:56 +0000)]
added Jesus's MSVC build notes

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

21 years agofixed Karl's "2 | (1<<8)"
johanknol [Sat, 1 Feb 2003 11:44:18 +0000 (11:44 +0000)]
fixed Karl's "2 | (1<<8)"

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

21 years agoInternal error compiling bug-524691 regression test
kvigor [Fri, 31 Jan 2003 18:13:33 +0000 (18:13 +0000)]
Internal error compiling bug-524691 regression test

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

21 years agoApplied Jan Rejlek's >64K startup patch.
johanknol [Fri, 31 Jan 2003 09:39:45 +0000 (09:39 +0000)]
Applied Jan Rejlek's >64K startup patch.

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

21 years agothis will signal an inter error, speeds up bug tracing
johanknol [Thu, 30 Jan 2003 11:26:33 +0000 (11:26 +0000)]
this will signal an inter error, speeds up bug tracing

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

21 years agoaccepts --xram-size 0 (no ext ram)
jesusc [Wed, 29 Jan 2003 18:26:54 +0000 (18:26 +0000)]
accepts --xram-size 0 (no ext ram)

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

21 years agoChanged OP_DEFS and OP_USES from macros to function to catch symbol abuse
johanknol [Wed, 29 Jan 2003 17:56:20 +0000 (17:56 +0000)]
Changed OP_DEFS and OP_USES from macros to function to catch symbol abuse

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

21 years agoChanged OP_DEFS and OP_USES from macros to function to catch symbol abuse
johanknol [Wed, 29 Jan 2003 13:59:43 +0000 (13:59 +0000)]
Changed OP_DEFS and OP_USES from macros to function to catch symbol abuse

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

21 years agoAdded options --code-size and --xram-size
jesusc [Wed, 29 Jan 2003 09:00:29 +0000 (09:00 +0000)]
Added options --code-size and --xram-size

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

21 years agoAdded option --code-size and --xram-size
jesusc [Wed, 29 Jan 2003 08:59:29 +0000 (08:59 +0000)]
Added option --code-size and --xram-size

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

21 years ago* src/ds390/gen.c: fix deps by replacing <common.h> with "common.h"
bernhardheld [Tue, 28 Jan 2003 18:44:42 +0000 (18:44 +0000)]
* src/ds390/gen.c: fix deps by replacing <common.h> with "common.h"
* src/SDCC.lex: rename P_OVERLAY to P_OVERLAY_ for cross-gcc 3.2 MINGW32

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

21 years agofixed bug #613764
johanknol [Mon, 27 Jan 2003 09:36:26 +0000 (09:36 +0000)]
fixed bug #613764

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

21 years agoAdded file strcmpi.c to project
jesusc [Mon, 27 Jan 2003 04:01:22 +0000 (04:01 +0000)]
Added file strcmpi.c to project

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

21 years agoSee Changelog 1.163
johanknol [Sun, 26 Jan 2003 21:47:36 +0000 (21:47 +0000)]
See Changelog 1.163

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

21 years agoJust read the log
johanknol [Sun, 26 Jan 2003 21:45:58 +0000 (21:45 +0000)]
Just read the log

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

21 years agomake RAM big enough for tinibios
bernhardheld [Sun, 26 Jan 2003 21:08:15 +0000 (21:08 +0000)]
make RAM big enough for tinibios

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

21 years agoreplace non-ANSI strcmpi by as_strcmpi
bernhardheld [Sun, 26 Jan 2003 19:39:50 +0000 (19:39 +0000)]
replace non-ANSI strcmpi by as_strcmpi

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

21 years ago* src/SDCCglue.c: reverted back to 1.124
johanknol [Sun, 26 Jan 2003 13:25:28 +0000 (13:25 +0000)]
* src/SDCCglue.c: reverted back to 1.124
* src/SDCCast.c: reverted back to 1.156
* src/mcs51/gen.c (aopGet): applied Frieder's efficiency patch

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

21 years agoA better fix for bug#661910
johanknol [Sat, 25 Jan 2003 14:45:45 +0000 (14:45 +0000)]
A better fix for bug#661910

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

21 years agoThat was a little too efficient
johanknol [Sat, 25 Jan 2003 09:19:42 +0000 (09:19 +0000)]
That was a little too efficient

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

21 years agolink with -r
bernhardheld [Fri, 24 Jan 2003 19:55:17 +0000 (19:55 +0000)]
link with -r

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

21 years ago* src/spawn.c: removed
bernhardheld [Fri, 24 Jan 2003 19:49:01 +0000 (19:49 +0000)]
* src/spawn.c: removed
* src/spawn.h: removed

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

21 years ago* src/Makefile.in: remove spawn.o
bernhardheld [Fri, 24 Jan 2003 19:46:17 +0000 (19:46 +0000)]
* src/Makefile.in: remove spawn.o
* src/SDCCmain.c: remove spawn.h
* src/SDCCmain.c (printVersionInfo): report MINGW32 instead of UNIX

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

21 years agofixed bug #667458
johanknol [Fri, 24 Jan 2003 18:31:40 +0000 (18:31 +0000)]
fixed bug #667458

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

21 years agoan ival doesn't always has a storage class anymore
johanknol [Fri, 24 Jan 2003 17:16:55 +0000 (17:16 +0000)]
an ival doesn't always has a storage class anymore

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

21 years agofixed bug #458099 (again, but now better)
johanknol [Fri, 24 Jan 2003 16:42:12 +0000 (16:42 +0000)]
fixed bug #458099 (again, but now better)

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

21 years agofixed bug #661910
johanknol [Fri, 24 Jan 2003 13:51:11 +0000 (13:51 +0000)]
fixed bug #661910

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

21 years ago* src/mcs51/peeph.def: better assembler identation by Frieder
bernhardheld [Thu, 23 Jan 2003 10:39:12 +0000 (10:39 +0000)]
* src/mcs51/peeph.def: better assembler identation by Frieder
* src/mcs51/gen.c: better assembler identation by Frieder

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

21 years ago* src/pic/pcode.c (get_op_from_instruction): fix concatenation of string literals...
bernhardheld [Wed, 22 Jan 2003 14:01:35 +0000 (14:01 +0000)]
* src/pic/pcode.c (get_op_from_instruction): fix concatenation of string literals with __FUNCTION__ for gcc 3.2

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

21 years agodelete as/z80/string.h
bernhardheld [Wed, 22 Jan 2003 13:15:54 +0000 (13:15 +0000)]
delete as/z80/string.h

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

21 years agoremoved for gcc 3.2
bernhardheld [Wed, 22 Jan 2003 13:13:09 +0000 (13:13 +0000)]
removed for gcc 3.2

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

21 years ago* as/z80/string.h: disable this header for gcc 3.2
bernhardheld [Wed, 22 Jan 2003 13:05:31 +0000 (13:05 +0000)]
* as/z80/string.h: disable this header for gcc 3.2
* support/makebin/makebin.c: #include <string.h> for gcc 3.2

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

21 years agoFix of typecast malloc
drdani [Mon, 20 Jan 2003 11:18:25 +0000 (11:18 +0000)]
Fix of typecast malloc

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

21 years ago* src/mcs51/peeph.def: Frieder: removed 237, obsolete by 236g and 105; added 237 a/b
bernhardheld [Sun, 19 Jan 2003 22:04:45 +0000 (22:04 +0000)]
* src/mcs51/peeph.def: Frieder: removed 237, obsolete by 236g and 105; added 237 a/b
* src/ds390/peeph.def: Frieder: removed 237, obsolete by 236g and 105; added 237 a/b

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

21 years ago../m
bernhardheld [Sun, 19 Jan 2003 17:41:58 +0000 (17:41 +0000)]
../m

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

21 years agocreated by configure
johanknol [Sun, 19 Jan 2003 12:30:29 +0000 (12:30 +0000)]
created by configure

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

21 years agomoved tinitalk to device/examples/ds390
bernhardheld [Sat, 18 Jan 2003 23:47:14 +0000 (23:47 +0000)]
moved tinitalk to device/examples/ds390

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

21 years agofixed bug #655842
johanknol [Thu, 16 Jan 2003 08:39:32 +0000 (08:39 +0000)]
fixed bug #655842

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

21 years agoreset linenumber when sourcefile changed
johanknol [Thu, 16 Jan 2003 08:37:21 +0000 (08:37 +0000)]
reset linenumber when sourcefile changed

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

21 years agofixed bug 663530
epetrich [Wed, 15 Jan 2003 15:37:34 +0000 (15:37 +0000)]
fixed bug 663530

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

21 years ago* as/mcs51/lkmem.c: rflag is for DS390
bernhardheld [Tue, 14 Jan 2003 22:32:12 +0000 (22:32 +0000)]
* as/mcs51/lkmem.c: rflag is for DS390
* src/SDCCglobl.h: removed out_name and options stackOnData, genericPtr
* src/SDCCmain.c (optionsTable, setDefaultOptions): removed --stack-after-data and --generic
 (linkEdit): move mem- and map-files the same way as ihx-files
* src/z80/main.c (_setDefaultOptions): removed --generic
* src/SDCCmain.c (_processC1Arg, parseCmdLine, main): --c1mode works again
* src/SDCCglue.c (createInterruptVect, glue): --c1mode works again
* src/pic/glue.c (picglue): --c1mode works again
* src/pic16/glue.c (pic16glue): --c1mode works again
* src/asm.c (printCLine): fix #660034

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

21 years ago* support/regression/ports/*/spec.mk: moving testfwk-object to port dir allow paralle...
bernhardheld [Mon, 13 Jan 2003 21:11:58 +0000 (21:11 +0000)]
* support/regression/ports/*/spec.mk: moving testfwk-object to port dir allow parallel execution of regression tests
                                      remove --stack-after-data

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

21 years ago* src/ds390/peeph.def: #237 another rule from Frieder
bernhardheld [Mon, 13 Jan 2003 20:33:22 +0000 (20:33 +0000)]
* src/ds390/peeph.def: #237 another rule from Frieder
* src/mcs51/peeph.def: #237 another rule from Frieder

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

21 years ago* src/ds390/peeph.def: fix #123; add 14 rules by Fiorenzo D. Ramaglia <fd.ramaglia...
bernhardheld [Mon, 13 Jan 2003 14:38:14 +0000 (14:38 +0000)]
* src/ds390/peeph.def: fix #123; add 14 rules by Fiorenzo D. Ramaglia <fd.ramaglia@tin.it>
* src/mcs51/peeph.def: fix #123; add 14 rules by Fiorenzo
* src/mcs51/gen.c (genFunction): emit r0 instead of ar0 by Fiorenzo
* as/mcs51/lkmem (summary): better fix for sp problem
* src/SDCCglue.c (glue): __start_stack - 1, saves 1 byte!
* src/ds390/main.c (_ds390_finaliseOptions, _tininative_finaliseOptions): stack_loc = 0x400008

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

21 years ago* src/SDCCmain.c (main): port->finaliseOptions() moved for z80 linking
bernhardheld [Sun, 12 Jan 2003 21:30:59 +0000 (21:30 +0000)]
* src/SDCCmain.c (main): port->finaliseOptions() moved for z80 linking
* src/SDCCutil.c (join): ugly bug: missing '\0'
* as/mcs51/lkmem.c (summary): sp on address 7 is save

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

21 years ago* src/SDCCmain.c (assemble, linkEdit): preparations for -o
bernhardheld [Sat, 11 Jan 2003 14:07:54 +0000 (14:07 +0000)]
* src/SDCCmain.c (assemble, linkEdit): preparations for -o
* src/port.h: typo
* src/pic/main.c (_asmCmd): gpasm supports -o
* device/lib/Makefile.in: remove intermediate files

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

21 years ago* src/SDCCmain.c (assemble, linkEdit): preparations for -o
bernhardheld [Sat, 11 Jan 2003 13:56:08 +0000 (13:56 +0000)]
* src/SDCCmain.c (assemble, linkEdit): preparations for -o
* src/port.h: typo
* src/pic/main.c (_asmCmd): gpasm supports -o
* device/lib/Makefile.in: remove intermediate files

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

21 years agonew option -o
bernhardheld [Sat, 11 Jan 2003 01:40:30 +0000 (01:40 +0000)]
new option -o

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

21 years agosome more tests
johanknol [Fri, 10 Jan 2003 16:42:22 +0000 (16:42 +0000)]
some more tests

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

21 years ago* src/mcs51/gen.c (genPlus): replaced "mov b,acc" by "mov b,a" Fiorenzo D. Ramaglia...
bernhardheld [Thu, 9 Jan 2003 10:43:23 +0000 (10:43 +0000)]
* src/mcs51/gen.c (genPlus): replaced "mov b,acc" by "mov b,a" Fiorenzo D. Ramaglia <fd.ramaglia@tin.it>

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

21 years agofixed bug#600035
johanknol [Tue, 7 Jan 2003 19:42:41 +0000 (19:42 +0000)]
fixed bug#600035

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

21 years ago* as/mcs51/lkmem.c: added several l-modifiers to printf to remove warnings
bernhardheld [Tue, 7 Jan 2003 16:09:05 +0000 (16:09 +0000)]
* as/mcs51/lkmem.c: added several l-modifiers to printf to remove warnings
* as/mcs51/lkaomf51.c: #include <ctype.h> to remove warnings
* src/pic/main.c (_hasNativeMulFor): outcommented unused variables to remove warnings
* src/pic/pcode.c: outcommented unused variable to remove warnings
* src/pic/ralloc.c: outcommented unused variable to remove warnings

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

21 years agoFix of cl_cmdline::syntax_match
drdani [Tue, 7 Jan 2003 09:01:20 +0000 (09:01 +0000)]
Fix of cl_cmdline::syntax_match

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

21 years agofix s51 for regression test
kbongers [Mon, 6 Jan 2003 20:40:05 +0000 (20:40 +0000)]
fix s51 for regression test

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

21 years agofixed check_syntax(), "break xram r 0x7654" did not work.
kbongers [Mon, 6 Jan 2003 20:35:45 +0000 (20:35 +0000)]
fixed check_syntax(), "break xram r 0x7654" did not work.

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

21 years agofixed array add
johanknol [Mon, 6 Jan 2003 12:30:51 +0000 (12:30 +0000)]
fixed array add

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

21 years ago* sim/ucsim/z80.src/inst.cc: #include <stdarg.h> for gcc 3.2
bernhardheld [Sun, 5 Jan 2003 19:04:48 +0000 (19:04 +0000)]
* sim/ucsim/z80.src/inst.cc: #include <stdarg.h> for gcc 3.2

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

21 years ago* src/SDCCmacro.c: MAX_STRING_LENGTH increased to 2048; was too small for regression...
bernhardheld [Sun, 5 Jan 2003 17:57:09 +0000 (17:57 +0000)]
* src/SDCCmacro.c: MAX_STRING_LENGTH increased to 2048; was too small for regression tests
* support/regression/ports/host/support.c: #include <stdarg.h> for gcc 3.2

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

21 years agoSmall fix for implicit integral promotion
johanknol [Sun, 5 Jan 2003 16:38:49 +0000 (16:38 +0000)]
Small fix for implicit integral promotion

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

21 years agofinalized the implicit integer promotion
johanknol [Sat, 4 Jan 2003 18:26:51 +0000 (18:26 +0000)]
finalized the implicit integer promotion

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

21 years agofixed the initialized array of structures
johanknol [Sat, 4 Jan 2003 17:24:58 +0000 (17:24 +0000)]
fixed the initialized array of structures

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

21 years agoNews of 0.4.1-pre4
drdani [Fri, 3 Jan 2003 08:53:15 +0000 (08:53 +0000)]
News of 0.4.1-pre4

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

21 years agoRedesigned option handling, start of libtool introduction
drdani [Fri, 3 Jan 2003 08:51:59 +0000 (08:51 +0000)]
Redesigned option handling, start of libtool introduction

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

21 years agoapp.cc appcl.h option.cc optioncl.h moved to parent directory
drdani [Fri, 3 Jan 2003 08:46:38 +0000 (08:46 +0000)]
app.cc appcl.h option.cc optioncl.h moved to parent directory

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

21 years agopreliminary fix for shift and implicit cast
johanknol [Thu, 2 Jan 2003 20:34:46 +0000 (20:34 +0000)]
preliminary fix for shift and implicit cast

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

21 years agoundid the integral promotion fix for now
johanknol [Mon, 30 Dec 2002 11:08:59 +0000 (11:08 +0000)]
undid the integral promotion fix for now

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

21 years agofixed typo lkomf51.o -> lkaomf51.o
jesusc [Sun, 29 Dec 2002 21:12:54 +0000 (21:12 +0000)]
fixed typo lkomf51.o -> lkaomf51.o

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

21 years agoas/mcs51/Makefile.bcc: fixed typo lkomf51.o -> lkaomf51.o
jesusc [Sun, 29 Dec 2002 21:12:10 +0000 (21:12 +0000)]
as/mcs51/Makefile.bcc: fixed typo lkomf51.o -> lkaomf51.o

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

21 years agopromote operand instead of result for +-*
johanknol [Sun, 29 Dec 2002 10:37:59 +0000 (10:37 +0000)]
promote operand instead of result for +-*

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

21 years ago* src/mcs51/peeph.def: added rules 234 and 235 from Frieder Ferlemann \<frieder.ferle...
bernhardheld [Sat, 28 Dec 2002 21:26:01 +0000 (21:26 +0000)]
* src/mcs51/peeph.def: added rules 234 and 235 from Frieder Ferlemann \<frieder.ferlemann@web.de\>* support/regression/tests/bug-524697.c: fit mem usage into 8032

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

21 years agosrc/mcs51/gen.c (aopGetUsesAcc): inserted missing "return FALSE"
bernhardheld [Sat, 28 Dec 2002 20:44:29 +0000 (20:44 +0000)]
src/mcs51/gen.c (aopGetUsesAcc): inserted missing "return FALSE"

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

21 years agofixed the implicit integral promotion as in
johanknol [Sat, 28 Dec 2002 13:16:48 +0000 (13:16 +0000)]
fixed the implicit integral promotion as in
https://sourceforge.net/forum/message.php?msg_id=1807843

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

21 years agofixed typo lkomf51.o -> lkaomf51.o
bernhardheld [Fri, 27 Dec 2002 12:59:51 +0000 (12:59 +0000)]
fixed typo lkomf51.o -> lkaomf51.o

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

21 years agoadded option --no-xinit-opt
johanknol [Fri, 27 Dec 2002 11:51:33 +0000 (11:51 +0000)]
added option --no-xinit-opt

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

21 years agoas/mcs51/Makefile.in: fixed typo lkomf51.o -> lkaomf51.o
bernhardheld [Fri, 27 Dec 2002 11:22:16 +0000 (11:22 +0000)]
as/mcs51/Makefile.in: fixed typo lkomf51.o -> lkaomf51.o

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

21 years agosrc/mcs51/main.c: removed {bindir}{sep} from aslink
bernhardheld [Thu, 26 Dec 2002 17:53:49 +0000 (17:53 +0000)]
src/mcs51/main.c: removed {bindir}{sep} from aslink

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

21 years agoExtended address of ds390 not supported in Intel omf51
jesusc [Sun, 15 Dec 2002 23:04:48 +0000 (23:04 +0000)]
Extended address of ds390 not supported in Intel omf51

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