X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=libgcc%2Fconfig.host;h=d695b44182dd049cc90d89db7ef9f1bb0505326d;hp=3e575ab7cb66e1bd428ee620f1c7196896b2c13f;hb=19872d0b68288db5da85d3db3f89d9d70080644f;hpb=6d057ce805c5cb919770002e6b07f6c9803c45d9 diff --git a/libgcc/config.host b/libgcc/config.host index 3e575ab7cb6..d695b44182d 100644 --- a/libgcc/config.host +++ b/libgcc/config.host @@ -1,6 +1,6 @@ # libgcc host-specific configuration file. -# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 -# Free Software Foundation, Inc. +# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, +# 2008 Free Software Foundation, Inc. #This file is part of GCC. @@ -77,12 +77,18 @@ strongarm*-*-*) arm*-*-*) cpu_type=arm ;; +avr-*-*) + cpu_type=avr + ;; bfin*-*) cpu_type=bfin ;; ep9312*-*-*) cpu_type=arm ;; +fido-*-*) + cpu_type=m68k + ;; frv*) cpu_type=frv ;; xscale-*-*) @@ -134,9 +140,6 @@ s390*-*-*) sh[123456789lbe]*-*-*) cpu_type=sh ;; -tic4x-*-*) - cpu_type=c4x - ;; esac # Common parts for widely ported systems. @@ -243,6 +246,8 @@ arm*-*-kaos*) avr-*-rtems*) ;; avr-*-*) + # Make HImode functions for AVR + tmake_file=${cpu_type}/t-avr ;; bfin*-elf*) ;; @@ -255,27 +260,23 @@ bfin*-linux-uclibc*) ;; bfin*-*) ;; -c4x-*-rtems* | tic4x-*-rtems*) - ;; -c4x-* | tic4x-*) - ;; cris-*-aout) ;; -cris-*-elf | cris-*-none) +crisv32-*-elf | crisv32-*-none | cris-*-elf | cris-*-none) extra_parts="crtbegin.o crtend.o" ;; -cris-*-linux*) +cris-*-linux* | crisv32-*-linux*) ;; crx-*-elf) ;; +fido-*-elf) + ;; fr30-*-elf) ;; frv-*-elf) ;; frv-*-*linux*) ;; -h8300-*-rtemscoff*) - ;; h8300-*-rtems*) ;; h8300-*-elf*) @@ -305,6 +306,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*) @@ -362,9 +365,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*) ;; @@ -373,6 +380,8 @@ i[34567]86-*-interix3*) i[34567]86-*-kaos*) ;; ia64*-*-elf*) + extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o" + tmake_file="ia64/t-ia64" ;; ia64*-*-freebsd*) ;; @@ -460,11 +469,6 @@ mn10300-*-*) ;; mt-*-elf) ;; -ns32k-*-netbsdelf*) - echo "GCC does not yet support the ${host} target"; exit 1 - ;; -ns32k-*-netbsd*) - ;; pdp11-*-bsd) ;; pdp11-*-*) @@ -561,8 +565,6 @@ sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | \ ;; esac ;; -sh-*-rtemscoff*) - ;; sh-*-rtems*) ;; sh-wrs-vxworks) @@ -589,6 +591,8 @@ sparc-*-sysv4*) ;; sparc64-*-elf*) ;; +sparc-wrs-vxworks) + ;; sparc64-*-freebsd*|ultrasparc-*-freebsd*) ;; sparc64-*-linux*) # 64-bit SPARC's running GNU/Linux @@ -643,3 +647,9 @@ m32c-*-elf*) exit 1 ;; esac + +case ${host} in +i[34567]86-*-linux* | x86_64-*-linux*) + tmake_file="${tmake_file} t-tls" + ;; +esac