]>
git.gag.com Git - fw/sdcc/log
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
jesusc [Sun, 15 Dec 2002 23:03:58 +0000 (23:03 +0000)]
Correct size check of XRam and Code for ds390
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2117
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Thu, 12 Dec 2002 01:16:50 +0000 (01:16 +0000)]
Corrected a bug when the CDB file does not propperly mark a function end.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2116
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Wed, 11 Dec 2002 12:04:59 +0000 (12:04 +0000)]
When generating aomf51 file, corrected bug in static functions, and a bug
when including debug information from the libraries.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2115
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Wed, 11 Dec 2002 07:22:57 +0000 (07:22 +0000)]
Added support to generate aomf51 file. (Basic Intel support, no Keil
extensions yet)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2114
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Wed, 11 Dec 2002 07:16:58 +0000 (07:16 +0000)]
Added two new source files to the project: lkmem.c and lkaomf51.c
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2113
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Wed, 11 Dec 2002 07:14:50 +0000 (07:14 +0000)]
Change extension 'cdb' to 'adb', so the linker doesn't overwrite the first file
wrecking its content.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2112
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
sdattalo [Sun, 1 Dec 2002 03:24:42 +0000 (03:24 +0000)]
Added the pic16 port for Martin Dubuc.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2111
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Sat, 9 Nov 2002 23:42:05 +0000 (23:42 +0000)]
aslink for mcs51 now uses --iram-size.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2110
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Sat, 9 Nov 2002 23:40:08 +0000 (23:40 +0000)]
Now reports memory usage using the value from option --iram-size.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2109
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
wiml [Sun, 6 Oct 2002 08:38:57 +0000 (08:38 +0000)]
Give the argument of isCommutativeOp() the correct type.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2108
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bela [Mon, 30 Sep 2002 06:36:55 +0000 (06:36 +0000)]
IE__EA__EC__ET2__ES__ET1__EX1__ET0__EX0 sbit definitions corrected
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2107
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Fri, 20 Sep 2002 17:25:51 +0000 (17:25 +0000)]
added boundary check before using dram[] array.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2106
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
wiml [Fri, 20 Sep 2002 17:25:21 +0000 (17:25 +0000)]
Test pointer for NULL *before* dereferencing it, not immediately after (fix crash reported by Jesus Calvino-Fraga)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2105
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Fri, 20 Sep 2002 17:24:49 +0000 (17:24 +0000)]
sdcc\as\mcs51\lklist.c: added boundary check before using dram[] array.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2104
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bela [Thu, 19 Sep 2002 10:08:22 +0000 (10:08 +0000)]
Philips P89C668 support added by Eric Limpers
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2103
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
wiml [Thu, 19 Sep 2002 06:52:00 +0000 (06:52 +0000)]
fixed the stupid mistake I made in genMinus()
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2102
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
wiml [Thu, 19 Sep 2002 00:31:34 +0000 (00:31 +0000)]
Applying patch #609842: Fixes to mcs51 register allocation (bug #542397)
and some changes to the code generated by genPlus() and genMinus().
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2101
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bela [Wed, 11 Sep 2002 10:01:17 +0000 (10:01 +0000)]
Atmel T89C51RD2 support added
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2100
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Mon, 9 Sep 2002 09:52:31 +0000 (09:52 +0000)]
Fixed incorrect number of parameters to sprintf() of file sdcc\as\mcs51\lklist.c, line 1267.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2099
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Mon, 9 Sep 2002 09:50:33 +0000 (09:50 +0000)]
Fixed incorrect number of parameters to sprintf() in line 1267.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2098
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Sun, 8 Sep 2002 19:01:18 +0000 (19:01 +0000)]
Create REG_BANK_[0-3] areas only for 8051 like ports.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2097
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Wed, 4 Sep 2002 09:51:45 +0000 (09:51 +0000)]
Creation of default areas. Improved memory usage. Stack diagnostics.
Delegates data and stack allocation to aslink. Creates areas for register
banks.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2096
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Wed, 4 Sep 2002 09:50:24 +0000 (09:50 +0000)]
Delegates data and stack allocation to aslink. Creates areas for register
banks.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2095
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Wed, 4 Sep 2002 09:44:53 +0000 (09:44 +0000)]
Creation of default areas. Improved memory usage. Stack diagnostics.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2094
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Tue, 3 Sep 2002 18:30:10 +0000 (18:30 +0000)]
introduced atexit() handler for teporay files removal in case of errors, assertions, ...
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2093
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
drdani [Mon, 2 Sep 2002 07:34:03 +0000 (07:34 +0000)]
fix of bug #533274
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2092
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Thu, 29 Aug 2002 18:33:59 +0000 (18:33 +0000)]
re-definition of O_BINARY and other O_XXX as _O_BINARY and _O_XXX
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2091
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Thu, 29 Aug 2002 16:30:36 +0000 (16:30 +0000)]
corrected improper use of assert
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2090
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Wed, 28 Aug 2002 22:09:34 +0000 (22:09 +0000)]
a better fix
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2089
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Wed, 28 Aug 2002 20:37:09 +0000 (20:37 +0000)]
src/SDCCglue.c (printIvalArray): iterative calculation of array length
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2088
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 28 Aug 2002 12:46:49 +0000 (12:46 +0000)]
added
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2087
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 28 Aug 2002 12:13:11 +0000 (12:13 +0000)]
2002-08-28 Jesus Calvino-Fraga and Borut Razem <borut.razem@siol.net>
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2086
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 28 Aug 2002 12:11:36 +0000 (12:11 +0000)]
removed from CVS, generated automatically
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2085
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 28 Aug 2002 11:53:52 +0000 (11:53 +0000)]
added - genarate auto-host.h using auto-host_vc_in.h as template
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2084
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 28 Aug 2002 11:50:24 +0000 (11:50 +0000)]
added - VC project for sdcpp
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2083
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 28 Aug 2002 11:45:20 +0000 (11:45 +0000)]
added - genarate sdcc_vc.h using sdcc_vc_in.h as template and insert the version number definitions from .version
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2082
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 28 Aug 2002 11:37:38 +0000 (11:37 +0000)]
added sdcpp, sdcppa, yacc, conf projects
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2081
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 28 Aug 2002 11:36:49 +0000 (11:36 +0000)]
- added Release configuration in VS projects
- review of compiler an linker options
- VC .exe files are generated in bin_vc directory, not to interfere
with binaries generated from other projects (cygwin, mingw, bcc ...)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2080
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Sun, 25 Aug 2002 11:36:04 +0000 (11:36 +0000)]
use gputils or gpasm (from Nathan Hurst)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2079
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
michaelh [Sat, 24 Aug 2002 22:56:12 +0000 (22:56 +0000)]
Added limited run support
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2077
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bela [Tue, 13 Aug 2002 14:38:42 +0000 (14:38 +0000)]
added _itoa and _ltoa
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2075
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bela [Mon, 12 Aug 2002 14:09:57 +0000 (14:09 +0000)]
added functions _ltoa _uitoa
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2074
4a8a32a2 -be11-0410-ad9d-
d568d2c75423