+2006-11-14 Maarten Brock <sourceforge.brock AT dse.nl>
+
+ * as/link/aslink.h,
+ * as/link/mcs51/lkihx.c (newArea),
+ * as/link/mcs51/lkrloc.c: renamed newArea() to ihxNewArea()
+ * as/link/mcs51/lkihx.c (ihx): output reset vector as start address
+
+2006-11-11 Raphael Neider <rneider AT web.de>
+
+ * src/pic/pcode.c (newpCodeOpBit): search SymbolTab for referenced
+ bitfield symbols, fixes #1579535 (once more...).
+
+2006-11-09 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
+
+ * support/regression/generate-cases.py,
+ * support/regression/fwk/include/testfwk.h,
+ * support/regression/fwk/lib/testfwk.c: used code pointers,
+ (about 50kByte less code generated for mcs51)
+
+2006-11-06 Borut Razem <borut.razem AT siol.net>
+
+ * debugger/mcs51/acinclude.m4, debugger/mcs51/aclocal.m4,
+ debugger/mcs51/configure: fixed failed check because the function
+ rl_function_of_keyseq isn't in Readline 5.2. Thanks to Ilya Goldberg
+ who submitted the patch for gpsim.
+ * debugger/mcs51/configure.in: removed the result message
+ * debugger/mcs51/Makefile.in: fixed the config.status warning
+ "... seems to ignore the --datarootdir setting"
+
+2006-11-03 Maarten Brock <sourceforge.brock AT dse.nl>
+
+ * device/include/mcs51/c8051f020.h,
+ * device/include/mcs51/c8051f040.h,
+ * device/include/mcs51/c8051f060.h,
+ * device/include/mcs51/c8051f120.h: added PS0, fixed bug 1589279
+ * src/z80/gen.c (gencjneshort),
+ * src/z80/peeph.def: applied patch 1571373, thanks Philipp Krause
+
+2006-10-31 Borut Razem <borut.razem AT siol.net>
+
+ * debugger/mcs51/acinclude.m4, debugger/mcs51/aclocal.m4,
+ debugger/mcs51/configure: get readline version
+
+2006-10-30 Borut Razem <borut.razem AT siol.net>
+
+ * debugger/mcs51/sdcdb.c: replaced hardcoded "/" with DIR_SEPARATOR_STRING
+ * debugger/mcs51/acinclude.m4, debugger/mcs51/aclocal.m4,
+ debugger/mcs51/configure: locate readline even when cross compiling
+ * support/scripts/sdcc.nsi: include readline5.dll into the setup package
+
+2006-10-29 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
+
+ * device/include/mcs51/serial_IO.h: putchar() and getchar() using
+ serial port.
+
+2006-10-29 Maarten Brock <sourceforge.brock AT dse.nl>
+
+ * device/include/malloc.h,
+ * device/lib/calloc.c,
+ * device/lib/free.c,
+ * device/lib/malloc.c,
+ * device/lib/realloc.c: moved definition of struct into sources
+ * support/regression/tests/malloc.c: use void* for init_dynamic_memory()
+
+2006-10-29 Maarten Brock <sourceforge.brock AT dse.nl>
+
+ * as/asx8051.dsp: corrected output directories
+ * as/link/hc08: new directory for hc08 linker
+ * as/hc08/aslink.h, as/link/aslink.h,
+ * as/hc08/aslink.mak, as/link/hc08/aslink.mak,
+ * as/hc08/clean.mk, as/link/hc08/clean.mk,
+ * as/hc08/link_hc08.dsp, as/link/hc08/link_hc08.dsp,
+ * as/hc08/lkaomf51.c, as/link/hc08/lkaomf51.c,
+ * as/hc08/lkarea.c, as/link/hc08/lkarea.c,
+ * as/hc08/lkdata.c, as/link/hc08/lkdata.c,
+ * as/hc08/lkelf.c, as/link/hc08/lkelf.c,
+ * as/hc08/lkihx.c, as/link/hc08/lkihx.c,
+ * as/hc08/lklibr.c, as/link/hc08/lklibr.c,
+ * as/hc08/lkmain.c, as/link/hc08/lkmain.c,
+ * as/hc08/lkmem.c, as/link/hc08/lkmem.c,
+ * as/hc08/lkrloc.c, as/link/hc08/lkrloc.c,
+ * as/hc08/lks19.c, as/link/hc08/lks19.c,
+ * as/hc08/Makefile.aslink, as/link/hc08/Makefile.aslink,
+ * as/hc08/Makefile.bcc, as/link/hc08/Makefile.bcc,
+ * as/hc08/Makefile.in, as/link/hc08/Makefile.in,
+ * as/link/hc08/conf.mk,
+ * configure,
+ * configure.in,
+ * Makefile.in,
+ * sdcc.dsw: moved hc08 linker to as/link/hc08
+ * as/hc08/lkeval.c, as/link/mcs51/lkeval.c, as/link/lkeval.c,
+ * as/hc08/lkhead.c, as/link/mcs51/lkhead.c, as/link/lkhead.c,
+ * as/hc08/lklex.c, as/link/mcs51/lklex.c, as/link/lklex.c,
+ * as/hc08/lklist.c, as/link/mcs51/lklist.c, as/link/lklist.c,
+ * as/hc08/lknoice.c, as/link/mcs51/lknoice.c, as/link/lknoice.c,
+ * as/hc08/lksym.c, as/link/mcs51/lksym.c, as/link/lksym.c,
+ * as/link/mcs51/aslink.dsp,
+ * as/link/mcs51/Makefile.in: factored out the common files
+ * as/hc08/lkstore.c: deleted, use the one already in as/link/
+ * as/clean.mk: extra cleaning common files
+ * as/link/mcs51/strcmpi.c, as/strcmpi.c: moved
+ * as/link/mcs51/strcmpi.h: deleted, moved protoype to aslink.h
+ * as/mcs51/asm.h: include sdccconf.h or sdcc_vc.h
+
+2006-10-29 Raphael Neider <rneider AT web.de>
+
+ * src/pic/ralloc.c (newReg): create aliases for registers with
+ multiple names to fix #1579535 and #1584001,
+ (regWithIdx,dirregWithName): resolve aliases on lookup
+ * src/pic/pcode.c (DoBankSelect): die with error message on failing
+ bankselect
+ * device/lib/pic/libdev/Makefile.in: move pseudo stack down to 0x4f
+ to prevent build errors on small devices
+
+2006-10-28 Raphael Neider <rneider AT web.de>
+
+ * src/pic/gen.c (genFunction,genCall): drop "same code page"
+ assumption within interrupt handlers, fixes #1584940
+ * src/pic/glue.c (pic14_constructAbsMap): mark absolute symbols as
+ "emitted" to avoid emitting them again in udata
+
+2006-10-27 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
+
+ * device/lib/_putchar.c, device/lib/_getchar.c, device/lib/inituart.c:
+ Removed.
+
+2006-10-26 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
+
+ * device/lib/_putchar.c, device/lib/_getchar.c, device/lib/inituart.c:
+ Initialize uart only if SM0 and SM1 are zero. Also, use flag to turn
+ on/off CR to CRLF conversion.
+
+2006-10-25 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
+
+ * doc/sdccman.lyx: updated IRQ section
+
+2006-10-24 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
+
+ * device/lib/serial_io.c: removed
+ * device/lib/_putchar.c, device/lib/_getchar.c, device/lib/inituart.c
+ replacements for serial_io.c
+
+2006-10-24 Maarten Brock <sourceforge.brock AT dse.nl>
+
+ * src/z80/main.c (_process_pragma, _parseOptions): fixed bug 1583318
+
+2006-10-24 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
+
+ * device/lib/serial_io.c: Default putchar() and getchar() for
+ mcs51 uses serial port.
+
+2006-10-23 Maarten Brock <sourceforge.brock AT dse.nl>
+
+ * src/mcs51/gen.c (movc): improved check for 0 and 1, see RFE 1582704
+
+2006-10-23 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
+
+ * support/regression/ports/mcs51/support.c: smaller
+ _sdcc_external_startup()
+ * device/lib/mcs51/crtxclear.asm: don't check high byte of l_PSEG
+
+2006-10-20 Maarten Brock <sourceforge.brock AT dse.nl>
+
+ * device/lib/gbz80/crt0.s,
+ * device/lib/gbz80/crt0_rle.s,
+ * device/lib/gbz80/div.s,
+ * device/lib/gbz80/fstubs.s,
+ * device/lib/gbz80/heap.s,
+ * device/lib/gbz80/mul.s,
+ * device/lib/gbz80/putchar.s,
+ * device/lib/gbz80/stubs.s,
+ * device/lib/z80/crt0.s,
+ * device/lib/z80/crt0_rle.s,
+ * device/lib/z80/div.s,
+ * device/lib/z80/fstubs.s,
+ * device/lib/z80/heap.s,
+ * device/lib/z80/mul.s,
+ * device/lib/z80/putchar.s,
+ * device/lib/z80/stubs.s: reverted, I was mistaken
+
+2006-10-20 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
+
+ * src/mcs51/peeph.def: peephole 238.x added check for notvolatile
+ * support/regression/ports/mcs51/support.c: removed race
+ condition on TI in _putchar allowing to use serial port mode 0
+
+2006-10-20 Borut Razem <borut.razem AT siol.net>
+
+ * debugger/mcs51/sdcdb.c: replaced isblank() with isspace()
+
+2006-10-19 Maarten Brock <sourceforge.brock AT dse.nl>
+
+ * device/lib/gbz80/crt0.s,
+ * device/lib/gbz80/crt0_rle.s,
+ * device/lib/gbz80/div.s,
+ * device/lib/gbz80/fstubs.s,
+ * device/lib/gbz80/heap.s,
+ * device/lib/gbz80/mul.s,
+ * device/lib/gbz80/putchar.s,
+ * device/lib/gbz80/stubs.s,
+ * device/lib/z80/crt0.s,
+ * device/lib/z80/crt0_rle.s,
+ * device/lib/z80/div.s,
+ * device/lib/z80/fstubs.s,
+ * device/lib/z80/heap.s,
+ * device/lib/z80/mul.s,
+ * device/lib/z80/putchar.s,
+ * device/lib/z80/stubs.s: removed all leading underscores from area names
+
+2006-10-17 Maarten Brock <sourceforge.brock AT dse.nl>
+
+ * support/regression/ports/mcs51/support.c: use highest baudrate so the
+ regression tests are not waiting in the simulator for simulated
+ transmission of debug output
+
+2006-10-16 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
+
+ * device/lib/printf_large.c: slightly smaller
+ * doc/sdccman.lyx: do not use spaces within html links
+
+2006-10-16 Borut Razem <borut.razem AT siol.net>
+
+ * configure.in, configure, sdccconf_in.h, src/SDCCglobal,
+ debugger/mcs51/Makefile.in, debugger/mcs51/sdcdb.[ch],
+ debugger/mcs51/aclocal.m4, debugger/mcs51/acinclide.m4,
+ debugger/mcs51/config.h.in, debugger/mcs51/configure.in,
+ debugger/mcs51/configure:
+ [ 1185668 ] add gnu readline support to sdcdb - enabled
+
+2006-10-16 Raphael Neider <rneider AT web.de>
+
+ * src/pic/pcode.c (BankSelect): another fix on (partial) BANKSELs,
+ fixes #1577882, removes close to all banking optimizations
+
+2006-10-15 Maarten Brock <sourceforge.brock AT dse.nl>
+
+ * src/SDCCsymt.c (checkSClass): no error for uninitialised absolute
+ variables in code memory
+ * support/regression/tests/absolute.c: added test for this
+
+2006-10-15 Raphael Neider <rneider AT web.de>
+
+ * src/pic/pcode.c (InsertBankSel): suppress BANKSELs for one bank
+ devices,
+ (BankSelect): emit BANKSEL before touching linker-placed regs,
+ fixes #1570934
+
+2006-10-10 Raphael Neider <rneider AT web.de>
+
+ * src/SDCCmain.c (optionsTable): accept --stack-size for PICs,
+ * src/pic/device.c (pic14_getSharebankSize,pic14_getSharebankAddress),
+ * src/pic/main.c (_pic14_parseOptions),
+ * src/pic/main.h: mostly reverted to previous state, now use results
+ from SDCCmain.c's argument parsing
+
+2006-10-10 Borut Razem <borut.razem AT siol.net>
+
+ * debugger/mcs51/break.[ch], debugger/mcs51/cmd.c,
+ debugger/mcs51/sdcdb.[ch], debugger/mcs51/simi.c:
+ [ 1185668 ] add gnu readline support to sdcdb -
+ prepared for READLINE, not enabled yet,
+ thanks to <tal.bav AT gmail.com>
+
+2006-10-10 Raphael Neider <rneider AT web.de>
+
+ * src/pic16/pcode.c (pic16_pCode2str): use isACCESS_BANK macro
+ * src/pic16/devices.inc,
+ * device/include/pic16 (pic18f[24]620.h),
+ * device/include/pic18fregs.h,
+ * device/lib/pic16/pics.all,
+ * device/lib/pic16/libdev/pic18f[24]{620,525}.c): added support for
+ 18f2620, 18f4620, 18f2525, and 18f4525 devices, thanks to
+ Gary Plumbridge and Anton Strobl
+
+2006-10-10 Raphael Neider <rneider AT web.de>
+
+ * src/pic/main.c (_pic14_parseOptions): added --stack-loc=NUM and
+ --stack-siz=NUM options to configure the argument passing stack
+ * src/pic/main.h: added stackLocation and stackSize to pic14_options_t
+ * src/pic/device.c (mapRegister): catch out-of-memory SIGSEGVs,
+ (pic14_getSharebankSize): obey --stack-siz=NUM,
+ (pic14_getSharebankAddress): obey --stack-loc=NUM
+
+2006-10-08 Frieder Ferlemann <Frieder.Ferlemann AT web.de>
+
+ * doc/sdccman.lyx: added to the manual
+ * doc/figures/ddd_example.png: added (neither pdflatex nor
+ most browsers seem to like the .eps file)
+
+2006-10-06 Bernhard Held <bernhard AT bernhardheld.de>
+
+ * src/SDCCglue.c (tempfileandname): changed un*x tmp search paths
+ to /tmp and /var/tmp acc. LSB
+ * src/SDCCast.c (addCast): Fixed bug 1571231: promote in case of
+ RESULT_TYPE_IFX
+ * support/regression/tests/onebyte.c: added test
+
+2006-10-05 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
+
+ * src/mcs51/gen.c: emitcode for "add a,0x%02x" requires only 8 bits.
+
+2006-10-05 Borut Razem <borut.razem AT siol.net>
+
+ * partially fixed [ 1570701 ] peephole - not replacing code from multiline macros,
+ thanks to dfulab:
+ - sdcc.dsw: changed property eol-style to CRLF
+ - support/scripts/resource.rc: replaced references to "afxres.h" with "winres.h"
+
+2006-10-04 Raphael Neider <rneider AT web.de>
+
+ * device/include/pic/{pic16f84.h,pic16f84a.h},
+ * device/lib/pic/libdev/{pic16f84.c,pic16f84a.c}: added PORT[AB]_bits
+ from patch #1522504, thanks to Robas Teodor
+
+2006-10-02 Maarten Brock <sourceforge.brock AT dse.nl>
+
+ * as/link/z80/lkarea.c: essentially reverted lnksect() to #4380 which
+ fixes bug 1566015
+
+2006-10-01 Maarten Brock <sourceforge.brock AT dse.nl>
+
+ * src/pic16/glue.c (pic16emitMaps),
+ * src/pic/glue.c (pic14emitMaps): hopefully fixed bug 1568779
+ * device/lib/gets.c: fixed bug 1568829,thanks Philipp Krause
+ * device/lib/pic16/libc/string/memcpypgm2ram.c,
+ * device/lib/pic16/libc/string/memcpyram2ram.c: fixed bug 1568836, thanks
+ Philipp Krause
+ * as/mcs51/asmain.c (asmbl, newdot): fixed problems with absolute areas
+ * as/link/mcs51/lkmem.c (summary2): reverted, do do count abs segments
+
+2006-09-30 Jesus Calvino-Fraga <jesusc at ece.ubc.ca>
+
+ * support/librarian/sdcclib.c: Added option -l.
+ * as/link/mcs51/lkmem.c: don't use absolute segments to compute memory
+ usage totals.
+ * device/lib/make51lib.bat: added. Allows building mcs51 libraries easily
+ using Windows command prompt.
+
+2006-09-30 Maarten Brock <sourceforge.brock AT dse.nl>
+
+ * device/lib/libsdcc.lib: added module rand
+ * src/ds390/ralloc.c (rematStr),
+ * src/hc08/ralloc.c (rematStr),
+ * src/mcs51/ralloc.c (rematStr),
+ * src/z80/ralloc.c (rematStr): made output more consistent
+ * src/mcs51/gen.c: cosmetic changes
+
+2006-09-30 Maarten Brock <sourceforge.brock AT dse.nl>
+
+ * src/port.h: added mem.cabs_name to PORT
+ * src/ds390/main.c,
+ * src/hc08/main.c,
+ * src/mcs51/main.c,
+ * src/pic16/main.c,
+ * src/pic/main.c,
+ * src/xa51/main.c,
+ * src/z80/main.c: added cabs_name initializers
+ * src/SDCCglue.c (emitStaticSeg): allocate and initialize absolute
+ constants
+ (emitMaps): emit absolutes in code memory into cabs_name
+ * src/SDCCmem.c,
+ * src/SDCCmem.h: added memory map c_abs and defined CABS_NAME
+ * src/ds390/gen.c (genCodePointerGet): fixed bug if left is a literal
+ * support/regression/fwk/include/testfwk.h: added define for at
+ * support/regression/tests/absolute.c: added, new
+
+2006-09-29 Maarten Brock <sourceforge.brock AT dse.nl>
+
+ * src/mcs51/gen.c (genPlusIncr, genMinusDec, genAddrOf): small
+ optimizations, see also patch 887161 by Stas Sergeev
+ * src/mcs51/peeph.def(104, 207, 209, 212): disabled as they do not seem
+ to be necessary anymore,
+ (102, 103, 104, 127): renamed all occurances of bp to _bp
+
+2006-09-27 Maarten Brock <sourceforge.brock AT dse.nl>
+
+ * device/include/mcs51/at89c51snd1c.h: fixed MSK_SREQ definition
+ thanks Weston T. Schmidt for patch 1555221
+ * src/mcs51/peeph.def: renamed rule 257 to 257.a, added 257.b
+ * src/SDCCicode.c(geniCodeMultiply): small optimization
+
+2006-09-26 Maarten Brock <sourceforge.brock AT dse.nl>
+
+ * device/include/stdlib.h: added rand prototypes
+ * device/lib/rand.c: new, added
+ * device/lib/Makefile.in: added rand.c
+ * src/z80/peeph.def,
+ * src/z80/peeph-gbz80.def,
+ * src/z80/peeph-z80.def: updated conditonals, fixed bug 1565908
+
+2006-09-20 Raphael Neider <rneider AT web.de>
+
+ * device/lib/pic16/libio/i2c/i2cnack.c (i2c_nack): fixed ACKDT bit
+
+2006-09-19 Maarten Brock <sourceforge.brock AT dse.nl>
+
+ * as/link/aslink.h: cosmetic changes
+ * as/link/mcs51/Makefile.in,
+ * as/link/z80/Makefile.in: fixed build on CF where VPATH is used
+
2006-09-17 Maarten Brock <sourceforge.brock AT dse.nl>
* as/link/aslink.h,