OSDN Git Service

2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
[pf3gnuchains/gcc-fork.git] / libgcc / config.host
index 48c46e7..642f45f 100644 (file)
@@ -83,6 +83,9 @@ bfin*-*)
 ep9312*-*-*)
        cpu_type=arm
        ;;
+fido-*-*)
+       cpu_type=m68k
+       ;;
 frv*)  cpu_type=frv
        ;;
 xscale-*-*)
@@ -248,6 +251,11 @@ bfin*-elf*)
         ;;
 bfin*-uclinux*)
         ;;
+bfin*-linux-uclibc*)
+       # No need to build crtbeginT.o on uClibc systems.  Should probably
+       # be moved to the OS specific section above.
+       extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
+       ;;
 bfin*-*)
         ;;
 c4x-*-rtems* | tic4x-*-rtems*)
@@ -257,11 +265,14 @@ c4x-* | tic4x-*)
 cris-*-aout)
        ;;
 cris-*-elf | cris-*-none)
+       extra_parts="crtbegin.o crtend.o"
        ;;
 cris-*-linux*)
        ;;
 crx-*-elf)
        ;;
+fido-*-elf)
+       ;;
 fr30-*-elf)
        ;;
 frv-*-elf)
@@ -322,12 +333,12 @@ i[34567]86-*-openbsd*)
 i[34567]86-*-coff*)
        ;;
 i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu)
-       extra_parts="$extra_parts crtfastmath.o"
-       tmake_file="${tmake_file} i386/t-crtfm"
+       extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
+       tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm"
        ;;
 x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu)
-       extra_parts="$extra_parts crtfastmath.o"
-       tmake_file="${tmake_file} i386/t-crtfm"
+       extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
+       tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm"
        ;;
 i[34567]86-*-gnu*)
        ;;
@@ -356,9 +367,13 @@ i[34567]86-*-sysv4*)               # Intel 80386's running system V.4
        ;;
 i[4567]86-wrs-vxworks|i[4567]86-wrs-vxworksae)
        ;;
-i[34567]86-*-pe | i[34567]86-*-cygwin*)
+i[34567]86-*-pe)
        ;;
-i[34567]86-*-mingw32*)
+i[34567]86-*-cygwin* | i[34567]86-*-mingw*)
+       extra_parts="crtbegin.o crtend.o crtfastmath.o"
+       tmake_file="i386/t-cygming i386/t-crtfm"
+       ;;
+x86_64-*-mingw*)
        ;;
 i[34567]86-*-uwin*)
        ;;
@@ -583,6 +598,8 @@ sparc-*-sysv4*)
        ;;
 sparc64-*-elf*)
        ;;
+sparc-wrs-vxworks)
+       ;;
 sparc64-*-freebsd*|ultrasparc-*-freebsd*)
        ;;
 sparc64-*-linux*)              # 64-bit SPARC's running GNU/Linux
@@ -637,3 +654,9 @@ m32c-*-elf*)
        exit 1
        ;;
 esac
+
+case ${host} in
+i[34567]86-*-linux* | x86_64-*-linux*)
+       tmake_file="${tmake_file} t-tls"
+       ;;
+esac