diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-01-13 13:39:44 +0100 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-01-13 13:39:44 +0100 |
commit | 94237e310fd27f9f66699c07311ff0ae17f8ee20 (patch) | |
tree | 173f6eb82befe60a06d34240e89a26f364f371b5 /recipes-devtools/gcc/gcc-4.5/sh4-multilib.patch | |
parent | 9411e8a9e0428b6a1ec43ae086c1a5e6366a597e (diff) | |
download | meta-openembedded-94237e310fd27f9f66699c07311ff0ae17f8ee20.tar.gz |
gcc 4.5: sync with OE
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'recipes-devtools/gcc/gcc-4.5/sh4-multilib.patch')
-rw-r--r-- | recipes-devtools/gcc/gcc-4.5/sh4-multilib.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes-devtools/gcc/gcc-4.5/sh4-multilib.patch b/recipes-devtools/gcc/gcc-4.5/sh4-multilib.patch new file mode 100644 index 0000000000..c895c95e12 --- /dev/null +++ b/recipes-devtools/gcc/gcc-4.5/sh4-multilib.patch | |||
@@ -0,0 +1,25 @@ | |||
1 | # DP: Fix multilib (m4/m4-nofpu) for sh4-linux | ||
2 | |||
3 | --- | ||
4 | a/gcc/config.gcc | 5 +++-- | ||
5 | 1 files changed, 3 insertions(+), 2 deletions(-) | ||
6 | |||
7 | Index: gcc-4_5-branch/gcc/config.gcc | ||
8 | =================================================================== | ||
9 | --- gcc-4_5-branch.orig/gcc/config.gcc 2010-12-23 00:33:39.000000000 -0800 | ||
10 | +++ gcc-4_5-branch/gcc/config.gcc 2011-01-09 02:57:36.608656002 -0800 | ||
11 | @@ -2321,11 +2321,12 @@ | ||
12 | if test "$sh_multilibs" = "default" ; then | ||
13 | case ${target} in | ||
14 | sh64-superh-linux* | \ | ||
15 | - sh[1234]*) sh_multilibs=${sh_cpu_target} ;; | ||
16 | sh64* | sh5*) sh_multilibs=m5-32media,m5-32media-nofpu,m5-compact,m5-compact-nofpu,m5-64media,m5-64media-nofpu ;; | ||
17 | - sh-superh-*) sh_multilibs=m4,m4-single,m4-single-only,m4-nofpu ;; | ||
18 | + sh-superh-* | \ | ||
19 | + sh4-*-linux*) sh_multilibs=m4,m4-nofpu ;; | ||
20 | sh*-*-linux*) sh_multilibs=m1,m3e,m4 ;; | ||
21 | sh*-*-netbsd*) sh_multilibs=m3,m3e,m4 ;; | ||
22 | + sh-superh-*) sh_multilibs=m4,m4-single,m4-single-only,m4-nofpu ;; | ||
23 | *) sh_multilibs=m1,m2,m2e,m4,m4-single,m4-single-only,m2a,m2a-single ;; | ||
24 | esac | ||
25 | if test x$with_fp = xno; then | ||