OSDN Git Service

* gcse.c (insert_store): Fix typo in previous patch.
[pf3gnuchains/gcc-fork.git] / gcc / config.gcc
index ac635f4..427298e 100644 (file)
@@ -276,6 +276,9 @@ alpha*-*-*)
        cpu_type=alpha
        need_64bit_hwint=yes
        ;;
+am33_2.0-*-linux*)
+       cpu_type=mn10300
+       ;;
 strongarm*-*-*)
        cpu_type=arm
        ;;
@@ -292,11 +295,11 @@ xscale-*-*)
        ;;
 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-*-*)
@@ -1391,21 +1394,23 @@ mcore-*-pe*)
        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
@@ -1414,21 +1419,24 @@ mips-sgi-irix6*o32)             # SGI System V.4., IRIX 6, O32 ABI
 #      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
@@ -1436,20 +1444,21 @@ mips-sgi-irix5cross64)          # Irix5 host, Irix 6 target, cross64
 #      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
@@ -1492,10 +1501,11 @@ mips*-*-linux*)                         # Linux MIPS, either endian.
        ;;
 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"
@@ -1796,6 +1806,8 @@ sh-*-elf* | sh[2346l]*-*-elf* | sh*-*-kaos*)
        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
        ;;
@@ -2143,6 +2155,16 @@ xtensa-*-linux*)
        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
@@ -2442,6 +2464,35 @@ then
                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"
 
@@ -2606,7 +2657,7 @@ then
        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"