1 # GCC build-, host- and target-specific configuration file.
2 # Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
4 #This file is part of GCC.
6 #GCC is free software; you can redistribute it and/or modify it under
7 #the terms of the GNU General Public License as published by the Free
8 #Software Foundation; either version 2, or (at your option) any later
11 #GCC is distributed in the hope that it will be useful, but WITHOUT
12 #ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 #FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 #You should have received a copy of the GNU General Public License
17 #along with GCC; see the file COPYING. If not, write to the Free
18 #Software Foundation, 59 Temple Place - Suite 330, Boston, MA
21 # This is the GCC build-, host- and target-specific configuration file
22 # where a configuration type, as recognized and generated by config.bfd,
23 # is mapped to different system-specific definitions and files. This is
24 # invoked by the autoconf-generated configure script, called for build,
25 # host and target in that order, setting ${machine} to each. Putting it
26 # in a separate shell file lets us skip running autoconf when modifying
27 # build-, host- and target-specific information.
29 # This file switches on the shell variable ${machine}, and also uses the
30 # following shell variables:
32 # with_* Various variables as set by configure.
34 # enable_threads_flag Either the name, yes or no depending on whether
35 # threads support was requested.
37 # gas_flag Either yes or no depending on whether GNU as was
40 # gnu_ld_flag Either yes or no depending on whether GNU ld was
43 # This file sets the following shell variables for use by the
44 # autoconf-generated configure script:
46 # cpu_type The name of the cpu, if different from machine.
48 # tm_defines List of target macros to define for all compilations.
50 # tm_file A list of target macro files, if different from
51 # "$cpu_type/$cpu_type.h". Usually it's constructed
52 # per target in a way like this:
53 # tm_file="${tm_file} dbxelf.h elfos.h svr4.h ${cpu_type.h}/elf.h"
54 # Note that the preferred order is:
55 # - specific target header "${cpu_type}/${cpu_type.h}"
56 # - generic headers like dbxelf.h elfos.h, netware.h, etc.
57 # - specializing target headers like ${cpu_type.h}/elf.h
58 # This helps to keep OS specific stuff out of the CPU
59 # defining header ${cpu_type}/${cpu_type.h}.
61 # tm_p_file Location of file with declarations for functions
64 # out_file The name of the machine description C support
65 # file, if different from "$cpu_type/$cpu_type.c".
67 # md_file The name of the machine-description file, if
68 # different from "$cpu_type/$cpu_type.md".
70 # tmake_file A list of machine-description-specific
71 # makefile-fragments, if different from
72 # "$cpu_type/t-$cpu_type".
74 # extra_modes The name of the file containing a list of extra
75 # machine modes, if necessary and different from
76 # "$cpu_type/$cpu_type-modes.def".
78 # float_format Set to the symbolic name for the floating-point
79 # formats used for this machine, if different from
80 # "i64". Used to derive a header file name to
81 # include, like "vax" for "float-vax.h". If no such
82 # file is wanted, set to "none".
84 # extra_objs List of extra objects that should be linked into
85 # the compiler proper (cc1, cc1obj, cc1plus)
86 # depending on target.
88 # extra_headers List of used header files from the directory
91 # host_xmake_file List of host-specific makefile-fragments.
93 # extra_passes List of extra executables compiled for this target
94 # machine, used for compiling from source to object.
96 # extra_parts List of extra object files that should be compiled
97 # for this target machine.
99 # extra_programs Like extra_passes, but these are used when linking.
101 # host_extra_objs List of extra host-dependent objects that should
102 # be linked into the compiler proper.
104 # host_extra_gcc_objs List of extra host-dependent objects that should
105 # be linked into the gcc driver.
107 # c_target_objs List of extra target-dependent objects that be
108 # linked into the C compiler only.
110 # cxx_target_objs List of extra target-dependent objects that be
111 # linked into the C++ compiler only.
113 # target_gtfiles List of extra source files with type information.
115 # build_xm_defines List of macros to define when compiling for the
118 # build_xm_file List of files to include when compiling for the
121 # host_xm_defines List of macros to define when compiling for the
124 # host_xm_file List of files to include when compiling for the
127 # xm_defines List of macros to define when compiling for the
130 # xm_file List of files to include when compiling for the
133 # use_collect2 Set to yes or no, depending on whether collect2
136 # target_cpu_default Set to override the default target model.
138 # build_install_headers_dir
139 # Target to use when installing header files.
141 # host_truncate_target
142 # Non-empty if the target name should be truncated
143 # on this host, due to filename length issues.
145 # gdb_needs_out_file_path
146 # Set to yes if gdb needs a dir command with
147 # `dirname $out_file`.
149 # build_exeext Set to the suffix, if the build machine requires
150 # executables to have a file name suffix.
152 # host_exeext Set to the suffix, if the host machine requires
153 # executables to have a file name suffix.
155 # thread_file Set to control which thread package to use.
157 # gas Set to yes or no depending on whether the target
158 # system normally uses GNU as.
160 # The following variables are used in each case-construct to build up the
161 # outgoing variables:
163 # xmake_file Makefile-fragment when this system is as a host,
164 # for host_xmake_file.
166 # extra_host_objs List of extra objects that should be linked into
167 # the compiler proper when this system is a host,
168 # for host_extra_objs.
170 # install_headers_dir Makefile-target for how the header file directory
171 # is installed, when this system is a build system,
172 # for build_install_headers_dir.
174 # truncate_target Non-empty if the target name should be truncated
175 # when this system is a host, due to filename length
176 # issues. For host_truncate_target.
178 # exeext The suffix for executables on this system.
180 # gnu_ld Set to yes or no depending on whether the target
181 # system normally uses GNU ld.
198 # Set this to force installation and use of collect2.
200 # Set this to override the default target model.
202 # Set this to control how the header file directory is installed.
203 install_headers_dir=install-headers-tar
204 # Set this if directory names should be truncated to 14 characters.
206 # Set this if gdb needs a dir command with `dirname $out_file`
207 gdb_needs_out_file_path=
208 # Set this if the build machine requires executables to have a
211 # Set this to control which thread package will be used.
213 # Reinitialize these from the flag values every loop pass, since some
214 # configure entries modify them.
216 gnu_ld="$gnu_ld_flag"
217 enable_threads=$enable_threads_flag
219 # Obsolete configurations.
230 if test "x$enable_obsolete" != xyes; then
231 echo "*** Configuration $machine is obsolete." >&2
232 echo "*** Specify --enable-obsolete to build it anyway." >&2
233 echo "*** Support will be REMOVED in the next major release of GCC," >&2
234 echo "*** unless a maintainer comes forward." >&2
239 # Set default cpu_type, tm_file, tm_p_file and xm_file so it can be
240 # updated in each machine entry. Also set default extra_headers for some
243 cpu_type=`echo $machine | sed 's/-.*$//'`
259 extra_headers="mmintrin.h xmmintrin.h"
263 extra_headers="mmintrin.h xmmintrin.h"
266 extra_headers=ia64intrin.h
268 hppa*-*-* | parisc*-*-*)
273 extra_headers=math-68881.h
276 extra_headers=math-68881.h
283 extra_headers="ppc-asm.h altivec.h spe.h"
288 # Note the 'l'; we need to be able to match e.g. "shle" or "shl".
294 tm_file=${cpu_type}/${cpu_type}.h
295 if test -f ${srcdir}/config/${cpu_type}/${cpu_type}-protos.h
297 tm_p_file=${cpu_type}/${cpu_type}-protos.h
300 if test -f ${srcdir}/config/${cpu_type}/${cpu_type}-modes.def
302 extra_modes=${cpu_type}/${cpu_type}-modes.def
307 tm_file="i386/biarch64.h ${tm_file}"
311 # On a.out targets, we need to use collect2.
318 # Common parts for GNU/Linux, GNU/Hurd, OpenBSD, NetBSD, and FreeBSD systems.
324 # On the Hurd, the setup is just about the same on
325 # each different CPU. The specific machines that we
326 # support are matched above and just set $cpu_type.
328 tm_file="${cpu_type}/gnu.h"
329 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o"
330 # GNU always uses ELF.
332 # GNU tools are the only tools.
335 # These details are the same as for Linux.
336 # But here we need a little extra magic.
337 tmake_file="t-slibgcc-elf-ver t-linux t-gnu"
340 tm_file="${cpu_type}/${cpu_type}.h alpha/elf.h alpha/linux.h alpha/linux-elf.h gnu.h ${tm_file}"
343 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}"
348 tm_file=${cpu_type}/openbsd.h
349 tmake_file="t-libc-ok t-openbsd t-libgcc-pic"
351 if test x$enable_threads = xyes; then
353 tmake_file="${tmake_file} t-openbsd-thread"
357 tmake_file="t-slibgcc-elf-ver t-libc-ok t-netbsd"
362 *-*-freebsd[12] | *-*-freebsd[12].* | *-*-freebsd*aout*)
363 # This is the place-holder for the generic a.out configuration
364 # of FreeBSD. No actual configuration resides here since
365 # there was only ever a bare-bones ix86 configuration for
366 # a.out and it exists solely in the machine-specific section.
367 # This place-holder must exist to avoid dropping into
368 # the generic ELF configuration of FreeBSD (i.e. it must be
369 # ordered before that section).
372 # This is the generic ELF configuration of FreeBSD. Later
373 # machine-specific sections may refine and add to this
376 # Due to tm_file entry ordering issues that vary between cpu
377 # architectures, we only define fbsd_tm_file to allow the
378 # machine-specific section to dictate the final order of all
379 # entries of tm_file with the minor exception that components
380 # of the tm_file set here will always be of the form:
382 # freebsd<version_number>.h [freebsd-<conf_option>.h ...] freebsd-spec.h freebsd.h
384 # The machine-specific section should not tamper with this
385 # ordering but may order all other entries of tm_file as it
386 # pleases around the provided core setting.
389 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
391 *-*-freebsd3 | *-*-freebsd[3].*) fbsd_tm_file="freebsd3.h";;
392 *-*-freebsd4 | *-*-freebsd[4].*) fbsd_tm_file="freebsd4.h";;
393 *-*-freebsd5 | *-*-freebsd[5].*) fbsd_tm_file="freebsd5.h";;
394 *-*-freebsd6 | *-*-freebsd[6].*) fbsd_tm_file="freebsd6.h";;
395 *) echo 'Please update *-*-freebsd* in gcc/config.gcc'; exit 1;;
397 tmake_file="t-slibgcc-elf-ver t-freebsd"
400 case x${enable_threads} in
401 xno) fbsd_tm_file="${fbsd_tm_file} freebsd-nthr.h";;
402 x | xyes | xpthreads | xposix)
404 tmake_file="${tmake_file} t-freebsd-thread"
405 # Before 5.0, FreeBSD can't bind shared libraries to -lc
406 # when "optionally" threaded via weak pthread_* checks.
408 *-*-freebsd[34] | *-*-freebsd[34].*)
409 tmake_file="${tmake_file} t-slibgcc-nolc-override";;
412 *) echo 'Unknown thread configuration for FreeBSD'; exit 1;;
414 fbsd_tm_file="${fbsd_tm_file} freebsd-spec.h freebsd.h"
419 # Support site-specific machine types.
421 rest=`echo $machine | sed -e "s/$cpu_type-//"`
422 tm_file=${cpu_type}/$rest.h
423 if test -f $srcdir/config/${cpu_type}/xm-$rest.h
424 then xm_file=${cpu_type}/xm-$rest.h
426 if test -f $srcdir/config/${cpu_type}/x-$rest
427 then xmake_file=${cpu_type}/x-$rest
429 if test -f $srcdir/config/${cpu_type}/t-$rest
430 then tmake_file=${cpu_type}/t-$rest
435 tm_file="${tm_file} alpha/unicosmk.h"
437 # Don't include t-ieee for now because we don't support that yet
438 # tmake_file="alpha/t-ieee"
439 tmake_file="alpha/t-unicosmk"
442 tm_file="${tm_file} alpha/alpha32.h interix.h alpha/alpha-interix.h"
444 # GAS + IEEE_CONFORMANT+IEEE (no inexact);
445 #target_cpu_default="MASK_GAS|MASK_IEEE_CONFORMANT|MASK_IEEE"
447 # GAS + IEEE_CONFORMANT
448 target_cpu_default="MASK_GAS|MASK_IEEE_CONFORMANT"
451 xm_file="alpha/xm-alpha-interix.h"
452 tmake_file="alpha/t-alpha t-interix alpha/t-interix alpha/t-ieee"
453 if test x$enable_threads = xyes ; then
456 if test x$stabs = xyes ; then
457 tm_file="${tm_file} dbxcoff.h"
459 #prefix='$$INTERIX_ROOT'/usr/contrib
460 #local_prefix='$$INTERIX_ROOT'/usr/contrib
462 alpha*-*-linux*ecoff*)
463 echo "Configuration $machine no longer supported" 1>&2
466 alpha*-*-linux*libc1*)
467 tm_file="${tm_file} alpha/elf.h alpha/linux.h alpha/linux-elf.h"
468 target_cpu_default="MASK_GAS"
469 tmake_file="t-slibgcc-elf-ver t-linux t-linux-gnulibc1 alpha/t-alpha alpha/t-crtfm alpha/t-ieee"
470 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o"
472 if test x$enable_threads = xyes; then
477 tm_file="${tm_file} alpha/elf.h alpha/linux.h alpha/linux-elf.h"
478 target_cpu_default="MASK_GAS"
479 tmake_file="t-slibgcc-elf-ver t-linux alpha/t-crtfm alpha/t-alpha alpha/t-ieee"
480 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o"
482 if test x$enable_threads = xyes; then
487 target_cpu_default="MASK_GAS"
488 tmake_file="${tmake_file} alpha/t-crtfm alpha/t-alpha alpha/t-ieee"
491 tm_file="${tm_file} ${fbsd_tm_file} alpha/elf.h alpha/freebsd.h"
492 target_cpu_default="MASK_GAS"
493 tmake_file="${tmake_file} alpha/t-crtfm alpha/t-alpha alpha/t-ieee"
494 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o"
497 tm_file="${tm_file} netbsd.h alpha/elf.h netbsd-elf.h alpha/netbsd.h"
498 target_cpu_default="MASK_GAS"
499 tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee"
503 tm_file="${cpu_type}/${cpu_type}.h ${tm_file}"
504 # default x-alpha is only appropriate for dec-osf.
505 target_cpu_default="MASK_GAS"
506 tmake_file="alpha/t-alpha alpha/t-ieee"
511 if test x$stabs = xyes
513 tm_file="${tm_file} dbx.h"
515 if test x$gas != xyes
517 extra_passes="mips-tfile mips-tdump"
520 tmake_file="alpha/t-alpha alpha/t-ieee alpha/t-crtfm alpha/t-osf4"
521 tm_file="${tm_file} alpha/osf.h"
522 extra_headers=va_list.h
525 # Some versions of OSF4 (specifically X4.0-9 296.7) have
526 # a broken tar, so we use cpio instead.
527 install_headers_dir=install-headers-cpio
528 # Set target_cpu_default except on 4.0a.
531 *) target_cpu_default=MASK_SUPPORT_ARCH
535 tm_file="${tm_file} alpha/osf5.h"
536 target_cpu_default=MASK_SUPPORT_ARCH
543 tm_file="${tm_file} dbx.h alpha/vxworks.h"
544 tmake_file="alpha/t-alpha alpha/t-ieee"
547 extra_passes="mips-tfile mips-tdump"
550 thread_file='vxworks'
554 tm_file="${tm_file} alpha/vms.h alpha/vms64.h"
555 xm_file="alpha/xm-vms.h alpha/xm-vms64.h"
556 tmake_file="alpha/t-alpha alpha/t-vms alpha/t-vms64 alpha/t-ieee"
557 xmake_file=alpha/x-vms
559 # This removes the cpu type and manufacturer components and
560 # replaces "." with "_" in the operating system version.
561 case $host in *-*-*vms*)
562 target_alias=`echo $host \
563 | sed 's/.*-.*-\(.*\)$/\1/' | sed 's/\./_/g'`
566 install_headers_dir=install-headers-cp
572 tm_file="${tm_file} alpha/vms.h"
573 xm_file=alpha/xm-vms.h
574 tmake_file="alpha/t-alpha alpha/t-vms alpha/t-ieee"
575 xmake_file=alpha/x-vms
577 # This removes the cpu type and manufacturer components and
578 # replaces "." with "_" in the operating system version.
579 case $host in *-*-*vms*)
580 target_alias=`echo $host \
581 | sed 's/.*-.*-\(.*\)$/\1/' | sed 's/\./_/g'`
584 install_headers_dir=install-headers-cp
589 tm_file="dbxelf.h elfos.h svr4.h ${tm_file}"
590 extra_parts="crtinit.o crtfini.o"
592 arm-*-coff* | armel-*-coff*)
593 tm_file="arm/semi.h arm/aout.h arm/arm.h arm/coff.h"
594 tmake_file=arm/t-arm-coff
597 tm_file="arm/semi.h arm/aout.h arm/coff.h arm/vxarm.h arm/arm.h"
598 tmake_file=arm/t-arm-coff
599 thread_file='vxworks'
601 arm-semi-aout | armel-semi-aout)
602 tm_file="arm/semi.h arm/aout.h arm/arm.h"
603 tmake_file=arm/t-semi
605 arm-semi-aof | armel-semi-aof)
606 tm_file="arm/semiaof.h arm/aof.h arm/arm.h"
607 tmake_file=arm/t-semi
609 arm*-*-freebsd*|strongarm*-*-freebsd*)
610 tm_file="dbxelf.h elfos.h ${fbsd_tm_file} arm/elf.h arm/aout.h arm/freebsd.h arm/arm.h"
611 tmake_file="${tmake_file} arm/t-strongarm-elf"
614 echo "GCC does not yet support the ${machine} target"; exit 1
617 tm_file="arm/aout.h arm/arm.h netbsd.h netbsd-aout.h arm/netbsd.h"
618 tmake_file="t-netbsd arm/t-netbsd"
621 arm*-*-linux*) # ARM GNU/Linux with ELF
622 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"
623 tmake_file="t-slibgcc-elf-ver t-linux arm/t-linux"
624 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
626 case x${enable_threads} in
627 x | xyes | xpthreads | xposix)
632 arm*-*-uclinux*) # ARM ucLinux
633 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"
634 tmake_file=arm/t-arm-elf
637 tm_file="arm/aout.h arm/arm.h"
638 tmake_file=arm/t-arm-aout
641 tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h arm/ecos-elf.h"
642 tmake_file=arm/t-arm-elf
646 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"
647 tmake_file="arm/t-arm-elf t-rtems"
648 if test x$enable_threads = xyes; then
653 tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h"
654 tmake_file=arm/t-arm-elf
657 tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/conix-elf.h arm/aout.h arm/arm.h"
658 tmake_file=arm/t-arm-elf
661 tm_file="arm/unknown-elf-oabi.h dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h"
662 tmake_file=arm/t-arm-elf
665 tm_file="arm/semi.h arm/aout.h arm/arm.h arm/coff.h arm/pe.h"
673 tmake_file="c4x/t-c4x t-rtems"
674 tm_file="c4x/c4x.h c4x/rtems.h rtems.h"
675 if test x$enable_threads = xyes; then
678 c_target_objs="c4x-c.o"
679 cxx_target_objs="c4x-c.o"
684 c_target_objs="c4x-c.o"
685 cxx_target_objs="c4x-c.o"
688 tm_file="dbxelf.h ${tm_file} cris/aout.h"
690 tmake_file="cris/t-cris cris/t-aout"
692 cris-*-elf | cris-*-none)
693 tm_file="dbxelf.h elfos.h ${tm_file}"
694 tmake_file="cris/t-cris cris/t-elfmulti"
698 tm_file="dbxelf.h elfos.h svr4.h ${tm_file} linux.h cris/linux.h"
699 tmake_file="cris/t-cris t-slibgcc-elf-ver cris/t-linux"
700 extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
701 case x${enable_threads} in
702 x | xyes | xpthreads | xposix)
709 tm_file="dbxelf.h elfos.h svr4.h ${tm_file}"
715 tm_file="dbxelf.h elfos.h svr4.h ${tm_file}"
716 tmake_file=fr30/t-fr30
717 extra_parts="crti.o crtn.o crtbegin.o crtend.o"
721 tmake_file="h8300/t-h8300 t-rtems"
722 tm_file="h8300/h8300.h h8300/rtems.h rtems.h"
723 if test x$enable_threads = xyes; then
729 tmake_file="h8300/t-h8300 h8300/t-elf"
730 tm_file="h8300/h8300.h h8300/elf.h"
736 hppa*64*-*-linux* | parisc*64*-*-linux*)
737 target_cpu_default="(MASK_PA_11 | MASK_PA_20)"
738 tm_file="pa/pa64-start.h ${tm_file} dbxelf.h elfos.h svr4.h linux.h pa/pa-linux.h \
739 pa/pa64-regs.h pa/pa-64.h pa/pa64-linux.h"
740 tmake_file=pa/t-linux64
743 hppa*-*-linux* | parisc*-*-linux*)
744 target_cpu_default="MASK_PA_11"
745 tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h pa/pa-linux.h \
746 pa/pa32-regs.h pa/pa32-linux.h"
747 tmake_file="t-slibgcc-elf-ver t-linux pa/t-linux"
748 extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
750 if test x$enable_threads = xyes; then
755 target_cpu_default="MASK_PA_11"
759 target_cpu_default="(MASK_JUMP_IN_DELAY | MASK_PORTABLE_RUNTIME | MASK_GAS | MASK_NO_SPACE_REGS | MASK_SOFT_FLOAT)"
760 tm_file="${tm_file} pa/pa32-regs.h dbxelf.h elfos.h pa/elf.h pa/pa-pro-end.h libgloss.h"
761 tmake_file="pa/t-bsd pa/t-pro"
762 xmake_file="pa/x-ada"
765 target_cpu_default="MASK_PA_11"
766 tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-osf.h"
767 tmake_file="pa/t-bsd pa/t-pa"
768 xmake_file="pa/x-ada"
773 target_cpu_default="(MASK_JUMP_IN_DELAY | MASK_PORTABLE_RUNTIME | MASK_GAS | MASK_NO_SPACE_REGS | MASK_SOFT_FLOAT)"
774 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"
775 tmake_file="pa/t-bsd pa/t-pro"
776 xmake_file="pa/x-ada"
779 tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-osf.h"
780 tmake_file="pa/t-bsd pa/t-pa"
781 xmake_file="pa/x-ada"
785 tm_file="${tm_file} pa/pa32-regs.h pa/som.h"
786 target_cpu_default="MASK_PA_11"
787 tmake_file="pa/t-bsd pa/t-pa"
788 xmake_file="pa/x-ada"
792 tm_file="${tm_file} pa/pa32-regs.h pa/som.h"
793 tmake_file="pa/t-bsd pa/t-pa"
794 xmake_file="pa/x-ada"
798 tm_file="pa/pa-oldas.h ${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux7.h"
800 tmake_file=pa/t-pa-hpux
801 install_headers_dir=install-headers-cpio
804 hppa1.0-*-hpux8.0[0-2]*)
805 tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h"
807 tmake_file=pa/t-pa-hpux
808 if test x$gas != xyes
810 tm_file="pa/pa-oldas.h ${tm_file}"
812 install_headers_dir=install-headers-cpio
815 hppa1.1-*-hpux8.0[0-2]*)
816 target_cpu_default="MASK_PA_11"
817 tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h"
819 tmake_file=pa/t-pa-hpux
820 if test x$gas != xyes
822 tm_file="pa/pa-oldas.h ${tm_file}"
824 install_headers_dir=install-headers-cpio
828 target_cpu_default="MASK_PA_11"
829 tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h"
831 tmake_file=pa/t-pa-hpux
832 install_headers_dir=install-headers-cpio
836 tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h"
838 tmake_file=pa/t-pa-hpux
839 install_headers_dir=install-headers-cpio
842 hppa1.1-*-hpux10* | hppa2*-*-hpux10*)
843 target_cpu_default="MASK_PA_11"
844 tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-hpux.h pa/pa-hpux10.h"
847 tmake_file="pa/t-pa pa/t-pa-hpux pa/t-hpux-shlib"
848 xmake_file="pa/x-ada"
849 if test x$enable_threads = x; then
850 enable_threads=$have_pthread_h
852 case x${enable_threads} in
854 tmake_file="${tmake_file} pa/t-dce-thr"
857 install_headers_dir=install-headers-cpio
861 tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-hpux.h pa/pa-hpux10.h"
864 tmake_file="pa/t-pa pa/t-pa-hpux pa/t-hpux-shlib"
865 xmake_file="pa/x-ada"
866 if test x$enable_threads = x; then
867 enable_threads=$have_pthread_h
869 case x${enable_threads} in
871 tmake_file="${tmake_file} pa/t-dce-thr"
874 install_headers_dir=install-headers-cpio
879 tm_file="pa/pa64-start.h ${tm_file} pa/pa64-regs.h pa/long_double.h pa/elf.h pa/pa-hpux.h pa/pa-hpux11.h pa/pa-64.h pa/pa64-hpux.h"
881 tmake_file="pa/t-pa64 pa/t-pa-hpux"
882 xmake_file="pa/x-ada"
883 target_cpu_default="(MASK_PA_11|MASK_PA_20|MASK_GAS)"
885 # if [ x$enable_threads = x ]; then
886 # enable_threads=$have_pthread_h
888 # if [ x$enable_threads = xyes ]; then
890 # tmake_file="${tmake_file} pa/t-dce-thr"
892 install_headers_dir=install-headers-cpio
895 hppa1.1-*-hpux11* | hppa2*-*-hpux11*)
896 target_cpu_default="MASK_PA_11"
897 tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-hpux.h pa/pa-hpux11.h"
900 tmake_file="pa/t-pa pa/t-pa-hpux pa/t-hpux-shlib"
901 xmake_file="pa/x-ada"
902 # if test x$enable_threads = x; then
903 # enable_threads=$have_pthread_h
905 # if test x$enable_threads = xyes; then
907 # tmake_file="${tmake_file} pa/t-dce-thr"
909 install_headers_dir=install-headers-cpio
913 tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-hpux.h pa/pa-hpux11.h"
916 tmake_file="pa/t-pa pa/t-pa-hpux pa/t-hpux-shlib"
917 xmake_file="pa/x-ada"
918 # if test x$enable_threads = x; then
919 # enable_threads=$have_pthread_h
921 # if test x$enable_threads = xyes; then
923 # tmake_file="${tmake_file} pa/t-dce-thr"
925 install_headers_dir=install-headers-cpio
928 hppa1.1-*-hpux* | hppa2*-*-hpux*)
929 target_cpu_default="MASK_PA_11"
930 tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h pa/pa-hpux9.h"
932 tmake_file=pa/t-pa-hpux
933 install_headers_dir=install-headers-cpio
937 tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h pa/pa-hpux9.h"
939 tmake_file=pa/t-pa-hpux
940 install_headers_dir=install-headers-cpio
943 hppa1.1-*-hiux* | hppa2*-*-hiux*)
944 target_cpu_default="MASK_PA_11"
945 tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h pa/pa-hiux.h"
947 tmake_file=pa/t-pa-hpux
948 install_headers_dir=install-headers-cpio
952 tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h pa/pa-hiux.h"
954 tmake_file=pa/t-pa-hpux
955 install_headers_dir=install-headers-cpio
959 tm_file="${tm_file} pa/pa32-regs.h dbxelf.h elfos.h pa/elf.h"
960 target_cpu_default="MASK_PA_11"
961 tmake_file="pa/t-bsd pa/t-pa"
962 xmake_file="pa/x-ada"
966 tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-mpeix.h"
967 tmake_file=pa/t-mpeix
968 echo "You must use gas. Assuming it is already installed."
970 install_headers_dir=install-headers-tar
973 i370-*-opened*) # IBM 360/370/390 Architecture
974 xm_defines='POSIX FATAL_EXIT_CODE=12'
976 tmake_file="i370/t-oe i370/t-i370"
977 c_target_objs="i370-c.o"
978 cxx_target_objs="i370-c.o"
981 xm_defines='POSIX FATAL_EXIT_CODE=12'
983 tmake_file="i370/t-i370"
984 c_target_objs="i370-c.o"
985 cxx_target_objs="i370-c.o"
988 tm_file="dbxelf.h elfos.h svr4.h linux.h i370/linux.h ${tm_file}"
989 tmake_file="t-slibgcc-elf-ver t-linux"
991 extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
992 # extra_parts="crtbegin.o crtend.o"
996 if test x$enable_threads = xyes; then
1002 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/i386elf.h"
1003 tmake_file="i386/t-i386elf t-svr4"
1005 i[34567]86-ncr-sysv4*) # NCR 3000 - ix86 running system V.4
1006 xm_defines="POSIX SMALL_ARG_MAX"
1007 if test x$stabs = xyes -a x$gas = xyes
1009 tm_file=i386/sysv4gdb.h
1011 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h i386/sysv4-cpp.h"
1013 extra_parts="crtbegin.o crtend.o"
1014 tmake_file=i386/t-crtpic
1016 i[34567]86-*-netware) # Intel 80386's running netware
1017 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h netware.h i386/netware.h"
1018 tmake_file=i386/t-netware
1020 i[34567]86-sequent-ptx4* | i[34567]86-sequent-sysv4*)
1021 if test x$gas = xyes
1023 tm_file="${tm_file} usegas.h"
1025 xm_defines="POSIX SMALL_ARG_MAX"
1026 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ptx4.h i386/ptx4-i.h"
1028 extra_parts="crtbegin.o crtend.o"
1029 install_headers_dir=install-headers-cpio
1031 i[34567]86-sequent-sysv*) # would otherwise be caught by i?86-*-sysv*
1032 echo "*** Configuration $machine not supported" 1>&2
1035 i[34567]86-wrs-vxworks*)
1036 tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h i386/vxi386.h"
1037 thread_file='vxworks'
1040 tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h i386/i386-aout.h"
1042 i[34567]86-*-beoself* | i[34567]86-*-beos*)
1044 tmake_file='i386/t-beos i386/t-crtpic'
1045 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h i386/beos-elf.h"
1046 extra_parts='crtbegin.o crtend.o'
1048 i[34567]86-*-freebsd2 | i[34567]86-*-freebsd2.* | i[34567]86-*-freebsd*aout*)
1049 tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h i386/freebsd-aout.h"
1050 tmake_file=t-freebsd
1052 i[34567]86-*-freebsd*)
1053 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${fbsd_tm_file} i386/freebsd.h"
1056 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"
1058 i[34567]86-*-netbsdelf*)
1059 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h netbsd.h netbsd-elf.h i386/netbsd-elf.h"
1062 i[34567]86-*-netbsd*)
1063 tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h netbsd.h netbsd-aout.h i386/netbsd.h"
1068 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"
1071 i[34567]86-*-openbsd*)
1072 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}"
1073 # needed to unconfuse gdb
1074 tmake_file="t-libc-ok t-openbsd i386/t-openbsd"
1075 # we need collect2 until our bug is fixed...
1079 tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h dbxcoff.h i386/i386-coff.h"
1081 i[34567]86-*-linux*oldld*) # would otherwise be caught by i?86-*-linux*
1082 echo "*** Configuration $machine not supported" 1>&2
1085 i[34567]86-*-linux*aout*) # Intel 80386's running GNU/Linux
1087 tmake_file="t-linux-aout i386/t-crtstuff"
1088 tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h linux-aout.h i386/linux-aout.h"
1092 i[34567]86-*-linux*libc1) # Intel 80386's running GNU/Linux
1093 # with ELF format using the
1094 # GNU/Linux C library 5
1095 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h linux.h i386/linux.h"
1096 tmake_file="t-slibgcc-elf-ver t-linux t-linux-gnulibc1 i386/t-crtstuff"
1097 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
1100 if test x$enable_threads = xyes; then
1101 thread_file='single'
1104 i[34567]86-*-linux*) # Intel 80386's running GNU/Linux
1105 # with ELF format using glibc 2
1106 # aka GNU/Linux C library 6
1107 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h linux.h i386/linux.h"
1108 tmake_file="t-slibgcc-elf-ver t-linux i386/t-crtstuff"
1109 extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
1112 if test x$enable_threads = xyes; then
1117 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h linux.h \
1118 i386/x86-64.h i386/linux64.h"
1119 tmake_file="t-slibgcc-elf-ver t-linux i386/t-crtstuff i386/t-linux64"
1120 extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
1123 if test x$enable_threads = xyes; then
1130 i[34567]86-go32-msdos | i[34567]86-*-go32*)
1131 echo "GO32/DJGPP V1.X is no longer supported. Use *-pc-msdosdjgpp for DJGPP V2.X instead."
1134 i[34567]86-pc-msdosdjgpp*)
1135 xm_file=i386/xm-djgpp.h
1136 tm_file="dbxcoff.h ${tm_file} i386/djgpp.h"
1137 tmake_file=i386/t-djgpp
1142 case $host in *pc-msdosdjgpp*)
1147 i[34567]86-moss-msdos* | i[34567]86-*-moss*)
1148 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h linux.h i386/linux.h i386/moss.h"
1149 tmake_file=t-libc-ok
1153 i[34567]86-*-lynxos*)
1154 if test x$gas = xyes
1156 tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h lynx.h i386/lynx.h"
1158 tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h lynx-ng.h i386/lynx-ng.h"
1162 tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h i386/mach.h"
1163 # tmake_file=t-libc-ok
1166 i[34567]86-go32-rtems* | i[34567]86-*-rtemscoff*)
1167 # would otherwise be caught by i?86-*-rtems*
1168 echo "*** Configuration $machine not supported" 1>&2
1171 i[34567]86-*-rtems*)
1173 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/i386elf.h i386/rtemself.h rtems.h"
1174 extra_parts="crtbegin.o crtend.o crti.o crtn.o"
1175 tmake_file="i386/t-rtems-i386 i386/t-crtstuff t-rtems"
1176 if test x$enable_threads = xyes; then
1180 i[34567]86-*-sco3.2v5*) # 80386 running SCO Open Server 5
1182 install_headers_dir=install-headers-cpio
1183 tm_file="${tm_file} i386/unix.h i386/att.h i386/sco5.h"
1184 if test x$gas = xyes
1186 tm_file="usegas.h ${tm_file}"
1187 tmake_file=i386/t-sco5gas
1189 tmake_file=i386/t-sco5
1191 extra_parts="crti.o crtbegin.o crtend.o crtbeginS.o crtendS.o"
1193 i[34567]86-*-solaris2*)
1194 xm_defines="POSIX SMALL_ARG_MAX"
1195 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h sol2.h i386/sol2.h"
1196 tmake_file="i386/t-sol2 t-svr4"
1197 if test x$gnu_ld = xyes; then
1198 tmake_file="$tmake_file t-slibgcc-elf-ver"
1200 tmake_file="$tmake_file t-slibgcc-sld"
1202 extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"
1203 if test x${enable_threads} = x; then
1204 enable_threads=$have_pthread_h
1205 if test x${enable_threads} = x; then
1206 enable_threads=$have_thread_h
1209 if test x${enable_threads} = xyes; then
1210 if test x${have_pthread_h} = xyes; then
1213 thread_file='solaris'
1217 i[34567]86-*-sysv5*) # Intel x86 on System V Release 5
1219 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h i386/sysv5.h"
1220 if test x$stabs = xyes
1222 tm_file="${tm_file} dbx.h"
1224 tmake_file="i386/t-crtpic t-svr4"
1225 extra_parts="crtbegin.o crtend.o"
1226 if test x$enable_threads = xyes; then
1230 i[34567]86-*-sysv4*) # Intel 80386's running system V.4
1231 xm_defines="POSIX SMALL_ARG_MAX"
1232 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h i386/sysv4-cpp.h"
1233 if test x$stabs = xyes
1235 tm_file="${tm_file} dbx.h"
1237 tmake_file="i386/t-crtpic t-svr4"
1238 extra_parts="crtbegin.o crtend.o"
1240 i[34567]86-*-udk*) # Intel x86 on SCO UW/OSR5 Dev Kit
1242 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"
1243 tmake_file="i386/t-crtpic i386/t-udk t-svr4"
1244 extra_parts="crtbegin.o crtend.o"
1245 install_headers_dir=install-headers-cpio
1247 i[34567]86-*-sysv*) # Intel 80386's running system V
1249 if test x$gas = xyes
1251 if test x$stabs = xyes
1253 tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/svr3gas.h i386/svr3dbx.h"
1254 tmake_file=i386/t-svr3dbx
1255 extra_parts="svr3.ifile svr3z.ifile"
1257 tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/svr3gas.h"
1258 extra_parts="crtbegin.o crtend.o"
1259 tmake_file=i386/t-crtstuff
1262 tm_file="${tm_file} svr3.h i386/unix.h i386/att.h i386/sysv3.h"
1263 extra_parts="crtbegin.o crtend.o"
1264 tmake_file=i386/t-crtstuff
1266 tmake_file="$tmake_file i386/t-crtpic"
1268 i386-*-vsta) # Intel 80386's running VSTa kernel
1269 xm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/xm-vsta.h"
1270 tm_file="${tm_file} i386/vsta.h"
1274 xm_file=i386/xm-cygwin.h
1276 tmake_file=i386/t-cygwin
1277 tm_file="${tm_file} i386/win32.h"
1279 if test x$enable_threads = xyes; then
1284 i[34567]86-*-pe | i[34567]86-*-cygwin*)
1286 xm_file=i386/xm-cygwin.h
1288 tmake_file=i386/t-cygwin
1289 tm_file=i386/cygwin.h
1291 if test x$enable_threads = xyes; then
1296 i[34567]86-*-mingw32*)
1297 tm_file=i386/mingw32.h
1300 xm_file=i386/xm-mingw32.h
1301 tmake_file="i386/t-cygwin i386/t-mingw32"
1303 if test x$enable_threads = xyes; then
1309 tm_file="${tm_file} i386/crtdll.h"
1311 *minwg32msv* | *mingw32*)
1316 tm_file="i386/cygwin.h i386/uwin.h"
1317 tmake_file="i386/t-cygwin i386/t-uwin"
1319 if test x$enable_threads = xyes; then
1324 i[34567]86-*-interix3*)
1325 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"
1326 xm_file="i386/xm-i386-interix.h"
1328 tmake_file="t-interix i386/t-interix"
1329 extra_objs=interix.o
1330 xmake_file="x-interix"
1331 if test x$enable_threads = xyes ; then
1334 if test x$stabs = xyes ; then
1335 tm_file="${tm_file} dbxcoff.h"
1338 i[34567]86-*-interix*)
1339 tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/i386-interix.h interix.h"
1340 xm_file="i386/xm-i386-interix.h"
1342 tmake_file="t-interix i386/t-interix"
1343 extra_objs=interix.o
1344 if test x$enable_threads = xyes ; then
1347 if test x$stabs = xyes ; then
1348 tm_file="${tm_file} dbxcoff.h"
1351 i960-wrs-vxworks5 | i960-wrs-vxworks5.0*)
1352 tm_file="${tm_file} i960/vx960.h"
1353 tmake_file=i960/t-vxworks960
1355 thread_file='vxworks'
1356 c_target_objs="i960-c.o"
1357 cxx_target_objs="i960-c.o"
1359 i960-wrs-vxworks5* | i960-wrs-vxworks)
1360 tm_file="${tm_file} dbxcoff.h i960/i960-coff.h i960/vx960-coff.h"
1361 tmake_file=i960/t-vxworks960
1363 thread_file='vxworks'
1364 c_target_objs="i960-c.o"
1365 cxx_target_objs="i960-c.o"
1368 tm_file="${tm_file} i960/vx960.h"
1369 tmake_file=i960/t-vxworks960
1371 thread_file='vxworks'
1372 c_target_objs="i960-c.o"
1373 cxx_target_objs="i960-c.o"
1376 tm_file="${tm_file} dbxcoff.h i960/i960-coff.h libgloss.h"
1377 tmake_file=i960/t-960bare
1378 c_target_objs="i960-c.o"
1379 cxx_target_objs="i960-c.o"
1383 tmake_file="i960/t-960bare t-rtems"
1384 tm_file="${tm_file} dbxcoff.h i960/i960-coff.h i960/rtems.h rtems.h"
1385 if test x$enable_threads = xyes; then
1388 c_target_objs="i960-c.o"
1389 cxx_target_objs="i960-c.o"
1391 i960-*-*) # Default i960 environment.
1393 tmake_file=i960/t-960bare
1394 c_target_objs="i960-c.o"
1395 cxx_target_objs="i960-c.o"
1398 tm_file="${tm_file} dbxelf.h elfos.h svr4.h ia64/sysv4.h ia64/aix.h"
1399 tmake_file="ia64/t-ia64 ia64/t-aix"
1400 target_cpu_default="MASK_GNU_AS|MASK_GNU_LD"
1403 tm_file="${tm_file} dbxelf.h elfos.h ia64/sysv4.h ia64/elf.h"
1404 tmake_file="ia64/t-ia64"
1405 target_cpu_default="0"
1406 if test x$gas = xyes
1408 target_cpu_default="${target_cpu_default}|MASK_GNU_AS"
1410 if test x$gnu_ld = xyes
1412 target_cpu_default="${target_cpu_default}|MASK_GNU_LD"
1417 tm_file="${tm_file} dbxelf.h elfos.h ${fbsd_tm_file} ia64/sysv4.h ia64/freebsd.h"
1418 target_cpu_default="MASK_GNU_AS|MASK_GNU_LD"
1419 tmake_file="${tmake_file} ia64/t-ia64"
1423 tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h ia64/sysv4.h ia64/linux.h"
1424 tmake_file="t-slibgcc-elf-ver t-linux ia64/t-ia64 ia64/t-glibc"
1425 target_cpu_default="MASK_GNU_AS|MASK_GNU_LD"
1426 if test x$enable_threads = xyes; then
1432 tm_file="${tm_file} dbxelf.h elfos.h svr4.h ia64/sysv4.h ia64/hpux.h ia64/hpux_longdouble.h"
1433 tmake_file="ia64/t-ia64 ia64/t-hpux"
1434 target_cpu_default="MASK_GNU_AS"
1435 if test x$enable_threads = xyes; then
1444 tm_file="dbxelf.h elfos.h svr4.h ${tm_file}"
1445 extra_parts="crtinit.o crtfini.o"
1447 # m68hc11 and m68hc12 share the same machine description.
1448 m68hc11-*-*|m6811-*-*)
1449 tm_file="dbxelf.h elfos.h m68hc11/m68hc11.h"
1450 tm_p_file="m68hc11/m68hc11-protos.h"
1451 md_file="m68hc11/m68hc11.md"
1452 out_file="m68hc11/m68hc11.c"
1453 tmake_file="m68hc11/t-m68hc11-gas"
1455 m68hc12-*-*|m6812-*-*)
1456 tm_file="m68hc11/m68hc12.h dbxelf.h elfos.h m68hc11/m68hc11.h"
1457 tm_p_file="m68hc11/m68hc11-protos.h"
1458 md_file="m68hc11/m68hc11.md"
1459 out_file="m68hc11/m68hc11.c"
1460 tmake_file="m68hc11/t-m68hc11-gas"
1462 m68000-hp-bsd*) # HP 9000/200 running BSD
1463 tm_file=m68k/hp2bsd.h
1466 m68000-hp-hpux*) # HP 9000 series 300
1468 if test x$gas = xyes
1470 tm_file=m68k/hp310g.h
1472 tm_file=m68k/hp310.h
1474 tmake_file=m68k/t-hp320
1475 install_headers_dir=install-headers-cpio
1483 tm_file=m68k/sun2o4.h
1488 if test x$gas = xyes
1496 m68k-atari-sysv4*) # Atari variant of V.4.
1497 tm_file=m68k/atari.h
1500 extra_parts="crtbegin.o crtend.o"
1503 m68k-apollo-sysv* | m68k-bull-sysv*)
1504 # can otherwise be caught by m68k-*-sysv4*
1505 echo "*** Configuration $machine not supported" 1>&2
1508 m68k-motorola-sysv*)
1509 tm_file=m68k/mot3300.h
1511 if test x$gas = xyes
1513 if test x$gnu_ld = xyes
1515 tmake_file=m68k/t-mot3300-gald
1517 tmake_file=m68k/t-mot3300-gas
1521 if test x$gnu_ld = xyes
1523 tmake_file=m68k/t-mot3300-gld
1525 tmake_file=m68k/t-mot3300
1529 gdb_needs_out_file_path=yes
1530 extra_parts="crt0.o mcrt0.o"
1533 m68k-ncr-sysv*) # NCR Tower 32 SVR3
1534 tm_file=m68k/tower-as.h
1536 extra_parts="crtbegin.o crtend.o"
1539 tm_file=m68k/plexus.h
1552 m68k-cbm-sysv4*) # Commodore variant of V.4.
1556 extra_parts="crtbegin.o crtend.o"
1560 tm_file=m68k/ccur-GAS.h
1564 m68k-hp-bsd4.4*) # HP 9000/3xx running 4.4bsd
1565 tm_file=m68k/hp3bsd44.h
1569 m68k-hp-bsd*) # HP 9000/3xx running Berkeley Unix
1570 tm_file=m68k/hp3bsd.h
1574 m68k-hp-hpux7*) # HP 9000 series 300 running HPUX version 7.
1576 if test x$gas = xyes
1578 xmake_file=m68k/x-hp320g
1579 tm_file=m68k/hp320g.h
1581 xmake_file=m68k/x-hp320
1582 tm_file=m68k/hpux7.h
1584 install_headers_dir=install-headers-cpio
1588 m68k-hp-hpux*) # HP 9000 series 300
1590 if test x$gas = xyes
1592 xmake_file=m68k/x-hp320g
1593 tm_file=m68k/hp320g.h
1595 xmake_file=m68k/x-hp320
1596 tm_file=m68k/hp320.h
1598 install_headers_dir=install-headers-cpio
1603 tm_file=m68k/sun3mach.h
1608 if test x$with_fp = xno
1610 tm_file=m68k/sun3n3.h
1612 tm_file=m68k/sun3o3.h
1617 m68k-sun-sunos*) # For SunOS 4 (the default).
1618 if test x$with_fp = xno
1620 tm_file=m68k/sun3n.h
1628 tm_file=m68k/vxm68k.h
1629 tmake_file=m68k/t-vxworks68
1630 thread_file='vxworks'
1634 tmake_file=m68k/t-m68kbare
1635 tm_file="m68k/m68k-aout.h libgloss.h"
1639 tmake_file=m68k/t-m68kbare
1640 tm_file="m68k/m68k-coff.h dbx.h"
1643 m68020-*-elf* | m68k-*-elf*)
1644 tm_file="m68k/m68k-none.h m68k/m68kelf.h dbxelf.h elfos.h m68k/m68kemb.h m68k/m68020-elf.h"
1646 tmake_file=m68k/t-m68kelf
1647 extra_parts="crtbegin.o crtend.o"
1649 m68010-*-netbsdelf* | m68k*-*-netbsdelf*)
1650 tm_file="${tm_file} dbxelf.h elfos.h netbsd.h netbsd-elf.h m68k/netbsd-elf.h"
1653 target_cpu_default="0"
1656 target_cpu_default="MASK_68020|MASK_68881|MASK_BITFIELD"
1662 tm_file=m68k/netbsd.h
1668 # needed to unconfuse gdb
1669 tmake_file="t-libc-ok t-openbsd m68k/t-openbsd"
1671 # we need collect2 until our bug is fixed...
1674 m68k-*-sysv4*) # Motorola m68k's running system V.4
1675 tm_file=m68k/m68kv4.h
1678 extra_parts="crtbegin.o crtend.o"
1681 m68k-*-linux*aout*) # Motorola m68k's running GNU/Linux
1683 tm_file=m68k/linux-aout.h
1684 tmake_file="t-linux-aout m68k/t-linux-aout"
1688 m68k-*-linux*libc1) # Motorola m68k's running GNU/Linux
1689 # with ELF format using the
1690 # GNU/Linux C library 5
1691 tm_file=m68k/linux.h
1692 tmake_file="t-slibgcc-elf-ver t-linux t-linux-gnulibc1 m68k/t-linux"
1693 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
1697 m68k-*-linux*) # Motorola m68k's running GNU/Linux
1698 # with ELF format using glibc 2
1699 # aka the GNU/Linux C library 6.
1700 tm_file=m68k/linux.h
1701 tmake_file="t-slibgcc-elf-ver t-linux m68k/t-linux"
1702 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
1705 if test x$enable_threads = xyes; then
1710 tmake_file=m68k/t-m68kbare
1711 tm_file=m68k/m68k-psos.h
1714 m68k-*-rtemscoff*) # would otherwise be caught by m68k-*-rtems*
1715 echo "*** Configuration $machine not supported" 1>&2
1720 tmake_file="m68k/t-m68kbare t-rtems m68k/t-crtstuff"
1721 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"
1723 extra_parts="crtbegin.o crtend.o"
1724 if test x$enable_threads = xyes; then
1730 tm_file=m88k/m88k-aout.h
1733 tmake_file="${tmake_file} m88k/t-luna-gas"
1734 tm_file="m88k/aout-dbx.h aoutos.h m88k/m88k.h openbsd.h ${tm_file}"
1738 tm_file="dbxelf.h elfos.h svr4.h m88k/sysv4.h"
1739 extra_parts="crtbegin.o crtend.o"
1740 tmake_file=m88k/t-sysv4
1743 tm_file="dbxelf.h elfos.h svr4.h ${tm_file} mcore/mcore-elf.h"
1744 tmake_file=mcore/t-mcore
1747 tm_file=mcore/mcore-pe.h
1748 tmake_file=mcore/t-mcore-pe
1750 mips-sgi-irix6*o32) # SGI System V.4., IRIX 6, O32 ABI
1751 if test x$gas = xyes
1753 tm_file="mips/iris5.h mips/iris5gas.h mips/iris6-o32-gas.h"
1754 if test x$stabs = xyes
1756 tm_file="${tm_file} dbx.h"
1758 tmake_file=mips/t-iris5-gas
1760 tm_file="mips/iris5.h mips/iris6-o32-as.h"
1761 tmake_file=mips/t-iris5-as
1763 tm_file="${tm_file} mips/iris6-o32.h"
1764 tmake_file="${tmake_file} mips/t-iris mips/t-iris5-6"
1766 xm_file=mips/xm-iris5.h
1767 # mips-tfile doesn't work yet
1768 # See comment in mips/iris5.h file.
1770 # if test x$enable_threads = xyes; then
1771 # thread_file='irix'
1774 mips-sgi-irix6*) # SGI System V.4., IRIX 6
1775 if test "x$gnu_ld" = xyes
1777 tm_file="mips/iris6.h mips/iris6gld.h"
1779 tm_file=mips/iris6.h
1781 tmake_file="mips/t-iris mips/t-iris5-6 mips/t-iris6"
1783 # if test x$enable_threads = xyes; then
1784 # thread_file='irix'
1788 tm_file="mips/elf.h mips/vxworks.h"
1789 tmake_file=mips/t-ecoff
1792 extra_parts="crtbegin.o crtend.o"
1793 thread_file='vxworks'
1795 mips-sgi-irix5cross64) # Irix5 host, Irix 6 target, cross64
1796 tm_file="mips/iris6.h mips/cross64.h"
1798 xm_file=mips/xm-iris5.h
1799 tmake_file="mips/t-iris mips/t-cross64"
1800 # See comment in mips/iris[56].h files.
1802 # if test x$enable_threads = xyes; then
1803 # thread_file='irix'
1807 if test x$gas = xyes
1809 if test x$stabs = xyes
1811 tm_file=mips/iris5gdb.h
1813 tm_file="mips/sni-svr4.h mips/sni-gas.h"
1816 tm_file=mips/sni-svr4.h
1819 if test x$gnu_ld != xyes
1824 mips-sgi-irix5*) # SGI System V.4., IRIX 5
1825 if test x$gas = xyes
1827 tm_file="mips/iris5.h mips/iris5gas.h"
1828 if test x$stabs = xyes
1830 tm_file="${tm_file} dbx.h"
1832 tmake_file=mips/t-iris5-gas
1834 tm_file=mips/iris5.h
1835 tmake_file=mips/t-iris5-as
1837 tmake_file="${tmake_file} mips/t-iris mips/t-iris5-6"
1839 xm_file=mips/xm-iris5.h
1840 # mips-tfile doesn't work yet
1841 # See comment in mips/iris5.h file.
1843 # if test x$enable_threads = xyes; then
1844 # thread_file='irix'
1847 mips-sgi-*) # would otherwise be caught by mips-*-elf*
1848 echo "*** Configuration $machine not supported" 1>&2
1851 mips*-*-netbsd*) # NetBSD/mips, either endian.
1852 tm_file="elfos.h mips/netbsd.h"
1853 tmake_file="${tmake_file} mips/t-netbsd"
1855 mips*-*-linux*) # Linux MIPS, either endian.
1856 tm_file="dbxelf.h elfos.h svr4.h linux.h mips/linux.h"
1859 tm_file="$tm_file mips/isa32-linux.h"
1860 target_cpu_default="MASK_SOFT_FLOAT"
1863 tmake_file="t-slibgcc-elf-ver t-linux mips/t-linux"
1864 extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
1867 if test x$enable_threads = xyes; then
1871 mips*el-*-openbsd*) # mips little endian
1872 target_cpu_default="MASK_GAS|MASK_ABICALLS"
1874 mips*-*-openbsd*) # mips big endian
1875 target_cpu_default="MASK_GAS|MASK_ABICALLS"
1876 tm_file="mips/openbsd-be.h ${tm_file}"
1878 mips-*-ecoff* | mipsel-*-ecoff*)
1879 tm_file="gofast.h mips/ecoff.h"
1880 if test x$stabs = xyes; then
1881 tm_file="${tm_file} dbx.h"
1883 tmake_file=mips/t-ecoff
1885 mipsisa32-*-elf* | mipsisa32el-*-elf*)
1886 tm_file="mips/isa3264.h mips/abi64.h"
1887 tmake_file=mips/t-isa3264
1888 target_cpu_default="MASK_SOFT_FLOAT"
1890 mipsisa64-*-elf* | mipsisa64el-*-elf*)
1891 tm_file="mips/isa3264.h mips/abi64.h"
1892 tmake_file=mips/t-isa3264
1893 target_cpu_default="MASK_64BIT|MASK_FLOAT64|MASK_GAS"
1894 tm_defines="MIPS_ISA_DEFAULT=64"
1896 mips-*-elf* | mipsel-*-elf*)
1897 tm_file="mips/elf.h"
1898 tmake_file=mips/t-elf
1900 mips64-*-elf* | mips64el-*-elf*)
1901 tm_file="mips/elf64.h"
1902 tmake_file=mips/t-elf
1904 mips64orion-*-elf* | mips64orionel-*-elf*)
1905 tm_file="mips/elforion.h mips/elf64.h"
1906 tmake_file=mips/t-elf
1908 mips64orion-*-rtems*)
1910 tm_file="mips/elforion.h mips/elf64.h mips/rtems64.h rtems.h"
1911 tmake_file="mips/t-elf t-rtems"
1912 if test x$enable_threads = xyes; then
1918 tm_file="mips/elf.h mips/rtems.h rtems.h"
1919 tmake_file="mips/t-elf t-rtems"
1920 if test x$enable_threads = xyes; then
1924 mipstx39-*-elf* | mipstx39el-*-elf*)
1925 tm_file="mips/r3900.h mips/elf.h mips/abi64.h"
1926 tmake_file=mips/t-r3900
1928 mmix-knuth-mmixware)
1932 tm_file="dbxelf.h elfos.h svr4.h ${tm_file}"
1933 if test x$stabs = xyes
1935 tm_file="${tm_file} dbx.h"
1940 tm_file="dbxelf.h elfos.h svr4.h ${tm_file}"
1941 if test x$stabs = xyes
1943 tm_file="${tm_file} dbx.h"
1948 echo "GCC does not yet support the ${machine} target"; exit 1
1951 tm_file="${tm_file} netbsd.h netbsd-aout.h ns32k/netbsd.h"
1952 # On NetBSD, the headers are already okay, except for math.h.
1957 tm_file="${tm_file} pdp11/2bsd.h"
1970 tmake_file="${tmake_file} rs6000/t-rs6000 rs6000/t-openbsd"
1974 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/linux64.h"
1975 out_file=rs6000/rs6000.c
1976 tmake_file="rs6000/t-rs6000 t-slibgcc-elf-ver t-linux rs6000/t-linux64"
1979 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"
1980 out_file=rs6000/rs6000.c
1981 tmake_file="rs6000/t-rs6000 t-slibgcc-elf-ver t-gnu rs6000/t-linux64"
1984 tm_file="${tm_file} rs6000/aix.h rs6000/beos.h rs6000/xcoff.h"
1986 tmake_file=rs6000/t-beos
1990 tm_file="${tm_file} darwin.h rs6000/darwin.h"
1991 tm_p_file="${tm_p_file} darwin-protos.h"
1992 tmake_file=rs6000/t-darwin
1993 extra_objs="darwin.o"
1994 target_gtfiles="\$(srcdir)/config/darwin.c"
1995 c_target_objs="darwin-c.o"
1996 cxx_target_objs="darwin-c.o"
1997 # Darwin linker does collect2 functionality
1999 extra_headers=altivec.h
2001 powerpc*-*-freebsd*)
2002 tm_file="${tm_file} dbxelf.h elfos.h ${fbsd_tm_file} rs6000/sysv4.h rs6000/freebsd.h"
2003 xm_file=rs6000/xm-sysv4.h
2004 out_file=rs6000/rs6000.c
2005 tmake_file="rs6000/t-ppcos ${tmake_file} rs6000/t-ppccomm"
2008 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h"
2010 tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
2013 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/netbsd.h"
2014 tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
2016 powerpc-*-chorusos*)
2018 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h chorus.h"
2019 tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
2020 case x${enable_threads} in
2021 xyes | xpthreads | xposix)
2028 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/eabi.h rs6000/eabiaix.h"
2029 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2033 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/eabi.h rs6000/eabispe.h"
2034 tmake_file="rs6000/t-ppcendian rs6000/t-ppccomm"
2036 powerpc-*-eabisimaltivec*)
2038 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"
2039 tmake_file="rs6000/t-ppcendian rs6000/t-ppccomm"
2043 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/eabi.h rs6000/eabisim.h"
2044 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2048 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h"
2049 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2051 powerpc-*-eabialtivec*)
2053 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/eabi.h rs6000/eabialtivec.h"
2054 tmake_file="rs6000/t-ppcendian rs6000/t-ppccomm"
2058 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/eabi.h"
2059 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2063 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/eabi.h rs6000/rtems.h rtems.h"
2064 tmake_file="rs6000/t-ppcgas t-rtems rs6000/t-ppccomm"
2065 if test x$enable_threads = xyes; then
2069 powerpc-*-linux*libc1)
2070 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/linux.h"
2071 out_file=rs6000/rs6000.c
2072 tmake_file="rs6000/t-ppcos t-slibgcc-elf-ver t-linux t-linux-gnulibc1 rs6000/t-ppccomm"
2073 if test x$enable_threads = xyes; then
2077 powerpc-*-linux-gnualtivec*)
2078 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/linux.h rs6000/linuxaltivec.h"
2079 out_file=rs6000/rs6000.c
2080 tmake_file="rs6000/t-ppcos t-slibgcc-elf-ver t-linux rs6000/t-ppccomm"
2081 if test x$enable_threads = xyes; then
2086 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/linux.h"
2087 out_file=rs6000/rs6000.c
2088 tmake_file="rs6000/t-ppcos t-slibgcc-elf-ver t-linux rs6000/t-ppccomm"
2089 if test x$enable_threads = xyes; then
2093 powerpc-*-gnu-gnualtivec*)
2094 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"
2095 out_file=rs6000/rs6000.c
2096 tmake_file="rs6000/t-ppcos t-slibgcc-elf-ver t-gnu rs6000/t-ppccomm"
2097 if test x$enable_threads = xyes; then
2102 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"
2103 out_file=rs6000/rs6000.c
2104 tmake_file="rs6000/t-ppcos t-slibgcc-elf-ver t-gnu rs6000/t-ppccomm"
2105 if test x$enable_threads = xyes; then
2109 powerpc-wrs-vxworks*)
2111 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/vxppc.h"
2112 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2113 thread_file='vxworks'
2115 powerpc-wrs-windiss*)
2117 tm_file="${tm_file} elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/windiss.h"
2118 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2121 powerpcle-wrs-vxworks*)
2123 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/vxppc.h"
2124 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2125 thread_file='vxworks'
2128 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/sysv4le.h"
2130 tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
2134 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/sysv4le.h"
2135 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2137 powerpcle-*-eabisim*)
2139 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"
2140 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2144 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/eabi.h"
2145 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2147 rs6000-ibm-aix3.[01]*)
2149 tm_file="${tm_file} rs6000/aix.h rs6000/aix31.h rs6000/xcoff.h"
2153 rs6000-ibm-aix3.2.[456789]* | powerpc-ibm-aix3.2.[456789]*)
2155 tm_file="${tm_file} rs6000/aix.h rs6000/aix3newas.h rs6000/xcoff.h"
2156 tmake_file=rs6000/t-newas
2161 rs6000-ibm-aix4.[12]* | powerpc-ibm-aix4.[12]*)
2163 tm_file="${tm_file} rs6000/aix.h rs6000/aix41.h rs6000/xcoff.h"
2164 tmake_file=rs6000/t-newas
2169 rs6000-ibm-aix4.[3456789]* | powerpc-ibm-aix4.[3456789]*)
2171 tm_file="${tm_file} rs6000/aix.h rs6000/aix43.h rs6000/xcoff.h"
2172 tmake_file=rs6000/t-aix43
2178 rs6000-ibm-aix[56789].* | powerpc-ibm-aix[56789].*)
2180 tm_file="${tm_file} rs6000/aix.h rs6000/aix51.h rs6000/xcoff.h"
2181 tmake_file=rs6000/t-aix43
2189 tm_file="${tm_file} rs6000/aix.h rs6000/xcoff.h"
2195 tm_file="${tm_file} rs6000/aix.h rs6000/xcoff.h"
2200 tm_file="${tm_file} rs6000/mach.h"
2205 tm_file="lynx.h rs6000/lynx.h"
2206 tmake_file=rs6000/t-rs6000
2210 tm_file="s390/s390.h dbxelf.h elfos.h svr4.h linux.h s390/linux.h"
2211 tmake_file="t-slibgcc-elf-ver t-linux s390/t-linux"
2212 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o"
2213 if test x$enable_threads = xyes; then
2218 tm_file="s390/s390x.h s390/s390.h dbxelf.h elfos.h svr4.h linux.h s390/linux.h"
2219 tm_p_file=s390/s390-protos.h
2220 md_file=s390/s390.md
2221 extra_modes=s390/s390-modes.def
2222 out_file=s390/s390.c
2223 tmake_file="t-slibgcc-elf-ver t-linux s390/t-linux s390/t-linux64"
2224 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o"
2225 if test x$enable_threads = xyes; then
2229 sh-*-elf* | sh[2346l]*-*-elf*)
2230 tmake_file="sh/t-sh sh/t-elf"
2233 tm_file="sh/little.h ${tm_file}"
2234 tmake_file="${tmake_file} sh/t-le"
2237 tm_file="${tm_file} dbxelf.h elfos.h svr4.h sh/embed-elf.h"
2241 tmake_file="${tmake_file} sh/t-sh64"
2242 tm_file="${tm_file} sh/sh64.h"
2243 extra_headers="shmedia.h ushmedia.h sshmedia.h"
2245 sh4_single*) target_cpu_default="SELECT_SH4_SINGLE" ;;
2246 sh4*) target_cpu_default="SELECT_SH4" ;;
2247 sh3e*) target_cpu_default="SELECT_SH3E" ;;
2248 sh3*) target_cpu_default="SELECT_SH3" ;;
2249 sh2*) target_cpu_default="SELECT_SH2" ;;
2252 sh[234]*) tmake_file="${tmake_file} sh/t-monolib" ;;
2257 tmake_file="sh/t-sh sh/t-elf t-rtems"
2258 tm_file="${tm_file} dbxelf.h elfos.h svr4.h sh/embed-elf.h sh/rtemself.h rtems.h"
2260 if test x$enable_threads = xyes; then
2266 tmake_file="sh/t-sh t-rtems"
2267 tm_file="${tm_file} sh/coff.h sh/rtems.h rtems.h"
2269 if test x$enable_threads = xyes; then
2273 sh-*-linux* | sh[2346lbe]*-*-linux*)
2274 tmake_file="sh/t-sh sh/t-elf sh/t-linux"
2276 sh*be-*-* | sh*eb-*-*) ;;
2278 tm_file="sh/little.h ${tm_file}"
2279 tmake_file="${tmake_file} sh/t-le"
2282 tm_file="${tm_file} dbxelf.h elfos.h svr4.h sh/elf.h sh/linux.h"
2284 if test x$enable_threads = xyes; then
2290 tmake_file="${tmake_file} sh/t-sh64"
2291 tm_file="${tm_file} sh/sh64.h"
2292 extra_headers="shmedia.h ushmedia.h sshmedia.h"
2294 sh4_single*) target_cpu_default="SELECT_SH4_SINGLE" ;;
2295 sh4*) target_cpu_default="SELECT_SH4" ;;
2296 sh3e[lb]e*) target_cpu_default="SELECT_SH3E" ;;
2297 sh3e[lb]*) target_cpu_default="SELECT_SH3" ;;
2298 sh3e*) target_cpu_default="SELECT_SH3E" ;;
2299 sh3*) target_cpu_default="SELECT_SH3" ;;
2300 sh2*) target_cpu_default="SELECT_SH2" ;;
2303 sh[234]*) tmake_file="${tmake_file} sh/t-monolib" ;;
2306 sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
2307 sh64-*-netbsd* | sh64l*-*-netbsd*)
2308 tm_file="${tm_file} dbxelf.h elfos.h sh/elf.h netbsd.h netbsd-elf.h sh/netbsd-elf.h"
2309 tmake_file="${tmake_file} sh/t-sh sh/t-elf"
2312 tm_file="sh/little.h ${tm_file}"
2313 tmake_file="${tmake_file} sh/t-le"
2316 tmake_file="${tmake_file} sh/t-be"
2321 # SHmedia, 32-bit ABI
2322 target_cpu_default="SH5_BIT|SH4_BIT|SH3E_BIT"
2323 tmake_file="${tmake_file} sh/t-sh64 sh/t-netbsd-sh5"
2326 # SHmedia, 64-bit ABI
2327 target_cpu_default="SH5_BIT|SH4_BIT"
2328 tmake_file="${tmake_file} sh/t-sh64 sh/t-netbsd-sh5 sh/t-netbsd-sh5-64"
2331 # SH3, software floating point
2332 target_cpu_default="SH1_BIT|SH2_BIT|SH3_BIT"
2333 tmake_file="${tmake_file} sh/t-netbsd"
2339 tm_file="${tm_file} sh/coff.h"
2343 tm_file="${tm_file} sparc/pbd.h"
2346 sparc64-wrs-vxworks*)
2347 tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sol2.h sparc/sol2.h sparc/elf.h sparc/biarch64.h gofast.h sparc/vxsparc64.h"
2348 tmake_file="sparc/t-vxsparc64 sparc/t-crtfm"
2351 sparc-wrs-vxworks* | sparclite-wrs-vxworks*)
2352 tm_file="${tm_file} aoutos.h sparc/aout.h gofast.h sparc/vxsparc.h"
2353 tmake_file=sparc/t-vxsparc
2355 thread_file='vxworks'
2358 tmake_file=sparc/t-sparcbare
2359 tm_file="sparc/sparc.h aoutos.h sparc/aout.h libgloss.h"
2362 tm_file="${tm_file} elfos.h svr4.h sparc/sysv4.h netbsd.h netbsd-elf.h sparc/netbsd-elf.h"
2365 tm_file="${tm_file} sparc/aout.h netbsd.h netbsd-aout.h sparc/netbsd.h"
2370 tm_file="sparc/sparc.h ${tm_file}"
2371 # needed to unconfuse gdb
2372 tmake_file="t-libc-ok t-openbsd sparc/t-openbsd"
2373 # we need collect2 until our bug is fixed...
2377 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"
2378 xm_file=sparc/xm-sp64.h
2384 tm_file="${tm_file} sparc/bsd.h"
2387 tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sol2.h sparc/sol2.h sparc/elf.h chorus.h"
2388 tmake_file="sparc/t-chorus-elf sparc/t-crtfm"
2389 extra_parts="crti.o crtn.o crtbegin.o crtend.o"
2391 case x${enable_threads} in
2392 xyes | xpthreads | xposix)
2398 tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sol2.h sparc/sol2.h sparc/elf.h"
2399 tmake_file="sparc/t-elf sparc/t-crtfm"
2400 extra_parts="crti.o crtn.o crtbegin.o crtend.o"
2404 sparc-*-linux*aout*) # Sparc's running GNU/Linux, a.out
2405 tm_file="aoutos.h sparc/sparc.h sparc/aout.h sparc/linux-aout.h"
2408 sparc-*-linux*libc1*) # Sparc's running GNU/Linux, libc5
2409 tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/linux.h"
2410 tmake_file="t-slibgcc-elf-ver t-linux t-linux-gnulibc1 sparc/t-crtfm"
2411 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
2415 sparc-*-linux*) # Sparc's running GNU/Linux, libc6
2416 tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/linux.h"
2417 tmake_file="t-slibgcc-elf-ver t-linux sparc/t-crtfm"
2418 extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
2420 if test x$enable_threads = xyes; then
2426 if test x$gas = xyes
2428 tm_file="${tm_file} lynx.h sparc/aout.h sparc/lynx.h"
2430 tm_file="${tm_file} lynx-ng.h sparc/aout.h sparc/lynx-ng.h"
2432 tmake_file=sparc/t-sunos41
2434 sparc-*-rtemsaout*) # would otherwise be caught by sparc-*-rtems*
2435 echo "*** Configuration $machine not supported" 1>&2
2440 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"
2441 tmake_file="sparc/t-elf sparc/t-crtfm t-rtems"
2442 extra_parts="crti.o crtn.o crtbegin.o crtend.o"
2445 if test x$enable_threads = xyes; then
2449 sparc64-*-solaris2* | sparcv9-*-solaris2*)
2450 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"
2451 if test x$gnu_ld = xyes; then
2452 tm_file="${tm_file} sparc/sol2-gld.h sparc/sol2-gld-bi.h"
2454 if test x$gas = xyes; then
2455 tm_file="${tm_file} sparc/sol2-gas-bi.h"
2458 tmake_file="sparc/t-sol2 sparc/t-sol2-64 sparc/t-crtfm"
2459 if test x$gnu_ld = xyes; then
2460 tmake_file="$tmake_file t-slibgcc-elf-ver"
2462 tmake_file="$tmake_file t-slibgcc-sld"
2464 extra_parts="crt1.o crti.o crtn.o gcrt1.o crtbegin.o crtend.o"
2466 if test x${enable_threads} = x ; then
2467 enable_threads=$have_pthread_h
2468 if test x${enable_threads} = x ; then
2469 enable_threads=$have_thread_h
2472 if test x${enable_threads} = xyes ; then
2473 if test x${have_pthread_h} = xyes ; then
2476 thread_file='solaris'
2480 sparc-hal-solaris2*)
2482 tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sol2.h sparc/sol2.h sparc/hal.h"
2483 tmake_file="sparc/t-halos sparc/t-sol2 sparc/t-crtfm"
2484 if test x$gnu_ld = xyes; then
2485 tm_file="${tm_file} sparc/sol2-gld.h"
2486 tmake_file="$tmake_file t-slibgcc-elf-ver"
2488 tmake_file="$tmake_file t-slibgcc-sld"
2490 extra_parts="crt1.o crti.o crtn.o gmon.o crtbegin.o crtend.o"
2492 thread_file='solaris'
2495 tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sol2.h sparc/sol2.h"
2496 if test x$gnu_ld = xyes; then
2497 tm_file="${tm_file} sparc/sol2-gld.h"
2499 tmake_file="sparc/t-sol2 sparc/t-crtfm"
2500 if test x$gnu_ld = xyes; then
2501 tmake_file="$tmake_file t-slibgcc-elf-ver"
2503 tmake_file="$tmake_file t-slibgcc-sld"
2506 *-*-solaris2.[0-6] | *-*-solaris2.[0-6].*)
2507 if test x$gnu_ld = xno; then
2508 tm_file="${tm_file} sparc/sol26-sld.h"
2512 tm_file="sparc/biarch64.h ${tm_file} sparc/sol2-bi.h"
2513 if test x$gnu_ld = xyes; then
2514 tm_file="${tm_file} sparc/sol2-gld-bi.h"
2516 if test x$gas = xyes; then
2517 tm_file="${tm_file} sparc/sol2-gas-bi.h"
2519 tmake_file="$tmake_file sparc/t-sol2-64"
2523 extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"
2525 if test x${enable_threads} = x; then
2526 enable_threads=$have_pthread_h
2527 if test x${enable_threads} = x; then
2528 enable_threads=$have_thread_h
2531 if test x${enable_threads} = xyes; then
2532 if test x${have_pthread_h} = xyes; then
2535 thread_file='solaris'
2540 tm_file="${tm_file} sparc/aout.h sparc/sunos4.h"
2544 tm_file="${tm_file} sparc/aout.h sparc/sunos4.h"
2545 tmake_file=sparc/t-sunos41
2547 if test x$gas = xyes; then
2548 tm_file="${tm_file} sparc/sun4gas.h"
2552 tm_file="${tm_file} sparc/aout.h sparc/sun4o3.h"
2556 tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h"
2559 extra_parts="crtbegin.o crtend.o"
2563 tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/vxsim.h"
2564 tmake_file=sparc/t-vxsparc
2567 tm_file="${tm_file} aoutos.h sparc/aout.h sparc/splet.h libgloss.h"
2568 tmake_file=sparc/t-splet
2571 tm_file="${tm_file} gofast.h sparc/lite.h svr3.h sparc/litecoff.h dbxcoff.h libgloss.h"
2572 tmake_file=sparc/t-sparclite
2575 tm_file="${tm_file} gofast.h sparc/aout.h sparc/lite.h aoutos.h libgloss.h"
2576 tmake_file=sparc/t-sparclite
2579 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"
2580 tmake_file="sparc/t-sparclite sparc/t-crtfm"
2581 extra_parts="crtbegin.o crtend.o"
2584 tm_file="${tm_file} gofast.h sparc/aout.h sparc/sp86x-aout.h aoutos.h libgloss.h"
2585 tmake_file=sparc/t-sp86x
2588 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"
2589 tmake_file="sparc/t-sp86x sparc/t-crtfm"
2590 extra_parts="crtbegin.o crtend.o"
2593 tm_file="sparc/sparc.h aoutos.h sparc/aout.h sparc/sp64-aout.h"
2596 tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sol2.h sparc/sol2.h sparc/sp64-elf.h"
2597 tmake_file="${tmake_file} sparc/t-crtfm"
2598 extra_parts="crtbegin.o crtend.o"
2600 sparc64-*-freebsd*|ultrasparc-*-freebsd*)
2601 tm_file="${tm_file} ${fbsd_tm_file} dbxelf.h elfos.h sparc/sysv4.h sparc/freebsd.h"
2602 tmake_file="${tmake_file} sparc/t-crtfm"
2604 case "x$with_cpu" in
2606 x) with_cpu=ultrasparc ;;
2607 *) echo "$with_cpu not supported for freebsd target"; exit 1 ;;
2610 sparc64-*-linux*) # 64-bit Sparc's running GNU/Linux
2611 tmake_file="t-slibgcc-elf-ver t-linux sparc/t-linux64 sparc/t-crtfm"
2612 tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/linux64.h"
2613 extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
2615 if test x$enable_threads = xyes; then
2621 tmake_file="${tmake_file} sparc/t-netbsd64"
2622 tm_file="sparc/biarch64.h ${tm_file}"
2623 tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h netbsd.h netbsd-elf.h sparc/netbsd-elf.h"
2627 tm_file="arm/strongarm-elf.h dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h"
2628 tmake_file=arm/t-strongarm-elf
2631 extra_modes=arm/arm-modes.def
2634 tm_file="arm/semi.h arm/aout.h arm/coff.h arm/strongarm-coff.h arm/arm.h"
2635 tmake_file=arm/t-strongarm-coff
2638 extra_modes=arm/arm-modes.def
2641 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"
2642 tmake_file=arm/t-strongarm-pe
2645 extra_modes=arm/arm-modes.def
2649 { echo "config.gcc: error:
2650 *** The Thumb targets have been deprecated. The equivalent
2651 *** ARM based toolchain can now generate Thumb instructions
2652 *** when the -mthumb switch is given to the compiler." 1>&2; exit 1; }
2656 tm_file="dbxelf.h elfos.h svr4.h ${tm_file} v850/v850.h v850/rtems.h rtems.h"
2657 tmake_file="v850/t-v850 t-rtems"
2658 if test x$stabs = xyes
2660 tm_file="${tm_file} dbx.h"
2663 c_target_objs="v850-c.o"
2664 cxx_target_objs="v850-c.o"
2667 target_cpu_default="TARGET_CPU_generic"
2668 tm_file="dbxelf.h elfos.h svr4.h ${tm_file}"
2669 tmake_file=v850/t-v850
2670 if test x$stabs = xyes
2672 tm_file="${tm_file} dbx.h"
2675 c_target_objs="v850-c.o"
2676 cxx_target_objs="v850-c.o"
2678 vax-*-bsd*) # VAXen running BSD
2679 tm_file="${tm_file} vax/bsd.h"
2683 vax-*-sysv*) # VAXen running system V
2684 tm_file="${tm_file} vax/vaxv.h"
2689 echo "GCC does not yet support the ${machine} target"; exit 1
2692 tm_file="${tm_file} netbsd.h netbsd-aout.h vax/netbsd.h"
2698 tm_file="vax/vax.h vax/openbsd1.h openbsd.h ${tm_file}"
2702 vax-*-ultrix*) # VAXen running ultrix
2703 tm_file="${tm_file} vax/ultrix.h"
2706 vax-*-vms*) # VAXen running VMS
2707 xm_file=vax/xm-vms.h
2711 vax-*-*) # VAX default entry
2715 tm_file="arm/xscale-elf.h dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h"
2716 tmake_file=arm/t-xscale-elf
2719 extra_modes=arm/arm-modes.def
2722 tm_file="arm/semi.h arm/aout.h arm/coff.h arm/xscale-coff.h arm/arm.h"
2723 tmake_file=arm/t-xscale-coff
2726 extra_modes=arm/arm-modes.def
2729 # For historical reasons, the target files omit the 'x'.
2730 tm_file="dbxelf.h elfos.h svr4.h stormy16/stormy16.h"
2731 tm_p_file=stormy16/stormy16-protos.h
2732 md_file=stormy16/stormy16.md
2733 out_file=stormy16/stormy16.c
2734 tmake_file="stormy16/t-stormy16"
2735 extra_parts="crtbegin.o crtend.o"
2738 tm_file="${tm_file} dbxelf.h elfos.h svr4.h xtensa/elf.h"
2740 tmake_file=xtensa/t-xtensa
2741 extra_parts="crtbegin.o crtend.o"
2742 fixincludes=Makefile.in # newlib headers should be OK
2745 tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h xtensa/linux.h"
2746 tmake_file="t-linux xtensa/t-xtensa"
2747 extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
2749 if test x$enable_threads = xyes; then
2754 echo "*** Configuration $machine not supported" 1>&2
2761 install_headers_dir=install-headers-cpio
2765 # Distinguish i[34567]86
2766 # Also, do not run mips-tfile on MIPS if using gas.
2767 # Process --with-cpu= for PowerPC/rs6000
2768 target_cpu_default2=
2771 target_cpu_default2=TARGET_CPU_DEFAULT_i486
2774 case $target_alias in
2776 target_cpu_default2=TARGET_CPU_DEFAULT_k6_2
2779 target_cpu_default2=TARGET_CPU_DEFAULT_k6_3
2782 target_cpu_default2=TARGET_CPU_DEFAULT_k6
2785 target_cpu_default2=TARGET_CPU_DEFAULT_pentium_mmx
2788 target_cpu_default2=TARGET_CPU_DEFAULT_pentium
2792 i686-*-* | i786-*-*)
2793 case $target_alias in
2794 athlon_xp-*|athlon_mp-*|athlon_4-*)
2795 target_cpu_default2=TARGET_CPU_DEFAULT_athlon_sse
2797 athlon_tbird-*|athlon-*)
2798 target_cpu_default2=TARGET_CPU_DEFAULT_athlon
2801 target_cpu_default2=TARGET_CPU_DEFAULT_pentium2
2804 target_cpu_default2=TARGET_CPU_DEFAULT_pentium3
2807 target_cpu_default2=TARGET_CPU_DEFAULT_pentium4
2810 target_cpu_default2=TARGET_CPU_DEFAULT_pentiumpro
2815 # We should have hammer chip here, but it does not exist yet and
2816 # thus it is not supported. Athlon_SSE is probably equivalent feature
2817 # wise to hammer from our point of view except for 64bit mode.
2818 target_cpu_default2=TARGET_CPU_DEFAULT_athlon_sse
2823 target_cpu_default2="MASK_CPU_EV6|MASK_BWX|MASK_MAX|MASK_FIX|MASK_CIX"
2826 target_cpu_default2="MASK_CPU_EV6|MASK_BWX|MASK_MAX|MASK_FIX"
2829 target_cpu_default2="MASK_CPU_EV5|MASK_BWX|MASK_MAX"
2832 target_cpu_default2="MASK_CPU_EV5|MASK_BWX"
2835 target_cpu_default2="MASK_CPU_EV5"
2839 if test x$gas = xyes
2841 if test "$target_cpu_default2" = ""
2843 target_cpu_default2="MASK_GAS"
2845 target_cpu_default2="${target_cpu_default2}|MASK_GAS"
2850 case "x$with_cpu" in
2853 target_cpu_default2="TARGET_CPU_generic"
2856 # Distinguish cores, and major variants
2857 # arm7m doesn't exist, but D & I don't affect code
2858 xarm[236789] | xarm250 | xarm[67][01]0 \
2859 | xarm7m | xarm7dm | xarm7dmi | xarm[79]tdmi \
2860 | xarm7100 | xarm7500 | xarm7500fe | xarm810 \
2862 | xstrongarm | xstrongarm110 | xstrongarm1100)
2863 target_cpu_default2="TARGET_CPU_$with_cpu"
2867 echo "--with-cpu must be passed a value" 1>&2
2872 if test x$pass2done = xyes
2874 echo "Unknown cpu used with --with-cpu=$with_cpu" 1>&2
2881 hppa*-*-* | parisc*-*-*)
2882 if test x$gas = xyes
2884 target_cpu_default2="MASK_GAS|MASK_JUMP_IN_DELAY"
2888 tm_defines="TARGET_SCHED_DEFAULT=\\\"7100LC\\\""
2894 mips*-*-ecoff* | mips*-*-elf*)
2895 if test x$gas = xyes
2897 if test x$gnu_ld = xyes
2899 target_cpu_default2="MASK_GAS|MASK_SPLIT_ADDR"
2901 target_cpu_default2="MASK_GAS"
2906 if test x$gas = xyes
2908 target_cpu_default2="MASK_GAS"
2914 tm_defines="TARGET_ENDIAN_DEFAULT=0 $tm_defines"
2918 powerpc*-*-* | rs6000-*-*)
2919 if test x$enable_altivec = xyes
2921 tm_file="$tm_file rs6000/altivec-defs.h"
2923 case "x$with_cpu" in
2927 xcommon | xpower | xpower2 | xpower3 | xpowerpc | xpowerpc64 \
2928 | xrios | xrios1 | xrios2 | xrsc | xrsc1 | xrs64a \
2929 | x601 | x602 | x603 | x603e | x604 | x604e | x620 | x630 \
2930 | x740 | x750 | x7400 | x7450 | x505)
2931 target_cpu_default2="\\\"$with_cpu\\\""
2934 x401 | x403 | x405 | xec603e | x801 | x821 | x823 | x860)
2935 target_cpu_default2="\\\"$with_cpu\\\""
2939 echo "--with-cpu must be passed a value" 1>&2
2944 if test x$pass2done = xyes
2946 echo "Unknown cpu used with --with-cpu=$with_cpu" 1>&2
2951 c_target_objs="${c_target_objs} rs6000-c.o"
2952 cxx_target_objs="${cxx_target_objs} rs6000-c.o"
2953 tmake_file="${tmake_file} rs6000/t-rs6000-c-rule"
2956 case ".$with_cpu" in
2958 target_cpu_default2=TARGET_CPU_"`echo $machine | sed 's/-.*$//'`"
2960 .supersparc | .hypersparc | .ultrasparc | .v7 | .v8 | .v9)
2961 target_cpu_default2="TARGET_CPU_$with_cpu"
2964 if test x$pass2done = xyes
2966 echo "Unknown cpu used with --with-cpu=$with_cpu" 1>&2
2974 if test "$target_cpu_default2" != ""
2976 if test "$target_cpu_default" != ""
2978 target_cpu_default="(${target_cpu_default}|${target_cpu_default2})"
2980 target_cpu_default=$target_cpu_default2
2984 # Save data on machine being used to compile GCC in build_xm_file.
2985 # Save data on host machine in vars host_xm_file and host_xmake_file.
2986 if test x$pass1done = x
2988 if test x$xm_file != x
2989 then build_xm_file=$xm_file
2991 build_xm_defines=$xm_defines
2992 build_install_headers_dir=$install_headers_dir
2993 build_exeext=$exeext
2996 if test x$pass2done = x
2998 if test x$xm_file != x
2999 then host_xm_file=$xm_file
3001 host_xm_defines=$xm_defines
3002 host_xmake_file="$xmake_file"
3003 host_truncate_target=$truncate_target
3004 host_extra_gcc_objs=$extra_gcc_objs
3005 host_extra_objs=$extra_host_objs