]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/config.host
gmon-sol2.c: Reindent.
[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,
ca24c5ad 3# 2008, 2009, 2010, 2011 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 ;;
ca24c5ad
RO
171*-*-solaris2*)
172 tmake_file="$tmake_file t-sol2 t-slibgcc t-slibgcc-elf-ver"
173 if test $with_gnu_ld = yes; then
174 tmake_file="$tmake_file t-slibgcc-gld"
175 else
176 tmake_file="$tmake_file t-slibgcc-sld"
177 fi
178 # Add cpu-specific t-sol2 after t-slibgcc-* so it can augment SHLIB_MAPFILES.
179 tmake_file="$tmake_file $cpu_type/t-sol2"
180 extra_parts="gmon.o crtbegin.o crtend.o"
181 case ${host} in
182 i?86-*-solaris2.1[0-9]*)
183 # Solaris 10+/x86 provides crt1.o, crti.o, crtn.o, and gcrt1.o as
184 # part of the base system.
185 ;;
186 sparc*-*-solaris2.1[0-9]*)
187 # Solaris 10+/SPARC lacks crt1.o and gcrt1.o.
188 extra_parts="$extra_parts crt1.o gcrt1.o"
189 ;;
190 *)
191 tmake_file="$tmake_file t-crtin"
192 extra_parts="$extra_parts crt1.o crti.o crtn.o gcrt1.o"
193 ;;
194 esac
195 ;;
fa958513
DJ
196*-*-vxworks*)
197 ;;
198*-*-elf)
199 ;;
200esac
201
202case ${host} in
203# Support site-specific machine types.
204*local*)
205 rest=`echo ${host} | sed -e "s/$cpu_type-//"`
206 if test -f $srcdir/config/${cpu_type}/t-$rest
207 then tmake_file=${cpu_type}/t-$rest
208 fi
209 ;;
ebb9f8b0 210alpha*-*-linux*)
fa958513 211 tmake_file="${tmake_file} alpha/t-crtfm"
5ea41e3a 212 extra_parts="$extra_parts crtfastmath.o"
fa958513 213 ;;
fa958513
DJ
214alpha*-*-freebsd*)
215 ;;
216alpha*-*-netbsd*)
217 ;;
218alpha*-*-openbsd*)
219 ;;
8c200350 220alpha*-dec-osf5.1*)
fa958513
DJ
221 ;;
222alpha64-dec-*vms*)
a9a25daa 223 tmake_file="vms/t-vms vms/t-vms64 alpha/t-vms"
fa958513
DJ
224 ;;
225alpha*-dec-*vms*)
a9a25daa 226 tmake_file="vms/t-vms alpha/t-vms"
fa958513 227 ;;
fa958513
DJ
228arm-wrs-vxworks)
229 ;;
cd985f66 230arm*-*-freebsd*)
fa958513
DJ
231 ;;
232arm*-*-netbsdelf*)
233 ;;
fa958513
DJ
234arm*-*-linux*) # ARM GNU/Linux with ELF
235 ;;
236arm*-*-uclinux*) # ARM ucLinux
237 ;;
238arm*-*-ecos-elf)
239 ;;
240arm*-*-eabi* | arm*-*-symbianelf* )
241 ;;
242arm*-*-rtems*)
243 ;;
cd985f66 244arm*-*-elf)
fa958513
DJ
245 ;;
246arm*-wince-pe*)
247 ;;
fa958513
DJ
248avr-*-rtems*)
249 ;;
250avr-*-*)
47583040
AH
251 # Make HImode functions for AVR
252 tmake_file=${cpu_type}/t-avr
fa958513
DJ
253 ;;
254bfin*-elf*)
255 ;;
256bfin*-uclinux*)
257 ;;
344189f9
BS
258bfin*-linux-uclibc*)
259 # No need to build crtbeginT.o on uClibc systems. Should probably
260 # be moved to the OS specific section above.
261 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
262 ;;
fa958513
DJ
263bfin*-*)
264 ;;
4081d704 265crisv32-*-elf | crisv32-*-none | cris-*-elf | cris-*-none)
8fce4e31 266 extra_parts="crtbegin.o crtend.o"
fa958513 267 ;;
4081d704 268cris-*-linux* | crisv32-*-linux*)
fa958513 269 ;;
7d33c31d
KH
270fido-*-elf)
271 ;;
fa958513
DJ
272fr30-*-elf)
273 ;;
274frv-*-elf)
275 ;;
276frv-*-*linux*)
277 ;;
fa958513
DJ
278h8300-*-rtems*)
279 ;;
280h8300-*-elf*)
281 ;;
cd985f66 282hppa*64*-*-linux*)
fa958513 283 ;;
cd985f66 284hppa*-*-linux*)
fa958513
DJ
285 ;;
286hppa[12]*-*-hpux10*)
287 ;;
288hppa*64*-*-hpux11*)
289 ;;
290hppa[12]*-*-hpux11*)
291 ;;
292i[34567]86-*-darwin*)
293 ;;
294x86_64-*-darwin*)
295 tmake_file="t-darwin ${cpu_type}/t-darwin64 t-slibgcc-darwin"
296 ;;
297i[34567]86-*-elf*)
298 ;;
3ae3dbd6
HK
299x86_64-*-elf*)
300 ;;
fa958513 301i[34567]86-*-freebsd*)
d78552bd 302 tmake_file="${tmake_file} i386/t-freebsd"
fa958513
DJ
303 ;;
304x86_64-*-freebsd*)
d78552bd 305 tmake_file="${tmake_file} i386/t-freebsd"
fa958513
DJ
306 ;;
307i[34567]86-*-netbsdelf*)
308 ;;
fa958513
DJ
309x86_64-*-netbsd*)
310 ;;
311i[34567]86-*-openbsd2.*|i[34567]86-*openbsd3.[0123])
312 ;;
313i[34567]86-*-openbsd*)
314 ;;
c0451df7 315i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | i[34567]86-*-gnu*)
577565f9
UB
316 extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
317 tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm"
fa958513
DJ
318 ;;
319x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu)
577565f9
UB
320 extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
321 tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm"
fa958513 322 ;;
fa958513
DJ
323i[34567]86-pc-msdosdjgpp*)
324 ;;
325i[34567]86-*-lynxos*)
326 ;;
327i[3456x]86-*-netware*)
328 case /${with_ld} in
329 */nwld)
330 tmake_file="${tmake_file} i386/t-nwld"
331 ;;
332 esac
333 ;;
334i[34567]86-*-nto-qnx*)
335 ;;
336i[34567]86-*-rtems*)
ca24c5ad
RO
337 extra_parts="crtbegin.o crtend.o crti.o crtn.o"
338 tmake_file="${tmake_file} t-crtin i386/t-softfp i386/t-crtstuff t-rtems"
fa958513 339 ;;
fa958513
DJ
340i[34567]86-*-solaris2*)
341 ;;
fa958513
DJ
342i[4567]86-wrs-vxworks|i[4567]86-wrs-vxworksae)
343 ;;
9bd196f0 344i[34567]86-*-cygwin* | i[34567]86-*-mingw*)
76f5e200
DS
345 extra_parts="crtbegin.o crtend.o crtfastmath.o"
346 tmake_file="i386/t-cygming i386/t-crtfm"
9bd196f0
ZM
347 ;;
348x86_64-*-mingw*)
fa958513 349 ;;
fa958513
DJ
350i[34567]86-*-interix3*)
351 ;;
fa958513 352ia64*-*-elf*)
f43e89a3
RIL
353 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o"
354 tmake_file="ia64/t-ia64"
fa958513
DJ
355 ;;
356ia64*-*-freebsd*)
be1c764e
GP
357 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o"
358 tmake_file="ia64/t-ia64"
fa958513
DJ
359 ;;
360ia64*-*-linux*)
361 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o"
ba181049 362 tmake_file="ia64/t-ia64 t-softfp ia64/t-fprules-softfp ia64/t-softfp-compat"
fa958513
DJ
363 ;;
364ia64*-*-hpux*)
365 ;;
a9a25daa
DR
366ia64-hp-*vms*)
367 tmake_file="vms/t-vms vms/t-vms64 ia64/t-vms"
368 ;;
fa958513
DJ
369iq2000*-*-elf*)
370 ;;
c1b14424 371lm32-*-elf*|lm32-*-rtems*)
aa4945c1
JB
372 extra_parts="crtbegin.o crtend.o crti.o crtn.o"
373 tmake_file="lm32/t-lm32 lm32/t-elf t-softfp"
374 ;;
375lm32-*-uclinux*)
376 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o"
377 tmake_file="lm32/t-lm32 lm32/t-uclinux t-softfp"
378 ;;
2042cb04 379m32r-*-elf*|m32r-*-rtems*)
fa958513
DJ
380 ;;
381m32rle-*-elf*)
382 ;;
383m32r-*-linux*)
384 ;;
385m32rle-*-linux*)
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 ;;
80920132
ME
403microblaze*-*-*)
404 tmake_file="microblaze/t-microblaze"
405 ;;
fa958513
DJ
406mips-sgi-irix[56]*)
407 ;;
408mips*-*-netbsd*) # NetBSD/mips, either endian.
409 ;;
410mips64*-*-linux*)
48b09a92
KH
411 extra_parts="$extra_parts crtfastmath.o"
412 tmake_file="{$tmake_file} mips/t-crtfm"
fa958513
DJ
413 ;;
414mips*-*-linux*) # Linux MIPS, either endian.
48b09a92
KH
415 extra_parts="$extra_parts crtfastmath.o"
416 tmake_file="{$tmake_file} mips/t-crtfm"
fa958513
DJ
417 ;;
418mips*-*-openbsd*)
419 ;;
420mipsisa32-*-elf* | mipsisa32el-*-elf*)
421 ;;
422mipsisa32r2-*-elf* | mipsisa32r2el-*-elf*)
423 ;;
424mipsisa64-*-elf* | mipsisa64el-*-elf*)
425 ;;
0a4a51c7
AN
426mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*)
427 ;;
fa958513
DJ
428mipsisa64sr71k-*-elf*)
429 ;;
430mipsisa64sb1-*-elf* | mipsisa64sb1el-*-elf*)
431 ;;
432mips-*-elf* | mipsel-*-elf*)
433 ;;
434mips64-*-elf* | mips64el-*-elf*)
435 ;;
436mips64vr-*-elf* | mips64vrel-*-elf*)
437 ;;
438mips64orion-*-elf* | mips64orionel-*-elf*)
439 ;;
440mips*-*-rtems*)
441 ;;
442mips-wrs-vxworks)
443 ;;
fa958513
DJ
444mipstx39-*-elf* | mipstx39el-*-elf*)
445 ;;
446mmix-knuth-mmixware)
e7c914db
HPN
447 extra_parts="crti.o crtn.o crtbegin.o crtend.o"
448 tmake_file="${tmake_file} ${cpu_type}/t-${cpu_type}"
fa958513
DJ
449 ;;
450mn10300-*-*)
451 ;;
cceb575c 452moxie-*-*)
e6e50811 453 tmake_file="moxie/t-moxie moxie/t-moxie-softfp"
cceb575c
AG
454 extra_parts="crtbegin.o crtend.o crti.o crtn.o"
455 ;;
fa958513
DJ
456pdp11-*-*)
457 ;;
358da97e
HS
458picochip-*-*)
459 ;;
fa958513
DJ
460powerpc-*-darwin*)
461 ;;
462powerpc64-*-darwin*)
463 ;;
9cfa1499
AT
464powerpc-*-freebsd*)
465 tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-freebsd t-softfp"
fa958513
DJ
466 ;;
467powerpc-*-netbsd*)
468 ;;
fa958513 469powerpc-*-eabispe*)
c5b79d4e 470 tmake_file="${tmake_file} rs6000/t-ppccomm"
fa958513
DJ
471 ;;
472powerpc-*-eabisimaltivec*)
473 ;;
474powerpc-*-eabisim*)
475 ;;
476powerpc-*-elf*)
477 ;;
478powerpc-*-eabialtivec*)
479 ;;
480powerpc-*-eabi*)
c5b79d4e 481 tmake_file="${tmake_file} rs6000/t-ppccomm"
fa958513
DJ
482 ;;
483powerpc-*-rtems*)
484 ;;
633dd061 485powerpc-*-linux* | powerpc64-*-linux*)
bcf4713b 486 tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ldbl128 t-softfp"
fa958513 487 ;;
fa958513
DJ
488powerpc-wrs-vxworks|powerpc-wrs-vxworksae)
489 ;;
fa958513
DJ
490powerpc-*-lynxos*)
491 ;;
fa958513
DJ
492powerpcle-*-elf*)
493 ;;
494powerpcle-*-eabisim*)
495 ;;
496powerpcle-*-eabi*)
497 ;;
fa958513
DJ
498rs6000-ibm-aix4.[3456789]* | powerpc-ibm-aix4.[3456789]*)
499 ;;
500rs6000-ibm-aix5.1.* | powerpc-ibm-aix5.1.*)
501 ;;
502rs6000-ibm-aix[56789].* | powerpc-ibm-aix[56789].*)
503 ;;
65a324b4
NC
504rx-*-elf)
505 extra_parts="crtbegin.o crtend.o"
506 tmake_file="rx/t-rx"
507 ;;
fa958513 508s390-*-linux*)
81dd9fd7 509 tmake_file="${tmake_file} s390/t-crtstuff s390/t-linux s390/32/t-floattodi"
fa958513
DJ
510 ;;
511s390x-*-linux*)
81dd9fd7 512 tmake_file="${tmake_file} s390/t-crtstuff s390/t-linux"
fa958513
DJ
513 ;;
514s390x-ibm-tpf*)
81dd9fd7 515 tmake_file="${tmake_file} s390/t-crtstuff s390/t-tpf"
fa958513
DJ
516 ;;
517score-*-elf)
518 ;;
cd985f66 519sh-*-elf* | sh[12346l]*-*-elf* | \
93fea8d3 520 sh-*-linux* | sh[2346lbe]*-*-linux* | \
fa958513
DJ
521 sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
522 sh64-*-netbsd* | sh64l*-*-netbsd*)
26900826
KK
523 case ${host} in
524 sh*-*-linux*)
525 tmake_file="${tmake_file} sh/t-linux"
526 ;;
527 esac
fa958513 528 ;;
fa958513
DJ
529sh-*-rtems*)
530 ;;
531sh-wrs-vxworks)
532 ;;
fa958513
DJ
533sparc-*-netbsdelf*)
534 ;;
535sparc64-*-openbsd*)
536 ;;
537sparc-*-elf*)
ca24c5ad
RO
538 case ${host} in
539 *-leon[3-9]*)
540 ;;
541 *)
542 tmake_file="sparc/t-softmul"
543 ;;
544 esac
545 tmake_file="${tmake_file} sparc/t-softfp t-crtin t-crtfm"
546 extra_parts="crtbegin.o crtend.o crti.o crtn.o crtfastmath.o"
fa958513
DJ
547 ;;
548sparc-*-linux*) # SPARC's running GNU/Linux, libc6
549 extra_parts="$extra_parts crtfastmath.o"
ca24c5ad 550 tmake_file="${tmake_file} t-crtfm"
fa958513 551 ;;
1b64cc3e 552sparc-*-rtems* | sparc64-*-rtems* )
ca24c5ad
RO
553 tmake_file="sparc/t-elf t-crtin t-crtfm t-rtems"
554 extra_parts="crtbegin.o crtend.o crti.o crtn.o crtfastmath.o"
fa958513 555 ;;
ca24c5ad
RO
556sparc*-*-solaris2*)
557 tmake_file="$tmake_file t-crtfm"
558 extra_parts="$extra_parts crtfastmath.o"
fa958513 559 ;;
fa958513 560sparc64-*-elf*)
ca24c5ad
RO
561 tmake_file="${tmake_file} t-crtin t-crtfm"
562 extra_parts="crtbegin.o crtend.o crti.o crtn.o crtfastmath.o"
fa958513 563 ;;
1910440e
RS
564sparc-wrs-vxworks)
565 ;;
fa958513
DJ
566sparc64-*-freebsd*|ultrasparc-*-freebsd*)
567 ;;
568sparc64-*-linux*) # 64-bit SPARC's running GNU/Linux
569 extra_parts="$extra_parts crtfastmath.o"
ca24c5ad 570 tmake_file="${tmake_file} t-crtfm"
fa958513
DJ
571 ;;
572sparc64-*-netbsd*)
573 ;;
574spu-*-elf*)
575 ;;
fa958513
DJ
576v850e1-*-*)
577 ;;
578v850e-*-*)
579 ;;
580v850-*-*)
581 ;;
fea96e25
MR
582vax-*-linux*)
583 ;;
fa958513
DJ
584vax-*-netbsdelf*)
585 ;;
fa958513
DJ
586vax-*-openbsd*)
587 ;;
fa958513
DJ
588xstormy16-*-elf)
589 ;;
c660f132 590xtensa*-*-elf*)
fa958513 591 ;;
c660f132 592xtensa*-*-linux*)
fa958513
DJ
593 ;;
594am33_2.0-*-linux*)
595 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
596 ;;
541ed00e 597m32c-*-elf*|m32c-*-rtems*)
fa958513 598 ;;
7acf4da6
DD
599mep*-*-*)
600 ;;
fa958513
DJ
601*)
602 echo "*** Configuration ${host} not supported" 1>&2
603 exit 1
604 ;;
605esac
6f461e76
L
606
607case ${host} in
2a761e46
TS
608i[34567]86-*-linux* | x86_64-*-linux* | \
609 i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | \
610 i[34567]86-*-gnu*)
b6110d6d
ILT
611 tmake_file="${tmake_file} t-tls"
612 if test "$libgcc_cv_cfi" = "yes"; then
ca007d11 613 tmake_file="${tmake_file} t-stack i386/t-stack-i386"
b6110d6d 614 fi
6f461e76
L
615 ;;
616esac
ff473280
L
617
618case ${host} in
619i[34567]86-*-darwin* | x86_64-*-darwin* | \
532bfb0a 620 i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu | \
e997fb9c 621 i[34567]86-*-linux* | x86_64-*-linux* | \
3f56ef8b 622 i[34567]86-*-gnu* | \
f128db92 623 i[34567]86-*-solaris2* | \
d78552bd
UB
624 i[34567]86-*-cygwin* | i[34567]86-*-mingw* | x86_64-*-mingw* | \
625 i[34567]86-*-freebsd* | x86_64-*-freebsd*)
c174f11c 626 if test "${host_address}" = 32; then
ce16861e 627 tmake_file="${tmake_file} t-softfp i386/${host_address}/t-fprules-softfp"
c174f11c
L
628 fi
629 ;;
630esac
631
632case ${host} in
633i[34567]86-*-linux* | x86_64-*-linux*)
634 # Provide backward binary compatibility for 64bit Linux/x86.
635 if test "${host_address}" = 64; then
636 tmake_file="${tmake_file} i386/${host_address}/t-softfp-compat"
637 fi
ff473280
L
638 ;;
639esac