git: 501a60158f0e - main - devel/gcc-msp430-ti-toolchain: Update to latest version

From: Lev A. Serebryakov <lev_at_FreeBSD.org>
Date: Wed, 13 Apr 2022 20:04:48 UTC
The branch main has been updated by lev:

URL: https://cgit.FreeBSD.org/ports/commit/?id=501a60158f0e40f61717afb7e21f2af9504021e5

commit 501a60158f0e40f61717afb7e21f2af9504021e5
Author:     Lev A. Serebryakov <lev@FreeBSD.org>
AuthorDate: 2022-04-13 20:03:35 +0000
Commit:     Lev A. Serebryakov <lev@FreeBSD.org>
CommitDate: 2022-04-13 20:04:38 +0000

    devel/gcc-msp430-ti-toolchain: Update to latest version
    
      Update toolchain to latest released version.
---
 devel/gcc-msp430-ti-toolchain/Makefile                   | 16 ++++++++--------
 devel/gcc-msp430-ti-toolchain/distinfo                   | 14 +++++++-------
 ...ibctf__swap.h => patch-binutils-2.34__libctf__swap.h} |  0
 ...g-vec_step => patch-gcc-9.3.0__gcc__tree-vect-loop.c} |  6 +++---
 ...0_libcpp_lex.cpp => patch-gcc-9.3.0__libcpp__lex.cpp} |  4 ++--
 ...gdb__libctf__swap.h => patch-gdb-9.1__libctf__swap.h} |  0
 devel/gcc-msp430-ti-toolchain/pkg-plist                  |  8 ++++++++
 7 files changed, 28 insertions(+), 20 deletions(-)

diff --git a/devel/gcc-msp430-ti-toolchain/Makefile b/devel/gcc-msp430-ti-toolchain/Makefile
index 693e1773f65e..48486211a35a 100644
--- a/devel/gcc-msp430-ti-toolchain/Makefile
+++ b/devel/gcc-msp430-ti-toolchain/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	gcc-msp430-ti-toolchain
 PORTVERSION=	${TI_VERSION}.${RELEASE_DATE}
-PORTREVISION=	2
+PORTREVISION=	0
 CATEGORIES=	devel
 MASTER_SITES=	GCC/releases/gcc-${GCC_REL_VERSION}:gcc \
 		SOURCEWARE/binutils/releases:binutils \
@@ -45,16 +45,16 @@ USE_CSTD=	gnu89
 
 GNU_CONFIGURE=		yes
 
-TI_VERSION=		9.2.0.0
-GCC_REL_VERSION=	9.2.0
-GCC_VERSION=		9.2.0
-SUPPORT_VERSION=	1.210
+TI_VERSION=		9.3.1.2
+GCC_REL_VERSION=	9.3.0
+GCC_VERSION=		9.3.1
+SUPPORT_VERSION=	1.212
 BINUTILS_VERSION=	2.34
 GDB_VERSION=		9.1
 NEWLIB_VERSION=		2.4.0
-PATCHSET_VERSION=	9.2.0.50
+PATCHSET_VERSION=	9.3.1.11
 DOC_VERSION=		646f
-RELEASE_DATE=		20200612
+RELEASE_DATE=		20210722
 TARGET=			msp430-elf
 
 CPE_PRODUCT=	gcc
@@ -94,7 +94,7 @@ pre-patch:
 	@${ECHO_MSG} "===> Apply distribution patches..."
 	@${ECHO_MSG} "====> Patch gcc"
 	@cd ${WRKDIR}/gcc-${GCC_REL_VERSION} && \
-	 ${PATCH} ${DIST_PATCH_ARGS} < ${WRKDIR}/msp430-gcc-${PATCHSET_VERSION}-source-patches/gcc-${GCC_REL_VERSION:S/./_/g}-release.patch
+	 ${PATCH} ${DIST_PATCH_ARGS} < ${WRKDIR}/msp430-gcc-${PATCHSET_VERSION}-source-patches/gcc-${GCC_REL_VERSION}.patch
 	@${ECHO_MSG} "====> Patch binutils"
 	@cd ${WRKDIR}/binutils-${BINUTILS_VERSION} && \
 	 ${MKDIR} sim/testsuite/sim/msp430 && \
diff --git a/devel/gcc-msp430-ti-toolchain/distinfo b/devel/gcc-msp430-ti-toolchain/distinfo
index 9d720088cd0a..7cc31bde5fb2 100644
--- a/devel/gcc-msp430-ti-toolchain/distinfo
+++ b/devel/gcc-msp430-ti-toolchain/distinfo
@@ -1,15 +1,15 @@
-TIMESTAMP = 1598013865
-SHA256 (gcc-9.2.0.tar.xz) = ea6ef08f121239da5695f76c9b33637a118dcf63e24164422231917fa61fb206
-SIZE (gcc-9.2.0.tar.xz) = 70607648
+TIMESTAMP = 1649861853
+SHA256 (gcc-9.3.0.tar.xz) = 71e197867611f6054aa1119b13a0c0abac12834765fe2d81f35ac57f84f742d1
+SIZE (gcc-9.3.0.tar.xz) = 70533868
 SHA256 (binutils-2.34.tar.bz2) = 89f010078b6cf69c23c27897d686055ab89b198dddf819efb0a4f2c38a0b36e6
 SIZE (binutils-2.34.tar.bz2) = 32430470
 SHA256 (gdb-9.1.tar.xz) = 699e0ec832fdd2f21c8266171ea5bf44024bd05164fdf064e4d10cc4cf0d1737
 SIZE (gdb-9.1.tar.xz) = 20980824
 SHA256 (newlib-2.4.0.tar.gz) = 545b3d235e350d2c61491df8b9f775b1b972f191380db8f52ec0b1c829c52706
 SIZE (newlib-2.4.0.tar.gz) = 17574364
-SHA256 (msp430-gcc-9.2.0.50-source-patches.tar.bz2) = 0756421396b5806bf3ac07d78a80ab999b82ead71cb3370a601c628f7bf1d3d3
-SIZE (msp430-gcc-9.2.0.50-source-patches.tar.bz2) = 206695
-SHA256 (msp430-gcc-support-files-1.210.zip) = eeedbfc7b1775e06e44c65d38977f998f6a9ee46b1a4cfcc194181c44bbd8911
-SIZE (msp430-gcc-support-files-1.210.zip) = 22265695
+SHA256 (msp430-gcc-9.3.1.11-source-patches.tar.bz2) = ec6472b034e11e8cfdeb3934b218e5bafbb7a03f3afc0e76536bd9c42653525b
+SIZE (msp430-gcc-9.3.1.11-source-patches.tar.bz2) = 283677
+SHA256 (msp430-gcc-support-files-1.212.zip) = 3b1a39f10a344dfefb767e60ac35becef4c065013be86993195b138a5fb0b8d6
+SIZE (msp430-gcc-support-files-1.212.zip) = 22257819
 SHA256 (slau646f.pdf) = 722ca0a023425f550c0bd2143799a77856ea3cbc39a37f9c2e4c7e0f14082b74
 SIZE (slau646f.pdf) = 2000719
diff --git a/devel/gcc-msp430-ti-toolchain/files/patch-binutils__libctf__swap.h b/devel/gcc-msp430-ti-toolchain/files/patch-binutils-2.34__libctf__swap.h
similarity index 100%
rename from devel/gcc-msp430-ti-toolchain/files/patch-binutils__libctf__swap.h
rename to devel/gcc-msp430-ti-toolchain/files/patch-binutils-2.34__libctf__swap.h
diff --git a/devel/gcc-msp430-ti-toolchain/files/patch-clang-vec_step b/devel/gcc-msp430-ti-toolchain/files/patch-gcc-9.3.0__gcc__tree-vect-loop.c
similarity index 79%
rename from devel/gcc-msp430-ti-toolchain/files/patch-clang-vec_step
rename to devel/gcc-msp430-ti-toolchain/files/patch-gcc-9.3.0__gcc__tree-vect-loop.c
index 57b1478cc8f3..b07b3cccc3c5 100644
--- a/devel/gcc-msp430-ti-toolchain/files/patch-clang-vec_step
+++ b/devel/gcc-msp430-ti-toolchain/files/patch-gcc-9.3.0__gcc__tree-vect-loop.c
@@ -6,10 +6,10 @@ Until that changes (or GCC changes) we need to avoid using vec_step
 as a variable.
 
 --- UTC
-Index: gcc-9.2.0/gcc/tree-vect-loop.c
+Index: gcc-9.3.0/gcc/tree-vect-loop.c
 ===================================================================
---- gcc-9.2.0/gcc/tree-vect-loop.c	(revision 273856)
-+++ gcc-9.2.0/gcc/tree-vect-loop.c	(working copy)
+--- gcc-9.3.0/gcc/tree-vect-loop.c	(revision 273856)
++++ gcc-9.3.0/gcc/tree-vect-loop.c	(working copy)
 @@ -55,6 +55,8 @@ along with GCC; see the file COPYING3.  If not see
  #include "vec-perm-indices.h"
  #include "tree-eh.h"
diff --git a/devel/gcc-msp430-ti-toolchain/files/patch-gcc-9.2.0_libcpp_lex.cpp b/devel/gcc-msp430-ti-toolchain/files/patch-gcc-9.3.0__libcpp__lex.cpp
similarity index 90%
rename from devel/gcc-msp430-ti-toolchain/files/patch-gcc-9.2.0_libcpp_lex.cpp
rename to devel/gcc-msp430-ti-toolchain/files/patch-gcc-9.3.0__libcpp__lex.cpp
index bb47e5c569db..e8de1d538067 100644
--- a/devel/gcc-msp430-ti-toolchain/files/patch-gcc-9.2.0_libcpp_lex.cpp
+++ b/devel/gcc-msp430-ti-toolchain/files/patch-gcc-9.3.0__libcpp__lex.cpp
@@ -7,8 +7,8 @@ This is
 which is on the GCC 10 release branch and thus part of lang/gcc10-devel;
 we should automatically get it with GCC 10.3.
 
---- gcc-9.2.0/libcpp/lex.c.orig	2020-11-02 10:24:50 UTC
-+++ gcc-9.2.0/libcpp/lex.c
+--- gcc-9.3.0/libcpp/lex.c.orig	2020-11-02 10:24:50 UTC
++++ gcc-9.3.0/libcpp/lex.c
 @@ -531,11 +531,11 @@ init_vectorized_lexer (void)
    search_line_fast = impl;
  }
diff --git a/devel/gcc-msp430-ti-toolchain/files/patch-gdb__libctf__swap.h b/devel/gcc-msp430-ti-toolchain/files/patch-gdb-9.1__libctf__swap.h
similarity index 100%
rename from devel/gcc-msp430-ti-toolchain/files/patch-gdb__libctf__swap.h
rename to devel/gcc-msp430-ti-toolchain/files/patch-gdb-9.1__libctf__swap.h
diff --git a/devel/gcc-msp430-ti-toolchain/pkg-plist b/devel/gcc-msp430-ti-toolchain/pkg-plist
index ae1855347545..695a02235040 100644
--- a/devel/gcc-msp430-ti-toolchain/pkg-plist
+++ b/devel/gcc-msp430-ti-toolchain/pkg-plist
@@ -3573,6 +3573,7 @@ gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/430/exceptions/libstdc++.a
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/430/exceptions/libsupc++.a
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/430/exceptions/msp430-sim.ld
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/430/exceptions/msp430xl-sim.ld
+gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/430/exceptions/msp430xl-sim-rom.ld
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/430/gcrt0.o
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/430/intr_vectors.ld
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/430/libc.a
@@ -3588,6 +3589,7 @@ gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/430/libstdc++.a-gdb.py
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/430/libsupc++.a
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/430/msp430-sim.ld
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/430/msp430xl-sim.ld
+gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/430/msp430xl-sim-rom.ld
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/crt0.o
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/exceptions/crt0.o
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/exceptions/gcrt0.o
@@ -3605,6 +3607,7 @@ gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/exceptions/libstdc++.a-gdb
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/exceptions/libsupc++.a
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/exceptions/msp430-sim.ld
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/exceptions/msp430xl-sim.ld
+gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/exceptions/msp430xl-sim-rom.ld
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/gcrt0.o
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/intr_vectors.ld
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/large/crt0.o
@@ -3624,6 +3627,7 @@ gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/large/exceptions/libstdc++
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/large/exceptions/libsupc++.a
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/large/exceptions/msp430-sim.ld
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/large/exceptions/msp430xl-sim.ld
+gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/large/exceptions/msp430xl-sim-rom.ld
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/large/full-memory-range/crt0.o
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/large/full-memory-range/exceptions/crt0.o
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/large/full-memory-range/exceptions/gcrt0.o
@@ -3641,6 +3645,7 @@ gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/large/full-memory-range/ex
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/large/full-memory-range/exceptions/libsupc++.a
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/large/full-memory-range/exceptions/msp430-sim.ld
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/large/full-memory-range/exceptions/msp430xl-sim.ld
+gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/large/full-memory-range/exceptions/msp430xl-sim-rom.ld
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/large/full-memory-range/gcrt0.o
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/large/full-memory-range/intr_vectors.ld
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/large/full-memory-range/libc.a
@@ -3656,6 +3661,7 @@ gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/large/full-memory-range/li
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/large/full-memory-range/libsupc++.a
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/large/full-memory-range/msp430-sim.ld
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/large/full-memory-range/msp430xl-sim.ld
+gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/large/full-memory-range/msp430xl-sim-rom.ld
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/large/gcrt0.o
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/large/intr_vectors.ld
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/large/libc.a
@@ -3671,6 +3677,7 @@ gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/large/libstdc++.a-gdb.py
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/large/libsupc++.a
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/large/msp430-sim.ld
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/large/msp430xl-sim.ld
+gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/large/msp430xl-sim-rom.ld
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/ldscripts/msp430X.x
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/ldscripts/msp430X.xbn
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/ldscripts/msp430X.xn
@@ -3694,6 +3701,7 @@ gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/libstdc++.a-gdb.py
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/libsupc++.a
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/msp430-sim.ld
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/msp430xl-sim.ld
+gcc-msp430-ti-toolchain-%%TI_VERSION%%/%%TARGET%%/lib/msp430xl-sim-rom.ld
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/share/gcc-%%GCC_VERSION%%/python/libstdcxx/__init__.py
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/share/gcc-%%GCC_VERSION%%/python/libstdcxx/v6/__init__.py
 gcc-msp430-ti-toolchain-%%TI_VERSION%%/share/gcc-%%GCC_VERSION%%/python/libstdcxx/v6/printers.py