OSDN Git Service

* gcc.c-torture/execute/ieee/ieee.exp: Change sh-*-* to sh*-*-*.
[pf3gnuchains/gcc-fork.git] / gcc / config.gcc
index d501991..b1bd55d 100644 (file)
@@ -222,6 +222,9 @@ c*-convex-*)
 i[34567]86-*-*)
        cpu_type=i386
        ;;
+x86_64-*-*)
+       cpu_type=i386
+       ;;
 hppa*-*-* | parisc*-*-*)
        cpu_type=pa
        ;;
@@ -279,9 +282,6 @@ case $machine in
        i[34567]86-*-*)
                tm_file="${cpu_type}/${cpu_type}.h i386/att.h linux.h i386/linux.h gnu.h ${tm_file}"
                ;;
-       mips*-*-*)
-               tm_file="svr4.h ${cpu_type}/${cpu_type}.h ${tm_file}"
-               ;;
        esac
        ;;
 *-*-openbsd*)
@@ -644,11 +644,15 @@ c4x-*-rtems*)
        if test x$enable_threads = xyes; then
          thread_file='rtems'
        fi
+       c_target_objs="c4x-c.o"
+       cxx_target_objs="c4x-c.o"
        ;;
 c4x-*)
        cpu_type=c4x
        float_format=c4x
        tmake_file=c4x/t-c4x
+       c_target_objs="c4x-c.o"
+       cxx_target_objs="c4x-c.o"
        ;;
 clipper-intergraph-clix*)
        tm_file="${tm_file} svr3.h clipper/clix.h"
@@ -657,6 +661,27 @@ clipper-intergraph-clix*)
        extra_parts="crtbegin.o crtend.o"
        install_headers_dir=install-headers-cpio
        ;;
+cris-*-aout)
+       tm_file="dbxelf.h cris/cris.h cris/aout.h"
+       gas=yes
+       tmake_file="cris/t-cris cris/t-aout"
+       ;;
+cris-*-elf | cris-*-none)
+       tm_file="elfos.h cris/cris.h"
+       tmake_file="cris/t-cris cris/t-elfmulti"
+       gas=yes
+       ;;
+cris-*-linux*)
+       tm_file="linux.h cris/cris.h cris/linux.h"
+       tmake_file="cris/t-cris t-slibgcc-elf-ver cris/t-linux"
+       extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
+       case x${enable_threads} in
+       x | xyes | xpthreads | xposix)
+               thread_file=posix
+               ;;
+       esac
+       gas=yes
+       ;;
 d30v-*)
        float_format=i64
        ;;
@@ -920,11 +945,17 @@ hppa*-*-mpeix*)
 i370-*-opened*)                         # IBM 360/370/390 Architecture
        xm_defines='POSIX FATAL_EXIT_CODE=12'
        tm_file=i370/oe.h
+       tmake_file="i370/t-i370"
        xmake_file=i370/x-oe
+       c_target_objs="i370-c.o"
+       cxx_target_objs="i370-c.o"
        ;;
 i370-*-mvs*)
        xm_defines='POSIX FATAL_EXIT_CODE=12'
        tm_file=i370/mvs.h
+       tmake_file="i370/t-i370"
+       c_target_objs="i370-c.o"
+       cxx_target_objs="i370-c.o"
        ;;
 i370-*-linux*)
        xmake_file=x-linux
@@ -1140,6 +1171,18 @@ i[34567]86-*-linux*)     # Intel 80386's running GNU/Linux
                thread_file='posix'
        fi
        ;;
+x86_64-*-linux*)
+       xmake_file=x-linux
+       tm_file="i386/biarch64.h i386/i386.h i386/att.h linux.h i386/x86-64.h \
+                i386/linux64.h"
+       tmake_file="t-slibgcc-elf-ver t-linux i386/t-crtstuff"
+       extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
+       gnu_ld=yes
+       float_format=i386
+       if test x$enable_threads = xyes; then
+               thread_file='posix'
+       fi
+       ;;
 i[34567]86-*-gnu*)
        float_format=i386
        ;;
@@ -1369,11 +1412,11 @@ i[34567]86-*-mingw32*)
        fi
        exeext=.exe
        case $machine in
-               *mingw32msv*)
-                       ;;
-               *minwg32crt* | *mingw32*)
+               *mingw32crt*)
                        tm_file="${tm_file} i386/crtdll.h"
                        ;;
+               *minwg32msv* | *mingw32*)
+                       ;;
        esac
        ;;
 i[34567]86-*-uwin*)
@@ -2213,13 +2256,17 @@ mipsel-*-netbsd* | mips-dec-netbsd*)    # Decstation running NetBSD
        ;;
 mips*-*-linux*)                                # Linux MIPS, either endian.
        xmake_file=x-linux
-       tm_file="linux.h mips/linux.h"
        case $machine in
                mipsisa32el-*)
-                       tm_file="mips/little.h $tm_file mips/isa32-linux.h";;
+                       tm_file="elfos.h mips/elfl.h mips/linux.h mips/isa32-linux.h"
+                       target_cpu_default="MASK_SOFT_FLOAT"
+                       ;;
                 mipsisa32-*)
-                       tm_file="$tm_file mips/isa32-linux.h";;
-               mips*el-*)  tm_file="mips/little.h $tm_file" ;;
+                       tm_file="elfos.h mips/elf.h mips/linux.h mips/isa32-linux.h"
+                       target_cpu_default="MASK_SOFT_FLOAT"
+                       ;;
+               mips*el-*)  tm_file="elfos.h mips/elfl.h mips/linux.h" ;;
+               *) tm_file="elfos.h mips/elf.h mips/linux.h"
        esac
        tmake_file="t-slibgcc-elf-ver t-linux"
        extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
@@ -2422,8 +2469,6 @@ mips-*-riscos[56789]*)            # Default MIPS RISC-OS 5.0.
                use_collect2=yes
        fi
        ;;
-mips-*-gnu*)
-       ;;
 mipsel-*-ecoff*)
        tm_file=mips/ecoffl.h
        if test x$stabs = xyes; then
@@ -2441,6 +2486,7 @@ mips-*-ecoff*)
 mipsisa32-*-elf*)
        tm_file="mips/isa3264.h mips/abi64.h"
        tmake_file=mips/t-isa3264
+       target_cpu_default="MASK_SOFT_FLOAT"
        ;;
 mipsel-*-elf*)
        tm_file="mips/elfl.h"
@@ -2483,6 +2529,7 @@ mips*-*-rtems*)
 mipstx39el-*-elf*)
        tm_file="mips/r3900.h mips/elfl.h mips/abi64.h"
        tmake_file=mips/t-r3900
+       target_cpu_default="MASK_SOFT_FLOAT"
        ;;
 mipstx39-*-elf*)
        tm_file="mips/r3900.h mips/elf.h mips/abi64.h"