# libgcc host-specific configuration file.
# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
-# 2008, 2009 Free Software Foundation, Inc.
+# 2008, 2009, 2010 Free Software Foundation, Inc.
#This file is part of GCC.
;;
mep*-*-*)
;;
+microblaze*-*-*)
+ cpu_type=microblaze
+ ;;
mips*-*-*)
cpu_type=mips
;;
then tmake_file=${cpu_type}/t-$rest
fi
;;
-alpha*-*-linux* | alpha*-*-gnu*)
+alpha*-*-linux*)
tmake_file="${tmake_file} alpha/t-crtfm"
extra_parts="$extra_parts crtfastmath.o"
;;
;;
alpha*-*-openbsd*)
;;
-alpha*-dec-osf[45]*)
+alpha*-dec-osf5.1*)
;;
alpha64-dec-*vms*)
tmake_file="vms/t-vms vms/t-vms64 alpha/t-vms"
alpha*-dec-*vms*)
tmake_file="vms/t-vms alpha/t-vms"
;;
-arc-*-elf*)
- ;;
arm-wrs-vxworks)
;;
arm*-*-freebsd*)
;;
arm*-*-netbsdelf*)
;;
-arm*-*-netbsd*)
- ;;
arm*-*-linux*) # ARM GNU/Linux with ELF
;;
arm*-*-uclinux*) # ARM ucLinux
;;
arm*-wince-pe*)
;;
-arm-*-pe*)
- ;;
avr-*-rtems*)
;;
avr-*-*)
;;
cris-*-linux* | crisv32-*-linux*)
;;
-crx-*-elf)
- ;;
fido-*-elf)
;;
fr30-*-elf)
x86_64-*-elf*)
;;
i[34567]86-*-freebsd*)
+ tmake_file="${tmake_file} i386/t-freebsd"
;;
x86_64-*-freebsd*)
+ tmake_file="${tmake_file} i386/t-freebsd"
;;
i[34567]86-*-netbsdelf*)
;;
-i[34567]86-*-netbsd*)
- ;;
x86_64-*-netbsd*)
;;
i[34567]86-*-openbsd2.*|i[34567]86-*openbsd3.[0123])
;;
i[4567]86-wrs-vxworks|i[4567]86-wrs-vxworksae)
;;
-i[34567]86-*-pe)
- ;;
i[34567]86-*-cygwin* | i[34567]86-*-mingw*)
extra_parts="crtbegin.o crtend.o crtfastmath.o"
tmake_file="i386/t-cygming i386/t-crtfm"
tmake_file="ia64/t-ia64"
;;
ia64*-*-freebsd*)
+ extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o"
+ tmake_file="ia64/t-ia64"
;;
ia64*-*-linux*)
extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o"
;;
iq2000*-*-elf*)
;;
-lm32-*-elf*)
+lm32-*-elf*|lm32-*-rtems*)
extra_parts="crtbegin.o crtend.o crti.o crtn.o"
tmake_file="lm32/t-lm32 lm32/t-elf t-softfp"
;;
;;
m32rle-*-linux*)
;;
-m68hc11-*-*|m6811-*-*)
- ;;
-m68hc12-*-*|m6812-*-*)
- ;;
m68k-*-elf*)
;;
m68k*-*-netbsdelf*)
;;
mcore-*-elf)
;;
-mcore-*-pe*)
+microblaze*-*-*)
+ tmake_file="microblaze/t-microblaze"
;;
mips-sgi-irix[56]*)
;;
mips*-*-netbsd*) # NetBSD/mips, either endian.
;;
mips64*-*-linux*)
+ extra_parts="$extra_parts crtfastmath.o"
+ tmake_file="{$tmake_file} mips/t-crtfm"
;;
mips*-*-linux*) # Linux MIPS, either endian.
+ extra_parts="$extra_parts crtfastmath.o"
+ tmake_file="{$tmake_file} mips/t-crtfm"
;;
mips*-*-openbsd*)
;;
mipstx39-*-elf* | mipstx39el-*-elf*)
;;
mmix-knuth-mmixware)
+ extra_parts="crti.o crtn.o crtbegin.o crtend.o"
+ tmake_file="${tmake_file} ${cpu_type}/t-${cpu_type}"
;;
mn10300-*-*)
;;
moxie-*-*)
- tmake_file=${cpu_type}/t-moxie
+ tmake_file="moxie/t-moxie moxie/t-moxie-softfp"
extra_parts="crtbegin.o crtend.o crti.o crtn.o"
;;
pdp11-*-*)
;;
powerpc64-*-darwin*)
;;
-powerpc*-*-freebsd*)
+powerpc-*-freebsd*)
+ tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-freebsd t-softfp"
;;
powerpc-*-netbsd*)
;;
powerpc-*-eabispe*)
+ tmake_file="${tmake_file} rs6000/t-ppccomm"
;;
powerpc-*-eabisimaltivec*)
;;
powerpc-*-eabialtivec*)
;;
powerpc-*-eabi*)
+ tmake_file="${tmake_file} rs6000/t-ppccomm"
;;
powerpc-*-rtems*)
;;
powerpc-*-linux* | powerpc64-*-linux*)
tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ldbl128 t-softfp"
;;
-powerpc64-*-gnu*)
- tmake_file="${tmake_file} rs6000/t-ldbl128 t-softfp"
- ;;
-powerpc-*-gnu-gnualtivec*)
- tmake_file="${tmake_file} rs6000/t-ldbl128"
- ;;
-powerpc-*-gnu*)
- tmake_file="${tmake_file} rs6000/t-ldbl128"
- ;;
powerpc-wrs-vxworks|powerpc-wrs-vxworksae)
;;
powerpc-*-lynxos*)
score-*-elf)
;;
sh-*-elf* | sh[12346l]*-*-elf* | \
-sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | \
sh-*-linux* | sh[2346lbe]*-*-linux* | \
sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
sh64-*-netbsd* | sh64l*-*-netbsd*)
extra_parts="$extra_parts crtfastmath.o"
tmake_file="${tmake_file} sparc/t-crtfm"
;;
-sparc-*-rtems*)
+sparc-*-rtems* | sparc64-*-rtems* )
;;
sparc64-*-solaris2* | sparcv9-*-solaris2*)
;;
;;
vax-*-netbsdelf*)
;;
-vax-*-netbsd*)
- ;;
vax-*-openbsd*)
;;
xstormy16-*-elf)
i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | \
i[34567]86-*-gnu*)
tmake_file="${tmake_file} t-tls"
+ if test "$libgcc_cv_cfi" = "yes"; then
+ tmake_file="${tmake_file} t-stack i386/t-stack-i386"
+ fi
;;
esac
i[34567]86-*-darwin* | x86_64-*-darwin* | \
i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu | \
i[34567]86-*-linux* | x86_64-*-linux* | \
- i[34567]86-*-cygwin* | i[34567]86-*-mingw* | x86_64-*-mingw*)
+ i[34567]86-*-gnu* | \
+ i[34567]86-*-solaris2* | \
+ i[34567]86-*-cygwin* | i[34567]86-*-mingw* | x86_64-*-mingw* | \
+ i[34567]86-*-freebsd* | x86_64-*-freebsd*)
if test "${host_address}" = 32; then
tmake_file="${tmake_file} t-softfp i386/${host_address}/t-fprules-softfp"
fi