diff options
author | Robert Schuster <thebohemian@gmx.net> | 2008-10-07 21:05:42 +0000 |
---|---|---|
committer | Robert Schuster <thebohemian@gmx.net> | 2008-10-07 21:05:42 +0000 |
commit | 941a5095125fbbef4914c59328d154dfbfa0e1e9 (patch) | |
tree | cde4641cd4b76e046f5be09b357ad1f11531e81a /packages/gcc/gcc-4.3.2/gcc-4.2.3-linux-multilib-fix.patch | |
parent | 29889872a04b60606878c216ad3fa5dbbf3023ec (diff) | |
parent | 324555b8972cf5bedb3da940ea15b8553cb08b35 (diff) |
merge of '6347af950ec1a0ff98214a570984c55df668fad7'
and 'aa5ca25b387398015df6ff4983a31df9f74a3dff'
Diffstat (limited to 'packages/gcc/gcc-4.3.2/gcc-4.2.3-linux-multilib-fix.patch')
-rw-r--r-- | packages/gcc/gcc-4.3.2/gcc-4.2.3-linux-multilib-fix.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/packages/gcc/gcc-4.3.2/gcc-4.2.3-linux-multilib-fix.patch b/packages/gcc/gcc-4.3.2/gcc-4.2.3-linux-multilib-fix.patch new file mode 100644 index 0000000000..81522a8f57 --- /dev/null +++ b/packages/gcc/gcc-4.3.2/gcc-4.2.3-linux-multilib-fix.patch @@ -0,0 +1,23 @@ +Change gcc build : Enable m4 and m4-nofpu (needed for kernel) for sh4-gnu-linux + +Signed-off-by: Carl Shaw <carl.shaw@st.com> + +Index: gcc/gcc/config.gcc +=================================================================== +--- gcc.orig/gcc/config.gcc 2008-07-18 10:37:54.000000000 +0100 ++++ gcc/gcc/config.gcc 2008-07-18 11:00:42.000000000 +0100 +@@ -2097,11 +2097,12 @@ + if test x${sh_multilibs} = x ; then + case ${target} in + sh64-superh-linux* | \ +- sh[1234]*) sh_multilibs=${sh_cpu_target} ;; + sh64* | sh5*) sh_multilibs=m5-32media,m5-32media-nofpu,m5-compact,m5-compact-nofpu,m5-64media,m5-64media-nofpu ;; +- sh-superh-*) sh_multilibs=m4,m4-single,m4-single-only,m4-nofpu ;; ++ sh-superh-* | \ ++ sh4-*-linux*) sh_multilibs=m4,m4-nofpu ;; + sh*-*-linux*) sh_multilibs=m1,m3e,m4 ;; + sh*-*-netbsd*) sh_multilibs=m3,m3e,m4 ;; ++ sh[1234]*) sh_multilibs=${sh_cpu_target} ;; + *) sh_multilibs=m1,m2,m2e,m4,m4-single,m4-single-only,m2a,m2a-single ;; + esac + if test x$with_fp = xno; then |