[arch-commits] Commit in arm-none-eabi-gcc/trunk (2 files)
Anatol Pomozov
anatolik at archlinux.org
Wed May 10 05:56:30 UTC 2017
Date: Wednesday, May 10, 2017 @ 05:56:30
Author: anatolik
Revision: 227656
upgpkg: arm-none-eabi-gcc 7.1.0-1
Modified:
arm-none-eabi-gcc/trunk/PKGBUILD
arm-none-eabi-gcc/trunk/enable-with-multilib-list-for-arm.patch
-----------------------------------------+
PKGBUILD | 8 +-
enable-with-multilib-list-for-arm.patch | 96 +++++++++++++++++-------------
2 files changed, 59 insertions(+), 45 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-05-10 04:52:02 UTC (rev 227655)
+++ PKGBUILD 2017-05-10 05:56:30 UTC (rev 227656)
@@ -3,10 +3,10 @@
_target=arm-none-eabi
pkgname=$_target-gcc
-pkgver=6.3.1
+pkgver=7.1.0
_islver=0.18
pkgrel=1
-_snapshot=6-20170330
+_snapshot=7-20170504
pkgdesc='The GNU Compiler Collection - cross compiler for ARM EABI (bare-metal) target'
arch=(i686 x86_64)
url='http://gcc.gnu.org/'
@@ -19,9 +19,9 @@
ftp://gcc.gnu.org/pub/gcc/snapshots/$_snapshot/gcc-$_snapshot.tar.bz2
http://isl.gforge.inria.fr/isl-$_islver.tar.bz2
enable-with-multilib-list-for-arm.patch)
-sha256sums=('455f97464a1923ce7eb4233ee4ab85fa53e391f188b13047d5f68f50f55d8e97'
+sha256sums=('0a179b9fe8e90215d7b2385c40a2e36ba7f823193531847eb7fcff866df556ba'
'6b8b0fd7f81d0a957beb3679c81bbb34ccc7568d5682844d8924424a0dadcb1b'
- 'ee8c74097c1ff01918bda9acf9b45783fd3ba3a4c493e9e9255fa3c2130bf690')
+ '9447a8fd40d7c1e238b8e9790b739492de5feaa489d61f4ecdab863e5ea1975a')
if [ -n "$_snapshot" ]; then
_basedir=gcc-$_snapshot
Modified: enable-with-multilib-list-for-arm.patch
===================================================================
--- enable-with-multilib-list-for-arm.patch 2017-05-10 04:52:02 UTC (rev 227655)
+++ enable-with-multilib-list-for-arm.patch 2017-05-10 05:56:30 UTC (rev 227656)
@@ -1,14 +1,14 @@
-commit 605db6de62e8144a1b8f721c05f40d879f70625b
+commit 71587241301d28b68bbe2f41c5eb2856053c750c
Author: Anatol Pomozov <anatol.pomozov at gmail.com>
-Date: Fri Jan 30 06:23:17 2015 -0800
+Date: Tue May 9 21:19:27 2017 -0700
ARM patch https://gcc.gnu.org/ml/gcc-patches/2012-05/msg00083/enable-with-multilib-list-for-arm.patch
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
-index 4ab7405..6e1ea2c 100644
+index f675e073ecc..cced5329b47 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
-@@ -535,6 +535,7 @@ lang_opt_files=@lang_opt_files@ $(srcdir)/c-family/c.opt $(srcdir)/common.opt
+@@ -558,6 +558,7 @@ lang_opt_files=@lang_opt_files@ $(srcdir)/c-family/c.opt $(srcdir)/common.opt
lang_specs_files=@lang_specs_files@
lang_tree_files=@lang_tree_files@
target_cpu_default=@target_cpu_default@
@@ -17,10 +17,10 @@
extra_modes_file=@extra_modes_file@
extra_opt_files=@extra_opt_files@
diff --git a/gcc/config.gcc b/gcc/config.gcc
-index cb08a5c..7bded02 100644
+index b8bb4d65825..713e35b62af 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
-@@ -1072,7 +1072,7 @@ arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*)
+@@ -1140,7 +1140,7 @@ arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems* | arm*-*-fuchsia*)
case ${target} in
arm*-*-eabi*)
tm_file="$tm_file newlib-stdint.h"
@@ -28,17 +28,17 @@
+ tmake_file="${tmake_file} arm/t-bpabi arm/t-mlibs"
use_gcc_stdint=wrap
;;
- arm*-*-rtems*)
-@@ -3684,42 +3684,6 @@ case "${target}" in
+ arm*-*-fuchsia*)
+@@ -3787,56 +3787,6 @@ case "${target}" in
+ echo "Switch \"--with-tune\" may not be used with switch \"--with-cpu\"" 1>&2
exit 1
fi
-
+-
- # Add extra multilibs
- if test "x$with_multilib_list" != x; then
- arm_multilibs=`echo $with_multilib_list | sed -e 's/,/ /g'`
-- for arm_multilib in ${arm_multilibs}; do
-- case ${arm_multilib} in
-- aprofile)
+- case ${arm_multilibs} in
+- aprofile)
- # Note that arm/t-aprofile is a
- # stand-alone make file fragment to be
- # used only with itself. We do not
@@ -45,29 +45,43 @@
- # specifically use the
- # TM_MULTILIB_OPTION framework because
- # this shorthand is more
-- # pragmatic. Additionally it is only
-- # designed to work without any
-- # with-cpu, with-arch with-mode
-- # with-fpu or with-float options.
-- if test "x$with_arch" != x \
-- || test "x$with_cpu" != x \
-- || test "x$with_float" != x \
-- || test "x$with_fpu" != x \
-- || test "x$with_mode" != x ; then
-- echo "Error: You cannot use any of --with-arch/cpu/fpu/float/mode with --with-multilib-list=aprofile" 1>&2
-- exit 1
-- fi
-- tmake_file="${tmake_file} arm/t-aprofile"
-- break
-- ;;
-- default)
-- ;;
-- *)
-- echo "Error: --with-multilib-list=${with_multilib_list} not supported." 1>&2
-- exit 1
-- ;;
-- esac
-- done
+- # pragmatic.
+- tmake_profile_file="arm/t-aprofile"
+- ;;
+- rmprofile)
+- # Note that arm/t-rmprofile is a
+- # stand-alone make file fragment to be
+- # used only with itself. We do not
+- # specifically use the
+- # TM_MULTILIB_OPTION framework because
+- # this shorthand is more
+- # pragmatic.
+- tmake_profile_file="arm/t-rmprofile"
+- ;;
+- default)
+- ;;
+- *)
+- echo "Error: --with-multilib-list=${with_multilib_list} not supported." 1>&2
+- exit 1
+- ;;
+- esac
+-
+- if test "x${tmake_profile_file}" != x ; then
+- # arm/t-aprofile and arm/t-rmprofile are only
+- # designed to work without any with-cpu,
+- # with-arch, with-mode, with-fpu or with-float
+- # options.
+- if test "x$with_arch" != x \
+- || test "x$with_cpu" != x \
+- || test "x$with_float" != x \
+- || test "x$with_fpu" != x \
+- || test "x$with_mode" != x ; then
+- echo "Error: You cannot use any of --with-arch/cpu/fpu/float/mode with --with-multilib-list=${with_multilib_list}" 1>&2
+- exit 1
+- fi
+-
+- tmake_file="${tmake_file} ${tmake_profile_file}"
+- fi
- fi
;;
@@ -74,7 +88,7 @@
fr*-*-*linux*)
diff --git a/gcc/config/arm/t-mlibs b/gcc/config/arm/t-mlibs
new file mode 100644
-index 0000000..5720cf7
+index 00000000000..5720cf7503d
--- /dev/null
+++ b/gcc/config/arm/t-mlibs
@@ -0,0 +1,89 @@
@@ -168,10 +182,10 @@
+MULTILIB_REUSE += mthumb/march.armv7/mfloat-abi.hard/mfpu.vfpv3-d16=marm/march.armv7/mfloat-abi.hard/mfpu.vfpv3-d16
+endif
diff --git a/gcc/configure b/gcc/configure
-index 9523773..24952e3 100755
+index ea73b151a4e..c609f25e50c 100755
--- a/gcc/configure
+++ b/gcc/configure
-@@ -763,6 +763,7 @@ SET_MAKE
+@@ -772,6 +772,7 @@ SET_MAKE
accel_dir_suffix
real_target_noncanonical
enable_as_accelerator
@@ -179,7 +193,7 @@
REPORT_BUGS_TEXI
REPORT_BUGS_TO
PKGVERSION
-@@ -7462,6 +7463,7 @@ else
+@@ -7763,6 +7764,7 @@ else
fi
@@ -188,10 +202,10 @@
# Checks for other programs
# -------------------------
diff --git a/gcc/configure.ac b/gcc/configure.ac
-index 68b0ee8..f8a1097 100644
+index 9d4c792a33f..abd988eb113 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
-@@ -925,6 +925,7 @@ AC_ARG_WITH(multilib-list,
+@@ -1007,6 +1007,7 @@ AC_ARG_WITH(multilib-list,
[AS_HELP_STRING([--with-multilib-list], [select multilibs (AArch64, SH and x86-64 only)])],
:,
with_multilib_list=default)
More information about the arch-commits
mailing list