summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/binutils/binutils/0007-Add-the-armv5e-architecture-to-binutils.patch
diff options
context:
space:
mode:
authorMartin Borg <martin.borg@enea.com>2016-03-29 16:27:35 +0200
committerNora Björklund <nora.bjorklund@enea.com>2016-03-30 10:38:37 +0200
commit043564f3b4dc1d2801c2170e92ec4b84403a1d0d (patch)
treea4331bf745e9096f9a876178842190535452d73e /recipes-devtools/binutils/binutils/0007-Add-the-armv5e-architecture-to-binutils.patch
parent0536cea1e0321e5fe0a05f427c45e77c1a704f82 (diff)
downloadmeta-enea-bsp-ppc-043564f3b4dc1d2801c2170e92ec4b84403a1d0d.tar.gz
binutils: revert to version 2.25.1 for e500mc targets
Poky master branch has recently upgraded to binutils version 2.26, but for e500mc based targets the kernel crashes early in boot if built with this version of binutils. Reverting back to binutils 2.25.1 is a temporary workaround to be able to build bootable images for these targets. Signed-off-by: Martin Borg <martin.borg@enea.com> Signed-off-by: Nora Björklund <nora.bjorklund@enea.com>
Diffstat (limited to 'recipes-devtools/binutils/binutils/0007-Add-the-armv5e-architecture-to-binutils.patch')
-rw-r--r--recipes-devtools/binutils/binutils/0007-Add-the-armv5e-architecture-to-binutils.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/recipes-devtools/binutils/binutils/0007-Add-the-armv5e-architecture-to-binutils.patch b/recipes-devtools/binutils/binutils/0007-Add-the-armv5e-architecture-to-binutils.patch
new file mode 100644
index 0000000..a037634
--- /dev/null
+++ b/recipes-devtools/binutils/binutils/0007-Add-the-armv5e-architecture-to-binutils.patch
@@ -0,0 +1,35 @@
1From 743f42aaecb1ab89eba0eaf5e88ed67bbf3ba304 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 2 Mar 2015 01:37:10 +0000
4Subject: [PATCH 07/13] Add the armv5e architecture to binutils
5
6Binutils has a comment that indicates it is supposed to match gcc for
7all of the support "-march=" settings, but it was lacking the armv5e setting.
8This was a simple way to add it, as thumb instructions shouldn't be generated
9by the compiler anyway.
10
11Upstream-Status: Denied
12Upstream maintainer indicated that we should not be using armv5e, even
13though it is a legal archicture defined by our gcc.
14
15Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
16Signed-off-by: Khem Raj <raj.khem@gmail.com>
17---
18 gas/config/tc-arm.c | 1 +
19 1 file changed, 1 insertion(+)
20
21diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
22index 2db6c2d..ab48168 100644
23--- a/gas/config/tc-arm.c
24+++ b/gas/config/tc-arm.c
25@@ -24463,6 +24463,7 @@ static const struct arm_arch_option_table arm_archs[] =
26 ARM_ARCH_OPT ("armv4t", ARM_ARCH_V4T, FPU_ARCH_FPA),
27 ARM_ARCH_OPT ("armv4txm", ARM_ARCH_V4TxM, FPU_ARCH_FPA),
28 ARM_ARCH_OPT ("armv5", ARM_ARCH_V5, FPU_ARCH_VFP),
29+ ARM_ARCH_OPT ("armv5e", ARM_ARCH_V5TE, FPU_ARCH_VFP),
30 ARM_ARCH_OPT ("armv5t", ARM_ARCH_V5T, FPU_ARCH_VFP),
31 ARM_ARCH_OPT ("armv5txm", ARM_ARCH_V5TxM, FPU_ARCH_VFP),
32 ARM_ARCH_OPT ("armv5te", ARM_ARCH_V5TE, FPU_ARCH_VFP),
33--
342.1.4
35