* gfortran.dg/ieee/ieee_1.F90: Revert rename.
[gcc.git] / libgcc / config.host
index 8feb8f2bd04a470b0aa08fea3a6ffa572ca22135..5f13a9f18bf6303bebb728d6b112b4d0450cee6c 100644 (file)
@@ -1,5 +1,5 @@
 # libgcc host-specific configuration file.
-# Copyright (C) 1997-2013 Free Software Foundation, Inc.
+# Copyright (C) 1997-2014 Free Software Foundation, Inc.
 
 #This file is part of GCC.
 
@@ -140,12 +140,28 @@ microblaze*-*-*)
        cpu_type=microblaze
        ;;
 mips*-*-*)
+       # All MIPS targets provide a full set of FP routines.
        cpu_type=mips
-       tmake_file=mips/t-mips
+       tmake_file="mips/t-mips"
+       if test "${libgcc_cv_mips_hard_float}" = yes; then
+               tmake_file="${tmake_file} t-hardfp-sfdf t-hardfp"
+       else
+               tmake_file="${tmake_file} t-softfp-sfdf"
+       fi
+       if test "${ac_cv_sizeof_long_double}" = 16; then
+               tmake_file="${tmake_file} mips/t-softfp-tf"
+       fi
+       if test "${host_address}" = 64; then
+               tmake_file="${tmake_file} mips/t-mips64"
+       fi
+       tmake_file="${tmake_file} t-softfp"
        ;;
 nds32*-*)
        cpu_type=nds32
        ;;
+nios2*-*-*)
+       cpu_type=nios2
+       ;;
 powerpc*-*-*)
        cpu_type=rs6000
        ;;
@@ -170,6 +186,12 @@ s390*-*-*)
 sh[123456789lbe]*-*-*)
        cpu_type=sh
        ;;
+tilegx*-*-*)
+       cpu_type=tilegx
+       ;;
+tilepro*-*-*)
+       cpu_type=tilepro
+       ;;
 v850*-*-*)
        cpu_type=v850
        ;;
@@ -185,6 +207,11 @@ case ${host} in
   tmake_file="$tmake_file t-darwin ${cpu_type}/t-darwin t-libgcc-pic t-slibgcc-darwin"
   extra_parts="crt3.o crttms.o crttme.o"
   ;;
+*-*-dragonfly*)
+  tmake_file="$tmake_file t-crtstuff-pic t-libgcc-pic t-eh-dw2-dip"
+  tmake_file="$tmake_file t-slibgcc t-slibgcc-gld t-slibgcc-elf-ver"
+  extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
+  ;;
 *-*-freebsd*)
   # This is the generic ELF configuration of FreeBSD.  Later
   # machine-specific sections may refine and add to this
@@ -206,7 +233,10 @@ case ${host} in
   ;;
 *-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | *-*-knetbsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu)
   tmake_file="$tmake_file t-crtstuff-pic t-libgcc-pic t-eh-dw2-dip t-slibgcc t-slibgcc-gld t-slibgcc-elf-ver t-linux"
-  extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o vtv_start.o vtv_end.o vtv_start_preinit.o vtv_end_preinit.o"
+  extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
+  if test x$enable_vtable_verify = xyes; then
+    extra_parts="$extra_parts vtv_start.o vtv_end.o vtv_start_preinit.o vtv_end_preinit.o"
+  fi
   ;;
 *-*-lynxos*)
   tmake_file="$tmake_file t-lynx $cpu_type/t-crtstuff t-crtstuff-pic t-libgcc-pic"
@@ -277,7 +307,8 @@ case ${host} in
 esac
 
 case ${host} in
-*-*-darwin* | *-*-freebsd* | *-*-netbsd* | *-*-openbsd* | *-*-solaris2*)
+*-*-darwin* | *-*-dragonfly* | *-*-freebsd* | *-*-netbsd* | *-*-openbsd* | \
+  *-*-solaris2*)
   enable_execute_stack=enable-execute-stack-mprotect.c
   ;;
 i[34567]86-*-mingw* | x86_64-*-mingw*)
@@ -348,10 +379,10 @@ arm*-*-linux*)                    # ARM GNU/Linux with ELF
        ;;
 arm*-*-uclinux*)               # ARM ucLinux
        tmake_file="${tmake_file} t-fixedpoint-gnu-prefix"
+       tmake_file="$tmake_file arm/t-arm arm/t-elf t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp"
        tmake_file="${tmake_file} arm/t-bpabi"
        tm_file="$tm_file arm/bpabi-lib.h"
        unwind_header=config/arm/unwind-arm.h
-       tmake_file="$tmake_file arm/t-arm arm/t-elf t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp"
        extra_parts="$extra_parts crti.o crtn.o"
        ;;
 arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*)
@@ -520,6 +551,14 @@ i[34567]86-*-elf*)
 x86_64-*-elf*)
        tmake_file="$tmake_file i386/t-crtstuff t-crtstuff-pic t-libgcc-pic"
        ;;
+i[34567]86-*-dragonfly*)
+       tmake_file="${tmake_file} i386/t-dragonfly i386/t-crtstuff"
+       md_unwind_header=i386/dragonfly-unwind.h
+       ;;
+x86_64-*-dragonfly*)
+       tmake_file="${tmake_file} i386/t-dragonfly i386/t-crtstuff"
+       md_unwind_header=i386/dragonfly-unwind.h
+       ;;
 i[34567]86-*-freebsd*)
        tmake_file="${tmake_file} i386/t-freebsd i386/t-crtstuff"
        ;;
@@ -754,6 +793,10 @@ microblaze*-*-elf)
        tmake_file="${tmake_file} microblaze/t-microblaze t-fdpbit"
        extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o crti.o crtn.o"
        ;;
+microblaze*-*-rtems*)
+       tmake_file="${tmake_file} microblaze/t-microblaze t-fdpbit"
+       extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o crti.o crtn.o"
+       ;;
 mips*-*-netbsd*)                       # NetBSD/mips, either endian.
        ;;
 mips*-*-linux*)                                # Linux MIPS, either endian.
@@ -769,9 +812,6 @@ mips*-*-linux*)                             # Linux MIPS, either endian.
            ;;
        esac
        md_unwind_header=mips/linux-unwind.h
-       if test "${ac_cv_sizeof_long_double}" = 16; then
-               tmake_file="${tmake_file} mips/t-tpbit"
-       fi
        ;;
 mips*-sde-elf*)
        tmake_file="$tmake_file mips/t-crtstuff mips/t-mips16"
@@ -876,6 +916,15 @@ nds32*-elf*)
                ;;
        esac
        ;;
+nios2-*-linux*)
+       tmake_file="$tmake_file nios2/t-nios2 nios2/t-linux t-libgcc-pic t-slibgcc-libgcc"
+       extra_parts="$extra_parts crti.o crtn.o"
+       md_unwind_header=nios2/linux-unwind.h
+       ;;
+nios2-*-*)
+       tmake_file="$tmake_file nios2/t-nios2 t-softfp-sfdf t-softfp-excl t-softfp"
+       extra_parts="$extra_parts crti.o crtn.o"
+       ;;
 pdp11-*-*)
        tmake_file="pdp11/t-pdp11 t-fdpbit"
        ;;
@@ -993,6 +1042,9 @@ s390-*-linux*)
        ;;
 s390x-*-linux*)
        tmake_file="${tmake_file} s390/t-crtstuff s390/t-linux"
+       if test "${host_address}" = 32; then
+          tmake_file="${tmake_file} s390/32/t-floattodi"
+       fi
        md_unwind_header=s390/linux-unwind.h
        ;;
 s390x-ibm-tpf*)
@@ -1151,16 +1203,16 @@ tic6x-*-elf)
        extra_parts="$extra_parts crtbeginS.o crtendS.o crti.o crtn.o"
        unwind_header=config/c6x/unwind-c6x.h
        ;;
-tilegx-*-linux*)
+tilegx*-*-linux*)
        tmake_file="${tmake_file} tilegx/t-crtstuff t-softfp-sfdf tilegx/t-softfp t-softfp tilegx/t-tilegx"
        md_unwind_header=tilepro/linux-unwind.h
         ;;
-tilepro-*-linux*)
+tilepro*-*-linux*)
        tmake_file="${tmake_file} tilepro/t-crtstuff t-softfp-sfdf t-softfp tilepro/t-tilepro"
        md_unwind_header=tilepro/linux-unwind.h
         ;;
 v850*-*-*)
-       tmake_file="v850/t-v850 t-fdpbit"
+       tmake_file="${tmake_file} v850/t-v850 t-fdpbit"
        ;;
 vax-*-linux*)
        tmake_file="$tmake_file vax/t-linux"
@@ -1177,7 +1229,7 @@ xtensa*-*-elf*)
        extra_parts="$extra_parts crti.o crtn.o"
        ;;
 xtensa*-*-linux*)
-       tmake_file="$tmake_file xtensa/t-xtensa xtensa/t-linux"
+       tmake_file="$tmake_file xtensa/t-xtensa xtensa/t-linux t-slibgcc-libgcc"
        md_unwind_header=xtensa/linux-unwind.h
        ;;
 am33_2.0-*-linux*)
@@ -1224,6 +1276,7 @@ i[34567]86-*-darwin* | x86_64-*-darwin* | \
   i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]* | \
   i[34567]86-*-cygwin* | x86_64-*-cygwin* | \
   i[34567]86-*-mingw* | x86_64-*-mingw* | \
+  i[34567]86-*-dragonfly* | x86_64-*-dragonfly* | \
   i[34567]86-*-freebsd* | x86_64-*-freebsd* | \
   i[34567]86-*-openbsd* | x86_64-*-openbsd*)
        tmake_file="${tmake_file} t-softfp-tf"