Mercurial > hg > CbC > CbC_gcc
annotate libgcc/config.host @ 138:fc828634a951
merge
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 08 Nov 2018 14:17:14 +0900 |
parents | 84e7813d76e9 |
children | 1830386684a0 |
rev | line source |
---|---|
0 | 1 # libgcc host-specific configuration file. |
131 | 2 # Copyright (C) 1997-2018 Free Software Foundation, Inc. |
0 | 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 | |
8 #Software Foundation; either version 3, or (at your option) any later | |
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 | |
17 #along with GCC; see the file COPYING3. If not see | |
18 #<http://www.gnu.org/licenses/>. | |
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. | |
111 | 46 # enable_execute_stack The name of a source file implementing |
47 # __enable_execute_stack. | |
0 | 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. | |
111 | 54 # md_unwind_header The name of a header file defining |
55 # MD_FALLBACK_FRAME_STATE_FOR. | |
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. | |
0 | 59 # tmake_file A list of machine-description-specific |
111 | 60 # makefile fragments. |
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. | |
66 # unwind_header The name of the header file declaring the unwind | |
67 # runtime interface routines. | |
0 | 68 |
69 asm_hidden_op=.hidden | |
111 | 70 enable_execute_stack= |
0 | 71 extra_parts= |
72 tmake_file= | |
111 | 73 tm_file= |
74 tm_define= | |
75 md_unwind_header=no-unwind.h | |
76 unwind_header=unwind-generic.h | |
0 | 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 | |
111 | 83 tmake_file=t-fdpbit |
0 | 84 ;; |
111 | 85 aarch64*-*-*) |
86 cpu_type=aarch64 | |
87 ;; | |
0 | 88 alpha*-*-*) |
89 cpu_type=alpha | |
90 ;; | |
91 am33_2.0-*-linux*) | |
92 cpu_type=mn10300 | |
93 ;; | |
111 | 94 arc*-*-*) |
95 cpu_type=arc | |
96 ;; | |
0 | 97 arm*-*-*) |
98 cpu_type=arm | |
99 ;; | |
100 avr-*-*) | |
101 cpu_type=avr | |
102 ;; | |
103 bfin*-*) | |
104 cpu_type=bfin | |
105 ;; | |
111 | 106 cr16-*-*) |
107 ;; | |
108 crisv32-*-*) | |
109 cpu_type=cris | |
110 ;; | |
131 | 111 csky*-*-*) |
112 cpu_type=csky | |
113 ;; | |
0 | 114 fido-*-*) |
115 cpu_type=m68k | |
116 ;; | |
117 frv*) cpu_type=frv | |
118 ;; | |
111 | 119 ft32*) cpu_type=ft32 |
120 ;; | |
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
121 moxie*) cpu_type=moxie |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
122 ;; |
0 | 123 i[34567]86-*-*) |
124 cpu_type=i386 | |
125 ;; | |
126 x86_64-*-*) | |
127 cpu_type=i386 | |
128 ;; | |
129 ia64-*-*) | |
130 ;; | |
131 hppa*-*-*) | |
132 cpu_type=pa | |
133 ;; | |
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
134 lm32*-*-*) |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
135 cpu_type=lm32 |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
136 ;; |
0 | 137 m32r*-*-*) |
138 cpu_type=m32r | |
139 ;; | |
140 m68k-*-*) | |
141 ;; | |
67
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
142 microblaze*-*-*) |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
143 cpu_type=microblaze |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
144 ;; |
0 | 145 mips*-*-*) |
111 | 146 # All MIPS targets provide a full set of FP routines. |
0 | 147 cpu_type=mips |
111 | 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 | |
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" | |
161 ;; | |
162 nds32*-*) | |
163 cpu_type=nds32 | |
164 ;; | |
165 nios2*-*-*) | |
166 cpu_type=nios2 | |
0 | 167 ;; |
168 powerpc*-*-*) | |
169 cpu_type=rs6000 | |
170 ;; | |
171 rs6000*-*-*) | |
172 ;; | |
111 | 173 riscv*-*-*) |
174 cpu_type=riscv | |
0 | 175 ;; |
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 ;; | |
111 | 192 tilegx*-*-*) |
193 cpu_type=tilegx | |
194 ;; | |
195 tilepro*-*-*) | |
196 cpu_type=tilepro | |
197 ;; | |
198 v850*-*-*) | |
199 cpu_type=v850 | |
200 ;; | |
201 tic6x-*-*) | |
202 cpu_type=c6x | |
203 ;; | |
0 | 204 esac |
205 | |
206 # Common parts for widely ported systems. | |
207 case ${host} in | |
208 *-*-darwin*) | |
209 asm_hidden_op=.private_extern | |
111 | 210 tmake_file="$tmake_file t-darwin ${cpu_type}/t-darwin t-libgcc-pic t-slibgcc-darwin" |
131 | 211 extra_parts="crt3.o d10-uwfef.o crttms.o crttme.o" |
0 | 212 ;; |
111 | 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" | |
0 | 217 ;; |
218 *-*-freebsd*) | |
219 # This is the generic ELF configuration of FreeBSD. Later | |
220 # machine-specific sections may refine and add to this | |
221 # configuration. | |
111 | 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" |
223 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o" | |
224 case ${target_thread_file} in | |
225 posix) | |
226 tmake_file="${tmake_file} t-freebsd-thread" | |
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 | |
0 | 236 ;; |
111 | 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 ;; | |
241 *-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu) | |
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" | |
0 | 243 extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o" |
111 | 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 | |
247 ;; | |
248 *-*-lynxos*) | |
249 tmake_file="$tmake_file t-lynx $cpu_type/t-crtstuff t-crtstuff-pic t-libgcc-pic" | |
250 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o" | |
0 | 251 ;; |
252 *-*-netbsd*) | |
111 | 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" | |
255 tmake_file="$tmake_file t-slibgcc-libgcc" | |
256 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o" | |
0 | 257 ;; |
258 *-*-openbsd*) | |
111 | 259 tmake_file="$tmake_file t-crtstuff-pic t-libgcc-pic t-eh-dw2-dip" |
260 case ${target_thread_file} in | |
261 posix) | |
262 tmake_file="$tmake_file t-openbsd-thread" | |
263 ;; | |
264 esac | |
0 | 265 ;; |
266 *-*-rtems*) | |
111 | 267 tmake_file="$tmake_file t-rtems" |
268 extra_parts="crtbegin.o crtend.o" | |
269 ;; | |
270 *-*-solaris2*) | |
271 # Unless linker support and dl_iterate_phdr are present, | |
272 # unwind-dw2-fde-dip.c automatically falls back to unwind-dw2-fde.c. | |
273 tmake_file="$tmake_file sol2/t-sol2 t-eh-dw2-dip t-crtstuff-pic t-libgcc-pic t-slibgcc t-slibgcc-elf-ver" | |
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" | |
282 if test "${libgcc_cv_solaris_crts}" = yes; then | |
131 | 283 # Solaris 11.4 provides crt1.o, crti.o, and crtn.o as part of the |
111 | 284 # base system. crtp.o and crtpg.o implement the compiler-dependent parts. |
285 extra_parts="$extra_parts crtp.o crtpg.o" | |
286 # If the Solaris CRTs are present, both ld and gld will have PIE support. | |
287 extra_parts="$extra_parts crtbeginS.o crtendS.o" | |
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 | |
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 | |
303 ;; | |
304 *-*-uclinux*) | |
305 extra_parts="crtbegin.o crtend.o" | |
306 ;; | |
307 *-*-*vms*) | |
308 tmake_file="vms/t-vms" | |
309 extra_parts="crt0.o crtbegin.o crtbeginS.o crtend.o crtendS.o" | |
310 ;; | |
311 *-*-vxworks7*) | |
312 tmake_file=t-vxworks7 | |
0 | 313 ;; |
314 *-*-vxworks*) | |
111 | 315 tmake_file=t-vxworks |
0 | 316 ;; |
317 *-*-elf) | |
111 | 318 extra_parts="crtbegin.o crtend.o" |
319 ;; | |
320 esac | |
321 | |
322 case ${host} in | |
323 *-*-darwin* | *-*-dragonfly* | *-*-freebsd* | *-*-netbsd* | *-*-openbsd* | \ | |
324 *-*-solaris2*) | |
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 ;; | |
330 i[34567]86-*-cygwin* | x86_64-*-cygwin*) | |
331 enable_execute_stack=config/i386/enable-execute-stack-mingw32.c | |
332 ;; | |
333 *) | |
334 enable_execute_stack=enable-execute-stack-empty.c; | |
0 | 335 ;; |
336 esac | |
337 | |
338 case ${host} in | |
111 | 339 aarch64*-*-elf | aarch64*-*-rtems*) |
340 extra_parts="$extra_parts crtbegin.o crtend.o crti.o crtn.o" | |
341 extra_parts="$extra_parts crtfastmath.o" | |
342 tmake_file="${tmake_file} ${cpu_type}/t-aarch64" | |
343 tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp t-crtfm" | |
344 md_unwind_header=aarch64/aarch64-unwind.h | |
345 ;; | |
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" | |
350 md_unwind_header=aarch64/freebsd-unwind.h | |
0 | 351 ;; |
111 | 352 aarch64*-*-fuchsia*) |
353 tmake_file="${tmake_file} ${cpu_type}/t-aarch64" | |
354 tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp" | |
355 ;; | |
356 aarch64*-*-linux*) | |
0 | 357 extra_parts="$extra_parts crtfastmath.o" |
111 | 358 md_unwind_header=aarch64/linux-unwind.h |
359 tmake_file="${tmake_file} ${cpu_type}/t-aarch64" | |
360 tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp t-crtfm" | |
361 ;; | |
362 alpha*-*-linux*) | |
363 tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee t-crtfm alpha/t-linux" | |
364 extra_parts="$extra_parts crtfastmath.o" | |
365 md_unwind_header=alpha/linux-unwind.h | |
0 | 366 ;; |
367 alpha*-*-freebsd*) | |
111 | 368 tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee t-crtfm" |
369 extra_parts="$extra_parts crtbeginT.o crtfastmath.o" | |
0 | 370 ;; |
371 alpha*-*-netbsd*) | |
111 | 372 tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee" |
0 | 373 ;; |
374 alpha*-*-openbsd*) | |
111 | 375 tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee" |
0 | 376 ;; |
377 alpha64-dec-*vms*) | |
111 | 378 tmake_file="$tmake_file alpha/t-alpha alpha/t-ieee alpha/t-vms t-slibgcc-vms" |
379 extra_parts="$extra_parts vms-dwarf2.o vms-dwarf2eh.o" | |
380 md_unwind_header=alpha/vms-unwind.h | |
0 | 381 ;; |
382 alpha*-dec-*vms*) | |
111 | 383 tmake_file="$tmake_file alpha/t-alpha alpha/t-ieee alpha/t-vms t-slibgcc-vms" |
384 extra_parts="$extra_parts vms-dwarf2.o vms-dwarf2eh.o" | |
385 md_unwind_header=alpha/vms-unwind.h | |
0 | 386 ;; |
111 | 387 arc*-*-elf*) |
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" | |
391 ;; | |
392 arc*-*-linux*) | |
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" | |
395 extra_parts="$extra_parts crttls.o" | |
131 | 396 md_unwind_header=arc/linux-unwind.h |
0 | 397 ;; |
111 | 398 arm-wrs-vxworks|arm-wrs-vxworks7) |
399 tmake_file="$tmake_file arm/t-arm arm/t-elf t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp" | |
400 extra_parts="$extra_parts crti.o crtn.o" | |
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 | |
0 | 410 ;; |
111 | 411 arm*-*-freebsd*) # ARM FreeBSD EABI |
412 tmake_file="${tmake_file} arm/t-arm t-fixedpoint-gnu-prefix arm/t-elf" | |
413 tmake_file="${tmake_file} arm/t-bpabi arm/t-freebsd" | |
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 ;; | |
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 | |
0 | 423 ;; |
424 arm*-*-netbsdelf*) | |
111 | 425 tmake_file="$tmake_file arm/t-arm arm/t-netbsd t-slibgcc-gld-nover" |
0 | 426 ;; |
427 arm*-*-linux*) # ARM GNU/Linux with ELF | |
111 | 428 tmake_file="${tmake_file} arm/t-arm t-fixedpoint-gnu-prefix t-crtfm" |
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 | |
432 tmake_file="$tmake_file t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp" | |
433 extra_parts="$extra_parts crtfastmath.o" | |
0 | 434 ;; |
435 arm*-*-uclinux*) # ARM ucLinux | |
111 | 436 tmake_file="${tmake_file} t-fixedpoint-gnu-prefix t-crtfm" |
437 tmake_file="$tmake_file arm/t-arm arm/t-elf t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp" | |
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 | |
441 extra_parts="$extra_parts crti.o crtn.o" | |
0 | 442 ;; |
111 | 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 | |
0 | 449 ;; |
111 | 450 arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*) |
451 tmake_file="${tmake_file} arm/t-arm arm/t-elf t-fixedpoint-gnu-prefix" | |
452 tm_file="$tm_file arm/bpabi-lib.h" | |
453 case ${host} in | |
454 arm*-*-eabi* | arm*-*-rtems*) | |
455 tmake_file="${tmake_file} arm/t-bpabi t-crtfm" | |
456 extra_parts="crtbegin.o crtend.o crti.o crtn.o" | |
457 ;; | |
458 arm*-*-symbianelf*) | |
459 tmake_file="${tmake_file} arm/t-symbian t-slibgcc-nolc-override" | |
460 tm_file="$tm_file arm/symbian-lib.h" | |
461 # Symbian OS provides its own startup code. | |
462 ;; | |
463 esac | |
464 tmake_file="$tmake_file t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp" | |
465 extra_parts="$extra_parts crtfastmath.o" | |
466 unwind_header=config/arm/unwind-arm.h | |
0 | 467 ;; |
468 avr-*-*) | |
111 | 469 # Make HImode functions for AVR |
470 tmake_file="${cpu_type}/t-avr t-fpbit" | |
471 if test x${with_avrlibc} != xno; then | |
472 tmake_file="$tmake_file ${cpu_type}/t-avrlibc" | |
473 fi | |
474 tm_file="$tm_file avr/avr-lib.h" | |
0 | 475 ;; |
476 bfin*-elf*) | |
111 | 477 tmake_file="bfin/t-bfin bfin/t-crtlibid bfin/t-crtstuff t-libgcc-pic t-fdpbit" |
478 extra_parts="$extra_parts crtbeginS.o crtendS.o crti.o crtn.o crtlibid.o" | |
0 | 479 ;; |
480 bfin*-uclinux*) | |
111 | 481 tmake_file="bfin/t-bfin bfin/t-crtlibid bfin/t-crtstuff t-libgcc-pic t-fdpbit" |
482 extra_parts="$extra_parts crtbeginS.o crtendS.o crtlibid.o" | |
483 md_unwind_header=bfin/linux-unwind.h | |
0 | 484 ;; |
485 bfin*-linux-uclibc*) | |
111 | 486 tmake_file="$tmake_file bfin/t-bfin bfin/t-crtstuff t-libgcc-pic t-fdpbit bfin/t-linux" |
0 | 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" | |
111 | 490 md_unwind_header=bfin/linux-unwind.h |
491 ;; | |
492 bfin*-rtems*) | |
493 tmake_file="$tmake_file bfin/t-bfin t-fdpbit" | |
494 extra_parts="$extra_parts crti.o crtn.o" | |
0 | 495 ;; |
496 bfin*-*) | |
111 | 497 tmake_file="$tmake_file bfin/t-bfin t-fdpbit" |
498 extra_parts="crtbegin.o crtend.o crti.o crtn.o" | |
0 | 499 ;; |
111 | 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 ;; | |
504 crisv32-*-elf) | |
505 tmake_file="$tmake_file cris/t-cris t-softfp-sfdf t-softfp" | |
506 ;; | |
507 cris-*-elf) | |
508 tmake_file="$tmake_file cris/t-cris t-softfp-sfdf t-softfp cris/t-elfmulti" | |
0 | 509 ;; |
510 cris-*-linux* | crisv32-*-linux*) | |
111 | 511 tmake_file="$tmake_file cris/t-cris t-softfp-sfdf t-softfp cris/t-linux" |
0 | 512 ;; |
131 | 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 ;; | |
522 epiphany-*-elf* | epiphany-*-rtems*) | |
523 tmake_file="$tmake_file epiphany/t-epiphany t-fdpbit epiphany/t-custom-eqsf" | |
111 | 524 extra_parts="$extra_parts crti.o crtint.o crtrunc.o crtm1reg-r43.o crtm1reg-r63.o crtn.o" |
0 | 525 ;; |
526 fr30-*-elf) | |
111 | 527 tmake_file="$tmake_file fr30/t-fr30 t-fdpbit" |
528 extra_parts="$extra_parts crti.o crtn.o" | |
0 | 529 ;; |
530 frv-*-elf) | |
111 | 531 tmake_file="$tmake_file frv/t-frv t-fdpbit" |
532 tm_file="$tm_file frv/elf-lib.h frv/frv-abi.h" | |
533 # Don't use crtbegin.o, crtend.o. | |
534 extra_parts="frvbegin.o frvend.o" | |
0 | 535 ;; |
536 frv-*-*linux*) | |
111 | 537 tmake_file="$tmake_file frv/t-frv frv/t-linux t-fdpbit" |
538 tm_file="$tm_file frv/elf-lib.h frv/frv-abi.h" | |
0 | 539 ;; |
111 | 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" | |
0 | 543 ;; |
544 h8300-*-elf*) | |
111 | 545 tmake_file="$tmake_file h8300/t-h8300 t-fpbit" |
546 tm_file="$tm_file h8300/h8300-lib.h" | |
547 extra_parts="$extra_parts crti.o crtn.o" | |
548 ;; | |
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" | |
0 | 552 ;; |
553 hppa*64*-*-linux*) | |
111 | 554 tmake_file="$tmake_file pa/t-linux pa/t-linux64" |
555 extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o" | |
0 | 556 ;; |
557 hppa*-*-linux*) | |
111 | 558 tmake_file="$tmake_file pa/t-linux t-slibgcc-libgcc" |
559 # Set the libgcc version number | |
560 if test x$ac_cv_sjlj_exceptions = xyes; then | |
561 tmake_file="$tmake_file pa/t-slibgcc-sjlj-ver" | |
562 else | |
563 tmake_file="$tmake_file pa/t-slibgcc-dwarf-ver" | |
564 fi | |
565 extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o" | |
566 md_unwind_header=pa/linux-unwind.h | |
0 | 567 ;; |
568 hppa[12]*-*-hpux10*) | |
111 | 569 tmake_file="$tmake_file pa/t-hpux pa/t-hpux10 t-libgcc-pic t-slibgcc" |
570 # Set the libgcc version number | |
571 if test x$ac_cv_sjlj_exceptions = xyes; then | |
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" | |
577 md_unwind_header=pa/hpux-unwind.h | |
0 | 578 ;; |
579 hppa*64*-*-hpux11*) | |
111 | 580 tmake_file="$tmake_file pa/t-hpux pa/t-pa64 pa/t-stublib t-libgcc-pic t-slibgcc" |
581 # Set the libgcc version number | |
582 if test x$ac_cv_sjlj_exceptions = xyes; then | |
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" | |
588 tm_file="$tm_file pa/pa64-hpux-lib.h" | |
589 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o \ | |
590 libgcc_stub.a" | |
591 md_unwind_header=pa/hpux-unwind.h | |
0 | 592 ;; |
593 hppa[12]*-*-hpux11*) | |
111 | 594 tmake_file="$tmake_file pa/t-hpux pa/t-stublib t-libgcc-pic t-slibgcc" |
595 # Set the libgcc version number | |
596 if test x$ac_cv_sjlj_exceptions = xyes; then | |
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" | |
602 extra_parts="libgcc_stub.a" | |
603 md_unwind_header=pa/hpux-unwind.h | |
604 ;; | |
605 hppa*-*-openbsd*) | |
606 tmake_file="$tmake_file pa/t-openbsd" | |
0 | 607 ;; |
608 i[34567]86-*-darwin*) | |
111 | 609 tmake_file="$tmake_file i386/t-crtpc t-crtfm i386/t-msabi" |
610 tm_file="$tm_file i386/darwin-lib.h" | |
611 extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o" | |
0 | 612 ;; |
613 x86_64-*-darwin*) | |
111 | 614 tmake_file="$tmake_file i386/t-crtpc t-crtfm i386/t-msabi" |
615 tm_file="$tm_file i386/darwin-lib.h" | |
616 extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o" | |
617 ;; | |
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" | |
0 | 620 ;; |
621 i[34567]86-*-elf*) | |
111 | 622 tmake_file="$tmake_file i386/t-crtstuff t-crtstuff-pic t-libgcc-pic" |
0 | 623 ;; |
111 | 624 x86_64-*-elf* | x86_64-*-rtems*) |
625 tmake_file="$tmake_file i386/t-crtstuff t-crtstuff-pic t-libgcc-pic" | |
131 | 626 case ${host} in |
627 x86_64-*-rtems*) | |
628 extra_parts="$extra_parts crti.o crtn.o" | |
629 ;; | |
630 esac | |
111 | 631 ;; |
632 x86_64-*-fuchsia*) | |
633 tmake_file="$tmake_file t-libgcc-pic" | |
634 ;; | |
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 | |
0 | 642 ;; |
643 i[34567]86-*-freebsd*) | |
111 | 644 tmake_file="${tmake_file} i386/t-freebsd i386/t-crtstuff" |
645 md_unwind_header=i386/freebsd-unwind.h | |
0 | 646 ;; |
647 x86_64-*-freebsd*) | |
111 | 648 tmake_file="${tmake_file} i386/t-freebsd i386/t-crtstuff" |
649 md_unwind_header=i386/freebsd-unwind.h | |
0 | 650 ;; |
651 i[34567]86-*-netbsdelf*) | |
111 | 652 tmake_file="${tmake_file} i386/t-crtstuff" |
0 | 653 ;; |
654 x86_64-*-netbsd*) | |
111 | 655 tmake_file="${tmake_file} i386/t-crtstuff" |
0 | 656 ;; |
657 i[34567]86-*-openbsd*) | |
658 ;; | |
111 | 659 x86_64-*-openbsd*) |
660 ;; | |
661 i[34567]86-*-linux*) | |
0 | 662 extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o" |
111 | 663 tmake_file="${tmake_file} i386/t-crtpc t-crtfm i386/t-crtstuff t-dfprules" |
664 tm_file="${tm_file} i386/elf-lib.h" | |
665 md_unwind_header=i386/linux-unwind.h | |
0 | 666 ;; |
111 | 667 i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu) |
668 extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o" | |
669 tmake_file="${tmake_file} i386/t-crtpc t-crtfm i386/t-crtstuff t-dfprules" | |
670 tm_file="${tm_file} i386/elf-lib.h" | |
671 ;; | |
672 x86_64-*-linux*) | |
0 | 673 extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o" |
111 | 674 tmake_file="${tmake_file} i386/t-crtpc t-crtfm i386/t-crtstuff t-dfprules" |
675 tm_file="${tm_file} i386/elf-lib.h" | |
676 md_unwind_header=i386/linux-unwind.h | |
677 ;; | |
678 x86_64-*-kfreebsd*-gnu) | |
679 extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o" | |
680 tmake_file="${tmake_file} i386/t-crtpc t-crtfm i386/t-crtstuff t-dfprules" | |
681 tm_file="${tm_file} i386/elf-lib.h" | |
0 | 682 ;; |
683 i[34567]86-pc-msdosdjgpp*) | |
684 ;; | |
685 i[34567]86-*-lynxos*) | |
686 ;; | |
687 i[34567]86-*-nto-qnx*) | |
111 | 688 tmake_file="$tmake_file i386/t-nto t-libgcc-pic" |
689 extra_parts=crtbegin.o | |
0 | 690 ;; |
691 i[34567]86-*-rtems*) | |
111 | 692 tmake_file="$tmake_file i386/t-crtstuff t-softfp-sfdftf i386/32/t-softfp i386/t-softfp t-softfp" |
693 extra_parts="$extra_parts crti.o crtn.o" | |
0 | 694 ;; |
111 | 695 i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*) |
696 tmake_file="$tmake_file i386/t-crtpc t-crtfm i386/t-msabi" | |
697 extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o" | |
698 tm_file="${tm_file} i386/elf-lib.h" | |
699 md_unwind_header=i386/sol2-unwind.h | |
700 ;; | |
701 i[4567]86-wrs-vxworks|i[4567]86-wrs-vxworksae|i[4567]86-wrs-vxworks7|x86_64-wrs-vxworks7) | |
702 ;; | |
703 i[34567]86-*-cygwin*) | |
704 extra_parts="crtbegin.o crtbeginS.o crtend.o crtfastmath.o" | |
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 | |
708 # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h | |
709 if test x$ac_cv_sjlj_exceptions = xyes; then | |
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 | |
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" | |
721 ;; | |
722 x86_64-*-cygwin*) | |
723 extra_parts="crtbegin.o crtbeginS.o crtend.o crtfastmath.o" | |
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 | |
727 # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h | |
728 if test x$ac_cv_sjlj_exceptions = xyes; then | |
729 tmake_eh_file="i386/t-sjlj-eh" | |
730 elif test "${host_address}" = 32; then | |
731 # biarch -m32 with --disable-sjlj-exceptions | |
732 tmake_eh_file="i386/t-dw2-eh" | |
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 | |
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" | |
744 ;; | |
745 i[34567]86-*-mingw*) | |
746 extra_parts="crtbegin.o crtend.o crtfastmath.o" | |
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 | |
750 case ${target_thread_file} in | |
751 win32) | |
752 tmake_file="$tmake_file i386/t-gthr-win32" | |
753 ;; | |
754 posix) | |
755 tmake_file="i386/t-mingw-pthread $tmake_file" | |
756 ;; | |
0 | 757 esac |
111 | 758 # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h |
759 if test x$ac_cv_sjlj_exceptions = xyes; then | |
760 tmake_eh_file="i386/t-sjlj-eh" | |
761 else | |
762 tmake_eh_file="i386/t-dw2-eh" | |
763 md_unwind_header=i386/w32-unwind.h | |
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 | |
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" | |
0 | 772 ;; |
773 x86_64-*-mingw*) | |
111 | 774 case ${target_thread_file} in |
775 win32) | |
776 tmake_file="$tmake_file i386/t-gthr-win32" | |
777 ;; | |
778 posix) | |
779 tmake_file="i386/t-mingw-pthread $tmake_file" | |
780 ;; | |
781 esac | |
782 # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h | |
783 if test x$ac_cv_sjlj_exceptions = xyes; then | |
784 tmake_eh_file="i386/t-sjlj-eh" | |
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 | |
789 else | |
790 tmake_eh_file="i386/t-seh-eh" | |
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 | |
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" | |
799 extra_parts="$extra_parts crtbegin.o crtend.o crtfastmath.o" | |
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 | |
0 | 803 ;; |
804 ia64*-*-elf*) | |
111 | 805 extra_parts="$extra_parts crtbeginS.o crtendS.o crtfastmath.o" |
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" | |
0 | 807 ;; |
808 ia64*-*-freebsd*) | |
111 | 809 extra_parts="$extra_parts crtfastmath.o" |
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" | |
0 | 811 ;; |
812 ia64*-*-linux*) | |
111 | 813 # Don't use crtbeginT.o from *-*-linux* default. |
0 | 814 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o" |
111 | 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" |
816 if test x$with_system_libunwind != xyes ; then | |
817 tmake_file="${tmake_file} t-libunwind-elf ia64/t-linux-libunwind" | |
818 fi | |
819 md_unwind_header=ia64/linux-unwind.h | |
0 | 820 ;; |
821 ia64*-*-hpux*) | |
111 | 822 tmake_file="ia64/t-ia64 ia64/t-ia64-elf ia64/t-hpux t-slibgcc ia64/t-slibgcc-hpux t-slibgcc-hpux" |
0 | 823 ;; |
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
824 ia64-hp-*vms*) |
111 | 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" |
826 extra_parts="$extra_parts crtinitS.o" | |
827 md_unwind_header=ia64/vms-unwind.h | |
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
828 ;; |
0 | 829 iq2000*-*-elf*) |
111 | 830 tmake_file="iq2000/t-iq2000 t-fdpbit" |
831 # Don't use default. | |
832 extra_parts= | |
0 | 833 ;; |
111 | 834 lm32-*-elf*) |
835 extra_parts="$extra_parts crti.o crtn.o" | |
836 tmake_file="lm32/t-lm32 lm32/t-elf t-softfp-sfdf t-softfp" | |
837 ;; | |
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" | |
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
841 ;; |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
842 lm32-*-uclinux*) |
111 | 843 extra_parts="$extra_parts crtbegin.o crtendS.o crtbeginT.o" |
844 tmake_file="lm32/t-lm32 lm32/t-uclinux t-libgcc-pic t-softfp-sfdf t-softfp" | |
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
845 ;; |
111 | 846 m32r-*-elf*) |
847 tmake_file="$tmake_file m32r/t-m32r t-fdpbit" | |
848 extra_parts="$extra_parts crtinit.o crtfini.o" | |
0 | 849 ;; |
850 m32rle-*-elf*) | |
111 | 851 tmake_file=t-fdpbit |
0 | 852 ;; |
853 m32r-*-linux*) | |
111 | 854 tmake_file="$tmake_file m32r/t-linux t-fdpbit" |
0 | 855 ;; |
856 m32rle-*-linux*) | |
111 | 857 tmake_file="$tmake_file m32r/t-linux t-fdpbit" |
0 | 858 ;; |
111 | 859 m68k-*-elf* | fido-*-elf) |
860 tmake_file="$tmake_file m68k/t-floatlib" | |
0 | 861 ;; |
862 m68k*-*-netbsdelf*) | |
863 ;; | |
864 m68k*-*-openbsd*) | |
865 ;; | |
111 | 866 m68k-*-uclinux*) # Motorola m68k/ColdFire running uClinux with uClibc |
867 tmake_file="$tmake_file m68k/t-floatlib m68k/t-linux" | |
868 md_unwind_header=m68k/linux-unwind.h | |
0 | 869 ;; |
111 | 870 m68k-*-linux*) # Motorola m68k's running GNU/Linux |
0 | 871 # with ELF format using glibc 2 |
872 # aka the GNU/Linux C library 6. | |
111 | 873 tmake_file="$tmake_file m68k/t-floatlib m68k/t-linux" |
874 # If not configured with setjmp/longjmp exceptions, bump the | |
875 # libgcc version number. | |
876 if test x$ac_cv_sjlj_exceptions != xyes; then | |
877 tmake_file="$tmake_file m68k/t-slibgcc-elf-ver" | |
878 fi | |
879 md_unwind_header=m68k/linux-unwind.h | |
0 | 880 ;; |
881 m68k-*-rtems*) | |
111 | 882 tmake_file="$tmake_file m68k/t-floatlib" |
883 extra_parts="$extra_parts crti.o crtn.o" | |
0 | 884 ;; |
885 mcore-*-elf) | |
111 | 886 tmake_file="mcore/t-mcore t-fdpbit" |
887 extra_parts="$extra_parts crti.o crtn.o" | |
0 | 888 ;; |
111 | 889 microblaze*-linux*) |
890 tmake_file="${tmake_file} microblaze/t-microblaze t-fdpbit t-slibgcc-libgcc" | |
0 | 891 ;; |
111 | 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" | |
67
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
895 ;; |
111 | 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" | |
0 | 899 ;; |
900 mips*-*-netbsd*) # NetBSD/mips, either endian. | |
901 ;; | |
902 mips*-*-linux*) # Linux MIPS, either endian. | |
67
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
903 extra_parts="$extra_parts crtfastmath.o" |
111 | 904 tmake_file="${tmake_file} t-crtfm" |
905 case ${host} in | |
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 ;; | |
913 esac | |
914 md_unwind_header=mips/linux-unwind.h | |
0 | 915 ;; |
111 | 916 mips*-sde-elf*) |
917 tmake_file="$tmake_file mips/t-crtstuff mips/t-mips16" | |
918 case "${with_newlib}" in | |
919 yes) | |
920 # newlib / libgloss. | |
921 ;; | |
922 *) | |
923 # MIPS toolkit libraries. | |
924 tmake_file="$tmake_file mips/t-sdemtk" | |
925 ;; | |
926 esac | |
927 extra_parts="$extra_parts crti.o crtn.o" | |
0 | 928 ;; |
111 | 929 mipsisa32-*-elf* | mipsisa32el-*-elf* | \ |
930 mipsisa32r2-*-elf* | mipsisa32r2el-*-elf* | \ | |
931 mipsisa32r6-*-elf* | mipsisa32r6el-*-elf* | \ | |
932 mipsisa64-*-elf* | mipsisa64el-*-elf* | \ | |
933 mipsisa64r2-*-elf* | mipsisa64r2el-*-elf* | \ | |
934 mipsisa64r6-*-elf* | mipsisa64r6el-*-elf*) | |
935 tmake_file="$tmake_file mips/t-elf mips/t-crtstuff mips/t-mips16" | |
936 extra_parts="$extra_parts crti.o crtn.o" | |
0 | 937 ;; |
938 mipsisa64sr71k-*-elf*) | |
111 | 939 tmake_file="$tmake_file mips/t-elf mips/t-crtstuff t-fdpbit" |
940 extra_parts="$extra_parts crti.o crtn.o" | |
0 | 941 ;; |
942 mipsisa64sb1-*-elf* | mipsisa64sb1el-*-elf*) | |
111 | 943 tmake_file="$tmake_file mips/t-elf mips/t-crtstuff mips/t-mips16" |
944 extra_parts="$extra_parts crti.o crtn.o" | |
0 | 945 ;; |
946 mips-*-elf* | mipsel-*-elf*) | |
111 | 947 tmake_file="$tmake_file mips/t-elf mips/t-crtstuff mips/t-mips16" |
948 extra_parts="$extra_parts crti.o crtn.o" | |
949 ;; | |
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" | |
0 | 953 ;; |
954 mips64-*-elf* | mips64el-*-elf*) | |
111 | 955 tmake_file="$tmake_file mips/t-elf mips/t-crtstuff mips/t-mips16" |
956 extra_parts="$extra_parts crti.o crtn.o" | |
957 ;; | |
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" | |
0 | 961 ;; |
962 mips64vr-*-elf* | mips64vrel-*-elf*) | |
111 | 963 tmake_file="$tmake_file mips/t-elf mips/t-vr mips/t-crtstuff" |
964 extra_parts="$extra_parts crti.o crtn.o" | |
0 | 965 ;; |
966 mips64orion-*-elf* | mips64orionel-*-elf*) | |
111 | 967 tmake_file="$tmake_file mips/t-elf mips/t-crtstuff mips/t-mips16" |
968 extra_parts="$extra_parts crti.o crtn.o" | |
0 | 969 ;; |
970 mips*-*-rtems*) | |
111 | 971 tmake_file="$tmake_file mips/t-elf mips/t-crtstuff mips/t-mips16" |
972 extra_parts="$extra_parts crti.o crtn.o" | |
0 | 973 ;; |
974 mips-wrs-vxworks) | |
975 ;; | |
976 mipstx39-*-elf* | mipstx39el-*-elf*) | |
111 | 977 tmake_file="$tmake_file mips/t-crtstuff mips/t-mips16" |
0 | 978 ;; |
979 mmix-knuth-mmixware) | |
63
b7f97abdc517
update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
980 extra_parts="crti.o crtn.o crtbegin.o crtend.o" |
b7f97abdc517
update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
981 tmake_file="${tmake_file} ${cpu_type}/t-${cpu_type}" |
0 | 982 ;; |
983 mn10300-*-*) | |
111 | 984 tmake_file=t-fdpbit |
0 | 985 ;; |
111 | 986 moxie-*-elf | moxie-*-moxiebox* | moxie-*-uclinux* | moxie-*-rtems*) |
987 tmake_file="$tmake_file moxie/t-moxie t-softfp-sfdf t-softfp-excl t-softfp" | |
988 extra_parts="$extra_parts crti.o crtn.o crtbegin.o crtend.o" | |
0 | 989 ;; |
111 | 990 msp430*-*-elf) |
991 tmake_file="$tm_file t-crtstuff t-fdpbit msp430/t-msp430" | |
992 extra_parts="$extra_parts libmul_none.a libmul_16.a libmul_32.a libmul_f5.a" | |
0 | 993 ;; |
131 | 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 ;; | |
111 | 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 | |
0 | 1031 ;; |
1032 esac | |
1033 ;; | |
111 | 1034 nios2-*-linux*) |
1035 tmake_file="$tmake_file nios2/t-nios2 nios2/t-linux t-libgcc-pic t-slibgcc-libgcc" | |
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 ;; | |
1042 pdp11-*-*) | |
1043 tmake_file="pdp11/t-pdp11 t-fdpbit" | |
1044 ;; | |
1045 powerpc-*-darwin*) | |
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 | |
1055 tmake_file="$tmake_file rs6000/t-ibm-ldouble" | |
1056 extra_parts="$extra_parts crt2.o" | |
1057 ;; | |
1058 powerpc64-*-darwin*) | |
1059 tmake_file="$tmake_file rs6000/t-darwin64 rs6000/t-ibm-ldouble" | |
1060 extra_parts="$extra_parts crt2.o" | |
1061 ;; | |
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" | |
1064 extra_parts="$extra_parts crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" | |
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 | |
1071 ;; | |
1072 powerpc-*-netbsd*) | |
1073 tmake_file="$tmake_file rs6000/t-netbsd rs6000/t-crtstuff" | |
1074 ;; | |
1075 powerpc-*-eabispe*) | |
1076 tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" | |
1077 extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" | |
1078 ;; | |
1079 powerpc-*-eabisimaltivec*) | |
1080 tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" | |
1081 extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" | |
1082 ;; | |
1083 powerpc-*-eabisim*) | |
1084 tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" | |
1085 extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" | |
1086 ;; | |
1087 powerpc-*-elf*) | |
1088 tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" | |
1089 extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" | |
1090 ;; | |
1091 powerpc-*-eabialtivec*) | |
1092 tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" | |
1093 extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" | |
1094 ;; | |
1095 powerpc-xilinx-eabi*) | |
1096 tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" | |
1097 extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" | |
1098 ;; | |
1099 powerpc-*-eabi*) | |
1100 tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" | |
1101 extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" | |
1102 ;; | |
1103 powerpc-*-rtems*) | |
1104 tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" | |
1105 extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" | |
1106 ;; | |
1107 powerpc*-*-linux*) | |
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" | |
1109 tmake_file="${tmake_file} t-stack rs6000/t-stack-rs6000" | |
1110 case $ppc_fp_type in | |
1111 64) | |
1112 ;; | |
1113 hard) | |
1114 tmake_file="${tmake_file} t-hardfp-sfdf t-hardfp" | |
1115 ;; | |
1116 soft) | |
1117 tmake_file="${tmake_file} t-softfp-sfdf ${ppc_fp_compat} t-softfp" | |
1118 ;; | |
1119 e500v1) | |
1120 tmake_file="${tmake_file} rs6000/t-e500v1-fp ${ppc_fp_compat} t-softfp t-hardfp" | |
1121 ;; | |
1122 e500v2) | |
1123 tmake_file="${tmake_file} t-hardfp-sfdf rs6000/t-e500v2-fp ${ppc_fp_compat} t-softfp t-hardfp" | |
1124 ;; | |
1125 *) | |
1126 echo "Unknown ppc_fp_type $ppc_fp_type" 1>&2 | |
1127 exit 1 | |
1128 ;; | |
1129 esac | |
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 | |
1139 extra_parts="$extra_parts ecrti.o ecrtn.o ncrti.o ncrtn.o" | |
1140 md_unwind_header=rs6000/linux-unwind.h | |
1141 ;; | |
1142 powerpc-wrs-vxworks*) | |
1143 tmake_file="$tmake_file rs6000/t-ppccomm rs6000/t-savresfgpr t-fdpbit" | |
131 | 1144 extra_parts="$extra_parts crtbegin.o crtend.o" |
111 | 1145 ;; |
1146 powerpc-*-lynxos*) | |
1147 tmake_file="$tmake_file rs6000/t-lynx t-fdpbit" | |
1148 ;; | |
1149 powerpcle-*-elf*) | |
1150 tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" | |
1151 extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" | |
1152 ;; | |
1153 powerpcle-*-eabisim*) | |
1154 tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" | |
1155 extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" | |
1156 ;; | |
1157 powerpcle-*-eabi*) | |
1158 tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit" | |
1159 extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o" | |
1160 ;; | |
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 ;; | |
131 | 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 ;; | |
111 | 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 ;; | |
1174 rs6000-ibm-aix4.[3456789]* | powerpc-ibm-aix4.[3456789]*) | |
1175 md_unwind_header=rs6000/aix-unwind.h | |
1176 tmake_file="t-fdpbit rs6000/t-ppc64-fp rs6000/t-slibgcc-aix rs6000/t-ibm-ldouble" | |
1177 ;; | |
1178 rs6000-ibm-aix5.1.* | powerpc-ibm-aix5.1.*) | |
1179 md_unwind_header=rs6000/aix-unwind.h | |
1180 tmake_file="t-fdpbit rs6000/t-ppc64-fp rs6000/t-slibgcc-aix rs6000/t-ibm-ldouble" | |
1181 ;; | |
1182 rs6000-ibm-aix[56789].* | powerpc-ibm-aix[56789].*) | |
1183 md_unwind_header=rs6000/aix-unwind.h | |
1184 tmake_file="t-fdpbit rs6000/t-ppc64-fp rs6000/t-slibgcc-aix rs6000/t-ibm-ldouble rs6000/t-aix-cxa" | |
1185 extra_parts="crtcxa.o crtcxa_s.o crtdbase.o" | |
1186 ;; | |
1187 rl78-*-elf) | |
1188 tmake_file="$tm_file t-fdpbit rl78/t-rl78" | |
1189 ;; | |
1190 rx-*-elf) | |
1191 tmake_file="rx/t-rx t-fdpbit" | |
1192 tm_file="$tm_file rx/rx-abi.h rx/rx-lib.h" | |
1193 ;; | |
1194 s390-*-linux*) | |
1195 tmake_file="${tmake_file} s390/t-crtstuff s390/t-linux s390/32/t-floattodi t-stack s390/t-stack-s390" | |
1196 md_unwind_header=s390/linux-unwind.h | |
1197 ;; | |
1198 s390x-*-linux*) | |
1199 tmake_file="${tmake_file} s390/t-crtstuff s390/t-linux t-stack s390/t-stack-s390" | |
1200 if test "${host_address}" = 32; then | |
1201 tmake_file="${tmake_file} s390/32/t-floattodi" | |
1202 fi | |
1203 md_unwind_header=s390/linux-unwind.h | |
1204 ;; | |
1205 s390x-ibm-tpf*) | |
1206 tmake_file="${tmake_file} s390/t-crtstuff t-libgcc-pic t-eh-dw2-dip" | |
1207 extra_parts="crtbeginS.o crtendS.o" | |
1208 md_unwind_header=s390/tpf-unwind.h | |
1209 ;; | |
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" | |
1217 case ${host} in | |
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*) | |
1225 tmake_file="${tmake_file} sh/t-sh t-slibgcc-libgcc sh/t-linux t-fdpbit" | |
1226 md_unwind_header=sh/linux-unwind.h | |
1227 ;; | |
1228 sh-*-netbsdelf* | shl*-*-netbsdelf*) | |
1229 tmake_file="$tmake_file sh/t-sh sh/t-netbsd" | |
1230 | |
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. | |
1235 ;; | |
0 | 1236 sh-*-rtems*) |
111 | 1237 tmake_file="$tmake_file sh/t-sh t-crtstuff-pic t-fdpbit" |
1238 extra_parts="$extra_parts crt1.o crti.o crtn.o crtbeginS.o crtendS.o \ | |
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" | |
0 | 1243 ;; |
1244 sh-wrs-vxworks) | |
111 | 1245 tmake_file="$tmake_file sh/t-sh t-crtstuff-pic t-fdpbit" |
0 | 1246 ;; |
1247 sparc-*-netbsdelf*) | |
1248 ;; | |
1249 sparc64-*-openbsd*) | |
1250 ;; | |
1251 sparc-*-elf*) | |
111 | 1252 case ${host} in |
1253 *-leon[3-9]*) | |
1254 ;; | |
1255 *) | |
1256 tmake_file="sparc/t-softmul" | |
1257 ;; | |
1258 esac | |
1259 tmake_file="${tmake_file} t-fdpbit t-crtfm" | |
1260 extra_parts="$extra_parts crti.o crtn.o crtfastmath.o" | |
0 | 1261 ;; |
1262 sparc-*-linux*) # SPARC's running GNU/Linux, libc6 | |
111 | 1263 tmake_file="${tmake_file} t-crtfm" |
1264 if test "${host_address}" = 64; then | |
1265 tmake_file="$tmake_file sparc/t-linux64" | |
1266 fi | |
1267 case ${host} in | |
1268 *-leon*) | |
1269 tmake_file="${tmake_file} t-fdpbit" | |
1270 ;; | |
1271 *) | |
1272 tmake_file="${tmake_file} sparc/t-linux" | |
1273 ;; | |
1274 esac | |
1275 case ${host} in | |
1276 *-leon[3-9]*) | |
1277 ;; | |
1278 *) | |
1279 if test "${host_address}" = 32; then | |
1280 tmake_file="$tmake_file sparc/t-softmul" | |
1281 fi | |
1282 ;; | |
1283 esac | |
0 | 1284 extra_parts="$extra_parts crtfastmath.o" |
111 | 1285 md_unwind_header=sparc/linux-unwind.h |
0 | 1286 ;; |
111 | 1287 sparc-*-rtems*) |
1288 tmake_file="$tmake_file sparc/t-elf sparc/t-softmul t-crtfm t-fdpbit" | |
1289 extra_parts="$extra_parts crti.o crtn.o crtfastmath.o" | |
0 | 1290 ;; |
111 | 1291 sparc*-*-solaris2*) |
1292 tmake_file="$tmake_file t-crtfm" | |
1293 extra_parts="$extra_parts crtfastmath.o" | |
1294 md_unwind_header=sparc/sol2-unwind.h | |
0 | 1295 ;; |
1296 sparc64-*-elf*) | |
111 | 1297 tmake_file="${tmake_file} t-crtfm" |
1298 extra_parts="$extra_parts crti.o crtn.o crtfastmath.o" | |
1299 ;; | |
1300 sparc64-*-rtems*) | |
1301 tmake_file="$tmake_file t-crtfm" | |
1302 extra_parts="$extra_parts crti.o crtn.o crtfastmath.o" | |
0 | 1303 ;; |
1304 sparc-wrs-vxworks) | |
1305 ;; | |
1306 sparc64-*-freebsd*|ultrasparc-*-freebsd*) | |
111 | 1307 tmake_file="$tmake_file t-crtfm" |
1308 extra_parts="$extra_parts crtfastmath.o" | |
0 | 1309 ;; |
1310 sparc64-*-linux*) # 64-bit SPARC's running GNU/Linux | |
1311 extra_parts="$extra_parts crtfastmath.o" | |
111 | 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 | |
1319 md_unwind_header=sparc/linux-unwind.h | |
0 | 1320 ;; |
1321 sparc64-*-netbsd*) | |
1322 ;; | |
1323 spu-*-elf*) | |
111 | 1324 tmake_file="$tmake_file spu/t-elf t-libgcc-pic t-fdpbit" |
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" | |
0 | 1329 ;; |
111 | 1330 tic6x-*-uclinux) |
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" | |
1334 tm_file="$tm_file c6x/c6x-abi.h" | |
1335 extra_parts="$extra_parts crtbeginS.o crtendS.o crti.o crtn.o" | |
1336 unwind_header=config/c6x/unwind-c6x.h | |
0 | 1337 ;; |
111 | 1338 tic6x-*-elf) |
1339 tmake_file="${tmake_file} t-softfp-sfdf t-softfp-excl t-softfp t-gnu-prefix c6x/t-elf" | |
1340 tm_file="$tm_file c6x/c6x-abi.h" | |
1341 extra_parts="$extra_parts crtbeginS.o crtendS.o crti.o crtn.o" | |
1342 unwind_header=config/c6x/unwind-c6x.h | |
0 | 1343 ;; |
111 | 1344 tilegx*-*-linux*) |
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" | |
1349 md_unwind_header=tilepro/linux-unwind.h | |
1350 ;; | |
1351 tilepro*-*-linux*) | |
1352 tmake_file="${tmake_file} tilepro/t-crtstuff t-softfp-sfdf t-softfp tilepro/t-tilepro t-slibgcc-libgcc" | |
1353 md_unwind_header=tilepro/linux-unwind.h | |
1354 ;; | |
1355 v850*-*-*) | |
1356 tmake_file="${tmake_file} v850/t-v850 t-fdpbit" | |
0 | 1357 ;; |
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
1358 vax-*-linux*) |
111 | 1359 tmake_file="$tmake_file vax/t-linux" |
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
1360 ;; |
0 | 1361 vax-*-netbsdelf*) |
1362 ;; | |
1363 vax-*-openbsd*) | |
1364 ;; | |
111 | 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 ;; | |
0 | 1369 xstormy16-*-elf) |
111 | 1370 tmake_file="stormy16/t-stormy16 t-fdpbit" |
0 | 1371 ;; |
1372 xtensa*-*-elf*) | |
111 | 1373 tmake_file="$tmake_file xtensa/t-xtensa xtensa/t-elf" |
1374 extra_parts="$extra_parts crti.o crtn.o" | |
0 | 1375 ;; |
1376 xtensa*-*-linux*) | |
111 | 1377 tmake_file="$tmake_file xtensa/t-xtensa xtensa/t-linux t-slibgcc-libgcc" |
1378 md_unwind_header=xtensa/linux-unwind.h | |
1379 ;; | |
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" | |
0 | 1384 ;; |
1385 am33_2.0-*-linux*) | |
111 | 1386 # Don't need crtbeginT.o from *-*-linux* default. |
0 | 1387 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o" |
111 | 1388 tmake_file="$tmake_file t-fdpbit" |
0 | 1389 ;; |
1390 m32c-*-elf*|m32c-*-rtems*) | |
111 | 1391 tmake_file="$tmake_file m32c/t-m32c" |
0 | 1392 ;; |
111 | 1393 nvptx-*) |
1394 tmake_file="$tmake_file nvptx/t-nvptx" | |
1395 extra_parts="crt0.o" | |
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
1396 ;; |
0 | 1397 *) |
1398 echo "*** Configuration ${host} not supported" 1>&2 | |
1399 exit 1 | |
1400 ;; | |
1401 esac | |
1402 | |
1403 case ${host} in | |
111 | 1404 i[34567]86-*-* | x86_64-*-*) |
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 | |
1413 ;; | |
1414 esac | |
1415 | |
1416 case ${host} in | |
0 | 1417 i[34567]86-*-linux* | x86_64-*-linux* | \ |
111 | 1418 i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu | \ |
0 | 1419 i[34567]86-*-gnu*) |
111 | 1420 tmake_file="${tmake_file} t-tls i386/t-linux i386/t-msabi t-slibgcc-libgcc" |
67
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
1421 if test "$libgcc_cv_cfi" = "yes"; then |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
1422 tmake_file="${tmake_file} t-stack i386/t-stack-i386" |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
63
diff
changeset
|
1423 fi |
0 | 1424 ;; |
1425 esac | |
1426 | |
1427 case ${host} in | |
111 | 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-*-*) | |
1432 tmake_file="${tmake_file} t-softfp-tf" | |
0 | 1433 if test "${host_address}" = 32; then |
111 | 1434 tmake_file="${tmake_file} i386/${host_address}/t-softfp" |
0 | 1435 fi |
111 | 1436 tmake_file="${tmake_file} i386/t-softfp t-softfp" |
0 | 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 | |
111 | 1446 tm_file="${tm_file} i386/value-unwind.h" |
1447 ;; | |
1448 aarch64*-*-*) | |
1449 # ILP32 needs an extra header for unwinding | |
1450 tm_file="${tm_file} aarch64/value-unwind.h" | |
0 | 1451 ;; |
1452 esac |