]>
Commit | Line | Data |
---|---|---|
fa958513 | 1 | # libgcc host-specific configuration file. |
85ec4feb | 2 | # Copyright (C) 1997-2018 Free Software Foundation, Inc. |
fa958513 DJ |
3 | |
4 | #This file is part of GCC. | |
5 | ||
6 | #GCC is free software; you can redistribute it and/or modify it under | |
7 | #the terms of the GNU General Public License as published by the Free | |
748086b7 | 8 | #Software Foundation; either version 3, or (at your option) any later |
fa958513 DJ |
9 | #version. |
10 | ||
11 | #GCC is distributed in the hope that it will be useful, but WITHOUT | |
12 | #ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
13 | #FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
14 | #for more details. | |
15 | ||
16 | #You should have received a copy of the GNU General Public License | |
748086b7 JJ |
17 | #along with GCC; see the file COPYING3. If not see |
18 | #<http://www.gnu.org/licenses/>. | |
fa958513 DJ |
19 | |
20 | # This is the libgcc host-specific configuration file | |
21 | # where a configuration type is mapped to different system-specific | |
22 | # definitions and files. This is invoked by the autoconf-generated | |
23 | # configure script. Putting it in a separate shell file lets us skip | |
24 | # running autoconf when modifying host-specific information. | |
25 | ||
26 | # This file bears an obvious resemblance to gcc/config.gcc. The cases | |
27 | # should be kept similar, to ease moving library-specific settings | |
28 | # from config.gcc to this file. That is also why tmake_file is | |
29 | # left as tmake_file, rather than hmake_file, even though this library | |
30 | # switches on ${host}. | |
31 | ||
32 | # This file switches on the shell variable ${host}, and also uses the | |
33 | # following shell variables: | |
34 | # | |
35 | # with_* Various variables as set by configure. | |
36 | ||
37 | # This file sets the following shell variables for use by the | |
38 | # autoconf-generated configure script: | |
39 | # | |
40 | # asm_hidden_op The assembler pseudo-op to use for hide | |
41 | # lists for object files implemented in | |
42 | # assembly (with -fvisibility=hidden for C). | |
43 | # The default is ".hidden". | |
44 | # cpu_type The name of the cpu, if different from the first | |
45 | # chunk of the canonical host name. | |
10e48e39 RO |
46 | # enable_execute_stack The name of a source file implementing |
47 | # __enable_execute_stack. | |
fa958513 DJ |
48 | # extra_parts List of extra object files that should be compiled |
49 | # for this target machine. This may be overridden | |
50 | # by setting EXTRA_PARTS in a tmake_file fragment. | |
51 | # If either is set, EXTRA_PARTS and | |
52 | # EXTRA_MULTILIB_PARTS inherited from the GCC | |
53 | # subdirectory will be ignored. | |
58cd1d70 RO |
54 | # md_unwind_header The name of a header file defining |
55 | # MD_FALLBACK_FRAME_STATE_FOR. | |
aca0b0b3 RO |
56 | # sfp_machine_header The name of a sfp-machine.h header file for soft-fp. |
57 | # Defaults to "$cpu_type/sfp-machine.h" if it exists, | |
58 | # no-sfp-machine.h otherwise. | |
fa958513 | 59 | # tmake_file A list of machine-description-specific |
200feb07 | 60 | # makefile fragments. |
852b75ed RO |
61 | # tm_defines List of target macros to define for all compilations. |
62 | # tm_file A list of target macro files used only for code | |
63 | # built for the target, not the host. These files | |
64 | # are relative to $srcdir/config and must not have | |
65 | # the same names as files in $srcdir/../gcc/config. | |
201cdb74 RO |
66 | # unwind_header The name of the header file declaring the unwind |
67 | # runtime interface routines. | |
fa958513 DJ |
68 | |
69 | asm_hidden_op=.hidden | |
10e48e39 | 70 | enable_execute_stack= |
fa958513 DJ |
71 | extra_parts= |
72 | tmake_file= | |
852b75ed RO |
73 | tm_file= |
74 | tm_define= | |
58cd1d70 | 75 | md_unwind_header=no-unwind.h |
201cdb74 | 76 | unwind_header=unwind-generic.h |
fa958513 DJ |
77 | |
78 | # Set default cpu_type so it can be updated in each machine entry. | |
79 | cpu_type=`echo ${host} | sed 's/-.*$//'` | |
80 | case ${host} in | |
81 | m32c*-*-*) | |
82 | cpu_type=m32c | |
569dc494 | 83 | tmake_file=t-fdpbit |
fa958513 | 84 | ;; |
1e3d5096 IB |
85 | aarch64*-*-*) |
86 | cpu_type=aarch64 | |
87 | ;; | |
fa958513 DJ |
88 | alpha*-*-*) |
89 | cpu_type=alpha | |
90 | ;; | |
91 | am33_2.0-*-linux*) | |
92 | cpu_type=mn10300 | |
93 | ;; | |
d38a64b4 JR |
94 | arc*-*-*) |
95 | cpu_type=arc | |
96 | ;; | |
fa958513 DJ |
97 | arm*-*-*) |
98 | cpu_type=arm | |
99 | ;; | |
47583040 AH |
100 | avr-*-*) |
101 | cpu_type=avr | |
102 | ;; | |
fa958513 DJ |
103 | bfin*-*) |
104 | cpu_type=bfin | |
105 | ;; | |
b25364a0 S |
106 | cr16-*-*) |
107 | ;; | |
0e499e75 HPN |
108 | crisv32-*-*) |
109 | cpu_type=cris | |
110 | ;; | |
4cd0bc3b J |
111 | csky*-*-*) |
112 | cpu_type=csky | |
113 | ;; | |
7d33c31d KH |
114 | fido-*-*) |
115 | cpu_type=m68k | |
116 | ;; | |
fa958513 DJ |
117 | frv*) cpu_type=frv |
118 | ;; | |
fef939d6 JB |
119 | ft32*) cpu_type=ft32 |
120 | ;; | |
cceb575c AG |
121 | moxie*) cpu_type=moxie |
122 | ;; | |
fa958513 DJ |
123 | i[34567]86-*-*) |
124 | cpu_type=i386 | |
125 | ;; | |
126 | x86_64-*-*) | |
127 | cpu_type=i386 | |
128 | ;; | |
129 | ia64-*-*) | |
130 | ;; | |
cd985f66 | 131 | hppa*-*-*) |
fa958513 DJ |
132 | cpu_type=pa |
133 | ;; | |
aa4945c1 JB |
134 | lm32*-*-*) |
135 | cpu_type=lm32 | |
136 | ;; | |
fa958513 DJ |
137 | m32r*-*-*) |
138 | cpu_type=m32r | |
139 | ;; | |
fa958513 DJ |
140 | m68k-*-*) |
141 | ;; | |
80920132 ME |
142 | microblaze*-*-*) |
143 | cpu_type=microblaze | |
144 | ;; | |
fa958513 | 145 | mips*-*-*) |
1ea0a651 | 146 | # All MIPS targets provide a full set of FP routines. |
fa958513 | 147 | cpu_type=mips |
1c51d688 RS |
148 | tmake_file="mips/t-mips" |
149 | if test "${libgcc_cv_mips_hard_float}" = yes; then | |
150 | tmake_file="${tmake_file} t-hardfp-sfdf t-hardfp" | |
151 | else | |
152 | tmake_file="${tmake_file} t-softfp-sfdf" | |
153 | fi | |
1ea0a651 RS |
154 | if test "${ac_cv_sizeof_long_double}" = 16; then |
155 | tmake_file="${tmake_file} mips/t-softfp-tf" | |
156 | fi | |
157 | if test "${host_address}" = 64; then | |
158 | tmake_file="${tmake_file} mips/t-mips64" | |
159 | fi | |
160 | tmake_file="${tmake_file} t-softfp" | |
fa958513 | 161 | ;; |
9304f876 CJW |
162 | nds32*-*) |
163 | cpu_type=nds32 | |
164 | ;; | |
e430824f CLT |
165 | nios2*-*-*) |
166 | cpu_type=nios2 | |
167 | ;; | |
fa958513 DJ |
168 | powerpc*-*-*) |
169 | cpu_type=rs6000 | |
170 | ;; | |
171 | rs6000*-*-*) | |
172 | ;; | |
0bd99911 PD |
173 | riscv*-*-*) |
174 | cpu_type=riscv | |
175 | ;; | |
fa958513 DJ |
176 | sparc64*-*-*) |
177 | cpu_type=sparc | |
178 | ;; | |
179 | sparc*-*-*) | |
180 | cpu_type=sparc | |
181 | ;; | |
182 | spu*-*-*) | |
183 | cpu_type=spu | |
184 | ;; | |
185 | s390*-*-*) | |
186 | cpu_type=s390 | |
187 | ;; | |
188 | # Note the 'l'; we need to be able to match e.g. "shle" or "shl". | |
189 | sh[123456789lbe]*-*-*) | |
190 | cpu_type=sh | |
191 | ;; | |
341c653c WL |
192 | tilegx*-*-*) |
193 | cpu_type=tilegx | |
194 | ;; | |
195 | tilepro*-*-*) | |
196 | cpu_type=tilepro | |
197 | ;; | |
4be46d19 NC |
198 | v850*-*-*) |
199 | cpu_type=v850 | |
200 | ;; | |
bcead286 BS |
201 | tic6x-*-*) |
202 | cpu_type=c6x | |
203 | ;; | |
fa958513 DJ |
204 | esac |
205 | ||
206 | # Common parts for widely ported systems. | |
207 | case ${host} in | |
208 | *-*-darwin*) | |
209 | asm_hidden_op=.private_extern | |
f9989b51 | 210 | tmake_file="$tmake_file t-darwin ${cpu_type}/t-darwin t-libgcc-pic t-slibgcc-darwin" |
88350fd9 | 211 | extra_parts="crt3.o d10-uwfef.o crttms.o crttme.o" |
fa958513 | 212 | ;; |
dbed5a9b JM |
213 | *-*-dragonfly*) |
214 | tmake_file="$tmake_file t-crtstuff-pic t-libgcc-pic t-eh-dw2-dip" | |
215 | tmake_file="$tmake_file t-slibgcc t-slibgcc-gld t-slibgcc-elf-ver" | |
216 | extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o" | |
217 | ;; | |
fa958513 DJ |
218 | *-*-freebsd*) |
219 | # This is the generic ELF configuration of FreeBSD. Later | |
220 | # machine-specific sections may refine and add to this | |
221 | # configuration. | |
f9989b51 | 222 | 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 | 223 | extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o" |
b040f2be RO |
224 | case ${target_thread_file} in |
225 | posix) | |
f9989b51 | 226 | tmake_file="${tmake_file} t-freebsd-thread" |
b040f2be RO |
227 | # Before 5.0, FreeBSD can't bind shared libraries to -lc |
228 | # when "optionally" threaded via weak pthread_* checks. | |
229 | case ${host} in | |
230 | *-*-freebsd[34] | *-*-freebsd[34].*) | |
231 | tmake_file="${tmake_file} t-slibgcc-nolc-override" | |
232 | ;; | |
233 | esac | |
234 | ;; | |
235 | esac | |
fa958513 | 236 | ;; |
7ab8766a JC |
237 | *-*-fuchsia*) |
238 | tmake_file="$tmake_file t-crtstuff-pic t-libgcc-pic t-eh-dw2-dip t-slibgcc t-slibgcc-fuchsia" | |
239 | extra_parts="crtbegin.o crtend.o" | |
240 | ;; | |
8466af06 | 241 | *-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu) |
f9989b51 | 242 | 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" |
227a7dc8 RO |
243 | extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o" |
244 | if test x$enable_vtable_verify = xyes; then | |
245 | extra_parts="$extra_parts vtv_start.o vtv_end.o vtv_start_preinit.o vtv_end_preinit.o" | |
246 | fi | |
fa958513 | 247 | ;; |
5f73c6cc | 248 | *-*-lynxos*) |
f9989b51 | 249 | tmake_file="$tmake_file t-lynx $cpu_type/t-crtstuff t-crtstuff-pic t-libgcc-pic" |
5f73c6cc RO |
250 | extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o" |
251 | ;; | |
fa958513 | 252 | *-*-netbsd*) |
ab955692 KW |
253 | tmake_file="$tmake_file t-crtstuff-pic t-libgcc-pic t-eh-dw2-dip" |
254 | tmake_file="$tmake_file t-slibgcc t-slibgcc-gld t-slibgcc-elf-ver" | |
eac8c9f2 | 255 | tmake_file="$tmake_file t-slibgcc-libgcc" |
bec75e53 | 256 | extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o" |
fa958513 DJ |
257 | ;; |
258 | *-*-openbsd*) | |
8eaee0f0 | 259 | tmake_file="$tmake_file t-crtstuff-pic t-libgcc-pic t-eh-dw2-dip" |
f9989b51 RO |
260 | case ${target_thread_file} in |
261 | posix) | |
262 | tmake_file="$tmake_file t-openbsd-thread" | |
263 | ;; | |
264 | esac | |
fa958513 DJ |
265 | ;; |
266 | *-*-rtems*) | |
c9cd1a07 | 267 | tmake_file="$tmake_file t-rtems" |
5f73c6cc | 268 | extra_parts="crtbegin.o crtend.o" |
fa958513 | 269 | ;; |
ca24c5ad | 270 | *-*-solaris2*) |
201cdb74 RO |
271 | # Unless linker support and dl_iterate_phdr are present, |
272 | # unwind-dw2-fde-dip.c automatically falls back to unwind-dw2-fde.c. | |
df2a1cc4 | 273 | tmake_file="$tmake_file sol2/t-sol2 t-eh-dw2-dip t-crtstuff-pic t-libgcc-pic t-slibgcc t-slibgcc-elf-ver" |
ca24c5ad RO |
274 | if test $with_gnu_ld = yes; then |
275 | tmake_file="$tmake_file t-slibgcc-gld" | |
276 | else | |
277 | tmake_file="$tmake_file t-slibgcc-sld" | |
278 | fi | |
279 | # Add cpu-specific t-sol2 after t-slibgcc-* so it can augment SHLIB_MAPFILES. | |
280 | tmake_file="$tmake_file $cpu_type/t-sol2" | |
281 | extra_parts="gmon.o crtbegin.o crtend.o" | |
2d110442 | 282 | if test "${libgcc_cv_solaris_crts}" = yes; then |
f021f1d3 | 283 | # Solaris 11.4 provides crt1.o, crti.o, and crtn.o as part of the |
2d110442 RO |
284 | # base system. crtp.o and crtpg.o implement the compiler-dependent parts. |
285 | extra_parts="$extra_parts crtp.o crtpg.o" | |
df2a1cc4 RO |
286 | # If the Solaris CRTs are present, both ld and gld will have PIE support. |
287 | extra_parts="$extra_parts crtbeginS.o crtendS.o" | |
2d110442 RO |
288 | else |
289 | case ${host} in | |
290 | i?86-*-solaris2.1[0-9]* | x86_64-*-solaris2.1[0-9]*) | |
291 | # Solaris 10+/x86 provides crt1.o, crti.o, crtn.o, and gcrt1.o as | |
292 | # part of the base system. | |
293 | ;; | |
294 | sparc*-*-solaris2.1[0-9]*) | |
295 | # Solaris 10+/SPARC lacks crt1.o and gcrt1.o. | |
296 | extra_parts="$extra_parts crt1.o gcrt1.o" | |
297 | ;; | |
298 | esac | |
299 | fi | |
e5ef217c RO |
300 | if test x$enable_vtable_verify = xyes; then |
301 | extra_parts="$extra_parts vtv_start.o vtv_end.o vtv_start_preinit.o vtv_end_preinit.o" | |
302 | fi | |
ca24c5ad | 303 | ;; |
5f73c6cc RO |
304 | *-*-uclinux*) |
305 | extra_parts="crtbegin.o crtend.o" | |
306 | ;; | |
307 | *-*-*vms*) | |
308 | tmake_file="vms/t-vms" | |
4b12e93d | 309 | extra_parts="crt0.o crtbegin.o crtbeginS.o crtend.o crtendS.o" |
5f73c6cc | 310 | ;; |
2f19c491 | 311 | *-*-vxworks7*) |
e4b0df93 OH |
312 | tmake_file=t-vxworks7 |
313 | ;; | |
fa958513 | 314 | *-*-vxworks*) |
f9989b51 | 315 | tmake_file=t-vxworks |
fa958513 DJ |
316 | ;; |
317 | *-*-elf) | |
5f73c6cc | 318 | extra_parts="crtbegin.o crtend.o" |
fa958513 DJ |
319 | ;; |
320 | esac | |
321 | ||
10e48e39 | 322 | case ${host} in |
dbed5a9b JM |
323 | *-*-darwin* | *-*-dragonfly* | *-*-freebsd* | *-*-netbsd* | *-*-openbsd* | \ |
324 | *-*-solaris2*) | |
10e48e39 RO |
325 | enable_execute_stack=enable-execute-stack-mprotect.c |
326 | ;; | |
327 | i[34567]86-*-mingw* | x86_64-*-mingw*) | |
328 | enable_execute_stack=config/i386/enable-execute-stack-mingw32.c | |
329 | ;; | |
c8f34527 JY |
330 | i[34567]86-*-cygwin* | x86_64-*-cygwin*) |
331 | enable_execute_stack=config/i386/enable-execute-stack-mingw32.c | |
332 | ;; | |
10e48e39 RO |
333 | *) |
334 | enable_execute_stack=enable-execute-stack-empty.c; | |
335 | ;; | |
336 | esac | |
337 | ||
fa958513 | 338 | case ${host} in |
7cb065d6 | 339 | aarch64*-*-elf | aarch64*-*-rtems*) |
1e3d5096 | 340 | extra_parts="$extra_parts crtbegin.o crtend.o crti.o crtn.o" |
b677236a | 341 | extra_parts="$extra_parts crtfastmath.o" |
1e3d5096 | 342 | tmake_file="${tmake_file} ${cpu_type}/t-aarch64" |
b677236a | 343 | tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp t-crtfm" |
5636faf2 | 344 | md_unwind_header=aarch64/aarch64-unwind.h |
1e3d5096 | 345 | ;; |
b20e7532 AT |
346 | aarch64*-*-freebsd*) |
347 | extra_parts="$extra_parts crtfastmath.o" | |
348 | tmake_file="${tmake_file} ${cpu_type}/t-aarch64" | |
349 | tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp t-crtfm" | |
4ccfdb28 | 350 | md_unwind_header=aarch64/freebsd-unwind.h |
b20e7532 | 351 | ;; |
7ab8766a JC |
352 | aarch64*-*-fuchsia*) |
353 | tmake_file="${tmake_file} ${cpu_type}/t-aarch64" | |
354 | tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp" | |
355 | ;; | |
1e3d5096 | 356 | aarch64*-*-linux*) |
b677236a | 357 | extra_parts="$extra_parts crtfastmath.o" |
1e3d5096 IB |
358 | md_unwind_header=aarch64/linux-unwind.h |
359 | tmake_file="${tmake_file} ${cpu_type}/t-aarch64" | |
b677236a | 360 | tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp t-crtfm" |
1e3d5096 | 361 | ;; |
ebb9f8b0 | 362 | alpha*-*-linux*) |
f9989b51 | 363 | tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee t-crtfm alpha/t-linux" |
5ea41e3a | 364 | extra_parts="$extra_parts crtfastmath.o" |
58cd1d70 | 365 | md_unwind_header=alpha/linux-unwind.h |
fa958513 | 366 | ;; |
fa958513 | 367 | alpha*-*-freebsd*) |
f9989b51 | 368 | tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee t-crtfm" |
5f73c6cc | 369 | extra_parts="$extra_parts crtbeginT.o crtfastmath.o" |
fa958513 DJ |
370 | ;; |
371 | alpha*-*-netbsd*) | |
f9989b51 | 372 | tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee" |
fa958513 DJ |
373 | ;; |
374 | alpha*-*-openbsd*) | |
f9989b51 | 375 | tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee" |
fa958513 | 376 | ;; |
fa958513 | 377 | alpha64-dec-*vms*) |
f9989b51 | 378 | tmake_file="$tmake_file alpha/t-alpha alpha/t-ieee alpha/t-vms t-slibgcc-vms" |
5f73c6cc | 379 | extra_parts="$extra_parts vms-dwarf2.o vms-dwarf2eh.o" |
58cd1d70 | 380 | md_unwind_header=alpha/vms-unwind.h |
fa958513 DJ |
381 | ;; |
382 | alpha*-dec-*vms*) | |
f9989b51 | 383 | tmake_file="$tmake_file alpha/t-alpha alpha/t-ieee alpha/t-vms t-slibgcc-vms" |
5f73c6cc | 384 | extra_parts="$extra_parts vms-dwarf2.o vms-dwarf2eh.o" |
58cd1d70 | 385 | md_unwind_header=alpha/vms-unwind.h |
fa958513 | 386 | ;; |
d38a64b4 | 387 | arc*-*-elf*) |
e04ea1da CZ |
388 | tmake_file="arc/t-arc" |
389 | extra_parts="crti.o crtn.o crtend.o crtbegin.o crtendS.o crtbeginS.o" | |
390 | extra_parts="$extra_parts crttls.o" | |
d38a64b4 | 391 | ;; |
b1938888 | 392 | arc*-*-linux*) |
e04ea1da CZ |
393 | tmake_file="${tmake_file} t-slibgcc-libgcc t-slibgcc-nolc-override arc/t-arc-uClibc arc/t-arc" |
394 | extra_parts="$extra_parts crti.o crtn.o" | |
62440b4f | 395 | extra_parts="$extra_parts crttls.o" |
b0c7ddf8 | 396 | md_unwind_header=arc/linux-unwind.h |
d38a64b4 | 397 | ;; |
0b458d2b | 398 | arm-wrs-vxworks|arm-wrs-vxworks7) |
1a80085d | 399 | tmake_file="$tmake_file arm/t-arm arm/t-elf t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp" |
5f73c6cc | 400 | extra_parts="$extra_parts crti.o crtn.o" |
0b458d2b JL |
401 | case ${host} in |
402 | *-*-vxworks7) | |
403 | # Note that arm/t-bpabi will reset the LIB2ADDEH macro. | |
404 | # This is intentional. | |
405 | tmake_file="$tmake_file arm/t-bpabi arm/t-vxworks7" | |
406 | tm_file="$tm_file arm/bpabi-lib.h" | |
407 | unwind_header=config/arm/unwind-arm.h | |
408 | ;; | |
409 | esac | |
fa958513 | 410 | ;; |
82a19768 AT |
411 | arm*-*-freebsd*) # ARM FreeBSD EABI |
412 | tmake_file="${tmake_file} arm/t-arm t-fixedpoint-gnu-prefix arm/t-elf" | |
8ef2b9a7 | 413 | tmake_file="${tmake_file} arm/t-bpabi arm/t-freebsd" |
82a19768 AT |
414 | tm_file="${tm_file} arm/bpabi-lib.h" |
415 | unwind_header=config/arm/unwind-arm.h | |
416 | tmake_file="${tmake_file} t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp" | |
417 | ;; | |
7ab8766a JC |
418 | arm*-*-fuchsia*) |
419 | tmake_file="${tmake_file} arm/t-arm arm/t-elf arm/t-bpabi" | |
420 | tmake_file="${tmake_file} arm/tsoftfp t-softfp" | |
421 | tm_file="${tm_file} arm/bpabi-lib.h" | |
422 | unwind_header=config/arm/unwind-arm.h | |
423 | ;; | |
fa958513 | 424 | arm*-*-netbsdelf*) |
f9989b51 | 425 | tmake_file="$tmake_file arm/t-arm arm/t-netbsd t-slibgcc-gld-nover" |
fa958513 | 426 | ;; |
fa958513 | 427 | arm*-*-linux*) # ARM GNU/Linux with ELF |
5a0ff57c | 428 | tmake_file="${tmake_file} arm/t-arm t-fixedpoint-gnu-prefix t-crtfm" |
5005fe22 RE |
429 | tmake_file="${tmake_file} arm/t-elf arm/t-bpabi arm/t-linux-eabi t-slibgcc-libgcc" |
430 | tm_file="$tm_file arm/bpabi-lib.h" | |
431 | unwind_header=config/arm/unwind-arm.h | |
aca0b0b3 | 432 | tmake_file="$tmake_file t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp" |
5a0ff57c | 433 | extra_parts="$extra_parts crtfastmath.o" |
fa958513 DJ |
434 | ;; |
435 | arm*-*-uclinux*) # ARM ucLinux | |
5a0ff57c | 436 | tmake_file="${tmake_file} t-fixedpoint-gnu-prefix t-crtfm" |
064c4ff2 | 437 | tmake_file="$tmake_file arm/t-arm arm/t-elf t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp" |
5005fe22 RE |
438 | tmake_file="${tmake_file} arm/t-bpabi" |
439 | tm_file="$tm_file arm/bpabi-lib.h" | |
440 | unwind_header=config/arm/unwind-arm.h | |
5f73c6cc | 441 | extra_parts="$extra_parts crti.o crtn.o" |
fa958513 | 442 | ;; |
a34c0db5 JS |
443 | arm*-*-phoenix*) |
444 | tmake_file="t-hardfp t-softfp arm/t-arm arm/t-elf arm/t-softfp arm/t-phoenix" | |
445 | tmake_file="${tmake_file} arm/t-bpabi" | |
446 | tm_file="$tm_file arm/bpabi-lib.h" | |
447 | extra_parts="crtbegin.o crtend.o crti.o crtn.o" | |
448 | unwind_header=config/arm/unwind-arm.h | |
449 | ;; | |
153c8397 | 450 | arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*) |
45b86625 | 451 | tmake_file="${tmake_file} arm/t-arm arm/t-elf t-fixedpoint-gnu-prefix" |
852b75ed | 452 | tm_file="$tm_file arm/bpabi-lib.h" |
201cdb74 | 453 | case ${host} in |
153c8397 | 454 | arm*-*-eabi* | arm*-*-rtems*) |
5a0ff57c | 455 | tmake_file="${tmake_file} arm/t-bpabi t-crtfm" |
5f73c6cc | 456 | extra_parts="crtbegin.o crtend.o crti.o crtn.o" |
201cdb74 RO |
457 | ;; |
458 | arm*-*-symbianelf*) | |
b040f2be | 459 | tmake_file="${tmake_file} arm/t-symbian t-slibgcc-nolc-override" |
852b75ed | 460 | tm_file="$tm_file arm/symbian-lib.h" |
5f73c6cc | 461 | # Symbian OS provides its own startup code. |
201cdb74 RO |
462 | ;; |
463 | esac | |
aca0b0b3 | 464 | tmake_file="$tmake_file t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp" |
1300f017 | 465 | extra_parts="$extra_parts crtfastmath.o" |
201cdb74 | 466 | unwind_header=config/arm/unwind-arm.h |
fa958513 | 467 | ;; |
fa958513 | 468 | avr-*-*) |
569dc494 RO |
469 | # Make HImode functions for AVR |
470 | tmake_file="${cpu_type}/t-avr t-fpbit" | |
b588ae30 GJL |
471 | if test x${with_avrlibc} != xno; then |
472 | tmake_file="$tmake_file ${cpu_type}/t-avrlibc" | |
473 | fi | |
852b75ed | 474 | tm_file="$tm_file avr/avr-lib.h" |
fa958513 DJ |
475 | ;; |
476 | bfin*-elf*) | |
200feb07 | 477 | tmake_file="bfin/t-bfin bfin/t-crtlibid bfin/t-crtstuff t-libgcc-pic t-fdpbit" |
5f73c6cc | 478 | extra_parts="$extra_parts crtbeginS.o crtendS.o crti.o crtn.o crtlibid.o" |
fa958513 DJ |
479 | ;; |
480 | bfin*-uclinux*) | |
200feb07 | 481 | tmake_file="bfin/t-bfin bfin/t-crtlibid bfin/t-crtstuff t-libgcc-pic t-fdpbit" |
5f73c6cc | 482 | extra_parts="$extra_parts crtbeginS.o crtendS.o crtlibid.o" |
58cd1d70 | 483 | md_unwind_header=bfin/linux-unwind.h |
fa958513 | 484 | ;; |
344189f9 | 485 | bfin*-linux-uclibc*) |
200feb07 | 486 | tmake_file="$tmake_file bfin/t-bfin bfin/t-crtstuff t-libgcc-pic t-fdpbit bfin/t-linux" |
344189f9 BS |
487 | # No need to build crtbeginT.o on uClibc systems. Should probably |
488 | # be moved to the OS specific section above. | |
489 | extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o" | |
58cd1d70 | 490 | md_unwind_header=bfin/linux-unwind.h |
344189f9 | 491 | ;; |
569dc494 | 492 | bfin*-rtems*) |
45b86625 | 493 | tmake_file="$tmake_file bfin/t-bfin t-fdpbit" |
5f73c6cc | 494 | extra_parts="$extra_parts crti.o crtn.o" |
569dc494 | 495 | ;; |
fa958513 | 496 | bfin*-*) |
45b86625 | 497 | tmake_file="$tmake_file bfin/t-bfin t-fdpbit" |
5f73c6cc | 498 | extra_parts="crtbegin.o crtend.o crti.o crtn.o" |
fa958513 | 499 | ;; |
b25364a0 S |
500 | cr16-*-elf) |
501 | tmake_file="${tmake_file} cr16/t-cr16 cr16/t-crtlibid t-fdpbit" | |
502 | extra_parts="$extra_parts crti.o crtn.o crtlibid.o" | |
503 | ;; | |
5f73c6cc | 504 | crisv32-*-elf) |
0e499e75 | 505 | tmake_file="$tmake_file cris/t-cris t-softfp-sfdf t-softfp" |
5f73c6cc | 506 | ;; |
5f73c6cc | 507 | cris-*-elf) |
0e499e75 | 508 | tmake_file="$tmake_file cris/t-cris t-softfp-sfdf t-softfp cris/t-elfmulti" |
5f73c6cc | 509 | ;; |
4081d704 | 510 | cris-*-linux* | crisv32-*-linux*) |
0e499e75 | 511 | tmake_file="$tmake_file cris/t-cris t-softfp-sfdf t-softfp cris/t-linux" |
fa958513 | 512 | ;; |
4cd0bc3b J |
513 | csky-*-elf*) |
514 | tmake_file="csky/t-csky t-fdpbit" | |
515 | extra_parts="$extra_parts crti.o crtn.o" | |
516 | ;; | |
517 | csky-*-linux*) | |
518 | tmake_file="$tmake_file csky/t-csky t-slibgcc-libgcc t-fdpbit csky/t-linux-csky" | |
519 | extra_parts="$extra_parts crti.o crtn.o" | |
520 | md_unwind_header=csky/linux-unwind.h | |
521 | ;; | |
64b371b1 SH |
522 | epiphany-*-elf* | epiphany-*-rtems*) |
523 | tmake_file="$tmake_file epiphany/t-epiphany t-fdpbit epiphany/t-custom-eqsf" | |
feeeff5c JR |
524 | extra_parts="$extra_parts crti.o crtint.o crtrunc.o crtm1reg-r43.o crtm1reg-r63.o crtn.o" |
525 | ;; | |
fa958513 | 526 | fr30-*-elf) |
45b86625 | 527 | tmake_file="$tmake_file fr30/t-fr30 t-fdpbit" |
5f73c6cc | 528 | extra_parts="$extra_parts crti.o crtn.o" |
fa958513 DJ |
529 | ;; |
530 | frv-*-elf) | |
5f73c6cc | 531 | tmake_file="$tmake_file frv/t-frv t-fdpbit" |
cc86234f | 532 | tm_file="$tm_file frv/elf-lib.h frv/frv-abi.h" |
5f73c6cc RO |
533 | # Don't use crtbegin.o, crtend.o. |
534 | extra_parts="frvbegin.o frvend.o" | |
fa958513 DJ |
535 | ;; |
536 | frv-*-*linux*) | |
45b86625 | 537 | tmake_file="$tmake_file frv/t-frv frv/t-linux t-fdpbit" |
cc86234f | 538 | tm_file="$tm_file frv/elf-lib.h frv/frv-abi.h" |
fa958513 | 539 | ;; |
fef939d6 JB |
540 | ft32-*-elf) |
541 | tmake_file="ft32/t-ft32 t-softfp-sfdf t-softfp-excl t-softfp" | |
542 | extra_parts="$extra_parts crti.o crti-hw.o crtn.o" | |
543 | ;; | |
fa958513 | 544 | h8300-*-elf*) |
45b86625 | 545 | tmake_file="$tmake_file h8300/t-h8300 t-fpbit" |
852b75ed | 546 | tm_file="$tm_file h8300/h8300-lib.h" |
5f73c6cc | 547 | extra_parts="$extra_parts crti.o crtn.o" |
fa958513 | 548 | ;; |
2f6bd6eb YS |
549 | h8300-*-linux*) |
550 | tmake_file="t-linux h8300/t-linux t-softfp-sfdf t-softfp" | |
551 | tm_file="$tm_file h8300/h8300-lib.h" | |
552 | ;; | |
cd985f66 | 553 | hppa*64*-*-linux*) |
45b86625 | 554 | tmake_file="$tmake_file pa/t-linux pa/t-linux64" |
69778659 | 555 | extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o" |
fa958513 | 556 | ;; |
cd985f66 | 557 | hppa*-*-linux*) |
45b86625 | 558 | tmake_file="$tmake_file pa/t-linux t-slibgcc-libgcc" |
b040f2be | 559 | # Set the libgcc version number |
9b92a9f3 | 560 | if test x$ac_cv_sjlj_exceptions = xyes; then |
b040f2be RO |
561 | tmake_file="$tmake_file pa/t-slibgcc-sjlj-ver" |
562 | else | |
563 | tmake_file="$tmake_file pa/t-slibgcc-dwarf-ver" | |
564 | fi | |
69778659 | 565 | extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o" |
0defd786 | 566 | md_unwind_header=pa/linux-unwind.h |
fa958513 DJ |
567 | ;; |
568 | hppa[12]*-*-hpux10*) | |
f9989b51 | 569 | tmake_file="$tmake_file pa/t-hpux pa/t-hpux10 t-libgcc-pic t-slibgcc" |
b040f2be | 570 | # Set the libgcc version number |
9b92a9f3 | 571 | if test x$ac_cv_sjlj_exceptions = xyes; then |
b040f2be RO |
572 | tmake_file="$tmake_file pa/t-slibgcc-sjlj-ver" |
573 | else | |
574 | tmake_file="$tmake_file pa/t-slibgcc-dwarf-ver" | |
575 | fi | |
576 | tmake_file="$tmake_file pa/t-slibgcc-hpux t-slibgcc-hpux" | |
58cd1d70 | 577 | md_unwind_header=pa/hpux-unwind.h |
fa958513 DJ |
578 | ;; |
579 | hppa*64*-*-hpux11*) | |
9dfd5832 | 580 | tmake_file="$tmake_file pa/t-hpux pa/t-pa64 pa/t-stublib t-libgcc-pic t-slibgcc" |
b040f2be | 581 | # Set the libgcc version number |
9b92a9f3 | 582 | if test x$ac_cv_sjlj_exceptions = xyes; then |
b040f2be RO |
583 | tmake_file="$tmake_file pa/t-slibgcc-sjlj-ver" |
584 | else | |
585 | tmake_file="$tmake_file pa/t-slibgcc-dwarf-ver" | |
586 | fi | |
587 | tmake_file="$tmake_file pa/t-slibgcc-hpux t-slibgcc-hpux" | |
4c6d7494 | 588 | tm_file="$tm_file pa/pa64-hpux-lib.h" |
5f73c6cc RO |
589 | extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o \ |
590 | libgcc_stub.a" | |
58cd1d70 | 591 | md_unwind_header=pa/hpux-unwind.h |
fa958513 DJ |
592 | ;; |
593 | hppa[12]*-*-hpux11*) | |
f9989b51 | 594 | tmake_file="$tmake_file pa/t-hpux pa/t-stublib t-libgcc-pic t-slibgcc" |
b040f2be | 595 | # Set the libgcc version number |
9b92a9f3 | 596 | if test x$ac_cv_sjlj_exceptions = xyes; then |
b040f2be RO |
597 | tmake_file="$tmake_file pa/t-slibgcc-sjlj-ver" |
598 | else | |
599 | tmake_file="$tmake_file pa/t-slibgcc-dwarf-ver" | |
600 | fi | |
601 | tmake_file="$tmake_file pa/t-slibgcc-hpux t-slibgcc-hpux" | |
5f73c6cc | 602 | extra_parts="libgcc_stub.a" |
58cd1d70 | 603 | md_unwind_header=pa/hpux-unwind.h |
fa958513 | 604 | ;; |
17f293b0 MK |
605 | hppa*-*-openbsd*) |
606 | tmake_file="$tmake_file pa/t-openbsd" | |
607 | ;; | |
fa958513 | 608 | i[34567]86-*-darwin*) |
9cbc07cc | 609 | tmake_file="$tmake_file i386/t-crtpc t-crtfm i386/t-msabi" |
852b75ed | 610 | tm_file="$tm_file i386/darwin-lib.h" |
b3fe1584 | 611 | extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o" |
fa958513 DJ |
612 | ;; |
613 | x86_64-*-darwin*) | |
9cbc07cc | 614 | tmake_file="$tmake_file i386/t-crtpc t-crtfm i386/t-msabi" |
852b75ed | 615 | tm_file="$tm_file i386/darwin-lib.h" |
b3fe1584 | 616 | extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o" |
fa958513 | 617 | ;; |
cb78b51c L |
618 | i[34567]86-*-elfiamcu) |
619 | tmake_file="$tmake_file i386/t-crtstuff t-softfp-sfdftf i386/32/t-softfp i386/32/t-iamcu i386/t-softfp t-softfp t-dfprules" | |
620 | ;; | |
fa958513 | 621 | i[34567]86-*-elf*) |
f9989b51 | 622 | tmake_file="$tmake_file i386/t-crtstuff t-crtstuff-pic t-libgcc-pic" |
fa958513 | 623 | ;; |
df674f74 | 624 | x86_64-*-elf* | x86_64-*-rtems*) |
f9989b51 | 625 | tmake_file="$tmake_file i386/t-crtstuff t-crtstuff-pic t-libgcc-pic" |
e5f1cdb1 AC |
626 | case ${host} in |
627 | x86_64-*-rtems*) | |
628 | extra_parts="$extra_parts crti.o crtn.o" | |
629 | ;; | |
630 | esac | |
3ae3dbd6 | 631 | ;; |
7ab8766a JC |
632 | x86_64-*-fuchsia*) |
633 | tmake_file="$tmake_file t-libgcc-pic" | |
634 | ;; | |
dbed5a9b JM |
635 | i[34567]86-*-dragonfly*) |
636 | tmake_file="${tmake_file} i386/t-dragonfly i386/t-crtstuff" | |
637 | md_unwind_header=i386/dragonfly-unwind.h | |
638 | ;; | |
639 | x86_64-*-dragonfly*) | |
640 | tmake_file="${tmake_file} i386/t-dragonfly i386/t-crtstuff" | |
641 | md_unwind_header=i386/dragonfly-unwind.h | |
642 | ;; | |
fa958513 | 643 | i[34567]86-*-freebsd*) |
5f73c6cc | 644 | tmake_file="${tmake_file} i386/t-freebsd i386/t-crtstuff" |
89c54dd3 | 645 | md_unwind_header=i386/freebsd-unwind.h |
fa958513 DJ |
646 | ;; |
647 | x86_64-*-freebsd*) | |
5f73c6cc | 648 | tmake_file="${tmake_file} i386/t-freebsd i386/t-crtstuff" |
89c54dd3 | 649 | md_unwind_header=i386/freebsd-unwind.h |
fa958513 DJ |
650 | ;; |
651 | i[34567]86-*-netbsdelf*) | |
d6574dd1 | 652 | tmake_file="${tmake_file} i386/t-crtstuff" |
fa958513 | 653 | ;; |
fa958513 | 654 | x86_64-*-netbsd*) |
5f73c6cc | 655 | tmake_file="${tmake_file} i386/t-crtstuff" |
fa958513 | 656 | ;; |
fa958513 DJ |
657 | i[34567]86-*-openbsd*) |
658 | ;; | |
613061fd MK |
659 | x86_64-*-openbsd*) |
660 | ;; | |
9e7714f4 | 661 | i[34567]86-*-linux*) |
577565f9 | 662 | extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o" |
9b789cc1 | 663 | tmake_file="${tmake_file} i386/t-crtpc t-crtfm i386/t-crtstuff t-dfprules" |
7bbf9734 | 664 | tm_file="${tm_file} i386/elf-lib.h" |
58cd1d70 | 665 | md_unwind_header=i386/linux-unwind.h |
fa958513 | 666 | ;; |
8466af06 | 667 | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu) |
9e7714f4 | 668 | extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o" |
9b789cc1 | 669 | tmake_file="${tmake_file} i386/t-crtpc t-crtfm i386/t-crtstuff t-dfprules" |
7bbf9734 | 670 | tm_file="${tm_file} i386/elf-lib.h" |
9e7714f4 TS |
671 | ;; |
672 | x86_64-*-linux*) | |
577565f9 | 673 | extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o" |
9b789cc1 | 674 | tmake_file="${tmake_file} i386/t-crtpc t-crtfm i386/t-crtstuff t-dfprules" |
7bbf9734 | 675 | tm_file="${tm_file} i386/elf-lib.h" |
58cd1d70 | 676 | md_unwind_header=i386/linux-unwind.h |
fa958513 | 677 | ;; |
8466af06 | 678 | x86_64-*-kfreebsd*-gnu) |
9e7714f4 | 679 | extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o" |
9b789cc1 | 680 | tmake_file="${tmake_file} i386/t-crtpc t-crtfm i386/t-crtstuff t-dfprules" |
7bbf9734 | 681 | tm_file="${tm_file} i386/elf-lib.h" |
9e7714f4 | 682 | ;; |
fa958513 DJ |
683 | i[34567]86-pc-msdosdjgpp*) |
684 | ;; | |
685 | i[34567]86-*-lynxos*) | |
686 | ;; | |
fa958513 | 687 | i[34567]86-*-nto-qnx*) |
f9989b51 | 688 | tmake_file="$tmake_file i386/t-nto t-libgcc-pic" |
5f73c6cc | 689 | extra_parts=crtbegin.o |
fa958513 DJ |
690 | ;; |
691 | i[34567]86-*-rtems*) | |
21184026 | 692 | tmake_file="$tmake_file i386/t-crtstuff t-softfp-sfdftf i386/32/t-softfp i386/t-softfp t-softfp" |
5f73c6cc | 693 | extra_parts="$extra_parts crti.o crtn.o" |
fa958513 | 694 | ;; |
fbdd5d87 | 695 | i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*) |
9cbc07cc | 696 | tmake_file="$tmake_file i386/t-crtpc t-crtfm i386/t-msabi" |
b3fe1584 | 697 | extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o" |
f962fbf1 | 698 | tm_file="${tm_file} i386/elf-lib.h" |
58cd1d70 | 699 | md_unwind_header=i386/sol2-unwind.h |
fa958513 | 700 | ;; |
50567938 | 701 | i[4567]86-wrs-vxworks|i[4567]86-wrs-vxworksae|i[4567]86-wrs-vxworks7|x86_64-wrs-vxworks7) |
fa958513 | 702 | ;; |
58cd1d70 | 703 | i[34567]86-*-cygwin*) |
25efdb9f | 704 | extra_parts="crtbegin.o crtbeginS.o crtend.o crtfastmath.o" |
f7f049fa CT |
705 | if test x$enable_vtable_verify = xyes; then |
706 | extra_parts="$extra_parts vtv_start.o vtv_end.o vtv_start_preinit.o vtv_end_preinit.o" | |
707 | fi | |
b040f2be | 708 | # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h |
9b92a9f3 | 709 | if test x$ac_cv_sjlj_exceptions = xyes; then |
b040f2be RO |
710 | tmake_eh_file="i386/t-sjlj-eh" |
711 | else | |
712 | tmake_eh_file="i386/t-dw2-eh" | |
713 | fi | |
714 | # Shared libgcc DLL install dir depends on cross/native build. | |
715 | if test x${build} = x${host} ; then | |
716 | tmake_dlldir_file="i386/t-dlldir" | |
717 | else | |
718 | tmake_dlldir_file="i386/t-dlldir-x" | |
719 | fi | |
9b789cc1 | 720 | tmake_file="${tmake_file} ${tmake_eh_file} ${tmake_dlldir_file} i386/t-slibgcc-cygming i386/t-cygming i386/t-cygwin t-crtfm i386/t-chkstk t-dfprules" |
9bd196f0 | 721 | ;; |
e9fd8c19 | 722 | x86_64-*-cygwin*) |
25efdb9f | 723 | extra_parts="crtbegin.o crtbeginS.o crtend.o crtfastmath.o" |
f7f049fa CT |
724 | if test x$enable_vtable_verify = xyes; then |
725 | extra_parts="$extra_parts vtv_start.o vtv_end.o vtv_start_preinit.o vtv_end_preinit.o" | |
726 | fi | |
e9fd8c19 | 727 | # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h |
9b92a9f3 | 728 | if test x$ac_cv_sjlj_exceptions = xyes; then |
e9fd8c19 | 729 | tmake_eh_file="i386/t-sjlj-eh" |
6befaff6 SL |
730 | elif test "${host_address}" = 32; then |
731 | # biarch -m32 with --disable-sjlj-exceptions | |
732 | tmake_eh_file="i386/t-dw2-eh" | |
e9fd8c19 KT |
733 | else |
734 | tmake_eh_file="i386/t-seh-eh" | |
735 | fi | |
736 | # Shared libgcc DLL install dir depends on cross/native build. | |
737 | if test x${build} = x${host} ; then | |
738 | tmake_dlldir_file="i386/t-dlldir" | |
739 | else | |
740 | tmake_dlldir_file="i386/t-dlldir-x" | |
741 | fi | |
742 | # FIXME - dj - t-chkstk used to be in here, need a 64-bit version of that | |
9b789cc1 | 743 | tmake_file="${tmake_file} ${tmake_eh_file} ${tmake_dlldir_file} i386/t-slibgcc-cygming i386/t-cygming i386/t-cygwin t-crtfm t-dfprules i386/t-chkstk" |
e9fd8c19 | 744 | ;; |
58cd1d70 RO |
745 | i[34567]86-*-mingw*) |
746 | extra_parts="crtbegin.o crtend.o crtfastmath.o" | |
f7f049fa CT |
747 | if test x$enable_vtable_verify = xyes; then |
748 | extra_parts="$extra_parts vtv_start.o vtv_end.o vtv_start_preinit.o vtv_end_preinit.o" | |
749 | fi | |
f9989b51 RO |
750 | case ${target_thread_file} in |
751 | win32) | |
752 | tmake_file="$tmake_file i386/t-gthr-win32" | |
753 | ;; | |
e3d871e4 RO |
754 | posix) |
755 | tmake_file="i386/t-mingw-pthread $tmake_file" | |
756 | ;; | |
f9989b51 | 757 | esac |
b040f2be | 758 | # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h |
9b92a9f3 | 759 | if test x$ac_cv_sjlj_exceptions = xyes; then |
b040f2be RO |
760 | tmake_eh_file="i386/t-sjlj-eh" |
761 | else | |
762 | tmake_eh_file="i386/t-dw2-eh" | |
0c0c6398 | 763 | md_unwind_header=i386/w32-unwind.h |
b040f2be RO |
764 | fi |
765 | # Shared libgcc DLL install dir depends on cross/native build. | |
766 | if test x${build} = x${host} ; then | |
767 | tmake_dlldir_file="i386/t-dlldir" | |
768 | else | |
769 | tmake_dlldir_file="i386/t-dlldir-x" | |
770 | fi | |
9b789cc1 | 771 | tmake_file="${tmake_file} ${tmake_eh_file} ${tmake_dlldir_file} i386/t-slibgcc-cygming i386/t-cygming i386/t-mingw32 t-crtfm i386/t-chkstk t-dfprules" |
58cd1d70 | 772 | ;; |
9bd196f0 | 773 | x86_64-*-mingw*) |
f9989b51 RO |
774 | case ${target_thread_file} in |
775 | win32) | |
776 | tmake_file="$tmake_file i386/t-gthr-win32" | |
777 | ;; | |
e3d871e4 RO |
778 | posix) |
779 | tmake_file="i386/t-mingw-pthread $tmake_file" | |
780 | ;; | |
f9989b51 | 781 | esac |
b040f2be | 782 | # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h |
9b92a9f3 | 783 | if test x$ac_cv_sjlj_exceptions = xyes; then |
b040f2be | 784 | tmake_eh_file="i386/t-sjlj-eh" |
6befaff6 SL |
785 | elif test "${host_address}" = 32; then |
786 | # biarch -m32 with --disable-sjlj-exceptions | |
787 | tmake_eh_file="i386/t-dw2-eh" | |
788 | md_unwind_header=i386/w32-unwind.h | |
b040f2be | 789 | else |
bf1431e3 | 790 | tmake_eh_file="i386/t-seh-eh" |
b040f2be RO |
791 | fi |
792 | # Shared libgcc DLL install dir depends on cross/native build. | |
793 | if test x${build} = x${host} ; then | |
794 | tmake_dlldir_file="i386/t-dlldir" | |
795 | else | |
796 | tmake_dlldir_file="i386/t-dlldir-x" | |
797 | fi | |
9b789cc1 | 798 | tmake_file="${tmake_file} ${tmake_eh_file} ${tmake_dlldir_file} i386/t-slibgcc-cygming i386/t-cygming i386/t-mingw32 t-dfprules t-crtfm i386/t-chkstk" |
580d22a3 | 799 | extra_parts="$extra_parts crtbegin.o crtend.o crtfastmath.o" |
f7f049fa CT |
800 | if test x$enable_vtable_verify = xyes; then |
801 | extra_parts="$extra_parts vtv_start.o vtv_end.o vtv_start_preinit.o vtv_end_preinit.o" | |
802 | fi | |
fa958513 | 803 | ;; |
fa958513 | 804 | ia64*-*-elf*) |
5f73c6cc | 805 | extra_parts="$extra_parts crtbeginS.o crtendS.o crtfastmath.o" |
73f01cca | 806 | tmake_file="ia64/t-ia64 ia64/t-ia64-elf ia64/t-eh-ia64 t-crtfm t-softfp-tf ia64/t-softfp t-softfp ia64/t-softfp-compat" |
fa958513 DJ |
807 | ;; |
808 | ia64*-*-freebsd*) | |
5f73c6cc | 809 | extra_parts="$extra_parts crtfastmath.o" |
73f01cca | 810 | tmake_file="$tmake_file ia64/t-ia64 ia64/t-ia64-elf ia64/t-eh-ia64 t-crtfm t-softfp-tf ia64/t-softfp t-softfp ia64/t-softfp-compat" |
fa958513 DJ |
811 | ;; |
812 | ia64*-*-linux*) | |
5f73c6cc | 813 | # Don't use crtbeginT.o from *-*-linux* default. |
fa958513 | 814 | extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o" |
1ab3568b | 815 | tmake_file="$tmake_file ia64/t-ia64 ia64/t-ia64-elf t-crtfm t-softfp-tf ia64/t-softfp t-softfp ia64/t-softfp-compat ia64/t-eh-ia64 t-libunwind ia64/t-linux" |
201cdb74 | 816 | if test x$with_system_libunwind != xyes ; then |
b040f2be | 817 | tmake_file="${tmake_file} t-libunwind-elf ia64/t-linux-libunwind" |
201cdb74 | 818 | fi |
58cd1d70 | 819 | md_unwind_header=ia64/linux-unwind.h |
fa958513 DJ |
820 | ;; |
821 | ia64*-*-hpux*) | |
1ab3568b | 822 | tmake_file="ia64/t-ia64 ia64/t-ia64-elf ia64/t-hpux t-slibgcc ia64/t-slibgcc-hpux t-slibgcc-hpux" |
fa958513 | 823 | ;; |
a9a25daa | 824 | ia64-hp-*vms*) |
73f01cca | 825 | tmake_file="$tmake_file ia64/t-ia64 ia64/t-eh-ia64 ia64/t-vms t-slibgcc-vms t-softfp-tf ia64/t-softfp t-softfp" |
5f73c6cc | 826 | extra_parts="$extra_parts crtinitS.o" |
58cd1d70 | 827 | md_unwind_header=ia64/vms-unwind.h |
a9a25daa | 828 | ;; |
fa958513 | 829 | iq2000*-*-elf*) |
d4b4b542 | 830 | tmake_file="iq2000/t-iq2000 t-fdpbit" |
5f73c6cc RO |
831 | # Don't use default. |
832 | extra_parts= | |
fa958513 | 833 | ;; |
c9cd1a07 | 834 | lm32-*-elf*) |
5f73c6cc | 835 | extra_parts="$extra_parts crti.o crtn.o" |
aca0b0b3 | 836 | tmake_file="lm32/t-lm32 lm32/t-elf t-softfp-sfdf t-softfp" |
aa4945c1 | 837 | ;; |
c9cd1a07 RO |
838 | lm32-*-rtems*) |
839 | tmake_file="$tmake_file lm32/t-lm32 lm32/t-elf t-softfp-sfdf t-softfp" | |
840 | extra_parts="$extra_parts crti.o crtn.o" | |
841 | ;; | |
aa4945c1 | 842 | lm32-*-uclinux*) |
5f73c6cc | 843 | extra_parts="$extra_parts crtbegin.o crtendS.o crtbeginT.o" |
f9989b51 | 844 | tmake_file="lm32/t-lm32 lm32/t-uclinux t-libgcc-pic t-softfp-sfdf t-softfp" |
aa4945c1 | 845 | ;; |
5f73c6cc | 846 | m32r-*-elf*) |
985a47b2 NC |
847 | tmake_file="$tmake_file m32r/t-m32r t-fdpbit" |
848 | extra_parts="$extra_parts crtinit.o crtfini.o" | |
fa958513 DJ |
849 | ;; |
850 | m32rle-*-elf*) | |
569dc494 | 851 | tmake_file=t-fdpbit |
fa958513 DJ |
852 | ;; |
853 | m32r-*-linux*) | |
5f73c6cc | 854 | tmake_file="$tmake_file m32r/t-linux t-fdpbit" |
fa958513 DJ |
855 | ;; |
856 | m32rle-*-linux*) | |
5f73c6cc | 857 | tmake_file="$tmake_file m32r/t-linux t-fdpbit" |
fa958513 | 858 | ;; |
45b86625 RO |
859 | m68k-*-elf* | fido-*-elf) |
860 | tmake_file="$tmake_file m68k/t-floatlib" | |
fa958513 | 861 | ;; |
cd985f66 | 862 | m68k*-*-netbsdelf*) |
fa958513 DJ |
863 | ;; |
864 | m68k*-*-openbsd*) | |
865 | ;; | |
8b281334 RH |
866 | m68k-*-uclinux*) # Motorola m68k/ColdFire running uClinux with uClibc |
867 | tmake_file="$tmake_file m68k/t-floatlib m68k/t-linux" | |
58cd1d70 | 868 | md_unwind_header=m68k/linux-unwind.h |
fa958513 | 869 | ;; |
58cd1d70 | 870 | m68k-*-linux*) # Motorola m68k's running GNU/Linux |
fa958513 DJ |
871 | # with ELF format using glibc 2 |
872 | # aka the GNU/Linux C library 6. | |
8b281334 | 873 | tmake_file="$tmake_file m68k/t-floatlib m68k/t-linux" |
9b92a9f3 | 874 | # If not configured with setjmp/longjmp exceptions, bump the |
b040f2be | 875 | # libgcc version number. |
9b92a9f3 | 876 | if test x$ac_cv_sjlj_exceptions != xyes; then |
b040f2be RO |
877 | tmake_file="$tmake_file m68k/t-slibgcc-elf-ver" |
878 | fi | |
58cd1d70 | 879 | md_unwind_header=m68k/linux-unwind.h |
fa958513 DJ |
880 | ;; |
881 | m68k-*-rtems*) | |
45b86625 | 882 | tmake_file="$tmake_file m68k/t-floatlib" |
5f73c6cc | 883 | extra_parts="$extra_parts crti.o crtn.o" |
fa958513 DJ |
884 | ;; |
885 | mcore-*-elf) | |
45b86625 | 886 | tmake_file="mcore/t-mcore t-fdpbit" |
5f73c6cc | 887 | extra_parts="$extra_parts crti.o crtn.o" |
fa958513 | 888 | ;; |
b040f2be | 889 | microblaze*-linux*) |
fbf0cf90 | 890 | tmake_file="${tmake_file} microblaze/t-microblaze t-fdpbit t-slibgcc-libgcc" |
b040f2be | 891 | ;; |
6f14eef2 EI |
892 | microblaze*-*-elf) |
893 | tmake_file="${tmake_file} microblaze/t-microblaze t-fdpbit" | |
894 | extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o crti.o crtn.o" | |
80920132 | 895 | ;; |
3fa2ccb4 RC |
896 | microblaze*-*-rtems*) |
897 | tmake_file="${tmake_file} microblaze/t-microblaze t-fdpbit" | |
898 | extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o crti.o crtn.o" | |
899 | ;; | |
fa958513 DJ |
900 | mips*-*-netbsd*) # NetBSD/mips, either endian. |
901 | ;; | |
fa958513 | 902 | mips*-*-linux*) # Linux MIPS, either endian. |
48b09a92 | 903 | extra_parts="$extra_parts crtfastmath.o" |
107eea2c | 904 | tmake_file="${tmake_file} t-crtfm" |
107eea2c | 905 | case ${host} in |
0f9bde1f MR |
906 | mips64r5900* | mipsr5900*) |
907 | # The MIPS16 support code uses floating point | |
908 | # instructions that are not supported on r5900. | |
909 | ;; | |
910 | *) | |
911 | tmake_file="${tmake_file} mips/t-mips16 t-slibgcc-libgcc" | |
912 | ;; | |
107eea2c | 913 | esac |
58cd1d70 | 914 | md_unwind_header=mips/linux-unwind.h |
fa958513 | 915 | ;; |
569dc494 | 916 | mips*-sde-elf*) |
eb028768 | 917 | tmake_file="$tmake_file mips/t-crtstuff mips/t-mips16" |
569dc494 RO |
918 | case "${with_newlib}" in |
919 | yes) | |
920 | # newlib / libgloss. | |
921 | ;; | |
922 | *) | |
923 | # MIPS toolkit libraries. | |
5f73c6cc | 924 | tmake_file="$tmake_file mips/t-sdemtk" |
569dc494 RO |
925 | ;; |
926 | esac | |
5f73c6cc | 927 | extra_parts="$extra_parts crti.o crtn.o" |
569dc494 | 928 | ;; |
c6412d86 RO |
929 | mipsisa32-*-elf* | mipsisa32el-*-elf* | \ |
930 | mipsisa32r2-*-elf* | mipsisa32r2el-*-elf* | \ | |
82f84ecb | 931 | mipsisa32r6-*-elf* | mipsisa32r6el-*-elf* | \ |
c6412d86 | 932 | mipsisa64-*-elf* | mipsisa64el-*-elf* | \ |
82f84ecb MF |
933 | mipsisa64r2-*-elf* | mipsisa64r2el-*-elf* | \ |
934 | mipsisa64r6-*-elf* | mipsisa64r6el-*-elf*) | |
f9989b51 | 935 | tmake_file="$tmake_file mips/t-elf mips/t-crtstuff mips/t-mips16" |
5f73c6cc | 936 | extra_parts="$extra_parts crti.o crtn.o" |
0a4a51c7 | 937 | ;; |
fa958513 | 938 | mipsisa64sr71k-*-elf*) |
eb028768 | 939 | tmake_file="$tmake_file mips/t-elf mips/t-crtstuff t-fdpbit" |
5f73c6cc | 940 | extra_parts="$extra_parts crti.o crtn.o" |
fa958513 DJ |
941 | ;; |
942 | mipsisa64sb1-*-elf* | mipsisa64sb1el-*-elf*) | |
f9989b51 | 943 | tmake_file="$tmake_file mips/t-elf mips/t-crtstuff mips/t-mips16" |
5f73c6cc | 944 | extra_parts="$extra_parts crti.o crtn.o" |
fa958513 DJ |
945 | ;; |
946 | mips-*-elf* | mipsel-*-elf*) | |
f9989b51 | 947 | tmake_file="$tmake_file mips/t-elf mips/t-crtstuff mips/t-mips16" |
5f73c6cc | 948 | extra_parts="$extra_parts crti.o crtn.o" |
fa958513 | 949 | ;; |
107eea2c JU |
950 | mipsr5900-*-elf* | mipsr5900el-*-elf*) |
951 | tmake_file="$tmake_file mips/t-elf mips/t-crtstuff" | |
952 | extra_parts="$extra_parts crti.o crtn.o" | |
953 | ;; | |
fa958513 | 954 | mips64-*-elf* | mips64el-*-elf*) |
f9989b51 | 955 | tmake_file="$tmake_file mips/t-elf mips/t-crtstuff mips/t-mips16" |
5f73c6cc | 956 | extra_parts="$extra_parts crti.o crtn.o" |
fa958513 | 957 | ;; |
107eea2c JU |
958 | mips64r5900-*-elf* | mips64r5900el-*-elf*) |
959 | tmake_file="$tmake_file mips/t-elf mips/t-crtstuff" | |
960 | extra_parts="$extra_parts crti.o crtn.o" | |
961 | ;; | |
fa958513 | 962 | mips64vr-*-elf* | mips64vrel-*-elf*) |
f9989b51 | 963 | tmake_file="$tmake_file mips/t-elf mips/t-vr mips/t-crtstuff" |
5f73c6cc | 964 | extra_parts="$extra_parts crti.o crtn.o" |
fa958513 DJ |
965 | ;; |
966 | mips64orion-*-elf* | mips64orionel-*-elf*) | |
f9989b51 | 967 | tmake_file="$tmake_file mips/t-elf mips/t-crtstuff mips/t-mips16" |
5f73c6cc | 968 | extra_parts="$extra_parts crti.o crtn.o" |
fa958513 DJ |
969 | ;; |
970 | mips*-*-rtems*) | |
f9989b51 | 971 | tmake_file="$tmake_file mips/t-elf mips/t-crtstuff mips/t-mips16" |
5f73c6cc | 972 | extra_parts="$extra_parts crti.o crtn.o" |
fa958513 DJ |
973 | ;; |
974 | mips-wrs-vxworks) | |
975 | ;; | |
fa958513 | 976 | mipstx39-*-elf* | mipstx39el-*-elf*) |
5f73c6cc | 977 | tmake_file="$tmake_file mips/t-crtstuff mips/t-mips16" |
fa958513 DJ |
978 | ;; |
979 | mmix-knuth-mmixware) | |
e7c914db HPN |
980 | extra_parts="crti.o crtn.o crtbegin.o crtend.o" |
981 | tmake_file="${tmake_file} ${cpu_type}/t-${cpu_type}" | |
fa958513 DJ |
982 | ;; |
983 | mn10300-*-*) | |
569dc494 | 984 | tmake_file=t-fdpbit |
fa958513 | 985 | ;; |
ad251dfd | 986 | moxie-*-elf | moxie-*-moxiebox* | moxie-*-uclinux* | moxie-*-rtems*) |
c9cd1a07 | 987 | tmake_file="$tmake_file moxie/t-moxie t-softfp-sfdf t-softfp-excl t-softfp" |
ad251dfd | 988 | extra_parts="$extra_parts crti.o crtn.o crtbegin.o crtend.o" |
cceb575c | 989 | ;; |
f6a83b4a DD |
990 | msp430*-*-elf) |
991 | tmake_file="$tm_file t-crtstuff t-fdpbit msp430/t-msp430" | |
04a9ae28 | 992 | extra_parts="$extra_parts libmul_none.a libmul_16.a libmul_32.a libmul_f5.a" |
f6a83b4a | 993 | ;; |
cf3cd43d CJW |
994 | nds32*-linux*) |
995 | # Basic makefile fragment and extra_parts for crt stuff. | |
996 | # We also append c-isr library implementation. | |
997 | tmake_file="${tmake_file} t-slibgcc-libgcc" | |
998 | tmake_file="${tmake_file} nds32/t-nds32-glibc nds32/t-crtstuff t-softfp-sfdf t-softfp" | |
999 | # The header file of defining MD_FALLBACK_FRAME_STATE_FOR. | |
1000 | md_unwind_header=nds32/linux-unwind.h | |
1001 | # Append library definition makefile fragment according to --with-nds32-lib=X setting. | |
1002 | case "${with_nds32_lib}" in | |
1003 | "" | glibc | uclibc ) | |
1004 | ;; | |
1005 | *) | |
1006 | echo "Cannot accept --with-nds32-lib=$with_nds32_lib, available values are: glibc uclibc" 1>&2 | |
1007 | exit 1 | |
1008 | ;; | |
1009 | esac | |
1010 | ;; | |
9304f876 CJW |
1011 | nds32*-elf*) |
1012 | # Basic makefile fragment and extra_parts for crt stuff. | |
1013 | # We also append c-isr library implementation. | |
1014 | tmake_file="${tmake_file} nds32/t-nds32 nds32/t-nds32-isr" | |
1015 | extra_parts="crtbegin1.o crtend1.o libnds32_isr.a" | |
1016 | # Append library definition makefile fragment according to --with-nds32-lib=X setting. | |
1017 | case "${with_nds32_lib}" in | |
1018 | "" | newlib) | |
1019 | # Append library definition makefile fragment t-nds32-newlib. | |
1020 | # Append 'soft-fp' software floating point make rule fragment provided by gcc. | |
1021 | tmake_file="${tmake_file} nds32/t-nds32-newlib t-softfp-sfdf t-softfp" | |
1022 | ;; | |
1023 | mculib) | |
1024 | # Append library definition makefile fragment t-nds32-mculib. | |
1025 | # The software floating point library is included in mculib. | |
1026 | tmake_file="${tmake_file} nds32/t-nds32-mculib" | |
1027 | ;; | |
1028 | *) | |
1029 | echo "Cannot accept --with-nds32-lib=$with_nds32_lib, available values are: newlib mculib" 1>&2 | |
1030 | exit 1 | |
1031 | ;; | |
1032 | esac | |
1033 | ;; | |
e430824f CLT |
1034 | nios2-*-linux*) |
1035 | tmake_file="$tmake_file nios2/t-nios2 nios2/t-linux t-libgcc-pic t-slibgcc-libgcc" | |
e430824f CLT |
1036 | md_unwind_header=nios2/linux-unwind.h |
1037 | ;; | |
1038 | nios2-*-*) | |
1039 | tmake_file="$tmake_file nios2/t-nios2 t-softfp-sfdf t-softfp-excl t-softfp" | |
1040 | extra_parts="$extra_parts crti.o crtn.o" | |
1041 | ;; | |
fa958513 | 1042 | pdp11-*-*) |
f9989b51 | 1043 | tmake_file="pdp11/t-pdp11 t-fdpbit" |
fa958513 | 1044 | ;; |
fa958513 | 1045 | powerpc-*-darwin*) |
58cd1d70 RO |
1046 | case ${host} in |
1047 | *-*-darwin9* | *-*-darwin[12][0-9]*) | |
1048 | # libSystem contains unwind information for signal frames since | |
1049 | # Darwin 9. | |
1050 | ;; | |
1051 | *) | |
1052 | md_unwind_header=rs6000/darwin-unwind.h | |
1053 | ;; | |
1054 | esac | |
aca0b0b3 | 1055 | tmake_file="$tmake_file rs6000/t-ibm-ldouble" |
e141542e | 1056 | extra_parts="$extra_parts crt2.o" |
fa958513 DJ |
1057 | ;; |
1058 | powerpc64-*-darwin*) | |
f9989b51 | 1059 | tmake_file="$tmake_file rs6000/t-darwin64 rs6000/t-ibm-ldouble" |
e141542e | 1060 | extra_parts="$extra_parts crt2.o" |
fa958513 | 1061 | ;; |
d82ad50d AT |
1062 | powerpc*-*-freebsd*) |
1063 | tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff rs6000/t-freebsd t-softfp-sfdf t-softfp-excl t-softfp" | |
5f73c6cc | 1064 | extra_parts="$extra_parts crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" |
d82ad50d AT |
1065 | case ${host} in |
1066 | powerpc64*) | |
1067 | tmake_file="${tmake_file} rs6000/t-freebsd64" | |
1068 | md_unwind_header=rs6000/freebsd-unwind.h | |
1069 | ;; | |
1070 | esac | |
fa958513 DJ |
1071 | ;; |
1072 | powerpc-*-netbsd*) | |
d4b4b542 | 1073 | tmake_file="$tmake_file rs6000/t-netbsd rs6000/t-crtstuff" |
fa958513 | 1074 | ;; |
fa958513 | 1075 | powerpc-*-eabispe*) |
7da38058 | 1076 | tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" |
5f73c6cc | 1077 | extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" |
fa958513 DJ |
1078 | ;; |
1079 | powerpc-*-eabisimaltivec*) | |
f9c55897 | 1080 | tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" |
5f73c6cc | 1081 | extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" |
fa958513 DJ |
1082 | ;; |
1083 | powerpc-*-eabisim*) | |
f9c55897 | 1084 | tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" |
5f73c6cc | 1085 | extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" |
fa958513 DJ |
1086 | ;; |
1087 | powerpc-*-elf*) | |
49dcafd4 | 1088 | tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" |
5f73c6cc | 1089 | extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" |
fa958513 DJ |
1090 | ;; |
1091 | powerpc-*-eabialtivec*) | |
f9c55897 | 1092 | tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" |
5f73c6cc | 1093 | extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" |
569dc494 RO |
1094 | ;; |
1095 | powerpc-xilinx-eabi*) | |
f9c55897 | 1096 | tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" |
5f73c6cc | 1097 | extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" |
fa958513 DJ |
1098 | ;; |
1099 | powerpc-*-eabi*) | |
f9c55897 | 1100 | tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" |
5f73c6cc | 1101 | extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" |
fa958513 DJ |
1102 | ;; |
1103 | powerpc-*-rtems*) | |
6f288860 | 1104 | tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" |
5f73c6cc | 1105 | extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" |
fa958513 | 1106 | ;; |
b9a7eb5d | 1107 | powerpc*-*-linux*) |
693b297b | 1108 | tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff rs6000/t-linux t-dfprules rs6000/t-ppc64-fp t-slibgcc-libgcc" |
0f0fd745 | 1109 | tmake_file="${tmake_file} t-stack rs6000/t-stack-rs6000" |
d80c2bea JM |
1110 | case $ppc_fp_type in |
1111 | 64) | |
1112 | ;; | |
1113 | hard) | |
1114 | tmake_file="${tmake_file} t-hardfp-sfdf t-hardfp" | |
1115 | ;; | |
1116 | soft) | |
e610393c | 1117 | tmake_file="${tmake_file} t-softfp-sfdf ${ppc_fp_compat} t-softfp" |
d80c2bea | 1118 | ;; |
bc1b3a88 | 1119 | e500v1) |
e610393c | 1120 | tmake_file="${tmake_file} rs6000/t-e500v1-fp ${ppc_fp_compat} t-softfp t-hardfp" |
bc1b3a88 JM |
1121 | ;; |
1122 | e500v2) | |
e610393c | 1123 | tmake_file="${tmake_file} t-hardfp-sfdf rs6000/t-e500v2-fp ${ppc_fp_compat} t-softfp t-hardfp" |
d80c2bea JM |
1124 | ;; |
1125 | *) | |
1126 | echo "Unknown ppc_fp_type $ppc_fp_type" 1>&2 | |
1127 | exit 1 | |
1128 | ;; | |
1129 | esac | |
a71c0334 MM |
1130 | |
1131 | if test $libgcc_cv_powerpc_float128 = yes; then | |
1132 | tmake_file="${tmake_file} rs6000/t-float128" | |
1133 | fi | |
1134 | ||
1135 | if test $libgcc_cv_powerpc_float128_hw = yes; then | |
1136 | tmake_file="${tmake_file} rs6000/t-float128-hw" | |
1137 | fi | |
1138 | ||
5f73c6cc | 1139 | extra_parts="$extra_parts ecrti.o ecrtn.o ncrti.o ncrtn.o" |
58cd1d70 | 1140 | md_unwind_header=rs6000/linux-unwind.h |
fa958513 | 1141 | ;; |
611e7036 | 1142 | powerpc-wrs-vxworks*) |
49dcafd4 | 1143 | tmake_file="$tmake_file rs6000/t-ppccomm rs6000/t-savresfgpr t-fdpbit" |
9a5b8df7 | 1144 | extra_parts="$extra_parts crtbegin.o crtend.o" |
fa958513 | 1145 | ;; |
fa958513 | 1146 | powerpc-*-lynxos*) |
d4b4b542 | 1147 | tmake_file="$tmake_file rs6000/t-lynx t-fdpbit" |
fa958513 | 1148 | ;; |
fa958513 | 1149 | powerpcle-*-elf*) |
f9c55897 | 1150 | tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" |
5f73c6cc | 1151 | extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" |
fa958513 DJ |
1152 | ;; |
1153 | powerpcle-*-eabisim*) | |
f9c55897 | 1154 | tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" |
5f73c6cc | 1155 | extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" |
fa958513 DJ |
1156 | ;; |
1157 | powerpcle-*-eabi*) | |
f9c55897 | 1158 | tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" |
5f73c6cc | 1159 | extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" |
fa958513 | 1160 | ;; |
0bd99911 PD |
1161 | riscv*-*-linux*) |
1162 | tmake_file="${tmake_file} riscv/t-softfp${host_address} t-softfp riscv/t-elf riscv/t-elf${host_address}" | |
1163 | extra_parts="$extra_parts crtbegin.o crtend.o crti.o crtn.o crtendS.o crtbeginT.o" | |
1164 | md_unwind_header=riscv/linux-unwind.h | |
1165 | ;; | |
4d47fe5a RB |
1166 | riscv*-*-freebsd*) |
1167 | tmake_file="${tmake_file} riscv/t-softfp${host_address} t-softfp riscv/t-elf riscv/t-elf${host_address}" | |
1168 | extra_parts="$extra_parts crtbegin.o crtend.o crti.o crtn.o crtendS.o crtbeginT.o" | |
1169 | ;; | |
0bd99911 PD |
1170 | riscv*-*-*) |
1171 | tmake_file="${tmake_file} riscv/t-softfp${host_address} t-softfp riscv/t-elf riscv/t-elf${host_address}" | |
1172 | extra_parts="$extra_parts crtbegin.o crtend.o crti.o crtn.o" | |
1173 | ;; | |
fa958513 | 1174 | rs6000-ibm-aix4.[3456789]* | powerpc-ibm-aix4.[3456789]*) |
201cdb74 | 1175 | md_unwind_header=rs6000/aix-unwind.h |
138f5acd | 1176 | tmake_file="t-fdpbit rs6000/t-ppc64-fp rs6000/t-slibgcc-aix rs6000/t-ibm-ldouble" |
fa958513 DJ |
1177 | ;; |
1178 | rs6000-ibm-aix5.1.* | powerpc-ibm-aix5.1.*) | |
201cdb74 | 1179 | md_unwind_header=rs6000/aix-unwind.h |
138f5acd | 1180 | tmake_file="t-fdpbit rs6000/t-ppc64-fp rs6000/t-slibgcc-aix rs6000/t-ibm-ldouble" |
fa958513 DJ |
1181 | ;; |
1182 | rs6000-ibm-aix[56789].* | powerpc-ibm-aix[56789].*) | |
201cdb74 | 1183 | md_unwind_header=rs6000/aix-unwind.h |
99113dff | 1184 | tmake_file="t-fdpbit rs6000/t-ppc64-fp rs6000/t-slibgcc-aix rs6000/t-ibm-ldouble rs6000/t-aix-cxa" |
04218b35 | 1185 | extra_parts="crtcxa.o crtcxa_s.o crtdbase.o" |
fa958513 | 1186 | ;; |
85b8555e DD |
1187 | rl78-*-elf) |
1188 | tmake_file="$tm_file t-fdpbit rl78/t-rl78" | |
1189 | ;; | |
65a324b4 | 1190 | rx-*-elf) |
569dc494 | 1191 | tmake_file="rx/t-rx t-fdpbit" |
852b75ed | 1192 | tm_file="$tm_file rx/rx-abi.h rx/rx-lib.h" |
65a324b4 | 1193 | ;; |
fa958513 | 1194 | s390-*-linux*) |
4cb4721f | 1195 | tmake_file="${tmake_file} s390/t-crtstuff s390/t-linux s390/32/t-floattodi t-stack s390/t-stack-s390" |
58cd1d70 | 1196 | md_unwind_header=s390/linux-unwind.h |
fa958513 DJ |
1197 | ;; |
1198 | s390x-*-linux*) | |
4cb4721f | 1199 | tmake_file="${tmake_file} s390/t-crtstuff s390/t-linux t-stack s390/t-stack-s390" |
59976ef8 AK |
1200 | if test "${host_address}" = 32; then |
1201 | tmake_file="${tmake_file} s390/32/t-floattodi" | |
1202 | fi | |
58cd1d70 | 1203 | md_unwind_header=s390/linux-unwind.h |
fa958513 DJ |
1204 | ;; |
1205 | s390x-ibm-tpf*) | |
f9989b51 | 1206 | tmake_file="${tmake_file} s390/t-crtstuff t-libgcc-pic t-eh-dw2-dip" |
5f73c6cc | 1207 | extra_parts="crtbeginS.o crtendS.o" |
10c4cabc | 1208 | md_unwind_header=s390/tpf-unwind.h |
fa958513 | 1209 | ;; |
5f73c6cc RO |
1210 | sh-*-elf* | sh[12346l]*-*-elf*) |
1211 | tmake_file="$tmake_file sh/t-sh t-crtstuff-pic t-fdpbit" | |
1212 | extra_parts="$extra_parts crt1.o crti.o crtn.o crtbeginS.o crtendS.o \ | |
1213 | libic_invalidate_array_4-100.a \ | |
1214 | libic_invalidate_array_4-200.a \ | |
1215 | libic_invalidate_array_4a.a \ | |
1216 | libgcc-Os-4-200.a libgcc-4-300.a" | |
26900826 | 1217 | case ${host} in |
5f73c6cc RO |
1218 | sh*-superh-elf) |
1219 | tmake_file="$tmake_file sh/t-superh" | |
1220 | extra_parts="$extra_parts crt1-mmu.o gcrt1-mmu.o gcrt1.o" | |
1221 | ;; | |
1222 | esac | |
1223 | ;; | |
1224 | sh-*-linux* | sh[2346lbe]*-*-linux*) | |
45b86625 | 1225 | tmake_file="${tmake_file} sh/t-sh t-slibgcc-libgcc sh/t-linux t-fdpbit" |
5f73c6cc RO |
1226 | md_unwind_header=sh/linux-unwind.h |
1227 | ;; | |
bc6d9014 | 1228 | sh-*-netbsdelf* | shl*-*-netbsdelf*) |
45b86625 | 1229 | tmake_file="$tmake_file sh/t-sh sh/t-netbsd" |
bc6d9014 | 1230 | |
5f73c6cc RO |
1231 | # NetBSD's C library includes a fast software FP library that |
1232 | # has support for setting/setting the rounding mode, exception | |
1233 | # mask, etc. Therefore, we don't want to include software FP | |
1234 | # in libgcc. | |
fa958513 | 1235 | ;; |
fa958513 | 1236 | sh-*-rtems*) |
45b86625 | 1237 | tmake_file="$tmake_file sh/t-sh t-crtstuff-pic t-fdpbit" |
5f73c6cc | 1238 | extra_parts="$extra_parts crt1.o crti.o crtn.o crtbeginS.o crtendS.o \ |
76c78361 RC |
1239 | libic_invalidate_array_4-100.a \ |
1240 | libic_invalidate_array_4-200.a \ | |
1241 | libic_invalidate_array_4a.a \ | |
1242 | libgcc-Os-4-200.a libgcc-4-300.a" | |
fa958513 DJ |
1243 | ;; |
1244 | sh-wrs-vxworks) | |
45b86625 | 1245 | tmake_file="$tmake_file sh/t-sh t-crtstuff-pic t-fdpbit" |
fa958513 | 1246 | ;; |
fa958513 DJ |
1247 | sparc-*-netbsdelf*) |
1248 | ;; | |
1249 | sparc64-*-openbsd*) | |
1250 | ;; | |
1251 | sparc-*-elf*) | |
ca24c5ad RO |
1252 | case ${host} in |
1253 | *-leon[3-9]*) | |
1254 | ;; | |
1255 | *) | |
1256 | tmake_file="sparc/t-softmul" | |
1257 | ;; | |
1258 | esac | |
5f73c6cc RO |
1259 | tmake_file="${tmake_file} t-fdpbit t-crtfm" |
1260 | extra_parts="$extra_parts crti.o crtn.o crtfastmath.o" | |
fa958513 DJ |
1261 | ;; |
1262 | sparc-*-linux*) # SPARC's running GNU/Linux, libc6 | |
d2a7d041 DM |
1263 | tmake_file="${tmake_file} t-crtfm" |
1264 | if test "${host_address}" = 64; then | |
1265 | tmake_file="$tmake_file sparc/t-linux64" | |
1266 | fi | |
569dc494 RO |
1267 | case ${host} in |
1268 | *-leon*) | |
b040f2be RO |
1269 | tmake_file="${tmake_file} t-fdpbit" |
1270 | ;; | |
1271 | *) | |
1272 | tmake_file="${tmake_file} sparc/t-linux" | |
569dc494 RO |
1273 | ;; |
1274 | esac | |
45b86625 RO |
1275 | case ${host} in |
1276 | *-leon[3-9]*) | |
1277 | ;; | |
1278 | *) | |
d2a7d041 DM |
1279 | if test "${host_address}" = 32; then |
1280 | tmake_file="$tmake_file sparc/t-softmul" | |
1281 | fi | |
45b86625 RO |
1282 | ;; |
1283 | esac | |
fa958513 | 1284 | extra_parts="$extra_parts crtfastmath.o" |
10c4cabc | 1285 | md_unwind_header=sparc/linux-unwind.h |
fa958513 | 1286 | ;; |
569dc494 | 1287 | sparc-*-rtems*) |
c9cd1a07 | 1288 | tmake_file="$tmake_file sparc/t-elf sparc/t-softmul t-crtfm t-fdpbit" |
5f73c6cc | 1289 | extra_parts="$extra_parts crti.o crtn.o crtfastmath.o" |
fa958513 | 1290 | ;; |
ca24c5ad RO |
1291 | sparc*-*-solaris2*) |
1292 | tmake_file="$tmake_file t-crtfm" | |
1293 | extra_parts="$extra_parts crtfastmath.o" | |
58cd1d70 | 1294 | md_unwind_header=sparc/sol2-unwind.h |
fa958513 | 1295 | ;; |
fa958513 | 1296 | sparc64-*-elf*) |
5f73c6cc RO |
1297 | tmake_file="${tmake_file} t-crtfm" |
1298 | extra_parts="$extra_parts crti.o crtn.o crtfastmath.o" | |
fa958513 | 1299 | ;; |
569dc494 | 1300 | sparc64-*-rtems*) |
43a8f1a1 | 1301 | tmake_file="$tmake_file t-crtfm" |
5f73c6cc | 1302 | extra_parts="$extra_parts crti.o crtn.o crtfastmath.o" |
569dc494 | 1303 | ;; |
1910440e RS |
1304 | sparc-wrs-vxworks) |
1305 | ;; | |
fa958513 | 1306 | sparc64-*-freebsd*|ultrasparc-*-freebsd*) |
35d8090d | 1307 | tmake_file="$tmake_file t-crtfm" |
5f73c6cc | 1308 | extra_parts="$extra_parts crtfastmath.o" |
fa958513 DJ |
1309 | ;; |
1310 | sparc64-*-linux*) # 64-bit SPARC's running GNU/Linux | |
1311 | extra_parts="$extra_parts crtfastmath.o" | |
d2a7d041 DM |
1312 | tmake_file="${tmake_file} t-crtfm sparc/t-linux" |
1313 | if test "${host_address}" = 64; then | |
1314 | tmake_file="${tmake_file} sparc/t-linux64" | |
1315 | fi | |
1316 | if test "${host_address}" = 32; then | |
1317 | tmake_file="${tmake_file} sparc/t-softmul" | |
1318 | fi | |
58cd1d70 | 1319 | md_unwind_header=sparc/linux-unwind.h |
fa958513 DJ |
1320 | ;; |
1321 | sparc64-*-netbsd*) | |
1322 | ;; | |
1323 | spu-*-elf*) | |
f9989b51 | 1324 | tmake_file="$tmake_file spu/t-elf t-libgcc-pic t-fdpbit" |
5f73c6cc RO |
1325 | extra_parts="$extra_parts \ |
1326 | libgcc_cachemgr.a libgcc_cachemgr_nonatomic.a \ | |
1327 | libgcc_cache8k.a libgcc_cache16k.a libgcc_cache32k.a \ | |
1328 | libgcc_cache64k.a libgcc_cache128k.a" | |
fa958513 | 1329 | ;; |
b040f2be | 1330 | tic6x-*-uclinux) |
4d5ae4ea BS |
1331 | tmake_file="${tmake_file} t-softfp-sfdf t-softfp-excl t-softfp \ |
1332 | c6x/t-elf c6x/t-uclinux t-crtstuff-pic t-libgcc-pic \ | |
1333 | t-slibgcc t-slibgcc-gld t-slibgcc-elf-ver t-gnu-prefix" | |
852b75ed | 1334 | tm_file="$tm_file c6x/c6x-abi.h" |
4d5ae4ea | 1335 | extra_parts="$extra_parts crtbeginS.o crtendS.o crti.o crtn.o" |
b040f2be RO |
1336 | unwind_header=config/c6x/unwind-c6x.h |
1337 | ;; | |
5f73c6cc RO |
1338 | tic6x-*-elf) |
1339 | tmake_file="${tmake_file} t-softfp-sfdf t-softfp-excl t-softfp t-gnu-prefix c6x/t-elf" | |
852b75ed | 1340 | tm_file="$tm_file c6x/c6x-abi.h" |
5f73c6cc | 1341 | extra_parts="$extra_parts crtbeginS.o crtendS.o crti.o crtn.o" |
1e874273 | 1342 | unwind_header=config/c6x/unwind-c6x.h |
bcead286 | 1343 | ;; |
341c653c | 1344 | tilegx*-*-linux*) |
b29d9a29 WL |
1345 | if test "${host_address}" = 64; then |
1346 | tmake_file="${tmake_file} tilegx/t-softfp" | |
1347 | fi | |
1348 | tmake_file="${tmake_file} tilegx/t-crtstuff t-softfp-sfdf t-softfp tilegx/t-tilegx" | |
dd552284 WL |
1349 | md_unwind_header=tilepro/linux-unwind.h |
1350 | ;; | |
341c653c | 1351 | tilepro*-*-linux*) |
7a384912 | 1352 | tmake_file="${tmake_file} tilepro/t-crtstuff t-softfp-sfdf t-softfp tilepro/t-tilepro t-slibgcc-libgcc" |
dd552284 WL |
1353 | md_unwind_header=tilepro/linux-unwind.h |
1354 | ;; | |
4be46d19 | 1355 | v850*-*-*) |
d02bbcf3 | 1356 | tmake_file="${tmake_file} v850/t-v850 t-fdpbit" |
fa958513 | 1357 | ;; |
fea96e25 | 1358 | vax-*-linux*) |
45b86625 | 1359 | tmake_file="$tmake_file vax/t-linux" |
fea96e25 | 1360 | ;; |
fa958513 DJ |
1361 | vax-*-netbsdelf*) |
1362 | ;; | |
fa958513 DJ |
1363 | vax-*-openbsd*) |
1364 | ;; | |
0969ec7d EB |
1365 | visium-*-elf*) |
1366 | extra_parts="$extra_parts crtbegin.o crtend.o crti.o crtn.o" | |
1367 | tmake_file="visium/t-visium t-fdpbit" | |
1368 | ;; | |
fa958513 | 1369 | xstormy16-*-elf) |
200feb07 | 1370 | tmake_file="stormy16/t-stormy16 t-fdpbit" |
fa958513 | 1371 | ;; |
c660f132 | 1372 | xtensa*-*-elf*) |
5f73c6cc RO |
1373 | tmake_file="$tmake_file xtensa/t-xtensa xtensa/t-elf" |
1374 | extra_parts="$extra_parts crti.o crtn.o" | |
fa958513 | 1375 | ;; |
c660f132 | 1376 | xtensa*-*-linux*) |
800d8bd5 | 1377 | tmake_file="$tmake_file xtensa/t-xtensa xtensa/t-linux t-slibgcc-libgcc" |
58cd1d70 | 1378 | md_unwind_header=xtensa/linux-unwind.h |
fa958513 | 1379 | ;; |
4a0a9457 MF |
1380 | xtensa*-*-uclinux*) |
1381 | tmake_file="$tmake_file xtensa/t-xtensa xtensa/t-linux t-slibgcc-libgcc" | |
1382 | md_unwind_header=xtensa/linux-unwind.h | |
1383 | extra_parts="$extra_parts crtbeginS.o crtbeginT.o crtendS.o" | |
1384 | ;; | |
fa958513 | 1385 | am33_2.0-*-linux*) |
5f73c6cc | 1386 | # Don't need crtbeginT.o from *-*-linux* default. |
fa958513 | 1387 | extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o" |
b040f2be | 1388 | tmake_file="$tmake_file t-fdpbit" |
fa958513 | 1389 | ;; |
541ed00e | 1390 | m32c-*-elf*|m32c-*-rtems*) |
45b86625 | 1391 | tmake_file="$tmake_file m32c/t-m32c" |
fa958513 | 1392 | ;; |
738f2522 BS |
1393 | nvptx-*) |
1394 | tmake_file="$tmake_file nvptx/t-nvptx" | |
1395 | extra_parts="crt0.o" | |
1396 | ;; | |
fa958513 DJ |
1397 | *) |
1398 | echo "*** Configuration ${host} not supported" 1>&2 | |
1399 | exit 1 | |
1400 | ;; | |
1401 | esac | |
6f461e76 | 1402 | |
aca06c90 RO |
1403 | case ${host} in |
1404 | i[34567]86-*-* | x86_64-*-*) | |
9d8f95de SN |
1405 | case ${host} in |
1406 | *-musl*) | |
1407 | tmake_file="${tmake_file} i386/t-cpuinfo-static" | |
1408 | ;; | |
1409 | *) | |
1410 | tmake_file="${tmake_file} i386/t-cpuinfo" | |
1411 | ;; | |
1412 | esac | |
aca06c90 RO |
1413 | ;; |
1414 | esac | |
1415 | ||
6f461e76 | 1416 | case ${host} in |
2a761e46 | 1417 | i[34567]86-*-linux* | x86_64-*-linux* | \ |
b040f2be | 1418 | i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu | \ |
2a761e46 | 1419 | i[34567]86-*-gnu*) |
d6d4d770 | 1420 | tmake_file="${tmake_file} t-tls i386/t-linux i386/t-msabi t-slibgcc-libgcc" |
b6110d6d | 1421 | if test "$libgcc_cv_cfi" = "yes"; then |
ca007d11 | 1422 | tmake_file="${tmake_file} t-stack i386/t-stack-i386" |
b6110d6d | 1423 | fi |
6f461e76 L |
1424 | ;; |
1425 | esac | |
ff473280 L |
1426 | |
1427 | case ${host} in | |
21184026 JM |
1428 | i[34567]86-*-elfiamcu | i[34567]86-*-rtems*) |
1429 | # These use soft-fp for SFmode and DFmode, not just TFmode. | |
1430 | ;; | |
1431 | i[34567]86-*-* | x86_64-*-*) | |
aca0b0b3 | 1432 | tmake_file="${tmake_file} t-softfp-tf" |
7d6aa9a6 UB |
1433 | if test "${host_address}" = 32; then |
1434 | tmake_file="${tmake_file} i386/${host_address}/t-softfp" | |
1435 | fi | |
492fbea1 | 1436 | tmake_file="${tmake_file} i386/t-softfp t-softfp" |
c174f11c L |
1437 | ;; |
1438 | esac | |
1439 | ||
1440 | case ${host} in | |
1441 | i[34567]86-*-linux* | x86_64-*-linux*) | |
1442 | # Provide backward binary compatibility for 64bit Linux/x86. | |
1443 | if test "${host_address}" = 64; then | |
1444 | tmake_file="${tmake_file} i386/${host_address}/t-softfp-compat" | |
1445 | fi | |
852b75ed | 1446 | tm_file="${tm_file} i386/value-unwind.h" |
ff473280 | 1447 | ;; |
31927af6 AP |
1448 | aarch64*-*-*) |
1449 | # ILP32 needs an extra header for unwinding | |
1450 | tm_file="${tm_file} aarch64/value-unwind.h" | |
1451 | ;; | |
ff473280 | 1452 | esac |