]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/config.host
freebsd.h (CPP_CPU64_DEFAULT_SPEC): Replace with...
[thirdparty/gcc.git] / libgcc / config.host
CommitLineData
fa958513 1# libgcc host-specific configuration file.
8d8da227 2# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
e6e50811 3# 2008, 2009, 2010 Free Software Foundation, Inc.
fa958513
DJ
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
748086b7 9#Software Foundation; either version 3, or (at your option) any later
fa958513
DJ
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
748086b7
JJ
18#along with GCC; see the file COPYING3. If not see
19#<http://www.gnu.org/licenses/>.
fa958513
DJ
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# extra_parts List of extra object files that should be compiled
48# for this target machine. This may be overridden
49# by setting EXTRA_PARTS in a tmake_file fragment.
50# If either is set, EXTRA_PARTS and
51# EXTRA_MULTILIB_PARTS inherited from the GCC
52# subdirectory will be ignored.
53# tmake_file A list of machine-description-specific
54# makefile-fragments, if different from
55# "$cpu_type/t-$cpu_type".
56
57asm_hidden_op=.hidden
58extra_parts=
59tmake_file=
60
61# Set default cpu_type so it can be updated in each machine entry.
62cpu_type=`echo ${host} | sed 's/-.*$//'`
63case ${host} in
64m32c*-*-*)
65 cpu_type=m32c
66 ;;
67alpha*-*-*)
68 cpu_type=alpha
69 ;;
70am33_2.0-*-linux*)
71 cpu_type=mn10300
72 ;;
fa958513
DJ
73arm*-*-*)
74 cpu_type=arm
75 ;;
47583040
AH
76avr-*-*)
77 cpu_type=avr
78 ;;
fa958513
DJ
79bfin*-*)
80 cpu_type=bfin
81 ;;
7d33c31d
KH
82fido-*-*)
83 cpu_type=m68k
84 ;;
fa958513
DJ
85frv*) cpu_type=frv
86 ;;
cceb575c
AG
87moxie*) cpu_type=moxie
88 ;;
fa958513
DJ
89i[34567]86-*-*)
90 cpu_type=i386
91 ;;
92x86_64-*-*)
93 cpu_type=i386
94 ;;
95ia64-*-*)
96 ;;
cd985f66 97hppa*-*-*)
fa958513
DJ
98 cpu_type=pa
99 ;;
aa4945c1
JB
100lm32*-*-*)
101 cpu_type=lm32
102 ;;
fa958513
DJ
103m32r*-*-*)
104 cpu_type=m32r
105 ;;
fa958513
DJ
106m68k-*-*)
107 ;;
7acf4da6
DD
108mep*-*-*)
109 ;;
80920132
ME
110microblaze*-*-*)
111 cpu_type=microblaze
112 ;;
fa958513
DJ
113mips*-*-*)
114 cpu_type=mips
115 ;;
116powerpc*-*-*)
117 cpu_type=rs6000
118 ;;
119rs6000*-*-*)
120 ;;
121score*-*-*)
122 cpu_type=score
123 ;;
124sparc64*-*-*)
125 cpu_type=sparc
126 ;;
127sparc*-*-*)
128 cpu_type=sparc
129 ;;
130spu*-*-*)
131 cpu_type=spu
132 ;;
133s390*-*-*)
134 cpu_type=s390
135 ;;
136# Note the 'l'; we need to be able to match e.g. "shle" or "shl".
137sh[123456789lbe]*-*-*)
138 cpu_type=sh
139 ;;
fa958513
DJ
140esac
141
142# Common parts for widely ported systems.
143case ${host} in
144*-*-darwin*)
145 asm_hidden_op=.private_extern
146 tmake_file="t-darwin ${cpu_type}/t-darwin t-slibgcc-darwin"
147 ;;
148*-*-freebsd[12] | *-*-freebsd[12].* | *-*-freebsd*aout*)
149 # This is the place-holder for the generic a.out configuration
150 # of FreeBSD. No actual configuration resides here since
151 # there was only ever a bare-bones ix86 configuration for
152 # a.out and it exists solely in the machine-specific section.
153 # This place-holder must exist to avoid dropping into
154 # the generic ELF configuration of FreeBSD (i.e. it must be
155 # ordered before that section).
156 ;;
157*-*-freebsd*)
158 # This is the generic ELF configuration of FreeBSD. Later
159 # machine-specific sections may refine and add to this
160 # configuration.
161 ;;
c0451df7 162*-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | *-*-knetbsd*-gnu | *-*-gnu*)
fa958513
DJ
163 extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
164 ;;
fa958513
DJ
165*-*-netbsd*)
166 ;;
167*-*-openbsd*)
168 ;;
169*-*-rtems*)
170 ;;
171*-*-vxworks*)
172 ;;
173*-*-elf)
174 ;;
175esac
176
177case ${host} in
178# Support site-specific machine types.
179*local*)
180 rest=`echo ${host} | sed -e "s/$cpu_type-//"`
181 if test -f $srcdir/config/${cpu_type}/t-$rest
182 then tmake_file=${cpu_type}/t-$rest
183 fi
184 ;;
c0451df7 185alpha*-*-linux* | alpha*-*-gnu*)
fa958513 186 tmake_file="${tmake_file} alpha/t-crtfm"
5ea41e3a 187 extra_parts="$extra_parts crtfastmath.o"
fa958513 188 ;;
fa958513
DJ
189alpha*-*-freebsd*)
190 ;;
191alpha*-*-netbsd*)
192 ;;
193alpha*-*-openbsd*)
194 ;;
8c200350 195alpha*-dec-osf5.1*)
fa958513
DJ
196 ;;
197alpha64-dec-*vms*)
a9a25daa 198 tmake_file="vms/t-vms vms/t-vms64 alpha/t-vms"
fa958513
DJ
199 ;;
200alpha*-dec-*vms*)
a9a25daa 201 tmake_file="vms/t-vms alpha/t-vms"
fa958513
DJ
202 ;;
203arc-*-elf*)
204 ;;
fa958513
DJ
205arm-wrs-vxworks)
206 ;;
cd985f66 207arm*-*-freebsd*)
fa958513
DJ
208 ;;
209arm*-*-netbsdelf*)
210 ;;
211arm*-*-netbsd*)
212 ;;
213arm*-*-linux*) # ARM GNU/Linux with ELF
214 ;;
215arm*-*-uclinux*) # ARM ucLinux
216 ;;
217arm*-*-ecos-elf)
218 ;;
219arm*-*-eabi* | arm*-*-symbianelf* )
220 ;;
221arm*-*-rtems*)
222 ;;
cd985f66 223arm*-*-elf)
fa958513
DJ
224 ;;
225arm*-wince-pe*)
226 ;;
227arm-*-pe*)
228 ;;
fa958513
DJ
229avr-*-rtems*)
230 ;;
231avr-*-*)
47583040
AH
232 # Make HImode functions for AVR
233 tmake_file=${cpu_type}/t-avr
fa958513
DJ
234 ;;
235bfin*-elf*)
236 ;;
237bfin*-uclinux*)
238 ;;
344189f9
BS
239bfin*-linux-uclibc*)
240 # No need to build crtbeginT.o on uClibc systems. Should probably
241 # be moved to the OS specific section above.
242 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
243 ;;
fa958513
DJ
244bfin*-*)
245 ;;
4081d704 246crisv32-*-elf | crisv32-*-none | cris-*-elf | cris-*-none)
8fce4e31 247 extra_parts="crtbegin.o crtend.o"
fa958513 248 ;;
4081d704 249cris-*-linux* | crisv32-*-linux*)
fa958513
DJ
250 ;;
251crx-*-elf)
252 ;;
7d33c31d
KH
253fido-*-elf)
254 ;;
fa958513
DJ
255fr30-*-elf)
256 ;;
257frv-*-elf)
258 ;;
259frv-*-*linux*)
260 ;;
fa958513
DJ
261h8300-*-rtems*)
262 ;;
263h8300-*-elf*)
264 ;;
cd985f66 265hppa*64*-*-linux*)
fa958513 266 ;;
cd985f66 267hppa*-*-linux*)
fa958513
DJ
268 ;;
269hppa[12]*-*-hpux10*)
270 ;;
271hppa*64*-*-hpux11*)
272 ;;
273hppa[12]*-*-hpux11*)
274 ;;
275i[34567]86-*-darwin*)
276 ;;
277x86_64-*-darwin*)
278 tmake_file="t-darwin ${cpu_type}/t-darwin64 t-slibgcc-darwin"
279 ;;
280i[34567]86-*-elf*)
281 ;;
3ae3dbd6
HK
282x86_64-*-elf*)
283 ;;
fa958513 284i[34567]86-*-freebsd*)
d78552bd 285 tmake_file="${tmake_file} i386/t-freebsd"
fa958513
DJ
286 ;;
287x86_64-*-freebsd*)
d78552bd 288 tmake_file="${tmake_file} i386/t-freebsd"
fa958513
DJ
289 ;;
290i[34567]86-*-netbsdelf*)
291 ;;
292i[34567]86-*-netbsd*)
293 ;;
294x86_64-*-netbsd*)
295 ;;
296i[34567]86-*-openbsd2.*|i[34567]86-*openbsd3.[0123])
297 ;;
298i[34567]86-*-openbsd*)
299 ;;
c0451df7 300i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | i[34567]86-*-gnu*)
577565f9
UB
301 extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
302 tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm"
fa958513
DJ
303 ;;
304x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu)
577565f9
UB
305 extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
306 tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm"
fa958513 307 ;;
fa958513
DJ
308i[34567]86-pc-msdosdjgpp*)
309 ;;
310i[34567]86-*-lynxos*)
311 ;;
312i[3456x]86-*-netware*)
313 case /${with_ld} in
314 */nwld)
315 tmake_file="${tmake_file} i386/t-nwld"
316 ;;
317 esac
318 ;;
319i[34567]86-*-nto-qnx*)
320 ;;
321i[34567]86-*-rtems*)
322 ;;
fa958513 323i[34567]86-*-solaris2*)
19523300
RO
324 tmake_file="${tmake_file} i386/t-sol2"
325 case ${host} in
326 *-*-solaris2.1[0-9]*)
327 # Solaris 2.10 provides crt1.o, crti.o, crtn.o, and gcrt1.o as
328 # part of the base system.
329 extra_parts="gmon.o crtbegin.o crtend.o"
330 ;;
331 *)
332 extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"
333 ;;
334 esac
fa958513 335 ;;
fa958513
DJ
336i[4567]86-wrs-vxworks|i[4567]86-wrs-vxworksae)
337 ;;
9bd196f0 338i[34567]86-*-pe)
fa958513 339 ;;
9bd196f0 340i[34567]86-*-cygwin* | i[34567]86-*-mingw*)
76f5e200
DS
341 extra_parts="crtbegin.o crtend.o crtfastmath.o"
342 tmake_file="i386/t-cygming i386/t-crtfm"
9bd196f0
ZM
343 ;;
344x86_64-*-mingw*)
fa958513 345 ;;
fa958513
DJ
346i[34567]86-*-interix3*)
347 ;;
fa958513 348ia64*-*-elf*)
f43e89a3
RIL
349 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o"
350 tmake_file="ia64/t-ia64"
fa958513
DJ
351 ;;
352ia64*-*-freebsd*)
be1c764e
GP
353 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o"
354 tmake_file="ia64/t-ia64"
fa958513
DJ
355 ;;
356ia64*-*-linux*)
357 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o"
ba181049 358 tmake_file="ia64/t-ia64 t-softfp ia64/t-fprules-softfp ia64/t-softfp-compat"
fa958513
DJ
359 ;;
360ia64*-*-hpux*)
361 ;;
a9a25daa
DR
362ia64-hp-*vms*)
363 tmake_file="vms/t-vms vms/t-vms64 ia64/t-vms"
364 ;;
fa958513
DJ
365iq2000*-*-elf*)
366 ;;
c1b14424 367lm32-*-elf*|lm32-*-rtems*)
aa4945c1
JB
368 extra_parts="crtbegin.o crtend.o crti.o crtn.o"
369 tmake_file="lm32/t-lm32 lm32/t-elf t-softfp"
370 ;;
371lm32-*-uclinux*)
372 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o"
373 tmake_file="lm32/t-lm32 lm32/t-uclinux t-softfp"
374 ;;
2042cb04 375m32r-*-elf*|m32r-*-rtems*)
fa958513
DJ
376 ;;
377m32rle-*-elf*)
378 ;;
379m32r-*-linux*)
380 ;;
381m32rle-*-linux*)
382 ;;
383m68hc11-*-*|m6811-*-*)
384 ;;
385m68hc12-*-*|m6812-*-*)
386 ;;
cd985f66 387m68k-*-elf*)
fa958513 388 ;;
cd985f66 389m68k*-*-netbsdelf*)
fa958513
DJ
390 ;;
391m68k*-*-openbsd*)
392 ;;
393m68k-*-uclinux*) # Motorola m68k/ColdFire running uClinux with uClibc
394 ;;
395m68k-*-linux*) # Motorola m68k's running GNU/Linux
396 # with ELF format using glibc 2
397 # aka the GNU/Linux C library 6.
398 ;;
399m68k-*-rtems*)
400 ;;
401mcore-*-elf)
402 ;;
403mcore-*-pe*)
404 ;;
80920132
ME
405microblaze*-*-*)
406 tmake_file="microblaze/t-microblaze"
407 ;;
fa958513
DJ
408mips-sgi-irix[56]*)
409 ;;
410mips*-*-netbsd*) # NetBSD/mips, either endian.
411 ;;
412mips64*-*-linux*)
48b09a92
KH
413 extra_parts="$extra_parts crtfastmath.o"
414 tmake_file="{$tmake_file} mips/t-crtfm"
fa958513
DJ
415 ;;
416mips*-*-linux*) # Linux MIPS, either endian.
48b09a92
KH
417 extra_parts="$extra_parts crtfastmath.o"
418 tmake_file="{$tmake_file} mips/t-crtfm"
fa958513
DJ
419 ;;
420mips*-*-openbsd*)
421 ;;
422mipsisa32-*-elf* | mipsisa32el-*-elf*)
423 ;;
424mipsisa32r2-*-elf* | mipsisa32r2el-*-elf*)
425 ;;
426mipsisa64-*-elf* | mipsisa64el-*-elf*)
427 ;;
0a4a51c7
AN
428mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*)
429 ;;
fa958513
DJ
430mipsisa64sr71k-*-elf*)
431 ;;
432mipsisa64sb1-*-elf* | mipsisa64sb1el-*-elf*)
433 ;;
434mips-*-elf* | mipsel-*-elf*)
435 ;;
436mips64-*-elf* | mips64el-*-elf*)
437 ;;
438mips64vr-*-elf* | mips64vrel-*-elf*)
439 ;;
440mips64orion-*-elf* | mips64orionel-*-elf*)
441 ;;
442mips*-*-rtems*)
443 ;;
444mips-wrs-vxworks)
445 ;;
fa958513
DJ
446mipstx39-*-elf* | mipstx39el-*-elf*)
447 ;;
448mmix-knuth-mmixware)
e7c914db
HPN
449 extra_parts="crti.o crtn.o crtbegin.o crtend.o"
450 tmake_file="${tmake_file} ${cpu_type}/t-${cpu_type}"
fa958513
DJ
451 ;;
452mn10300-*-*)
453 ;;
cceb575c 454moxie-*-*)
e6e50811 455 tmake_file="moxie/t-moxie moxie/t-moxie-softfp"
cceb575c
AG
456 extra_parts="crtbegin.o crtend.o crti.o crtn.o"
457 ;;
fa958513
DJ
458pdp11-*-*)
459 ;;
358da97e
HS
460picochip-*-*)
461 ;;
fa958513
DJ
462powerpc-*-darwin*)
463 ;;
464powerpc64-*-darwin*)
465 ;;
9cfa1499
AT
466powerpc-*-freebsd*)
467 tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-freebsd t-softfp"
fa958513
DJ
468 ;;
469powerpc-*-netbsd*)
470 ;;
fa958513 471powerpc-*-eabispe*)
c5b79d4e 472 tmake_file="${tmake_file} rs6000/t-ppccomm"
fa958513
DJ
473 ;;
474powerpc-*-eabisimaltivec*)
475 ;;
476powerpc-*-eabisim*)
477 ;;
478powerpc-*-elf*)
479 ;;
480powerpc-*-eabialtivec*)
481 ;;
482powerpc-*-eabi*)
c5b79d4e 483 tmake_file="${tmake_file} rs6000/t-ppccomm"
fa958513
DJ
484 ;;
485powerpc-*-rtems*)
486 ;;
633dd061 487powerpc-*-linux* | powerpc64-*-linux*)
bcf4713b 488 tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ldbl128 t-softfp"
fa958513 489 ;;
633dd061
AM
490powerpc64-*-gnu*)
491 tmake_file="${tmake_file} rs6000/t-ldbl128 t-softfp"
492 ;;
fa958513
DJ
493powerpc-*-gnu-gnualtivec*)
494 tmake_file="${tmake_file} rs6000/t-ldbl128"
495 ;;
496powerpc-*-gnu*)
497 tmake_file="${tmake_file} rs6000/t-ldbl128"
498 ;;
499powerpc-wrs-vxworks|powerpc-wrs-vxworksae)
500 ;;
fa958513
DJ
501powerpc-*-lynxos*)
502 ;;
fa958513
DJ
503powerpcle-*-elf*)
504 ;;
505powerpcle-*-eabisim*)
506 ;;
507powerpcle-*-eabi*)
508 ;;
fa958513
DJ
509rs6000-ibm-aix4.[3456789]* | powerpc-ibm-aix4.[3456789]*)
510 ;;
511rs6000-ibm-aix5.1.* | powerpc-ibm-aix5.1.*)
512 ;;
513rs6000-ibm-aix[56789].* | powerpc-ibm-aix[56789].*)
514 ;;
65a324b4
NC
515rx-*-elf)
516 extra_parts="crtbegin.o crtend.o"
517 tmake_file="rx/t-rx"
518 ;;
fa958513 519s390-*-linux*)
81dd9fd7 520 tmake_file="${tmake_file} s390/t-crtstuff s390/t-linux s390/32/t-floattodi"
fa958513
DJ
521 ;;
522s390x-*-linux*)
81dd9fd7 523 tmake_file="${tmake_file} s390/t-crtstuff s390/t-linux"
fa958513
DJ
524 ;;
525s390x-ibm-tpf*)
81dd9fd7 526 tmake_file="${tmake_file} s390/t-crtstuff s390/t-tpf"
fa958513
DJ
527 ;;
528score-*-elf)
529 ;;
cd985f66 530sh-*-elf* | sh[12346l]*-*-elf* | \
fa958513 531sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | \
93fea8d3 532 sh-*-linux* | sh[2346lbe]*-*-linux* | \
fa958513
DJ
533 sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
534 sh64-*-netbsd* | sh64l*-*-netbsd*)
26900826
KK
535 case ${host} in
536 sh*-*-linux*)
537 tmake_file="${tmake_file} sh/t-linux"
538 ;;
539 esac
fa958513 540 ;;
fa958513
DJ
541sh-*-rtems*)
542 ;;
543sh-wrs-vxworks)
544 ;;
fa958513
DJ
545sparc-*-netbsdelf*)
546 ;;
547sparc64-*-openbsd*)
548 ;;
549sparc-*-elf*)
550 ;;
551sparc-*-linux*) # SPARC's running GNU/Linux, libc6
552 extra_parts="$extra_parts crtfastmath.o"
553 tmake_file="${tmake_file} sparc/t-crtfm"
554 ;;
1b64cc3e 555sparc-*-rtems* | sparc64-*-rtems* )
fa958513
DJ
556 ;;
557sparc64-*-solaris2* | sparcv9-*-solaris2*)
558 ;;
559sparc-*-solaris2*)
560 ;;
fa958513
DJ
561sparc64-*-elf*)
562 ;;
1910440e
RS
563sparc-wrs-vxworks)
564 ;;
fa958513
DJ
565sparc64-*-freebsd*|ultrasparc-*-freebsd*)
566 ;;
567sparc64-*-linux*) # 64-bit SPARC's running GNU/Linux
568 extra_parts="$extra_parts crtfastmath.o"
569 tmake_file="${tmake_file} sparc/t-crtfm"
570 ;;
571sparc64-*-netbsd*)
572 ;;
573spu-*-elf*)
574 ;;
fa958513
DJ
575v850e1-*-*)
576 ;;
577v850e-*-*)
578 ;;
579v850-*-*)
580 ;;
fea96e25
MR
581vax-*-linux*)
582 ;;
fa958513
DJ
583vax-*-netbsdelf*)
584 ;;
585vax-*-netbsd*)
586 ;;
587vax-*-openbsd*)
588 ;;
fa958513
DJ
589xstormy16-*-elf)
590 ;;
c660f132 591xtensa*-*-elf*)
fa958513 592 ;;
c660f132 593xtensa*-*-linux*)
fa958513
DJ
594 ;;
595am33_2.0-*-linux*)
596 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
597 ;;
541ed00e 598m32c-*-elf*|m32c-*-rtems*)
fa958513 599 ;;
7acf4da6
DD
600mep*-*-*)
601 ;;
fa958513
DJ
602*)
603 echo "*** Configuration ${host} not supported" 1>&2
604 exit 1
605 ;;
606esac
6f461e76
L
607
608case ${host} in
2a761e46
TS
609i[34567]86-*-linux* | x86_64-*-linux* | \
610 i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | \
611 i[34567]86-*-gnu*)
b6110d6d
ILT
612 tmake_file="${tmake_file} t-tls"
613 if test "$libgcc_cv_cfi" = "yes"; then
ca007d11 614 tmake_file="${tmake_file} t-stack i386/t-stack-i386"
b6110d6d 615 fi
6f461e76
L
616 ;;
617esac
ff473280
L
618
619case ${host} in
620i[34567]86-*-darwin* | x86_64-*-darwin* | \
532bfb0a 621 i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu | \
e997fb9c 622 i[34567]86-*-linux* | x86_64-*-linux* | \
3f56ef8b 623 i[34567]86-*-gnu* | \
f128db92 624 i[34567]86-*-solaris2* | \
d78552bd
UB
625 i[34567]86-*-cygwin* | i[34567]86-*-mingw* | x86_64-*-mingw* | \
626 i[34567]86-*-freebsd* | x86_64-*-freebsd*)
c174f11c 627 if test "${host_address}" = 32; then
ce16861e 628 tmake_file="${tmake_file} t-softfp i386/${host_address}/t-fprules-softfp"
c174f11c
L
629 fi
630 ;;
631esac
632
633case ${host} in
634i[34567]86-*-linux* | x86_64-*-linux*)
635 # Provide backward binary compatibility for 64bit Linux/x86.
636 if test "${host_address}" = 64; then
637 tmake_file="${tmake_file} i386/${host_address}/t-softfp-compat"
638 fi
ff473280
L
639 ;;
640esac