]>
Commit | Line | Data |
---|---|---|
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. | |
10e48e39 RO |
47 | # enable_execute_stack The name of a source file implementing |
48 | # __enable_execute_stack. | |
fa958513 DJ |
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. | |
58cd1d70 RO |
55 | # md_unwind_header The name of a header file defining |
56 | # MD_FALLBACK_FRAME_STATE_FOR. | |
aca0b0b3 RO |
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. | |
fa958513 | 60 | # tmake_file A list of machine-description-specific |
200feb07 | 61 | # makefile fragments. |
852b75ed RO |
62 | # tm_defines List of target macros to define for all compilations. |
63 | # tm_file A list of target macro files used only for code | |
64 | # built for the target, not the host. These files | |
65 | # are relative to $srcdir/config and must not have | |
66 | # the same names as files in $srcdir/../gcc/config. | |
201cdb74 RO |
67 | # unwind_header The name of the header file declaring the unwind |
68 | # runtime interface routines. | |
fa958513 DJ |
69 | |
70 | asm_hidden_op=.hidden | |
10e48e39 | 71 | enable_execute_stack= |
fa958513 DJ |
72 | extra_parts= |
73 | tmake_file= | |
852b75ed RO |
74 | tm_file= |
75 | tm_define= | |
58cd1d70 | 76 | md_unwind_header=no-unwind.h |
201cdb74 | 77 | unwind_header=unwind-generic.h |
fa958513 DJ |
78 | |
79 | # Set default cpu_type so it can be updated in each machine entry. | |
80 | cpu_type=`echo ${host} | sed 's/-.*$//'` | |
81 | case ${host} in | |
82 | m32c*-*-*) | |
83 | cpu_type=m32c | |
569dc494 | 84 | tmake_file=t-fdpbit |
fa958513 DJ |
85 | ;; |
86 | alpha*-*-*) | |
87 | cpu_type=alpha | |
88 | ;; | |
89 | am33_2.0-*-linux*) | |
90 | cpu_type=mn10300 | |
91 | ;; | |
fa958513 DJ |
92 | arm*-*-*) |
93 | cpu_type=arm | |
94 | ;; | |
47583040 AH |
95 | avr-*-*) |
96 | cpu_type=avr | |
97 | ;; | |
fa958513 DJ |
98 | bfin*-*) |
99 | cpu_type=bfin | |
100 | ;; | |
7d33c31d KH |
101 | fido-*-*) |
102 | cpu_type=m68k | |
103 | ;; | |
fa958513 DJ |
104 | frv*) cpu_type=frv |
105 | ;; | |
cceb575c AG |
106 | moxie*) cpu_type=moxie |
107 | ;; | |
fa958513 DJ |
108 | i[34567]86-*-*) |
109 | cpu_type=i386 | |
110 | ;; | |
111 | x86_64-*-*) | |
112 | cpu_type=i386 | |
113 | ;; | |
114 | ia64-*-*) | |
115 | ;; | |
cd985f66 | 116 | hppa*-*-*) |
fa958513 DJ |
117 | cpu_type=pa |
118 | ;; | |
aa4945c1 JB |
119 | lm32*-*-*) |
120 | cpu_type=lm32 | |
121 | ;; | |
fa958513 DJ |
122 | m32r*-*-*) |
123 | cpu_type=m32r | |
124 | ;; | |
fa958513 DJ |
125 | m68k-*-*) |
126 | ;; | |
7acf4da6 DD |
127 | mep*-*-*) |
128 | ;; | |
80920132 ME |
129 | microblaze*-*-*) |
130 | cpu_type=microblaze | |
131 | ;; | |
fa958513 DJ |
132 | mips*-*-*) |
133 | cpu_type=mips | |
569dc494 | 134 | tmake_file=mips/t-mips |
fa958513 DJ |
135 | ;; |
136 | powerpc*-*-*) | |
137 | cpu_type=rs6000 | |
138 | ;; | |
139 | rs6000*-*-*) | |
140 | ;; | |
141 | score*-*-*) | |
142 | cpu_type=score | |
143 | ;; | |
144 | sparc64*-*-*) | |
145 | cpu_type=sparc | |
146 | ;; | |
147 | sparc*-*-*) | |
148 | cpu_type=sparc | |
149 | ;; | |
150 | spu*-*-*) | |
151 | cpu_type=spu | |
152 | ;; | |
153 | s390*-*-*) | |
154 | cpu_type=s390 | |
155 | ;; | |
156 | # Note the 'l'; we need to be able to match e.g. "shle" or "shl". | |
157 | sh[123456789lbe]*-*-*) | |
158 | cpu_type=sh | |
159 | ;; | |
4be46d19 NC |
160 | v850*-*-*) |
161 | cpu_type=v850 | |
162 | ;; | |
bcead286 BS |
163 | tic6x-*-*) |
164 | cpu_type=c6x | |
165 | ;; | |
fa958513 DJ |
166 | esac |
167 | ||
168 | # Common parts for widely ported systems. | |
169 | case ${host} in | |
170 | *-*-darwin*) | |
171 | asm_hidden_op=.private_extern | |
f9989b51 | 172 | tmake_file="$tmake_file t-darwin ${cpu_type}/t-darwin t-libgcc-pic t-slibgcc-darwin" |
e2362f5d | 173 | extra_parts="crt3.o crttms.o crttme.o" |
fa958513 | 174 | ;; |
fa958513 DJ |
175 | *-*-freebsd*) |
176 | # This is the generic ELF configuration of FreeBSD. Later | |
177 | # machine-specific sections may refine and add to this | |
178 | # configuration. | |
f9989b51 | 179 | 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" |
5f73c6cc | 180 | extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o" |
b040f2be RO |
181 | case ${target_thread_file} in |
182 | posix) | |
f9989b51 | 183 | tmake_file="${tmake_file} t-freebsd-thread" |
b040f2be RO |
184 | # Before 5.0, FreeBSD can't bind shared libraries to -lc |
185 | # when "optionally" threaded via weak pthread_* checks. | |
186 | case ${host} in | |
187 | *-*-freebsd[34] | *-*-freebsd[34].*) | |
188 | tmake_file="${tmake_file} t-slibgcc-nolc-override" | |
189 | ;; | |
190 | esac | |
191 | ;; | |
192 | esac | |
fa958513 | 193 | ;; |
201cdb74 | 194 | *-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | *-*-knetbsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu) |
f9989b51 | 195 | 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" |
fa958513 DJ |
196 | extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o" |
197 | ;; | |
5f73c6cc | 198 | *-*-lynxos*) |
f9989b51 | 199 | tmake_file="$tmake_file t-lynx $cpu_type/t-crtstuff t-crtstuff-pic t-libgcc-pic" |
5f73c6cc RO |
200 | extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o" |
201 | ;; | |
fa958513 | 202 | *-*-netbsd*) |
f9989b51 | 203 | tmake_file="$tmake_file t-crtstuff-pic t-libgcc-pic t-slibgcc t-slibgcc-gld t-slibgcc-elf-ver" |
5f73c6cc RO |
204 | # NetBSD 1.7 and later are set up to use GCC's crtstuff for |
205 | # ELF configurations. We will clear extra_parts in the | |
206 | # a.out configurations. | |
207 | case ${host} in | |
208 | *-*-netbsd*1.[7-9]* | *-*-netbsd[2-9]* | *-*-netbsdelf[2-9]*) | |
209 | extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o" | |
210 | ;; | |
211 | esac | |
fa958513 DJ |
212 | ;; |
213 | *-*-openbsd*) | |
f9989b51 RO |
214 | tmake_file="$tmake_file t-crtstuff-pic t-libgcc-pic" |
215 | case ${target_thread_file} in | |
216 | posix) | |
217 | tmake_file="$tmake_file t-openbsd-thread" | |
218 | ;; | |
219 | esac | |
fa958513 DJ |
220 | ;; |
221 | *-*-rtems*) | |
c9cd1a07 | 222 | tmake_file="$tmake_file t-rtems" |
5f73c6cc | 223 | extra_parts="crtbegin.o crtend.o" |
fa958513 | 224 | ;; |
ca24c5ad | 225 | *-*-solaris2*) |
201cdb74 RO |
226 | # Unless linker support and dl_iterate_phdr are present, |
227 | # unwind-dw2-fde-dip.c automatically falls back to unwind-dw2-fde.c. | |
f9989b51 | 228 | tmake_file="$tmake_file t-sol2 t-eh-dw2-dip t-libgcc-pic t-slibgcc t-slibgcc-elf-ver" |
ca24c5ad RO |
229 | if test $with_gnu_ld = yes; then |
230 | tmake_file="$tmake_file t-slibgcc-gld" | |
231 | else | |
232 | tmake_file="$tmake_file t-slibgcc-sld" | |
233 | fi | |
234 | # Add cpu-specific t-sol2 after t-slibgcc-* so it can augment SHLIB_MAPFILES. | |
235 | tmake_file="$tmake_file $cpu_type/t-sol2" | |
236 | extra_parts="gmon.o crtbegin.o crtend.o" | |
237 | case ${host} in | |
fbdd5d87 | 238 | i?86-*-solaris2.1[0-9]* | x86_64-*-solaris2.1[0-9]*) |
ca24c5ad RO |
239 | # Solaris 10+/x86 provides crt1.o, crti.o, crtn.o, and gcrt1.o as |
240 | # part of the base system. | |
241 | ;; | |
242 | sparc*-*-solaris2.1[0-9]*) | |
243 | # Solaris 10+/SPARC lacks crt1.o and gcrt1.o. | |
244 | extra_parts="$extra_parts crt1.o gcrt1.o" | |
245 | ;; | |
246 | *) | |
ca24c5ad RO |
247 | extra_parts="$extra_parts crt1.o crti.o crtn.o gcrt1.o" |
248 | ;; | |
249 | esac | |
250 | ;; | |
5f73c6cc RO |
251 | *-*-uclinux*) |
252 | extra_parts="crtbegin.o crtend.o" | |
253 | ;; | |
254 | *-*-*vms*) | |
255 | tmake_file="vms/t-vms" | |
256 | extra_parts="vcrt0.o pcrt0.o crtbegin.o crtbeginS.o crtend.o crtendS.o" | |
257 | ;; | |
fa958513 | 258 | *-*-vxworks*) |
f9989b51 | 259 | tmake_file=t-vxworks |
fa958513 DJ |
260 | ;; |
261 | *-*-elf) | |
5f73c6cc | 262 | extra_parts="crtbegin.o crtend.o" |
fa958513 DJ |
263 | ;; |
264 | esac | |
265 | ||
10e48e39 RO |
266 | case ${host} in |
267 | *-*-darwin* | *-*-freebsd* | *-*-netbsd* | *-*-openbsd* | *-*-solaris2* | \ | |
268 | alpha*-dec-osf5.1*) | |
269 | enable_execute_stack=enable-execute-stack-mprotect.c | |
270 | ;; | |
271 | i[34567]86-*-mingw* | x86_64-*-mingw*) | |
272 | enable_execute_stack=config/i386/enable-execute-stack-mingw32.c | |
273 | ;; | |
274 | *) | |
275 | enable_execute_stack=enable-execute-stack-empty.c; | |
276 | ;; | |
277 | esac | |
278 | ||
fa958513 | 279 | case ${host} in |
ebb9f8b0 | 280 | alpha*-*-linux*) |
f9989b51 | 281 | tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee t-crtfm alpha/t-linux" |
5ea41e3a | 282 | extra_parts="$extra_parts crtfastmath.o" |
58cd1d70 | 283 | md_unwind_header=alpha/linux-unwind.h |
fa958513 | 284 | ;; |
fa958513 | 285 | alpha*-*-freebsd*) |
f9989b51 | 286 | tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee t-crtfm" |
5f73c6cc | 287 | extra_parts="$extra_parts crtbeginT.o crtfastmath.o" |
fa958513 DJ |
288 | ;; |
289 | alpha*-*-netbsd*) | |
f9989b51 | 290 | tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee" |
fa958513 DJ |
291 | ;; |
292 | alpha*-*-openbsd*) | |
f9989b51 | 293 | tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee" |
fa958513 | 294 | ;; |
8c200350 | 295 | alpha*-dec-osf5.1*) |
35d8090d | 296 | tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee t-crtfm t-slibgcc alpha/t-slibgcc-osf" |
ee33b5f0 RO |
297 | case ${target_thread_file} in |
298 | posix) | |
299 | tmake_file="${tmake_file} alpha/t-osf-pthread" | |
300 | ;; | |
301 | esac | |
f9989b51 | 302 | extra_parts="${extra_parts} crtfastmath.o" |
58cd1d70 | 303 | md_unwind_header=alpha/osf5-unwind.h |
fa958513 DJ |
304 | ;; |
305 | alpha64-dec-*vms*) | |
f9989b51 | 306 | tmake_file="$tmake_file alpha/t-alpha alpha/t-ieee alpha/t-vms t-slibgcc-vms" |
5f73c6cc | 307 | extra_parts="$extra_parts vms-dwarf2.o vms-dwarf2eh.o" |
58cd1d70 | 308 | md_unwind_header=alpha/vms-unwind.h |
fa958513 DJ |
309 | ;; |
310 | alpha*-dec-*vms*) | |
f9989b51 | 311 | tmake_file="$tmake_file alpha/t-alpha alpha/t-ieee alpha/t-vms t-slibgcc-vms" |
5f73c6cc | 312 | extra_parts="$extra_parts vms-dwarf2.o vms-dwarf2eh.o" |
58cd1d70 | 313 | md_unwind_header=alpha/vms-unwind.h |
fa958513 | 314 | ;; |
fa958513 | 315 | arm-wrs-vxworks) |
45b86625 | 316 | tmake_file="$tmake_file arm/t-arm arm/t-vxworks t-fdpbit" |
5f73c6cc | 317 | extra_parts="$extra_parts crti.o crtn.o" |
fa958513 | 318 | ;; |
cd985f66 | 319 | arm*-*-freebsd*) |
45b86625 | 320 | tmake_file="$tmake_file arm/t-arm arm/t-strongarm-elf t-fdpbit" |
fa958513 DJ |
321 | ;; |
322 | arm*-*-netbsdelf*) | |
f9989b51 | 323 | tmake_file="$tmake_file arm/t-arm arm/t-netbsd t-slibgcc-gld-nover" |
fa958513 | 324 | ;; |
fa958513 | 325 | arm*-*-linux*) # ARM GNU/Linux with ELF |
45b86625 | 326 | tmake_file="${tmake_file} arm/t-arm t-fixedpoint-gnu-prefix" |
201cdb74 RO |
327 | case ${host} in |
328 | arm*-*-linux-*eabi) | |
45b86625 | 329 | tmake_file="${tmake_file} arm/t-elf arm/t-bpabi arm/t-linux-eabi t-slibgcc-libgcc" |
852b75ed | 330 | tm_file="$tm_file arm/bpabi-lib.h" |
201cdb74 RO |
331 | unwind_header=config/arm/unwind-arm.h |
332 | ;; | |
45b86625 RO |
333 | *) |
334 | tmake_file="$tmake_file arm/t-linux" | |
335 | ;; | |
201cdb74 | 336 | esac |
aca0b0b3 | 337 | tmake_file="$tmake_file t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp" |
fa958513 DJ |
338 | ;; |
339 | arm*-*-uclinux*) # ARM ucLinux | |
655b30bf | 340 | tmake_file="${tmake_file} t-fixedpoint-gnu-prefix" |
201cdb74 RO |
341 | case ${host} in |
342 | arm*-*-uclinux*eabi) | |
343 | tmake_file="${tmake_file} arm/t-bpabi" | |
852b75ed | 344 | tm_file="$tm_file arm/bpabi-lib.h" |
201cdb74 RO |
345 | unwind_header=config/arm/unwind-arm.h |
346 | ;; | |
347 | esac | |
45b86625 | 348 | tmake_file="$tmake_file arm/t-arm arm/t-elf t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp" |
5f73c6cc | 349 | extra_parts="$extra_parts crti.o crtn.o" |
fa958513 DJ |
350 | ;; |
351 | arm*-*-ecos-elf) | |
45b86625 | 352 | tmake_file="$tmake_file arm/t-arm arm/t-elf t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp" |
5f73c6cc | 353 | extra_parts="$extra_parts crti.o crtn.o" |
fa958513 | 354 | ;; |
76644b68 | 355 | arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*) |
45b86625 | 356 | tmake_file="${tmake_file} arm/t-arm arm/t-elf t-fixedpoint-gnu-prefix" |
852b75ed | 357 | tm_file="$tm_file arm/bpabi-lib.h" |
201cdb74 | 358 | case ${host} in |
76644b68 | 359 | arm*-*-eabi* | arm*-*-rtemseabi*) |
201cdb74 | 360 | tmake_file="${tmake_file} arm/t-bpabi" |
5f73c6cc | 361 | extra_parts="crtbegin.o crtend.o crti.o crtn.o" |
201cdb74 RO |
362 | ;; |
363 | arm*-*-symbianelf*) | |
b040f2be | 364 | tmake_file="${tmake_file} arm/t-symbian t-slibgcc-nolc-override" |
852b75ed | 365 | tm_file="$tm_file arm/symbian-lib.h" |
5f73c6cc | 366 | # Symbian OS provides its own startup code. |
201cdb74 RO |
367 | ;; |
368 | esac | |
aca0b0b3 | 369 | tmake_file="$tmake_file t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp" |
201cdb74 | 370 | unwind_header=config/arm/unwind-arm.h |
fa958513 DJ |
371 | ;; |
372 | arm*-*-rtems*) | |
45b86625 | 373 | tmake_file="$tmake_file arm/t-arm arm/t-elf t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp" |
5f73c6cc | 374 | extra_parts="$extra_parts crti.o crtn.o" |
fa958513 | 375 | ;; |
cd985f66 | 376 | arm*-*-elf) |
45b86625 | 377 | tmake_file="$tmake_file arm/t-arm arm/t-elf t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp" |
5f73c6cc | 378 | extra_parts="$extra_parts crti.o crtn.o" |
fa958513 DJ |
379 | ;; |
380 | arm*-wince-pe*) | |
45b86625 | 381 | tmake_file="$tmake_file arm/t-arm arm/t-wince-pe" |
fa958513 | 382 | ;; |
fa958513 | 383 | avr-*-rtems*) |
d618bb2c | 384 | tmake_file="$tmake_file avr/t-avr avr/t-rtems t-fpbit" |
852b75ed | 385 | tm_file="$tm_file avr/avr-lib.h" |
5f73c6cc RO |
386 | # Don't use default. |
387 | extra_parts= | |
fa958513 DJ |
388 | ;; |
389 | avr-*-*) | |
569dc494 RO |
390 | # Make HImode functions for AVR |
391 | tmake_file="${cpu_type}/t-avr t-fpbit" | |
852b75ed | 392 | tm_file="$tm_file avr/avr-lib.h" |
fa958513 DJ |
393 | ;; |
394 | bfin*-elf*) | |
200feb07 | 395 | tmake_file="bfin/t-bfin bfin/t-crtlibid bfin/t-crtstuff t-libgcc-pic t-fdpbit" |
5f73c6cc | 396 | extra_parts="$extra_parts crtbeginS.o crtendS.o crti.o crtn.o crtlibid.o" |
fa958513 DJ |
397 | ;; |
398 | bfin*-uclinux*) | |
200feb07 | 399 | tmake_file="bfin/t-bfin bfin/t-crtlibid bfin/t-crtstuff t-libgcc-pic t-fdpbit" |
5f73c6cc | 400 | extra_parts="$extra_parts crtbeginS.o crtendS.o crtlibid.o" |
58cd1d70 | 401 | md_unwind_header=bfin/linux-unwind.h |
fa958513 | 402 | ;; |
344189f9 | 403 | bfin*-linux-uclibc*) |
200feb07 | 404 | tmake_file="$tmake_file bfin/t-bfin bfin/t-crtstuff t-libgcc-pic t-fdpbit bfin/t-linux" |
344189f9 BS |
405 | # No need to build crtbeginT.o on uClibc systems. Should probably |
406 | # be moved to the OS specific section above. | |
407 | extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o" | |
58cd1d70 | 408 | md_unwind_header=bfin/linux-unwind.h |
344189f9 | 409 | ;; |
569dc494 | 410 | bfin*-rtems*) |
45b86625 | 411 | tmake_file="$tmake_file bfin/t-bfin t-fdpbit" |
5f73c6cc | 412 | extra_parts="$extra_parts crti.o crtn.o" |
569dc494 | 413 | ;; |
fa958513 | 414 | bfin*-*) |
45b86625 | 415 | tmake_file="$tmake_file bfin/t-bfin t-fdpbit" |
5f73c6cc | 416 | extra_parts="crtbegin.o crtend.o crti.o crtn.o" |
fa958513 | 417 | ;; |
5f73c6cc | 418 | crisv32-*-elf) |
bf86b067 | 419 | tmake_file="$tmake_file cris/t-cris t-fdpbit" |
5f73c6cc | 420 | ;; |
5f73c6cc | 421 | cris-*-elf) |
bf86b067 | 422 | tmake_file="$tmake_file cris/t-cris t-fdpbit cris/t-elfmulti" |
5f73c6cc | 423 | ;; |
4081d704 | 424 | cris-*-linux* | crisv32-*-linux*) |
f9989b51 | 425 | tmake_file="$tmake_file cris/t-cris t-fdpbit cris/t-linux" |
fa958513 | 426 | ;; |
feeeff5c JR |
427 | epiphany-*-elf*) |
428 | tmake_file="epiphany/t-epiphany t-fdpbit epiphany/t-custom-eqsf" | |
429 | extra_parts="$extra_parts crti.o crtint.o crtrunc.o crtm1reg-r43.o crtm1reg-r63.o crtn.o" | |
430 | ;; | |
fa958513 | 431 | fr30-*-elf) |
45b86625 | 432 | tmake_file="$tmake_file fr30/t-fr30 t-fdpbit" |
5f73c6cc | 433 | extra_parts="$extra_parts crti.o crtn.o" |
fa958513 DJ |
434 | ;; |
435 | frv-*-elf) | |
5f73c6cc | 436 | tmake_file="$tmake_file frv/t-frv t-fdpbit" |
852b75ed | 437 | tm_file="$tm_file frv/frv-abi.h" |
5f73c6cc RO |
438 | # Don't use crtbegin.o, crtend.o. |
439 | extra_parts="frvbegin.o frvend.o" | |
fa958513 DJ |
440 | ;; |
441 | frv-*-*linux*) | |
45b86625 | 442 | tmake_file="$tmake_file frv/t-frv frv/t-linux t-fdpbit" |
852b75ed | 443 | tm_file="$tm_file frv/frv-abi.h" |
fa958513 | 444 | ;; |
fa958513 | 445 | h8300-*-rtems*) |
45b86625 | 446 | tmake_file="$tmake_file h8300/t-h8300 t-fpbit" |
852b75ed | 447 | tm_file="$tm_file h8300/h8300-lib.h" |
5f73c6cc | 448 | extra_parts="$extra_parts crti.o crtn.o" |
fa958513 DJ |
449 | ;; |
450 | h8300-*-elf*) | |
45b86625 | 451 | tmake_file="$tmake_file h8300/t-h8300 t-fpbit" |
852b75ed | 452 | tm_file="$tm_file h8300/h8300-lib.h" |
5f73c6cc | 453 | extra_parts="$extra_parts crti.o crtn.o" |
fa958513 | 454 | ;; |
cd985f66 | 455 | hppa*64*-*-linux*) |
45b86625 | 456 | tmake_file="$tmake_file pa/t-linux pa/t-linux64" |
fa958513 | 457 | ;; |
cd985f66 | 458 | hppa*-*-linux*) |
45b86625 | 459 | tmake_file="$tmake_file pa/t-linux t-slibgcc-libgcc" |
b040f2be RO |
460 | # Set the libgcc version number |
461 | if test x$enable_sjlj_exceptions = xyes; then | |
462 | tmake_file="$tmake_file pa/t-slibgcc-sjlj-ver" | |
463 | else | |
464 | tmake_file="$tmake_file pa/t-slibgcc-dwarf-ver" | |
465 | fi | |
0defd786 | 466 | md_unwind_header=pa/linux-unwind.h |
fa958513 DJ |
467 | ;; |
468 | hppa[12]*-*-hpux10*) | |
f9989b51 | 469 | tmake_file="$tmake_file pa/t-hpux pa/t-hpux10 t-libgcc-pic t-slibgcc" |
b040f2be RO |
470 | # Set the libgcc version number |
471 | if test x$enable_sjlj_exceptions = xyes; then | |
472 | tmake_file="$tmake_file pa/t-slibgcc-sjlj-ver" | |
473 | else | |
474 | tmake_file="$tmake_file pa/t-slibgcc-dwarf-ver" | |
475 | fi | |
476 | tmake_file="$tmake_file pa/t-slibgcc-hpux t-slibgcc-hpux" | |
58cd1d70 | 477 | md_unwind_header=pa/hpux-unwind.h |
fa958513 DJ |
478 | ;; |
479 | hppa*64*-*-hpux11*) | |
9dfd5832 | 480 | tmake_file="$tmake_file pa/t-hpux pa/t-pa64 pa/t-stublib t-libgcc-pic t-slibgcc" |
b040f2be RO |
481 | # Set the libgcc version number |
482 | if test x$enable_sjlj_exceptions = xyes; then | |
483 | tmake_file="$tmake_file pa/t-slibgcc-sjlj-ver" | |
484 | else | |
485 | tmake_file="$tmake_file pa/t-slibgcc-dwarf-ver" | |
486 | fi | |
487 | tmake_file="$tmake_file pa/t-slibgcc-hpux t-slibgcc-hpux" | |
5f73c6cc RO |
488 | extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o \ |
489 | libgcc_stub.a" | |
58cd1d70 | 490 | md_unwind_header=pa/hpux-unwind.h |
fa958513 DJ |
491 | ;; |
492 | hppa[12]*-*-hpux11*) | |
f9989b51 | 493 | tmake_file="$tmake_file pa/t-hpux pa/t-stublib t-libgcc-pic t-slibgcc" |
b040f2be RO |
494 | # Set the libgcc version number |
495 | if test x$enable_sjlj_exceptions = xyes; then | |
496 | tmake_file="$tmake_file pa/t-slibgcc-sjlj-ver" | |
497 | else | |
498 | tmake_file="$tmake_file pa/t-slibgcc-dwarf-ver" | |
499 | fi | |
500 | tmake_file="$tmake_file pa/t-slibgcc-hpux t-slibgcc-hpux" | |
5f73c6cc | 501 | extra_parts="libgcc_stub.a" |
58cd1d70 | 502 | md_unwind_header=pa/hpux-unwind.h |
fa958513 DJ |
503 | ;; |
504 | i[34567]86-*-darwin*) | |
b3fe1584 | 505 | tmake_file="$tmake_file i386/t-crtpc i386/t-crtfm" |
852b75ed | 506 | tm_file="$tm_file i386/darwin-lib.h" |
b3fe1584 | 507 | extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o" |
fa958513 DJ |
508 | ;; |
509 | x86_64-*-darwin*) | |
b040f2be | 510 | tmake_file="$tmake_file i386/t-crtpc i386/t-crtfm" |
852b75ed | 511 | tm_file="$tm_file i386/darwin-lib.h" |
b3fe1584 | 512 | extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o" |
fa958513 DJ |
513 | ;; |
514 | i[34567]86-*-elf*) | |
f9989b51 | 515 | tmake_file="$tmake_file i386/t-crtstuff t-crtstuff-pic t-libgcc-pic" |
fa958513 | 516 | ;; |
3ae3dbd6 | 517 | x86_64-*-elf*) |
f9989b51 | 518 | tmake_file="$tmake_file i386/t-crtstuff t-crtstuff-pic t-libgcc-pic" |
3ae3dbd6 | 519 | ;; |
fa958513 | 520 | i[34567]86-*-freebsd*) |
5f73c6cc | 521 | tmake_file="${tmake_file} i386/t-freebsd i386/t-crtstuff" |
fa958513 DJ |
522 | ;; |
523 | x86_64-*-freebsd*) | |
5f73c6cc | 524 | tmake_file="${tmake_file} i386/t-freebsd i386/t-crtstuff" |
fa958513 DJ |
525 | ;; |
526 | i[34567]86-*-netbsdelf*) | |
527 | ;; | |
fa958513 | 528 | x86_64-*-netbsd*) |
5f73c6cc | 529 | tmake_file="${tmake_file} i386/t-crtstuff" |
fa958513 DJ |
530 | ;; |
531 | i[34567]86-*-openbsd2.*|i[34567]86-*openbsd3.[0123]) | |
532 | ;; | |
533 | i[34567]86-*-openbsd*) | |
534 | ;; | |
9e7714f4 | 535 | i[34567]86-*-linux*) |
577565f9 | 536 | extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o" |
5f73c6cc | 537 | tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm i386/t-crtstuff t-dfprules" |
58cd1d70 | 538 | md_unwind_header=i386/linux-unwind.h |
fa958513 | 539 | ;; |
9e7714f4 TS |
540 | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu) |
541 | extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o" | |
5f73c6cc | 542 | tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm i386/t-crtstuff t-dfprules" |
9e7714f4 TS |
543 | ;; |
544 | x86_64-*-linux*) | |
577565f9 | 545 | extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o" |
5f73c6cc | 546 | tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm i386/t-crtstuff t-dfprules" |
58cd1d70 | 547 | md_unwind_header=i386/linux-unwind.h |
fa958513 | 548 | ;; |
9e7714f4 TS |
549 | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu) |
550 | extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o" | |
5f73c6cc | 551 | tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm i386/t-crtstuff t-dfprules" |
9e7714f4 | 552 | ;; |
fa958513 DJ |
553 | i[34567]86-pc-msdosdjgpp*) |
554 | ;; | |
555 | i[34567]86-*-lynxos*) | |
556 | ;; | |
fa958513 | 557 | i[34567]86-*-nto-qnx*) |
f9989b51 | 558 | tmake_file="$tmake_file i386/t-nto t-libgcc-pic" |
5f73c6cc | 559 | extra_parts=crtbegin.o |
fa958513 DJ |
560 | ;; |
561 | i[34567]86-*-rtems*) | |
c9cd1a07 | 562 | tmake_file="$tmake_file i386/t-softfp i386/t-crtstuff" |
5f73c6cc | 563 | extra_parts="$extra_parts crti.o crtn.o" |
fa958513 | 564 | ;; |
fbdd5d87 | 565 | i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*) |
b3fe1584 RO |
566 | tmake_file="$tmake_file i386/t-crtpc i386/t-crtfm" |
567 | extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o" | |
58cd1d70 | 568 | md_unwind_header=i386/sol2-unwind.h |
fa958513 | 569 | ;; |
fa958513 DJ |
570 | i[4567]86-wrs-vxworks|i[4567]86-wrs-vxworksae) |
571 | ;; | |
58cd1d70 | 572 | i[34567]86-*-cygwin*) |
76f5e200 | 573 | extra_parts="crtbegin.o crtend.o crtfastmath.o" |
b040f2be RO |
574 | # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h |
575 | if test x$enable_sjlj_exceptions = xyes; then | |
576 | tmake_eh_file="i386/t-sjlj-eh" | |
577 | else | |
578 | tmake_eh_file="i386/t-dw2-eh" | |
579 | fi | |
580 | # Shared libgcc DLL install dir depends on cross/native build. | |
581 | if test x${build} = x${host} ; then | |
582 | tmake_dlldir_file="i386/t-dlldir" | |
583 | else | |
584 | tmake_dlldir_file="i386/t-dlldir-x" | |
585 | fi | |
45b86625 | 586 | 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" |
9bd196f0 | 587 | ;; |
58cd1d70 RO |
588 | i[34567]86-*-mingw*) |
589 | extra_parts="crtbegin.o crtend.o crtfastmath.o" | |
f9989b51 RO |
590 | case ${target_thread_file} in |
591 | win32) | |
592 | tmake_file="$tmake_file i386/t-gthr-win32" | |
593 | ;; | |
e3d871e4 RO |
594 | posix) |
595 | tmake_file="i386/t-mingw-pthread $tmake_file" | |
596 | ;; | |
f9989b51 | 597 | esac |
b040f2be RO |
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" | |
601 | else | |
602 | tmake_eh_file="i386/t-dw2-eh" | |
603 | fi | |
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" | |
607 | else | |
608 | tmake_dlldir_file="i386/t-dlldir-x" | |
609 | fi | |
45b86625 | 610 | 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" |
58cd1d70 RO |
611 | md_unwind_header=i386/w32-unwind.h |
612 | ;; | |
9bd196f0 | 613 | x86_64-*-mingw*) |
f9989b51 RO |
614 | case ${target_thread_file} in |
615 | win32) | |
616 | tmake_file="$tmake_file i386/t-gthr-win32" | |
617 | ;; | |
e3d871e4 RO |
618 | posix) |
619 | tmake_file="i386/t-mingw-pthread $tmake_file" | |
620 | ;; | |
f9989b51 | 621 | esac |
b040f2be RO |
622 | # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h |
623 | if test x$enable_sjlj_exceptions = xyes; then | |
624 | tmake_eh_file="i386/t-sjlj-eh" | |
625 | else | |
626 | tmake_eh_file="i386/t-dw2-eh" | |
627 | fi | |
628 | # Shared libgcc DLL install dir depends on cross/native build. | |
629 | if test x${build} = x${host} ; then | |
630 | tmake_dlldir_file="i386/t-dlldir" | |
631 | else | |
632 | tmake_dlldir_file="i386/t-dlldir-x" | |
633 | fi | |
45b86625 | 634 | 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" |
35d8090d | 635 | extra_parts="$extra_parts crtfastmath.o" |
fa958513 | 636 | ;; |
fa958513 | 637 | i[34567]86-*-interix3*) |
f9989b51 | 638 | tmake_file="$tmake_file i386/t-interix i386/t-chkstk" |
fa958513 | 639 | ;; |
fa958513 | 640 | ia64*-*-elf*) |
5f73c6cc | 641 | extra_parts="$extra_parts crtbeginS.o crtendS.o crtfastmath.o" |
201cdb74 | 642 | tmake_file="ia64/t-ia64 ia64/t-eh-ia64 t-crtfm" |
fa958513 DJ |
643 | ;; |
644 | ia64*-*-freebsd*) | |
5f73c6cc | 645 | extra_parts="$extra_parts crtfastmath.o" |
b040f2be | 646 | tmake_file="$tmake_file ia64/t-ia64 ia64/t-eh-ia64 t-crtfm" |
fa958513 DJ |
647 | ;; |
648 | ia64*-*-linux*) | |
5f73c6cc | 649 | # Don't use crtbeginT.o from *-*-linux* default. |
fa958513 | 650 | extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o" |
b040f2be | 651 | 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" |
201cdb74 | 652 | if test x$with_system_libunwind != xyes ; then |
b040f2be | 653 | tmake_file="${tmake_file} t-libunwind-elf ia64/t-linux-libunwind" |
201cdb74 | 654 | fi |
58cd1d70 | 655 | md_unwind_header=ia64/linux-unwind.h |
fa958513 DJ |
656 | ;; |
657 | ia64*-*-hpux*) | |
45b86625 | 658 | tmake_file="ia64/t-ia64 ia64/t-hpux t-slibgcc ia64/t-slibgcc-hpux t-slibgcc-hpux" |
fa958513 | 659 | ;; |
a9a25daa | 660 | ia64-hp-*vms*) |
45b86625 | 661 | tmake_file="$tmake_file ia64/t-ia64 ia64/t-eh-ia64 ia64/t-vms t-slibgcc-vms" |
5f73c6cc | 662 | extra_parts="$extra_parts crtinitS.o" |
58cd1d70 | 663 | md_unwind_header=ia64/vms-unwind.h |
a9a25daa | 664 | ;; |
fa958513 | 665 | iq2000*-*-elf*) |
d4b4b542 | 666 | tmake_file="iq2000/t-iq2000 t-fdpbit" |
5f73c6cc RO |
667 | # Don't use default. |
668 | extra_parts= | |
fa958513 | 669 | ;; |
c9cd1a07 | 670 | lm32-*-elf*) |
5f73c6cc | 671 | extra_parts="$extra_parts crti.o crtn.o" |
aca0b0b3 | 672 | tmake_file="lm32/t-lm32 lm32/t-elf t-softfp-sfdf t-softfp" |
aa4945c1 | 673 | ;; |
c9cd1a07 RO |
674 | lm32-*-rtems*) |
675 | tmake_file="$tmake_file lm32/t-lm32 lm32/t-elf t-softfp-sfdf t-softfp" | |
676 | extra_parts="$extra_parts crti.o crtn.o" | |
677 | ;; | |
aa4945c1 | 678 | lm32-*-uclinux*) |
5f73c6cc | 679 | extra_parts="$extra_parts crtbegin.o crtendS.o crtbeginT.o" |
f9989b51 | 680 | tmake_file="lm32/t-lm32 lm32/t-uclinux t-libgcc-pic t-softfp-sfdf t-softfp" |
aa4945c1 | 681 | ;; |
5f73c6cc | 682 | m32r-*-elf*) |
569dc494 | 683 | tmake_file=t-fdpbit |
fa958513 | 684 | ;; |
5f73c6cc | 685 | m32r-*-rtems*) |
c9cd1a07 | 686 | tmake_file="$tmake_file m32r/t-m32r t-fdpbit" |
5f73c6cc | 687 | ;; |
fa958513 | 688 | m32rle-*-elf*) |
569dc494 | 689 | tmake_file=t-fdpbit |
fa958513 DJ |
690 | ;; |
691 | m32r-*-linux*) | |
5f73c6cc | 692 | tmake_file="$tmake_file m32r/t-linux t-fdpbit" |
fa958513 DJ |
693 | ;; |
694 | m32rle-*-linux*) | |
5f73c6cc | 695 | tmake_file="$tmake_file m32r/t-linux t-fdpbit" |
fa958513 | 696 | ;; |
45b86625 RO |
697 | m68k-*-elf* | fido-*-elf) |
698 | tmake_file="$tmake_file m68k/t-floatlib" | |
fa958513 | 699 | ;; |
cd985f66 | 700 | m68k*-*-netbsdelf*) |
fa958513 DJ |
701 | ;; |
702 | m68k*-*-openbsd*) | |
703 | ;; | |
8b281334 RH |
704 | m68k-*-uclinux*) # Motorola m68k/ColdFire running uClinux with uClibc |
705 | tmake_file="$tmake_file m68k/t-floatlib m68k/t-linux" | |
58cd1d70 | 706 | md_unwind_header=m68k/linux-unwind.h |
fa958513 | 707 | ;; |
58cd1d70 | 708 | m68k-*-linux*) # Motorola m68k's running GNU/Linux |
fa958513 DJ |
709 | # with ELF format using glibc 2 |
710 | # aka the GNU/Linux C library 6. | |
8b281334 | 711 | tmake_file="$tmake_file m68k/t-floatlib m68k/t-linux" |
b040f2be RO |
712 | # If not configured with --enable-sjlj-exceptions, bump the |
713 | # libgcc version number. | |
714 | if test x$enable_sjlj_exceptions != xyes; then | |
715 | tmake_file="$tmake_file m68k/t-slibgcc-elf-ver" | |
716 | fi | |
58cd1d70 | 717 | md_unwind_header=m68k/linux-unwind.h |
fa958513 DJ |
718 | ;; |
719 | m68k-*-rtems*) | |
45b86625 | 720 | tmake_file="$tmake_file m68k/t-floatlib" |
5f73c6cc | 721 | extra_parts="$extra_parts crti.o crtn.o" |
fa958513 DJ |
722 | ;; |
723 | mcore-*-elf) | |
45b86625 | 724 | tmake_file="mcore/t-mcore t-fdpbit" |
5f73c6cc | 725 | extra_parts="$extra_parts crti.o crtn.o" |
fa958513 | 726 | ;; |
b040f2be RO |
727 | microblaze*-linux*) |
728 | tmake_file="$tmake_file t-slibgcc-nolc-override microblaze/t-microblaze t-fdpbit" | |
729 | ;; | |
80920132 | 730 | microblaze*-*-*) |
569dc494 | 731 | tmake_file="microblaze/t-microblaze t-fdpbit" |
5f73c6cc | 732 | extra_parts="crtbegin.o crtend.o crti.o crtn.o" |
80920132 | 733 | ;; |
737346fa | 734 | mips-sgi-irix6.5*) |
569dc494 | 735 | tmake_file="$tmake_file mips/t-irix6 t-crtfm mips/t-tpbit t-slibgcc mips/t-slibgcc-irix" |
aa4203e7 | 736 | extra_parts="crtbegin.o crtend.o crtfastmath.o irix-crti.o irix-crtn.o" |
ea963999 | 737 | md_unwind_header=mips/irix6-unwind.h |
fa958513 DJ |
738 | ;; |
739 | mips*-*-netbsd*) # NetBSD/mips, either endian. | |
740 | ;; | |
569dc494 | 741 | mips64*-*-linux* | mipsisa64*-*-linux*) |
48b09a92 | 742 | extra_parts="$extra_parts crtfastmath.o" |
c6412d86 | 743 | tmake_file="${tmake_file} t-crtfm mips/t-mips16 mips/t-tpbit" |
58cd1d70 | 744 | md_unwind_header=mips/linux-unwind.h |
fa958513 DJ |
745 | ;; |
746 | mips*-*-linux*) # Linux MIPS, either endian. | |
48b09a92 | 747 | extra_parts="$extra_parts crtfastmath.o" |
c6412d86 | 748 | tmake_file="${tmake_file} t-crtfm mips/t-mips16" |
58cd1d70 | 749 | md_unwind_header=mips/linux-unwind.h |
fa958513 DJ |
750 | ;; |
751 | mips*-*-openbsd*) | |
752 | ;; | |
569dc494 | 753 | mips*-sde-elf*) |
eb028768 | 754 | tmake_file="$tmake_file mips/t-crtstuff mips/t-mips16" |
569dc494 RO |
755 | case "${with_newlib}" in |
756 | yes) | |
757 | # newlib / libgloss. | |
758 | ;; | |
759 | *) | |
760 | # MIPS toolkit libraries. | |
5f73c6cc | 761 | tmake_file="$tmake_file mips/t-sdemtk" |
569dc494 RO |
762 | ;; |
763 | esac | |
5f73c6cc | 764 | extra_parts="$extra_parts crti.o crtn.o" |
569dc494 | 765 | ;; |
c6412d86 RO |
766 | mipsisa32-*-elf* | mipsisa32el-*-elf* | \ |
767 | mipsisa32r2-*-elf* | mipsisa32r2el-*-elf* | \ | |
768 | mipsisa64-*-elf* | mipsisa64el-*-elf* | \ | |
0a4a51c7 | 769 | mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*) |
f9989b51 | 770 | tmake_file="$tmake_file mips/t-elf mips/t-crtstuff mips/t-mips16" |
5f73c6cc | 771 | extra_parts="$extra_parts crti.o crtn.o" |
0a4a51c7 | 772 | ;; |
fa958513 | 773 | mipsisa64sr71k-*-elf*) |
eb028768 | 774 | tmake_file="$tmake_file mips/t-elf mips/t-crtstuff t-fdpbit" |
5f73c6cc | 775 | extra_parts="$extra_parts crti.o crtn.o" |
fa958513 DJ |
776 | ;; |
777 | mipsisa64sb1-*-elf* | mipsisa64sb1el-*-elf*) | |
f9989b51 | 778 | tmake_file="$tmake_file mips/t-elf mips/t-crtstuff mips/t-mips16" |
5f73c6cc | 779 | extra_parts="$extra_parts crti.o crtn.o" |
fa958513 DJ |
780 | ;; |
781 | mips-*-elf* | mipsel-*-elf*) | |
f9989b51 | 782 | tmake_file="$tmake_file mips/t-elf mips/t-crtstuff mips/t-mips16" |
5f73c6cc | 783 | extra_parts="$extra_parts crti.o crtn.o" |
fa958513 DJ |
784 | ;; |
785 | mips64-*-elf* | mips64el-*-elf*) | |
f9989b51 | 786 | tmake_file="$tmake_file mips/t-elf mips/t-crtstuff mips/t-mips16" |
5f73c6cc | 787 | extra_parts="$extra_parts crti.o crtn.o" |
fa958513 DJ |
788 | ;; |
789 | mips64vr-*-elf* | mips64vrel-*-elf*) | |
f9989b51 | 790 | tmake_file="$tmake_file mips/t-elf mips/t-vr mips/t-crtstuff" |
5f73c6cc | 791 | extra_parts="$extra_parts crti.o crtn.o" |
fa958513 DJ |
792 | ;; |
793 | mips64orion-*-elf* | mips64orionel-*-elf*) | |
f9989b51 | 794 | tmake_file="$tmake_file mips/t-elf mips/t-crtstuff mips/t-mips16" |
5f73c6cc | 795 | extra_parts="$extra_parts crti.o crtn.o" |
fa958513 DJ |
796 | ;; |
797 | mips*-*-rtems*) | |
f9989b51 | 798 | tmake_file="$tmake_file mips/t-elf mips/t-crtstuff mips/t-mips16" |
5f73c6cc | 799 | extra_parts="$extra_parts crti.o crtn.o" |
fa958513 DJ |
800 | ;; |
801 | mips-wrs-vxworks) | |
802 | ;; | |
fa958513 | 803 | mipstx39-*-elf* | mipstx39el-*-elf*) |
5f73c6cc | 804 | tmake_file="$tmake_file mips/t-crtstuff mips/t-mips16" |
fa958513 DJ |
805 | ;; |
806 | mmix-knuth-mmixware) | |
e7c914db HPN |
807 | extra_parts="crti.o crtn.o crtbegin.o crtend.o" |
808 | tmake_file="${tmake_file} ${cpu_type}/t-${cpu_type}" | |
fa958513 DJ |
809 | ;; |
810 | mn10300-*-*) | |
569dc494 | 811 | tmake_file=t-fdpbit |
fa958513 | 812 | ;; |
5f73c6cc | 813 | moxie-*-elf | moxie-*-uclinux*) |
aca0b0b3 | 814 | tmake_file="moxie/t-moxie t-softfp-sfdf t-softfp-excl t-softfp" |
5f73c6cc RO |
815 | extra_parts="$extra_parts crti.o crtn.o" |
816 | ;; | |
817 | moxie-*-rtems*) | |
c9cd1a07 | 818 | tmake_file="$tmake_file moxie/t-moxie t-softfp-sfdf t-softfp-excl t-softfp" |
5f73c6cc RO |
819 | # Don't use default. |
820 | extra_parts= | |
cceb575c | 821 | ;; |
fa958513 | 822 | pdp11-*-*) |
f9989b51 | 823 | tmake_file="pdp11/t-pdp11 t-fdpbit" |
fa958513 | 824 | ;; |
358da97e | 825 | picochip-*-*) |
569dc494 | 826 | tmake_file="picochip/t-picochip t-fpbit" |
358da97e | 827 | ;; |
fa958513 | 828 | powerpc-*-darwin*) |
58cd1d70 RO |
829 | case ${host} in |
830 | *-*-darwin9* | *-*-darwin[12][0-9]*) | |
831 | # libSystem contains unwind information for signal frames since | |
832 | # Darwin 9. | |
833 | ;; | |
834 | *) | |
835 | md_unwind_header=rs6000/darwin-unwind.h | |
836 | ;; | |
837 | esac | |
aca0b0b3 | 838 | tmake_file="$tmake_file rs6000/t-ibm-ldouble" |
e141542e | 839 | extra_parts="$extra_parts crt2.o" |
fa958513 DJ |
840 | ;; |
841 | powerpc64-*-darwin*) | |
f9989b51 | 842 | tmake_file="$tmake_file rs6000/t-darwin64 rs6000/t-ibm-ldouble" |
e141542e | 843 | extra_parts="$extra_parts crt2.o" |
fa958513 | 844 | ;; |
9cfa1499 | 845 | powerpc-*-freebsd*) |
f9c55897 | 846 | tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff rs6000/t-freebsd t-softfp-sfdf t-softfp-excl t-softfp t-slibgcc-libgcc" |
5f73c6cc | 847 | extra_parts="$extra_parts crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" |
fa958513 DJ |
848 | ;; |
849 | powerpc-*-netbsd*) | |
d4b4b542 | 850 | tmake_file="$tmake_file rs6000/t-netbsd rs6000/t-crtstuff" |
fa958513 | 851 | ;; |
fa958513 | 852 | powerpc-*-eabispe*) |
f9c55897 | 853 | tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff t-crtstuff-pic" |
5f73c6cc | 854 | extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" |
fa958513 DJ |
855 | ;; |
856 | powerpc-*-eabisimaltivec*) | |
f9c55897 | 857 | tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" |
5f73c6cc | 858 | extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" |
fa958513 DJ |
859 | ;; |
860 | powerpc-*-eabisim*) | |
f9c55897 | 861 | tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" |
5f73c6cc | 862 | extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" |
fa958513 DJ |
863 | ;; |
864 | powerpc-*-elf*) | |
f9c55897 | 865 | tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" |
5f73c6cc | 866 | extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" |
fa958513 DJ |
867 | ;; |
868 | powerpc-*-eabialtivec*) | |
f9c55897 | 869 | tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" |
5f73c6cc | 870 | extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" |
569dc494 RO |
871 | ;; |
872 | powerpc-xilinx-eabi*) | |
f9c55897 | 873 | tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" |
5f73c6cc | 874 | extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" |
fa958513 DJ |
875 | ;; |
876 | powerpc-*-eabi*) | |
f9c55897 | 877 | tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" |
5f73c6cc | 878 | extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" |
fa958513 DJ |
879 | ;; |
880 | powerpc-*-rtems*) | |
f9c55897 | 881 | tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" |
5f73c6cc | 882 | extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" |
fa958513 | 883 | ;; |
633dd061 | 884 | powerpc-*-linux* | powerpc64-*-linux*) |
f9c55897 | 885 | 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" |
5f73c6cc | 886 | extra_parts="$extra_parts ecrti.o ecrtn.o ncrti.o ncrtn.o" |
58cd1d70 | 887 | md_unwind_header=rs6000/linux-unwind.h |
fa958513 | 888 | ;; |
fa958513 | 889 | powerpc-wrs-vxworks|powerpc-wrs-vxworksae) |
f9c55897 | 890 | tmake_file="$tmake_file rs6000/t-ppccomm t-fdpbit" |
fa958513 | 891 | ;; |
fa958513 | 892 | powerpc-*-lynxos*) |
d4b4b542 | 893 | tmake_file="$tmake_file rs6000/t-lynx t-fdpbit" |
fa958513 | 894 | ;; |
fa958513 | 895 | powerpcle-*-elf*) |
f9c55897 | 896 | tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" |
5f73c6cc | 897 | extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" |
fa958513 DJ |
898 | ;; |
899 | powerpcle-*-eabisim*) | |
f9c55897 | 900 | tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" |
5f73c6cc | 901 | extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" |
fa958513 DJ |
902 | ;; |
903 | powerpcle-*-eabi*) | |
f9c55897 | 904 | tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" |
5f73c6cc | 905 | extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" |
fa958513 | 906 | ;; |
fa958513 | 907 | rs6000-ibm-aix4.[3456789]* | powerpc-ibm-aix4.[3456789]*) |
201cdb74 | 908 | md_unwind_header=rs6000/aix-unwind.h |
b040f2be | 909 | tmake_file="t-fdpbit rs6000/t-ppc64-fp rs6000/t-ibm-ldouble rs6000/t-slibgcc-aix" |
fa958513 DJ |
910 | ;; |
911 | rs6000-ibm-aix5.1.* | powerpc-ibm-aix5.1.*) | |
201cdb74 | 912 | md_unwind_header=rs6000/aix-unwind.h |
b040f2be | 913 | tmake_file="t-fdpbit rs6000/t-ppc64-fp rs6000/t-ibm-ldouble rs6000/t-slibgcc-aix" |
fa958513 DJ |
914 | ;; |
915 | rs6000-ibm-aix[56789].* | powerpc-ibm-aix[56789].*) | |
201cdb74 | 916 | md_unwind_header=rs6000/aix-unwind.h |
b040f2be | 917 | tmake_file="t-fdpbit rs6000/t-ppc64-fp rs6000/t-ibm-ldouble rs6000/t-slibgcc-aix" |
fa958513 | 918 | ;; |
85b8555e DD |
919 | rl78-*-elf) |
920 | tmake_file="$tm_file t-fdpbit rl78/t-rl78" | |
921 | ;; | |
65a324b4 | 922 | rx-*-elf) |
569dc494 | 923 | tmake_file="rx/t-rx t-fdpbit" |
852b75ed | 924 | tm_file="$tm_file rx/rx-abi.h rx/rx-lib.h" |
65a324b4 | 925 | ;; |
fa958513 | 926 | s390-*-linux*) |
81dd9fd7 | 927 | tmake_file="${tmake_file} s390/t-crtstuff s390/t-linux s390/32/t-floattodi" |
58cd1d70 | 928 | md_unwind_header=s390/linux-unwind.h |
fa958513 DJ |
929 | ;; |
930 | s390x-*-linux*) | |
81dd9fd7 | 931 | tmake_file="${tmake_file} s390/t-crtstuff s390/t-linux" |
58cd1d70 | 932 | md_unwind_header=s390/linux-unwind.h |
fa958513 DJ |
933 | ;; |
934 | s390x-ibm-tpf*) | |
f9989b51 | 935 | tmake_file="${tmake_file} s390/t-crtstuff t-libgcc-pic t-eh-dw2-dip" |
5f73c6cc | 936 | extra_parts="crtbeginS.o crtendS.o" |
10c4cabc | 937 | md_unwind_header=s390/tpf-unwind.h |
fa958513 DJ |
938 | ;; |
939 | score-*-elf) | |
aca0b0b3 | 940 | tmake_file="${tmake_file} t-softfp-sfdf t-softfp-excl t-softfp" |
5f73c6cc | 941 | extra_parts="$extra_parts crti.o crtn.o" |
fa958513 | 942 | ;; |
5f73c6cc RO |
943 | sh-*-elf* | sh[12346l]*-*-elf*) |
944 | tmake_file="$tmake_file sh/t-sh t-crtstuff-pic t-fdpbit" | |
945 | extra_parts="$extra_parts crt1.o crti.o crtn.o crtbeginS.o crtendS.o \ | |
946 | libic_invalidate_array_4-100.a \ | |
947 | libic_invalidate_array_4-200.a \ | |
948 | libic_invalidate_array_4a.a \ | |
949 | libgcc-Os-4-200.a libgcc-4-300.a" | |
45b86625 RO |
950 | case ${host} in sh64*-*-*) |
951 | tmake_file="$tmake_file sh/t-sh64" | |
952 | ;; | |
953 | esac | |
26900826 | 954 | case ${host} in |
5f73c6cc RO |
955 | sh*-superh-elf) |
956 | tmake_file="$tmake_file sh/t-superh" | |
957 | extra_parts="$extra_parts crt1-mmu.o gcrt1-mmu.o gcrt1.o" | |
958 | ;; | |
959 | esac | |
960 | ;; | |
961 | sh-*-linux* | sh[2346lbe]*-*-linux*) | |
45b86625 RO |
962 | tmake_file="${tmake_file} sh/t-sh t-slibgcc-libgcc sh/t-linux t-fdpbit" |
963 | case ${host} in sh64*-*-linux*) | |
964 | tmake_file="$tmake_file sh/t-sh64" | |
965 | ;; | |
966 | esac | |
5f73c6cc RO |
967 | md_unwind_header=sh/linux-unwind.h |
968 | ;; | |
969 | sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \ | |
970 | sh64-*-netbsd* | sh64l*-*-netbsd*) | |
45b86625 RO |
971 | tmake_file="$tmake_file sh/t-sh sh/t-netbsd" |
972 | case ${host} in | |
973 | sh5*-*-netbsd* | sh64*-netbsd*) | |
974 | tmake_file="$tmake_file sh/t-sh64" | |
975 | ;; | |
976 | esac | |
5f73c6cc RO |
977 | # NetBSD's C library includes a fast software FP library that |
978 | # has support for setting/setting the rounding mode, exception | |
979 | # mask, etc. Therefore, we don't want to include software FP | |
980 | # in libgcc. | |
fa958513 | 981 | ;; |
fa958513 | 982 | sh-*-rtems*) |
45b86625 | 983 | tmake_file="$tmake_file sh/t-sh t-crtstuff-pic t-fdpbit" |
5f73c6cc RO |
984 | extra_parts="$extra_parts crt1.o crti.o crtn.o crtbeginS.o crtendS.o \ |
985 | $sh_ic_extra_parts $sh_opt_extra_parts" | |
fa958513 DJ |
986 | ;; |
987 | sh-wrs-vxworks) | |
45b86625 | 988 | tmake_file="$tmake_file sh/t-sh t-crtstuff-pic t-fdpbit" |
fa958513 | 989 | ;; |
fa958513 DJ |
990 | sparc-*-netbsdelf*) |
991 | ;; | |
992 | sparc64-*-openbsd*) | |
993 | ;; | |
994 | sparc-*-elf*) | |
ca24c5ad RO |
995 | case ${host} in |
996 | *-leon[3-9]*) | |
997 | ;; | |
998 | *) | |
999 | tmake_file="sparc/t-softmul" | |
1000 | ;; | |
1001 | esac | |
5f73c6cc RO |
1002 | tmake_file="${tmake_file} t-fdpbit t-crtfm" |
1003 | extra_parts="$extra_parts crti.o crtn.o crtfastmath.o" | |
fa958513 DJ |
1004 | ;; |
1005 | sparc-*-linux*) # SPARC's running GNU/Linux, libc6 | |
d2a7d041 DM |
1006 | tmake_file="${tmake_file} t-crtfm" |
1007 | if test "${host_address}" = 64; then | |
1008 | tmake_file="$tmake_file sparc/t-linux64" | |
1009 | fi | |
569dc494 RO |
1010 | case ${host} in |
1011 | *-leon*) | |
b040f2be RO |
1012 | tmake_file="${tmake_file} t-fdpbit" |
1013 | ;; | |
1014 | *) | |
1015 | tmake_file="${tmake_file} sparc/t-linux" | |
569dc494 RO |
1016 | ;; |
1017 | esac | |
45b86625 RO |
1018 | case ${host} in |
1019 | *-leon[3-9]*) | |
1020 | ;; | |
1021 | *) | |
d2a7d041 DM |
1022 | if test "${host_address}" = 32; then |
1023 | tmake_file="$tmake_file sparc/t-softmul" | |
1024 | fi | |
45b86625 RO |
1025 | ;; |
1026 | esac | |
fa958513 | 1027 | extra_parts="$extra_parts crtfastmath.o" |
10c4cabc | 1028 | md_unwind_header=sparc/linux-unwind.h |
fa958513 | 1029 | ;; |
569dc494 | 1030 | sparc-*-rtems*) |
c9cd1a07 | 1031 | tmake_file="$tmake_file sparc/t-elf sparc/t-softmul t-crtfm t-fdpbit" |
5f73c6cc | 1032 | extra_parts="$extra_parts crti.o crtn.o crtfastmath.o" |
fa958513 | 1033 | ;; |
ca24c5ad RO |
1034 | sparc*-*-solaris2*) |
1035 | tmake_file="$tmake_file t-crtfm" | |
1036 | extra_parts="$extra_parts crtfastmath.o" | |
58cd1d70 | 1037 | md_unwind_header=sparc/sol2-unwind.h |
fa958513 | 1038 | ;; |
fa958513 | 1039 | sparc64-*-elf*) |
5f73c6cc RO |
1040 | tmake_file="${tmake_file} t-crtfm" |
1041 | extra_parts="$extra_parts crti.o crtn.o crtfastmath.o" | |
fa958513 | 1042 | ;; |
569dc494 | 1043 | sparc64-*-rtems*) |
c9cd1a07 | 1044 | tmake_file="$tmake_file sparc/t-elf t-crtfm" |
5f73c6cc | 1045 | extra_parts="$extra_parts crti.o crtn.o crtfastmath.o" |
569dc494 | 1046 | ;; |
1910440e RS |
1047 | sparc-wrs-vxworks) |
1048 | ;; | |
fa958513 | 1049 | sparc64-*-freebsd*|ultrasparc-*-freebsd*) |
35d8090d | 1050 | tmake_file="$tmake_file t-crtfm" |
5f73c6cc | 1051 | extra_parts="$extra_parts crtfastmath.o" |
fa958513 DJ |
1052 | ;; |
1053 | sparc64-*-linux*) # 64-bit SPARC's running GNU/Linux | |
1054 | extra_parts="$extra_parts crtfastmath.o" | |
d2a7d041 DM |
1055 | tmake_file="${tmake_file} t-crtfm sparc/t-linux" |
1056 | if test "${host_address}" = 64; then | |
1057 | tmake_file="${tmake_file} sparc/t-linux64" | |
1058 | fi | |
1059 | if test "${host_address}" = 32; then | |
1060 | tmake_file="${tmake_file} sparc/t-softmul" | |
1061 | fi | |
58cd1d70 | 1062 | md_unwind_header=sparc/linux-unwind.h |
fa958513 DJ |
1063 | ;; |
1064 | sparc64-*-netbsd*) | |
1065 | ;; | |
1066 | spu-*-elf*) | |
f9989b51 | 1067 | tmake_file="$tmake_file spu/t-elf t-libgcc-pic t-fdpbit" |
5f73c6cc RO |
1068 | extra_parts="$extra_parts \ |
1069 | libgcc_cachemgr.a libgcc_cachemgr_nonatomic.a \ | |
1070 | libgcc_cache8k.a libgcc_cache16k.a libgcc_cache32k.a \ | |
1071 | libgcc_cache64k.a libgcc_cache128k.a" | |
fa958513 | 1072 | ;; |
b040f2be | 1073 | tic6x-*-uclinux) |
4d5ae4ea BS |
1074 | tmake_file="${tmake_file} t-softfp-sfdf t-softfp-excl t-softfp \ |
1075 | c6x/t-elf c6x/t-uclinux t-crtstuff-pic t-libgcc-pic \ | |
1076 | t-slibgcc t-slibgcc-gld t-slibgcc-elf-ver t-gnu-prefix" | |
852b75ed | 1077 | tm_file="$tm_file c6x/c6x-abi.h" |
4d5ae4ea | 1078 | extra_parts="$extra_parts crtbeginS.o crtendS.o crti.o crtn.o" |
b040f2be RO |
1079 | unwind_header=config/c6x/unwind-c6x.h |
1080 | ;; | |
5f73c6cc RO |
1081 | tic6x-*-elf) |
1082 | tmake_file="${tmake_file} t-softfp-sfdf t-softfp-excl t-softfp t-gnu-prefix c6x/t-elf" | |
852b75ed | 1083 | tm_file="$tm_file c6x/c6x-abi.h" |
5f73c6cc | 1084 | extra_parts="$extra_parts crtbeginS.o crtendS.o crti.o crtn.o" |
1e874273 | 1085 | unwind_header=config/c6x/unwind-c6x.h |
bcead286 | 1086 | ;; |
4be46d19 | 1087 | v850*-*-*) |
45b86625 | 1088 | tmake_file="v850/t-v850 t-fdpbit" |
fa958513 | 1089 | ;; |
fea96e25 | 1090 | vax-*-linux*) |
45b86625 | 1091 | tmake_file="$tmake_file vax/t-linux" |
fea96e25 | 1092 | ;; |
fa958513 DJ |
1093 | vax-*-netbsdelf*) |
1094 | ;; | |
fa958513 DJ |
1095 | vax-*-openbsd*) |
1096 | ;; | |
fa958513 | 1097 | xstormy16-*-elf) |
200feb07 | 1098 | tmake_file="stormy16/t-stormy16 t-fdpbit" |
fa958513 | 1099 | ;; |
c660f132 | 1100 | xtensa*-*-elf*) |
5f73c6cc RO |
1101 | tmake_file="$tmake_file xtensa/t-xtensa xtensa/t-elf" |
1102 | extra_parts="$extra_parts crti.o crtn.o" | |
fa958513 | 1103 | ;; |
c660f132 | 1104 | xtensa*-*-linux*) |
b040f2be | 1105 | tmake_file="$tmake_file xtensa/t-xtensa xtensa/t-linux" |
58cd1d70 | 1106 | md_unwind_header=xtensa/linux-unwind.h |
fa958513 DJ |
1107 | ;; |
1108 | am33_2.0-*-linux*) | |
5f73c6cc | 1109 | # Don't need crtbeginT.o from *-*-linux* default. |
fa958513 | 1110 | extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o" |
b040f2be | 1111 | tmake_file="$tmake_file t-fdpbit" |
fa958513 | 1112 | ;; |
541ed00e | 1113 | m32c-*-elf*|m32c-*-rtems*) |
45b86625 | 1114 | tmake_file="$tmake_file m32c/t-m32c" |
fa958513 | 1115 | ;; |
7acf4da6 | 1116 | mep*-*-*) |
5f73c6cc RO |
1117 | tmake_file="mep/t-mep t-fdpbit" |
1118 | extra_parts="crtbegin.o crtend.o" | |
7acf4da6 | 1119 | ;; |
fa958513 DJ |
1120 | *) |
1121 | echo "*** Configuration ${host} not supported" 1>&2 | |
1122 | exit 1 | |
1123 | ;; | |
1124 | esac | |
6f461e76 L |
1125 | |
1126 | case ${host} in | |
2a761e46 | 1127 | i[34567]86-*-linux* | x86_64-*-linux* | \ |
b040f2be RO |
1128 | i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu | \ |
1129 | i[34567]86-*-knetbsd*-gnu | \ | |
2a761e46 | 1130 | i[34567]86-*-gnu*) |
b040f2be | 1131 | tmake_file="${tmake_file} t-tls i386/t-linux" |
b6110d6d | 1132 | if test "$libgcc_cv_cfi" = "yes"; then |
ca007d11 | 1133 | tmake_file="${tmake_file} t-stack i386/t-stack-i386" |
b6110d6d | 1134 | fi |
6f461e76 L |
1135 | ;; |
1136 | esac | |
ff473280 L |
1137 | |
1138 | case ${host} in | |
1139 | i[34567]86-*-darwin* | x86_64-*-darwin* | \ | |
532bfb0a | 1140 | i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu | \ |
e997fb9c | 1141 | i[34567]86-*-linux* | x86_64-*-linux* | \ |
3f56ef8b | 1142 | i[34567]86-*-gnu* | \ |
fbdd5d87 | 1143 | i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]* | \ |
d78552bd UB |
1144 | i[34567]86-*-cygwin* | i[34567]86-*-mingw* | x86_64-*-mingw* | \ |
1145 | i[34567]86-*-freebsd* | x86_64-*-freebsd*) | |
aca0b0b3 | 1146 | tmake_file="${tmake_file} t-softfp-tf" |
c174f11c | 1147 | if test "${host_address}" = 32; then |
aca0b0b3 | 1148 | tmake_file="${tmake_file} i386/${host_address}/t-softfp" |
c174f11c | 1149 | fi |
aca0b0b3 | 1150 | tmake_file="${tmake_file} t-softfp" |
c174f11c L |
1151 | ;; |
1152 | esac | |
1153 | ||
1154 | case ${host} in | |
1155 | i[34567]86-*-linux* | x86_64-*-linux*) | |
1156 | # Provide backward binary compatibility for 64bit Linux/x86. | |
1157 | if test "${host_address}" = 64; then | |
1158 | tmake_file="${tmake_file} i386/${host_address}/t-softfp-compat" | |
1159 | fi | |
852b75ed | 1160 | tm_file="${tm_file} i386/value-unwind.h" |
ff473280 L |
1161 | ;; |
1162 | esac |