OSDN Git Service

* gcc.misc-tests/gcov.exp: Move almost everything to a new,
[pf3gnuchains/gcc-fork.git] / gcc / config.gcc
index 0900fe1..00ed9b3 100644 (file)
@@ -1,22 +1,22 @@
 # GCC build-, host- and target-specific configuration file.
 # Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
 
-#This file is part of GNU CC.
+#This file is part of GCC.
 
-#GNU CC 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 version.
+#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
+#version.
 
-#GNU CC is distributed in the hope that it will be useful,
-#but WITHOUT ANY WARRANTY; without even the implied warranty of
-#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#GNU General Public License for more details.
+#GCC is distributed in the hope that it will be useful, but WITHOUT
+#ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+#FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+#for more details.
 
 #You should have received a copy of the GNU General Public License
-#along with GNU CC; see the file COPYING.  If not, write to
-#the Free Software Foundation, 59 Temple Place - Suite 330,
-#Boston, MA 02111-1307, USA.
+#along with GCC; see the file COPYING.  If not, write to the Free
+#Software Foundation, 59 Temple Place - Suite 330, Boston, MA
+#02111-1307, USA.
 
 # This is the GCC build-, host- and target-specific configuration file
 # where a configuration type, as recognized and generated by config.bfd,
@@ -379,7 +379,7 @@ a29k-*-bsd* | a29k-*-sym1*)
        use_collect2=yes
        ;;
 a29k-*-udi | a29k-*-coff)
-       tm_file="${tm_file} dbxcoff.h a29k/udi.h"
+       tm_file="${tm_file} dbxcoff.h"
        tmake_file=a29k/t-a29kbare
        ;;
 a29k*-*-rtems*)
@@ -390,7 +390,7 @@ a29k*-*-rtems*)
        fi
        ;;
 a29k-wrs-vxworks*)
-       tm_file="${tm_file} dbxcoff.h a29k/udi.h a29k/vx29k.h"
+       tm_file="${tm_file} dbxcoff.h a29k/vx29k.h"
        tmake_file=a29k/t-vx29k
        extra_parts="crtbegin.o crtend.o"
        thread_file='vxworks'
@@ -398,6 +398,14 @@ a29k-wrs-vxworks*)
 a29k-*-*)                      # Default a29k environment.
        use_collect2=yes
        ;;
+alpha*-*-unicosmk*)
+       use_collect2=yes
+       tm_file="${tm_file} alpha/unicosmk.h"
+       
+       # Don't include t-ieee for now because we don't support that yet
+       # tmake_file="alpha/t-ieee"
+       tmake_file="alpha/t-unicosmk"
+       ;;
 alpha-*-interix)
        tm_file="${tm_file} alpha/alpha32.h interix.h alpha/alpha-interix.h"
 
@@ -519,6 +527,9 @@ alpha*-dec-vms*)
        xm_file=alpha/xm-vms.h
        tmake_file="alpha/t-alpha alpha/t-vms alpha/t-ieee"
        ;;
+arc-*-elf*)
+       extra_parts="crtinit.o crtfini.o"
+       ;;
 arm*-*-rtems*)
        tm_file=arm/rtems-elf.h
        tmake_file="arm/t-arm-elf t-rtems"
@@ -526,9 +537,6 @@ arm*-*-rtems*)
          thread_file='rtems'
        fi
        ;;
-arc-*-elf*)
-       extra_parts="crtinit.o crtfini.o"
-       ;;
 arm-*-coff* | armel-*-coff*)
        tm_file=arm/coff.h
        tmake_file=arm/t-arm-coff
@@ -670,6 +678,11 @@ h8300-*-rtems*)
        fi
        float_format=i32
        ;;
+h8300-*-elf*)
+       tmake_file="h8300/t-h8300 h8300/t-elf"
+       tm_file="h8300/h8300.h h8300/elf.h"
+       float_format=i32
+       ;;
 h8300-*-*)
        float_format=i32
        ;;
@@ -2200,9 +2213,9 @@ 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
-              mips*el-*)  tm_file="elfos.h mips/elfl.h mips/linux.h" ;;
-              *)         tm_file="elfos.h mips/elf.h mips/linux.h" ;;
+              mips*el-*)  tm_file="mips/little.h $tm_file" ;;
        esac
        tmake_file="t-slibgcc-elf-ver t-linux"
        extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
@@ -2779,7 +2792,7 @@ rs6000-*-lynxos*)
 s390-*-linux*) 
        xmake_file=x-linux
        tm_file=s390/linux.h
-       tmake_file="t-linux s390/t-linux"
+       tmake_file="t-slibgcc-elf-ver t-linux s390/t-linux"
        extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
        if test x$enable_threads = xyes; then
                thread_file='posix'
@@ -2788,7 +2801,7 @@ s390-*-linux*)
 s390x-*-linux*)        
        xmake_file=x-linux
        tm_file=s390/linux64.h
-       tmake_file="t-linux s390/t-linux"
+       tmake_file="t-slibgcc-elf-ver t-linux s390/t-linux"
        extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
        if test x$enable_threads = xyes; then
                thread_file='posix'
@@ -2929,7 +2942,7 @@ sparc-*-rtems*|sparc-*-rtemself*)
          thread_file='rtems'
        fi
        ;;
-sparcv9-*-solaris2*)
+sparcv9-*-solaris2* | sparc64-*-solaris2*)
        if test x$gnu_ld = xyes
        then
                tm_file=sparc/sol2-64.h
@@ -3099,6 +3112,10 @@ sparc64-*-linux*)                # 64-bit Sparc's running GNU/Linux
        fi
        float_format=sparc
        ;;
+stormy16-*-elf)
+       tmake_file="stormy16/t-stormy16"
+       extra_parts="crtbegin.o crtend.o"
+       ;;
 strongarm-*-elf*)
        tm_file=arm/strongarm-elf.h
        tmake_file=arm/t-strongarm-elf
@@ -3332,7 +3349,7 @@ powerpc*-*-* | rs6000-*-*)
                  | x601 | x602 | x603 | x603e | x604 | x604e | x620 \
                  | xec603e | x740 | x750 | x401 \
                  | x403 | x505 | x801 | x821 | x823 | x860)
-                       target_cpu_default2="\"$with_cpu\""
+                       target_cpu_default2="\\\"$with_cpu\\\""
                        ;;
 
                xyes | xno)
@@ -3378,15 +3395,6 @@ then
        fi
 fi
 
-# No need for collect2 if we have the GNU linker.
-# Actually, there is now; GNU ld doesn't handle the EH info or
-# collecting for shared libraries.
-#case x$gnu_ld in
-#xyes)
-#      use_collect2=
-#      ;;
-#esac
-
 # Save data on machine being used to compile GCC in build_xm_file.
 # Save data on host machine in vars host_xm_file and host_xmake_file.
 if test x$pass1done = x