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