]>
git.gag.com Git - fw/sdcc/log
MaartenBrock [Sun, 10 Dec 2006 16:21:42 +0000 (16:21 +0000)]
* device/include/tinibios.h: removed defines for putchar and getchar
* device/lib/ds390/Makefile.in: added putchar.c
* device/lib/ds390/putchar.c: new, added, fixes bug
1465671
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4509
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sun, 10 Dec 2006 15:04:52 +0000 (15:04 +0000)]
* device/include/malloc.h: removed init_dynamic_memory
* device/lib/malloc.c: made init_dynamic_memory static and automatically
call it once from malloc. Also use _sdcc_heap[] from _heap.c
* device/lib/_heap.c: new, added, contains _sdcc_heap[]
* device/lib/libsdcc.lib,
* device/lib/Makefile.in,
* support/regression/ports/mcs51-xstack-auto/spec.mk: added _heap.c
* doc/sdccman.lyx: documented use of new _heap.c
* support/regression/tests/malloc.c: removed init_dynamic_memory
* src/cdbFile.c(spacesToUnderscores): new function,
(cdbWriteEndFunction, cdbWriteCLine): use spacesToUnderscores, fixes bug
1068030
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4508
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sat, 9 Dec 2006 22:20:24 +0000 (22:20 +0000)]
* support/cpp2/sdcc.h: prevent multiple inclusion
* support/cpp2/options.h: deleted
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4507
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sat, 9 Dec 2006 07:53:53 +0000 (07:53 +0000)]
cosmetic changes
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4506
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Fri, 8 Dec 2006 19:18:20 +0000 (19:18 +0000)]
* support/cpp2/sdcc.h: removed x*alloc() macros
* support/cpp2/libiberty.h: uncommented out x*alloc() declarations
* support/cpp2/Makefile.bcc, support/cpp2/Makefile.in,
support/cpp2/sdcpp.sdc: x*alloc files added to the project
* support/cpp2/system.h: moved #include "sdcc.h"
* support/cpp2/libiberty/xexit.c, support/cpp2/libiberty/xmalloc.c,
support/cpp2/libiberty/xstrdup.c, support/cpp2/libiberty/xstrerror.c:
added
* support/cpp2/sdcppinit.c: added -isysroot, -fsigned-char,
-funsigned-char options
* support/cpp2/sdcppmain.c: fixed bug
1611411
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4505
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Thu, 7 Dec 2006 18:24:45 +0000 (18:24 +0000)]
* support/cpp2/cpplib.c: reverted sdcpp special handling of _Pragma() directive
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4504
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Wed, 6 Dec 2006 17:04:20 +0000 (17:04 +0000)]
* src/SDCCsymt.c (addDecl): fixed bug
1609244
* doc/sdccman.lyx: bumped to 2.6.2
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4503
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Wed, 6 Dec 2006 12:30:34 +0000 (12:30 +0000)]
* src/SDCCmain.c (linkEdit): fixed bug
1609279
* .version: bumped to 2.6.2 because a) it's been a while
b) the linker sources have moved c) the preprocessor is upgraded
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4502
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
frief [Mon, 4 Dec 2006 18:42:47 +0000 (18:42 +0000)]
* support/regression/tests/snprintf.c: some checks
* lib/src/printf_large.c: %bc: read char instead of int from stack
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4501
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sun, 3 Dec 2006 22:31:52 +0000 (22:31 +0000)]
* device/include/mcs51/cc2430.h: inserted _XPAGE
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4500
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Sun, 3 Dec 2006 04:24:49 +0000 (04:24 +0000)]
device/include/mcs51/cc2430.h: added
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4499
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sat, 2 Dec 2006 11:53:42 +0000 (11:53 +0000)]
* device/include/asm/default/features.h,
* device/include/asm/ds390/features.h,
* device/include/mcs51/at89s53.h,
* device/include/ser.h,
* device/include/ser_ir.h,
* device/include/serial.h: changed keywords to double underscore variants,
fixes bug
1590261 some more, thanks Steven Borley
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4498
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Fri, 1 Dec 2006 08:49:18 +0000 (08:49 +0000)]
* src/pic/pcode.c (register_reassign): do not crash on recursive code
but emit warning (recursion is not supported for pic14)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4497
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
frief [Thu, 30 Nov 2006 22:20:19 +0000 (22:20 +0000)]
* src/mcs51/peeph.def: added 101.a,b (moves to int/long xdata)
* doc/sdccman.lyx: various small changes, acknowledged Sourceforge
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4496
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Thu, 30 Nov 2006 18:18:53 +0000 (18:18 +0000)]
* src/pic/device.c (dump_sfr): always emit symbols
* src/pic/glue.c (pic14printPublics): fixed typo
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4495
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Thu, 30 Nov 2006 13:51:34 +0000 (13:51 +0000)]
* src/pic/device.c (create_pic,ram_map): add memRange entries to PIC
(pic14_getSharebankSize, pic14_getSharebankAddress): replaced with
(pic14_hasSharebank,pic14_isShared,pic14_allRAMShared,
pic14_getSharedStack): NEW, evaluate the memRange entries to locate
a sharebank, use a non-shared bank for the stack if none available
* src/pic/device.h (struct memRange): added linked list next field,
added prototypes for above functions
* src/pic/ralloc.c (initStack): handle shared and banked stacks,
(typeRegWithIdx): accept fixed and unfixed stack registers
* src/pic/pcode.c (pCodeInitRegisters): use new functions to create
the stack, handle shared and banked stack (except for WSAVE),
(insertBankSel): removed useless optimization (will never fire),
(FixRegisterBanking): added optimization for devices with only one
possibly aliased bank of memory, like 16f84
* src/pic/glue.c (pic14_constructAbsMap): back to udata_ovr, as some
devices have no SHAREBANK in the linker script
* device/include/pic/pic14devices.txt: documented memmap
* device/lib/pic/libdev/Makefile.in: removed --stack-loc again
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4494
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
mhelmling [Thu, 30 Nov 2006 13:39:32 +0000 (13:39 +0000)]
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4493
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
epetrich [Thu, 30 Nov 2006 06:34:16 +0000 (06:34 +0000)]
* src/hc08/gen.c (transferRegReg, loadRegFromAop, forceStackedAop,
storeRegToAop, freeAsmop, genPlusIncr, genPlus, genPointerGetSetOfs,
genAnd, genOr, genXor, genLeftShiftLiteral, genRightShiftLiteral,
genhc08Code): switched most of the D (debug) macros to DD (detailed
debug) macros to better control clutter in the generated .asm file.
* src/hc08/gen.c: (forceStackedAop, genUminus, genLeftShift,
genRightShift): fixed bug with non-constant bit shift stored to
a volatile result (SF Open Discussion forum thread #
1616749 ).
Single byte case is not yet optimized.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4492
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Wed, 29 Nov 2006 07:31:45 +0000 (07:31 +0000)]
* device/include/asm/mcs51/features.h,
* device/include/malloc.h,
* device/include/stdio.h: changed keywords to double underscore variants,
fixes bug
1590261
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4491
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Mon, 27 Nov 2006 21:09:30 +0000 (21:09 +0000)]
* support\cpp2\cpptrad.c: added
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4490
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Mon, 27 Nov 2006 20:03:33 +0000 (20:03 +0000)]
* support\cpp2\cppexp.c, support\cpp2\hashtable.h,
support\cpp2\Makefile.in, support\cpp2\cppfiles.c,
support\cpp2\output.h, support\cpp2\cppinit.c,
support\cpp2\cpplib.c, support\cpp2\cpplib.h,
support\cpp2\Makefile.bcc, support\cpp2\cpphash.c,
support\cpp2\cppdefault.c, support\cpp2\system.h,
support\cpp2\cpphash.h, support\cpp2\cpplex.c,
support\cpp2\cppdefault.h, support\cpp2\mbchar.c,
support\cpp2\prefix.c, support\cpp2\except.h,
support\cpp2\hwint.h, support\cpp2\cppmacro.c,
support\cpp2\line-map.h, support\cpp2\sdcpp.dsp,
support\cpp2\sdcc.h, support\cpp2\mkdeps.c,
support\cpp2\version.c, support\cpp2\cppmain.c,
support\cpp2\version.h, support\cpp2\hashtable.c,
support\cpp2\cpperror.c:
synchronized with GCC CPP release version 3.3.6,
the latest where cppmain.c still exists.
* support\cpp2\sdcppmain.c, support\cpp2\sdcppinit.c: added
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4489
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Mon, 27 Nov 2006 18:22:21 +0000 (18:22 +0000)]
* support/cpp2/cpplex.c:
fixed _asm ... _endasm handling bug, introduce with GCC CPP
synchronization
* support/cpp2/cpplib.c: removed definitions of unused variables
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4488
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sun, 26 Nov 2006 18:21:29 +0000 (18:21 +0000)]
* support/cpp2/sdcc.h: x*alloc macro redefinition
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4487
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sun, 26 Nov 2006 17:00:45 +0000 (17:00 +0000)]
* support/cpp2/libiberty.h: commented out x*alloc() declarations
since they are redefined by macros in support/cpp2/sdcc.h
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4486
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sat, 25 Nov 2006 18:38:50 +0000 (18:38 +0000)]
* synchronized with GCC CPP release version 3.2.3,
the latest before integration of cpp into gcc
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4485
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sat, 25 Nov 2006 12:03:05 +0000 (12:03 +0000)]
* support/cpp2/cppexp.c, support/cpp2/hashtable.h,
support/cpp2/configure, support/cpp2/Makefile.in,
support/cpp2/cppfiles.c, support/cpp2/output.h,
support/cpp2/cppinit.c, support/cpp2/cpplib.c,
support/cpp2/config.h, support/cpp2/cpplib.h,
support/cpp2/Makefile.bcc, support/cpp2/cpphash.c,
support/cpp2/cppdefault.c, support/cpp2/config.in,
support/cpp2/system.h, support/cpp2/cpplex.c,
support/cpp2/cpphash.h, support/cpp2/mbchar.c,
support/cpp2/cppdefault.h, support/cpp2/prefix.c
support/cpp2/hwint.h, support/cpp2/mbchar.h,
support/cpp2/prefix.h, support/cpp2/cppmacro.c,
support/cpp2/configure.in, support/cpp2/intl.h,
support/cpp2/sdcpp.dsp, support/cpp2/acconfig.h,
support/cpp2/sdcc.h, support/cpp2/mkdeps.c,
support/cpp2/version.c, support/cpp2/cppmain.c,
support/cpp2/ansidecl.h, support/cpp2/libiberty.h,
support/cpp2/hashtable.c, support/cpp2/aclocal.m4,
support/cpp2/cpperror.c,
support/cpp2/libiberty/safe-ctype.c,
support/cpp2/libiberty/safe-ctype.h,
support/cpp2/libiberty/splay-tree.c,
support/cpp2/libiberty/obstack.c,
support/cpp2/libiberty/lbasename.c,
support/cpp2/libiberty/splay-tree.h,
support/cpp2/libiberty/obstack.h:
synchronized with GCC CPP release version 3.1
* support/cpp2/except.h, support/cpp2/line-map.c,
support/cpp2/line-map.h,
support/cpp2/libiberty/hex.c,
support/cpp2/libiberty/concat.c,
support/cpp2/libiberty/filenames.h: added
* support/cpp2/intl.c: deleted
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4484
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Fri, 24 Nov 2006 20:01:34 +0000 (20:01 +0000)]
* src/SDCC.y: enabled compilation of empty source file
* support/Util/SDCCerr.[ch]: added sdcc warning 190 -
"ISO C forbids an empty source file"
* device/lib/_startup.c, device/lib/printf_tiny.c: disable warning 190
if all the code is ifdefed out.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4483
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
epetrich [Fri, 24 Nov 2006 05:04:05 +0000 (05:04 +0000)]
* src/hc08/gen.c (genPcall): fix for bug #
1601032
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4482
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Thu, 23 Nov 2006 21:55:59 +0000 (21:55 +0000)]
* device/include/mcs51/
c8051f000 .h, device/include/mcs51/
C8051F000 .h,
* device/include/mcs51/
c8051f018 .h, device/include/mcs51/
C8051F018 .h,
* device/include/mcs51/
c8051f020 .h, device/include/mcs51/
C8051F020 .h,
* device/include/mcs51/
c8051f040 .h, device/include/mcs51/
C8051F040 .h,
* device/include/mcs51/
c8051f060 .h, device/include/mcs51/
C8051F060 .h,
* device/include/mcs51/
c8051f120 .h, device/include/mcs51/
C8051F120 .h,
* device/include/mcs51/
c8051f200 .h, device/include/mcs51/
C8051F200 .h,
* device/include/mcs51/
c8051f300 .h, device/include/mcs51/
C8051F300 .h,
* device/include/mcs51/
c8051f310 .h, device/include/mcs51/
C8051F310 .h,
* device/include/mcs51/
c8051f320 .h, device/include/mcs51/
C8051F320 .h,
* device/include/mcs51/
c8051f326 .h, device/include/mcs51/
C8051F326 .h,
* device/include/mcs51/
c8051f330 .h, device/include/mcs51/
C8051F330 .h,
* device/include/mcs51/
c8051f340 .h, device/include/mcs51/
C8051F340 .h,
* device/include/mcs51/
c8051f350 .h, device/include/mcs51/
C8051F350 .h,
* device/include/mcs51/
c8051f410 .h, device/include/mcs51/
C8051F410 .h:
Renamed to all upper case as per the standard set by SiLabs
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4481
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Thu, 23 Nov 2006 21:48:14 +0000 (21:48 +0000)]
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4480
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Thu, 23 Nov 2006 21:33:35 +0000 (21:33 +0000)]
* device/include/mcs51/
C8051F520 .h: new, added
* device/include/mcs51/compiler.h: added link about predefined macros
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4479
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Thu, 23 Nov 2006 02:28:31 +0000 (02:28 +0000)]
* src/regression/Makefile: add -L path to fresh library
* src/regression/simulate: emphasize FAILED output
* src/regression/create_stc: output _failures from gpsim
* src/regression/compare4.c,
* src/regression/rotate6.c: fixed char literals,
all compile, all run =8-D
* src/pic/pcode.h: added isPCASMDIR macro
* src/pic/gen.c (genAnd): fixed bit offset
* src/pic/ralloc.c (allocNewDirReg,allocDirReg,allocRegByName,
packBits): unified register numbering schemes,
(newReg): do not insert stack registers into hash table,
(initStack): unpinned pseudo stack, simplified,
(typeRegWithIdx): fixed retrieval of stack registers,
* src/pic/pcode.c (addpCodeComment,sameBank): added,
(pCodeReplace): removed invalid assertion,
(insertPCodeInstruction): fixed newly added labels,
(insertBankSwitch,BankSelect,IsBankChange,DoBankSelect,
FixRegisterBankingInFlow,compareBankFlow,FixBankFlow,
DumpFlow): removed unsed (broken?) code,
(insertBankSel): prevent STATUS from being BANKSELed,
(FixRegisterBanking): rewritten from scratch, implemented generic
optimizations (suppress BANKSELs to same register and to registers
present in all banks),
(AnalyzeBanking): update flow after BANKSELection
* src/pic/glue.c (pic14_constructAbsMap): emit pseudo stack in
sharebank, let linker place it, mark STKxx symbols as emitted
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4478
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
frief [Tue, 21 Nov 2006 17:15:18 +0000 (17:15 +0000)]
src/regression/arrays.c, src/regression/bank1.c, src/regression/bool2.c, src/regression/compare7.c, src/regression/compare8.c, src/regression/compare9.c, src/regression/compare10.c, src/regression/configword.c, src/regression/for.c, src/regression/mult1.c, src/regression/pointer1.c, src/regression/rotate6.c, src/regression/string1.c, src/regression/struct1.c, src/regression/Makefile: make PIC14 regression tests run again (3 fail, 6 won't compile)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4477
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Tue, 21 Nov 2006 15:27:08 +0000 (15:27 +0000)]
* device/include/pic16/pic18f4550.h,
* device/include/pic16/pic18f4455.h,
* device/lib/pic16/libdev/pic18f4550.c,
* device/lib/pic16/libdev/pic18f4455.c: fixed #
1578591 and #
1595144
* configure.in: removed superfluous closing bracket
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4476
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Tue, 21 Nov 2006 08:18:22 +0000 (08:18 +0000)]
* device/lib/expf.c: Fixed bug
1599523 : result of expf(x) is always positive.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4475
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Mon, 20 Nov 2006 23:21:40 +0000 (23:21 +0000)]
* src/pic/device.{c,h}: added pic14_getPIC()
* src/pic/gen.c (continueIfTrue,jumpIfTrue): added PIC code,
(genAnd): added PIC code for one case, fixes #
1597044
* src/pic/pcode.c (BankSelect): Ohoh, added generic optimization for
SFRs that are present in all banks (e.g., STATUS)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4474
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Mon, 20 Nov 2006 22:04:40 +0000 (22:04 +0000)]
* src/pic/pcode.c: changed inverted ops for DECFSZ/DECFSZW and
INCFSZ/INCFSZW and declared them as changing Z bit,
(insertPCodeInstruction): correctly invert the above instructions,
fixes #
1599333 ,
(DoBankSelect): don't panic on po_immediates
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4473
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Tue, 14 Nov 2006 13:44:47 +0000 (13:44 +0000)]
* 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
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4472
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Sat, 11 Nov 2006 23:23:47 +0000 (23:23 +0000)]
* src/pic/pcode.c (newpCodeOpBit): search SymbolTab for referenced
bitfield symbols, fixes #
1579535 (once more...).
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4471
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
frief [Thu, 9 Nov 2006 15:07:43 +0000 (15:07 +0000)]
* 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)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4470
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Mon, 6 Nov 2006 21:26:22 +0000 (21:26 +0000)]
Makefile.in: put back prefix and exec_prefix
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4469
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Mon, 6 Nov 2006 19:46:33 +0000 (19:46 +0000)]
* 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"
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4467
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Fri, 3 Nov 2006 09:11:47 +0000 (09:11 +0000)]
* 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
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4459
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Tue, 31 Oct 2006 21:03:30 +0000 (21:03 +0000)]
regenerated aclocal.m4 and configure
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4456
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Tue, 31 Oct 2006 20:57:41 +0000 (20:57 +0000)]
call AC_MSG_RESULT for each tested library
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4455
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Tue, 31 Oct 2006 19:19:25 +0000 (19:19 +0000)]
* debugger/mcs51/acinclude.m4, debugger/mcs51/aclocal.m4,
debugger/mcs51/configure: get readline version
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4452
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Mon, 30 Oct 2006 22:21:21 +0000 (22:21 +0000)]
remove readline5.dll
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4449
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Mon, 30 Oct 2006 22:10:49 +0000 (22:10 +0000)]
sdcc:
* support/scripts/sdcc.nsi: include readline5.dll into the setup package
sdcc-build:
* lib/bootstrap.mk: add readline5.dll to packages if cross compiling
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4448
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Mon, 30 Oct 2006 20:08:04 +0000 (20:08 +0000)]
* debugger/mcs51/aclocal.m4, debugger/mcs51/configure:
locate readline even when cross compiling
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4447
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Mon, 30 Oct 2006 19:32:18 +0000 (19:32 +0000)]
* debugger/mcs51/sdcdb.c: replaced hardcoded "/" with DIR_SEPARATOR_STRING
* debugger/mcs51/acinclude.m4: locate readline even when cross compiling
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4446
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Sun, 29 Oct 2006 20:55:38 +0000 (20:55 +0000)]
device/include/mcs51/serial_IO.h: putchar() and getchar() using serial port.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4444
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sun, 29 Oct 2006 19:47:53 +0000 (19:47 +0000)]
* 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()
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4443
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sun, 29 Oct 2006 16:29:34 +0000 (16:29 +0000)]
* 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
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4442
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Sat, 28 Oct 2006 23:40:14 +0000 (23:40 +0000)]
* 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
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4441
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Sat, 28 Oct 2006 16:01:37 +0000 (16:01 +0000)]
* 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
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4440
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Sat, 28 Oct 2006 05:33:58 +0000 (05:33 +0000)]
device/lib/_putchar.c,_getchar.c, inituart.c: removed
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4439
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Thu, 26 Oct 2006 06:53:41 +0000 (06:53 +0000)]
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4438
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Thu, 26 Oct 2006 05:49:01 +0000 (05:49 +0000)]
Initialize uart only if SM0 and SM1 are zero. Also, use flag 'putchar_crlf' to turn on/off CR to CRLF conversion.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4437
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
frief [Wed, 25 Oct 2006 12:04:40 +0000 (12:04 +0000)]
* doc/sdccman.lyx: updated IRQ section
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4436
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Wed, 25 Oct 2006 02:37:36 +0000 (02:37 +0000)]
device/lib/_putchar.c,_getchar.c, inituart.c replacements for serial_io.c
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4435
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Tue, 24 Oct 2006 19:24:11 +0000 (19:24 +0000)]
* src/z80/main.c (_process_pragma, _parseOptions): fixed bug
1583318
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4434
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Tue, 24 Oct 2006 08:20:54 +0000 (08:20 +0000)]
Added device/lib/serial_io.c: Default putchar() and getchar() for mcs51 uses serial port.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4433
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Mon, 23 Oct 2006 14:48:29 +0000 (14:48 +0000)]
* src/mcs51/gen.c (movc): improved check for 0 and 1, see RFE
1582704
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4432
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
frief [Mon, 23 Oct 2006 09:25:54 +0000 (09:25 +0000)]
* support/regression/ports/mcs51/support.c: smaller _sdcc_external_startup()
* device/lib/mcs51/crtxclear.asm: don't check high byte of l_PSEG
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4429
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Sat, 21 Oct 2006 19:48:22 +0000 (19:48 +0000)]
Include should be sdcc_vc.h not sdccc_vc.h...
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4423
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Fri, 20 Oct 2006 14:11:41 +0000 (14:11 +0000)]
* 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
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4422
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
frief [Fri, 20 Oct 2006 13:43:12 +0000 (13:43 +0000)]
* src/mcs51/peeph.def: peephole 238.x added check for notvolatile
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4421
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
frief [Fri, 20 Oct 2006 11:06:21 +0000 (11:06 +0000)]
* support/regression/ports/mcs51/support.c: removed race condition on TI in _putchar allowing to use serial port mode 0
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4420
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Fri, 20 Oct 2006 07:34:06 +0000 (07:34 +0000)]
* sebugger/mcs51/sdcdb.c: replaced isblank() with isspace()
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4419
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Thu, 19 Oct 2006 21:47:29 +0000 (21:47 +0000)]
* 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
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4418
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Tue, 17 Oct 2006 21:12:12 +0000 (21:12 +0000)]
* 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
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4415
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
frief [Mon, 16 Oct 2006 15:38:12 +0000 (15:38 +0000)]
* device/lib/printf_large.c: slightly smaller
* doc/sdccman.lyx: do not use spaces within html links
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4413
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Mon, 16 Oct 2006 13:04:35 +0000 (13:04 +0000)]
* 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
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4412
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Mon, 16 Oct 2006 08:26:54 +0000 (08:26 +0000)]
* src/pic/pcode.c (BankSelect): another fix on (partial) BANKSELs,
fixes #
1577882 , removes close to all banking optimizations
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4411
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sun, 15 Oct 2006 18:03:24 +0000 (18:03 +0000)]
* src/SDCCsymt.c (checkSClass): no error for uninitialised absolute
variables in code memory
* support/regression/tests/absolute.c: added test for this
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4410
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Sun, 15 Oct 2006 00:57:40 +0000 (00:57 +0000)]
* src/pic/pcode.c (InsertBankSel): suppress BANKSELs for one bank
devices,
(BankSelect): emit BANKSEL before touching linker-placed regs,
fixes #
1570934
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4409
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Tue, 10 Oct 2006 19:59:16 +0000 (19:59 +0000)]
* 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
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4408
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Tue, 10 Oct 2006 19:46:28 +0000 (19:46 +0000)]
* 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
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4407
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Tue, 10 Oct 2006 19:34:26 +0000 (19:34 +0000)]
* 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
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4406
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Tue, 10 Oct 2006 18:20:41 +0000 (18:20 +0000)]
* 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
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4405
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
frief [Sun, 8 Oct 2006 21:38:17 +0000 (21:38 +0000)]
* doc/sdccman.lyx: added to the manual
* doc/figures/ddd_example.png: added (neither pdflatex nor most browsers seem to like the .eps file)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4404
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Fri, 6 Oct 2006 20:50:56 +0000 (20:50 +0000)]
* 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
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4403
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Fri, 6 Oct 2006 06:48:39 +0000 (06:48 +0000)]
src/mcs51/gen.c: emitcode for "add a,0x%02x" requires only 8 bits.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4402
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Thu, 5 Oct 2006 19:41:44 +0000 (19:41 +0000)]
* 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"
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4401
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Wed, 4 Oct 2006 08:55:09 +0000 (08:55 +0000)]
* 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
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4400
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Mon, 2 Oct 2006 20:53:29 +0000 (20:53 +0000)]
* as/link/z80/lkarea.c: essentially reverted lnksect() to #4380 which
fixes bug
1566015
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4399
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sun, 1 Oct 2006 21:17:07 +0000 (21:17 +0000)]
* 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
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4398
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sun, 1 Oct 2006 15:14:29 +0000 (15:14 +0000)]
* src/pic16/glue.c (pic16emitMaps),
* src/pic/glue.c (pic14emitMaps): hopefully fixed bug
1568779
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4397
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Sun, 1 Oct 2006 05:39:56 +0000 (05:39 +0000)]
Remove environment variable SDCCLIB_CC once finished.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4396
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Sun, 1 Oct 2006 04:46:07 +0000 (04:46 +0000)]
* 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.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4395
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Sun, 1 Oct 2006 03:47:36 +0000 (03:47 +0000)]
Improved -l option.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4394
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Sat, 30 Sep 2006 18:18:12 +0000 (18:18 +0000)]
support/librarian/sdcclib.c: Added option -l
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4393
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sat, 30 Sep 2006 17:03:45 +0000 (17:03 +0000)]
* 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
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4392
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sat, 30 Sep 2006 00:37:38 +0000 (00:37 +0000)]
* 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
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4391
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Fri, 29 Sep 2006 11:58:45 +0000 (11:58 +0000)]
* 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
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4390
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Wed, 27 Sep 2006 12:01:50 +0000 (12:01 +0000)]
* src/mcs51/peeph.def: renamed rule 257 to 257.a, added 257.b
* src/SDCCicode.c(geniCodeMultiply): small optimization
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4389
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Wed, 27 Sep 2006 09:31:14 +0000 (09:31 +0000)]
* device/include/mcs51/at89c51snd1c.h: fixed MSK_SREQ definition
thanks Weston T. Schmidt for patch
1555221
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4388
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Tue, 26 Sep 2006 19:53:26 +0000 (19:53 +0000)]
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4387
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Tue, 26 Sep 2006 19:40:27 +0000 (19:40 +0000)]
* src/z80/peeph.def: updated conditonals, fixed bug
1565908
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4386
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Tue, 26 Sep 2006 09:56:37 +0000 (09:56 +0000)]
* device/lib/Makefile.in: added rand.c
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4385
4a8a32a2 -be11-0410-ad9d-
d568d2c75423