pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/sdcc3 Update to 3.7.0. Changes since 3.6.0:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/34347be457ff
branches:  trunk
changeset: 382284:34347be457ff
user:      bouyer <bouyer%pkgsrc.org@localhost>
date:      Mon Jun 25 14:02:45 2018 +0000

description:
Update to 3.7.0. Changes since 3.6.0:

    Changed putchar() prototype from void putchar(char) to int putchar(int) to improve standard-compliance and allow error reporting.
    Various speed improvements in stm8 backend - Dhrystone score more than doubled, resulting in SDCC achieving the highest Dhrystone scores among STM8 C implementations.
    Various speed improvements for multiplications resulting in SDCC achieving the highest Coremark scores among STM8 C implementations.
    Declarations in for loops (ISO C99).
    64-bit integers (long long) for the mcs51 and ds390 backends (now long long is fully supported in SDCC except for the pic14 and pic16 backends).
    Full _Bool support for mcs51 and ds390 backend (now _Bool is fully supported in SDCC regardless of backend).
    Additional wide character library functions: mbstowcs() and wcstombs(), btowc() and wctob(), wcscmp(), wcslen().
    Changed PRNG for rand() from LCG to xorshift to improve speed and quality.
    Support for Small-C calling convention on the callee side (i.e. function definitions with Small-C calling convention).
    The obsolete macro SDCC (which used to contain the version number encoded as an integer) has finally been removed (except for mcs51, where it will survive a little bit longer for SiLabs IDE 
compability).
    New devices supported by simulator (TLCS-90, and the 517, F380, XC88X, DS320 mcs51-variants along with dual-dptr and MDU support).
    Timer, UART (incl. interrupt) and I/O support in STM8 simulator.
    Simulator support for banked memory and bit banding.
    Various simulator improvements: Conditional breakpoints, breakpoints by function name from SDCC debug output, OMF input, VCD output, simulator interface for simulated program and new operators in 
expressions.
    Deprecated --nojtbound and the corresponding pragma.
    Faster register allocator reduces compilation time by about 25% (does not apply to mcs51, ds390 which use a different register allocator).
    Execution count guessing and use of execution count guesses in stm8 register allocation improve optimization for code speed.
    Changed getchar() prototype from char getchar(void) to int getchar(void) to improve standard-compliance and allow error reporting.
    Type qualifiers in array parameters (ISO C99).
    static in array parameters (ISO C99).
    Improved support for DWARFv2 debug info in ELF output (stm8, hc08, s08).
    Various improvements in z80/z180/gbz80/tlcs90/r2k/r3ka code generation, in particular for mixed 16-/32-bit code.
    __z88dk_fastcall function pointer support for --reserve-regs-iy.
    tlcs90 is now a fully supported backend, no longer work in progress.
    --data-seg to specify the segment for non-initialized data in the z80, z180, gbz80, tlcs90, r2k and r3ka backends.
    New methods to obtain tree-decompositions of control-flow graphs improve compilation time / code-quality trade-off (when SDCC is built with support for the treedec library).
    Additional general utility functions: qsort(), strtol(), strtoul().

Numerous other new features and bug fixes are included as well.

diffstat:

 devel/sdcc3/Makefile                      |   8 +++---
 devel/sdcc3/PLIST                         |  39 ++++++++++++------------------
 devel/sdcc3/distinfo                      |  12 ++++----
 devel/sdcc3/patches/patch-doc_Makefile_in |  12 ++++----
 4 files changed, 32 insertions(+), 39 deletions(-)

diffs (159 lines):

diff -r cc778b7f0944 -r 34347be457ff devel/sdcc3/Makefile
--- a/devel/sdcc3/Makefile      Mon Jun 25 14:01:45 2018 +0000
+++ b/devel/sdcc3/Makefile      Mon Jun 25 14:02:45 2018 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.24 2018/04/29 21:31:34 adam Exp $
+# $NetBSD: Makefile,v 1.25 2018/06/25 14:02:45 bouyer Exp $
 
-DISTNAME=      sdcc-src-3.6.0
+DISTNAME=      sdcc-src-3.7.0
 PKGNAME=       ${DISTNAME:S/-src//}
-PKGREVISION=   8
+#PKGREVISION=  8
 CATEGORIES=    devel lang
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=sdcc/}
 EXTRACT_SUFX=  .tar.bz2
@@ -24,7 +24,7 @@
 
 BUILD_TARGET=  dep all
 
-WRKSRC=                        ${WRKDIR}/${DISTNAME:S/src-//}
+WRKSRC=                        ${WRKDIR}/sdcc
 GNU_CONFIGURE=         YES
 USE_TOOLS+=            gmake lex:run perl:run
 
diff -r cc778b7f0944 -r 34347be457ff devel/sdcc3/PLIST
--- a/devel/sdcc3/PLIST Mon Jun 25 14:01:45 2018 +0000
+++ b/devel/sdcc3/PLIST Mon Jun 25 14:02:45 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2016/06/25 17:48:15 bouyer Exp $
+@comment $NetBSD: PLIST,v 1.5 2018/06/25 14:02:45 bouyer Exp $
 bin/as2gbmap
 bin/makebin
 bin/packihx
@@ -28,16 +28,15 @@
 bin/sdranlib
 bin/shc08
 bin/sstm8
+bin/stlcs
 bin/sz80
-info/bfd.info
 share/doc/sdcc/INSTALL.txt
 share/doc/sdcc/README.txt
 share/doc/sdcc/sdccman.lyx
 share/doc/sdcc/ucsim/UCsim.jpg
 share/doc/sdcc/ucsim/analyzer.html
-share/doc/sdcc/ucsim/burst.gif
 share/doc/sdcc/ucsim/chip.fig
-share/doc/sdcc/ucsim/chip.gif
+share/doc/sdcc/ucsim/chip.svg
 share/doc/sdcc/ucsim/cmd.html
 share/doc/sdcc/ucsim/cmd_bp.html
 share/doc/sdcc/ucsim/cmd_dump.html
@@ -46,39 +45,27 @@
 share/doc/sdcc/ucsim/cmd_memory.html
 share/doc/sdcc/ucsim/cmd_removed.html
 share/doc/sdcc/ucsim/cmd_set.html
-share/doc/sdcc/ucsim/commref.html
 share/doc/sdcc/ucsim/cpu-mem.fig
-share/doc/sdcc/ucsim/cpu-mem.gif
-share/doc/sdcc/ucsim/cpu-mem.jpg
-share/doc/sdcc/ucsim/cpu.gif
-share/doc/sdcc/ucsim/cpu.html
+share/doc/sdcc/ucsim/cpu-mem.svg
 share/doc/sdcc/ucsim/cpu_types.html
 share/doc/sdcc/ucsim/decoded.fig
-share/doc/sdcc/ucsim/decoded.gif
-share/doc/sdcc/ucsim/decoded.jpg
+share/doc/sdcc/ucsim/decoded.svg
 share/doc/sdcc/ucsim/index.html
-share/doc/sdcc/ucsim/interrupt.gif
-share/doc/sdcc/ucsim/interrupt.html
 share/doc/sdcc/ucsim/invoke.html
 share/doc/sdcc/ucsim/memory.html
 share/doc/sdcc/ucsim/mulcons.html
-share/doc/sdcc/ucsim/new.gif
+share/doc/sdcc/ucsim/news.html
 share/doc/sdcc/ucsim/obsolete.html
 share/doc/sdcc/ucsim/post.jpg
 share/doc/sdcc/ucsim/serial.html
 share/doc/sdcc/ucsim/serial1.fig
-share/doc/sdcc/ucsim/serial1.gif
+share/doc/sdcc/ucsim/serial1.svg
 share/doc/sdcc/ucsim/serial2.fig
-share/doc/sdcc/ucsim/serial2.gif
+share/doc/sdcc/ucsim/serial2.svg
 share/doc/sdcc/ucsim/share-chip.fig
-share/doc/sdcc/ucsim/share-chip.gif
+share/doc/sdcc/ucsim/share-chip.svg
+share/doc/sdcc/ucsim/simif.html
 share/doc/sdcc/ucsim/syntax.html
-share/doc/sdcc/ucsim/term_cpuopt.gif
-share/doc/sdcc/ucsim/term_cpuopt.html
-share/doc/sdcc/ucsim/timers.gif
-share/doc/sdcc/ucsim/timers.html
-share/doc/sdcc/ucsim/wins.gif
-share/doc/sdcc/ucsim/wins.html
 share/sdcc/sdcc/include/asm/default/features.h
 share/sdcc/sdcc/include/asm/ds390/features.h
 share/sdcc/sdcc/include/asm/gbz80/features.h
@@ -244,6 +231,12 @@
 share/sdcc/sdcc/lib/gbz80/crt0.rel
 share/sdcc/sdcc/lib/gbz80/gbz80.lib
 share/sdcc/sdcc/lib/hc08/hc08.lib
+share/sdcc/sdcc/lib/huge/libfloat.lib
+share/sdcc/sdcc/lib/huge/libint.lib
+share/sdcc/sdcc/lib/huge/liblong.lib
+share/sdcc/sdcc/lib/huge/liblonglong.lib
+share/sdcc/sdcc/lib/huge/libsdcc.lib
+share/sdcc/sdcc/lib/huge/mcs51.lib
 share/sdcc/sdcc/lib/large-stack-auto/libfloat.lib
 share/sdcc/sdcc/lib/large-stack-auto/libint.lib
 share/sdcc/sdcc/lib/large-stack-auto/liblong.lib
diff -r cc778b7f0944 -r 34347be457ff devel/sdcc3/distinfo
--- a/devel/sdcc3/distinfo      Mon Jun 25 14:01:45 2018 +0000
+++ b/devel/sdcc3/distinfo      Mon Jun 25 14:02:45 2018 +0000
@@ -1,14 +1,14 @@
-$NetBSD: distinfo,v 1.8 2016/09/14 14:50:07 dholland Exp $
+$NetBSD: distinfo,v 1.9 2018/06/25 14:02:45 bouyer Exp $
 
-SHA1 (sdcc-src-3.6.0.tar.bz2) = e0e69deca22d7947ad1d53f9601a7c95ffd69326
-RMD160 (sdcc-src-3.6.0.tar.bz2) = 6fd429f63057f4457e8279e59c1af77861833b1f
-SHA512 (sdcc-src-3.6.0.tar.bz2) = fd05cf13f7acf0b71a35a99f99dc6ef8abcb4f41fbe1ab0cf25348842b57317217410b4a521ea1a70db93d8e7e4e6dac272ec14d893cdbcfa584ee963f42ad2f
-Size (sdcc-src-3.6.0.tar.bz2) = 17993788 bytes
+SHA1 (sdcc-src-3.7.0.tar.bz2) = 67153fa08e04b7a79f95c23b68e1a0144dbf7f2b
+RMD160 (sdcc-src-3.7.0.tar.bz2) = 816b428f200770adb045276593bf07106877bc02
+SHA512 (sdcc-src-3.7.0.tar.bz2) = f36a7471eb14dd03bd42b676f73c3aedb26831eede7bcbbff6c3875326ce6be350d963496b6c2104e1bd7db18926d6f78cb51e9bc14a5cc0121d4a6b7d28cc87
+Size (sdcc-src-3.7.0.tar.bz2) = 17944920 bytes
 SHA1 (patch-Makefile_in) = 58be6bfe1ddc055883ef171adc71f363e6ade121
 SHA1 (patch-aa) = fc702b7de0c871761f959a4fbdfee26f5e1a2cc5
 SHA1 (patch-device_non-free_lib_Makefile.in) = 49894224d38ccf614c636831a61e569a48921850
 SHA1 (patch-device_non-free_lib_pic14_libdev_Makefile.in) = 4b77e9bd4fb4571afa317ebbd5bc3537d8dda491
-SHA1 (patch-doc_Makefile_in) = cbb9f7300dbd19032454253adf81eeb89bfb080a
+SHA1 (patch-doc_Makefile_in) = 8679551d6439dcd0064afbd2a43125f9bd1fb7d3
 SHA1 (patch-sim_ucsim_cmd.src_Makefile.in) = d29c69af814d4404aba64328e69e93189220a49d
 SHA1 (patch-sim_ucsim_doc_Makefile_in) = 781a8cf0a9eb3b5d6130e0621ef464a53b0086d6
 SHA1 (patch-sim_ucsim_sim.src_Makefile.in) = 2ad1a61fd9f21f6d767e0cb4e09aee1480a29000
diff -r cc778b7f0944 -r 34347be457ff devel/sdcc3/patches/patch-doc_Makefile_in
--- a/devel/sdcc3/patches/patch-doc_Makefile_in Mon Jun 25 14:01:45 2018 +0000
+++ b/devel/sdcc3/patches/patch-doc_Makefile_in Mon Jun 25 14:02:45 2018 +0000
@@ -1,13 +1,13 @@
-$NetBSD: patch-doc_Makefile_in,v 1.1 2013/10/21 15:12:38 ryoon Exp $
+$NetBSD: patch-doc_Makefile_in,v 1.2 2018/06/25 14:02:45 bouyer Exp $
 
 Actually define all the targets used by the package's upper-level
 makefiles.
 
---- doc/Makefile.in.orig       2012-03-12 13:19:06.000000000 +0000
-+++ doc/Makefile.in
-@@ -16,6 +16,8 @@ MANUAL = sdccman
- #all: $(MANUAL).pdf $(MANUAL).html/index.html $(MANUAL).txt
- all: $(MANUAL).pdf
+--- ./doc/Makefile.in.orig     2017-10-29 11:08:50.000000000 +0100
++++ ./doc/Makefile.in  2018-06-25 14:51:22.354058038 +0200
+@@ -16,6 +16,8 @@
+ 
+ all: $(MANUAL).pdf $(MANUAL).html/index.html $(MANUAL).txt
  
 +dep: ;
 +



Home | Main Index | Thread Index | Old Index