Skip to contentSkip to conversation

arm: fix -march for ARM11

PATCH New Heinrich Schuchardt 3 participants 3 messages Nov 23, 2019 – Nov 24, 2019 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 arm: fix -march for ARM11

In GCC 9 support for the Armv5 and Armv5E architectures (which have no known implementations) has been removed, cf.
https://gcc.gnu.org/gcc-9/changes.html

ARM11 is an armv6 implementation. So change the architecture flag for the compiler to armv6 for ARM11.

---
v2:
change commit message

---
 arch/arm/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/Makefile +2 -2
index 5384981c17..60af7e3199 100644
@@ -12,8 +12,8 @@ arch-$(CONFIG_CPU_ARM926EJS)	=-march=armv5te
 arch-$(CONFIG_CPU_ARM946ES)	=-march=armv5te
 arch-$(CONFIG_CPU_SA1100)	=-march=armv4
 arch-$(CONFIG_CPU_PXA)		=
-arch-$(CONFIG_CPU_ARM1136)	=-march=armv5
-arch-$(CONFIG_CPU_ARM1176)	=-march=armv5t
+arch-$(CONFIG_CPU_ARM1136)	=-march=armv6
+arch-$(CONFIG_CPU_ARM1176)	=-march=armv6
 arch-$(CONFIG_CPU_V7A)		=$(call cc-option, -march=armv7-a, \
 				 $(call cc-option, -march=armv7))
 arch-$(CONFIG_CPU_V7M)		=-march=armv7-m

--
2.24.0

#1 lore raw

PATCH v2 1/1 arm: fix -march for ARM11

Quoted 10 lines · Heinrich Schuchardt

In GCC 9 support for the Armv5 and Armv5E architectures (which have no known implementations) has been removed, cf.
https://gcc.gnu.org/gcc-9/changes.html

ARM11 is an armv6 implementation. So change the architecture flag for the compiler to armv6 for ARM11.

#2 lore raw

PATCH v2 1/1 arm: fix -march for ARM11

In reply to Heinrich Schuchardt
Quoted 10 lines · Heinrich Schuchardt

In GCC 9 support for the Armv5 and Armv5E architectures (which have no known implementations) has been removed, cf.
https://gcc.gnu.org/gcc-9/changes.html

ARM11 is an armv6 implementation. So change the architecture flag for the compiler to armv6 for ARM11.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20191124/288dc88e/attachment.sig>