aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/patches/arc-2016.03/100-uclibc-conf.patch
diff options
context:
space:
mode:
authorAlexey Brodkin <abrodkin@synopsys.com>2016-06-20 15:37:46 +0200
committerZoltan HERPAI <wigyori@uid0.hu>2016-06-20 15:37:46 +0200
commitd44ce810e4aa73562eaeef5ef0b3f0d26b3053cf (patch)
treeb8e27780c2a68c6aba1523d0bca57014b9d10b33 /toolchain/gcc/patches/arc-2016.03/100-uclibc-conf.patch
parent870678baa7f8b9a65945237704d84d7724f42459 (diff)
downloadmaster-187ad058-d44ce810e4aa73562eaeef5ef0b3f0d26b3053cf.tar.gz
master-187ad058-d44ce810e4aa73562eaeef5ef0b3f0d26b3053cf.tar.bz2
master-187ad058-d44ce810e4aa73562eaeef5ef0b3f0d26b3053cf.zip
toolchain: Bump ARC tools to arc-2016.03
This change switches ARC tools to the most recent arc-2016.03 version. ARC GNU tools of version arc-2016.03 bring some quite significant changes like: * Binutils v2.26+ (upstream commit id 202ac19 with additional ARC * patches) * GCC v4.8.5 * GDB 7.10 More about changes, improvements and fixes could be found here: https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-2016.03 Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Diffstat (limited to 'toolchain/gcc/patches/arc-2016.03/100-uclibc-conf.patch')
-rw-r--r--toolchain/gcc/patches/arc-2016.03/100-uclibc-conf.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/arc-2016.03/100-uclibc-conf.patch b/toolchain/gcc/patches/arc-2016.03/100-uclibc-conf.patch
new file mode 100644
index 0000000000..ff9ad94f62
--- /dev/null
+++ b/toolchain/gcc/patches/arc-2016.03/100-uclibc-conf.patch
@@ -0,0 +1,33 @@
+--- a/contrib/regression/objs-gcc.sh
++++ b/contrib/regression/objs-gcc.sh
+@@ -106,6 +106,10 @@ if [ $H_REAL_TARGET = $H_REAL_HOST -a $H
+ then
+ make all-gdb all-dejagnu all-ld || exit 1
+ make install-gdb install-dejagnu install-ld || exit 1
++elif [ $H_REAL_TARGET = $H_REAL_HOST -a $H_REAL_TARGET = i686-pc-linux-uclibc ]
++ then
++ make all-gdb all-dejagnu all-ld || exit 1
++ make install-gdb install-dejagnu install-ld || exit 1
+ elif [ $H_REAL_TARGET = $H_REAL_HOST ] ; then
+ make bootstrap || exit 1
+ make install || exit 1
+--- a/libjava/classpath/ltconfig
++++ b/libjava/classpath/ltconfig
+@@ -603,7 +603,7 @@ host_os=`echo $host | sed 's/^\([^-]*\)-
+
+ # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
+ case $host_os in
+-linux-gnu*) ;;
++linux-gnu*|linux-uclibc*) ;;
+ linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
+ esac
+
+@@ -1247,7 +1247,7 @@ linux-gnuoldld* | linux-gnuaout* | linux
+ ;;
+
+ # This must be Linux ELF.
+-linux-gnu*)
++linux*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no