]>
git.gag.com Git - fw/sdcc/log
jesusc [Sat, 10 Mar 2007 21:31:53 +0000 (21:31 +0000)]
device/include/mcs51/ADuC84x.h: Added.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4678
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sat, 10 Mar 2007 17:31:55 +0000 (17:31 +0000)]
* src/SDCC.lex, src/SDCCutil.[ch], src/SDCCval:
fixed RFE #
1624219 : double backslashes in filenames;
functions hexEscape(), octalEscape() and copyStr() moved from
SDCCval.c to SDCCutil.c and made them glovbally available
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4677
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Fri, 9 Mar 2007 23:14:12 +0000 (23:14 +0000)]
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4676
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Fri, 9 Mar 2007 16:39:13 +0000 (16:39 +0000)]
* src/SDCC.lex, src/SDCCast.c. src/SDCCglobl.c, src/SDCCsymt.c,
src/SDCCval.c: fixed bugs #
1676768 : Wrong line number reported and
1673361 : Missaligned comments in output files
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4674
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Fri, 9 Mar 2007 14:16:29 +0000 (14:16 +0000)]
* device/include/pic/pic14devices.txt: fixed confsiz of 16f91[3467]
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4673
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Fri, 9 Mar 2007 12:30:51 +0000 (12:30 +0000)]
* src/pic/gen.c,
* src/pic/glue.c,
* src/pic/ralloc.c: suppress undesired debug output
* src/SDCCmain.c (linkEdit): initialize c to quieten compiler
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4672
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
frief [Thu, 8 Mar 2007 22:00:32 +0000 (22:00 +0000)]
* device/lib/printf_large.c: 6 bytes less __data mem (6 more __idata)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4671
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 7 Mar 2007 06:45:32 +0000 (06:45 +0000)]
* device/lib/pic16/libdev/pic18f[24][34]31.c:
search include files in the current directory
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4665
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sun, 4 Mar 2007 21:04:39 +0000 (21:04 +0000)]
* src/SDCCglue.c (emitMaps, glue),
* src/SDCCmem.c (initMem, allocDefault): added x_abs for initialized
absolute xdata
* support/regression/tests/absolute.c: added xdata test
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4663
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sat, 3 Mar 2007 17:26:55 +0000 (17:26 +0000)]
* src/SDCCmain.c (parseCmdLine): only set options.xstack_loc for mcs51,
added condition to macro, fixes bug
1666080
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4662
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Fri, 2 Mar 2007 21:52:21 +0000 (21:52 +0000)]
* src/pic/gen.c (genGenPointerSet): removed bogus assertion
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4661
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
frief [Wed, 28 Feb 2007 12:50:23 +0000 (12:50 +0000)]
* device/lib/mcs51/crtxclear.asm: pdata segment of 256 byte would not be cleared. Unconditionally set __XPAGE
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4660
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
frief [Wed, 28 Feb 2007 08:59:04 +0000 (08:59 +0000)]
* src/hc08/gen.c: --no-gen-comments (RFE #
1493816 ) for hc08
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4659
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
frief [Tue, 27 Feb 2007 12:30:58 +0000 (12:30 +0000)]
* src/SDCCglobl.h,
* src/SDCCmain.c,
* src/mcs51/gen.c,
* src/mcs51/rtrack.c,
* src/ds390/gen.c,
* doc/sdccman.lyx: added --no-gen-comments
* src/mcs51/peeph.def: added 192.b, disabled 185
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4658
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Sun, 25 Feb 2007 21:57:27 +0000 (21:57 +0000)]
* src/pic16/gen.c (genCast): fixed typo
* device/lib/pic16/Makefile.subdir: only install existing files
* device/lib/pic16/libdev/Makefile.in: build serially, avoid races
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4656
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sun, 25 Feb 2007 21:46:05 +0000 (21:46 +0000)]
* device/lib/mcs51/crtcall.asm: set svn properties
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4654
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sun, 25 Feb 2007 21:43:00 +0000 (21:43 +0000)]
* src/mcs51/rtrack.c,
* src/mcs51/rtrack.h: set svn properties
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4653
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sun, 25 Feb 2007 21:33:40 +0000 (21:33 +0000)]
* device/lib/mcs51/crtcall.asm: new, added for indirect calls
* device/lib/mcs51/crtclear.asm,
* device/lib/mcs51/crtxclear.asm: renumbered labels
* device/lib/mcs51/Makefile.in: added crtcall.asm
* doc/sdccman.lyx: documented mcs51 crt* library startup code
* src/mcs51/gen.c (movc): removed,
(aopGet, genPlusBits): clear a after loading the carry (possibly from
acc.x or psw.x),
(toCarry, genSend, genRet): added function toCarry,
(genPcall): use "lcall @a+dptr" for functions w/o parameters,
(assignBit, genAssign, genCast): added function assignBit
* src/mcs51/Makefile.bcc: added rtrack.c
* src/mcs51/ralloc.h: made valueKnown a bitfield
* src/mcs51/rtrack.c (getReg, rtrackUpdate): added getReg,
fixed "jbc acc" and "cpl acc" bug, enhanced "cjne", "jnz" and "djnz",
disabled InvalidateAllRx for lcall __gptrput, added "xch a,rn"
* src/pic/pcode.c (FixRegisterBanking): fixed warning used uninitialized
* src/z80/gen.c: added AOP_IS_PAIRPTR,
(_pop): only pop valid pairs, see gencjneshort,
(gencjneshort): return pair that still needs to be popped, restructured,
(gencjne, genCmpEq): call _pop
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4651
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Fri, 23 Feb 2007 08:25:04 +0000 (08:25 +0000)]
* device/include/pic/pic14devices.txt: 16f684 has only one config word
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4641
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Thu, 22 Feb 2007 08:19:40 +0000 (08:19 +0000)]
device/include/mcs51/P89LPC925.h: Added
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4640
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Tue, 20 Feb 2007 14:16:11 +0000 (14:16 +0000)]
P89LPC925 draft.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4639
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Sun, 18 Feb 2007 21:28:46 +0000 (21:28 +0000)]
* src/pic/glue.c (emitInitVal): fixed #
1659894 (SIGSEGV on arrays)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4638
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sat, 17 Feb 2007 15:40:51 +0000 (15:40 +0000)]
* support/cpp2/directives.c, support/cpp2/version.c:
synchronized with GCC CPP 4.1.2
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4637
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Fri, 16 Feb 2007 23:11:34 +0000 (23:11 +0000)]
added src\mcs51\rtrack.c to project
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4636
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
frief [Thu, 15 Feb 2007 12:11:32 +0000 (12:11 +0000)]
forgot this in my last commit
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4635
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
frief [Thu, 15 Feb 2007 11:23:10 +0000 (11:23 +0000)]
* src/mcs51/rtrack.h,
* src/mcs51/rtrack.c: added register tracking for the mcs51 port, by checking the strings passed by emitcode() to the assembler.
Feel free to change. This in part addresses RFE #482179.
Set environment variable SDCC_RTRACK to enable.
* src/mcs51/gen.c: inserted hooks
* src/mcs51/ralloc.h: added two members to struct regs
* support/regression/tests/regtrack.c: added
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4634
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 14 Feb 2007 20:08:31 +0000 (20:08 +0000)]
* Makefile.in: applied patch from Makefile related part of
#
1469393 : Compiler does not initialize static data
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4633
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 14 Feb 2007 19:52:54 +0000 (19:52 +0000)]
* src/SDCC.y: fixed bug #
1291133 : duplicate members across enum(s)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4632
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Mon, 12 Feb 2007 20:15:36 +0000 (20:15 +0000)]
* src/SDCCicode.c (geniCodeAssign): return (itemp) right instead of left
for better fix of bug
1273984 , compiles pic16 rand.c
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4631
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Mon, 12 Feb 2007 19:06:53 +0000 (19:06 +0000)]
* src/pic16/main.c: fixed pic16 standard library directory bug
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4630
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sun, 11 Feb 2007 12:30:15 +0000 (12:30 +0000)]
* src/hc08/gen.c (genSwap): fix swap regression test
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4629
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sat, 10 Feb 2007 13:41:24 +0000 (13:41 +0000)]
* src/SDCCsymt.c: fixed bug #
1159134 : invalid duplicate declarations
with same scope
* support/regression/tests/bug-
1654060 .c: added regression test for
#
1654060
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4628
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sat, 10 Feb 2007 11:47:41 +0000 (11:47 +0000)]
* src/SDCC.y: fixed bug #
1159134 : invalid duplicate declarations with
same scope, this time for real ;-)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4627
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Fri, 9 Feb 2007 22:43:53 +0000 (22:43 +0000)]
src/mcs51/gen.c (genRet): fixed RFE
1652561 : added code for bit to bit moves in return statement
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4626
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Fri, 9 Feb 2007 21:33:07 +0000 (21:33 +0000)]
* src/SDCC.y: fixed bug #
1159134 : invalid duplicate declarations with
same scope
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4625
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Wed, 7 Feb 2007 17:10:27 +0000 (17:10 +0000)]
* src/mcs51/gen.c (aopPut): use direct name for pushing registers
* src/SDCCmain.c (parseCmdLine): dbuf_s path must be initialised
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4624
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Wed, 7 Feb 2007 08:46:16 +0000 (08:46 +0000)]
* src/pic16/devices.inc,
* device/include/pic16/pic18fregs.h,
* device/include/pic16/pic18f[24][34]31.h,
* device/lib/pic16/libdev/pic18f[24][34]31.c,
* device/lib/pic16/pics.all: added 18f[24][34]31 family
* device/lib/pic16/libio/i2c.ignore: do not build i2c
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4623
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Tue, 6 Feb 2007 23:33:52 +0000 (23:33 +0000)]
* support/regression/tests/bug1273984.c: new, added, thanks Günther Jehle
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4622
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Tue, 6 Feb 2007 23:26:46 +0000 (23:26 +0000)]
* device/lib/printf_large.c (_print_format): fixed compare/assign bug, how
can this have lived here for so many years?
* src/SDCCicode.c (ast2iCode): return left instead of right for assignment,
fixes bug
1273984 , see also patch
1645121 , thanks Günther Jehle
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4621
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Tue, 6 Feb 2007 19:50:30 +0000 (19:50 +0000)]
* src/SDCCBlock.c (addiCodeToeBBlock): fixed bug
1652207 : GOTO icodes appended by loop induction must be at the very end of the eBBlock
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4620
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
kvigor [Tue, 6 Feb 2007 06:53:52 +0000 (06:53 +0000)]
Address bug
1469393 .
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4619
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Mon, 5 Feb 2007 21:11:23 +0000 (21:11 +0000)]
* support/regression/fwk/lib/timeout.c: native WIN32 port,
implemented #
1651830 Reg. tests: rewrite timeout.c to use WIN32 API
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4618
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Sun, 4 Feb 2007 01:27:42 +0000 (01:27 +0000)]
Added missing comment in SST89x5xRDx.h
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4617
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sat, 3 Feb 2007 16:09:18 +0000 (16:09 +0000)]
* device/lib/Makefile.in: added the -f option to rm so it doesn't
prompt for file deletion a few hundred times (especially the
subversion files, which have ro permissions so it asks for
confirmation), thanks to Simon McAuliffe;
added {}+ option to find in order to remove multiple files from a
single rm commad
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4616
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sat, 3 Feb 2007 12:10:18 +0000 (12:10 +0000)]
added thanks to Gunther Jehle
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4615
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sat, 3 Feb 2007 12:08:54 +0000 (12:08 +0000)]
* sdc/SDCC.y, src/SDCCmain.c, src/SDCCglobl.h, doc/sdccman.lyx:
applied patch #
1646602 option to set default signedness of char to
unsigned, added -funsigned-char command line option
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4614
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Sat, 3 Feb 2007 04:51:27 +0000 (04:51 +0000)]
device/include/mcs51/SST89x5xRDx.h: Added
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4613
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Fri, 2 Feb 2007 09:26:09 +0000 (09:26 +0000)]
* src/pic/glue.c (emitSymbolSet): check sym->etype before use
* src/regression/Makefile: use --no-pcode-opt, ignore failing tests
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4612
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Thu, 1 Feb 2007 10:21:08 +0000 (10:21 +0000)]
* src/pic/glue.c (picglue,emitSymbolSet,showAllMemmaps): emit the
config words again
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4611
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 31 Jan 2007 21:13:26 +0000 (21:13 +0000)]
* support/Util/dbuf_string.h: added ATTRIBUTE_PRINTF to dbuf_printf()
if compiled with GCC. Thanks to Raphael Neider
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4610
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Tue, 30 Jan 2007 23:52:00 +0000 (23:52 +0000)]
* src/pic/pcode.c (isValidIdChar,bankCompare): fuzzy matching of
operand names, handles name and (name + n) for all n,
(sameBank): restructured, also check bank allocation policy,
* src/pic/glue.c (emitPseudoStack): fixed printf arguments,
(pic14_operandsAllocatedInSameBank): check whether to operands
will be allocated into the same bank (i.e., section) to reduce
BANKSEL overhead, queried from pcode.c:sameBank,
(pic14printLocals): reintroduced clustering registers into a single
section: all compiler generated symbols will now reside in one
bank (per file), reducing BANKSEL overhead and code size,
(showAllMemmaps): use local dbuf where possible
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4608
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Mon, 29 Jan 2007 22:19:03 +0000 (22:19 +0000)]
* src/pic/gen.c (popGetExternal): simplified, mark symbol as used,
(call_libraryfunc): retrieve/create symbol and mark as used,
(genFunction): mark defined functions as non-extern and add again
to code memmap for later output
* src/pic/glue.c (emitPseudoStack): put into own subroutine,
(pic14printLocals): reworked for new symbol emission,
(emitIfNew,pic14_constructAbsMap,emitIvalLabel,emitIvals,emitInitVal,
showAllMemmaps): reworked symbol output using dbufs, added handling
of string literals (still incomplete),
(picglue): removed symbol emission, moved into showAllMemmaps,
(emitSymbolSet): new workhorse for symbol output,
(pic14emitMaps,pic14printPublics,pic14printExterns): commented out,
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4607
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Mon, 29 Jan 2007 16:47:44 +0000 (16:47 +0000)]
* src/SDCCmain.c, src/SDCCutil.c: dbuf_splitFile: file extension
component contains the extension separator.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4606
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sun, 28 Jan 2007 19:28:55 +0000 (19:28 +0000)]
fixed *nix build
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4605
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sun, 28 Jan 2007 18:10:42 +0000 (18:10 +0000)]
* sim/ucsim/cmd.src/cmdutil.cc: NUL device is detected as CG_FILE type
on WIN32
* src/SDCCdwarf2.c, src/SDCCglobl.h, src/SDCCmain.c, src/SDCCutil.c,
src/SDCCutil.h, src/avr/gen.c, src/ds390/gen.c, src/hc08/gen.c,
src/mcs51/gen.c, src/pic/device.c, src/pic/gen.c, src/pic/pcode.c,
src/pic/pcodepeep.c, src/pic/ralloc.c, src/pic16/device.h,
src/pic16/gen.c, src/pic16/main.c, src/pic16/pcode.c,
src/pic16/pcodepeep.c, src/pic16/ralloc.c, src/xa51/gen.c,
src/z80/gen.c, support/Util/MySystem.c:
accept slash and backslash as directory separator on WIN32 and
Cygwin ports
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4604
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Sun, 28 Jan 2007 10:46:04 +0000 (10:46 +0000)]
* src/pic16/devices.inc,
* device/include/pic16/pic18f[24][23]21.h,
* device/include/pic16/pic18fregs.h,
* device/lib/pic16/libdev/pic18f[24][23]21.c,
* device/lib/pic16/pics.all: added support for the 18f[24][23]21 family
* device/lib/pic16/libio/adc.ignore,
* device/lib/pic16/libio/i2c.ignore,
* device/lib/pic16/libio/usart.ignore: do not build I/O lib for new
family, as gputils do not yet support the devices
* device/lib/pic16/Makefile.subdir: ignore errors on install
* support/scripts/inc2h-pic16.pl: script to generate pic16 device
headers and libraries from gputils .inc files
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4603
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
pjs [Fri, 26 Jan 2007 19:37:24 +0000 (19:37 +0000)]
convert sdccman.lyx back to 221 format
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4602
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
pjs [Fri, 26 Jan 2007 12:44:48 +0000 (12:44 +0000)]
add printf_tiny data dependent integer speed footnote
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4601
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
pjs [Fri, 26 Jan 2007 12:27:44 +0000 (12:27 +0000)]
add footnote regarding printf_fast_f precision limit
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4600
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
pjs [Fri, 26 Jan 2007 12:15:35 +0000 (12:15 +0000)]
added printf benchmarks to manual
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4599
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
pjs [Thu, 25 Jan 2007 20:57:29 +0000 (20:57 +0000)]
fix %c in printf_fast, printf_fast_f and printf_tiny
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4598
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
pjs [Thu, 25 Jan 2007 18:56:18 +0000 (18:56 +0000)]
fix float overflow checki in printf_fast_f, bug #
1525093
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4597
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
frief [Thu, 25 Jan 2007 14:15:21 +0000 (14:15 +0000)]
* support/regression/tests/swap.c: 64 bit hosts failed
* doc/sdccman.lyx: added preliminary mcs51 printf feature matrix
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4596
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Thu, 25 Jan 2007 10:11:56 +0000 (10:11 +0000)]
* src/pic/pcode.c (sameBank,FixRegisterBanking): optimize banksels
based on absolute register address, patch by Alex Blond
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4595
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Mon, 22 Jan 2007 01:42:00 +0000 (01:42 +0000)]
* src/pic/glue.c (pic14emitRegularMap): mark initialized symbols as
emitted, do not emit them again...
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4594
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Mon, 22 Jan 2007 01:18:52 +0000 (01:18 +0000)]
* src/regression/bank1.c, src/regression/compare6.c,
src/regression/add.c: cosmetic changes
* src/pic/pcode.h: moved GPTRTAG_* here from gen.c
* src/pic/gen.c: fixed global zero and one,
(aopForSym): removed unued code,
(aopGet): assert aop is defined, check and use `index' of
pCodeImmd operands (fixes #
1630908 ),
* src/pic/pcode.c (get_op): added output of generic pointer tag,
(register_reassign): prevent accidental register unification,
(ReuseReg): cosmetic changes (also above)
* src/pic/glue.c (pic14_constructAbsMap,pic14emitRegularMap,
pic14emitStaticSeg): do not emit initialized data,
(printIval*): replaced with working versions,
(pic14createInterruptVect,picglue): use idata for initialized data,
now init data should work in all modules (not only main()),
* device/lib/pic/libsdcc/idata.c: NEW, handle initialized data
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4593
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sun, 21 Jan 2007 14:43:31 +0000 (14:43 +0000)]
updated
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4592
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sun, 21 Jan 2007 14:42:52 +0000 (14:42 +0000)]
* src/SDCCval.c: fixed bug introduced by me in rev. #4577
* support/cpp2/libcpp/lex.c: fixed gcc 4.1.1 warnings
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4591
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sun, 21 Jan 2007 09:10:03 +0000 (09:10 +0000)]
* sim/ucsim/configure.in: introduced macro DD_COPT_NO_IGNORE,
use -fPIC or -fpic if they are supported and not ignored
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4590
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sun, 21 Jan 2007 09:09:01 +0000 (09:09 +0000)]
* sim/ucsim/configure.in: introduced macro DD_COPT_NO_IGNORE,
use -fPIC or -fpic if they are supported and not ignored
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4589
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sat, 20 Jan 2007 19:40:45 +0000 (19:40 +0000)]
fixed bug in stringLiteral()
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4588
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sat, 20 Jan 2007 15:41:17 +0000 (15:41 +0000)]
* src/SDCC.lex, src/SDCCmain.c, sdc/SDCCglobl.h, doc/sdccman.lyx:
implemented RFE #
1470316 : allow "$" in variable names
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4587
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Sat, 20 Jan 2007 15:02:43 +0000 (15:02 +0000)]
* device/include/pic/pic14regs.h: reverted accidental wipe of the file
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4586
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Sat, 20 Jan 2007 15:00:18 +0000 (15:00 +0000)]
* device/lib/pic/libdev/devices.txt: device list for mkall.sh
* device/lib/pic/libdev/mkall.sh: script to rebuild all device libs
* device/lib/pic/libdev/pic14ports.txt: device PORT specifications
* support/scripts/inc2h.pl: fixed major .inc parsing bugs,
applied patch from Robert Tate (#
1629249 ) to add PORTs and TRISs
* device/lib/pic/libdev/pic*.c,
* device/include/pic/pic*.h: regenerated with enhanced inc2h.pl
* device/lib/pic/libdev/Makefile.in: show progress
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4585
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
bernhardheld [Fri, 19 Jan 2007 21:27:19 +0000 (21:27 +0000)]
* doc/sdccman.lyx: updated "configure options" for autoconf 2.6
* support/scripts/sdcc_cygwin_mingw32,
* support/scripts/sdcc_mingw32,
* support/scripts/build.mak: replaced --datadir by --datarootdir for conformance with autoconf 2.6
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4584
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Fri, 19 Jan 2007 10:18:16 +0000 (10:18 +0000)]
* src/pic/device.c (register_map): fixed list construction
* src/pic/gen.c (genDivOneByte,genModOneByte): accept result > 1 byte,
(genMod): removed case for genModbits,
(genModbits): removed as now unused/unimplemented
* src/pic/glue.c (picglue): prevent name clash with sources 'init.c'
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4581
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Fri, 19 Jan 2007 06:38:04 +0000 (06:38 +0000)]
Gunther Jehle mentioned.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4580
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
frief [Thu, 18 Jan 2007 23:13:37 +0000 (23:13 +0000)]
* support/regression/tests/swap.c: added in response to #
1638622
* doc/sdccman.lyx: synced version, minor changes
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4579
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Thu, 18 Jan 2007 20:21:37 +0000 (20:21 +0000)]
* SDCClabel.c: fixed bug #
1638651 : wrong linenumber presented in warning
* src/asm.c: don't die if the file drfined in #line couldn't be opened
* src/SDCC.lex, src/SDCCglobal.h, src/SDCCicode.c, src/SDCCsymt.c,
src/SDCCval.c: removed redundant definitions of currFname and mylineno;
use filename in lineno instead.
* SDCCast.c: removed MSVC warning C4018: '==' : signed/unsigned mismatch,
print the file name in ast_print()
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4578
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Thu, 18 Jan 2007 07:51:26 +0000 (07:51 +0000)]
* support/Util/dbuf_string.c: removed (PTR) cast since it is not
defined in MSVC
* src/SDCC.lex: stringLiteral() returns const char pointer,
EOF detection in stringLiteral(), fixed asmbuf memory leak,
fixed column counting
* src/SDCCval.[ch]: constVal(), value *strVal() and charVal()
accept const char pointer as parameter
* src/SDCCdwarf2.c: corrected buffer size
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4577
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 17 Jan 2007 20:49:38 +0000 (20:49 +0000)]
* support/Util/dbuf_string.c: fixed for amd64
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4576
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Mon, 15 Jan 2007 20:53:50 +0000 (20:53 +0000)]
* src/pic16/ralloc.c, src/pic/ralloc.c, src/SDCC.y:
removed terminal symbol ELIPSIS, since it was never generated by the
lexer and it was wrongly used in parameter_identifier_list rule
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4574
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
tecodev [Sun, 14 Jan 2007 23:40:09 +0000 (23:40 +0000)]
* doc/sdccman.lyx: updated PIC14/16 command line args, updated PIC14
code page and data banking description
* src/pic/genarith.c,
* src/pic/gen.h: removed bit arithmetic functions,
updated exit(1) to exit(EXIT_FAILURE)
* device/lib/pic16/libsdcc/stack/stack.S: default to 256 byte stack
* device/include/pic16/pic18f2455.h,
* device/lib/pic16/libdev/pic18f2455.c: added PORTD, LATD, LATE,
TRISD and TRISE, fixed/added some bit names
* device/lib/pic16/libdev/pic18f{2550,4550,4455}.c,
* device/include/pic16/pic18f{2550,4550,4455}.h: simply include
updated pic18f2455.{c,h} instead of duplicating them
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4573
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sun, 14 Jan 2007 19:47:28 +0000 (19:47 +0000)]
* as/mcs51/asnoice.c, as/hc08/asnoice.c: fixed bug #
1447412 :
Cannot debug files that contain spaces in the path name
by converting spaces in asm file name to underscores
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4572
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sun, 14 Jan 2007 19:35:01 +0000 (19:35 +0000)]
* as/mcs51/asnoice.c: fixed bug #
1447412 :
Cannot debug files that contain spaces in the path name
by converting spaces in asm file mane to underscores
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4571
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sat, 13 Jan 2007 22:10:53 +0000 (22:10 +0000)]
* doc/sdccman.lyx: fixed format errors
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4570
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 10 Jan 2007 19:12:06 +0000 (19:12 +0000)]
* suppoprt/cpp2/Makefile.bcc: reenable Borland C compilation
* suppoprt/cpp2/configure.in, suppoprt/cpp2/libcpp/lex.c,
suppoprt/cpp2/Makefile.in, suppoprt/cpp2/sdcpp-opts,
suppoprt/cpp2/sdcpp.[ch]: house cleaning
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4569
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Wed, 10 Jan 2007 14:35:37 +0000 (14:35 +0000)]
* src/SDCC.lex, src/SDCCmain.c: fixed bug #
1631895 :
codeseg/constseg #pragma fail
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4568
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Tue, 9 Jan 2007 06:55:32 +0000 (06:55 +0000)]
* get rid of diagnistic.[ch], pretty-print.[ch],
c-pretty-print.[ch], ... used just for error, warning, ...
message formatting
* suppoprt/cpp2/pretty-print.[ch], suppoprt/cpp2/diagnostic.[ch],
suppoprt/cpp2/diagnostic.def, suppoprt/cpp2/input.h,
suppoprt/cpp2/pretty-print.[ch]:
removed
* suppoprt/cpp2/Makefile.in, suppoprt/cpp2/opts.c,
suppoprt/cpp2/sdcpp-opts.c, suppoprt/cpp2/sdcpp.[ch],
suppoprt/cpp2/sdcpp.dsp:
changed
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4567
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Mon, 8 Jan 2007 23:03:34 +0000 (23:03 +0000)]
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4566
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Mon, 8 Jan 2007 22:18:40 +0000 (22:18 +0000)]
* device/lib/printf_large.c (output_float): removed recursion,
use smaller buffer on stack for mcs51,
fixed bug printing 1.96
* support/regression/tests/snprintf.c: added test
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4565
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sun, 7 Jan 2007 17:57:05 +0000 (17:57 +0000)]
* .version, sdcc.spec: bumped version to 2.6.4
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4564
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
borutr [Sun, 7 Jan 2007 17:18:12 +0000 (17:18 +0000)]
* use dynamic memory buffers instead temporary files
* support/Util/dbuf_string.c, support/Util/dbuf_string.h:
added
* src/Makefile.in, src/SDCC.lex, src/SDCCast.c, src/SDCCast.h,
src/SDCCcse.c, src/SDCCglobl.h, src/SDCCglue.c, src/SDCCglue.h,
src/SDCCicode.c, src/SDCCicode.h, src/SDCCmain.c, src/SDCCmem.c,
src/SDCCmem.h, src/SDCCpeeph.c, src/SDCCpeeph.h, src/SDCCsymt.c,
src/SDCCsymt.h, src/SDCCutil.c, src/asm.c, src/asm.h, src/avr/gen.c,
src/avr/main.c, src/ds390/gen.c, src/ds390/main.c, src/hc08/gen.c,
src/hc08/main.c, src/izt/gen.c, src/mcs51/gen.c, src/mcs51/main.c,
src/pic/device.c, src/pic/gen.c, src/pic/glue.c, src/pic/main.c,
src/pic/ralloc.c, src/pic16/gen.c, src/pic16/glue.c,
src/pic16/main.c, src/pic16/ralloc.c, src/port.h, src/src.dsp,
src/xa51/gen.c, src/xa51/main.c, src/z80/gen.c, src/z80/main.c,
support/Util/dbuf.c, support/Util/dbuf.h:
modified
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4563
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sun, 7 Jan 2007 17:10:12 +0000 (17:10 +0000)]
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4562
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sun, 7 Jan 2007 16:09:46 +0000 (16:09 +0000)]
* src/port.h: added TARGET_Z80_LIKE macro
* src/SDCCmain.c (linkEdit): use TARGET_Z80_LIKE,
output PSEG location if --xram-loc or --xstack-loc was used
* as/link/mcs51/lkarea.c (lnksect2): set segment address afterwards
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4561
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sun, 7 Jan 2007 11:37:21 +0000 (11:37 +0000)]
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4560
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sun, 7 Jan 2007 10:47:47 +0000 (10:47 +0000)]
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4559
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sun, 7 Jan 2007 09:57:10 +0000 (09:57 +0000)]
* as/as_gbz80.dsp, as/z80/as_gbz80.dsp,
* as/as_z80.dsp, as/z80/as_z80.dsp,
* as/asx8051.dsp, as/mcs51/asx8051.dsp,
* sdcc.dsw: moved project files into subdir
* as/hc08/as_hc08.dsp,
* as/hc08/Makefile.bcc,
* as/hc08/Makefile.in,
* as/mcs51/Makefile.bcc,
* as/mcs51/Makefile.in,
* as/z80/Makefile.bcc,
* as/z80/Makefile.in,
* as/link/mcs51/Makefile.bcc: use as/strcmpi.c
* as/hc08/asm.h,
* as/mcs51/asm.h,
* as/z80/asm.h: added as_strcmpi() and as_strncmpi() prototypes
* as/hc08/asmain.c,
* as/hc08/assym.c,
* as/mcs51/asmain.c,
* as/mcs51/assym.c,
* as/z80/assym.c: removed include "strcmpi.h"
* as/hc08/strcmpi.c,
* as/hc08/strcmpi.h,
* as/mcs51/strcmpi.c,
* as/mcs51/strcmpi.h,
* support/Util/strcmpi.c,
* support/Util/strcmpi.h: removed files
* as/strcmpi.c: added as_strncmpi()
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4558
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
jesusc [Fri, 5 Jan 2007 16:34:25 +0000 (16:34 +0000)]
sdcc.dsw: Added some dependencies on project config.dsp
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4557
4a8a32a2 -be11-0410-ad9d-
d568d2c75423
MaartenBrock [Fri, 5 Jan 2007 07:19:10 +0000 (07:19 +0000)]
* as/link/mcs51/lkarea.c (lnkarea2, lnksect2): replaced [di]seg_ap->a_addr
with [di]ram_start to fix a regresion
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4556
4a8a32a2 -be11-0410-ad9d-
d568d2c75423