Keith Packard [Wed, 29 Apr 2009 15:06:31 +0000 (08:06 -0700)]
Promote varargs pointers to RESULT_TYPE_GPTR
The addition of the RESULT_TYPE_GPTR as distinct from RESULT_TYPE_NONE
was not propogated into the varargs function parameter handling code
resulting in non-generic pointers being passed to varargs functions.
borutr [Tue, 28 Apr 2009 17:29:31 +0000 (17:29 +0000)]
* support/cpp/output.h, support/cpp/opts-common.c,
support/cpp/c-ppoutput.c, support/cpp/cppdefault.c,
support/cpp/system.h, support/cpp/cppdefault.h,
support/cpp/prefix.c, support/cpp/except.h, support/cpp/hwint.h,
support/cpp/prefix.h, support/cpp/libiberty/safe-ctype.h,
support/cpp/libiberty/filenames.h, support/cpp/libiberty/xstrdup.c,
support/cpp/libiberty/md5.c, support/cpp/libiberty/obstack.h,
support/cpp/sdcpp.c, support/cpp/intl.h, support/cpp/sdcpp.h
support/cpp/libcpp/symtab.c, support/cpp/libcpp/directives.c,
support/cpp/libcpp/macro.c, support/cpp/libcpp/include/cpplib.h,
support/cpp/libcpp/include/symtab.h,
support/cpp/libcpp/include/line-map.h,
support/cpp/libcpp/include/cpp-id-data.h,
support/cpp/libcpp/include/mkdeps.h, support/cpp/libcpp/files.c,
support/cpp/libcpp/line-map.c, support/cpp/libcpp/init.c,
support/cpp/libcpp/identifiers.c, support/cpp/libcpp/ucnid.h,
support/cpp/libcpp/traditional.c, support/cpp/libcpp/errors.c,
support/cpp/libcpp/expr.c, support/cpp/libcpp/internal.h,
support/cpp/libcpp/mkdeps.c, support/cpp/libcpp/lex.c,
support/cpp/libcpp/system.h, support/cpp/libcpp/charset.c,
support/cpp/opts.h, support/cpp/sdcpp-opts.c:
SDCPP synchronized with GCC CPP release version 4.4.0
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5444
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Tue, 28 Apr 2009 05:59:31 +0000 (05:59 +0000)]
fixed use of && for AND
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5443
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Tue, 28 Apr 2009 05:46:40 +0000 (05:46 +0000)]
* support/scripts/sdcc_mingw32: sync with sdcc-build
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5442
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Tue, 28 Apr 2009 05:40:30 +0000 (05:40 +0000)]
* fixed GCC 4.4.0 mingw compilation:
sim/ucsim/cmd.src/cmdlex.cc: regenerated - added #include <stdio.h>
* src/SDCCsymt.c: fixed warning:
suggest parentheses around operand of '!' or change '&' to '&&' or
'!' to '~'
* support/scripts/sdcc_mingw32: sync with sdcc-build
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5441
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Tue, 28 Apr 2009 05:09:19 +0000 (05:09 +0000)]
* fixed GCC 4.4.0 mingw compilation:
sim/ucsim/cmd.src/cmdlex.cc: regenerated - added #include <stdio.h>
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5440
4a8a32a2-be11-0410-ad9d-
d568d2c75423
tecodev [Mon, 27 Apr 2009 21:05:49 +0000 (21:05 +0000)]
* src/pic16/gen.c (genNearPointerGet): fix double indirect
access to bitfields (#
2782405)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5439
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Mon, 27 Apr 2009 17:16:10 +0000 (17:16 +0000)]
* fixed GCC 4.4.0 mingw compilation:
* sim/ucsim/cmd.src/cmdlex.l: added #include <stdio.h>
* support/cpp/sdcpp-opts.c: fixed warning:
unknown conversion type character 'm' in format,
use strerror(errno) instead of %m glibc extension format specifier
* src/SDCCsymt.c: fixed warning:
suggest parentheses around operand of '!' or change '&' to '&&' or
'!' to '~'
* src/pic16/pcode.c, src/pic16/glue.c: fixed warning:
unknown conversion type character 'h' in format,
replaced hh printf format specifier with parameter casting to
unsigned char
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5438
4a8a32a2-be11-0410-ad9d-
d568d2c75423
spth [Sun, 19 Apr 2009 11:37:21 +0000 (11:37 +0000)]
Applied patch #
2762516
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5436
4a8a32a2-be11-0410-ad9d-
d568d2c75423
spth [Sun, 19 Apr 2009 11:19:29 +0000 (11:19 +0000)]
Added some regression tests from patch #
2321830
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5435
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Thu, 16 Apr 2009 06:34:52 +0000 (06:34 +0000)]
* device/lib/Makefile.in, device/lib/ds390/Makefile.in,
device/lib/ds400/Makefile.in, device/lib/gbz80/Makefile.in,
device/lib/hc08/Makefile.in, device/lib/mcs51/Makefile.in,
device/lib/z80/Makefile.in: override PORTDIR in sub-makefiles
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5434
4a8a32a2-be11-0410-ad9d-
d568d2c75423
tecodev [Mon, 13 Apr 2009 13:08:47 +0000 (13:08 +0000)]
* device/lib/pic16/bootstrap.sh: avoid symlinks
* device/lib/pic16/configure.ac,
device/lib/pic16/configure.gnu: removed obsolete configure-wrapper
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5433
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Mon, 13 Apr 2009 06:32:15 +0000 (06:32 +0000)]
* device/lib/Makefile.in: remove abspath for PORTDIR, introduced in
svn revision #5341, since it makes asranlib to fail on cygming and
mingw builds: win32 native asranlib doesn't understand cygwin paths.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5432
4a8a32a2-be11-0410-ad9d-
d568d2c75423
tecodev [Fri, 10 Apr 2009 09:15:47 +0000 (09:15 +0000)]
* src/pic/gen.c: fixed warning and style
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5431
4a8a32a2-be11-0410-ad9d-
d568d2c75423
tecodev [Fri, 10 Apr 2009 00:48:21 +0000 (00:48 +0000)]
* device/lib/pic/libsdcc/fs2ulong.c, device/lib/pic/libsdcc/fsadd.c,
device/lib/pic/libsdcc/fsdiv.c, device/lib/pic/libsdcc/fseq.c,
device/lib/pic/libsdcc/fsgt.c, device/lib/pic/libsdcc/fslt.c,
device/lib/pic/libsdcc/fsmul.c, device/lib/pic/libsdcc/fsneq.c,
device/lib/pic/libsdcc/fssub.c, device/lib/pic/libsdcc/ulong2fs.c,
device/lib/pic16/libsdcc/float/fs2ulong.c,
device/lib/pic16/libsdcc/float/fsadd.c,
device/lib/pic16/libsdcc/float/fsdiv.c,
device/lib/pic16/libsdcc/float/fsmul.c: fixed pic14 libraries, merge
changes from the pic16 port, minor code cleanup
* src/pic/gen.c: implemented genUminusFloat()
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5430
4a8a32a2-be11-0410-ad9d-
d568d2c75423
spth [Thu, 9 Apr 2009 13:07:11 +0000 (13:07 +0000)]
Applied patch #
2741451 and reorganized mod functions
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5429
4a8a32a2-be11-0410-ad9d-
d568d2c75423
frief [Mon, 6 Apr 2009 07:58:46 +0000 (07:58 +0000)]
* src/mcs51/peeph.def: disabled rule 270, fixing bug #
2736282
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5428
4a8a32a2-be11-0410-ad9d-
d568d2c75423
spth [Sat, 4 Apr 2009 17:24:48 +0000 (17:24 +0000)]
Improved caching of pointers and division
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5427
4a8a32a2-be11-0410-ad9d-
d568d2c75423
spth [Fri, 3 Apr 2009 17:40:28 +0000 (17:40 +0000)]
Enabled use of hl as inter-i-code temporary
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5426
4a8a32a2-be11-0410-ad9d-
d568d2c75423
spth [Fri, 3 Apr 2009 16:18:37 +0000 (16:18 +0000)]
Reenabled peephole 0t
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5425
4a8a32a2-be11-0410-ad9d-
d568d2c75423
spth [Fri, 3 Apr 2009 15:40:24 +0000 (15:40 +0000)]
Fixed bugs #
2728224, #
2728218
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5424
4a8a32a2-be11-0410-ad9d-
d568d2c75423
spth [Fri, 3 Apr 2009 10:41:30 +0000 (10:41 +0000)]
Minor improvements, code cleanup and license clarification
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5423
4a8a32a2-be11-0410-ad9d-
d568d2c75423
spth [Wed, 1 Apr 2009 19:13:27 +0000 (19:13 +0000)]
Minor Z80 multiplication improvement
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5422
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Mon, 23 Mar 2009 06:21:41 +0000 (06:21 +0000)]
* src/SDCCval.c, src/SDCCmain.c, device/include/limits.h,
device/include/pic/limits.h, device/include/pic16/limits.h,
device/lib/_fs2schar.c, device/lib/pic/libsdcc/fs2schar.c,
device/lib/pic16/libsdcc/float/fs2schar.c, doc/sdccman.lyx,
support/regression/tests/funsigned-char.c:
applied patch
2704189: character constant sign fix
thanks to Robert Larice
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5421
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Sun, 22 Mar 2009 09:27:40 +0000 (09:27 +0000)]
* Small Device C Compiler 2.9.0 released
* .version, doc/sdccman.lyx: changed sdcc version to 2.9.1
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5418
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Sun, 15 Mar 2009 13:30:34 +0000 (13:30 +0000)]
sdcc:
* support/scripts/repack_release.sh: added
sdcc-web:
* index.php:
added News - sdcc 2.9.0 RC2, removed old sdcc 2.8.0 release news
* previous.php: added old news
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5416
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Fri, 13 Mar 2009 21:17:21 +0000 (21:17 +0000)]
* doc/sdccman.lyx: "freeware" replaced with "free open source"
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5413
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Thu, 12 Mar 2009 21:57:29 +0000 (21:57 +0000)]
* src/z80/peep.c: #
2652979: --debug crashes sdcc
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5412
4a8a32a2-be11-0410-ad9d-
d568d2c75423
frief [Thu, 12 Mar 2009 20:57:55 +0000 (20:57 +0000)]
* src/SDCCglue.c, support/regression/tests/bug2655200.c:
applied modified patch from Robert Larice <larice AT vidisys.de>
fixing original report of bug #
2655200: pointer to pdata memory not correctly initialized
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5411
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Wed, 11 Mar 2009 19:44:49 +0000 (19:44 +0000)]
include sys/stat.h
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5410
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Wed, 11 Mar 2009 09:15:00 +0000 (09:15 +0000)]
* as/asranlib/asranlib.c: retain the original file mode
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5409
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Tue, 10 Mar 2009 21:36:15 +0000 (21:36 +0000)]
* src/mcs51/gen.c, src/z80/gen.c, src/hc08/gen.c, src/ds390/gen.c,
support/regression/tests/bug1875933.c:
fixed bug #
1875933: Evelyn jumps into the void
thanks to Robert Larice
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5408
4a8a32a2-be11-0410-ad9d-
d568d2c75423
tecodev [Tue, 10 Mar 2009 01:29:02 +0000 (01:29 +0000)]
* src/pic16/pcode.c (LinkFlow): fix invalid cast from pCodeLabel
to pCodeInstruction to avoid a segmentation fault
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5407
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Tue, 3 Mar 2009 19:37:25 +0000 (19:37 +0000)]
* device/lib/printf_large.c: fixed bug #
2656821: bug in printf
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5406
4a8a32a2-be11-0410-ad9d-
d568d2c75423
tecodev [Tue, 3 Mar 2009 09:46:14 +0000 (09:46 +0000)]
* device/lib/pic/libdev/Makefile.in: build device-specific
libraries for the correct processor, fixes #
2654585
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5405
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Sun, 1 Mar 2009 22:22:28 +0000 (22:22 +0000)]
* .version, sdcc.spec, doc/sdccman.lyx, doc/INSTALL.txt:
changed sdcc version to 2.9.0
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5400
4a8a32a2-be11-0410-ad9d-
d568d2c75423
tecodev [Sun, 1 Mar 2009 21:52:55 +0000 (21:52 +0000)]
* device/lib/Makefile.in: fixed parallel builds (i.e., make -jN, N>1)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5399
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Sun, 1 Mar 2009 10:50:36 +0000 (10:50 +0000)]
* src/z80/peep.c: fixed bug #
2648964: --i-code-in-asm crashes sdcc
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5397
4a8a32a2-be11-0410-ad9d-
d568d2c75423
MaartenBrock [Sun, 1 Mar 2009 10:07:10 +0000 (10:07 +0000)]
* src/mcs51/ralloc.c (spillThis, spilSomething): fixed bug
2435941
(serialRegAssign): do not spil bit registers
throughout cosmetic changes
* support/regression/tests/bug2435941.c: new, added
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5396
4a8a32a2-be11-0410-ad9d-
d568d2c75423
tecodev [Sat, 28 Feb 2009 19:23:47 +0000 (19:23 +0000)]
* src/regression/configword.c: apply patch from #
2488150
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5395
4a8a32a2-be11-0410-ad9d-
d568d2c75423
tecodev [Sat, 28 Feb 2009 19:09:08 +0000 (19:09 +0000)]
* src/regression/compare10.c,
src/regression/compare7.c,
src/regression/compare8.c,
src/regression/compare9.c: reset watchdog timer in time
* src/pic/glue.c (pic14createInterruptVect): pin RESET vector
handler to 0x0000 as the linker no longer knows STARTUP sections
* src/pic/pcode.c (register_reassign, ReuseReg): applied modified
patch #
2512926 to (mostly) fix #
1762626, cosmetic changes
* src/pic/pcodepeep.c: remove reference to nonexisting function
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5394
4a8a32a2-be11-0410-ad9d-
d568d2c75423
tecodev [Sat, 28 Feb 2009 15:23:35 +0000 (15:23 +0000)]
* device/include/pic16/signal.h: avoid multiline inline
assembler statements in macros, addresses #
2644965
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5393
4a8a32a2-be11-0410-ad9d-
d568d2c75423
tecodev [Fri, 27 Feb 2009 13:06:21 +0000 (13:06 +0000)]
* device/lib/pic16/Makefile.in,
device/lib/pic16/libm/Makefile.in,
device/lib/pic16/debug/Makefile.in,
device/lib/pic16/libio/Makefile.in,
device/lib/pic16/startup/Makefile.in,
device/lib/pic16/libsdcc/Makefile.in,
device/lib/pic16/libdev/Makefile.in,
device/lib/pic16/libc/Makefile.in: regenerated
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5392
4a8a32a2-be11-0410-ad9d-
d568d2c75423
tecodev [Fri, 27 Feb 2009 13:03:40 +0000 (13:03 +0000)]
* device/include/pic16/pic18f[24][3456]k20.h,
device/include/pic16/pic18f[68][567]j50.h,
device/include/pic16/pic18f[68]6j55.h,
device/lib/pic16/libdev/pic18f[24][3456]k20.c,
device/lib/pic16/libdev/pic18f[68][567]j50.c,
device/lib/pic16/libdev/pic18f[68]6j55.c,
device/include/pic16/pic18fregs.h,
device/include/pic16/pic16devices.txt,
device/lib/pic16/pics.all,
device/lib/pic16/libdev/Makefile.am,
device/lib/pic16/libio/Makefile.am: added/re-enabled many device
families (87j50 family contributed by Robert Wuest)
* device/include/pic16/adc.h,
device/lib/pic16/libio/adc/adcbusy.c,
device/lib/pic16/libio/adc/adcclose.c,
device/lib/pic16/libio/adc/adcconv.c,
device/lib/pic16/libio/adc/adcopen.c,
device/lib/pic16/libio/adc/adcsetch.c: added 65j50-style ADC
* doc/sdccman.lyx: updated list of supported devices, fixed typo
* device/lib/pic16/Makefile.common: do not suppress assembler warnings
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5391
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Fri, 27 Feb 2009 06:40:06 +0000 (06:40 +0000)]
* as/z80/asexpr.c, as/z80/z80mch.c: re-fixed bugs
#
1829678 and #
1704376 in the way proposed by Alan Baldwin
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5390
4a8a32a2-be11-0410-ad9d-
d568d2c75423
jesusc [Mon, 23 Feb 2009 22:13:50 +0000 (22:13 +0000)]
Fixed address of SFR P5. Thanks to Steve Qu for the fix.
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5389
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Mon, 23 Feb 2009 22:05:06 +0000 (22:05 +0000)]
* as/z80/z80mch.c: fixed bug #
1704376: missing as-z80 errors
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5388
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Mon, 23 Feb 2009 20:29:19 +0000 (20:29 +0000)]
* as/z80/asexpr.c: fixed bug #
1829678: Z-80 CP A,<xxx> assembly
it is already fixed for mcs51 and hc08 targets
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5387
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Sun, 22 Feb 2009 19:03:45 +0000 (19:03 +0000)]
fixed webdocs bug #
1967920: --version
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5386
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Sun, 22 Feb 2009 18:26:57 +0000 (18:26 +0000)]
* doc/sdccman.lyx: fixed webdocs bug #
2071421: error in the manual
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5385
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Sun, 22 Feb 2009 17:41:07 +0000 (17:41 +0000)]
* device/lib/Makefile.in: fixed parenthesis error
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5384
4a8a32a2-be11-0410-ad9d-
d568d2c75423
MaartenBrock [Wed, 18 Feb 2009 21:56:20 +0000 (21:56 +0000)]
* device/include/mcs51/at89c51ed2.h: fixed bug #
2071949 bitmask RBCK wrong
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5383
4a8a32a2-be11-0410-ad9d-
d568d2c75423
MaartenBrock [Tue, 17 Feb 2009 19:54:07 +0000 (19:54 +0000)]
* as/link/mcs51/lkihx.c (hexRecord): bugfix do not insert extended address
when addresses are unsorted
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5381
4a8a32a2-be11-0410-ad9d-
d568d2c75423
frief [Sun, 15 Feb 2009 22:26:36 +0000 (22:26 +0000)]
* device/include/mcs51/p89v66x.h: added ENBOOT thanks Gudjon Gudjonsson <gudjon AT gudjon.org>
* device/include/mcs51/p89c66x.h: fixed some defines
* device/include/mcs51/p89v66x.h: fixed some sbit addresses
* doc/sdccman.lyx: added <NO FLOAT> to index, try to reanimate svn keywords
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5380
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Sat, 14 Feb 2009 21:34:48 +0000 (21:34 +0000)]
* doc/sdccman.lyx: corrected cpp info
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5379
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Fri, 13 Feb 2009 19:11:25 +0000 (19:11 +0000)]
* as/Makefile.in: *.doc renamed to *.txt
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5378
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Thu, 12 Feb 2009 15:05:57 +0000 (15:05 +0000)]
Fixed truncated Date keyword format
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5377
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Thu, 12 Feb 2009 14:22:25 +0000 (14:22 +0000)]
corrected ar title
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5376
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Thu, 12 Feb 2009 11:18:29 +0000 (11:18 +0000)]
* as/doc/aslnk.doc, as/doc/abstra.doc: renamed to *.txt
* as/doc/aslnk.txt, as/doc/asxhtml.html: changed licens to GPLv3
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5375
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Wed, 11 Feb 2009 17:32:59 +0000 (17:32 +0000)]
* doc/sdccman.lyx: documented ar format libraries
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5374
4a8a32a2-be11-0410-ad9d-
d568d2c75423
tecodev [Tue, 10 Feb 2009 22:47:27 +0000 (22:47 +0000)]
device/lib/pic16/libc/stdio/vsprintf.c: enlarge buffer for x_ftoa()
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5373
4a8a32a2-be11-0410-ad9d-
d568d2c75423
frief [Tue, 10 Feb 2009 22:16:46 +0000 (22:16 +0000)]
* support/regression/tests/float_single.c: added regression test. Some testpoints for probably rarely used functions (acosf, sinhf, tanf, expf) disabled for some targets
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5372
4a8a32a2-be11-0410-ad9d-
d568d2c75423
tecodev [Tue, 10 Feb 2009 21:14:15 +0000 (21:14 +0000)]
* src/pic16/gen.c (pic16_freeAsmop): avoid NULL pointer dereference,
(genAssign): fixed for operands on the stack
* device/lib/pic16/libc/stdio/vfprintf.c,
device/lib/pic16/configure.ac,
device/lib/pic16/Makefile.common: add configurable support for
printing floats via ./configure --enable-floats
* device/lib/pic16/configure,
device/lib/pic16/Makefile.in,
device/lib/pic16/libm/Makefile.in,
device/lib/pic16/debug/Makefile.in,
device/lib/pic16/libio/Makefile.in,
device/lib/pic16/startup/Makefile.in,
device/lib/pic16/libsdcc/Makefile.in,
device/lib/pic16/libdev/Makefile.in,
device/lib/pic16/libc/Makefile.in: regenerated
* doc/sdccman.lyx: documented float support and how to get it
* doc/Makefile.in: fixed race condition on parallel builds
* device/lib/pic16/libc/stdio/sprintf.c,
device/lib/pic16/libc/stdio/vsprintf.c: do not mess up the user's
pointer to the string buffer
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5371
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Tue, 10 Feb 2009 08:49:55 +0000 (08:49 +0000)]
* device/lib/printf_tiny.c: replaced non-C89 comments '//' with '/* */'
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5370
4a8a32a2-be11-0410-ad9d-
d568d2c75423
tecodev [Mon, 9 Feb 2009 23:45:54 +0000 (23:45 +0000)]
* device/include/pic16/pic18f*.h: add bit aliases in INTCONbits_t
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5369
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Mon, 9 Feb 2009 22:15:11 +0000 (22:15 +0000)]
* as/asranlib/asranlib.c: made it more robust
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5368
4a8a32a2-be11-0410-ad9d-
d568d2c75423
tecodev [Mon, 9 Feb 2009 18:14:26 +0000 (18:14 +0000)]
* src/pic16/pcode.c (assignToSameBank): add force argument to ignore
artificial bank size limits for compound data (structs, arrays),
avoids assert if --obanksel=N, N > 1, is given
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5367
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Mon, 9 Feb 2009 06:28:02 +0000 (06:28 +0000)]
* asranlib/asranlib.c, link/lkar.c: don't check the padding bytes since
the openSUSE GNU ar (GNU Binutils; openSUSE 11.0) 2.18.50.
20080409-11.1
uses '`' character instead '\n' for padding
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5366
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Sun, 8 Feb 2009 14:23:05 +0000 (14:23 +0000)]
* device/lib/Makefile.in: reenable floating point in model-xstack-auto
libraries
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5365
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Sun, 8 Feb 2009 08:36:48 +0000 (08:36 +0000)]
* as/COPYING3: added
* support/scripts/sdcc.nsi: added COPYING3.txt to the package
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5361
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Sun, 8 Feb 2009 08:22:11 +0000 (08:22 +0000)]
modified properties
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5360
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Sun, 8 Feb 2009 08:19:45 +0000 (08:19 +0000)]
added COPYING3
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5359
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Sat, 7 Feb 2009 17:57:02 +0000 (17:57 +0000)]
fixed offset calculation
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5358
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Sat, 7 Feb 2009 13:26:25 +0000 (13:26 +0000)]
* asranlib/asranlib.c: fixed BSD header length calculation
* .version, doc/sdccman.lyx: bumped sdcc version to 2.8.8
due sdcc asxxxx license change to GPLv3
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5357
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Thu, 5 Feb 2009 22:15:19 +0000 (22:15 +0000)]
* asranlib/asranlib.c, link/lkar.h, link/lkar.c:
added support for BSD (Mac OS X) ar format
* as/asxxsrc/aslex.c, as/as/asxxsrc/asnoice.c, as/as/asxxsrc/assym.c,
as/as/hc08/asdata.c, as/hc08/asexpr.c, as/hc08/aslist.c,
as/hc08/asm.h, as/hc08/asmain.c, as/hc08/asout.c, as/hc08/assubr.c,
as/hc08/m08adr.c, as/hc08/m08ext.c, as/hc08/m08mch.c,
as/hc08/m08pst.c, as/hc08/m6808.h, as/link/aslink.h,
as/link/hc08/lkarea.c, as/link/hc08/lkelf.c, as/link/hc08/lkihx.c,
as/link/hc08/lkmain.c, as/link/hc08/lkmem.c, as/link/hc08/lkrloc.c,
as/link/hc08/lks19.c, as/link/lkaomf51.c, as/link/lkdata.c,
as/link/lkeval.c, as/link/lkhead.c, as/link/lklex.c, as/link/lklib.c,
as/link/lklibr.c, as/link/lklibr.h, as/link/lklist.c,
as/link/lknoice.c, as/link/lkrel.c, as/link/lkrel.h,
as/link/lksdcclib.c, as/link/lkstore.c, as/link/lksym.c,
as/link/mcs51/lkarea.c, as/link/mcs51/lkihx.c,
as/link/mcs51/lkmain.c, as/link/mcs51/lkmem.c,
as/link/mcs51/lkrloc.c, as/link/mcs51/lks19.c, as/link/z80/lkarea.c,
as/link/z80/lkgb.c, as/link/z80/lkgg.c, as/link/z80/lkihx.c,
as/link/z80/lkmain.c, as/link/z80/lkrloc.c, as/link/z80/lks19.c,
as/mcs51/asdata.c, as/mcs51/asexpr.c, as/mcs51/aslist.c,
as/mcs51/asm.h, as/mcs51/asmain.c, as/mcs51/asout.c,
as/mcs51/assubr.c, as/mcs51/i51adr.c, as/mcs51/i51ext.c,
as/mcs51/i51mch.c, as/mcs51/i51pst.c, as/mcs51/i8051.h,
as/xa51/xa_link.c, as/xa51/xa_main.c, as/xa51/xa_main.h,
as/xa51/xa_rasm.l, as/xa51/xa_rasm.y, as/xa51/xa_version.h,
as/z80/asdata.c, as/z80/asexpr.c, as/z80/aslist.c, as/z80/asm.h,
as/z80/asmain.c, as/z80/asout.c, as/z80/assubr.c, as/z80/z80.h,
as/z80/z80adr.c, as/z80/z80ext.c, as/z80/z80mch.c, as/z80/z80pst.c:
changed license to GPL either version 3, or (at your option) any
later version
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5356
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Thu, 5 Feb 2009 21:02:00 +0000 (21:02 +0000)]
fixed warnings and errors
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5355
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Thu, 5 Feb 2009 19:10:08 +0000 (19:10 +0000)]
* asranlib/asranlib.c, link/lkar.h, link/lkar.c:
added support for BSD (Mac OS X) ar format
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5354
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Mon, 2 Feb 2009 16:01:02 +0000 (16:01 +0000)]
* device/lib/gbz80/Makefile.in, device/lib/hc08/Makefile.in,
device/lib/z80/Makefile.in:
chose source files in the PORT directory if they are available
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5353
4a8a32a2-be11-0410-ad9d-
d568d2c75423
tecodev [Sun, 1 Feb 2009 16:40:52 +0000 (16:40 +0000)]
* device/lib/pic16/libdev/pic18f1220.c,
* device/lib/pic16/libdev/pic18f4450.c:
define SSPBUF to allow use of printf
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5352
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Sun, 1 Feb 2009 11:11:47 +0000 (11:11 +0000)]
* device/lib/Makefile.in, device/lib/gbz80/Makefile.in,
device/lib/hc08/Makefile.in, device/lib/incl.mk,
device/lib/z80/Makefile.in:
don't remake libraries
* support/regression/tests/snprintf.c:
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5351
4a8a32a2-be11-0410-ad9d-
d568d2c75423
tecodev [Mon, 26 Jan 2009 18:27:05 +0000 (18:27 +0000)]
* src/pic16/ralloc.c (packForPush): disabled to fix #
2496919
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5350
4a8a32a2-be11-0410-ad9d-
d568d2c75423
tecodev [Sun, 25 Jan 2009 22:35:30 +0000 (22:35 +0000)]
* src/pic16/main.c (_pic16_linkEdit): prepend -L paths to linker
search path instead of appending them
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5349
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Sat, 24 Jan 2009 08:18:53 +0000 (08:18 +0000)]
* as/asranlib/asranlib.h: changed type of offset to unsigned int to
make it work on ppc Mac OS X (off_t is 64 bit and is not converted
to 32 bit unsigned int when calling sputl() since it is a macro
* as/link/lkar.c: changed the initialization of This->loaded
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5348
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Fri, 23 Jan 2009 20:12:27 +0000 (20:12 +0000)]
* as/link/lkar.h: changed type of ar_size to size_t to make it work on
ppc Mac OS X (off_t is 64 bit and is not converted to 32 bit
unsigned int when calling new(), since asxxxx doesn't use function
prototypes)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5347
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Wed, 21 Jan 2009 21:08:10 +0000 (21:08 +0000)]
* as/link/lkar.h: sgetl and sputl are independent of endianness
* as/link/sdxxxx_config.h.in: removed endianness detection
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5346
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Tue, 20 Jan 2009 18:33:51 +0000 (18:33 +0000)]
* support/scripts/sdcc.nsi:
don't add nonexistent object files to the package
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5344
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Tue, 20 Jan 2009 06:05:37 +0000 (06:05 +0000)]
* .version, doc/sdccman.lyx: bumped sdcc version to 2.8.8
due creation of ar format libraries
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5343
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Mon, 19 Jan 2009 21:32:26 +0000 (21:32 +0000)]
* device/lib/libfloat.lib, device/lib/libint.lib,
device/lib/liblong.lib, device/lib/libsdcc.lib: removed
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5342
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Mon, 19 Jan 2009 21:06:40 +0000 (21:06 +0000)]
* Makefile.in, configure.in, configure,
device\lib\Makefile.in, device\lib\ds390\Makefile.in,
device\lib\ds400\Makefile.in, device\lib\gbz80\Makefile.in,
device\lib\hc08\Makefile.in, device\lib\large\Makefile.in,
device\lib\mcs51\Makefile.in, device\lib\medium\Makefile.in,
device\lib\small\Makefile.in,
device\lib\z80\Makefile.in: create ar format libraries
* support\regression\ports\mcs51-xstack-auto\spec.mk:
use device\lib\Makefile to create library
* support\regression\tests\snprintf.c:
floating point is not enabled in small-xstack-auto library
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5341
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Sun, 18 Jan 2009 14:23:26 +0000 (14:23 +0000)]
* support/cpp/auto-host.h: fixed warning: "__STDC__" redefined,
warning: extra tokens at end of #endif directive
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5340
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Sun, 11 Jan 2009 08:29:41 +0000 (08:29 +0000)]
* Makefile.in: added SDCC_ASRANLIB to PKGS
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5339
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Sat, 10 Jan 2009 10:16:28 +0000 (10:16 +0000)]
* support/scripts/sdcc.nsi: added asranlib.exe to the install package
* .version, doc/sdccman.lyx: bumped sdcc version to 2.8.7
due added support for ar format libraries
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5338
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Fri, 9 Jan 2009 23:10:44 +0000 (23:10 +0000)]
LIB_TYPE=LIB
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5337
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Fri, 9 Jan 2009 23:04:14 +0000 (23:04 +0000)]
* as/asranlib/Makefile.in, as/asranlib/asranlib.dsp,
as/asranlib/asranlib.c: added asranlib
* as/link/lkar.c, as/link/lkar.h: added support for ar format libraries
* Makefile.in, as/link/hc08/Makefile.in,
as/link/hc08/link_hc08.dsp, as/link/lklib.c, as/link/lklibr.c,
as/link/lklibr.h, as/link/lkrel.c, as/link/lkrel.h,
as/link/lksdcclib.c, as/link/mcs51/Makefile.in,
as/link/mcs51/aslink.dsp, as/link/z80/Makefile.in,
as/link/z80/linkgbz80.dsp, as/link/z80/linkz80.dsp, configure,
configure.in, sdcc.dsw: modified to support ar format libraries
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5336
4a8a32a2-be11-0410-ad9d-
d568d2c75423
MaartenBrock [Thu, 8 Jan 2009 17:18:01 +0000 (17:18 +0000)]
* src/SDCCast.c (decorateType RETURN): use RESULT_TYPE_GPTR for generic
pointer return
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5335
4a8a32a2-be11-0410-ad9d-
d568d2c75423
spth [Mon, 5 Jan 2009 16:12:39 +0000 (16:12 +0000)]
Fixed bug #
2488074
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5334
4a8a32a2-be11-0410-ad9d-
d568d2c75423
spth [Mon, 5 Jan 2009 10:20:47 +0000 (10:20 +0000)]
Implemented RFE #
1702376
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5333
4a8a32a2-be11-0410-ad9d-
d568d2c75423
borutr [Mon, 5 Jan 2009 07:33:45 +0000 (07:33 +0000)]
* as/link/lksdcclib.c:
fixed linker hanging in INDEXLIB is not defined (hc08)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5332
4a8a32a2-be11-0410-ad9d-
d568d2c75423
spth [Sun, 4 Jan 2009 22:25:36 +0000 (22:25 +0000)]
Implemented RFE #
2485684
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5331
4a8a32a2-be11-0410-ad9d-
d568d2c75423
spth [Sun, 4 Jan 2009 18:30:12 +0000 (18:30 +0000)]
Partially implemented RFE #
2471534 and some other minor improvements
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5330
4a8a32a2-be11-0410-ad9d-
d568d2c75423