OSDN Git Service

* (REG_CLASS_FROM_CONSTRAINT): Only define if not already defined.
[pf3gnuchains/gcc-fork.git] / gcc / config.gcc
1 # GCC build-, host- and target-specific configuration file.
2 # Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003
3 # Free Software Foundation, Inc.
4
5 #This file is part of GCC.
6
7 #GCC is free software; you can redistribute it and/or modify it under
8 #the terms of the GNU General Public License as published by the Free
9 #Software Foundation; either version 2, or (at your option) any later
10 #version.
11
12 #GCC is distributed in the hope that it will be useful, but WITHOUT
13 #ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 #FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
15 #for more details.
16
17 #You should have received a copy of the GNU General Public License
18 #along with GCC; see the file COPYING.  If not, write to the Free
19 #Software Foundation, 59 Temple Place - Suite 330, Boston, MA
20 #02111-1307, USA.
21
22 # This is the GCC build-, host- and target-specific configuration file
23 # where a configuration type, as recognized and generated by config.bfd,
24 # is mapped to different system-specific definitions and files.  This is
25 # invoked by the autoconf-generated configure script, called for build,
26 # host and target in that order, setting ${machine} to each.  Putting it
27 # in a separate shell file lets us skip running autoconf when modifying
28 # build-, host- and target-specific information.
29
30 # This file switches on the shell variable ${machine}, and also uses the
31 # following shell variables:
32 #
33 #  with_*               Various variables as set by configure.
34 #
35 #  enable_threads_flag  Either the name, yes or no depending on whether
36 #                       threads support was requested.
37 #
38 #  default_use_cxa_atexit
39 #                       "no" by default, can be set to "yes" if a target
40 #                       wishes to use __cxa_atexit() by default if the
41 #                       $enable___cxa_atexit variable is not set.
42 #
43 #  gas_flag             Either yes or no depending on whether GNU as was
44 #                       requested.
45 #
46 #  gnu_ld_flag          Either yes or no depending on whether GNU ld was
47 #                       requested.
48
49 # This file sets the following shell variables for use by the
50 # autoconf-generated configure script:
51 #
52 #  cpu_type             The name of the cpu, if different from machine.
53 #
54 #  tm_defines           List of target macros to define for all compilations.
55 #
56 #  tm_file              A list of target macro files, if different from
57 #                       "$cpu_type/$cpu_type.h". Usually it's constructed
58 #                       per target in a way like this:
59 #                       tm_file="${tm_file} dbxelf.h elfos.h svr4.h ${cpu_type.h}/elf.h"
60 #                       Note that the preferred order is:
61 #                       - specific target header "${cpu_type}/${cpu_type.h}"
62 #                       - generic headers like dbxelf.h elfos.h, netware.h, etc.
63 #                       - specializing target headers like ${cpu_type.h}/elf.h
64 #                       This helps to keep OS specific stuff out of the CPU
65 #                       defining header ${cpu_type}/${cpu_type.h}.
66 #
67 #  tm_p_file            Location of file with declarations for functions
68 #                       in $out_file.
69 #
70 #  out_file             The name of the machine description C support
71 #                       file, if different from "$cpu_type/$cpu_type.c".
72 #
73 #  md_file              The name of the machine-description file, if
74 #                       different from "$cpu_type/$cpu_type.md".
75 #
76 #  tmake_file           A list of machine-description-specific
77 #                       makefile-fragments, if different from
78 #                       "$cpu_type/t-$cpu_type".
79 #
80 #  extra_modes          The name of the file containing a list of extra
81 #                       machine modes, if necessary and different from
82 #                       "$cpu_type/$cpu_type-modes.def".
83 #
84 #  extra_objs           List of extra objects that should be linked into
85 #                       the compiler proper (cc1, cc1obj, cc1plus)
86 #                       depending on target.
87 #
88 #  extra_headers        List of used header files from the directory
89 #                       config/${cpu_type}.
90 #
91 #  host_xmake_file      List of host-specific makefile-fragments.
92 #
93 #  extra_passes         List of extra executables compiled for this target
94 #                       machine, used for compiling from source to object.
95 #
96 #  extra_parts          List of extra object files that should be compiled
97 #                       for this target machine.
98 #
99 #  extra_programs       Like extra_passes, but these are used when linking.
100 #
101 #  host_extra_objs      List of extra host-dependent objects that should
102 #                       be linked into the compiler proper.
103 #
104 #  host_extra_gcc_objs  List of extra host-dependent objects that should
105 #                       be linked into the gcc driver.
106 #
107 #  out_host_hook_obj    An object file that provides the host hooks.
108 #
109 #  c_target_objs        List of extra target-dependent objects that be
110 #                       linked into the C compiler only.
111 #
112 #  cxx_target_objs      List of extra target-dependent objects that be
113 #                       linked into the C++ compiler only.
114 #
115 #  target_gtfiles       List of extra source files with type information.
116 #
117 #  build_xm_defines     List of macros to define when compiling for the
118 #                       build machine.
119 #
120 #  build_xm_file        List of files to include when compiling for the
121 #                       build machine.
122 #
123 #  host_xm_defines      List of macros to define when compiling for the
124 #                       host machine.
125 #
126 #  host_xm_file         List of files to include when compiling for the
127 #                       host machine.
128 #
129 #  xm_defines           List of macros to define when compiling for the
130 #                       target machine.
131 #
132 #  xm_file              List of files to include when compiling for the
133 #                       target machine.
134 #
135 #  use_collect2         Set to yes or no, depending on whether collect2
136 #                       will be used.
137 #
138 #  target_cpu_default   Set to override the default target model.
139 #
140 #  build_install_headers_dir
141 #                       Target to use when installing header files.
142 #
143 #  gdb_needs_out_file_path
144 #                       Set to yes if gdb needs a dir command with
145 #                       `dirname $out_file`.
146 #
147 #  build_exeext         Set to the suffix, if the build machine requires
148 #                       executables to have a file name suffix.
149 #
150 #  host_exeext          Set to the suffix, if the host machine requires
151 #                       executables to have a file name suffix.
152 #
153 #  thread_file          Set to control which thread package to use.
154 #
155 #  gas                  Set to yes or no depending on whether the target
156 #                       system normally uses GNU as.
157 #
158 #  need_64bit_hwint     Set to yes if HOST_WIDE_INT must be 64 bits wide
159 #                       for this target.  This is true iff
160 #                       MAX_LONG_TYPE_SIZE is 64.  (The code which
161 #                       determines the underlying integral type for
162 #                       HOST_WIDE_INT cannot see the definition of
163 #                       MAX_LONG_TYPE_SIZE.)
164 #
165 #  configure_default_options
166 #                       Set to an initializer for configure_default_options
167 #                       in configargs.h, based on --with-cpu et cetera.
168
169 # The following variables are used in each case-construct to build up the
170 # outgoing variables:
171 #
172 #  xmake_file           Makefile-fragment when this system is as a host,
173 #                       for host_xmake_file.
174 #
175 #  extra_host_objs      List of extra objects that should be linked into
176 #                       the compiler proper when this system is a host,
177 #                       for host_extra_objs.
178 #
179 #  host_hook_obj        An object file that provides the host hooks.
180 #
181 #  install_headers_dir  Makefile-target for how the header file directory
182 #                       is installed, when this system is a build system,
183 #                       for build_install_headers_dir.
184 #
185 #  exeext               The suffix for executables on this system.
186 #
187 #  gnu_ld               Set to yes or no depending on whether the target
188 #                       system normally uses GNU ld.
189
190 out_file=
191 xmake_file=
192 tmake_file=
193 extra_headers=
194 extra_passes=
195 extra_parts=
196 extra_programs=
197 extra_objs=
198 extra_host_objs=
199 extra_gcc_objs=
200 c_target_objs=
201 cxx_target_objs=
202 host_hook_obj=host-default.o
203 tm_defines=
204 xm_defines=
205 # Set this to force installation and use of collect2.
206 use_collect2=
207 # Set this to override the default target model.
208 target_cpu_default=
209 # Set this to control how the header file directory is installed.
210 install_headers_dir=install-headers-tar
211 # Set this if gdb needs a dir command with `dirname $out_file`
212 gdb_needs_out_file_path=
213 # Set this if the build machine requires executables to have a
214 # file name suffix.
215 exeext=
216 # Set this to control which thread package will be used.
217 thread_file=
218 # Reinitialize these from the flag values every loop pass, since some
219 # configure entries modify them.
220 gas="$gas_flag"
221 gnu_ld="$gnu_ld_flag"
222 enable_threads=$enable_threads_flag
223 default_use_cxa_atexit=no
224 target_gtfiles=
225 need_64bit_hwint=
226
227 # Don't carry these over build->host->target.  Please.
228 xm_file=
229 md_file=
230
231 # Obsolete configurations.
232 case $machine in
233  dummy)
234     if test "x$enable_obsolete" != xyes; then
235       echo "*** Configuration $machine is obsolete." >&2
236       echo "*** Specify --enable-obsolete to build it anyway." >&2
237       echo "*** Support will be REMOVED in the next major release of GCC," >&2
238       echo "*** unless a maintainer comes forward." >&2
239       exit 1
240     fi;;
241 esac
242
243 # Unsupported targets list.  Do not put an entry in this list unless
244 # it would otherwise be caught by a more permissive pattern.  The list
245 # should be in alphabetical order.
246 case $machine in
247    alpha*-*-linux*libc1*                \
248  | i[34567]86-sequent-sysv*             \
249  | i[34567]86-go32-*                    \
250  | i[34567]86-*-go32*                   \
251  | m68k-*-linux*aout*                   \
252  | m68k-*-linux*libc1*                  \
253  | mips64orion*-*-rtems*                \
254  | powerpc-*-linux*libc1*               \
255  | sparc-*-linux*aout*                  \
256  | sparc-*-linux*libc1*                 \
257  | sparc-hal-solaris2*                  \
258  | thumb-*-*                            \
259  | *-*-linux*coff*                      \
260  | *-*-linux*oldld*                     \
261  | *-*-rtemsaout*                       \
262  | *-*-rtemscoff*                       \
263  )
264         echo "*** Configuration $machine not supported" 1>&2
265         exit 1
266         ;;
267 esac
268
269 # Set default cpu_type, tm_file, tm_p_file and xm_file so it can be
270 # updated in each machine entry.  Also set default extra_headers for some
271 # machines.
272 tm_p_file=
273 cpu_type=`echo $machine | sed 's/-.*$//'`
274 case $machine in
275 alpha*-*-*)
276         cpu_type=alpha
277         need_64bit_hwint=yes
278         ;;
279 strongarm*-*-*)
280         cpu_type=arm
281         ;;
282 arm*-*-*)
283         cpu_type=arm
284         ;;
285 ep9312*-*-*)
286         cpu_type=arm
287         ;;
288 xscale-*-*)
289         cpu_type=arm
290         ;;
291 i[34567]86-*-*)
292         cpu_type=i386
293         extra_headers="mmintrin.h xmmintrin.h emmintrin.h"
294         ;;
295 x86_64-*-*)
296         cpu_type=i386
297         extra_headers="mmintrin.h xmmintrin.h emmintrin.h"
298         need_64bit_hwint=yes
299         ;;
300 ia64-*-*)
301         extra_headers=ia64intrin.h
302         need_64bit_hwint=yes
303         ;;
304 hppa*-*-* | parisc*-*-*)
305         cpu_type=pa
306         ;;
307 m680[012]0-*-*)
308         cpu_type=m68k
309         extra_headers=math-68881.h
310         ;;
311 m68k-*-*)
312         extra_headers=math-68881.h
313         ;;
314 mips*-*-*)
315         cpu_type=mips
316         need_64bit_hwint=yes
317         ;;
318 powerpc*-*-*)
319         cpu_type=rs6000
320         extra_headers="ppc-asm.h altivec.h spe.h"
321         need_64bit_hwint=yes
322         ;;
323 rs6000*-*-*)
324         need_64bit_hwint=yes
325         ;;
326 sparc64*-*-*)
327         cpu_type=sparc
328         need_64bit_hwint=yes
329         ;;
330 sparc*-*-*)
331         cpu_type=sparc
332         ;;
333 s390*-*-*)
334         need_64bit_hwint=yes
335         ;;
336 # Note the 'l'; we need to be able to match e.g. "shle" or "shl".
337 sh[123456789l]*-*-*)
338         cpu_type=sh
339         need_64bit_hwint=yes
340         ;;
341 tic4x-*-*)
342         cpu_type=c4x
343         ;;
344 esac
345
346 tm_file=${cpu_type}/${cpu_type}.h
347 if test -f ${srcdir}/config/${cpu_type}/${cpu_type}-protos.h
348 then
349         tm_p_file=${cpu_type}/${cpu_type}-protos.h
350 fi
351 extra_modes=
352 if test -f ${srcdir}/config/${cpu_type}/${cpu_type}-modes.def
353 then
354         extra_modes=${cpu_type}/${cpu_type}-modes.def
355 fi
356
357 case $machine in
358 x86_64-*-*)
359         tm_file="i386/biarch64.h ${tm_file}"
360         ;;
361 esac
362
363 # On a.out targets, we need to use collect2.
364 case $machine in
365 *-*-*aout*)
366         use_collect2=yes
367         ;;
368 esac
369
370 # Common parts for widely ported systems.
371 case $machine in
372 *-*-linux*)
373         case $machine in
374          *-*-linux*libc1* | *-*-linux*aout*)
375                 ;;
376         *)
377                 extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
378                 gas=yes gnu_ld=yes
379                 case x${enable_threads} in
380                         x | xyes | xposix) thread_file='posix'
381                         ;;
382                 esac
383                 ;;
384         esac
385         ;;
386 *-*-gnu*)
387         # On the Hurd, the setup is just about the same on
388         # each different CPU.  The specific machines that we
389         # support are matched above and just set $cpu_type.
390         tm_file="${cpu_type}/gnu.h"
391         extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o"
392         # GNU always uses ELF.
393         elf=yes
394         # GNU tools are the only tools.
395         gnu_ld=yes
396         gas=yes
397         # These details are the same as for Linux.
398         # But here we need a little extra magic.
399         tmake_file="t-slibgcc-elf-ver t-linux t-gnu"
400         case $machine in
401         alpha*)
402                 tm_file="${cpu_type}/${cpu_type}.h alpha/elf.h alpha/linux.h alpha/linux-elf.h gnu.h ${tm_file}"
403                 ;;
404         i[34567]86-*-*)
405                 tm_file="${cpu_type}/${cpu_type}.h i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h linux.h i386/linux.h gnu.h ${tm_file}"
406                 ;;
407         esac
408         ;;
409 *-*-openbsd*)
410         tm_file=${cpu_type}/openbsd.h
411         tmake_file="t-libc-ok t-openbsd t-libgcc-pic"
412         if test x$enable_threads = xyes; then
413                 thread_file='posix'
414                 tmake_file="${tmake_file} t-openbsd-thread"
415         fi
416         ;;
417 *-*-netbsd*)
418         tmake_file="t-slibgcc-elf-ver t-libc-ok t-netbsd"
419         gas=yes
420         gnu_ld=yes
421
422         # NetBSD 2.0 and later get POSIX threads enabled by default.
423         # Allow them to be explicitly enabled on any other version.
424         case x${enable_threads} in
425         x)
426                 case $machine in
427                 *-*-netbsd[2-9]* | *-*-netbsdelf[2-9]*)
428                         thread_file='posix'
429                         tm_defines="${tm_defines} NETBSD_ENABLE_PTHREADS"
430                         ;;
431                 esac
432                 ;;
433         xyes | xposix)
434                 thread_file='posix'
435                 tm_defines="${tm_defines} NETBSD_ENABLE_PTHREADS"
436                 ;;
437         esac
438
439         # NetBSD 1.7 and later are set up to use GCC's crtstuff for
440         # ELF configurations.  We will clear extra_parts in the
441         # a.out configurations.
442         case $machine in
443         *-*-netbsd*1.[7-9]* | *-*-netbsd[2-9]* | *-*-netbsdelf[2-9]*)
444                 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o"
445                 ;;
446         esac
447
448         # NetBSD 2.0 and later provide __cxa_atexit(), which we use by
449         # default (unless overridden by --disable-__cxa_atexit).
450         case $machine in
451         *-*-netbsd[2-9]* | *-*-netbsdelf[2-9]*)
452                 default_use_cxa_atexit=yes
453                 ;;
454         esac
455         ;;
456 *-*-freebsd[12] | *-*-freebsd[12].* | *-*-freebsd*aout*)
457         # This is the place-holder for the generic a.out configuration
458         # of FreeBSD.  No actual configuration resides here since
459         # there was only ever a bare-bones ix86 configuration for
460         # a.out and it exists solely in the machine-specific section.
461         # This place-holder must exist to avoid dropping into
462         # the generic ELF configuration of FreeBSD (i.e. it must be
463         # ordered before that section).
464         ;;
465 *-*-freebsd*)
466         # This is the generic ELF configuration of FreeBSD.  Later
467         # machine-specific sections may refine and add to this
468         # configuration.
469         #
470         # Due to tm_file entry ordering issues that vary between cpu
471         # architectures, we only define fbsd_tm_file to allow the
472         # machine-specific section to dictate the final order of all
473         # entries of tm_file with the minor exception that components
474         # of the tm_file set here will always be of the form:
475         #
476         # freebsd<version_number>.h [freebsd-<conf_option>.h ...] freebsd-spec.h freebsd.h
477         #
478         # The machine-specific section should not tamper with this
479         # ordering but may order all other entries of tm_file as it
480         # pleases around the provided core setting.
481         gas=yes
482         gnu_ld=yes
483         extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
484         case $machine in
485         *-*-freebsd3 | *-*-freebsd[3].*) fbsd_tm_file="freebsd3.h";;
486         *-*-freebsd4 | *-*-freebsd[4].*) fbsd_tm_file="freebsd4.h";;
487         *-*-freebsd5 | *-*-freebsd[5].*) fbsd_tm_file="freebsd5.h";;
488         *-*-freebsd6 | *-*-freebsd[6].*) fbsd_tm_file="freebsd6.h";;
489         *) echo 'Please update *-*-freebsd* in gcc/config.gcc'; exit 1;;
490         esac
491         tmake_file="t-slibgcc-elf-ver t-freebsd"
492         xmake_file=none
493         case x${enable_threads} in
494         xno) fbsd_tm_file="${fbsd_tm_file} freebsd-nthr.h";;
495         x | xyes | xpthreads | xposix)
496                 thread_file='posix'
497                 tmake_file="${tmake_file} t-freebsd-thread"
498                 # Before 5.0, FreeBSD can't bind shared libraries to -lc
499                 # when "optionally" threaded via weak pthread_* checks.
500                 case $machine in
501                 *-*-freebsd[34] | *-*-freebsd[34].*)
502                         tmake_file="${tmake_file} t-slibgcc-nolc-override";;
503                 esac
504                 ;;
505         *) echo 'Unknown thread configuration for FreeBSD'; exit 1;;
506         esac
507         fbsd_tm_file="${fbsd_tm_file} freebsd-spec.h freebsd.h"
508         ;;
509 *-*-darwin*)
510         tm_file="${tm_file} darwin.h"
511         tm_p_file="${tm_p_file} darwin-protos.h"
512         tmake_file="t-darwin"
513         target_gtfiles="\$(srcdir)/config/darwin.c"
514         c_target_objs="darwin-c.o"
515         cxx_target_objs="darwin-c.o"
516         extra_parts="crt2.o"
517         extra_objs="darwin.o"
518         ;;      
519 *-*-vxworks*)
520         tmake_file=t-vxworks
521         tm_file="${tm_file} elfos.h svr4.h vxworks.h"
522         thread_file='vxworks'
523         use_collect2=yes
524         ;;
525 esac
526
527 case $machine in
528 # Support site-specific machine types.
529 *local*)
530         rest=`echo $machine | sed -e "s/$cpu_type-//"`
531         tm_file=${cpu_type}/$rest.h
532         if test -f $srcdir/config/${cpu_type}/xm-$rest.h
533         then xm_file=${cpu_type}/xm-$rest.h
534         fi
535         if test -f $srcdir/config/${cpu_type}/x-$rest
536         then xmake_file=${cpu_type}/x-$rest
537         fi
538         if test -f $srcdir/config/${cpu_type}/t-$rest
539         then tmake_file=${cpu_type}/t-$rest
540         fi
541         ;;
542 alpha*-*-unicosmk*)
543         use_collect2=yes
544         tm_file="${tm_file} alpha/unicosmk.h"
545
546         # Don't include t-ieee for now because we don't support that yet
547         # tmake_file="alpha/t-ieee"
548         tmake_file="alpha/t-unicosmk"
549         ;;
550 alpha*-*-linux*)
551         tm_file="${tm_file} alpha/elf.h alpha/linux.h alpha/linux-elf.h"
552         target_cpu_default="MASK_GAS"
553         tmake_file="t-slibgcc-elf-ver t-linux alpha/t-crtfm alpha/t-alpha alpha/t-ieee"
554         ;;
555 alpha*-*-gnu*)
556         target_cpu_default="MASK_GAS"
557         tmake_file="${tmake_file} alpha/t-crtfm alpha/t-alpha alpha/t-ieee"
558         ;;
559 alpha*-*-freebsd*)
560         tm_file="${tm_file} ${fbsd_tm_file} alpha/elf.h alpha/freebsd.h"
561         target_cpu_default="MASK_GAS"
562         tmake_file="${tmake_file} alpha/t-crtfm alpha/t-alpha alpha/t-ieee"
563         extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o"
564         ;;
565 alpha*-*-netbsd*)
566         tm_file="${tm_file} netbsd.h alpha/elf.h netbsd-elf.h alpha/netbsd.h"
567         target_cpu_default="MASK_GAS"
568         tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee"
569         ;;
570
571 alpha*-*-openbsd*)
572         tm_file="${cpu_type}/${cpu_type}.h ${tm_file}"
573         # default x-alpha is only appropriate for dec-osf.
574         target_cpu_default="MASK_GAS"
575         tmake_file="alpha/t-alpha alpha/t-ieee"
576         ;;
577
578 alpha*-dec-osf[45]*)
579         if test x$stabs = xyes
580         then
581                 tm_file="${tm_file} dbx.h"
582         fi
583         if test x$gas != xyes
584         then
585                 extra_passes="mips-tfile mips-tdump"
586         fi
587         use_collect2=yes
588         tmake_file="alpha/t-alpha alpha/t-ieee alpha/t-crtfm alpha/t-osf4"
589         tm_file="${tm_file} alpha/osf.h"
590         extra_headers=va_list.h
591         case $machine in
592           *-*-osf4*)
593             # Some versions of OSF4 (specifically X4.0-9 296.7) have
594             # a broken tar, so we use cpio instead.
595             install_headers_dir=install-headers-cpio
596             # Set target_cpu_default except on 4.0a.
597             case $machine in
598                 *-*-osf4.0a) ;;
599                 *) target_cpu_default=MASK_SUPPORT_ARCH
600             esac
601             ;;
602           *-*-osf5*)
603             tm_file="${tm_file} alpha/osf5.h"
604             target_cpu_default=MASK_SUPPORT_ARCH
605             ;;
606         esac
607         ;;
608 alpha64-dec-*vms*)
609         tm_file="${tm_file} alpha/vms.h alpha/vms64.h"
610         xm_file="alpha/xm-vms.h"
611         tmake_file="alpha/t-alpha alpha/t-vms alpha/t-vms64 alpha/t-ieee"
612         xmake_file=alpha/x-vms
613         exeext=.exe
614         # This removes the cpu type and manufacturer components and
615         #  replaces "." with "_" in the operating system version.
616         case $host in *-*-*vms*)
617                 target_alias=`echo $host \
618                   | sed 's/.*-.*-\(.*\)$/\1/' | sed 's/\./_/g'`
619                 ;;
620         esac
621         install_headers_dir=install-headers-cp
622         prefix=/gnu
623         local_prefix=/gnu
624         ;;
625 alpha*-dec-*vms*)
626         tm_file="${tm_file} alpha/vms.h"
627         xm_file=alpha/xm-vms.h
628         tmake_file="alpha/t-alpha alpha/t-vms alpha/t-ieee"
629         xmake_file=alpha/x-vms
630         exeext=.exe
631         # This removes the cpu type and manufacturer components and
632         #  replaces "." with "_" in the operating system version.
633         case $host in *-*-*vms*)
634                 target_alias=`echo $host \
635                   | sed 's/.*-.*-\(.*\)$/\1/' | sed 's/\./_/g'`
636                 ;;
637         esac
638         install_headers_dir=install-headers-cp
639         prefix=/gnu
640         local_prefix=/gnu
641         ;;
642 arc-*-elf*)
643         tm_file="dbxelf.h elfos.h svr4.h ${tm_file}"
644         extra_parts="crtinit.o crtfini.o"
645         ;;
646 arm-*-coff* | armel-*-coff*)
647         tm_file="arm/semi.h arm/aout.h arm/arm.h arm/coff.h"
648         tmake_file=arm/t-arm-coff
649         ;;
650 arm-semi-aof | armel-semi-aof)
651         tm_file="arm/semiaof.h arm/aof.h arm/arm.h"
652         tmake_file=arm/t-semi
653         ;;
654 arm*-*-freebsd*|strongarm*-*-freebsd*)
655         tm_file="dbxelf.h elfos.h ${fbsd_tm_file} arm/elf.h arm/aout.h arm/freebsd.h arm/arm.h"
656         tmake_file="${tmake_file} arm/t-strongarm-elf"
657         ;;
658 arm*-*-netbsdelf*)
659         tm_file="dbxelf.h elfos.h netbsd.h netbsd-elf.h arm/elf.h arm/aout.h arm/arm.h arm/netbsd-elf.h"
660         tmake_file="${tmake_file} arm/t-netbsd"
661         ;;
662 arm*-*-netbsd*)
663         tm_file="arm/aout.h arm/arm.h netbsd.h netbsd-aout.h arm/netbsd.h"
664         tmake_file="t-netbsd arm/t-netbsd"
665         extra_parts=""
666         use_collect2=yes
667         ;;
668 arm*-*-linux*)                  # ARM GNU/Linux with ELF
669         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"
670         tmake_file="t-slibgcc-elf-ver t-linux arm/t-linux"
671         extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
672         gnu_ld=yes
673         case x${enable_threads} in
674         x | xyes | xpthreads | xposix)
675                 thread_file='posix'
676                 ;;
677         esac
678         ;;
679 arm*-*-uclinux*)                # ARM ucLinux
680         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"
681         tmake_file=arm/t-arm-elf
682         ;;
683 arm*-*-ecos-elf)
684         tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h arm/ecos-elf.h"
685         tmake_file=arm/t-arm-elf
686         ;;
687 arm*-*-rtems*)
688         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"
689         tmake_file="arm/t-arm-elf t-rtems"
690         if test x$enable_threads = xyes; then
691           thread_file='rtems'
692         fi
693         ;;
694 arm*-*-elf | ep9312-*-elf)
695         tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h"
696         tmake_file=arm/t-arm-elf
697         ;;
698 arm*-wince-pe*)
699         tm_file="arm/semi.h arm/aout.h arm/arm.h arm/coff.h arm/pe.h arm/wince-pe.h"
700         tmake_file=arm/t-wince-pe
701         extra_objs="pe.o"
702         ;;
703 arm-*-pe*)
704         tm_file="arm/semi.h arm/aout.h arm/arm.h arm/coff.h arm/pe.h"
705         tmake_file=arm/t-pe
706         extra_objs="pe.o"
707         ;;
708 arm*-*-kaos*)
709         tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h kaos.h arm/kaos-arm.h"
710         tmake_file=arm/t-arm-elf
711         ;;
712 avr-*-*)
713         ;;
714 c4x-*-rtems* | tic4x-*-rtems*)
715         tmake_file="c4x/t-c4x t-rtems"
716         tm_file="c4x/c4x.h c4x/rtems.h rtems.h"
717         if test x$enable_threads = xyes; then
718           thread_file='rtems'
719         fi
720         c_target_objs="c4x-c.o"
721         cxx_target_objs="c4x-c.o"
722         ;;
723 c4x-* | tic4x-*)
724         tmake_file=c4x/t-c4x
725         c_target_objs="c4x-c.o"
726         cxx_target_objs="c4x-c.o"
727         ;;
728 cris-*-aout)
729         tm_file="dbxelf.h ${tm_file} cris/aout.h"
730         gas=yes
731         tmake_file="cris/t-cris cris/t-aout"
732         ;;
733 cris-*-elf | cris-*-none)
734         tm_file="dbxelf.h elfos.h ${tm_file}"
735         tmake_file="cris/t-cris cris/t-elfmulti"
736         gas=yes
737         ;;
738 cris-*-linux*)
739         tm_file="dbxelf.h elfos.h svr4.h ${tm_file} linux.h cris/linux.h"
740         tmake_file="cris/t-cris t-slibgcc-elf-ver cris/t-linux"
741         ;;
742 d30v-*)
743         tm_file="dbxelf.h elfos.h svr4.h ${tm_file}"
744         ;;
745 dsp16xx-*)
746         ;;
747 fr30-*-elf)
748         tm_file="dbxelf.h elfos.h svr4.h ${tm_file}"
749         tmake_file=fr30/t-fr30
750         extra_parts="crti.o crtn.o crtbegin.o crtend.o"
751         ;;
752 frv-*-elf)
753         tm_file="dbxelf.h elfos.h svr4.h ${tm_file} frv/frv-abi.h"
754         tmake_file=frv/t-frv
755         ;;
756 h8300-*-rtems*)
757         tmake_file="h8300/t-h8300 t-rtems"
758         tm_file="h8300/h8300.h h8300/rtems.h rtems.h"
759         if test x$enable_threads = xyes; then
760           thread_file='rtems'
761         fi
762         ;;
763 h8300-*-elf*)
764         tmake_file="h8300/t-h8300 h8300/t-elf"
765         tm_file="h8300/h8300.h h8300/elf.h"
766         ;;
767 h8300-*-*)
768         ;;
769 hppa*64*-*-linux* | parisc*64*-*-linux*)
770         target_cpu_default="(MASK_PA_11 | MASK_PA_20)"
771         tm_file="pa/pa64-start.h ${tm_file} dbxelf.h elfos.h svr4.h linux.h \
772                  pa/pa-linux.h pa/pa64-regs.h pa/pa-64.h pa/pa64-linux.h"
773         tmake_file=pa/t-linux64
774         gas=yes gnu_ld=yes
775         need_64bit_hwint=yes
776         ;;
777 hppa*-*-linux* | parisc*-*-linux*)
778         target_cpu_default="MASK_PA_11 | MASK_NO_SPACE_REGS"
779         tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h pa/pa-linux.h \
780                  pa/pa32-regs.h pa/pa32-linux.h"
781         tmake_file="t-slibgcc-elf-ver t-linux pa/t-linux"
782         ;;
783 hppa*-*-openbsd*)
784         target_cpu_default="MASK_PA_11"
785         tmake_file=pa/t-bsd
786         ;;
787 hppa1.1-*-pro*)
788         target_cpu_default="(MASK_JUMP_IN_DELAY | MASK_PORTABLE_RUNTIME | MASK_GAS | MASK_NO_SPACE_REGS | MASK_SOFT_FLOAT)"
789         tm_file="${tm_file} pa/pa32-regs.h dbxelf.h elfos.h pa/elf.h pa/pa-pro-end.h libgloss.h"
790         tmake_file="pa/t-bsd pa/t-pro"
791         xmake_file="pa/x-ada"
792         ;;
793 hppa1.1-*-osf*)
794         target_cpu_default="MASK_PA_11"
795         tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-osf.h"
796         tmake_file="pa/t-bsd pa/t-pa"
797         xmake_file="pa/x-ada"
798         use_collect2=yes
799         ;;
800 hppa1.1-*-rtems*)
801         target_cpu_default="(MASK_JUMP_IN_DELAY | MASK_PORTABLE_RUNTIME | MASK_GAS | MASK_NO_SPACE_REGS | MASK_SOFT_FLOAT)"
802         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 rtems.h"
803         tmake_file="pa/t-bsd pa/t-pro t-rtems"
804         xmake_file="pa/x-ada"
805         if test x$enable_threads = xyes; then
806           thread_file='rtems'
807         fi
808         ;;
809 hppa1.1-*-bsd*)
810         tm_file="${tm_file} pa/pa32-regs.h pa/som.h"
811         target_cpu_default="MASK_PA_11"
812         tmake_file="pa/t-bsd pa/t-pa"
813         xmake_file="pa/x-ada"
814         use_collect2=yes
815         ;;
816 hppa1.1-*-hpux10* | hppa2*-*-hpux10*)
817         target_cpu_default="MASK_PA_11"
818         tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-hpux.h pa/pa-hpux10.h"
819         tmake_file="pa/t-pa pa/t-pa-hpux pa/t-hpux-shlib"
820         xmake_file="pa/x-ada"
821         if test x$enable_threads = x; then
822             enable_threads=$have_pthread_h
823         fi
824         case x${enable_threads} in
825         xyes | xdce)
826                 tmake_file="${tmake_file} pa/t-dce-thr"
827                 ;;
828         esac
829         install_headers_dir=install-headers-cpio
830         use_collect2=yes
831         ;;
832 hppa1.0-*-hpux10*)
833         tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-hpux.h pa/pa-hpux10.h"
834         tmake_file="pa/t-pa pa/t-pa-hpux pa/t-hpux-shlib"
835         xmake_file="pa/x-ada"
836         if test x$enable_threads = x; then
837             enable_threads=$have_pthread_h
838         fi
839         case x${enable_threads} in
840         xyes | xdce)
841                 tmake_file="${tmake_file} pa/t-dce-thr"
842                 ;;
843         esac
844         install_headers_dir=install-headers-cpio
845         use_collect2=yes
846         ;;
847 hppa*64*-*-hpux11*)
848         if test x$gas = xyes
849         then
850                 tm_file="pa/pa64-start.h ${tm_file} dbxelf.h elfos.h  \
851                          pa/pa64-regs.h pa/long_double.h pa/pa-hpux.h \
852                          pa/pa-hpux11.h pa/pa-64.h pa/pa64-hpux.h"
853         else
854                 tm_file="pa/pa64-start.h ${tm_file} dbxelf.h pa/elf.h \
855                          pa/pa64-regs.h pa/long_double.h pa/pa-hpux.h \
856                          pa/pa-hpux11.h pa/pa-64.h pa/pa64-hpux.h"
857         fi
858         need_64bit_hwint=yes
859         tmake_file="pa/t-pa64 pa/t-pa-hpux"
860         xmake_file="pa/x-ada"
861         target_cpu_default="(MASK_PA_11|MASK_PA_20|MASK_GAS)"
862         extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o"
863         if test x$gnu_ld = xyes
864         then
865                 target_cpu_default="${target_cpu_default}|MASK_GNU_LD"
866         fi
867 #       if [ x$enable_threads = x ]; then
868 #           enable_threads=$have_pthread_h
869 #       fi
870 #       if [ x$enable_threads = xyes ]; then
871 #               thread_file='dce'
872 #               tmake_file="${tmake_file} pa/t-dce-thr"
873 #       fi
874         install_headers_dir=install-headers-cpio
875         ;;
876 hppa1.1-*-hpux11* | hppa2*-*-hpux11*)
877         target_cpu_default="MASK_PA_11"
878         tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-hpux.h pa/pa-hpux11.h"
879         tmake_file="pa/t-pa pa/t-pa-hpux pa/t-hpux-shlib"
880         xmake_file="pa/x-ada"
881 #       if test x$enable_threads = x; then
882 #           enable_threads=$have_pthread_h
883 #       fi
884 #       if test x$enable_threads = xyes; then
885 #               thread_file='dce'
886 #               tmake_file="${tmake_file} pa/t-dce-thr"
887 #       fi
888         install_headers_dir=install-headers-cpio
889         use_collect2=yes
890         ;;
891 hppa1.0-*-hpux11*)
892         tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-hpux.h pa/pa-hpux11.h"
893         tmake_file="pa/t-pa pa/t-pa-hpux pa/t-hpux-shlib"
894         xmake_file="pa/x-ada"
895 #       if test x$enable_threads = x; then
896 #           enable_threads=$have_pthread_h
897 #       fi
898 #       if test x$enable_threads = xyes; then
899 #               thread_file='dce'
900 #               tmake_file="${tmake_file} pa/t-dce-thr"
901 #       fi
902         install_headers_dir=install-headers-cpio
903         use_collect2=yes
904         ;;
905 i370-*-opened*)                  # IBM 360/370/390 Architecture
906         xm_defines='FATAL_EXIT_CODE=12'
907         tm_file=i370/oe.h
908         tmake_file="i370/t-oe i370/t-i370"
909         c_target_objs="i370-c.o"
910         cxx_target_objs="i370-c.o"
911         ;;
912 i370-*-mvs*)
913         xm_defines='FATAL_EXIT_CODE=12'
914         tm_file=i370/mvs.h
915         tmake_file="i370/t-i370"
916         c_target_objs="i370-c.o"
917         cxx_target_objs="i370-c.o"
918         ;;
919 i370-*-linux*)
920         tm_file="dbxelf.h elfos.h svr4.h linux.h i370/linux.h ${tm_file}"
921         tmake_file="t-slibgcc-elf-ver t-linux"
922         # broken_install=yes
923         elf=yes
924         ;;
925 i[34567]86-*-darwin*)
926         tm_file="${tm_file} i386/darwin.h"
927         ;;
928 i[34567]86-*-elf*)
929         tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/i386elf.h"
930         tmake_file="i386/t-i386elf t-svr4"
931         ;;
932 i[34567]86-ncr-sysv4*)          # NCR 3000 - ix86 running system V.4
933         xm_defines="SMALL_ARG_MAX"
934         tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h i386/sysv4-cpp.h"
935         extra_parts="crtbegin.o crtend.o"
936         tmake_file=i386/t-crtpic
937         ;;
938 i[34567]86-*-netware)           # Intel 80386's running netware
939         tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h netware.h i386/netware.h"
940         tmake_file=i386/t-netware
941         ;;
942 i[34567]86-sequent-ptx4* | i[34567]86-sequent-sysv4*)
943         if test x$gas = xyes
944         then
945                 tm_file="${tm_file} usegas.h"
946         fi
947         xm_defines="SMALL_ARG_MAX"
948         tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ptx4.h i386/ptx4-i.h"
949         tmake_file=t-svr4
950         extra_parts="crtbegin.o crtend.o"
951         install_headers_dir=install-headers-cpio
952         ;;
953 i[34567]86-*-aout*)
954         tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h i386/i386-aout.h"
955         ;;
956 i[34567]86-*-beoself* | i[34567]86-*-beos*)
957         tmake_file='i386/t-beos i386/t-crtpic'
958         tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h i386/beos-elf.h"
959         extra_parts='crtbegin.o crtend.o'
960         ;;
961 i[34567]86-*-freebsd2 | i[34567]86-*-freebsd2.* | i[34567]86-*-freebsd*aout*)
962         tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h i386/freebsd-aout.h"
963         tmake_file=t-freebsd
964         ;;
965 i[34567]86-*-freebsd*)
966         tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${fbsd_tm_file} i386/freebsd.h"
967         ;;
968 x86_64-*-freebsd*)
969         tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${fbsd_tm_file} i386/x86-64.h i386/freebsd.h i386/freebsd64.h"
970         ;;
971 i[34567]86-*-netbsdelf*)
972         tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h netbsd.h netbsd-elf.h i386/netbsd-elf.h"
973         ;;
974 i[34567]86-*-netbsd*)
975         tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h netbsd.h netbsd-aout.h i386/netbsd.h"
976         tmake_file=t-netbsd
977         extra_parts=""
978         use_collect2=yes
979         ;;
980 x86_64-*-netbsd*)
981         tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h netbsd.h netbsd-elf.h i386/x86-64.h i386/netbsd64.h"
982         ;;
983 i[34567]86-*-openbsd*)
984         tm_file="${cpu_type}/${cpu_type}.h i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h openbsd-oldgas.h openbsd.h ${tm_file}"
985         # needed to unconfuse gdb
986         tmake_file="t-libc-ok t-openbsd i386/t-openbsd"
987         # we need collect2 until our bug is fixed...
988         use_collect2=yes
989         ;;
990 i[34567]86-*-coff*)
991         tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h dbxcoff.h i386/i386-coff.h"
992         ;;
993 i[34567]86-*-linux*aout*)       # Intel 80386's running GNU/Linux
994                                 # with a.out format
995         tmake_file="t-linux-aout i386/t-crtstuff"
996         tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h linux-aout.h i386/linux-aout.h"
997         gnu_ld=yes
998         ;;
999 i[34567]86-*-linux*libc1)       # Intel 80386's running GNU/Linux
1000                                 # with ELF format using the
1001                                 # GNU/Linux C library 5
1002         tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h linux.h i386/linux.h"
1003         tmake_file="t-slibgcc-elf-ver t-linux t-linux-gnulibc1 i386/t-crtstuff"
1004         extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
1005         gnu_ld=yes
1006         if test x$enable_threads = xyes; then
1007                 thread_file='single'
1008         fi
1009         ;;
1010 i[34567]86-*-linux*)    # Intel 80386's running GNU/Linux
1011                         # with ELF format using glibc 2
1012                         # aka GNU/Linux C library 6
1013         tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h linux.h i386/linux.h"
1014         tmake_file="t-slibgcc-elf-ver t-linux i386/t-crtstuff"
1015         ;;
1016 x86_64-*-linux*)
1017         tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h linux.h \
1018                  i386/x86-64.h i386/linux64.h"
1019         tmake_file="t-slibgcc-elf-ver t-linux i386/t-linux64"
1020         ;;
1021 i[34567]86-*-gnu*)
1022         ;;
1023 i[34567]86-pc-msdosdjgpp*)
1024         xm_file=i386/xm-djgpp.h
1025         tm_file="dbxcoff.h ${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/djgpp.h"
1026         tmake_file=i386/t-djgpp
1027         gnu_ld=yes
1028         gas=yes
1029         exeext=.exe
1030         case $host in *pc-msdosdjgpp*)
1031                 target_alias=djgpp
1032                 ;;
1033         esac
1034         ;;
1035 i[34567]86-moss-msdos* | i[34567]86-*-moss*)
1036         tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h linux.h i386/linux.h i386/moss.h"
1037         tmake_file=t-libc-ok
1038         gnu_ld=yes
1039         gas=yes
1040         ;;
1041 i[34567]86-*-lynxos*)
1042         if test x$gas = xyes
1043         then
1044                 tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h lynx.h i386/lynx.h"
1045         else
1046                 tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h lynx-ng.h i386/lynx-ng.h"
1047         fi
1048         ;;
1049 i[34567]86-*-mach*)
1050         tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h i386/mach.h"
1051 #       tmake_file=t-libc-ok
1052         use_collect2=yes
1053         ;;
1054 i[34567]86-*-rtems*)
1055         tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/i386elf.h i386/rtemself.h rtems.h"
1056         extra_parts="crtbegin.o crtend.o crti.o crtn.o"
1057         tmake_file="i386/t-rtems-i386 i386/t-crtstuff t-rtems"
1058         if test x$enable_threads = xyes; then
1059           thread_file='rtems'
1060         fi
1061         ;;
1062 i[34567]86-*-sco3.2v5*) # 80386 running SCO Open Server 5
1063         install_headers_dir=install-headers-cpio
1064         tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/sco5.h"
1065         if test x$gas = xyes
1066         then
1067                 tm_file="usegas.h ${tm_file}"
1068         fi
1069         tmake_file=i386/t-sco5
1070         extra_parts="crtbegin.o crtend.o"
1071         ;;
1072 i[34567]86-*-solaris2*)
1073         xm_defines="SMALL_ARG_MAX"
1074         tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h sol2.h i386/sol2.h"
1075         tmake_file="i386/t-sol2 t-svr4"
1076         if test x$gnu_ld = xyes; then
1077                 tmake_file="$tmake_file t-slibgcc-elf-ver"
1078         else
1079                 tmake_file="$tmake_file t-slibgcc-sld"
1080         fi
1081         extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"
1082         if test x${enable_threads} = x; then
1083             enable_threads=$have_pthread_h
1084             if test x${enable_threads} = x; then
1085                 enable_threads=$have_thread_h
1086             fi
1087         fi
1088         if test x${enable_threads} = xyes; then
1089             if test x${have_pthread_h} = xyes; then
1090                 thread_file='posix'
1091             else
1092                 thread_file='solaris'
1093             fi
1094         fi
1095         ;;
1096 i[34567]86-*-sysv5*)           # Intel x86 on System V Release 5
1097        tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h i386/sysv5.h"
1098        if test x$stabs = xyes
1099        then
1100                tm_file="${tm_file} dbx.h"
1101        fi
1102        tmake_file="i386/t-crtpic t-svr4"
1103        extra_parts="crtbegin.o crtend.o"
1104        if test x$enable_threads = xyes; then
1105                thread_file='posix'
1106        fi
1107        ;;
1108 i[34567]86-*-sysv4*)            # Intel 80386's running system V.4
1109         xm_defines="SMALL_ARG_MAX"
1110         tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h i386/sysv4-cpp.h"
1111         if test x$stabs = xyes
1112         then
1113                 tm_file="${tm_file} dbx.h"
1114         fi
1115         tmake_file="i386/t-crtpic t-svr4"
1116         extra_parts="crtbegin.o crtend.o"
1117         ;;
1118 i[34567]86-*-udk*)      # Intel x86 on SCO UW/OSR5 Dev Kit
1119         tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h i386/sysv5.h i386/udk.h"
1120         tmake_file="i386/t-crtpic i386/t-udk t-svr4"
1121         extra_parts="crtbegin.o crtend.o"
1122         install_headers_dir=install-headers-cpio
1123         ;;
1124 i[34567]86-*-sysv*)             # Intel 80386's running system V
1125         if test x$gas = xyes
1126         then
1127                 if test x$stabs = xyes
1128                 then
1129                         tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/svr3gas.h i386/svr3dbx.h"
1130                         tmake_file=i386/t-svr3dbx
1131                         extra_parts="svr3.ifile svr3z.ifile"
1132                 else
1133                         tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/svr3gas.h"
1134                         extra_parts="crtbegin.o crtend.o"
1135                         tmake_file=i386/t-crtstuff
1136                 fi
1137         else
1138                 tm_file="${tm_file} svr3.h i386/unix.h i386/att.h i386/sysv3.h"
1139                 extra_parts="crtbegin.o crtend.o"
1140                 tmake_file=i386/t-crtstuff
1141         fi
1142         tmake_file="$tmake_file i386/t-crtpic"
1143         ;;
1144 i386-*-vsta)                    # Intel 80386's running VSTa kernel
1145         xm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/xm-vsta.h"
1146         tm_file="${tm_file} i386/vsta.h"
1147         ;;
1148 i[34567]86-*-pe | i[34567]86-*-cygwin*)
1149         tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h dbxcoff.h i386/cygming.h i386/cygwin.h"
1150         xm_file=i386/xm-cygwin.h
1151         tmake_file="i386/t-cygming i386/t-cygwin"
1152         extra_objs=winnt.o
1153         c_target_objs=cygwin2.o
1154         cxx_target_objs=cygwin2.o
1155         if test x$enable_threads = xyes; then
1156                 thread_file='posix'
1157         fi
1158         exeext=.exe
1159         ;;
1160 i[34567]86-*-mingw32*)
1161         tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h dbxcoff.h i386/cygming.h i386/mingw32.h"
1162         xm_file=i386/xm-mingw32.h
1163         tmake_file="i386/t-cygming i386/t-mingw32"
1164         xmake_file=i386/x-mingw32
1165         extra_objs=winnt.o
1166         if test x$enable_threads = xyes; then
1167                 thread_file='win32'
1168         fi
1169         exeext=.exe
1170         case $machine in
1171                 *mingw32crt*)
1172                         tm_file="${tm_file} i386/crtdll.h"
1173                         ;;
1174                 *mingw32msv* | *mingw32*)
1175                         ;;
1176         esac
1177         ;;
1178 i[34567]86-*-uwin*)
1179         tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h dbxcoff.h i386/cygwin.h i386/uwin.h"
1180         tmake_file="i386/t-cygwin i386/t-uwin"
1181         extra_objs=winnt.o
1182         if test x$enable_threads = xyes; then
1183                 thread_file='win32'
1184         fi
1185         exeext=.exe
1186         ;;
1187 i[34567]86-*-interix3*)
1188         tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/i386-interix.h i386/i386-interix3.h interix.h interix3.h"
1189         tmake_file="t-interix i386/t-interix"
1190         extra_objs=winnt.o
1191         xmake_file="x-interix"
1192         if test x$enable_threads = xyes ; then
1193                 thread_file='posix'
1194         fi
1195         if test x$stabs = xyes ; then
1196                 tm_file="${tm_file} dbxcoff.h"
1197         fi
1198         ;;
1199 i[34567]86-*-interix*)
1200         tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/i386-interix.h interix.h"
1201         tmake_file="t-interix i386/t-interix"
1202         extra_objs=winnt.o
1203         if test x$enable_threads = xyes ; then
1204                 thread_file='posix'
1205         fi
1206         if test x$stabs = xyes ; then
1207                 tm_file="${tm_file} dbxcoff.h"
1208         fi
1209         ;;
1210 i[34567]86-*-kaos*)
1211         tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/i386elf.h kaos.h i386/kaos-i386.h"
1212         tmake_file="i386/t-i386elf t-svr4"
1213         ;;
1214 i960-*-coff*)
1215         tm_file="${tm_file} dbxcoff.h i960/i960-coff.h libgloss.h"
1216         tmake_file=i960/t-960bare
1217         c_target_objs="i960-c.o"
1218         cxx_target_objs="i960-c.o"
1219         ;;
1220 i960-*-rtems)
1221         tmake_file="i960/t-960bare t-rtems"
1222         tm_file="${tm_file} dbxcoff.h i960/i960-coff.h i960/rtems.h rtems.h"
1223         if test x$enable_threads = xyes; then
1224           thread_file='rtems'
1225         fi
1226         c_target_objs="i960-c.o"
1227         cxx_target_objs="i960-c.o"
1228         ;;
1229 i960-*-*)                       # Default i960 environment.
1230         use_collect2=yes
1231         tmake_file=i960/t-960bare
1232         c_target_objs="i960-c.o"
1233         cxx_target_objs="i960-c.o"
1234         ;;
1235 ia64*-*-elf*)
1236         tm_file="${tm_file} dbxelf.h elfos.h ia64/sysv4.h ia64/elf.h"
1237         tmake_file="ia64/t-ia64"
1238         target_cpu_default="0"
1239         if test x$gas = xyes
1240         then
1241                 target_cpu_default="${target_cpu_default}|MASK_GNU_AS"
1242         fi
1243         if test x$gnu_ld = xyes
1244         then
1245                 target_cpu_default="${target_cpu_default}|MASK_GNU_LD"
1246         fi
1247         extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o"
1248         ;;
1249 ia64*-*-freebsd*)
1250         tm_file="${tm_file} dbxelf.h elfos.h ${fbsd_tm_file} ia64/sysv4.h ia64/freebsd.h"
1251         target_cpu_default="MASK_GNU_AS|MASK_GNU_LD"
1252         tmake_file="${tmake_file} ia64/t-ia64"
1253         extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o"
1254         ;;
1255 ia64*-*-linux*)
1256         tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h ia64/sysv4.h ia64/linux.h"
1257         tmake_file="t-slibgcc-elf-ver t-linux ia64/t-ia64 ia64/t-glibc"
1258         target_cpu_default="MASK_GNU_AS|MASK_GNU_LD"
1259         extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o"
1260         if test x"$use_libunwind_exceptions" = xyes; then
1261           tmake_file="$tmake_file t-libunwind"
1262         fi
1263         ;;
1264 ia64*-*-hpux*)
1265         tm_file="${tm_file} dbxelf.h elfos.h svr4.h ia64/sysv4.h ia64/hpux.h ia64/hpux_longdouble.h"
1266         tmake_file="ia64/t-ia64 ia64/t-hpux"
1267         target_cpu_default="MASK_GNU_AS"
1268         if test x$enable_threads = xyes; then
1269                 thread_file='posix'
1270         fi
1271         use_collect2=no
1272         c_target_objs="ia64-c.o"
1273         cxx_target_objs="ia64-c.o"
1274         ;;
1275 ip2k-*-elf)
1276         ;;
1277 m32r-*-elf*)
1278         tm_file="dbxelf.h elfos.h svr4.h ${tm_file}"
1279         extra_parts="crtinit.o crtfini.o"
1280         ;;
1281 # m68hc11 and m68hc12 share the same machine description.
1282 m68hc11-*-*|m6811-*-*)
1283         tm_file="dbxelf.h elfos.h m68hc11/m68hc11.h"
1284         tm_p_file="m68hc11/m68hc11-protos.h"
1285         md_file="m68hc11/m68hc11.md"
1286         out_file="m68hc11/m68hc11.c"
1287         tmake_file="m68hc11/t-m68hc11-gas"
1288         ;;
1289 m68hc12-*-*|m6812-*-*)
1290         tm_file="m68hc11/m68hc12.h dbxelf.h elfos.h m68hc11/m68hc11.h"
1291         tm_p_file="m68hc11/m68hc11-protos.h"
1292         md_file="m68hc11/m68hc11.md"
1293         out_file="m68hc11/m68hc11.c"
1294         tmake_file="m68hc11/t-m68hc11-gas"
1295         ;;
1296 m68000-hp-hpux*)                # HP 9000 series 300
1297         if test x$gas = xyes
1298         then
1299                 tm_file=m68k/hp310g.h
1300         else
1301                 tm_file=m68k/hp310.h
1302         fi
1303         tmake_file=m68k/t-hp320
1304         install_headers_dir=install-headers-cpio
1305         use_collect2=yes
1306         ;;
1307 m68k-hp-hpux7*) # HP 9000 series 300 running HPUX version 7.
1308         if test x$gas = xyes
1309         then
1310                 tm_file=m68k/hp320g.h
1311         else
1312                 tm_file=m68k/hpux7.h
1313         fi
1314         install_headers_dir=install-headers-cpio
1315         use_collect2=yes
1316         ;;
1317 m68k-hp-hpux*)  # HP 9000 series 300
1318         if test x$gas = xyes
1319         then
1320                 tm_file=m68k/hp320g.h
1321         else
1322                 tm_file=m68k/hp320.h
1323         fi
1324         install_headers_dir=install-headers-cpio
1325         use_collect2=yes
1326         ;;
1327 m68k-*-aout*)
1328         tmake_file=m68k/t-m68kbare
1329         tm_file="m68k/m68k-aout.h libgloss.h"
1330         ;;
1331 m68k-*-coff*)
1332         tmake_file=m68k/t-m68kbare
1333         tm_file="m68k/m68k-coff.h dbx.h"
1334         ;;
1335 m68020-*-elf* | m68k-*-elf*)
1336         tm_file="m68k/m68k-none.h m68k/m68kelf.h dbxelf.h elfos.h m68k/m68kemb.h m68k/m68020-elf.h"
1337         tmake_file=m68k/t-m68kelf
1338         extra_parts="crtbegin.o crtend.o"
1339         ;;
1340 m68010-*-netbsdelf* | m68k*-*-netbsdelf*)
1341         tm_file="${tm_file} dbxelf.h elfos.h netbsd.h netbsd-elf.h m68k/netbsd-elf.h"
1342         case $machine in
1343         m68010*)
1344                 target_cpu_default="0"
1345                 ;;
1346         *)
1347                 target_cpu_default="MASK_68020|MASK_68881|MASK_BITFIELD"
1348                 ;;
1349         esac
1350         ;;
1351 m68k*-*-netbsd*)
1352         tm_file=m68k/netbsd.h
1353         tmake_file=t-netbsd
1354         extra_parts=""
1355         use_collect2=yes
1356         ;;
1357 m68k*-*-openbsd*)
1358         # needed to unconfuse gdb
1359         tmake_file="t-libc-ok t-openbsd m68k/t-openbsd"
1360         # we need collect2 until our bug is fixed...
1361         use_collect2=yes
1362         ;;
1363 m68k-*-sysv4*)                  # Motorola m68k's running system V.4
1364         tm_file=m68k/m68kv4.h
1365         tmake_file=t-svr4
1366         extra_parts="crtbegin.o crtend.o"
1367         ;;
1368 m68k-*-linux*)          # Motorola m68k's running GNU/Linux
1369                                 # with ELF format using glibc 2
1370                                 # aka the GNU/Linux C library 6.
1371         tm_file=m68k/linux.h
1372         tmake_file="t-slibgcc-elf-ver t-linux"
1373         ;;
1374 m68k-*-rtems*)
1375         tmake_file="m68k/t-m68kbare t-rtems m68k/t-crtstuff"
1376         tm_file="m68k/m68k-none.h m68k/m68kelf.h dbxelf.h elfos.h m68k/m68kemb.h m68k/m68020-elf.h m68k/rtemself.h rtems.h"
1377         extra_parts="crtbegin.o crtend.o"
1378         if test x$enable_threads = xyes; then
1379           thread_file='rtems'
1380         fi
1381         ;;
1382 mcore-*-elf)
1383         tm_file="dbxelf.h elfos.h svr4.h ${tm_file} mcore/mcore-elf.h"
1384         tmake_file=mcore/t-mcore
1385         ;;
1386 mcore-*-pe*)
1387         tm_file=mcore/mcore-pe.h
1388         tmake_file=mcore/t-mcore-pe
1389         ;;
1390 mips-sgi-irix6*o32)             # SGI System V.4., IRIX 6, O32 ABI
1391         if test x$gas = xyes
1392         then
1393                 tm_file="mips/iris5.h mips/iris5gas.h mips/iris6-o32-gas.h"
1394                 if test x$stabs = xyes
1395                 then
1396                         tm_file="${tm_file} dbx.h mips/dbxmdebug.h"
1397                 fi
1398                 tmake_file=mips/t-iris5-gas
1399         else
1400                 tm_file="mips/iris5.h mips/iris6-o32-as.h"
1401                 tmake_file=mips/t-iris5-as
1402         fi
1403         tm_file="${tm_file} mips/iris6-o32.h"
1404         tmake_file="${tmake_file} mips/t-iris mips/t-iris5-6"
1405         xm_file=mips/xm-iris5.h
1406         # mips-tfile doesn't work yet
1407         # See comment in mips/iris5.h file.
1408         use_collect2=yes
1409 #       if test x$enable_threads = xyes; then
1410 #               thread_file='irix'
1411 #       fi
1412         ;;
1413 mips-sgi-irix6*)                # SGI System V.4., IRIX 6
1414         if test "x$gnu_ld" = xyes
1415         then
1416                 tm_file="mips/iris6.h mips/iris6gld.h"
1417         else
1418                 tm_file=mips/iris6.h
1419         fi
1420         tmake_file="mips/t-iris mips/t-iris5-6 mips/t-iris6"
1421 #       if test x$enable_threads = xyes; then
1422 #               thread_file='irix'
1423 #       fi
1424         ;;
1425 mips-sgi-irix5cross64)          # Irix5 host, Irix 6 target, cross64
1426         tm_file="mips/iris6.h mips/cross64.h"
1427         xm_file=mips/xm-iris5.h
1428         tmake_file="mips/t-iris mips/t-cross64"
1429         # See comment in mips/iris[56].h files.
1430         use_collect2=yes
1431 #       if test x$enable_threads = xyes; then
1432 #               thread_file='irix'
1433 #       fi
1434         ;;
1435 mips-sgi-irix5*)                # SGI System V.4., IRIX 5
1436         if test x$gas = xyes
1437         then
1438                 tm_file="mips/iris5.h mips/iris5gas.h"
1439                 if test x$stabs = xyes
1440                 then
1441                         tm_file="${tm_file} dbx.h mips/dbxmdebug.h"
1442                 fi
1443                 tmake_file=mips/t-iris5-gas
1444         else
1445                 tm_file=mips/iris5.h
1446                 tmake_file=mips/t-iris5-as
1447         fi
1448         tmake_file="${tmake_file} mips/t-iris mips/t-iris5-6"
1449         xm_file=mips/xm-iris5.h
1450         # mips-tfile doesn't work yet
1451         # See comment in mips/iris5.h file.
1452         use_collect2=yes
1453 #       if test x$enable_threads = xyes; then
1454 #               thread_file='irix'
1455 #       fi
1456         ;;
1457 mips*-*-netbsd*)                        # NetBSD/mips, either endian.
1458         target_cpu_default="MASK_GAS|MASK_ABICALLS"
1459         tm_file="elfos.h ${tm_file} mips/netbsd.h"
1460         tmake_file="${tmake_file}"
1461         ;;
1462 mips64*-*-linux*)
1463         tm_file="dbxelf.h elfos.h svr4.h linux.h ${tm_file} mips/linux.h mips/linux64.h"
1464         tmake_file="t-slibgcc-elf-ver t-linux mips/t-linux64"
1465
1466         # This default ABI is a partial lie: t-linux64 overrides the
1467         # DRIVER_SELF_SPEC that sets the default abi, in the spec file
1468         # that is installed.  What GCC thinks of as the default must
1469         # remain as ABI_32 such that the SONAMEs of the libgcc shared
1470         # libraries remain compatible with those of mips-linux-gnu.
1471         tm_defines="MIPS_ISA_DEFAULT=1 MIPS_ABI_DEFAULT=ABI_32"
1472         target_cpu_default="MASK_ABICALLS|MASK_FLOAT64|MASK_64BIT"
1473         extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
1474         gnu_ld=yes
1475         gas=yes
1476         if test x$enable_threads = xyes; then
1477                 thread_file='posix'
1478         fi
1479         ;;
1480 mips*-*-linux*)                         # Linux MIPS, either endian.
1481         tm_file="dbxelf.h elfos.h svr4.h linux.h ${tm_file} mips/linux.h"
1482         case $machine in
1483         mipsisa32*-*)
1484                 target_cpu_default="MASK_SOFT_FLOAT"
1485                 tm_defines="MIPS_ISA_DEFAULT=32"
1486                 ;;
1487         esac
1488         tmake_file="t-slibgcc-elf-ver t-linux"
1489         ;;
1490 mips*el-*-openbsd*)     # mips little endian
1491         target_cpu_default="MASK_GAS|MASK_ABICALLS"
1492         ;;
1493 mips*-*-openbsd*)               # mips big endian
1494         target_cpu_default="MASK_GAS|MASK_ABICALLS"
1495         tm_file="mips/openbsd-be.h ${tm_file}"
1496         ;;
1497 mipsisa32-*-elf* | mipsisa32el-*-elf*)
1498         tm_file="${tm_file} mips/elf.h"
1499         tmake_file=mips/t-isa3264
1500         tm_defines="MIPS_ISA_DEFAULT=32 MIPS_ABI_DEFAULT=ABI_EABI"
1501         ;;
1502 mipsisa32r2-*-elf* | mipsisa32r2el-*-elf*)
1503         tm_file="${tm_file} mips/elf.h"
1504         tmake_file=mips/t-isa3264
1505         tm_defines="MIPS_ISA_DEFAULT=33 MIPS_ABI_DEFAULT=ABI_EABI"
1506         ;;
1507 mipsisa64-*-elf* | mipsisa64el-*-elf*)
1508         tm_file="${tm_file} mips/elf.h"
1509         tmake_file=mips/t-isa3264
1510         target_cpu_default="MASK_64BIT|MASK_FLOAT64|MASK_GAS"
1511         tm_defines="MIPS_ISA_DEFAULT=64 MIPS_ABI_DEFAULT=ABI_EABI"
1512         ;;
1513 mipsisa64sr71k-*-elf*)
1514         tm_file="${tm_file} mips/elf.h"
1515         tmake_file=mips/t-sr71k
1516         target_cpu_default="MASK_64BIT|MASK_FLOAT64|MASK_GAS"
1517         tm_defines="MIPS_ISA_DEFAULT=64 MIPS_CPU_STRING_DEFAULT=\\\"sr71000\\\" MIPS_ABI_DEFAULT=ABI_EABI"
1518         ;;
1519 mipsisa64sb1-*-elf* | mipsisa64sb1el-*-elf*)
1520         tm_file="${tm_file} mips/elf.h"
1521         tmake_file=mips/t-elf
1522         target_cpu_default="MASK_64BIT|MASK_FLOAT64|MASK_GAS"
1523         tm_defines="MIPS_ISA_DEFAULT=64 MIPS_CPU_STRING_DEFAULT=\\\"sb1\\\" MIPS_ABI_DEFAULT=ABI_O64"
1524         ;;
1525 mips-*-elf* | mipsel-*-elf*)
1526         tm_file="${tm_file} mips/elf.h"
1527         tmake_file=mips/t-elf
1528         ;;
1529 mips64-*-elf* | mips64el-*-elf*)
1530         tm_file="${tm_file} mips/elf64.h"
1531         tmake_file=mips/t-elf
1532         target_cpu_default="MASK_64BIT|MASK_FLOAT64|MASK_GAS"
1533         tm_defines="MIPS_ISA_DEFAULT=3 MIPS_ABI_DEFAULT=ABI_O64"
1534         ;;
1535 mips64vr-*-elf* | mips64vrel-*-elf*)
1536         tm_file="mips/vr.h ${tm_file} mips/elf64.h"
1537         tm_defines="MIPS_ABI_DEFAULT=ABI_O64 MIPS_MARCH_CONTROLS_SOFT_FLOAT=1"
1538         tmake_file=mips/t-vr
1539         ;;
1540 mips64orion-*-elf* | mips64orionel-*-elf*)
1541         tm_file="${tm_file} mips/elforion.h mips/elf64.h"
1542         tmake_file=mips/t-elf
1543         tmake_file=mips/t-elf
1544         target_cpu_default="MASK_64BIT|MASK_FLOAT64|MASK_GAS"
1545         tm_defines="MIPS_ISA_DEFAULT=3 MIPS_ABI_DEFAULT=ABI_O64"
1546         ;;
1547 mips*-*-rtems*)
1548         tm_file="${tm_file} mips/elf.h mips/rtems.h rtems.h"
1549         tmake_file="mips/t-elf t-rtems"
1550         if test x$enable_threads = xyes; then
1551           thread_file='rtems'
1552         fi
1553         ;;
1554 mipstx39-*-elf* | mipstx39el-*-elf*)
1555         tm_file="${tm_file} mips/r3900.h mips/elf.h"
1556         tmake_file=mips/t-r3900
1557         ;;
1558 mmix-knuth-mmixware)
1559         need_64bit_hwint=yes
1560         ;;
1561 mn10300-*-*)
1562         tm_file="dbxelf.h elfos.h svr4.h ${tm_file}"
1563         if test x$stabs = xyes
1564         then
1565                 tm_file="${tm_file} dbx.h"
1566         fi
1567         use_collect2=no
1568         ;;
1569 ns32k-*-netbsdelf*)
1570         echo "GCC does not yet support the ${machine} target"; exit 1
1571         ;;
1572 ns32k-*-netbsd*)
1573         tm_file="${tm_file} netbsd.h netbsd-aout.h ns32k/netbsd.h"
1574         # On NetBSD, the headers are already okay, except for math.h.
1575         tmake_file="t-netbsd ns32k/t-ns32k"
1576         extra_parts=""
1577         use_collect2=yes
1578         ;;
1579 pdp11-*-bsd)
1580         tm_file="${tm_file} pdp11/2bsd.h"
1581         ;;
1582 pdp11-*-*)
1583         ;;
1584 avr-*-*)
1585         ;;
1586 powerpc-*-openbsd*)
1587         tmake_file="${tmake_file} rs6000/t-fprules "
1588         extra_headers=
1589         ;;
1590 powerpc64-*-linux*)
1591         tm_file="rs6000/biarch64.h ${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h"
1592         case x$with_cpu in
1593         x|xpowerpc64|xdefault64) tm_file="${tm_file} rs6000/default64.h";;
1594         esac
1595         tm_file="${tm_file} rs6000/linux64.h"
1596         tmake_file="rs6000/t-fprules t-slibgcc-elf-ver t-linux rs6000/t-ppccomm rs6000/t-linux64"
1597         ;;
1598 powerpc64-*-gnu*)
1599         tm_file="${cpu_type}/${cpu_type}.h elfos.h svr4.h freebsd-spec.h gnu.h rs6000/sysv4.h rs6000/linux64.h rs6000/gnu.h"
1600         tmake_file="rs6000/t-fprules t-slibgcc-elf-ver t-gnu rs6000/t-linux64"
1601         ;;
1602 powerpc-*-beos*)
1603         tm_file="${tm_file} rs6000/aix.h rs6000/beos.h rs6000/xcoff.h"
1604         tmake_file="rs6000/t-fprules rs6000/t-beos"
1605         extra_headers=
1606         ;;
1607 powerpc-*-darwin*)
1608         tm_file="${tm_file} rs6000/darwin.h"
1609         tmake_file="rs6000/t-fprules t-darwin rs6000/t-darwin"
1610         extra_headers=altivec.h
1611         # override ppc default
1612         need_64bit_hwint=
1613         # powerpc-darwin host support.
1614         host_hook_obj=host-darwin.o
1615         xmake_file=rs6000/x-darwin
1616         ;;
1617 powerpc*-*-freebsd*)
1618         tm_file="${tm_file} dbxelf.h elfos.h ${fbsd_tm_file} rs6000/sysv4.h rs6000/freebsd.h"
1619         tmake_file="rs6000/t-fprules rs6000/t-ppcos ${tmake_file} rs6000/t-ppccomm"
1620         ;;
1621 powerpc-*-netbsd*)
1622         tm_file="${tm_file} dbxelf.h elfos.h netbsd.h netbsd-elf.h freebsd-spec.h rs6000/sysv4.h rs6000/netbsd.h"
1623         tmake_file="${tmake_file} rs6000/t-netbsd"
1624         ;;
1625 powerpc-*-chorusos*)
1626         tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h chorus.h"
1627         tmake_file="rs6000/t-fprules rs6000/t-ppcos rs6000/t-ppccomm"
1628         case x${enable_threads} in
1629           xyes | xpthreads | xposix)
1630                 thread_file='posix'
1631                 ;;
1632         esac
1633         ;;
1634 powerpc-*-eabispe*)
1635         tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/eabi.h rs6000/eabispe.h"
1636         tmake_file="rs6000/t-spe rs6000/t-ppccomm"
1637         ;;
1638 powerpc-*-eabisimaltivec*)
1639         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"
1640         tmake_file="rs6000/t-fprules rs6000/t-ppcendian rs6000/t-ppccomm"
1641         ;;
1642 powerpc-*-eabisim*)
1643         tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/eabi.h rs6000/eabisim.h"
1644         tmake_file="rs6000/t-fprules rs6000/t-ppcgas rs6000/t-ppccomm"
1645         ;;
1646 powerpc-*-elf*)
1647         tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h"
1648         tmake_file="rs6000/t-fprules rs6000/t-ppcgas rs6000/t-ppccomm"
1649         ;;
1650 powerpc-*-eabialtivec*)
1651         tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/eabi.h rs6000/eabialtivec.h"
1652         tmake_file="rs6000/t-fprules rs6000/t-ppcendian rs6000/t-ppccomm"
1653         ;;
1654 powerpc-*-eabi*)
1655         tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/eabi.h"
1656         tmake_file="rs6000/t-fprules rs6000/t-ppcgas rs6000/t-ppccomm"
1657         ;;
1658 powerpc-*-rtems*)
1659         tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/eabi.h rs6000/rtems.h rtems.h"
1660         tmake_file="rs6000/t-fprules t-rtems rs6000/t-ppccomm"
1661         if test x$enable_threads = xyes; then
1662           thread_file='rtems'
1663         fi
1664         ;;
1665 powerpc-*-linux*altivec*)
1666         tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/linux.h rs6000/linuxaltivec.h"
1667         tmake_file="rs6000/t-fprules rs6000/t-ppcos t-slibgcc-elf-ver t-linux rs6000/t-ppccomm"
1668         ;;
1669 powerpc-*-linux*spe*)
1670         tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/linux.h rs6000/linuxspe.h"
1671         tmake_file="rs6000/t-fprules rs6000/t-ppcos t-slibgcc-elf-ver t-linux rs6000/t-ppccomm"
1672         ;;
1673 powerpc-*-linux*)
1674         tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/linux.h"
1675         tmake_file="rs6000/t-fprules rs6000/t-ppcos t-slibgcc-elf-ver t-linux rs6000/t-ppccomm"
1676         ;;
1677 powerpc-*-gnu-gnualtivec*)
1678         tm_file="${cpu_type}/${cpu_type}.h elfos.h svr4.h freebsd-spec.h gnu.h rs6000/sysv4.h rs6000/linux.h rs6000/linuxaltivec.h rs6000/gnu.h"
1679         tmake_file="rs6000/t-fprules rs6000/t-ppcos t-slibgcc-elf-ver t-gnu rs6000/t-ppccomm"
1680         if test x$enable_threads = xyes; then
1681                 thread_file='posix'
1682         fi
1683         ;;
1684 powerpc-*-gnu*)
1685         tm_file="${cpu_type}/${cpu_type}.h elfos.h svr4.h freebsd-spec.h gnu.h rs6000/sysv4.h rs6000/linux.h rs6000/gnu.h"
1686         tmake_file="rs6000/t-fprules rs6000/t-ppcos t-slibgcc-elf-ver t-gnu rs6000/t-ppccomm"
1687         if test x$enable_threads = xyes; then
1688                 thread_file='posix'
1689         fi
1690         ;;
1691 powerpc-wrs-vxworks*)
1692         # We want vxworks.h after rs6000/sysv4.h, which unfortunately
1693         # means we have to redo the tm_file list from scratch.
1694         tm_file="rs6000/rs6000.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h"
1695         tm_file="${tm_file} vxworks.h rs6000/vxworks.h"
1696         tmake_file="${tmake_file} rs6000/t-fprules rs6000/t-ppccomm rs6000/t-vxworks"
1697         extra_headers=ppc-asm.h
1698         ;;
1699 powerpc-wrs-windiss*)
1700         tm_file="${tm_file} elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/windiss.h"
1701         tmake_file="rs6000/t-fprules rs6000/t-ppcgas rs6000/t-ppccomm"
1702         thread_file=""
1703         ;;
1704 powerpcle-*-sysv*)
1705         tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/sysv4le.h"
1706         tmake_file="rs6000/t-fprules rs6000/t-ppcos rs6000/t-ppccomm"
1707         ;;
1708 powerpcle-*-elf*)
1709         tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/sysv4le.h"
1710         tmake_file="rs6000/t-fprules rs6000/t-ppcgas rs6000/t-ppccomm"
1711         ;;
1712 powerpcle-*-eabisim*)
1713         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"
1714         tmake_file="rs6000/t-fprules rs6000/t-ppcgas rs6000/t-ppccomm"
1715         ;;
1716 powerpcle-*-eabi*)
1717         tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/eabi.h"
1718         tmake_file="rs6000/t-fprules rs6000/t-ppcgas rs6000/t-ppccomm"
1719         ;;
1720 powerpc-*-kaos*)
1721         tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h kaos.h rs6000/kaos-ppc.h"
1722         tmake_file="rs6000/t-fprules rs6000/t-ppcgas rs6000/t-ppccomm"
1723         ;;
1724 powerpcle-*-kaos*)
1725         tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/sysv4le.h kaos.h rs6000/kaos-ppc.h"
1726         tmake_file="rs6000/t-fprules rs6000/t-ppcgas rs6000/t-ppccomm"
1727         ;;
1728 rs6000-ibm-aix4.[12]* | powerpc-ibm-aix4.[12]*)
1729         tm_file="${tm_file} rs6000/aix.h rs6000/aix41.h rs6000/xcoff.h"
1730         tmake_file="rs6000/t-fprules rs6000/t-newas"
1731         use_collect2=yes
1732         extra_headers=
1733         ;;
1734 rs6000-ibm-aix4.[3456789]* | powerpc-ibm-aix4.[3456789]*)
1735         tm_file="rs6000/biarch64.h ${tm_file} rs6000/aix.h rs6000/aix43.h rs6000/xcoff.h"
1736         tmake_file=rs6000/t-aix43
1737         use_collect2=yes
1738         thread_file='aix'
1739         extra_headers=
1740         ;;
1741 rs6000-ibm-aix5.1.* | powerpc-ibm-aix5.1.*)
1742         tm_file="rs6000/biarch64.h ${tm_file} rs6000/aix.h rs6000/aix51.h rs6000/xcoff.h"
1743         tmake_file=rs6000/t-aix43
1744         use_collect2=yes
1745         thread_file='aix'
1746         extra_headers=
1747         ;;
1748 rs6000-ibm-aix[56789].* | powerpc-ibm-aix[56789].*)
1749         tm_file="${tm_file} rs6000/aix.h rs6000/aix52.h rs6000/xcoff.h"
1750         tmake_file=rs6000/t-aix52
1751         use_collect2=yes
1752         thread_file='aix'
1753         extra_headers=
1754         ;;
1755 rs6000-*-lynxos*)
1756         tm_file="lynx.h rs6000/lynx.h"
1757         tmake_file=rs6000/t-fprules
1758         use_collect2=yes
1759         ;;
1760 s390-*-linux*)
1761         tm_file="s390/s390.h dbxelf.h elfos.h svr4.h linux.h s390/linux.h"
1762         tmake_file="t-slibgcc-elf-ver t-linux s390/t-crtstuff"
1763         ;;
1764 s390x-*-linux*)
1765         tm_file="s390/s390x.h s390/s390.h dbxelf.h elfos.h svr4.h linux.h s390/linux.h"
1766         tm_p_file=s390/s390-protos.h
1767         md_file=s390/s390.md
1768         extra_modes=s390/s390-modes.def
1769         out_file=s390/s390.c
1770         tmake_file="t-slibgcc-elf-ver t-linux s390/t-crtstuff s390/t-linux64"
1771         ;;
1772 sh-*-elf* | sh[2346l]*-*-elf* | sh*-*-kaos*)
1773         tmake_file="sh/t-sh sh/t-elf"
1774         case $machine in
1775         shl* | sh64l*)
1776                 tm_file="sh/little.h ${tm_file}"
1777                 tmake_file="${tmake_file} sh/t-le"
1778                 ;;
1779         esac
1780         tm_file="${tm_file} dbxelf.h elfos.h svr4.h sh/embed-elf.h"
1781         case $machine in
1782         sh64*)
1783                 tmake_file="${tmake_file} sh/t-sh64"
1784                 tm_file="${tm_file} sh/sh64.h"
1785                 extra_headers="shmedia.h ushmedia.h sshmedia.h"
1786                 ;;
1787         sh4_single*)  target_cpu_default="SELECT_SH4_SINGLE" ;;
1788         sh4*)  target_cpu_default="SELECT_SH4" ;;
1789         sh3e*) target_cpu_default="SELECT_SH3E" ;;
1790         sh3*)  target_cpu_default="SELECT_SH3" ;;
1791         sh2e*) target_cpu_default="SELECT_SH2E" ;;
1792         sh2*)  target_cpu_default="SELECT_SH2" ;;
1793         esac
1794         case $machine in
1795         sh[234]*) tmake_file="${tmake_file} sh/t-monolib" ;;
1796         sh*-*-kaos*) tm_file="${tm_file} kaos.h sh/kaos-sh.h" ;;
1797         esac
1798         ;;
1799 sh-*-rtemself*)
1800         tmake_file="sh/t-sh sh/t-elf t-rtems"
1801         tm_file="${tm_file} dbxelf.h elfos.h svr4.h sh/embed-elf.h sh/rtemself.h rtems.h"
1802         if test x$enable_threads = xyes; then
1803           thread_file='rtems'
1804         fi
1805         ;;
1806 sh-*-rtems*)
1807         tmake_file="sh/t-sh t-rtems"
1808         tm_file="${tm_file} sh/coff.h sh/rtems.h rtems.h"
1809         if test x$enable_threads = xyes; then
1810           thread_file='rtems'
1811         fi
1812         ;;
1813 sh-*-linux* | sh[2346lbe]*-*-linux*)
1814         tmake_file="sh/t-sh sh/t-elf t-slibgcc-elf-ver t-linux sh/t-linux"
1815         case $machine in
1816         sh*be-*-* | sh*eb-*-*) ;;
1817         *)
1818                 tm_file="sh/little.h ${tm_file}"
1819                 tmake_file="${tmake_file} sh/t-le"
1820                 ;;
1821         esac
1822         tm_file="${tm_file} dbxelf.h elfos.h svr4.h sh/elf.h sh/linux.h"
1823         case $machine in
1824         sh64*)
1825                 tmake_file="${tmake_file} sh/t-sh64"
1826                 tm_file="${tm_file} sh/sh64.h"
1827                 extra_headers="shmedia.h ushmedia.h sshmedia.h"
1828                 ;;
1829         sh4_single*) target_cpu_default="SELECT_SH4_SINGLE" ;;
1830         sh4*) target_cpu_default="SELECT_SH4" ;;
1831         sh3e[lb]e*) target_cpu_default="SELECT_SH3E" ;;
1832         sh3e[lb]*) target_cpu_default="SELECT_SH3" ;;
1833         sh3e*) target_cpu_default="SELECT_SH3E" ;;
1834         sh3*) target_cpu_default="SELECT_SH3" ;;
1835         sh2e[lb]e*) target_cpu_default="SELECT_SH2E" ;;
1836         sh2e[lb]*) target_cpu_default="SELECT_SH2" ;;
1837         sh2e*) target_cpu_default="SELECT_SH2E" ;;
1838         sh2*) target_cpu_default="SELECT_SH2" ;;
1839         esac
1840         case $machine in
1841         sh[234]*) tmake_file="${tmake_file} sh/t-monolib" ;;
1842         esac
1843         ;;
1844 sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
1845   sh64-*-netbsd* | sh64l*-*-netbsd*)
1846         tm_file="${tm_file} dbxelf.h elfos.h sh/elf.h netbsd.h netbsd-elf.h sh/netbsd-elf.h"
1847         tmake_file="${tmake_file} sh/t-sh sh/t-elf"
1848         case $machine in
1849         sh*l*-*)
1850                 tm_file="sh/little.h ${tm_file}"
1851                 tmake_file="${tmake_file} sh/t-le"
1852                 ;;
1853         *)
1854                 tmake_file="${tmake_file} sh/t-be"
1855                 ;;
1856         esac
1857         case $machine in
1858         sh5*-*)
1859                 # SHmedia, 32-bit ABI
1860                 target_cpu_default="SH5_BIT|SH4_BIT|SH3_BIT|SH_E_BIT"
1861                 tmake_file="${tmake_file} sh/t-sh64 sh/t-netbsd-sh5"
1862                 ;;
1863         sh64*-*)
1864                 # SHmedia, 64-bit ABI
1865                 target_cpu_default="SH5_BIT|SH4_BIT"
1866                 tmake_file="${tmake_file} sh/t-sh64 sh/t-netbsd-sh5 sh/t-netbsd-sh5-64"
1867                 ;;
1868         *)
1869                 # SH3, software floating point
1870                 target_cpu_default="SH1_BIT|SH2_BIT|SH3_BIT"
1871                 tmake_file="${tmake_file} sh/t-netbsd"
1872                 ;;
1873         esac
1874         ;;
1875 sh-*-*)
1876         tm_file="${tm_file} sh/coff.h"
1877         ;;
1878 sparc-tti-*)
1879         tm_file="${tm_file} sparc/pbd.h"
1880         ;;
1881 sparc-*-netbsdelf*)
1882         tm_file="${tm_file} elfos.h svr4.h sparc/sysv4.h netbsd.h netbsd-elf.h sparc/netbsd-elf.h"
1883         ;;
1884 sparc-*-openbsd*)
1885         tm_file="sparc/sparc.h ${tm_file}"
1886         # needed to unconfuse gdb
1887         tmake_file="t-libc-ok t-openbsd sparc/t-openbsd"
1888         # we need collect2 until our bug is fixed...
1889         use_collect2=yes
1890         ;;
1891 sparc64-*-openbsd*)
1892         tm_file="sparc/openbsd1-64.h sparc/sparc.h elfos.h svr4.h sparc/sysv4.h sparc/sol2.h sparc/sp64-elf.h openbsd.h sparc/openbsd64.h"
1893         gas=yes gnu_ld=yes
1894         with_cpu=ultrasparc
1895         ;;
1896 sparc-*-elf*)
1897         tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sol2.h sparc/sol2.h sparc/elf.h"
1898         tmake_file="sparc/t-elf sparc/t-crtfm"
1899         extra_parts="crti.o crtn.o crtbegin.o crtend.o"
1900         ;;
1901 sparc-*-linux*)         # SPARC's running GNU/Linux, libc6
1902         tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/linux.h"
1903         tmake_file="t-slibgcc-elf-ver t-linux sparc/t-crtfm"
1904         ;;
1905 sparc-*-rtems*)
1906         tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sol2.h sparc/sol2.h sparc/elf.h sparc/rtemself.h rtems.h"
1907         tmake_file="sparc/t-elf sparc/t-crtfm t-rtems"
1908         extra_parts="crti.o crtn.o crtbegin.o crtend.o"
1909         if test x$enable_threads = xyes; then
1910           thread_file='rtems'
1911         fi
1912         ;;
1913 sparc64-*-solaris2* | sparcv9-*-solaris2*)
1914         tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sol2.h sparc/sol2.h sparc/sol2-64.h sparc/sol2-bi.h"
1915         if test x$gnu_ld = xyes; then
1916                 tm_file="${tm_file} sparc/sol2-gld.h sparc/sol2-gld-bi.h"
1917         fi
1918         if test x$gas = xyes; then
1919                 tm_file="${tm_file} sparc/sol2-gas-bi.h"
1920         fi
1921         tmake_file="sparc/t-sol2 sparc/t-sol2-64 sparc/t-crtfm"
1922         if test x$gnu_ld = xyes; then
1923                 tmake_file="$tmake_file t-slibgcc-elf-ver"
1924         else
1925                 tmake_file="$tmake_file t-slibgcc-sld"
1926         fi
1927         extra_parts="crt1.o crti.o crtn.o gcrt1.o crtbegin.o crtend.o"
1928         if test x${enable_threads} = x ; then
1929             enable_threads=$have_pthread_h
1930             if test x${enable_threads} = x ; then
1931                 enable_threads=$have_thread_h
1932             fi
1933         fi
1934         if test x${enable_threads} = xyes ; then
1935             if test x${have_pthread_h} = xyes ; then
1936                 thread_file='posix'
1937             else
1938                 thread_file='solaris'
1939             fi
1940         fi
1941         need_64bit_hwint=yes
1942         ;;
1943 sparc-*-solaris2*)
1944         tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sol2.h sparc/sol2.h"
1945         if test x$gnu_ld = xyes; then
1946                 tm_file="${tm_file} sparc/sol2-gld.h"
1947         fi
1948         tmake_file="sparc/t-sol2 sparc/t-crtfm"
1949         if test x$gnu_ld = xyes; then
1950                 tmake_file="$tmake_file t-slibgcc-elf-ver"
1951         else
1952                 tmake_file="$tmake_file t-slibgcc-sld"
1953         fi
1954         case $machine in
1955         *-*-solaris2.[0-6] | *-*-solaris2.[0-6].*)
1956                 if test x$gnu_ld = xno; then
1957                         tm_file="${tm_file} sparc/sol26-sld.h"
1958                 fi
1959                 ;;
1960         *-*-solaris2.[789])
1961                 tm_file="sparc/biarch64.h ${tm_file} sparc/sol2-bi.h"
1962                 if test x$gnu_ld = xyes; then
1963                         tm_file="${tm_file} sparc/sol2-gld-bi.h"
1964                 fi
1965                 if test x$gas = xyes; then
1966                         tm_file="${tm_file} sparc/sol2-gas-bi.h"
1967                 fi
1968                 tmake_file="$tmake_file sparc/t-sol2-64"
1969                 need_64bit_hwint=yes
1970                 ;;
1971         esac
1972         extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"
1973         if test x${enable_threads} = x; then
1974             enable_threads=$have_pthread_h
1975             if test x${enable_threads} = x; then
1976                 enable_threads=$have_thread_h
1977             fi
1978         fi
1979         if test x${enable_threads} = xyes; then
1980             if test x${have_pthread_h} = xyes; then
1981                 thread_file='posix'
1982             else
1983                 thread_file='solaris'
1984             fi
1985         fi
1986         ;;
1987 sparc-*-sysv4*)
1988         tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/sysv4-only.h"
1989         tmake_file=t-svr4
1990         extra_parts="crtbegin.o crtend.o"
1991         ;;
1992 sparclite-*-coff*)
1993         tm_file="${tm_file} gofast.h sparc/lite.h svr3.h sparc/litecoff.h dbxcoff.h libgloss.h"
1994         tmake_file=sparc/t-sparclite
1995         ;;
1996 sparclite-*-elf*)
1997         tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sol2.h sparc/sol2.h sparc/elf.h gofast.h sparc/liteelf.h"
1998         tmake_file="sparc/t-sparclite sparc/t-crtfm"
1999         extra_parts="crtbegin.o crtend.o"
2000         ;;
2001 sparc86x-*-elf*)
2002         tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sol2.h sparc/sol2.h sparc/elf.h gofast.h sparc/sp86x-elf.h"
2003         tmake_file="sparc/t-sp86x sparc/t-crtfm"
2004         extra_parts="crtbegin.o crtend.o"
2005         ;;
2006 sparc64-*-aout*)
2007         tm_file="sparc/sparc.h sparc/aout.h sparc/sp64-aout.h"
2008         ;;
2009 sparc64-*-elf*)
2010         tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sol2.h sparc/sol2.h sparc/sp64-elf.h"
2011         tmake_file="${tmake_file} sparc/t-crtfm"
2012         extra_parts="crtbegin.o crtend.o"
2013         ;;
2014 sparc64-*-freebsd*|ultrasparc-*-freebsd*)
2015         tm_file="${tm_file} ${fbsd_tm_file} dbxelf.h elfos.h sparc/sysv4.h sparc/freebsd.h"
2016         tmake_file="${tmake_file} sparc/t-crtfm"
2017         xmake_file=none
2018         case "x$with_cpu" in
2019                 xultrasparc) ;;
2020                 x) with_cpu=ultrasparc ;;
2021                 *) echo "$with_cpu not supported for freebsd target"; exit 1 ;;
2022         esac
2023         need_64bit_hwint=yes
2024         ;;
2025 sparc64-*-linux*)               # 64-bit SPARC's running GNU/Linux
2026         tmake_file="t-slibgcc-elf-ver t-linux sparc/t-linux64 sparc/t-crtfm"
2027         tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/linux64.h"
2028         ;;
2029 sparc64-*-netbsd*)
2030         tmake_file="${tmake_file} sparc/t-netbsd64"
2031         tm_file="sparc/biarch64.h ${tm_file}"
2032         tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h netbsd.h netbsd-elf.h sparc/netbsd-elf.h"
2033         ;;
2034 strongarm-*-elf*)
2035         tm_file="arm/strongarm-elf.h dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h"
2036         tmake_file=arm/t-strongarm-elf
2037         out_file=arm/arm.c
2038         md_file=arm/arm.md
2039         extra_modes=arm/arm-modes.def
2040         ;;
2041 strongarm-*-pe)
2042         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"
2043         tmake_file=arm/t-strongarm-pe
2044         out_file=arm/arm.c
2045         md_file=arm/arm.md
2046         extra_modes=arm/arm-modes.def
2047         extra_objs=pe.o
2048         ;;
2049 strongarm-*-kaos*)
2050         tm_file="arm/strongarm-elf.h dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h kaos.h arm/kaos-strongarm.h"
2051         tmake_file=arm/t-strongarm-elf
2052         out_file=arm/arm.c
2053         md_file=arm/arm.md
2054         extra_modes=arm/arm-modes.def
2055         ;;
2056 v850e-*-*)
2057         target_cpu_default="TARGET_CPU_v850e"
2058         tm_file="dbxelf.h elfos.h svr4.h v850/v850.h"
2059         tm_p_file=v850/v850-protos.h
2060         tmake_file=v850/t-v850
2061         md_file=v850/v850.md
2062         out_file=v850/v850.c
2063         if test x$stabs = xyes
2064         then
2065                 tm_file="${tm_file} dbx.h"
2066         fi
2067         use_collect2=no
2068         c_target_objs="v850-c.o"
2069         cxx_target_objs="v850-c.o"
2070         ;;
2071 v850-*-*)
2072         target_cpu_default="TARGET_CPU_generic"
2073         tm_file="dbxelf.h elfos.h svr4.h ${tm_file}"
2074         tmake_file=v850/t-v850
2075         if test x$stabs = xyes
2076         then
2077                 tm_file="${tm_file} dbx.h"
2078         fi
2079         use_collect2=no
2080         c_target_objs="v850-c.o"
2081         cxx_target_objs="v850-c.o"
2082         ;;
2083 vax-*-bsd*)                     # VAXen running BSD
2084         tm_file="${tm_file} vax/bsd.h"
2085         use_collect2=yes
2086         ;;
2087 vax-*-sysv*)                    # VAXen running system V
2088         tm_file="${tm_file} vax/vaxv.h"
2089         ;;
2090 vax-*-netbsdelf*)
2091         tm_file="${tm_file} elfos.h netbsd.h netbsd-elf.h vax/elf.h vax/netbsd-elf.h"
2092         ;;
2093 vax-*-netbsd*)
2094         tm_file="${tm_file} netbsd.h netbsd-aout.h vax/netbsd.h"
2095         tmake_file=t-netbsd
2096         extra_parts=""
2097         use_collect2=yes
2098         ;;
2099 vax-*-openbsd*)
2100         tm_file="vax/vax.h vax/openbsd1.h openbsd.h ${tm_file}"
2101         use_collect2=yes
2102         ;;
2103 vax-*-ultrix*)                  # VAXen running ultrix
2104         tm_file="${tm_file} vax/ultrix.h"
2105         ;;
2106 vax-*-vms*)                     # VAXen running VMS
2107         echo "Configuration $machine no longer supported" 1>&2
2108         exit 1
2109         ;;
2110 vax-*-*)                        # VAX default entry
2111         ;;
2112 xscale-*-elf)
2113         tm_file="arm/xscale-elf.h dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h"
2114         tmake_file=arm/t-xscale-elf
2115         out_file=arm/arm.c
2116         md_file=arm/arm.md
2117         extra_modes=arm/arm-modes.def
2118         ;;
2119 xscale-*-coff)
2120         tm_file="arm/semi.h arm/aout.h arm/coff.h arm/xscale-coff.h arm/arm.h"
2121         tmake_file=arm/t-xscale-coff
2122         out_file=arm/arm.c
2123         md_file=arm/arm.md
2124         extra_modes=arm/arm-modes.def
2125         ;;
2126 xstormy16-*-elf)
2127         # For historical reasons, the target files omit the 'x'.
2128         tm_file="dbxelf.h elfos.h svr4.h stormy16/stormy16.h"
2129         tm_p_file=stormy16/stormy16-protos.h
2130         md_file=stormy16/stormy16.md
2131         out_file=stormy16/stormy16.c
2132         tmake_file="stormy16/t-stormy16"
2133         extra_parts="crtbegin.o crtend.o"
2134         ;;
2135 xtensa-*-elf*)
2136         tm_file="${tm_file} dbxelf.h elfos.h svr4.h xtensa/elf.h"
2137         tmake_file="xtensa/t-xtensa xtensa/t-elf"
2138         ;;
2139 xtensa-*-linux*)
2140         tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h xtensa/linux.h"
2141         tmake_file="t-slibgcc-elf-ver t-linux xtensa/t-xtensa xtensa/t-linux"
2142         ;;
2143 *)
2144         echo "*** Configuration $machine not supported" 1>&2
2145         exit 1
2146         ;;
2147 esac
2148
2149 case $machine in
2150 *-*-sysv*)
2151         install_headers_dir=install-headers-cpio
2152         ;;
2153 esac
2154
2155 # Support for --with-cpu and related options (and a few unrelated options,
2156 # too).  Only do this if $machine is the target, or we'll try to validate
2157 # the CPU argument against the wrong machine type.
2158
2159 if test "x$pass2done" = xyes
2160 then
2161         case "x$with_cpu" in
2162         xyes | xno)
2163                 echo "--with-cpu must be passed a value" 1>&2
2164                 exit 1
2165                 ;;
2166         esac
2167
2168         # If there is no $with_cpu option, try to infer one from ${machine}.
2169         # This block sets nothing except for with_cpu.
2170         if test x$with_cpu = x
2171         then
2172                 case $machine in
2173                 ep9312-*-*)
2174                         # A Cirrus ARM variant.
2175                         with_cpu="ep9312"
2176                         ;;
2177                 i486-*-*)
2178                         with_cpu=i486
2179                         ;;
2180                 i586-*-*)
2181                         case $target_alias in
2182                         k6_2-*)
2183                                 with_cpu=k6-2
2184                                 ;;
2185                         k6_3-*)
2186                                 with_cpu=k6-3
2187                                 ;;
2188                         k6-*)
2189                                 with_cpu=k6
2190                                 ;;
2191                         pentium_mmx-*|winchip_c6-*|winchip2-*|c3-*)
2192                                 with_cpu=pentium-mmx
2193                                 ;;
2194                         *)
2195                                 with_cpu=pentium
2196                                 ;;
2197                         esac
2198                         ;;
2199                 i686-*-* | i786-*-*)
2200                         case $target_alias in
2201                         k8-*)
2202                                 with_cpu=k8
2203                                 ;;
2204                         athlon_xp-*|athlon_mp-*|athlon_4-*)
2205                                 with_cpu=athlon-4
2206                                 ;;
2207                         athlon_tbird-*|athlon-*)
2208                                 with_cpu=athlon
2209                                 ;;
2210                         pentium2-*)
2211                                 with_cpu=pentium2
2212                                 ;;
2213                         pentium3-*)
2214                                 with_cpu=pentium3
2215                                 ;;
2216                         pentium4-*)
2217                                 with_cpu=pentium4
2218                                 ;;
2219                         *)
2220                                 with_cpu=pentiumpro
2221                                 ;;
2222                         esac
2223                         ;;
2224                 x86_64-*-*)
2225                         with_cpu=k8
2226                         ;;
2227                 alpha*-*-*)
2228                         case $machine in
2229                         alphaev6[78]*)
2230                                 with_cpu=ev67
2231                                 ;;
2232                         alphaev6*)
2233                                 with_cpu=ev6
2234                                 ;;
2235                         alphapca56*)
2236                                 with_cpu=pca56
2237                                 ;;
2238                         alphaev56*)
2239                                 with_cpu=ev56
2240                                 ;;
2241                         alphaev5*)
2242                                 with_cpu=ev5
2243                                 ;;
2244                         esac
2245                         ;;
2246                 sparc*-*-*)
2247                         with_cpu="`echo $machine | sed 's/-.*$//'`"
2248                         if [ x$with_cpu = xsparc64 ]; then
2249                                 with_cpu=v9
2250                         fi
2251                         ;;
2252                 esac
2253         fi
2254
2255         # Similarly for --with-schedule.
2256         if test x$with_schedule = x; then
2257                 case $machine in
2258                 hppa1* | parisc1*)
2259                         # Override default PA8000 scheduling model.
2260                         with_schedule=7100LC
2261                         ;;
2262                 esac
2263         fi
2264
2265         # Validate and mark as valid any --with options supported
2266         # by this target.  In order to use a particular --with option
2267         # you must list it in supported_defaults; validating the value
2268         # is optional.  This case statement should set nothing besides
2269         # supported_defaults.
2270
2271         supported_defaults=
2272         case "$machine" in
2273         alpha*-*-*)
2274                 supported_defaults="cpu tune"
2275                 for which in cpu tune; do
2276                         eval "val=\$with_$which"
2277                         case "x$val" in
2278                         x \
2279                         | xev4 | xev45 | x21064 | xev5 | x21164 | xev56 | x21164a \
2280                         | xpca56 | x21164PC | x21164pc | xev6 | x21264 | xev67 \
2281                         | x21264a)
2282                                 ;;
2283                         *)
2284                                 echo "Unknown CPU used in --with-$which=$val" 1>&2
2285                                 exit 1
2286                                 ;;
2287                         esac
2288                 done
2289                 ;;
2290
2291         arm*-*-*)
2292                 supported_defaults="arch cpu float tune"
2293                 for which in cpu tune; do
2294                         eval "val=\$with_$which"
2295                         case "x$val" in
2296                         x \
2297                         | xarm[236789] | xarm250 | xarm[67][01]0 \
2298                         | xarm60 | xarm620 | xarm7d | xarm7di \
2299                         | xarm7m | xarm7dm | xarm7dmi | xarm[79]tdmi \
2300                         | xarm70 | xarm700i | xarm710t | xarm720 \
2301                         | xarm720t | xarm740t | xarm710c | xarm920 \
2302                         | xarm920t | xarm940t | xarm9e | xarm10tdmi \
2303                         | xarm7100 | xarm7500 | xarm7500fe | xarm810 \
2304                         | xarm1020t \
2305                         | xxscale \
2306                         | xep9312 \
2307                         | xstrongarm | xstrongarm110 | xstrongarm11[01]0)
2308                                 # OK
2309                                 ;;
2310                         *)
2311                                 echo "Unknown CPU used in --with-$which=$val" 1>&2
2312                                 exit 1
2313                                 ;;
2314                         esac
2315                 done
2316
2317                 case "x$with_arch" in
2318                 x \
2319                 | xarmv[2345] | xarmv2a | xarmv3m | xarmv4t | xarmv5t \
2320                 | xarmv5te | ep9312)
2321                         # OK
2322                         ;;
2323                 *)
2324                         echo "Unknown arch used in --with-arch=$with_arch" 1>&2
2325                         exit 1
2326                         ;;
2327                 esac
2328
2329                 case "x$with_float" in
2330                 x \
2331                 | xsoft | xhard)
2332                         # OK
2333                         ;;
2334                 *)
2335                         echo "Unknown floating point type used in --with-float=$with_float" 1>&2
2336                         exit 1
2337                         ;;
2338                 esac
2339
2340                 if test "x$with_arch" != x && test "x$with_cpu" != x; then
2341                         echo "Warning: --with-arch overrides --with-cpu" 1>&2
2342                 fi
2343                 ;;
2344
2345         hppa*-*-* | parisc*-*-*)
2346                 supported_defaults="arch schedule"
2347
2348                 case "x$with_arch" in
2349                 x | x1.0 | x1.1 | x2.0)
2350                         # OK
2351                         ;;
2352                 *)
2353                         echo "Unknown architecture used in --with-arch=$with_arch" 1>&2
2354                         exit 1
2355                         ;;
2356                 esac
2357
2358                 case "x$with_schedule" in
2359                 x | x700 | x7100 | x7100LC | x7200 | x7300 | x8000)
2360                         # OK
2361                         ;;
2362                 *)
2363                         echo "Unknown processor used in --with-schedule=$with_schedule." 1>&2
2364                         exit 1
2365                         ;;
2366                 esac
2367                 ;;
2368
2369         i[34567]86-*-* | x86_64-*-*)
2370                 supported_defaults="arch cpu tune"
2371                 for which in arch cpu tune; do
2372                         eval "val=\$with_$which"
2373                         case "x$val" in
2374                         x \
2375                         | xi386 | xi486 \
2376                         | xi586 | xpentium | xpentium-mmx | xwinchip-c6 | xwinchip2 \
2377                         | xc3 | xc3-2 | xi686 | xpentiumpro | xpentium2 | xpentium3 \
2378                         | xpentium4 | xk6 | xk6-2 | xk6-3 | xathlon | xathlon-tbird \
2379                         | xathlon-4 | xathlon-xp | xathlon-mp | xk8)
2380                                 # OK
2381                                 ;;
2382                         *)
2383                                 echo "Unknown CPU given in --with-$which=$val." 1>&2
2384                                 exit 1
2385                                 ;;
2386                         esac
2387                 done
2388                 ;;
2389
2390         mips*-*-*)
2391                 supported_defaults="abi arch float tune"
2392
2393                 case "x$with_float" in
2394                 x \
2395                 | xsoft | xhard)
2396                         # OK
2397                         ;;
2398                 *)
2399                         echo "Unknown floating point type used in --with-float=$with_float" 1>&2
2400                         exit 1
2401                         ;;
2402                 esac
2403
2404                 case "x$with_abi" in
2405                 x \
2406                 | x32 | xo64 | xn32 | x64 | xeabi)
2407                         # OK
2408                         ;;
2409                 *)
2410                         echo "Unknown ABI used in --with-abi=$with_abi" 1>&2
2411                         exit 1
2412                         ;;
2413                 esac
2414                 ;;
2415
2416         powerpc*-*-* | rs6000-*-*)
2417                 supported_defaults="cpu float tune"
2418
2419                 for which in cpu tune; do
2420                         eval "val=\$with_$which"
2421                         case "x$val" in
2422                         x \
2423                         | xdefault32 | xdefault64 \
2424                         | xcommon \
2425                         | xpower | xpower2 | xpower3 | xpower4 \
2426                         | xpowerpc | xpowerpc64 \
2427                         | xrios | xrios1 | xrios2 | xrsc | xrsc1 | xrs64a \
2428                         | x401 | x403 | x405 | x405fp | x440 | x440fp | x505 \
2429                         | x601 | x602 | x603 | x603e | xec603e | x604 \
2430                         | x604e | x620 | x630 | x740 | x750 | x7400 | x7450 \
2431                         | x8540 | x801 | x821 | x823 | x860)
2432                                 # OK
2433                                 ;;
2434                         *)
2435                                 echo "Unknown cpu used in --with-$which=$val." 1>&2
2436                                 exit 1
2437                                 ;;
2438                         esac
2439                 done
2440                 ;;
2441
2442         sparc*-*-*)
2443                 supported_defaults="cpu float tune"
2444
2445                 for which in cpu tune; do
2446                         eval "val=\$with_$which"
2447                         case x$val in
2448                         x \
2449                         | xsparc | xsparcv9 | xsparc64 | xsparc86x \
2450                         | xv7 | xcypress | xv8 | xsupersparc | xsparclite | xf930 \
2451                         | xf934 | xhypersparc | xsparclite86x | xsparclet | tsc701 \
2452                         | xv9 | xultrasparc | xultrasparc3)
2453                                 # OK
2454                                 ;;
2455                         *)
2456                                 echo "Unknown cpu used in --with-$which=$val" 1>&2
2457                                 exit 1
2458                                 ;;
2459                         esac
2460                 done
2461
2462                 case "x$with_float" in
2463                 x \
2464                 | xsoft | xhard)
2465                         # OK
2466                         ;;
2467                 *)
2468                         echo "Unknown floating point type used in --with-float=$with_float" 1>&2
2469                         exit 1
2470                         ;;
2471                 esac
2472                 ;;
2473
2474         v850*-*-*)
2475                 supported_defaults=cpu
2476                 case "x$with_cpu" in
2477                 x | xv850e)
2478                         # OK
2479                         ;;
2480                 *)
2481                         echo "Unknown cpu used in --with-cpu=$with_cpu" 1>&2
2482                         exit 1
2483                         ;;
2484                 esac
2485                 ;;
2486         esac
2487
2488         # Set some miscellaneous flags for particular targets.
2489         target_cpu_default2=
2490         case $machine in
2491         alpha*-*-*)
2492                 if test x$gas = xyes
2493                 then
2494                         target_cpu_default2="MASK_GAS"
2495                 fi
2496                 ;;
2497
2498         arm*-*-*)
2499                 case "x$with_cpu" in
2500                 x)
2501                         # The most generic
2502                         target_cpu_default2="TARGET_CPU_generic"
2503                         ;;
2504
2505                 *)
2506                         target_cpu_default2="TARGET_CPU_$with_cpu"
2507                         ;;
2508                 esac
2509                 ;;
2510
2511         hppa*-*-* | parisc*-*-*)
2512                 if test x$gas = xyes
2513                 then
2514                         target_cpu_default2="MASK_GAS|MASK_JUMP_IN_DELAY"
2515                 fi
2516                 ;;
2517
2518         mips*-*-*)
2519                 case $machine in
2520                 mips*-*-ecoff* | mips*-*-elf*)
2521                         if test x$gas = xyes
2522                         then
2523                                 if test x$gnu_ld = xyes
2524                                 then
2525                                         target_cpu_default2="MASK_GAS|MASK_SPLIT_ADDR"
2526                                 else
2527                                         target_cpu_default2="MASK_GAS"
2528                                 fi
2529                         fi
2530                         ;;
2531                 mips*-*-*)
2532                         if test x$gas = xyes
2533                         then
2534                                 target_cpu_default2="MASK_GAS"
2535                         fi
2536                         ;;
2537                 esac
2538                 case $machine in
2539                         mips*el-*-*)
2540                                 tm_defines="TARGET_ENDIAN_DEFAULT=0 $tm_defines"
2541                                 ;;
2542                 esac
2543                 case $tm_file in
2544                         *mips/elf.h* | *mips/elf64.h*)
2545                                 tm_defines="OBJECT_FORMAT_ELF $tm_defines"
2546                                 ;;
2547                 esac
2548                 if test "x$enable_gofast" = xyes
2549                 then
2550                         tm_defines="INIT_SUBTARGET_OPTABS=INIT_GOFAST_OPTABS $tm_defines"
2551                         tm_file="gofast.h $tm_file"
2552                         tmake_file="mips/t-gofast $tmake_file"
2553                 else
2554                         tmake_file="mips/t-mips $tmake_file"
2555                 fi
2556                 ;;
2557
2558         powerpc*-*-* | rs6000-*-*)
2559                 if test x$enable_altivec = xyes
2560                 then
2561                         tm_file="$tm_file rs6000/altivec-defs.h"
2562                 fi
2563                 # FIXME: The PowerPC port uses the value set at compile time,
2564                 # although it's only cosmetic.
2565                 if test "x$with_cpu" != x
2566                 then
2567                         target_cpu_default2="\\\"$with_cpu\\\""
2568                 fi
2569                 out_file=rs6000/rs6000.c
2570                 c_target_objs="${c_target_objs} rs6000-c.o"
2571                 cxx_target_objs="${cxx_target_objs} rs6000-c.o"
2572                 tmake_file="rs6000/t-rs6000 ${tmake_file}"
2573                 ;;
2574
2575         sparc*-*-*)
2576                 # Some standard aliases.
2577                 case x$with_cpu in
2578                 xsparc)
2579                         with_cpu=v7
2580                         ;;
2581                 xsparc86x)
2582                         with_cpu=sparclite86x
2583                         ;;
2584                 xsparcv9 | xsparc64)
2585                         with_cpu=v9
2586                         ;;
2587                 esac
2588
2589                 # The Sparc port checks this value at compile-time.
2590                 target_cpu_default2="TARGET_CPU_$with_cpu"
2591                 ;;
2592         v850*-*-*)
2593                 # FIXME: The v850 is "special" in that it does not support
2594                 # runtime CPU selection, only --with-cpu.
2595                 case "x$with_cpu" in
2596                 x)
2597                         ;;
2598                 xv850e)
2599                         target_cpu_default2="TARGET_CPU_$with_cpu"
2600                         ;;
2601                 esac
2602                 ;;
2603         esac
2604
2605         t=
2606         all_defaults="abi cpu arch tune schedule float"
2607         for option in $all_defaults
2608         do
2609                 eval "val=\$with_$option"
2610                 if test -n "$val"; then
2611                         case " $supported_defaults " in
2612                         *" $option "*)
2613                                 ;;
2614                         *)
2615                                 echo "This target does not support --with-$option." 2>&1
2616                                 exit 1
2617                                 ;;
2618                         esac
2619
2620                         if test "x$t" = x
2621                         then
2622                                 t="{ \"$option\", \"$val\" }"
2623                         else
2624                                 t="${t}, { \"$option\", \"$val\" }"
2625                         fi
2626                 fi
2627         done
2628         if test "x$t" = x
2629         then
2630                 configure_default_options="{ { NULL, NULL} }"
2631         else
2632                 configure_default_options="{ ${t} }"
2633         fi
2634
2635         if test "$target_cpu_default2" != ""
2636         then
2637                 if test "$target_cpu_default" != ""
2638                 then
2639                         target_cpu_default="(${target_cpu_default}|${target_cpu_default2})"
2640                 else
2641                         target_cpu_default=$target_cpu_default2
2642                 fi
2643         fi
2644 fi
2645
2646 # Save data on machine being used to compile GCC in build_xm_file.
2647 # Save data on host machine in vars host_xm_file and host_xmake_file.
2648 if test x$pass1done = x
2649 then
2650         if test x$xm_file != x
2651         then build_xm_file=$xm_file
2652         fi
2653         build_xm_defines=$xm_defines
2654         build_install_headers_dir=$install_headers_dir
2655         build_exeext=$exeext
2656         pass1done=yes
2657 else
2658         if test x$pass2done = x
2659         then
2660                 if test x$xm_file != x
2661                 then host_xm_file=$xm_file
2662                 fi
2663                 host_xm_defines=$xm_defines
2664                 host_xmake_file="$xmake_file"
2665                 host_extra_gcc_objs=$extra_gcc_objs
2666                 host_extra_objs=$extra_host_objs
2667                 host_exeext=$exeext
2668                 out_host_hook_obj=$host_hook_obj
2669                 pass2done=yes
2670         fi
2671 fi