OSDN Git Service

* config.host : Add x86_64-elf target.
[pf3gnuchains/gcc-fork.git] / libgcc / config.host
index f43de44..e76dff5 100644 (file)
@@ -310,6 +310,8 @@ x86_64-*-darwin*)
        ;;
 i[34567]86-*-elf*)
        ;;
+x86_64-*-elf*)
+       ;;
 i[34567]86-sequent-ptx4* | i[34567]86-sequent-sysv4*)
        ;;
 i[34567]86-*-aout*)
@@ -367,9 +369,13 @@ i[34567]86-*-sysv4*)               # Intel 80386's running system V.4
        ;;
 i[4567]86-wrs-vxworks|i[4567]86-wrs-vxworksae)
        ;;
-i[34567]86-*-pe | i[34567]86-*-cygwin*)
+i[34567]86-*-pe)
+       ;;
+i[34567]86-*-cygwin* | i[34567]86-*-mingw*)
+       extra_parts="crtbegin.o crtend.o crtfastmath.o"
+       tmake_file="i386/t-cygming i386/t-crtfm"
        ;;
-i[34567]86-*-mingw32* | x86_64-*-mingw*)
+x86_64-*-mingw*)
        ;;
 i[34567]86-*-uwin*)
        ;;
@@ -594,6 +600,8 @@ sparc-*-sysv4*)
        ;;
 sparc64-*-elf*)
        ;;
+sparc-wrs-vxworks)
+       ;;
 sparc64-*-freebsd*|ultrasparc-*-freebsd*)
        ;;
 sparc64-*-linux*)              # 64-bit SPARC's running GNU/Linux
@@ -648,3 +656,9 @@ m32c-*-elf*)
        exit 1
        ;;
 esac
+
+case ${host} in
+i[34567]86-*-linux* | x86_64-*-linux*)
+       tmake_file="${tmake_file} t-tls"
+       ;;
+esac