]>
Commit | Line | Data |
---|---|---|
894a47b4 | 1 | # libgcc host-specific configuration file. |
fbd26352 | 2 | # Copyright (C) 1997-2019 Free Software Foundation, Inc. |
894a47b4 | 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 | |
6bc9506f | 8 | #Software Foundation; either version 3, or (at your option) any later |
894a47b4 | 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 | |
6bc9506f | 17 | #along with GCC; see the file COPYING3. If not see |
18 | #<http://www.gnu.org/licenses/>. | |
894a47b4 | 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. | |
a6f06169 | 46 | # enable_execute_stack The name of a source file implementing |
47 | # __enable_execute_stack. | |
894a47b4 | 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. | |
1e53920f | 54 | # md_unwind_header The name of a header file defining |
55 | # MD_FALLBACK_FRAME_STATE_FOR. | |
84600db5 | 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. | |
894a47b4 | 59 | # tmake_file A list of machine-description-specific |
2219274c | 60 | # makefile fragments. |
022a2799 | 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. | |
e59be7e3 | 66 | # unwind_header The name of the header file declaring the unwind |
67 | # runtime interface routines. | |
894a47b4 | 68 | |
69 | asm_hidden_op=.hidden | |
a6f06169 | 70 | enable_execute_stack= |
894a47b4 | 71 | extra_parts= |
72 | tmake_file= | |
022a2799 | 73 | tm_file= |
74 | tm_define= | |
1e53920f | 75 | md_unwind_header=no-unwind.h |
e59be7e3 | 76 | unwind_header=unwind-generic.h |
894a47b4 | 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 | |
a23b9c51 | 83 | tmake_file=t-fdpbit |
894a47b4 | 84 | ;; |
1b3d2097 | 85 | aarch64*-*-*) |
86 | cpu_type=aarch64 | |
87 | ;; | |
894a47b4 | 88 | alpha*-*-*) |
89 | cpu_type=alpha | |
90 | ;; | |
91 | am33_2.0-*-linux*) | |
92 | cpu_type=mn10300 | |
93 | ;; | |
1b9bc90e | 94 | amdgcn*-*-*) |
95 | cpu_type=gcn | |
96 | tmake_file="${tmake_file} t-softfp-sfdf t-softfp" | |
97 | ;; | |
8eaaaea3 | 98 | arc*-*-*) |
99 | cpu_type=arc | |
100 | ;; | |
894a47b4 | 101 | arm*-*-*) |
102 | cpu_type=arm | |
103 | ;; | |
38dd5584 | 104 | avr-*-*) |
105 | cpu_type=avr | |
106 | ;; | |
894a47b4 | 107 | bfin*-*) |
108 | cpu_type=bfin | |
109 | ;; | |
b9fdd12b | 110 | cr16-*-*) |
111 | ;; | |
b4294f67 | 112 | crisv32-*-*) |
113 | cpu_type=cris | |
114 | ;; | |
d406228c | 115 | csky*-*-*) |
116 | cpu_type=csky | |
117 | ;; | |
278e2fd1 | 118 | fido-*-*) |
119 | cpu_type=m68k | |
120 | ;; | |
894a47b4 | 121 | frv*) cpu_type=frv |
122 | ;; | |
b6616c9c | 123 | ft32*) cpu_type=ft32 |
124 | ;; | |
be52b6d8 | 125 | moxie*) cpu_type=moxie |
126 | ;; | |
894a47b4 | 127 | i[34567]86-*-*) |
128 | cpu_type=i386 | |
129 | ;; | |
130 | x86_64-*-*) | |
131 | cpu_type=i386 | |
132 | ;; | |
133 | ia64-*-*) | |
134 | ;; | |
6af9f7ea | 135 | hppa*-*-*) |
894a47b4 | 136 | cpu_type=pa |
137 | ;; | |
f6fe91e8 | 138 | lm32*-*-*) |
139 | cpu_type=lm32 | |
140 | ;; | |
894a47b4 | 141 | m32r*-*-*) |
142 | cpu_type=m32r | |
143 | ;; | |
894a47b4 | 144 | m68k-*-*) |
145 | ;; | |
d34b0d1e | 146 | microblaze*-*-*) |
147 | cpu_type=microblaze | |
148 | ;; | |
894a47b4 | 149 | mips*-*-*) |
9bcbf352 | 150 | # All MIPS targets provide a full set of FP routines. |
894a47b4 | 151 | cpu_type=mips |
4b366ca9 | 152 | tmake_file="mips/t-mips" |
153 | if test "${libgcc_cv_mips_hard_float}" = yes; then | |
154 | tmake_file="${tmake_file} t-hardfp-sfdf t-hardfp" | |
155 | else | |
156 | tmake_file="${tmake_file} t-softfp-sfdf" | |
157 | fi | |
9bcbf352 | 158 | if test "${ac_cv_sizeof_long_double}" = 16; then |
159 | tmake_file="${tmake_file} mips/t-softfp-tf" | |
160 | fi | |
161 | if test "${host_address}" = 64; then | |
162 | tmake_file="${tmake_file} mips/t-mips64" | |
163 | fi | |
164 | tmake_file="${tmake_file} t-softfp" | |
894a47b4 | 165 | ;; |
eae21ed1 | 166 | nds32*-*) |
167 | cpu_type=nds32 | |
168 | ;; | |
de65406d | 169 | nios2*-*-*) |
170 | cpu_type=nios2 | |
171 | ;; | |
2acd4f1d | 172 | or1k*-*-*) |
173 | cpu_type=or1k | |
174 | ;; | |
894a47b4 | 175 | powerpc*-*-*) |
176 | cpu_type=rs6000 | |
177 | ;; | |
178 | rs6000*-*-*) | |
179 | ;; | |
36387fad | 180 | riscv*-*-*) |
181 | cpu_type=riscv | |
182 | ;; | |
894a47b4 | 183 | sparc64*-*-*) |
184 | cpu_type=sparc | |
185 | ;; | |
186 | sparc*-*-*) | |
187 | cpu_type=sparc | |
188 | ;; | |
189 | spu*-*-*) | |
190 | cpu_type=spu | |
191 | ;; | |
192 | s390*-*-*) | |
193 | cpu_type=s390 | |
194 | ;; | |
195 | # Note the 'l'; we need to be able to match e.g. "shle" or "shl". | |
196 | sh[123456789lbe]*-*-*) | |
197 | cpu_type=sh | |
198 | ;; | |
2da35515 | 199 | tilegx*-*-*) |
200 | cpu_type=tilegx | |
201 | ;; | |
202 | tilepro*-*-*) | |
203 | cpu_type=tilepro | |
204 | ;; | |
707238af | 205 | v850*-*-*) |
206 | cpu_type=v850 | |
207 | ;; | |
5aa04b01 | 208 | tic6x-*-*) |
209 | cpu_type=c6x | |
210 | ;; | |
894a47b4 | 211 | esac |
212 | ||
213 | # Common parts for widely ported systems. | |
214 | case ${host} in | |
215 | *-*-darwin*) | |
216 | asm_hidden_op=.private_extern | |
4dc4ff49 | 217 | tmake_file="$tmake_file t-darwin ${cpu_type}/t-darwin t-libgcc-pic t-slibgcc-darwin" |
2279ee63 | 218 | extra_parts="crt3.o d10-uwfef.o crttms.o crttme.o" |
894a47b4 | 219 | ;; |
463553db | 220 | *-*-dragonfly*) |
221 | tmake_file="$tmake_file t-crtstuff-pic t-libgcc-pic t-eh-dw2-dip" | |
222 | tmake_file="$tmake_file t-slibgcc t-slibgcc-gld t-slibgcc-elf-ver" | |
223 | extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o" | |
224 | ;; | |
894a47b4 | 225 | *-*-freebsd*) |
226 | # This is the generic ELF configuration of FreeBSD. Later | |
227 | # machine-specific sections may refine and add to this | |
228 | # configuration. | |
4dc4ff49 | 229 | 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" |
237490bf | 230 | extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o" |
a997b0d8 | 231 | case ${target_thread_file} in |
232 | posix) | |
4dc4ff49 | 233 | tmake_file="${tmake_file} t-freebsd-thread" |
a997b0d8 | 234 | # Before 5.0, FreeBSD can't bind shared libraries to -lc |
235 | # when "optionally" threaded via weak pthread_* checks. | |
236 | case ${host} in | |
237 | *-*-freebsd[34] | *-*-freebsd[34].*) | |
238 | tmake_file="${tmake_file} t-slibgcc-nolc-override" | |
239 | ;; | |
240 | esac | |
241 | ;; | |
242 | esac | |
894a47b4 | 243 | ;; |
9b859c0a | 244 | *-*-fuchsia*) |
245 | tmake_file="$tmake_file t-crtstuff-pic t-libgcc-pic t-eh-dw2-dip t-slibgcc t-slibgcc-fuchsia" | |
246 | extra_parts="crtbegin.o crtend.o" | |
247 | ;; | |
79573034 | 248 | *-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu) |
4dc4ff49 | 249 | 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" |
ec5f5503 | 250 | extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o" |
251 | if test x$enable_vtable_verify = xyes; then | |
252 | extra_parts="$extra_parts vtv_start.o vtv_end.o vtv_start_preinit.o vtv_end_preinit.o" | |
253 | fi | |
894a47b4 | 254 | ;; |
237490bf | 255 | *-*-lynxos*) |
4dc4ff49 | 256 | tmake_file="$tmake_file t-lynx $cpu_type/t-crtstuff t-crtstuff-pic t-libgcc-pic" |
237490bf | 257 | extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o" |
258 | ;; | |
894a47b4 | 259 | *-*-netbsd*) |
9834d450 | 260 | tmake_file="$tmake_file t-crtstuff-pic t-libgcc-pic t-eh-dw2-dip" |
261 | tmake_file="$tmake_file t-slibgcc t-slibgcc-gld t-slibgcc-elf-ver" | |
7303090d | 262 | tmake_file="$tmake_file t-slibgcc-libgcc" |
63d551af | 263 | extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o" |
894a47b4 | 264 | ;; |
265 | *-*-openbsd*) | |
81ae3d37 | 266 | tmake_file="$tmake_file t-crtstuff-pic t-libgcc-pic t-eh-dw2-dip" |
4dc4ff49 | 267 | case ${target_thread_file} in |
268 | posix) | |
269 | tmake_file="$tmake_file t-openbsd-thread" | |
270 | ;; | |
271 | esac | |
894a47b4 | 272 | ;; |
273 | *-*-rtems*) | |
fbb6f195 | 274 | tmake_file="$tmake_file t-rtems" |
237490bf | 275 | extra_parts="crtbegin.o crtend.o" |
894a47b4 | 276 | ;; |
63abf89e | 277 | *-*-solaris2*) |
e59be7e3 | 278 | # Unless linker support and dl_iterate_phdr are present, |
279 | # unwind-dw2-fde-dip.c automatically falls back to unwind-dw2-fde.c. | |
80fc7cb7 | 280 | tmake_file="$tmake_file sol2/t-sol2 t-eh-dw2-dip t-crtstuff-pic t-libgcc-pic t-slibgcc t-slibgcc-elf-ver" |
63abf89e | 281 | if test $with_gnu_ld = yes; then |
282 | tmake_file="$tmake_file t-slibgcc-gld" | |
283 | else | |
284 | tmake_file="$tmake_file t-slibgcc-sld" | |
285 | fi | |
286 | # Add cpu-specific t-sol2 after t-slibgcc-* so it can augment SHLIB_MAPFILES. | |
287 | tmake_file="$tmake_file $cpu_type/t-sol2" | |
288 | extra_parts="gmon.o crtbegin.o crtend.o" | |
ba24ad38 | 289 | if test "${libgcc_cv_solaris_crts}" = yes; then |
9273bda7 | 290 | # Solaris 11.4 provides crt1.o, crti.o, and crtn.o as part of the |
ba24ad38 | 291 | # base system. crtp.o and crtpg.o implement the compiler-dependent parts. |
292 | extra_parts="$extra_parts crtp.o crtpg.o" | |
80fc7cb7 | 293 | # If the Solaris CRTs are present, both ld and gld will have PIE support. |
294 | extra_parts="$extra_parts crtbeginS.o crtendS.o" | |
ba24ad38 | 295 | else |
296 | case ${host} in | |
0fd03648 | 297 | i?86-*-solaris2* | x86_64-*-solaris2*) |
ba24ad38 | 298 | # Solaris 10+/x86 provides crt1.o, crti.o, crtn.o, and gcrt1.o as |
299 | # part of the base system. | |
300 | ;; | |
0fd03648 | 301 | sparc*-*-solaris2*) |
ba24ad38 | 302 | # Solaris 10+/SPARC lacks crt1.o and gcrt1.o. |
303 | extra_parts="$extra_parts crt1.o gcrt1.o" | |
304 | ;; | |
305 | esac | |
306 | fi | |
08de21a4 | 307 | if test x$enable_vtable_verify = xyes; then |
308 | extra_parts="$extra_parts vtv_start.o vtv_end.o vtv_start_preinit.o vtv_end_preinit.o" | |
309 | fi | |
63abf89e | 310 | ;; |
237490bf | 311 | *-*-uclinux*) |
312 | extra_parts="crtbegin.o crtend.o" | |
313 | ;; | |
314 | *-*-*vms*) | |
315 | tmake_file="vms/t-vms" | |
784576c7 | 316 | extra_parts="crt0.o crtbegin.o crtbeginS.o crtend.o crtendS.o" |
237490bf | 317 | ;; |
0c11960e | 318 | *-*-vxworks7*) |
899cdd88 | 319 | tmake_file=t-vxworks7 |
320 | ;; | |
894a47b4 | 321 | *-*-vxworks*) |
4dc4ff49 | 322 | tmake_file=t-vxworks |
894a47b4 | 323 | ;; |
324 | *-*-elf) | |
237490bf | 325 | extra_parts="crtbegin.o crtend.o" |
894a47b4 | 326 | ;; |
327 | esac | |
328 | ||
a6f06169 | 329 | case ${host} in |
463553db | 330 | *-*-darwin* | *-*-dragonfly* | *-*-freebsd* | *-*-netbsd* | *-*-openbsd* | \ |
331 | *-*-solaris2*) | |
a6f06169 | 332 | enable_execute_stack=enable-execute-stack-mprotect.c |
333 | ;; | |
334 | i[34567]86-*-mingw* | x86_64-*-mingw*) | |
335 | enable_execute_stack=config/i386/enable-execute-stack-mingw32.c | |
336 | ;; | |
6a000628 | 337 | i[34567]86-*-cygwin* | x86_64-*-cygwin*) |
338 | enable_execute_stack=config/i386/enable-execute-stack-mingw32.c | |
339 | ;; | |
a6f06169 | 340 | *) |
341 | enable_execute_stack=enable-execute-stack-empty.c; | |
342 | ;; | |
343 | esac | |
344 | ||
894a47b4 | 345 | case ${host} in |
05ea12a2 | 346 | aarch64*-*-elf | aarch64*-*-rtems*) |
1b3d2097 | 347 | extra_parts="$extra_parts crtbegin.o crtend.o crti.o crtn.o" |
8f908dc5 | 348 | extra_parts="$extra_parts crtfastmath.o" |
1b3d2097 | 349 | tmake_file="${tmake_file} ${cpu_type}/t-aarch64" |
8f908dc5 | 350 | tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp t-crtfm" |
d10c58fd | 351 | md_unwind_header=aarch64/aarch64-unwind.h |
1b3d2097 | 352 | ;; |
88afddbc | 353 | aarch64*-*-freebsd*) |
354 | extra_parts="$extra_parts crtfastmath.o" | |
355 | tmake_file="${tmake_file} ${cpu_type}/t-aarch64" | |
356 | tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp t-crtfm" | |
319901d0 | 357 | md_unwind_header=aarch64/freebsd-unwind.h |
88afddbc | 358 | ;; |
9b859c0a | 359 | aarch64*-*-fuchsia*) |
360 | tmake_file="${tmake_file} ${cpu_type}/t-aarch64" | |
361 | tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp" | |
362 | ;; | |
1b3d2097 | 363 | aarch64*-*-linux*) |
8f908dc5 | 364 | extra_parts="$extra_parts crtfastmath.o" |
1b3d2097 | 365 | md_unwind_header=aarch64/linux-unwind.h |
366 | tmake_file="${tmake_file} ${cpu_type}/t-aarch64" | |
8f908dc5 | 367 | tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp t-crtfm" |
1b3d2097 | 368 | ;; |
17b3d2a8 | 369 | alpha*-*-linux*) |
4dc4ff49 | 370 | tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee t-crtfm alpha/t-linux" |
cdca0ab7 | 371 | extra_parts="$extra_parts crtfastmath.o" |
1e53920f | 372 | md_unwind_header=alpha/linux-unwind.h |
894a47b4 | 373 | ;; |
894a47b4 | 374 | alpha*-*-freebsd*) |
4dc4ff49 | 375 | tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee t-crtfm" |
237490bf | 376 | extra_parts="$extra_parts crtbeginT.o crtfastmath.o" |
894a47b4 | 377 | ;; |
378 | alpha*-*-netbsd*) | |
4dc4ff49 | 379 | tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee" |
894a47b4 | 380 | ;; |
381 | alpha*-*-openbsd*) | |
4dc4ff49 | 382 | tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee" |
894a47b4 | 383 | ;; |
894a47b4 | 384 | alpha64-dec-*vms*) |
4dc4ff49 | 385 | tmake_file="$tmake_file alpha/t-alpha alpha/t-ieee alpha/t-vms t-slibgcc-vms" |
237490bf | 386 | extra_parts="$extra_parts vms-dwarf2.o vms-dwarf2eh.o" |
1e53920f | 387 | md_unwind_header=alpha/vms-unwind.h |
894a47b4 | 388 | ;; |
389 | alpha*-dec-*vms*) | |
4dc4ff49 | 390 | tmake_file="$tmake_file alpha/t-alpha alpha/t-ieee alpha/t-vms t-slibgcc-vms" |
237490bf | 391 | extra_parts="$extra_parts vms-dwarf2.o vms-dwarf2eh.o" |
1e53920f | 392 | md_unwind_header=alpha/vms-unwind.h |
894a47b4 | 393 | ;; |
1b9bc90e | 394 | amdgcn*-*-amdhsa) |
395 | tmake_file="$tmake_file gcn/t-amdgcn" | |
396 | extra_parts="crt0.o" | |
397 | ;; | |
8eaaaea3 | 398 | arc*-*-elf*) |
8df543e1 | 399 | tmake_file="arc/t-arc" |
400 | extra_parts="crti.o crtn.o crtend.o crtbegin.o crtendS.o crtbeginS.o" | |
401 | extra_parts="$extra_parts crttls.o" | |
8eaaaea3 | 402 | ;; |
927c0132 | 403 | arc*-*-linux*) |
8df543e1 | 404 | tmake_file="${tmake_file} t-slibgcc-libgcc t-slibgcc-nolc-override arc/t-arc-uClibc arc/t-arc" |
405 | extra_parts="$extra_parts crti.o crtn.o" | |
74d8fa14 | 406 | extra_parts="$extra_parts crttls.o" |
e892f4fa | 407 | md_unwind_header=arc/linux-unwind.h |
8eaaaea3 | 408 | ;; |
17a98fea | 409 | arm-wrs-vxworks|arm-wrs-vxworks7) |
f4f176bd | 410 | tmake_file="$tmake_file arm/t-arm arm/t-elf t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp" |
237490bf | 411 | extra_parts="$extra_parts crti.o crtn.o" |
17a98fea | 412 | case ${host} in |
413 | *-*-vxworks7) | |
414 | # Note that arm/t-bpabi will reset the LIB2ADDEH macro. | |
415 | # This is intentional. | |
416 | tmake_file="$tmake_file arm/t-bpabi arm/t-vxworks7" | |
417 | tm_file="$tm_file arm/bpabi-lib.h" | |
418 | unwind_header=config/arm/unwind-arm.h | |
419 | ;; | |
420 | esac | |
894a47b4 | 421 | ;; |
275d0a7c | 422 | arm*-*-freebsd*) # ARM FreeBSD EABI |
423 | tmake_file="${tmake_file} arm/t-arm t-fixedpoint-gnu-prefix arm/t-elf" | |
8b9c62ca | 424 | tmake_file="${tmake_file} arm/t-bpabi arm/t-freebsd" |
275d0a7c | 425 | tm_file="${tm_file} arm/bpabi-lib.h" |
426 | unwind_header=config/arm/unwind-arm.h | |
427 | tmake_file="${tmake_file} t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp" | |
428 | ;; | |
9b859c0a | 429 | arm*-*-fuchsia*) |
430 | tmake_file="${tmake_file} arm/t-arm arm/t-elf arm/t-bpabi" | |
431 | tmake_file="${tmake_file} arm/tsoftfp t-softfp" | |
432 | tm_file="${tm_file} arm/bpabi-lib.h" | |
433 | unwind_header=config/arm/unwind-arm.h | |
434 | ;; | |
894a47b4 | 435 | arm*-*-netbsdelf*) |
4dc4ff49 | 436 | tmake_file="$tmake_file arm/t-arm arm/t-netbsd t-slibgcc-gld-nover" |
894a47b4 | 437 | ;; |
894a47b4 | 438 | arm*-*-linux*) # ARM GNU/Linux with ELF |
1ddaa252 | 439 | tmake_file="${tmake_file} arm/t-arm t-fixedpoint-gnu-prefix t-crtfm" |
6a11e52b | 440 | tmake_file="${tmake_file} arm/t-elf arm/t-bpabi arm/t-linux-eabi t-slibgcc-libgcc" |
441 | tm_file="$tm_file arm/bpabi-lib.h" | |
442 | unwind_header=config/arm/unwind-arm.h | |
84600db5 | 443 | tmake_file="$tmake_file t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp" |
1ddaa252 | 444 | extra_parts="$extra_parts crtfastmath.o" |
894a47b4 | 445 | ;; |
446 | arm*-*-uclinux*) # ARM ucLinux | |
1ddaa252 | 447 | tmake_file="${tmake_file} t-fixedpoint-gnu-prefix t-crtfm" |
4ef5912a | 448 | tmake_file="$tmake_file arm/t-arm arm/t-elf t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp" |
6a11e52b | 449 | tmake_file="${tmake_file} arm/t-bpabi" |
450 | tm_file="$tm_file arm/bpabi-lib.h" | |
451 | unwind_header=config/arm/unwind-arm.h | |
237490bf | 452 | extra_parts="$extra_parts crti.o crtn.o" |
894a47b4 | 453 | ;; |
21ecea39 | 454 | arm*-*-phoenix*) |
455 | tmake_file="t-hardfp t-softfp arm/t-arm arm/t-elf arm/t-softfp arm/t-phoenix" | |
456 | tmake_file="${tmake_file} arm/t-bpabi" | |
457 | tm_file="$tm_file arm/bpabi-lib.h" | |
458 | extra_parts="crtbegin.o crtend.o crti.o crtn.o" | |
459 | unwind_header=config/arm/unwind-arm.h | |
460 | ;; | |
598ebe3d | 461 | arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*) |
9213d2eb | 462 | tmake_file="${tmake_file} arm/t-arm arm/t-elf t-fixedpoint-gnu-prefix" |
022a2799 | 463 | tm_file="$tm_file arm/bpabi-lib.h" |
e59be7e3 | 464 | case ${host} in |
598ebe3d | 465 | arm*-*-eabi* | arm*-*-rtems*) |
1ddaa252 | 466 | tmake_file="${tmake_file} arm/t-bpabi t-crtfm" |
237490bf | 467 | extra_parts="crtbegin.o crtend.o crti.o crtn.o" |
e59be7e3 | 468 | ;; |
469 | arm*-*-symbianelf*) | |
a997b0d8 | 470 | tmake_file="${tmake_file} arm/t-symbian t-slibgcc-nolc-override" |
022a2799 | 471 | tm_file="$tm_file arm/symbian-lib.h" |
237490bf | 472 | # Symbian OS provides its own startup code. |
e59be7e3 | 473 | ;; |
474 | esac | |
84600db5 | 475 | tmake_file="$tmake_file t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp" |
18e98669 | 476 | extra_parts="$extra_parts crtfastmath.o" |
e59be7e3 | 477 | unwind_header=config/arm/unwind-arm.h |
894a47b4 | 478 | ;; |
894a47b4 | 479 | avr-*-*) |
a23b9c51 | 480 | # Make HImode functions for AVR |
481 | tmake_file="${cpu_type}/t-avr t-fpbit" | |
fd28e216 | 482 | if test x${with_avrlibc} != xno; then |
483 | tmake_file="$tmake_file ${cpu_type}/t-avrlibc" | |
484 | fi | |
022a2799 | 485 | tm_file="$tm_file avr/avr-lib.h" |
894a47b4 | 486 | ;; |
487 | bfin*-elf*) | |
2219274c | 488 | tmake_file="bfin/t-bfin bfin/t-crtlibid bfin/t-crtstuff t-libgcc-pic t-fdpbit" |
237490bf | 489 | extra_parts="$extra_parts crtbeginS.o crtendS.o crti.o crtn.o crtlibid.o" |
894a47b4 | 490 | ;; |
491 | bfin*-uclinux*) | |
2219274c | 492 | tmake_file="bfin/t-bfin bfin/t-crtlibid bfin/t-crtstuff t-libgcc-pic t-fdpbit" |
237490bf | 493 | extra_parts="$extra_parts crtbeginS.o crtendS.o crtlibid.o" |
1e53920f | 494 | md_unwind_header=bfin/linux-unwind.h |
894a47b4 | 495 | ;; |
bce94ab5 | 496 | bfin*-linux-uclibc*) |
2219274c | 497 | tmake_file="$tmake_file bfin/t-bfin bfin/t-crtstuff t-libgcc-pic t-fdpbit bfin/t-linux" |
bce94ab5 | 498 | # No need to build crtbeginT.o on uClibc systems. Should probably |
499 | # be moved to the OS specific section above. | |
500 | extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o" | |
1e53920f | 501 | md_unwind_header=bfin/linux-unwind.h |
bce94ab5 | 502 | ;; |
a23b9c51 | 503 | bfin*-rtems*) |
9213d2eb | 504 | tmake_file="$tmake_file bfin/t-bfin t-fdpbit" |
237490bf | 505 | extra_parts="$extra_parts crti.o crtn.o" |
a23b9c51 | 506 | ;; |
894a47b4 | 507 | bfin*-*) |
9213d2eb | 508 | tmake_file="$tmake_file bfin/t-bfin t-fdpbit" |
237490bf | 509 | extra_parts="crtbegin.o crtend.o crti.o crtn.o" |
894a47b4 | 510 | ;; |
b9fdd12b | 511 | cr16-*-elf) |
512 | tmake_file="${tmake_file} cr16/t-cr16 cr16/t-crtlibid t-fdpbit" | |
513 | extra_parts="$extra_parts crti.o crtn.o crtlibid.o" | |
514 | ;; | |
237490bf | 515 | crisv32-*-elf) |
b4294f67 | 516 | tmake_file="$tmake_file cris/t-cris t-softfp-sfdf t-softfp" |
237490bf | 517 | ;; |
237490bf | 518 | cris-*-elf) |
b4294f67 | 519 | tmake_file="$tmake_file cris/t-cris t-softfp-sfdf t-softfp cris/t-elfmulti" |
237490bf | 520 | ;; |
877d7f12 | 521 | cris-*-linux* | crisv32-*-linux*) |
b4294f67 | 522 | tmake_file="$tmake_file cris/t-cris t-softfp-sfdf t-softfp cris/t-linux" |
894a47b4 | 523 | ;; |
d406228c | 524 | csky-*-elf*) |
525 | tmake_file="csky/t-csky t-fdpbit" | |
526 | extra_parts="$extra_parts crti.o crtn.o" | |
527 | ;; | |
528 | csky-*-linux*) | |
529 | tmake_file="$tmake_file csky/t-csky t-slibgcc-libgcc t-fdpbit csky/t-linux-csky" | |
530 | extra_parts="$extra_parts crti.o crtn.o" | |
531 | md_unwind_header=csky/linux-unwind.h | |
532 | ;; | |
1c579c0e | 533 | epiphany-*-elf* | epiphany-*-rtems*) |
534 | tmake_file="$tmake_file epiphany/t-epiphany t-fdpbit epiphany/t-custom-eqsf" | |
d19f5793 | 535 | extra_parts="$extra_parts crti.o crtint.o crtrunc.o crtm1reg-r43.o crtm1reg-r63.o crtn.o" |
536 | ;; | |
894a47b4 | 537 | fr30-*-elf) |
9213d2eb | 538 | tmake_file="$tmake_file fr30/t-fr30 t-fdpbit" |
237490bf | 539 | extra_parts="$extra_parts crti.o crtn.o" |
894a47b4 | 540 | ;; |
541 | frv-*-elf) | |
237490bf | 542 | tmake_file="$tmake_file frv/t-frv t-fdpbit" |
005a5ef5 | 543 | tm_file="$tm_file frv/elf-lib.h frv/frv-abi.h" |
237490bf | 544 | # Don't use crtbegin.o, crtend.o. |
545 | extra_parts="frvbegin.o frvend.o" | |
894a47b4 | 546 | ;; |
547 | frv-*-*linux*) | |
9213d2eb | 548 | tmake_file="$tmake_file frv/t-frv frv/t-linux t-fdpbit" |
005a5ef5 | 549 | tm_file="$tm_file frv/elf-lib.h frv/frv-abi.h" |
894a47b4 | 550 | ;; |
b6616c9c | 551 | ft32-*-elf) |
552 | tmake_file="ft32/t-ft32 t-softfp-sfdf t-softfp-excl t-softfp" | |
553 | extra_parts="$extra_parts crti.o crti-hw.o crtn.o" | |
554 | ;; | |
894a47b4 | 555 | h8300-*-elf*) |
9213d2eb | 556 | tmake_file="$tmake_file h8300/t-h8300 t-fpbit" |
022a2799 | 557 | tm_file="$tm_file h8300/h8300-lib.h" |
237490bf | 558 | extra_parts="$extra_parts crti.o crtn.o" |
894a47b4 | 559 | ;; |
acff2768 | 560 | h8300-*-linux*) |
561 | tmake_file="t-linux h8300/t-linux t-softfp-sfdf t-softfp" | |
562 | tm_file="$tm_file h8300/h8300-lib.h" | |
563 | ;; | |
6af9f7ea | 564 | hppa*64*-*-linux*) |
9213d2eb | 565 | tmake_file="$tmake_file pa/t-linux pa/t-linux64" |
a99f9d91 | 566 | extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o" |
894a47b4 | 567 | ;; |
6af9f7ea | 568 | hppa*-*-linux*) |
9213d2eb | 569 | tmake_file="$tmake_file pa/t-linux t-slibgcc-libgcc" |
a997b0d8 | 570 | # Set the libgcc version number |
177cc56c | 571 | if test x$ac_cv_sjlj_exceptions = xyes; then |
a997b0d8 | 572 | tmake_file="$tmake_file pa/t-slibgcc-sjlj-ver" |
573 | else | |
574 | tmake_file="$tmake_file pa/t-slibgcc-dwarf-ver" | |
575 | fi | |
a99f9d91 | 576 | extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o" |
01cb8ad1 | 577 | md_unwind_header=pa/linux-unwind.h |
894a47b4 | 578 | ;; |
579 | hppa[12]*-*-hpux10*) | |
4dc4ff49 | 580 | tmake_file="$tmake_file pa/t-hpux pa/t-hpux10 t-libgcc-pic t-slibgcc" |
a997b0d8 | 581 | # Set the libgcc version number |
177cc56c | 582 | if test x$ac_cv_sjlj_exceptions = xyes; then |
a997b0d8 | 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" | |
1e53920f | 588 | md_unwind_header=pa/hpux-unwind.h |
894a47b4 | 589 | ;; |
590 | hppa*64*-*-hpux11*) | |
ab4fdb3d | 591 | tmake_file="$tmake_file pa/t-hpux pa/t-pa64 pa/t-stublib t-libgcc-pic t-slibgcc" |
a997b0d8 | 592 | # Set the libgcc version number |
177cc56c | 593 | if test x$ac_cv_sjlj_exceptions = xyes; then |
a997b0d8 | 594 | tmake_file="$tmake_file pa/t-slibgcc-sjlj-ver" |
595 | else | |
596 | tmake_file="$tmake_file pa/t-slibgcc-dwarf-ver" | |
597 | fi | |
598 | tmake_file="$tmake_file pa/t-slibgcc-hpux t-slibgcc-hpux" | |
677e8b73 | 599 | tm_file="$tm_file pa/pa64-hpux-lib.h" |
237490bf | 600 | extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o \ |
601 | libgcc_stub.a" | |
1e53920f | 602 | md_unwind_header=pa/hpux-unwind.h |
894a47b4 | 603 | ;; |
604 | hppa[12]*-*-hpux11*) | |
4dc4ff49 | 605 | tmake_file="$tmake_file pa/t-hpux pa/t-stublib t-libgcc-pic t-slibgcc" |
a997b0d8 | 606 | # Set the libgcc version number |
177cc56c | 607 | if test x$ac_cv_sjlj_exceptions = xyes; then |
a997b0d8 | 608 | tmake_file="$tmake_file pa/t-slibgcc-sjlj-ver" |
609 | else | |
610 | tmake_file="$tmake_file pa/t-slibgcc-dwarf-ver" | |
611 | fi | |
612 | tmake_file="$tmake_file pa/t-slibgcc-hpux t-slibgcc-hpux" | |
237490bf | 613 | extra_parts="libgcc_stub.a" |
1e53920f | 614 | md_unwind_header=pa/hpux-unwind.h |
894a47b4 | 615 | ;; |
07cf7615 | 616 | hppa*-*-openbsd*) |
617 | tmake_file="$tmake_file pa/t-openbsd" | |
618 | ;; | |
894a47b4 | 619 | i[34567]86-*-darwin*) |
65e1ae67 | 620 | tmake_file="$tmake_file i386/t-crtpc t-crtfm i386/t-msabi" |
022a2799 | 621 | tm_file="$tm_file i386/darwin-lib.h" |
ba079bc9 | 622 | extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o" |
894a47b4 | 623 | ;; |
624 | x86_64-*-darwin*) | |
65e1ae67 | 625 | tmake_file="$tmake_file i386/t-crtpc t-crtfm i386/t-msabi" |
022a2799 | 626 | tm_file="$tm_file i386/darwin-lib.h" |
ba079bc9 | 627 | extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o" |
894a47b4 | 628 | ;; |
146896ec | 629 | i[34567]86-*-elfiamcu) |
630 | 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" | |
631 | ;; | |
894a47b4 | 632 | i[34567]86-*-elf*) |
4dc4ff49 | 633 | tmake_file="$tmake_file i386/t-crtstuff t-crtstuff-pic t-libgcc-pic" |
894a47b4 | 634 | ;; |
1e085786 | 635 | x86_64-*-elf* | x86_64-*-rtems*) |
4dc4ff49 | 636 | tmake_file="$tmake_file i386/t-crtstuff t-crtstuff-pic t-libgcc-pic" |
ab55f7db | 637 | case ${host} in |
638 | x86_64-*-rtems*) | |
639 | extra_parts="$extra_parts crti.o crtn.o" | |
640 | ;; | |
641 | esac | |
cc8ebe39 | 642 | ;; |
9b859c0a | 643 | x86_64-*-fuchsia*) |
644 | tmake_file="$tmake_file t-libgcc-pic" | |
645 | ;; | |
463553db | 646 | i[34567]86-*-dragonfly*) |
647 | tmake_file="${tmake_file} i386/t-dragonfly i386/t-crtstuff" | |
648 | md_unwind_header=i386/dragonfly-unwind.h | |
649 | ;; | |
650 | x86_64-*-dragonfly*) | |
651 | tmake_file="${tmake_file} i386/t-dragonfly i386/t-crtstuff" | |
652 | md_unwind_header=i386/dragonfly-unwind.h | |
653 | ;; | |
894a47b4 | 654 | i[34567]86-*-freebsd*) |
237490bf | 655 | tmake_file="${tmake_file} i386/t-freebsd i386/t-crtstuff" |
328976ed | 656 | md_unwind_header=i386/freebsd-unwind.h |
894a47b4 | 657 | ;; |
658 | x86_64-*-freebsd*) | |
237490bf | 659 | tmake_file="${tmake_file} i386/t-freebsd i386/t-crtstuff" |
328976ed | 660 | md_unwind_header=i386/freebsd-unwind.h |
894a47b4 | 661 | ;; |
662 | i[34567]86-*-netbsdelf*) | |
a1928e5c | 663 | tmake_file="${tmake_file} i386/t-crtstuff" |
894a47b4 | 664 | ;; |
894a47b4 | 665 | x86_64-*-netbsd*) |
237490bf | 666 | tmake_file="${tmake_file} i386/t-crtstuff" |
894a47b4 | 667 | ;; |
894a47b4 | 668 | i[34567]86-*-openbsd*) |
669 | ;; | |
51796b3a | 670 | x86_64-*-openbsd*) |
671 | ;; | |
fe27820f | 672 | i[34567]86-*-linux*) |
6d057ce8 | 673 | extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o" |
2a8549e0 | 674 | tmake_file="${tmake_file} i386/t-crtpc t-crtfm i386/t-crtstuff t-dfprules" |
58ca7445 | 675 | tm_file="${tm_file} i386/elf-lib.h" |
1e53920f | 676 | md_unwind_header=i386/linux-unwind.h |
894a47b4 | 677 | ;; |
79573034 | 678 | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu) |
fe27820f | 679 | extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o" |
2a8549e0 | 680 | tmake_file="${tmake_file} i386/t-crtpc t-crtfm i386/t-crtstuff t-dfprules" |
58ca7445 | 681 | tm_file="${tm_file} i386/elf-lib.h" |
fe27820f | 682 | ;; |
683 | x86_64-*-linux*) | |
6d057ce8 | 684 | extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o" |
2a8549e0 | 685 | tmake_file="${tmake_file} i386/t-crtpc t-crtfm i386/t-crtstuff t-dfprules" |
58ca7445 | 686 | tm_file="${tm_file} i386/elf-lib.h" |
1e53920f | 687 | md_unwind_header=i386/linux-unwind.h |
894a47b4 | 688 | ;; |
79573034 | 689 | x86_64-*-kfreebsd*-gnu) |
fe27820f | 690 | extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o" |
2a8549e0 | 691 | tmake_file="${tmake_file} i386/t-crtpc t-crtfm i386/t-crtstuff t-dfprules" |
58ca7445 | 692 | tm_file="${tm_file} i386/elf-lib.h" |
fe27820f | 693 | ;; |
894a47b4 | 694 | i[34567]86-pc-msdosdjgpp*) |
695 | ;; | |
696 | i[34567]86-*-lynxos*) | |
697 | ;; | |
894a47b4 | 698 | i[34567]86-*-nto-qnx*) |
4dc4ff49 | 699 | tmake_file="$tmake_file i386/t-nto t-libgcc-pic" |
237490bf | 700 | extra_parts=crtbegin.o |
894a47b4 | 701 | ;; |
702 | i[34567]86-*-rtems*) | |
ac34f4bd | 703 | tmake_file="$tmake_file i386/t-crtstuff t-softfp-sfdftf i386/32/t-softfp i386/t-softfp t-softfp" |
237490bf | 704 | extra_parts="$extra_parts crti.o crtn.o" |
894a47b4 | 705 | ;; |
0fd03648 | 706 | i[34567]86-*-solaris2* | x86_64-*-solaris2*) |
65e1ae67 | 707 | tmake_file="$tmake_file i386/t-crtpc t-crtfm i386/t-msabi" |
ba079bc9 | 708 | extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o" |
43cbcd84 | 709 | tm_file="${tm_file} i386/elf-lib.h" |
1e53920f | 710 | md_unwind_header=i386/sol2-unwind.h |
894a47b4 | 711 | ;; |
0e50554f | 712 | i[4567]86-wrs-vxworks|i[4567]86-wrs-vxworksae|i[4567]86-wrs-vxworks7|x86_64-wrs-vxworks7) |
894a47b4 | 713 | ;; |
1e53920f | 714 | i[34567]86-*-cygwin*) |
1db4f54b | 715 | extra_parts="crtbegin.o crtbeginS.o crtend.o crtfastmath.o" |
5be42fa9 | 716 | if test x$enable_vtable_verify = xyes; then |
717 | extra_parts="$extra_parts vtv_start.o vtv_end.o vtv_start_preinit.o vtv_end_preinit.o" | |
718 | fi | |
a997b0d8 | 719 | # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h |
177cc56c | 720 | if test x$ac_cv_sjlj_exceptions = xyes; then |
a997b0d8 | 721 | tmake_eh_file="i386/t-sjlj-eh" |
722 | else | |
723 | tmake_eh_file="i386/t-dw2-eh" | |
724 | fi | |
725 | # Shared libgcc DLL install dir depends on cross/native build. | |
726 | if test x${build} = x${host} ; then | |
727 | tmake_dlldir_file="i386/t-dlldir" | |
728 | else | |
729 | tmake_dlldir_file="i386/t-dlldir-x" | |
730 | fi | |
2a8549e0 | 731 | 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" |
8f433c51 | 732 | ;; |
45d13ef4 | 733 | x86_64-*-cygwin*) |
1db4f54b | 734 | extra_parts="crtbegin.o crtbeginS.o crtend.o crtfastmath.o" |
5be42fa9 | 735 | if test x$enable_vtable_verify = xyes; then |
736 | extra_parts="$extra_parts vtv_start.o vtv_end.o vtv_start_preinit.o vtv_end_preinit.o" | |
737 | fi | |
45d13ef4 | 738 | # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h |
177cc56c | 739 | if test x$ac_cv_sjlj_exceptions = xyes; then |
45d13ef4 | 740 | tmake_eh_file="i386/t-sjlj-eh" |
51d42eb1 | 741 | elif test "${host_address}" = 32; then |
742 | # biarch -m32 with --disable-sjlj-exceptions | |
743 | tmake_eh_file="i386/t-dw2-eh" | |
45d13ef4 | 744 | else |
745 | tmake_eh_file="i386/t-seh-eh" | |
746 | fi | |
747 | # Shared libgcc DLL install dir depends on cross/native build. | |
748 | if test x${build} = x${host} ; then | |
749 | tmake_dlldir_file="i386/t-dlldir" | |
750 | else | |
751 | tmake_dlldir_file="i386/t-dlldir-x" | |
752 | fi | |
753 | # FIXME - dj - t-chkstk used to be in here, need a 64-bit version of that | |
2a8549e0 | 754 | 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" |
45d13ef4 | 755 | ;; |
1e53920f | 756 | i[34567]86-*-mingw*) |
757 | extra_parts="crtbegin.o crtend.o crtfastmath.o" | |
5be42fa9 | 758 | if test x$enable_vtable_verify = xyes; then |
759 | extra_parts="$extra_parts vtv_start.o vtv_end.o vtv_start_preinit.o vtv_end_preinit.o" | |
760 | fi | |
4dc4ff49 | 761 | case ${target_thread_file} in |
762 | win32) | |
763 | tmake_file="$tmake_file i386/t-gthr-win32" | |
764 | ;; | |
2d00fffd | 765 | posix) |
766 | tmake_file="i386/t-mingw-pthread $tmake_file" | |
767 | ;; | |
4dc4ff49 | 768 | esac |
a997b0d8 | 769 | # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h |
177cc56c | 770 | if test x$ac_cv_sjlj_exceptions = xyes; then |
a997b0d8 | 771 | tmake_eh_file="i386/t-sjlj-eh" |
772 | else | |
773 | tmake_eh_file="i386/t-dw2-eh" | |
7ed6dbef | 774 | md_unwind_header=i386/w32-unwind.h |
a997b0d8 | 775 | fi |
776 | # Shared libgcc DLL install dir depends on cross/native build. | |
777 | if test x${build} = x${host} ; then | |
778 | tmake_dlldir_file="i386/t-dlldir" | |
779 | else | |
780 | tmake_dlldir_file="i386/t-dlldir-x" | |
781 | fi | |
2a8549e0 | 782 | 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" |
1e53920f | 783 | ;; |
8f433c51 | 784 | x86_64-*-mingw*) |
4dc4ff49 | 785 | case ${target_thread_file} in |
786 | win32) | |
787 | tmake_file="$tmake_file i386/t-gthr-win32" | |
788 | ;; | |
2d00fffd | 789 | posix) |
790 | tmake_file="i386/t-mingw-pthread $tmake_file" | |
791 | ;; | |
4dc4ff49 | 792 | esac |
a997b0d8 | 793 | # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h |
177cc56c | 794 | if test x$ac_cv_sjlj_exceptions = xyes; then |
a997b0d8 | 795 | tmake_eh_file="i386/t-sjlj-eh" |
51d42eb1 | 796 | elif test "${host_address}" = 32; then |
797 | # biarch -m32 with --disable-sjlj-exceptions | |
798 | tmake_eh_file="i386/t-dw2-eh" | |
799 | md_unwind_header=i386/w32-unwind.h | |
a997b0d8 | 800 | else |
8ad0b530 | 801 | tmake_eh_file="i386/t-seh-eh" |
a997b0d8 | 802 | fi |
803 | # Shared libgcc DLL install dir depends on cross/native build. | |
804 | if test x${build} = x${host} ; then | |
805 | tmake_dlldir_file="i386/t-dlldir" | |
806 | else | |
807 | tmake_dlldir_file="i386/t-dlldir-x" | |
808 | fi | |
2a8549e0 | 809 | 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" |
0624d0c7 | 810 | extra_parts="$extra_parts crtbegin.o crtend.o crtfastmath.o" |
5be42fa9 | 811 | if test x$enable_vtable_verify = xyes; then |
812 | extra_parts="$extra_parts vtv_start.o vtv_end.o vtv_start_preinit.o vtv_end_preinit.o" | |
813 | fi | |
894a47b4 | 814 | ;; |
894a47b4 | 815 | ia64*-*-elf*) |
237490bf | 816 | extra_parts="$extra_parts crtbeginS.o crtendS.o crtfastmath.o" |
dff001ee | 817 | 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" |
894a47b4 | 818 | ;; |
819 | ia64*-*-freebsd*) | |
237490bf | 820 | extra_parts="$extra_parts crtfastmath.o" |
dff001ee | 821 | 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" |
894a47b4 | 822 | ;; |
823 | ia64*-*-linux*) | |
237490bf | 824 | # Don't use crtbeginT.o from *-*-linux* default. |
894a47b4 | 825 | extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o" |
2ff958e6 | 826 | 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" |
e59be7e3 | 827 | if test x$with_system_libunwind != xyes ; then |
a997b0d8 | 828 | tmake_file="${tmake_file} t-libunwind-elf ia64/t-linux-libunwind" |
e59be7e3 | 829 | fi |
1e53920f | 830 | md_unwind_header=ia64/linux-unwind.h |
894a47b4 | 831 | ;; |
832 | ia64*-*-hpux*) | |
2ff958e6 | 833 | tmake_file="ia64/t-ia64 ia64/t-ia64-elf ia64/t-hpux t-slibgcc ia64/t-slibgcc-hpux t-slibgcc-hpux" |
894a47b4 | 834 | ;; |
9b9a2528 | 835 | ia64-hp-*vms*) |
dff001ee | 836 | 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" |
237490bf | 837 | extra_parts="$extra_parts crtinitS.o" |
1e53920f | 838 | md_unwind_header=ia64/vms-unwind.h |
9b9a2528 | 839 | ;; |
894a47b4 | 840 | iq2000*-*-elf*) |
08417926 | 841 | tmake_file="iq2000/t-iq2000 t-fdpbit" |
237490bf | 842 | # Don't use default. |
843 | extra_parts= | |
894a47b4 | 844 | ;; |
fbb6f195 | 845 | lm32-*-elf*) |
237490bf | 846 | extra_parts="$extra_parts crti.o crtn.o" |
84600db5 | 847 | tmake_file="lm32/t-lm32 lm32/t-elf t-softfp-sfdf t-softfp" |
f6fe91e8 | 848 | ;; |
fbb6f195 | 849 | lm32-*-rtems*) |
850 | tmake_file="$tmake_file lm32/t-lm32 lm32/t-elf t-softfp-sfdf t-softfp" | |
851 | extra_parts="$extra_parts crti.o crtn.o" | |
852 | ;; | |
f6fe91e8 | 853 | lm32-*-uclinux*) |
237490bf | 854 | extra_parts="$extra_parts crtbegin.o crtendS.o crtbeginT.o" |
4dc4ff49 | 855 | tmake_file="lm32/t-lm32 lm32/t-uclinux t-libgcc-pic t-softfp-sfdf t-softfp" |
f6fe91e8 | 856 | ;; |
237490bf | 857 | m32r-*-elf*) |
78c81e30 | 858 | tmake_file="$tmake_file m32r/t-m32r t-fdpbit" |
859 | extra_parts="$extra_parts crtinit.o crtfini.o" | |
894a47b4 | 860 | ;; |
861 | m32rle-*-elf*) | |
a23b9c51 | 862 | tmake_file=t-fdpbit |
894a47b4 | 863 | ;; |
864 | m32r-*-linux*) | |
237490bf | 865 | tmake_file="$tmake_file m32r/t-linux t-fdpbit" |
894a47b4 | 866 | ;; |
867 | m32rle-*-linux*) | |
237490bf | 868 | tmake_file="$tmake_file m32r/t-linux t-fdpbit" |
894a47b4 | 869 | ;; |
9213d2eb | 870 | m68k-*-elf* | fido-*-elf) |
871 | tmake_file="$tmake_file m68k/t-floatlib" | |
894a47b4 | 872 | ;; |
6af9f7ea | 873 | m68k*-*-netbsdelf*) |
894a47b4 | 874 | ;; |
875 | m68k*-*-openbsd*) | |
876 | ;; | |
5bb27b7c | 877 | m68k-*-uclinux*) # Motorola m68k/ColdFire running uClinux with uClibc |
878 | tmake_file="$tmake_file m68k/t-floatlib m68k/t-linux" | |
1e53920f | 879 | md_unwind_header=m68k/linux-unwind.h |
894a47b4 | 880 | ;; |
1e53920f | 881 | m68k-*-linux*) # Motorola m68k's running GNU/Linux |
894a47b4 | 882 | # with ELF format using glibc 2 |
883 | # aka the GNU/Linux C library 6. | |
5bb27b7c | 884 | tmake_file="$tmake_file m68k/t-floatlib m68k/t-linux" |
177cc56c | 885 | # If not configured with setjmp/longjmp exceptions, bump the |
a997b0d8 | 886 | # libgcc version number. |
177cc56c | 887 | if test x$ac_cv_sjlj_exceptions != xyes; then |
a997b0d8 | 888 | tmake_file="$tmake_file m68k/t-slibgcc-elf-ver" |
889 | fi | |
1e53920f | 890 | md_unwind_header=m68k/linux-unwind.h |
894a47b4 | 891 | ;; |
892 | m68k-*-rtems*) | |
9213d2eb | 893 | tmake_file="$tmake_file m68k/t-floatlib" |
237490bf | 894 | extra_parts="$extra_parts crti.o crtn.o" |
894a47b4 | 895 | ;; |
896 | mcore-*-elf) | |
9213d2eb | 897 | tmake_file="mcore/t-mcore t-fdpbit" |
237490bf | 898 | extra_parts="$extra_parts crti.o crtn.o" |
894a47b4 | 899 | ;; |
a997b0d8 | 900 | microblaze*-linux*) |
c48df545 | 901 | tmake_file="${tmake_file} microblaze/t-microblaze t-fdpbit t-slibgcc-libgcc" |
a997b0d8 | 902 | ;; |
98f2ac05 | 903 | microblaze*-*-elf) |
904 | tmake_file="${tmake_file} microblaze/t-microblaze t-fdpbit" | |
905 | extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o crti.o crtn.o" | |
d34b0d1e | 906 | ;; |
d742e92d | 907 | microblaze*-*-rtems*) |
908 | tmake_file="${tmake_file} microblaze/t-microblaze t-fdpbit" | |
909 | extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o crti.o crtn.o" | |
910 | ;; | |
894a47b4 | 911 | mips*-*-netbsd*) # NetBSD/mips, either endian. |
912 | ;; | |
894a47b4 | 913 | mips*-*-linux*) # Linux MIPS, either endian. |
283681bb | 914 | extra_parts="$extra_parts crtfastmath.o" |
60b34f30 | 915 | tmake_file="${tmake_file} t-crtfm" |
60b34f30 | 916 | case ${host} in |
272552a3 | 917 | mips64r5900* | mipsr5900*) |
918 | # The MIPS16 support code uses floating point | |
919 | # instructions that are not supported on r5900. | |
920 | ;; | |
921 | *) | |
922 | tmake_file="${tmake_file} mips/t-mips16 t-slibgcc-libgcc" | |
923 | ;; | |
60b34f30 | 924 | esac |
1e53920f | 925 | md_unwind_header=mips/linux-unwind.h |
894a47b4 | 926 | ;; |
a23b9c51 | 927 | mips*-sde-elf*) |
20dbbfaf | 928 | tmake_file="$tmake_file mips/t-crtstuff mips/t-mips16" |
a23b9c51 | 929 | case "${with_newlib}" in |
930 | yes) | |
931 | # newlib / libgloss. | |
932 | ;; | |
933 | *) | |
934 | # MIPS toolkit libraries. | |
237490bf | 935 | tmake_file="$tmake_file mips/t-sdemtk" |
a23b9c51 | 936 | ;; |
937 | esac | |
237490bf | 938 | extra_parts="$extra_parts crti.o crtn.o" |
a23b9c51 | 939 | ;; |
21889c08 | 940 | mipsisa32-*-elf* | mipsisa32el-*-elf* | \ |
941 | mipsisa32r2-*-elf* | mipsisa32r2el-*-elf* | \ | |
78645e70 | 942 | mipsisa32r6-*-elf* | mipsisa32r6el-*-elf* | \ |
21889c08 | 943 | mipsisa64-*-elf* | mipsisa64el-*-elf* | \ |
78645e70 | 944 | mipsisa64r2-*-elf* | mipsisa64r2el-*-elf* | \ |
945 | mipsisa64r6-*-elf* | mipsisa64r6el-*-elf*) | |
4dc4ff49 | 946 | tmake_file="$tmake_file mips/t-elf mips/t-crtstuff mips/t-mips16" |
237490bf | 947 | extra_parts="$extra_parts crti.o crtn.o" |
77a32a8e | 948 | ;; |
894a47b4 | 949 | mipsisa64sr71k-*-elf*) |
20dbbfaf | 950 | tmake_file="$tmake_file mips/t-elf mips/t-crtstuff t-fdpbit" |
237490bf | 951 | extra_parts="$extra_parts crti.o crtn.o" |
894a47b4 | 952 | ;; |
953 | mipsisa64sb1-*-elf* | mipsisa64sb1el-*-elf*) | |
4dc4ff49 | 954 | tmake_file="$tmake_file mips/t-elf mips/t-crtstuff mips/t-mips16" |
237490bf | 955 | extra_parts="$extra_parts crti.o crtn.o" |
894a47b4 | 956 | ;; |
957 | mips-*-elf* | mipsel-*-elf*) | |
4dc4ff49 | 958 | tmake_file="$tmake_file mips/t-elf mips/t-crtstuff mips/t-mips16" |
237490bf | 959 | extra_parts="$extra_parts crti.o crtn.o" |
894a47b4 | 960 | ;; |
60b34f30 | 961 | mipsr5900-*-elf* | mipsr5900el-*-elf*) |
962 | tmake_file="$tmake_file mips/t-elf mips/t-crtstuff" | |
963 | extra_parts="$extra_parts crti.o crtn.o" | |
964 | ;; | |
894a47b4 | 965 | mips64-*-elf* | mips64el-*-elf*) |
4dc4ff49 | 966 | tmake_file="$tmake_file mips/t-elf mips/t-crtstuff mips/t-mips16" |
237490bf | 967 | extra_parts="$extra_parts crti.o crtn.o" |
894a47b4 | 968 | ;; |
60b34f30 | 969 | mips64r5900-*-elf* | mips64r5900el-*-elf*) |
970 | tmake_file="$tmake_file mips/t-elf mips/t-crtstuff" | |
971 | extra_parts="$extra_parts crti.o crtn.o" | |
972 | ;; | |
894a47b4 | 973 | mips64vr-*-elf* | mips64vrel-*-elf*) |
4dc4ff49 | 974 | tmake_file="$tmake_file mips/t-elf mips/t-vr mips/t-crtstuff" |
237490bf | 975 | extra_parts="$extra_parts crti.o crtn.o" |
894a47b4 | 976 | ;; |
977 | mips64orion-*-elf* | mips64orionel-*-elf*) | |
4dc4ff49 | 978 | tmake_file="$tmake_file mips/t-elf mips/t-crtstuff mips/t-mips16" |
237490bf | 979 | extra_parts="$extra_parts crti.o crtn.o" |
894a47b4 | 980 | ;; |
981 | mips*-*-rtems*) | |
4dc4ff49 | 982 | tmake_file="$tmake_file mips/t-elf mips/t-crtstuff mips/t-mips16" |
237490bf | 983 | extra_parts="$extra_parts crti.o crtn.o" |
894a47b4 | 984 | ;; |
985 | mips-wrs-vxworks) | |
986 | ;; | |
894a47b4 | 987 | mipstx39-*-elf* | mipstx39el-*-elf*) |
237490bf | 988 | tmake_file="$tmake_file mips/t-crtstuff mips/t-mips16" |
894a47b4 | 989 | ;; |
990 | mmix-knuth-mmixware) | |
8525326e | 991 | extra_parts="crti.o crtn.o crtbegin.o crtend.o" |
992 | tmake_file="${tmake_file} ${cpu_type}/t-${cpu_type}" | |
894a47b4 | 993 | ;; |
994 | mn10300-*-*) | |
a23b9c51 | 995 | tmake_file=t-fdpbit |
894a47b4 | 996 | ;; |
ffdf58db | 997 | moxie-*-elf | moxie-*-moxiebox* | moxie-*-uclinux* | moxie-*-rtems*) |
fbb6f195 | 998 | tmake_file="$tmake_file moxie/t-moxie t-softfp-sfdf t-softfp-excl t-softfp" |
ffdf58db | 999 | extra_parts="$extra_parts crti.o crtn.o crtbegin.o crtend.o" |
be52b6d8 | 1000 | ;; |
e4a25868 | 1001 | msp430*-*-elf) |
1002 | tmake_file="$tm_file t-crtstuff t-fdpbit msp430/t-msp430" | |
7ed86ba5 | 1003 | extra_parts="$extra_parts libmul_none.a libmul_16.a libmul_32.a libmul_f5.a" |
e4a25868 | 1004 | ;; |
a5a22b4f | 1005 | nds32*-linux*) |
1006 | # Basic makefile fragment and extra_parts for crt stuff. | |
1007 | # We also append c-isr library implementation. | |
1008 | tmake_file="${tmake_file} t-slibgcc-libgcc" | |
1009 | tmake_file="${tmake_file} nds32/t-nds32-glibc nds32/t-crtstuff t-softfp-sfdf t-softfp" | |
1010 | # The header file of defining MD_FALLBACK_FRAME_STATE_FOR. | |
1011 | md_unwind_header=nds32/linux-unwind.h | |
1012 | # Append library definition makefile fragment according to --with-nds32-lib=X setting. | |
1013 | case "${with_nds32_lib}" in | |
1014 | "" | glibc | uclibc ) | |
1015 | ;; | |
1016 | *) | |
1017 | echo "Cannot accept --with-nds32-lib=$with_nds32_lib, available values are: glibc uclibc" 1>&2 | |
1018 | exit 1 | |
1019 | ;; | |
1020 | esac | |
1021 | ;; | |
eae21ed1 | 1022 | nds32*-elf*) |
1023 | # Basic makefile fragment and extra_parts for crt stuff. | |
1024 | # We also append c-isr library implementation. | |
1025 | tmake_file="${tmake_file} nds32/t-nds32 nds32/t-nds32-isr" | |
1026 | extra_parts="crtbegin1.o crtend1.o libnds32_isr.a" | |
1027 | # Append library definition makefile fragment according to --with-nds32-lib=X setting. | |
1028 | case "${with_nds32_lib}" in | |
1029 | "" | newlib) | |
1030 | # Append library definition makefile fragment t-nds32-newlib. | |
1031 | # Append 'soft-fp' software floating point make rule fragment provided by gcc. | |
1032 | tmake_file="${tmake_file} nds32/t-nds32-newlib t-softfp-sfdf t-softfp" | |
1033 | ;; | |
1034 | mculib) | |
1035 | # Append library definition makefile fragment t-nds32-mculib. | |
1036 | # The software floating point library is included in mculib. | |
1037 | tmake_file="${tmake_file} nds32/t-nds32-mculib" | |
1038 | ;; | |
1039 | *) | |
1040 | echo "Cannot accept --with-nds32-lib=$with_nds32_lib, available values are: newlib mculib" 1>&2 | |
1041 | exit 1 | |
1042 | ;; | |
1043 | esac | |
1044 | ;; | |
de65406d | 1045 | nios2-*-linux*) |
1046 | tmake_file="$tmake_file nios2/t-nios2 nios2/t-linux t-libgcc-pic t-slibgcc-libgcc" | |
de65406d | 1047 | md_unwind_header=nios2/linux-unwind.h |
1048 | ;; | |
1049 | nios2-*-*) | |
1050 | tmake_file="$tmake_file nios2/t-nios2 t-softfp-sfdf t-softfp-excl t-softfp" | |
1051 | extra_parts="$extra_parts crti.o crtn.o" | |
1052 | ;; | |
2acd4f1d | 1053 | or1k-*-linux*) |
1054 | tmake_file="$tmake_file or1k/t-or1k" | |
1055 | tmake_file="$tmake_file t-softfp-sfdf t-softfp" | |
1056 | md_unwind_header=or1k/linux-unwind.h | |
1057 | ;; | |
1058 | or1k-*-*) | |
1059 | tmake_file="$tmake_file or1k/t-or1k" | |
1060 | tmake_file="$tmake_file t-softfp-sfdf t-softfp" | |
1061 | ;; | |
894a47b4 | 1062 | pdp11-*-*) |
4dc4ff49 | 1063 | tmake_file="pdp11/t-pdp11 t-fdpbit" |
894a47b4 | 1064 | ;; |
894a47b4 | 1065 | powerpc-*-darwin*) |
1e53920f | 1066 | case ${host} in |
1067 | *-*-darwin9* | *-*-darwin[12][0-9]*) | |
1068 | # libSystem contains unwind information for signal frames since | |
1069 | # Darwin 9. | |
1070 | ;; | |
1071 | *) | |
1072 | md_unwind_header=rs6000/darwin-unwind.h | |
1073 | ;; | |
1074 | esac | |
84600db5 | 1075 | tmake_file="$tmake_file rs6000/t-ibm-ldouble" |
1a4a11f3 | 1076 | extra_parts="$extra_parts crt2.o" |
894a47b4 | 1077 | ;; |
1078 | powerpc64-*-darwin*) | |
4dc4ff49 | 1079 | tmake_file="$tmake_file rs6000/t-darwin64 rs6000/t-ibm-ldouble" |
1a4a11f3 | 1080 | extra_parts="$extra_parts crt2.o" |
894a47b4 | 1081 | ;; |
bdd1ee48 | 1082 | powerpc*-*-freebsd*) |
1083 | tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff rs6000/t-freebsd t-softfp-sfdf t-softfp-excl t-softfp" | |
237490bf | 1084 | extra_parts="$extra_parts crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" |
bdd1ee48 | 1085 | case ${host} in |
1086 | powerpc64*) | |
1087 | tmake_file="${tmake_file} rs6000/t-freebsd64" | |
1088 | md_unwind_header=rs6000/freebsd-unwind.h | |
1089 | ;; | |
1090 | esac | |
894a47b4 | 1091 | ;; |
1092 | powerpc-*-netbsd*) | |
08417926 | 1093 | tmake_file="$tmake_file rs6000/t-netbsd rs6000/t-crtstuff" |
894a47b4 | 1094 | ;; |
894a47b4 | 1095 | powerpc-*-eabispe*) |
16348e18 | 1096 | tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" |
237490bf | 1097 | extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" |
894a47b4 | 1098 | ;; |
1099 | powerpc-*-eabisimaltivec*) | |
738c50b8 | 1100 | tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" |
237490bf | 1101 | extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" |
894a47b4 | 1102 | ;; |
1103 | powerpc-*-eabisim*) | |
738c50b8 | 1104 | tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" |
237490bf | 1105 | extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" |
894a47b4 | 1106 | ;; |
1107 | powerpc-*-elf*) | |
47ab8c10 | 1108 | tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" |
237490bf | 1109 | extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" |
894a47b4 | 1110 | ;; |
1111 | powerpc-*-eabialtivec*) | |
738c50b8 | 1112 | tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" |
237490bf | 1113 | extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" |
a23b9c51 | 1114 | ;; |
1115 | powerpc-xilinx-eabi*) | |
738c50b8 | 1116 | tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" |
237490bf | 1117 | extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" |
894a47b4 | 1118 | ;; |
1119 | powerpc-*-eabi*) | |
738c50b8 | 1120 | tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" |
237490bf | 1121 | extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" |
894a47b4 | 1122 | ;; |
1123 | powerpc-*-rtems*) | |
a2397d15 | 1124 | tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" |
237490bf | 1125 | extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" |
894a47b4 | 1126 | ;; |
d80dc920 | 1127 | powerpc*-*-linux*) |
e707b8cc | 1128 | 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" |
ec3f28c9 | 1129 | tmake_file="${tmake_file} t-stack rs6000/t-stack-rs6000" |
fd1eaa27 | 1130 | case $ppc_fp_type in |
1131 | 64) | |
1132 | ;; | |
1133 | hard) | |
1134 | tmake_file="${tmake_file} t-hardfp-sfdf t-hardfp" | |
1135 | ;; | |
1136 | soft) | |
0e36a0d7 | 1137 | tmake_file="${tmake_file} t-softfp-sfdf ${ppc_fp_compat} t-softfp" |
fd1eaa27 | 1138 | ;; |
d9b5cf5c | 1139 | e500v1) |
0e36a0d7 | 1140 | tmake_file="${tmake_file} rs6000/t-e500v1-fp ${ppc_fp_compat} t-softfp t-hardfp" |
d9b5cf5c | 1141 | ;; |
1142 | e500v2) | |
0e36a0d7 | 1143 | tmake_file="${tmake_file} t-hardfp-sfdf rs6000/t-e500v2-fp ${ppc_fp_compat} t-softfp t-hardfp" |
fd1eaa27 | 1144 | ;; |
1145 | *) | |
1146 | echo "Unknown ppc_fp_type $ppc_fp_type" 1>&2 | |
1147 | exit 1 | |
1148 | ;; | |
1149 | esac | |
d99eec2c | 1150 | |
1151 | if test $libgcc_cv_powerpc_float128 = yes; then | |
1152 | tmake_file="${tmake_file} rs6000/t-float128" | |
1153 | fi | |
1154 | ||
1155 | if test $libgcc_cv_powerpc_float128_hw = yes; then | |
1156 | tmake_file="${tmake_file} rs6000/t-float128-hw" | |
1157 | fi | |
1158 | ||
237490bf | 1159 | extra_parts="$extra_parts ecrti.o ecrtn.o ncrti.o ncrtn.o" |
1e53920f | 1160 | md_unwind_header=rs6000/linux-unwind.h |
894a47b4 | 1161 | ;; |
061339f2 | 1162 | powerpc-wrs-vxworks*) |
47ab8c10 | 1163 | tmake_file="$tmake_file rs6000/t-ppccomm rs6000/t-savresfgpr t-fdpbit" |
f8a195db | 1164 | extra_parts="$extra_parts crtbegin.o crtend.o" |
894a47b4 | 1165 | ;; |
894a47b4 | 1166 | powerpc-*-lynxos*) |
08417926 | 1167 | tmake_file="$tmake_file rs6000/t-lynx t-fdpbit" |
894a47b4 | 1168 | ;; |
894a47b4 | 1169 | powerpcle-*-elf*) |
738c50b8 | 1170 | tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" |
237490bf | 1171 | extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" |
894a47b4 | 1172 | ;; |
1173 | powerpcle-*-eabisim*) | |
738c50b8 | 1174 | tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" |
237490bf | 1175 | extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" |
894a47b4 | 1176 | ;; |
1177 | powerpcle-*-eabi*) | |
738c50b8 | 1178 | tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" |
237490bf | 1179 | extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" |
894a47b4 | 1180 | ;; |
36387fad | 1181 | riscv*-*-linux*) |
1182 | tmake_file="${tmake_file} riscv/t-softfp${host_address} t-softfp riscv/t-elf riscv/t-elf${host_address}" | |
1183 | extra_parts="$extra_parts crtbegin.o crtend.o crti.o crtn.o crtendS.o crtbeginT.o" | |
1184 | md_unwind_header=riscv/linux-unwind.h | |
1185 | ;; | |
7ea6a647 | 1186 | riscv*-*-freebsd*) |
1187 | tmake_file="${tmake_file} riscv/t-softfp${host_address} t-softfp riscv/t-elf riscv/t-elf${host_address}" | |
1188 | extra_parts="$extra_parts crtbegin.o crtend.o crti.o crtn.o crtendS.o crtbeginT.o" | |
1189 | ;; | |
36387fad | 1190 | riscv*-*-*) |
1191 | tmake_file="${tmake_file} riscv/t-softfp${host_address} t-softfp riscv/t-elf riscv/t-elf${host_address}" | |
1192 | extra_parts="$extra_parts crtbegin.o crtend.o crti.o crtn.o" | |
1193 | ;; | |
894a47b4 | 1194 | rs6000-ibm-aix4.[3456789]* | powerpc-ibm-aix4.[3456789]*) |
e59be7e3 | 1195 | md_unwind_header=rs6000/aix-unwind.h |
c1420b84 | 1196 | tmake_file="t-fdpbit rs6000/t-ppc64-fp rs6000/t-slibgcc-aix rs6000/t-ibm-ldouble" |
894a47b4 | 1197 | ;; |
1198 | rs6000-ibm-aix5.1.* | powerpc-ibm-aix5.1.*) | |
e59be7e3 | 1199 | md_unwind_header=rs6000/aix-unwind.h |
c1420b84 | 1200 | tmake_file="t-fdpbit rs6000/t-ppc64-fp rs6000/t-slibgcc-aix rs6000/t-ibm-ldouble" |
894a47b4 | 1201 | ;; |
1202 | rs6000-ibm-aix[56789].* | powerpc-ibm-aix[56789].*) | |
e59be7e3 | 1203 | md_unwind_header=rs6000/aix-unwind.h |
a8af2dd5 | 1204 | tmake_file="t-fdpbit rs6000/t-ppc64-fp rs6000/t-slibgcc-aix rs6000/t-ibm-ldouble rs6000/t-aix-cxa" |
552a60d3 | 1205 | extra_parts="crtcxa.o crtcxa_s.o crtdbase.o" |
894a47b4 | 1206 | ;; |
78e515f7 | 1207 | rl78-*-elf) |
1208 | tmake_file="$tm_file t-fdpbit rl78/t-rl78" | |
1209 | ;; | |
24833e1a | 1210 | rx-*-elf) |
a23b9c51 | 1211 | tmake_file="rx/t-rx t-fdpbit" |
022a2799 | 1212 | tm_file="$tm_file rx/rx-abi.h rx/rx-lib.h" |
24833e1a | 1213 | ;; |
00a94423 | 1214 | rx-*-linux*) |
1215 | tmake_file="rx/t-rx" | |
1216 | ;; | |
894a47b4 | 1217 | s390-*-linux*) |
c6d481f7 | 1218 | tmake_file="${tmake_file} s390/t-crtstuff s390/t-linux s390/32/t-floattodi t-stack s390/t-stack-s390" |
1e53920f | 1219 | md_unwind_header=s390/linux-unwind.h |
894a47b4 | 1220 | ;; |
1221 | s390x-*-linux*) | |
c6d481f7 | 1222 | tmake_file="${tmake_file} s390/t-crtstuff s390/t-linux t-stack s390/t-stack-s390" |
368b5b2c | 1223 | if test "${host_address}" = 32; then |
1224 | tmake_file="${tmake_file} s390/32/t-floattodi" | |
1225 | fi | |
1e53920f | 1226 | md_unwind_header=s390/linux-unwind.h |
894a47b4 | 1227 | ;; |
1228 | s390x-ibm-tpf*) | |
4dc4ff49 | 1229 | tmake_file="${tmake_file} s390/t-crtstuff t-libgcc-pic t-eh-dw2-dip" |
237490bf | 1230 | extra_parts="crtbeginS.o crtendS.o" |
f9cccfac | 1231 | md_unwind_header=s390/tpf-unwind.h |
894a47b4 | 1232 | ;; |
237490bf | 1233 | sh-*-elf* | sh[12346l]*-*-elf*) |
1234 | tmake_file="$tmake_file sh/t-sh t-crtstuff-pic t-fdpbit" | |
1235 | extra_parts="$extra_parts crt1.o crti.o crtn.o crtbeginS.o crtendS.o \ | |
1236 | libic_invalidate_array_4-100.a \ | |
1237 | libic_invalidate_array_4-200.a \ | |
1238 | libic_invalidate_array_4a.a \ | |
1239 | libgcc-Os-4-200.a libgcc-4-300.a" | |
97f1a704 | 1240 | case ${host} in |
237490bf | 1241 | sh*-superh-elf) |
1242 | tmake_file="$tmake_file sh/t-superh" | |
1243 | extra_parts="$extra_parts crt1-mmu.o gcrt1-mmu.o gcrt1.o" | |
1244 | ;; | |
1245 | esac | |
1246 | ;; | |
1247 | sh-*-linux* | sh[2346lbe]*-*-linux*) | |
9213d2eb | 1248 | tmake_file="${tmake_file} sh/t-sh t-slibgcc-libgcc sh/t-linux t-fdpbit" |
237490bf | 1249 | md_unwind_header=sh/linux-unwind.h |
1250 | ;; | |
9a9b5abf | 1251 | sh-*-netbsdelf* | shl*-*-netbsdelf*) |
9213d2eb | 1252 | tmake_file="$tmake_file sh/t-sh sh/t-netbsd" |
9a9b5abf | 1253 | |
237490bf | 1254 | # NetBSD's C library includes a fast software FP library that |
1255 | # has support for setting/setting the rounding mode, exception | |
1256 | # mask, etc. Therefore, we don't want to include software FP | |
1257 | # in libgcc. | |
894a47b4 | 1258 | ;; |
894a47b4 | 1259 | sh-*-rtems*) |
9213d2eb | 1260 | tmake_file="$tmake_file sh/t-sh t-crtstuff-pic t-fdpbit" |
237490bf | 1261 | extra_parts="$extra_parts crt1.o crti.o crtn.o crtbeginS.o crtendS.o \ |
57380e33 | 1262 | libic_invalidate_array_4-100.a \ |
1263 | libic_invalidate_array_4-200.a \ | |
1264 | libic_invalidate_array_4a.a \ | |
1265 | libgcc-Os-4-200.a libgcc-4-300.a" | |
894a47b4 | 1266 | ;; |
1267 | sh-wrs-vxworks) | |
9213d2eb | 1268 | tmake_file="$tmake_file sh/t-sh t-crtstuff-pic t-fdpbit" |
894a47b4 | 1269 | ;; |
894a47b4 | 1270 | sparc-*-netbsdelf*) |
1271 | ;; | |
1272 | sparc64-*-openbsd*) | |
1273 | ;; | |
1274 | sparc-*-elf*) | |
63abf89e | 1275 | case ${host} in |
1276 | *-leon[3-9]*) | |
1277 | ;; | |
1278 | *) | |
1279 | tmake_file="sparc/t-softmul" | |
1280 | ;; | |
1281 | esac | |
237490bf | 1282 | tmake_file="${tmake_file} t-fdpbit t-crtfm" |
1283 | extra_parts="$extra_parts crti.o crtn.o crtfastmath.o" | |
894a47b4 | 1284 | ;; |
1285 | sparc-*-linux*) # SPARC's running GNU/Linux, libc6 | |
95de80bc | 1286 | tmake_file="${tmake_file} t-crtfm" |
1287 | if test "${host_address}" = 64; then | |
1288 | tmake_file="$tmake_file sparc/t-linux64" | |
1289 | fi | |
a23b9c51 | 1290 | case ${host} in |
1291 | *-leon*) | |
a997b0d8 | 1292 | tmake_file="${tmake_file} t-fdpbit" |
1293 | ;; | |
1294 | *) | |
1295 | tmake_file="${tmake_file} sparc/t-linux" | |
a23b9c51 | 1296 | ;; |
1297 | esac | |
9213d2eb | 1298 | case ${host} in |
1299 | *-leon[3-9]*) | |
1300 | ;; | |
1301 | *) | |
95de80bc | 1302 | if test "${host_address}" = 32; then |
1303 | tmake_file="$tmake_file sparc/t-softmul" | |
1304 | fi | |
9213d2eb | 1305 | ;; |
1306 | esac | |
894a47b4 | 1307 | extra_parts="$extra_parts crtfastmath.o" |
f9cccfac | 1308 | md_unwind_header=sparc/linux-unwind.h |
894a47b4 | 1309 | ;; |
a23b9c51 | 1310 | sparc-*-rtems*) |
fbb6f195 | 1311 | tmake_file="$tmake_file sparc/t-elf sparc/t-softmul t-crtfm t-fdpbit" |
237490bf | 1312 | extra_parts="$extra_parts crti.o crtn.o crtfastmath.o" |
894a47b4 | 1313 | ;; |
63abf89e | 1314 | sparc*-*-solaris2*) |
1315 | tmake_file="$tmake_file t-crtfm" | |
1316 | extra_parts="$extra_parts crtfastmath.o" | |
1e53920f | 1317 | md_unwind_header=sparc/sol2-unwind.h |
894a47b4 | 1318 | ;; |
894a47b4 | 1319 | sparc64-*-elf*) |
237490bf | 1320 | tmake_file="${tmake_file} t-crtfm" |
1321 | extra_parts="$extra_parts crti.o crtn.o crtfastmath.o" | |
894a47b4 | 1322 | ;; |
a23b9c51 | 1323 | sparc64-*-rtems*) |
00b706f9 | 1324 | tmake_file="$tmake_file t-crtfm" |
237490bf | 1325 | extra_parts="$extra_parts crti.o crtn.o crtfastmath.o" |
a23b9c51 | 1326 | ;; |
723e1902 | 1327 | sparc-wrs-vxworks) |
1328 | ;; | |
894a47b4 | 1329 | sparc64-*-freebsd*|ultrasparc-*-freebsd*) |
1125ba83 | 1330 | tmake_file="$tmake_file t-crtfm" |
237490bf | 1331 | extra_parts="$extra_parts crtfastmath.o" |
894a47b4 | 1332 | ;; |
1333 | sparc64-*-linux*) # 64-bit SPARC's running GNU/Linux | |
1334 | extra_parts="$extra_parts crtfastmath.o" | |
95de80bc | 1335 | tmake_file="${tmake_file} t-crtfm sparc/t-linux" |
1336 | if test "${host_address}" = 64; then | |
1337 | tmake_file="${tmake_file} sparc/t-linux64" | |
1338 | fi | |
1339 | if test "${host_address}" = 32; then | |
1340 | tmake_file="${tmake_file} sparc/t-softmul" | |
1341 | fi | |
1e53920f | 1342 | md_unwind_header=sparc/linux-unwind.h |
894a47b4 | 1343 | ;; |
1344 | sparc64-*-netbsd*) | |
1345 | ;; | |
1346 | spu-*-elf*) | |
4dc4ff49 | 1347 | tmake_file="$tmake_file spu/t-elf t-libgcc-pic t-fdpbit" |
237490bf | 1348 | extra_parts="$extra_parts \ |
1349 | libgcc_cachemgr.a libgcc_cachemgr_nonatomic.a \ | |
1350 | libgcc_cache8k.a libgcc_cache16k.a libgcc_cache32k.a \ | |
1351 | libgcc_cache64k.a libgcc_cache128k.a" | |
894a47b4 | 1352 | ;; |
a997b0d8 | 1353 | tic6x-*-uclinux) |
adce431d | 1354 | tmake_file="${tmake_file} t-softfp-sfdf t-softfp-excl t-softfp \ |
1355 | c6x/t-elf c6x/t-uclinux t-crtstuff-pic t-libgcc-pic \ | |
1356 | t-slibgcc t-slibgcc-gld t-slibgcc-elf-ver t-gnu-prefix" | |
022a2799 | 1357 | tm_file="$tm_file c6x/c6x-abi.h" |
adce431d | 1358 | extra_parts="$extra_parts crtbeginS.o crtendS.o crti.o crtn.o" |
a997b0d8 | 1359 | unwind_header=config/c6x/unwind-c6x.h |
1360 | ;; | |
237490bf | 1361 | tic6x-*-elf) |
1362 | tmake_file="${tmake_file} t-softfp-sfdf t-softfp-excl t-softfp t-gnu-prefix c6x/t-elf" | |
022a2799 | 1363 | tm_file="$tm_file c6x/c6x-abi.h" |
237490bf | 1364 | extra_parts="$extra_parts crtbeginS.o crtendS.o crti.o crtn.o" |
7e5fc0c4 | 1365 | unwind_header=config/c6x/unwind-c6x.h |
5aa04b01 | 1366 | ;; |
2da35515 | 1367 | tilegx*-*-linux*) |
d58f7073 | 1368 | if test "${host_address}" = 64; then |
1369 | tmake_file="${tmake_file} tilegx/t-softfp" | |
1370 | fi | |
1371 | tmake_file="${tmake_file} tilegx/t-crtstuff t-softfp-sfdf t-softfp tilegx/t-tilegx" | |
7ce78e23 | 1372 | md_unwind_header=tilepro/linux-unwind.h |
1373 | ;; | |
2da35515 | 1374 | tilepro*-*-linux*) |
6bf644d1 | 1375 | tmake_file="${tmake_file} tilepro/t-crtstuff t-softfp-sfdf t-softfp tilepro/t-tilepro t-slibgcc-libgcc" |
7ce78e23 | 1376 | md_unwind_header=tilepro/linux-unwind.h |
1377 | ;; | |
707238af | 1378 | v850*-*-*) |
0cdefccf | 1379 | tmake_file="${tmake_file} v850/t-v850 t-fdpbit" |
894a47b4 | 1380 | ;; |
63bfd172 | 1381 | vax-*-linux*) |
9213d2eb | 1382 | tmake_file="$tmake_file vax/t-linux" |
63bfd172 | 1383 | ;; |
894a47b4 | 1384 | vax-*-netbsdelf*) |
1385 | ;; | |
894a47b4 | 1386 | vax-*-openbsd*) |
1387 | ;; | |
8992df51 | 1388 | visium-*-elf*) |
1389 | extra_parts="$extra_parts crtbegin.o crtend.o crti.o crtn.o" | |
1390 | tmake_file="visium/t-visium t-fdpbit" | |
1391 | ;; | |
894a47b4 | 1392 | xstormy16-*-elf) |
2219274c | 1393 | tmake_file="stormy16/t-stormy16 t-fdpbit" |
894a47b4 | 1394 | ;; |
75c7ffbc | 1395 | xtensa*-*-elf*) |
237490bf | 1396 | tmake_file="$tmake_file xtensa/t-xtensa xtensa/t-elf" |
1397 | extra_parts="$extra_parts crti.o crtn.o" | |
894a47b4 | 1398 | ;; |
75c7ffbc | 1399 | xtensa*-*-linux*) |
382e1a72 | 1400 | tmake_file="$tmake_file xtensa/t-xtensa xtensa/t-linux t-slibgcc-libgcc" |
1e53920f | 1401 | md_unwind_header=xtensa/linux-unwind.h |
894a47b4 | 1402 | ;; |
e3c15dbe | 1403 | xtensa*-*-uclinux*) |
1404 | tmake_file="$tmake_file xtensa/t-xtensa xtensa/t-linux t-slibgcc-libgcc" | |
1405 | md_unwind_header=xtensa/linux-unwind.h | |
1406 | extra_parts="$extra_parts crtbeginS.o crtbeginT.o crtendS.o" | |
1407 | ;; | |
894a47b4 | 1408 | am33_2.0-*-linux*) |
237490bf | 1409 | # Don't need crtbeginT.o from *-*-linux* default. |
894a47b4 | 1410 | extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o" |
a997b0d8 | 1411 | tmake_file="$tmake_file t-fdpbit" |
894a47b4 | 1412 | ;; |
7eac0a4e | 1413 | m32c-*-elf*|m32c-*-rtems*) |
9213d2eb | 1414 | tmake_file="$tmake_file m32c/t-m32c" |
894a47b4 | 1415 | ;; |
8ce80784 | 1416 | nvptx-*) |
1417 | tmake_file="$tmake_file nvptx/t-nvptx" | |
1418 | extra_parts="crt0.o" | |
1419 | ;; | |
894a47b4 | 1420 | *) |
1421 | echo "*** Configuration ${host} not supported" 1>&2 | |
1422 | exit 1 | |
1423 | ;; | |
1424 | esac | |
e4cbe54f | 1425 | |
98c9b52b | 1426 | case ${host} in |
1427 | i[34567]86-*-* | x86_64-*-*) | |
6e6c7fc1 | 1428 | case ${host} in |
1429 | *-musl*) | |
1430 | tmake_file="${tmake_file} i386/t-cpuinfo-static" | |
1431 | ;; | |
1432 | *) | |
1433 | tmake_file="${tmake_file} i386/t-cpuinfo" | |
1434 | ;; | |
1435 | esac | |
98c9b52b | 1436 | ;; |
1437 | esac | |
1438 | ||
e4cbe54f | 1439 | case ${host} in |
1eab96a6 | 1440 | i[34567]86-*-linux* | x86_64-*-linux* | \ |
a997b0d8 | 1441 | i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu | \ |
1eab96a6 | 1442 | i[34567]86-*-gnu*) |
e67d3d38 | 1443 | tmake_file="${tmake_file} t-tls i386/t-linux i386/t-msabi t-slibgcc-libgcc" |
c9b3ebc5 | 1444 | if test "$libgcc_cv_cfi" = "yes"; then |
f2d9def0 | 1445 | tmake_file="${tmake_file} t-stack i386/t-stack-i386" |
c9b3ebc5 | 1446 | fi |
e4cbe54f | 1447 | ;; |
1448 | esac | |
b3fd46a0 | 1449 | |
1450 | case ${host} in | |
ac34f4bd | 1451 | i[34567]86-*-elfiamcu | i[34567]86-*-rtems*) |
1452 | # These use soft-fp for SFmode and DFmode, not just TFmode. | |
1453 | ;; | |
1454 | i[34567]86-*-* | x86_64-*-*) | |
84600db5 | 1455 | tmake_file="${tmake_file} t-softfp-tf" |
48cdc7d7 | 1456 | if test "${host_address}" = 32; then |
1457 | tmake_file="${tmake_file} i386/${host_address}/t-softfp" | |
1458 | fi | |
2c223cf2 | 1459 | tmake_file="${tmake_file} i386/t-softfp t-softfp" |
144633f4 | 1460 | ;; |
1461 | esac | |
1462 | ||
1463 | case ${host} in | |
1464 | i[34567]86-*-linux* | x86_64-*-linux*) | |
1465 | # Provide backward binary compatibility for 64bit Linux/x86. | |
1466 | if test "${host_address}" = 64; then | |
1467 | tmake_file="${tmake_file} i386/${host_address}/t-softfp-compat" | |
1468 | fi | |
022a2799 | 1469 | tm_file="${tm_file} i386/value-unwind.h" |
b3fd46a0 | 1470 | ;; |
9c0ca8b6 | 1471 | aarch64*-*-*) |
1472 | # ILP32 needs an extra header for unwinding | |
1473 | tm_file="${tm_file} aarch64/value-unwind.h" | |
1474 | ;; | |
b3fd46a0 | 1475 | esac |