]>
Commit | Line | Data |
---|---|---|
61ed06c3 | 1 | # GCC build-, host- and target-specific configuration file. |
817e13c4 | 2 | # Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. |
61ed06c3 | 3 | |
1322177d | 4 | #This file is part of GCC. |
61ed06c3 | 5 | |
1322177d LB |
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 2, or (at your option) any later | |
9 | #version. | |
61ed06c3 | 10 | |
1322177d LB |
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. | |
61ed06c3 HPN |
15 | |
16 | #You should have received a copy of the GNU General Public License | |
1322177d LB |
17 | #along with GCC; see the file COPYING. If not, write to the Free |
18 | #Software Foundation, 59 Temple Place - Suite 330, Boston, MA | |
19 | #02111-1307, USA. | |
61ed06c3 HPN |
20 | |
21 | # This is the GCC build-, host- and target-specific configuration file | |
22 | # where a configuration type, as recognized and generated by config.bfd, | |
23 | # is mapped to different system-specific definitions and files. This is | |
24 | # invoked by the autoconf-generated configure script, called for build, | |
25 | # host and target in that order, setting ${machine} to each. Putting it | |
26 | # in a separate shell file lets us skip running autoconf when modifying | |
27 | # build-, host- and target-specific information. | |
28 | ||
29 | # This file switches on the shell variable ${machine}, and also uses the | |
30 | # following shell variables: | |
31 | # | |
32 | # with_* Various variables as set by configure. | |
33 | # | |
34 | # enable_threads_flag Either the name, yes or no depending on whether | |
35 | # threads support was requested. | |
36 | # | |
37 | # gas_flag Either yes or no depending on whether GNU as was | |
38 | # requested. | |
39 | # | |
40 | # gnu_ld_flag Either yes or no depending on whether GNU ld was | |
41 | # requested. | |
42 | ||
43 | # This file sets the following shell variables for use by the | |
44 | # autoconf-generated configure script: | |
45 | # | |
46 | # cpu_type The name of the cpu, if different from machine. | |
47 | # | |
48 | # tm_file A list of target macro files, if different from | |
32fb7c9d FS |
49 | # "$cpu_type/$cpu_type.h". Usually it's constructed |
50 | # per target in a way like this: | |
c40409ce | 51 | # tm_file="${tm_file} dbxelf.h elfos.h svr4.h ${cpu_type.h}/elf.h" |
32fb7c9d FS |
52 | # Note that the preferred order is: |
53 | # - specific target header "${cpu_type}/${cpu_type.h}" | |
c40409ce | 54 | # - generic headers like dbxelf.h elfos.h, netware.h, etc. |
32fb7c9d FS |
55 | # - specializing target headers like ${cpu_type.h}/elf.h |
56 | # This helps to keep OS specific stuff out of the CPU | |
57 | # defining header ${cpu_type}/${cpu_type.h}. | |
61ed06c3 HPN |
58 | # |
59 | # tm_p_file Location of file with declarations for functions | |
60 | # in $out_file. | |
61 | # | |
62 | # out_file The name of the machine description C support | |
63 | # file, if different from "$cpu_type/$cpu_type.c". | |
64 | # | |
65 | # md_file The name of the machine-description file, if | |
66 | # different from "$cpu_type/$cpu_type.md". | |
67 | # | |
68 | # tmake_file A list of machine-description-specific | |
69 | # makefile-fragments, if different from | |
70 | # "$cpu_type/t-$cpu_type". | |
71 | # | |
72 | # float_format Set to the symbolic name for the floating-point | |
73 | # formats used for this machine, if different from | |
74 | # "i64". Used to derive a header file name to | |
75 | # include, like "vax" for "float-vax.h". If no such | |
76 | # file is wanted, set to "none". | |
77 | # | |
78 | # extra_objs List of extra objects that should be linked into | |
79 | # the compiler proper (cc1, cc1obj, cc1plus) | |
80 | # depending on target. | |
81 | # | |
82 | # extra_headers List of used header files from the directory | |
817e13c4 | 83 | # config/${cpu_type}. |
61ed06c3 HPN |
84 | # |
85 | # host_xmake_file List of host-specific makefile-fragments. | |
86 | # | |
87 | # extra_passes List of extra executables compiled for this target | |
88 | # machine, used for compiling from source to object. | |
89 | # | |
90 | # extra_parts List of extra object files that should be compiled | |
91 | # for this target machine. | |
92 | # | |
93 | # extra_programs Like extra_passes, but these are used when linking. | |
94 | # | |
ff7cc307 | 95 | # host_extra_objs List of extra host-dependent objects that should |
61ed06c3 HPN |
96 | # be linked into the compiler proper. |
97 | # | |
ff7cc307 | 98 | # host_extra_gcc_objs List of extra host-dependent objects that should |
61ed06c3 HPN |
99 | # be linked into the gcc driver. |
100 | # | |
ff7cc307 | 101 | # c_target_objs List of extra target-dependent objects that be |
aac69a49 | 102 | # linked into the C compiler only. |
0e5a4ad8 | 103 | # |
ff7cc307 | 104 | # cxx_target_objs List of extra target-dependent objects that be |
aac69a49 | 105 | # linked into the C++ compiler only. |
0e5a4ad8 | 106 | # |
61ed06c3 HPN |
107 | # build_xm_defines List of macros to define when compiling for the |
108 | # build machine. | |
109 | # | |
110 | # build_xm_file List of files to include when compiling for the | |
111 | # build machine. | |
112 | # | |
113 | # host_xm_defines List of macros to define when compiling for the | |
114 | # host machine. | |
115 | # | |
116 | # host_xm_file List of files to include when compiling for the | |
117 | # host machine. | |
118 | # | |
119 | # xm_defines List of macros to define when compiling for the | |
120 | # target machine. | |
121 | # | |
122 | # xm_file List of files to include when compiling for the | |
123 | # target machine. | |
124 | # | |
125 | # use_collect2 Set to yes or no, depending on whether collect2 | |
126 | # will be used. | |
127 | # | |
128 | # target_cpu_default Set to override the default target model. | |
129 | # | |
130 | # build_install_headers_dir | |
131 | # Target to use when installing header files. | |
132 | # | |
61ed06c3 HPN |
133 | # host_truncate_target |
134 | # Non-empty if the target name should be truncated | |
135 | # on this host, due to filename length issues. | |
136 | # | |
137 | # gdb_needs_out_file_path | |
138 | # Set to yes if gdb needs a dir command with | |
139 | # `dirname $out_file`. | |
140 | # | |
141 | # build_exeext Set to the suffix, if the build machine requires | |
142 | # executables to have a file name suffix. | |
143 | # | |
144 | # host_exeext Set to the suffix, if the host machine requires | |
145 | # executables to have a file name suffix. | |
146 | # | |
147 | # thread_file Set to control which thread package to use. | |
148 | # | |
149 | # gas Set to yes or no depending on whether the target | |
150 | # system normally uses GNU as. | |
151 | ||
152 | # The following variables are used in each case-construct to build up the | |
153 | # outgoing variables: | |
154 | # | |
155 | # xmake_file Makefile-fragment when this system is as a host, | |
156 | # for host_xmake_file. | |
157 | # | |
158 | # extra_host_objs List of extra objects that should be linked into | |
159 | # the compiler proper when this system is a host, | |
160 | # for host_extra_objs. | |
161 | # | |
162 | # install_headers_dir Makefile-target for how the header file directory | |
163 | # is installed, when this system is a build system, | |
164 | # for build_install_headers_dir. | |
165 | # | |
166 | # truncate_target Non-empty if the target name should be truncated | |
167 | # when this system is a host, due to filename length | |
168 | # issues. For host_truncate_target. | |
169 | # | |
170 | # exeext The suffix for executables on this system. | |
171 | # | |
172 | # gnu_ld Set to yes or no depending on whether the target | |
173 | # system normally uses GNU ld. | |
174 | ||
175 | out_file= | |
176 | xmake_file= | |
177 | tmake_file= | |
178 | extra_headers= | |
179 | extra_passes= | |
180 | extra_parts= | |
181 | extra_programs= | |
182 | extra_objs= | |
183 | extra_host_objs= | |
184 | extra_gcc_objs= | |
aac69a49 NC |
185 | c_target_objs= |
186 | cxx_target_objs= | |
61ed06c3 HPN |
187 | xm_defines= |
188 | float_format= | |
189 | # Set this to force installation and use of collect2. | |
190 | use_collect2= | |
191 | # Set this to override the default target model. | |
192 | target_cpu_default= | |
193 | # Set this to control how the header file directory is installed. | |
194 | install_headers_dir=install-headers-tar | |
61ed06c3 HPN |
195 | # Set this if directory names should be truncated to 14 characters. |
196 | truncate_target= | |
197 | # Set this if gdb needs a dir command with `dirname $out_file` | |
198 | gdb_needs_out_file_path= | |
199 | # Set this if the build machine requires executables to have a | |
200 | # file name suffix. | |
201 | exeext= | |
202 | # Set this to control which thread package will be used. | |
203 | thread_file= | |
204 | # Reinitialize these from the flag values every loop pass, since some | |
205 | # configure entries modify them. | |
206 | gas="$gas_flag" | |
207 | gnu_ld="$gnu_ld_flag" | |
208 | enable_threads=$enable_threads_flag | |
209 | ||
210 | # Set default cpu_type, tm_file, tm_p_file and xm_file so it can be | |
ba1e6c0b JM |
211 | # updated in each machine entry. Also set default extra_headers for some |
212 | # machines. | |
61ed06c3 HPN |
213 | tm_p_file= |
214 | cpu_type=`echo $machine | sed 's/-.*$//'` | |
215 | case $machine in | |
216 | alpha*-*-*) | |
217 | cpu_type=alpha | |
218 | ;; | |
219 | strongarm*-*-*) | |
220 | cpu_type=arm | |
221 | ;; | |
222 | arm*-*-*) | |
223 | cpu_type=arm | |
224 | ;; | |
d19fb8e3 NC |
225 | xscale-*-*) |
226 | cpu_type=arm | |
227 | ;; | |
61ed06c3 HPN |
228 | c*-convex-*) |
229 | cpu_type=convex | |
b31bbca2 | 230 | extra_headers=proto.h |
61ed06c3 HPN |
231 | ;; |
232 | i[34567]86-*-*) | |
233 | cpu_type=i386 | |
6f1a6c5b | 234 | extra_headers="mmintrin.h xmmintrin.h" |
61ed06c3 | 235 | ;; |
14f73b5a JH |
236 | x86_64-*-*) |
237 | cpu_type=i386 | |
8559c8c0 | 238 | extra_headers="mmintrin.h xmmintrin.h" |
14f73b5a | 239 | ;; |
817e13c4 JM |
240 | ia64-*-*) |
241 | extra_headers=ia64intrin.h | |
242 | ;; | |
c21a2372 | 243 | hppa*-*-* | parisc*-*-*) |
61ed06c3 HPN |
244 | cpu_type=pa |
245 | ;; | |
5f37d07c | 246 | m680[02]0-*-*) |
61ed06c3 | 247 | cpu_type=m68k |
ba1e6c0b JM |
248 | extra_headers=math-68881.h |
249 | ;; | |
250 | m68k-*-*) | |
251 | extra_headers=math-68881.h | |
61ed06c3 HPN |
252 | ;; |
253 | mips*-*-*) | |
254 | cpu_type=mips | |
255 | ;; | |
256 | pj*-*-*) | |
257 | cpu_type=pj | |
258 | ;; | |
259 | powerpc*-*-*) | |
260 | cpu_type=rs6000 | |
5fb4cf24 | 261 | extra_headers="ppc-asm.h altivec.h" |
61ed06c3 | 262 | ;; |
61ed06c3 HPN |
263 | sparc*-*-*) |
264 | cpu_type=sparc | |
265 | ;; | |
266 | esac | |
267 | ||
268 | tm_file=${cpu_type}/${cpu_type}.h | |
b6d7afec | 269 | if test -f ${srcdir}/config/${cpu_type}/${cpu_type}-protos.h |
61ed06c3 | 270 | then |
b6d7afec ZW |
271 | tm_p_file=${cpu_type}/${cpu_type}-protos.h |
272 | fi | |
61ed06c3 HPN |
273 | # On a.out targets, we need to use collect2. |
274 | case $machine in | |
275 | *-*-*aout*) | |
276 | use_collect2=yes | |
277 | ;; | |
0e5a4ad8 | 278 | esac |
61ed06c3 | 279 | |
f982f805 | 280 | # Common parts for GNU/Linux, GNU/Hurd, OpenBSD, NetBSD, and FreeBSD systems. |
61ed06c3 HPN |
281 | case $machine in |
282 | *-*-linux*) | |
34f4f3a5 | 283 | xm_defines=POSIX |
61ed06c3 | 284 | ;; |
5eeab2e3 MK |
285 | *-*-gnu*) |
286 | # On the Hurd, the setup is just about the same on | |
287 | # each different CPU. The specific machines that we | |
288 | # support are matched above and just set $cpu_type. | |
b19a539e | 289 | xm_defines=POSIX |
f6e0c56c | 290 | tm_file="${cpu_type}/gnu.h" |
275b60d6 | 291 | extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o" |
5eeab2e3 MK |
292 | # GNU always uses ELF. |
293 | elf=yes | |
294 | # GNU tools are the only tools. | |
295 | gnu_ld=yes | |
296 | gas=yes | |
297 | # These details are the same as for Linux. | |
5eeab2e3 | 298 | # But here we need a little extra magic. |
7b3a4df5 | 299 | tmake_file="t-slibgcc-elf-ver t-linux t-gnu" |
f6e0c56c DB |
300 | case $machine in |
301 | i[34567]86-*-*) | |
c40409ce | 302 | tm_file="${cpu_type}/${cpu_type}.h i386/att.h dbxelf.h elfos.h svr4.h linux.h i386/linux.h gnu.h ${tm_file}" |
f6e0c56c | 303 | ;; |
f6e0c56c | 304 | esac |
5eeab2e3 | 305 | ;; |
61ed06c3 HPN |
306 | *-*-openbsd*) |
307 | tm_file=${cpu_type}/openbsd.h | |
f1cf4606 | 308 | tmake_file="t-libc-ok t-openbsd t-libgcc-pic" |
b19a539e | 309 | xm_defines=POSIX |
61ed06c3 HPN |
310 | if test x$enable_threads = xyes; then |
311 | thread_file='posix' | |
312 | tmake_file="${tmake_file} t-openbsd-thread" | |
313 | fi | |
314 | ;; | |
f982f805 JT |
315 | *-*-netbsd*) |
316 | tmake_file="t-libc-ok t-netbsd" | |
317 | xm_defines=POSIX | |
318 | gas=yes | |
319 | gnu_ld=yes | |
320 | ;; | |
9e405fe5 LR |
321 | *-*-freebsd[12] | *-*-freebsd[12].* | *-*-freebsd*aout*) |
322 | # This is the place-holder for the generic a.out configuration | |
323 | # of FreeBSD. No actual configuration resides here since | |
324 | # there was only ever a bare-bones ix86 configuration for | |
325 | # a.out and it exists solely in the machine-specific section. | |
326 | # This place-holder must exist to avoid dropping into | |
327 | # the generic ELF configuration of FreeBSD (i.e. it must be | |
328 | # ordered before that section). | |
329 | ;; | |
330 | *-*-freebsd*) | |
331 | # This is the generic ELF configuration of FreeBSD. Later | |
332 | # machine-specific sections may refine and add to this | |
333 | # configuration. | |
334 | # | |
335 | # Due to tm_file entry ordering issues that vary between cpu | |
336 | # architectures, we only define fbsd_tm_file to allow the | |
337 | # machine-specific section to dictate the final order of all | |
338 | # entries of tm_file with the minor exception that components | |
339 | # of the tm_file set here will always be of the form: | |
340 | # | |
b91da81f | 341 | # freebsd<version_number>.h [freebsd-<conf_option>.h ...] freebsd-spec.h freebsd.h |
9e405fe5 LR |
342 | # |
343 | # The machine-specific section should not tamper with this | |
344 | # ordering but may order all other entries of tm_file as it | |
345 | # pleases around the provided core setting. | |
346 | gas=yes | |
347 | gnu_ld=yes | |
348 | extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o" | |
349 | case $machine in | |
350 | *-*-freebsd3 | *-*-freebsd[3].*) fbsd_tm_file="freebsd3.h";; | |
351 | *-*-freebsd4 | *-*-freebsd[4].*) fbsd_tm_file="freebsd4.h";; | |
352 | *-*-freebsd5 | *-*-freebsd[5].*) fbsd_tm_file="freebsd5.h";; | |
353 | *-*-freebsd6 | *-*-freebsd[6].*) fbsd_tm_file="freebsd6.h";; | |
354 | *) echo 'Please update *-*-freebsd* in gcc/config.gcc'; exit 1;; | |
355 | esac | |
356 | tmake_file=t-freebsd | |
243a7070 | 357 | xmake_file=none |
9e405fe5 LR |
358 | xm_defines=POSIX |
359 | case x${enable_threads} in | |
360 | xno) fbsd_tm_file="${fbsd_tm_file} freebsd-nthr.h";; | |
361 | x | xyes | xpthreads | xposix) | |
362 | thread_file='posix' | |
363 | tmake_file="${tmake_file} t-freebsd-thread" | |
364 | ;; | |
365 | *) echo 'Unknown thread configuration for FreeBSD'; exit 1;; | |
366 | esac | |
b7e0196a | 367 | fbsd_tm_file="${fbsd_tm_file} freebsd-spec.h freebsd.h" |
9e405fe5 | 368 | ;; |
61ed06c3 HPN |
369 | esac |
370 | ||
371 | case $machine in | |
372 | # Support site-specific machine types. | |
373 | *local*) | |
61ed06c3 | 374 | rest=`echo $machine | sed -e "s/$cpu_type-//"` |
61ed06c3 | 375 | tm_file=${cpu_type}/$rest.h |
4dc0535b ZW |
376 | if test -f $srcdir/config/${cpu_type}/xm-$rest.h |
377 | then xm_file=${cpu_type}/xm-$rest.h | |
61ed06c3 | 378 | fi |
4dc0535b ZW |
379 | if test -f $srcdir/config/${cpu_type}/x-$rest |
380 | then xmake_file=${cpu_type}/x-$rest | |
381 | fi | |
382 | if test -f $srcdir/config/${cpu_type}/t-$rest | |
383 | then tmake_file=${cpu_type}/t-$rest | |
61ed06c3 HPN |
384 | fi |
385 | ;; | |
386 | 1750a-*-*) | |
db009825 ZW |
387 | # 1750a is only supported as a target. |
388 | case "$build,$host" in 1750a*,* | *,1750a* ) | |
389 | echo "*** $machine is only supported as a target" >&2 | |
390 | exit 1 | |
391 | esac | |
61ed06c3 HPN |
392 | ;; |
393 | a29k-*-bsd* | a29k-*-sym1*) | |
394 | tm_file="${tm_file} a29k/unix.h" | |
34f4f3a5 | 395 | xm_defines=POSIX |
61ed06c3 HPN |
396 | use_collect2=yes |
397 | ;; | |
398 | a29k-*-udi | a29k-*-coff) | |
2cc07db4 | 399 | tm_file="${tm_file} dbxcoff.h" |
61ed06c3 HPN |
400 | tmake_file=a29k/t-a29kbare |
401 | ;; | |
bc98ef7f JS |
402 | a29k*-*-rtems*) |
403 | tm_file=a29k/rtems.h | |
404 | tmake_file="a29k/t-a29kbare t-rtems" | |
405 | if test x$enable_threads = xyes; then | |
406 | thread_file='rtems' | |
407 | fi | |
408 | ;; | |
61ed06c3 | 409 | a29k-wrs-vxworks*) |
2cc07db4 | 410 | tm_file="${tm_file} dbxcoff.h a29k/vx29k.h" |
61ed06c3 HPN |
411 | tmake_file=a29k/t-vx29k |
412 | extra_parts="crtbegin.o crtend.o" | |
413 | thread_file='vxworks' | |
414 | ;; | |
415 | a29k-*-*) # Default a29k environment. | |
416 | use_collect2=yes | |
417 | ;; | |
30102605 RH |
418 | alpha*-*-unicosmk*) |
419 | use_collect2=yes | |
420 | tm_file="${tm_file} alpha/unicosmk.h" | |
0e5a4ad8 | 421 | |
30102605 RH |
422 | # Don't include t-ieee for now because we don't support that yet |
423 | # tmake_file="alpha/t-ieee" | |
424 | tmake_file="alpha/t-unicosmk" | |
425 | ;; | |
61ed06c3 HPN |
426 | alpha-*-interix) |
427 | tm_file="${tm_file} alpha/alpha32.h interix.h alpha/alpha-interix.h" | |
428 | ||
429 | # GAS + IEEE_CONFORMANT+IEEE (no inexact); | |
430 | #target_cpu_default="MASK_GAS|MASK_IEEE_CONFORMANT|MASK_IEEE" | |
431 | ||
432 | # GAS + IEEE_CONFORMANT | |
433 | target_cpu_default="MASK_GAS|MASK_IEEE_CONFORMANT" | |
434 | ||
34f4f3a5 | 435 | xm_defines=POSIX |
5dd8a9b1 | 436 | xm_file="alpha/xm-alpha-interix.h" |
14455c64 | 437 | tmake_file="alpha/t-alpha t-interix alpha/t-interix alpha/t-ieee" |
61ed06c3 HPN |
438 | if test x$enable_threads = xyes ; then |
439 | thread_file='posix' | |
440 | fi | |
441 | if test x$stabs = xyes ; then | |
442 | tm_file="${tm_file} dbxcoff.h" | |
443 | fi | |
444 | #prefix='$$INTERIX_ROOT'/usr/contrib | |
445 | #local_prefix='$$INTERIX_ROOT'/usr/contrib | |
446 | ;; | |
447 | alpha*-*-linux*ecoff*) | |
448 | tm_file="${tm_file} alpha/linux-ecoff.h alpha/linux.h" | |
449 | target_cpu_default="MASK_GAS" | |
450 | tmake_file="alpha/t-alpha alpha/t-ieee" | |
451 | gas=no | |
61ed06c3 HPN |
452 | gas=yes gnu_ld=yes |
453 | ;; | |
454 | alpha*-*-linux*libc1*) | |
455 | tm_file="${tm_file} alpha/elf.h alpha/linux.h alpha/linux-elf.h" | |
456 | target_cpu_default="MASK_GAS" | |
567d20f0 | 457 | tmake_file="t-slibgcc-elf-ver t-linux t-linux-gnulibc1 alpha/t-alpha alpha/t-crtbe alpha/t-crtfm alpha/t-ieee" |
61ed06c3 HPN |
458 | gas=yes gnu_ld=yes |
459 | if test x$enable_threads = xyes; then | |
460 | thread_file='posix' | |
461 | fi | |
462 | ;; | |
463 | alpha*-*-linux*) | |
464 | tm_file="${tm_file} alpha/elf.h alpha/linux.h alpha/linux-elf.h" | |
465 | target_cpu_default="MASK_GAS" | |
567d20f0 | 466 | tmake_file="t-slibgcc-elf-ver t-linux alpha/t-crtbe alpha/t-crtfm alpha/t-alpha alpha/t-ieee" |
61ed06c3 HPN |
467 | gas=yes gnu_ld=yes |
468 | if test x$enable_threads = xyes; then | |
469 | thread_file='posix' | |
470 | fi | |
471 | ;; | |
472 | alpha*-*-freebsd*) | |
9e405fe5 | 473 | tm_file="${tm_file} ${fbsd_tm_file} alpha/elf.h alpha/freebsd.h" |
61ed06c3 | 474 | target_cpu_default="MASK_GAS" |
567d20f0 | 475 | tmake_file="${tmake_file} alpha/t-crtbe alpha/t-crtfm alpha/t-alpha alpha/t-ieee" |
61ed06c3 HPN |
476 | ;; |
477 | alpha*-*-netbsd*) | |
f982f805 | 478 | tm_file="${tm_file} netbsd.h alpha/elf.h netbsd-elf.h alpha/netbsd.h" |
61ed06c3 | 479 | target_cpu_default="MASK_GAS" |
f982f805 | 480 | tmake_file="${tmake_file} alpha/t-alpha alpha/t-crtbe alpha/t-ieee" |
61ed06c3 HPN |
481 | ;; |
482 | ||
483 | alpha*-*-openbsd*) | |
484 | # default x-alpha is only appropriate for dec-osf. | |
485 | target_cpu_default="MASK_GAS" | |
486 | tmake_file="alpha/t-alpha alpha/t-ieee" | |
487 | ;; | |
0e5a4ad8 | 488 | |
61ed06c3 | 489 | alpha*-dec-osf*) |
b19a539e | 490 | xm_defines=POSIX |
61ed06c3 HPN |
491 | if test x$stabs = xyes |
492 | then | |
493 | tm_file="${tm_file} dbx.h" | |
494 | fi | |
495 | if test x$gas != xyes | |
496 | then | |
497 | extra_passes="mips-tfile mips-tdump" | |
498 | fi | |
499 | use_collect2=yes | |
817e13c4 JM |
500 | tmake_file="alpha/t-alpha alpha/t-ieee alpha/t-crtfm" |
501 | extra_headers=va_list.h | |
61ed06c3 HPN |
502 | case $machine in |
503 | *-*-osf1*) | |
504 | tm_file="${tm_file} alpha/osf.h alpha/osf12.h alpha/osf2or3.h" | |
505 | ;; | |
506 | *-*-osf[23]*) | |
507 | tm_file="${tm_file} alpha/osf.h alpha/osf2or3.h" | |
508 | ;; | |
509 | *-*-osf4*) | |
510 | tm_file="${tm_file} alpha/osf.h" | |
511 | tmake_file="$tmake_file alpha/t-osf4" | |
512 | # Some versions of OSF4 (specifically X4.0-9 296.7) have | |
513 | # a broken tar, so we use cpio instead. | |
514 | install_headers_dir=install-headers-cpio | |
515 | ;; | |
516 | *-*-osf5*) | |
517 | tm_file="${tm_file} alpha/osf.h alpha/osf5.h" | |
518 | tmake_file="$tmake_file alpha/t-osf4" | |
c3e5f9fa | 519 | float_format=i128 |
61ed06c3 HPN |
520 | ;; |
521 | esac | |
522 | case $machine in | |
523 | *-*-osf4.0[b-z] | *-*-osf4.[1-9]* | *-*-osf5*) | |
524 | target_cpu_default=MASK_SUPPORT_ARCH | |
525 | ;; | |
526 | esac | |
527 | ;; | |
528 | alpha*-*-vxworks*) | |
b19a539e | 529 | xm_defines=POSIX |
61ed06c3 HPN |
530 | tm_file="${tm_file} dbx.h alpha/vxworks.h" |
531 | tmake_file="alpha/t-alpha alpha/t-ieee" | |
532 | if [ x$gas != xyes ] | |
533 | then | |
534 | extra_passes="mips-tfile mips-tdump" | |
535 | fi | |
536 | use_collect2=yes | |
537 | thread_file='vxworks' | |
538 | ;; | |
b6bfa876 DR |
539 | alpha64-dec-*vms*) |
540 | xm_defines=POSIX | |
541 | tm_file="alpha/vms.h alpha/vms64.h" | |
542 | xm_file="alpha/xm-vms.h alpha/xm-vms64.h" | |
543 | tmake_file="alpha/t-alpha alpha/t-vms alpha/t-vms64 alpha/t-ieee" | |
544 | xmake_file=alpha/x-vms | |
545 | exeext=.exe | |
546 | # This removes the cpu type and manufacturer components and | |
547 | # replaces "." with "_" in the operating system version. | |
548 | case $host in *-*-*vms*) | |
549 | target_alias=`echo $host \ | |
550 | | sed 's/.*-.*-\(.*\)$/\1/' | sed 's/\./_/g'` | |
551 | ;; | |
552 | esac | |
ff3aaf17 | 553 | install_headers_dir=install-headers-cp |
b6bfa876 DR |
554 | prefix=/gnu |
555 | local_prefix=/gnu | |
556 | ;; | |
ef057c45 | 557 | alpha*-dec-*vms*) |
b19a539e | 558 | xm_defines=POSIX |
61ed06c3 | 559 | tm_file=alpha/vms.h |
4dc0535b | 560 | xm_file=alpha/xm-vms.h |
61ed06c3 | 561 | tmake_file="alpha/t-alpha alpha/t-vms alpha/t-ieee" |
d133777f | 562 | xmake_file=alpha/x-vms |
ef057c45 DR |
563 | exeext=.exe |
564 | # This removes the cpu type and manufacturer components and | |
565 | # replaces "." with "_" in the operating system version. | |
566 | case $host in *-*-*vms*) | |
567 | target_alias=`echo $host \ | |
568 | | sed 's/.*-.*-\(.*\)$/\1/' | sed 's/\./_/g'` | |
569 | ;; | |
570 | esac | |
ff3aaf17 | 571 | install_headers_dir=install-headers-cp |
ef057c45 DR |
572 | prefix=/gnu |
573 | local_prefix=/gnu | |
61ed06c3 | 574 | ;; |
2cc07db4 | 575 | arc-*-elf*) |
c40409ce | 576 | tm_file="dbxelf.h elfos.h svr4.h ${tm_file}" |
2cc07db4 RH |
577 | extra_parts="crtinit.o crtfini.o" |
578 | ;; | |
bc98ef7f | 579 | arm*-*-rtems*) |
c40409ce | 580 | tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h arm/rtems-elf.h rtems.h" |
bc98ef7f JS |
581 | tmake_file="arm/t-arm-elf t-rtems" |
582 | if test x$enable_threads = xyes; then | |
583 | thread_file='rtems' | |
584 | fi | |
bc98ef7f | 585 | ;; |
61ed06c3 | 586 | arm-*-coff* | armel-*-coff*) |
5059254f | 587 | tm_file="arm/semi.h arm/aout.h arm/arm.h arm/coff.h" |
61ed06c3 HPN |
588 | tmake_file=arm/t-arm-coff |
589 | ;; | |
590 | arm-*-vxworks*) | |
5059254f | 591 | tm_file="arm/semi.h arm/aout.h arm/coff.h arm/vxarm.h arm/arm.h" |
61ed06c3 HPN |
592 | tmake_file=arm/t-arm-coff |
593 | thread_file='vxworks' | |
594 | ;; | |
595 | arm-*-riscix1.[01]*) # Acorn RISC machine (early versions) | |
5059254f | 596 | tm_file="arm/riscix1-1.h arm/arm.h" |
61ed06c3 HPN |
597 | use_collect2=yes |
598 | ;; | |
599 | arm-*-riscix*) # Acorn RISC machine | |
600 | if test x$gas = xyes | |
601 | then | |
5059254f | 602 | tm_file="arm/riscix.h arm/rix-gas.h arm/arm.h" |
61ed06c3 | 603 | else |
5059254f | 604 | tm_file="arm/riscix.h arm/arm.h" |
61ed06c3 | 605 | fi |
61ed06c3 HPN |
606 | tmake_file=arm/t-riscix |
607 | use_collect2=yes | |
608 | ;; | |
609 | arm-semi-aout | armel-semi-aout) | |
5059254f | 610 | tm_file="arm/semi.h arm/aout.h arm/arm.h" |
61ed06c3 HPN |
611 | tmake_file=arm/t-semi |
612 | ;; | |
613 | arm-semi-aof | armel-semi-aof) | |
5059254f | 614 | tm_file="arm/semiaof.h arm/aof.h arm/arm.h" |
7857f134 | 615 | tmake_file=arm/t-semi |
61ed06c3 | 616 | ;; |
5742588d DB |
617 | arm*-*-freebsd*|strongarm*-*-freebsd*) |
618 | tm_file="dbxelf.h elfos.h ${fbsd_tm_file} arm/elf.h arm/aout.h arm/freebsd.h arm/arm.h" | |
619 | tmake_file="${tmake_file} arm/t-strongarm-elf" | |
620 | ;; | |
61ed06c3 | 621 | arm*-*-netbsd*) |
f982f805 | 622 | tm_file="arm/aout.h arm/arm.h netbsd.h netbsd-aout.h arm/netbsd.h" |
61ed06c3 HPN |
623 | tmake_file="t-netbsd arm/t-netbsd" |
624 | use_collect2=yes | |
625 | ;; | |
14879e76 | 626 | arm*-*-linux*) # ARM GNU/Linux with ELF |
c40409ce | 627 | tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h arm/linux-gas.h arm/linux-elf.h" |
7b3a4df5 | 628 | tmake_file="t-slibgcc-elf-ver t-linux arm/t-linux" |
61ed06c3 HPN |
629 | extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o" |
630 | gnu_ld=yes | |
631 | case x${enable_threads} in | |
632 | x | xyes | xpthreads | xposix) | |
633 | thread_file='posix' | |
634 | ;; | |
635 | esac | |
636 | ;; | |
637 | arm*-*-uclinux*) # ARM ucLinux | |
c40409ce | 638 | tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h arm/linux-gas.h arm/linux-elf.h arm/uclinux-elf.h" |
61ed06c3 HPN |
639 | tmake_file=arm/t-arm-elf |
640 | ;; | |
641 | arm*-*-aout) | |
f910b1bb | 642 | tm_file="arm/aout.h arm/arm.h" |
61ed06c3 HPN |
643 | tmake_file=arm/t-arm-aout |
644 | ;; | |
645 | arm*-*-ecos-elf) | |
c40409ce | 646 | tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h arm/ecos-elf.h" |
61ed06c3 | 647 | tmake_file=arm/t-arm-elf |
0e5a4ad8 | 648 | ;; |
61ed06c3 | 649 | arm*-*-elf) |
c40409ce | 650 | tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h" |
61ed06c3 HPN |
651 | tmake_file=arm/t-arm-elf |
652 | ;; | |
653 | arm*-*-conix*) | |
c40409ce | 654 | tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/conix-elf.h arm/aout.h arm/arm.h" |
61ed06c3 HPN |
655 | tmake_file=arm/t-arm-elf |
656 | ;; | |
657 | arm*-*-oabi) | |
c40409ce | 658 | tm_file="arm/unknown-elf-oabi.h dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h" |
61ed06c3 HPN |
659 | tmake_file=arm/t-arm-elf |
660 | ;; | |
661 | arm-*-pe*) | |
f910b1bb | 662 | tm_file="arm/semi.h arm/aout.h arm/arm.h arm/coff.h arm/pe.h" |
61ed06c3 HPN |
663 | tmake_file=arm/t-pe |
664 | extra_objs="pe.o" | |
665 | ;; | |
666 | avr-*-*) | |
667 | ;; | |
668 | c1-convex-*) # Convex C1 | |
669 | target_cpu_default=1 | |
670 | use_collect2=yes | |
671 | ;; | |
672 | c2-convex-*) # Convex C2 | |
673 | target_cpu_default=2 | |
674 | use_collect2=yes | |
675 | ;; | |
676 | c32-convex-*) | |
677 | target_cpu_default=4 | |
678 | use_collect2=yes | |
679 | ;; | |
680 | c34-convex-*) | |
681 | target_cpu_default=8 | |
682 | use_collect2=yes | |
683 | ;; | |
684 | c38-convex-*) | |
0e5a4ad8 | 685 | target_cpu_default=16 |
61ed06c3 HPN |
686 | use_collect2=yes |
687 | ;; | |
bc98ef7f | 688 | c4x-*-rtems*) |
bc98ef7f JS |
689 | tmake_file="c4x/t-c4x t-rtems" |
690 | tm_file=c4x/rtems.h | |
691 | if test x$enable_threads = xyes; then | |
692 | thread_file='rtems' | |
693 | fi | |
51fabca5 NB |
694 | c_target_objs="c4x-c.o" |
695 | cxx_target_objs="c4x-c.o" | |
bc98ef7f | 696 | ;; |
61ed06c3 | 697 | c4x-*) |
61ed06c3 HPN |
698 | float_format=c4x |
699 | tmake_file=c4x/t-c4x | |
51fabca5 NB |
700 | c_target_objs="c4x-c.o" |
701 | cxx_target_objs="c4x-c.o" | |
61ed06c3 HPN |
702 | ;; |
703 | clipper-intergraph-clix*) | |
704 | tm_file="${tm_file} svr3.h clipper/clix.h" | |
34f4f3a5 | 705 | xm_defines=POSIX |
61ed06c3 HPN |
706 | extra_parts="crtbegin.o crtend.o" |
707 | install_headers_dir=install-headers-cpio | |
708 | ;; | |
0b85d816 | 709 | cris-*-aout) |
32fb7c9d | 710 | tm_file="dbxelf.h ${tm_file} cris/aout.h" |
0b85d816 HPN |
711 | gas=yes |
712 | tmake_file="cris/t-cris cris/t-aout" | |
713 | ;; | |
714 | cris-*-elf | cris-*-none) | |
c40409ce | 715 | tm_file="dbxelf.h elfos.h ${tm_file}" |
0b85d816 HPN |
716 | tmake_file="cris/t-cris cris/t-elfmulti" |
717 | gas=yes | |
718 | ;; | |
719 | cris-*-linux*) | |
c40409ce | 720 | tm_file="dbxelf.h elfos.h svr4.h ${tm_file} linux.h cris/linux.h" |
0b85d816 | 721 | tmake_file="cris/t-cris t-slibgcc-elf-ver cris/t-linux" |
275b60d6 | 722 | extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o" |
0b85d816 HPN |
723 | case x${enable_threads} in |
724 | x | xyes | xpthreads | xposix) | |
725 | thread_file=posix | |
726 | ;; | |
727 | esac | |
728 | gas=yes | |
729 | ;; | |
61ed06c3 | 730 | d30v-*) |
c40409ce | 731 | tm_file="dbxelf.h elfos.h svr4.h ${tm_file}" |
61ed06c3 HPN |
732 | float_format=i64 |
733 | ;; | |
734 | dsp16xx-*) | |
735 | ;; | |
736 | elxsi-elxsi-*) | |
737 | use_collect2=yes | |
738 | ;; | |
739 | fr30-*-elf) | |
c40409ce | 740 | tm_file="dbxelf.h elfos.h svr4.h ${tm_file}" |
61ed06c3 HPN |
741 | tmake_file=fr30/t-fr30 |
742 | extra_parts="crti.o crtn.o crtbegin.o crtend.o" | |
743 | ;; | |
bc98ef7f JS |
744 | h8300-*-rtems*) |
745 | tmake_file="h8300/t-h8300 t-rtems" | |
746 | tm_file=h8300/rtems.h | |
747 | if test x$enable_threads = xyes; then | |
748 | thread_file='rtems' | |
749 | fi | |
750 | float_format=i32 | |
751 | ;; | |
9f5b774b R |
752 | h8300-*-elf*) |
753 | tmake_file="h8300/t-h8300 h8300/t-elf" | |
754 | tm_file="h8300/h8300.h h8300/elf.h" | |
755 | float_format=i32 | |
756 | ;; | |
61ed06c3 HPN |
757 | h8300-*-*) |
758 | float_format=i32 | |
759 | ;; | |
c21a2372 AM |
760 | hppa*64*-*-linux* | parisc*64*-*-linux*) |
761 | target_cpu_default="(MASK_PA_11 | MASK_PA_20)" | |
c40409ce | 762 | tm_file="pa/pa64-start.h ${tm_file} dbxelf.h elfos.h svr4.h linux.h pa/pa-linux.h \ |
c21a2372 AM |
763 | pa/pa64-regs.h pa/pa-64.h pa/pa64-linux.h" |
764 | tmake_file=pa/t-linux64 | |
c21a2372 AM |
765 | gas=yes gnu_ld=yes |
766 | ;; | |
767 | hppa*-*-linux* | parisc*-*-linux*) | |
768 | target_cpu_default="MASK_PA_11" | |
c40409ce | 769 | tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h pa/pa-linux.h \ |
c21a2372 | 770 | pa/pa32-regs.h pa/pa32-linux.h" |
7b3a4df5 | 771 | tmake_file="t-slibgcc-elf-ver t-linux pa/t-linux" |
275b60d6 | 772 | extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o" |
61ed06c3 HPN |
773 | gas=yes gnu_ld=yes |
774 | if test x$enable_threads = xyes; then | |
775 | thread_file='posix' | |
776 | fi | |
777 | ;; | |
778 | hppa*-*-openbsd*) | |
779 | target_cpu_default="MASK_PA_11" | |
14455c64 | 780 | tmake_file=pa/t-bsd |
61ed06c3 HPN |
781 | ;; |
782 | hppa1.1-*-pro*) | |
783 | target_cpu_default="(MASK_JUMP_IN_DELAY | MASK_PORTABLE_RUNTIME | MASK_GAS | MASK_NO_SPACE_REGS | MASK_SOFT_FLOAT)" | |
c40409ce | 784 | tm_file="${tm_file} pa/pa32-regs.h dbxelf.h elfos.h pa/elf.h pa/pa-pro-end.h libgloss.h" |
14455c64 | 785 | tmake_file="pa/t-bsd pa/t-pro" |
61ed06c3 HPN |
786 | ;; |
787 | hppa1.1-*-osf*) | |
788 | target_cpu_default="MASK_PA_11" | |
789 | tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-osf.h" | |
14455c64 | 790 | tmake_file="pa/t-bsd pa/t-pa" |
61ed06c3 HPN |
791 | use_collect2=yes |
792 | ;; | |
793 | hppa1.1-*-rtems*) | |
794 | target_cpu_default="(MASK_JUMP_IN_DELAY | MASK_PORTABLE_RUNTIME | MASK_GAS | MASK_NO_SPACE_REGS | MASK_SOFT_FLOAT)" | |
c40409ce | 795 | tm_file="${tm_file} pa/pa32-regs.h dbxelf.h elfos.h pa/elf.h pa/pa-pro-end.h libgloss.h pa/rtems.h" |
14455c64 | 796 | tmake_file="pa/t-bsd pa/t-pro" |
61ed06c3 HPN |
797 | ;; |
798 | hppa1.0-*-osf*) | |
799 | tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-osf.h" | |
14455c64 | 800 | tmake_file="pa/t-bsd pa/t-pa" |
61ed06c3 HPN |
801 | use_collect2=yes |
802 | ;; | |
803 | hppa1.1-*-bsd*) | |
804 | tm_file="${tm_file} pa/pa32-regs.h pa/som.h" | |
805 | target_cpu_default="MASK_PA_11" | |
14455c64 | 806 | tmake_file="pa/t-bsd pa/t-pa" |
61ed06c3 HPN |
807 | use_collect2=yes |
808 | ;; | |
809 | hppa1.0-*-bsd*) | |
810 | tm_file="${tm_file} pa/pa32-regs.h pa/som.h" | |
14455c64 | 811 | tmake_file="pa/t-bsd pa/t-pa" |
61ed06c3 HPN |
812 | use_collect2=yes |
813 | ;; | |
814 | hppa1.0-*-hpux7*) | |
815 | tm_file="pa/pa-oldas.h ${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux7.h" | |
34f4f3a5 | 816 | xm_defines=POSIX |
14455c64 | 817 | tmake_file=pa/t-pa-hpux |
61ed06c3 HPN |
818 | install_headers_dir=install-headers-cpio |
819 | use_collect2=yes | |
820 | ;; | |
821 | hppa1.0-*-hpux8.0[0-2]*) | |
822 | tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h" | |
34f4f3a5 | 823 | xm_defines=POSIX |
14455c64 | 824 | tmake_file=pa/t-pa-hpux |
c21a2372 | 825 | if test x$gas != xyes |
61ed06c3 | 826 | then |
61ed06c3 HPN |
827 | tm_file="pa/pa-oldas.h ${tm_file}" |
828 | fi | |
829 | install_headers_dir=install-headers-cpio | |
830 | use_collect2=yes | |
831 | ;; | |
832 | hppa1.1-*-hpux8.0[0-2]*) | |
833 | target_cpu_default="MASK_PA_11" | |
834 | tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h" | |
34f4f3a5 | 835 | xm_defines=POSIX |
14455c64 | 836 | tmake_file=pa/t-pa-hpux |
c21a2372 | 837 | if test x$gas != xyes |
61ed06c3 | 838 | then |
61ed06c3 HPN |
839 | tm_file="pa/pa-oldas.h ${tm_file}" |
840 | fi | |
841 | install_headers_dir=install-headers-cpio | |
842 | use_collect2=yes | |
843 | ;; | |
844 | hppa1.1-*-hpux8*) | |
845 | target_cpu_default="MASK_PA_11" | |
846 | tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h" | |
34f4f3a5 | 847 | xm_defines=POSIX |
14455c64 | 848 | tmake_file=pa/t-pa-hpux |
61ed06c3 HPN |
849 | install_headers_dir=install-headers-cpio |
850 | use_collect2=yes | |
851 | ;; | |
852 | hppa1.0-*-hpux8*) | |
853 | tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h" | |
34f4f3a5 | 854 | xm_defines=POSIX |
14455c64 | 855 | tmake_file=pa/t-pa-hpux |
61ed06c3 HPN |
856 | install_headers_dir=install-headers-cpio |
857 | use_collect2=yes | |
858 | ;; | |
859 | hppa1.1-*-hpux10* | hppa2*-*-hpux10*) | |
860 | target_cpu_default="MASK_PA_11" | |
861 | tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-hpux.h pa/pa-hpux10.h" | |
862 | float_format=i128 | |
34f4f3a5 | 863 | xm_defines=POSIX |
e4761274 | 864 | tmake_file="pa/t-pa pa/t-pa-hpux pa/t-hpux-shlib" |
61ed06c3 HPN |
865 | if test x$enable_threads = x; then |
866 | enable_threads=$have_pthread_h | |
867 | fi | |
868 | case x${enable_threads} in | |
869 | xyes | xdce) | |
870 | tmake_file="${tmake_file} pa/t-dce-thr" | |
871 | ;; | |
872 | esac | |
873 | install_headers_dir=install-headers-cpio | |
874 | use_collect2=yes | |
875 | ;; | |
876 | hppa1.0-*-hpux10*) | |
877 | tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-hpux.h pa/pa-hpux10.h" | |
878 | float_format=i128 | |
34f4f3a5 | 879 | xm_defines=POSIX |
e4761274 | 880 | tmake_file="pa/t-pa pa/t-pa-hpux pa/t-hpux-shlib" |
61ed06c3 HPN |
881 | if test x$enable_threads = x; then |
882 | enable_threads=$have_pthread_h | |
883 | fi | |
884 | case x${enable_threads} in | |
885 | xyes | xdce) | |
886 | tmake_file="${tmake_file} pa/t-dce-thr" | |
887 | ;; | |
888 | esac | |
889 | install_headers_dir=install-headers-cpio | |
890 | use_collect2=yes | |
891 | ;; | |
892 | hppa*64*-*-hpux11*) | |
34f4f3a5 | 893 | xm_defines=POSIX |
38010927 | 894 | tm_file="pa/pa64-start.h ${tm_file} pa/pa64-regs.h pa/long_double.h pa/elf.h pa/pa-hpux.h pa/pa-hpux11.h pa/pa-64.h pa/pa64-hpux.h" |
61ed06c3 | 895 | float_format=i128 |
eab854f6 | 896 | tmake_file="pa/t-pa64 pa/t-pa-hpux" |
c81460e4 | 897 | target_cpu_default="(MASK_PA_11|MASK_PA_20|MASK_GAS)" |
61ed06c3 | 898 | |
61ed06c3 HPN |
899 | # if [ x$enable_threads = x ]; then |
900 | # enable_threads=$have_pthread_h | |
901 | # fi | |
902 | # if [ x$enable_threads = xyes ]; then | |
903 | # thread_file='dce' | |
904 | # tmake_file="${tmake_file} pa/t-dce-thr" | |
905 | # fi | |
906 | install_headers_dir=install-headers-cpio | |
907 | use_collect2=yes | |
908 | ;; | |
909 | hppa1.1-*-hpux11* | hppa2*-*-hpux11*) | |
910 | target_cpu_default="MASK_PA_11" | |
911 | tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-hpux.h pa/pa-hpux11.h" | |
912 | float_format=i128 | |
34f4f3a5 | 913 | xm_defines=POSIX |
e4761274 | 914 | tmake_file="pa/t-pa pa/t-pa-hpux pa/t-hpux-shlib" |
61ed06c3 HPN |
915 | # if test x$enable_threads = x; then |
916 | # enable_threads=$have_pthread_h | |
917 | # fi | |
918 | # if test x$enable_threads = xyes; then | |
919 | # thread_file='dce' | |
920 | # tmake_file="${tmake_file} pa/t-dce-thr" | |
921 | # fi | |
922 | install_headers_dir=install-headers-cpio | |
923 | use_collect2=yes | |
924 | ;; | |
925 | hppa1.0-*-hpux11*) | |
926 | tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-hpux.h pa/pa-hpux11.h" | |
927 | float_format=i128 | |
34f4f3a5 | 928 | xm_defines=POSIX |
e4761274 | 929 | tmake_file="pa/t-pa pa/t-pa-hpux pa/t-hpux-shlib" |
61ed06c3 HPN |
930 | # if test x$enable_threads = x; then |
931 | # enable_threads=$have_pthread_h | |
932 | # fi | |
933 | # if test x$enable_threads = xyes; then | |
934 | # thread_file='dce' | |
935 | # tmake_file="${tmake_file} pa/t-dce-thr" | |
936 | # fi | |
937 | install_headers_dir=install-headers-cpio | |
938 | use_collect2=yes | |
939 | ;; | |
940 | hppa1.1-*-hpux* | hppa2*-*-hpux*) | |
941 | target_cpu_default="MASK_PA_11" | |
942 | tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h pa/pa-hpux9.h" | |
34f4f3a5 | 943 | xm_defines=POSIX |
14455c64 | 944 | tmake_file=pa/t-pa-hpux |
61ed06c3 HPN |
945 | install_headers_dir=install-headers-cpio |
946 | use_collect2=yes | |
947 | ;; | |
948 | hppa1.0-*-hpux*) | |
949 | tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h pa/pa-hpux9.h" | |
34f4f3a5 | 950 | xm_defines=POSIX |
14455c64 | 951 | tmake_file=pa/t-pa-hpux |
61ed06c3 HPN |
952 | install_headers_dir=install-headers-cpio |
953 | use_collect2=yes | |
954 | ;; | |
955 | hppa1.1-*-hiux* | hppa2*-*-hiux*) | |
956 | target_cpu_default="MASK_PA_11" | |
957 | tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h pa/pa-hiux.h" | |
34f4f3a5 | 958 | xm_defines=POSIX |
14455c64 | 959 | tmake_file=pa/t-pa-hpux |
61ed06c3 HPN |
960 | install_headers_dir=install-headers-cpio |
961 | use_collect2=yes | |
962 | ;; | |
963 | hppa1.0-*-hiux*) | |
964 | tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h pa/pa-hiux.h" | |
34f4f3a5 | 965 | xm_defines=POSIX |
14455c64 | 966 | tmake_file=pa/t-pa-hpux |
61ed06c3 HPN |
967 | install_headers_dir=install-headers-cpio |
968 | use_collect2=yes | |
969 | ;; | |
970 | hppa*-*-lites*) | |
c40409ce | 971 | tm_file="${tm_file} pa/pa32-regs.h dbxelf.h elfos.h pa/elf.h" |
61ed06c3 | 972 | target_cpu_default="MASK_PA_11" |
14455c64 | 973 | tmake_file="pa/t-bsd pa/t-pa" |
61ed06c3 HPN |
974 | use_collect2=yes |
975 | ;; | |
976 | hppa*-*-mpeix*) | |
977 | tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-mpeix.h" | |
5dd8a9b1 | 978 | tmake_file=pa/t-mpeix |
0e5a4ad8 | 979 | echo "You must use gas. Assuming it is already installed." |
c21a2372 | 980 | gas=yes |
61ed06c3 | 981 | install_headers_dir=install-headers-tar |
0e5a4ad8 EC |
982 | use_collect2=yes |
983 | ;; | |
61ed06c3 | 984 | i370-*-opened*) # IBM 360/370/390 Architecture |
34f4f3a5 | 985 | xm_defines='POSIX FATAL_EXIT_CODE=12' |
61ed06c3 | 986 | tm_file=i370/oe.h |
14455c64 | 987 | tmake_file="i370/t-oe i370/t-i370" |
51fabca5 NB |
988 | c_target_objs="i370-c.o" |
989 | cxx_target_objs="i370-c.o" | |
61ed06c3 HPN |
990 | ;; |
991 | i370-*-mvs*) | |
34f4f3a5 | 992 | xm_defines='POSIX FATAL_EXIT_CODE=12' |
61ed06c3 | 993 | tm_file=i370/mvs.h |
51fabca5 NB |
994 | tmake_file="i370/t-i370" |
995 | c_target_objs="i370-c.o" | |
996 | cxx_target_objs="i370-c.o" | |
61ed06c3 HPN |
997 | ;; |
998 | i370-*-linux*) | |
c40409ce | 999 | tm_file="dbxelf.h elfos.h svr4.h linux.h i370/linux.h ${tm_file}" |
7b3a4df5 | 1000 | tmake_file="t-slibgcc-elf-ver t-linux" |
61ed06c3 | 1001 | # broken_install=yes |
275b60d6 | 1002 | extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o" |
61ed06c3 HPN |
1003 | # extra_parts="crtbegin.o crtend.o" |
1004 | gnu_ld=yes | |
1005 | gas=yes | |
1006 | elf=yes | |
1007 | if test x$enable_threads = xyes; then | |
1008 | thread_file='posix' | |
1009 | fi | |
1010 | ;; | |
8da6d80e | 1011 | i[34567]86-*-chorusos*) |
34f4f3a5 | 1012 | xm_defines=POSIX |
c40409ce | 1013 | tm_file="${tm_file} i386/att.h dbxelf.h elfos.h i386/i386elf.h chorus.h" |
14455c64 | 1014 | tmake_file="i386/t-i386elf t-svr4" |
8da6d80e CC |
1015 | case x${enable_threads} in |
1016 | xyes | xpthreads | xposix) | |
1017 | thread_file='posix' | |
1018 | ;; | |
1019 | esac | |
1020 | ;; | |
61ed06c3 | 1021 | i[34567]86-*-elf*) |
34f4f3a5 | 1022 | xm_defines=POSIX |
c40409ce | 1023 | tm_file="${tm_file} i386/att.h dbxelf.h elfos.h i386/i386elf.h" |
14455c64 | 1024 | tmake_file="i386/t-i386elf t-svr4" |
61ed06c3 HPN |
1025 | ;; |
1026 | i[34567]86-ibm-aix*) # IBM PS/2 running AIX | |
1027 | if test x$gas = xyes | |
1028 | then | |
1029 | tm_file=i386/aix386.h | |
1030 | extra_parts="crtbegin.o crtend.o" | |
1031 | tmake_file=i386/t-crtstuff | |
1032 | else | |
1033 | tm_file=i386/aix386ng.h | |
1034 | use_collect2=yes | |
1035 | fi | |
34f4f3a5 | 1036 | xm_defines=POSIX |
61ed06c3 HPN |
1037 | ;; |
1038 | i[34567]86-ncr-sysv4*) # NCR 3000 - ix86 running system V.4 | |
34f4f3a5 | 1039 | xm_defines="POSIX SMALL_ARG_MAX" |
61ed06c3 HPN |
1040 | if test x$stabs = xyes -a x$gas = xyes |
1041 | then | |
1042 | tm_file=i386/sysv4gdb.h | |
1043 | else | |
c40409ce | 1044 | tm_file="${tm_file} i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h" |
61ed06c3 HPN |
1045 | fi |
1046 | extra_parts="crtbegin.o crtend.o" | |
1047 | tmake_file=i386/t-crtpic | |
1048 | ;; | |
1049 | i[34567]86-next-*) | |
15bc166f | 1050 | tm_p_file="${tm_p_file} nextstep-protos.h" |
61ed06c3 | 1051 | tm_file=i386/next.h |
61ed06c3 | 1052 | tmake_file=i386/t-next |
61ed06c3 HPN |
1053 | extra_objs=nextstep.o |
1054 | extra_parts="crtbegin.o crtend.o" | |
1055 | if test x$enable_threads = xyes; then | |
1056 | thread_file='mach' | |
1057 | fi | |
1058 | ;; | |
1059 | i[34567]86-*-netware) # Intel 80386's running netware | |
c40409ce | 1060 | tm_file="${tm_file} i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h netware.h i386/netware.h" |
61ed06c3 HPN |
1061 | tmake_file=i386/t-netware |
1062 | ;; | |
1063 | i[34567]86-sequent-bsd*) # 80386 from Sequent | |
1064 | use_collect2=yes | |
1065 | if test x$gas = xyes | |
1066 | then | |
1067 | tm_file=i386/seq-gas.h | |
1068 | else | |
1069 | tm_file=i386/sequent.h | |
1070 | fi | |
1071 | ;; | |
1072 | i[34567]86-sequent-ptx1*) | |
34f4f3a5 | 1073 | xm_defines=POSIX |
61ed06c3 HPN |
1074 | tm_file=i386/seq-sysv3.h |
1075 | tmake_file=i386/t-crtstuff | |
1076 | extra_parts="crtbegin.o crtend.o" | |
1077 | install_headers_dir=install-headers-cpio | |
1078 | ;; | |
1079 | i[34567]86-sequent-ptx2* | i[34567]86-sequent-sysv3*) | |
34f4f3a5 | 1080 | xm_defines=POSIX |
61ed06c3 HPN |
1081 | tm_file=i386/seq2-sysv3.h |
1082 | tmake_file=i386/t-crtstuff | |
1083 | extra_parts="crtbegin.o crtend.o" | |
1084 | install_headers_dir=install-headers-cpio | |
1085 | ;; | |
1086 | i[34567]86-sequent-ptx4* | i[34567]86-sequent-sysv4*) | |
70305f2b RH |
1087 | if test x$gas = xyes |
1088 | then | |
1089 | tm_file="${tm_file} usegas.h" | |
1090 | fi | |
34f4f3a5 | 1091 | xm_defines="POSIX SMALL_ARG_MAX" |
c40409ce | 1092 | tm_file="${tm_file} i386/att.h dbxelf.h elfos.h ptx4.h i386/ptx4-i.h" |
61ed06c3 HPN |
1093 | tmake_file=t-svr4 |
1094 | extra_parts="crtbegin.o crtend.o" | |
1095 | install_headers_dir=install-headers-cpio | |
1096 | ;; | |
1097 | i386-sun-sunos*) # Sun i386 roadrunner | |
34f4f3a5 | 1098 | xm_defines=POSIX |
61ed06c3 HPN |
1099 | tm_file=i386/sun.h |
1100 | use_collect2=yes | |
1101 | ;; | |
1102 | i[34567]86-wrs-vxworks*) | |
1103 | tm_file=i386/vxi386.h | |
61ed06c3 HPN |
1104 | thread_file='vxworks' |
1105 | ;; | |
1106 | i[34567]86-*-aout*) | |
1107 | tm_file=i386/i386-aout.h | |
61ed06c3 HPN |
1108 | ;; |
1109 | i[34567]86-*-beoself* | i[34567]86-*-beos*) | |
34f4f3a5 | 1110 | xm_defines=POSIX |
61ed06c3 | 1111 | tmake_file='i386/t-beos i386/t-crtpic' |
c40409ce | 1112 | tm_file="${tm_file} i386/att.h dbxelf.h elfos.h svr4.h i386/beos-elf.h" |
61ed06c3 HPN |
1113 | extra_parts='crtbegin.o crtend.o' |
1114 | ;; | |
1115 | i[34567]86-*-bsdi* | i[34567]86-*-bsd386*) | |
c51f6c6b | 1116 | tm_file="i386/386bsd.h i386/bsd386.h" |
61ed06c3 HPN |
1117 | # tmake_file=t-libc-ok |
1118 | ;; | |
1119 | i[34567]86-*-bsd*) | |
1120 | tm_file=i386/386bsd.h | |
1121 | # tmake_file=t-libc-ok | |
1122 | # Next line turned off because both 386BSD and BSD/386 use GNU ld. | |
1123 | # use_collect2=yes | |
1124 | ;; | |
1125 | i[34567]86-*-freebsd[12] | i[34567]86-*-freebsd[12].* | i[34567]86-*-freebsd*aout*) | |
7857f134 | 1126 | tm_file=i386/freebsd-aout.h |
61ed06c3 HPN |
1127 | tmake_file=t-freebsd |
1128 | ;; | |
1129 | i[34567]86-*-freebsd*) | |
c40409ce | 1130 | tm_file="${tm_file} i386/att.h dbxelf.h elfos.h svr4.h ${fbsd_tm_file} i386/freebsd.h" |
61ed06c3 | 1131 | ;; |
6ea0279f | 1132 | i[34567]86-*-netbsdelf*) |
f982f805 | 1133 | tm_file="${tm_file} i386/att.h dbxelf.h elfos.h netbsd.h netbsd-elf.h i386/netbsd-elf.h" |
6ea0279f MG |
1134 | float_format=i386 |
1135 | ;; | |
61ed06c3 HPN |
1136 | i[34567]86-*-netbsd*) |
1137 | tm_file=i386/netbsd.h | |
1138 | tmake_file=t-netbsd | |
1139 | use_collect2=yes | |
1140 | ;; | |
7c884404 JT |
1141 | x86_64-*-netbsd*) |
1142 | tm_file="i386/biarch64.h i386/i386.h i386/att.h dbxelf.h elfos.h netbsd.h netbsd-elf.h i386/x86-64.h i386/netbsd64.h" | |
1143 | float_format=i386 | |
1144 | ;; | |
61ed06c3 | 1145 | i[34567]86-*-openbsd*) |
f1cf4606 ME |
1146 | # needed to unconfuse gdb |
1147 | tmake_file="t-libc-ok t-openbsd i386/t-openbsd" | |
61ed06c3 HPN |
1148 | # we need collect2 until our bug is fixed... |
1149 | use_collect2=yes | |
1150 | ;; | |
1151 | i[34567]86-*-coff*) | |
1152 | tm_file=i386/i386-coff.h | |
61ed06c3 HPN |
1153 | ;; |
1154 | i[34567]86-*-isc*) # 80386 running ISC system | |
34f4f3a5 | 1155 | xm_defines=POSIX |
61ed06c3 HPN |
1156 | if test x$gas = xyes -a x$stabs = xyes |
1157 | then | |
1158 | tm_file=i386/iscdbx.h | |
1159 | tmake_file=i386/t-svr3dbx | |
1160 | extra_parts="svr3.ifile svr3z.ifile" | |
1161 | else | |
1162 | tm_file=i386/isccoff.h | |
1163 | tmake_file=i386/t-crtstuff | |
1164 | extra_parts="crtbegin.o crtend.o" | |
1165 | fi | |
61ed06c3 HPN |
1166 | install_headers_dir=install-headers-cpio |
1167 | ;; | |
1168 | i[34567]86-*-linux*oldld*) # Intel 80386's running GNU/Linux | |
1169 | # with a.out format using | |
1170 | # pre BFD linkers | |
61ed06c3 HPN |
1171 | tmake_file="t-linux-aout i386/t-crtstuff" |
1172 | tm_file=i386/linux-oldld.h | |
1173 | gnu_ld=yes | |
1174 | float_format=i386 | |
1175 | ;; | |
1176 | i[34567]86-*-linux*aout*) # Intel 80386's running GNU/Linux | |
1177 | # with a.out format | |
61ed06c3 HPN |
1178 | tmake_file="t-linux-aout i386/t-crtstuff" |
1179 | tm_file=i386/linux-aout.h | |
1180 | gnu_ld=yes | |
1181 | float_format=i386 | |
1182 | ;; | |
1183 | i[34567]86-*-linux*libc1) # Intel 80386's running GNU/Linux | |
1184 | # with ELF format using the | |
1185 | # GNU/Linux C library 5 | |
c40409ce | 1186 | tm_file="${tm_file} i386/att.h dbxelf.h elfos.h svr4.h linux.h i386/linux.h" |
7b3a4df5 | 1187 | tmake_file="t-slibgcc-elf-ver t-linux t-linux-gnulibc1 i386/t-crtstuff" |
61ed06c3 HPN |
1188 | extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o" |
1189 | gnu_ld=yes | |
1190 | float_format=i386 | |
1191 | if test x$enable_threads = xyes; then | |
1192 | thread_file='single' | |
1193 | fi | |
1194 | ;; | |
1195 | i[34567]86-*-linux*) # Intel 80386's running GNU/Linux | |
1196 | # with ELF format using glibc 2 | |
1197 | # aka GNU/Linux C library 6 | |
c40409ce | 1198 | tm_file="${tm_file} i386/att.h dbxelf.h elfos.h svr4.h linux.h i386/linux.h" |
7b3a4df5 | 1199 | tmake_file="t-slibgcc-elf-ver t-linux i386/t-crtstuff" |
275b60d6 | 1200 | extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o" |
61ed06c3 HPN |
1201 | gnu_ld=yes |
1202 | float_format=i386 | |
1203 | if test x$enable_threads = xyes; then | |
1204 | thread_file='posix' | |
1205 | fi | |
1206 | ;; | |
14f73b5a | 1207 | x86_64-*-linux*) |
c40409ce | 1208 | tm_file="i386/biarch64.h i386/i386.h i386/att.h dbxelf.h elfos.h svr4.h linux.h \ |
32fb7c9d | 1209 | i386/x86-64.h i386/linux64.h" |
14f73b5a | 1210 | tmake_file="t-slibgcc-elf-ver t-linux i386/t-crtstuff" |
275b60d6 | 1211 | extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o" |
14f73b5a JH |
1212 | gnu_ld=yes |
1213 | float_format=i386 | |
1214 | if test x$enable_threads = xyes; then | |
1215 | thread_file='posix' | |
1216 | fi | |
1217 | ;; | |
61ed06c3 HPN |
1218 | i[34567]86-*-gnu*) |
1219 | float_format=i386 | |
1220 | ;; | |
1221 | i[34567]86-go32-msdos | i[34567]86-*-go32*) | |
1222 | echo "GO32/DJGPP V1.X is no longer supported. Use *-pc-msdosdjgpp for DJGPP V2.X instead." | |
1223 | exit 1 | |
1224 | ;; | |
1225 | i[34567]86-pc-msdosdjgpp*) | |
1226 | xm_file=i386/xm-djgpp.h | |
1227 | tm_file=i386/djgpp.h | |
5dd8a9b1 | 1228 | tmake_file=i386/t-djgpp |
61ed06c3 HPN |
1229 | gnu_ld=yes |
1230 | gas=yes | |
1231 | exeext=.exe | |
1232 | float_format=none | |
1233 | case $host in *pc-msdosdjgpp*) | |
1234 | target_alias=djgpp | |
1235 | ;; | |
1236 | esac | |
1237 | ;; | |
1238 | i[34567]86-moss-msdos* | i[34567]86-*-moss*) | |
c40409ce | 1239 | tm_file="${tm_file} i386/att.h dbxelf.h elfos.h svr4.h linux.h i386/linux.h i386/moss.h" |
61ed06c3 HPN |
1240 | tmake_file=t-libc-ok |
1241 | gnu_ld=yes | |
1242 | gas=yes | |
1243 | ;; | |
1244 | i[34567]86-*-lynxos*) | |
1245 | if test x$gas = xyes | |
1246 | then | |
1247 | tm_file=i386/lynx.h | |
1248 | else | |
1249 | tm_file=i386/lynx-ng.h | |
1250 | fi | |
61ed06c3 HPN |
1251 | ;; |
1252 | i[34567]86-*-mach*) | |
1253 | tm_file=i386/mach.h | |
1254 | # tmake_file=t-libc-ok | |
1255 | use_collect2=yes | |
1256 | ;; | |
1257 | i[34567]86-*-osfrose*) # 386 using OSF/rose | |
1258 | if test x$elf = xyes | |
1259 | then | |
1260 | tm_file=i386/osfelf.h | |
1261 | use_collect2= | |
1262 | else | |
1263 | tm_file=i386/osfrose.h | |
1264 | use_collect2=yes | |
1265 | fi | |
61ed06c3 HPN |
1266 | tmake_file=i386/t-osf |
1267 | extra_objs=halfpic.o | |
1268 | ;; | |
1269 | i[34567]86-go32-rtems*) | |
32fb7c9d | 1270 | tm_file=i386/djgpp-rtems.h |
db009825 | 1271 | tmake_file=t-rtems |
bc98ef7f JS |
1272 | if test x$enable_threads = xyes; then |
1273 | thread_file='rtems' | |
1274 | fi | |
61ed06c3 HPN |
1275 | ;; |
1276 | i[34567]86-*-rtemscoff*) | |
61ed06c3 | 1277 | tm_file=i386/rtems.h |
7857f134 | 1278 | tmake_file=t-rtems |
bc98ef7f JS |
1279 | if test x$enable_threads = xyes; then |
1280 | thread_file='rtems' | |
1281 | fi | |
61ed06c3 HPN |
1282 | ;; |
1283 | i[34567]86-*-rtems*|i[34567]86-*-rtemself*) | |
c40409ce | 1284 | tm_file="${tm_file} i386/att.h dbxelf.h elfos.h svr4.h linux.h i386/rtemself.h rtems.h" |
61ed06c3 HPN |
1285 | extra_parts="crtbegin.o crtend.o crti.o crtn.o" |
1286 | tmake_file="i386/t-rtems-i386 i386/t-crtstuff t-rtems" | |
bc98ef7f JS |
1287 | if test x$enable_threads = xyes; then |
1288 | thread_file='rtems' | |
1289 | fi | |
61ed06c3 HPN |
1290 | ;; |
1291 | i[34567]86-*-sco3.2v5*) # 80386 running SCO Open Server 5 | |
34f4f3a5 | 1292 | xm_defines=POSIX |
61ed06c3 HPN |
1293 | install_headers_dir=install-headers-cpio |
1294 | tm_file=i386/sco5.h | |
1295 | if test x$gas = xyes | |
1296 | then | |
70305f2b | 1297 | tm_file="usegas.h ${tm_file}" |
61ed06c3 HPN |
1298 | tmake_file=i386/t-sco5gas |
1299 | else | |
1300 | tmake_file=i386/t-sco5 | |
1301 | fi | |
61ed06c3 HPN |
1302 | extra_parts="crti.o crtbegin.o crtend.o crtbeginS.o crtendS.o" |
1303 | ;; | |
61ed06c3 | 1304 | i[34567]86-*-solaris2*) |
34f4f3a5 | 1305 | xm_defines="POSIX SMALL_ARG_MAX" |
c40409ce | 1306 | tm_file="${tm_file} i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h i386/sol2.h" |
61ed06c3 HPN |
1307 | if test x$gas = xyes; then |
1308 | # Only needed if gas does not support -s | |
1309 | tm_file="i386/sol2gas.h ${tm_file}" | |
1310 | fi | |
14455c64 | 1311 | tmake_file="i386/t-sol2 t-svr4" |
7b3a4df5 RH |
1312 | if test x$gnu_ld = xyes; then |
1313 | tmake_file="$tmake_file t-slibgcc-elf-ver" | |
1314 | else | |
1315 | tmake_file="$tmake_file t-slibgcc-sld" | |
1316 | fi | |
61ed06c3 | 1317 | extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o" |
61ed06c3 HPN |
1318 | if test x${enable_threads} = x; then |
1319 | enable_threads=$have_pthread_h | |
1320 | if test x${enable_threads} = x; then | |
1321 | enable_threads=$have_thread_h | |
1322 | fi | |
1323 | fi | |
1324 | if test x${enable_threads} = xyes; then | |
1325 | if test x${have_pthread_h} = xyes; then | |
1326 | thread_file='posix' | |
1327 | else | |
1328 | thread_file='solaris' | |
1329 | fi | |
1330 | fi | |
1331 | ;; | |
23a535c4 | 1332 | i[34567]86-*-sysv5*) # Intel x86 on System V Release 5 |
34f4f3a5 | 1333 | xm_defines=POSIX |
c40409ce | 1334 | tm_file="${tm_file} i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h i386/sysv5.h" |
61ed06c3 HPN |
1335 | if test x$stabs = xyes |
1336 | then | |
1337 | tm_file="${tm_file} dbx.h" | |
1338 | fi | |
14455c64 | 1339 | tmake_file="i386/t-crtpic t-svr4" |
61ed06c3 HPN |
1340 | extra_parts="crtbegin.o crtend.o" |
1341 | if test x$enable_threads = xyes; then | |
1342 | thread_file='posix' | |
1343 | fi | |
1344 | ;; | |
1345 | i[34567]86-*-sysv4*) # Intel 80386's running system V.4 | |
34f4f3a5 | 1346 | xm_defines="POSIX SMALL_ARG_MAX" |
c40409ce | 1347 | tm_file="${tm_file} i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h" |
61ed06c3 HPN |
1348 | if test x$stabs = xyes |
1349 | then | |
1350 | tm_file="${tm_file} dbx.h" | |
1351 | fi | |
14455c64 | 1352 | tmake_file="i386/t-crtpic t-svr4" |
61ed06c3 HPN |
1353 | extra_parts="crtbegin.o crtend.o" |
1354 | ;; | |
1355 | i[34567]86-*-udk*) # Intel x86 on SCO UW/OSR5 Dev Kit | |
34f4f3a5 | 1356 | xm_defines=POSIX |
c40409ce | 1357 | tm_file="${tm_file} i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h i386/sysv5.h i386/udk.h" |
14455c64 | 1358 | tmake_file="i386/t-crtpic i386/t-udk t-svr4" |
61ed06c3 HPN |
1359 | extra_parts="crtbegin.o crtend.o" |
1360 | install_headers_dir=install-headers-cpio | |
1361 | ;; | |
1362 | i[34567]86-*-osf1*) # Intel 80386's running OSF/1 1.3+ | |
34f4f3a5 | 1363 | xm_defines='POSIX USE_C_ALLOCA SMALL_ARG_MAX' |
61ed06c3 HPN |
1364 | if test x$stabs = xyes |
1365 | then | |
c40409ce | 1366 | tm_file="${tm_file} i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h i386/osf1elf.h i386/osf1elfgdb.h" |
61ed06c3 | 1367 | else |
c40409ce | 1368 | tm_file="${tm_file} i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h i386/osf1elf.h" |
61ed06c3 HPN |
1369 | fi |
1370 | tmake_file=i386/t-osf1elf | |
61ed06c3 HPN |
1371 | extra_parts="crti.o crtn.o crtbegin.o crtend.o" |
1372 | ;; | |
1373 | i[34567]86-*-sysv*) # Intel 80386's running system V | |
34f4f3a5 | 1374 | xm_defines=POSIX |
61ed06c3 HPN |
1375 | if test x$gas = xyes |
1376 | then | |
1377 | if test x$stabs = xyes | |
1378 | then | |
1379 | tm_file=i386/svr3dbx.h | |
1380 | tmake_file=i386/t-svr3dbx | |
1381 | extra_parts="svr3.ifile svr3z.rfile" | |
1382 | else | |
1383 | tm_file=i386/svr3gas.h | |
1384 | extra_parts="crtbegin.o crtend.o" | |
1385 | tmake_file=i386/t-crtstuff | |
1386 | fi | |
1387 | else | |
1388 | tm_file=i386/sysv3.h | |
1389 | extra_parts="crtbegin.o crtend.o" | |
1390 | tmake_file=i386/t-crtstuff | |
1391 | fi | |
1392 | tmake_file="$tmake_file i386/t-crtpic" | |
1393 | ;; | |
1394 | i386-*-vsta) # Intel 80386's running VSTa kernel | |
4dc0535b | 1395 | xm_file=i386/xm-vsta.h |
61ed06c3 | 1396 | tm_file=i386/vsta.h |
61ed06c3 HPN |
1397 | ;; |
1398 | i[34567]86-*-win32) | |
b19a539e | 1399 | xm_defines=POSIX |
4dc0535b | 1400 | xm_file=i386/xm-cygwin.h |
60a8ab96 | 1401 | float_format=i386 |
61ed06c3 HPN |
1402 | tmake_file=i386/t-cygwin |
1403 | tm_file=i386/win32.h | |
61ed06c3 HPN |
1404 | extra_objs=winnt.o |
1405 | if test x$enable_threads = xyes; then | |
1406 | thread_file='win32' | |
1407 | fi | |
1408 | exeext=.exe | |
1409 | ;; | |
1410 | i[34567]86-*-pe | i[34567]86-*-cygwin*) | |
b19a539e | 1411 | xm_defines=POSIX |
4dc0535b | 1412 | xm_file=i386/xm-cygwin.h |
60a8ab96 | 1413 | float_format=i386 |
61ed06c3 HPN |
1414 | tmake_file=i386/t-cygwin |
1415 | tm_file=i386/cygwin.h | |
61ed06c3 HPN |
1416 | extra_objs=winnt.o |
1417 | if test x$enable_threads = xyes; then | |
1418 | thread_file='win32' | |
1419 | fi | |
1420 | exeext=.exe | |
1421 | ;; | |
1422 | i[34567]86-*-mingw32*) | |
1423 | tm_file=i386/mingw32.h | |
60a8ab96 | 1424 | float_format=i386 |
34f4f3a5 | 1425 | xm_defines=POSIX |
4dc0535b | 1426 | xm_file=i386/xm-mingw32.h |
61ed06c3 HPN |
1427 | tmake_file="i386/t-cygwin i386/t-mingw32" |
1428 | extra_objs=winnt.o | |
61ed06c3 HPN |
1429 | if test x$enable_threads = xyes; then |
1430 | thread_file='win32' | |
1431 | fi | |
1432 | exeext=.exe | |
1433 | case $machine in | |
09eaf5a5 | 1434 | *mingw32crt*) |
61ed06c3 HPN |
1435 | tm_file="${tm_file} i386/crtdll.h" |
1436 | ;; | |
09eaf5a5 DS |
1437 | *minwg32msv* | *mingw32*) |
1438 | ;; | |
61ed06c3 HPN |
1439 | esac |
1440 | ;; | |
1441 | i[34567]86-*-uwin*) | |
1442 | tm_file=i386/uwin.h | |
61ed06c3 HPN |
1443 | tmake_file="i386/t-cygwin i386/t-uwin" |
1444 | extra_objs=winnt.o | |
61ed06c3 HPN |
1445 | if test x$enable_threads = xyes; then |
1446 | thread_file='win32' | |
1447 | fi | |
1448 | exeext=.exe | |
1449 | ;; | |
04cec1a7 DR |
1450 | i[34567]86-*-interix3*) |
1451 | tm_file="i386/i386-interix.h i386/i386-interix3.h interix.h interix3.h" | |
5dd8a9b1 | 1452 | xm_file="i386/xm-i386-interix.h" |
04cec1a7 | 1453 | xm_defines=POSIX |
5dd8a9b1 | 1454 | tmake_file="t-interix i386/t-interix" |
04cec1a7 | 1455 | extra_objs=interix.o |
5dd8a9b1 | 1456 | xmake_file="x-interix" |
04cec1a7 DR |
1457 | if test x$enable_threads = xyes ; then |
1458 | thread_file='posix' | |
1459 | fi | |
1460 | if test x$stabs = xyes ; then | |
1461 | tm_file="${tm_file} dbxcoff.h" | |
1462 | fi | |
1463 | ;; | |
61ed06c3 HPN |
1464 | i[34567]86-*-interix*) |
1465 | tm_file="i386/i386-interix.h interix.h" | |
5dd8a9b1 | 1466 | xm_file="i386/xm-i386-interix.h" |
34f4f3a5 | 1467 | xm_defines=POSIX |
14455c64 | 1468 | tmake_file="t-interix i386/t-interix" |
61ed06c3 | 1469 | extra_objs=interix.o |
61ed06c3 HPN |
1470 | if test x$enable_threads = xyes ; then |
1471 | thread_file='posix' | |
1472 | fi | |
1473 | if test x$stabs = xyes ; then | |
1474 | tm_file="${tm_file} dbxcoff.h" | |
1475 | fi | |
1476 | ;; | |
61ed06c3 | 1477 | i[34567]86-dg-dgux*) |
34f4f3a5 | 1478 | xm_defines=POSIX |
c40409ce | 1479 | tm_file="${tm_file} i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h i386/dgux.h" |
61ed06c3 | 1480 | tmake_file=i386/t-dgux |
61ed06c3 HPN |
1481 | install_headers_dir=install-headers-cpio |
1482 | ;; | |
1483 | i860-alliant-*) # Alliant FX/2800 | |
c40409ce | 1484 | tm_file="${tm_file} dbxelf.h elfos.h svr4.h i860/sysv4.h i860/fx2800.h" |
61ed06c3 HPN |
1485 | tmake_file=i860/t-fx2800 |
1486 | extra_parts="crtbegin.o crtend.o" | |
1487 | ;; | |
1488 | i860-*-bsd*) | |
1489 | tm_file="${tm_file} i860/bsd.h" | |
1490 | if test x$gas = xyes | |
1491 | then | |
1492 | tm_file="${tm_file} i860/bsd-gas.h" | |
1493 | fi | |
1494 | use_collect2=yes | |
1495 | ;; | |
1496 | i860-*-mach*) | |
1497 | tm_file="${tm_file} i860/mach.h" | |
1498 | tmake_file=t-libc-ok | |
1499 | ;; | |
1500 | i860-*-osf*) # Intel Paragon XP/S, OSF/1AD | |
1501 | tm_file="${tm_file} svr3.h i860/paragon.h" | |
34f4f3a5 | 1502 | xm_defines=POSIX |
61ed06c3 HPN |
1503 | ;; |
1504 | i860-*-sysv3*) | |
1505 | tm_file="${tm_file} svr3.h i860/sysv3.h" | |
34f4f3a5 | 1506 | xm_defines=POSIX |
61ed06c3 HPN |
1507 | extra_parts="crtbegin.o crtend.o" |
1508 | ;; | |
1509 | i860-*-sysv4*) | |
c40409ce | 1510 | tm_file="${tm_file} dbxelf.h elfos.h svr4.h i860/sysv4.h" |
34f4f3a5 | 1511 | xm_defines=POSIX |
61ed06c3 HPN |
1512 | tmake_file=t-svr4 |
1513 | extra_parts="crtbegin.o crtend.o" | |
1514 | ;; | |
1515 | i960-wrs-vxworks5 | i960-wrs-vxworks5.0*) | |
1516 | tm_file="${tm_file} i960/vx960.h" | |
1517 | tmake_file=i960/t-vxworks960 | |
1518 | use_collect2=yes | |
1519 | thread_file='vxworks' | |
43fabf7d JW |
1520 | c_target_objs="i960-c.o" |
1521 | cxx_target_objs="i960-c.o" | |
61ed06c3 HPN |
1522 | ;; |
1523 | i960-wrs-vxworks5* | i960-wrs-vxworks) | |
1524 | tm_file="${tm_file} dbxcoff.h i960/i960-coff.h i960/vx960-coff.h" | |
1525 | tmake_file=i960/t-vxworks960 | |
1526 | use_collect2=yes | |
1527 | thread_file='vxworks' | |
43fabf7d JW |
1528 | c_target_objs="i960-c.o" |
1529 | cxx_target_objs="i960-c.o" | |
61ed06c3 HPN |
1530 | ;; |
1531 | i960-wrs-vxworks*) | |
1532 | tm_file="${tm_file} i960/vx960.h" | |
1533 | tmake_file=i960/t-vxworks960 | |
1534 | use_collect2=yes | |
1535 | thread_file='vxworks' | |
43fabf7d JW |
1536 | c_target_objs="i960-c.o" |
1537 | cxx_target_objs="i960-c.o" | |
61ed06c3 HPN |
1538 | ;; |
1539 | i960-*-coff*) | |
1540 | tm_file="${tm_file} dbxcoff.h i960/i960-coff.h libgloss.h" | |
1541 | tmake_file=i960/t-960bare | |
43fabf7d JW |
1542 | c_target_objs="i960-c.o" |
1543 | cxx_target_objs="i960-c.o" | |
61ed06c3 HPN |
1544 | ;; |
1545 | i960-*-rtems) | |
1546 | tmake_file="i960/t-960bare t-rtems" | |
1547 | tm_file="${tm_file} dbxcoff.h i960/rtems.h" | |
bc98ef7f JS |
1548 | if test x$enable_threads = xyes; then |
1549 | thread_file='rtems' | |
1550 | fi | |
43fabf7d JW |
1551 | c_target_objs="i960-c.o" |
1552 | cxx_target_objs="i960-c.o" | |
61ed06c3 HPN |
1553 | ;; |
1554 | i960-*-*) # Default i960 environment. | |
1555 | use_collect2=yes | |
5f37d07c | 1556 | tmake_file=i960/t-960bare |
43fabf7d JW |
1557 | c_target_objs="i960-c.o" |
1558 | cxx_target_objs="i960-c.o" | |
61ed06c3 | 1559 | ;; |
c177db4b | 1560 | ia64*-*-aix*) |
c40409ce | 1561 | tm_file="${tm_file} dbxelf.h elfos.h svr4.h ia64/sysv4.h ia64/aix.h" |
c177db4b TW |
1562 | tmake_file="ia64/t-ia64 ia64/t-aix" |
1563 | target_cpu_default="MASK_GNU_AS|MASK_GNU_LD" | |
1564 | ;; | |
61ed06c3 | 1565 | ia64*-*-elf*) |
c40409ce | 1566 | tm_file="${tm_file} dbxelf.h elfos.h ia64/sysv4.h ia64/elf.h" |
61ed06c3 HPN |
1567 | tmake_file="ia64/t-ia64" |
1568 | target_cpu_default="0" | |
1569 | if test x$gas = xyes | |
1570 | then | |
1571 | target_cpu_default="${target_cpu_default}|MASK_GNU_AS" | |
1572 | fi | |
1573 | if test x$gnu_ld = xyes | |
1574 | then | |
1575 | target_cpu_default="${target_cpu_default}|MASK_GNU_LD" | |
1576 | fi | |
1577 | float_format=i386 | |
1578 | ;; | |
243a7070 | 1579 | ia64*-*-freebsd*) |
c40409ce | 1580 | tm_file="${tm_file} ${fbsd_tm_file} dbxelf.h elfos.h ia64/sysv4.h ia64/freebsd.h" |
243a7070 DB |
1581 | target_cpu_default="MASK_GNU_AS|MASK_GNU_LD" |
1582 | tmake_file="${tmake_file} ia64/t-ia64" | |
1583 | float_format=i386 | |
1584 | ;; | |
61ed06c3 | 1585 | ia64*-*-linux*) |
c40409ce | 1586 | tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h ia64/sysv4.h ia64/linux.h" |
7b3a4df5 | 1587 | tmake_file="t-slibgcc-elf-ver t-linux ia64/t-ia64 ia64/t-glibc" |
61ed06c3 HPN |
1588 | target_cpu_default="MASK_GNU_AS|MASK_GNU_LD" |
1589 | if test x$enable_threads = xyes; then | |
1590 | thread_file='posix' | |
1591 | fi | |
1592 | float_format=i386 | |
1593 | ;; | |
7e5b9908 | 1594 | ia64*-*-hpux*) |
c40409ce | 1595 | tm_file="${tm_file} dbxelf.h elfos.h svr4.h ia64/sysv4.h ia64/hpux.h ia64/hpux_longdouble.h" |
23c108af | 1596 | tmake_file="ia64/t-ia64 ia64/t-hpux" |
7e5b9908 SE |
1597 | target_cpu_default="MASK_GNU_AS" |
1598 | if test x$enable_threads = xyes; then | |
1599 | thread_file='posix' | |
1600 | fi | |
1601 | float_format=i386 | |
1602 | ;; | |
61ed06c3 | 1603 | m32r-*-elf*) |
c40409ce | 1604 | tm_file="dbxelf.h elfos.h svr4.h ${tm_file}" |
61ed06c3 HPN |
1605 | extra_parts="crtinit.o crtfini.o" |
1606 | ;; | |
1607 | # m68hc11 and m68hc12 share the same machine description. | |
1608 | m68hc11-*-*|m6811-*-*) | |
c40409ce | 1609 | tm_file="dbxelf.h elfos.h m68hc11/m68hc11.h" |
61ed06c3 HPN |
1610 | tm_p_file="m68hc11/m68hc11-protos.h" |
1611 | md_file="m68hc11/m68hc11.md" | |
1612 | out_file="m68hc11/m68hc11.c" | |
1613 | tmake_file="m68hc11/t-m68hc11-gas" | |
1614 | ;; | |
1615 | m68hc12-*-*|m6812-*-*) | |
c40409ce | 1616 | tm_file="m68hc11/m68hc12.h dbxelf.h elfos.h m68hc11/m68hc11.h" |
61ed06c3 | 1617 | tm_p_file="m68hc11/m68hc11-protos.h" |
61ed06c3 HPN |
1618 | md_file="m68hc11/m68hc11.md" |
1619 | out_file="m68hc11/m68hc11.c" | |
1620 | tmake_file="m68hc11/t-m68hc11-gas" | |
1621 | ;; | |
1622 | m68000-convergent-sysv*) | |
1623 | tm_file=m68k/ctix.h | |
34f4f3a5 | 1624 | xm_defines=POSIX |
61ed06c3 | 1625 | use_collect2=yes |
61ed06c3 HPN |
1626 | ;; |
1627 | m68000-hp-bsd*) # HP 9000/200 running BSD | |
1628 | tm_file=m68k/hp2bsd.h | |
61ed06c3 | 1629 | use_collect2=yes |
61ed06c3 HPN |
1630 | ;; |
1631 | m68000-hp-hpux*) # HP 9000 series 300 | |
34f4f3a5 | 1632 | xm_defines=POSIX |
61ed06c3 HPN |
1633 | if test x$gas = xyes |
1634 | then | |
61ed06c3 HPN |
1635 | tm_file=m68k/hp310g.h |
1636 | else | |
61ed06c3 HPN |
1637 | tm_file=m68k/hp310.h |
1638 | fi | |
14455c64 | 1639 | tmake_file=m68k/t-hp320 |
61ed06c3 HPN |
1640 | install_headers_dir=install-headers-cpio |
1641 | use_collect2=yes | |
61ed06c3 HPN |
1642 | ;; |
1643 | m68000-sun-sunos3*) | |
1644 | tm_file=m68k/sun2.h | |
1645 | use_collect2=yes | |
61ed06c3 HPN |
1646 | ;; |
1647 | m68000-sun-sunos4*) | |
1648 | tm_file=m68k/sun2o4.h | |
1649 | use_collect2=yes | |
61ed06c3 HPN |
1650 | ;; |
1651 | m68000-att-sysv*) | |
34f4f3a5 | 1652 | xm_defines=POSIX |
61ed06c3 HPN |
1653 | if test x$gas = xyes |
1654 | then | |
1655 | tm_file=m68k/3b1g.h | |
1656 | else | |
1657 | tm_file=m68k/3b1.h | |
1658 | fi | |
1659 | use_collect2=yes | |
61ed06c3 HPN |
1660 | ;; |
1661 | m68k-apple-aux*) # Apple Macintosh running A/UX | |
34f4f3a5 | 1662 | xm_defines=POSIX |
61ed06c3 HPN |
1663 | tmake_file=m68k/t-aux |
1664 | install_headers_dir=install-headers-cpio | |
61ed06c3 HPN |
1665 | extra_parts="crt1.o mcrt1.o maccrt1.o crt2.o crtn.o" |
1666 | tm_file= | |
1667 | if test "$gnu_ld" = yes | |
1668 | then | |
1669 | tm_file="${tm_file} m68k/auxgld.h" | |
1670 | else | |
1671 | tm_file="${tm_file} m68k/auxld.h" | |
1672 | fi | |
1673 | if test "$gas" = yes | |
1674 | then | |
1675 | tm_file="${tm_file} m68k/auxgas.h" | |
1676 | else | |
1677 | tm_file="${tm_file} m68k/auxas.h" | |
1678 | fi | |
1679 | tm_file="${tm_file} m68k/a-ux.h" | |
1680 | float_format=m68k | |
1681 | ;; | |
1682 | m68k-apollo-*) | |
1683 | tm_file=m68k/apollo68.h | |
61ed06c3 | 1684 | use_collect2=yes |
61ed06c3 HPN |
1685 | float_format=m68k |
1686 | ;; | |
1687 | m68k-altos-sysv*) # Altos 3068 | |
1688 | if test x$gas = xyes | |
1689 | then | |
1690 | tm_file=m68k/altos3068.h | |
34f4f3a5 | 1691 | xm_defines=POSIX |
61ed06c3 HPN |
1692 | else |
1693 | echo "The Altos is supported only with the GNU assembler" 1>&2 | |
1694 | exit 1 | |
1695 | fi | |
61ed06c3 HPN |
1696 | ;; |
1697 | m68k-bull-sysv*) # Bull DPX/2 | |
1698 | if test x$gas = xyes | |
1699 | then | |
1700 | if test x$stabs = xyes | |
1701 | then | |
1702 | tm_file=m68k/dpx2cdbx.h | |
1703 | else | |
1704 | tm_file=m68k/dpx2g.h | |
1705 | fi | |
1706 | else | |
1707 | tm_file=m68k/dpx2.h | |
1708 | fi | |
34f4f3a5 | 1709 | xm_defines=POSIX |
61ed06c3 | 1710 | use_collect2=yes |
61ed06c3 HPN |
1711 | ;; |
1712 | m68k-atari-sysv4*) # Atari variant of V.4. | |
1713 | tm_file=m68k/atari.h | |
34f4f3a5 | 1714 | xm_defines=POSIX |
61ed06c3 HPN |
1715 | tmake_file=t-svr4 |
1716 | extra_parts="crtbegin.o crtend.o" | |
61ed06c3 HPN |
1717 | float_format=m68k |
1718 | ;; | |
1719 | m68k-motorola-sysv*) | |
1720 | tm_file=m68k/mot3300.h | |
34f4f3a5 | 1721 | xm_defines=POSIX |
61ed06c3 HPN |
1722 | if test x$gas = xyes |
1723 | then | |
61ed06c3 HPN |
1724 | if test x$gnu_ld = xyes |
1725 | then | |
1726 | tmake_file=m68k/t-mot3300-gald | |
1727 | else | |
1728 | tmake_file=m68k/t-mot3300-gas | |
1729 | use_collect2=yes | |
1730 | fi | |
1731 | else | |
61ed06c3 HPN |
1732 | if test x$gnu_ld = xyes |
1733 | then | |
1734 | tmake_file=m68k/t-mot3300-gld | |
1735 | else | |
1736 | tmake_file=m68k/t-mot3300 | |
1737 | use_collect2=yes | |
1738 | fi | |
1739 | fi | |
1740 | gdb_needs_out_file_path=yes | |
1741 | extra_parts="crt0.o mcrt0.o" | |
61ed06c3 HPN |
1742 | float_format=m68k |
1743 | ;; | |
1744 | m68k-ncr-sysv*) # NCR Tower 32 SVR3 | |
1745 | tm_file=m68k/tower-as.h | |
34f4f3a5 | 1746 | xm_defines=POSIX |
61ed06c3 | 1747 | extra_parts="crtbegin.o crtend.o" |
61ed06c3 HPN |
1748 | ;; |
1749 | m68k-plexus-sysv*) | |
1750 | tm_file=m68k/plexus.h | |
34f4f3a5 | 1751 | xm_defines=POSIX |
61ed06c3 | 1752 | use_collect2=yes |
61ed06c3 HPN |
1753 | ;; |
1754 | m68k-tti-*) | |
1755 | tm_file=m68k/pbb.h | |
34f4f3a5 | 1756 | xm_defines=POSIX |
61ed06c3 HPN |
1757 | ;; |
1758 | m68k-crds-unos*) | |
34f4f3a5 | 1759 | xm_defines=POSIX |
61ed06c3 HPN |
1760 | tm_file=m68k/crds.h |
1761 | use_collect2=yes | |
61ed06c3 HPN |
1762 | ;; |
1763 | m68k-cbm-sysv4*) # Commodore variant of V.4. | |
1764 | tm_file=m68k/amix.h | |
34f4f3a5 | 1765 | xm_defines=POSIX |
61ed06c3 HPN |
1766 | tmake_file=t-svr4 |
1767 | extra_parts="crtbegin.o crtend.o" | |
61ed06c3 HPN |
1768 | float_format=m68k |
1769 | ;; | |
1770 | m68k-ccur-rtu) | |
1771 | tm_file=m68k/ccur-GAS.h | |
61ed06c3 HPN |
1772 | use_collect2=yes |
1773 | float_format=m68k | |
1774 | ;; | |
1775 | m68k-hp-bsd4.4*) # HP 9000/3xx running 4.4bsd | |
1776 | tm_file=m68k/hp3bsd44.h | |
61ed06c3 | 1777 | use_collect2=yes |
61ed06c3 HPN |
1778 | float_format=m68k |
1779 | ;; | |
1780 | m68k-hp-bsd*) # HP 9000/3xx running Berkeley Unix | |
1781 | tm_file=m68k/hp3bsd.h | |
1782 | use_collect2=yes | |
61ed06c3 HPN |
1783 | float_format=m68k |
1784 | ;; | |
1785 | m68k-isi-bsd*) | |
1786 | if test x$with_fp = xno | |
1787 | then | |
1788 | tm_file=m68k/isi-nfp.h | |
1789 | else | |
1790 | tm_file=m68k/isi.h | |
1791 | float_format=m68k | |
1792 | fi | |
1793 | use_collect2=yes | |
61ed06c3 HPN |
1794 | ;; |
1795 | m68k-hp-hpux7*) # HP 9000 series 300 running HPUX version 7. | |
34f4f3a5 | 1796 | xm_defines=POSIX |
61ed06c3 HPN |
1797 | if test x$gas = xyes |
1798 | then | |
1799 | xmake_file=m68k/x-hp320g | |
1800 | tm_file=m68k/hp320g.h | |
1801 | else | |
1802 | xmake_file=m68k/x-hp320 | |
1803 | tm_file=m68k/hpux7.h | |
1804 | fi | |
1805 | install_headers_dir=install-headers-cpio | |
1806 | use_collect2=yes | |
61ed06c3 HPN |
1807 | float_format=m68k |
1808 | ;; | |
1809 | m68k-hp-hpux*) # HP 9000 series 300 | |
34f4f3a5 | 1810 | xm_defines=POSIX |
61ed06c3 HPN |
1811 | if test x$gas = xyes |
1812 | then | |
1813 | xmake_file=m68k/x-hp320g | |
1814 | tm_file=m68k/hp320g.h | |
1815 | else | |
1816 | xmake_file=m68k/x-hp320 | |
1817 | tm_file=m68k/hp320.h | |
1818 | fi | |
1819 | install_headers_dir=install-headers-cpio | |
1820 | use_collect2=yes | |
61ed06c3 HPN |
1821 | float_format=m68k |
1822 | ;; | |
1823 | m68k-sun-mach*) | |
1824 | tm_file=m68k/sun3mach.h | |
1825 | use_collect2=yes | |
61ed06c3 HPN |
1826 | float_format=m68k |
1827 | ;; | |
1828 | m68k-sony-newsos3*) | |
1829 | if test x$gas = xyes | |
1830 | then | |
1831 | tm_file=m68k/news3gas.h | |
1832 | else | |
1833 | tm_file=m68k/news3.h | |
1834 | fi | |
1835 | use_collect2=yes | |
61ed06c3 HPN |
1836 | float_format=m68k |
1837 | ;; | |
1838 | m68k-sony-bsd* | m68k-sony-newsos*) | |
1839 | if test x$gas = xyes | |
1840 | then | |
1841 | tm_file=m68k/newsgas.h | |
1842 | else | |
1843 | tm_file=m68k/news.h | |
1844 | fi | |
1845 | use_collect2=yes | |
61ed06c3 HPN |
1846 | float_format=m68k |
1847 | ;; | |
1848 | m68k-next-nextstep2*) | |
15bc166f | 1849 | tm_p_file="${tm_p_file} nextstep-protos.h" |
61ed06c3 | 1850 | tm_file=m68k/next21.h |
61ed06c3 HPN |
1851 | tmake_file=m68k/t-next |
1852 | xmake_file=m68k/x-next | |
1853 | extra_objs=nextstep.o | |
61ed06c3 HPN |
1854 | use_collect2=yes |
1855 | float_format=m68k | |
1856 | ;; | |
1857 | m68k-next-nextstep[34]*) | |
15bc166f | 1858 | tm_p_file="${tm_p_file} nextstep-protos.h" |
61ed06c3 | 1859 | tm_file=m68k/next.h |
61ed06c3 HPN |
1860 | tmake_file=m68k/t-next |
1861 | xmake_file=m68k/x-next | |
1862 | extra_objs=nextstep.o | |
1863 | extra_parts="crtbegin.o crtend.o" | |
61ed06c3 HPN |
1864 | float_format=m68k |
1865 | if test x$enable_threads = xyes; then | |
1866 | thread_file='mach' | |
1867 | fi | |
1868 | ;; | |
1869 | m68k-sun-sunos3*) | |
1870 | if test x$with_fp = xno | |
1871 | then | |
1872 | tm_file=m68k/sun3n3.h | |
1873 | else | |
1874 | tm_file=m68k/sun3o3.h | |
1875 | float_format=m68k | |
1876 | fi | |
1877 | use_collect2=yes | |
61ed06c3 HPN |
1878 | ;; |
1879 | m68k-sun-sunos*) # For SunOS 4 (the default). | |
1880 | if test x$with_fp = xno | |
1881 | then | |
1882 | tm_file=m68k/sun3n.h | |
1883 | else | |
1884 | tm_file=m68k/sun3.h | |
1885 | float_format=m68k | |
1886 | fi | |
1887 | use_collect2=yes | |
61ed06c3 HPN |
1888 | ;; |
1889 | m68k-wrs-vxworks*) | |
1890 | tm_file=m68k/vxm68k.h | |
1891 | tmake_file=m68k/t-vxworks68 | |
61ed06c3 HPN |
1892 | thread_file='vxworks' |
1893 | float_format=m68k | |
1894 | ;; | |
1895 | m68k-*-aout*) | |
1896 | tmake_file=m68k/t-m68kbare | |
1897 | tm_file="m68k/m68k-aout.h libgloss.h" | |
61ed06c3 HPN |
1898 | float_format=m68k |
1899 | ;; | |
1900 | m68k-*-coff*) | |
1901 | tmake_file=m68k/t-m68kbare | |
1902 | tm_file="m68k/m68k-coff.h dbx.h" | |
61ed06c3 HPN |
1903 | float_format=m68k |
1904 | ;; | |
1905 | m68020-*-elf* | m68k-*-elf*) | |
91171315 | 1906 | tm_file="m68k/m68k-none.h m68k/m68kelf.h dbxelf.h elfos.h m68k/m68kemb.h m68k/m68020-elf.h" |
34f4f3a5 | 1907 | xm_defines=POSIX |
61ed06c3 | 1908 | tmake_file=m68k/t-m68kelf |
bb8602be | 1909 | extra_parts="crtbegin.o crtend.o" |
61ed06c3 HPN |
1910 | ;; |
1911 | m68k-*-lynxos*) | |
1912 | if test x$gas = xyes | |
1913 | then | |
1914 | tm_file=m68k/lynx.h | |
1915 | else | |
1916 | tm_file=m68k/lynx-ng.h | |
1917 | fi | |
61ed06c3 | 1918 | tmake_file=m68k/t-lynx |
61ed06c3 HPN |
1919 | float_format=m68k |
1920 | ;; | |
1921 | m68k*-*-netbsd*) | |
1922 | tm_file=m68k/netbsd.h | |
1923 | tmake_file=t-netbsd | |
1924 | float_format=m68k | |
1925 | use_collect2=yes | |
1926 | ;; | |
1927 | m68k*-*-openbsd*) | |
f1cf4606 ME |
1928 | # needed to unconfuse gdb |
1929 | tmake_file="t-libc-ok t-openbsd m68k/t-openbsd" | |
61ed06c3 HPN |
1930 | float_format=m68k |
1931 | # we need collect2 until our bug is fixed... | |
1932 | use_collect2=yes | |
1933 | ;; | |
1934 | m68k-*-sysv3*) # Motorola m68k's running system V.3 | |
34f4f3a5 | 1935 | xm_defines=POSIX |
61ed06c3 | 1936 | extra_parts="crtbegin.o crtend.o" |
61ed06c3 HPN |
1937 | float_format=m68k |
1938 | ;; | |
1939 | m68k-*-sysv4*) # Motorola m68k's running system V.4 | |
1940 | tm_file=m68k/m68kv4.h | |
34f4f3a5 | 1941 | xm_defines=POSIX |
61ed06c3 HPN |
1942 | tmake_file=t-svr4 |
1943 | extra_parts="crtbegin.o crtend.o" | |
61ed06c3 HPN |
1944 | float_format=m68k |
1945 | ;; | |
1946 | m68k-*-linux*aout*) # Motorola m68k's running GNU/Linux | |
1947 | # with a.out format | |
61ed06c3 HPN |
1948 | tm_file=m68k/linux-aout.h |
1949 | tmake_file="t-linux-aout m68k/t-linux-aout" | |
61ed06c3 HPN |
1950 | float_format=m68k |
1951 | gnu_ld=yes | |
1952 | ;; | |
1953 | m68k-*-linux*libc1) # Motorola m68k's running GNU/Linux | |
1954 | # with ELF format using the | |
1955 | # GNU/Linux C library 5 | |
61ed06c3 | 1956 | tm_file=m68k/linux.h |
7b3a4df5 | 1957 | tmake_file="t-slibgcc-elf-ver t-linux t-linux-gnulibc1 m68k/t-linux" |
61ed06c3 | 1958 | extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o" |
61ed06c3 HPN |
1959 | float_format=m68k |
1960 | gnu_ld=yes | |
1961 | ;; | |
1962 | m68k-*-linux*) # Motorola m68k's running GNU/Linux | |
1963 | # with ELF format using glibc 2 | |
1964 | # aka the GNU/Linux C library 6. | |
61ed06c3 | 1965 | tm_file=m68k/linux.h |
7b3a4df5 | 1966 | tmake_file="t-slibgcc-elf-ver t-linux m68k/t-linux" |
61ed06c3 | 1967 | extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o" |
61ed06c3 HPN |
1968 | float_format=m68k |
1969 | gnu_ld=yes | |
1970 | if test x$enable_threads = xyes; then | |
1971 | thread_file='posix' | |
1972 | fi | |
1973 | ;; | |
1974 | m68k-*-psos*) | |
1975 | tmake_file=m68k/t-m68kbare | |
1976 | tm_file=m68k/m68k-psos.h | |
61ed06c3 HPN |
1977 | float_format=m68k |
1978 | ;; | |
1979 | m68k-*-rtemscoff*) | |
1980 | tmake_file="m68k/t-m68kbare t-rtems" | |
1981 | tm_file=m68k/rtems.h | |
61ed06c3 | 1982 | float_format=m68k |
bc98ef7f JS |
1983 | if test x$enable_threads = xyes; then |
1984 | thread_file='rtems' | |
1985 | fi | |
61ed06c3 HPN |
1986 | ;; |
1987 | m68k-*-rtemself*|m68k-*-rtems*) | |
1988 | tmake_file="m68k/t-m68kbare t-rtems m68k/t-crtstuff" | |
1989 | tm_file=m68k/rtemself.h | |
61ed06c3 | 1990 | float_format=m68k |
bb8602be | 1991 | extra_parts="crtbegin.o crtend.o" |
bc98ef7f JS |
1992 | if test x$enable_threads = xyes; then |
1993 | thread_file='rtems' | |
1994 | fi | |
61ed06c3 HPN |
1995 | ;; |
1996 | m88k-dg-dgux*) | |
34f4f3a5 | 1997 | xm_defines=POSIX |
61ed06c3 HPN |
1998 | case $machine in |
1999 | m88k-dg-dguxbcs*) | |
c40409ce | 2000 | tm_file="dbxelf.h elfos.h svr4.h m88k/dgux.h m88k/dguxbcs.h" |
14455c64 | 2001 | tmake_file="m88k/t-dgux m88k/t-dguxbcs" |
61ed06c3 HPN |
2002 | ;; |
2003 | *) | |
c40409ce | 2004 | tm_file="dbxelf.h elfos.h svr4.h m88k/dgux.h" |
61ed06c3 HPN |
2005 | tmake_file=m88k/t-dgux |
2006 | ;; | |
2007 | esac | |
2008 | extra_parts="crtbegin.o bcscrtbegin.o crtend.o m88kdgux.ld" | |
61ed06c3 HPN |
2009 | if test x$gas = xyes |
2010 | then | |
2011 | tmake_file=m88k/t-dgux-gas | |
2012 | fi | |
2013 | ;; | |
2014 | m88k-dolphin-sysv3*) | |
34f4f3a5 | 2015 | xm_defines=POSIX |
61ed06c3 HPN |
2016 | tm_file=m88k/dolph.h |
2017 | extra_parts="crtbegin.o crtend.o" | |
5dd8a9b1 | 2018 | tmake_file=m88k/t-dolph |
61ed06c3 HPN |
2019 | if test x$gas = xyes |
2020 | then | |
2021 | tmake_file=m88k/t-m88k-gas | |
2022 | fi | |
2023 | ;; | |
2024 | m88k-tektronix-sysv3) | |
34f4f3a5 | 2025 | xm_defines=POSIX |
61ed06c3 HPN |
2026 | tm_file=m88k/tekXD88.h |
2027 | extra_parts="crtbegin.o crtend.o" | |
5dd8a9b1 | 2028 | tmake_file=m88k/t-tekXD88 |
61ed06c3 HPN |
2029 | if test x$gas = xyes |
2030 | then | |
2031 | tmake_file=m88k/t-m88k-gas | |
2032 | fi | |
2033 | ;; | |
2034 | m88k-*-aout*) | |
34f4f3a5 | 2035 | xm_defines=POSIX |
61ed06c3 HPN |
2036 | tm_file=m88k/m88k-aout.h |
2037 | ;; | |
2038 | m88k-*-coff*) | |
34f4f3a5 | 2039 | xm_defines=POSIX |
61ed06c3 HPN |
2040 | tm_file=m88k/m88k-coff.h |
2041 | tmake_file=m88k/t-bug | |
2042 | ;; | |
2043 | m88k-*-luna*) | |
2044 | tm_file=m88k/luna.h | |
2045 | extra_parts="crtbegin.o crtend.o" | |
2046 | if test x$gas = xyes | |
2047 | then | |
2048 | tmake_file=m88k/t-luna-gas | |
2049 | else | |
2050 | tmake_file=m88k/t-luna | |
2051 | fi | |
2052 | ;; | |
2053 | m88k-*-openbsd*) | |
2054 | tmake_file="${tmake_file} m88k/t-luna-gas" | |
2055 | tm_file="m88k/aout-dbx.h aoutos.h m88k/m88k.h openbsd.h ${tm_file}" | |
61ed06c3 HPN |
2056 | ;; |
2057 | m88k-*-sysv3*) | |
34f4f3a5 | 2058 | xm_defines=POSIX |
61ed06c3 HPN |
2059 | tm_file=m88k/sysv3.h |
2060 | extra_parts="crtbegin.o crtend.o" | |
61ed06c3 HPN |
2061 | if test x$gas = xyes |
2062 | then | |
2063 | tmake_file=m88k/t-m88k-gas | |
2064 | fi | |
2065 | ;; | |
2066 | m88k-*-sysv4*) | |
34f4f3a5 | 2067 | xm_defines=POSIX |
c40409ce | 2068 | tm_file="dbxelf.h elfos.h svr4.h m88k/sysv4.h" |
61ed06c3 | 2069 | extra_parts="crtbegin.o crtend.o" |
61ed06c3 HPN |
2070 | tmake_file=m88k/t-sysv4 |
2071 | ;; | |
2072 | mcore-*-elf) | |
c40409ce | 2073 | tm_file="dbxelf.h elfos.h svr4.h ${tm_file} mcore/mcore-elf.h" |
61ed06c3 HPN |
2074 | tmake_file=mcore/t-mcore |
2075 | ;; | |
2076 | mcore-*-pe*) | |
2077 | tm_file=mcore/mcore-pe.h | |
2078 | tmake_file=mcore/t-mcore-pe | |
2079 | ;; | |
2080 | mips-sgi-irix6*) # SGI System V.4., IRIX 6 | |
2081 | if test "x$gnu_ld" = xyes | |
2082 | then | |
2083 | tm_file="mips/iris6.h mips/iris6gld.h" | |
2084 | else | |
2085 | tm_file=mips/iris6.h | |
2086 | fi | |
14455c64 | 2087 | tmake_file="mips/t-iris mips/t-iris6" |
34f4f3a5 | 2088 | xm_defines=POSIX |
61ed06c3 HPN |
2089 | # if test x$enable_threads = xyes; then |
2090 | # thread_file='irix' | |
2091 | # fi | |
2092 | ;; | |
2093 | mips-wrs-vxworks) | |
2094 | tm_file="mips/elf.h mips/vxworks.h" | |
2095 | tmake_file=mips/t-ecoff | |
2096 | gas=yes | |
2097 | gnu_ld=yes | |
2098 | extra_parts="crtbegin.o crtend.o" | |
2099 | thread_file='vxworks' | |
2100 | ;; | |
2101 | mips-sgi-irix5cross64) # Irix5 host, Irix 6 target, cross64 | |
2102 | tm_file="mips/iris6.h mips/cross64.h" | |
34f4f3a5 | 2103 | xm_defines=POSIX |
84c041a1 | 2104 | xm_file=mips/xm-iris5.h |
14455c64 | 2105 | tmake_file="mips/t-iris mips/t-cross64" |
61ed06c3 HPN |
2106 | # See comment in mips/iris[56].h files. |
2107 | use_collect2=yes | |
2108 | # if test x$enable_threads = xyes; then | |
2109 | # thread_file='irix' | |
2110 | # fi | |
2111 | ;; | |
2112 | mips-sni-sysv4) | |
2113 | if test x$gas = xyes | |
2114 | then | |
2115 | if test x$stabs = xyes | |
2116 | then | |
2117 | tm_file=mips/iris5gdb.h | |
2118 | else | |
2119 | tm_file="mips/sni-svr4.h mips/sni-gas.h" | |
2120 | fi | |
2121 | else | |
2122 | tm_file=mips/sni-svr4.h | |
2123 | fi | |
34f4f3a5 | 2124 | xm_defines=POSIX |
61ed06c3 HPN |
2125 | if test x$gnu_ld != xyes |
2126 | then | |
2127 | use_collect2=yes | |
2128 | fi | |
2129 | ;; | |
2130 | mips-sgi-irix5*) # SGI System V.4., IRIX 5 | |
2131 | if test x$gas = xyes | |
2132 | then | |
2133 | tm_file="mips/iris5.h mips/iris5gas.h" | |
2134 | if test x$stabs = xyes | |
2135 | then | |
2136 | tm_file="${tm_file} dbx.h" | |
2137 | fi | |
2138 | else | |
2139 | tm_file=mips/iris5.h | |
2140 | fi | |
14455c64 | 2141 | tmake_file=mips/t-iris |
34f4f3a5 | 2142 | xm_defines=POSIX |
84c041a1 | 2143 | xm_file=mips/xm-iris5.h |
61ed06c3 | 2144 | # mips-tfile doesn't work yet |
61ed06c3 HPN |
2145 | # See comment in mips/iris5.h file. |
2146 | use_collect2=yes | |
2147 | # if test x$enable_threads = xyes; then | |
2148 | # thread_file='irix' | |
2149 | # fi | |
2150 | ;; | |
2151 | mips-sgi-irix4loser*) # Mostly like a MIPS. | |
2152 | tm_file="mips/iris4loser.h mips/iris3.h ${tm_file} mips/iris4.h" | |
2153 | if test x$stabs = xyes; then | |
2154 | tm_file="${tm_file} dbx.h" | |
2155 | fi | |
14455c64 | 2156 | tmake_file=mips/t-iris |
34f4f3a5 | 2157 | xm_defines=POSIX |
61ed06c3 | 2158 | if test x$gas = xyes |
7857f134 | 2159 | then : |
61ed06c3 HPN |
2160 | else |
2161 | extra_passes="mips-tfile mips-tdump" | |
2162 | fi | |
2163 | if test x$gnu_ld != xyes | |
2164 | then | |
2165 | use_collect2=yes | |
2166 | fi | |
2167 | # if test x$enable_threads = xyes; then | |
2168 | # thread_file='irix' | |
2169 | # fi | |
2170 | ;; | |
2171 | mips-sgi-irix4*) # Mostly like a MIPS. | |
2172 | tm_file="mips/iris3.h ${tm_file} mips/iris4.h" | |
2173 | if test x$stabs = xyes; then | |
2174 | tm_file="${tm_file} dbx.h" | |
2175 | fi | |
14455c64 | 2176 | tmake_file=mips/t-iris |
34f4f3a5 | 2177 | xm_defines=POSIX |
61ed06c3 | 2178 | if test x$gas = xyes |
7857f134 | 2179 | then : |
61ed06c3 HPN |
2180 | else |
2181 | extra_passes="mips-tfile mips-tdump" | |
2182 | fi | |
2183 | if test x$gnu_ld != xyes | |
2184 | then | |
2185 | use_collect2=yes | |
2186 | fi | |
2187 | # if test x$enable_threads = xyes; then | |
2188 | # thread_file='irix' | |
2189 | # fi | |
2190 | ;; | |
2191 | mips-sgi-*) # Mostly like a MIPS. | |
2192 | tm_file="mips/iris3.h ${tm_file}" | |
2193 | if test x$stabs = xyes; then | |
2194 | tm_file="${tm_file} dbx.h" | |
2195 | fi | |
34f4f3a5 | 2196 | xm_defines=POSIX |
61ed06c3 | 2197 | if test x$gas = xyes |
7857f134 | 2198 | then : |
61ed06c3 HPN |
2199 | else |
2200 | extra_passes="mips-tfile mips-tdump" | |
2201 | fi | |
2202 | if test x$gnu_ld != xyes | |
2203 | then | |
2204 | use_collect2=yes | |
2205 | fi | |
2206 | ;; | |
2207 | mips-dec-osfrose*) # Decstation running OSF/1 reference port with OSF/rose. | |
2208 | tm_file="mips/osfrose.h ${tm_file}" | |
61ed06c3 HPN |
2209 | extra_objs=halfpic.o |
2210 | use_collect2=yes | |
2211 | ;; | |
2212 | mips-dec-osf*) # Decstation running OSF/1 as shipped by DIGITAL | |
2213 | tm_file=mips/dec-osf1.h | |
2214 | if test x$stabs = xyes; then | |
2215 | tm_file="${tm_file} dbx.h" | |
2216 | fi | |
61ed06c3 | 2217 | if test x$gas = xyes |
7857f134 | 2218 | then : |
61ed06c3 HPN |
2219 | else |
2220 | tmake_file=mips/t-ultrix | |
2221 | extra_passes="mips-tfile mips-tdump" | |
2222 | fi | |
2223 | if test x$gnu_ld != xyes | |
2224 | then | |
2225 | use_collect2=yes | |
2226 | fi | |
2227 | ;; | |
2228 | mips-dec-bsd*) # Decstation running 4.4 BSD | |
2229 | tm_file=mips/dec-bsd.h | |
2230 | if test x$gas = xyes | |
7857f134 | 2231 | then : |
61ed06c3 HPN |
2232 | else |
2233 | tmake_file=mips/t-ultrix | |
2234 | extra_passes="mips-tfile mips-tdump" | |
2235 | fi | |
2236 | if test x$gnu_ld != xyes | |
2237 | then | |
2238 | use_collect2=yes | |
2239 | fi | |
2240 | ;; | |
f982f805 JT |
2241 | mips*-*-netbsd*) # NetBSD/mips, either endian. |
2242 | tm_file="elfos.h mips/netbsd.h" | |
2243 | case $machine in | |
2244 | mips*el-*) | |
2245 | tm_file="mips/little.h $tm_file" | |
2246 | ;; | |
2247 | esac | |
61ed06c3 HPN |
2248 | ;; |
2249 | mips*-*-linux*) # Linux MIPS, either endian. | |
c40409ce | 2250 | tm_file="dbxelf.h elfos.h svr4.h linux.h mips/linux.h" |
61ed06c3 | 2251 | case $machine in |
009da785 EC |
2252 | mipsisa32*-*) |
2253 | tm_file="$tm_file mips/isa32-linux.h" | |
2254 | target_cpu_default="MASK_SOFT_FLOAT" | |
2255 | ;; | |
2256 | esac | |
2257 | case $machine in | |
2258 | mips*el-*) | |
2259 | tm_file="mips/little.h $tm_file" | |
2260 | ;; | |
61ed06c3 | 2261 | esac |
5f083b72 | 2262 | tmake_file="t-slibgcc-elf-ver t-linux mips/t-linux" |
275b60d6 | 2263 | extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o" |
61ed06c3 HPN |
2264 | gnu_ld=yes |
2265 | gas=yes | |
2266 | if test x$enable_threads = xyes; then | |
2267 | thread_file='posix' | |
2268 | fi | |
2269 | ;; | |
2270 | mips*el-*-openbsd*) # mips little endian | |
2271 | target_cpu_default="MASK_GAS|MASK_ABICALLS" | |
2272 | ;; | |
2273 | mips*-*-openbsd*) # mips big endian | |
2274 | target_cpu_default="MASK_GAS|MASK_ABICALLS" | |
2275 | tm_file="mips/openbsd-be.h ${tm_file}" | |
2276 | ;; | |
2277 | mips-sony-bsd* | mips-sony-newsos*) # Sony NEWS 3600 or risc/news. | |
2278 | tm_file="mips/news4.h ${tm_file}" | |
2279 | if test x$stabs = xyes; then | |
2280 | tm_file="${tm_file} dbx.h" | |
2281 | fi | |
2282 | if test x$gas = xyes | |
7857f134 | 2283 | then : |
61ed06c3 HPN |
2284 | else |
2285 | extra_passes="mips-tfile mips-tdump" | |
2286 | fi | |
2287 | if test x$gnu_ld != xyes | |
2288 | then | |
2289 | use_collect2=yes | |
2290 | fi | |
61ed06c3 HPN |
2291 | ;; |
2292 | mips-sony-sysv*) # Sony NEWS 3800 with NEWSOS5.0. | |
2293 | # That is based on svr4. | |
2294 | # t-svr4 is not right because this system doesn't use ELF. | |
2295 | tm_file="mips/news5.h ${tm_file}" | |
2296 | if test x$stabs = xyes; then | |
2297 | tm_file="${tm_file} dbx.h" | |
2298 | fi | |
34f4f3a5 | 2299 | xm_defines=POSIX |
61ed06c3 | 2300 | if test x$gas = xyes |
7857f134 | 2301 | then : |
61ed06c3 HPN |
2302 | else |
2303 | extra_passes="mips-tfile mips-tdump" | |
2304 | fi | |
2305 | if test x$gnu_ld != xyes | |
2306 | then | |
2307 | use_collect2=yes | |
2308 | fi | |
2309 | ;; | |
2310 | mips-tandem-sysv4*) # Tandem S2 running NonStop UX | |
2311 | tm_file="mips/svr4-5.h mips/svr4-t.h" | |
2312 | if test x$stabs = xyes; then | |
2313 | tm_file="${tm_file} dbx.h" | |
2314 | fi | |
34f4f3a5 | 2315 | xm_defines=POSIX |
61ed06c3 HPN |
2316 | if test x$gas = xyes |
2317 | then | |
61ed06c3 HPN |
2318 | extra_parts="crtbegin.o crtend.o" |
2319 | else | |
61ed06c3 HPN |
2320 | extra_passes="mips-tfile mips-tdump" |
2321 | fi | |
2322 | if test x$gnu_ld != xyes | |
2323 | then | |
2324 | use_collect2=yes | |
2325 | fi | |
2326 | ;; | |
2327 | mips-*-ultrix* | mips-dec-mach3) # Decstation. | |
2328 | tm_file="mips/ultrix.h ${tm_file}" | |
2329 | if test x$stabs = xyes; then | |
2330 | tm_file="${tm_file} dbx.h" | |
2331 | fi | |
61ed06c3 | 2332 | if test x$gas = xyes |
7857f134 | 2333 | then : |
61ed06c3 HPN |
2334 | else |
2335 | tmake_file=mips/t-ultrix | |
2336 | extra_passes="mips-tfile mips-tdump" | |
2337 | fi | |
2338 | if test x$gnu_ld != xyes | |
2339 | then | |
2340 | use_collect2=yes | |
2341 | fi | |
2342 | ;; | |
2343 | mips-*-riscos[56789]bsd*) | |
2344 | tm_file=mips/bsd-5.h # MIPS BSD 4.3, RISC-OS 5.0 | |
2345 | if test x$stabs = xyes; then | |
2346 | tm_file="${tm_file} dbx.h" | |
2347 | fi | |
2348 | if test x$gas = xyes | |
2349 | then | |
2350 | tmake_file=mips/t-bsd-gas | |
2351 | else | |
2352 | tmake_file=mips/t-bsd | |
2353 | extra_passes="mips-tfile mips-tdump" | |
2354 | fi | |
2355 | if test x$gnu_ld != xyes | |
2356 | then | |
2357 | use_collect2=yes | |
2358 | fi | |
2359 | ;; | |
2360 | mips-*-bsd* | mips-*-riscosbsd* | mips-*-riscos[1234]bsd*) | |
2361 | tm_file="mips/bsd-4.h ${tm_file}" # MIPS BSD 4.3, RISC-OS 4.0 | |
2362 | if test x$stabs = xyes; then | |
2363 | tm_file="${tm_file} dbx.h" | |
2364 | fi | |
2365 | if test x$gas = xyes | |
2366 | then | |
2367 | tmake_file=mips/t-bsd-gas | |
2368 | else | |
2369 | tmake_file=mips/t-bsd | |
2370 | extra_passes="mips-tfile mips-tdump" | |
2371 | fi | |
2372 | if test x$gnu_ld != xyes | |
2373 | then | |
2374 | use_collect2=yes | |
2375 | fi | |
2376 | ;; | |
2377 | mips-*-riscos[56789]sysv4*) | |
2378 | tm_file=mips/svr4-5.h # MIPS System V.4., RISC-OS 5.0 | |
2379 | if test x$stabs = xyes; then | |
2380 | tm_file="${tm_file} dbx.h" | |
2381 | fi | |
61ed06c3 HPN |
2382 | if test x$gas = xyes |
2383 | then | |
2384 | tmake_file=mips/t-svr4-gas | |
2385 | else | |
2386 | tmake_file=mips/t-svr4 | |
2387 | extra_passes="mips-tfile mips-tdump" | |
2388 | fi | |
2389 | if test x$gnu_ld != xyes | |
2390 | then | |
2391 | use_collect2=yes | |
2392 | fi | |
2393 | ;; | |
2394 | mips-*-sysv4* | mips-*-riscos[1234]sysv4* | mips-*-riscossysv4*) | |
2395 | tm_file="mips/svr4-4.h ${tm_file}" | |
2396 | if test x$stabs = xyes; then | |
2397 | tm_file="${tm_file} dbx.h" | |
2398 | fi | |
34f4f3a5 | 2399 | xm_defines=POSIX |
61ed06c3 HPN |
2400 | if test x$gas = xyes |
2401 | then | |
2402 | tmake_file=mips/t-svr4-gas | |
2403 | else | |
2404 | tmake_file=mips/t-svr4 | |
2405 | extra_passes="mips-tfile mips-tdump" | |
2406 | fi | |
2407 | if test x$gnu_ld != xyes | |
2408 | then | |
2409 | use_collect2=yes | |
2410 | fi | |
2411 | ;; | |
2412 | mips-*-riscos[56789]sysv*) | |
2413 | tm_file=mips/svr3-5.h # MIPS System V.3, RISC-OS 5.0 | |
2414 | if test x$stabs = xyes; then | |
2415 | tm_file="${tm_file} dbx.h" | |
2416 | fi | |
34f4f3a5 | 2417 | xm_defines=POSIX |
61ed06c3 HPN |
2418 | if test x$gas = xyes |
2419 | then | |
2420 | tmake_file=mips/t-svr3-gas | |
2421 | else | |
2422 | tmake_file=mips/t-svr3 | |
2423 | extra_passes="mips-tfile mips-tdump" | |
2424 | fi | |
2425 | if test x$gnu_ld != xyes | |
2426 | then | |
2427 | use_collect2=yes | |
2428 | fi | |
2429 | ;; | |
2430 | mips-*-sysv* | mips-*-riscos*sysv*) | |
2431 | tm_file="mips/svr3-4.h ${tm_file}" | |
2432 | if test x$stabs = xyes; then | |
2433 | tm_file="${tm_file} dbx.h" | |
2434 | fi | |
34f4f3a5 | 2435 | xm_defines=POSIX |
61ed06c3 HPN |
2436 | if test x$gas = xyes |
2437 | then | |
2438 | tmake_file=mips/t-svr3-gas | |
2439 | else | |
2440 | tmake_file=mips/t-svr3 | |
2441 | extra_passes="mips-tfile mips-tdump" | |
2442 | fi | |
2443 | if test x$gnu_ld != xyes | |
2444 | then | |
2445 | use_collect2=yes | |
2446 | fi | |
2447 | ;; | |
2448 | mips-*-riscos[56789]*) # Default MIPS RISC-OS 5.0. | |
2449 | tm_file=mips/mips-5.h | |
2450 | if test x$stabs = xyes; then | |
2451 | tm_file="${tm_file} dbx.h" | |
2452 | fi | |
2453 | if test x$gas = xyes | |
7857f134 | 2454 | then : |
61ed06c3 HPN |
2455 | else |
2456 | extra_passes="mips-tfile mips-tdump" | |
2457 | fi | |
2458 | if test x$gnu_ld != xyes | |
2459 | then | |
2460 | use_collect2=yes | |
2461 | fi | |
2462 | ;; | |
61ed06c3 HPN |
2463 | mipsel-*-ecoff*) |
2464 | tm_file=mips/ecoffl.h | |
2465 | if test x$stabs = xyes; then | |
2466 | tm_file="${tm_file} dbx.h" | |
2467 | fi | |
2468 | tmake_file=mips/t-ecoff | |
2469 | ;; | |
2470 | mips-*-ecoff*) | |
2471 | tm_file="gofast.h mips/ecoff.h" | |
2472 | if test x$stabs = xyes; then | |
2473 | tm_file="${tm_file} dbx.h" | |
2474 | fi | |
2475 | tmake_file=mips/t-ecoff | |
2476 | ;; | |
0e5a4ad8 EC |
2477 | mipsisa32-*-elf*) |
2478 | tm_file="mips/isa3264.h mips/abi64.h" | |
2479 | tmake_file=mips/t-isa3264 | |
3054eeed | 2480 | target_cpu_default="MASK_SOFT_FLOAT" |
0e5a4ad8 | 2481 | ;; |
61ed06c3 HPN |
2482 | mipsel-*-elf*) |
2483 | tm_file="mips/elfl.h" | |
2484 | tmake_file=mips/t-elf | |
2485 | ;; | |
2486 | mips-*-elf*) | |
2487 | tm_file="mips/elf.h" | |
2488 | tmake_file=mips/t-elf | |
2489 | ;; | |
2490 | mips64el-*-elf*) | |
2491 | tm_file="mips/elfl64.h" | |
2492 | tmake_file=mips/t-elf | |
2493 | ;; | |
2494 | mips64orionel-*-elf*) | |
2495 | tm_file="mips/elforion.h mips/elfl64.h" | |
2496 | tmake_file=mips/t-elf | |
2497 | ;; | |
2498 | mips64-*-elf*) | |
2499 | tm_file="mips/elf64.h" | |
2500 | tmake_file=mips/t-elf | |
2501 | ;; | |
2502 | mips64orion-*-elf*) | |
2503 | tm_file="mips/elforion.h mips/elf64.h" | |
2504 | tmake_file=mips/t-elf | |
2505 | ;; | |
2506 | mips64orion-*-rtems*) | |
2507 | tm_file="mips/elforion.h mips/elf64.h mips/rtems64.h" | |
2508 | tmake_file="mips/t-elf t-rtems" | |
bc98ef7f JS |
2509 | if test x$enable_threads = xyes; then |
2510 | thread_file='rtems' | |
2511 | fi | |
2512 | ;; | |
2513 | mips*-*-rtems*) | |
2514 | tm_file="mips/elf.h mips/rtems.h" | |
2515 | tmake_file="mips/t-elf t-rtems" | |
2516 | if test x$enable_threads = xyes; then | |
2517 | thread_file='rtems' | |
2518 | fi | |
61ed06c3 HPN |
2519 | ;; |
2520 | mipstx39el-*-elf*) | |
2521 | tm_file="mips/r3900.h mips/elfl.h mips/abi64.h" | |
2522 | tmake_file=mips/t-r3900 | |
3054eeed | 2523 | target_cpu_default="MASK_SOFT_FLOAT" |
61ed06c3 HPN |
2524 | ;; |
2525 | mipstx39-*-elf*) | |
2526 | tm_file="mips/r3900.h mips/elf.h mips/abi64.h" | |
2527 | tmake_file=mips/t-r3900 | |
2528 | ;; | |
2529 | mips-*-*) # Default MIPS RISC-OS 4.0. | |
2530 | if test x$stabs = xyes; then | |
2531 | tm_file="${tm_file} dbx.h" | |
2532 | fi | |
2533 | if test x$gas = xyes | |
7857f134 | 2534 | then : |
61ed06c3 HPN |
2535 | else |
2536 | extra_passes="mips-tfile mips-tdump" | |
2537 | fi | |
2538 | if test x$gnu_ld != xyes | |
2539 | then | |
2540 | use_collect2=yes | |
2541 | fi | |
2542 | ;; | |
bcf684c7 HPN |
2543 | mmix-knuth-mmixware) |
2544 | ;; | |
61ed06c3 HPN |
2545 | mn10200-*-*) |
2546 | float_format=i32 | |
c40409ce | 2547 | tm_file="dbxelf.h elfos.h svr4.h ${tm_file}" |
61ed06c3 HPN |
2548 | if test x$stabs = xyes |
2549 | then | |
2550 | tm_file="${tm_file} dbx.h" | |
2551 | fi | |
2552 | use_collect2=no | |
2553 | ;; | |
2554 | mn10300-*-*) | |
c40409ce | 2555 | tm_file="dbxelf.h elfos.h svr4.h ${tm_file}" |
61ed06c3 HPN |
2556 | if test x$stabs = xyes |
2557 | then | |
2558 | tm_file="${tm_file} dbx.h" | |
2559 | fi | |
2560 | use_collect2=no | |
2561 | ;; | |
2562 | ns32k-encore-bsd*) | |
2563 | tm_file=ns32k/encore.h | |
2564 | use_collect2=yes | |
2565 | ;; | |
2566 | ns32k-sequent-bsd*) | |
2567 | tm_file=ns32k/sequent.h | |
2568 | use_collect2=yes | |
2569 | ;; | |
2570 | ns32k-tek6100-bsd*) | |
2571 | tm_file=ns32k/tek6100.h | |
2572 | use_collect2=yes | |
2573 | ;; | |
2574 | ns32k-tek6200-bsd*) | |
2575 | tm_file=ns32k/tek6200.h | |
2576 | use_collect2=yes | |
2577 | ;; | |
2578 | ns32k-merlin-*) | |
2579 | tm_file=ns32k/merlin.h | |
2580 | use_collect2=yes | |
2581 | ;; | |
2582 | ns32k-pc532-mach*) | |
2583 | tm_file=ns32k/pc532-mach.h | |
2584 | use_collect2=yes | |
2585 | ;; | |
2586 | ns32k-pc532-minix*) | |
2587 | tm_file=ns32k/pc532-min.h | |
34f4f3a5 | 2588 | xm_defines='POSIX HZ=60' |
61ed06c3 HPN |
2589 | use_collect2=yes |
2590 | ;; | |
2591 | ns32k-*-netbsd*) | |
2592 | tm_file=ns32k/netbsd.h | |
61ed06c3 HPN |
2593 | # On NetBSD, the headers are already okay, except for math.h. |
2594 | tmake_file=t-netbsd | |
2595 | use_collect2=yes | |
2596 | ;; | |
2597 | pdp11-*-bsd) | |
2598 | tm_file="${tm_file} pdp11/2bsd.h" | |
2599 | ;; | |
2600 | pdp11-*-*) | |
2601 | ;; | |
2602 | avr-*-*) | |
2603 | ;; | |
2604 | ns32k-*-openbsd*) | |
2605 | # Nothing special | |
2606 | ;; | |
2607 | pj*-linux*) | |
c40409ce | 2608 | tm_file="dbxelf.h elfos.h svr4.h pj/linux.h ${tm_file}" |
61ed06c3 HPN |
2609 | ;; |
2610 | pj-*) | |
2611 | ;; | |
2612 | pjl-*) | |
c40409ce | 2613 | tm_file="dbxelf.h elfos.h svr4.h pj/pjl.h ${tm_file}" |
61ed06c3 HPN |
2614 | ;; |
2615 | ||
2616 | romp-*-aos*) | |
2617 | use_collect2=yes | |
2618 | ;; | |
2619 | romp-*-mach*) | |
61ed06c3 HPN |
2620 | use_collect2=yes |
2621 | ;; | |
2622 | romp-*-openbsd*) | |
2623 | # Nothing special | |
2624 | ;; | |
2625 | powerpc-*-openbsd*) | |
e1b71de9 | 2626 | tmake_file="${tmake_file} rs6000/t-rs6000 rs6000/t-openbsd" |
ba1e6c0b | 2627 | extra_headers= |
61ed06c3 | 2628 | ;; |
2bfcf297 | 2629 | powerpc64-*-linux*) |
c40409ce | 2630 | tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/linux64.h" |
2bfcf297 DB |
2631 | out_file=rs6000/rs6000.c |
2632 | tmake_file="rs6000/t-ppcos t-slibgcc-elf-ver t-linux rs6000/t-ppccomm" | |
2bfcf297 | 2633 | ;; |
61ed06c3 | 2634 | powerpc-*-beos*) |
2bfcf297 | 2635 | tm_file="${tm_file} rs6000/aix.h rs6000/beos.h rs6000/xcoff.h" |
34f4f3a5 | 2636 | xm_defines=POSIX |
61ed06c3 | 2637 | tmake_file=rs6000/t-beos |
ba1e6c0b | 2638 | extra_headers= |
61ed06c3 | 2639 | ;; |
18922061 | 2640 | powerpc-*-darwin*) |
ee890fe2 SS |
2641 | tm_file="${tm_file} darwin.h rs6000/darwin.h" |
2642 | tm_p_file="${tm_p_file} darwin-protos.h" | |
2643 | tmake_file=rs6000/t-darwin | |
ee890fe2 | 2644 | extra_objs="darwin.o" |
0168a849 SS |
2645 | c_target_objs="darwin-c.o" |
2646 | cxx_target_objs="darwin-c.o" | |
ee890fe2 SS |
2647 | # Darwin linker does collect2 functionality |
2648 | use_collect2=no | |
5fb4cf24 | 2649 | extra_headers=altivec.h |
18922061 | 2650 | ;; |
b91da81f | 2651 | powerpc*-*-freebsd*) |
c40409ce | 2652 | tm_file="${tm_file} dbxelf.h elfos.h ${fbsd_tm_file} rs6000/sysv4.h rs6000/freebsd.h" |
b91da81f DB |
2653 | xm_file=rs6000/xm-sysv4.h |
2654 | out_file=rs6000/rs6000.c | |
f3465a44 | 2655 | tmake_file="rs6000/t-ppcos ${tmake_file} rs6000/t-ppccomm" |
b91da81f | 2656 | ;; |
61ed06c3 | 2657 | powerpc-*-sysv*) |
c40409ce | 2658 | tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h" |
34f4f3a5 | 2659 | xm_defines=POSIX |
61ed06c3 | 2660 | tmake_file="rs6000/t-ppcos rs6000/t-ppccomm" |
61ed06c3 | 2661 | ;; |
edf1b3f3 | 2662 | powerpc-*-netbsd*) |
c40409ce | 2663 | tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/netbsd.h" |
edf1b3f3 | 2664 | tmake_file="rs6000/t-ppcos rs6000/t-ppccomm" |
edf1b3f3 | 2665 | ;; |
8da6d80e | 2666 | powerpc-*-chorusos*) |
34f4f3a5 | 2667 | xm_defines=POSIX |
c40409ce | 2668 | tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h chorus.h" |
8da6d80e | 2669 | tmake_file="rs6000/t-ppcos rs6000/t-ppccomm" |
8da6d80e CC |
2670 | case x${enable_threads} in |
2671 | xyes | xpthreads | xposix) | |
2672 | thread_file='posix' | |
2673 | ;; | |
2674 | esac | |
2675 | ;; | |
61ed06c3 | 2676 | powerpc-*-eabiaix*) |
34f4f3a5 | 2677 | xm_defines=POSIX |
c40409ce | 2678 | tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/eabi.h rs6000/eabiaix.h" |
61ed06c3 | 2679 | tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm" |
61ed06c3 | 2680 | ;; |
cf6ede82 AH |
2681 | powerpc-*-eabisimaltivec*) |
2682 | xm_defines=POSIX | |
2683 | tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/eabi.h rs6000/eabisim.h rs6000/eabialtivec.h" | |
2684 | tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm" | |
cf6ede82 | 2685 | ;; |
61ed06c3 | 2686 | powerpc-*-eabisim*) |
34f4f3a5 | 2687 | xm_defines=POSIX |
c40409ce | 2688 | tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/eabi.h rs6000/eabisim.h" |
61ed06c3 | 2689 | tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm" |
61ed06c3 HPN |
2690 | ;; |
2691 | powerpc-*-elf*) | |
34f4f3a5 | 2692 | xm_defines=POSIX |
c40409ce | 2693 | tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h" |
61ed06c3 | 2694 | tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm" |
61ed06c3 | 2695 | ;; |
10baca6b AH |
2696 | powerpc-*-eabialtivec*) |
2697 | xm_defines=POSIX | |
2698 | tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/eabi.h rs6000/eabialtivec.h" | |
2699 | tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm" | |
10baca6b | 2700 | ;; |
61ed06c3 | 2701 | powerpc-*-eabi*) |
34f4f3a5 | 2702 | xm_defines=POSIX |
c40409ce | 2703 | tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/eabi.h" |
61ed06c3 | 2704 | tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm" |
61ed06c3 HPN |
2705 | ;; |
2706 | powerpc-*-rtems*) | |
34f4f3a5 | 2707 | xm_defines=POSIX |
c40409ce | 2708 | tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/eabi.h rtems.h rs6000/rtems.h" |
61ed06c3 | 2709 | tmake_file="rs6000/t-ppcgas t-rtems rs6000/t-ppccomm" |
bc98ef7f JS |
2710 | if test x$enable_threads = xyes; then |
2711 | thread_file='rtems' | |
2712 | fi | |
61ed06c3 HPN |
2713 | ;; |
2714 | powerpc-*-linux*libc1) | |
c40409ce | 2715 | tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/linux.h" |
61ed06c3 | 2716 | out_file=rs6000/rs6000.c |
7b3a4df5 | 2717 | tmake_file="rs6000/t-ppcos t-slibgcc-elf-ver t-linux t-linux-gnulibc1 rs6000/t-ppccomm" |
61ed06c3 HPN |
2718 | if test x$enable_threads = xyes; then |
2719 | thread_file='posix' | |
2720 | fi | |
2721 | ;; | |
10baca6b AH |
2722 | powerpc-*-linux-gnualtivec*) |
2723 | tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/linux.h rs6000/linuxaltivec.h" | |
2724 | out_file=rs6000/rs6000.c | |
2725 | tmake_file="rs6000/t-ppcos t-slibgcc-elf-ver t-linux rs6000/t-ppccomm" | |
10baca6b AH |
2726 | if test x$enable_threads = xyes; then |
2727 | thread_file='posix' | |
2728 | fi | |
2729 | ;; | |
61ed06c3 | 2730 | powerpc-*-linux*) |
c40409ce | 2731 | tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/linux.h" |
61ed06c3 | 2732 | out_file=rs6000/rs6000.c |
7b3a4df5 | 2733 | tmake_file="rs6000/t-ppcos t-slibgcc-elf-ver t-linux rs6000/t-ppccomm" |
61ed06c3 HPN |
2734 | if test x$enable_threads = xyes; then |
2735 | thread_file='posix' | |
2736 | fi | |
2737 | ;; | |
2738 | powerpc-wrs-vxworks*) | |
34f4f3a5 | 2739 | xm_defines=POSIX |
c40409ce | 2740 | tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/vxppc.h" |
61ed06c3 | 2741 | tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm" |
61ed06c3 HPN |
2742 | thread_file='vxworks' |
2743 | ;; | |
2744 | powerpcle-wrs-vxworks*) | |
34f4f3a5 | 2745 | xm_defines=POSIX |
c40409ce | 2746 | tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/vxppc.h" |
61ed06c3 | 2747 | tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm" |
61ed06c3 HPN |
2748 | thread_file='vxworks' |
2749 | ;; | |
2750 | powerpcle-*-sysv*) | |
c40409ce | 2751 | tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/sysv4le.h" |
34f4f3a5 | 2752 | xm_defines=POSIX |
61ed06c3 | 2753 | tmake_file="rs6000/t-ppcos rs6000/t-ppccomm" |
61ed06c3 HPN |
2754 | ;; |
2755 | powerpcle-*-elf*) | |
34f4f3a5 | 2756 | xm_defines=POSIX |
c40409ce | 2757 | tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/sysv4le.h" |
61ed06c3 | 2758 | tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm" |
61ed06c3 HPN |
2759 | ;; |
2760 | powerpcle-*-eabisim*) | |
34f4f3a5 | 2761 | xm_defines=POSIX |
c40409ce | 2762 | tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/eabi.h rs6000/eabisim.h" |
61ed06c3 | 2763 | tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm" |
61ed06c3 HPN |
2764 | ;; |
2765 | powerpcle-*-eabi*) | |
34f4f3a5 | 2766 | xm_defines=POSIX |
c40409ce | 2767 | tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/eabi.h" |
61ed06c3 | 2768 | tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm" |
61ed06c3 | 2769 | ;; |
61ed06c3 | 2770 | rs6000-ibm-aix3.[01]*) |
34f4f3a5 | 2771 | xm_defines=POSIX |
2bfcf297 | 2772 | tm_file="${tm_file} rs6000/aix.h rs6000/aix31.h rs6000/xcoff.h" |
61ed06c3 HPN |
2773 | float_format=none |
2774 | use_collect2=yes | |
2775 | ;; | |
2776 | rs6000-ibm-aix3.2.[456789]* | powerpc-ibm-aix3.2.[456789]*) | |
34f4f3a5 | 2777 | xm_defines=POSIX |
2bfcf297 | 2778 | tm_file="${tm_file} rs6000/aix.h rs6000/aix3newas.h rs6000/xcoff.h" |
db009825 | 2779 | tmake_file=rs6000/t-newas |
61ed06c3 HPN |
2780 | float_format=none |
2781 | use_collect2=yes | |
ba1e6c0b | 2782 | extra_headers= |
61ed06c3 HPN |
2783 | ;; |
2784 | rs6000-ibm-aix4.[12]* | powerpc-ibm-aix4.[12]*) | |
34f4f3a5 | 2785 | xm_defines=POSIX |
2bfcf297 | 2786 | tm_file="${tm_file} rs6000/aix.h rs6000/aix41.h rs6000/xcoff.h" |
db009825 | 2787 | tmake_file=rs6000/t-newas |
61ed06c3 HPN |
2788 | float_format=none |
2789 | use_collect2=yes | |
ba1e6c0b | 2790 | extra_headers= |
61ed06c3 HPN |
2791 | ;; |
2792 | rs6000-ibm-aix4.[3456789]* | powerpc-ibm-aix4.[3456789]*) | |
34f4f3a5 | 2793 | xm_defines=POSIX |
2bfcf297 | 2794 | tm_file="${tm_file} rs6000/aix.h rs6000/aix43.h rs6000/xcoff.h" |
61ed06c3 | 2795 | tmake_file=rs6000/t-aix43 |
61ed06c3 HPN |
2796 | float_format=none |
2797 | use_collect2=yes | |
2798 | thread_file='aix' | |
ba1e6c0b | 2799 | extra_headers= |
61ed06c3 HPN |
2800 | ;; |
2801 | rs6000-ibm-aix[56789].* | powerpc-ibm-aix[56789].*) | |
34f4f3a5 | 2802 | xm_defines=POSIX |
2bfcf297 | 2803 | tm_file="${tm_file} rs6000/aix.h rs6000/aix51.h rs6000/xcoff.h" |
61ed06c3 | 2804 | tmake_file=rs6000/t-aix43 |
61ed06c3 HPN |
2805 | float_format=none |
2806 | use_collect2=yes | |
2807 | thread_file='aix' | |
ba1e6c0b | 2808 | extra_headers= |
61ed06c3 HPN |
2809 | ;; |
2810 | rs6000-ibm-aix*) | |
34f4f3a5 | 2811 | xm_defines=POSIX |
2bfcf297 | 2812 | tm_file="${tm_file} rs6000/aix.h rs6000/xcoff.h" |
61ed06c3 HPN |
2813 | float_format=none |
2814 | use_collect2=yes | |
2815 | ;; | |
2816 | rs6000-bull-bosx) | |
34f4f3a5 | 2817 | xm_defines=POSIX |
2bfcf297 | 2818 | tm_file="${tm_file} rs6000/aix.h rs6000/xcoff.h" |
61ed06c3 HPN |
2819 | float_format=none |
2820 | use_collect2=yes | |
2821 | ;; | |
2822 | rs6000-*-mach*) | |
32fb7c9d | 2823 | tm_file="${tm_file} rs6000/mach.h" |
34f4f3a5 | 2824 | xm_defines=POSIX |
61ed06c3 HPN |
2825 | use_collect2=yes |
2826 | ;; | |
2827 | rs6000-*-lynxos*) | |
b91da81f | 2828 | tm_file="lynx.h rs6000/lynx.h" |
61ed06c3 | 2829 | tmake_file=rs6000/t-rs6000 |
61ed06c3 HPN |
2830 | use_collect2=yes |
2831 | ;; | |
0e5a4ad8 | 2832 | s390-*-linux*) |
c40409ce | 2833 | tm_file="s390/s390.h dbxelf.h elfos.h svr4.h linux.h s390/linux.h" |
050e4ca2 | 2834 | tmake_file="t-slibgcc-elf-ver t-linux s390/t-linux" |
275b60d6 | 2835 | extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o" |
9628a767 HP |
2836 | if test x$enable_threads = xyes; then |
2837 | thread_file='posix' | |
2838 | fi | |
2839 | ;; | |
0e5a4ad8 | 2840 | s390x-*-linux*) |
c40409ce | 2841 | tm_file="s390/s390.h dbxelf.h elfos.h svr4.h linux.h s390/linux.h s390/linux64.h" |
70eeb10b UW |
2842 | tm_p_file=s390/s390-protos.h |
2843 | md_file=s390/s390.md | |
2844 | out_file=s390/s390.c | |
050e4ca2 | 2845 | tmake_file="t-slibgcc-elf-ver t-linux s390/t-linux" |
275b60d6 | 2846 | extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o" |
9628a767 HP |
2847 | if test x$enable_threads = xyes; then |
2848 | thread_file='posix' | |
2849 | fi | |
2850 | ;; | |
61ed06c3 HPN |
2851 | sh-*-elf*) |
2852 | tmake_file="sh/t-sh sh/t-elf" | |
32fb7c9d | 2853 | tm_file="${tm_file} sh/elf.h" |
61ed06c3 HPN |
2854 | float_format=sh |
2855 | ;; | |
2856 | sh-*-rtemself*) | |
2857 | tmake_file="sh/t-sh sh/t-elf t-rtems" | |
32fb7c9d | 2858 | tm_file="${tm_file} sh/elf.h sh/rtemself.h" |
61ed06c3 | 2859 | float_format=sh |
bc98ef7f JS |
2860 | if test x$enable_threads = xyes; then |
2861 | thread_file='rtems' | |
2862 | fi | |
61ed06c3 HPN |
2863 | ;; |
2864 | sh-*-rtems*) | |
2865 | tmake_file="sh/t-sh t-rtems" | |
32fb7c9d | 2866 | tm_file="${tm_file} sh/rtems.h" |
61ed06c3 | 2867 | float_format=sh |
bc98ef7f JS |
2868 | if test x$enable_threads = xyes; then |
2869 | thread_file='rtems' | |
2870 | fi | |
61ed06c3 HPN |
2871 | ;; |
2872 | sh-*-linux*) | |
32fb7c9d | 2873 | tm_file="${tm_file} sh/elf.h sh/linux.h" |
61ed06c3 | 2874 | tmake_file="sh/t-sh sh/t-elf sh/t-linux" |
61ed06c3 HPN |
2875 | gas=yes gnu_ld=yes |
2876 | if test x$enable_threads = xyes; then | |
2877 | thread_file='posix' | |
2878 | fi | |
2879 | float_format=sh | |
2880 | ;; | |
2881 | sh-*-*) | |
2882 | float_format=sh | |
2883 | ;; | |
2884 | sparc-tti-*) | |
0f658c83 | 2885 | tm_file="${tm_file} sparc/pbd.h" |
34f4f3a5 | 2886 | xm_defines=POSIX |
61ed06c3 | 2887 | ;; |
e428b937 | 2888 | sparc64-wrs-vxworks*) |
c40409ce | 2889 | tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/sol2.h sparc/elf.h sparc/sparc_bi.h gofast.h sparc/vxsparc64.h" |
e428b937 RK |
2890 | tmake_file=sparc/t-vxsparc64 |
2891 | use_collect2=yes | |
2892 | ;; | |
61ed06c3 | 2893 | sparc-wrs-vxworks* | sparclite-wrs-vxworks*) |
0f658c83 | 2894 | tm_file="${tm_file} aoutos.h sparc/aout.h gofast.h sparc/vxsparc.h" |
61ed06c3 HPN |
2895 | tmake_file=sparc/t-vxsparc |
2896 | use_collect2=yes | |
2897 | thread_file='vxworks' | |
2898 | ;; | |
2899 | sparc-*-aout*) | |
2900 | tmake_file=sparc/t-sparcbare | |
0f658c83 | 2901 | tm_file="sparc/sparc.h aoutos.h sparc/aout.h libgloss.h" |
61ed06c3 HPN |
2902 | ;; |
2903 | sparc-*-netbsd*) | |
f982f805 | 2904 | tm_file="${tm_file} sparc/aout.h netbsd.h netbsd-aout.h sparc/netbsd.h" |
61ed06c3 HPN |
2905 | tmake_file=t-netbsd |
2906 | use_collect2=yes | |
2907 | ;; | |
2908 | sparc-*-openbsd*) | |
0f7a7be7 | 2909 | tm_file="sparc/sparc.h ${tm_file}" |
f1cf4606 ME |
2910 | # needed to unconfuse gdb |
2911 | tmake_file="t-libc-ok t-openbsd sparc/t-openbsd" | |
61ed06c3 HPN |
2912 | # we need collect2 until our bug is fixed... |
2913 | use_collect2=yes | |
2914 | ;; | |
2915 | sparc-*-bsd*) | |
910e231e | 2916 | tm_file="${tm_file} sparc/bsd.h" |
61ed06c3 | 2917 | ;; |
8da6d80e | 2918 | sparc-*-chorusos*) |
c40409ce | 2919 | tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/sol2.h sparc/elf.h chorus.h" |
8da6d80e CC |
2920 | tmake_file=sparc/t-chorus-elf |
2921 | extra_parts="crti.o crtn.o crtbegin.o crtend.o" | |
2922 | float_format=i64 | |
2923 | case x${enable_threads} in | |
2924 | xyes | xpthreads | xposix) | |
2925 | thread_file='posix' | |
2926 | ;; | |
2927 | esac | |
2928 | ;; | |
61ed06c3 | 2929 | sparc-*-elf*) |
c40409ce | 2930 | tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/sol2.h sparc/elf.h" |
61ed06c3 HPN |
2931 | tmake_file=sparc/t-elf |
2932 | extra_parts="crti.o crtn.o crtbegin.o crtend.o" | |
2933 | #float_format=i128 | |
2934 | float_format=i64 | |
2935 | ;; | |
2936 | sparc-*-linux*aout*) # Sparc's running GNU/Linux, a.out | |
0f7a7be7 | 2937 | tm_file="aoutos.h sparc/sparc.h sparc/aout.h sparc/linux-aout.h" |
61ed06c3 HPN |
2938 | gnu_ld=yes |
2939 | ;; | |
2940 | sparc-*-linux*libc1*) # Sparc's running GNU/Linux, libc5 | |
c40409ce | 2941 | tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/linux.h" |
7b3a4df5 | 2942 | tmake_file="t-slibgcc-elf-ver t-linux t-linux-gnulibc1" |
61ed06c3 HPN |
2943 | extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o" |
2944 | gnu_ld=yes | |
2945 | float_format=sparc | |
2946 | ;; | |
2947 | sparc-*-linux*) # Sparc's running GNU/Linux, libc6 | |
c40409ce | 2948 | tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/linux.h" |
7b3a4df5 | 2949 | tmake_file="t-slibgcc-elf-ver t-linux" |
275b60d6 | 2950 | extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o" |
61ed06c3 HPN |
2951 | gnu_ld=yes |
2952 | if test x$enable_threads = xyes; then | |
2953 | thread_file='posix' | |
2954 | fi | |
2955 | float_format=sparc | |
2956 | ;; | |
2957 | sparc-*-lynxos*) | |
2958 | if test x$gas = xyes | |
2959 | then | |
0f7a7be7 | 2960 | tm_file="${tm_file} lynx.h sparc/aout.h sparc/lynx.h" |
61ed06c3 | 2961 | else |
0f7a7be7 | 2962 | tm_file="${tm_file} lynx-ng.h sparc/aout.h sparc/lynx-ng.h" |
61ed06c3 | 2963 | fi |
61ed06c3 | 2964 | tmake_file=sparc/t-sunos41 |
61ed06c3 HPN |
2965 | ;; |
2966 | sparc-*-rtemsaout*) | |
2967 | tmake_file="sparc/t-sparcbare t-rtems" | |
0f658c83 | 2968 | tm_file="${tm_file} aoutos.h sparc/aout.h sparc/rtems.h rtems.h" |
bc98ef7f JS |
2969 | if test x$enable_threads = xyes; then |
2970 | thread_file='rtems' | |
2971 | fi | |
61ed06c3 HPN |
2972 | ;; |
2973 | sparc-*-rtems*|sparc-*-rtemself*) | |
c40409ce | 2974 | tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/sol2.h sparc/elf.h sparc/rtemself.h rtems.h" |
61ed06c3 HPN |
2975 | tmake_file="sparc/t-elf t-rtems" |
2976 | extra_parts="crti.o crtn.o crtbegin.o crtend.o" | |
2977 | #float_format=i128 | |
2978 | float_format=i64 | |
bc98ef7f JS |
2979 | if test x$enable_threads = xyes; then |
2980 | thread_file='rtems' | |
2981 | fi | |
61ed06c3 | 2982 | ;; |
60acf24e | 2983 | sparcv9-*-solaris2* | sparc64-*-solaris2*) |
61ed06c3 HPN |
2984 | if test x$gnu_ld = xyes |
2985 | then | |
0f658c83 | 2986 | tm_file="sparc/sol2-sld-64.h sparc/sol2-64.h" |
61ed06c3 HPN |
2987 | else |
2988 | tm_file=sparc/sol2-sld-64.h | |
2989 | fi | |
34f4f3a5 | 2990 | xm_defines=POSIX |
61ed06c3 HPN |
2991 | tmake_file="sparc/t-sol2 sparc/t-sol2-64" |
2992 | if test x$gnu_ld = xyes; then | |
7b3a4df5 | 2993 | tmake_file="$tmake_file t-slibgcc-elf-ver" |
61ed06c3 | 2994 | else |
7b3a4df5 | 2995 | tmake_file="$tmake_file t-slibgcc-sld" |
61ed06c3 | 2996 | fi |
61ed06c3 HPN |
2997 | extra_parts="crt1.o crti.o crtn.o gcrt1.o crtbegin.o crtend.o" |
2998 | float_format=none | |
2999 | if test x${enable_threads} = x ; then | |
3000 | enable_threads=$have_pthread_h | |
3001 | if test x${enable_threads} = x ; then | |
3002 | enable_threads=$have_thread_h | |
3003 | fi | |
3004 | fi | |
3005 | if test x${enable_threads} = xyes ; then | |
3006 | if test x${have_pthread_h} = xyes ; then | |
3007 | thread_file='posix' | |
3008 | else | |
3009 | thread_file='solaris' | |
3010 | fi | |
3011 | fi | |
3012 | ;; | |
3013 | sparc-hal-solaris2*) | |
34f4f3a5 | 3014 | xm_defines=POSIX |
c40409ce | 3015 | tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/sol2.h sparc/hal.h" |
61ed06c3 HPN |
3016 | tmake_file="sparc/t-halos sparc/t-sol2" |
3017 | if test x$gnu_ld = xyes; then | |
7b3a4df5 | 3018 | tmake_file="$tmake_file t-slibgcc-elf-ver" |
61ed06c3 | 3019 | else |
7b3a4df5 | 3020 | tmake_file="$tmake_file t-slibgcc-sld" |
61ed06c3 | 3021 | fi |
61ed06c3 HPN |
3022 | extra_parts="crt1.o crti.o crtn.o gmon.o crtbegin.o crtend.o" |
3023 | case $machine in | |
3024 | *-*-solaris2.[0-4]) | |
3025 | float_format=i128 | |
3026 | ;; | |
3027 | *) | |
3028 | float_format=none | |
3029 | ;; | |
3030 | esac | |
3031 | thread_file='solaris' | |
3032 | ;; | |
3033 | sparc-*-solaris2*) | |
3034 | if test x$gnu_ld = xyes | |
3035 | then | |
c40409ce | 3036 | tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/sol2.h" |
61ed06c3 | 3037 | else |
c40409ce | 3038 | tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/sol2.h sparc/sol2-sld.h" |
61ed06c3 | 3039 | fi |
34f4f3a5 | 3040 | xm_defines=POSIX |
61ed06c3 HPN |
3041 | tmake_file=sparc/t-sol2 |
3042 | if test x$gnu_ld = xyes; then | |
7b3a4df5 | 3043 | tmake_file="$tmake_file t-slibgcc-elf-ver" |
61ed06c3 | 3044 | else |
7b3a4df5 | 3045 | tmake_file="$tmake_file t-slibgcc-sld" |
61ed06c3 | 3046 | fi |
61ed06c3 | 3047 | extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o" |
7112135f AO |
3048 | case $machine in |
3049 | *-*-solaris2.[0-6] | *-*-solaris2.[0-6].*) ;; | |
3050 | *-*-solaris2*) | |
3051 | if test x$gnu_ld = xyes | |
3052 | then | |
0f658c83 | 3053 | tm_file="sparc/sol2-sld-64.h sparc/sol2-64.h" |
7112135f | 3054 | else |
0f658c83 | 3055 | tm_file="sparc/sol2-sld-64.h" |
7112135f AO |
3056 | fi |
3057 | tmake_file="$tmake_file sparc/t-sol2-64" | |
3058 | ;; | |
3059 | esac | |
61ed06c3 HPN |
3060 | case $machine in |
3061 | *-*-solaris2.[0-4]) | |
3062 | float_format=i128 | |
3063 | ;; | |
3064 | *) | |
3065 | float_format=none | |
3066 | ;; | |
3067 | esac | |
3068 | if test x${enable_threads} = x; then | |
3069 | enable_threads=$have_pthread_h | |
3070 | if test x${enable_threads} = x; then | |
3071 | enable_threads=$have_thread_h | |
3072 | fi | |
3073 | fi | |
3074 | if test x${enable_threads} = xyes; then | |
3075 | if test x${have_pthread_h} = xyes; then | |
3076 | thread_file='posix' | |
3077 | else | |
3078 | thread_file='solaris' | |
3079 | fi | |
3080 | fi | |
3081 | ;; | |
3082 | sparc-*-sunos4.0*) | |
0f7a7be7 | 3083 | tm_file="${tm_file} sparc/aout.h sparc/sunos4.h" |
61ed06c3 HPN |
3084 | use_collect2=yes |
3085 | ;; | |
3086 | sparc-*-sunos4*) | |
0f7a7be7 | 3087 | tm_file="${tm_file} sparc/aout.h sparc/sunos4.h" |
61ed06c3 HPN |
3088 | tmake_file=sparc/t-sunos41 |
3089 | use_collect2=yes | |
3090 | if test x$gas = xyes; then | |
3091 | tm_file="${tm_file} sparc/sun4gas.h" | |
3092 | fi | |
3093 | ;; | |
3094 | sparc-*-sunos3*) | |
0f7a7be7 | 3095 | tm_file="${tm_file} sparc/aout.h sparc/sun4o3.h" |
61ed06c3 HPN |
3096 | use_collect2=yes |
3097 | ;; | |
3098 | sparc-*-sysv4*) | |
c40409ce | 3099 | tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h" |
34f4f3a5 | 3100 | xm_defines=POSIX |
61ed06c3 | 3101 | tmake_file=t-svr4 |
61ed06c3 HPN |
3102 | extra_parts="crtbegin.o crtend.o" |
3103 | ;; | |
3104 | sparc-*-vxsim*) | |
34f4f3a5 | 3105 | xm_defines=POSIX |
c40409ce | 3106 | tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/vxsim.h" |
61ed06c3 | 3107 | tmake_file=sparc/t-vxsparc |
61ed06c3 HPN |
3108 | ;; |
3109 | sparclet-*-aout*) | |
0f658c83 | 3110 | tm_file="${tm_file} aoutos.h sparc/aout.h sparc/splet.h libgloss.h" |
61ed06c3 HPN |
3111 | tmake_file=sparc/t-splet |
3112 | ;; | |
3113 | sparclite-*-coff*) | |
0f658c83 | 3114 | tm_file="${tm_file} gofast.h sparc/lite.h svr3.h sparc/litecoff.h dbxcoff.h libgloss.h" |
61ed06c3 HPN |
3115 | tmake_file=sparc/t-sparclite |
3116 | ;; | |
3117 | sparclite-*-aout*) | |
0f7a7be7 | 3118 | tm_file="${tm_file} gofast.h sparc/aout.h sparc/lite.h aoutos.h libgloss.h" |
61ed06c3 HPN |
3119 | tmake_file=sparc/t-sparclite |
3120 | ;; | |
3121 | sparclite-*-elf*) | |
c40409ce | 3122 | tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/sol2.h sparc/elf.h gofast.h sparc/liteelf.h" |
61ed06c3 HPN |
3123 | tmake_file=sparc/t-sparclite |
3124 | extra_parts="crtbegin.o crtend.o" | |
3125 | ;; | |
3126 | sparc86x-*-aout*) | |
0f7a7be7 | 3127 | tm_file="${tm_file} gofast.h sparc/aout.h sparc/sp86x-aout.h aoutos.h libgloss.h" |
61ed06c3 HPN |
3128 | tmake_file=sparc/t-sp86x |
3129 | ;; | |
0e5a4ad8 | 3130 | sparc86x-*-elf*) |
c40409ce | 3131 | tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/sol2.h sparc/elf.h gofast.h sparc/sp86x-elf.h" |
61ed06c3 HPN |
3132 | tmake_file=sparc/t-sp86x |
3133 | extra_parts="crtbegin.o crtend.o" | |
3134 | ;; | |
3135 | sparc64-*-aout*) | |
0f7a7be7 | 3136 | tm_file="sparc/sparc.h aoutos.h sparc/aout.h sparc/sp64-aout.h" |
61ed06c3 HPN |
3137 | ;; |
3138 | sparc64-*-elf*) | |
c40409ce | 3139 | tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/sol2.h sparc/sp64-elf.h" |
61ed06c3 HPN |
3140 | extra_parts="crtbegin.o crtend.o" |
3141 | ;; | |
c7240cbd DB |
3142 | sparc64-*-freebsd*|ultrasparc-*-freebsd*) |
3143 | tm_file="${tm_file} ${fbsd_tm_file} dbxelf.h elfos.h sparc/sysv4.h sparc/freebsd.h" | |
3144 | xmake_file=none | |
3145 | case "x$with_cpu" in | |
3146 | x) with_cpu=ultrasparc ;; | |
3147 | *) echo "$with_cpu not supported for freebsd target"; exit 1 ;; | |
3148 | esac | |
3149 | ;; | |
61ed06c3 | 3150 | sparc64-*-linux*) # 64-bit Sparc's running GNU/Linux |
7b3a4df5 | 3151 | tmake_file="t-slibgcc-elf-ver t-linux sparc/t-linux64" |
c40409ce | 3152 | tm_file="sparc/sparc_bi.h ${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/linux64.h" |
275b60d6 | 3153 | extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o" |
61ed06c3 HPN |
3154 | gnu_ld=yes |
3155 | if test x$enable_threads = xyes; then | |
3156 | thread_file='posix' | |
3157 | fi | |
3158 | float_format=sparc | |
3159 | ;; | |
d19fb8e3 | 3160 | strongarm-*-elf*) |
c40409ce | 3161 | tm_file="arm/strongarm-elf.h dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h" |
d19fb8e3 NC |
3162 | tmake_file=arm/t-strongarm-elf |
3163 | out_file=arm/arm.c | |
d19fb8e3 NC |
3164 | md_file=arm/arm.md |
3165 | ;; | |
3166 | strongarm-*-coff*) | |
f910b1bb | 3167 | tm_file="arm/semi.h arm/aout.h arm/coff.h arm/strongarm-coff.h arm/arm.h" |
d19fb8e3 NC |
3168 | tmake_file=arm/t-strongarm-coff |
3169 | out_file=arm/arm.c | |
d19fb8e3 NC |
3170 | md_file=arm/arm.md |
3171 | ;; | |
3172 | strongarm-*-pe) | |
f910b1bb | 3173 | tm_file="arm/semi.h arm/aout.h arm/coff.h arm/strongarm-coff.h arm/arm.h arm/pe.h arm/strongarm-pe.h" |
d19fb8e3 NC |
3174 | tmake_file=arm/t-strongarm-pe |
3175 | out_file=arm/arm.c | |
d19fb8e3 NC |
3176 | md_file=arm/arm.md |
3177 | extra_objs=pe.o | |
3178 | ;; | |
61ed06c3 HPN |
3179 | thumb*-*-*) |
3180 | { echo "config.gcc: error: | |
9e8fc4b8 | 3181 | *** The Thumb targets have been deprecated. The equivalent |
cfd1c7ea | 3182 | *** ARM based toolchain can now generate Thumb instructions |
61ed06c3 HPN |
3183 | *** when the -mthumb switch is given to the compiler." 1>&2; exit 1; } |
3184 | ;; | |
3185 | v850-*-rtems*) | |
c40409ce | 3186 | tm_file="dbxelf.h elfos.h svr4.h ${tm_file} v850/rtems.h" |
61ed06c3 HPN |
3187 | tmake_file="v850/t-v850 t-rtems" |
3188 | if test x$stabs = xyes | |
3189 | then | |
3190 | tm_file="${tm_file} dbx.h" | |
3191 | fi | |
3192 | use_collect2=no | |
c3edd394 NC |
3193 | c_target_objs="v850-c.o" |
3194 | cxx_target_objs="v850-c.o" | |
61ed06c3 HPN |
3195 | ;; |
3196 | v850-*-*) | |
3197 | target_cpu_default="TARGET_CPU_generic" | |
c40409ce | 3198 | tm_file="dbxelf.h elfos.h svr4.h ${tm_file}" |
61ed06c3 HPN |
3199 | tmake_file=v850/t-v850 |
3200 | if test x$stabs = xyes | |
3201 | then | |
3202 | tm_file="${tm_file} dbx.h" | |
3203 | fi | |
3204 | use_collect2=no | |
c3edd394 NC |
3205 | c_target_objs="v850-c.o" |
3206 | cxx_target_objs="v850-c.o" | |
61ed06c3 | 3207 | ;; |
8aeea6e6 | 3208 | vax-*-bsd*) # VAXen running BSD |
61ed06c3 HPN |
3209 | use_collect2=yes |
3210 | float_format=vax | |
3211 | ;; | |
8aeea6e6 | 3212 | vax-*-sysv*) # VAXen running system V |
61ed06c3 | 3213 | tm_file="${tm_file} vax/vaxv.h" |
34f4f3a5 | 3214 | xm_defines=POSIX |
61ed06c3 HPN |
3215 | float_format=vax |
3216 | ;; | |
3217 | vax-*-netbsd*) | |
f982f805 | 3218 | tm_file="${tm_file} netbsd.h netbsd-aout.h vax/netbsd.h" |
61ed06c3 HPN |
3219 | tmake_file=t-netbsd |
3220 | float_format=vax | |
3221 | use_collect2=yes | |
3222 | ;; | |
3223 | vax-*-openbsd*) | |
61ed06c3 | 3224 | tm_file="vax/vax.h vax/openbsd1.h openbsd.h ${tm_file}" |
61ed06c3 HPN |
3225 | float_format=vax |
3226 | use_collect2=yes | |
3227 | ;; | |
8aeea6e6 | 3228 | vax-*-ultrix*) # VAXen running ultrix |
61ed06c3 HPN |
3229 | tm_file="${tm_file} vax/ultrix.h" |
3230 | float_format=vax | |
3231 | ;; | |
8aeea6e6 | 3232 | vax-*-vms*) # VAXen running VMS |
61ed06c3 HPN |
3233 | xm_file=vax/xm-vms.h |
3234 | tm_file=vax/vms.h | |
3235 | float_format=vax | |
3236 | ;; | |
8aeea6e6 | 3237 | vax-*-*) # VAX default entry |
61ed06c3 HPN |
3238 | float_format=vax |
3239 | ;; | |
3240 | we32k-att-sysv*) | |
34f4f3a5 | 3241 | xm_defines=POSIX |
61ed06c3 HPN |
3242 | use_collect2=yes |
3243 | ;; | |
d19fb8e3 | 3244 | xscale-*-elf) |
c40409ce | 3245 | tm_file="arm/xscale-elf.h dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h" |
d19fb8e3 NC |
3246 | tmake_file=arm/t-xscale-elf |
3247 | out_file=arm/arm.c | |
d19fb8e3 NC |
3248 | md_file=arm/arm.md |
3249 | ;; | |
3250 | xscale-*-coff) | |
578316b9 | 3251 | tm_file="arm/semi.h arm/aout.h arm/coff.h arm/xscale-coff.h arm/arm.h" |
d19fb8e3 NC |
3252 | tmake_file=arm/t-xscale-coff |
3253 | out_file=arm/arm.c | |
d19fb8e3 NC |
3254 | md_file=arm/arm.md |
3255 | ;; | |
14d269bb GK |
3256 | xstormy16-*-elf) |
3257 | # For historical reasons, the target files omit the 'x'. | |
c40409ce | 3258 | tm_file="dbxelf.h elfos.h svr4.h stormy16/stormy16.h" |
14d269bb GK |
3259 | tm_p_file=stormy16/stormy16-protos.h |
3260 | md_file=stormy16/stormy16.md | |
3261 | out_file=stormy16/stormy16.c | |
3262 | tmake_file="stormy16/t-stormy16" | |
3263 | extra_parts="crtbegin.o crtend.o" | |
3264 | ;; | |
03984308 BW |
3265 | xtensa-*-elf*) |
3266 | tm_file="${tm_file} dbxelf.h elfos.h svr4.h xtensa/elf.h" | |
3267 | with_newlib=yes | |
3268 | tmake_file=xtensa/t-xtensa | |
3269 | extra_parts="crtbegin.o crtend.o" | |
3270 | fixincludes=Makefile.in # newlib headers should be OK | |
3271 | ;; | |
3272 | xtensa-*-linux*) | |
3273 | tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h xtensa/linux.h" | |
3274 | tmake_file="t-linux xtensa/t-xtensa" | |
3275 | extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o" | |
3276 | gas=yes gnu_ld=yes | |
3277 | if test x$enable_threads = xyes; then | |
3278 | thread_file='posix' | |
3279 | fi | |
3280 | ;; | |
61ed06c3 HPN |
3281 | *) |
3282 | echo "Configuration $machine not supported" 1>&2 | |
3283 | exit 1 | |
3284 | ;; | |
3285 | esac | |
3286 | ||
3287 | case $machine in | |
61ed06c3 HPN |
3288 | *-*-sysv*) |
3289 | install_headers_dir=install-headers-cpio | |
3290 | ;; | |
3291 | esac | |
3292 | ||
3293 | # Distinguish i[34567]86 | |
3294 | # Also, do not run mips-tfile on MIPS if using gas. | |
3295 | # Process --with-cpu= for PowerPC/rs6000 | |
3296 | target_cpu_default2= | |
3297 | case $machine in | |
3298 | i486-*-*) | |
e10e23ee | 3299 | target_cpu_default2=TARGET_CPU_DEFAULT_i486 |
61ed06c3 HPN |
3300 | ;; |
3301 | i586-*-*) | |
3302 | case $target_alias in | |
e10e23ee JH |
3303 | k6_2-*) |
3304 | target_cpu_default2=TARGET_CPU_DEFAULT_k6_2 | |
3305 | ;; | |
3306 | k6_3-*) | |
3307 | target_cpu_default2=TARGET_CPU_DEFAULT_k6_3 | |
3308 | ;; | |
61ed06c3 | 3309 | k6-*) |
e10e23ee JH |
3310 | target_cpu_default2=TARGET_CPU_DEFAULT_k6 |
3311 | ;; | |
3312 | pentium_mmx-*) | |
3313 | target_cpu_default2=TARGET_CPU_DEFAULT_pentium_mmx | |
61ed06c3 HPN |
3314 | ;; |
3315 | *) | |
e10e23ee | 3316 | target_cpu_default2=TARGET_CPU_DEFAULT_pentium |
61ed06c3 HPN |
3317 | ;; |
3318 | esac | |
3319 | ;; | |
3320 | i686-*-* | i786-*-*) | |
4ed47bea | 3321 | case $target_alias in |
e10e23ee JH |
3322 | athlon_xp-*|athlon_mp-*|athlon_4-*) |
3323 | target_cpu_default2=TARGET_CPU_DEFAULT_athlon_sse | |
3324 | ;; | |
3325 | athlon_tbird-*|athlon-*) | |
3326 | target_cpu_default2=TARGET_CPU_DEFAULT_athlon | |
3327 | ;; | |
3328 | pentium2-*) | |
3329 | target_cpu_default2=TARGET_CPU_DEFAULT_pentium2 | |
3330 | ;; | |
3331 | pentium3-*) | |
3332 | target_cpu_default2=TARGET_CPU_DEFAULT_pentium3 | |
3333 | ;; | |
3334 | pentium4-*) | |
3335 | target_cpu_default2=TARGET_CPU_DEFAULT_pentium4 | |
4ed47bea JM |
3336 | ;; |
3337 | *) | |
e10e23ee | 3338 | target_cpu_default2=TARGET_CPU_DEFAULT_pentiumpro |
4ed47bea JM |
3339 | ;; |
3340 | esac | |
61ed06c3 | 3341 | ;; |
e10e23ee JH |
3342 | x86_64-*-*) |
3343 | # We should have hammer chip here, but it does not exist yet and | |
3344 | # thus it is not supported. Athlon_SSE is probably equivalent feature | |
3345 | # wise to hammer from our point of view except for 64bit mode. | |
3346 | target_cpu_default2=TARGET_CPU_DEFAULT_athlon_sse | |
3347 | ;; | |
61ed06c3 HPN |
3348 | alpha*-*-*) |
3349 | case $machine in | |
3350 | alphaev6[78]*) | |
3351 | target_cpu_default2="MASK_CPU_EV6|MASK_BWX|MASK_MAX|MASK_FIX|MASK_CIX" | |
3352 | ;; | |
3353 | alphaev6*) | |
3354 | target_cpu_default2="MASK_CPU_EV6|MASK_BWX|MASK_MAX|MASK_FIX" | |
3355 | ;; | |
3356 | alphapca56*) | |
3357 | target_cpu_default2="MASK_CPU_EV5|MASK_BWX|MASK_MAX" | |
3358 | ;; | |
3359 | alphaev56*) | |
3360 | target_cpu_default2="MASK_CPU_EV5|MASK_BWX" | |
3361 | ;; | |
3362 | alphaev5*) | |
3363 | target_cpu_default2="MASK_CPU_EV5" | |
3364 | ;; | |
3365 | esac | |
0e5a4ad8 | 3366 | |
61ed06c3 HPN |
3367 | if test x$gas = xyes |
3368 | then | |
3369 | if test "$target_cpu_default2" = "" | |
3370 | then | |
3371 | target_cpu_default2="MASK_GAS" | |
3372 | else | |
3373 | target_cpu_default2="${target_cpu_default2}|MASK_GAS" | |
3374 | fi | |
3375 | fi | |
3376 | ;; | |
3377 | arm*-*-*) | |
3378 | case "x$with_cpu" in | |
3379 | x) | |
3380 | # The most generic | |
3381 | target_cpu_default2="TARGET_CPU_generic" | |
3382 | ;; | |
3383 | ||
3384 | # Distinguish cores, and major variants | |
3385 | # arm7m doesn't exist, but D & I don't affect code | |
70f24e49 NC |
3386 | xarm[236789] | xarm250 | xarm[67][01]0 \ |
3387 | | xarm7m | xarm7dm | xarm7dmi | xarm[79]tdmi \ | |
61ed06c3 | 3388 | | xarm7100 | xarm7500 | xarm7500fe | xarm810 \ |
d19fb8e3 | 3389 | | xxscale \ |
61ed06c3 HPN |
3390 | | xstrongarm | xstrongarm110 | xstrongarm1100) |
3391 | target_cpu_default2="TARGET_CPU_$with_cpu" | |
3392 | ;; | |
3393 | ||
3394 | xyes | xno) | |
3395 | echo "--with-cpu must be passed a value" 1>&2 | |
3396 | exit 1 | |
3397 | ;; | |
3398 | ||
3399 | *) | |
3400 | if test x$pass2done = xyes | |
3401 | then | |
3402 | echo "Unknown cpu used with --with-cpu=$with_cpu" 1>&2 | |
3403 | exit 1 | |
3404 | fi | |
3405 | ;; | |
3406 | esac | |
3407 | ;; | |
3408 | ||
c21a2372 AM |
3409 | hppa*-*-* | parisc*-*-*) |
3410 | if test x$gas = xyes | |
3411 | then | |
3412 | target_cpu_default2="MASK_GAS|MASK_JUMP_IN_DELAY" | |
3413 | fi | |
3414 | ;; | |
3415 | ||
61ed06c3 HPN |
3416 | mips*-*-ecoff* | mips*-*-elf*) |
3417 | if test x$gas = xyes | |
3418 | then | |
3419 | if test x$gnu_ld = xyes | |
3420 | then | |
3421 | target_cpu_default2="MASK_GAS|MASK_SPLIT_ADDR" | |
3422 | else | |
3423 | target_cpu_default2="MASK_GAS" | |
3424 | fi | |
3425 | fi | |
3426 | ;; | |
3427 | mips*-*-*) | |
3428 | if test x$gas = xyes | |
3429 | then | |
3430 | target_cpu_default2="MASK_GAS" | |
3431 | fi | |
3432 | ;; | |
3433 | powerpc*-*-* | rs6000-*-*) | |
480f7f3a AH |
3434 | if test x$enable_altivec = xyes |
3435 | then | |
5e505bc9 | 3436 | tm_file="$tm_file rs6000/altivec-defs.h" |
480f7f3a | 3437 | fi |
61ed06c3 HPN |
3438 | case "x$with_cpu" in |
3439 | x) | |
3440 | ;; | |
3441 | ||
94f1d97c DJ |
3442 | xcommon | xpower | xpower2 | xpower3 | xpowerpc | xpowerpc64 \ |
3443 | | xrios | xrios1 | xrios2 | xrsc | xrsc1 | xrs64a \ | |
3444 | | x601 | x602 | x603 | x603e | x604 | x604e | x620 | x630 \ | |
3445 | | x740 | x750 | x7400 | x7450 | x505) | |
ff25793c | 3446 | target_cpu_default2="\\\"$with_cpu\\\"" |
61ed06c3 HPN |
3447 | ;; |
3448 | ||
94f1d97c | 3449 | x401 | x403 | x405 | xec603e | x801 | x821 | x823 | x860) |
c19083d8 DD |
3450 | target_cpu_default2="\\\"$with_cpu\\\"" |
3451 | tm_file="$tm_file rs6000/softfloat.h" | |
3452 | ;; | |
3453 | ||
61ed06c3 HPN |
3454 | xyes | xno) |
3455 | echo "--with-cpu must be passed a value" 1>&2 | |
3456 | exit 1 | |
3457 | ;; | |
3458 | ||
3459 | *) | |
3460 | if test x$pass2done = xyes | |
3461 | then | |
3462 | echo "Unknown cpu used with --with-cpu=$with_cpu" 1>&2 | |
3463 | exit 1 | |
3464 | fi | |
3465 | ;; | |
3466 | esac | |
3467 | ;; | |
3468 | sparc*-*-*) | |
3469 | case ".$with_cpu" in | |
3470 | .) | |
3471 | target_cpu_default2=TARGET_CPU_"`echo $machine | sed 's/-.*$//'`" | |
3472 | ;; | |
3473 | .supersparc | .hypersparc | .ultrasparc | .v7 | .v8 | .v9) | |
3474 | target_cpu_default2="TARGET_CPU_$with_cpu" | |
3475 | ;; | |
3476 | *) | |
3477 | if test x$pass2done = xyes | |
3478 | then | |
3479 | echo "Unknown cpu used with --with-cpu=$with_cpu" 1>&2 | |
3480 | exit 1 | |
3481 | fi | |
3482 | ;; | |
3483 | esac | |
3484 | ;; | |
3485 | esac | |
3486 | ||
3487 | if test "$target_cpu_default2" != "" | |
3488 | then | |
3489 | if test "$target_cpu_default" != "" | |
3490 | then | |
3491 | target_cpu_default="(${target_cpu_default}|${target_cpu_default2})" | |
3492 | else | |
3493 | target_cpu_default=$target_cpu_default2 | |
3494 | fi | |
3495 | fi | |
3496 | ||
61ed06c3 HPN |
3497 | # Save data on machine being used to compile GCC in build_xm_file. |
3498 | # Save data on host machine in vars host_xm_file and host_xmake_file. | |
3499 | if test x$pass1done = x | |
3500 | then | |
4dc0535b ZW |
3501 | if test x$xm_file != x |
3502 | then build_xm_file=$xm_file | |
61ed06c3 HPN |
3503 | fi |
3504 | build_xm_defines=$xm_defines | |
3505 | build_install_headers_dir=$install_headers_dir | |
3506 | build_exeext=$exeext | |
3507 | pass1done=yes | |
3508 | else | |
3509 | if test x$pass2done = x | |
3510 | then | |
4dc0535b ZW |
3511 | if test x$xm_file != x |
3512 | then host_xm_file=$xm_file | |
61ed06c3 HPN |
3513 | fi |
3514 | host_xm_defines=$xm_defines | |
61ed06c3 HPN |
3515 | host_xmake_file="$xmake_file" |
3516 | host_truncate_target=$truncate_target | |
3517 | host_extra_gcc_objs=$extra_gcc_objs | |
3518 | host_extra_objs=$extra_host_objs | |
3519 | host_exeext=$exeext | |
3520 | pass2done=yes | |
3521 | fi | |
3522 | fi |