summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/binutils/binutils/0002-configure-widen-the-regexp-for-SH-architectures.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/0002-configure-widen-the-regexp-for-SH-architectures.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/0002-configure-widen-the-regexp-for-SH-architectures.patch')
-rw-r--r--recipes-devtools/binutils/binutils/0002-configure-widen-the-regexp-for-SH-architectures.patch56
1 files changed, 56 insertions, 0 deletions
diff --git a/recipes-devtools/binutils/binutils/0002-configure-widen-the-regexp-for-SH-architectures.patch b/recipes-devtools/binutils/binutils/0002-configure-widen-the-regexp-for-SH-architectures.patch
new file mode 100644
index 0000000..34e21d1
--- /dev/null
+++ b/recipes-devtools/binutils/binutils/0002-configure-widen-the-regexp-for-SH-architectures.patch
@@ -0,0 +1,56 @@
1From dfbcfb0d71765b337e63562299a943043928d2d2 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 2 Mar 2015 01:07:33 +0000
4Subject: [PATCH 02/13] configure: widen the regexp for SH architectures
5
6gprof needs to know about uclibc
7
8Upstream-Status: Pending
9
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 configure | 4 ++--
13 gprof/configure | 5 +++++
14 2 files changed, 7 insertions(+), 2 deletions(-)
15
16diff --git a/configure b/configure
17index 87677bc..e9f2f13 100755
18--- a/configure
19+++ b/configure
20@@ -3341,7 +3341,7 @@ case "${target}" in
21 ;;
22 s390-*-* | s390x-*-*)
23 ;;
24- sh-*-* | sh[34]*-*-*)
25+ sh*-*-* | sh[34]*-*-*)
26 ;;
27 sh64-*-* | sh5*-*-*)
28 ;;
29@@ -3812,7 +3812,7 @@ case "${target}" in
30 or1k*-*-*)
31 noconfigdirs="$noconfigdirs gdb"
32 ;;
33- sh-*-* | sh64-*-*)
34+ sh*-*-* | sh64-*-*)
35 case "${target}" in
36 sh*-*-elf)
37 ;;
38diff --git a/gprof/configure b/gprof/configure
39index b09c8fb..79961c5 100755
40--- a/gprof/configure
41+++ b/gprof/configure
42@@ -5869,6 +5869,11 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu)
43 lt_cv_deplibs_check_method=pass_all
44 ;;
45
46+linux-uclibc*)
47+ lt_cv_deplibs_check_method=pass_all
48+ lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
49+ ;;
50+
51 netbsd*)
52 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
53 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
54--
552.1.4
56