OSDN Git Service

Commit moxie port.
[pf3gnuchains/gcc-fork.git] / libgcc / config.host
index 2374ead..cdb274e 100644 (file)
@@ -6,7 +6,7 @@
 
 #GCC is free software; you can redistribute it and/or modify it under
 #the terms of the GNU General Public License as published by the Free
-#Software Foundation; either version 2, or (at your option) any later
+#Software Foundation; either version 3, or (at your option) any later
 #version.
 
 #GCC is distributed in the hope that it will be useful, but WITHOUT
@@ -15,9 +15,8 @@
 #for more details.
 
 #You should have received a copy of the GNU General Public License
-#along with GCC; see the file COPYING.  If not, write to the Free
-#Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
-#02110-1301, USA.
+#along with GCC; see the file COPYING3.  If not see
+#<http://www.gnu.org/licenses/>.
 
 # This is the libgcc host-specific configuration file
 # where a configuration type is mapped to different system-specific
@@ -85,6 +84,8 @@ fido-*-*)
        ;;
 frv*)  cpu_type=frv
        ;;
+moxie*)        cpu_type=moxie
+       ;;
 i[34567]86-*-*)
        cpu_type=i386
        ;;
@@ -416,16 +417,14 @@ mmix-knuth-mmixware)
        ;;
 mn10300-*-*)
        ;;
+moxie-*-*)
+       tmake_file=${cpu_type}/t-moxie
+       extra_parts="crtbegin.o crtend.o crti.o crtn.o"
+       ;;
 pdp11-*-*)
        ;;
 picochip-*-*)
         ;;
-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-*-darwin*)
        ;;
 powerpc64-*-darwin*)
@@ -448,9 +447,12 @@ powerpc-*-eabi*)
        ;;
 powerpc-*-rtems*)
        ;;
-powerpc-*-linux*)
+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"
        ;;
@@ -565,7 +567,9 @@ esac
 
 case ${host} in
 i[34567]86-*-darwin* | x86_64-*-darwin* | \
-  i[34567]86-*-linux* | x86_64-*-linux*)
+  i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu | \
+  i[34567]86-*-linux* | x86_64-*-linux* | \
+  i[34567]86-*-cygwin*)
        if test "${host_address}" = 32; then
                tmake_file="${tmake_file} t-softfp i386/${host_address}/t-fprules-softfp"
        fi