virtualization of glue() function: each port has it's own glue function,
[fw/sdcc] / ChangeLog
1 2003-07-02  Borut Razem <borut.razem@siol.net>
2
3         * src/port.h, src/SDCCmain.c, src/pic/glue.h, src/pic/main.c,
4         src/pic16/glue.h, sdcc/src/pic16/main.c, src/izt/i186.c,
5         src/izt/tlcs900h.c, src/avr/main.c, src/ds390/main.c, src/mcs51/main.c,
6         src/xa51/main.c, src/z80/main.c:
7         virtualization of glue() function: each port has it's own glue function,
8         which is accessed by do_glue function pointer in PORT.general structure
9
10 2003-07-01 Kevin Vigor <kevin@vigor.nu>
11
12         * DS800C400 fun, improved ROM interface and tinibios.
13
14 2003-06-27 Kevin Vigor <kevin@vigor.nu>
15
16         * More support for DS80C400. Now includes beginning of interface to ROM.
17
18 2003-06-25  Bernhard Held <bernhard@bernhardheld.de>
19
20         * src/mcs51/gen.c (gencjneshort): fixed bug #760345
21
22 2003-06-20  Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
23
24         * as/mcs51/aomf51.c: Make sure the size of the last procedure is correct.
25
26 2003-06-19  Borut Razem <borut.razem@siol.net>
27
28         * src/z80/main.c: fixed Z80 port again: missing -k library paths in linker command line
29
30 2003-06-19  Borut Razem <borut.razem@siol.net>
31
32         * src/SDCCutil.h, src/SDCCutil.c, src/SDCCglobl.h, src/SDCCmain.c, src/z80/main.c:
33         fixed Z80 port - crt0.o: cannot open.
34
35 2003-06-19  Bernhard Held <bernhard@bernhardheld.de>
36
37         * support/Util/MySystem.c (merge_command): revert bad fix
38
39 2003-06-18  Borut Razem <borut.razem@siol.net>
40
41         * src/SDCC.lex, src/SDCCmain.c: fixed some warnings, introduced with changes made 15.06.1003
42
43 2003-06-18  Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
44
45         * src/SDCCglobl.h, src/SDCCmain.c, doc/sdccman.lyx:
46         option --use-stdout sends errors to stdout instead of stderr.
47
48 2003-06-18  Bernhard Held <bernhard@bernhardheld.de>
49
50         * support/Util/MySystem.c (merge_command): quick fix for Linux segfault with \"cmd\" arg
51
52 2003-06-15  Borut Razem <borut.razem@siol.net>
53
54         * support/cpp2/sdcc.h: HAVE_DOS_BASED_FILE_SYSTEM defined for _WIN32
55         * src/SDCC.lex: cloneXxx and copyAndFreeXxx functions for options and optimize stack handling
56         * src/SDCCglobl.h, src/SDCCmain.c, src/ds390/main.c, src/mcs51/main.c, src/z80/main.c:
57         fixed width array of pointers replaced with sets;
58         multiple include and lib paths ared transferred to preprocessor and linker
59         * src/SDCCset.c, src/SDCCset.h: added function setFromSetNonRev() and mergeSets()
60         * src/SDCCsymt.c: reimplemented function inCalleeSaveList() by using sets instead
61         fixed width array of pointers
62         * src/SDCCutil.c, src/SDCCutil.h: added functions fputStrSet(), appendStrSet(), joinStrSet();
63         removed functions addToList(), join(), joinn(), pathCharsEquivalent(), pathCharTransform(),
64         fixupPath(), getPathDifference()
65         * src/ds390/gen.c, src/mcs51/gen.c: reimplemented function  inExcludeList() by using sets instead
66         fixed width array of pointers
67
68 2003-06-11  Bernhard Held <bernhard@bernhardheld.de>
69
70         * src/pic16/ralloc.c: fix warnings
71         * src/pic16/pcode.c: fix warning
72
73 2003-06-10  Scott Dattalo  <scott@dattalo.com>
74
75          Scott D. for Vangelis Rokas (vrokas@otenet.gr). I (scott) don't
76         know all the details, but essentially this set of changes enable
77         the pic16 port to generate movff instructions and generate assembler
78         directives, 
79         * src/SDCCmain.c: 
80         * src/pic16/gen.c: 
81         * src/pic16/glue.c:
82         * src/pic16/pcode.c:
83         * src/pic16/device.c:
84         * src/pic16/main.c:
85         * src/pic16/pcode.h:
86         * src/pic16/pcoderegs.c:
87         * src/pic16/ralloc.c:
88         * src/pic16/ralloc.h:
89
90 2003-06-08  Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
91
92         * support/Util/SDCCerr.c, src/SDCCglobl.h, src/SDCCmain.c, doc/sdccman.lyx:
93         added option --vc, so sdcc errors and warnings are compatible with 
94         Microsoft Visual Studio.
95
96 2003-06-07  Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
97
98         * device/lib/_atof.c, device/lib/Makefile.in, device/include/stdlib.h,
99           device/lib/libfloat.lib: added atof function.
100
101 2003-06-04  Bernhard Held <bernhard@bernhardheld.de>
102
103         * doc/sdccman.lyx: updated to Lyx 1.3
104         * doc/cdbfileformat.lyx: updated to Lyx 1.3
105         * doc/test_suite_spec.lyx: updated to Lyx 1.3
106         * doc/Makefile: added fix for the \tabularnewline problem, thanks to Jesus
107
108 2003-06-03  Bernhard Held <bernhard@bernhardheld.de>
109
110         * src/SDCCpeeph.c: separate peepRules2pCode() for pic16 by "Vangelis Rokas" <vrokas@otenet.gr>
111
112 2003-06-02  Frieder Ferlemann <Frieder.Ferlemann@web.de>
113
114         * doc/sdccman.lyx: cvs revision keywords, passing pdf information in latex preamble,
115           additions to the "related tools/documentation" section
116
117 2003-06-02  Bernhard Held <bernhard@bernhardheld.de>
118
119         * src/SDCCglue.c (tempfileandname): added check for missing TMP/TEMP/TMPDIR variable
120
121 2003-05-29  Bernhard Held <bernhard@bernhardheld.de>
122
123         * src/pic/device.c: added 16F819, patch by "David I. Lehn" <dlehn@vt.edu>
124         * src/SDCCcse.c (algebraicOpts): fixed "c * 1" 
125
126 2003-05-28  Bernhard Held <bernhard@bernhardheld.de>
127
128         * doc/sdccman.lyx: fix double dash and other minor things
129         * doc/Makefile: fix double dash
130
131 2003-05-28  Karl Bongers(patches from Martin Helmling)
132         * debugger/mcs51/sdcdb.c,cmd.c,break.c and .h files. Martin adds
133           condition and ignore commands.
134
135 2003-05-28  Frieder Ferlemann <Frieder.Ferlemann@web.de>
136
137         * doc/sdccman.lyx: Changes all over, index improved, smaller margins. The manual
138           is in parts still quite out of date, I did changes as far as I felt makes sense
139           for a non-native english speaker.
140           Please feel free to add to the manual or to correct my changes.
141         * doc/Makefile: undid touching the date of intermediate tex files.
142
143 2003-05-26  Frieder Ferlemann <Frieder.Ferlemann@web.de>
144
145         * doc/sdccman.lyx: Manual has an index now
146
147 2003-05-25  Bernhard Held <bernhard@bernhardheld.de>
148
149         Finalize muluint/mulsint and mululong/mulslong merging:
150         * device/lib/_mulint.c
151         * device/lib/_mullong.c
152         * device/lib/gbz80/mul.s
153         * device/lib/gbz80/stubs.s
154         * device/lib/z80/mul.s
155         * device/lib/z80/stubs.s
156         * src/SDCCsymt.c (initCSupport)
157
158 2003-05-25  Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
159
160         * as/mcs51/lkaomf51.c: Address space 'z' was missing.
161         * src/avr/avr.dsp, src/ds390/ds390.dsp, src/mcs51/mcs51.dsp,
162           src/pic/pic.dsp, src/pic16/pic16.dsp, src/xa51/xa51.dsp,
163           src/x80/z80.dsp: peep.rul is bigger now, so /Zm1000 is used
164           instead of /Zm500.
165
166 2003-05-25  Frieder Ferlemann <Frieder.Ferlemann@web.de>
167
168         * src/mcs51/peeph.def: added rules 244.x, 245.x. Although they pass
169           the regression tests I'm not brave enough to enable 245.b, 245.c
170         * doc/sdccman.lyx: added latex preamble for hyperref package.
171           Using pdflatex this will give you a hyperlinked pdf file with
172           bookmarks. (prepend '%' before /usepackage if this breaks something)
173
174 2003-05-24  Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
175
176          * doc/sdccman.lyx: updated information about .adb files (fixed bug 742649)
177          
178 2003-05-22  Bernhard Held <bernhard@bernhardheld.de>
179
180         * src/pic16/pcode.c (pic16_get_op_from_instruction): fixed a gcc 3.x warning
181
182 2003-05-21    <johan@balder>
183
184         * src/SDCCglue.c (printIval): fixed bug #739934
185
186 2003-05-19  Bernhard Held <bernhard@bernhardheld.de>
187
188         Applied patch from bug 737905 (renamed yylineo to mylineno):
189         * src/altlex.c
190         * src/SDCCast.c
191         * src/SDCglobl.h
192         * src/SDCC.lex
193         * src/SDCCsymt.c
194         * src/SDCCval.c 
195         * src/pic16/pcode.c: Cleaned warnings
196         * src/pic16/pcodeflow.c: Cleaned warnings
197         * src/pic16/pcoderegs.c: Cleaned warnings
198
199 2003-05-19  Scott Dattalo  <scott@dattalo.com>
200
201         * src/pic16/pcode.c: Cleaned warnings
202         * src/pic16/pcodepeep.c: Cleaned warnings
203         * src/pic16/ralloc.c: Cleaned warnings
204
205 2003-05-19  Bernhard Held <bernhard@bernhardheld.de>
206
207         * doc/sdccman.lyx: fixed bug 739745
208         * src/pic16/pcode.c (pic16_get_op): fixed warning on alpha
209
210 2003-05-18  Bernhard Held <bernhard@bernhardheld.de>
211
212         * src/port.h: removed DEFAULT_PORT, it's not yet pic16 ;-)
213         it can be defined with CFLAGS when running configure
214         * src/SDCCmain.c: fixed compiling + linking with object files
215
216 2003-05-18  Vangelis Rokas (vrokas@otenet.gr)
217
218         * configure.in: configure for pic16 port,
219             added --disable-pic16-port
220         * sdccconf_in.h: added macro OPT_DISABLE_PIC16
221         * src/SDCCmain.c: linkOptions is changed to set *,
222             added if/endif conditional macros to remove options help
223             messages from optionsTable when a port is not configured, added
224             support for the PIc16 port in the ports table, when executing
225             the compiler with no port specified on command line, a default
226             port is selected with the new macro DEFAULT_PORT which is
227             defined in port.h, in setDefaultOptions() linkOptions is removed
228             from initialization assignment, since now it is a set,
229             parseCmdLine uses setParseWithComma for linkOptions, in
230             linkEdit() linkOptions are accessed with new function indexSet()
231             which returns the i'th item of a set variable. See SDCCset.c, in
232             linkEdit() when calling buildCmdLine(), added linkOptions as
233             last argument. Now users can pass arguments to gplink via the
234             -Wl option, main() uses pic16glue() to glue up pic16 programs
235         * src/SDCCpeeph.c: various changes to support pic16
236         * src/SDCCset.c: added function  void *indexSet(set *, int)  to
237             return the i'th item of the set
238         * src/SDCCset.h: added function prototype for indexSet()
239         * src/SDCCsymt.c: in checkSClass(), added support for PIC16
240         * src/clean.mk: added pic16 in CLEANALLPORTS variable
241         * src/port.h: added TARGET_ID_PIC16,TARGET_IS_PIC16 macro,
242             added macro DEFAULT_PORT
243         * src/pic/main.c: corrected arguments of gplnk in _linkCmd
244         * src/pic16/gen.c: bug fix in genCpl(), now the correct code is
245             generated
246         * src/pic16/glue.c: commented out some error producing lines
247         * src/pic16/main.c: __config directives are commented out to stop
248             gpasm complaining and test the linkage with gplink, _linkCmd and
249             _asmCmd changed to be more gplink and gpasm friendly
250         * src/pic16/peeph.def: peep rule 3 is commented out, since it
251             produced an error when parsed, peep rule 12 is added to utilize
252             movff, but it is commented out since the pCode does not support
253             yet a command with 2 address arguments
254
255 2003-05-18    <johan@balder>
256
257         * src/ds390/gen.c (genArrayInit): removed obsolete and buggy ARRAYINIT
258         * src/ds390/main.c (genArrayInit): removed obsolete and buggy ARRAYINIT
259 2003-05-17  Karl Bongers(apply patches from Martin Helmling)
260
261         * debugger/mcs51/sdcdb.c,cmd.c,break.c and .h files.
262   Added feature to script commands from file.
263
264 2003-05-14  Bernhard Held <bernhard@bernhardheld.de>
265
266         * device/lib/_strtok.c: fixed bug #734355 by Lenny Story and Tim Woodall
267         * src/SDCCutil.c: include ctype.h for win32
268
269 2003-05-13  Bernhard Held <bernhard@bernhardheld.de>
270
271         * src/pic16/*: removed CR from many files, reported by Vangelis Rokas
272
273 2003-05-12  Karl Bongers(apply development patches from Martin Helmling)
274
275         * debugger/mcs51/sdcdb.c,simi.c,cmd.c,break.c and .h files.
276   Fixed so you can set breakpoints prior to run, run does not stop
277   on entry now.  Add tbreak.  Other enhancements and fixes for use
278   with ddd.
279
280 2003-05-12  Borut Razem <borut.razem@siol.net>
281
282         * src/SDCCmain.c: fixed the problem with searching the DATADIR as the last resort on *nix
283
284 2003-05-11  Borut Razem <borut.razem@siol.net>
285
286         * src/SDCCutil.c: WIN32 version of getBinPath() calls GetModuleFileName() to determine
287         the path of bin directory, so that PATH is the only env. variable, which has to be set
288         in case of standard installation.
289         * src/ds390/ds390.dsp: increased value of /Zm option to 1000
290         * src/pic/main.c: add quotes to file name parameters for gplink and gpasm
291         * src/SDCCglobl.h, src/SDCCmain.c, doc/sdccman.lyx: added --print-search-dirs command line option
292
293 2003-05-04  Bernhard Held <bernhard@bernhardheld.de>
294
295         * src/SDCCmain.c (linkEdit): fixed buffer overflow for gbz80
296         * support/regression/Makefile: inter-port-clean is no longer nesessary, the
297         temp files are in the port dir; clean the gen/test directory when
298         generating new test.c
299         * support/regression/ports/host/spec.mk: defined OBJEXT for target clean
300         * support/regression/tests/vaargs.c: fixed gcc 3.3 warning
301         * support/regression/tests/zeropad.c: added
302
303 2003-05-09    <johan@balder>
304
305         * src/SDCCglue.c: fixed bug #597940
306
307 2003-05-05  Karl Bongers(apply patches from Martin Helmling)
308
309         * debugger/mcs51/sdcdb.c,simi.c,cmd.c,symtab.c and .h files.
310   cache sfr, optimize next,step, fix off by one sourceline,
311   support ddd list function.
312         * sim/ucsim/cmd.src/newcmd.cc - small fix for sdcdb use.
313
314 2003-05-04  Bernhard Held <bernhard@bernhardheld.de>
315
316         * support/regression/HTMLgen.py: added compare_s2f()
317         * support/regression/Makefile: redo 1.27
318         * support/regression/generate-cases.py: redo 1.5
319
320 2003-04-30  Bernhard Held <bernhard@bernhardheld.de>
321
322         * support/regression/tests/float.c: workaround 33 bit hex constant
323         * support/regression/tests/simplefloat.c: fix division for host
324
325 2003-04-29  Scott Dattalo  <scott@dattalo.com>
326
327         * src/pic/pcoderegs.c Applied patch from Jim Hawkridge <jim@jimhawkridge.uk.eu.org>
328         that tame's the PIC's over-aggressive optimizer.
329
330 2003-04-29  Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
331
332          * src.dsw, link/z80/aslink.h, link/z80/linkz80.dsp: z80 linker
333          support for MSVC.
334          
335 2003-04-29  Kevin Vigor <kevin@vigor.nu>
336
337         Initial support for DS80C400. "Hello world" runs on TINIm400
338         (with polled I/O).
339
340 2003-04-28  Karl Bongers(apply patches for Martin Helmling)
341
342          * debugger/mcs51/sdcdb.c,simi.c,cmd.c,symtab.c and .h files.
343          * Some notes on ddd usage added in debugger/README
344          Martin Helmling adding more features and fixes for ddd GUI debugger.
345          Code added for nexti, stepi, up, down, and other adjustments.
346
347 2003-04-28  Scott Dattalo  <scott@DATTALO.COM>
348
349         * src/pic/pCodepeep.c non-wildcard asmops are now handled
350         * src/pic/peeph.def Added two rules to optimize carry manipulation
351         * src/pic/* removed debug printfs
352
353 2003-04-28  Bernhard Held <bernhard@bernhardheld.de>
354
355         * debugger/mcs51/cmd.c: added header newalloc.h
356
357 2003-04-26  Bernhard Held <bernhard@bernhardheld.de>
358
359         * as/Makefile: new EXEEXT
360         * as/z80/Makefile: remove trailing slash of BUILDIR
361         * as/z80/clean.mk: new EXEEXT
362         * Makefile.common.in: add to CFLAGS (and others), don't replace it
363         * support/cpp2/Makefile.in: new EXEEXT
364         * src/pic/glue.c (pic14emitRegularMap): fixed warning
365
366 2003-04-24  Bernhard Held <bernhard@bernhardheld.de>
367
368         Cygwin's gcc always appends .exe: 'gcc -o a a.c' creates a.exe;
369         EXEEXT was introduced to fix all related problems with targets
370         "clean", "install" and "uninstall"; a couple of further flaws
371         especially with "clean" have been fixed too
372         * as/mcs51/Makefile.in
373         * as/mcs51/clean.mk
374         * as/z80/Makefile
375         * Makefile
376         * clean.mk
377         * debugger/mcs51/Makefile.in
378         * debugger/mcs51/clean.mk
379         * link/z80/Makefile
380         * link/z80/Makefile.in
381         * link/z80/clean.mk
382         * link/Makefile
383         * packihx/Makefile.in
384         * packihx/clean.mk
385         * sim/ucsim/Makefile
386         * sim/ucsim/clean.mk
387         * sim/ucsim/avr.src/Makefile.in
388         * sim/ucsim/avr.src/clean.mk
389         * sim/ucsim/s51.src/Makefile.in
390         * sim/ucsim/s51.src/clean.mk
391         * sim/ucsim/xa.src/Makefile.in
392         * sim/ucsim/xa.src/clean.mk
393         * sim/ucsim/z80.src/Makefile.in
394         * sim/ucsim/z80.src/clean.mk
395         * sim/ucsim/main_in.mk
396         * sim/ucsim/packages_in.mk
397         * sim/ucsim/gui.src/Makefile.in
398         * sim/ucsim/gui.src/serio.src/Makefile.in
399         * sim/ucsim/gui.src/serio.src/clean.mk
400         * src/Makefile.in
401         * src/clean.mk
402         * support/cpp2/Makefile.in
403         * support/cpp2/clean.mk
404         * support/makebin/Makefile
405         * support/makebin/clean.mk
406         * support/scripts/sdcc_mingw32: --program-suffix no longer needed
407         * doc/sdccman.lyx: --program-suffix no longer needed
408
409 2003-04-23  Karl Bongers(apply patches for Martin Helmling)
410
411          * debugger/mcs51/sdcdb.c,simi.c,cmd.c,..
412          Martin Helmling added support for ddd GUI debugger.
413          Code added to display assembly, set variables, and other commands
414          to interface to ddd.
415
416 2003-04-23  Bernhard Held <bernhard@bernhardheld.de>
417
418         * as/Makefile: fix target clean
419         * as/clean.mk: fix target clean
420         * as/z80/clean.mk: fix target clean
421
422 2003-04-22  Bernhard Held <bernhard@bernhardheld.de>
423
424         * Makefile.common.in: added @EXEEXT@
425         * configure.in: removed all mingw32 stuff
426         * configure: rebuilt from configure.in
427         * doc/sdccman.lyx: updated section "installation"
428         * support/scripts/sdcc_mingw32: adapted to configure
429         * support/scripts/sdcc_cygwin_mingw32: added
430
431 2003-04-22  Scott Dattalo  <scott@dattalo.com>
432
433         * src/pic Added object file support for the PIC port
434         * src/pic Applied patch from Craig Franklin (this started the object file support)
435         * src/regression Updated the PIC regression tests for object files
436
437 2003-04-20  Borut Razem <borut.razem@siol.net>
438
439         * sdcc/as/mcs51/lklex.c: make getfid() more robust and fixed gcc warning:
440           lklex.c: In function `getfid':
441           lklex.c:203: warning: array subscript has type `char'
442         * src/SDCCglobl.h: small change in stack handling macros, to avoid crash when compiled
443           with MSVC with global optimization enabled (probably an cl compiler bug ;-)
444         * support/Util/SDCCerr.c, support/Util/SDCCerr.h: added function fatal(), called from
445           stack handling macros
446
447 2003-04-19  Borut Razem <borut.razem@siol.net>
448
449         * "handling space characters in file path" task:
450         * src/SDCCmacro.c: fixed bug in handlig quote at the end of line
451         * support/Util/BuildCmd.c: define par as NULL if parameter value is invalid
452         * support/Util/MySystem.h: make it self-sufficient
453         * src/avr/main.c, src/ds390/main.c, src/mcs51/main.c, src/pic/main.c, src/xa51/main.c,
454           src/z80/main.c, sdcc/as/mcs51/lklex.c:
455           handling space characters in file path
456         * src/SDCCmain.c: introduced setDataPaths() function, {datadir} macro
457           (it will be used by assemblers, which have their own includes, e.g. gpasm)
458         * support/Util/MySystem.c: handling space characters in executable's path
459
460 2003-04-19  Bernhard Held <bernhard@bernhardheld.de>
461
462         * as/z80/Makefile: fix permanent rebuild of z80
463         * sim/ucsim/gui.src/Makefile.in: target "install" builds the same packages as target "all"
464         * support/regression/tests/bitfields.c: added Johan's bitfields.c
465
466 2003-04-18      Kevin Vigor <kevin@vigor.nu>
467
468         * src/SDCCopt.c: add special case optimization to replace modulo by
469           a power of two with a bitwise AND.
470
471 2003-04-18    <johan@balder>
472
473         * src/mcs51/gen.c (getFreePtr): fixed bug #635354
474
475 2003-04-17    <johan@balder>
476
477         * src/mcs51/ralloc.c (packRegsForAssign): fixed bug #716790 and removes lot's of redundant register usage around function calls
478         * src/mcs51/ralloc.c (packRegisters): fixed bug #720667
479
480 2003-04-13  Borut Razem <borut.razem@siol.net>
481
482         * doc/sdccman.lyx: updated info about #pragma SAVE/RESTORE nesting
483         * configure.in, configure: fixed problems on cygwin/WinCVS environmet with ports.* line endings;
484           fixed mingw problem in adl_NORMALIZE_PATH
485
486 2003-04-12  Borut Razem <borut.razem@siol.net>
487
488         * fixed "#pragma SAVE/RESTORE can not be nested":
489         * src/SDCC.lex: reworked pragma handling functions
490         * sdcc/src/SDCCglobl.h: reworked stack handling macros
491         * support/Util/SDCCerr.c, support/Util/SDCCerr.h: added E_STACK_VIOLATION error
492
493 2003-04-12  Bernhard Held <bernhard@bernhardheld.de>
494
495         * src/SDCCutil.c (pathEquivalent): defined but not used
496         * debugger/mcs51/sdcdb.c: replace SDCC_LIB_DIR
497         * configure.in: remove sdcc_datadir, sdcc_lib_dir and sdcc_include_dir
498         * configure: rebuilt from configure.in
499         * sdccconf_in.h: remove SDCC_LIB_DIR and SDCC_INCLUDE_DIR
500         * sdcc_vc_in.h: remove SDCC_LIB_DIR and SDCC_INCLUDE_DIR
501         * device/include/Makefile.in: replace sdcc_datadir
502         * device/lib/Makefile.in: replace sdcc_datadir
503         * Makefile.common.in: add LDFLAGS from configure
504         * packihx/Makefile.in: use LDFLAGS
505         * src/Makefile.in: use LDFLAGS
506         * support/cpp2/Makefile.in: add LDFLAGS from configure
507         * support/makebin/Makefile: use LDFLAGS
508         * .version: bumped version number to 2.3.5
509
510 2003-04-12  Borut Razem <borut.razem@siol.net>
511
512         * completed "different paths" task:
513         * src/SDCCmacro.c: fixed bug in handling quotes
514         * src/SDCCutil.c, src/SDCCutil.c: rewritten getPrefixFromBinPath()
515         * src/SDCCmain.c: _discoverPaths() replaced with setBinPaths(), setIncludePath() and setLibPath()
516
517 2003-04-12  Bernhard Held <bernhard@bernhardheld.de>
518
519         * src/pic/pcoderegs.c (Remove1pcode): fix warning on alpha
520
521 2003-04-11 kevin Vigor <kevin@vigor.nu>
522
523         * ds390/gen.c ds390/peeph.def: fix bug 706781
524
525 2003-04-11  Borut Razem <borut.razem@siol.net>
526
527         * support/Util/dbuf.c, support/Util/dbuf.h: update to version 1.1.1 - re-added C++ stuff to make it still more portable
528
529 2003-04-10  Scott Dattalo  <scott@dattalo.com>
530
531         * src/pic/* Applied the pointer-to-function patch from Steve Tell.
532         * src/pic/* Fixed several pointer bugs. (PIC port broke when the ruonly bit was
533          set - this bit used to not be set...).
534         * src/pic/gen.c Fixed buf 609268 ==> x = (x+1) & 0xf; generated 
535           bad code in PIC Port
536         * src/regression/and2.c added to test bug 609268
537         * src/regression/Makefile added and2.c to regression test
538
539
540 2003-04-08    <johan@CP255758-A>
541
542         * src/mcs51/gen.c (gen51Code): display reg usage in --icode-in-asm
543         * src/mcs51/ralloc.c (serialRegAssign): update the registers in use and save some slocs
544         * src/SDCCicode.h: added riu to show the register usage in --icode-in-asm
545
546 2003-04-07  Bernhard Held <bernhard@bernhardheld.de>
547
548         * configure.in: fully support prefix, exec_prefix, datadir, docdir;
549         fix bug #487815
550         * support/cpp2/Makefile.in: fix bug #487815
551         * configure: rebuilt from configure.in
552         * Makefile.common.in: docdir changed, new path suffixes
553         * sdccconf_in.h: new RETSIGTYPE, and other PATHs
554         * sdcc_vc_in.h: reflect changes from sdccconf.h
555         * src/SDCCglobl.h: remove *SEPARATOR_CHARS, they are now in sdccconf.h
556         * src/SDCCutil.h: remove BINDIR hack
557         * doc/sdccman.lyx: update new path hierarchy
558
559 2003-04-06    Paul Stoffregen <paul@pjrc.com>
560
561         * src/SDCCpeeph.c: added okToRemoveSLOC test
562
563 2003-04-06    Paul Stoffregen <paul@pjrc.com>
564
565         * device/lib/printf_fast.c: added leading zero format ("%06d", etc)
566
567 2003-04-06    Paul Stoffregen <paul@pjrc.com>
568
569         * src/SDCCpeeph.c: added labelIsReturnOnly test
570         * src/mcs51/peeph.def: Peephole 244: replace ljmp to ret with ret
571
572 2003-04-05    <johan@balder>
573
574         * src/SDCCcse.c (cseAllBlocks): fixed bug #460088
575         * src/SDCCloop.c (DEFSETFUNC): fixed bug #460088
576         * src/SDCCopt.c (eBBlockFromiCode): fixed bug #460088
577         * src/SDCCast.c: fixed a warning
578         * src/SDCCast.h: fixed a warning
579         * src/SDCCicode.c (operandFromAst): fixed a warning
580
581 2003-04-04    <johan@balder>
582
583         * src/SDCCloop.c (DEFSETFUNC): undid the fix for bug #519584
584         * src/SDCCast.c (decorateType): fixed bug #715076
585         * src/SDCC.y: fixed bug #702907
586
587 2003-04-03    <johan@balder>
588
589         * device/lib/_mulint.c (_muluint): new #pragma LESS_PEDANTIC
590         * src/SDCCopt.c (eBBlockFromiCode): new #pragma LESS_PEDANTIC
591         * src/SDCCglobl.h (PRAGMA_LESSPEDANTIC): new #pragma LESS_PEDANTIC
592         * src/SDCC.lex (doPragma): new #pragma LESS_PEDANTIC
593         * src/SDCCmain.c (parseCmdLine): new #pragma LESS_PEDANTIC
594
595 2003-04-03  Bernhard Held <bernhard@bernhardheld.de>
596
597         * _decdptr.c: fix return values
598         * _gptrget.c: fix return values
599         * _gptrgetc.c: fix return values
600         * _gptrput.c: fix return values
601         * _mulint.c: fix return values
602         * as/z80/Makefile: fix 'make -j' problem
603
604 2003-04-02  Bernhard Held <bernhard@bernhardheld.de>
605
606         * Makefile.common.in: unused PORT, SCC and SAS removed, fixed docdir
607         * configure.in: big cleanup, updated to autoconf 2.5x
608         * configure: rebuilt from configure.in
609         * sdccconf_in.h: new RETSIGTYPE, and other PATHs
610         * sdcc_vc_in.h: reflect changes from sdccconf.h
611         * doc/Makefile: fixed a flaw in "make install"
612
613 2003-04-02    <johan@balder>
614
615         * src/ds390/gen.c (genCmp): no comments
616         * src/mcs51/gen.c (genCmp): no comments
617         * src/SDCCopt.c (eBBlockFromiCode): detect missing return values
618         * src/SDCCast.c (ast_print): fixed the function type in --dumptree
619
620 2003-04-01  Bernhard Held <bernhard@bernhardheld.de>
621
622         * support/regression/generate-cases.py: place generated file in given sub directory
623         * support/regression/ports/host/spec.mk: prevent removal of testfwk.o
624         * support/regression/Makefile: improvements for 'make -j';
625         side effect: it's simpler and faster now
626
627 2003-03-31  Borut Razem <borut.razem@siol.net>
628
629         * src/z80/main.c: link-{port} and as-{port} defined without path
630         * src/src.dsp: support/Util/MySystem.h and src/SDCCutil.h added to project
631
632 2003-03-31  Bernhard Held <bernhard@bernhardheld.de>
633
634         * Makefile, src/Makefile.in: add dependencies, so that 'make -j' works
635
636 2003-03-30  Borut Razem <borut.razem@siol.net>
637
638         * support/Util/BuildCmd.c, support/Util/BuildCmd.h: rewrite buildCmdLine(),
639           changed type of list parameter to set
640         * src/ds390/main.c: changed type of parameter asmOptions to set in _tininative_do_assemble()
641         * src/port.h: changed type of do_assemble() parameter to set
642         * src/SDCCmain.c: type of asmOptions changed to set, introduced setParseWithComma(),
643           sdcpp defined without path, removed variable VersionString, introduced set binPathSet,
644           definition of "cppoutfilename" macro with NULL value in preProcess()
645         * src/SDCCglobl.h: included "SDCCset.h", added declaration of setParseWithComma()
646         * src/SDCCglue.c: removed variable VersionString, inroduced spacesToUnderscores()
647         * support/Util/MySystem.c, support/Util/MySystem.h: rewrite, char *ExePathList[]
648           replaced with set *binPathSet
649         * shash_add() deallocates the item, if allready exsists, before adding the new one
650         * src/SDCCmacro.c: handling macros with empty or NULL values in _evalMacros()
651
652 2003-03-30  Scott Dattalo  <scott@dattalo.com>
653
654         * src/pic/gen.c: Commit patch from Steve Tell <tell@telltronics.org> that fixes
655           a nested for loop bug in the PIC port
656         * src/regression/nestfor.c: new regression test file Steve wrote to test nested
657           for loops
658
659 2003-03-29  Bernhard Held <bernhard@bernhardheld.de>
660
661         * support/Util/dbuf.h: remove C++ stuff to make it portable
662
663 2003-03-28  Borut Razem <borut.razem@siol.net>
664
665         * src/SDCC.lex: Fix for bug #711240: dynamic buffer handling of C
666           literal strings in stringLiteral()
667         * support/Util/dbuf.c, support/Util/dbuf.h: added: dynamic buffer handling
668         * src/Makefile.bcc, src/Makefile.in, src\src.dsp: added support/Util/dbuf.c
669           to the project
670
671 2003-03-27  Paul Stoffregen <paul@pjrc.com>
672
673         * src/SDCCpeeph.c (pcDistance): accurate byte distance for mcs51
674
675 2003-03-26    <johan@balder>
676
677         * src/mcs51/gen.c (saveRegisters): catched symbol abuse
678         * src/ds390/gen.c (saveRegisters): catched symbol abuse
679         * src/SDCCast.c (decorateType): fixed " -v < 3"
680
681 2003-03-23  Bernhard Held <bernhard@bernhardheld.de>
682
683         * doc/cdbfile.html: removed, replaced by cdbfileformat.lyx
684         Added Lenny Story's debug infrastructure changes:
685         * src/Makefile.in:  added new files cdbFile.c and SDCCdebug.c
686         * src/Makefile.bcc: added new files cdbFile.c and SDCCdebug.c
687         * src/cdbFile.c: added
688         * src/SDCCdebug.c: added
689         * src/SDCCdebug.h: added
690         * src/SDCCast.c (createFunction)
691         * src/SDCCglue.c (emitRegularMap, emitStaticSeg, emitOverlay, glue)
692         * src/SDCCmain.c (parseCmdLine, main)
693         * src/SDCCmem.c (redoStackOffsets)
694         * src/SDCCsymt.c (cdbStructBlock, cdbTypeInfo, cdbSymbol, cdbStruct, cdbStructBlock)
695         * src/SDCCsymt.h
696         * src/common.h
697         * src/avr/gen.c (genAVRCode)
698         * src/ds390/gen.c (gen390Code)
699         * src/mcs51/gen.c (gen51Code) 
700         * src/pic/gen.c (genpic14Code)
701         * src/pic/glue.c (pic14emitRegularMap, pic14emitStaticSeg, pic14emitOverlay, picglue)
702         * src/xa51/gen.c (genXA51Code)
703         * src/SDCCast.c: fixed "void foo(void){char c; -c < 0;}"
704
705 2003-03-22  Frieder Ferlemann <Frieder.Ferlemann@web.de>
706
707         * src/mcs51/gen.c (genCodePointerGet): quicker code for bug #700797
708         * src/mcs51/peeph.def: added rules 177, 241.x to 243, touched 181, 182.x, 193.x
709
710 2003-03-22    <johan@balder>
711
712         * src/SDCCicode.c (geniCodeDerefPtr): fixed bug #698231
713
714 2003-03-21  Bernhard Held <bernhard@bernhardheld.de>
715
716         * support/scripts/sdcc_mingw32: adapted to configure from autoconf 2.54
717         * doc/cdbfileformat.lyx: added, written by Lenny Story
718         * doc/Makefile: added cdbfileformat.lyx
719         * doc/clean.mk: added cdbfileformat.lyx
720
721 2003-03-20  Bernhard Held <bernhard@bernhardheld.de>
722
723         * src/mcs51/peeph.def: fix bug #705773
724
725 2003-03-20    <johan@balder>
726
727         An sfr/sbit can have an "at #" AND an initializer
728         * src/SDCCsymt.c (checkSClass): 
729         * src/SDCCmem.c (allocGlobal): 
730         * src/SDCCmem.c (allocLocal): 
731         * src/SDCCast.c (createBlock): 
732
733 2003-03-17  Bernhard Held <bernhard@bernhardheld.de>
734
735         * src/ds390/peeph.def: fix bug #704878: added rule 213.b suggested by Jan Rejlek
736
737 2003-03-16    <johan@balder>
738
739         Undid the hackup of const and volatile, the problem is much bigger
740         * src/SDCC.y:1.65
741         * src/SDCCast.c:1.171
742         * src/SDCCglue.c:1.138
743         * src/SDCCicode.c:1.146
744         * src/SDCCsymt.c:1.150
745         * src/SDCCval.c:1.65
746
747 2003-03-15  Bernhard Held <bernhard@bernhardheld.de>
748
749         * src/mcs51/ralloc.c (packRegsForAssign): fixed bug #703541
750         * src/ds390/gen.c (genAddrOf): fixed bug #704087
751
752 2003-03-13    <johan@balder>
753
754         Hackup const and volatile modifiers in type chains a bit:
755         * src/SDCC.y:1.63
756         * src/SDCCast.c:1.169
757         * src/SDCCglue.c:1.136
758         * src/SDCCicode.c:1.143
759         * src/SDCCsymt.c1.146
760         * src/SDCCsymt.h1.59
761         * src/SDCCval.c:1.63
762
763 2003-03-12    <johan@balder>
764
765         * src/SDCCBBlock.h: more LRH debugging junk
766         * src/SDCCcflow.h: more LRH debugging junk
767         * src/SDCCloop.c: more LRH debugging junk
768         * src/SDCC.y (struct_declaration): fixed bug #697590
769         * src/SDCCsymt.[hc] (cloneSpec): NEVER EVER use this again
770         * src/ds390/gen.c (aopForRemat): fixed bug #700031
771         * src/SDCCglue.c (emitStaticSeg): fixed bug #700797
772
773 2003-03-11 Kevin Vigor <kevin@vigor.nu>
774         * src/SDCCpeeph.c: quit being lazy and made proper fix (peephole
775         test function names must now match exactly).
776         * src/SDCCcse.c: added special case in findCheaperOp to allow
777         extending a short integer. Makes less awful code for bug 700121 test case.
778
779 2003-03-11  Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
780
781         * as/mcs51/lkmain.c: Added ASlink-Warning to messages 
782         * as/mcs51/lkaomf51.c: Fixed bug when linking asmblink example
783
784 2003-03-11 Kevin Vigor <kevin@vigor.nu>
785
786         * src/SDCCpeeph.c: fix so that operandsNotEqualX functions are
787         actually called (operandsNotEqual() was called for all 
788         operandsNotEqualX tests).
789
790 2003-03-11 Kevin Vigor <kevin@vigor.nu>
791
792         * src/SDCCcse.c: fix findCheaperOp to prevent replacing int types
793         with shorter literals. Fixes bug 700121.
794
795 2003-03-11    <johan@balder>
796
797         * src/SDCCsymt.c (compareType): a (void *) can be assigned to any pointer
798
799 2003-03-11  Bernhard Held <bernhard@bernhardheld.de>
800
801         * src/SDCCloop.c (mergeRegions): an evil beast is dead
802         * src/SDCCmain.c (preProcess): minor cleanup: eliminate preOutName
803
804 2003-03-10  Borut Razem <borut.razem@siol.net>
805
806         * src/SDCCmain.c: pipe preprocessor's output
807         * support/Util/MySystem.c, support/Util/MySystem.h: added my_popen()
808         * sdcc_vc_in.h: define pclose as _pclose for WIN32
809         * src/SDCCglue.c, src/SDCCglue.h: added set pipeSet, added function closePipes,
810         which closes all pipes in pipeSet set
811         * src/SDCCset.c: free deleted item in function deleteSetItem()
812         * src/src.dsp, src/z80/z80.dsp: files support/Util/BuildCmd.c and support/Util/MySystem.c
813         moved from z80 to src subproject
814         * .version: increased version number to 2.3.4
815
816 2003-03-10  Bernhard Held <bernhard@bernhardheld.de>
817
818         * support/regression/ports/mcs51/spec.mk: increase timeout for CF's sparc to 30s
819         * support/regression/ports/ds390/spec.mk: increase timeout for CF's sparc to 25s
820         * support/regression/ports/xa51/spec.mk: fix typo
821
822 2003-03-09  Bernhard Held <bernhard@bernhardheld.de>
823
824         * src/SDCCglobl.h: PATH_MAX is already defined in mingw32 headers
825
826 2003-03-09  Borut Razem <borut.razem@siol.net>
827
828         * src/SDCCmain.c: pipe preprocessor's output
829         * support/Util/MySystem.c, support/Util/MySystem.h: added my_popen()
830         * sdcc_vc_in.h: define pclose as _pclose for WIN32
831         * src/SDCCglue.c, src/SDCCglue.h: added set pipeSet, added function closePipes,
832         which closes all pipes in pipeSet set
833         * src/SDCCset.c: free deleted item in function deleteSetItem()
834         * src/src.dsp, src/z80/z80.dsp: files support/Util/BuildCmd.c and support/Util/MySystem.c
835         moved from z80 to src subproject
836
837 2003-03-09  Borut Razem <borut.razem@siol.net>
838
839         * src/SDCCglue.c: re-implemented tempfilename() and tempfile(): using mkstemp() if available
840         * src/SDCCsymt.h: fixed MSVC and BORLANDC compilation (included SDCCglobl.h instead srccconf.h)
841         * sdcc_vc_in.h: explicitly undefined HAVE_MKSTEMP which is not available on BORLANDC and MSVC
842         * src/SDCCset.h: removed inclusion of sdccconf.h or sdcc_vc.h
843         * src/SDCCglobl.h: unification of WIN32 native definitions
844
845 2003-03-09  Frieder Ferlemann <Frieder.Ferlemann@web.de>
846
847         * src/mcs51/gen.c: applied in-/dec patch mentioned on sdcc-devel 2003-03-01
848
849 2003-03-08  Bernhard Held <bernhard@bernhardheld.de>
850
851         * src/configure.in:   check for endianess (even while cross-compiling)
852         * src/configure:      check for endianess (even while cross-compiling)
853         * src/configure_in.h: check for endianess (even while cross-compiling)
854         * src/avr/gen.c:        remove old endianess stuff
855         * src/mcs51/gen.c:      remove old endianess stuff
856         * src/ds390/gen.c:      remove old endianess stuff
857         * src/pic/gen.c:        remove old endianess stuff
858         * src/pic/genarith.c:   remove old endianess stuff
859         * src/pic/glue.c:       fix endianess check
860         * src/pic16/gen.c:      remove old endianess stuff
861         * src/pic16/genarith.c: remove old endianess stuff
862         * src/pic16/glue.c:     fix endianess check
863         * src/xa51/gen.c:       remove old endianess stuff
864         * src/z80/gen.c:        fix endianess check
865         * src/SDCCglue.c:       fix endianess check
866         * src/ds390/peeph.def: fix bug 700036
867
868 2003-03-08  Bernhard Held <bernhard@bernhardheld.de>
869
870         * src/SDCCsymt.h: use appropriate data-types on host for SDCC's int and long
871         * src/configure: find appropriate data-types on host for SDCC's int and long
872         * src/configure.in: find appropriate data-types on host for SDCC's int and long
873         * src/sdccconf_in.h: find appropriate data-types on host for SDCC's int and long
874         * src/xa51/gen.c: use %d, not %ld for 4 byte variables
875
876 2003-03-07    <johan@balder>
877
878         Just a big NOOP:
879                 some minor cleanups before the big shot
880                 OP_DEFS and OP_USES now use Kevin's protection
881                 new option --nolabelopt
882
883         * src/SDCCBBlock.c:
884         * src/SDCCast.c,:
885         * src/SDCCcflow.c:
886         * src/SDCCcse.c:
887         * src/SDCCicode.c:
888         * src/SDCCicode.h:
889         * src/SDCClabel.c:
890         * src/SDCCloop.c:
891         * src/SDCCmain.c:
892         * src/ds390/ralloc.c:
893         * src/mcs51/ralloc.c:
894         * src/pic/ralloc.c:
895         * src/xa51/ralloc.c:
896         * src/z80/ralloc.c:
897
898 2003-03-06  Bernhard Held <bernhard@bernhardheld.de>
899
900         * src/pic/pcode.c (get_op): fix 64 bit warnings
901         * src/pic/pcode.c (pCode2str): fix 64 bit warnings
902         * src/SDCChasht.c (newHashTable): fix 64 bit warnings
903         * src/SDCCsymt.c (checkTypeSanity): fix 64 bit warnings
904         * support/regression/tests/malloc.c: fix 64 bit warnings
905
906 2003-03-04  Bernhard Held <bernhard@bernhardheld.de>
907
908         * src/mcs51/gen.c (genMinus): fixed bug 696436
909
910 2003-03-02  Borut Razem <borut.razem@siol.net>
911
912         * src/SDCCmain.c: added BORLANDC, corrected MSVC in printVersionInfo()
913
914 2003-02-26  Bernhard Held <bernhard@bernhardheld.de>
915
916         * configure.in: test for mkstemp
917         * sdccconf_in.h: add HAVE_MKSTEMP
918
919 2003-02-24  Bernhard Held <bernhard@bernhardheld.de>
920
921         * device/include/ctype.h: removed warning while using --stack-auto
922         * device/include/malloc.h: removed warning while using --stack-auto
923         * device/include/string.h: removed warning while using --stack-auto
924
925 2003-02-23  Borut Razem <borut.razem@siol.net>
926
927         * src/asm.h: corrected assertion in function printILine(): _pipe() was not executed on MSVC,
928         because NDEBUG is defined (see man assert)
929         * sdcc_vc_in.h: vsnprintf is defined as _vsnprintf on MSVC
930
931 2003-02-23  Frieder Ferlemann <Frieder.Ferlemann@web.de>
932
933         * src/mcs51/gen.c (genUminusFloat): avoided dptr in-/decrement for xdata variables
934         * src/mcs51/peeph.def: added rule suggested by Gernot Fink, white space/comment changes
935
936 2003-02-18  Frieder Ferlemann <Frieder.Ferlemann@web.de>
937
938         * src/SDCCpeeph.c: added peephole conditions testing for same arguments
939         * src/mcs51/peeph.def: added rules 238a-d which remove redundant moves
940
941 2003-02-18    <johan@balder>
942
943         * as/mcs51/asmain.c (asmbl): module can start with a digit
944         * as/z80/asmain.c (asmbl): module can start with a digit
945
946 2003-02-16  Bernhard Held <bernhard@bernhardheld.de>
947
948         * sim/ucsim/mkecho: inserted #!/bin/sh for Cygwin, so that it's executable
949         * src/asm.c: fix pipe() for Mingw32
950
951 2003-02-15  Bernhard Held <bernhard@bernhardheld.de>
952
953         * src/SDCCglue.h: make tmpfileNameSet available for preOutName
954         * src/SDCCmain.c (preProcess): make sure, that preOutName will be deleted;
955         make -V work again; --c1mode reads now from stdin
956         * doc/sdccman.lyx: added --c1mode
957         * support/Util/SDCCerr.c: new messages for c1 mode
958         * support/Util/SDCCerr.h: new messages for c1 mode
959         * src/SDCC.lex (checkCurrFile): test if fullSrcFileName is NULL for c1mode
960
961 2003-02-15    <johan@balder>
962
963         * src/asm.c: new options: --no-c-code-in-asm and --i-code-in-asm
964
965 2003-02-14  Bernhard Held <bernhard@bernhardheld.de>
966
967         * doc/sdccman.lyx: Environment variables, -o and other minor things
968
969 2003-02-14    <johan@balder>
970
971         * src/xa51/main.c: before anyone really tries to use it :)
972
973         * Install doc's in share/sdcc/doc
974         * removed some obsolete files
975         * Do a proper make distclean and uninstall
976         M Makefile.common.in
977         R sdccbuild.sh
978         M as/Makefile
979         M device/include/Makefile.in
980         M device/lib/Makefile.in
981         M doc/sdccman.lyx
982         M link/Makefile
983         M sim/ucsim/doc/Makefile.in
984         M src/clean.mk
985         R src/avr/peeph.rul
986         R src/xa51/peeph.rul
987         M support/cpp2/Makefile.in
988         M support/makebin/Makefile
989
990
991 2003-02-13  Bernhard Held <bernhard@bernhardheld.de>
992
993         * support/regression/ports/host/spec.mk: use cc as host compiler for max osx
994
995 2003-02-10  Borut Razem <borut.razem@siol.net>
996
997         * doc/bccinst.txt, packihx/packihx.c, sdcc_vc_in.h, src/SDCCset.h,
998         support/cpp2/config.in: Borland C++ build doesn't depend on Cygwin configure
999         * Bcc.ini, Makefile.bcc, as/mcs51/Makefile.bcc,
1000         device/examples/ds390/tinitalk/Makefile.bcc, packihx/Makefile.bcc,
1001         support/cpp2/Makefile.bcc, src/Makefile.bcc, src/avr/Makefile.bcc,
1002         src/ds390/Makefile.bcc, src/izt/Makefile.bcc, src/mcs51/Makefile.bcc,
1003         src/pic/Makefile.bcc, src/pic16/Makefile.bcc, src/xa15/Makefile.bcc,
1004         src/z80/Makefile.bcc: Borland Makefile cleanup
1005         * as/z80/Makefile.bcc: Added Borland Makefile
1006         * support/cpp2/borland.h: Removed
1007
1008 2003-02-10  Bernhard Held <bernhard@bernhardheld.de>
1009
1010         * doc/sdccman.lyx: new pragma NOIV by "Johannes Stezenbach" <js@convergence.de>
1011         * src/SDCC.lex: new pragma NOIV
1012         * src/SDCCglobl.h: new pragma NOIV
1013         * src/SDCCmem.c: new pragma NOIV
1014
1015 2003-02-09  Bernhard Held <bernhard@bernhardheld.de>
1016
1017         * src/SDCCmain.c: signal handling is switched off by SDCC_LEAVE_SIGNALS
1018
1019 2003-02-09  Bernhard Held <bernhard@bernhardheld.de>
1020
1021         * src/SDCCmain.c: signal handling is switched off by --debug
1022         * doc/Makefile: small fix for install; use clean.mk again
1023         * doc/clean.mk: clean *.pdf and *.html too
1024
1025 2003-02-08  Bernhard Held <bernhard@bernhardheld.de>
1026
1027         * device/lib/_mulint.c: small fix for large/ds390 --int-long-reent resp. --stack-auto
1028         * device/lib/printfl.c: fix a ds390 bug by making it portable
1029         * src/SDCCsymt.c (initCSupport): fix compile warning on Cygwin
1030         * src/SDCCopt.c (cnvToFloatCast): fix compile warning on Cygwin
1031         * src/SDCCopt.c (cnvFromFloatCast): fix compile warning on Cygwin
1032         * debugger/mcs51/cmd.c: converted multi-line string literals
1033         * sim/ucsim/globals.cc: converted multi-line string literals
1034         * src/SDCCmain.c: introduced signal handler to remove temp files
1035         * doc/Makefile: small tweaks, implement clean
1036         * doc: removed generated files
1037
1038 2003-02-05  Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
1039
1040         * as/mcs51/aslink.h, as/mcs51/lkihx.c, as/mcs51/lkrloc.c:  Applied
1041         patch from Jan Rejlek <jr@apex-lib.cz> to fix Bug 677692: "Extended
1042         Address Record is not correctly generated for DS390."
1043
1044 2003-02-02  Borut Razem <borut.razem@siol.net>
1045
1046         * Makefile.bcc: removed non existing cpp project and non compilable izt project from makefile
1047         * as/mcs51/asm.h: fixed compilation with Borland C
1048         * support/cpp2/Makefile.bcc: added rule to generate auto-host.h
1049         * support/cpp2/auto-host_vc_in.h: fixed compilation with Borland C
1050         * src/mcs51/mcs51a.dsp: corrected misspelled project name from msc51a to mcs51a
1051         * src/avr/Makefile.bcc, src/ds390/Makefile.bcc, src/izt/Makefile.bcc,
1052         src/mcs51/Makefile.bcc, src/pic16/Makefile.bcc, src/xa51/Makefile.bcc,
1053         src/z80/Makefile.bcc: delete $(LIB) only if exist
1054         * src/Makefile.bcc, src/pic/Makefile.bcc:  fixed compilation with Borland C
1055
1056 2003-02-02  Bernhard Held <bernhard@bernhardheld.de>
1057
1058         * device/include/malloc.h: introduced NULL
1059         * device/include/string.h: introduced NULL
1060         * device/include/stdlib.h: introduced NULL
1061         * device/lib/_memcpy.c: removed NULL
1062         * device/lib/_strcat.c: removed NULL
1063         * device/lib/_strchr.c: removed NULL
1064         * device/lib/_strcmp.c: removed NULL
1065         * device/lib/_strcpy.c: removed NULL
1066         * device/lib/_strcspn.c: removed NULL
1067         * device/lib/_strlen.c: removed NULL
1068         * device/lib/_strncat.c: removed NULL
1069         * device/lib/_strncmp.c: removed NULL
1070         * device/lib/_strncpy.c: removed NULL
1071         * device/lib/_strpbrk.c: removed NULL
1072         * device/lib/_strrchr.c: removed NULL
1073         * device/lib/_strspn.c: removed NULL
1074         * device/lib/_strstr.c: removed NULL
1075         * device/lib/_strtok.c: removed NULL
1076         * device/lib/malloc.c: removed NULL, include own header
1077
1078 2003-02-02    <johan@balder>
1079
1080         * src/mcs51/ralloc.c (packForPush): fixed bug #631653, maybe other ports need this too? At least now some new alerts in SDCCBBlock.c and SDCCicode.c gives an early warning
1081         * support/regression/fwk/lib/testfwk.c: div and mod isn't broken anymore
1082         * regressions ds390/spec.mk and mcs51/spec.mk (timeout): my good old balder isn't fast enough for some tests
1083         * src/z80/gen.c (genZ80Code): added c-lines in asm comments
1084         * as/z80/asm.h (NINPUT): increased for long c-comments in regression tests
1085         * src/z80/gen.c (genRightShiftLiteral): fixed the (char)(-3)>>8 (I think)
1086
1087 2003-02-01  Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
1088
1089         * src/SDCCmain.c: Fixed bug 678574: "ds390: ASlink-Error-Stack overlaps
1090         area 'DATA'"
1091
1092 2003-02-01    <johan@balder>
1093
1094         * src/SDCCval.c (valBitwise): fixed Karl's "2 | (1<<8)"
1095
1096 2003-01-31    <johan@CP255758-A>
1097
1098         * src/ds390/main.c (_ds390_genAssemblerPreamble): applied Jan Rejlek's >64K startup patch
1099
1100 2003-01-30    <johan@balder>
1101
1102         * src/SDCCBBlock.c: automatic bug detection
1103         * src/SDCCicode.c: automatic bug detection
1104
1105 2003-01-29  Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
1106
1107         * src/SDCCglobl.h:   now --xram-size 0 works
1108         * src/SDCCmain.c:    now --xram-size 0 works
1109
1110 2003-01-29    <johan@balder>
1111
1112         * src/almosteverything: changed OP_DEFS and OP_USES from macros to functions to catch symbol abuse (a hot topic in the bug list :)
1113
1114 2003-01-29  Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
1115
1116         * as/mcs51/aslink.h: Added options --xram-size and --code-size 
1117         * as/mcs51/lkdata.c: Added options --xram-size and --code-size 
1118         * as/mcs51/lkmain.c: Added options --xram-size and --code-size 
1119         * as/mcs51/lkmem.c:  Added options --xram-size and --code-size 
1120         * src/SDCCglobl.h:   Added options --xram-size and --code-size 
1121         * src/SDCCmain.c:    Added options --xram-size and --code-size 
1122
1123 2003-01-28  Bernhard Held <bernhard@bernhardheld.de>
1124
1125         * src/ds390/gen.c: fix deps by replacing <common.h> with "common.h"
1126         * src/SDCC.lex: rename P_OVERLAY to P_OVERLAY_ for cross-gcc 3.2 MINGW32
1127
1128 2003-01-27    <johan@balder>
1129
1130         * src/SDCC.y: fixed bug #613764
1131
1132 2003-01-26    <johan@balder>
1133
1134         * src/SDCClrange.c:  fixed Bernhard's "char * code ptr = &c"
1135         * src/SDCCsymt.h: fixed bug #673374
1136         * src/SDCCglue.c: fixed bug #661910
1137         * src/SDCCast.c: fixed bug #458099 and 673374
1138
1139 2003-01-26  Bernhard Held <bernhard@bernhardheld.de>
1140
1141         * as/mcs51/strcmpi.c: added, provides Aurelien Jarno's as_strcmpi(); strcmpi() is not ANSI
1142         * as/mcs51/strcmpi.h: added
1143         * as/mcs51/asm.h: remove ugly "#define strcmpi strcmp"
1144         * as/mcs51/aslink.h: remove ugly "#define strcmpi strcmp"
1145         * as/mcs51/asmain.c: strcmpi -> as_strcmpi
1146         * as/mcs51/assym.c: strcmpi -> as_strcmpi
1147         * as/mcs51/lkmem.c: strcmpi -> as_strcmpi
1148         * as/mcs51/lknoice.c: strcmpi -> as_strcmpi
1149         * as/mcs51/lksym.c: strcmpi -> as_strcmpi
1150         * as/mcs51/Makefile.aslink: new module strcmpi
1151         * as/mcs51/Makefile.asx8051: new module strcmpi
1152         * as/mcs51/Makefil.bcc: new module strcmpi
1153         * as/mcs51/Makefile.in: new module strcmpi
1154         * sim/ucsim/s51.src/uc390.cc (get_mem_size): make RAM big enough for tinibios
1155
1156 2003-01-26    <johan@balder>
1157
1158         * src/SDCCglue.c: reverted back to 1.124
1159         * src/SDCCast.c: reverted back to 1.156
1160         * src/mcs51/gen.c (aopGet): applied Frieder's efficiency patch
1161
1162 2003-01-25    <johan@balder>
1163
1164         * src/SDCCglue.c: A better fix for bug #661910
1165         * src/SDCCast.c: A better fix for bug #661910
1166         * src/SDCCglue.c (emitRegularMap): That was a little too efficient
1167
1168 2003-01-24  Bernhard Held <bernhard@bernhardheld.de>
1169
1170         * src/Makefile.in: remove spawn.o
1171         * src/SDCCmain.c: remove spawn.h
1172         * src/SDCCmain.c (printVersionInfo): report MINGW32 instead of UNIX
1173         * src/spawn.c: removed
1174         * src/spawn.h: removed
1175         * support/regression/ports/ds390/spec.mk: link with -r
1176
1177 2003-01-24    <johan@CP255758-A>
1178
1179         * src/ds390/gen.c (aopOp): fixed bug #667458
1180         * src/SDCCglue.c (emitRegularMap): fixed bug #458099 again
1181         * src/SDCCast.c (createIvalCharPtr): fixed bug #661910
1182         (createIvalCharPtr): an ival doesn't always have a storage class anymore
1183
1184 2003-01-24  Bernhard Held <bernhard@bernhardheld.de>
1185
1186         * src/mcs51/peeph.def: better assembler identation by Frieder
1187         * src/mcs51/gen.c: better assembler identation by Frieder
1188
1189 2003-01-22  Bernhard Held <bernhard@bernhardheld.de>
1190
1191         * as/z80/string.h: removed for gcc 3.2
1192         * support/makebin/makebin.c: #include <string.h> for gcc 3.2
1193         * src/pic/pcode.c (get_op_from_instruction): fix concatenation of string literals with __FUNCTION__ for gcc 3.2
1194
1195 2003-01-19  Bernhard Held <bernhard@bernhardheld.de>
1196
1197         * src/SDCCmain.c (linkEdit): rename mem and map files even in case of failure
1198         * src/SDCCpeeph.c (replaceRule): fix bug #663503
1199         * support/regression/Makefile: separate temp files for ports
1200         * support/regression/generate-cases.py: separate temp files for ports
1201         * src/mcs51/peeph.def: Frieder: removed 237 (obsolete by 236g and 105); added 237 a/b
1202         * src/ds390/peeph.def: Frieder: removed 237 (obsolete by 236g and 105); added 237 a/b
1203
1204 2003-01-19  Bernhard Held <bernhard@bernhardheld.de>
1205
1206         * moved tinitalk to device/examples/ds390
1207
1208 2003-01-14  Bernhard Held <bernhard@bernhardheld.de>
1209
1210         * as/mcs51/lkmem.c: rflag is for DS390
1211         * src/SDCCglobl.h: removed out_name and options stackOnData, genericPtr
1212         * src/SDCCmain.c (optionsTable, setDefaultOptions): removed --stack-after-data and --generic
1213                          (linkEdit): move mem- and map-files the same way as ihx-files
1214         * src/z80/main.c (_setDefaultOptions): removed --generic
1215         * src/SDCCmain.c (_processC1Arg, parseCmdLine, main): --c1mode works again
1216         * src/SDCCglue.c (createInterruptVect, glue): --c1mode works again
1217         * src/pic/glue.c (picglue): --c1mode works again
1218         * src/pic16/glue.c (pic16glue): --c1mode works again
1219         * src/asm.c (printCLine): fix #660034
1220
1221 2003-01-13  Bernhard Held <bernhard@bernhardheld.de>
1222
1223         * src/ds390/peeph.def: fix #123; add 14 rules by Fiorenzo D. Ramaglia <fd.ramaglia@tin.it>, 1 by Frieder
1224         * src/mcs51/peeph.def: fix #123; add 14 rules by Fiorenzo, 1 by Frieder
1225         * src/mcs51/gen.c (genFunction): emit r0 instead of ar0 by Fiorenzo
1226         * as/mcs51/lkmem (summary): better fix for sp problem
1227         * src/SDCCglue.c (glue): __start_stack - 1, saves 1 byte!
1228         * src/ds390/main.c (_ds390_finaliseOptions, _tininative_finaliseOptions): stack_loc = 0x400008
1229         * support/regression/ports/*/spec.mk: moving testfwk-object to port dir allow parallel execution of regression tests
1230                                               remove --stack-after-data
1231
1232 2003-01-12  Bernhard Held <bernhard@bernhardheld.de>
1233
1234         * src/SDCCmain.c (main): port->finaliseOptions() moved for z80 linking
1235         * src/SDCCutil.c (join): ugly bug: missing '\0'
1236         * as/mcs51/lkmem.c (summary): sp on address 7 is safe
1237
1238 2003-01-11  Bernhard Held <bernhard@bernhardheld.de>
1239
1240         * src/SDCCmain.c (assemble, linkEdit): preparations for -o
1241         * src/port.h: typo
1242         * src/pic/main.c (_asmCmd): gpasm supports -o
1243         * src/z80/main.c: more general macros
1244         * device/lib/Makefile.in: remove intermediate files
1245
1246 2003-01-11  Bernhard Held <bernhard@bernhardheld.de>
1247
1248         * .version: Bumped version number to 2.3.3
1249         * src/SDCCBBlock.c: new option -o
1250         * src/SDCCglobl.h: new option -o
1251         * src/SDCCglue.c: new option -o
1252         * src/SDCCmain.c: new option -o
1253         * src/asm.c: new option -o
1254         * src/ds390/main.c: new option -o
1255         * src/pic/glue.c: new option -o
1256         * src/pic/pcode.c: new option -o
1257         * src/pic/ralloc.c: new option -o
1258         * src/pic16/glue.c: new option -o
1259         * src/pic16/pcode.c: new option -o
1260         * src/pic16/ralloc.c: new option -o
1261         * src/z80/main.c: new option -o
1262         * device/lib/Makefile.in: use -o
1263         * support/regression/ports/ds390/spec.mk: use -o
1264         * support/regression/ports/gbz80/spec.mk: use -o
1265         * support/regression/ports/mcs51/spec.mk: use -o
1266         * support/regression/ports/mcs51-stack-auto/spec.mk: use -o
1267         * support/regression/ports/z80/spec.mk: use -o
1268         * support/regression/ports/ucz80/spec.mk: use -o
1269         * support/regression/ports/xa51/spec.mk: use -o
1270         * support/regression/fwk/lib/timeout.c: fix usage string
1271
1272 2003-01-09  Bernhard Held <bernhard@bernhardheld.de>
1273         * src/mcs51/gen.c (genPlus): replaced "mov b,acc" by "mov b,a" Fiorenzo D. Ramaglia <fd.ramaglia@tin.it>
1274         
1275 2003-01-07    <johan@balder>
1276
1277         * src/SDCCast.c (decorateType): fixed bug #600035
1278
1279 2003-01-07  Bernhard Held <bernhard@bernhardheld.de>
1280         * as/mcs51/lkmem.c: added several l-modifiers to printf to remove warnings
1281         * as/mcs51/lkaomf51.c: #include <ctype.h> to remove warnings
1282         * src/pic/main.c (_hasNativeMulFor): outcommented unused variables to remove warnings
1283         * src/pic/pcode.c: outcommented unused variable to remove warnings
1284         * src/pic/ralloc.c: outcommented unused variable to remove warnings
1285
1286 2003-01-06    <karl@turbobit.com>
1287         * sim/ucsim/cmd.src/command.cc: fixed so "break xram r 0x7654" works again in
1288    regression tests.
1289
1290 2003-01-06    <johan@balder>
1291
1292         * src/SDCCicode.c: fixed array add
1293
1294 2002-01-05  Bernhard Held <bernhard@bernhardheld.de>
1295         * src/SDCCmacro.c: MAX_STRING_LENGTH increased to 2048; was too small for regression tests
1296         * support/regression/ports/host/support.c: #include <stdarg.h> for gcc 3.2
1297
1298 2003-01-04    <johan@balder>
1299
1300         * src/SDCCval.c (getNelements): fixed the initialized array of structures
1301
1302 2002-12-29  Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
1303         * as/mcs51/Makefile.bcc: fixed typo lkomf51.o -> lkaomf51.o
1304
1305 2002-12-28  Bernhard Held <bernhard@bernhardheld.de>
1306         * src/mcs51/peeph.def: added rules 234 and 235 from Frieder Ferlemann <frieder.ferlemann@web.de>
1307         * support/regression/tests/bug-524697.c: fit mem usage into 8032
1308
1309 2002-12-28  Bernhard Held <bernhard@bernhardheld.de>
1310         * src/mcs51/gen.c (aopGetUsesAcc): inserted missing "return FALSE"
1311
1312 2002-12-27  Bernhard Held <bernhard@bernhardheld.de>
1313         * as/mcs51/Makefile.in: fixed typo lkomf51.o -> lkaomf51.o
1314
1315 2002-12-26  Bernhard Held <bernhard@bernhardheld.de>
1316         * src/mcs51/main.c: removed {bindir}{sep} from aslink
1317
1318 2002-12-10  Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
1319
1320     * in \sdcc\as\mcs51\ changed these files in order to create an
1321     aomf51 file: aslink.h, lkdta.c, lklex.c, lklibr.c, lklist.c,
1322     lkmain.c.  Also added: lkmem.c and lkaomf51.c.  Changed the 
1323     following files to include the previous two files: aslink.dsp,
1324     Makefile.aslink, Makefile.bcc, and Makefile.in.
1325
1326     * Changed \sdcc\src\SDCCmain.c so it creates files with extension
1327     .adb instead of .cdb
1328     
1329 2002-11-09  Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
1330
1331         * \sdcc\as\mcs51\lklist.c: Now reports memory usage using the
1332         value from option --iram-size.
1333
1334 2002-09-20  Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
1335
1336         * \sdcc\as\mcs51\lklist.c: added boundary check before using
1337         dram[] array.
1338
1339 2002-09-18    <wiml@hhhh.org>
1340
1341         * SDCClrange.h: exposed setFromRange() and setToRange()
1342         * mcs51/ralloc.c: fixed over-eager packRegsForSupport() and
1343           packRegsForAccUse() (bug 542397)
1344         * mcs51/gen.c: MOVA() is now a function to avoid calling aopGet()
1345           multiple times and emitting the fetch operations more than once
1346           added aopGetUsesAcc() function to allow binary operators to
1347           fetch their operands in the correct order; made genMinus() emit
1348           compact code for X = LITERAL - Y 
1349
1350 2002-09-00  Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
1351         * \sdcc\as\mcs51\lklist.c: Fixed incorrect number of parameters to
1352         sprintf() in line 1267.
1353
1354 2002-09-08  Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
1355         * \sdcc\src\SDCCglue.c: Generate areas REG_BANK_[0-3] only for 8051
1356         like ports.
1357
1358 2002-09-04  Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
1359         Changes to aslink (All the changes are marked with 'JCF'):
1360
1361         * \sdcc\as\mcs51\aslink.h: External definition of sflag and
1362         summary().
1363
1364         * \sdcc\as\mcs51\lkarea.c: Computes the size of area BSEG_BYTES from
1365         area BSEG.  Also moves, if possible, the DATA area down into the internal
1366         ram so more space is available.
1367
1368         * \sdcc\as\mcs51\lkdata.c: Definition of memory summary output flag
1369         sflag.
1370
1371         * \sdcc\as\mcs51\lklist.c: For the BSEG area report the size in bits,
1372         not bytes.  Function summary() which creates a memory usage summary
1373         file with extension .mem.  Reports of overlaping stack and small stack
1374         size.  If the space for the stack is less than 16 bytes aslink trows a
1375         warning.
1376         
1377         * \sdcc\as\mcs51\lkmain.c: Creation of some of the default areas for
1378         the 8051.  Option 'y' for memory summary output file.
1379
1380         Changes to sdcc (All the changes are marked with 'JCF'):
1381
1382         * \sdcc\src\SDCCglobl.h: External definition of RegBankUsed[4].
1383
1384         * \sdcc\src\SDCCglue.c:  If a register bank is used, creates an
1385         overlaying area for it (uses RegBankUsed[4]).
1386
1387         * \sdcc\src\SDCCmain.c: Definition RegBankUsed[4]; marks register
1388         bank zero as used by default.  By default aslink locates the stack
1389         (equivalent to --stack-after-data).  Pass option 'y' to aslink for
1390         the creation of the .mem file.  Delegates the allocation of data area
1391         to aslink (it is not longer 0x30 by default).  If --stack-loc passes
1392         the begining of the stack area to aslink.
1393
1394         * \sdcc\src\SDCCmem.c:  If a register bank is used, marks it so
1395         glue() in SDCCglue.c creates an area for it.
1396         
1397 2002-09-03  Borut Razem <borut.razem@siol.net>
1398         * sdcc/src/SDCCglue.c, sdcc/src/SDCCglue.h, sdcc/src/SDCCmain.c,
1399         sdcc/src/pic/glue.c:
1400         introduced atexit() handler for teporay files removal in case of
1401         errors, assertions, ...
1402
1403 2002-08-29  Borut Razem <borut.razem@siol.net>
1404         * sdcc/support/cpp2/auto-host_vc_in.h:
1405         re-definition of O_BINARY and other O_XXX as _O_BINARY and _O_XXX, so the problem
1406         with the returned value from read() in sdcc/support/cpp2/cppfiles.c is solved for MSC.
1407         Maybe there is a similar problem with BORLANDC? It should be checked!
1408
1409         * sdcc/src/ds390/ralloc.c, sdcc/src/mcs51/ralloc.c, sdcc/src/z80/ralloc.c:
1410         corrected improper use of assert: the assignment to clr variable was done inside the assert.
1411         In case that NDEBUG was defined, the assert macro was substituted with no-op, so the assignment
1412         was not executed, and the compiler (cl) launched a warning:
1413         ralloc.c(1442) : warning C4700: local variable 'clr' used without having been initialized
1414
1415 2002-08-28  Bernhard Held <bernhard@bernhardheld.de>
1416         * src/SDCCglue.c (printIvalArray): iterative calculation of array length
1417
1418 2002-08-28  Jesus Calvino-Fraga and Borut Razem <borut.razem@siol.net>
1419         * sdcc/sdcc.dsw: added sdcpp, sdcppa, yacc, conf projects
1420
1421         * sdcc/src/src.dsp, sdcc/src/avr/avr.dsp, sdcc/src/ds390/ds390.dsp,
1422           sdcc/src/mcs51/mcs51.dsp, sdcc/src/pic/pic.dsp, sdcc/src/z80/z80.dsp,
1423           sdcc/src/xa51/xa51.dsp, sdcc/src/avr/avra.dsp,
1424           sdcc/src/ds390/ds390a.dsp, sdcc/src/mcs51/mcs51a.dsp,
1425           sdcc/src/pic/pica.dsp, sdcc/src/z80/z80a.dsp,
1426           sdcc/src/xa51/xa51a.dsp, sdcc/as/as_z80.dsp,
1427           sdcc/as/aslink.dsp, sdcc/as/asx8051.dsp, sdcc/packihx/packihx.dsp:
1428         - added Release configuration in VS projects
1429         - review of compiler an linker options
1430         - VC .exe files are generated in bin_vc directory, not to interfere
1431           with binaries generated from other projects (cygwin, mingw, bcc ...)
1432
1433         * sdcc/src/yacc.dsp: added
1434
1435         * sdcc/config.dsp, sdcc/configure_vc.awk, sdcc/sdcc_vc_in.h:
1436         added - genarate sdcc_vc.h using sdcc_vc_in.h as template
1437         and insert the version number definitions from .version 
1438
1439         * sdcc/support/cpp2/sdcpp.dsp: added - VC project for sdcpp
1440
1441         * sdcc/support/cpp2/sdcppa.dsp, sdcc/support/cpp2/auto-host_vc_in.h:
1442         added - genarate auto-host.h using auto-host_vc_in.h as template
1443
1444         * sdcc/sdcc_vc.h,
1445         removed from CVS, generated automatically
1446
1447 2002-08-25  Bernhard Held <bernhard@bernhardheld.de>
1448         * support/scripts/inc2h.pl: use gputils or gpasm (from Nathan Hurst)
1449
1450 2002-08-11  Borut Razem <borut.razem@siol.net>
1451         * support/Util/NewAlloc.c: removed unneeded #include "sdccconf.h" (suggested by Jesus Calvino-Fraga)
1452
1453 2002-08-10  Borut Razem <borut.razem@siol.net>
1454         * src/SDCCmain.c (main):
1455         file preOutName was unlinked before closed. This seems to be OK on UNIX and cygwin
1456         platforms, but it doesn't work with Visual Studio: the opened file can not be removed.
1457         The consequence was that some temporary files were not removed.
1458
1459         * src/SDCCglue.c:
1460         unification of code in functions tempfilename() and tempfile():
1461         function tempnam() is defined in Visual Studio 6.0 and .NET
1462
1463         * sdcc/sdcc.dsw: removed project sdcpp, added project xa51a
1464
1465         * sdcc/src/src.dsp, sdcc/src/avr/avr.dsp, sdcc/src/ds390/ds390.dsp,
1466           sdcc/src/mcs51/mcs51.dsp, sdcc/src/pic/pic.dsp, sdcc/src/z80/z80.dsp:
1467         - removed compiler command line option /WX: Treats all warnings as errors
1468         - update a list of source files, included into the project
1469
1470         * sdcc/src/avr/avra.dsp, sdcc/src/ds390/ds390a.dsp, sdcc/src/mcs51/mcs51a.dsp,
1471           sdcc/src/pic/pica.dsp, sdcc/src/z80/z80a.dsp:
1472         changed project type to Generic Project so that can be correcly converted to VS.NET project
1473
1474         * sdcc/as/mcs51/asm.h: definition of PATH_MAX for MSC
1475
1476         * sdcc/src/SDCCast.c: solved MSC error in function decorateType()
1477
1478         * sdcc/src/SDCC.y: added missing ending ';' to rules to get rid of bison warnings
1479
1480         * dcc/src/ds390/ralloc.c, sdcc/src/mcs51/ralloc.c:
1481         added return 0 statements after assert() to make compiler happy
1482
1483         * sdcc/src/xa51/peeph.rul, sdcc/src/xa51/peeph.def, sdcc/src/z80/ralloc.c:
1484         added newline in the def file to keep MSC compiler satisfied
1485
1486         * sdcc/src/z80/gen.c:
1487         - function strcasecmp() is not defined in MSC (and probably also in BORLANDC),
1488           so it is replaced with STRCASECMP, which is defined as stricmp in case of MSC and BORLANDC
1489         - solved MSC error in function aopDump()
1490
1491         * sdcc_vc.h: define PREFIX as "\\sdcc"
1492
1493 2002-07-18  Bernhard Held <bernhard@bernhardheld.de>
1494         * src/SDCCast.c (decorateType): fixed access to array of structures http://sourceforge.net/mailarchive/forum.php?thread_id=902690&forum_id=4107
1495
1496 2002-06-22  Scott Dattalo <scott@dattalo.com>
1497         * src/pic/*: Numerous bug fixes. Flow analysis has been enhanced. 
1498         - Rewrote the register banking algorithm. 
1499         - Added pCode live-range analysis to registers (for now, only non-used and 
1500         singly-used registers optimized away)
1501
1502         * src/pic/pcoderegs.[ch]: Added new files for pCode live-range analysis
1503
1504         * support/scripts/inc2h.pl Kevin L. Pauba <klpauba@cox.net> submitted this perl script for converting MicroChip include files into SDCC Pic include files.
1505         
1506 2002-05-10  Scott Dattalo <scott@dattalo.com>
1507         * src/pic/*: Added support for multiplication. Fixed many,many bugs.
1508         
1509 2002-04-22  Michael Hope  <michaelh@vroom>
1510
1511         * device/lib/z80/printf.c: Changed emitter to volatile to work around a pcall bug.
1512
1513         * configure.in (DD_COPT): Added include support required for gbdk.
1514
1515         * .version: Bumped version number just to increase it.
1516
1517         * src/SDCCmain.c: Added -nostdinc to the default options.
1518
1519 2002-04-15  Michael Hope  <michaelh@vroom>
1520
1521         * device/lib/z80/printf.c (sprintf): Added.
1522
1523         * src/z80/ralloc.c (packRegisters): Disabled pack HL use for GB as it's broken.
1524
1525         * src/z80/peeph.def: Added transpose redundent load rule.
1526
1527         * src/z80/main.c: Added force callee saves for jaune.
1528
1529         * src/port.h: Removed the i186 and tlcs-900h ports as they weren't being being developed.
1530
1531         * src/SDCCmain.c: Pulled the options definition out so that you can add port specific options without changing the main file.
1532
1533 2002-03-28  Johan Knol  <johan@balder>
1534
1535         * src/SDCCval.c: fixed bug #532436
1536
1537 2002-03-14  Scott Dattalo <scott@dattalo.com>
1538         * /src/port.h:
1539         Added "char *Processor" field to the port structure.
1540
1541         * /src/SDCCmain.c:
1542         Added -p option. Allows port dependent processor to be specified.
1543
1544         * all ports:
1545         Initialized the new field char *Processor field to NULL in all ports
1546
1547         * /src/pic/*:
1548         Compiler generated registers for interrupt context saving
1549         were not getting allocated.
1550                 
1551 2002-03-16  Sandeep Dutta  <sandeep@ddi.com>
1552
1553         * /src/SDCCast.c:
1554         Fixed left shift. Will promote the left side of a left shift
1555         if a) left shifting more than size of operand or b) when assigned
1556         to something size > size of left side
1557
1558 2002-03-14  Scott Dattalo <scott@dattalo.com>
1559         * src/pic/*
1560         tons of changes. Register allocation has been 
1561         rewritten. Added customization for the various PICs. Flow
1562         analysis is restructured. ...
1563
1564         * src/pic/device.h:
1565         Added
1566
1567         * src/pic/device.c:
1568         Added. device.c is a PIC port hack to accomodate variations
1569         in PIC devices.
1570
1571 2002-03-13  Michael Hope  <michaelh@vroom>
1572
1573         * src/z80/gen.c (genGenPointerGet): Fixed a bug where a pointer in HL is dereferenced into HL but HL is not spilled.  Yeah.
1574
1575 2002-03-04  johanknol  <johanknol@manik>
1576
1577         * /src/SDCCval.c: fixed
1578
1579         const unsigned char arr[][2] = { { 0, 1 } };
1580         t18.c:1: error: Initializer element is not constant
1581
1582 2002-03-04  bela  <bela@manik>
1583
1584         * /device/include/mcs51reg.h:
1585         ds89c420 register definition update
1586
1587 2002-03-03    <johan@FRIJA>
1588
1589         * support/Util/SDCCerr.c: did something, but don't no why anymore
1590
1591         * support/regression/tests/bug-524691.c: made it a little less shy 
1592
1593         * src/SDCCast.c (decorateType): fixed bug #524697
1594
1595         * src/SDCCast.c: made some lineno improvements
1596
1597         * src/SDCCval.c (getNelements): changed warning to error
1598
1599         * src/SDCCglue.c (printIvalArray): changed warning to error
1600
1601         * src/SDCCicode.c: fixed a warning for mingw
1602
1603         * src/SDCCast.c (decorateType): fixed the << promotion for ops
1604
1605         * src/SDCCicode.c (geniCodeDivision): divide is shift only for unsigned (bug #524685)
1606
1607 2002-03-02  Sandeep Dutta  <sandeep@ddi.com>
1608
1609         * src/ds390/peeph.def:
1610         Added some more peephole rules
1611
1612         * src/ds390/gen.c: Various fixes & enhancements
1613
1614         * src/SDCClrange.c, src/SDCClrange.h:
1615         functions "alldefsoutofrange" and "notusedinblock" moved to SDCClrange.c
1616
1617         * src/ds390/ralloc.c:
1618         various fixes & enhancements (ds390) specific
1619
1620         * src/avr/ralloc.c, src/mcs51/ralloc.c, src/pic/ralloc.c, src/xa51/ralloc.c, src/z80/ralloc.c:
1621         Functions "allDefsOutOfRange" & "notUsedinBlock" moved to SDCClrange.c
1622         from rallocs.
1623
1624         * sdcc/src/SDCCcse.c: Better fix for bug # 514308
1625
1626 2002-03-02    <johan@FRIJA>
1627
1628         * src/SDCCast.c (decorateType): fixed bug #524708
1629
1630         * src/SDCCval.c (floatFromVal): fixed the literal void (whatever that may be)
1631
1632         * src/SDCCicode.c (geniCodePtrPtrSubtract): fixed bug #524691
1633
1634 2002-03-01  Michael Hope  <michaelh@vroom>
1635
1636         * src/SDCCsymt.c (initCSupport): Removed managling of support function names.
1637
1638         * src/z80/ralloc.c (packRegsForIYUse): Fixed fp bug where four byte operands were packed into IY.
1639
1640 2002-03-01    <johan@FRIJA>
1641
1642         * src/SDCCglue.c (printIvalPtr): fixed bug #524211
1643
1644         * src/SDCCast.c (decorateType): fixed bug #524209
1645
1646         * src/SDCCval.c (valNot): fixed bug #524195
1647
1648 2002-02-26    <johan@balder>
1649
1650         * src/xa51/gen.c: fixed a warning
1651
1652         * src/SDCCglue.c (printIvalFuncPtr): fixed bug #522534
1653
1654         * src/SDCCast.c (decorateType): fixed bug #522534
1655
1656 2002-02-23    <johan@balder>
1657
1658         * src/SDCCdflow.c (computeDataFlow): fixed bug #460088
1659
1660 2002-02-22    <johan@balder>
1661
1662         * src/SDCCast.c: fixed bug #514865
1663
1664         * src/SDCCy.c ("SDCC.y"): fixed bug #516625
1665
1666 2002-02-21  Sandeep Dutta  <sandeep@ddi.com>
1667
1668         * sdcc/src/SDCCloop.c:
1669         Previous fix was not good. basic blocks that have "break" or "return" are
1670         not really partof a loop , but live ranges used in these blocks should
1671         be live thru the entire loop, so set partOfLoop but don't add them to
1672         loop region
1673
1674 2002-02-21    <johan@FRIJA>
1675
1676         * src/SDCCcse.c: fixed bug #514308
1677
1678 2002-02-20  Sandeep Dutta  <sandeep@ddi.com>
1679
1680         * src/SDCCloop.c:
1681         Fixed BUG #519583. If a conditional block ended in a return/break
1682         statement inside a loop, it was not being considered part of the loop.
1683
1684         * src/SDCCcflow.c: Removed fix (Fixed in SDCCloop.c)
1685
1686 2002-02-10  Karl Bongers <karl@turbobit.com>
1687
1688         * debugger/*:
1689         Fixed up SDCDB debugger somewhat.  Updated debugger/README
1690         with lots of comments and notes.
1691
1692         * device/examples/test2.c:
1693         Fix bug, "red" variable not being initialized(compiler complained).
1694
1695         * device/examples/Makefile, examples/test3.c:
1696         Add Makefile in device/examples folder, compiles test3.c
1697         for use as a multiple module SDCDB test case.
1698
1699         * sim/ucsim/cmd.src/cmdset.cc:
1700         Took out debug printfs in ucsim "next" command.
1701
1702         * sim/ucsim/xa.src:
1703         Karl and Johan start ucsim XA support.  Most dissassembly working,
1704         about 75% emulation done(plenty of work remaining).
1705
1706         * sim/ucsim/z80.src:
1707         Add Z80 support to ucsim, add test-ucz80 regression test,
1708         notice ucsim/z80 emulation fails on examples/test3.c/itoa code.
1709         Notice z80 compiler fails on examples/test3.c/crc code.
1710
1711 2002-01-30  Sandeep Dutta  <sandeep@ddi.com>
1712
1713         * src/mcs51/gen.c, src/mcs51/main.c, src/mcs51/ralloc.c:
1714         Added support for --parms-in-bank1
1715
1716         * src/ds390/peeph.def:
1717         added a few more peephole optimzations
1718
1719         * src/ds390/main.c:
1720         1) added __builtin_inp & __builtin_outp used to read in data of given length
1721            from a memory mapped port
1722         2) added __builtin_memcmp
1723         3) added __builtin_swapw swap bytes of a short
1724
1725         * src/ds390/gen.c, src/ds390/gen.h, src/ds390/ralloc.c:
1726         1) handle multiple send & receives from register bank1
1727         2) ralloc can now allocate DPTR1 to some liveRanges
1728
1729         * src/SDCCsymt.c, src/SDCCsymt.h:
1730         changes to handle multiple sends & receives
1731
1732         * src/SDCCptropt.h:
1733         added some pointer arithmetic optimization
1734
1735         * src/SDCCptropt.c:
1736         added some pointer arithmetic optimizations but not stable yet so not
1737         called from anywhere (will get this working shortly)
1738
1739         * src/SDCCopt.c: fixed for multiple sends & receives
1740
1741         * src/SDCCmain.c:
1742         1) added options --parms-in-bank1 (ds390/mcs51) & --protect-sp-update
1743         2) preprocessing done AFTER port->finalizeoptions . This allows ports to
1744            set preprocessor defines (depending on options)
1745
1746         * src/SDCCicode.c, src/SDCCicode.h:
1747         changes made to handle multiple sends & receives
1748
1749         * src/SDCCglobl.h:
1750         Added options --protect-sp-update (ds390) and --parms-in-bank1 (ds390/mcs51)
1751
1752         * src/SDCCcse.c, src/SDCCcse.h:
1753         added function findbackward def (to be used in upcoming optimization)
1754
1755         * src/SDCCcflow.c, src/SDCCcflow.h:
1756         added function returnAtEnd - to determine if a basic block terminates with
1757         a RETURN iCode
1758
1759         * src/SDCCast.c, src/SDCCast.h:
1760         added option parms-in-bank1
1761
1762         * device/lib/_divsint.c, device/lib/_divslong.c, device/lib/_divuint.c 
1763         * device/lib/_divulong.c, device/lib/_modsint.c, device/lib/_modslong.c 
1764         * device/lib/_modulong.c, device/lib/_mulint.c, device/lib/_mullong.c:
1765         adjusted for --parms-in-bank1 option
1766
1767         * device/include/string.h:
1768         donot redefine "reentrant" keyword
1769
1770         * device/include/ds80c390.h: Added some more SFRs
1771
1772 2002-01-28  Bernhard Held  <bernhard@bernhardheld.de>
1773
1774         * sim/ucsim: Merged branch ucsim-034-pre3 to main trunk; new version 0.4 
1775
1776 2002-01-26  Bernhard Held  <bernhard@bernhardheld.de>
1777
1778         * src/SDCCast.c (funcOfType): fix usage of double --float-reent
1779
1780 2002-01-22  Bernhard Held  <bernhard@bernhardheld.de>
1781
1782         * support/regression/fwk/lib/testfwk.c (main): Removed workaround for bug #505387
1783
1784 2002-01-18  Paul Stoffregen  <paul@pjrc.com>
1785
1786         * Added --xram-movc option
1787
1788 2002-01-13  Bernhard Held  <bernhard@bernhardheld.de>
1789
1790         * support/regression/Makefile: don't include test-mcs51-stack-auto in target all
1791
1792 2002-01-11  Johan Knol
1793
1794         * Added math lib of Jesus Calvino-Fraga
1795
1796 2002-01-08  Bernhard Held  <bernhard@bernhardheld.de>
1797
1798         * src/SDCCmain.c (processFile): fix processing of ../../src.c
1799         * support/regression/Makefile: new target test-mcs51-stack-auto
1800         * support/regression/ports/mcs51-stack-auto/spec.mk: added
1801
1802 2002-01-04  Bernhard Held  <bernhard@bernhardheld.de>
1803
1804         * src/SDCCglue.h: printIvalCharPtr(), not printIvalChar()
1805
1806 2002-01-04  Bernhard Held  <bernhard@bernhardheld.de>
1807
1808         * support/regression/ports/mcs51/support.c: correct setup of timer / UART
1809
1810 2002-01-03  Bernhard Held  <bernhard@bernhardheld.de>
1811
1812         * src/SDCCsymt.c (processFuncArgs): fix #498307 by Johan
1813
1814         * src/SDCCglue.h: add definition for printIvalChar()
1815
1816 2002-01-02  Bernhard Held  <bernhard@bernhardheld.de>
1817
1818         * src/SDCCast.c: fix #498138 by Johan
1819
1820         * src/SDCCglue.c: fix #498138 by Johan
1821
1822 2002-01-02  Bernhard Held  <bernhard@bernhardheld.de>
1823
1824         * support/regression/Makefile: fix clean
1825
1826         * support/regression/ports/ds390/support.c: fix transmission of last character
1827
1828 2001-12-29  Sandeep Dutta  <sandeep@ddi.com>
1829
1830         * /sdcc/src/ds390/gen.c:
1831         a) improved computing address of stack variable
1832         b) took out some #if 0 code
1833         c) improved parmBytes adjustment
1834         d) improved genPlusIncr & genMinusIncr
1835         e) genCmp could generate bad code (when left assigned to DPTR)
1836         f) Fixed bug in hasInc
1837
1838         * /sdcc/src/ds390/ralloc.c:
1839         a) packRegsForSupport could mess up live information (Fixed)
1840         b) packRegsDPTRuse could be incorrect for left & right shift
1841
1842         * /sdcc/src/mcs51/ralloc.c:
1843         packRegsForSupport could mess up the live information (Fixed)
1844
1845         * /sdcc/src/mcs51/gen.c: Fixed a bug in hasInc
1846
1847         * /sdcc/src/SDCCast.c:
1848         can reverse a loop even if function call is present as long
1849         as the loop control variable is local & is not passed as parameter
1850
1851 2001-12-24  Sandeep Dutta  <sandeep@ddi.com>
1852
1853         * /sdcc/ChangeLog: *** empty log message ***
1854
1855         * /sdcc/src/ds390/gen.c, /sdcc/src/ds390/main.c:
1856         More builtin function additions for TININative
1857
1858         * /sdcc/src/ds390/ralloc.c:
1859         Had broken the regression testsuite
1860
1861         * /sdcc/src/SDCCast.c: Fixed a bug in dumptree
1862
1863         * /sdcc/src/SDCCsymt.c, /sdcc/src/SDCCsymt.h:
1864         Added funcattr hasStackParms will be set for reentrant functions when there
1865         are paramteres on the stack, this helps in minimizing frame pointer generation
1866         typeFromStr can handle function pointers now
1867
1868         * /sdcc/doc/builtins.txt, /sdcc/doc/TININative.txt:
1869         *** empty log message ***
1870
1871 2001-12-24  Sandeep Dutta  <sandeep@ddi.com>
1872
1873         * /src/ds390/gen.c, /src/ds390/main.c:
1874         More builtin function additions for TININative
1875
1876         * /src/ds390/ralloc.c:
1877         Had broken the regression testsuite
1878
1879         * /src/SDCCast.c: Fixed a bug in dumptree
1880
1881         * /src/SDCCsymt.c, /src/SDCCsymt.h:
1882         Added funcattr hasStackParms will be set for reentrant functions when there
1883         are paramteres on the stack, this helps in minimizing frame pointer generation
1884         typeFromStr can handle function pointers now
1885
1886         * /doc/builtins.txt, /doc/TININative.txt:
1887         *** empty log message ***
1888
1889
1890 2001-12-24  Sandeep Dutta  <sandeep@ddi.com>
1891
1892         * /src/ds390/gen.c, /src/ds390/main.c, /src/ds390/peeph.def, /src/ds390/ralloc.c:
1893         ALPHA version for -mTININative
1894
1895         * /src/izt/i186.c, /src/izt/tlcs900h.c, /src/mcs51/main.c, /src/pic/main.c, /src/z80/main.c, /src/avr/main.c:
1896         updated to reflect changes in the port structure
1897
1898         * /src/port.h:
1899         added function do_assemble (similar to do_link) if non-null this function
1900         will be called to do assembly (-mTININative) requires a multi command
1901         assembly
1902         added function genAssemblerEnd will be called to generate assembler Epilogue
1903
1904         * /src/SDCCsymt.c:
1905         added _JavaNative to debug info printing
1906
1907         * /src/SDCCmain.c: added option --tini-libid
1908         added port->do_assemble function (-mTININative) has a multi command assemble
1909
1910         * /src/SDCCglue.c: Disabled "constExpr" check
1911         added port->genAssemblerEnd function
1912
1913         * /src/SDCCglobl.h: Added option --tini-libid value
1914
1915         * /src/SDCCast.h:
1916         tookout optimizeCompare from the header (has no external references)
1917
1918         * /src/SDCCast.c: made one more function "static"
1919
1920 2001-12-23  Michael Hope  <michaelh@juju.net.nz>
1921
1922         * src/z80/mappings.i: Added z80asm support.
1923
1924         * src/z80/main.c: Added z80asm support on --asm=z80asm
1925
1926         * src/z80/gen.c: Fixed asm portability issues.
1927
1928         * src/asm.c (tvsprintf): Removed old code, added 'N' for function name.  For extern support.
1929
1930         * src/SDCCglue.c (printExterns): Added global/extern split.
1931
1932 2001-12-17  Bernhard Held  <bernhard@bernhardheld.de>
1933
1934         * support/regression/Makefile: added test for mcs51 model large
1935
1936         * support/regression/ports/mcs51-large/spec.mk: added test for mcs51 model large
1937
1938         * support/regression/ports/gbz80/spec.mk: added -mgbz80
1939
1940 2001-12-05  Michael Hope  <michaelh@juju.net.nz>
1941
1942         * src/diff.1 (Index): Many, many optmisiations.  Dhrystone up to 201.
1943
1944 1904-01-06  Michael Hope  <michaelh@juju.net.nz>
1945
1946         * src/z80/ralloc.c (packRegsForIYUse): Fixed the case where an operand is in direct space.
1947
1948         * src/z80/gen.c (makeFreePairId): Optimised IY load by using a spare pair.
1949
1950 2001-12-02  Bernhard Held  <bernhard@bernhardheld.de>
1951
1952         * src/mcs51/gen.c (genFunction): avoid excess "inc sp"
1953
1954         * support/regression/tests/simplefloat.c: Port to mcs51.
1955
1956 2001-11-25  Michael Hope  <michaelh@juju.net.nz>
1957         * support/regression/tests/bug-485362.c: Added.
1958
1959         * support/regression/tests/simplefloat.c (testDivNearOne): Added.
1960
1961         * src/z80/gen.c (aopOp): Fixed case where left and result are in the same spill loc and they have different sizes.
1962
1963         * src/z80/peeph.def: Added rules for optimising two byte compares on the same thing, and to optimise two ptr assign.
1964
1965         * src/z80/gen.c (aopDump): Added a dump function.
1966
1967 2001-11-25  Bernhard Held  <bernhard@bernhardheld.de>
1968         * sim/ucsim/s51.src/glob.cc: DS390 SFRs and bits added.
1969
1970         * sim/ucsim/s51.src/port.cc: Port 4 and 5 added.
1971
1972         * sim/ucsim/s51.src/regs51.h: DS390 SFRs added.
1973
1974         * sim/ucsim/s51.src/uc390.cc: Some details improved, CKRDY works for tinibios.
1975
1976         * sim/ucsim/s51.src/uc390cl.h: Work in progress.
1977
1978         * sim/ucsim/sim.src/uccl.h: 6 ports for DS390.
1979
1980         * support/regression/fwk/lib/testfwk.c: Run with tinibios.
1981
1982         * support/regression/ports/mcs51/spec.mk: Fine tuninig.
1983
1984         * support/regression/ports/ds390/support.c: Use tinibios.
1985
1986         * support/regression/ports/ds390/spec.mk: Fine tuning, use tinibios.
1987
1988 2001-11-23  Michael Hope  <michaelh@juju.net.nz>support/regression/tests/bug-460010.c
1989
1990         * src/z80/ralloc.c (packRegsForHLUse3): Changed to not pack into HL if anything is in direct space.
1991         (packRegsForHLUse3): Added packing support for send, cast, and return value from a call.
1992
1993         * src/z80/peeph.def: Added rules for optimising pushes of part of a pair.
1994
1995         * src/z80/gen.c (emitCall): Changed the stack fixup to not use HL.
1996
1997 2001-11-18  Michael Hope  <michaelh@juju.net.nz>
1998
1999         * src/z80/gen.c (genCmp): Fixed compare on unsigned.
2000
2001         * src/z80/ralloc.c (packRegsForHLUse3): Created and optimised.
2002         (packRegsForIYUse): Created and optimised.
2003
2004 2001-11-07  Michael Hope  <michaelh@juju.net.nz>
2005
2006         * support/regression/tests/float.c (testFloatAdd): Fixed up warning.
2007 2001-11-18  Bernhard Held  <bernhard@bernhardheld.de>
2008
2009         * sdcc/support/regression/tests/bug-460010.c: fix seg violation on host
2010
2011         * sdcc/support/regression/tests/muldiv.c: fix output on mcs51
2012
2013         * sdcc/support/regression/tests/stacks.c: fix DSEG overflow on mcs51
2014
2015 2001-11-07  Bernhard Held  <bernhard@bernhardheld.de>
2016
2017         * sdcc/sim/device/lib/_gptrget.c: mem region 5 (idata) added
2018
2019         * sdcc/sim/device/lib/_gptrput.c: mem region 5 (idata) added
2020
2021 2001-11-07  Bernhard Held  <bernhard@bernhardheld.de>
2022
2023         * sdcc/sim/ucsim/globals.cc: New: IXRAM.
2024
2025         * sdcc/sim/ucsim/stypes.h: New: IXRAM.
2026
2027         * sdcc/sim/ucsim/s51.src/uc390.cc: New: IXRAM.
2028
2029 2001-11-07  Michael Hope  <michaelh@juju.net.nz>
2030
2031         * src/z80/ralloc.c (packRegsForHLUse): Banned IFXs from being packed into HL.
2032         (packRegsForHLUse): Added rule to pack address of/pointer get for itemps into HL for the Z80.
2033         (packRegsForAccUse2): Added rule to pack hbit IFXs into A.
2034
2035         * src/z80/main.c (_setDefaultOptions): Made float code re-entrant by default.
2036
2037         * src/z80/gen.c (aopGetLitWordLong): Added word support for floats.
2038         (genNotFloat): Added.
2039         (genUminusFloat): Added.
2040
2041         * device/lib/z80/Makefile: Added floating pt stubs.
2042
2043         * device/lib/Makefile.in (Z80SOURCES): Added floating pt support.
2044
2045         * src/z80/gen.c (genIpush): Fixed up a push of one byte when left is in a pair.
2046
2047         * device/lib/_fsadd.c (__fsadd): Fixed up return where the numbers are hugely different.
2048
2049 2001-11-07  Bernhard Held  <bernhard@bernhardheld.de>
2050
2051         * sdcc/sim/ucsim/s51.src/glob.cc: Minor fix.
2052
2053         * sdcc/sim/ucsim/s51.src/regs51.h: Minor fix.
2054
2055         * sdcc/support/regression/Makefile: Add port ds390.
2056
2057         * sdcc/support/regression/ports/mcs51/spec.mk: Minor change.
2058
2059         * sdcc/support/regression/ports/z80/spec.mk: Minor change.
2060
2061         * sdcc/support/regression/ports/ds390/spec.mk: Added.
2062
2063         * sdcc/support/regression/ports/ds390/support.c: Added.
2064
2065         * sdcc/support/regression/ports/ds390/uCsim.cmd: Added.
2066
2067         * sdcc/support/regression/ports/mcs51/timeout.c: Cut.
2068
2069         * sdcc/support/regression/fwk/lib/timeout.c: Paste.
2070
2071 2001-11-04  Michael Hope  <michaelh@juju.net.nz>
2072
2073         * device/include/malloc.h: Added z80 and gbz80 support.
2074
2075         * device/lib/gbz80/heap.s: Added.
2076
2077         * device/lib/z80/heap.s: Added.
2078
2079         * device/lib/malloc.c: Added z80 and gbz80 support.
2080
2081         * support/regression/tests/malloc.c (testMalloc): Added.
2082
2083         * src/SDCCmain.c (parseCmdLine): Added support for -Wp.
2084
2085         * support/regression/tests/bug-478094.c: Added.
2086
2087         * src/z80/gen.c (commitPair): Fixed silly gbz80/z80 commit to static bug.
2088
2089 2001-11-04  Bernhard Held  <bernhard@bernhardheld.de>
2090
2091         * sdcc/sim/ucsim/s51.src/uc390cl.h: Improvement for ds390 to run regression tests
2092
2093         * sdcc/sim/ucsim/s51.src/uc390.h: Improvement for ds390 to run regression tests
2094
2095         * sdcc/sim/ucsim/s51.src/regs51.h: Improvement for ds390 to run regression tests
2096
2097         * sdcc/sim/ucsim/s51.src/glob.cc: Improvement for ds390 to run regression tests
2098
2099         * sdcc/support/regression/tests/bug-460010.c: Small change for ds390
2100
2101 2001-11-04  Michael Hope  <michaelh@juju.net.nz>
2102
2103         * src/z80/peeph-gbz80.def: Removed a bad sub optimisation.
2104
2105 2001-11-03  Michael Hope  <michaelh@juju.net.nz>
2106
2107         * support/regression/tests/bug-477927.c: Added.
2108
2109         * src/z80/peeph.def: Added minor rules.
2110
2111         * src/z80/gen.c (genPlusIncr): Added an extra plusinc rule.
2112
2113         * src/z80/peeph.def: Added jump optimisation modification.
2114
2115 2001-11-01  Michael Hope  <michaelh@juju.net.nz>
2116
2117         * src/SDCCmain.c (linkEdit): Added runtime path detection to the mcs51 port.
2118
2119 2001-10-30  Michael Hope  <michaelh@juju.net.nz>
2120
2121         * support/regression/tests/funptrs.c: Added.
2122
2123 2001-10-29  Michael Hope  <michaelh@juju.net.nz>
2124
2125         * src/z80/ralloc.c (packRegsForHLUse): Fixed up bad spill due to pushing one byte via HL.
2126
2127 2001-10-28  Michael Hope  <michaelh@juju.net.nz>
2128
2129         * src/z80/gen.c (genArrayInit): Made it work for on stack arrays.
2130
2131         * src/z80/main.c (gbz80_port =): Added rle support to the gbz80 port.
2132
2133         * src/z80/gen.c (genMinus): Fixed for where the result is one byte.
2134         (movLeft2ResultLong): Created.
2135
2136         * src/z80/ralloc.c (packRegsForHLUse): Added a couple of simple cases for the GB.
2137         (joinPushes): Added.  Joins two char pushes into a word push.
2138
2139 2001-10-27  Michael Hope  <michaelh@juju.net.nz>
2140
2141         * support/cpp2/Makefile.in (install): Added creation of dest dir.
2142
2143         * support/makebin/Makefile (install): Added creation of dest dir.
2144
2145 2001-10-24 Karl Bongers <karl@turbobit.com>
2146
2147         * configure.in, configure, Makefile, support/cpp: Removed cpp folder, since we have new cpp2 preprocessor code.
2148
2149 2001-10-21  Michael Hope  <michaelh@juju.net.nz>
2150
2151         * src/z80/ralloc.c: Turned off faulty pack for one use.
2152
2153         * src/z80/peeph-gbz80.def: Removed redundent restart options.
2154
2155         * src/z80/gen.c (genMult): Added native mul for constants on the z80 and gbz80.
2156
2157 2001-10-21  Bernhard Held  <bernhard@bernhardheld.de>
2158
2159         * support/regression/Makefile: Improved clean
2160
2161         * support/regression/ports/gbz80/spec.mk: Added clean
2162
2163         * support/regression/ports/host/spec.mk: Added clean
2164
2165         * support/regression/ports/z80/spec.mk: Added clean
2166
2167         * support/regression/ports/mcs51/spec.mk: Added clean, little improvements
2168
2169         * support/regression/ports/mcs51/timeout.c: little improvements
2170
2171 2001-10-17  Michael Hope  <michaelh@juju.net.nz>
2172
2173         * device/lib/malloc.c (MEMHEADER): Fixed against new pedantic pointers.
2174
2175         * support/regression/fwk/include/testfwk.h: Fixed up to use function pts correctly.
2176
2177         * support/regression/generate-cases.py: Fixed up to use function pts correctly.
2178
2179 2001-10-16  Bernhard Held  <bernhard@bernhardheld.de>
2180
2181         * support/regression/port/mcs51/spec.mk: add timeout for uCsim
2182
2183         * support/regression/port/mcs51/timeout.c: add timeout for uCsim
2184
2185 2001-10-13  Michael Hope  <michaelh@juju.net.nz>
2186         * src/z80/gen.c (emitCall): Fixed up missing spill of HL when used to assign the result value.
2187
2188         * src/z80/ralloc.c: Turned off pack for one use as it's quite broken.
2189
2190         * src/SDCCmain.c (linkEdit): Added support for passing a legacy command line through the processor.
2191
2192         * src/mcs51/main.c (_linkCmd): Added bin path to command.
2193
2194         * src/SDCCmain.c (initValues): Added support for when it it called just to link.
2195
2196         * as/mcs51/lklibr.c (libfil;): Turned off 'library file' message.
2197
2198         * src/SDCCval.c (constVal): Fixed usage of 'L' modifier problems on ppc.
2199
2200         * support/regression/tests/longor.c: Added.
2201
2202 2001-10-11  Bernhard Held  <bernhard@bernhardheld.de>
2203
2204         * as/mcs51/asdata.c: replaced FILENAME_MAX with PATH_MAX
2205
2206         * as/mcs51/aslink.h: define PATH_MAX
2207
2208         * as/mcs51/asm.h: define PATH_MAX
2209
2210         * as/mcs51/asmain.c: replaced FILENAME_MAX with PATH_MAX
2211
2212         * as/mcs51/asnoice.c: replaced FILENAME_MAX with PATH_MAX
2213
2214         * as/mcs51/lklex.c: replaced FILENAME_MAX with PATH_MAX
2215
2216         * as/mcs51/lkmain.c: replaced FILENAME_MAX with PATH_MAX
2217
2218         * src/SDCCglobl.h: define PATH_MAX
2219
2220         * src/SDCCmacro.c: replaced FILENAME_MAX with PATH_MAX
2221
2222         * src/SDCCmain.c: replaced FILENAME_MAX with PATH_MAX
2223
2224 2001-10-11  Michael Hope  <michaelh@juju.net.nz>
2225
2226         * src/z80/gen.c (gencjneshort): Fixed
2227
2228         * src/z80/ralloc.c (packRegsForHLUse): Added pack into HL for cast then ipush.
2229
2230 2001-10-09  Michael Hope  <michaelh@juju.net.nz>
2231
2232         * support/regression/tests/bug-469671.c: Added.
2233
2234         * src/z80/gen.c (shiftIntoPair): Fixed up warning.
2235
2236 2001-10-08  Michael Hope  <michaelh@juju.net.nz>
2237
2238         * src/SDCCmain.c: Added --fommit-frame-pointer option and implemented in the z80 port.
2239
2240         * src/z80/gen.c (genPlus): Fixed to work with extended stack.  Also fixed genMinus, genCmp.  genUMinus is still left.
2241
2242 2001-10-08  Bernhar Held  <bernhard@bernhardheld.de>
2243
2244         * src/SDCCmain.c (preProcess): added define SDCC_NOOVERLAY
2245
2246         * src/device/lib/_mulint.c  : removed hint: nooverlay bug
2247
2248         * src/device/lib/_mullong.c : removed hint: nooverlay bug
2249
2250         * src/device/lib/_divuint.c : removed hint: nooverlay bug
2251
2252         * src/device/lib/_divulong.c: removed hint: nooverlay bug
2253
2254         * src/device/lib/_moduint.c : removed hint: nooverlay bug
2255
2256         * src/device/lib/_modulong.c: removed hint: nooverlay bug
2257
2258 2001-10-07  Michael Hope  <michaelh@juju.net.nz>
2259
2260         * src/z80/gen.c (setupPair): Added 'extended stack' support for the z80.  Can now have local variables or parameters of more than 127 bytes in size.  Increadibly slow, but it will work.  Currently anything involving the carry flag.
2261
2262         * support/Util/NewAlloc.c (freeTrace): Changed free for the gc case to not free at all.  Fixes runtime segfault.
2263
2264         * support/regression/tests/scott-compare3.c (c_abcd): Fixed up casts.
2265
2266 2001-10-07    <johan@FRIJA>
2267
2268         * device/lib/gets.c (gets): fixed the return value.
2269
2270 2001-10-06  Michael Hope  <michaelh@juju.net.nz>
2271         * src/SDCCmain.c (WRITE_SEG_LOC): Fixed up to use Safe_strdup.
2272
2273         * src/SDCCpeeph.c (peepHole): Fixed all leaks.  Added trace support for freeing lines.  Optimised restart logic to re-run instead of restart.  Now compiles dscan.c on ~60MB instead of ~200MB.
2274
2275         * support/Util/NewAlloc.c: Added ability to use libgc instead of malloc.  Added Safe_free and Safe_strdup.  Added trace support where you can log allocations and free all at once.
2276
2277         * src/z80/gen.c (genZ80Code): Added de-allocation via trace support.
2278
2279         * src/pic/gen.c: Removed Safe_strdup.
2280
2281         * configure.in: Added option to enable libgc support.
2282
2283         * src/SDCCbitv.c (bitVectnBitsOn): Optimised.
2284         (bitVectUnion): Optimised.
2285         (bitVectIntersect): Optimised.
2286         (bitVectBitsInCommon): Optimised.
2287         (bitVectCplAnd): Optimised.
2288
2289         * support/makebin/makebin.c (usage): Removed getopt as mingw32 doesn't have it.  Sigh.
2290
2291 2001-10-03 Bernhard Held <bernhard@bernhardheld.de>
2292
2293         * src/SDCCmain.c: distinguish between assembler debug and plain options
2294
2295         * src/avr/main.c:   remove standard assembler options
2296
2297         * src/ds390/main.c: remove standard assembler options
2298
2299         * src/mcs51/main.c: remove standard assembler options
2300
2301         * src/port.h: removed "PENDING" comment
2302
2303 2001-10-03 Bernhard Held <bernhard@bernhardheld.de>
2304
2305         * src/device/lib/_mulint.c  : new, with assember functions
2306
2307         * src/device/lib/_mullong.c : new, with assember functions
2308
2309         * src/device/lib/_divuint.c : with assember functions
2310
2311         * src/device/lib/_divsint.c : with assember functions
2312
2313         * src/device/lib/_divulong.c: with assember functions
2314
2315         * src/device/lib/_divslong.c: with assember functions
2316
2317         * src/device/lib/_moduint.c : with assember functions
2318
2319         * src/device/lib/_modsint.c : with assember functions
2320
2321         * src/device/lib/_modulong.c: with assember functions
2322
2323         * src/device/lib/_modslong.c: with assember functions
2324
2325         * src/device/lib/libint.lib:  replaced _muluint.c  and _mulsint.c  by _mulint.c
2326
2327         * src/device/lib/liblong.lib: replaced _mululong.c and _mulslong.c by _mullong.c
2328
2329         * src/device/lib/Makefile.in: replaced _muluint.c  and _mulsint.c  by _mulint.c
2330                                       replaced _mululong.c and _mulslong.c by _mullong.c
2331
2332 2001-10-03 Bernhard Held <bernhard@bernhardheld.de>
2333
2334         * src/SDCCsymt.c: sequence of specifiers in pintTypeChain() corrected
2335
2336 2001-10-01 Bernhard Held <bernhard@bernhardheld.de>
2337
2338         * src/SDCCglue.c: test, if win32api is available for MINGW
2339
2340 2001-10-01 Bernhard Held <bernhard@bernhardheld.de>
2341
2342         * src/SDCCsymt.c: no more _modifier in printTypeChain()
2343         * support/regression/tests/driverstruct.c: REENTRANT for mcs51
2344         * support/regression/ports/gbz80/spec.mk: removed GENERIC
2345         * support/regression/ports/host/spec.mk: removed GENERIC
2346         * support/regression/ports/mcs51/spec.mk: removed GENERIC
2347         * support/regression/ports/z80/spec.mk: removed GENERIC
2348
2349 2001-10-01  Michael Hope  <michaelh@juju.net.nz>
2350
2351         * support/regression/fwk/lib/testfwk.c (__printf): Removed GENERIC.
2352
2353         * support/regression/tests/bug-467035.c: Created.
2354
2355 2001-10-01    <johan@FRIJA>
2356
2357         * src/SDCC.y: fixed bug #466586 part 1
2358
2359 2001-10-01  Johan Knol <johan.knol@iduna.nl>
2360
2361         * SDCCicode.c: z80 has no generic pointers
2362         * removed -s from strip in all Makefile(.in)'s. It is not needed, but Solaris chocks on it.
2363         
2364 2001-09-30  Michael Hope  <michaelh@juju.net.nz>
2365
2366         * sim/ucsim/cmd.src/Makefile.in ($(PRJDIR)/libcmd.a): Changed all ar references to $(AR) for Solaris.
2367
2368 2001-09-29  Michael Hope  <michaelh@juju.net.nz>
2369
2370         * Makefile (sdcc-libs): Added makebin to the list of standard targets.
2371
2372         * support/regression/ports/z80/spec.mk: Updated to use env for sdcc bin dir for automatic regression.
2373
2374 2001-09-25  Michael Hope  <michaelh@juju.net.nz>
2375
2376         * configure.in: Fixed up so that ucsim is only configured once.
2377
2378         * support/cpp2/configure.in: Fixed to use the program transform to append the .exe for the win32 build.
2379
2380         * src/SDCCutil.c (getPrefixFromBinPath): Fixed up to work with win32 in all of its glory.
2381         (getPathDifference): As above.
2382
2383         * src/SDCCmain.c (preProcess): Changed to use a temporary file in a proper temp directory.  Fixed case where pre-processing only.
2384
2385         * src/SDCCglue.c (tempfilename): Added function for pre-processor.
2386
2387 2001-09-23  Michael Hope  <michaelh@juju.net.nz>
2388         * .version: Updated to 2.3.1
2389
2390         * src/z80/main.c (z80_port =): Added macro based linker and assembler command line support.
2391         Added copyright header.
2392
2393         * src/SDCCmain.c: Shifted various functions into SDCCutil.c
2394         (assemble): Added support for macro based assembler commands.
2395         (linkEdit): Added support for macro based linker commands.
2396         (preProcess): Changed the pre-processor to use macros.
2397         (_setPaths): Added functionality to autodetect the include, lib and bin dir paths.
2398         (_discoverPaths): Added support for overriding the install directory using the SDCCDIR env variable.
2399
2400         * device/lib/z80/crt0.s: Added module name for debugging.
2401
2402 2001-09-20  Michael Hope  <michaelh@juju.net.nz>
2403
2404         * src/SDCCmain.c (printVersionInfo): Added the build date to the version info.
2405
2406         * src/SDCChasht.c (hTabDeleteByKey): Fixed delete as it would delete the last item from a bucket even if it wasn't the real one.
2407
2408         * src/SDCCglue.c: Moved gc_strdup to SDCCutil.c
2409
2410         * src/Makefile.in: Added SDCCmacro and SDCCutil
2411
2412 2001-09-19  Michael Hope  <michaelh@juju.net.nz>
2413
2414         * src/SDCCmain.c (printVersionInfo): Added the build date to the version info.
2415
2416 2001-09-16    <johan@FRIJA>
2417
2418         * support/Util/SDCCerr.c: fixed up the error/warning/info database. I only changed the E_ W_ I_ prefix to what SDCCerr.c says it is.
2419
2420 2001-09-15    <johan@FRIJA>
2421
2422         * src/mcs51/ralloc.c: (findAssignToSym): fixed bug #460662 part 1
2423         * src/ds390/ralloc.c (findAssignToSym): fixed bug #460662 part 1
2424
2425 2001-09-11    <johan@FRIJA>
2426
2427         * src/SDCCval.c (valDiv Mod Minus Plus Shift): keep litteral expressions as small as possible (bug #460010)
2428
2429 2001-09-10  Michael Hope  <michaelh@juju.net.nz>
2430
2431         * support/regression/tests/bug-460444.c: Added test case.
2432
2433         * src/z80/gen.c (genOr): bug 460444: if (a ^ lit) was broken for &, |, and ^.
2434         (genCast): Added justification for all of the asserts.
2435
2436 2001-09-10  Bernhard Held <bernhard@bernhardheld.de>
2437
2438         * support/regression/support.c: _xdata replaced by xdata
2439
2440         * support/regression/spec.mk: removed _generic
2441
2442 2001-09-09  Michael Hope  <michaelh@juju.net.nz>
2443
2444         * src/pic/ralloc.c (debugLogRegType): Removed some old types to get it to compile.
2445
2446         * src/z80/gen.c (shiftR2Left2Result): Improved the case when v = v >> n for small values of n to use less code space and time.
2447         (genrshTwo): Fixed v = v >> n where v is a negative int and n is > 8: bug 460010.
2448
2449         * src/z80/peeph.def: Added a rule to optimise shift then compare.
2450
2451         * support/regression/tests/bug-460000.c (testShiftByParam): Added test case.
2452
2453         * support/regression/tests/bug-460010.c: Added test case.
2454
2455         * support/regression/Makefile (test-host): Removed a silly 'clean' target when testing against gcc.
2456
2457 2001-09-09  Bernhard Held <bernhard@bernhardheld.de>
2458
2459         * support/regression/Makefile: inter-port-clean adjusted for mcs51
2460
2461         * support/regression/testfwk.c: removed workaround for bug #436344
2462
2463         * support/regression/tests/bp.c: use less memory with mcs51
2464
2465         * support/regression/tests/bug-441448.c: use less memory
2466
2467         * support/regression/tests/ports/mcs51/spec.mk: cleanup, use --stack-after-data
2468
2469         * support/regression/collate-results.py: typo
2470
2471 2001-09-08  Michael Hope  <michaelh@juju.net.nz>
2472
2473         * support/regression/tests/fetchoverlap.c: Added new test case.
2474
2475         * support/regression/tests/bp.c: Added new test case.
2476
2477         * support/regression/tests/bug-448984.c: Added new test case.
2478
2479         * support/regression/tests/pow2shifts.c: Added new test case.
2480
2481         * src/z80/gen.c: Turned off the noise it normally generates for the release.
2482         (genlshTwo): Fixed right shift for count > 8.
2483
2484         * src/z80/ralloc.c: Disabled most of the ACC packing rules as they weren't getting hit and weren't at all safe.
2485
2486 2001-09-08    <johan@FRIJA>
2487
2488         * src/SDCCicode.c (geniCodeCall): a CPOINTER can be used as a function
2489
2490 2001-09-07    <johan@FRIJA>
2491
2492         * src/SDCCicode.c (newiCodeCondition): fixed bug #456235 (1.77)
2493
2494         * src/SDCCglue.c (emitRegularMap): only delete a symbol when it is a symbol
2495
2496 2001-09-06    <johan@FRIJA>
2497
2498         * src/SDCC.y: this could be a fix for bug #458744 (1.37)
2499         * bernhard noted me at this: "() equals to (void)" (1.38)
2500
2501 2001-09-05    <johan@FRIJA>
2502
2503         * src/SDCCglue.c (emitRegularMap): a fix for bug #458099/2
2504
2505 2001-09-04    <johan@FRIJA>
2506
2507         * src/SDCCsymt.c (checkSClass): a fix for bug #458099/1
2508
2509
2510 2001-09-04  Paul Stoffregen  <paul@pjrc.com>
2511
2512         * pragma noinduction broke memcpy on mcs51 large model.  Moved it inside z80 optimization
2513
2514 2001-09-03  Michael Hope  <michaelh@juju.net.nz>
2515
2516         * link/z80/aslink.h: Fixed path for PATH_MAX
2517
2518 2001-09-02  Michael Hope  <michaelh@juju.net.nz>
2519
2520         * src/z80/gen.c (fetchLitPair): Changed so that it properly caches direct space references.
2521
2522         * support/regression/tests/addsub.c: Added cases to cover all the +, - combinations.
2523
2524         * support/regression/tests/uminus.c: Added a test for the unary minus operator.
2525
2526         * src/z80/gen.c (genUminus): Fixed add, sub, and uminus on the gbz80 port for longs.  Had to shift some functions about to do it.
2527
2528 2001-09-01  Michael Hope  <michaelh@juju.net.nz>
2529
2530         * src/z80/gen.c: Fixed up generator to pass the regresion tests, specifically fixing loads for longs, genCmp, and turned on the map file.
2531         (genCmp): Fixed up genCmp for the GB with longs.
2532
2533         * device/lib/gbz80/Makefile: Fixed up all the libraries to pass the regression tests.
2534
2535         * support/regression/ports/host/spec.mk: Updated to compile with the new type specifiers.
2536
2537         * device/lib/Makefile.in (Z80SOURCES): Removed old _mululong, _mulslong, and unneeded _mulint.
2538
2539         * device/lib/_mullong.c (_mulslong): Changed to actually return a value :)
2540
2541 2001-08-30  Paul Stoffregen  <paul@pjrc.com>
2542
2543         * added peepholes 223 to 231 to mcs51 port.  These improve code when using large model.
2544
2545 2001-08-30  Michael Hope  <michaelh@juju.net.nz>
2546
2547         * device/lib/gbz80/crt0.s (init): Fixed up support for the gbz80 such that it will at least run (and fail badly) the regression tests.
2548
2549         * src/z80/gen.c (genPlus): Changed bad long add for gb to a fall through.
2550
2551 2001-08-29  Michael Hope  <michaelh@juju.net.nz>
2552
2553         * link/z80/aslink.h: Fixed long file name support.  Is now based off PATH_MAX instead of a constant.
2554
2555         * src/z80/gen.c: Fixed add and sub for the case where left or right are in static space.
2556
2557 2001-08-30 Bernhard Held   <bernhard@bernhardheld.de>
2558
2559   * sim/ucsim/configure:    little improvement of Cygwin-detection      
2560   * sim/ucsim/configure.in: little improvement of Cygwin-detection      
2561   * sim/ucsim/cmd.src/newcmdcl.h: include <sys/types.h> to define fd_set automated build
2562   * support/regression/tests/bug-221100.c: small changes for mcs51
2563   * support/regression/tests/bug-221168.c: small changes for mcs51
2564   * support/regression/tests/bug-227710.c: small changes for mcs51
2565   * support/regression/tests/staticinit.c: small changes for mcs51
2566   * as/mcs51/aslink.h: accept everything as symbol name in rel-files, bug fix ID 452601
2567   * as/mcs51/lklex.c:  accept everything as symbol name in rel-files, bug fix ID 452601
2568   * as/mcs51/lksym.c:  accept everything as symbol name in rel-files, bug fix ID 452601