1 # libgcc host-specific configuration file.
2 # Copyright (C) 1997-2014 Free Software Foundation, Inc.
4 #This file is part of GCC.
6 #GCC is free software; you can redistribute it and/or modify it under
7 #the terms of the GNU General Public License as published by the Free
8 #Software Foundation; either version 3, or (at your option) any later
11 #GCC is distributed in the hope that it will be useful, but WITHOUT
12 #ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 #FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 #You should have received a copy of the GNU General Public License
17 #along with GCC; see the file COPYING3. If not see
18 #<http://www.gnu.org/licenses/>.
20 # This is the libgcc host-specific configuration file
21 # where a configuration type is mapped to different system-specific
22 # definitions and files. This is invoked by the autoconf-generated
23 # configure script. Putting it in a separate shell file lets us skip
24 # running autoconf when modifying host-specific information.
26 # This file bears an obvious resemblance to gcc/config.gcc. The cases
27 # should be kept similar, to ease moving library-specific settings
28 # from config.gcc to this file. That is also why tmake_file is
29 # left as tmake_file, rather than hmake_file, even though this library
30 # switches on ${host}.
32 # This file switches on the shell variable ${host}, and also uses the
33 # following shell variables:
35 # with_* Various variables as set by configure.
37 # This file sets the following shell variables for use by the
38 # autoconf-generated configure script:
40 # asm_hidden_op The assembler pseudo-op to use for hide
41 # lists for object files implemented in
42 # assembly (with -fvisibility=hidden for C).
43 # The default is ".hidden".
44 # cpu_type The name of the cpu, if different from the first
45 # chunk of the canonical host name.
46 # enable_execute_stack The name of a source file implementing
47 # __enable_execute_stack.
48 # extra_parts List of extra object files that should be compiled
49 # for this target machine. This may be overridden
50 # by setting EXTRA_PARTS in a tmake_file fragment.
51 # If either is set, EXTRA_PARTS and
52 # EXTRA_MULTILIB_PARTS inherited from the GCC
53 # subdirectory will be ignored.
54 # md_unwind_header The name of a header file defining
55 # MD_FALLBACK_FRAME_STATE_FOR.
56 # sfp_machine_header The name of a sfp-machine.h header file for soft-fp.
57 # Defaults to "$cpu_type/sfp-machine.h" if it exists,
58 # no-sfp-machine.h otherwise.
59 # tmake_file A list of machine-description-specific
61 # tm_defines List of target macros to define for all compilations.
62 # tm_file A list of target macro files used only for code
63 # built for the target, not the host. These files
64 # are relative to $srcdir/config and must not have
65 # the same names as files in $srcdir/../gcc/config.
66 # unwind_header The name of the header file declaring the unwind
67 # runtime interface routines.
75 md_unwind_header=no-unwind.h
76 unwind_header=unwind-generic.h
78 # Set default cpu_type so it can be updated in each machine entry.
79 cpu_type=`echo ${host} | sed 's/-.*$//'`
116 moxie*) cpu_type=moxie
144 tmake_file=mips/t-mips
172 # Note the 'l'; we need to be able to match e.g. "shle" or "shl".
173 sh[123456789lbe]*-*-*)
184 # Common parts for widely ported systems.
187 asm_hidden_op=.private_extern
188 tmake_file="$tmake_file t-darwin ${cpu_type}/t-darwin t-libgcc-pic t-slibgcc-darwin"
189 extra_parts="crt3.o crttms.o crttme.o"
192 # This is the generic ELF configuration of FreeBSD. Later
193 # machine-specific sections may refine and add to this
195 tmake_file="$tmake_file t-freebsd t-crtstuff-pic t-libgcc-pic t-eh-dw2-dip t-slibgcc t-slibgcc-gld t-slibgcc-elf-ver"
196 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
197 case ${target_thread_file} in
199 tmake_file="${tmake_file} t-freebsd-thread"
200 # Before 5.0, FreeBSD can't bind shared libraries to -lc
201 # when "optionally" threaded via weak pthread_* checks.
203 *-*-freebsd[34] | *-*-freebsd[34].*)
204 tmake_file="${tmake_file} t-slibgcc-nolc-override"
210 *-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | *-*-knetbsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu)
211 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"
212 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"
215 tmake_file="$tmake_file t-lynx $cpu_type/t-crtstuff t-crtstuff-pic t-libgcc-pic"
216 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
219 tmake_file="$tmake_file t-crtstuff-pic t-libgcc-pic t-slibgcc t-slibgcc-gld t-slibgcc-elf-ver"
220 # NetBSD 1.7 and later are set up to use GCC's crtstuff for
221 # ELF configurations. We will clear extra_parts in the
222 # a.out configurations.
224 *-*-netbsd*1.[7-9]* | *-*-netbsd[2-9]* | *-*-netbsdelf[2-9]*)
225 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o"
230 tmake_file="$tmake_file t-crtstuff-pic t-libgcc-pic t-eh-dw2-dip"
231 case ${target_thread_file} in
233 tmake_file="$tmake_file t-openbsd-thread"
238 tmake_file="$tmake_file t-rtems"
239 extra_parts="crtbegin.o crtend.o"
242 # Unless linker support and dl_iterate_phdr are present,
243 # unwind-dw2-fde-dip.c automatically falls back to unwind-dw2-fde.c.
244 tmake_file="$tmake_file t-sol2 t-eh-dw2-dip t-libgcc-pic t-slibgcc t-slibgcc-elf-ver"
245 if test $with_gnu_ld = yes; then
246 tmake_file="$tmake_file t-slibgcc-gld"
248 tmake_file="$tmake_file t-slibgcc-sld"
250 # Add cpu-specific t-sol2 after t-slibgcc-* so it can augment SHLIB_MAPFILES.
251 tmake_file="$tmake_file $cpu_type/t-sol2"
252 extra_parts="gmon.o crtbegin.o crtend.o"
254 i?86-*-solaris2.1[0-9]* | x86_64-*-solaris2.1[0-9]*)
255 # Solaris 10+/x86 provides crt1.o, crti.o, crtn.o, and gcrt1.o as
256 # part of the base system.
258 sparc*-*-solaris2.1[0-9]*)
259 # Solaris 10+/SPARC lacks crt1.o and gcrt1.o.
260 extra_parts="$extra_parts crt1.o gcrt1.o"
263 extra_parts="$extra_parts crt1.o crti.o crtn.o gcrt1.o"
268 extra_parts="crtbegin.o crtend.o"
271 tmake_file="vms/t-vms"
272 extra_parts="crt0.o crtbegin.o crtbeginS.o crtend.o crtendS.o"
278 extra_parts="crtbegin.o crtend.o"
283 *-*-darwin* | *-*-freebsd* | *-*-netbsd* | *-*-openbsd* | *-*-solaris2*)
284 enable_execute_stack=enable-execute-stack-mprotect.c
286 i[34567]86-*-mingw* | x86_64-*-mingw*)
287 enable_execute_stack=config/i386/enable-execute-stack-mingw32.c
290 enable_execute_stack=enable-execute-stack-empty.c;
296 extra_parts="$extra_parts crtbegin.o crtend.o crti.o crtn.o"
297 tmake_file="${tmake_file} ${cpu_type}/t-aarch64"
298 tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp"
301 md_unwind_header=aarch64/linux-unwind.h
302 tmake_file="${tmake_file} ${cpu_type}/t-aarch64"
303 tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp"
306 tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee t-crtfm alpha/t-linux"
307 extra_parts="$extra_parts crtfastmath.o"
308 md_unwind_header=alpha/linux-unwind.h
311 tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee t-crtfm"
312 extra_parts="$extra_parts crtbeginT.o crtfastmath.o"
315 tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee"
318 tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee"
321 tmake_file="$tmake_file alpha/t-alpha alpha/t-ieee alpha/t-vms t-slibgcc-vms"
322 extra_parts="$extra_parts vms-dwarf2.o vms-dwarf2eh.o"
323 md_unwind_header=alpha/vms-unwind.h
326 tmake_file="$tmake_file alpha/t-alpha alpha/t-ieee alpha/t-vms t-slibgcc-vms"
327 extra_parts="$extra_parts vms-dwarf2.o vms-dwarf2eh.o"
328 md_unwind_header=alpha/vms-unwind.h
331 tmake_file="arc/t-arc-newlib arc/t-arc"
332 extra_parts="crti.o crtn.o crtend.o crtbegin.o crtendS.o crtbeginS.o libgmon.a crtg.o crtgend.o"
334 arc*-*-linux-uclibc*)
335 tmake_file="${tmake_file} t-slibgcc-libgcc t-slibgcc-nolc-override arc/t-arc700-uClibc arc/t-arc"
336 extra_parts="crti.o crtn.o crtend.o crtbegin.o crtendS.o crtbeginS.o libgmon.a crtg.o crtgend.o"
339 tmake_file="$tmake_file arm/t-arm arm/t-elf t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp"
340 extra_parts="$extra_parts crti.o crtn.o"
343 tmake_file="$tmake_file arm/t-arm arm/t-netbsd t-slibgcc-gld-nover"
345 arm*-*-linux*) # ARM GNU/Linux with ELF
346 tmake_file="${tmake_file} arm/t-arm t-fixedpoint-gnu-prefix"
347 tmake_file="${tmake_file} arm/t-elf arm/t-bpabi arm/t-linux-eabi t-slibgcc-libgcc"
348 tm_file="$tm_file arm/bpabi-lib.h"
349 unwind_header=config/arm/unwind-arm.h
350 tmake_file="$tmake_file t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp"
352 arm*-*-uclinux*) # ARM ucLinux
353 tmake_file="${tmake_file} t-fixedpoint-gnu-prefix"
354 tmake_file="$tmake_file arm/t-arm arm/t-elf t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp"
355 tmake_file="${tmake_file} arm/t-bpabi"
356 tm_file="$tm_file arm/bpabi-lib.h"
357 unwind_header=config/arm/unwind-arm.h
358 extra_parts="$extra_parts crti.o crtn.o"
360 arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*)
361 tmake_file="${tmake_file} arm/t-arm arm/t-elf t-fixedpoint-gnu-prefix"
362 tm_file="$tm_file arm/bpabi-lib.h"
364 arm*-*-eabi* | arm*-*-rtems*)
365 tmake_file="${tmake_file} arm/t-bpabi"
366 extra_parts="crtbegin.o crtend.o crti.o crtn.o"
369 tmake_file="${tmake_file} arm/t-symbian t-slibgcc-nolc-override"
370 tm_file="$tm_file arm/symbian-lib.h"
371 # Symbian OS provides its own startup code.
374 tmake_file="$tmake_file t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp"
375 unwind_header=config/arm/unwind-arm.h
378 tmake_file="$tmake_file avr/t-avr avr/t-rtems t-fpbit"
379 tm_file="$tm_file avr/avr-lib.h"
384 # Make HImode functions for AVR
385 tmake_file="${cpu_type}/t-avr t-fpbit"
386 if test x${with_avrlibc} != xno; then
387 tmake_file="$tmake_file ${cpu_type}/t-avrlibc"
389 tm_file="$tm_file avr/avr-lib.h"
392 tmake_file="bfin/t-bfin bfin/t-crtlibid bfin/t-crtstuff t-libgcc-pic t-fdpbit"
393 extra_parts="$extra_parts crtbeginS.o crtendS.o crti.o crtn.o crtlibid.o"
396 tmake_file="bfin/t-bfin bfin/t-crtlibid bfin/t-crtstuff t-libgcc-pic t-fdpbit"
397 extra_parts="$extra_parts crtbeginS.o crtendS.o crtlibid.o"
398 md_unwind_header=bfin/linux-unwind.h
401 tmake_file="$tmake_file bfin/t-bfin bfin/t-crtstuff t-libgcc-pic t-fdpbit bfin/t-linux"
402 # No need to build crtbeginT.o on uClibc systems. Should probably
403 # be moved to the OS specific section above.
404 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
405 md_unwind_header=bfin/linux-unwind.h
408 tmake_file="$tmake_file bfin/t-bfin t-fdpbit"
409 extra_parts="$extra_parts crti.o crtn.o"
412 tmake_file="$tmake_file bfin/t-bfin t-fdpbit"
413 extra_parts="crtbegin.o crtend.o crti.o crtn.o"
416 tmake_file="${tmake_file} cr16/t-cr16 cr16/t-crtlibid t-fdpbit"
417 extra_parts="$extra_parts crti.o crtn.o crtlibid.o"
420 tmake_file="$tmake_file cris/t-cris t-softfp-sfdf t-softfp"
423 tmake_file="$tmake_file cris/t-cris t-softfp-sfdf t-softfp cris/t-elfmulti"
425 cris-*-linux* | crisv32-*-linux*)
426 tmake_file="$tmake_file cris/t-cris t-softfp-sfdf t-softfp cris/t-linux"
429 tmake_file="epiphany/t-epiphany t-fdpbit epiphany/t-custom-eqsf"
430 extra_parts="$extra_parts crti.o crtint.o crtrunc.o crtm1reg-r43.o crtm1reg-r63.o crtn.o"
433 tmake_file="$tmake_file fr30/t-fr30 t-fdpbit"
434 extra_parts="$extra_parts crti.o crtn.o"
437 tmake_file="$tmake_file frv/t-frv t-fdpbit"
438 tm_file="$tm_file frv/frv-abi.h"
439 # Don't use crtbegin.o, crtend.o.
440 extra_parts="frvbegin.o frvend.o"
443 tmake_file="$tmake_file frv/t-frv frv/t-linux t-fdpbit"
444 tm_file="$tm_file frv/frv-abi.h"
447 tmake_file="$tmake_file h8300/t-h8300 t-fpbit"
448 tm_file="$tm_file h8300/h8300-lib.h"
449 extra_parts="$extra_parts crti.o crtn.o"
452 tmake_file="$tmake_file h8300/t-h8300 t-fpbit"
453 tm_file="$tm_file h8300/h8300-lib.h"
454 extra_parts="$extra_parts crti.o crtn.o"
457 tmake_file="$tmake_file pa/t-linux pa/t-linux64"
458 extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
461 tmake_file="$tmake_file pa/t-linux t-slibgcc-libgcc"
462 # Set the libgcc version number
463 if test x$enable_sjlj_exceptions = xyes; then
464 tmake_file="$tmake_file pa/t-slibgcc-sjlj-ver"
466 tmake_file="$tmake_file pa/t-slibgcc-dwarf-ver"
468 extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
469 md_unwind_header=pa/linux-unwind.h
472 tmake_file="$tmake_file pa/t-hpux pa/t-hpux10 t-libgcc-pic t-slibgcc"
473 # Set the libgcc version number
474 if test x$enable_sjlj_exceptions = xyes; then
475 tmake_file="$tmake_file pa/t-slibgcc-sjlj-ver"
477 tmake_file="$tmake_file pa/t-slibgcc-dwarf-ver"
479 tmake_file="$tmake_file pa/t-slibgcc-hpux t-slibgcc-hpux"
480 md_unwind_header=pa/hpux-unwind.h
483 tmake_file="$tmake_file pa/t-hpux pa/t-pa64 pa/t-stublib t-libgcc-pic t-slibgcc"
484 # Set the libgcc version number
485 if test x$enable_sjlj_exceptions = xyes; then
486 tmake_file="$tmake_file pa/t-slibgcc-sjlj-ver"
488 tmake_file="$tmake_file pa/t-slibgcc-dwarf-ver"
490 tmake_file="$tmake_file pa/t-slibgcc-hpux t-slibgcc-hpux"
491 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o \
493 md_unwind_header=pa/hpux-unwind.h
496 tmake_file="$tmake_file pa/t-hpux pa/t-stublib t-libgcc-pic t-slibgcc"
497 # Set the libgcc version number
498 if test x$enable_sjlj_exceptions = xyes; then
499 tmake_file="$tmake_file pa/t-slibgcc-sjlj-ver"
501 tmake_file="$tmake_file pa/t-slibgcc-dwarf-ver"
503 tmake_file="$tmake_file pa/t-slibgcc-hpux t-slibgcc-hpux"
504 extra_parts="libgcc_stub.a"
505 md_unwind_header=pa/hpux-unwind.h
508 tmake_file="$tmake_file pa/t-openbsd"
510 i[34567]86-*-darwin*)
511 tmake_file="$tmake_file i386/t-crtpc i386/t-crtfm"
512 tm_file="$tm_file i386/darwin-lib.h"
513 extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
516 tmake_file="$tmake_file i386/t-crtpc i386/t-crtfm"
517 tm_file="$tm_file i386/darwin-lib.h"
518 extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
521 tmake_file="$tmake_file i386/t-crtstuff t-crtstuff-pic t-libgcc-pic"
524 tmake_file="$tmake_file i386/t-crtstuff t-crtstuff-pic t-libgcc-pic"
526 i[34567]86-*-freebsd*)
527 tmake_file="${tmake_file} i386/t-freebsd i386/t-crtstuff"
530 tmake_file="${tmake_file} i386/t-freebsd i386/t-crtstuff"
532 i[34567]86-*-netbsdelf*)
535 tmake_file="${tmake_file} i386/t-crtstuff"
537 i[34567]86-*-openbsd2.*|i[34567]86-*openbsd3.[0123])
539 i[34567]86-*-openbsd*)
544 extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
545 tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm i386/t-crtstuff t-dfprules"
546 md_unwind_header=i386/linux-unwind.h
548 i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu)
549 extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
550 tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm i386/t-crtstuff t-dfprules"
553 extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
554 tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm i386/t-crtstuff t-dfprules"
555 md_unwind_header=i386/linux-unwind.h
557 x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu)
558 extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
559 tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm i386/t-crtstuff t-dfprules"
561 i[34567]86-pc-msdosdjgpp*)
563 i[34567]86-*-lynxos*)
565 i[34567]86-*-nto-qnx*)
566 tmake_file="$tmake_file i386/t-nto t-libgcc-pic"
567 extra_parts=crtbegin.o
570 tmake_file="$tmake_file i386/t-crtstuff t-softfp-sfdf t-softfp"
571 extra_parts="$extra_parts crti.o crtn.o"
573 i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*)
574 tmake_file="$tmake_file i386/t-crtpc i386/t-crtfm"
575 extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
576 md_unwind_header=i386/sol2-unwind.h
578 i[4567]86-wrs-vxworks|i[4567]86-wrs-vxworksae)
580 i[34567]86-*-cygwin*)
581 extra_parts="crtbegin.o crtend.o crtfastmath.o"
582 # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h
583 if test x$enable_sjlj_exceptions = xyes; then
584 tmake_eh_file="i386/t-sjlj-eh"
586 tmake_eh_file="i386/t-dw2-eh"
588 # Shared libgcc DLL install dir depends on cross/native build.
589 if test x${build} = x${host} ; then
590 tmake_dlldir_file="i386/t-dlldir"
592 tmake_dlldir_file="i386/t-dlldir-x"
594 tmake_file="${tmake_file} ${tmake_eh_file} ${tmake_dlldir_file} i386/t-slibgcc-cygming i386/t-cygming i386/t-cygwin i386/t-crtfm i386/t-chkstk t-dfprules"
597 extra_parts="crtbegin.o crtend.o crtfastmath.o"
598 # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h
599 if test x$enable_sjlj_exceptions = xyes; then
600 tmake_eh_file="i386/t-sjlj-eh"
602 tmake_eh_file="i386/t-seh-eh"
604 # Shared libgcc DLL install dir depends on cross/native build.
605 if test x${build} = x${host} ; then
606 tmake_dlldir_file="i386/t-dlldir"
608 tmake_dlldir_file="i386/t-dlldir-x"
610 # FIXME - dj - t-chkstk used to be in here, need a 64-bit version of that
611 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 i386/t-chkstk"
614 extra_parts="crtbegin.o crtend.o crtfastmath.o"
615 case ${target_thread_file} in
617 tmake_file="$tmake_file i386/t-gthr-win32"
620 tmake_file="i386/t-mingw-pthread $tmake_file"
623 # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h
624 if test x$enable_sjlj_exceptions = xyes; then
625 tmake_eh_file="i386/t-sjlj-eh"
627 tmake_eh_file="i386/t-dw2-eh"
628 md_unwind_header=i386/w32-unwind.h
630 # Shared libgcc DLL install dir depends on cross/native build.
631 if test x${build} = x${host} ; then
632 tmake_dlldir_file="i386/t-dlldir"
634 tmake_dlldir_file="i386/t-dlldir-x"
636 tmake_file="${tmake_file} ${tmake_eh_file} ${tmake_dlldir_file} i386/t-slibgcc-cygming i386/t-cygming i386/t-mingw32 i386/t-crtfm i386/t-chkstk t-dfprules"
639 case ${target_thread_file} in
641 tmake_file="$tmake_file i386/t-gthr-win32"
644 tmake_file="i386/t-mingw-pthread $tmake_file"
647 # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h
648 if test x$enable_sjlj_exceptions = xyes; then
649 tmake_eh_file="i386/t-sjlj-eh"
651 tmake_eh_file="i386/t-seh-eh"
653 # Shared libgcc DLL install dir depends on cross/native build.
654 if test x${build} = x${host} ; then
655 tmake_dlldir_file="i386/t-dlldir"
657 tmake_dlldir_file="i386/t-dlldir-x"
659 tmake_file="${tmake_file} ${tmake_eh_file} ${tmake_dlldir_file} i386/t-slibgcc-cygming i386/t-mingw32 t-dfprules i386/t-crtfm i386/t-chkstk"
660 extra_parts="$extra_parts crtfastmath.o"
662 i[34567]86-*-interix[3-9]*)
663 tmake_file="$tmake_file i386/t-interix i386/t-chkstk"
666 extra_parts="$extra_parts crtbeginS.o crtendS.o crtfastmath.o"
667 tmake_file="ia64/t-ia64 ia64/t-ia64-elf ia64/t-eh-ia64 t-crtfm"
670 extra_parts="$extra_parts crtfastmath.o"
671 tmake_file="$tmake_file ia64/t-ia64 ia64/t-ia64-elf ia64/t-eh-ia64 t-crtfm"
674 # Don't use crtbeginT.o from *-*-linux* default.
675 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o"
676 tmake_file="$tmake_file ia64/t-ia64 ia64/t-ia64-elf t-crtfm t-softfp-tf ia64/t-softfp t-softfp ia64/t-softfp-compat ia64/t-eh-ia64 t-libunwind ia64/t-linux"
677 if test x$with_system_libunwind != xyes ; then
678 tmake_file="${tmake_file} t-libunwind-elf ia64/t-linux-libunwind"
680 md_unwind_header=ia64/linux-unwind.h
683 tmake_file="ia64/t-ia64 ia64/t-ia64-elf ia64/t-hpux t-slibgcc ia64/t-slibgcc-hpux t-slibgcc-hpux"
686 tmake_file="$tmake_file ia64/t-ia64 ia64/t-eh-ia64 ia64/t-vms t-slibgcc-vms"
687 extra_parts="$extra_parts crtinitS.o"
688 md_unwind_header=ia64/vms-unwind.h
691 tmake_file="iq2000/t-iq2000 t-fdpbit"
696 extra_parts="$extra_parts crti.o crtn.o"
697 tmake_file="lm32/t-lm32 lm32/t-elf t-softfp-sfdf t-softfp"
700 tmake_file="$tmake_file lm32/t-lm32 lm32/t-elf t-softfp-sfdf t-softfp"
701 extra_parts="$extra_parts crti.o crtn.o"
704 extra_parts="$extra_parts crtbegin.o crtendS.o crtbeginT.o"
705 tmake_file="lm32/t-lm32 lm32/t-uclinux t-libgcc-pic t-softfp-sfdf t-softfp"
711 tmake_file="$tmake_file m32r/t-m32r t-fdpbit"
712 extra_parts="$extra_parts crtinit.o crtfini.o"
718 tmake_file="$tmake_file m32r/t-linux t-fdpbit"
721 tmake_file="$tmake_file m32r/t-linux t-fdpbit"
723 m68k-*-elf* | fido-*-elf)
724 tmake_file="$tmake_file m68k/t-floatlib"
730 m68k-*-uclinux*) # Motorola m68k/ColdFire running uClinux with uClibc
731 tmake_file="$tmake_file m68k/t-floatlib m68k/t-linux"
732 md_unwind_header=m68k/linux-unwind.h
734 m68k-*-linux*) # Motorola m68k's running GNU/Linux
735 # with ELF format using glibc 2
736 # aka the GNU/Linux C library 6.
737 tmake_file="$tmake_file m68k/t-floatlib m68k/t-linux"
738 # If not configured with --enable-sjlj-exceptions, bump the
739 # libgcc version number.
740 if test x$enable_sjlj_exceptions != xyes; then
741 tmake_file="$tmake_file m68k/t-slibgcc-elf-ver"
743 md_unwind_header=m68k/linux-unwind.h
746 tmake_file="$tmake_file m68k/t-floatlib"
747 extra_parts="$extra_parts crti.o crtn.o"
750 tmake_file="mcore/t-mcore t-fdpbit"
751 extra_parts="$extra_parts crti.o crtn.o"
754 tmake_file="${tmake_file} microblaze/t-microblaze t-fdpbit t-slibgcc-libgcc"
757 tmake_file="${tmake_file} microblaze/t-microblaze t-fdpbit"
758 extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o crti.o crtn.o"
760 microblaze*-*-rtems*)
761 tmake_file="${tmake_file} microblaze/t-microblaze t-fdpbit"
762 extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o crti.o crtn.o"
764 mips*-*-netbsd*) # NetBSD/mips, either endian.
766 mips*-*-linux*) # Linux MIPS, either endian.
767 extra_parts="$extra_parts crtfastmath.o"
768 tmake_file="${tmake_file} t-crtfm"
770 mips64r5900* | mipsr5900*)
771 # The MIPS16 support code uses floating point
772 # instructions that are not supported on r5900.
775 tmake_file="${tmake_file} mips/t-mips16 t-slibgcc-libgcc"
778 md_unwind_header=mips/linux-unwind.h
779 if test "${ac_cv_sizeof_long_double}" = 16; then
780 tmake_file="${tmake_file} mips/t-tpbit"
784 tmake_file="$tmake_file mips/t-crtstuff mips/t-mips16"
785 case "${with_newlib}" in
790 # MIPS toolkit libraries.
791 tmake_file="$tmake_file mips/t-sdemtk"
794 extra_parts="$extra_parts crti.o crtn.o"
796 mipsisa32-*-elf* | mipsisa32el-*-elf* | \
797 mipsisa32r2-*-elf* | mipsisa32r2el-*-elf* | \
798 mipsisa64-*-elf* | mipsisa64el-*-elf* | \
799 mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*)
800 tmake_file="$tmake_file mips/t-elf mips/t-crtstuff mips/t-mips16"
801 extra_parts="$extra_parts crti.o crtn.o"
803 mipsisa64sr71k-*-elf*)
804 tmake_file="$tmake_file mips/t-elf mips/t-crtstuff t-fdpbit"
805 extra_parts="$extra_parts crti.o crtn.o"
807 mipsisa64sb1-*-elf* | mipsisa64sb1el-*-elf*)
808 tmake_file="$tmake_file mips/t-elf mips/t-crtstuff mips/t-mips16"
809 extra_parts="$extra_parts crti.o crtn.o"
811 mips-*-elf* | mipsel-*-elf*)
812 tmake_file="$tmake_file mips/t-elf mips/t-crtstuff mips/t-mips16"
813 extra_parts="$extra_parts crti.o crtn.o"
815 mipsr5900-*-elf* | mipsr5900el-*-elf*)
816 tmake_file="$tmake_file mips/t-elf mips/t-crtstuff"
817 extra_parts="$extra_parts crti.o crtn.o"
819 mips64-*-elf* | mips64el-*-elf*)
820 tmake_file="$tmake_file mips/t-elf mips/t-crtstuff mips/t-mips16"
821 extra_parts="$extra_parts crti.o crtn.o"
823 mips64r5900-*-elf* | mips64r5900el-*-elf*)
824 tmake_file="$tmake_file mips/t-elf mips/t-crtstuff"
825 extra_parts="$extra_parts crti.o crtn.o"
827 mips64vr-*-elf* | mips64vrel-*-elf*)
828 tmake_file="$tmake_file mips/t-elf mips/t-vr mips/t-crtstuff"
829 extra_parts="$extra_parts crti.o crtn.o"
831 mips64orion-*-elf* | mips64orionel-*-elf*)
832 tmake_file="$tmake_file mips/t-elf mips/t-crtstuff mips/t-mips16"
833 extra_parts="$extra_parts crti.o crtn.o"
836 tmake_file="$tmake_file mips/t-elf mips/t-crtstuff mips/t-mips16"
837 extra_parts="$extra_parts crti.o crtn.o"
841 mipstx39-*-elf* | mipstx39el-*-elf*)
842 tmake_file="$tmake_file mips/t-crtstuff mips/t-mips16"
845 extra_parts="crti.o crtn.o crtbegin.o crtend.o"
846 tmake_file="${tmake_file} ${cpu_type}/t-${cpu_type}"
851 moxie-*-elf | moxie-*-uclinux*)
852 tmake_file="moxie/t-moxie t-softfp-sfdf t-softfp-excl t-softfp"
853 extra_parts="$extra_parts crti.o crtn.o"
856 tmake_file="$tmake_file moxie/t-moxie t-softfp-sfdf t-softfp-excl t-softfp"
861 tmake_file="$tm_file t-crtstuff t-fdpbit msp430/t-msp430"
864 # Basic makefile fragment and extra_parts for crt stuff.
865 # We also append c-isr library implementation.
866 tmake_file="${tmake_file} nds32/t-nds32 nds32/t-nds32-isr"
867 extra_parts="crtbegin1.o crtend1.o libnds32_isr.a"
868 # Append library definition makefile fragment according to --with-nds32-lib=X setting.
869 case "${with_nds32_lib}" in
871 # Append library definition makefile fragment t-nds32-newlib.
872 # Append 'soft-fp' software floating point make rule fragment provided by gcc.
873 tmake_file="${tmake_file} nds32/t-nds32-newlib t-softfp-sfdf t-softfp"
876 # Append library definition makefile fragment t-nds32-mculib.
877 # The software floating point library is included in mculib.
878 tmake_file="${tmake_file} nds32/t-nds32-mculib"
881 echo "Cannot accept --with-nds32-lib=$with_nds32_lib, available values are: newlib mculib" 1>&2
887 tmake_file="$tmake_file nios2/t-nios2 nios2/t-linux t-libgcc-pic t-slibgcc-libgcc"
888 extra_parts="$extra_parts crti.o crtn.o"
889 md_unwind_header=nios2/linux-unwind.h
892 tmake_file="$tmake_file nios2/t-nios2 t-softfp-sfdf t-softfp-excl t-softfp"
893 extra_parts="$extra_parts crti.o crtn.o"
896 tmake_file="pdp11/t-pdp11 t-fdpbit"
899 tmake_file="picochip/t-picochip t-fpbit"
903 *-*-darwin9* | *-*-darwin[12][0-9]*)
904 # libSystem contains unwind information for signal frames since
908 md_unwind_header=rs6000/darwin-unwind.h
911 tmake_file="$tmake_file rs6000/t-ibm-ldouble"
912 extra_parts="$extra_parts crt2.o"
915 tmake_file="$tmake_file rs6000/t-darwin64 rs6000/t-ibm-ldouble"
916 extra_parts="$extra_parts crt2.o"
919 tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff rs6000/t-freebsd t-softfp-sfdf t-softfp-excl t-softfp"
920 extra_parts="$extra_parts crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
923 tmake_file="${tmake_file} rs6000/t-freebsd64"
924 md_unwind_header=rs6000/freebsd-unwind.h
929 tmake_file="$tmake_file rs6000/t-netbsd rs6000/t-crtstuff"
932 tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
933 extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
935 powerpc-*-eabisimaltivec*)
936 tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
937 extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
940 tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
941 extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
944 tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
945 extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
947 powerpc-*-eabialtivec*)
948 tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
949 extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
951 powerpc-xilinx-eabi*)
952 tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
953 extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
956 tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
957 extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
960 tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
961 extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
964 tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff rs6000/t-linux t-softfp-sfdf t-softfp-excl t-dfprules rs6000/t-ppc64-fp t-softfp t-slibgcc-libgcc"
965 extra_parts="$extra_parts ecrti.o ecrtn.o ncrti.o ncrtn.o"
966 md_unwind_header=rs6000/linux-unwind.h
968 powerpc-wrs-vxworks|powerpc-wrs-vxworksae)
969 tmake_file="$tmake_file rs6000/t-ppccomm rs6000/t-savresfgpr t-fdpbit"
972 tmake_file="$tmake_file rs6000/t-lynx t-fdpbit"
975 tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
976 extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
978 powerpcle-*-eabisim*)
979 tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
980 extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
983 tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
984 extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
986 rs6000-ibm-aix4.[3456789]* | powerpc-ibm-aix4.[3456789]*)
987 md_unwind_header=rs6000/aix-unwind.h
988 tmake_file="t-fdpbit rs6000/t-ppc64-fp rs6000/t-slibgcc-aix rs6000/t-ibm-ldouble"
990 rs6000-ibm-aix5.1.* | powerpc-ibm-aix5.1.*)
991 md_unwind_header=rs6000/aix-unwind.h
992 tmake_file="t-fdpbit rs6000/t-ppc64-fp rs6000/t-slibgcc-aix rs6000/t-ibm-ldouble"
994 rs6000-ibm-aix[56789].* | powerpc-ibm-aix[56789].*)
995 md_unwind_header=rs6000/aix-unwind.h
996 tmake_file="t-fdpbit rs6000/t-ppc64-fp rs6000/t-slibgcc-aix rs6000/t-ibm-ldouble rs6000/t-aix-cxa"
997 extra_parts="crtcxa.o crtcxa_s.o"
1000 tmake_file="$tm_file t-fdpbit rl78/t-rl78"
1003 tmake_file="rx/t-rx t-fdpbit"
1004 tm_file="$tm_file rx/rx-abi.h rx/rx-lib.h"
1007 tmake_file="${tmake_file} s390/t-crtstuff s390/t-linux s390/32/t-floattodi"
1008 md_unwind_header=s390/linux-unwind.h
1011 tmake_file="${tmake_file} s390/t-crtstuff s390/t-linux"
1012 md_unwind_header=s390/linux-unwind.h
1015 tmake_file="${tmake_file} s390/t-crtstuff t-libgcc-pic t-eh-dw2-dip"
1016 extra_parts="crtbeginS.o crtendS.o"
1017 md_unwind_header=s390/tpf-unwind.h
1020 tmake_file="${tmake_file} t-softfp-sfdf t-softfp-excl t-softfp"
1021 extra_parts="$extra_parts crti.o crtn.o"
1023 sh-*-elf* | sh[12346l]*-*-elf*)
1024 tmake_file="$tmake_file sh/t-sh t-crtstuff-pic t-fdpbit"
1025 extra_parts="$extra_parts crt1.o crti.o crtn.o crtbeginS.o crtendS.o \
1026 libic_invalidate_array_4-100.a \
1027 libic_invalidate_array_4-200.a \
1028 libic_invalidate_array_4a.a \
1029 libgcc-Os-4-200.a libgcc-4-300.a"
1030 case ${host} in sh64*-*-*)
1031 tmake_file="$tmake_file sh/t-sh64"
1036 tmake_file="$tmake_file sh/t-superh"
1037 extra_parts="$extra_parts crt1-mmu.o gcrt1-mmu.o gcrt1.o"
1041 sh-*-linux* | sh[2346lbe]*-*-linux*)
1042 tmake_file="${tmake_file} sh/t-sh t-slibgcc-libgcc sh/t-linux t-fdpbit"
1043 case ${host} in sh64*-*-linux*)
1044 tmake_file="$tmake_file sh/t-sh64"
1047 md_unwind_header=sh/linux-unwind.h
1049 sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
1050 sh64-*-netbsd* | sh64l*-*-netbsd*)
1051 tmake_file="$tmake_file sh/t-sh sh/t-netbsd"
1053 sh5*-*-netbsd* | sh64*-netbsd*)
1054 tmake_file="$tmake_file sh/t-sh64"
1057 # NetBSD's C library includes a fast software FP library that
1058 # has support for setting/setting the rounding mode, exception
1059 # mask, etc. Therefore, we don't want to include software FP
1063 tmake_file="$tmake_file sh/t-sh t-crtstuff-pic t-fdpbit"
1064 extra_parts="$extra_parts crt1.o crti.o crtn.o crtbeginS.o crtendS.o \
1065 libic_invalidate_array_4-100.a \
1066 libic_invalidate_array_4-200.a \
1067 libic_invalidate_array_4a.a \
1068 libgcc-Os-4-200.a libgcc-4-300.a"
1071 tmake_file="$tmake_file sh/t-sh t-crtstuff-pic t-fdpbit"
1082 tmake_file="sparc/t-softmul"
1085 tmake_file="${tmake_file} t-fdpbit t-crtfm"
1086 extra_parts="$extra_parts crti.o crtn.o crtfastmath.o"
1088 sparc-*-linux*) # SPARC's running GNU/Linux, libc6
1089 tmake_file="${tmake_file} t-crtfm"
1090 if test "${host_address}" = 64; then
1091 tmake_file="$tmake_file sparc/t-linux64"
1095 tmake_file="${tmake_file} t-fdpbit"
1098 tmake_file="${tmake_file} sparc/t-linux"
1105 if test "${host_address}" = 32; then
1106 tmake_file="$tmake_file sparc/t-softmul"
1110 extra_parts="$extra_parts crtfastmath.o"
1111 md_unwind_header=sparc/linux-unwind.h
1114 tmake_file="$tmake_file sparc/t-elf sparc/t-softmul t-crtfm t-fdpbit"
1115 extra_parts="$extra_parts crti.o crtn.o crtfastmath.o"
1118 tmake_file="$tmake_file t-crtfm"
1119 extra_parts="$extra_parts crtfastmath.o"
1120 md_unwind_header=sparc/sol2-unwind.h
1123 tmake_file="${tmake_file} t-crtfm"
1124 extra_parts="$extra_parts crti.o crtn.o crtfastmath.o"
1127 tmake_file="$tmake_file t-crtfm"
1128 extra_parts="$extra_parts crti.o crtn.o crtfastmath.o"
1132 sparc64-*-freebsd*|ultrasparc-*-freebsd*)
1133 tmake_file="$tmake_file t-crtfm"
1134 extra_parts="$extra_parts crtfastmath.o"
1136 sparc64-*-linux*) # 64-bit SPARC's running GNU/Linux
1137 extra_parts="$extra_parts crtfastmath.o"
1138 tmake_file="${tmake_file} t-crtfm sparc/t-linux"
1139 if test "${host_address}" = 64; then
1140 tmake_file="${tmake_file} sparc/t-linux64"
1142 if test "${host_address}" = 32; then
1143 tmake_file="${tmake_file} sparc/t-softmul"
1145 md_unwind_header=sparc/linux-unwind.h
1150 tmake_file="$tmake_file spu/t-elf t-libgcc-pic t-fdpbit"
1151 extra_parts="$extra_parts \
1152 libgcc_cachemgr.a libgcc_cachemgr_nonatomic.a \
1153 libgcc_cache8k.a libgcc_cache16k.a libgcc_cache32k.a \
1154 libgcc_cache64k.a libgcc_cache128k.a"
1157 tmake_file="${tmake_file} t-softfp-sfdf t-softfp-excl t-softfp \
1158 c6x/t-elf c6x/t-uclinux t-crtstuff-pic t-libgcc-pic \
1159 t-slibgcc t-slibgcc-gld t-slibgcc-elf-ver t-gnu-prefix"
1160 tm_file="$tm_file c6x/c6x-abi.h"
1161 extra_parts="$extra_parts crtbeginS.o crtendS.o crti.o crtn.o"
1162 unwind_header=config/c6x/unwind-c6x.h
1165 tmake_file="${tmake_file} t-softfp-sfdf t-softfp-excl t-softfp t-gnu-prefix c6x/t-elf"
1166 tm_file="$tm_file c6x/c6x-abi.h"
1167 extra_parts="$extra_parts crtbeginS.o crtendS.o crti.o crtn.o"
1168 unwind_header=config/c6x/unwind-c6x.h
1171 tmake_file="${tmake_file} tilegx/t-crtstuff t-softfp-sfdf tilegx/t-softfp t-softfp tilegx/t-tilegx"
1172 md_unwind_header=tilepro/linux-unwind.h
1175 tmake_file="${tmake_file} tilepro/t-crtstuff t-softfp-sfdf t-softfp tilepro/t-tilepro"
1176 md_unwind_header=tilepro/linux-unwind.h
1179 tmake_file="v850/t-v850 t-fdpbit"
1182 tmake_file="$tmake_file vax/t-linux"
1189 tmake_file="stormy16/t-stormy16 t-fdpbit"
1192 tmake_file="$tmake_file xtensa/t-xtensa xtensa/t-elf"
1193 extra_parts="$extra_parts crti.o crtn.o"
1196 tmake_file="$tmake_file xtensa/t-xtensa xtensa/t-linux"
1197 md_unwind_header=xtensa/linux-unwind.h
1200 # Don't need crtbeginT.o from *-*-linux* default.
1201 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
1202 tmake_file="$tmake_file t-fdpbit"
1204 m32c-*-elf*|m32c-*-rtems*)
1205 tmake_file="$tmake_file m32c/t-m32c"
1208 tmake_file="mep/t-mep t-fdpbit"
1209 extra_parts="crtbegin.o crtend.o"
1212 echo "*** Configuration ${host} not supported" 1>&2
1218 i[34567]86-*-* | x86_64-*-*)
1219 tmake_file="${tmake_file} i386/t-cpuinfo"
1224 i[34567]86-*-linux* | x86_64-*-linux* | \
1225 i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu | \
1226 i[34567]86-*-knetbsd*-gnu | \
1228 tmake_file="${tmake_file} t-tls i386/t-linux"
1229 if test "$libgcc_cv_cfi" = "yes"; then
1230 tmake_file="${tmake_file} t-stack i386/t-stack-i386"
1236 i[34567]86-*-darwin* | x86_64-*-darwin* | \
1237 i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu | \
1238 i[34567]86-*-linux* | x86_64-*-linux* | \
1239 i[34567]86-*-gnu* | \
1240 i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]* | \
1241 i[34567]86-*-cygwin* | x86_64-*-cygwin* | \
1242 i[34567]86-*-mingw* | x86_64-*-mingw* | \
1243 i[34567]86-*-freebsd* | x86_64-*-freebsd* | \
1244 i[34567]86-*-openbsd* | x86_64-*-openbsd*)
1245 tmake_file="${tmake_file} t-softfp-tf"
1246 if test "${host_address}" = 32; then
1247 tmake_file="${tmake_file} i386/${host_address}/t-softfp"
1249 tmake_file="${tmake_file} i386/t-softfp t-softfp"
1254 i[34567]86-*-linux* | x86_64-*-linux*)
1255 # Provide backward binary compatibility for 64bit Linux/x86.
1256 if test "${host_address}" = 64; then
1257 tmake_file="${tmake_file} i386/${host_address}/t-softfp-compat"
1259 tm_file="${tm_file} i386/value-unwind.h"