]>
Commit | Line | Data |
---|---|---|
894a47b4 | 1 | # libgcc host-specific configuration file. |
99c77e32 | 2 | # Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, |
f2397fc4 | 3 | # 2008, 2009 Free Software Foundation, Inc. |
894a47b4 | 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 | |
6bc9506f | 9 | #Software Foundation; either version 3, or (at your option) any later |
894a47b4 | 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 | |
6bc9506f | 18 | #along with GCC; see the file COPYING3. If not see |
19 | #<http://www.gnu.org/licenses/>. | |
894a47b4 | 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 | ||
57 | asm_hidden_op=.hidden | |
58 | extra_parts= | |
59 | tmake_file= | |
60 | ||
61 | # Set default cpu_type so it can be updated in each machine entry. | |
62 | cpu_type=`echo ${host} | sed 's/-.*$//'` | |
63 | case ${host} in | |
64 | m32c*-*-*) | |
65 | cpu_type=m32c | |
66 | ;; | |
67 | alpha*-*-*) | |
68 | cpu_type=alpha | |
69 | ;; | |
70 | am33_2.0-*-linux*) | |
71 | cpu_type=mn10300 | |
72 | ;; | |
894a47b4 | 73 | arm*-*-*) |
74 | cpu_type=arm | |
75 | ;; | |
38dd5584 | 76 | avr-*-*) |
77 | cpu_type=avr | |
78 | ;; | |
894a47b4 | 79 | bfin*-*) |
80 | cpu_type=bfin | |
81 | ;; | |
278e2fd1 | 82 | fido-*-*) |
83 | cpu_type=m68k | |
84 | ;; | |
894a47b4 | 85 | frv*) cpu_type=frv |
86 | ;; | |
be52b6d8 | 87 | moxie*) cpu_type=moxie |
88 | ;; | |
894a47b4 | 89 | i[34567]86-*-*) |
90 | cpu_type=i386 | |
91 | ;; | |
92 | x86_64-*-*) | |
93 | cpu_type=i386 | |
94 | ;; | |
95 | ia64-*-*) | |
96 | ;; | |
6af9f7ea | 97 | hppa*-*-*) |
894a47b4 | 98 | cpu_type=pa |
99 | ;; | |
100 | m32r*-*-*) | |
101 | cpu_type=m32r | |
102 | ;; | |
894a47b4 | 103 | m68k-*-*) |
104 | ;; | |
46222c18 | 105 | mep*-*-*) |
106 | ;; | |
894a47b4 | 107 | mips*-*-*) |
108 | cpu_type=mips | |
109 | ;; | |
110 | powerpc*-*-*) | |
111 | cpu_type=rs6000 | |
112 | ;; | |
113 | rs6000*-*-*) | |
114 | ;; | |
115 | score*-*-*) | |
116 | cpu_type=score | |
117 | ;; | |
118 | sparc64*-*-*) | |
119 | cpu_type=sparc | |
120 | ;; | |
121 | sparc*-*-*) | |
122 | cpu_type=sparc | |
123 | ;; | |
124 | spu*-*-*) | |
125 | cpu_type=spu | |
126 | ;; | |
127 | s390*-*-*) | |
128 | cpu_type=s390 | |
129 | ;; | |
130 | # Note the 'l'; we need to be able to match e.g. "shle" or "shl". | |
131 | sh[123456789lbe]*-*-*) | |
132 | cpu_type=sh | |
133 | ;; | |
894a47b4 | 134 | esac |
135 | ||
136 | # Common parts for widely ported systems. | |
137 | case ${host} in | |
138 | *-*-darwin*) | |
139 | asm_hidden_op=.private_extern | |
140 | tmake_file="t-darwin ${cpu_type}/t-darwin t-slibgcc-darwin" | |
141 | ;; | |
142 | *-*-freebsd[12] | *-*-freebsd[12].* | *-*-freebsd*aout*) | |
143 | # This is the place-holder for the generic a.out configuration | |
144 | # of FreeBSD. No actual configuration resides here since | |
145 | # there was only ever a bare-bones ix86 configuration for | |
146 | # a.out and it exists solely in the machine-specific section. | |
147 | # This place-holder must exist to avoid dropping into | |
148 | # the generic ELF configuration of FreeBSD (i.e. it must be | |
149 | # ordered before that section). | |
150 | ;; | |
151 | *-*-freebsd*) | |
152 | # This is the generic ELF configuration of FreeBSD. Later | |
153 | # machine-specific sections may refine and add to this | |
154 | # configuration. | |
155 | ;; | |
74cd9df8 | 156 | *-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | *-*-knetbsd*-gnu | *-*-gnu*) |
894a47b4 | 157 | extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o" |
158 | ;; | |
894a47b4 | 159 | *-*-netbsd*) |
160 | ;; | |
161 | *-*-openbsd*) | |
162 | ;; | |
163 | *-*-rtems*) | |
164 | ;; | |
165 | *-*-vxworks*) | |
166 | ;; | |
167 | *-*-elf) | |
168 | ;; | |
169 | esac | |
170 | ||
171 | case ${host} in | |
172 | # Support site-specific machine types. | |
173 | *local*) | |
174 | rest=`echo ${host} | sed -e "s/$cpu_type-//"` | |
175 | if test -f $srcdir/config/${cpu_type}/t-$rest | |
176 | then tmake_file=${cpu_type}/t-$rest | |
177 | fi | |
178 | ;; | |
74cd9df8 | 179 | alpha*-*-linux* | alpha*-*-gnu*) |
894a47b4 | 180 | tmake_file="${tmake_file} alpha/t-crtfm" |
cdca0ab7 | 181 | extra_parts="$extra_parts crtfastmath.o" |
894a47b4 | 182 | ;; |
894a47b4 | 183 | alpha*-*-freebsd*) |
184 | ;; | |
185 | alpha*-*-netbsd*) | |
186 | ;; | |
187 | alpha*-*-openbsd*) | |
188 | ;; | |
189 | alpha*-dec-osf[45]*) | |
190 | ;; | |
191 | alpha64-dec-*vms*) | |
192 | ;; | |
193 | alpha*-dec-*vms*) | |
194 | ;; | |
195 | arc-*-elf*) | |
196 | ;; | |
894a47b4 | 197 | arm-wrs-vxworks) |
198 | ;; | |
6af9f7ea | 199 | arm*-*-freebsd*) |
894a47b4 | 200 | ;; |
201 | arm*-*-netbsdelf*) | |
202 | ;; | |
203 | arm*-*-netbsd*) | |
204 | ;; | |
205 | arm*-*-linux*) # ARM GNU/Linux with ELF | |
206 | ;; | |
207 | arm*-*-uclinux*) # ARM ucLinux | |
208 | ;; | |
209 | arm*-*-ecos-elf) | |
210 | ;; | |
211 | arm*-*-eabi* | arm*-*-symbianelf* ) | |
212 | ;; | |
213 | arm*-*-rtems*) | |
214 | ;; | |
6af9f7ea | 215 | arm*-*-elf) |
894a47b4 | 216 | ;; |
217 | arm*-wince-pe*) | |
218 | ;; | |
219 | arm-*-pe*) | |
220 | ;; | |
894a47b4 | 221 | avr-*-rtems*) |
222 | ;; | |
223 | avr-*-*) | |
38dd5584 | 224 | # Make HImode functions for AVR |
225 | tmake_file=${cpu_type}/t-avr | |
894a47b4 | 226 | ;; |
227 | bfin*-elf*) | |
228 | ;; | |
229 | bfin*-uclinux*) | |
230 | ;; | |
bce94ab5 | 231 | bfin*-linux-uclibc*) |
232 | # No need to build crtbeginT.o on uClibc systems. Should probably | |
233 | # be moved to the OS specific section above. | |
234 | extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o" | |
235 | ;; | |
894a47b4 | 236 | bfin*-*) |
237 | ;; | |
877d7f12 | 238 | crisv32-*-elf | crisv32-*-none | cris-*-elf | cris-*-none) |
7a9b9c95 | 239 | extra_parts="crtbegin.o crtend.o" |
894a47b4 | 240 | ;; |
877d7f12 | 241 | cris-*-linux* | crisv32-*-linux*) |
894a47b4 | 242 | ;; |
243 | crx-*-elf) | |
244 | ;; | |
278e2fd1 | 245 | fido-*-elf) |
246 | ;; | |
894a47b4 | 247 | fr30-*-elf) |
248 | ;; | |
249 | frv-*-elf) | |
250 | ;; | |
251 | frv-*-*linux*) | |
252 | ;; | |
894a47b4 | 253 | h8300-*-rtems*) |
254 | ;; | |
255 | h8300-*-elf*) | |
256 | ;; | |
6af9f7ea | 257 | hppa*64*-*-linux*) |
894a47b4 | 258 | ;; |
6af9f7ea | 259 | hppa*-*-linux*) |
894a47b4 | 260 | ;; |
261 | hppa[12]*-*-hpux10*) | |
262 | ;; | |
263 | hppa*64*-*-hpux11*) | |
264 | ;; | |
265 | hppa[12]*-*-hpux11*) | |
266 | ;; | |
267 | i[34567]86-*-darwin*) | |
268 | ;; | |
269 | x86_64-*-darwin*) | |
270 | tmake_file="t-darwin ${cpu_type}/t-darwin64 t-slibgcc-darwin" | |
271 | ;; | |
272 | i[34567]86-*-elf*) | |
273 | ;; | |
cc8ebe39 | 274 | x86_64-*-elf*) |
275 | ;; | |
894a47b4 | 276 | i[34567]86-*-freebsd*) |
277 | ;; | |
278 | x86_64-*-freebsd*) | |
279 | ;; | |
280 | i[34567]86-*-netbsdelf*) | |
281 | ;; | |
282 | i[34567]86-*-netbsd*) | |
283 | ;; | |
284 | x86_64-*-netbsd*) | |
285 | ;; | |
286 | i[34567]86-*-openbsd2.*|i[34567]86-*openbsd3.[0123]) | |
287 | ;; | |
288 | i[34567]86-*-openbsd*) | |
289 | ;; | |
74cd9df8 | 290 | i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | i[34567]86-*-gnu*) |
6d057ce8 | 291 | extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o" |
292 | tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm" | |
894a47b4 | 293 | ;; |
294 | x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu) | |
6d057ce8 | 295 | extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o" |
296 | tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm" | |
894a47b4 | 297 | ;; |
894a47b4 | 298 | i[34567]86-pc-msdosdjgpp*) |
299 | ;; | |
300 | i[34567]86-*-lynxos*) | |
301 | ;; | |
302 | i[3456x]86-*-netware*) | |
303 | case /${with_ld} in | |
304 | */nwld) | |
305 | tmake_file="${tmake_file} i386/t-nwld" | |
306 | ;; | |
307 | esac | |
308 | ;; | |
309 | i[34567]86-*-nto-qnx*) | |
310 | ;; | |
311 | i[34567]86-*-rtems*) | |
312 | ;; | |
894a47b4 | 313 | i[34567]86-*-solaris2*) |
03150a33 | 314 | tmake_file="${tmake_file} i386/t-sol2" |
315 | case ${host} in | |
316 | *-*-solaris2.1[0-9]*) | |
317 | # Solaris 2.10 provides crt1.o, crti.o, crtn.o, and gcrt1.o as | |
318 | # part of the base system. | |
319 | extra_parts="gmon.o crtbegin.o crtend.o" | |
320 | ;; | |
321 | *) | |
322 | extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o" | |
323 | ;; | |
324 | esac | |
894a47b4 | 325 | ;; |
894a47b4 | 326 | i[4567]86-wrs-vxworks|i[4567]86-wrs-vxworksae) |
327 | ;; | |
8f433c51 | 328 | i[34567]86-*-pe) |
894a47b4 | 329 | ;; |
8f433c51 | 330 | i[34567]86-*-cygwin* | i[34567]86-*-mingw*) |
9e51385b | 331 | extra_parts="crtbegin.o crtend.o crtfastmath.o" |
332 | tmake_file="i386/t-cygming i386/t-crtfm" | |
8f433c51 | 333 | ;; |
334 | x86_64-*-mingw*) | |
894a47b4 | 335 | ;; |
894a47b4 | 336 | i[34567]86-*-interix3*) |
337 | ;; | |
894a47b4 | 338 | ia64*-*-elf*) |
75612461 | 339 | extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o" |
340 | tmake_file="ia64/t-ia64" | |
894a47b4 | 341 | ;; |
342 | ia64*-*-freebsd*) | |
343 | ;; | |
344 | ia64*-*-linux*) | |
345 | extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o" | |
24200b28 | 346 | tmake_file="ia64/t-ia64 t-softfp ia64/t-fprules-softfp ia64/t-softfp-compat" |
894a47b4 | 347 | ;; |
348 | ia64*-*-hpux*) | |
349 | ;; | |
350 | iq2000*-*-elf*) | |
351 | ;; | |
b8138586 | 352 | m32r-*-elf*|m32r-*-rtems*) |
894a47b4 | 353 | ;; |
354 | m32rle-*-elf*) | |
355 | ;; | |
356 | m32r-*-linux*) | |
357 | ;; | |
358 | m32rle-*-linux*) | |
359 | ;; | |
360 | m68hc11-*-*|m6811-*-*) | |
361 | ;; | |
362 | m68hc12-*-*|m6812-*-*) | |
363 | ;; | |
6af9f7ea | 364 | m68k-*-elf*) |
894a47b4 | 365 | ;; |
6af9f7ea | 366 | m68k*-*-netbsdelf*) |
894a47b4 | 367 | ;; |
368 | m68k*-*-openbsd*) | |
369 | ;; | |
370 | m68k-*-uclinux*) # Motorola m68k/ColdFire running uClinux with uClibc | |
371 | ;; | |
372 | m68k-*-linux*) # Motorola m68k's running GNU/Linux | |
373 | # with ELF format using glibc 2 | |
374 | # aka the GNU/Linux C library 6. | |
375 | ;; | |
376 | m68k-*-rtems*) | |
377 | ;; | |
378 | mcore-*-elf) | |
379 | ;; | |
380 | mcore-*-pe*) | |
381 | ;; | |
382 | mips-sgi-irix[56]*) | |
383 | ;; | |
384 | mips*-*-netbsd*) # NetBSD/mips, either endian. | |
385 | ;; | |
386 | mips64*-*-linux*) | |
387 | ;; | |
388 | mips*-*-linux*) # Linux MIPS, either endian. | |
389 | ;; | |
390 | mips*-*-openbsd*) | |
391 | ;; | |
392 | mipsisa32-*-elf* | mipsisa32el-*-elf*) | |
393 | ;; | |
394 | mipsisa32r2-*-elf* | mipsisa32r2el-*-elf*) | |
395 | ;; | |
396 | mipsisa64-*-elf* | mipsisa64el-*-elf*) | |
397 | ;; | |
77a32a8e | 398 | mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*) |
399 | ;; | |
894a47b4 | 400 | mipsisa64sr71k-*-elf*) |
401 | ;; | |
402 | mipsisa64sb1-*-elf* | mipsisa64sb1el-*-elf*) | |
403 | ;; | |
404 | mips-*-elf* | mipsel-*-elf*) | |
405 | ;; | |
406 | mips64-*-elf* | mips64el-*-elf*) | |
407 | ;; | |
408 | mips64vr-*-elf* | mips64vrel-*-elf*) | |
409 | ;; | |
410 | mips64orion-*-elf* | mips64orionel-*-elf*) | |
411 | ;; | |
412 | mips*-*-rtems*) | |
413 | ;; | |
414 | mips-wrs-vxworks) | |
415 | ;; | |
894a47b4 | 416 | mipstx39-*-elf* | mipstx39el-*-elf*) |
417 | ;; | |
418 | mmix-knuth-mmixware) | |
419 | ;; | |
420 | mn10300-*-*) | |
421 | ;; | |
be52b6d8 | 422 | moxie-*-*) |
423 | tmake_file=${cpu_type}/t-moxie | |
424 | extra_parts="crtbegin.o crtend.o crti.o crtn.o" | |
425 | ;; | |
894a47b4 | 426 | pdp11-*-*) |
427 | ;; | |
8372e9ea | 428 | picochip-*-*) |
429 | ;; | |
894a47b4 | 430 | powerpc-*-darwin*) |
431 | ;; | |
432 | powerpc64-*-darwin*) | |
433 | ;; | |
434 | powerpc*-*-freebsd*) | |
435 | ;; | |
436 | powerpc-*-netbsd*) | |
437 | ;; | |
894a47b4 | 438 | powerpc-*-eabispe*) |
439 | ;; | |
440 | powerpc-*-eabisimaltivec*) | |
441 | ;; | |
442 | powerpc-*-eabisim*) | |
443 | ;; | |
444 | powerpc-*-elf*) | |
445 | ;; | |
446 | powerpc-*-eabialtivec*) | |
447 | ;; | |
448 | powerpc-*-eabi*) | |
449 | ;; | |
450 | powerpc-*-rtems*) | |
451 | ;; | |
4e5e2802 | 452 | powerpc-*-linux* | powerpc64-*-linux*) |
5790f80a | 453 | tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ldbl128 t-softfp" |
894a47b4 | 454 | ;; |
4e5e2802 | 455 | powerpc64-*-gnu*) |
456 | tmake_file="${tmake_file} rs6000/t-ldbl128 t-softfp" | |
457 | ;; | |
894a47b4 | 458 | powerpc-*-gnu-gnualtivec*) |
459 | tmake_file="${tmake_file} rs6000/t-ldbl128" | |
460 | ;; | |
461 | powerpc-*-gnu*) | |
462 | tmake_file="${tmake_file} rs6000/t-ldbl128" | |
463 | ;; | |
464 | powerpc-wrs-vxworks|powerpc-wrs-vxworksae) | |
465 | ;; | |
894a47b4 | 466 | powerpc-*-lynxos*) |
467 | ;; | |
894a47b4 | 468 | powerpcle-*-elf*) |
469 | ;; | |
470 | powerpcle-*-eabisim*) | |
471 | ;; | |
472 | powerpcle-*-eabi*) | |
473 | ;; | |
894a47b4 | 474 | rs6000-ibm-aix4.[3456789]* | powerpc-ibm-aix4.[3456789]*) |
475 | ;; | |
476 | rs6000-ibm-aix5.1.* | powerpc-ibm-aix5.1.*) | |
477 | ;; | |
478 | rs6000-ibm-aix[56789].* | powerpc-ibm-aix[56789].*) | |
479 | ;; | |
480 | s390-*-linux*) | |
481 | ;; | |
482 | s390x-*-linux*) | |
483 | ;; | |
484 | s390x-ibm-tpf*) | |
485 | ;; | |
486 | score-*-elf) | |
487 | ;; | |
6af9f7ea | 488 | sh-*-elf* | sh[12346l]*-*-elf* | \ |
894a47b4 | 489 | sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | \ |
ccf1c0f1 | 490 | sh-*-linux* | sh[2346lbe]*-*-linux* | \ |
894a47b4 | 491 | sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \ |
492 | sh64-*-netbsd* | sh64l*-*-netbsd*) | |
97f1a704 | 493 | case ${host} in |
494 | sh*-*-linux*) | |
495 | tmake_file="${tmake_file} sh/t-linux" | |
496 | ;; | |
497 | esac | |
894a47b4 | 498 | ;; |
894a47b4 | 499 | sh-*-rtems*) |
500 | ;; | |
501 | sh-wrs-vxworks) | |
502 | ;; | |
894a47b4 | 503 | sparc-*-netbsdelf*) |
504 | ;; | |
505 | sparc64-*-openbsd*) | |
506 | ;; | |
507 | sparc-*-elf*) | |
508 | ;; | |
509 | sparc-*-linux*) # SPARC's running GNU/Linux, libc6 | |
510 | extra_parts="$extra_parts crtfastmath.o" | |
511 | tmake_file="${tmake_file} sparc/t-crtfm" | |
512 | ;; | |
513 | sparc-*-rtems*) | |
514 | ;; | |
515 | sparc64-*-solaris2* | sparcv9-*-solaris2*) | |
516 | ;; | |
517 | sparc-*-solaris2*) | |
518 | ;; | |
894a47b4 | 519 | sparc64-*-elf*) |
520 | ;; | |
723e1902 | 521 | sparc-wrs-vxworks) |
522 | ;; | |
894a47b4 | 523 | sparc64-*-freebsd*|ultrasparc-*-freebsd*) |
524 | ;; | |
525 | sparc64-*-linux*) # 64-bit SPARC's running GNU/Linux | |
526 | extra_parts="$extra_parts crtfastmath.o" | |
527 | tmake_file="${tmake_file} sparc/t-crtfm" | |
528 | ;; | |
529 | sparc64-*-netbsd*) | |
530 | ;; | |
531 | spu-*-elf*) | |
532 | ;; | |
894a47b4 | 533 | v850e1-*-*) |
534 | ;; | |
535 | v850e-*-*) | |
536 | ;; | |
537 | v850-*-*) | |
538 | ;; | |
63bfd172 | 539 | vax-*-linux*) |
540 | ;; | |
894a47b4 | 541 | vax-*-netbsdelf*) |
542 | ;; | |
543 | vax-*-netbsd*) | |
544 | ;; | |
545 | vax-*-openbsd*) | |
546 | ;; | |
894a47b4 | 547 | xstormy16-*-elf) |
548 | ;; | |
75c7ffbc | 549 | xtensa*-*-elf*) |
894a47b4 | 550 | ;; |
75c7ffbc | 551 | xtensa*-*-linux*) |
894a47b4 | 552 | ;; |
553 | am33_2.0-*-linux*) | |
554 | extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o" | |
555 | ;; | |
7eac0a4e | 556 | m32c-*-elf*|m32c-*-rtems*) |
894a47b4 | 557 | ;; |
46222c18 | 558 | mep*-*-*) |
559 | ;; | |
894a47b4 | 560 | *) |
561 | echo "*** Configuration ${host} not supported" 1>&2 | |
562 | exit 1 | |
563 | ;; | |
564 | esac | |
e4cbe54f | 565 | |
566 | case ${host} in | |
1eab96a6 | 567 | i[34567]86-*-linux* | x86_64-*-linux* | \ |
568 | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | \ | |
569 | i[34567]86-*-gnu*) | |
e4cbe54f | 570 | tmake_file="${tmake_file} t-tls" |
571 | ;; | |
572 | esac | |
b3fd46a0 | 573 | |
574 | case ${host} in | |
575 | i[34567]86-*-darwin* | x86_64-*-darwin* | \ | |
09ec66c8 | 576 | i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu | \ |
6471e33b | 577 | i[34567]86-*-linux* | x86_64-*-linux* | \ |
f7ef49da | 578 | i[34567]86-*-cygwin* | i[34567]86-*-mingw* | x86_64-*-mingw*) |
144633f4 | 579 | if test "${host_address}" = 32; then |
f2b540ae | 580 | tmake_file="${tmake_file} t-softfp i386/${host_address}/t-fprules-softfp" |
144633f4 | 581 | fi |
582 | ;; | |
583 | esac | |
584 | ||
585 | case ${host} in | |
586 | i[34567]86-*-linux* | x86_64-*-linux*) | |
587 | # Provide backward binary compatibility for 64bit Linux/x86. | |
588 | if test "${host_address}" = 64; then | |
589 | tmake_file="${tmake_file} i386/${host_address}/t-softfp-compat" | |
590 | fi | |
b3fd46a0 | 591 | ;; |
592 | esac |