msp430-toolchain: fix build with gcc 7.

This commit is contained in:
Leah Neukirchen 2018-01-13 21:12:14 +01:00
parent 08214c9715
commit 673c7e7a29
2 changed files with 12 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- sources/tools/gcc/config/msp430/msp430.c.orig
+++ sources/tools/gcc/config/msp430/msp430.c
@@ -2209,7 +2209,7 @@
}
const_shift_helpers[] =
{
-#define CSH(N,C,X,G) { "__mspabi_"N, C, X, gen_##G }
+#define CSH(N,C,X,G) { "__mspabi_" N, C, X, gen_##G }
CSH ("slli", 1, 1, slli_1),
CSH ("slll", 1, 1, slll_1),

View File

@ -1,7 +1,7 @@
# Template file for 'msp430-toolchain'
pkgname=msp430-toolchain
version=3.05.00.00
revision=1
revision=2
short_desc="Toolchain for the TI MSP430 microprocessor"
maintainer="allan <mail@may.mooo.com>"
homepage="http://www.ti.com/tool/msp430-gcc-opensource"