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>
This commit is contained in:
committed by
Nico Huber
parent
1ce225b5a3
commit
b1d26f0e92
64
util/crossgcc/patches/gcc-8.1.0_armv6s-m.patch
Normal file
64
util/crossgcc/patches/gcc-8.1.0_armv6s-m.patch
Normal file
@@ -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
|
||||
|
Reference in New Issue
Block a user