cpu_type=alpha
need_64bit_hwint=yes
;;
+am33_2.0-*-linux*)
+ cpu_type=mn10300
+ ;;
strongarm*-*-*)
cpu_type=arm
;;
;;
i[34567]86-*-*)
cpu_type=i386
- extra_headers="mmintrin.h xmmintrin.h emmintrin.h"
+ extra_headers="mmintrin.h xmmintrin.h emmintrin.h pmmintrin.h"
;;
x86_64-*-*)
cpu_type=i386
- extra_headers="mmintrin.h xmmintrin.h emmintrin.h"
+ extra_headers="mmintrin.h xmmintrin.h emmintrin.h pmmintrin.h"
need_64bit_hwint=yes
;;
ia64-*-*)
tmake_file=mcore/t-mcore-pe
;;
mips-sgi-irix6*o32) # SGI System V.4., IRIX 6, O32 ABI
+ tm_file="${tm_file} mips/iris5.h"
if test x$gas = xyes
then
- tm_file="mips/iris5.h mips/iris5gas.h mips/iris6-o32-gas.h"
+ tm_file="${tm_file} mips/sdb.h mips/iris5gas.h mips/iris6-o32-gas.h"
if test x$stabs = xyes
then
tm_file="${tm_file} dbx.h mips/dbxmdebug.h"
fi
tmake_file=mips/t-iris5-gas
else
- tm_file="mips/iris5.h mips/iris6-o32-as.h"
+ tm_file="${tm_file} mips/iris6-o32-as.h"
tmake_file=mips/t-iris5-as
fi
tm_file="${tm_file} mips/iris6-o32.h"
tmake_file="${tmake_file} mips/t-iris mips/t-iris5-6"
xm_file=mips/xm-iris5.h
+ target_cpu_default="MASK_ABICALLS"
# mips-tfile doesn't work yet
# See comment in mips/iris5.h file.
use_collect2=yes
# fi
;;
mips-sgi-irix6*) # SGI System V.4., IRIX 6
+ tm_file="${tm_file} mips/iris5.h mips/iris6.h"
if test "x$gnu_ld" = xyes
then
- tm_file="mips/iris6.h mips/iris6gld.h"
- else
- tm_file=mips/iris6.h
+ tm_file="${tm_file} mips/iris6gld.h"
fi
tmake_file="mips/t-iris mips/t-iris5-6 mips/t-iris6"
+ target_cpu_default="MASK_ABICALLS|MASK_FLOAT64|MASK_64BIT"
+ tm_defines="MIPS_ISA_DEFAULT=3 MIPS_ABI_DEFAULT=ABI_N32"
# if test x$enable_threads = xyes; then
# thread_file='irix'
# fi
;;
mips-sgi-irix5cross64) # Irix5 host, Irix 6 target, cross64
- tm_file="mips/iris6.h mips/cross64.h"
+ tm_file="${tm_file} mips/iris5.h mips/iris6.h mips/cross64.h"
xm_file=mips/xm-iris5.h
tmake_file="mips/t-iris mips/t-cross64"
+ target_cpu_default="MASK_ABICALLS|MASK_FLOAT64|MASK_64BIT"
+ tm_defines="MIPS_ISA_DEFAULT=3 MIPS_ABI_DEFAULT=ABI_N32"
# See comment in mips/iris[56].h files.
use_collect2=yes
# if test x$enable_threads = xyes; then
# fi
;;
mips-sgi-irix5*) # SGI System V.4., IRIX 5
+ tm_file="${tm_file} mips/iris5.h"
if test x$gas = xyes
then
- tm_file="mips/iris5.h mips/iris5gas.h"
+ tm_file="${tm_file} mips/sdb.h mips/iris5gas.h"
if test x$stabs = xyes
then
tm_file="${tm_file} dbx.h mips/dbxmdebug.h"
fi
tmake_file=mips/t-iris5-gas
else
- tm_file=mips/iris5.h
tmake_file=mips/t-iris5-as
fi
tmake_file="${tmake_file} mips/t-iris mips/t-iris5-6"
xm_file=mips/xm-iris5.h
+ target_cpu_default="MASK_ABICALLS"
# mips-tfile doesn't work yet
# See comment in mips/iris5.h file.
use_collect2=yes
;;
mips*el-*-openbsd*) # mips little endian
target_cpu_default="MASK_GAS|MASK_ABICALLS"
+ tm_file="${tm_file} mips/sdb.h"
;;
mips*-*-openbsd*) # mips big endian
target_cpu_default="MASK_GAS|MASK_ABICALLS"
- tm_file="mips/openbsd-be.h ${tm_file}"
+ tm_file="mips/openbsd-be.h ${tm_file} mips/sdb.h"
;;
mipsisa32-*-elf* | mipsisa32el-*-elf*)
tm_file="${tm_file} mips/elf.h"
esac
case $machine in
sh[234]*) tmake_file="${tmake_file} sh/t-monolib" ;;
+ esac
+ case $machine in
sh*-*-kaos*) tm_file="${tm_file} kaos.h sh/kaos-sh.h" ;;
esac
;;
tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h xtensa/linux.h"
tmake_file="t-slibgcc-elf-ver t-linux xtensa/t-xtensa xtensa/t-linux"
;;
+am33_2.0-*-linux*)
+ tm_file="mn10300/mn10300.h dbxelf.h elfos.h linux.h mn10300/linux.h"
+ tmake_file="t-linux mn10300/t-linux"
+ gas=yes gnu_ld=yes
+ if test x$enable_threads = xyes; then
+ thread_file='posix'
+ fi
+ extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
+ use_collect2=no
+ ;;
*)
echo "*** Configuration $machine not supported" 1>&2
exit 1
done
;;
+ s390*-*-*)
+ supported_defaults="arch mode tune"
+
+ for which in arch tune; do
+ eval "val=\$with_$which"
+ case x$val in
+ x \
+ | xg5 | xg6 | xz900 | xz990)
+ # OK
+ ;;
+ *)
+ echo "Unknown cpu used in --with-$which=$val." 1>&2
+ exit 1
+ ;;
+ esac
+ done
+
+ case "x$with_mode" in
+ x \
+ | xesa | xzarch)
+ # OK
+ ;;
+ *)
+ echo "Unknown architecture mode used in --with-mode=$with_mode." 1>&2
+ exit 1
+ ;;
+ esac
+ ;;
+
sparc*-*-*)
supported_defaults="cpu float tune"
esac
t=
- all_defaults="abi cpu arch tune schedule float"
+ all_defaults="abi cpu arch tune schedule float mode"
for option in $all_defaults
do
eval "val=\$with_$option"