patches/gcc/4.4.5/230-superh-default-multilib.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Nov 07 22:28:40 2011 +0100 (2011-11-07)
changeset 2834 0a0410dd0cb0
permissions -rw-r--r--
configure: use autoconf to generate configure

Create configure.ac, an autoconf script to generate ./configure
This will be needed by a subsequent patch to properly handle
--build and --host, and more tests, when the kconfig stuff will
be installed pre-built.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 diff -durN gcc-4.4.5.orig/gcc/config.gcc gcc-4.4.5/gcc/config.gcc
     2 --- gcc-4.4.5.orig/gcc/config.gcc	2010-06-14 00:16:50.000000000 +0200
     3 +++ gcc-4.4.5/gcc/config.gcc	2010-10-09 23:02:56.000000000 +0200
     4 @@ -2140,7 +2140,7 @@
     5  	if test x${sh_multilibs} = x ; then
     6  		case ${target} in
     7  		sh64-superh-linux* | \
     8 -		sh[1234]*)	sh_multilibs=${sh_cpu_target} ;;
     9 +		sh[1234]*)	sh_multilibs=`cd ${srcdir}/config/sh ; echo t-mlib-sh[1-4]* | sed 's:t-mlib-sh:,m:g;s: ::g'` ;;
    10  		sh64* | sh5*)	sh_multilibs=m5-32media,m5-32media-nofpu,m5-compact,m5-compact-nofpu,m5-64media,m5-64media-nofpu ;;
    11  		sh-superh-*)	sh_multilibs=m4,m4-single,m4-single-only,m4-nofpu ;;
    12  		sh*-*-linux*)	sh_multilibs=m1,m3e,m4 ;;