1 # GCC build-, host- and target-specific configuration file.
2 # Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003
3 # Free Software Foundation, Inc.
5 #This file is part of GCC.
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
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
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
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.
30 # This file switches on the shell variable ${machine}, and also uses the
31 # following shell variables:
33 # with_* Various variables as set by configure.
35 # enable_threads_flag Either the name, yes or no depending on whether
36 # threads support was requested.
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.
43 # gas_flag Either yes or no depending on whether GNU as was
46 # gnu_ld_flag Either yes or no depending on whether GNU ld was
49 # This file sets the following shell variables for use by the
50 # autoconf-generated configure script:
52 # cpu_type The name of the cpu, if different from machine.
54 # tm_defines List of target macros to define for all compilations.
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}.
67 # tm_p_file Location of file with declarations for functions
70 # out_file The name of the machine description C support
71 # file, if different from "$cpu_type/$cpu_type.c".
73 # md_file The name of the machine-description file, if
74 # different from "$cpu_type/$cpu_type.md".
76 # tmake_file A list of machine-description-specific
77 # makefile-fragments, if different from
78 # "$cpu_type/t-$cpu_type".
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".
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 # out_host_hook_obj An object file that provides the host hooks.
109 # c_target_objs List of extra target-dependent objects that be
110 # linked into the C compiler only.
112 # cxx_target_objs List of extra target-dependent objects that be
113 # linked into the C++ compiler only.
115 # target_gtfiles List of extra source files with type information.
117 # build_xm_defines List of macros to define when compiling for the
120 # build_xm_file List of files to include when compiling for the
123 # host_xm_defines List of macros to define when compiling for the
126 # host_xm_file List of files to include when compiling for the
129 # xm_defines List of macros to define when compiling for the
132 # xm_file List of files to include when compiling for the
135 # use_collect2 Set to yes or no, depending on whether collect2
138 # target_cpu_default Set to override the default target model.
140 # build_install_headers_dir
141 # Target to use when installing header files.
143 # gdb_needs_out_file_path
144 # Set to yes if gdb needs a dir command with
145 # `dirname $out_file`.
147 # build_exeext Set to the suffix, if the build machine requires
148 # executables to have a file name suffix.
150 # host_exeext Set to the suffix, if the host machine requires
151 # executables to have a file name suffix.
153 # thread_file Set to control which thread package to use.
155 # gas Set to yes or no depending on whether the target
156 # system normally uses GNU as.
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.)
165 # configure_default_options
166 # Set to an initializer for configure_default_options
167 # in configargs.h, based on --with-cpu et cetera.
169 # The following variables are used in each case-construct to build up the
170 # outgoing variables:
172 # xmake_file Makefile-fragment when this system is as a host,
173 # for host_xmake_file.
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.
179 # host_hook_obj An object file that provides the host hooks.
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.
185 # exeext The suffix for executables on this system.
187 # gnu_ld Set to yes or no depending on whether the target
188 # system normally uses GNU ld.
202 host_hook_obj=host-default.o
205 # Set this to force installation and use of collect2.
207 # Set this to override the default target model.
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
216 # Set this to control which thread package will be used.
218 # Reinitialize these from the flag values every loop pass, since some
219 # configure entries modify them.
221 gnu_ld="$gnu_ld_flag"
222 enable_threads=$enable_threads_flag
223 default_use_cxa_atexit=no
227 # Don't carry these over build->host->target. Please.
231 # Obsolete configurations.
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
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.
247 alpha*-*-linux*libc1* \
248 | i[34567]86-sequent-sysv \
249 | i[34567]86-sequent-sysv[!4]* \
250 | i[34567]86-go32-* \
251 | i[34567]86-*-go32* \
252 | m68k-*-linux*aout* \
253 | m68k-*-linux*libc1* \
254 | mips64orion*-*-rtems* \
255 | powerpc-*-linux*libc1* \
256 | sparc-*-linux*aout* \
257 | sparc-*-linux*libc1* \
258 | sparc-hal-solaris2* \
265 echo "*** Configuration $machine not supported" 1>&2
270 # Set default cpu_type, tm_file, tm_p_file and xm_file so it can be
271 # updated in each machine entry. Also set default extra_headers for some
274 cpu_type=`echo $machine | sed 's/-.*$//'`
288 extra_headers="mmintrin.h"
295 extra_headers="mmintrin.h"
299 extra_headers="mmintrin.h xmmintrin.h emmintrin.h pmmintrin.h"
303 extra_headers="mmintrin.h xmmintrin.h emmintrin.h pmmintrin.h"
307 extra_headers=ia64intrin.h
310 hppa*-*-* | parisc*-*-*)
315 extra_headers=math-68881.h
318 extra_headers=math-68881.h
326 extra_headers="ppc-asm.h altivec.h spe.h"
342 # Note the 'l'; we need to be able to match e.g. "shle" or "shl".
352 tm_file=${cpu_type}/${cpu_type}.h
353 if test -f ${srcdir}/config/${cpu_type}/${cpu_type}-protos.h
355 tm_p_file=${cpu_type}/${cpu_type}-protos.h
358 if test -f ${srcdir}/config/${cpu_type}/${cpu_type}-modes.def
360 extra_modes=${cpu_type}/${cpu_type}-modes.def
365 tm_file="i386/biarch64.h ${tm_file}"
369 # On a.out targets, we need to use collect2.
376 # Common parts for widely ported systems.
380 *-*-linux*libc1* | *-*-linux*aout*)
383 extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
385 case x${enable_threads} in
386 x | xyes | xposix) thread_file='posix'
393 # On the Hurd, the setup is just about the same on
394 # each different CPU. The specific machines that we
395 # support are matched above and just set $cpu_type.
396 tm_file="${cpu_type}/gnu.h"
397 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o"
398 # GNU always uses ELF.
400 # GNU tools are the only tools.
403 # These details are the same as for Linux.
404 # But here we need a little extra magic.
405 tmake_file="t-slibgcc-elf-ver t-linux t-gnu"
408 tm_file="${cpu_type}/${cpu_type}.h alpha/elf.h alpha/linux.h alpha/linux-elf.h gnu.h ${tm_file}"
411 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}"
416 tmake_file="t-libc-ok t-openbsd t-libgcc-pic"
417 if test x$enable_threads = xyes; then
419 tmake_file="${tmake_file} t-openbsd-thread"
423 tmake_file="t-slibgcc-elf-ver t-libc-ok t-netbsd t-libgcc-pic"
427 # NetBSD 2.0 and later get POSIX threads enabled by default.
428 # Allow them to be explicitly enabled on any other version.
429 case x${enable_threads} in
432 *-*-netbsd[2-9]* | *-*-netbsdelf[2-9]*)
434 tm_defines="${tm_defines} NETBSD_ENABLE_PTHREADS"
440 tm_defines="${tm_defines} NETBSD_ENABLE_PTHREADS"
444 # NetBSD 1.7 and later are set up to use GCC's crtstuff for
445 # ELF configurations. We will clear extra_parts in the
446 # a.out configurations.
448 *-*-netbsd*1.[7-9]* | *-*-netbsd[2-9]* | *-*-netbsdelf[2-9]*)
449 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o"
453 # NetBSD 2.0 and later provide __cxa_atexit(), which we use by
454 # default (unless overridden by --disable-__cxa_atexit).
456 *-*-netbsd[2-9]* | *-*-netbsdelf[2-9]*)
457 default_use_cxa_atexit=yes
461 *-*-freebsd[12] | *-*-freebsd[12].* | *-*-freebsd*aout*)
462 # This is the place-holder for the generic a.out configuration
463 # of FreeBSD. No actual configuration resides here since
464 # there was only ever a bare-bones ix86 configuration for
465 # a.out and it exists solely in the machine-specific section.
466 # This place-holder must exist to avoid dropping into
467 # the generic ELF configuration of FreeBSD (i.e. it must be
468 # ordered before that section).
471 # This is the generic ELF configuration of FreeBSD. Later
472 # machine-specific sections may refine and add to this
475 # Due to tm_file entry ordering issues that vary between cpu
476 # architectures, we only define fbsd_tm_file to allow the
477 # machine-specific section to dictate the final order of all
478 # entries of tm_file with the minor exception that components
479 # of the tm_file set here will always be of the form:
481 # freebsd<version_number>.h [freebsd-<conf_option>.h ...] freebsd-spec.h freebsd.h
483 # The machine-specific section should not tamper with this
484 # ordering but may order all other entries of tm_file as it
485 # pleases around the provided core setting.
488 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
490 *-*-freebsd3 | *-*-freebsd[3].*) fbsd_tm_file="freebsd3.h";;
491 *-*-freebsd4 | *-*-freebsd[4].*) fbsd_tm_file="freebsd4.h";;
492 *-*-freebsd5 | *-*-freebsd[5].*) fbsd_tm_file="freebsd5.h";;
493 *-*-freebsd6 | *-*-freebsd[6].*) fbsd_tm_file="freebsd6.h";;
494 *) echo 'Please update *-*-freebsd* in gcc/config.gcc'; exit 1;;
496 tmake_file="t-slibgcc-elf-ver t-freebsd"
498 case x${enable_threads} in
499 xno) fbsd_tm_file="${fbsd_tm_file} freebsd-nthr.h";;
500 x | xyes | xpthreads | xposix)
502 tmake_file="${tmake_file} t-freebsd-thread"
503 # Before 5.0, FreeBSD can't bind shared libraries to -lc
504 # when "optionally" threaded via weak pthread_* checks.
506 *-*-freebsd[34] | *-*-freebsd[34].*)
507 tmake_file="${tmake_file} t-slibgcc-nolc-override";;
510 *) echo 'Unknown thread configuration for FreeBSD'; exit 1;;
512 fbsd_tm_file="${fbsd_tm_file} freebsd-spec.h freebsd.h"
515 tm_file="${tm_file} darwin.h"
516 tm_p_file="${tm_p_file} darwin-protos.h"
517 tmake_file="t-darwin"
518 target_gtfiles="\$(srcdir)/config/darwin.c"
519 c_target_objs="darwin-c.o"
520 cxx_target_objs="darwin-c.o"
522 extra_objs="darwin.o"
523 case x${enable_threads} in
524 x | xyes | xposix) thread_file='posix'
530 tm_file="${tm_file} elfos.h svr4.h vxworks.h"
531 thread_file='vxworks'
537 # Support site-specific machine types.
539 rest=`echo $machine | sed -e "s/$cpu_type-//"`
540 tm_file=${cpu_type}/$rest.h
541 if test -f $srcdir/config/${cpu_type}/xm-$rest.h
542 then xm_file=${cpu_type}/xm-$rest.h
544 if test -f $srcdir/config/${cpu_type}/x-$rest
545 then xmake_file=${cpu_type}/x-$rest
547 if test -f $srcdir/config/${cpu_type}/t-$rest
548 then tmake_file=${cpu_type}/t-$rest
553 tm_file="${tm_file} alpha/unicosmk.h"
555 # Don't include t-ieee for now because we don't support that yet
556 # tmake_file="alpha/t-ieee"
557 tmake_file="alpha/t-unicosmk"
560 tm_file="${tm_file} alpha/elf.h alpha/linux.h alpha/linux-elf.h"
561 target_cpu_default="MASK_GAS"
562 tmake_file="t-slibgcc-elf-ver t-linux alpha/t-crtfm alpha/t-alpha alpha/t-ieee"
565 target_cpu_default="MASK_GAS"
566 tmake_file="${tmake_file} alpha/t-crtfm alpha/t-alpha alpha/t-ieee"
569 tm_file="${tm_file} ${fbsd_tm_file} alpha/elf.h alpha/freebsd.h"
570 target_cpu_default="MASK_GAS"
571 tmake_file="${tmake_file} alpha/t-crtfm alpha/t-alpha alpha/t-ieee"
572 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o"
575 tm_file="${tm_file} netbsd.h alpha/elf.h netbsd-elf.h alpha/netbsd.h"
576 target_cpu_default="MASK_GAS"
577 tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee"
581 tm_defines="OBSD_NO_DYNAMIC_LIBRARIES OBSD_HAS_DECLARE_FUNCTION_NAME OBSD_HAS_DECLARE_FUNCTION_SIZE OBSD_HAS_DECLARE_OBJECT"
582 tm_file="alpha/alpha.h openbsd.h alpha/openbsd.h"
583 # default x-alpha is only appropriate for dec-osf.
584 target_cpu_default="MASK_GAS"
585 tmake_file="alpha/t-alpha alpha/t-ieee"
589 if test x$stabs = xyes
591 tm_file="${tm_file} dbx.h"
593 if test x$gas != xyes
595 extra_passes="mips-tfile mips-tdump"
598 tmake_file="alpha/t-alpha alpha/t-ieee alpha/t-crtfm alpha/t-osf4"
599 tm_file="${tm_file} alpha/osf.h"
600 extra_headers=va_list.h
603 # Some versions of OSF4 (specifically X4.0-9 296.7) have
604 # a broken tar, so we use cpio instead.
605 install_headers_dir=install-headers-cpio
606 # Set target_cpu_default except on 4.0a.
609 *) target_cpu_default=MASK_SUPPORT_ARCH
613 tm_file="${tm_file} alpha/osf5.h"
614 target_cpu_default=MASK_SUPPORT_ARCH
617 case x${enable_threads} in
618 x | xyes | xpthreads | xposix)
620 tmake_file="${tmake_file} alpha/t-osf-pthread"
625 tm_file="${tm_file} alpha/vms.h alpha/vms64.h"
626 xm_file="alpha/xm-vms.h"
627 tmake_file="alpha/t-alpha alpha/t-vms alpha/t-vms64 alpha/t-ieee"
628 xmake_file=alpha/x-vms
630 # This removes the cpu type and manufacturer components and
631 # replaces "." with "_" in the operating system version.
632 case $host in *-*-*vms*)
633 target_alias=`echo $host \
634 | sed 's/.*-.*-\(.*\)$/\1/' | sed 's/\./_/g'`
637 install_headers_dir=install-headers-cp
642 tm_file="${tm_file} alpha/vms.h"
643 xm_file=alpha/xm-vms.h
644 tmake_file="alpha/t-alpha alpha/t-vms alpha/t-ieee"
645 xmake_file=alpha/x-vms
647 # This removes the cpu type and manufacturer components and
648 # replaces "." with "_" in the operating system version.
649 case $host in *-*-*vms*)
650 target_alias=`echo $host \
651 | sed 's/.*-.*-\(.*\)$/\1/' | sed 's/\./_/g'`
654 install_headers_dir=install-headers-cp
659 tm_file="dbxelf.h elfos.h svr4.h ${tm_file}"
660 extra_parts="crtinit.o crtfini.o"
662 arm-*-coff* | armel-*-coff*)
663 tm_file="arm/semi.h arm/aout.h arm/arm.h arm/coff.h dbxcoff.h"
664 tmake_file=arm/t-arm-coff
666 arm-semi-aof | armel-semi-aof)
667 tm_file="arm/semiaof.h arm/aof.h arm/arm.h"
668 tmake_file=arm/t-semi
670 arm*-*-freebsd*|strongarm*-*-freebsd*)
671 tm_file="dbxelf.h elfos.h ${fbsd_tm_file} arm/elf.h arm/aout.h arm/freebsd.h arm/arm.h"
672 tmake_file="${tmake_file} arm/t-strongarm-elf"
675 tm_file="dbxelf.h elfos.h netbsd.h netbsd-elf.h arm/elf.h arm/aout.h arm/arm.h arm/netbsd-elf.h"
676 tmake_file="${tmake_file} arm/t-netbsd"
679 tm_file="arm/aout.h arm/arm.h netbsd.h netbsd-aout.h arm/netbsd.h"
680 tmake_file="t-netbsd arm/t-netbsd"
684 arm*-*-linux*) # ARM GNU/Linux with ELF
685 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"
686 tmake_file="t-slibgcc-elf-ver t-linux arm/t-linux"
687 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
689 case x${enable_threads} in
690 x | xyes | xpthreads | xposix)
695 arm*-*-uclinux*) # ARM ucLinux
696 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"
697 tmake_file=arm/t-arm-elf
700 tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h arm/ecos-elf.h"
701 tmake_file=arm/t-arm-elf
704 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"
705 tmake_file="arm/t-arm-elf t-rtems"
706 if test x$enable_threads = xyes; then
710 arm*-*-elf | ep9312-*-elf)
711 tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h"
712 tmake_file=arm/t-arm-elf
715 tm_file="arm/semi.h arm/aout.h arm/arm.h arm/coff.h dbxcoff.h arm/pe.h arm/wince-pe.h"
716 tmake_file=arm/t-wince-pe
720 tm_file="arm/semi.h arm/aout.h arm/arm.h arm/coff.h dbxcoff.h arm/pe.h"
725 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"
726 tmake_file=arm/t-arm-elf
729 tm_file="avr/avr.h dbxelf.h"
731 c4x-*-rtems* | tic4x-*-rtems*)
732 tmake_file="c4x/t-c4x t-rtems"
733 tm_file="c4x/c4x.h c4x/rtems.h rtems.h"
734 if test x$enable_threads = xyes; then
737 c_target_objs="c4x-c.o"
738 cxx_target_objs="c4x-c.o"
742 c_target_objs="c4x-c.o"
743 cxx_target_objs="c4x-c.o"
746 tm_file="dbxelf.h ${tm_file} cris/aout.h"
748 tmake_file="cris/t-cris cris/t-aout"
750 cris-*-elf | cris-*-none)
751 tm_file="dbxelf.h elfos.h ${tm_file}"
752 tmake_file="cris/t-cris cris/t-elfmulti"
756 tm_file="dbxelf.h elfos.h svr4.h ${tm_file} linux.h cris/linux.h"
757 tmake_file="cris/t-cris t-slibgcc-elf-ver cris/t-linux"
760 tm_file="dbxelf.h elfos.h svr4.h ${tm_file}"
765 tm_file="dbxelf.h elfos.h svr4.h ${tm_file}"
766 tmake_file=fr30/t-fr30
767 extra_parts="crti.o crtn.o crtbegin.o crtend.o"
770 tm_file="dbxelf.h elfos.h svr4.h ${tm_file} frv/frv-abi.h"
774 tmake_file="h8300/t-h8300 t-rtems"
775 tm_file="h8300/h8300.h dbxcoff.h h8300/coff.h h8300/rtems.h rtems.h"
776 if test x$enable_threads = xyes; then
781 tmake_file="h8300/t-h8300 h8300/t-elf"
782 tm_file="h8300/h8300.h dbxelf.h elfos.h h8300/elf.h"
785 tm_file="h8300/h8300.h dbxcoff.h h8300/coff.h"
787 hppa*64*-*-linux* | parisc*64*-*-linux*)
788 target_cpu_default="(MASK_PA_11 | MASK_PA_20)"
789 tm_file="pa/pa64-start.h ${tm_file} dbxelf.h elfos.h svr4.h linux.h \
790 pa/pa-linux.h pa/pa64-regs.h pa/pa-64.h pa/pa64-linux.h"
791 tmake_file=pa/t-linux64
795 hppa*-*-linux* | parisc*-*-linux*)
796 target_cpu_default="MASK_PA_11 | MASK_NO_SPACE_REGS"
797 tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h pa/pa-linux.h \
798 pa/pa32-regs.h pa/pa32-linux.h"
799 tmake_file="t-slibgcc-elf-ver t-linux pa/t-linux"
801 # port not yet contributed.
803 # target_cpu_default="MASK_PA_11"
804 # tmake_file=pa/t-bsd
807 target_cpu_default="(MASK_JUMP_IN_DELAY | MASK_PORTABLE_RUNTIME | MASK_GAS | MASK_NO_SPACE_REGS | MASK_SOFT_FLOAT)"
808 tm_file="${tm_file} pa/pa32-regs.h dbxelf.h elfos.h pa/elf.h pa/pa-pro-end.h libgloss.h"
809 tmake_file="pa/t-bsd pa/t-pro"
810 xmake_file="pa/x-ada"
813 target_cpu_default="MASK_PA_11"
814 tm_file="${tm_file} pa/pa32-regs.h dbxelf.h pa/som.h pa/pa-osf.h"
815 tmake_file="pa/t-bsd pa/t-pa"
816 xmake_file="pa/x-ada"
820 target_cpu_default="(MASK_JUMP_IN_DELAY | MASK_PORTABLE_RUNTIME | MASK_GAS | MASK_NO_SPACE_REGS | MASK_SOFT_FLOAT)"
821 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"
822 tmake_file="pa/t-bsd pa/t-pro t-rtems"
823 xmake_file="pa/x-ada"
824 if test x$enable_threads = xyes; then
829 tm_file="${tm_file} pa/pa32-regs.h dbxelf.h pa/som.h"
830 target_cpu_default="MASK_PA_11"
831 tmake_file="pa/t-bsd pa/t-pa"
832 xmake_file="pa/x-ada"
835 hppa1.1-*-hpux10* | hppa2*-*-hpux10*)
836 target_cpu_default="MASK_PA_11"
837 tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h dbxelf.h pa/som.h pa/pa-hpux.h pa/pa-hpux10.h"
838 tmake_file="pa/t-pa pa/t-pa-hpux pa/t-hpux-shlib"
839 xmake_file="pa/x-ada"
840 if test x$enable_threads = x; then
841 enable_threads=$have_pthread_h
843 case x${enable_threads} in
845 tmake_file="${tmake_file} pa/t-dce-thr"
848 install_headers_dir=install-headers-cpio
852 tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h dbxelf.h pa/som.h pa/pa-hpux.h pa/pa-hpux10.h"
853 tmake_file="pa/t-pa pa/t-pa-hpux pa/t-hpux-shlib"
854 xmake_file="pa/x-ada"
855 if test x$enable_threads = x; then
856 enable_threads=$have_pthread_h
858 case x${enable_threads} in
860 tmake_file="${tmake_file} pa/t-dce-thr"
863 install_headers_dir=install-headers-cpio
869 tm_file="pa/pa64-start.h ${tm_file} dbxelf.h elfos.h \
870 pa/pa64-regs.h pa/long_double.h pa/pa-hpux.h \
871 pa/pa-hpux11.h pa/pa-64.h pa/pa64-hpux.h"
873 tm_file="pa/pa64-start.h ${tm_file} dbxelf.h pa/elf.h \
874 pa/pa64-regs.h pa/long_double.h pa/pa-hpux.h \
875 pa/pa-hpux11.h pa/pa-64.h pa/pa64-hpux.h"
878 tmake_file="pa/t-pa64 pa/t-pa-hpux"
879 xmake_file="pa/x-ada"
880 target_cpu_default="(MASK_PA_11|MASK_PA_20|MASK_GAS)"
881 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o"
882 if test x$gnu_ld = xyes
884 target_cpu_default="${target_cpu_default}|MASK_GNU_LD"
886 case x${enable_threads} in
891 install_headers_dir=install-headers-cpio
893 hppa1.1-*-hpux11* | hppa2*-*-hpux11*)
894 target_cpu_default="MASK_PA_11"
895 tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h dbxelf.h pa/som.h pa/pa-hpux.h pa/pa-hpux11.h"
896 tmake_file="pa/t-pa pa/t-pa-hpux pa/t-hpux-shlib"
897 xmake_file="pa/x-ada"
898 case x${enable_threads} in
903 install_headers_dir=install-headers-cpio
907 tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h dbxelf.h pa/som.h pa/pa-hpux.h pa/pa-hpux11.h"
908 tmake_file="pa/t-pa pa/t-pa-hpux pa/t-hpux-shlib"
909 xmake_file="pa/x-ada"
910 case x${enable_threads} in
915 install_headers_dir=install-headers-cpio
918 i370-*-opened*) # IBM 360/370/390 Architecture
919 xm_defines='FATAL_EXIT_CODE=12'
920 tm_file="i370/oe.h i370/i370.h"
921 tmake_file="i370/t-oe i370/t-i370"
922 c_target_objs="i370-c.o"
923 cxx_target_objs="i370-c.o"
926 xm_defines='FATAL_EXIT_CODE=12'
927 tm_file="i370/mvs.h i370/i370.h"
928 tmake_file="i370/t-i370"
929 c_target_objs="i370-c.o"
930 cxx_target_objs="i370-c.o"
933 tm_file="dbxelf.h elfos.h svr4.h linux.h i370/linux.h i370/i370.h"
934 tmake_file="t-slibgcc-elf-ver t-linux"
938 i[34567]86-*-darwin*)
939 tm_file="${tm_file} i386/darwin.h"
942 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/i386elf.h"
943 tmake_file="i386/t-i386elf t-svr4"
945 i[34567]86-ncr-sysv4*) # NCR 3000 - ix86 running system V.4
946 xm_defines="SMALL_ARG_MAX"
947 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h i386/sysv4-cpp.h"
948 extra_parts="crtbegin.o crtend.o"
949 tmake_file=i386/t-crtpic
951 i[34567]86-*-netware) # Intel 80386's running netware
952 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h netware.h i386/netware.h"
953 tmake_file=i386/t-netware
955 i[34567]86-sequent-ptx4* | i[34567]86-sequent-sysv4*)
958 tm_file="${tm_file} usegas.h"
960 xm_defines="SMALL_ARG_MAX"
961 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ptx4.h i386/ptx4-i.h"
963 extra_parts="crtbegin.o crtend.o"
964 install_headers_dir=install-headers-cpio
967 tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h i386/i386-aout.h"
969 i[34567]86-*-beoself* | i[34567]86-*-beos*)
970 tmake_file='i386/t-beos i386/t-crtpic'
971 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h i386/beos-elf.h"
972 extra_parts='crtbegin.o crtend.o'
974 i[34567]86-*-freebsd2 | i[34567]86-*-freebsd2.* | i[34567]86-*-freebsd*aout*)
975 tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h i386/freebsd-aout.h"
978 i[34567]86-*-freebsd*)
979 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${fbsd_tm_file} i386/freebsd.h"
982 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"
984 i[34567]86-*-netbsdelf*)
985 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h netbsd.h netbsd-elf.h i386/netbsd-elf.h"
987 i[34567]86-*-netbsd*)
988 tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h netbsd.h netbsd-aout.h i386/netbsd.h"
994 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"
996 i[34567]86-*-openbsd*)
997 tm_file="i386/i386.h i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h openbsd-oldgas.h openbsd.h i386/openbsd.h"
998 # needed to unconfuse gdb
999 tmake_file="t-libc-ok t-openbsd i386/t-openbsd"
1000 # we need collect2 until our bug is fixed...
1004 tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h dbxcoff.h i386/i386-coff.h"
1006 i[34567]86-*-linux*aout*) # Intel 80386's running GNU/Linux
1008 tmake_file="t-linux-aout i386/t-crtstuff"
1009 tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h linux-aout.h i386/linux-aout.h"
1012 i[34567]86-*-linux*libc1) # Intel 80386's running GNU/Linux
1013 # with ELF format using the
1014 # GNU/Linux C library 5
1015 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h linux.h i386/linux.h"
1016 tmake_file="t-slibgcc-elf-ver t-linux t-linux-gnulibc1 i386/t-crtstuff"
1017 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
1019 if test x$enable_threads = xyes; then
1020 thread_file='single'
1023 i[34567]86-*-linux*) # Intel 80386's running GNU/Linux
1024 # with ELF format using glibc 2
1025 # aka GNU/Linux C library 6
1026 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h linux.h i386/linux.h"
1027 tmake_file="t-slibgcc-elf-ver t-linux i386/t-crtstuff"
1030 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h linux.h \
1031 i386/x86-64.h i386/linux64.h"
1032 tmake_file="t-slibgcc-elf-ver t-linux i386/t-linux64"
1036 i[34567]86-pc-msdosdjgpp*)
1037 xm_file=i386/xm-djgpp.h
1038 tm_file="dbxcoff.h ${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/djgpp.h"
1039 tmake_file=i386/t-djgpp
1043 case $host in *pc-msdosdjgpp*)
1048 i[34567]86-moss-msdos* | i[34567]86-*-moss*)
1049 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h linux.h i386/linux.h i386/moss.h"
1050 tmake_file=t-libc-ok
1054 i[34567]86-*-lynxos*)
1055 if test x$gas = xyes
1057 tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h svr3.h lynx.h i386/lynx.h"
1059 tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h lynx-ng.h i386/lynx-ng.h"
1063 tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h i386/mach.h"
1064 # tmake_file=t-libc-ok
1067 i[34567]86-*-nto-qnx*)
1068 tm_file="${tm_file} i386/att.h dbxelf.h tm-dwarf2.h elfos.h svr4.h i386/unix.h i386/nto.h"
1069 tmake_file=i386/t-nto
1073 i[34567]86-*-rtems*)
1074 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/i386elf.h i386/rtemself.h rtems.h"
1075 extra_parts="crtbegin.o crtend.o crti.o crtn.o"
1076 tmake_file="i386/t-rtems-i386 i386/t-crtstuff t-rtems"
1077 if test x$enable_threads = xyes; then
1081 i[34567]86-*-sco3.2v5*) # 80386 running SCO Open Server 5
1082 install_headers_dir=install-headers-cpio
1083 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/sco5.h"
1084 if test x$gas = xyes
1086 tm_file="usegas.h ${tm_file}"
1088 tmake_file=i386/t-sco5
1089 extra_parts="crtbegin.o crtend.o"
1091 i[34567]86-*-solaris2*)
1092 xm_defines="SMALL_ARG_MAX"
1093 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h sol2.h i386/sol2.h"
1094 tmake_file="i386/t-sol2 t-svr4"
1095 if test x$gnu_ld = xyes; then
1096 tmake_file="$tmake_file t-slibgcc-elf-ver"
1098 tmake_file="$tmake_file t-slibgcc-sld"
1100 extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"
1101 if test x${enable_threads} = x; then
1102 enable_threads=$have_pthread_h
1103 if test x${enable_threads} = x; then
1104 enable_threads=$have_thread_h
1107 if test x${enable_threads} = xyes; then
1108 if test x${have_pthread_h} = xyes; then
1111 thread_file='solaris'
1115 i[34567]86-*-sysv5*) # Intel x86 on System V Release 5
1116 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h i386/sysv5.h"
1117 if test x$stabs = xyes
1119 tm_file="${tm_file} dbx.h"
1121 tmake_file="i386/t-crtpic t-svr4"
1122 extra_parts="crtbegin.o crtend.o"
1123 if test x$enable_threads = xyes; then
1127 i[34567]86-*-sysv4*) # Intel 80386's running system V.4
1128 xm_defines="SMALL_ARG_MAX"
1129 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h i386/sysv4-cpp.h"
1130 if test x$stabs = xyes
1132 tm_file="${tm_file} dbx.h"
1134 tmake_file="i386/t-crtpic t-svr4"
1135 extra_parts="crtbegin.o crtend.o"
1137 i[34567]86-*-udk*) # Intel x86 on SCO UW/OSR5 Dev Kit
1138 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"
1139 tmake_file="i386/t-crtpic i386/t-udk t-svr4"
1140 extra_parts="crtbegin.o crtend.o"
1141 install_headers_dir=install-headers-cpio
1143 i[34567]86-*-sysv*) # Intel 80386's running system V
1144 if test x$gas = xyes
1146 if test x$stabs = xyes
1148 tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/svr3gas.h i386/svr3dbx.h"
1149 tmake_file=i386/t-svr3dbx
1150 extra_parts="svr3.ifile svr3z.ifile"
1152 tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/svr3gas.h"
1153 extra_parts="crtbegin.o crtend.o"
1154 tmake_file=i386/t-crtstuff
1157 tm_file="${tm_file} svr3.h i386/unix.h i386/att.h i386/sysv3.h"
1158 extra_parts="crtbegin.o crtend.o"
1159 tmake_file=i386/t-crtstuff
1161 tmake_file="$tmake_file i386/t-crtpic"
1163 i386-*-vsta) # Intel 80386's running VSTa kernel
1164 xm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/xm-vsta.h"
1165 tm_file="${tm_file} i386/vsta.h"
1167 i[34567]86-*-pe | i[34567]86-*-cygwin*)
1168 tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h dbxcoff.h i386/cygming.h i386/cygwin.h"
1169 xm_file=i386/xm-cygwin.h
1170 tmake_file="i386/t-cygming i386/t-cygwin"
1172 c_target_objs=cygwin2.o
1173 cxx_target_objs=cygwin2.o
1174 if test x$enable_threads = xyes; then
1179 i[34567]86-*-mingw32*)
1180 tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h dbxcoff.h i386/cygming.h i386/mingw32.h"
1181 xm_file=i386/xm-mingw32.h
1182 tmake_file="i386/t-cygming i386/t-mingw32"
1183 xmake_file=i386/x-mingw32
1185 if test x$enable_threads = xyes; then
1191 tm_file="${tm_file} i386/crtdll.h"
1193 *mingw32msv* | *mingw32*)
1198 tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h dbxcoff.h i386/cygwin.h i386/uwin.h"
1199 tmake_file="i386/t-cygwin i386/t-uwin"
1201 if test x$enable_threads = xyes; then
1206 i[34567]86-*-interix3*)
1207 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"
1208 tmake_file="t-interix i386/t-interix"
1210 xmake_file="x-interix"
1211 if test x$enable_threads = xyes ; then
1214 if test x$stabs = xyes ; then
1215 tm_file="${tm_file} dbxcoff.h"
1218 i[34567]86-*-interix*)
1219 tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/i386-interix.h interix.h"
1220 tmake_file="t-interix i386/t-interix"
1222 if test x$enable_threads = xyes ; then
1225 if test x$stabs = xyes ; then
1226 tm_file="${tm_file} dbxcoff.h"
1230 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/i386elf.h kaos.h i386/kaos-i386.h"
1231 tmake_file="i386/t-i386elf t-svr4"
1234 tm_file="${tm_file} elfos.h svr4.h i860/sysv4.h"
1235 xm_defines="USG SVR3"
1236 xmake_file=i860/x-sysv4
1237 tmake_file="i860/t-i860 i860/t-svr4"
1238 extra_parts="crtbegin.o crtend.o"
1241 tm_file="${tm_file} dbxcoff.h i960/i960-coff.h libgloss.h"
1242 tmake_file=i960/t-960bare
1243 c_target_objs="i960-c.o"
1244 cxx_target_objs="i960-c.o"
1247 tmake_file="i960/t-960bare t-rtems"
1248 tm_file="${tm_file} dbxcoff.h i960/i960-coff.h i960/rtems.h rtems.h"
1249 if test x$enable_threads = xyes; then
1252 c_target_objs="i960-c.o"
1253 cxx_target_objs="i960-c.o"
1255 i960-*-*) # Default i960 environment.
1257 tmake_file=i960/t-960bare
1258 c_target_objs="i960-c.o"
1259 cxx_target_objs="i960-c.o"
1262 tm_file="${tm_file} dbxelf.h elfos.h ia64/sysv4.h ia64/elf.h"
1263 tmake_file="ia64/t-ia64"
1264 target_cpu_default="0"
1265 if test x$gas = xyes
1267 target_cpu_default="${target_cpu_default}|MASK_GNU_AS"
1269 if test x$gnu_ld = xyes
1271 target_cpu_default="${target_cpu_default}|MASK_GNU_LD"
1273 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o"
1276 tm_file="${tm_file} dbxelf.h elfos.h ${fbsd_tm_file} ia64/sysv4.h ia64/freebsd.h"
1277 target_cpu_default="MASK_GNU_AS|MASK_GNU_LD"
1278 tmake_file="${tmake_file} ia64/t-ia64"
1279 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o"
1282 tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h ia64/sysv4.h ia64/linux.h"
1283 tmake_file="t-slibgcc-elf-ver t-linux ia64/t-ia64 ia64/t-glibc"
1284 target_cpu_default="MASK_GNU_AS|MASK_GNU_LD"
1285 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o"
1286 if test x"$use_libunwind_exceptions" = xyes; then
1287 tmake_file="$tmake_file t-libunwind"
1291 tm_file="${tm_file} dbxelf.h elfos.h svr4.h ia64/sysv4.h ia64/hpux.h ia64/hpux_longdouble.h"
1292 tmake_file="ia64/t-ia64 ia64/t-hpux"
1293 target_cpu_default="MASK_GNU_AS"
1294 case x$enable_threads in
1300 c_target_objs="ia64-c.o"
1301 cxx_target_objs="ia64-c.o"
1304 tm_file="elfos.h ${tm_file}"
1307 tm_file="svr4.h elfos.h iq2000/iq2000.h"
1308 tmake_file=iq2000/t-iq2000
1309 out_file=iq2000/iq2000.c
1310 md_file=iq2000/iq2000.md
1313 tm_file="dbxelf.h elfos.h svr4.h ${tm_file}"
1314 extra_parts="crtinit.o crtfini.o"
1316 # m68hc11 and m68hc12 share the same machine description.
1317 m68hc11-*-*|m6811-*-*)
1318 tm_file="dbxelf.h elfos.h m68hc11/m68hc11.h"
1319 tm_p_file="m68hc11/m68hc11-protos.h"
1320 md_file="m68hc11/m68hc11.md"
1321 out_file="m68hc11/m68hc11.c"
1322 tmake_file="m68hc11/t-m68hc11-gas"
1324 m68hc12-*-*|m6812-*-*)
1325 tm_file="m68hc11/m68hc12.h dbxelf.h elfos.h m68hc11/m68hc11.h"
1326 tm_p_file="m68hc11/m68hc11-protos.h"
1327 md_file="m68hc11/m68hc11.md"
1328 out_file="m68hc11/m68hc11.c"
1329 tmake_file="m68hc11/t-m68hc11-gas"
1331 m68000-hp-hpux*) # HP 9000 series 300
1332 tm_file="m68k/hp320base.h m68k/m68k.h m68k/hp320.h m68k/hp310.h"
1333 tm_defines="TARGET_DEFAULT=0" # 68000, no 68881, no bitfield ops
1334 if test x$gas = xyes
1336 tm_defines="${tm_defines} DBX_DEBUGGING_INFO=1 USE_GAS"
1338 tmake_file=m68k/t-hp320
1339 install_headers_dir=install-headers-cpio
1342 m68k-hp-hpux7*) # HP 9000 series 300 running HPUX version 7.
1343 tm_file="m68k/hp320base.h m68k/m68k.h m68k/hp320.h"
1344 if test x$gas = xyes
1346 tm_defines="DBX_DEBUGGING_INFO=1 USE_GAS"
1348 tm_defines="NO_DOT_IN_LABEL NO_BUGS"
1350 install_headers_dir=install-headers-cpio
1353 m68k-hp-hpux*) # HP 9000 series 300
1354 tm_file="m68k/hp320base.h m68k/m68k.h m68k/hp320.h"
1355 if test x$gas = xyes
1357 tm_defines="DBX_DEBUGGING_INFO=1 USE_GAS"
1359 install_headers_dir=install-headers-cpio
1363 tmake_file=m68k/t-m68kbare
1364 tm_file="m68k/m68k.h m68k/m68k-none.h m68k/m68kemb.h m68k/m68k-aout.h libgloss.h"
1367 tmake_file=m68k/t-m68kbare
1368 tm_defines="MOTOROLA USE_GAS"
1369 tm_file="m68k/m68k.h m68k/m68k-none.h m68k/m68kemb.h dbxcoff.h m68k/coff.h dbx.h"
1371 m68020-*-elf* | m68k-*-elf*)
1372 tm_file="m68k/m68k.h m68k/m68k-none.h m68k/m68kelf.h dbxelf.h elfos.h m68k/m68kemb.h m68k/m68020-elf.h"
1373 tmake_file=m68k/t-m68kelf
1374 extra_parts="crtbegin.o crtend.o"
1376 m68010-*-netbsdelf* | m68k*-*-netbsdelf*)
1377 tm_file="${tm_file} dbxelf.h elfos.h netbsd.h netbsd-elf.h m68k/netbsd-elf.h"
1380 target_cpu_default="0"
1383 target_cpu_default="MASK_68020|MASK_68881|MASK_BITFIELD"
1388 tm_file="m68k/m68k.h netbsd.h netbsd-aout.h m68k/netbsd.h"
1394 # needed to unconfuse gdb
1395 tm_defines="OBSD_OLD_GAS TARGET_DEFAULT=(MASK_68020|MASK_68881|MASK_BITFIELD)"
1396 tm_file="m68k/m68k.h openbsd.h m68k/openbsd.h"
1397 tmake_file="t-libc-ok t-openbsd m68k/t-openbsd"
1398 # we need collect2 until our bug is fixed...
1401 m68k-*-sysv4*) # Motorola m68k's running system V.4
1402 tm_file="m68k/m68k.h m68k/sgs.h dbxelf.h elfos.h svr4.h m68k/m68kv4.h"
1403 tm_defines="MOTOROLA SGS SGS_CMP_ORDER SGS_SWITCH_TABLES"
1405 extra_parts="crtbegin.o crtend.o"
1407 m68k-*-linux*) # Motorola m68k's running GNU/Linux
1408 # with ELF format using glibc 2
1409 # aka the GNU/Linux C library 6.
1410 tm_file="m68k/m68k.h dbxelf.h elfos.h svr4.h linux.h m68k/linux.h"
1411 tm_defines="MOTOROLA USE_GAS LINUX_DEFAULT_ELF"
1412 tmake_file="t-slibgcc-elf-ver t-linux"
1415 tmake_file="m68k/t-m68kbare t-rtems m68k/t-crtstuff"
1416 tm_file="m68k/m68k.h m68k/m68k-none.h m68k/m68kelf.h dbxelf.h elfos.h m68k/m68kemb.h m68k/m68020-elf.h m68k/rtemself.h rtems.h"
1417 extra_parts="crtbegin.o crtend.o"
1418 if test x$enable_threads = xyes; then
1423 tm_file="dbxelf.h elfos.h svr4.h ${tm_file} mcore/mcore-elf.h"
1424 tmake_file=mcore/t-mcore
1427 tm_file="svr3.h dbxcoff.h ${tm_file} mcore/mcore-pe.h"
1428 tmake_file=mcore/t-mcore-pe
1430 mips-sgi-irix6*o32) # SGI System V.4., IRIX 6, O32 ABI
1431 tm_file="${tm_file} mips/iris5.h"
1432 if test x$gas = xyes
1434 tm_file="${tm_file} mips/sdb.h mips/iris5gas.h mips/iris6-o32-gas.h"
1435 if test x$stabs = xyes
1437 tm_file="${tm_file} dbx.h mips/dbxmdebug.h"
1439 tmake_file=mips/t-iris5-gas
1441 tm_file="${tm_file} mips/iris6-o32-as.h"
1442 tmake_file=mips/t-iris5-as
1444 tm_file="${tm_file} mips/iris6-o32.h"
1445 tmake_file="${tmake_file} mips/t-iris mips/t-iris5-6"
1446 xm_file=mips/xm-iris5.h
1447 target_cpu_default="MASK_ABICALLS"
1448 # mips-tfile doesn't work yet
1449 # See comment in mips/iris5.h file.
1451 # if test x$enable_threads = xyes; then
1452 # thread_file='irix'
1455 mips-sgi-irix6*) # SGI System V.4., IRIX 6
1456 tm_file="${tm_file} mips/iris5.h mips/iris6.h"
1457 if test "x$gnu_ld" = xyes
1459 tm_file="${tm_file} mips/iris6gld.h"
1461 tmake_file="mips/t-iris mips/t-iris5-6 mips/t-iris6"
1462 target_cpu_default="MASK_ABICALLS|MASK_FLOAT64|MASK_64BIT"
1463 tm_defines="MIPS_ISA_DEFAULT=3 MIPS_ABI_DEFAULT=ABI_N32"
1464 # if test x$enable_threads = xyes; then
1465 # thread_file='irix'
1468 mips-sgi-irix5cross64) # Irix5 host, Irix 6 target, cross64
1469 tm_file="${tm_file} mips/iris5.h mips/iris6.h mips/cross64.h"
1470 xm_file=mips/xm-iris5.h
1471 tmake_file="mips/t-iris mips/t-cross64"
1472 target_cpu_default="MASK_ABICALLS|MASK_FLOAT64|MASK_64BIT"
1473 tm_defines="MIPS_ISA_DEFAULT=3 MIPS_ABI_DEFAULT=ABI_N32"
1474 # See comment in mips/iris[56].h files.
1476 # if test x$enable_threads = xyes; then
1477 # thread_file='irix'
1480 mips-sgi-irix5*) # SGI System V.4., IRIX 5
1481 tm_file="${tm_file} mips/iris5.h"
1482 if test x$gas = xyes
1484 tm_file="${tm_file} mips/sdb.h mips/iris5gas.h"
1485 if test x$stabs = xyes
1487 tm_file="${tm_file} dbx.h mips/dbxmdebug.h"
1489 tmake_file=mips/t-iris5-gas
1491 tmake_file=mips/t-iris5-as
1493 tmake_file="${tmake_file} mips/t-iris mips/t-iris5-6"
1494 xm_file=mips/xm-iris5.h
1495 target_cpu_default="MASK_ABICALLS"
1496 # mips-tfile doesn't work yet
1497 # See comment in mips/iris5.h file.
1499 # if test x$enable_threads = xyes; then
1500 # thread_file='irix'
1503 mips*-*-netbsd*) # NetBSD/mips, either endian.
1504 target_cpu_default="MASK_GAS|MASK_ABICALLS"
1505 tm_file="elfos.h ${tm_file} mips/elf.h netbsd.h netbsd-elf.h mips/netbsd.h"
1506 tmake_file="${tmake_file}"
1509 tm_file="dbxelf.h elfos.h svr4.h linux.h ${tm_file} mips/linux.h mips/linux64.h"
1510 tmake_file="t-slibgcc-elf-ver t-linux mips/t-linux64"
1512 # This default ABI is a partial lie: t-linux64 overrides the
1513 # DRIVER_SELF_SPEC that sets the default abi, in the spec file
1514 # that is installed. What GCC thinks of as the default must
1515 # remain as ABI_32 such that the SONAMEs of the libgcc shared
1516 # libraries remain compatible with those of mips-linux-gnu.
1517 tm_defines="MIPS_ISA_DEFAULT=1 MIPS_ABI_DEFAULT=ABI_32"
1518 target_cpu_default="MASK_ABICALLS|MASK_FLOAT64|MASK_64BIT"
1519 extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
1522 if test x$enable_threads = xyes; then
1526 mips*-*-linux*) # Linux MIPS, either endian.
1527 tm_file="dbxelf.h elfos.h svr4.h linux.h ${tm_file} mips/linux.h"
1530 target_cpu_default="MASK_SOFT_FLOAT"
1531 tm_defines="MIPS_ISA_DEFAULT=32"
1534 tmake_file="t-slibgcc-elf-ver t-linux"
1537 tm_defines="OBSD_HAS_DECLARE_FUNCTION_NAME OBSD_HAS_DECLARE_OBJECT OBSD_HAS_CORRECT_SPECS"
1538 target_cpu_default="MASK_GAS|MASK_ABICALLS"
1539 tm_file="mips/mips.h openbsd.h mips/openbsd.h mips/sdb.h"
1542 tm_defines="${tm_defines} TARGET_ENDIAN_DEFAULT=0";;
1543 *) tm_defines="${tm_defines} TARGET_ENDIAN_DEFAULT=MASK_BIG_ENDIAN";;
1546 mipsisa32-*-elf* | mipsisa32el-*-elf*)
1547 tm_file="${tm_file} mips/elf.h"
1548 tmake_file=mips/t-isa3264
1549 tm_defines="MIPS_ISA_DEFAULT=32 MIPS_ABI_DEFAULT=ABI_EABI"
1551 mipsisa32r2-*-elf* | mipsisa32r2el-*-elf*)
1552 tm_file="${tm_file} mips/elf.h"
1553 tmake_file=mips/t-isa3264
1554 tm_defines="MIPS_ISA_DEFAULT=33 MIPS_ABI_DEFAULT=ABI_EABI"
1556 mipsisa64-*-elf* | mipsisa64el-*-elf*)
1557 tm_file="${tm_file} mips/elf.h"
1558 tmake_file=mips/t-isa3264
1559 target_cpu_default="MASK_64BIT|MASK_FLOAT64|MASK_GAS"
1560 tm_defines="MIPS_ISA_DEFAULT=64 MIPS_ABI_DEFAULT=ABI_EABI"
1562 mipsisa64sr71k-*-elf*)
1563 tm_file="${tm_file} mips/elf.h"
1564 tmake_file=mips/t-sr71k
1565 target_cpu_default="MASK_64BIT|MASK_FLOAT64|MASK_GAS"
1566 tm_defines="MIPS_ISA_DEFAULT=64 MIPS_CPU_STRING_DEFAULT=\\\"sr71000\\\" MIPS_ABI_DEFAULT=ABI_EABI"
1568 mipsisa64sb1-*-elf* | mipsisa64sb1el-*-elf*)
1569 tm_file="${tm_file} mips/elf.h"
1570 tmake_file=mips/t-elf
1571 target_cpu_default="MASK_64BIT|MASK_FLOAT64|MASK_GAS"
1572 tm_defines="MIPS_ISA_DEFAULT=64 MIPS_CPU_STRING_DEFAULT=\\\"sb1\\\" MIPS_ABI_DEFAULT=ABI_O64"
1574 mips-*-elf* | mipsel-*-elf*)
1575 tm_file="${tm_file} mips/elf.h"
1576 tmake_file=mips/t-elf
1578 mips64-*-elf* | mips64el-*-elf*)
1579 tm_file="${tm_file} mips/elf64.h"
1580 tmake_file=mips/t-elf
1581 target_cpu_default="MASK_64BIT|MASK_FLOAT64|MASK_GAS"
1582 tm_defines="MIPS_ISA_DEFAULT=3 MIPS_ABI_DEFAULT=ABI_O64"
1584 mips64vr-*-elf* | mips64vrel-*-elf*)
1585 tm_file="mips/vr.h ${tm_file} mips/elf64.h"
1586 tm_defines="MIPS_ABI_DEFAULT=ABI_O64 MIPS_MARCH_CONTROLS_SOFT_FLOAT=1"
1587 tmake_file=mips/t-vr
1589 mips64orion-*-elf* | mips64orionel-*-elf*)
1590 tm_file="${tm_file} mips/elforion.h mips/elf64.h"
1591 tmake_file=mips/t-elf
1592 tmake_file=mips/t-elf
1593 target_cpu_default="MASK_64BIT|MASK_FLOAT64|MASK_GAS"
1594 tm_defines="MIPS_ISA_DEFAULT=3 MIPS_ABI_DEFAULT=ABI_O64"
1597 tm_file="${tm_file} mips/elf.h mips/rtems.h rtems.h"
1598 tmake_file="mips/t-elf t-rtems"
1599 if test x$enable_threads = xyes; then
1603 mipstx39-*-elf* | mipstx39el-*-elf*)
1604 tm_file="${tm_file} mips/r3900.h mips/elf.h"
1605 tmake_file=mips/t-r3900
1607 mmix-knuth-mmixware)
1608 need_64bit_hwint=yes
1611 tm_file="dbxelf.h elfos.h svr4.h ${tm_file}"
1612 if test x$stabs = xyes
1614 tm_file="${tm_file} dbx.h"
1619 echo "GCC does not yet support the ${machine} target"; exit 1
1622 tm_file="${tm_file} netbsd.h netbsd-aout.h ns32k/netbsd.h"
1623 # On NetBSD, the headers are already okay, except for math.h.
1624 tmake_file="t-netbsd ns32k/t-ns32k"
1629 tm_file="${tm_file} pdp11/2bsd.h"
1635 # port not yet contributed
1636 #powerpc-*-openbsd*)
1637 # tmake_file="${tmake_file} rs6000/t-fprules "
1641 tm_file="rs6000/biarch64.h ${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h"
1643 x|xpowerpc64|xdefault64) tm_file="${tm_file} rs6000/default64.h";;
1645 tm_file="${tm_file} rs6000/linux64.h"
1646 tmake_file="rs6000/t-fprules t-slibgcc-elf-ver t-linux rs6000/t-ppccomm rs6000/t-linux64"
1649 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"
1650 tmake_file="rs6000/t-fprules t-slibgcc-elf-ver t-gnu rs6000/t-linux64"
1653 tm_file="${tm_file} rs6000/aix.h rs6000/beos.h rs6000/xcoff.h"
1654 tmake_file="rs6000/t-fprules rs6000/t-beos"
1658 tm_file="${tm_file} rs6000/darwin.h"
1659 tmake_file="t-darwin rs6000/t-darwin"
1660 extra_headers=altivec.h
1661 # override ppc default
1663 # powerpc-darwin host support.
1664 host_hook_obj=host-darwin.o
1665 xmake_file=rs6000/x-darwin
1667 powerpc*-*-freebsd*)
1668 tm_file="${tm_file} dbxelf.h elfos.h ${fbsd_tm_file} rs6000/sysv4.h rs6000/freebsd.h"
1669 tmake_file="rs6000/t-fprules rs6000/t-ppcos ${tmake_file} rs6000/t-ppccomm"
1672 tm_file="${tm_file} dbxelf.h elfos.h netbsd.h netbsd-elf.h freebsd-spec.h rs6000/sysv4.h rs6000/netbsd.h"
1673 tmake_file="${tmake_file} rs6000/t-netbsd"
1675 powerpc-*-chorusos*)
1676 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h chorus.h"
1677 tmake_file="rs6000/t-fprules rs6000/t-ppcos rs6000/t-ppccomm"
1678 case x${enable_threads} in
1679 xyes | xpthreads | xposix)
1685 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/eabi.h rs6000/eabispe.h"
1686 tmake_file="rs6000/t-spe rs6000/t-ppccomm"
1688 powerpc-*-eabisimaltivec*)
1689 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"
1690 tmake_file="rs6000/t-fprules rs6000/t-ppcendian rs6000/t-ppccomm"
1693 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/eabi.h rs6000/eabisim.h"
1694 tmake_file="rs6000/t-fprules rs6000/t-ppcgas rs6000/t-ppccomm"
1697 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h"
1698 tmake_file="rs6000/t-fprules rs6000/t-ppcgas rs6000/t-ppccomm"
1700 powerpc-*-eabialtivec*)
1701 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/eabi.h rs6000/eabialtivec.h"
1702 tmake_file="rs6000/t-fprules rs6000/t-ppcendian rs6000/t-ppccomm"
1705 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/eabi.h"
1706 tmake_file="rs6000/t-fprules rs6000/t-ppcgas rs6000/t-ppccomm"
1709 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/eabi.h rs6000/rtems.h rtems.h"
1710 tmake_file="rs6000/t-fprules t-rtems rs6000/t-ppccomm"
1711 if test x$enable_threads = xyes; then
1715 powerpc-*-linux*altivec*)
1716 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/linux.h rs6000/linuxaltivec.h"
1717 tmake_file="rs6000/t-fprules rs6000/t-ppcos t-slibgcc-elf-ver t-linux rs6000/t-ppccomm"
1719 powerpc-*-linux*spe*)
1720 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/linux.h rs6000/linuxspe.h"
1721 tmake_file="rs6000/t-fprules rs6000/t-ppcos t-slibgcc-elf-ver t-linux rs6000/t-ppccomm"
1724 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/linux.h"
1725 tmake_file="rs6000/t-fprules rs6000/t-ppcos t-slibgcc-elf-ver t-linux rs6000/t-ppccomm"
1727 powerpc-*-gnu-gnualtivec*)
1728 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"
1729 tmake_file="rs6000/t-fprules rs6000/t-ppcos t-slibgcc-elf-ver t-gnu rs6000/t-ppccomm"
1730 if test x$enable_threads = xyes; then
1735 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"
1736 tmake_file="rs6000/t-fprules rs6000/t-ppcos t-slibgcc-elf-ver t-gnu rs6000/t-ppccomm"
1737 if test x$enable_threads = xyes; then
1741 powerpc-wrs-vxworks*)
1742 # We want vxworks.h after rs6000/sysv4.h, which unfortunately
1743 # means we have to redo the tm_file list from scratch.
1744 tm_file="rs6000/rs6000.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h"
1745 tm_file="${tm_file} vxworks.h rs6000/vxworks.h"
1746 tmake_file="${tmake_file} rs6000/t-fprules rs6000/t-ppccomm rs6000/t-vxworks"
1747 extra_headers=ppc-asm.h
1749 powerpc-wrs-windiss*)
1750 tm_file="${tm_file} elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/windiss.h"
1751 tmake_file="rs6000/t-fprules rs6000/t-ppcgas rs6000/t-ppccomm"
1755 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/sysv4le.h"
1756 tmake_file="rs6000/t-fprules rs6000/t-ppcos rs6000/t-ppccomm"
1759 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/sysv4le.h"
1760 tmake_file="rs6000/t-fprules rs6000/t-ppcgas rs6000/t-ppccomm"
1762 powerpcle-*-eabisim*)
1763 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"
1764 tmake_file="rs6000/t-fprules rs6000/t-ppcgas rs6000/t-ppccomm"
1767 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/eabi.h"
1768 tmake_file="rs6000/t-fprules rs6000/t-ppcgas rs6000/t-ppccomm"
1771 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h kaos.h rs6000/kaos-ppc.h"
1772 tmake_file="rs6000/t-fprules rs6000/t-ppcgas rs6000/t-ppccomm"
1775 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"
1776 tmake_file="rs6000/t-fprules rs6000/t-ppcgas rs6000/t-ppccomm"
1778 rs6000-ibm-aix4.[12]* | powerpc-ibm-aix4.[12]*)
1779 tm_file="${tm_file} rs6000/aix.h rs6000/aix41.h rs6000/xcoff.h"
1780 tmake_file="rs6000/t-fprules rs6000/t-newas"
1784 rs6000-ibm-aix4.[3456789]* | powerpc-ibm-aix4.[3456789]*)
1785 tm_file="rs6000/biarch64.h ${tm_file} rs6000/aix.h rs6000/aix43.h rs6000/xcoff.h"
1786 tmake_file=rs6000/t-aix43
1791 rs6000-ibm-aix5.1.* | powerpc-ibm-aix5.1.*)
1792 tm_file="rs6000/biarch64.h ${tm_file} rs6000/aix.h rs6000/aix51.h rs6000/xcoff.h"
1793 tmake_file=rs6000/t-aix43
1798 rs6000-ibm-aix[56789].* | powerpc-ibm-aix[56789].*)
1799 tm_file="${tm_file} rs6000/aix.h rs6000/aix52.h rs6000/xcoff.h"
1800 tmake_file=rs6000/t-aix52
1806 tm_file="svr3.h lynx.h rs6000/lynxbase.h rs6000/rs6000.h rs6000/lynx.h"
1807 tmake_file=rs6000/t-fprules
1811 tm_file="s390/s390.h dbxelf.h elfos.h svr4.h linux.h s390/linux.h"
1812 tmake_file="t-slibgcc-elf-ver t-linux s390/t-crtstuff"
1815 tm_file="s390/s390x.h s390/s390.h dbxelf.h elfos.h svr4.h linux.h s390/linux.h"
1816 tm_p_file=s390/s390-protos.h
1817 md_file=s390/s390.md
1818 extra_modes=s390/s390-modes.def
1819 out_file=s390/s390.c
1820 tmake_file="t-slibgcc-elf-ver t-linux s390/t-crtstuff s390/t-linux64"
1822 sh-*-elf* | sh[2346l]*-*-elf* | sh*-*-kaos*)
1823 tmake_file="sh/t-sh sh/t-elf"
1826 tm_file="sh/little.h ${tm_file}"
1827 tmake_file="${tmake_file} sh/t-le"
1830 tm_file="${tm_file} dbxelf.h elfos.h svr4.h sh/elf.h sh/embed-elf.h"
1833 tmake_file="${tmake_file} sh/t-sh64"
1834 tm_file="${tm_file} sh/sh64.h"
1835 extra_headers="shmedia.h ushmedia.h sshmedia.h"
1837 sh4_single*) target_cpu_default="SELECT_SH4_SINGLE" ;;
1838 sh4*) target_cpu_default="SELECT_SH4" ;;
1839 sh3e*) target_cpu_default="SELECT_SH3E" ;;
1840 sh3*) target_cpu_default="SELECT_SH3" ;;
1841 sh2e*) target_cpu_default="SELECT_SH2E" ;;
1842 sh2*) target_cpu_default="SELECT_SH2" ;;
1845 sh[234]*) tmake_file="${tmake_file} sh/t-monolib" ;;
1848 sh*-*-kaos*) tm_file="${tm_file} kaos.h sh/kaos-sh.h" ;;
1852 tmake_file="sh/t-sh sh/t-elf t-rtems"
1853 tm_file="${tm_file} dbxelf.h elfos.h svr4.h sh/elf.h sh/embed-elf.h sh/rtemself.h rtems.h"
1854 if test x$enable_threads = xyes; then
1859 tmake_file="sh/t-sh t-rtems"
1860 tm_file="${tm_file} dbxcoff.h sh/coff.h sh/rtems.h rtems.h"
1861 if test x$enable_threads = xyes; then
1865 sh-*-linux* | sh[2346lbe]*-*-linux*)
1866 tmake_file="sh/t-sh sh/t-elf t-slibgcc-elf-ver t-linux"
1868 sh*be-*-* | sh*eb-*-*) ;;
1870 tm_file="sh/little.h ${tm_file}"
1871 tmake_file="${tmake_file} sh/t-le"
1874 tmake_file="${tmake_file} sh/t-linux"
1875 tm_file="${tm_file} dbxelf.h elfos.h svr4.h sh/elf.h sh/linux.h"
1878 tmake_file="${tmake_file} sh/t-sh64"
1879 tm_file="${tm_file} sh/sh64.h"
1880 extra_headers="shmedia.h ushmedia.h sshmedia.h"
1882 sh4_single*) target_cpu_default="SELECT_SH4_SINGLE" ;;
1883 sh4*) target_cpu_default="SELECT_SH4" ;;
1884 sh3e[lb]e*) target_cpu_default="SELECT_SH3E" ;;
1885 sh3e[lb]*) target_cpu_default="SELECT_SH3" ;;
1886 sh3e*) target_cpu_default="SELECT_SH3E" ;;
1887 sh3*) target_cpu_default="SELECT_SH3" ;;
1888 sh2e[lb]e*) target_cpu_default="SELECT_SH2E" ;;
1889 sh2e[lb]*) target_cpu_default="SELECT_SH2" ;;
1890 sh2e*) target_cpu_default="SELECT_SH2E" ;;
1891 sh2*) target_cpu_default="SELECT_SH2" ;;
1894 sh[234]*) tmake_file="${tmake_file} sh/t-monolib" ;;
1897 sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
1898 sh64-*-netbsd* | sh64l*-*-netbsd*)
1899 tm_file="${tm_file} dbxelf.h elfos.h sh/elf.h netbsd.h netbsd-elf.h sh/netbsd-elf.h"
1900 tmake_file="${tmake_file} sh/t-sh sh/t-elf"
1903 tm_file="sh/little.h ${tm_file}"
1904 tmake_file="${tmake_file} sh/t-le"
1907 tmake_file="${tmake_file} sh/t-be"
1912 # SHmedia, 32-bit ABI
1913 target_cpu_default="SH5_BIT|SH4_BIT|SH3_BIT|SH_E_BIT"
1914 tmake_file="${tmake_file} sh/t-sh64 sh/t-netbsd-sh5"
1917 # SHmedia, 64-bit ABI
1918 target_cpu_default="SH5_BIT|SH4_BIT"
1919 tmake_file="${tmake_file} sh/t-sh64 sh/t-netbsd-sh5 sh/t-netbsd-sh5-64"
1922 # SH3, software floating point
1923 target_cpu_default="SH1_BIT|SH2_BIT|SH3_BIT"
1924 tmake_file="${tmake_file} sh/t-netbsd"
1929 tm_file="${tm_file} dbxcoff.h sh/coff.h"
1932 tm_file="${tm_file} sparc/pbd.h"
1935 tm_file="${tm_file} elfos.h svr4.h sparc/sysv4.h netbsd.h netbsd-elf.h sparc/netbsd-elf.h"
1938 tm_defines=OBSD_OLD_GAS
1939 tm_file="sparc/sparc.h openbsd.h sparc/openbsd.h"
1940 # needed to unconfuse gdb
1941 tmake_file="t-libc-ok t-openbsd sparc/t-openbsd"
1942 # we need collect2 until our bug is fixed...
1946 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"
1951 tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sol2.h sparc/sol2.h sparc/elf.h"
1952 tmake_file="sparc/t-elf sparc/t-crtfm"
1953 extra_parts="crti.o crtn.o crtbegin.o crtend.o"
1955 sparc-*-linux*) # SPARC's running GNU/Linux, libc6
1956 tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/linux.h"
1957 tmake_file="t-slibgcc-elf-ver t-linux sparc/t-crtfm"
1960 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"
1961 tmake_file="sparc/t-elf sparc/t-crtfm t-rtems"
1962 extra_parts="crti.o crtn.o crtbegin.o crtend.o"
1963 if test x$enable_threads = xyes; then
1967 sparc64-*-solaris2* | sparcv9-*-solaris2*)
1968 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"
1969 if test x$gnu_ld = xyes; then
1970 tm_file="${tm_file} sparc/sol2-gld.h sparc/sol2-gld-bi.h"
1972 if test x$gas = xyes; then
1973 tm_file="${tm_file} sparc/sol2-gas-bi.h"
1975 tmake_file="sparc/t-sol2 sparc/t-sol2-64 sparc/t-crtfm"
1976 if test x$gnu_ld = xyes; then
1977 tmake_file="$tmake_file t-slibgcc-elf-ver"
1979 tmake_file="$tmake_file t-slibgcc-sld"
1981 extra_parts="crt1.o crti.o crtn.o gcrt1.o crtbegin.o crtend.o"
1982 if test x${enable_threads} = x ; then
1983 enable_threads=$have_pthread_h
1984 if test x${enable_threads} = x ; then
1985 enable_threads=$have_thread_h
1988 if test x${enable_threads} = xyes ; then
1989 if test x${have_pthread_h} = xyes ; then
1992 thread_file='solaris'
1995 need_64bit_hwint=yes
1998 tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sol2.h sparc/sol2.h"
1999 if test x$gnu_ld = xyes; then
2000 tm_file="${tm_file} sparc/sol2-gld.h"
2002 tmake_file="sparc/t-sol2 sparc/t-crtfm"
2003 if test x$gnu_ld = xyes; then
2004 tmake_file="$tmake_file t-slibgcc-elf-ver"
2006 tmake_file="$tmake_file t-slibgcc-sld"
2009 *-*-solaris2.[0-6] | *-*-solaris2.[0-6].*)
2010 if test x$gnu_ld = xno; then
2011 tm_file="${tm_file} sparc/sol26-sld.h"
2015 tm_file="sparc/biarch64.h ${tm_file} sparc/sol2-bi.h"
2016 if test x$gnu_ld = xyes; then
2017 tm_file="${tm_file} sparc/sol2-gld-bi.h"
2019 if test x$gas = xyes; then
2020 tm_file="${tm_file} sparc/sol2-gas-bi.h"
2022 tmake_file="$tmake_file sparc/t-sol2-64"
2023 need_64bit_hwint=yes
2026 extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"
2027 if test x${enable_threads} = x; then
2028 enable_threads=$have_pthread_h
2029 if test x${enable_threads} = x; then
2030 enable_threads=$have_thread_h
2033 if test x${enable_threads} = xyes; then
2034 if test x${have_pthread_h} = xyes; then
2037 thread_file='solaris'
2042 tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/sysv4-only.h"
2044 extra_parts="crtbegin.o crtend.o"
2047 tm_file="${tm_file} gofast.h sparc/lite.h svr3.h sparc/litecoff.h dbxcoff.h libgloss.h"
2048 tmake_file=sparc/t-sparclite
2051 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"
2052 tmake_file="sparc/t-sparclite sparc/t-crtfm"
2053 extra_parts="crtbegin.o crtend.o"
2056 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"
2057 tmake_file="sparc/t-sp86x sparc/t-crtfm"
2058 extra_parts="crtbegin.o crtend.o"
2061 tm_file="sparc/sparc.h sparc/aout.h sparc/sp64-aout.h"
2064 tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sol2.h sparc/sol2.h sparc/sp64-elf.h"
2065 tmake_file="${tmake_file} sparc/t-crtfm"
2066 extra_parts="crtbegin.o crtend.o"
2068 sparc64-*-freebsd*|ultrasparc-*-freebsd*)
2069 tm_file="${tm_file} ${fbsd_tm_file} dbxelf.h elfos.h sparc/sysv4.h sparc/freebsd.h"
2070 tmake_file="${tmake_file} sparc/t-crtfm"
2072 case "x$with_cpu" in
2074 x) with_cpu=ultrasparc ;;
2075 *) echo "$with_cpu not supported for freebsd target"; exit 1 ;;
2077 need_64bit_hwint=yes
2079 sparc64-*-linux*) # 64-bit SPARC's running GNU/Linux
2080 tmake_file="t-slibgcc-elf-ver t-linux sparc/t-linux64 sparc/t-crtfm"
2081 tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/linux64.h"
2084 tmake_file="${tmake_file} sparc/t-netbsd64"
2085 tm_file="sparc/biarch64.h ${tm_file}"
2086 tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h netbsd.h netbsd-elf.h sparc/netbsd-elf.h"
2089 tm_file="arm/strongarm-elf.h dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h"
2090 tmake_file=arm/t-strongarm-elf
2093 extra_modes=arm/arm-modes.def
2096 tm_file="arm/semi.h arm/aout.h arm/coff.h dbxcoff.h arm/strongarm-coff.h arm/arm.h arm/pe.h arm/strongarm-pe.h"
2097 tmake_file=arm/t-strongarm-pe
2100 extra_modes=arm/arm-modes.def
2104 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"
2105 tmake_file=arm/t-strongarm-elf
2108 extra_modes=arm/arm-modes.def
2111 target_cpu_default="TARGET_CPU_v850e"
2112 tm_file="dbxelf.h elfos.h svr4.h v850/v850.h"
2113 tm_p_file=v850/v850-protos.h
2114 tmake_file=v850/t-v850
2115 md_file=v850/v850.md
2116 out_file=v850/v850.c
2117 if test x$stabs = xyes
2119 tm_file="${tm_file} dbx.h"
2122 c_target_objs="v850-c.o"
2123 cxx_target_objs="v850-c.o"
2126 target_cpu_default="TARGET_CPU_generic"
2127 tm_file="dbxelf.h elfos.h svr4.h ${tm_file}"
2128 tmake_file=v850/t-v850
2129 if test x$stabs = xyes
2131 tm_file="${tm_file} dbx.h"
2134 c_target_objs="v850-c.o"
2135 cxx_target_objs="v850-c.o"
2137 vax-*-bsd*) # VAXen running BSD
2138 tm_file="${tm_file} vax/bsd.h"
2141 vax-*-sysv*) # VAXen running system V
2142 tm_file="${tm_file} vax/vaxv.h"
2145 tm_file="${tm_file} elfos.h netbsd.h netbsd-elf.h vax/elf.h vax/netbsd-elf.h"
2148 tm_file="${tm_file} netbsd.h netbsd-aout.h vax/netbsd.h"
2154 tm_file="vax/vax.h vax/openbsd1.h openbsd.h vax/openbsd.h"
2157 vax-*-ultrix*) # VAXen running ultrix
2158 tm_file="${tm_file} vax/ultrix.h"
2160 vax-*-vms*) # VAXen running VMS
2161 echo "Configuration $machine no longer supported" 1>&2
2164 vax-*-*) # VAX default entry
2167 tm_file="arm/xscale-elf.h dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h"
2168 tmake_file=arm/t-xscale-elf
2171 extra_modes=arm/arm-modes.def
2174 tm_file="arm/semi.h arm/aout.h arm/coff.h dbxcoff.h arm/xscale-coff.h arm/arm.h"
2175 tmake_file=arm/t-xscale-coff
2178 extra_modes=arm/arm-modes.def
2181 # For historical reasons, the target files omit the 'x'.
2182 tm_file="dbxelf.h elfos.h svr4.h stormy16/stormy16.h"
2183 tm_p_file=stormy16/stormy16-protos.h
2184 md_file=stormy16/stormy16.md
2185 out_file=stormy16/stormy16.c
2186 tmake_file="stormy16/t-stormy16"
2187 extra_parts="crtbegin.o crtend.o"
2190 tm_file="${tm_file} dbxelf.h elfos.h svr4.h xtensa/elf.h"
2191 tmake_file="xtensa/t-xtensa xtensa/t-elf"
2194 tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h xtensa/linux.h"
2195 tmake_file="t-slibgcc-elf-ver t-linux xtensa/t-xtensa xtensa/t-linux"
2198 tm_file="mn10300/mn10300.h dbxelf.h elfos.h linux.h mn10300/linux.h"
2199 tmake_file="t-linux mn10300/t-linux"
2201 if test x$enable_threads = xyes; then
2204 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
2208 echo "*** Configuration $machine not supported" 1>&2
2215 install_headers_dir=install-headers-cpio
2219 # Support for --with-cpu and related options (and a few unrelated options,
2220 # too). Only do this if $machine is the target, or we'll try to validate
2221 # the CPU argument against the wrong machine type.
2223 if test "x$pass2done" = xyes
2225 case "x$with_cpu" in
2227 echo "--with-cpu must be passed a value" 1>&2
2232 # If there is no $with_cpu option, try to infer one from ${machine}.
2233 # This block sets nothing except for with_cpu.
2234 if test x$with_cpu = x
2238 # A Cirrus ARM variant.
2245 case $target_alias in
2255 pentium_mmx-*|winchip_c6-*|winchip2-*|c3-*)
2256 with_cpu=pentium-mmx
2263 i686-*-* | i786-*-*)
2264 case $target_alias in
2268 athlon_xp-*|athlon_mp-*|athlon_4-*)
2271 athlon_tbird-*|athlon-*)
2311 with_cpu="`echo $machine | sed 's/-.*$//'`"
2312 if [ x$with_cpu = xsparc64 ]; then
2319 # Similarly for --with-schedule.
2320 if test x$with_schedule = x; then
2323 # Override default PA8000 scheduling model.
2324 with_schedule=7100LC
2329 # Validate and mark as valid any --with options supported
2330 # by this target. In order to use a particular --with option
2331 # you must list it in supported_defaults; validating the value
2332 # is optional. This case statement should set nothing besides
2333 # supported_defaults.
2338 supported_defaults="cpu tune"
2339 for which in cpu tune; do
2340 eval "val=\$with_$which"
2343 | xev4 | xev45 | x21064 | xev5 | x21164 | xev56 | x21164a \
2344 | xpca56 | x21164PC | x21164pc | xev6 | x21264 | xev67 \
2348 echo "Unknown CPU used in --with-$which=$val" 1>&2
2356 supported_defaults="arch cpu float tune"
2357 for which in cpu tune; do
2358 eval "val=\$with_$which"
2361 | xarm[236789] | xarm250 | xarm[67][01]0 \
2362 | xarm60 | xarm620 | xarm7d | xarm7di \
2363 | xarm7m | xarm7dm | xarm7dmi | xarm[79]tdmi \
2364 | xarm70 | xarm700i | xarm710t | xarm720 \
2365 | xarm720t | xarm740t | xarm710c | xarm920 \
2366 | xarm920t | xarm940t | xarm9e | xarm10tdmi \
2367 | xarm7100 | xarm7500 | xarm7500fe | xarm810 \
2369 | xxscale | xiwmmxt \
2371 | xstrongarm | xstrongarm110 | xstrongarm11[01]0)
2375 echo "Unknown CPU used in --with-$which=$val" 1>&2
2381 case "x$with_arch" in
2383 | xarmv[2345] | xarmv2a | xarmv3m | xarmv4t | xarmv5t \
2384 | xarmv5te | ep9312)
2388 echo "Unknown arch used in --with-arch=$with_arch" 1>&2
2393 case "x$with_float" in
2399 echo "Unknown floating point type used in --with-float=$with_float" 1>&2
2404 if test "x$with_arch" != x && test "x$with_cpu" != x; then
2405 echo "Warning: --with-arch overrides --with-cpu" 1>&2
2409 hppa*-*-* | parisc*-*-*)
2410 supported_defaults="arch schedule"
2412 case "x$with_arch" in
2413 x | x1.0 | x1.1 | x2.0)
2417 echo "Unknown architecture used in --with-arch=$with_arch" 1>&2
2422 case "x$with_schedule" in
2423 x | x700 | x7100 | x7100LC | x7200 | x7300 | x8000)
2427 echo "Unknown processor used in --with-schedule=$with_schedule." 1>&2
2433 i[34567]86-*-* | x86_64-*-*)
2434 supported_defaults="arch cpu tune"
2435 for which in arch cpu tune; do
2436 eval "val=\$with_$which"
2440 | xi586 | xpentium | xpentium-mmx | xwinchip-c6 | xwinchip2 \
2441 | xc3 | xc3-2 | xi686 | xpentiumpro | xpentium2 | xpentium3 \
2442 | xpentium4 | xk6 | xk6-2 | xk6-3 | xathlon | xathlon-tbird \
2443 | xathlon-4 | xathlon-xp | xathlon-mp | xk8)
2447 echo "Unknown CPU given in --with-$which=$val." 1>&2
2455 supported_defaults="abi arch float tune"
2457 case "x$with_float" in
2463 echo "Unknown floating point type used in --with-float=$with_float" 1>&2
2468 case "x$with_abi" in
2470 | x32 | xo64 | xn32 | x64 | xeabi)
2474 echo "Unknown ABI used in --with-abi=$with_abi" 1>&2
2480 powerpc*-*-* | rs6000-*-*)
2481 supported_defaults="cpu float tune"
2483 for which in cpu tune; do
2484 eval "val=\$with_$which"
2487 | xdefault32 | xdefault64 \
2489 | xpower | xpower2 | xpower3 | xpower4 \
2490 | xpowerpc | xpowerpc64 \
2491 | xrios | xrios1 | xrios2 | xrsc | xrsc1 | xrs64a \
2492 | x401 | x403 | x405 | x405fp | x440 | x440fp | x505 \
2493 | x601 | x602 | x603 | x603e | xec603e | x604 \
2494 | x604e | x620 | x630 | x740 | x750 | x7400 | x7450 \
2495 | x8540 | x801 | x821 | x823 | x860 | x970)
2499 echo "Unknown cpu used in --with-$which=$val." 1>&2
2507 supported_defaults="arch mode tune"
2509 for which in arch tune; do
2510 eval "val=\$with_$which"
2513 | xg5 | xg6 | xz900 | xz990)
2517 echo "Unknown cpu used in --with-$which=$val." 1>&2
2523 case "x$with_mode" in
2529 echo "Unknown architecture mode used in --with-mode=$with_mode." 1>&2
2536 supported_defaults="cpu float tune"
2538 for which in cpu tune; do
2539 eval "val=\$with_$which"
2542 | xsparc | xsparcv9 | xsparc64 | xsparc86x \
2543 | xv7 | xcypress | xv8 | xsupersparc | xsparclite | xf930 \
2544 | xf934 | xhypersparc | xsparclite86x | xsparclet | tsc701 \
2545 | xv9 | xultrasparc | xultrasparc3)
2549 echo "Unknown cpu used in --with-$which=$val" 1>&2
2555 case "x$with_float" in
2561 echo "Unknown floating point type used in --with-float=$with_float" 1>&2
2568 supported_defaults=cpu
2569 case "x$with_cpu" in
2574 echo "Unknown cpu used in --with-cpu=$with_cpu" 1>&2
2581 # Set some miscellaneous flags for particular targets.
2582 target_cpu_default2=
2585 if test x$gas = xyes
2587 target_cpu_default2="MASK_GAS"
2592 case "x$with_cpu" in
2595 target_cpu_default2="TARGET_CPU_generic"
2599 target_cpu_default2="TARGET_CPU_$with_cpu"
2604 hppa*-*-* | parisc*-*-*)
2605 if test x$gas = xyes
2607 target_cpu_default2="MASK_GAS|MASK_JUMP_IN_DELAY"
2613 mips*-*-ecoff* | mips*-*-elf*)
2614 if test x$gas = xyes
2616 if test x$gnu_ld = xyes
2618 target_cpu_default2="MASK_GAS|MASK_SPLIT_ADDR"
2620 target_cpu_default2="MASK_GAS"
2625 if test x$gas = xyes
2627 target_cpu_default2="MASK_GAS"
2633 tm_defines="TARGET_ENDIAN_DEFAULT=0 $tm_defines"
2637 *mips/elf.h* | *mips/elf64.h*)
2638 tm_defines="OBJECT_FORMAT_ELF $tm_defines"
2641 if test "x$enable_gofast" = xyes
2643 tm_defines="INIT_SUBTARGET_OPTABS=INIT_GOFAST_OPTABS $tm_defines"
2644 tm_file="gofast.h $tm_file"
2645 tmake_file="mips/t-gofast $tmake_file"
2647 tmake_file="mips/t-mips $tmake_file"
2651 powerpc*-*-* | rs6000-*-*)
2652 if test x$enable_altivec = xyes
2654 tm_file="$tm_file rs6000/altivec-defs.h"
2656 # FIXME: The PowerPC port uses the value set at compile time,
2657 # although it's only cosmetic.
2658 if test "x$with_cpu" != x
2660 target_cpu_default2="\\\"$with_cpu\\\""
2662 out_file=rs6000/rs6000.c
2663 c_target_objs="${c_target_objs} rs6000-c.o"
2664 cxx_target_objs="${cxx_target_objs} rs6000-c.o"
2665 tmake_file="rs6000/t-rs6000 ${tmake_file}"
2669 # Some standard aliases.
2675 with_cpu=sparclite86x
2677 xsparcv9 | xsparc64)
2682 # The Sparc port checks this value at compile-time.
2683 target_cpu_default2="TARGET_CPU_$with_cpu"
2686 # FIXME: The v850 is "special" in that it does not support
2687 # runtime CPU selection, only --with-cpu.
2688 case "x$with_cpu" in
2692 target_cpu_default2="TARGET_CPU_$with_cpu"
2699 all_defaults="abi cpu arch tune schedule float mode"
2700 for option in $all_defaults
2702 eval "val=\$with_$option"
2703 if test -n "$val"; then
2704 case " $supported_defaults " in
2708 echo "This target does not support --with-$option." 2>&1
2715 t="{ \"$option\", \"$val\" }"
2717 t="${t}, { \"$option\", \"$val\" }"
2723 configure_default_options="{ { NULL, NULL} }"
2725 configure_default_options="{ ${t} }"
2728 if test "$target_cpu_default2" != ""
2730 if test "$target_cpu_default" != ""
2732 target_cpu_default="(${target_cpu_default}|${target_cpu_default2})"
2734 target_cpu_default=$target_cpu_default2
2739 # Save data on machine being used to compile GCC in build_xm_file.
2740 # Save data on host machine in vars host_xm_file and host_xmake_file.
2741 if test x$pass1done = x
2743 if test x$xm_file != x
2744 then build_xm_file=$xm_file
2746 build_xm_defines=$xm_defines
2747 build_install_headers_dir=$install_headers_dir
2748 build_exeext=$exeext
2751 if test x$pass2done = x
2753 if test x$xm_file != x
2754 then host_xm_file=$xm_file
2756 host_xm_defines=$xm_defines
2757 host_xmake_file="$xmake_file"
2758 host_extra_gcc_objs=$extra_gcc_objs
2759 host_extra_objs=$extra_host_objs
2761 out_host_hook_obj=$host_hook_obj