OSDN Git Service

01e2f21a7978bf23c0903df502489cb712b0fbd5
[pf3gnuchains/gcc-fork.git] / libgcc / config.host
1 # libgcc host-specific configuration file.
2 # Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
3 # 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
4
5 #This file is part of GCC.
6
7 #GCC is free software; you can redistribute it and/or modify it under
8 #the terms of the GNU General Public License as published by the Free
9 #Software Foundation; either version 3, or (at your option) any later
10 #version.
11
12 #GCC is distributed in the hope that it will be useful, but WITHOUT
13 #ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 #FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
15 #for more details.
16
17 #You should have received a copy of the GNU General Public License
18 #along with GCC; see the file COPYING3.  If not see
19 #<http://www.gnu.org/licenses/>.
20
21 # This is the libgcc host-specific configuration file
22 # where a configuration type is mapped to different system-specific
23 # definitions and files.  This is invoked by the autoconf-generated
24 # configure script.  Putting it in a separate shell file lets us skip
25 # running autoconf when modifying host-specific information.
26
27 # This file bears an obvious resemblance to gcc/config.gcc.  The cases
28 # should be kept similar, to ease moving library-specific settings
29 # from config.gcc to this file.  That is also why tmake_file is
30 # left as tmake_file, rather than hmake_file, even though this library
31 # switches on ${host}.
32
33 # This file switches on the shell variable ${host}, and also uses the
34 # following shell variables:
35 #
36 #  with_*               Various variables as set by configure.
37
38 # This file sets the following shell variables for use by the
39 # autoconf-generated configure script:
40 #
41 #  asm_hidden_op        The assembler pseudo-op to use for hide
42 #                       lists for object files implemented in
43 #                       assembly (with -fvisibility=hidden for C).
44 #                       The default is ".hidden".
45 #  cpu_type             The name of the cpu, if different from the first
46 #                       chunk of the canonical host name.
47 #  enable_execute_stack The name of a source file implementing
48 #                       __enable_execute_stack.
49 #  extra_parts          List of extra object files that should be compiled
50 #                       for this target machine.  This may be overridden
51 #                       by setting EXTRA_PARTS in a tmake_file fragment.
52 #                       If either is set, EXTRA_PARTS and
53 #                       EXTRA_MULTILIB_PARTS inherited from the GCC
54 #                       subdirectory will be ignored.
55 #  md_unwind_header     The name of a header file defining
56 #                       MD_FALLBACK_FRAME_STATE_FOR.
57 #  sfp_machine_header   The name of a sfp-machine.h header file for soft-fp.
58 #                       Defaults to "$cpu_type/sfp-machine.h" if it exists,
59 #                       no-sfp-machine.h otherwise.
60 #  tmake_file           A list of machine-description-specific
61 #                       makefile-fragments, if different from
62 #                       "$cpu_type/t-$cpu_type".
63 #  unwind_header        The name of the header file declaring the unwind
64 #                       runtime interface routines.
65
66 asm_hidden_op=.hidden
67 enable_execute_stack=
68 extra_parts=
69 tmake_file=
70 md_unwind_header=no-unwind.h
71 unwind_header=unwind-generic.h
72
73 # Set default cpu_type so it can be updated in each machine entry.
74 cpu_type=`echo ${host} | sed 's/-.*$//'`
75 case ${host} in
76 m32c*-*-*)
77         cpu_type=m32c
78         tmake_file=t-fdpbit
79         ;;
80 alpha*-*-*)
81         cpu_type=alpha
82         ;;
83 am33_2.0-*-linux*)
84         cpu_type=mn10300
85         ;;
86 arm*-*-*)
87         cpu_type=arm
88         ;;
89 avr-*-*)
90         cpu_type=avr
91         ;;    
92 bfin*-*)
93         cpu_type=bfin
94         ;;
95 fido-*-*)
96         cpu_type=m68k
97         ;;
98 frv*)   cpu_type=frv
99         ;;
100 moxie*) cpu_type=moxie
101         ;;
102 i[34567]86-*-*)
103         cpu_type=i386
104         ;;
105 x86_64-*-*)
106         cpu_type=i386
107         ;;
108 ia64-*-*)
109         ;;
110 hppa*-*-*)
111         cpu_type=pa
112         ;;
113 lm32*-*-*)
114         cpu_type=lm32
115         ;;
116 m32r*-*-*)
117         cpu_type=m32r
118         ;;
119 m68k-*-*)
120         ;;
121 mep*-*-*)
122         ;;
123 microblaze*-*-*)
124         cpu_type=microblaze
125         ;;
126 mips*-*-*)
127         cpu_type=mips
128         tmake_file=mips/t-mips
129         ;;
130 powerpc*-*-*)
131         cpu_type=rs6000
132         ;;
133 rs6000*-*-*)
134         ;;
135 score*-*-*)
136         cpu_type=score
137         ;;
138 sparc64*-*-*)
139         cpu_type=sparc
140         ;;
141 sparc*-*-*)
142         cpu_type=sparc
143         ;;
144 spu*-*-*)
145         cpu_type=spu
146         ;;
147 s390*-*-*)
148         cpu_type=s390
149         ;;
150 # Note the 'l'; we need to be able to match e.g. "shle" or "shl".
151 sh[123456789lbe]*-*-*)
152         cpu_type=sh
153         ;;
154 v850*-*-*)
155         cpu_type=v850
156         ;;
157 tic6x-*-*)
158         cpu_type=c6x
159         ;;
160 esac
161
162 # Common parts for widely ported systems.
163 case ${host} in
164 *-*-darwin*)
165   asm_hidden_op=.private_extern
166   tmake_file="$tmake_file t-darwin ${cpu_type}/t-darwin t-slibgcc-darwin"
167   extra_parts=crt3.o
168   ;;
169 *-*-freebsd[12] | *-*-freebsd[12].* | *-*-freebsd*aout*)
170   # This is the place-holder for the generic a.out configuration
171   # of FreeBSD.  No actual configuration resides here since
172   # there was only ever a bare-bones ix86 configuration for
173   # a.out and it exists solely in the machine-specific section.
174   # This place-holder must exist to avoid dropping into
175   # the generic ELF configuration of FreeBSD (i.e. it must be
176   # ordered before that section).
177   ;;
178 *-*-freebsd*)
179   # This is the generic ELF configuration of FreeBSD.  Later
180   # machine-specific sections may refine and add to this
181   # configuration.
182   tmake_file="$tmake_file t-crtstuff-pic t-eh-dw2-dip t-slibgcc t-slibgcc-gld t-slibgcc-elf-ver"
183   extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
184   case ${target_thread_file} in
185     posix)
186       # Before 5.0, FreeBSD can't bind shared libraries to -lc
187       # when "optionally" threaded via weak pthread_* checks.
188       case ${host} in
189         *-*-freebsd[34] | *-*-freebsd[34].*)
190           tmake_file="${tmake_file} t-slibgcc-nolc-override"
191           ;;
192       esac
193       ;;
194   esac
195   ;;
196 *-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | *-*-knetbsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu)
197   tmake_file="$tmake_file t-crtstuff-pic t-eh-dw2-dip t-slibgcc t-slibgcc-gld t-slibgcc-elf-ver t-linux"
198   extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
199   ;;
200 *-*-lynxos*)
201   tmake_file="$tmake_file $cpu_type/t-crtstuff t-crtstuff-pic"
202   extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
203   ;;
204 *-*-netbsd*)
205   tmake_file="$tmake_file t-crtstuff-pic t-slibgcc t-slibgcc-gld t-slibgcc-elf-ver"
206   # NetBSD 1.7 and later are set up to use GCC's crtstuff for
207   # ELF configurations.  We will clear extra_parts in the
208   # a.out configurations.
209   case ${host} in
210     *-*-netbsd*1.[7-9]* | *-*-netbsd[2-9]* | *-*-netbsdelf[2-9]*)
211       extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o"
212       ;;
213   esac
214   ;;
215 *-*-openbsd*)
216   tmake_file="$tmake_file t-crtstuff-pic"
217   ;;
218 *-*-rtems*)
219   extra_parts="crtbegin.o crtend.o"
220   ;;
221 *-*-solaris2*)
222   # Unless linker support and dl_iterate_phdr are present,
223   # unwind-dw2-fde-dip.c automatically falls back to unwind-dw2-fde.c.
224   tmake_file="$tmake_file t-sol2 t-eh-dw2-dip t-slibgcc t-slibgcc-elf-ver"
225   if test $with_gnu_ld = yes; then
226     tmake_file="$tmake_file t-slibgcc-gld"
227   else
228     tmake_file="$tmake_file t-slibgcc-sld"
229   fi
230   # Add cpu-specific t-sol2 after t-slibgcc-* so it can augment SHLIB_MAPFILES.
231   tmake_file="$tmake_file $cpu_type/t-sol2"
232   extra_parts="gmon.o crtbegin.o crtend.o"
233   case ${host} in
234     i?86-*-solaris2.1[0-9]* | x86_64-*-solaris2.1[0-9]*)
235       # Solaris 10+/x86 provides crt1.o, crti.o, crtn.o, and gcrt1.o as
236       # part of the base system.
237       ;;
238     sparc*-*-solaris2.1[0-9]*)
239       # Solaris 10+/SPARC lacks crt1.o and gcrt1.o.
240       extra_parts="$extra_parts crt1.o gcrt1.o"
241       ;;
242     *)
243       extra_parts="$extra_parts crt1.o crti.o crtn.o gcrt1.o"
244       ;;
245   esac
246   ;;
247 *-*-uclinux*)
248   extra_parts="crtbegin.o crtend.o"
249   ;;
250 *-*-*vms*)
251   tmake_file="vms/t-vms"
252   extra_parts="vcrt0.o pcrt0.o crtbegin.o crtbeginS.o crtend.o crtendS.o"
253   ;;
254 *-*-vxworks*)
255   ;;
256 *-*-elf)
257   extra_parts="crtbegin.o crtend.o"
258   ;;
259 esac
260
261 case ${host} in
262 *-*-darwin* | *-*-freebsd* | *-*-netbsd* | *-*-openbsd* | *-*-solaris2* | \
263   alpha*-dec-osf5.1*)
264   enable_execute_stack=enable-execute-stack-mprotect.c
265   ;;
266 i[34567]86-*-mingw* | x86_64-*-mingw*)
267   enable_execute_stack=config/i386/enable-execute-stack-mingw32.c
268   ;;
269 *)
270   enable_execute_stack=enable-execute-stack-empty.c;
271   ;;
272 esac
273
274 case ${host} in
275 alpha*-*-linux*)
276         tmake_file="${tmake_file} t-crtfm alpha/t-linux"
277         extra_parts="$extra_parts crtfastmath.o"
278         md_unwind_header=alpha/linux-unwind.h
279         ;;
280 alpha*-*-freebsd*)
281         tmake_file="${tmake_file} t-crtfm"
282         extra_parts="$extra_parts crtbeginT.o crtfastmath.o"
283         ;;
284 alpha*-*-netbsd*)
285         ;;
286 alpha*-*-openbsd*)
287         ;;
288 alpha*-dec-osf5.1*)
289         tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee t-crtfm t-slibgcc alpha/t-slibgcc-osf"
290         case ${target_thread_file} in
291           posix)
292             tmake_file="${tmake_file} alpha/t-osf-pthread"
293             ;;
294         esac
295         extra_parts="${extra_parts} qrnnd.o crtfastmath.o gthr-posix.o"
296         md_unwind_header=alpha/osf5-unwind.h
297         ;;
298 alpha64-dec-*vms*)
299         tmake_file="$tmake_file alpha/t-vms t-slibgcc-vms"
300         extra_parts="$extra_parts vms-dwarf2.o vms-dwarf2eh.o"
301         md_unwind_header=alpha/vms-unwind.h
302         ;;
303 alpha*-dec-*vms*)
304         tmake_file="$tmake_file alpha/t-vms t-slibgcc-vms"
305         extra_parts="$extra_parts vms-dwarf2.o vms-dwarf2eh.o"
306         md_unwind_header=alpha/vms-unwind.h
307         ;;
308 arm-wrs-vxworks)
309         tmake_file="$tmake_file t-fdpbit"
310         extra_parts="$extra_parts crti.o crtn.o"
311         ;;
312 arm*-*-freebsd*)
313         tmake_file="$tmake_file t-fdpbit"
314         ;;
315 arm*-*-netbsdelf*)
316         tmake_file="$tmake_file t-slibgcc-gld-nover"
317         ;;
318 arm*-*-linux*)                  # ARM GNU/Linux with ELF
319         tmake_file="${tmake_file} t-fixedpoint-gnu-prefix"
320         case ${host} in
321         arm*-*-linux-*eabi)
322           tmake_file="${tmake_file} arm/t-bpabi t-slibgcc-libgcc"
323           unwind_header=config/arm/unwind-arm.h
324           ;;
325         esac
326         tmake_file="$tmake_file t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp"
327         ;;
328 arm*-*-uclinux*)                # ARM ucLinux
329         tmake_file="${tmake_file} t-fixedpoint-gnu-prefix"
330         case ${host} in
331         arm*-*-uclinux*eabi)
332           tmake_file="${tmake_file} arm/t-bpabi"
333           unwind_header=config/arm/unwind-arm.h
334           ;;
335         esac
336         tmake_file="$tmake_file t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp"
337         extra_parts="$extra_parts crti.o crtn.o"
338         ;;
339 arm*-*-ecos-elf)
340         tmake_file="$tmake_file t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp"
341         extra_parts="$extra_parts crti.o crtn.o"
342         ;;
343 arm*-*-eabi* | arm*-*-symbianelf* )
344         tmake_file="${tmake_file} t-fixedpoint-gnu-prefix"
345         case ${host} in
346         arm*-*-eabi*)
347           tmake_file="${tmake_file} arm/t-bpabi"
348           extra_parts="crtbegin.o crtend.o crti.o crtn.o"
349           ;;
350         arm*-*-symbianelf*)
351           tmake_file="${tmake_file} arm/t-symbian t-slibgcc-nolc-override"
352           # Symbian OS provides its own startup code.
353           ;;
354         esac
355         tmake_file="$tmake_file t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp"
356         unwind_header=config/arm/unwind-arm.h
357         ;;
358 arm*-*-rtems*)
359         tmake_file="$tmake_file t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp"
360         extra_parts="$extra_parts crti.o crtn.o"
361         ;;
362 arm*-*-elf)
363         tmake_file="$tmake_file t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp"
364         extra_parts="$extra_parts crti.o crtn.o"
365         ;;
366 arm*-wince-pe*)
367         ;;
368 avr-*-rtems*)
369         tmake_file=t-fpbit
370         # Don't use default.
371         extra_parts=
372         ;;
373 avr-*-*)
374         # Make HImode functions for AVR
375         tmake_file="${cpu_type}/t-avr t-fpbit"
376         ;;
377 bfin*-elf*)
378         tmake_file="bfin/t-crtlibid bfin/t-crtstuff t-fdpbit"
379         extra_parts="$extra_parts crtbeginS.o crtendS.o crti.o crtn.o crtlibid.o"
380         ;;
381 bfin*-uclinux*)
382         tmake_file="bfin/t-crtlibid bfin/t-crtstuff t-fdpbit"
383         extra_parts="$extra_parts crtbeginS.o crtendS.o crtlibid.o"
384         md_unwind_header=bfin/linux-unwind.h
385         ;;
386 bfin*-linux-uclibc*)
387         tmake_file="$tmake_file bfin/t-crtstuff t-fdpbit bfin/t-linux"
388         # No need to build crtbeginT.o on uClibc systems.  Should probably
389         # be moved to the OS specific section above.
390         extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
391         md_unwind_header=bfin/linux-unwind.h
392         ;;
393 bfin*-rtems*)
394         tmake_file="$tmake_file t-fdpbit"
395         extra_parts="$extra_parts crti.o crtn.o"
396         ;;
397 bfin*-*)
398         tmake_file="$tmake_file t-fdpbit"
399         extra_parts="crtbegin.o crtend.o crti.o crtn.o"
400         ;;
401 crisv32-*-elf)
402         tmake_file=t-fdpbit
403         ;;
404 crisv32-*-none)
405         tmake_file=t-fdpbit
406         extra_parts="crtbegin.o crtend.o"
407         ;;
408 cris-*-elf)
409         tmake_file="$tmake_file cris/t-elfmulti"
410         ;;
411 cris-*-none)
412         tmake_file="$tmake_file cris/t-elfmulti"
413         extra_parts="crtbegin.o crtend.o"
414         ;;
415 cris-*-linux* | crisv32-*-linux*)
416         tmake_file="$tmake_file t-fdpbit cris/t-linux"
417         ;;
418 fido-*-elf)
419         ;;
420 fr30-*-elf)
421         tmake_file="$tmake_file t-fdpbit"
422         extra_parts="$extra_parts crti.o crtn.o"
423         ;;
424 frv-*-elf)
425         tmake_file="$tmake_file frv/t-frv t-fdpbit"
426         # Don't use crtbegin.o, crtend.o.
427         extra_parts="frvbegin.o frvend.o"
428         ;;
429 frv-*-*linux*)
430         tmake_file="$tmake_file t-fdpbit frv/t-linux"
431         ;;
432 h8300-*-rtems*)
433         tmake_file="$tmake_file t-fpbit"
434         extra_parts="$extra_parts crti.o crtn.o"
435         ;;
436 h8300-*-elf*)
437         tmake_file="$tmake_file t-fpbit"
438         extra_parts="$extra_parts crti.o crtn.o"
439         ;;
440 hppa*64*-*-linux*)
441         ;;
442 hppa*-*-linux*)
443         tmake_file="$tmake_file t-slibgcc-libgcc"
444         # Set the libgcc version number
445         if test x$enable_sjlj_exceptions = xyes; then
446             tmake_file="$tmake_file pa/t-slibgcc-sjlj-ver"
447         else
448             tmake_file="$tmake_file pa/t-slibgcc-dwarf-ver"
449         fi
450         md_unwind_header=pa/linux-unwind.h
451         ;;
452 hppa[12]*-*-hpux10*)
453         tmake_file="$tmake_file t-slibgcc"
454         # Set the libgcc version number
455         if test x$enable_sjlj_exceptions = xyes; then
456             tmake_file="$tmake_file pa/t-slibgcc-sjlj-ver"
457         else
458             tmake_file="$tmake_file pa/t-slibgcc-dwarf-ver"
459         fi
460         tmake_file="$tmake_file pa/t-slibgcc-hpux t-slibgcc-hpux"
461         md_unwind_header=pa/hpux-unwind.h
462         ;;
463 hppa*64*-*-hpux11*)
464         tmake_file="$tmake_file pa/t-stublib pa/t-stublib64 t-slibgcc"
465         # Set the libgcc version number
466         if test x$enable_sjlj_exceptions = xyes; then
467             tmake_file="$tmake_file pa/t-slibgcc-sjlj-ver"
468         else
469             tmake_file="$tmake_file pa/t-slibgcc-dwarf-ver"
470         fi
471         tmake_file="$tmake_file pa/t-slibgcc-hpux t-slibgcc-hpux"
472         extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o \
473                      libgcc_stub.a"
474         md_unwind_header=pa/hpux-unwind.h
475         ;;
476 hppa[12]*-*-hpux11*)
477         tmake_file="$tmake_file pa/t-stublib t-slibgcc"
478         # Set the libgcc version number
479         if test x$enable_sjlj_exceptions = xyes; then
480             tmake_file="$tmake_file pa/t-slibgcc-sjlj-ver"
481         else
482             tmake_file="$tmake_file pa/t-slibgcc-dwarf-ver"
483         fi
484         tmake_file="$tmake_file pa/t-slibgcc-hpux t-slibgcc-hpux"
485         extra_parts="libgcc_stub.a"
486         md_unwind_header=pa/hpux-unwind.h
487         ;;
488 i[34567]86-*-darwin*)
489         tmake_file="$tmake_file i386/t-crtpc i386/t-crtfm"
490         extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
491         ;;
492 x86_64-*-darwin*)
493         tmake_file="$tmake_file i386/t-crtpc i386/t-crtfm"
494         extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
495         ;;
496 i[34567]86-*-elf*)
497         tmake_file="$tmake_file i386/t-crtstuff t-crtstuff-pic"
498         ;;
499 x86_64-*-elf*)
500         tmake_file="$tmake_file i386/t-crtstuff t-crtstuff-pic"
501         ;;
502 i[34567]86-*-freebsd*)
503         tmake_file="${tmake_file} i386/t-freebsd i386/t-crtstuff"
504         ;;
505 x86_64-*-freebsd*)
506         tmake_file="${tmake_file} i386/t-freebsd i386/t-crtstuff"
507         ;;
508 i[34567]86-*-netbsdelf*)
509         ;;
510 x86_64-*-netbsd*)
511         tmake_file="${tmake_file} i386/t-crtstuff"
512         ;;
513 i[34567]86-*-openbsd2.*|i[34567]86-*openbsd3.[0123])
514         ;;
515 i[34567]86-*-openbsd*)
516         ;;
517 i[34567]86-*-linux*)
518         extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
519         tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm i386/t-crtstuff t-dfprules"
520         md_unwind_header=i386/linux-unwind.h
521         ;;
522 i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu)
523         extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
524         tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm i386/t-crtstuff t-dfprules"
525         ;;
526 x86_64-*-linux*)
527         extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
528         tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm i386/t-crtstuff t-dfprules"
529         md_unwind_header=i386/linux-unwind.h
530         ;;
531 x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu)
532         extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
533         tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm i386/t-crtstuff t-dfprules"
534         ;;
535 i[34567]86-pc-msdosdjgpp*)
536         ;;
537 i[34567]86-*-lynxos*)
538         ;;
539 i[34567]86-*-nto-qnx*)
540         tmake_file="$tmake_file i386/t-nto"
541         extra_parts=crtbegin.o
542         ;;
543 i[34567]86-*-rtems*)
544         extra_parts="$extra_parts crti.o crtn.o"
545         tmake_file="${tmake_file} i386/t-softfp i386/t-crtstuff t-rtems"
546         ;;
547 i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*)
548         tmake_file="$tmake_file i386/t-crtpc i386/t-crtfm"
549         extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
550         md_unwind_header=i386/sol2-unwind.h
551         ;;
552 i[4567]86-wrs-vxworks|i[4567]86-wrs-vxworksae)
553         ;;
554 i[34567]86-*-cygwin*)
555         extra_parts="crtbegin.o crtend.o crtfastmath.o"
556         # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h
557         if test x$enable_sjlj_exceptions = xyes; then
558                 tmake_eh_file="i386/t-sjlj-eh"
559         else
560                 tmake_eh_file="i386/t-dw2-eh"
561         fi
562         # Shared libgcc DLL install dir depends on cross/native build.
563         if test x${build} = x${host} ; then
564                 tmake_dlldir_file="i386/t-dlldir"
565         else
566                 tmake_dlldir_file="i386/t-dlldir-x"
567         fi
568         tmake_file="${tmake_file} ${tmake_eh_file} ${tmake_dlldir_file} i386/t-slibgcc-cygming i386/t-cygming i386/t-cygwin i386/t-crtfm t-dfprules"
569         case ${target_thread_file} in
570           posix)
571             tmake_file="i386/t-mingw-pthread $tmake_file"
572             ;;
573         esac
574         ;;
575 i[34567]86-*-mingw*)
576         extra_parts="crtbegin.o crtend.o crtfastmath.o"
577         # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h
578         if test x$enable_sjlj_exceptions = xyes; then
579                 tmake_eh_file="i386/t-sjlj-eh"
580         else
581                 tmake_eh_file="i386/t-dw2-eh"
582         fi
583         # Shared libgcc DLL install dir depends on cross/native build.
584         if test x${build} = x${host} ; then
585                 tmake_dlldir_file="i386/t-dlldir"
586         else
587                 tmake_dlldir_file="i386/t-dlldir-x"
588         fi
589         tmake_file="${tmake_file} ${tmake_eh_file} ${tmake_dlldir_file} i386/t-slibgcc-cygming i386/t-cygming i386/t-mingw32 i386/t-crtfm t-dfprules"
590         md_unwind_header=i386/w32-unwind.h
591         ;;
592 x86_64-*-mingw*)
593         # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h
594         if test x$enable_sjlj_exceptions = xyes; then
595                 tmake_eh_file="i386/t-sjlj-eh"
596         else
597                 tmake_eh_file="i386/t-dw2-eh"
598         fi
599         # Shared libgcc DLL install dir depends on cross/native build.
600         if test x${build} = x${host} ; then
601                 tmake_dlldir_file="i386/t-dlldir"
602         else
603                 tmake_dlldir_file="i386/t-dlldir-x"
604         fi
605         tmake_file="${tmake_file} ${tmake_eh_file} ${tmake_dlldir_file} i386/t-slibgcc-cygming i386/t-mingw32 t-dfprules i386/t-crtfm"
606         extra_parts="$extra_parts crtfastmath.o"
607         ;;
608 i[34567]86-*-interix3*)
609         ;;
610 ia64*-*-elf*)
611         extra_parts="$extra_parts crtbeginS.o crtendS.o crtfastmath.o"
612         tmake_file="ia64/t-ia64 ia64/t-eh-ia64 t-crtfm"
613         ;;
614 ia64*-*-freebsd*)
615         extra_parts="$extra_parts crtfastmath.o"
616         tmake_file="$tmake_file ia64/t-ia64 ia64/t-eh-ia64 t-crtfm"
617         ;;
618 ia64*-*-linux*)
619         # Don't use crtbeginT.o from *-*-linux* default.
620         extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o"
621         tmake_file="$tmake_file ia64/t-ia64 t-crtfm t-softfp-tf ia64/t-softfp t-softfp ia64/t-softfp-compat ia64/t-eh-ia64 t-libunwind ia64/t-linux"
622         if test x$with_system_libunwind != xyes ; then
623                 tmake_file="${tmake_file} t-libunwind-elf ia64/t-linux-libunwind"
624         fi
625         md_unwind_header=ia64/linux-unwind.h
626         ;;
627 ia64*-*-hpux*)
628         tmake_file="ia64/t-hpux t-slibgcc ia64/t-slibgcc-hpux t-slibgcc-hpux"
629         ;;
630 ia64-hp-*vms*)
631         tmake_file="$tmake_file ia64/t-eh-ia64 ia64/t-vms t-slibgcc-vms"
632         extra_parts="$extra_parts crtinitS.o"
633         md_unwind_header=ia64/vms-unwind.h
634         ;;
635 iq2000*-*-elf*)
636         tmake_file=t-fdpbit
637         # Don't use default.
638         extra_parts=
639         ;;
640 lm32-*-elf*|lm32-*-rtems*)
641         extra_parts="$extra_parts crti.o crtn.o"
642         tmake_file="lm32/t-lm32 lm32/t-elf t-softfp-sfdf t-softfp"
643         ;;
644 lm32-*-uclinux*)
645         extra_parts="$extra_parts crtbegin.o crtendS.o crtbeginT.o"
646         tmake_file="lm32/t-lm32 lm32/t-uclinux t-softfp-sfdf t-softfp"
647         ;;      
648 m32r-*-elf*)
649         tmake_file=t-fdpbit
650         ;;
651 m32r-*-rtems*)
652         tmake_file="m32r/t-m32r t-fdpbit"
653         ;;
654 m32rle-*-elf*)
655         tmake_file=t-fdpbit
656         ;;
657 m32r-*-linux*)
658         tmake_file="$tmake_file m32r/t-linux t-fdpbit"
659         ;;
660 m32rle-*-linux*)
661         tmake_file="$tmake_file m32r/t-linux t-fdpbit"
662         ;;
663 m68k-*-elf*)
664         ;;
665 m68k*-*-netbsdelf*)
666         ;;
667 m68k*-*-openbsd*)
668         ;;
669 m68k-*-uclinux*)                # Motorola m68k/ColdFire running uClinux with uClibc
670         md_unwind_header=m68k/linux-unwind.h
671         ;;
672 m68k-*-linux*)                  # Motorola m68k's running GNU/Linux
673                                 # with ELF format using glibc 2
674                                 # aka the GNU/Linux C library 6.
675         # If not configured with --enable-sjlj-exceptions, bump the
676         # libgcc version number.
677         if test x$enable_sjlj_exceptions != xyes; then
678             tmake_file="$tmake_file m68k/t-slibgcc-elf-ver"
679         fi
680         md_unwind_header=m68k/linux-unwind.h
681         ;;
682 m68k-*-rtems*)
683         extra_parts="$extra_parts crti.o crtn.o"
684         ;;
685 mcore-*-elf)
686         tmake_file=t-fdpbit
687         extra_parts="$extra_parts crti.o crtn.o"
688         ;;
689 microblaze*-linux*)
690         tmake_file="$tmake_file t-slibgcc-nolc-override microblaze/t-microblaze t-fdpbit"
691         ;;
692 microblaze*-*-*)
693         tmake_file="microblaze/t-microblaze t-fdpbit"
694         extra_parts="crtbegin.o crtend.o crti.o crtn.o"
695         ;;
696 mips-sgi-irix6.5*)
697         tmake_file="$tmake_file mips/t-irix6 t-crtfm mips/t-tpbit t-slibgcc mips/t-slibgcc-irix"
698         extra_parts="crtbegin.o crtend.o crtfastmath.o irix-crti.o irix-crtn.o"
699         md_unwind_header=mips/irix6-unwind.h
700         ;;
701 mips*-*-netbsd*)                        # NetBSD/mips, either endian.
702         ;;
703 mips64*-*-linux* | mipsisa64*-*-linux*)
704         extra_parts="$extra_parts crtfastmath.o"
705         tmake_file="${tmake_file} t-crtfm mips/t-mips16 mips/t-tpbit"
706         md_unwind_header=mips/linux-unwind.h
707         ;;
708 mips*-*-linux*)                         # Linux MIPS, either endian.
709         extra_parts="$extra_parts crtfastmath.o"
710         tmake_file="${tmake_file} t-crtfm mips/t-mips16"
711         md_unwind_header=mips/linux-unwind.h
712         ;;
713 mips*-*-openbsd*)
714         ;;
715 mips*-sde-elf*)
716         tmake_file="mips/t-crtstuff mips/t-mips16"
717         case "${with_newlib}" in
718           yes)
719             # newlib / libgloss.
720             ;;
721           *)
722             # MIPS toolkit libraries.
723             tmake_file="$tmake_file mips/t-sdemtk"
724             ;;
725         esac
726         extra_parts="$extra_parts crti.o crtn.o"
727         ;;
728 mipsisa32-*-elf* | mipsisa32el-*-elf* | \
729 mipsisa32r2-*-elf* | mipsisa32r2el-*-elf* | \
730 mipsisa64-*-elf* | mipsisa64el-*-elf* | \
731 mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*)
732         tmake_file="$tmake_file mips/t-crtstuff mips/t-mips16"
733         extra_parts="$extra_parts crti.o crtn.o"
734         ;;
735 mipsisa64sr71k-*-elf*)
736         tmake_file="mips/t-crtstuff t-fdpbit"
737         extra_parts="$extra_parts crti.o crtn.o"
738         ;;
739 mipsisa64sb1-*-elf* | mipsisa64sb1el-*-elf*)
740         tmake_file="$tmake_file mips/t-crtstuff mips/t-mips16"
741         extra_parts="$extra_parts crti.o crtn.o"
742         ;;
743 mips-*-elf* | mipsel-*-elf*)
744         tmake_file="$tmake_file mips/t-crtstuff mips/t-mips16"
745         extra_parts="$extra_parts crti.o crtn.o"
746         ;;
747 mips64-*-elf* | mips64el-*-elf*)
748         tmake_file="$tmake_file mips/t-crtstuff mips/t-mips16"
749         extra_parts="$extra_parts crti.o crtn.o"
750         ;;
751 mips64vr-*-elf* | mips64vrel-*-elf*)
752         tmake_file="$tmake_file mips/t-crtstuff"
753         extra_parts="$extra_parts crti.o crtn.o"
754         ;;
755 mips64orion-*-elf* | mips64orionel-*-elf*)
756         tmake_file="$tmake_file mips/t-crtstuff mips/t-mips16"
757         extra_parts="$extra_parts crti.o crtn.o"
758         ;;
759 mips*-*-rtems*)
760         tmake_file="$tmake_file mips/t-crtstuff mips/t-mips16"
761         extra_parts="$extra_parts crti.o crtn.o"
762         ;;
763 mips-wrs-vxworks)
764         ;;
765 mipstx39-*-elf* | mipstx39el-*-elf*)
766         tmake_file="$tmake_file mips/t-crtstuff mips/t-mips16"
767         ;;
768 mmix-knuth-mmixware)
769         extra_parts="crti.o crtn.o crtbegin.o crtend.o"
770         tmake_file="${tmake_file} ${cpu_type}/t-${cpu_type}"
771         ;;
772 mn10300-*-*)
773         tmake_file=t-fdpbit
774         ;;
775 moxie-*-elf | moxie-*-uclinux*)
776         tmake_file="moxie/t-moxie t-softfp-sfdf t-softfp-excl t-softfp"
777         extra_parts="$extra_parts crti.o crtn.o"
778         ;;
779 moxie-*-rtems*)
780         tmake_file="moxie/t-moxie t-softfp-sfdf t-softfp-excl t-softfp"
781         # Don't use default.
782         extra_parts=
783         ;;
784 pdp11-*-*)
785         tmake_file=t-fdpbit
786         ;;
787 picochip-*-*)
788         tmake_file="picochip/t-picochip t-fpbit"
789         ;;
790 powerpc-*-darwin*)
791         case ${host} in
792         *-*-darwin9* | *-*-darwin[12][0-9]*)
793           # libSystem contains unwind information for signal frames since
794           # Darwin 9.
795           ;;
796         *)
797           md_unwind_header=rs6000/darwin-unwind.h
798           ;;
799         esac
800         tmake_file="$tmake_file rs6000/t-ibm-ldouble"
801         extra_parts="$extra_parts crt2.o"
802         ;;
803 powerpc64-*-darwin*)
804         tmake_file="$tmake_file rs6000/t-ibm-ldouble"
805         extra_parts="$extra_parts crt2.o"
806         ;;
807 powerpc-*-freebsd*)
808         tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff rs6000/t-freebsd t-softfp-sfdf t-softfp-excl t-softfp t-slibgcc-libgcc"
809         extra_parts="$extra_parts crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
810         ;;
811 powerpc-*-netbsd*)
812         tmake_file="$tmake_file rs6000/t-crtstuff"
813         ;;
814 powerpc-*-eabispe*)
815         tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic"
816         extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
817         ;;
818 powerpc-*-eabisimaltivec*)
819         tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ppccomm-ldbl rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
820         extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
821         ;;
822 powerpc-*-eabisim*)
823         tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ppccomm-ldbl rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
824         extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
825         ;;
826 powerpc-*-elf*)
827         tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ppccomm-ldbl rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
828         extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
829         ;;
830 powerpc-*-eabialtivec*)
831         tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ppccomm-ldbl rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
832         extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
833         ;;
834 powerpc-xilinx-eabi*)
835         tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ppccomm-ldbl rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
836         extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
837         ;;
838 powerpc-*-eabi*)
839         tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
840         extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
841         ;;
842 powerpc-*-rtems*)
843         tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ppccomm-ldbl rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
844         extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
845         ;;
846 powerpc-*-linux* | powerpc64-*-linux*)
847         tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff rs6000/t-linux t-softfp-sfdf t-softfp-excl t-dfprules rs6000/t-ppc64-fp t-softfp t-slibgcc-libgcc"
848         extra_parts="$extra_parts ecrti.o ecrtn.o ncrti.o ncrtn.o"
849         md_unwind_header=rs6000/linux-unwind.h
850         ;;
851 powerpc-wrs-vxworks|powerpc-wrs-vxworksae)
852         tmake_file="rs6000/t-ppccomm-ldbl t-fdpbit"
853         ;;
854 powerpc-*-lynxos*)
855         tmake_file="$tmake_file t-fdpbit"
856         ;;
857 powerpcle-*-elf*)
858         tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ppccomm-ldbl rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
859         extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
860         ;;
861 powerpcle-*-eabisim*)
862         tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ppccomm-ldbl rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
863         extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
864         ;;
865 powerpcle-*-eabi*)
866         tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ppccomm-ldbl rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
867         extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
868         ;;
869 rs6000-ibm-aix4.[3456789]* | powerpc-ibm-aix4.[3456789]*)
870         md_unwind_header=rs6000/aix-unwind.h
871         tmake_file="t-fdpbit rs6000/t-ppc64-fp rs6000/t-ibm-ldouble rs6000/t-slibgcc-aix"
872         ;;
873 rs6000-ibm-aix5.1.* | powerpc-ibm-aix5.1.*)
874         md_unwind_header=rs6000/aix-unwind.h
875         tmake_file="t-fdpbit rs6000/t-ppc64-fp rs6000/t-ibm-ldouble rs6000/t-slibgcc-aix"
876         ;;
877 rs6000-ibm-aix[56789].* | powerpc-ibm-aix[56789].*)
878         md_unwind_header=rs6000/aix-unwind.h
879         tmake_file="t-fdpbit rs6000/t-ppc64-fp rs6000/t-ibm-ldouble rs6000/t-slibgcc-aix"
880         ;;
881 rx-*-elf)
882         tmake_file="rx/t-rx t-fdpbit"
883         ;;
884 s390-*-linux*)
885         tmake_file="${tmake_file} s390/t-crtstuff s390/t-linux s390/32/t-floattodi"
886         md_unwind_header=s390/linux-unwind.h
887         ;;
888 s390x-*-linux*)
889         tmake_file="${tmake_file} s390/t-crtstuff s390/t-linux"
890         md_unwind_header=s390/linux-unwind.h
891         ;;
892 s390x-ibm-tpf*)
893         tmake_file="${tmake_file} s390/t-crtstuff s390/t-tpf t-eh-dw2-dip"
894         extra_parts="crtbeginS.o crtendS.o"
895         md_unwind_header=s390/tpf-unwind.h
896         ;;
897 score-*-elf)
898         tmake_file="${tmake_file} t-softfp-sfdf t-softfp-excl t-softfp"
899         extra_parts="$extra_parts crti.o crtn.o"
900         ;;
901 sh-*-elf* | sh[12346l]*-*-elf*)
902         tmake_file="$tmake_file sh/t-sh t-crtstuff-pic t-fdpbit"
903         extra_parts="$extra_parts crt1.o crti.o crtn.o crtbeginS.o crtendS.o \
904                 libic_invalidate_array_4-100.a \
905                 libic_invalidate_array_4-200.a \
906                 libic_invalidate_array_4a.a \
907                 libgcc-Os-4-200.a libgcc-4-300.a"
908         case ${host} in
909         sh*-superh-elf)
910                 tmake_file="$tmake_file sh/t-superh"
911                 extra_parts="$extra_parts crt1-mmu.o gcrt1-mmu.o gcrt1.o"
912                 ;;
913         esac
914         ;;
915 sh-*-linux* | sh[2346lbe]*-*-linux*)
916         tmake_file="${tmake_file} t-slibgcc-libgcc sh/t-linux t-fdpbit"
917         md_unwind_header=sh/linux-unwind.h
918         ;;
919 sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
920   sh64-*-netbsd* | sh64l*-*-netbsd*)
921         # NetBSD's C library includes a fast software FP library that
922         # has support for setting/setting the rounding mode, exception
923         # mask, etc.  Therefore, we don't want to include software FP
924         # in libgcc.
925         ;;
926 sh-*-rtems*)
927         tmake_file="$tmake_file t-crtstuff-pic t-fdpbit"
928         extra_parts="$extra_parts crt1.o crti.o crtn.o crtbeginS.o crtendS.o \
929                 $sh_ic_extra_parts $sh_opt_extra_parts"
930         ;;
931 sh-wrs-vxworks)
932         tmake_file="$tmake_file t-crtstuff-pic t-fdpbit"
933         ;;
934 sparc-*-netbsdelf*)
935         ;;
936 sparc64-*-openbsd*)
937         ;;
938 sparc-*-elf*)
939         case ${host} in
940         *-leon[3-9]*)
941                 ;;
942         *)
943                 tmake_file="sparc/t-softmul"
944                 ;;
945         esac
946         tmake_file="${tmake_file} t-fdpbit t-crtfm"
947         extra_parts="$extra_parts crti.o crtn.o crtfastmath.o"
948         ;;
949 sparc-*-linux*)         # SPARC's running GNU/Linux, libc6
950         tmake_file="${tmake_file} t-crtfm sparc/t-linux64"
951         case ${host} in
952         *-leon*)
953                 tmake_file="${tmake_file} t-fdpbit"
954                 ;;
955         *)
956                 tmake_file="${tmake_file} sparc/t-linux"
957                 ;;
958         esac
959         extra_parts="$extra_parts crtfastmath.o"
960         md_unwind_header=sparc/linux-unwind.h
961         ;;
962 sparc-*-rtems*)
963         tmake_file="sparc/t-elf t-crtfm t-rtems t-fdpbit"
964         extra_parts="$extra_parts crti.o crtn.o crtfastmath.o"
965         ;;
966 sparc*-*-solaris2*)
967         tmake_file="$tmake_file t-crtfm"
968         extra_parts="$extra_parts crtfastmath.o"
969         md_unwind_header=sparc/sol2-unwind.h
970         ;;
971 sparc64-*-elf*)
972         tmake_file="${tmake_file} t-crtfm"
973         extra_parts="$extra_parts crti.o crtn.o crtfastmath.o"
974         ;;
975 sparc64-*-rtems*)
976         tmake_file="sparc/t-elf t-crtfm t-rtems"
977         extra_parts="$extra_parts crti.o crtn.o crtfastmath.o"
978         ;;
979 sparc-wrs-vxworks)
980         ;;
981 sparc64-*-freebsd*|ultrasparc-*-freebsd*)
982         tmake_file="$tmake_file t-crtfm"
983         extra_parts="$extra_parts crtfastmath.o"
984         ;;
985 sparc64-*-linux*)               # 64-bit SPARC's running GNU/Linux
986         extra_parts="$extra_parts crtfastmath.o"
987         tmake_file="${tmake_file} t-crtfm sparc/t-linux sparc/t-linux64"
988         md_unwind_header=sparc/linux-unwind.h
989         ;;
990 sparc64-*-netbsd*)
991         ;;
992 spu-*-elf*)
993         tmake_file="$tmake_file spu/t-elf t-fdpbit"
994         extra_parts="$extra_parts \
995                 libgcc_cachemgr.a libgcc_cachemgr_nonatomic.a \
996                 libgcc_cache8k.a libgcc_cache16k.a libgcc_cache32k.a \
997                 libgcc_cache64k.a libgcc_cache128k.a"
998         ;;
999 tic6x-*-uclinux)
1000         tmake_file="${tmake_file} t-softfp-sfdf t-softfp-excl t-softfp c6x/t-elf  c6x/t-uclinux t-crtstuff-pic t-slibgcc t-slibgcc-gld t-slibgcc-elf-ver t-gnu-prefix"
1001         extra_parts="crtbeginS.o crtendS.o crti.o crtn.o"
1002         unwind_header=config/c6x/unwind-c6x.h
1003         ;;
1004 tic6x-*-elf)
1005         tmake_file="${tmake_file} t-softfp-sfdf t-softfp-excl t-softfp t-gnu-prefix c6x/t-elf"
1006         extra_parts="$extra_parts crtbeginS.o crtendS.o crti.o crtn.o"
1007         unwind_header=config/c6x/unwind-c6x.h
1008         ;;
1009 v850*-*-*)
1010         tmake_file=t-fdpbit
1011         ;;
1012 vax-*-linux*)
1013         ;;
1014 vax-*-netbsdelf*)
1015         ;;
1016 vax-*-openbsd*)
1017         ;;
1018 xstormy16-*-elf)
1019         tmake_file=t-fdpbit
1020         ;;
1021 xtensa*-*-elf*)
1022         tmake_file="$tmake_file xtensa/t-xtensa xtensa/t-elf"
1023         extra_parts="$extra_parts crti.o crtn.o"
1024         ;;
1025 xtensa*-*-linux*)
1026         tmake_file="$tmake_file xtensa/t-xtensa xtensa/t-linux"
1027         md_unwind_header=xtensa/linux-unwind.h
1028         ;;
1029 am33_2.0-*-linux*)
1030         # Don't need crtbeginT.o from *-*-linux* default.
1031         extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
1032         tmake_file="$tmake_file t-fdpbit"
1033         ;;
1034 m32c-*-elf*|m32c-*-rtems*)
1035         ;;
1036 mep*-*-*)
1037         tmake_file="mep/t-mep t-fdpbit"
1038         extra_parts="crtbegin.o crtend.o"
1039         ;;
1040 *)
1041         echo "*** Configuration ${host} not supported" 1>&2
1042         exit 1
1043         ;;
1044 esac
1045
1046 case ${host} in
1047 i[34567]86-*-linux* | x86_64-*-linux* | \
1048   i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu | \
1049   i[34567]86-*-knetbsd*-gnu | \
1050   i[34567]86-*-gnu*)
1051         tmake_file="${tmake_file} t-tls i386/t-linux"
1052         if test "$libgcc_cv_cfi" = "yes"; then
1053                 tmake_file="${tmake_file} t-stack i386/t-stack-i386"
1054         fi
1055         ;;
1056 esac
1057
1058 case ${host} in
1059 i[34567]86-*-darwin* | x86_64-*-darwin* | \
1060   i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu | \
1061   i[34567]86-*-linux* | x86_64-*-linux* | \
1062   i[34567]86-*-gnu* | \
1063   i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]* | \
1064   i[34567]86-*-cygwin* | i[34567]86-*-mingw* | x86_64-*-mingw* | \
1065   i[34567]86-*-freebsd* | x86_64-*-freebsd*)
1066         tmake_file="${tmake_file} t-softfp-tf"
1067         if test "${host_address}" = 32; then
1068                 tmake_file="${tmake_file} i386/${host_address}/t-softfp"
1069         fi
1070         tmake_file="${tmake_file} t-softfp"
1071         ;;
1072 esac
1073
1074 case ${host} in
1075 i[34567]86-*-linux* | x86_64-*-linux*)
1076         # Provide backward binary compatibility for 64bit Linux/x86.
1077         if test "${host_address}" = 64; then
1078                 tmake_file="${tmake_file} i386/${host_address}/t-softfp-compat"
1079         fi
1080         ;;
1081 esac