summaryrefslogtreecommitdiff
path: root/util/crossgcc/patches/gcc-8.1.0_armv6s-m.patch
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@chromium.org>2018-05-02 17:13:34 +0200
committerNico Huber <nico.h@gmx.de>2018-06-28 13:38:13 +0000
commitb1d26f0e9261ec4070e8561406853fe5bddeb27c (patch)
tree7c175eeae95536bb8e46963a2fcecc326edf1379 /util/crossgcc/patches/gcc-8.1.0_armv6s-m.patch
parent1ce225b5a39d81e49f04497ce23ebb672b57eb6a (diff)
util/crossgcc: update to gcc 8.1.0 and binutils 2.30
Also update patches as necessary. Change-Id: I1e8074954d5d7a4eff590abb7439e9be7d3762aa Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: https://review.coreboot.org/25997 Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/crossgcc/patches/gcc-8.1.0_armv6s-m.patch')
-rw-r--r--util/crossgcc/patches/gcc-8.1.0_armv6s-m.patch64
1 files changed, 64 insertions, 0 deletions
diff --git a/util/crossgcc/patches/gcc-8.1.0_armv6s-m.patch b/util/crossgcc/patches/gcc-8.1.0_armv6s-m.patch
new file mode 100644
index 0000000000..d56ff4caa8
--- /dev/null
+++ b/util/crossgcc/patches/gcc-8.1.0_armv6s-m.patch
@@ -0,0 +1,64 @@
+Taken from https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=260158
+--- gcc-8-branch/gcc/config/arm/arm-cpus.in 2018/05/11 09:28:10 260157
++++ gcc-8-branch/gcc/config/arm/arm-cpus.in 2018/05/11 09:30:49 260158
+@@ -446,6 +446,8 @@
+ isa ARMv6m
+ end arch armv6-m
+
++# This is now equivalent to armv6-m, but we keep it because some
++# versions of GAS still distinguish between the two.
+ begin arch armv6s-m
+ tune for cortex-m1
+ base 6M
+@@ -1168,21 +1170,21 @@
+ begin cpu cortex-m1
+ cname cortexm1
+ tune flags LDSCHED
+- architecture armv6-m
++ architecture armv6s-m
+ costs v6m
+ end cpu cortex-m1
+
+ begin cpu cortex-m0
+ cname cortexm0
+ tune flags LDSCHED
+- architecture armv6-m
++ architecture armv6s-m
+ costs v6m
+ end cpu cortex-m0
+
+ begin cpu cortex-m0plus
+ cname cortexm0plus
+ tune flags LDSCHED
+- architecture armv6-m
++ architecture armv6s-m
+ costs v6m
+ end cpu cortex-m0plus
+
+@@ -1192,7 +1194,7 @@
+ cname cortexm1smallmultiply
+ tune for cortex-m1
+ tune flags LDSCHED SMALLMUL
+- architecture armv6-m
++ architecture armv6s-m
+ costs v6m
+ end cpu cortex-m1.small-multiply
+
+@@ -1200,7 +1202,7 @@
+ cname cortexm0smallmultiply
+ tune for cortex-m0
+ tune flags LDSCHED SMALLMUL
+- architecture armv6-m
++ architecture armv6s-m
+ costs v6m
+ end cpu cortex-m0.small-multiply
+
+@@ -1208,7 +1210,7 @@
+ cname cortexm0plussmallmultiply
+ tune for cortex-m0plus
+ tune flags LDSCHED SMALLMUL
+- architecture armv6-m
++ architecture armv6s-m
+ costs v6m
+ end cpu cortex-m0plus.small-multiply
+