+ sh_multilibs=${with_multilib_list}
+ if test x${sh_multilibs} = x ; then
+ case ${target} in
+ 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*-*-linux*) sh_multilibs=m1,m3e,m4 ;;
+ sh*-*-netbsd*) sh_multilibs=m3,m3e,m4 ;;
+ *) sh_multilibs=m1,m2,m2e,m4,m4-single,m4-single-only,m2a,m2a-single ;;
+ esac
+ fi
+ target_cpu_default=SELECT_`echo ${sh_cpu_default}|tr a-z- A-Z_`
+ tm_defines=${tm_defines}' SH_MULTILIB_CPU_DEFAULT=\"'`echo $sh_cpu_default|sed s/sh/m/`'\"'
+ sh_multilibs=`echo $sh_multilibs,$sh_cpu_default | sed -e 's/[ ,/][ ,]*/ /g' -e 's/ $//' -e s/^m/sh/ -e 's/ m/ sh/g' | tr A-Z_ a-z-`
+ for sh_multilib in ${sh_multilibs}; do
+ case ${sh_multilib} in
+ sh1 | sh2 | sh2e | sh3 | sh3e | \
+ sh4 | sh4-single | sh4-single-only | sh4-nofpu | \
+ sh4a | sh4a-single | sh4a-single-only | sh4a-nofpu | sh4al | \
+ sh2a | sh2a-single | sh2a-single-only | sh2a-nofpu | \
+ sh5-64media | sh5-64media-nofpu | \
+ sh5-32media | sh5-32media-nofpu | \
+ sh5-compact | sh5-compact-nofpu)
+ tmake_file="${tmake_file} sh/t-mlib-${sh_multilib}"
+ tm_defines="$tm_defines SUPPORT_`echo $sh_multilib|tr a-z- A-Z_`"
+ ;;
+ *)
+ echo "with_multilib_list=${sh_multilib} not supported."
+ exit 1
+ ;;
+ esac
+ done
+ if test x${enable_incomplete_targets} == xyes ; then
+ tm_defines="$tm_defines SUPPORT_SH1 SUPPORT_SH2E SUPPORT_SH4 SUPPORT_SH4_SINGLE SUPPORT_SH2A SUPPORT_SH2A_SINGLE SUPPORT_SH5_32MEDIA SUPPORT_SH5_32MEDIA_NOFPU SUPPORT_SH5_64MEDIA SUPPORT_SH5_64MEDIA_NOFPU"
+ fi
+ use_fixproto=yes
+ ;;
+sh-*-rtemscoff*)
+ tmake_file="sh/t-sh t-rtems"
+ tm_file="${tm_file} dbxcoff.h sh/coff.h sh/rtems.h rtems.h"
+ ;;
+sh-*-rtems*)
+ tmake_file="sh/t-sh sh/t-elf t-rtems"
+ tm_file="${tm_file} dbxelf.h elfos.h svr4.h sh/elf.h sh/embed-elf.h sh/rtemself.h rtems.h"