1 2003-08-09 Bernhard Held <bernhard@bernhardheld.de>
3 * src/SDCCval.c (valMult): fixex overflow detection of negativ int
5 2003-08-07 Erik Petrich <epetrich@ivorytower.norman.ok.us>
7 * src/z80/ralloc.c (joinPushes): made compatible with new signedness
9 Changes to support big endian targets:
22 2003-08-06 Bernhard Held <bernhard@bernhardheld.de>
24 * src/SDCCval.c (cheapestVal): changed behaviour to the same as constVal()
25 * device/lib/time.c: fixed warning "integer overflow in expression"
27 2003-08-05 Bernhard Held <bernhard@bernhardheld.de>
29 * src/SDCCval.c (cheapestVal, valueFromLit): use TYPE_* types
30 * src/SDCCval.c (constVal): changed default to signed; hex and octal
31 constants are unsigned; added recognition of "u" flag for unsigned
32 * src/SDCCval.c (valMult): fixed signdness, added warning for overflow
33 * src/SDCCval.c (valDiv, valMod): fixed signdness
34 * src/SDCCicode.c (operandOperation): fixed critical typo; fixed
35 signedness of modulo, left and right shift
36 * support/Util/SDCCerr.c: added warning "integer overflow in expression"
37 * support/Util/SDCCerr.h: added warning W_INT_OVL
38 * src/SDCCast.c (decorateType): fixed gcc3.3 warning
39 * src/SDCCast.c (ast_print): improved output of constants
41 2003-08-04 Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
43 Fixed some warnings when building with MSVC:
56 * support\cpp2\cpplib.c
60 2003-08-03 Bernhard Held <bernhard@bernhardheld.de>
62 * src/SDCCast.c (constExprTree): fix bug #781827 by Carl Worth <cworth@isi.edu>
64 2003-08-01 Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
66 * support\librarian\clean.mk: Do not remove Makefile.
67 * support\librarian\Makefile: added.
69 2003-08-01 Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
71 Added librarian to MSVC build:
74 * support\librarian\librarian.dsp
76 'configure' not needed for librarian, removed:
77 * support\librarian\configure
78 * support\librarian\configure.in
79 * support\librarian\config_in.h
80 * support\librarian\Makefile.in
82 Hopefully these ones built the librarian and the rest of sdcc properly:
86 Messed up 'configure', so revert to previous version:
90 2003-07-31 Bernhard Held <bernhard@bernhardheld.de>
92 * src/SDCCicode.c (operandOperation): 3. fix, this time for Alpha; ULONG has 64 bits
93 there, while the mantissa of a double is "only" 53 bits wide.
95 2003-07-31 Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
97 Adding sdcclib to the build. MSVC project coming soon.
100 * support\librarian\clean.mk
101 * support\librarian\configure
102 * support\librarian\configure.in
103 * support\librarian\config_in.h
104 * support\librarian\Makefile.bcc
105 * support\librarian\Makefile.in
106 * support\librarian\sdcclib.c
113 2003-07-29 Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
115 Linker now complaints if linked modules have conflicting options, for
116 example, one compiled using --model-large and another one compiled with
117 --model-small. The following files were modified:
139 2003-07-28 Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
141 *link/z80/aslink.h, link/z80/lklibr.c, as/mcs51/aslink.h,
142 as/mcs51/lklibr.c: Generate a warning when a library is not found.
144 2003-07-28 Bernhard Held <bernhard@bernhardheld.de>
146 * src/z80/mappings.i: fix _mul[us][int,long] entries
148 2003-07-26 Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
150 *src/SDCCmain.c: do not search for crt0.o when using --nostdlib
152 2003-07-24 Bernhard Held <bernhard@bernhardheld.de>
154 * src/SDCCicode.c (operandOperation): really fixed problem with bitops
155 * support/regression/tests/bitopcse.c: added
163 2003-07-24 Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
165 added support for new library format to z80, gbz80 linkers:
171 2003-07-24 Bernhard Held <bernhard@bernhardheld.de>
173 * src/SDCCicode.c (operandOperation): fixed problem with bitops and 0xffffffff;
174 after {double d = 0xffffffff; long l = d;} l will be 0x80000000 (LONG_MIN)
176 2003-07-23 Bernhard Held <bernhard@bernhardheld.de>
178 added DUMMY_READ_VOLATILE:
187 * src/SDCCcse.c (algebraicOpts): many improvements
188 * src/SDCCcse.h: removed algebraicOpts()
189 * src/SDCCicode.c (picDummyRead): added
191 2003-07-23 Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
193 * as/mcs51/lkmem.c: Changed message "Insufficient DRAM memory" to
194 "Insufficient space in data memory".
196 2003-07-20 Erik Petrich <epetrich@ivorytower.norman.ok.us>
198 * src/mcs51/gen.c: fixed bug #771358
199 * src/z80/gen.c: fixed bug #759087
201 2003-07-20 Bernhard Held <bernhard@bernhardheld.de>
203 * src/pic16/glue.c: minor cleanup by Vangelis
205 2003-07-19 Frieder Ferlemann <Frieder.Ferlemann@web.de>
207 * device/include/regc515c.h: fixed #758477
208 * device/lib/_gptrget.c: saving some cycles in generic pointer get
209 * device/lib/_gptrput.c: saved a few bytes
210 * my tab spacing is 8, yours too?)
211 * device/lib/_ser.c: process RX bytes earlier than TX bytes
212 * device/lib/serial.c: process RX bytes earlier than TX bytes
213 * src/mcs51/gen.c(genGenPointerGet/Set): removed writing of type after postincrement
215 2003-07-18 Erik Petrich <epetrich@ivorytower.norman.ok.us>
217 * src/z80/gen.c: fixed some right shift bugs (#772726 among them)
219 2003-07-17 Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
221 * link/z80/lklibr.c: fixed bug when there is a '.' in a library path.
223 2003-07-17 Bernhard Held <bernhard@bernhardheld.de>
225 * device/lib/Makefile.in: bad fix, reverted to 1.43
227 2003-07-16 Bernhard Held <bernhard@bernhardheld.de>
229 * device/lib/Makefile.in: added missing z80 object files
231 2003-07-14 Bernhard Held <bernhard@bernhardheld.de>
233 * src/SDCCcse.c (algebraicOpts): CSE fun with &|^ and 0x00/0xff literals
234 pic16 progress by Vangelis:
252 2003-07-13 Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
254 * src/SDCCmain.c, src/SDCCglobl.h: added option --no-std-crt0
256 2003-07-12 Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
258 * sdcc.dsw, all.dsp, link/z80/linkgbz80.dsp, as/z80/as-gbz80.dsp:
259 added gbz80 build to MSVC project.
260 * src/SDCCmain.c, src/SDCCglue.c, src/z80/main.c, src/z80/z80.dsp,
261 link/z80/aslink.h, linkz80.dsp: cleaned up z80 and gbz80 asm files
262 from 8051 stuff and setup so it links using a .lnk file.
264 2003-07-06 Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
266 * support/librarian/sdcclib.c: sdcc librarian.
267 * as/mcs51/aslink.h, as/mcs51/lklib.c: Support for libraries created
270 2003-07-03 Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
272 * as/mcs51/lkmain.c: properly handle extensions in function afile.
274 2003-07-02 Borut Razem <borut.razem@siol.net>
276 * src/port.h, src/SDCCmain.c, src/pic/glue.h, src/pic/main.c,
277 src/pic16/glue.h, sdcc/src/pic16/main.c, src/izt/i186.c,
278 src/izt/tlcs900h.c, src/avr/main.c, src/ds390/main.c, src/mcs51/main.c,
279 src/xa51/main.c, src/z80/main.c:
280 virtualization of glue() function: each port has it's own glue function,
281 which is accessed by do_glue function pointer in PORT.general structure
283 2003-07-01 Kevin Vigor <kevin@vigor.nu>
285 * DS800C400 fun, improved ROM interface and tinibios.
287 2003-06-27 Kevin Vigor <kevin@vigor.nu>
289 * More support for DS80C400. Now includes beginning of interface to ROM.
291 2003-06-25 Bernhard Held <bernhard@bernhardheld.de>
293 * src/mcs51/gen.c (gencjneshort): fixed bug #760345
295 2003-06-20 Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
297 * as/mcs51/lkaomf51.c: Make sure the size of the last procedure is correct.
299 2003-06-19 Borut Razem <borut.razem@siol.net>
301 * src/z80/main.c: fixed Z80 port again: missing -k library paths in linker command line
303 2003-06-19 Borut Razem <borut.razem@siol.net>
305 * src/SDCCutil.h, src/SDCCutil.c, src/SDCCglobl.h, src/SDCCmain.c, src/z80/main.c:
306 fixed Z80 port - crt0.o: cannot open.
308 2003-06-19 Bernhard Held <bernhard@bernhardheld.de>
310 * support/Util/MySystem.c (merge_command): revert bad fix
312 2003-06-18 Borut Razem <borut.razem@siol.net>
314 * src/SDCC.lex, src/SDCCmain.c: fixed some warnings, introduced with changes made 15.06.1003
316 2003-06-18 Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
318 * src/SDCCglobl.h, src/SDCCmain.c, doc/sdccman.lyx:
319 option --use-stdout sends errors to stdout instead of stderr.
321 2003-06-18 Bernhard Held <bernhard@bernhardheld.de>
323 * support/Util/MySystem.c (merge_command): quick fix for Linux segfault with \"cmd\" arg
325 2003-06-15 Borut Razem <borut.razem@siol.net>
327 * support/cpp2/sdcc.h: HAVE_DOS_BASED_FILE_SYSTEM defined for _WIN32
328 * src/SDCC.lex: cloneXxx and copyAndFreeXxx functions for options and optimize stack handling
329 * src/SDCCglobl.h, src/SDCCmain.c, src/ds390/main.c, src/mcs51/main.c, src/z80/main.c:
330 fixed width array of pointers replaced with sets;
331 multiple include and lib paths ared transferred to preprocessor and linker
332 * src/SDCCset.c, src/SDCCset.h: added function setFromSetNonRev() and mergeSets()
333 * src/SDCCsymt.c: reimplemented function inCalleeSaveList() by using sets instead
334 fixed width array of pointers
335 * src/SDCCutil.c, src/SDCCutil.h: added functions fputStrSet(), appendStrSet(), joinStrSet();
336 removed functions addToList(), join(), joinn(), pathCharsEquivalent(), pathCharTransform(),
337 fixupPath(), getPathDifference()
338 * src/ds390/gen.c, src/mcs51/gen.c: reimplemented function inExcludeList() by using sets instead
339 fixed width array of pointers
341 2003-06-11 Bernhard Held <bernhard@bernhardheld.de>
343 * src/pic16/ralloc.c: fix warnings
344 * src/pic16/pcode.c: fix warning
346 2003-06-10 Scott Dattalo <scott@dattalo.com>
348 Scott D. for Vangelis Rokas (vrokas@otenet.gr). I (scott) don't
349 know all the details, but essentially this set of changes enable
350 the pic16 port to generate movff instructions and generate assembler
356 * src/pic16/device.c:
359 * src/pic16/pcoderegs.c:
360 * src/pic16/ralloc.c:
361 * src/pic16/ralloc.h:
363 2003-06-08 Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
365 * support/Util/SDCCerr.c, src/SDCCglobl.h, src/SDCCmain.c, doc/sdccman.lyx:
366 added option --vc, so sdcc errors and warnings are compatible with
367 Microsoft Visual Studio.
369 2003-06-07 Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
371 * device/lib/_atof.c, device/lib/Makefile.in, device/include/stdlib.h,
372 device/lib/libfloat.lib: added atof function.
374 2003-06-04 Bernhard Held <bernhard@bernhardheld.de>
376 * doc/sdccman.lyx: updated to Lyx 1.3
377 * doc/cdbfileformat.lyx: updated to Lyx 1.3
378 * doc/test_suite_spec.lyx: updated to Lyx 1.3
379 * doc/Makefile: added fix for the \tabularnewline problem, thanks to Jesus
381 2003-06-03 Bernhard Held <bernhard@bernhardheld.de>
383 * src/SDCCpeeph.c: separate peepRules2pCode() for pic16 by "Vangelis Rokas" <vrokas@otenet.gr>
385 2003-06-02 Frieder Ferlemann <Frieder.Ferlemann@web.de>
387 * doc/sdccman.lyx: cvs revision keywords, passing pdf information in latex preamble,
388 additions to the "related tools/documentation" section
390 2003-06-02 Bernhard Held <bernhard@bernhardheld.de>
392 * src/SDCCglue.c (tempfileandname): added check for missing TMP/TEMP/TMPDIR variable
394 2003-05-29 Bernhard Held <bernhard@bernhardheld.de>
396 * src/pic/device.c: added 16F819, patch by "David I. Lehn" <dlehn@vt.edu>
397 * src/SDCCcse.c (algebraicOpts): fixed "c * 1"
399 2003-05-28 Bernhard Held <bernhard@bernhardheld.de>
401 * doc/sdccman.lyx: fix double dash and other minor things
402 * doc/Makefile: fix double dash
404 2003-05-28 Karl Bongers(patches from Martin Helmling)
405 * debugger/mcs51/sdcdb.c,cmd.c,break.c and .h files. Martin adds
406 condition and ignore commands.
408 2003-05-28 Frieder Ferlemann <Frieder.Ferlemann@web.de>
410 * doc/sdccman.lyx: Changes all over, index improved, smaller margins. The manual
411 is in parts still quite out of date, I did changes as far as I felt makes sense
412 for a non-native english speaker.
413 Please feel free to add to the manual or to correct my changes.
414 * doc/Makefile: undid touching the date of intermediate tex files.
416 2003-05-26 Frieder Ferlemann <Frieder.Ferlemann@web.de>
418 * doc/sdccman.lyx: Manual has an index now
420 2003-05-25 Bernhard Held <bernhard@bernhardheld.de>
422 Finalize muluint/mulsint and mululong/mulslong merging:
423 * device/lib/_mulint.c
424 * device/lib/_mullong.c
425 * device/lib/gbz80/mul.s
426 * device/lib/gbz80/stubs.s
427 * device/lib/z80/mul.s
428 * device/lib/z80/stubs.s
429 * src/SDCCsymt.c (initCSupport)
431 2003-05-25 Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
433 * as/mcs51/lkaomf51.c: Address space 'z' was missing.
434 * src/avr/avr.dsp, src/ds390/ds390.dsp, src/mcs51/mcs51.dsp,
435 src/pic/pic.dsp, src/pic16/pic16.dsp, src/xa51/xa51.dsp,
436 src/x80/z80.dsp: peep.rul is bigger now, so /Zm1000 is used
439 2003-05-25 Frieder Ferlemann <Frieder.Ferlemann@web.de>
441 * src/mcs51/peeph.def: added rules 244.x, 245.x. Although they pass
442 the regression tests I'm not brave enough to enable 245.b, 245.c
443 * doc/sdccman.lyx: added latex preamble for hyperref package.
444 Using pdflatex this will give you a hyperlinked pdf file with
445 bookmarks. (prepend '%' before /usepackage if this breaks something)
447 2003-05-24 Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
449 * doc/sdccman.lyx: updated information about .adb files (fixed bug 742649)
451 2003-05-22 Bernhard Held <bernhard@bernhardheld.de>
453 * src/pic16/pcode.c (pic16_get_op_from_instruction): fixed a gcc 3.x warning
455 2003-05-21 <johan@balder>
457 * src/SDCCglue.c (printIval): fixed bug #739934
459 2003-05-19 Bernhard Held <bernhard@bernhardheld.de>
461 Applied patch from bug 737905 (renamed yylineo to mylineno):
468 * src/pic16/pcode.c: Cleaned warnings
469 * src/pic16/pcodeflow.c: Cleaned warnings
470 * src/pic16/pcoderegs.c: Cleaned warnings
472 2003-05-19 Scott Dattalo <scott@dattalo.com>
474 * src/pic16/pcode.c: Cleaned warnings
475 * src/pic16/pcodepeep.c: Cleaned warnings
476 * src/pic16/ralloc.c: Cleaned warnings
478 2003-05-19 Bernhard Held <bernhard@bernhardheld.de>
480 * doc/sdccman.lyx: fixed bug 739745
481 * src/pic16/pcode.c (pic16_get_op): fixed warning on alpha
483 2003-05-18 Bernhard Held <bernhard@bernhardheld.de>
485 * src/port.h: removed DEFAULT_PORT, it's not yet pic16 ;-)
486 it can be defined with CFLAGS when running configure
487 * src/SDCCmain.c: fixed compiling + linking with object files
489 2003-05-18 Vangelis Rokas (vrokas@otenet.gr)
491 * configure.in: configure for pic16 port,
492 added --disable-pic16-port
493 * sdccconf_in.h: added macro OPT_DISABLE_PIC16
494 * src/SDCCmain.c: linkOptions is changed to set *,
495 added if/endif conditional macros to remove options help
496 messages from optionsTable when a port is not configured, added
497 support for the PIc16 port in the ports table, when executing
498 the compiler with no port specified on command line, a default
499 port is selected with the new macro DEFAULT_PORT which is
500 defined in port.h, in setDefaultOptions() linkOptions is removed
501 from initialization assignment, since now it is a set,
502 parseCmdLine uses setParseWithComma for linkOptions, in
503 linkEdit() linkOptions are accessed with new function indexSet()
504 which returns the i'th item of a set variable. See SDCCset.c, in
505 linkEdit() when calling buildCmdLine(), added linkOptions as
506 last argument. Now users can pass arguments to gplink via the
507 -Wl option, main() uses pic16glue() to glue up pic16 programs
508 * src/SDCCpeeph.c: various changes to support pic16
509 * src/SDCCset.c: added function void *indexSet(set *, int) to
510 return the i'th item of the set
511 * src/SDCCset.h: added function prototype for indexSet()
512 * src/SDCCsymt.c: in checkSClass(), added support for PIC16
513 * src/clean.mk: added pic16 in CLEANALLPORTS variable
514 * src/port.h: added TARGET_ID_PIC16,TARGET_IS_PIC16 macro,
515 added macro DEFAULT_PORT
516 * src/pic/main.c: corrected arguments of gplnk in _linkCmd
517 * src/pic16/gen.c: bug fix in genCpl(), now the correct code is
519 * src/pic16/glue.c: commented out some error producing lines
520 * src/pic16/main.c: __config directives are commented out to stop
521 gpasm complaining and test the linkage with gplink, _linkCmd and
522 _asmCmd changed to be more gplink and gpasm friendly
523 * src/pic16/peeph.def: peep rule 3 is commented out, since it
524 produced an error when parsed, peep rule 12 is added to utilize
525 movff, but it is commented out since the pCode does not support
526 yet a command with 2 address arguments
528 2003-05-18 <johan@balder>
530 * src/ds390/gen.c (genArrayInit): removed obsolete and buggy ARRAYINIT
531 * src/ds390/main.c (genArrayInit): removed obsolete and buggy ARRAYINIT
532 2003-05-17 Karl Bongers(apply patches from Martin Helmling)
534 * debugger/mcs51/sdcdb.c,cmd.c,break.c and .h files.
535 Added feature to script commands from file.
537 2003-05-14 Bernhard Held <bernhard@bernhardheld.de>
539 * device/lib/_strtok.c: fixed bug #734355 by Lenny Story and Tim Woodall
540 * src/SDCCutil.c: include ctype.h for win32
542 2003-05-13 Bernhard Held <bernhard@bernhardheld.de>
544 * src/pic16/*: removed CR from many files, reported by Vangelis Rokas
546 2003-05-12 Karl Bongers(apply development patches from Martin Helmling)
548 * debugger/mcs51/sdcdb.c,simi.c,cmd.c,break.c and .h files.
549 Fixed so you can set breakpoints prior to run, run does not stop
550 on entry now. Add tbreak. Other enhancements and fixes for use
553 2003-05-12 Borut Razem <borut.razem@siol.net>
555 * src/SDCCmain.c: fixed the problem with searching the DATADIR as the last resort on *nix
557 2003-05-11 Borut Razem <borut.razem@siol.net>
559 * src/SDCCutil.c: WIN32 version of getBinPath() calls GetModuleFileName() to determine
560 the path of bin directory, so that PATH is the only env. variable, which has to be set
561 in case of standard installation.
562 * src/ds390/ds390.dsp: increased value of /Zm option to 1000
563 * src/pic/main.c: add quotes to file name parameters for gplink and gpasm
564 * src/SDCCglobl.h, src/SDCCmain.c, doc/sdccman.lyx: added --print-search-dirs command line option
566 2003-05-04 Bernhard Held <bernhard@bernhardheld.de>
568 * src/SDCCmain.c (linkEdit): fixed buffer overflow for gbz80
569 * support/regression/Makefile: inter-port-clean is no longer nesessary, the
570 temp files are in the port dir; clean the gen/test directory when
571 generating new test.c
572 * support/regression/ports/host/spec.mk: defined OBJEXT for target clean
573 * support/regression/tests/vaargs.c: fixed gcc 3.3 warning
574 * support/regression/tests/zeropad.c: added
576 2003-05-09 <johan@balder>
578 * src/SDCCglue.c: fixed bug #597940
580 2003-05-05 Karl Bongers(apply patches from Martin Helmling)
582 * debugger/mcs51/sdcdb.c,simi.c,cmd.c,symtab.c and .h files.
583 cache sfr, optimize next,step, fix off by one sourceline,
584 support ddd list function.
585 * sim/ucsim/cmd.src/newcmd.cc - small fix for sdcdb use.
587 2003-05-04 Bernhard Held <bernhard@bernhardheld.de>
589 * support/regression/HTMLgen.py: added compare_s2f()
590 * support/regression/Makefile: redo 1.27
591 * support/regression/generate-cases.py: redo 1.5
593 2003-04-30 Bernhard Held <bernhard@bernhardheld.de>
595 * support/regression/tests/float.c: workaround 33 bit hex constant
596 * support/regression/tests/simplefloat.c: fix division for host
598 2003-04-29 Scott Dattalo <scott@dattalo.com>
600 * src/pic/pcoderegs.c Applied patch from Jim Hawkridge <jim@jimhawkridge.uk.eu.org>
601 that tame's the PIC's over-aggressive optimizer.
603 2003-04-29 Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
605 * src.dsw, link/z80/aslink.h, link/z80/linkz80.dsp: z80 linker
608 2003-04-29 Kevin Vigor <kevin@vigor.nu>
610 Initial support for DS80C400. "Hello world" runs on TINIm400
613 2003-04-28 Karl Bongers(apply patches for Martin Helmling)
615 * debugger/mcs51/sdcdb.c,simi.c,cmd.c,symtab.c and .h files.
616 * Some notes on ddd usage added in debugger/README
617 Martin Helmling adding more features and fixes for ddd GUI debugger.
618 Code added for nexti, stepi, up, down, and other adjustments.
620 2003-04-28 Scott Dattalo <scott@DATTALO.COM>
622 * src/pic/pCodepeep.c non-wildcard asmops are now handled
623 * src/pic/peeph.def Added two rules to optimize carry manipulation
624 * src/pic/* removed debug printfs
626 2003-04-28 Bernhard Held <bernhard@bernhardheld.de>
628 * debugger/mcs51/cmd.c: added header newalloc.h
630 2003-04-26 Bernhard Held <bernhard@bernhardheld.de>
632 * as/Makefile: new EXEEXT
633 * as/z80/Makefile: remove trailing slash of BUILDIR
634 * as/z80/clean.mk: new EXEEXT
635 * Makefile.common.in: add to CFLAGS (and others), don't replace it
636 * support/cpp2/Makefile.in: new EXEEXT
637 * src/pic/glue.c (pic14emitRegularMap): fixed warning
639 2003-04-24 Bernhard Held <bernhard@bernhardheld.de>
641 Cygwin's gcc always appends .exe: 'gcc -o a a.c' creates a.exe;
642 EXEEXT was introduced to fix all related problems with targets
643 "clean", "install" and "uninstall"; a couple of further flaws
644 especially with "clean" have been fixed too
645 * as/mcs51/Makefile.in
650 * debugger/mcs51/Makefile.in
651 * debugger/mcs51/clean.mk
653 * link/z80/Makefile.in
656 * packihx/Makefile.in
660 * sim/ucsim/avr.src/Makefile.in
661 * sim/ucsim/avr.src/clean.mk
662 * sim/ucsim/s51.src/Makefile.in
663 * sim/ucsim/s51.src/clean.mk
664 * sim/ucsim/xa.src/Makefile.in
665 * sim/ucsim/xa.src/clean.mk
666 * sim/ucsim/z80.src/Makefile.in
667 * sim/ucsim/z80.src/clean.mk
668 * sim/ucsim/main_in.mk
669 * sim/ucsim/packages_in.mk
670 * sim/ucsim/gui.src/Makefile.in
671 * sim/ucsim/gui.src/serio.src/Makefile.in
672 * sim/ucsim/gui.src/serio.src/clean.mk
675 * support/cpp2/Makefile.in
676 * support/cpp2/clean.mk
677 * support/makebin/Makefile
678 * support/makebin/clean.mk
679 * support/scripts/sdcc_mingw32: --program-suffix no longer needed
680 * doc/sdccman.lyx: --program-suffix no longer needed
682 2003-04-23 Karl Bongers(apply patches for Martin Helmling)
684 * debugger/mcs51/sdcdb.c,simi.c,cmd.c,..
685 Martin Helmling added support for ddd GUI debugger.
686 Code added to display assembly, set variables, and other commands
689 2003-04-23 Bernhard Held <bernhard@bernhardheld.de>
691 * as/Makefile: fix target clean
692 * as/clean.mk: fix target clean
693 * as/z80/clean.mk: fix target clean
695 2003-04-22 Bernhard Held <bernhard@bernhardheld.de>
697 * Makefile.common.in: added @EXEEXT@
698 * configure.in: removed all mingw32 stuff
699 * configure: rebuilt from configure.in
700 * doc/sdccman.lyx: updated section "installation"
701 * support/scripts/sdcc_mingw32: adapted to configure
702 * support/scripts/sdcc_cygwin_mingw32: added
704 2003-04-22 Scott Dattalo <scott@dattalo.com>
706 * src/pic Added object file support for the PIC port
707 * src/pic Applied patch from Craig Franklin (this started the object file support)
708 * src/regression Updated the PIC regression tests for object files
710 2003-04-20 Borut Razem <borut.razem@siol.net>
712 * sdcc/as/mcs51/lklex.c: make getfid() more robust and fixed gcc warning:
713 lklex.c: In function `getfid':
714 lklex.c:203: warning: array subscript has type `char'
715 * src/SDCCglobl.h: small change in stack handling macros, to avoid crash when compiled
716 with MSVC with global optimization enabled (probably an cl compiler bug ;-)
717 * support/Util/SDCCerr.c, support/Util/SDCCerr.h: added function fatal(), called from
718 stack handling macros
720 2003-04-19 Borut Razem <borut.razem@siol.net>
722 * "handling space characters in file path" task:
723 * src/SDCCmacro.c: fixed bug in handlig quote at the end of line
724 * support/Util/BuildCmd.c: define par as NULL if parameter value is invalid
725 * support/Util/MySystem.h: make it self-sufficient
726 * src/avr/main.c, src/ds390/main.c, src/mcs51/main.c, src/pic/main.c, src/xa51/main.c,
727 src/z80/main.c, sdcc/as/mcs51/lklex.c:
728 handling space characters in file path
729 * src/SDCCmain.c: introduced setDataPaths() function, {datadir} macro
730 (it will be used by assemblers, which have their own includes, e.g. gpasm)
731 * support/Util/MySystem.c: handling space characters in executable's path
733 2003-04-19 Bernhard Held <bernhard@bernhardheld.de>
735 * as/z80/Makefile: fix permanent rebuild of z80
736 * sim/ucsim/gui.src/Makefile.in: target "install" builds the same packages as target "all"
737 * support/regression/tests/bitfields.c: added Johan's bitfields.c
739 2003-04-18 Kevin Vigor <kevin@vigor.nu>
741 * src/SDCCopt.c: add special case optimization to replace modulo by
742 a power of two with a bitwise AND.
744 2003-04-18 <johan@balder>
746 * src/mcs51/gen.c (getFreePtr): fixed bug #635354
748 2003-04-17 <johan@balder>
750 * src/mcs51/ralloc.c (packRegsForAssign): fixed bug #716790 and removes lot's of redundant register usage around function calls
751 * src/mcs51/ralloc.c (packRegisters): fixed bug #720667
753 2003-04-13 Borut Razem <borut.razem@siol.net>
755 * doc/sdccman.lyx: updated info about #pragma SAVE/RESTORE nesting
756 * configure.in, configure: fixed problems on cygwin/WinCVS environmet with ports.* line endings;
757 fixed mingw problem in adl_NORMALIZE_PATH
759 2003-04-12 Borut Razem <borut.razem@siol.net>
761 * fixed "#pragma SAVE/RESTORE can not be nested":
762 * src/SDCC.lex: reworked pragma handling functions
763 * sdcc/src/SDCCglobl.h: reworked stack handling macros
764 * support/Util/SDCCerr.c, support/Util/SDCCerr.h: added E_STACK_VIOLATION error
766 2003-04-12 Bernhard Held <bernhard@bernhardheld.de>
768 * src/SDCCutil.c (pathEquivalent): defined but not used
769 * debugger/mcs51/sdcdb.c: replace SDCC_LIB_DIR
770 * configure.in: remove sdcc_datadir, sdcc_lib_dir and sdcc_include_dir
771 * configure: rebuilt from configure.in
772 * sdccconf_in.h: remove SDCC_LIB_DIR and SDCC_INCLUDE_DIR
773 * sdcc_vc_in.h: remove SDCC_LIB_DIR and SDCC_INCLUDE_DIR
774 * device/include/Makefile.in: replace sdcc_datadir
775 * device/lib/Makefile.in: replace sdcc_datadir
776 * Makefile.common.in: add LDFLAGS from configure
777 * packihx/Makefile.in: use LDFLAGS
778 * src/Makefile.in: use LDFLAGS
779 * support/cpp2/Makefile.in: add LDFLAGS from configure
780 * support/makebin/Makefile: use LDFLAGS
781 * .version: bumped version number to 2.3.5
783 2003-04-12 Borut Razem <borut.razem@siol.net>
785 * completed "different paths" task:
786 * src/SDCCmacro.c: fixed bug in handling quotes
787 * src/SDCCutil.c, src/SDCCutil.c: rewritten getPrefixFromBinPath()
788 * src/SDCCmain.c: _discoverPaths() replaced with setBinPaths(), setIncludePath() and setLibPath()
790 2003-04-12 Bernhard Held <bernhard@bernhardheld.de>
792 * src/pic/pcoderegs.c (Remove1pcode): fix warning on alpha
794 2003-04-11 kevin Vigor <kevin@vigor.nu>
796 * ds390/gen.c ds390/peeph.def: fix bug 706781
798 2003-04-11 Borut Razem <borut.razem@siol.net>
800 * support/Util/dbuf.c, support/Util/dbuf.h: update to version 1.1.1 - re-added C++ stuff to make it still more portable
802 2003-04-10 Scott Dattalo <scott@dattalo.com>
804 * src/pic/* Applied the pointer-to-function patch from Steve Tell.
805 * src/pic/* Fixed several pointer bugs. (PIC port broke when the ruonly bit was
806 set - this bit used to not be set...).
807 * src/pic/gen.c Fixed buf 609268 ==> x = (x+1) & 0xf; generated
809 * src/regression/and2.c added to test bug 609268
810 * src/regression/Makefile added and2.c to regression test
813 2003-04-08 <johan@CP255758-A>
815 * src/mcs51/gen.c (gen51Code): display reg usage in --icode-in-asm
816 * src/mcs51/ralloc.c (serialRegAssign): update the registers in use and save some slocs
817 * src/SDCCicode.h: added riu to show the register usage in --icode-in-asm
819 2003-04-07 Bernhard Held <bernhard@bernhardheld.de>
821 * configure.in: fully support prefix, exec_prefix, datadir, docdir;
823 * support/cpp2/Makefile.in: fix bug #487815
824 * configure: rebuilt from configure.in
825 * Makefile.common.in: docdir changed, new path suffixes
826 * sdccconf_in.h: new RETSIGTYPE, and other PATHs
827 * sdcc_vc_in.h: reflect changes from sdccconf.h
828 * src/SDCCglobl.h: remove *SEPARATOR_CHARS, they are now in sdccconf.h
829 * src/SDCCutil.h: remove BINDIR hack
830 * doc/sdccman.lyx: update new path hierarchy
832 2003-04-06 Paul Stoffregen <paul@pjrc.com>
834 * src/SDCCpeeph.c: added okToRemoveSLOC test
836 2003-04-06 Paul Stoffregen <paul@pjrc.com>
838 * device/lib/printf_fast.c: added leading zero format ("%06d", etc)
840 2003-04-06 Paul Stoffregen <paul@pjrc.com>
842 * src/SDCCpeeph.c: added labelIsReturnOnly test
843 * src/mcs51/peeph.def: Peephole 244: replace ljmp to ret with ret
845 2003-04-05 <johan@balder>
847 * src/SDCCcse.c (cseAllBlocks): fixed bug #460088
848 * src/SDCCloop.c (DEFSETFUNC): fixed bug #460088
849 * src/SDCCopt.c (eBBlockFromiCode): fixed bug #460088
850 * src/SDCCast.c: fixed a warning
851 * src/SDCCast.h: fixed a warning
852 * src/SDCCicode.c (operandFromAst): fixed a warning
854 2003-04-04 <johan@balder>
856 * src/SDCCloop.c (DEFSETFUNC): undid the fix for bug #519584
857 * src/SDCCast.c (decorateType): fixed bug #715076
858 * src/SDCC.y: fixed bug #702907
860 2003-04-03 <johan@balder>
862 * device/lib/_mulint.c (_muluint): new #pragma LESS_PEDANTIC
863 * src/SDCCopt.c (eBBlockFromiCode): new #pragma LESS_PEDANTIC
864 * src/SDCCglobl.h (PRAGMA_LESSPEDANTIC): new #pragma LESS_PEDANTIC
865 * src/SDCC.lex (doPragma): new #pragma LESS_PEDANTIC
866 * src/SDCCmain.c (parseCmdLine): new #pragma LESS_PEDANTIC
868 2003-04-03 Bernhard Held <bernhard@bernhardheld.de>
870 * _decdptr.c: fix return values
871 * _gptrget.c: fix return values
872 * _gptrgetc.c: fix return values
873 * _gptrput.c: fix return values
874 * _mulint.c: fix return values
875 * as/z80/Makefile: fix 'make -j' problem
877 2003-04-02 Bernhard Held <bernhard@bernhardheld.de>
879 * Makefile.common.in: unused PORT, SCC and SAS removed, fixed docdir
880 * configure.in: big cleanup, updated to autoconf 2.5x
881 * configure: rebuilt from configure.in
882 * sdccconf_in.h: new RETSIGTYPE, and other PATHs
883 * sdcc_vc_in.h: reflect changes from sdccconf.h
884 * doc/Makefile: fixed a flaw in "make install"
886 2003-04-02 <johan@balder>
888 * src/ds390/gen.c (genCmp): no comments
889 * src/mcs51/gen.c (genCmp): no comments
890 * src/SDCCopt.c (eBBlockFromiCode): detect missing return values
891 * src/SDCCast.c (ast_print): fixed the function type in --dumptree
893 2003-04-01 Bernhard Held <bernhard@bernhardheld.de>
895 * support/regression/generate-cases.py: place generated file in given sub directory
896 * support/regression/ports/host/spec.mk: prevent removal of testfwk.o
897 * support/regression/Makefile: improvements for 'make -j';
898 side effect: it's simpler and faster now
900 2003-03-31 Borut Razem <borut.razem@siol.net>
902 * src/z80/main.c: link-{port} and as-{port} defined without path
903 * src/src.dsp: support/Util/MySystem.h and src/SDCCutil.h added to project
905 2003-03-31 Bernhard Held <bernhard@bernhardheld.de>
907 * Makefile, src/Makefile.in: add dependencies, so that 'make -j' works
909 2003-03-30 Borut Razem <borut.razem@siol.net>
911 * support/Util/BuildCmd.c, support/Util/BuildCmd.h: rewrite buildCmdLine(),
912 changed type of list parameter to set
913 * src/ds390/main.c: changed type of parameter asmOptions to set in _tininative_do_assemble()
914 * src/port.h: changed type of do_assemble() parameter to set
915 * src/SDCCmain.c: type of asmOptions changed to set, introduced setParseWithComma(),
916 sdcpp defined without path, removed variable VersionString, introduced set binPathSet,
917 definition of "cppoutfilename" macro with NULL value in preProcess()
918 * src/SDCCglobl.h: included "SDCCset.h", added declaration of setParseWithComma()
919 * src/SDCCglue.c: removed variable VersionString, inroduced spacesToUnderscores()
920 * support/Util/MySystem.c, support/Util/MySystem.h: rewrite, char *ExePathList[]
921 replaced with set *binPathSet
922 * shash_add() deallocates the item, if allready exsists, before adding the new one
923 * src/SDCCmacro.c: handling macros with empty or NULL values in _evalMacros()
925 2003-03-30 Scott Dattalo <scott@dattalo.com>
927 * src/pic/gen.c: Commit patch from Steve Tell <tell@telltronics.org> that fixes
928 a nested for loop bug in the PIC port
929 * src/regression/nestfor.c: new regression test file Steve wrote to test nested
932 2003-03-29 Bernhard Held <bernhard@bernhardheld.de>
934 * support/Util/dbuf.h: remove C++ stuff to make it portable
936 2003-03-28 Borut Razem <borut.razem@siol.net>
938 * src/SDCC.lex: Fix for bug #711240: dynamic buffer handling of C
939 literal strings in stringLiteral()
940 * support/Util/dbuf.c, support/Util/dbuf.h: added: dynamic buffer handling
941 * src/Makefile.bcc, src/Makefile.in, src\src.dsp: added support/Util/dbuf.c
944 2003-03-27 Paul Stoffregen <paul@pjrc.com>
946 * src/SDCCpeeph.c (pcDistance): accurate byte distance for mcs51
948 2003-03-26 <johan@balder>
950 * src/mcs51/gen.c (saveRegisters): catched symbol abuse
951 * src/ds390/gen.c (saveRegisters): catched symbol abuse
952 * src/SDCCast.c (decorateType): fixed " -v < 3"
954 2003-03-23 Bernhard Held <bernhard@bernhardheld.de>
956 * doc/cdbfile.html: removed, replaced by cdbfileformat.lyx
957 Added Lenny Story's debug infrastructure changes:
958 * src/Makefile.in: added new files cdbFile.c and SDCCdebug.c
959 * src/Makefile.bcc: added new files cdbFile.c and SDCCdebug.c
960 * src/cdbFile.c: added
961 * src/SDCCdebug.c: added
962 * src/SDCCdebug.h: added
963 * src/SDCCast.c (createFunction)
964 * src/SDCCglue.c (emitRegularMap, emitStaticSeg, emitOverlay, glue)
965 * src/SDCCmain.c (parseCmdLine, main)
966 * src/SDCCmem.c (redoStackOffsets)
967 * src/SDCCsymt.c (cdbStructBlock, cdbTypeInfo, cdbSymbol, cdbStruct, cdbStructBlock)
970 * src/avr/gen.c (genAVRCode)
971 * src/ds390/gen.c (gen390Code)
972 * src/mcs51/gen.c (gen51Code)
973 * src/pic/gen.c (genpic14Code)
974 * src/pic/glue.c (pic14emitRegularMap, pic14emitStaticSeg, pic14emitOverlay, picglue)
975 * src/xa51/gen.c (genXA51Code)
976 * src/SDCCast.c: fixed "void foo(void){char c; -c < 0;}"
978 2003-03-22 Frieder Ferlemann <Frieder.Ferlemann@web.de>
980 * src/mcs51/gen.c (genCodePointerGet): quicker code for bug #700797
981 * src/mcs51/peeph.def: added rules 177, 241.x to 243, touched 181, 182.x, 193.x
983 2003-03-22 <johan@balder>
985 * src/SDCCicode.c (geniCodeDerefPtr): fixed bug #698231
987 2003-03-21 Bernhard Held <bernhard@bernhardheld.de>
989 * support/scripts/sdcc_mingw32: adapted to configure from autoconf 2.54
990 * doc/cdbfileformat.lyx: added, written by Lenny Story
991 * doc/Makefile: added cdbfileformat.lyx
992 * doc/clean.mk: added cdbfileformat.lyx
994 2003-03-20 Bernhard Held <bernhard@bernhardheld.de>
996 * src/mcs51/peeph.def: fix bug #705773
998 2003-03-20 <johan@balder>
1000 An sfr/sbit can have an "at #" AND an initializer
1001 * src/SDCCsymt.c (checkSClass):
1002 * src/SDCCmem.c (allocGlobal):
1003 * src/SDCCmem.c (allocLocal):
1004 * src/SDCCast.c (createBlock):
1006 2003-03-17 Bernhard Held <bernhard@bernhardheld.de>
1008 * src/ds390/peeph.def: fix bug #704878: added rule 213.b suggested by Jan Rejlek
1010 2003-03-16 <johan@balder>
1012 Undid the hackup of const and volatile, the problem is much bigger
1014 * src/SDCCast.c:1.171
1015 * src/SDCCglue.c:1.138
1016 * src/SDCCicode.c:1.146
1017 * src/SDCCsymt.c:1.150
1018 * src/SDCCval.c:1.65
1020 2003-03-15 Bernhard Held <bernhard@bernhardheld.de>
1022 * src/mcs51/ralloc.c (packRegsForAssign): fixed bug #703541
1023 * src/ds390/gen.c (genAddrOf): fixed bug #704087
1025 2003-03-13 <johan@balder>
1027 Hackup const and volatile modifiers in type chains a bit:
1029 * src/SDCCast.c:1.169
1030 * src/SDCCglue.c:1.136
1031 * src/SDCCicode.c:1.143
1032 * src/SDCCsymt.c1.146
1033 * src/SDCCsymt.h1.59
1034 * src/SDCCval.c:1.63
1036 2003-03-12 <johan@balder>
1038 * src/SDCCBBlock.h: more LRH debugging junk
1039 * src/SDCCcflow.h: more LRH debugging junk
1040 * src/SDCCloop.c: more LRH debugging junk
1041 * src/SDCC.y (struct_declaration): fixed bug #697590
1042 * src/SDCCsymt.[hc] (cloneSpec): NEVER EVER use this again
1043 * src/ds390/gen.c (aopForRemat): fixed bug #700031
1044 * src/SDCCglue.c (emitStaticSeg): fixed bug #700797
1046 2003-03-11 Kevin Vigor <kevin@vigor.nu>
1047 * src/SDCCpeeph.c: quit being lazy and made proper fix (peephole
1048 test function names must now match exactly).
1049 * src/SDCCcse.c: added special case in findCheaperOp to allow
1050 extending a short integer. Makes less awful code for bug 700121 test case.
1052 2003-03-11 Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
1054 * as/mcs51/lkmain.c: Added ASlink-Warning to messages
1055 * as/mcs51/lkaomf51.c: Fixed bug when linking asmblink example
1057 2003-03-11 Kevin Vigor <kevin@vigor.nu>
1059 * src/SDCCpeeph.c: fix so that operandsNotEqualX functions are
1060 actually called (operandsNotEqual() was called for all
1061 operandsNotEqualX tests).
1063 2003-03-11 Kevin Vigor <kevin@vigor.nu>
1065 * src/SDCCcse.c: fix findCheaperOp to prevent replacing int types
1066 with shorter literals. Fixes bug 700121.
1068 2003-03-11 <johan@balder>
1070 * src/SDCCsymt.c (compareType): a (void *) can be assigned to any pointer
1072 2003-03-11 Bernhard Held <bernhard@bernhardheld.de>
1074 * src/SDCCloop.c (mergeRegions): an evil beast is dead
1075 * src/SDCCmain.c (preProcess): minor cleanup: eliminate preOutName
1077 2003-03-10 Borut Razem <borut.razem@siol.net>
1079 * src/SDCCmain.c: pipe preprocessor's output
1080 * support/Util/MySystem.c, support/Util/MySystem.h: added my_popen()
1081 * sdcc_vc_in.h: define pclose as _pclose for WIN32
1082 * src/SDCCglue.c, src/SDCCglue.h: added set pipeSet, added function closePipes,
1083 which closes all pipes in pipeSet set
1084 * src/SDCCset.c: free deleted item in function deleteSetItem()
1085 * src/src.dsp, src/z80/z80.dsp: files support/Util/BuildCmd.c and support/Util/MySystem.c
1086 moved from z80 to src subproject
1087 * .version: increased version number to 2.3.4
1089 2003-03-10 Bernhard Held <bernhard@bernhardheld.de>
1091 * support/regression/ports/mcs51/spec.mk: increase timeout for CF's sparc to 30s
1092 * support/regression/ports/ds390/spec.mk: increase timeout for CF's sparc to 25s
1093 * support/regression/ports/xa51/spec.mk: fix typo
1095 2003-03-09 Bernhard Held <bernhard@bernhardheld.de>
1097 * src/SDCCglobl.h: PATH_MAX is already defined in mingw32 headers
1099 2003-03-09 Borut Razem <borut.razem@siol.net>
1101 * src/SDCCmain.c: pipe preprocessor's output
1102 * support/Util/MySystem.c, support/Util/MySystem.h: added my_popen()
1103 * sdcc_vc_in.h: define pclose as _pclose for WIN32
1104 * src/SDCCglue.c, src/SDCCglue.h: added set pipeSet, added function closePipes,
1105 which closes all pipes in pipeSet set
1106 * src/SDCCset.c: free deleted item in function deleteSetItem()
1107 * src/src.dsp, src/z80/z80.dsp: files support/Util/BuildCmd.c and support/Util/MySystem.c
1108 moved from z80 to src subproject
1110 2003-03-09 Borut Razem <borut.razem@siol.net>
1112 * src/SDCCglue.c: re-implemented tempfilename() and tempfile(): using mkstemp() if available
1113 * src/SDCCsymt.h: fixed MSVC and BORLANDC compilation (included SDCCglobl.h instead srccconf.h)
1114 * sdcc_vc_in.h: explicitly undefined HAVE_MKSTEMP which is not available on BORLANDC and MSVC
1115 * src/SDCCset.h: removed inclusion of sdccconf.h or sdcc_vc.h
1116 * src/SDCCglobl.h: unification of WIN32 native definitions
1118 2003-03-09 Frieder Ferlemann <Frieder.Ferlemann@web.de>
1120 * src/mcs51/gen.c: applied in-/dec patch mentioned on sdcc-devel 2003-03-01
1122 2003-03-08 Bernhard Held <bernhard@bernhardheld.de>
1124 * src/configure.in: check for endianess (even while cross-compiling)
1125 * src/configure: check for endianess (even while cross-compiling)
1126 * src/configure_in.h: check for endianess (even while cross-compiling)
1127 * src/avr/gen.c: remove old endianess stuff
1128 * src/mcs51/gen.c: remove old endianess stuff
1129 * src/ds390/gen.c: remove old endianess stuff
1130 * src/pic/gen.c: remove old endianess stuff
1131 * src/pic/genarith.c: remove old endianess stuff
1132 * src/pic/glue.c: fix endianess check
1133 * src/pic16/gen.c: remove old endianess stuff
1134 * src/pic16/genarith.c: remove old endianess stuff
1135 * src/pic16/glue.c: fix endianess check
1136 * src/xa51/gen.c: remove old endianess stuff
1137 * src/z80/gen.c: fix endianess check
1138 * src/SDCCglue.c: fix endianess check
1139 * src/ds390/peeph.def: fix bug 700036
1141 2003-03-08 Bernhard Held <bernhard@bernhardheld.de>
1143 * src/SDCCsymt.h: use appropriate data-types on host for SDCC's int and long
1144 * src/configure: find appropriate data-types on host for SDCC's int and long
1145 * src/configure.in: find appropriate data-types on host for SDCC's int and long
1146 * src/sdccconf_in.h: find appropriate data-types on host for SDCC's int and long
1147 * src/xa51/gen.c: use %d, not %ld for 4 byte variables
1149 2003-03-07 <johan@balder>
1152 some minor cleanups before the big shot
1153 OP_DEFS and OP_USES now use Kevin's protection
1154 new option --nolabelopt
1165 * src/ds390/ralloc.c:
1166 * src/mcs51/ralloc.c:
1168 * src/xa51/ralloc.c:
1171 2003-03-06 Bernhard Held <bernhard@bernhardheld.de>
1173 * src/pic/pcode.c (get_op): fix 64 bit warnings
1174 * src/pic/pcode.c (pCode2str): fix 64 bit warnings
1175 * src/SDCChasht.c (newHashTable): fix 64 bit warnings
1176 * src/SDCCsymt.c (checkTypeSanity): fix 64 bit warnings
1177 * support/regression/tests/malloc.c: fix 64 bit warnings
1179 2003-03-04 Bernhard Held <bernhard@bernhardheld.de>
1181 * src/mcs51/gen.c (genMinus): fixed bug 696436
1183 2003-03-02 Borut Razem <borut.razem@siol.net>
1185 * src/SDCCmain.c: added BORLANDC, corrected MSVC in printVersionInfo()
1187 2003-02-26 Bernhard Held <bernhard@bernhardheld.de>
1189 * configure.in: test for mkstemp
1190 * sdccconf_in.h: add HAVE_MKSTEMP
1192 2003-02-24 Bernhard Held <bernhard@bernhardheld.de>
1194 * device/include/ctype.h: removed warning while using --stack-auto
1195 * device/include/malloc.h: removed warning while using --stack-auto
1196 * device/include/string.h: removed warning while using --stack-auto
1198 2003-02-23 Borut Razem <borut.razem@siol.net>
1200 * src/asm.h: corrected assertion in function printILine(): _pipe() was not executed on MSVC,
1201 because NDEBUG is defined (see man assert)
1202 * sdcc_vc_in.h: vsnprintf is defined as _vsnprintf on MSVC
1204 2003-02-23 Frieder Ferlemann <Frieder.Ferlemann@web.de>
1206 * src/mcs51/gen.c (genUminusFloat): avoided dptr in-/decrement for xdata variables
1207 * src/mcs51/peeph.def: added rule suggested by Gernot Fink, white space/comment changes
1209 2003-02-18 Frieder Ferlemann <Frieder.Ferlemann@web.de>
1211 * src/SDCCpeeph.c: added peephole conditions testing for same arguments
1212 * src/mcs51/peeph.def: added rules 238a-d which remove redundant moves
1214 2003-02-18 <johan@balder>
1216 * as/mcs51/asmain.c (asmbl): module can start with a digit
1217 * as/z80/asmain.c (asmbl): module can start with a digit
1219 2003-02-16 Bernhard Held <bernhard@bernhardheld.de>
1221 * sim/ucsim/mkecho: inserted #!/bin/sh for Cygwin, so that it's executable
1222 * src/asm.c: fix pipe() for Mingw32
1224 2003-02-15 Bernhard Held <bernhard@bernhardheld.de>
1226 * src/SDCCglue.h: make tmpfileNameSet available for preOutName
1227 * src/SDCCmain.c (preProcess): make sure, that preOutName will be deleted;
1228 make -V work again; --c1mode reads now from stdin
1229 * doc/sdccman.lyx: added --c1mode
1230 * support/Util/SDCCerr.c: new messages for c1 mode
1231 * support/Util/SDCCerr.h: new messages for c1 mode
1232 * src/SDCC.lex (checkCurrFile): test if fullSrcFileName is NULL for c1mode
1234 2003-02-15 <johan@balder>
1236 * src/asm.c: new options: --no-c-code-in-asm and --i-code-in-asm
1238 2003-02-14 Bernhard Held <bernhard@bernhardheld.de>
1240 * doc/sdccman.lyx: Environment variables, -o and other minor things
1242 2003-02-14 <johan@balder>
1244 * src/xa51/main.c: before anyone really tries to use it :)
1246 * Install doc's in share/sdcc/doc
1247 * removed some obsolete files
1248 * Do a proper make distclean and uninstall
1249 M Makefile.common.in
1252 M device/include/Makefile.in
1253 M device/lib/Makefile.in
1256 M sim/ucsim/doc/Makefile.in
1259 R src/xa51/peeph.rul
1260 M support/cpp2/Makefile.in
1261 M support/makebin/Makefile
1264 2003-02-13 Bernhard Held <bernhard@bernhardheld.de>
1266 * support/regression/ports/host/spec.mk: use cc as host compiler for max osx
1268 2003-02-10 Borut Razem <borut.razem@siol.net>
1270 * doc/bccinst.txt, packihx/packihx.c, sdcc_vc_in.h, src/SDCCset.h,
1271 support/cpp2/config.in: Borland C++ build doesn't depend on Cygwin configure
1272 * Bcc.ini, Makefile.bcc, as/mcs51/Makefile.bcc,
1273 device/examples/ds390/tinitalk/Makefile.bcc, packihx/Makefile.bcc,
1274 support/cpp2/Makefile.bcc, src/Makefile.bcc, src/avr/Makefile.bcc,
1275 src/ds390/Makefile.bcc, src/izt/Makefile.bcc, src/mcs51/Makefile.bcc,
1276 src/pic/Makefile.bcc, src/pic16/Makefile.bcc, src/xa15/Makefile.bcc,
1277 src/z80/Makefile.bcc: Borland Makefile cleanup
1278 * as/z80/Makefile.bcc: Added Borland Makefile
1279 * support/cpp2/borland.h: Removed
1281 2003-02-10 Bernhard Held <bernhard@bernhardheld.de>
1283 * doc/sdccman.lyx: new pragma NOIV by "Johannes Stezenbach" <js@convergence.de>
1284 * src/SDCC.lex: new pragma NOIV
1285 * src/SDCCglobl.h: new pragma NOIV
1286 * src/SDCCmem.c: new pragma NOIV
1288 2003-02-09 Bernhard Held <bernhard@bernhardheld.de>
1290 * src/SDCCmain.c: signal handling is switched off by SDCC_LEAVE_SIGNALS
1292 2003-02-09 Bernhard Held <bernhard@bernhardheld.de>
1294 * src/SDCCmain.c: signal handling is switched off by --debug
1295 * doc/Makefile: small fix for install; use clean.mk again
1296 * doc/clean.mk: clean *.pdf and *.html too
1298 2003-02-08 Bernhard Held <bernhard@bernhardheld.de>
1300 * device/lib/_mulint.c: small fix for large/ds390 --int-long-reent resp. --stack-auto
1301 * device/lib/printfl.c: fix a ds390 bug by making it portable
1302 * src/SDCCsymt.c (initCSupport): fix compile warning on Cygwin
1303 * src/SDCCopt.c (cnvToFloatCast): fix compile warning on Cygwin
1304 * src/SDCCopt.c (cnvFromFloatCast): fix compile warning on Cygwin
1305 * debugger/mcs51/cmd.c: converted multi-line string literals
1306 * sim/ucsim/globals.cc: converted multi-line string literals
1307 * src/SDCCmain.c: introduced signal handler to remove temp files
1308 * doc/Makefile: small tweaks, implement clean
1309 * doc: removed generated files
1311 2003-02-05 Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
1313 * as/mcs51/aslink.h, as/mcs51/lkihx.c, as/mcs51/lkrloc.c: Applied
1314 patch from Jan Rejlek <jr@apex-lib.cz> to fix Bug 677692: "Extended
1315 Address Record is not correctly generated for DS390."
1317 2003-02-02 Borut Razem <borut.razem@siol.net>
1319 * Makefile.bcc: removed non existing cpp project and non compilable izt project from makefile
1320 * as/mcs51/asm.h: fixed compilation with Borland C
1321 * support/cpp2/Makefile.bcc: added rule to generate auto-host.h
1322 * support/cpp2/auto-host_vc_in.h: fixed compilation with Borland C
1323 * src/mcs51/mcs51a.dsp: corrected misspelled project name from msc51a to mcs51a
1324 * src/avr/Makefile.bcc, src/ds390/Makefile.bcc, src/izt/Makefile.bcc,
1325 src/mcs51/Makefile.bcc, src/pic16/Makefile.bcc, src/xa51/Makefile.bcc,
1326 src/z80/Makefile.bcc: delete $(LIB) only if exist
1327 * src/Makefile.bcc, src/pic/Makefile.bcc: fixed compilation with Borland C
1329 2003-02-02 Bernhard Held <bernhard@bernhardheld.de>
1331 * device/include/malloc.h: introduced NULL
1332 * device/include/string.h: introduced NULL
1333 * device/include/stdlib.h: introduced NULL
1334 * device/lib/_memcpy.c: removed NULL
1335 * device/lib/_strcat.c: removed NULL
1336 * device/lib/_strchr.c: removed NULL
1337 * device/lib/_strcmp.c: removed NULL
1338 * device/lib/_strcpy.c: removed NULL
1339 * device/lib/_strcspn.c: removed NULL
1340 * device/lib/_strlen.c: removed NULL
1341 * device/lib/_strncat.c: removed NULL
1342 * device/lib/_strncmp.c: removed NULL
1343 * device/lib/_strncpy.c: removed NULL
1344 * device/lib/_strpbrk.c: removed NULL
1345 * device/lib/_strrchr.c: removed NULL
1346 * device/lib/_strspn.c: removed NULL
1347 * device/lib/_strstr.c: removed NULL
1348 * device/lib/_strtok.c: removed NULL
1349 * device/lib/malloc.c: removed NULL, include own header
1351 2003-02-02 <johan@balder>
1353 * 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
1354 * support/regression/fwk/lib/testfwk.c: div and mod isn't broken anymore
1355 * regressions ds390/spec.mk and mcs51/spec.mk (timeout): my good old balder isn't fast enough for some tests
1356 * src/z80/gen.c (genZ80Code): added c-lines in asm comments
1357 * as/z80/asm.h (NINPUT): increased for long c-comments in regression tests
1358 * src/z80/gen.c (genRightShiftLiteral): fixed the (char)(-3)>>8 (I think)
1360 2003-02-01 Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
1362 * src/SDCCmain.c: Fixed bug 678574: "ds390: ASlink-Error-Stack overlaps
1365 2003-02-01 <johan@balder>
1367 * src/SDCCval.c (valBitwise): fixed Karl's "2 | (1<<8)"
1369 2003-01-31 <johan@CP255758-A>
1371 * src/ds390/main.c (_ds390_genAssemblerPreamble): applied Jan Rejlek's >64K startup patch
1373 2003-01-30 <johan@balder>
1375 * src/SDCCBBlock.c: automatic bug detection
1376 * src/SDCCicode.c: automatic bug detection
1378 2003-01-29 Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
1380 * src/SDCCglobl.h: now --xram-size 0 works
1381 * src/SDCCmain.c: now --xram-size 0 works
1383 2003-01-29 <johan@balder>
1385 * src/almosteverything: changed OP_DEFS and OP_USES from macros to functions to catch symbol abuse (a hot topic in the bug list :)
1387 2003-01-29 Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
1389 * as/mcs51/aslink.h: Added options --xram-size and --code-size
1390 * as/mcs51/lkdata.c: Added options --xram-size and --code-size
1391 * as/mcs51/lkmain.c: Added options --xram-size and --code-size
1392 * as/mcs51/lkmem.c: Added options --xram-size and --code-size
1393 * src/SDCCglobl.h: Added options --xram-size and --code-size
1394 * src/SDCCmain.c: Added options --xram-size and --code-size
1396 2003-01-28 Bernhard Held <bernhard@bernhardheld.de>
1398 * src/ds390/gen.c: fix deps by replacing <common.h> with "common.h"
1399 * src/SDCC.lex: rename P_OVERLAY to P_OVERLAY_ for cross-gcc 3.2 MINGW32
1401 2003-01-27 <johan@balder>
1403 * src/SDCC.y: fixed bug #613764
1405 2003-01-26 <johan@balder>
1407 * src/SDCClrange.c: fixed Bernhard's "char * code ptr = &c"
1408 * src/SDCCsymt.h: fixed bug #673374
1409 * src/SDCCglue.c: fixed bug #661910
1410 * src/SDCCast.c: fixed bug #458099 and 673374
1412 2003-01-26 Bernhard Held <bernhard@bernhardheld.de>
1414 * as/mcs51/strcmpi.c: added, provides Aurelien Jarno's as_strcmpi(); strcmpi() is not ANSI
1415 * as/mcs51/strcmpi.h: added
1416 * as/mcs51/asm.h: remove ugly "#define strcmpi strcmp"
1417 * as/mcs51/aslink.h: remove ugly "#define strcmpi strcmp"
1418 * as/mcs51/asmain.c: strcmpi -> as_strcmpi
1419 * as/mcs51/assym.c: strcmpi -> as_strcmpi
1420 * as/mcs51/lkmem.c: strcmpi -> as_strcmpi
1421 * as/mcs51/lknoice.c: strcmpi -> as_strcmpi
1422 * as/mcs51/lksym.c: strcmpi -> as_strcmpi
1423 * as/mcs51/Makefile.aslink: new module strcmpi
1424 * as/mcs51/Makefile.asx8051: new module strcmpi
1425 * as/mcs51/Makefil.bcc: new module strcmpi
1426 * as/mcs51/Makefile.in: new module strcmpi
1427 * sim/ucsim/s51.src/uc390.cc (get_mem_size): make RAM big enough for tinibios
1429 2003-01-26 <johan@balder>
1431 * src/SDCCglue.c: reverted back to 1.124
1432 * src/SDCCast.c: reverted back to 1.156
1433 * src/mcs51/gen.c (aopGet): applied Frieder's efficiency patch
1435 2003-01-25 <johan@balder>
1437 * src/SDCCglue.c: A better fix for bug #661910
1438 * src/SDCCast.c: A better fix for bug #661910
1439 * src/SDCCglue.c (emitRegularMap): That was a little too efficient
1441 2003-01-24 Bernhard Held <bernhard@bernhardheld.de>
1443 * src/Makefile.in: remove spawn.o
1444 * src/SDCCmain.c: remove spawn.h
1445 * src/SDCCmain.c (printVersionInfo): report MINGW32 instead of UNIX
1446 * src/spawn.c: removed
1447 * src/spawn.h: removed
1448 * support/regression/ports/ds390/spec.mk: link with -r
1450 2003-01-24 <johan@CP255758-A>
1452 * src/ds390/gen.c (aopOp): fixed bug #667458
1453 * src/SDCCglue.c (emitRegularMap): fixed bug #458099 again
1454 * src/SDCCast.c (createIvalCharPtr): fixed bug #661910
1455 (createIvalCharPtr): an ival doesn't always have a storage class anymore
1457 2003-01-24 Bernhard Held <bernhard@bernhardheld.de>
1459 * src/mcs51/peeph.def: better assembler identation by Frieder
1460 * src/mcs51/gen.c: better assembler identation by Frieder
1462 2003-01-22 Bernhard Held <bernhard@bernhardheld.de>
1464 * as/z80/string.h: removed for gcc 3.2
1465 * support/makebin/makebin.c: #include <string.h> for gcc 3.2
1466 * src/pic/pcode.c (get_op_from_instruction): fix concatenation of string literals with __FUNCTION__ for gcc 3.2
1468 2003-01-19 Bernhard Held <bernhard@bernhardheld.de>
1470 * src/SDCCmain.c (linkEdit): rename mem and map files even in case of failure
1471 * src/SDCCpeeph.c (replaceRule): fix bug #663503
1472 * support/regression/Makefile: separate temp files for ports
1473 * support/regression/generate-cases.py: separate temp files for ports
1474 * src/mcs51/peeph.def: Frieder: removed 237 (obsolete by 236g and 105); added 237 a/b
1475 * src/ds390/peeph.def: Frieder: removed 237 (obsolete by 236g and 105); added 237 a/b
1477 2003-01-19 Bernhard Held <bernhard@bernhardheld.de>
1479 * moved tinitalk to device/examples/ds390
1481 2003-01-14 Bernhard Held <bernhard@bernhardheld.de>
1483 * as/mcs51/lkmem.c: rflag is for DS390
1484 * src/SDCCglobl.h: removed out_name and options stackOnData, genericPtr
1485 * src/SDCCmain.c (optionsTable, setDefaultOptions): removed --stack-after-data and --generic
1486 (linkEdit): move mem- and map-files the same way as ihx-files
1487 * src/z80/main.c (_setDefaultOptions): removed --generic
1488 * src/SDCCmain.c (_processC1Arg, parseCmdLine, main): --c1mode works again
1489 * src/SDCCglue.c (createInterruptVect, glue): --c1mode works again
1490 * src/pic/glue.c (picglue): --c1mode works again
1491 * src/pic16/glue.c (pic16glue): --c1mode works again
1492 * src/asm.c (printCLine): fix #660034
1494 2003-01-13 Bernhard Held <bernhard@bernhardheld.de>
1496 * src/ds390/peeph.def: fix #123; add 14 rules by Fiorenzo D. Ramaglia <fd.ramaglia@tin.it>, 1 by Frieder
1497 * src/mcs51/peeph.def: fix #123; add 14 rules by Fiorenzo, 1 by Frieder
1498 * src/mcs51/gen.c (genFunction): emit r0 instead of ar0 by Fiorenzo
1499 * as/mcs51/lkmem (summary): better fix for sp problem
1500 * src/SDCCglue.c (glue): __start_stack - 1, saves 1 byte!
1501 * src/ds390/main.c (_ds390_finaliseOptions, _tininative_finaliseOptions): stack_loc = 0x400008
1502 * support/regression/ports/*/spec.mk: moving testfwk-object to port dir allow parallel execution of regression tests
1503 remove --stack-after-data
1505 2003-01-12 Bernhard Held <bernhard@bernhardheld.de>
1507 * src/SDCCmain.c (main): port->finaliseOptions() moved for z80 linking
1508 * src/SDCCutil.c (join): ugly bug: missing '\0'
1509 * as/mcs51/lkmem.c (summary): sp on address 7 is safe
1511 2003-01-11 Bernhard Held <bernhard@bernhardheld.de>
1513 * src/SDCCmain.c (assemble, linkEdit): preparations for -o
1515 * src/pic/main.c (_asmCmd): gpasm supports -o
1516 * src/z80/main.c: more general macros
1517 * device/lib/Makefile.in: remove intermediate files
1519 2003-01-11 Bernhard Held <bernhard@bernhardheld.de>
1521 * .version: Bumped version number to 2.3.3
1522 * src/SDCCBBlock.c: new option -o
1523 * src/SDCCglobl.h: new option -o
1524 * src/SDCCglue.c: new option -o
1525 * src/SDCCmain.c: new option -o
1526 * src/asm.c: new option -o
1527 * src/ds390/main.c: new option -o
1528 * src/pic/glue.c: new option -o
1529 * src/pic/pcode.c: new option -o
1530 * src/pic/ralloc.c: new option -o
1531 * src/pic16/glue.c: new option -o
1532 * src/pic16/pcode.c: new option -o
1533 * src/pic16/ralloc.c: new option -o
1534 * src/z80/main.c: new option -o
1535 * device/lib/Makefile.in: use -o
1536 * support/regression/ports/ds390/spec.mk: use -o
1537 * support/regression/ports/gbz80/spec.mk: use -o
1538 * support/regression/ports/mcs51/spec.mk: use -o
1539 * support/regression/ports/mcs51-stack-auto/spec.mk: use -o
1540 * support/regression/ports/z80/spec.mk: use -o
1541 * support/regression/ports/ucz80/spec.mk: use -o
1542 * support/regression/ports/xa51/spec.mk: use -o
1543 * support/regression/fwk/lib/timeout.c: fix usage string
1545 2003-01-09 Bernhard Held <bernhard@bernhardheld.de>
1546 * src/mcs51/gen.c (genPlus): replaced "mov b,acc" by "mov b,a" Fiorenzo D. Ramaglia <fd.ramaglia@tin.it>
1548 2003-01-07 <johan@balder>
1550 * src/SDCCast.c (decorateType): fixed bug #600035
1552 2003-01-07 Bernhard Held <bernhard@bernhardheld.de>
1553 * as/mcs51/lkmem.c: added several l-modifiers to printf to remove warnings
1554 * as/mcs51/lkaomf51.c: #include <ctype.h> to remove warnings
1555 * src/pic/main.c (_hasNativeMulFor): outcommented unused variables to remove warnings
1556 * src/pic/pcode.c: outcommented unused variable to remove warnings
1557 * src/pic/ralloc.c: outcommented unused variable to remove warnings
1559 2003-01-06 <karl@turbobit.com>
1560 * sim/ucsim/cmd.src/command.cc: fixed so "break xram r 0x7654" works again in
1563 2003-01-06 <johan@balder>
1565 * src/SDCCicode.c: fixed array add
1567 2002-01-05 Bernhard Held <bernhard@bernhardheld.de>
1568 * src/SDCCmacro.c: MAX_STRING_LENGTH increased to 2048; was too small for regression tests
1569 * support/regression/ports/host/support.c: #include <stdarg.h> for gcc 3.2
1571 2003-01-04 <johan@balder>
1573 * src/SDCCval.c (getNelements): fixed the initialized array of structures
1575 2002-12-29 Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
1576 * as/mcs51/Makefile.bcc: fixed typo lkomf51.o -> lkaomf51.o
1578 2002-12-28 Bernhard Held <bernhard@bernhardheld.de>
1579 * src/mcs51/peeph.def: added rules 234 and 235 from Frieder Ferlemann <frieder.ferlemann@web.de>
1580 * support/regression/tests/bug-524697.c: fit mem usage into 8032
1582 2002-12-28 Bernhard Held <bernhard@bernhardheld.de>
1583 * src/mcs51/gen.c (aopGetUsesAcc): inserted missing "return FALSE"
1585 2002-12-27 Bernhard Held <bernhard@bernhardheld.de>
1586 * as/mcs51/Makefile.in: fixed typo lkomf51.o -> lkaomf51.o
1588 2002-12-26 Bernhard Held <bernhard@bernhardheld.de>
1589 * src/mcs51/main.c: removed {bindir}{sep} from aslink
1591 2002-12-10 Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
1593 * in \sdcc\as\mcs51\ changed these files in order to create an
1594 aomf51 file: aslink.h, lkdta.c, lklex.c, lklibr.c, lklist.c,
1595 lkmain.c. Also added: lkmem.c and lkaomf51.c. Changed the
1596 following files to include the previous two files: aslink.dsp,
1597 Makefile.aslink, Makefile.bcc, and Makefile.in.
1599 * Changed \sdcc\src\SDCCmain.c so it creates files with extension
1600 .adb instead of .cdb
1602 2002-11-09 Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
1604 * \sdcc\as\mcs51\lklist.c: Now reports memory usage using the
1605 value from option --iram-size.
1607 2002-09-20 Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
1609 * \sdcc\as\mcs51\lklist.c: added boundary check before using
1612 2002-09-18 <wiml@hhhh.org>
1614 * SDCClrange.h: exposed setFromRange() and setToRange()
1615 * mcs51/ralloc.c: fixed over-eager packRegsForSupport() and
1616 packRegsForAccUse() (bug 542397)
1617 * mcs51/gen.c: MOVA() is now a function to avoid calling aopGet()
1618 multiple times and emitting the fetch operations more than once
1619 added aopGetUsesAcc() function to allow binary operators to
1620 fetch their operands in the correct order; made genMinus() emit
1621 compact code for X = LITERAL - Y
1623 2002-09-00 Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
1624 * \sdcc\as\mcs51\lklist.c: Fixed incorrect number of parameters to
1625 sprintf() in line 1267.
1627 2002-09-08 Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
1628 * \sdcc\src\SDCCglue.c: Generate areas REG_BANK_[0-3] only for 8051
1631 2002-09-04 Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
1632 Changes to aslink (All the changes are marked with 'JCF'):
1634 * \sdcc\as\mcs51\aslink.h: External definition of sflag and
1637 * \sdcc\as\mcs51\lkarea.c: Computes the size of area BSEG_BYTES from
1638 area BSEG. Also moves, if possible, the DATA area down into the internal
1639 ram so more space is available.
1641 * \sdcc\as\mcs51\lkdata.c: Definition of memory summary output flag
1644 * \sdcc\as\mcs51\lklist.c: For the BSEG area report the size in bits,
1645 not bytes. Function summary() which creates a memory usage summary
1646 file with extension .mem. Reports of overlaping stack and small stack
1647 size. If the space for the stack is less than 16 bytes aslink trows a
1650 * \sdcc\as\mcs51\lkmain.c: Creation of some of the default areas for
1651 the 8051. Option 'y' for memory summary output file.
1653 Changes to sdcc (All the changes are marked with 'JCF'):
1655 * \sdcc\src\SDCCglobl.h: External definition of RegBankUsed[4].
1657 * \sdcc\src\SDCCglue.c: If a register bank is used, creates an
1658 overlaying area for it (uses RegBankUsed[4]).
1660 * \sdcc\src\SDCCmain.c: Definition RegBankUsed[4]; marks register
1661 bank zero as used by default. By default aslink locates the stack
1662 (equivalent to --stack-after-data). Pass option 'y' to aslink for
1663 the creation of the .mem file. Delegates the allocation of data area
1664 to aslink (it is not longer 0x30 by default). If --stack-loc passes
1665 the begining of the stack area to aslink.
1667 * \sdcc\src\SDCCmem.c: If a register bank is used, marks it so
1668 glue() in SDCCglue.c creates an area for it.
1670 2002-09-03 Borut Razem <borut.razem@siol.net>
1671 * sdcc/src/SDCCglue.c, sdcc/src/SDCCglue.h, sdcc/src/SDCCmain.c,
1672 sdcc/src/pic/glue.c:
1673 introduced atexit() handler for teporay files removal in case of
1674 errors, assertions, ...
1676 2002-08-29 Borut Razem <borut.razem@siol.net>
1677 * sdcc/support/cpp2/auto-host_vc_in.h:
1678 re-definition of O_BINARY and other O_XXX as _O_BINARY and _O_XXX, so the problem
1679 with the returned value from read() in sdcc/support/cpp2/cppfiles.c is solved for MSC.
1680 Maybe there is a similar problem with BORLANDC? It should be checked!
1682 * sdcc/src/ds390/ralloc.c, sdcc/src/mcs51/ralloc.c, sdcc/src/z80/ralloc.c:
1683 corrected improper use of assert: the assignment to clr variable was done inside the assert.
1684 In case that NDEBUG was defined, the assert macro was substituted with no-op, so the assignment
1685 was not executed, and the compiler (cl) launched a warning:
1686 ralloc.c(1442) : warning C4700: local variable 'clr' used without having been initialized
1688 2002-08-28 Bernhard Held <bernhard@bernhardheld.de>
1689 * src/SDCCglue.c (printIvalArray): iterative calculation of array length
1691 2002-08-28 Jesus Calvino-Fraga and Borut Razem <borut.razem@siol.net>
1692 * sdcc/sdcc.dsw: added sdcpp, sdcppa, yacc, conf projects
1694 * sdcc/src/src.dsp, sdcc/src/avr/avr.dsp, sdcc/src/ds390/ds390.dsp,
1695 sdcc/src/mcs51/mcs51.dsp, sdcc/src/pic/pic.dsp, sdcc/src/z80/z80.dsp,
1696 sdcc/src/xa51/xa51.dsp, sdcc/src/avr/avra.dsp,
1697 sdcc/src/ds390/ds390a.dsp, sdcc/src/mcs51/mcs51a.dsp,
1698 sdcc/src/pic/pica.dsp, sdcc/src/z80/z80a.dsp,
1699 sdcc/src/xa51/xa51a.dsp, sdcc/as/as_z80.dsp,
1700 sdcc/as/aslink.dsp, sdcc/as/asx8051.dsp, sdcc/packihx/packihx.dsp:
1701 - added Release configuration in VS projects
1702 - review of compiler an linker options
1703 - VC .exe files are generated in bin_vc directory, not to interfere
1704 with binaries generated from other projects (cygwin, mingw, bcc ...)
1706 * sdcc/src/yacc.dsp: added
1708 * sdcc/config.dsp, sdcc/configure_vc.awk, sdcc/sdcc_vc_in.h:
1709 added - genarate sdcc_vc.h using sdcc_vc_in.h as template
1710 and insert the version number definitions from .version
1712 * sdcc/support/cpp2/sdcpp.dsp: added - VC project for sdcpp
1714 * sdcc/support/cpp2/sdcppa.dsp, sdcc/support/cpp2/auto-host_vc_in.h:
1715 added - genarate auto-host.h using auto-host_vc_in.h as template
1718 removed from CVS, generated automatically
1720 2002-08-25 Bernhard Held <bernhard@bernhardheld.de>
1721 * support/scripts/inc2h.pl: use gputils or gpasm (from Nathan Hurst)
1723 2002-08-11 Borut Razem <borut.razem@siol.net>
1724 * support/Util/NewAlloc.c: removed unneeded #include "sdccconf.h" (suggested by Jesus Calvino-Fraga)
1726 2002-08-10 Borut Razem <borut.razem@siol.net>
1727 * src/SDCCmain.c (main):
1728 file preOutName was unlinked before closed. This seems to be OK on UNIX and cygwin
1729 platforms, but it doesn't work with Visual Studio: the opened file can not be removed.
1730 The consequence was that some temporary files were not removed.
1733 unification of code in functions tempfilename() and tempfile():
1734 function tempnam() is defined in Visual Studio 6.0 and .NET
1736 * sdcc/sdcc.dsw: removed project sdcpp, added project xa51a
1738 * sdcc/src/src.dsp, sdcc/src/avr/avr.dsp, sdcc/src/ds390/ds390.dsp,
1739 sdcc/src/mcs51/mcs51.dsp, sdcc/src/pic/pic.dsp, sdcc/src/z80/z80.dsp:
1740 - removed compiler command line option /WX: Treats all warnings as errors
1741 - update a list of source files, included into the project
1743 * sdcc/src/avr/avra.dsp, sdcc/src/ds390/ds390a.dsp, sdcc/src/mcs51/mcs51a.dsp,
1744 sdcc/src/pic/pica.dsp, sdcc/src/z80/z80a.dsp:
1745 changed project type to Generic Project so that can be correcly converted to VS.NET project
1747 * sdcc/as/mcs51/asm.h: definition of PATH_MAX for MSC
1749 * sdcc/src/SDCCast.c: solved MSC error in function decorateType()
1751 * sdcc/src/SDCC.y: added missing ending ';' to rules to get rid of bison warnings
1753 * dcc/src/ds390/ralloc.c, sdcc/src/mcs51/ralloc.c:
1754 added return 0 statements after assert() to make compiler happy
1756 * sdcc/src/xa51/peeph.rul, sdcc/src/xa51/peeph.def, sdcc/src/z80/ralloc.c:
1757 added newline in the def file to keep MSC compiler satisfied
1759 * sdcc/src/z80/gen.c:
1760 - function strcasecmp() is not defined in MSC (and probably also in BORLANDC),
1761 so it is replaced with STRCASECMP, which is defined as stricmp in case of MSC and BORLANDC
1762 - solved MSC error in function aopDump()
1764 * sdcc_vc.h: define PREFIX as "\\sdcc"
1766 2002-07-18 Bernhard Held <bernhard@bernhardheld.de>
1767 * src/SDCCast.c (decorateType): fixed access to array of structures http://sourceforge.net/mailarchive/forum.php?thread_id=902690&forum_id=4107
1769 2002-06-22 Scott Dattalo <scott@dattalo.com>
1770 * src/pic/*: Numerous bug fixes. Flow analysis has been enhanced.
1771 - Rewrote the register banking algorithm.
1772 - Added pCode live-range analysis to registers (for now, only non-used and
1773 singly-used registers optimized away)
1775 * src/pic/pcoderegs.[ch]: Added new files for pCode live-range analysis
1777 * support/scripts/inc2h.pl Kevin L. Pauba <klpauba@cox.net> submitted this perl script for converting MicroChip include files into SDCC Pic include files.
1779 2002-05-10 Scott Dattalo <scott@dattalo.com>
1780 * src/pic/*: Added support for multiplication. Fixed many,many bugs.
1782 2002-04-22 Michael Hope <michaelh@vroom>
1784 * device/lib/z80/printf.c: Changed emitter to volatile to work around a pcall bug.
1786 * configure.in (DD_COPT): Added include support required for gbdk.
1788 * .version: Bumped version number just to increase it.
1790 * src/SDCCmain.c: Added -nostdinc to the default options.
1792 2002-04-15 Michael Hope <michaelh@vroom>
1794 * device/lib/z80/printf.c (sprintf): Added.
1796 * src/z80/ralloc.c (packRegisters): Disabled pack HL use for GB as it's broken.
1798 * src/z80/peeph.def: Added transpose redundent load rule.
1800 * src/z80/main.c: Added force callee saves for jaune.
1802 * src/port.h: Removed the i186 and tlcs-900h ports as they weren't being being developed.
1804 * src/SDCCmain.c: Pulled the options definition out so that you can add port specific options without changing the main file.
1806 2002-03-28 Johan Knol <johan@balder>
1808 * src/SDCCval.c: fixed bug #532436
1810 2002-03-14 Scott Dattalo <scott@dattalo.com>
1812 Added "char *Processor" field to the port structure.
1815 Added -p option. Allows port dependent processor to be specified.
1818 Initialized the new field char *Processor field to NULL in all ports
1821 Compiler generated registers for interrupt context saving
1822 were not getting allocated.
1824 2002-03-16 Sandeep Dutta <sandeep@ddi.com>
1827 Fixed left shift. Will promote the left side of a left shift
1828 if a) left shifting more than size of operand or b) when assigned
1829 to something size > size of left side
1831 2002-03-14 Scott Dattalo <scott@dattalo.com>
1833 tons of changes. Register allocation has been
1834 rewritten. Added customization for the various PICs. Flow
1835 analysis is restructured. ...
1841 Added. device.c is a PIC port hack to accomodate variations
1844 2002-03-13 Michael Hope <michaelh@vroom>
1846 * src/z80/gen.c (genGenPointerGet): Fixed a bug where a pointer in HL is dereferenced into HL but HL is not spilled. Yeah.
1848 2002-03-04 johanknol <johanknol@manik>
1850 * /src/SDCCval.c: fixed
1852 const unsigned char arr[][2] = { { 0, 1 } };
1853 t18.c:1: error: Initializer element is not constant
1855 2002-03-04 bela <bela@manik>
1857 * /device/include/mcs51reg.h:
1858 ds89c420 register definition update
1860 2002-03-03 <johan@FRIJA>
1862 * support/Util/SDCCerr.c: did something, but don't no why anymore
1864 * support/regression/tests/bug-524691.c: made it a little less shy
1866 * src/SDCCast.c (decorateType): fixed bug #524697
1868 * src/SDCCast.c: made some lineno improvements
1870 * src/SDCCval.c (getNelements): changed warning to error
1872 * src/SDCCglue.c (printIvalArray): changed warning to error
1874 * src/SDCCicode.c: fixed a warning for mingw
1876 * src/SDCCast.c (decorateType): fixed the << promotion for ops
1878 * src/SDCCicode.c (geniCodeDivision): divide is shift only for unsigned (bug #524685)
1880 2002-03-02 Sandeep Dutta <sandeep@ddi.com>
1882 * src/ds390/peeph.def:
1883 Added some more peephole rules
1885 * src/ds390/gen.c: Various fixes & enhancements
1887 * src/SDCClrange.c, src/SDCClrange.h:
1888 functions "alldefsoutofrange" and "notusedinblock" moved to SDCClrange.c
1890 * src/ds390/ralloc.c:
1891 various fixes & enhancements (ds390) specific
1893 * src/avr/ralloc.c, src/mcs51/ralloc.c, src/pic/ralloc.c, src/xa51/ralloc.c, src/z80/ralloc.c:
1894 Functions "allDefsOutOfRange" & "notUsedinBlock" moved to SDCClrange.c
1897 * sdcc/src/SDCCcse.c: Better fix for bug # 514308
1899 2002-03-02 <johan@FRIJA>
1901 * src/SDCCast.c (decorateType): fixed bug #524708
1903 * src/SDCCval.c (floatFromVal): fixed the literal void (whatever that may be)
1905 * src/SDCCicode.c (geniCodePtrPtrSubtract): fixed bug #524691
1907 2002-03-01 Michael Hope <michaelh@vroom>
1909 * src/SDCCsymt.c (initCSupport): Removed managling of support function names.
1911 * src/z80/ralloc.c (packRegsForIYUse): Fixed fp bug where four byte operands were packed into IY.
1913 2002-03-01 <johan@FRIJA>
1915 * src/SDCCglue.c (printIvalPtr): fixed bug #524211
1917 * src/SDCCast.c (decorateType): fixed bug #524209
1919 * src/SDCCval.c (valNot): fixed bug #524195
1921 2002-02-26 <johan@balder>
1923 * src/xa51/gen.c: fixed a warning
1925 * src/SDCCglue.c (printIvalFuncPtr): fixed bug #522534
1927 * src/SDCCast.c (decorateType): fixed bug #522534
1929 2002-02-23 <johan@balder>
1931 * src/SDCCdflow.c (computeDataFlow): fixed bug #460088
1933 2002-02-22 <johan@balder>
1935 * src/SDCCast.c: fixed bug #514865
1937 * src/SDCCy.c ("SDCC.y"): fixed bug #516625
1939 2002-02-21 Sandeep Dutta <sandeep@ddi.com>
1941 * sdcc/src/SDCCloop.c:
1942 Previous fix was not good. basic blocks that have "break" or "return" are
1943 not really partof a loop , but live ranges used in these blocks should
1944 be live thru the entire loop, so set partOfLoop but don't add them to
1947 2002-02-21 <johan@FRIJA>
1949 * src/SDCCcse.c: fixed bug #514308
1951 2002-02-20 Sandeep Dutta <sandeep@ddi.com>
1954 Fixed BUG #519583. If a conditional block ended in a return/break
1955 statement inside a loop, it was not being considered part of the loop.
1957 * src/SDCCcflow.c: Removed fix (Fixed in SDCCloop.c)
1959 2002-02-10 Karl Bongers <karl@turbobit.com>
1962 Fixed up SDCDB debugger somewhat. Updated debugger/README
1963 with lots of comments and notes.
1965 * device/examples/test2.c:
1966 Fix bug, "red" variable not being initialized(compiler complained).
1968 * device/examples/Makefile, examples/test3.c:
1969 Add Makefile in device/examples folder, compiles test3.c
1970 for use as a multiple module SDCDB test case.
1972 * sim/ucsim/cmd.src/cmdset.cc:
1973 Took out debug printfs in ucsim "next" command.
1976 Karl and Johan start ucsim XA support. Most dissassembly working,
1977 about 75% emulation done(plenty of work remaining).
1979 * sim/ucsim/z80.src:
1980 Add Z80 support to ucsim, add test-ucz80 regression test,
1981 notice ucsim/z80 emulation fails on examples/test3.c/itoa code.
1982 Notice z80 compiler fails on examples/test3.c/crc code.
1984 2002-01-30 Sandeep Dutta <sandeep@ddi.com>
1986 * src/mcs51/gen.c, src/mcs51/main.c, src/mcs51/ralloc.c:
1987 Added support for --parms-in-bank1
1989 * src/ds390/peeph.def:
1990 added a few more peephole optimzations
1993 1) added __builtin_inp & __builtin_outp used to read in data of given length
1994 from a memory mapped port
1995 2) added __builtin_memcmp
1996 3) added __builtin_swapw swap bytes of a short
1998 * src/ds390/gen.c, src/ds390/gen.h, src/ds390/ralloc.c:
1999 1) handle multiple send & receives from register bank1
2000 2) ralloc can now allocate DPTR1 to some liveRanges
2002 * src/SDCCsymt.c, src/SDCCsymt.h:
2003 changes to handle multiple sends & receives
2006 added some pointer arithmetic optimization
2009 added some pointer arithmetic optimizations but not stable yet so not
2010 called from anywhere (will get this working shortly)
2012 * src/SDCCopt.c: fixed for multiple sends & receives
2015 1) added options --parms-in-bank1 (ds390/mcs51) & --protect-sp-update
2016 2) preprocessing done AFTER port->finalizeoptions . This allows ports to
2017 set preprocessor defines (depending on options)
2019 * src/SDCCicode.c, src/SDCCicode.h:
2020 changes made to handle multiple sends & receives
2023 Added options --protect-sp-update (ds390) and --parms-in-bank1 (ds390/mcs51)
2025 * src/SDCCcse.c, src/SDCCcse.h:
2026 added function findbackward def (to be used in upcoming optimization)
2028 * src/SDCCcflow.c, src/SDCCcflow.h:
2029 added function returnAtEnd - to determine if a basic block terminates with
2032 * src/SDCCast.c, src/SDCCast.h:
2033 added option parms-in-bank1
2035 * device/lib/_divsint.c, device/lib/_divslong.c, device/lib/_divuint.c
2036 * device/lib/_divulong.c, device/lib/_modsint.c, device/lib/_modslong.c
2037 * device/lib/_modulong.c, device/lib/_mulint.c, device/lib/_mullong.c:
2038 adjusted for --parms-in-bank1 option
2040 * device/include/string.h:
2041 donot redefine "reentrant" keyword
2043 * device/include/ds80c390.h: Added some more SFRs
2045 2002-01-28 Bernhard Held <bernhard@bernhardheld.de>
2047 * sim/ucsim: Merged branch ucsim-034-pre3 to main trunk; new version 0.4
2049 2002-01-26 Bernhard Held <bernhard@bernhardheld.de>
2051 * src/SDCCast.c (funcOfType): fix usage of double --float-reent
2053 2002-01-22 Bernhard Held <bernhard@bernhardheld.de>
2055 * support/regression/fwk/lib/testfwk.c (main): Removed workaround for bug #505387
2057 2002-01-18 Paul Stoffregen <paul@pjrc.com>
2059 * Added --xram-movc option
2061 2002-01-13 Bernhard Held <bernhard@bernhardheld.de>
2063 * support/regression/Makefile: don't include test-mcs51-stack-auto in target all
2065 2002-01-11 Johan Knol
2067 * Added math lib of Jesus Calvino-Fraga
2069 2002-01-08 Bernhard Held <bernhard@bernhardheld.de>
2071 * src/SDCCmain.c (processFile): fix processing of ../../src.c
2072 * support/regression/Makefile: new target test-mcs51-stack-auto
2073 * support/regression/ports/mcs51-stack-auto/spec.mk: added
2075 2002-01-04 Bernhard Held <bernhard@bernhardheld.de>
2077 * src/SDCCglue.h: printIvalCharPtr(), not printIvalChar()
2079 2002-01-04 Bernhard Held <bernhard@bernhardheld.de>
2081 * support/regression/ports/mcs51/support.c: correct setup of timer / UART
2083 2002-01-03 Bernhard Held <bernhard@bernhardheld.de>
2085 * src/SDCCsymt.c (processFuncArgs): fix #498307 by Johan
2087 * src/SDCCglue.h: add definition for printIvalChar()
2089 2002-01-02 Bernhard Held <bernhard@bernhardheld.de>
2091 * src/SDCCast.c: fix #498138 by Johan
2093 * src/SDCCglue.c: fix #498138 by Johan
2095 2002-01-02 Bernhard Held <bernhard@bernhardheld.de>
2097 * support/regression/Makefile: fix clean
2099 * support/regression/ports/ds390/support.c: fix transmission of last character
2101 2001-12-29 Sandeep Dutta <sandeep@ddi.com>
2103 * /sdcc/src/ds390/gen.c:
2104 a) improved computing address of stack variable
2105 b) took out some #if 0 code
2106 c) improved parmBytes adjustment
2107 d) improved genPlusIncr & genMinusIncr
2108 e) genCmp could generate bad code (when left assigned to DPTR)
2109 f) Fixed bug in hasInc
2111 * /sdcc/src/ds390/ralloc.c:
2112 a) packRegsForSupport could mess up live information (Fixed)
2113 b) packRegsDPTRuse could be incorrect for left & right shift
2115 * /sdcc/src/mcs51/ralloc.c:
2116 packRegsForSupport could mess up the live information (Fixed)
2118 * /sdcc/src/mcs51/gen.c: Fixed a bug in hasInc
2120 * /sdcc/src/SDCCast.c:
2121 can reverse a loop even if function call is present as long
2122 as the loop control variable is local & is not passed as parameter
2124 2001-12-24 Sandeep Dutta <sandeep@ddi.com>
2126 * /sdcc/ChangeLog: *** empty log message ***
2128 * /sdcc/src/ds390/gen.c, /sdcc/src/ds390/main.c:
2129 More builtin function additions for TININative
2131 * /sdcc/src/ds390/ralloc.c:
2132 Had broken the regression testsuite
2134 * /sdcc/src/SDCCast.c: Fixed a bug in dumptree
2136 * /sdcc/src/SDCCsymt.c, /sdcc/src/SDCCsymt.h:
2137 Added funcattr hasStackParms will be set for reentrant functions when there
2138 are paramteres on the stack, this helps in minimizing frame pointer generation
2139 typeFromStr can handle function pointers now
2141 * /sdcc/doc/builtins.txt, /sdcc/doc/TININative.txt:
2142 *** empty log message ***
2144 2001-12-24 Sandeep Dutta <sandeep@ddi.com>
2146 * /src/ds390/gen.c, /src/ds390/main.c:
2147 More builtin function additions for TININative
2149 * /src/ds390/ralloc.c:
2150 Had broken the regression testsuite
2152 * /src/SDCCast.c: Fixed a bug in dumptree
2154 * /src/SDCCsymt.c, /src/SDCCsymt.h:
2155 Added funcattr hasStackParms will be set for reentrant functions when there
2156 are paramteres on the stack, this helps in minimizing frame pointer generation
2157 typeFromStr can handle function pointers now
2159 * /doc/builtins.txt, /doc/TININative.txt:
2160 *** empty log message ***
2163 2001-12-24 Sandeep Dutta <sandeep@ddi.com>
2165 * /src/ds390/gen.c, /src/ds390/main.c, /src/ds390/peeph.def, /src/ds390/ralloc.c:
2166 ALPHA version for -mTININative
2168 * /src/izt/i186.c, /src/izt/tlcs900h.c, /src/mcs51/main.c, /src/pic/main.c, /src/z80/main.c, /src/avr/main.c:
2169 updated to reflect changes in the port structure
2172 added function do_assemble (similar to do_link) if non-null this function
2173 will be called to do assembly (-mTININative) requires a multi command
2175 added function genAssemblerEnd will be called to generate assembler Epilogue
2178 added _JavaNative to debug info printing
2180 * /src/SDCCmain.c: added option --tini-libid
2181 added port->do_assemble function (-mTININative) has a multi command assemble
2183 * /src/SDCCglue.c: Disabled "constExpr" check
2184 added port->genAssemblerEnd function
2186 * /src/SDCCglobl.h: Added option --tini-libid value
2189 tookout optimizeCompare from the header (has no external references)
2191 * /src/SDCCast.c: made one more function "static"
2193 2001-12-23 Michael Hope <michaelh@juju.net.nz>
2195 * src/z80/mappings.i: Added z80asm support.
2197 * src/z80/main.c: Added z80asm support on --asm=z80asm
2199 * src/z80/gen.c: Fixed asm portability issues.
2201 * src/asm.c (tvsprintf): Removed old code, added 'N' for function name. For extern support.
2203 * src/SDCCglue.c (printExterns): Added global/extern split.
2205 2001-12-17 Bernhard Held <bernhard@bernhardheld.de>
2207 * support/regression/Makefile: added test for mcs51 model large
2209 * support/regression/ports/mcs51-large/spec.mk: added test for mcs51 model large
2211 * support/regression/ports/gbz80/spec.mk: added -mgbz80
2213 2001-12-05 Michael Hope <michaelh@juju.net.nz>
2215 * src/diff.1 (Index): Many, many optmisiations. Dhrystone up to 201.
2217 1904-01-06 Michael Hope <michaelh@juju.net.nz>
2219 * src/z80/ralloc.c (packRegsForIYUse): Fixed the case where an operand is in direct space.
2221 * src/z80/gen.c (makeFreePairId): Optimised IY load by using a spare pair.
2223 2001-12-02 Bernhard Held <bernhard@bernhardheld.de>
2225 * src/mcs51/gen.c (genFunction): avoid excess "inc sp"
2227 * support/regression/tests/simplefloat.c: Port to mcs51.
2229 2001-11-25 Michael Hope <michaelh@juju.net.nz>
2230 * support/regression/tests/bug-485362.c: Added.
2232 * support/regression/tests/simplefloat.c (testDivNearOne): Added.
2234 * src/z80/gen.c (aopOp): Fixed case where left and result are in the same spill loc and they have different sizes.
2236 * src/z80/peeph.def: Added rules for optimising two byte compares on the same thing, and to optimise two ptr assign.
2238 * src/z80/gen.c (aopDump): Added a dump function.
2240 2001-11-25 Bernhard Held <bernhard@bernhardheld.de>
2241 * sim/ucsim/s51.src/glob.cc: DS390 SFRs and bits added.
2243 * sim/ucsim/s51.src/port.cc: Port 4 and 5 added.
2245 * sim/ucsim/s51.src/regs51.h: DS390 SFRs added.
2247 * sim/ucsim/s51.src/uc390.cc: Some details improved, CKRDY works for tinibios.
2249 * sim/ucsim/s51.src/uc390cl.h: Work in progress.
2251 * sim/ucsim/sim.src/uccl.h: 6 ports for DS390.
2253 * support/regression/fwk/lib/testfwk.c: Run with tinibios.
2255 * support/regression/ports/mcs51/spec.mk: Fine tuninig.
2257 * support/regression/ports/ds390/support.c: Use tinibios.
2259 * support/regression/ports/ds390/spec.mk: Fine tuning, use tinibios.
2261 2001-11-23 Michael Hope <michaelh@juju.net.nz>support/regression/tests/bug-460010.c
2263 * src/z80/ralloc.c (packRegsForHLUse3): Changed to not pack into HL if anything is in direct space.
2264 (packRegsForHLUse3): Added packing support for send, cast, and return value from a call.
2266 * src/z80/peeph.def: Added rules for optimising pushes of part of a pair.
2268 * src/z80/gen.c (emitCall): Changed the stack fixup to not use HL.
2270 2001-11-18 Michael Hope <michaelh@juju.net.nz>
2272 * src/z80/gen.c (genCmp): Fixed compare on unsigned.
2274 * src/z80/ralloc.c (packRegsForHLUse3): Created and optimised.
2275 (packRegsForIYUse): Created and optimised.
2277 2001-11-07 Michael Hope <michaelh@juju.net.nz>
2279 * support/regression/tests/float.c (testFloatAdd): Fixed up warning.
2280 2001-11-18 Bernhard Held <bernhard@bernhardheld.de>
2282 * sdcc/support/regression/tests/bug-460010.c: fix seg violation on host
2284 * sdcc/support/regression/tests/muldiv.c: fix output on mcs51
2286 * sdcc/support/regression/tests/stacks.c: fix DSEG overflow on mcs51
2288 2001-11-07 Bernhard Held <bernhard@bernhardheld.de>
2290 * sdcc/sim/device/lib/_gptrget.c: mem region 5 (idata) added
2292 * sdcc/sim/device/lib/_gptrput.c: mem region 5 (idata) added
2294 2001-11-07 Bernhard Held <bernhard@bernhardheld.de>
2296 * sdcc/sim/ucsim/globals.cc: New: IXRAM.
2298 * sdcc/sim/ucsim/stypes.h: New: IXRAM.
2300 * sdcc/sim/ucsim/s51.src/uc390.cc: New: IXRAM.
2302 2001-11-07 Michael Hope <michaelh@juju.net.nz>
2304 * src/z80/ralloc.c (packRegsForHLUse): Banned IFXs from being packed into HL.
2305 (packRegsForHLUse): Added rule to pack address of/pointer get for itemps into HL for the Z80.
2306 (packRegsForAccUse2): Added rule to pack hbit IFXs into A.
2308 * src/z80/main.c (_setDefaultOptions): Made float code re-entrant by default.
2310 * src/z80/gen.c (aopGetLitWordLong): Added word support for floats.
2311 (genNotFloat): Added.
2312 (genUminusFloat): Added.
2314 * device/lib/z80/Makefile: Added floating pt stubs.
2316 * device/lib/Makefile.in (Z80SOURCES): Added floating pt support.
2318 * src/z80/gen.c (genIpush): Fixed up a push of one byte when left is in a pair.
2320 * device/lib/_fsadd.c (__fsadd): Fixed up return where the numbers are hugely different.
2322 2001-11-07 Bernhard Held <bernhard@bernhardheld.de>
2324 * sdcc/sim/ucsim/s51.src/glob.cc: Minor fix.
2326 * sdcc/sim/ucsim/s51.src/regs51.h: Minor fix.
2328 * sdcc/support/regression/Makefile: Add port ds390.
2330 * sdcc/support/regression/ports/mcs51/spec.mk: Minor change.
2332 * sdcc/support/regression/ports/z80/spec.mk: Minor change.
2334 * sdcc/support/regression/ports/ds390/spec.mk: Added.
2336 * sdcc/support/regression/ports/ds390/support.c: Added.
2338 * sdcc/support/regression/ports/ds390/uCsim.cmd: Added.
2340 * sdcc/support/regression/ports/mcs51/timeout.c: Cut.
2342 * sdcc/support/regression/fwk/lib/timeout.c: Paste.
2344 2001-11-04 Michael Hope <michaelh@juju.net.nz>
2346 * device/include/malloc.h: Added z80 and gbz80 support.
2348 * device/lib/gbz80/heap.s: Added.
2350 * device/lib/z80/heap.s: Added.
2352 * device/lib/malloc.c: Added z80 and gbz80 support.
2354 * support/regression/tests/malloc.c (testMalloc): Added.
2356 * src/SDCCmain.c (parseCmdLine): Added support for -Wp.
2358 * support/regression/tests/bug-478094.c: Added.
2360 * src/z80/gen.c (commitPair): Fixed silly gbz80/z80 commit to static bug.
2362 2001-11-04 Bernhard Held <bernhard@bernhardheld.de>
2364 * sdcc/sim/ucsim/s51.src/uc390cl.h: Improvement for ds390 to run regression tests
2366 * sdcc/sim/ucsim/s51.src/uc390.h: Improvement for ds390 to run regression tests
2368 * sdcc/sim/ucsim/s51.src/regs51.h: Improvement for ds390 to run regression tests
2370 * sdcc/sim/ucsim/s51.src/glob.cc: Improvement for ds390 to run regression tests
2372 * sdcc/support/regression/tests/bug-460010.c: Small change for ds390
2374 2001-11-04 Michael Hope <michaelh@juju.net.nz>
2376 * src/z80/peeph-gbz80.def: Removed a bad sub optimisation.
2378 2001-11-03 Michael Hope <michaelh@juju.net.nz>
2380 * support/regression/tests/bug-477927.c: Added.
2382 * src/z80/peeph.def: Added minor rules.
2384 * src/z80/gen.c (genPlusIncr): Added an extra plusinc rule.
2386 * src/z80/peeph.def: Added jump optimisation modification.
2388 2001-11-01 Michael Hope <michaelh@juju.net.nz>
2390 * src/SDCCmain.c (linkEdit): Added runtime path detection to the mcs51 port.
2392 2001-10-30 Michael Hope <michaelh@juju.net.nz>
2394 * support/regression/tests/funptrs.c: Added.
2396 2001-10-29 Michael Hope <michaelh@juju.net.nz>
2398 * src/z80/ralloc.c (packRegsForHLUse): Fixed up bad spill due to pushing one byte via HL.
2400 2001-10-28 Michael Hope <michaelh@juju.net.nz>
2402 * src/z80/gen.c (genArrayInit): Made it work for on stack arrays.
2404 * src/z80/main.c (gbz80_port =): Added rle support to the gbz80 port.
2406 * src/z80/gen.c (genMinus): Fixed for where the result is one byte.
2407 (movLeft2ResultLong): Created.
2409 * src/z80/ralloc.c (packRegsForHLUse): Added a couple of simple cases for the GB.
2410 (joinPushes): Added. Joins two char pushes into a word push.
2412 2001-10-27 Michael Hope <michaelh@juju.net.nz>
2414 * support/cpp2/Makefile.in (install): Added creation of dest dir.
2416 * support/makebin/Makefile (install): Added creation of dest dir.
2418 2001-10-24 Karl Bongers <karl@turbobit.com>
2420 * configure.in, configure, Makefile, support/cpp: Removed cpp folder, since we have new cpp2 preprocessor code.
2422 2001-10-21 Michael Hope <michaelh@juju.net.nz>
2424 * src/z80/ralloc.c: Turned off faulty pack for one use.
2426 * src/z80/peeph-gbz80.def: Removed redundent restart options.
2428 * src/z80/gen.c (genMult): Added native mul for constants on the z80 and gbz80.
2430 2001-10-21 Bernhard Held <bernhard@bernhardheld.de>
2432 * support/regression/Makefile: Improved clean
2434 * support/regression/ports/gbz80/spec.mk: Added clean
2436 * support/regression/ports/host/spec.mk: Added clean
2438 * support/regression/ports/z80/spec.mk: Added clean
2440 * support/regression/ports/mcs51/spec.mk: Added clean, little improvements
2442 * support/regression/ports/mcs51/timeout.c: little improvements
2444 2001-10-17 Michael Hope <michaelh@juju.net.nz>
2446 * device/lib/malloc.c (MEMHEADER): Fixed against new pedantic pointers.
2448 * support/regression/fwk/include/testfwk.h: Fixed up to use function pts correctly.
2450 * support/regression/generate-cases.py: Fixed up to use function pts correctly.
2452 2001-10-16 Bernhard Held <bernhard@bernhardheld.de>
2454 * support/regression/port/mcs51/spec.mk: add timeout for uCsim
2456 * support/regression/port/mcs51/timeout.c: add timeout for uCsim
2458 2001-10-13 Michael Hope <michaelh@juju.net.nz>
2459 * src/z80/gen.c (emitCall): Fixed up missing spill of HL when used to assign the result value.
2461 * src/z80/ralloc.c: Turned off pack for one use as it's quite broken.
2463 * src/SDCCmain.c (linkEdit): Added support for passing a legacy command line through the processor.
2465 * src/mcs51/main.c (_linkCmd): Added bin path to command.
2467 * src/SDCCmain.c (initValues): Added support for when it it called just to link.
2469 * as/mcs51/lklibr.c (libfil;): Turned off 'library file' message.
2471 * src/SDCCval.c (constVal): Fixed usage of 'L' modifier problems on ppc.
2473 * support/regression/tests/longor.c: Added.
2475 2001-10-11 Bernhard Held <bernhard@bernhardheld.de>
2477 * as/mcs51/asdata.c: replaced FILENAME_MAX with PATH_MAX
2479 * as/mcs51/aslink.h: define PATH_MAX
2481 * as/mcs51/asm.h: define PATH_MAX
2483 * as/mcs51/asmain.c: replaced FILENAME_MAX with PATH_MAX
2485 * as/mcs51/asnoice.c: replaced FILENAME_MAX with PATH_MAX
2487 * as/mcs51/lklex.c: replaced FILENAME_MAX with PATH_MAX
2489 * as/mcs51/lkmain.c: replaced FILENAME_MAX with PATH_MAX
2491 * src/SDCCglobl.h: define PATH_MAX
2493 * src/SDCCmacro.c: replaced FILENAME_MAX with PATH_MAX
2495 * src/SDCCmain.c: replaced FILENAME_MAX with PATH_MAX
2497 2001-10-11 Michael Hope <michaelh@juju.net.nz>
2499 * src/z80/gen.c (gencjneshort): Fixed
2501 * src/z80/ralloc.c (packRegsForHLUse): Added pack into HL for cast then ipush.
2503 2001-10-09 Michael Hope <michaelh@juju.net.nz>
2505 * support/regression/tests/bug-469671.c: Added.
2507 * src/z80/gen.c (shiftIntoPair): Fixed up warning.
2509 2001-10-08 Michael Hope <michaelh@juju.net.nz>
2511 * src/SDCCmain.c: Added --fommit-frame-pointer option and implemented in the z80 port.
2513 * src/z80/gen.c (genPlus): Fixed to work with extended stack. Also fixed genMinus, genCmp. genUMinus is still left.
2515 2001-10-08 Bernhar Held <bernhard@bernhardheld.de>
2517 * src/SDCCmain.c (preProcess): added define SDCC_NOOVERLAY
2519 * src/device/lib/_mulint.c : removed hint: nooverlay bug
2521 * src/device/lib/_mullong.c : removed hint: nooverlay bug
2523 * src/device/lib/_divuint.c : removed hint: nooverlay bug
2525 * src/device/lib/_divulong.c: removed hint: nooverlay bug
2527 * src/device/lib/_moduint.c : removed hint: nooverlay bug
2529 * src/device/lib/_modulong.c: removed hint: nooverlay bug
2531 2001-10-07 Michael Hope <michaelh@juju.net.nz>
2533 * 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.
2535 * support/Util/NewAlloc.c (freeTrace): Changed free for the gc case to not free at all. Fixes runtime segfault.
2537 * support/regression/tests/scott-compare3.c (c_abcd): Fixed up casts.
2539 2001-10-07 <johan@FRIJA>
2541 * device/lib/gets.c (gets): fixed the return value.
2543 2001-10-06 Michael Hope <michaelh@juju.net.nz>
2544 * src/SDCCmain.c (WRITE_SEG_LOC): Fixed up to use Safe_strdup.
2546 * 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.
2548 * 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.
2550 * src/z80/gen.c (genZ80Code): Added de-allocation via trace support.
2552 * src/pic/gen.c: Removed Safe_strdup.
2554 * configure.in: Added option to enable libgc support.
2556 * src/SDCCbitv.c (bitVectnBitsOn): Optimised.
2557 (bitVectUnion): Optimised.
2558 (bitVectIntersect): Optimised.
2559 (bitVectBitsInCommon): Optimised.
2560 (bitVectCplAnd): Optimised.
2562 * support/makebin/makebin.c (usage): Removed getopt as mingw32 doesn't have it. Sigh.
2564 2001-10-03 Bernhard Held <bernhard@bernhardheld.de>
2566 * src/SDCCmain.c: distinguish between assembler debug and plain options
2568 * src/avr/main.c: remove standard assembler options
2570 * src/ds390/main.c: remove standard assembler options
2572 * src/mcs51/main.c: remove standard assembler options
2574 * src/port.h: removed "PENDING" comment
2576 2001-10-03 Bernhard Held <bernhard@bernhardheld.de>
2578 * src/device/lib/_mulint.c : new, with assember functions
2580 * src/device/lib/_mullong.c : new, with assember functions
2582 * src/device/lib/_divuint.c : with assember functions
2584 * src/device/lib/_divsint.c : with assember functions
2586 * src/device/lib/_divulong.c: with assember functions
2588 * src/device/lib/_divslong.c: with assember functions
2590 * src/device/lib/_moduint.c : with assember functions
2592 * src/device/lib/_modsint.c : with assember functions
2594 * src/device/lib/_modulong.c: with assember functions
2596 * src/device/lib/_modslong.c: with assember functions
2598 * src/device/lib/libint.lib: replaced _muluint.c and _mulsint.c by _mulint.c
2600 * src/device/lib/liblong.lib: replaced _mululong.c and _mulslong.c by _mullong.c
2602 * src/device/lib/Makefile.in: replaced _muluint.c and _mulsint.c by _mulint.c
2603 replaced _mululong.c and _mulslong.c by _mullong.c
2605 2001-10-03 Bernhard Held <bernhard@bernhardheld.de>
2607 * src/SDCCsymt.c: sequence of specifiers in pintTypeChain() corrected
2609 2001-10-01 Bernhard Held <bernhard@bernhardheld.de>
2611 * src/SDCCglue.c: test, if win32api is available for MINGW
2613 2001-10-01 Bernhard Held <bernhard@bernhardheld.de>
2615 * src/SDCCsymt.c: no more _modifier in printTypeChain()
2616 * support/regression/tests/driverstruct.c: REENTRANT for mcs51
2617 * support/regression/ports/gbz80/spec.mk: removed GENERIC
2618 * support/regression/ports/host/spec.mk: removed GENERIC
2619 * support/regression/ports/mcs51/spec.mk: removed GENERIC
2620 * support/regression/ports/z80/spec.mk: removed GENERIC
2622 2001-10-01 Michael Hope <michaelh@juju.net.nz>
2624 * support/regression/fwk/lib/testfwk.c (__printf): Removed GENERIC.
2626 * support/regression/tests/bug-467035.c: Created.
2628 2001-10-01 <johan@FRIJA>
2630 * src/SDCC.y: fixed bug #466586 part 1
2632 2001-10-01 Johan Knol <johan.knol@iduna.nl>
2634 * SDCCicode.c: z80 has no generic pointers
2635 * removed -s from strip in all Makefile(.in)'s. It is not needed, but Solaris chocks on it.
2637 2001-09-30 Michael Hope <michaelh@juju.net.nz>
2639 * sim/ucsim/cmd.src/Makefile.in ($(PRJDIR)/libcmd.a): Changed all ar references to $(AR) for Solaris.
2641 2001-09-29 Michael Hope <michaelh@juju.net.nz>
2643 * Makefile (sdcc-libs): Added makebin to the list of standard targets.
2645 * support/regression/ports/z80/spec.mk: Updated to use env for sdcc bin dir for automatic regression.
2647 2001-09-25 Michael Hope <michaelh@juju.net.nz>
2649 * configure.in: Fixed up so that ucsim is only configured once.
2651 * support/cpp2/configure.in: Fixed to use the program transform to append the .exe for the win32 build.
2653 * src/SDCCutil.c (getPrefixFromBinPath): Fixed up to work with win32 in all of its glory.
2654 (getPathDifference): As above.
2656 * src/SDCCmain.c (preProcess): Changed to use a temporary file in a proper temp directory. Fixed case where pre-processing only.
2658 * src/SDCCglue.c (tempfilename): Added function for pre-processor.
2660 2001-09-23 Michael Hope <michaelh@juju.net.nz>
2661 * .version: Updated to 2.3.1
2663 * src/z80/main.c (z80_port =): Added macro based linker and assembler command line support.
2664 Added copyright header.
2666 * src/SDCCmain.c: Shifted various functions into SDCCutil.c
2667 (assemble): Added support for macro based assembler commands.
2668 (linkEdit): Added support for macro based linker commands.
2669 (preProcess): Changed the pre-processor to use macros.
2670 (_setPaths): Added functionality to autodetect the include, lib and bin dir paths.
2671 (_discoverPaths): Added support for overriding the install directory using the SDCCDIR env variable.
2673 * device/lib/z80/crt0.s: Added module name for debugging.
2675 2001-09-20 Michael Hope <michaelh@juju.net.nz>
2677 * src/SDCCmain.c (printVersionInfo): Added the build date to the version info.
2679 * src/SDCChasht.c (hTabDeleteByKey): Fixed delete as it would delete the last item from a bucket even if it wasn't the real one.
2681 * src/SDCCglue.c: Moved gc_strdup to SDCCutil.c
2683 * src/Makefile.in: Added SDCCmacro and SDCCutil
2685 2001-09-19 Michael Hope <michaelh@juju.net.nz>
2687 * src/SDCCmain.c (printVersionInfo): Added the build date to the version info.
2689 2001-09-16 <johan@FRIJA>
2691 * 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.
2693 2001-09-15 <johan@FRIJA>
2695 * src/mcs51/ralloc.c: (findAssignToSym): fixed bug #460662 part 1
2696 * src/ds390/ralloc.c (findAssignToSym): fixed bug #460662 part 1
2698 2001-09-11 <johan@FRIJA>
2700 * src/SDCCval.c (valDiv Mod Minus Plus Shift): keep litteral expressions as small as possible (bug #460010)
2702 2001-09-10 Michael Hope <michaelh@juju.net.nz>
2704 * support/regression/tests/bug-460444.c: Added test case.
2706 * src/z80/gen.c (genOr): bug 460444: if (a ^ lit) was broken for &, |, and ^.
2707 (genCast): Added justification for all of the asserts.
2709 2001-09-10 Bernhard Held <bernhard@bernhardheld.de>
2711 * support/regression/support.c: _xdata replaced by xdata
2713 * support/regression/spec.mk: removed _generic
2715 2001-09-09 Michael Hope <michaelh@juju.net.nz>
2717 * src/pic/ralloc.c (debugLogRegType): Removed some old types to get it to compile.
2719 * src/z80/gen.c (shiftR2Left2Result): Improved the case when v = v >> n for small values of n to use less code space and time.
2720 (genrshTwo): Fixed v = v >> n where v is a negative int and n is > 8: bug 460010.
2722 * src/z80/peeph.def: Added a rule to optimise shift then compare.
2724 * support/regression/tests/bug-460000.c (testShiftByParam): Added test case.
2726 * support/regression/tests/bug-460010.c: Added test case.
2728 * support/regression/Makefile (test-host): Removed a silly 'clean' target when testing against gcc.
2730 2001-09-09 Bernhard Held <bernhard@bernhardheld.de>
2732 * support/regression/Makefile: inter-port-clean adjusted for mcs51
2734 * support/regression/testfwk.c: removed workaround for bug #436344
2736 * support/regression/tests/bp.c: use less memory with mcs51
2738 * support/regression/tests/bug-441448.c: use less memory
2740 * support/regression/tests/ports/mcs51/spec.mk: cleanup, use --stack-after-data
2742 * support/regression/collate-results.py: typo
2744 2001-09-08 Michael Hope <michaelh@juju.net.nz>
2746 * support/regression/tests/fetchoverlap.c: Added new test case.
2748 * support/regression/tests/bp.c: Added new test case.
2750 * support/regression/tests/bug-448984.c: Added new test case.
2752 * support/regression/tests/pow2shifts.c: Added new test case.
2754 * src/z80/gen.c: Turned off the noise it normally generates for the release.
2755 (genlshTwo): Fixed right shift for count > 8.
2757 * src/z80/ralloc.c: Disabled most of the ACC packing rules as they weren't getting hit and weren't at all safe.
2759 2001-09-08 <johan@FRIJA>
2761 * src/SDCCicode.c (geniCodeCall): a CPOINTER can be used as a function
2763 2001-09-07 <johan@FRIJA>
2765 * src/SDCCicode.c (newiCodeCondition): fixed bug #456235 (1.77)
2767 * src/SDCCglue.c (emitRegularMap): only delete a symbol when it is a symbol
2769 2001-09-06 <johan@FRIJA>
2771 * src/SDCC.y: this could be a fix for bug #458744 (1.37)
2772 * bernhard noted me at this: "() equals to (void)" (1.38)
2774 2001-09-05 <johan@FRIJA>
2776 * src/SDCCglue.c (emitRegularMap): a fix for bug #458099/2
2778 2001-09-04 <johan@FRIJA>
2780 * src/SDCCsymt.c (checkSClass): a fix for bug #458099/1
2783 2001-09-04 Paul Stoffregen <paul@pjrc.com>
2785 * pragma noinduction broke memcpy on mcs51 large model. Moved it inside z80 optimization
2787 2001-09-03 Michael Hope <michaelh@juju.net.nz>
2789 * link/z80/aslink.h: Fixed path for PATH_MAX
2791 2001-09-02 Michael Hope <michaelh@juju.net.nz>
2793 * src/z80/gen.c (fetchLitPair): Changed so that it properly caches direct space references.
2795 * support/regression/tests/addsub.c: Added cases to cover all the +, - combinations.
2797 * support/regression/tests/uminus.c: Added a test for the unary minus operator.
2799 * 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.
2801 2001-09-01 Michael Hope <michaelh@juju.net.nz>
2803 * src/z80/gen.c: Fixed up generator to pass the regresion tests, specifically fixing loads for longs, genCmp, and turned on the map file.
2804 (genCmp): Fixed up genCmp for the GB with longs.
2806 * device/lib/gbz80/Makefile: Fixed up all the libraries to pass the regression tests.
2808 * support/regression/ports/host/spec.mk: Updated to compile with the new type specifiers.
2810 * device/lib/Makefile.in (Z80SOURCES): Removed old _mululong, _mulslong, and unneeded _mulint.
2812 * device/lib/_mullong.c (_mulslong): Changed to actually return a value :)
2814 2001-08-30 Paul Stoffregen <paul@pjrc.com>
2816 * added peepholes 223 to 231 to mcs51 port. These improve code when using large model.
2818 2001-08-30 Michael Hope <michaelh@juju.net.nz>
2820 * 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.
2822 * src/z80/gen.c (genPlus): Changed bad long add for gb to a fall through.
2824 2001-08-29 Michael Hope <michaelh@juju.net.nz>
2826 * link/z80/aslink.h: Fixed long file name support. Is now based off PATH_MAX instead of a constant.
2828 * src/z80/gen.c: Fixed add and sub for the case where left or right are in static space.
2830 2001-08-30 Bernhard Held <bernhard@bernhardheld.de>
2832 * sim/ucsim/configure: little improvement of Cygwin-detection
2833 * sim/ucsim/configure.in: little improvement of Cygwin-detection
2834 * sim/ucsim/cmd.src/newcmdcl.h: include <sys/types.h> to define fd_set automated build
2835 * support/regression/tests/bug-221100.c: small changes for mcs51
2836 * support/regression/tests/bug-221168.c: small changes for mcs51
2837 * support/regression/tests/bug-227710.c: small changes for mcs51
2838 * support/regression/tests/staticinit.c: small changes for mcs51
2839 * as/mcs51/aslink.h: accept everything as symbol name in rel-files, bug fix ID 452601
2840 * as/mcs51/lklex.c: accept everything as symbol name in rel-files, bug fix ID 452601
2841 * as/mcs51/lksym.c: accept everything as symbol name in rel-files, bug fix ID 452601