1 # GCC build-, host- and target-specific configuration file.
2 # Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
4 #This file is part of GNU CC.
6 #GNU CC is free software; you can redistribute it and/or modify
7 #it under the terms of the GNU General Public License as published by
8 #the Free Software Foundation; either version 2, or (at your option)
11 #GNU CC is distributed in the hope that it will be useful,
12 #but WITHOUT ANY WARRANTY; without even the implied warranty of
13 #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 #GNU General Public License for more details.
16 #You should have received a copy of the GNU General Public License
17 #along with GNU CC; see the file COPYING. If not, write to
18 #the Free Software Foundation, 59 Temple Place - Suite 330,
19 #Boston, MA 02111-1307, USA.
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_file A list of target macro files, if different from
49 # "$cpu_type/$cpu_type.h".
51 # tm_p_file Location of file with declarations for functions
54 # out_file The name of the machine description C support
55 # file, if different from "$cpu_type/$cpu_type.c".
57 # md_file The name of the machine-description file, if
58 # different from "$cpu_type/$cpu_type.md".
60 # tmake_file A list of machine-description-specific
61 # makefile-fragments, if different from
62 # "$cpu_type/t-$cpu_type".
64 # float_format Set to the symbolic name for the floating-point
65 # formats used for this machine, if different from
66 # "i64". Used to derive a header file name to
67 # include, like "vax" for "float-vax.h". If no such
68 # file is wanted, set to "none".
70 # extra_objs List of extra objects that should be linked into
71 # the compiler proper (cc1, cc1obj, cc1plus)
72 # depending on target.
74 # extra_headers List of used header files from the directory
77 # host_xmake_file List of host-specific makefile-fragments.
79 # extra_passes List of extra executables compiled for this target
80 # machine, used for compiling from source to object.
82 # extra_parts List of extra object files that should be compiled
83 # for this target machine.
85 # extra_programs Like extra_passes, but these are used when linking.
87 # host_extra_objs List of extra host-dependant objects that should
88 # be linked into the compiler proper.
90 # host_extra_gcc_objs List of extra host-dependant objects that should
91 # be linked into the gcc driver.
93 # c_target_objs List of extra target-dependant objects that be
94 # linked into the C compiler only.
96 # cxx_target_objs List of extra target-dependant objects that be
97 # linked into the C++ compiler only.
99 # build_xm_defines List of macros to define when compiling for the
102 # build_xm_file List of files to include when compiling for the
105 # host_xm_defines List of macros to define when compiling for the
108 # host_xm_file List of files to include when compiling for the
111 # xm_defines List of macros to define when compiling for the
114 # xm_file List of files to include when compiling for the
117 # use_collect2 Set to yes or no, depending on whether collect2
120 # target_cpu_default Set to override the default target model.
122 # build_install_headers_dir
123 # Target to use when installing header files.
125 # host_truncate_target
126 # Non-empty if the target name should be truncated
127 # on this host, due to filename length issues.
129 # gdb_needs_out_file_path
130 # Set to yes if gdb needs a dir command with
131 # `dirname $out_file`.
133 # build_exeext Set to the suffix, if the build machine requires
134 # executables to have a file name suffix.
136 # host_exeext Set to the suffix, if the host machine requires
137 # executables to have a file name suffix.
139 # thread_file Set to control which thread package to use.
141 # gas Set to yes or no depending on whether the target
142 # system normally uses GNU as.
144 # The following variables are used in each case-construct to build up the
145 # outgoing variables:
147 # xmake_file Makefile-fragment when this system is as a host,
148 # for host_xmake_file.
150 # extra_host_objs List of extra objects that should be linked into
151 # the compiler proper when this system is a host,
152 # for host_extra_objs.
154 # install_headers_dir Makefile-target for how the header file directory
155 # is installed, when this system is a build system,
156 # for build_install_headers_dir.
158 # truncate_target Non-empty if the target name should be truncated
159 # when this system is a host, due to filename length
160 # issues. For host_truncate_target.
162 # exeext The suffix for executables on this system.
164 # gnu_ld Set to yes or no depending on whether the target
165 # system normally uses GNU ld.
181 # Set this to force installation and use of collect2.
183 # Set this to override the default target model.
185 # Set this to control how the header file directory is installed.
186 install_headers_dir=install-headers-tar
187 # Set this if directory names should be truncated to 14 characters.
189 # Set this if gdb needs a dir command with `dirname $out_file`
190 gdb_needs_out_file_path=
191 # Set this if the build machine requires executables to have a
194 # Set this to control which thread package will be used.
196 # Reinitialize these from the flag values every loop pass, since some
197 # configure entries modify them.
199 gnu_ld="$gnu_ld_flag"
200 enable_threads=$enable_threads_flag
202 # Set default cpu_type, tm_file, tm_p_file and xm_file so it can be
203 # updated in each machine entry.
205 cpu_type=`echo $machine | sed 's/-.*$//'`
245 tm_file=${cpu_type}/${cpu_type}.h
246 xm_file=${cpu_type}/xm-${cpu_type}.h
247 if test -f ${srcdir}/config/${cpu_type}/${cpu_type}-protos.h;
249 tm_p_file=${cpu_type}/${cpu_type}-protos.h;
251 # On a.out targets, we need to use collect2.
258 # Common parts for GNU/Linux, GNU/Hurd and OpenBSD systems.
264 # On the Hurd, the setup is just about the same on
265 # each different CPU. The specific machines that we
266 # support are matched above and just set $cpu_type.
267 xm_file="xm-gnu.h ${xm_file}"
268 tm_file="${cpu_type}/gnu.h"
269 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
270 # GNU always uses ELF.
272 # GNU tools are the only tools.
275 # These details are the same as for Linux.
277 # But here we need a little extra magic.
278 tmake_file="t-linux t-gnu"
281 tm_file="${cpu_type}/${cpu_type}.h i386/att.h linux.h i386/linux.h gnu.h ${tm_file}"
284 tm_file="svr4.h ${cpu_type}/${cpu_type}.h ${tm_file}"
289 tm_file=${cpu_type}/openbsd.h
290 tmake_file="t-libc-ok t-openbsd"
291 # avoid surprises, always provide an xm-openbsd file
292 xm_file=${cpu_type}/xm-openbsd.h
293 # don't depend on processor x-fragments as well
295 if test x$enable_threads = xyes; then
297 tmake_file="${tmake_file} t-openbsd-thread"
303 # Support site-specific machine types.
305 cpu_type=`echo $machine | sed -e 's/-.*//'`
306 rest=`echo $machine | sed -e "s/$cpu_type-//"`
307 xm_file=${cpu_type}/xm-$rest.h
308 tm_file=${cpu_type}/$rest.h
309 if test -f $srcdir/config/${cpu_type}/x-$rest; \
310 then xmake_file=${cpu_type}/x-$rest; \
313 if test -f $srcdir/config/${cpu_type}/t-$rest; \
314 then tmake_file=${cpu_type}/t-$rest; \
320 a29k-*-bsd* | a29k-*-sym1*)
321 tm_file="${tm_file} a29k/unix.h"
323 xmake_file=a29k/x-unix
326 a29k-*-udi | a29k-*-coff)
327 tm_file="${tm_file} dbxcoff.h a29k/udi.h"
328 tmake_file=a29k/t-a29kbare
332 tmake_file="a29k/t-a29kbare t-rtems"
333 if test x$enable_threads = xyes; then
338 tm_file="${tm_file} dbxcoff.h a29k/udi.h a29k/vx29k.h"
339 tmake_file=a29k/t-vx29k
340 extra_parts="crtbegin.o crtend.o"
341 thread_file='vxworks'
343 a29k-*-*) # Default a29k environment.
347 tm_file="${tm_file} alpha/alpha32.h interix.h alpha/alpha-interix.h"
349 # GAS + IEEE_CONFORMANT+IEEE (no inexact);
350 #target_cpu_default="MASK_GAS|MASK_IEEE_CONFORMANT|MASK_IEEE"
352 # GAS + IEEE_CONFORMANT
353 target_cpu_default="MASK_GAS|MASK_IEEE_CONFORMANT"
355 xm_file="alpha/xm-alpha-interix.h xm-interix.h"
356 xmake_file="x-interix alpha/t-pe"
357 tmake_file="alpha/t-alpha alpha/t-interix alpha/t-ieee"
358 if test x$enable_threads = xyes ; then
361 if test x$stabs = xyes ; then
362 tm_file="${tm_file} dbxcoff.h"
364 #prefix='$$INTERIX_ROOT'/usr/contrib
365 #local_prefix='$$INTERIX_ROOT'/usr/contrib
367 alpha*-*-linux*ecoff*)
368 tm_file="${tm_file} alpha/linux-ecoff.h alpha/linux.h"
369 target_cpu_default="MASK_GAS"
370 tmake_file="alpha/t-alpha alpha/t-ieee"
375 alpha*-*-linux*libc1*)
376 tm_file="${tm_file} alpha/elf.h alpha/linux.h alpha/linux-elf.h"
377 target_cpu_default="MASK_GAS"
378 tmake_file="t-linux t-linux-gnulibc1 alpha/t-alpha alpha/t-crtbe alpha/t-ieee"
379 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
382 if test x$enable_threads = xyes; then
387 tm_file="${tm_file} alpha/elf.h alpha/linux.h alpha/linux-elf.h"
388 target_cpu_default="MASK_GAS"
389 tmake_file="t-linux alpha/t-crtbe alpha/t-alpha alpha/t-ieee"
390 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
393 if test x$enable_threads = xyes; then
398 tm_file="${tm_file} freebsd.h alpha/elf.h alpha/freebsd.h"
399 target_cpu_default="MASK_GAS"
400 tmake_file="t-freebsd alpha/t-crtbe alpha/t-alpha alpha/t-ieee"
401 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
405 case x${enable_threads} in
406 xyes | xpthreads | xposix)
408 tmake_file="${tmake_file} t-freebsd-thread"
413 tm_file="${tm_file} alpha/elf.h alpha/netbsd.h alpha/netbsd-elf.h"
414 target_cpu_default="MASK_GAS"
415 tmake_file="alpha/t-crtbe alpha/t-alpha alpha/t-ieee"
416 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
422 # default x-alpha is only appropriate for dec-osf.
423 target_cpu_default="MASK_GAS"
424 tmake_file="alpha/t-alpha alpha/t-ieee"
428 if test x$stabs = xyes
430 tm_file="${tm_file} dbx.h"
432 if test x$gas != xyes
434 extra_passes="mips-tfile mips-tdump"
437 tmake_file="alpha/t-alpha alpha/t-ieee alpha/t-osf"
438 xmake_file=alpha/x-osf
441 tm_file="${tm_file} alpha/osf.h alpha/osf12.h alpha/osf2or3.h"
444 tm_file="${tm_file} alpha/osf.h alpha/osf2or3.h"
447 tm_file="${tm_file} alpha/osf.h"
448 tmake_file="$tmake_file alpha/t-osf4"
449 # Some versions of OSF4 (specifically X4.0-9 296.7) have
450 # a broken tar, so we use cpio instead.
451 install_headers_dir=install-headers-cpio
454 tm_file="${tm_file} alpha/osf.h alpha/osf5.h"
455 tmake_file="$tmake_file alpha/t-osf4"
460 *-*-osf4.0[b-z] | *-*-osf4.[1-9]* | *-*-osf5*)
461 target_cpu_default=MASK_SUPPORT_ARCH
466 tm_file="${tm_file} dbx.h alpha/vxworks.h"
467 tmake_file="alpha/t-alpha alpha/t-ieee"
470 extra_passes="mips-tfile mips-tdump"
473 thread_file='vxworks'
476 tm_file="${tm_file} alpha/alpha32.h alpha/win-nt.h winnt/win-nt.h"
477 xm_file="${xm_file} config/winnt/xm-winnt.h alpha/xm-winnt.h"
478 tmake_file="t-libc-ok alpha/t-alpha alpha/t-ieee"
479 xmake_file=winnt/x-winnt
480 extra_host_objs=oldnames.o
481 extra_gcc_objs="spawnv.o oldnames.o"
482 if test x$gnu_ld != xyes
484 extra_programs=ld.exe
486 if test x$enable_threads = xyes; then
492 xm_file="${xm_file} alpha/xm-vms.h"
493 tmake_file="alpha/t-alpha alpha/t-vms alpha/t-ieee"
496 tm_file=arm/rtems-elf.h
497 tmake_file="arm/t-arm-elf t-rtems"
498 if test x$enable_threads = xyes; then
501 extra_parts="crtinit.o crtfini.o"
504 extra_parts="crtinit.o crtfini.o"
506 arm-*-coff* | armel-*-coff*)
508 tmake_file=arm/t-arm-coff
512 tmake_file=arm/t-arm-coff
513 thread_file='vxworks'
515 arm-*-riscix1.[01]*) # Acorn RISC machine (early versions)
516 tm_file=arm/riscix1-1.h
519 arm-*-riscix*) # Acorn RISC machine
522 tm_file=arm/rix-gas.h
526 xmake_file=arm/x-riscix
527 tmake_file=arm/t-riscix
530 arm-semi-aout | armel-semi-aout)
532 tmake_file=arm/t-semi
534 arm-semi-aof | armel-semi-aof)
535 tm_file=arm/semiaof.h
536 tmake_file=arm/t-semiaof
540 tmake_file="t-netbsd arm/t-netbsd"
543 arm*-*-linux*oldld*) # ARM GNU/Linux with old ELF linker
544 xm_file=arm/xm-linux.h
546 tm_file="arm/linux-oldld.h arm/linux-elf.h"
549 tm_file="arm/linux-elf26.h $tm_file"
552 tmake_file="t-linux arm/t-linux"
553 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
555 case x${enable_threads} in
556 x | xyes | xpthreads | xposix)
561 arm*-*-linux*) # ARM GNU/Linux with ELF
562 xm_file=arm/xm-linux.h
564 tm_file="arm/linux-elf.h"
567 tm_file="arm/linux-elf26.h $tm_file"
570 tmake_file="t-linux arm/t-linux"
571 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
573 case x${enable_threads} in
574 x | xyes | xpthreads | xposix)
579 arm*-*-uclinux*) # ARM ucLinux
580 tm_file=arm/uclinux-elf.h
581 tmake_file=arm/t-arm-elf
585 tmake_file=arm/t-arm-aout
588 tm_file=arm/ecos-elf.h
589 tmake_file=arm/t-arm-elf
592 tm_file=arm/unknown-elf.h
593 tmake_file=arm/t-arm-elf
596 tm_file=arm/conix-elf.h
597 tmake_file=arm/t-arm-elf
600 tm_file=arm/unknown-elf-oabi.h
601 tmake_file=arm/t-arm-elf
610 c1-convex-*) # Convex C1
614 c2-convex-*) # Convex C2
627 target_cpu_default=16
632 tmake_file="c4x/t-c4x t-rtems"
634 if test x$enable_threads = xyes; then
643 clipper-intergraph-clix*)
644 tm_file="${tm_file} svr3.h clipper/clix.h"
645 xm_file=clipper/xm-clix.h
646 xmake_file=clipper/x-clix
647 extra_headers=va-clipper.h
648 extra_parts="crtbegin.o crtend.o"
649 install_headers_dir=install-headers-cpio
660 tm_file="fr30/fr30.h"
661 tmake_file=fr30/t-fr30
662 extra_parts="crti.o crtn.o crtbegin.o crtend.o"
665 tmake_file="h8300/t-h8300 t-rtems"
666 tm_file=h8300/rtems.h
667 if test x$enable_threads = xyes; then
676 target_cpu_default="(MASK_PA_11 | MASK_GAS | MASK_JUMP_IN_DELAY)"
677 tm_file="${tm_file} pa/elf.h linux.h pa/pa-linux.h"
678 tmake_file="t-linux pa/t-linux"
679 extra_parts="crtbegin.o crtend.o"
682 if test x$enable_threads = xyes; then
687 target_cpu_default="MASK_PA_11"
688 tmake_file=pa/t-openbsd
691 tm_file="pa/pa-pro.h ${tm_file} pa/pa-pro-end.h libgloss.h pa/rtems.h"
692 xm_file=pa/xm-papro.h
693 tmake_file="pa/t-pro t-rtems"
694 if test x$enable_threads = xyes; then
699 target_cpu_default="(MASK_JUMP_IN_DELAY | MASK_PORTABLE_RUNTIME | MASK_GAS | MASK_NO_SPACE_REGS | MASK_SOFT_FLOAT)"
700 tm_file="${tm_file} pa/pa32-regs.h elfos.h pa/elf.h pa/pa-pro-end.h libgloss.h"
701 xm_file=pa/xm-papro.h
705 target_cpu_default="MASK_PA_11"
706 tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-osf.h"
710 target_cpu_default="(MASK_JUMP_IN_DELAY | MASK_PORTABLE_RUNTIME | MASK_GAS | MASK_NO_SPACE_REGS | MASK_SOFT_FLOAT)"
711 tm_file="${tm_file} pa/pa32-regs.h elfos.h pa/elf.h pa/pa-pro-end.h libgloss.h pa/rtems.h"
712 xm_file=pa/xm-papro.h
716 tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-osf.h"
720 tm_file="${tm_file} pa/pa32-regs.h pa/som.h"
721 target_cpu_default="MASK_PA_11"
725 tm_file="${tm_file} pa/pa32-regs.h pa/som.h"
729 tm_file="pa/pa-oldas.h ${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux7.h"
730 xm_file=pa/xm-pahpux.h
731 xmake_file=pa/x-pa-hpux
734 tm_file="${tm_file} pa/gas.h"
736 install_headers_dir=install-headers-cpio
739 hppa1.0-*-hpux8.0[0-2]*)
740 tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h"
741 xm_file=pa/xm-pahpux.h
742 xmake_file=pa/x-pa-hpux
745 tm_file="${tm_file} pa/pa-gas.h"
747 tm_file="pa/pa-oldas.h ${tm_file}"
749 install_headers_dir=install-headers-cpio
752 hppa1.1-*-hpux8.0[0-2]*)
753 target_cpu_default="MASK_PA_11"
754 tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h"
755 xm_file=pa/xm-pahpux.h
756 xmake_file=pa/x-pa-hpux
759 tm_file="${tm_file} pa/pa-gas.h"
761 tm_file="pa/pa-oldas.h ${tm_file}"
763 install_headers_dir=install-headers-cpio
767 target_cpu_default="MASK_PA_11"
768 tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h"
769 xm_file=pa/xm-pahpux.h
770 xmake_file=pa/x-pa-hpux
773 tm_file="${tm_file} pa/pa-gas.h"
775 install_headers_dir=install-headers-cpio
779 tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h"
780 xm_file=pa/xm-pahpux.h
781 xmake_file=pa/x-pa-hpux
784 tm_file="${tm_file} pa/pa-gas.h"
786 install_headers_dir=install-headers-cpio
789 hppa1.1-*-hpux10* | hppa2*-*-hpux10*)
790 target_cpu_default="MASK_PA_11"
791 tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-hpux.h pa/pa-hpux10.h"
793 xm_file=pa/xm-pahpux.h
794 xmake_file=pa/x-pa-hpux
798 tm_file="${tm_file} pa/pa-gas.h"
800 if test x$enable_threads = x; then
801 enable_threads=$have_pthread_h
803 case x${enable_threads} in
805 tmake_file="${tmake_file} pa/t-dce-thr"
808 install_headers_dir=install-headers-cpio
812 tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-hpux.h pa/pa-hpux10.h"
814 xm_file=pa/xm-pahpux.h
815 xmake_file=pa/x-pa-hpux
819 tm_file="${tm_file} pa/pa-gas.h"
821 if test x$enable_threads = x; then
822 enable_threads=$have_pthread_h
824 case x${enable_threads} in
826 tmake_file="${tmake_file} pa/t-dce-thr"
829 install_headers_dir=install-headers-cpio
833 xm_file=pa/xm-pa64hpux.h
834 xmake_file=pa/x-pa-hpux
836 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"
839 target_cpu_default="(MASK_PA_11|MASK_PA_20|MASK_GAS)"
843 tm_file="${tm_file} pa/pa-gas.h"
845 # if [ x$enable_threads = x ]; then
846 # enable_threads=$have_pthread_h
848 # if [ x$enable_threads = xyes ]; then
850 # tmake_file="${tmake_file} pa/t-dce-thr"
852 install_headers_dir=install-headers-cpio
855 hppa1.1-*-hpux11* | hppa2*-*-hpux11*)
856 target_cpu_default="MASK_PA_11"
857 tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-hpux.h pa/pa-hpux11.h"
859 xm_file=pa/xm-pahpux.h
860 xmake_file=pa/x-pa-hpux
864 tm_file="${tm_file} pa/pa-gas.h"
866 # if test x$enable_threads = x; then
867 # enable_threads=$have_pthread_h
869 # if test x$enable_threads = xyes; then
871 # tmake_file="${tmake_file} pa/t-dce-thr"
873 install_headers_dir=install-headers-cpio
877 tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-hpux.h pa/pa-hpux11.h"
879 xm_file=pa/xm-pahpux.h
880 xmake_file=pa/x-pa-hpux
883 tm_file="${tm_file} pa/pa-gas.h"
885 # if test x$enable_threads = x; then
886 # enable_threads=$have_pthread_h
888 # if test x$enable_threads = xyes; then
890 # tmake_file="${tmake_file} pa/t-dce-thr"
892 install_headers_dir=install-headers-cpio
895 hppa1.1-*-hpux* | hppa2*-*-hpux*)
896 target_cpu_default="MASK_PA_11"
897 tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h pa/pa-hpux9.h"
898 xm_file=pa/xm-pahpux.h
899 xmake_file=pa/x-pa-hpux
902 tm_file="${tm_file} pa/pa-gas.h"
904 install_headers_dir=install-headers-cpio
908 tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h pa/pa-hpux9.h"
909 xm_file=pa/xm-pahpux.h
910 xmake_file=pa/x-pa-hpux
913 tm_file="${tm_file} pa/pa-gas.h"
915 install_headers_dir=install-headers-cpio
918 hppa1.1-*-hiux* | hppa2*-*-hiux*)
919 target_cpu_default="MASK_PA_11"
920 tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h pa/pa-hiux.h"
921 xm_file=pa/xm-pahpux.h
922 xmake_file=pa/x-pa-hpux
925 tm_file="${tm_file} pa/pa-gas.h"
927 install_headers_dir=install-headers-cpio
931 tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h pa/pa-hiux.h"
932 xm_file=pa/xm-pahpux.h
933 xmake_file=pa/x-pa-hpux
936 tm_file="${tm_file} pa/pa-gas.h"
938 install_headers_dir=install-headers-cpio
942 tm_file="${tm_file} pa/pa32-regs.h elfos.h pa/elf.h"
943 target_cpu_default="MASK_PA_11"
947 tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-mpeix.h"
948 xm_file=pa/xm-pampeix.h
949 xmake_file=pa/x-pa-mpeix
950 echo "You must use gas. Assuming it is already installed."
951 install_headers_dir=install-headers-tar
954 i370-*-opened*) # IBM 360/370/390 Architecture
961 xm_file=i370/xm-mvs.h
963 tmake_file=i370/t-mvs
966 xm_file="xm-linux.h i370/xm-linux.h"
968 tm_file="i370/linux.h ${tm_file}"
969 tmake_file="t-linux i370/t-linux"
971 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
972 # extra_parts="crtbegin.o crtend.o"
976 if test x$enable_threads = xyes; then
980 i[34567]86-*-chorusos*)
981 xm_file="${xm_file} xm-svr4.h i386/xm-sysv4.h"
982 tm_file="i386/i386.h i386/att.h elfos.h i386/i386afe.h i386/i386elf.h i386/chorus.h"
983 tmake_file=i386/t-i386elf
985 case x${enable_threads} in
986 xyes | xpthreads | xposix)
992 xm_file="${xm_file} xm-svr4.h i386/xm-sysv4.h"
993 tm_file="i386/i386.h i386/att.h elfos.h i386/i386afe.h i386/i386elf.h"
994 tmake_file=i386/t-i386elf
997 i[34567]86-ibm-aix*) # IBM PS/2 running AIX
1000 tm_file=i386/aix386.h
1001 extra_parts="crtbegin.o crtend.o"
1002 tmake_file=i386/t-crtstuff
1004 tm_file=i386/aix386ng.h
1007 xm_file="xm-alloca.h i386/xm-aix.h ${xm_file}"
1009 xmake_file=i386/x-aix
1011 i[34567]86-ncr-sysv4*) # NCR 3000 - ix86 running system V.4
1012 xm_file="xm-alloca.h ${xm_file}"
1013 xm_defines="USG POSIX SMALL_ARG_MAX"
1014 xmake_file=i386/x-ncr3000
1015 if test x$stabs = xyes -a x$gas = xyes
1017 tm_file=i386/sysv4gdb.h
1019 tm_file=i386/sysv4.h
1021 extra_parts="crtbegin.o crtend.o"
1022 tmake_file=i386/t-crtpic
1026 xm_file=i386/xm-next.h
1027 tmake_file=i386/t-next
1028 xmake_file=i386/x-next
1029 extra_objs=nextstep.o
1030 extra_parts="crtbegin.o crtend.o"
1031 if test x$enable_threads = xyes; then
1035 i[34567]86-*-netware) # Intel 80386's running netware
1036 tm_file=i386/netware.h
1037 tmake_file=i386/t-netware
1039 i[34567]86-sequent-bsd*) # 80386 from Sequent
1041 if test x$gas = xyes
1043 tm_file=i386/seq-gas.h
1045 tm_file=i386/sequent.h
1048 i[34567]86-sequent-ptx1*)
1049 xm_defines="USG SVR3"
1050 xmake_file=i386/x-sysv3
1051 tm_file=i386/seq-sysv3.h
1052 tmake_file=i386/t-crtstuff
1053 extra_parts="crtbegin.o crtend.o"
1054 install_headers_dir=install-headers-cpio
1056 i[34567]86-sequent-ptx2* | i[34567]86-sequent-sysv3*)
1057 xm_defines="USG SVR3"
1058 xmake_file=i386/x-sysv3
1059 tm_file=i386/seq2-sysv3.h
1060 tmake_file=i386/t-crtstuff
1061 extra_parts="crtbegin.o crtend.o"
1062 install_headers_dir=install-headers-cpio
1064 i[34567]86-sequent-ptx4* | i[34567]86-sequent-sysv4*)
1065 xm_file="xm-alloca.h ${xm_file}"
1066 if test x$gas = xyes
1068 tm_file="${tm_file} usegas.h"
1070 xm_defines="USG POSIX SMALL_ARG_MAX"
1072 tm_file=i386/ptx4-i.h
1074 extra_parts="crtbegin.o crtend.o"
1075 install_headers_dir=install-headers-cpio
1077 i386-sun-sunos*) # Sun i386 roadrunner
1082 i[34567]86-wrs-vxworks*)
1083 tm_file=i386/vxi386.h
1084 tmake_file=i386/t-i386bare
1085 thread_file='vxworks'
1088 tm_file=i386/i386-aout.h
1089 tmake_file=i386/t-i386bare
1091 i[34567]86-*-beoself* | i[34567]86-*-beos*)
1092 xm_file=i386/xm-beos.h
1093 tmake_file='i386/t-beos i386/t-crtpic'
1094 tm_file=i386/beos-elf.h
1095 xmake_file=i386/x-beos
1096 extra_parts='crtbegin.o crtend.o'
1098 i[34567]86-*-bsdi* | i[34567]86-*-bsd386*)
1099 tm_file=i386/bsd386.h
1100 # tmake_file=t-libc-ok
1103 tm_file=i386/386bsd.h
1104 # tmake_file=t-libc-ok
1105 # Next line turned off because both 386BSD and BSD/386 use GNU ld.
1108 i[34567]86-*-freebsd[12] | i[34567]86-*-freebsd[12].* | i[34567]86-*-freebsd*aout*)
1109 tm_file="i386/freebsd-aout.h i386/perform.h"
1110 tmake_file=t-freebsd
1112 i[34567]86-*-freebsd*)
1113 tm_file="i386/i386.h i386/att.h svr4.h freebsd.h i386/i386afe.h i386/freebsd.h i386/perform.h"
1114 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
1115 tmake_file=t-freebsd
1119 case x${enable_threads} in
1120 xyes | xpthreads | xposix)
1122 tmake_file="${tmake_file} t-freebsd-thread"
1126 i[34567]86-*-netbsd*)
1127 tm_file=i386/netbsd.h
1131 i[34567]86-*-openbsd*)
1132 # we need collect2 until our bug is fixed...
1136 tm_file=i386/i386-coff.h
1137 tmake_file=i386/t-i386bare
1139 i[34567]86-*-isc*) # 80386 running ISC system
1140 xm_file="${xm_file} i386/xm-isc.h"
1141 xm_defines="USG SVR3"
1143 i[34567]86-*-isc[34]*)
1144 xmake_file=i386/x-isc3
1147 xmake_file=i386/x-isc
1150 if test x$gas = xyes -a x$stabs = xyes
1152 tm_file=i386/iscdbx.h
1153 tmake_file=i386/t-svr3dbx
1154 extra_parts="svr3.ifile svr3z.ifile"
1156 tm_file=i386/isccoff.h
1157 tmake_file=i386/t-crtstuff
1158 extra_parts="crtbegin.o crtend.o"
1160 tmake_file="$tmake_file i386/t-i386bare"
1161 install_headers_dir=install-headers-cpio
1163 i[34567]86-*-linux*oldld*) # Intel 80386's running GNU/Linux
1164 # with a.out format using
1166 xmake_file=x-linux-aout
1167 tmake_file="t-linux-aout i386/t-crtstuff"
1168 tm_file=i386/linux-oldld.h
1172 i[34567]86-*-linux*aout*) # Intel 80386's running GNU/Linux
1174 xmake_file=x-linux-aout
1175 tmake_file="t-linux-aout i386/t-crtstuff"
1176 tm_file=i386/linux-aout.h
1180 i[34567]86-*-linux*libc1) # Intel 80386's running GNU/Linux
1181 # with ELF format using the
1182 # GNU/Linux C library 5
1184 tm_file="i386/i386.h i386/att.h linux.h i386/i386afe.h i386/linux.h"
1185 tmake_file="t-linux t-linux-gnulibc1 i386/t-crtstuff"
1186 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
1189 if test x$enable_threads = xyes; then
1190 thread_file='single'
1193 i[34567]86-*-linux*) # Intel 80386's running GNU/Linux
1194 # with ELF format using glibc 2
1195 # aka GNU/Linux C library 6
1197 tm_file="i386/i386.h i386/att.h linux.h i386/i386afe.h i386/linux.h"
1198 tmake_file="t-linux i386/t-crtstuff"
1199 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
1202 if test x$enable_threads = xyes; then
1209 i[34567]86-go32-msdos | i[34567]86-*-go32*)
1210 echo "GO32/DJGPP V1.X is no longer supported. Use *-pc-msdosdjgpp for DJGPP V2.X instead."
1213 i[34567]86-pc-msdosdjgpp*)
1214 xm_file=i386/xm-djgpp.h
1215 tm_file=i386/djgpp.h
1216 tmake_file=i386/t-djgpp
1217 xmake_file=i386/x-djgpp
1222 case $host in *pc-msdosdjgpp*)
1227 i[34567]86-moss-msdos* | i[34567]86-*-moss*)
1228 tm_file="i386/i386.h i386/att.h linux.h i386/i386afe.h i386/linux.h i386/moss.h"
1229 tmake_file=t-libc-ok
1233 i[34567]86-*-lynxos*)
1234 if test x$gas = xyes
1238 tm_file=i386/lynx-ng.h
1240 xm_file=i386/xm-lynx.h
1241 tmake_file=i386/t-i386bare
1246 # tmake_file=t-libc-ok
1249 i[34567]86-*-osfrose*) # 386 using OSF/rose
1250 if test x$elf = xyes
1252 tm_file=i386/osfelf.h
1255 tm_file=i386/osfrose.h
1258 xm_file="i386/xm-osf.h ${xm_file}"
1259 xmake_file=i386/x-osfrose
1260 tmake_file=i386/t-osf
1261 extra_objs=halfpic.o
1263 i[34567]86-go32-rtems*)
1265 xm_file=i386/xm-go32.h
1266 tm_file=i386/go32-rtems.h
1267 tmake_file="i386/t-go32 t-rtems"
1268 if test x$enable_threads = xyes; then
1272 i[34567]86-*-rtemscoff*)
1274 tm_file=i386/rtems.h
1275 tmake_file="i386/t-i386bare t-rtems"
1276 if test x$enable_threads = xyes; then
1280 i[34567]86-*-rtems*|i[34567]86-*-rtemself*)
1282 tm_file=i386/rtemself.h
1283 extra_parts="crtbegin.o crtend.o crti.o crtn.o"
1284 tmake_file="i386/t-rtems-i386 i386/t-crtstuff t-rtems"
1285 if test x$enable_threads = xyes; then
1289 i[34567]86-*-sco3.2v5*) # 80386 running SCO Open Server 5
1290 xm_file="xm-alloca.h ${xm_file} i386/xm-sco5.h"
1291 xm_defines="USG SVR3"
1292 xmake_file=i386/x-sco5
1293 install_headers_dir=install-headers-cpio
1295 if test x$gas = xyes
1297 tm_file="usegas.h ${tm_file}"
1298 tmake_file=i386/t-sco5gas
1300 tmake_file=i386/t-sco5
1302 tmake_file="$tmake_file i386/t-i386bare"
1303 extra_parts="crti.o crtbegin.o crtend.o crtbeginS.o crtendS.o"
1305 i[34567]86-*-sco3.2v4*) # 80386 running SCO 3.2v4 system
1306 xm_file="${xm_file} i386/xm-sco.h"
1307 xm_defines="USG SVR3 BROKEN_LDEXP SMALL_ARG_MAX"
1308 xmake_file=i386/x-sco4
1309 install_headers_dir=install-headers-cpio
1310 if test x$stabs = xyes
1312 tm_file=i386/sco4dbx.h
1313 tmake_file=i386/t-svr3dbx
1314 extra_parts="svr3.ifile svr3z.rfile"
1317 tmake_file=i386/t-crtstuff
1318 extra_parts="crtbegin.o crtend.o"
1320 tmake_file="$tmake_file i386/t-i386bare"
1321 # The default EAFS filesystem supports long file names.
1322 # Truncating the target makes $host != $target which
1323 # makes gcc think it is doing a cross-compile.
1324 # truncate_target=yes
1326 i[34567]86-*-sco*) # 80386 running SCO system
1327 xm_file=i386/xm-sco.h
1328 xmake_file=i386/x-sco
1329 install_headers_dir=install-headers-cpio
1330 if test x$stabs = xyes
1332 tm_file=i386/scodbx.h
1333 tmake_file=i386/t-svr3dbx
1334 extra_parts="svr3.ifile svr3z.rfile"
1337 extra_parts="crtbegin.o crtend.o"
1338 tmake_file=i386/t-crtstuff
1340 tmake_file="$tmake_file i386/t-i386bare"
1343 i[34567]86-*-solaris2*)
1344 xm_file="xm-alloca.h ${xm_file}"
1345 xm_defines="USG POSIX SMALL_ARG_MAX"
1347 if test x$gas = xyes; then
1348 # Only needed if gas does not support -s
1349 tm_file="i386/sol2gas.h ${tm_file}"
1351 tmake_file="i386/t-i386bare i386/t-sol2"
1352 extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"
1354 if test x${enable_threads} = x; then
1355 enable_threads=$have_pthread_h
1356 if test x${enable_threads} = x; then
1357 enable_threads=$have_thread_h
1360 if test x${enable_threads} = xyes; then
1361 if test x${have_pthread_h} = xyes; then
1364 thread_file='solaris'
1368 i[34567]86-*-sysv5*) # Intel x86 on System V Release 5
1369 xm_file="xm-alloca.h ${xm_file}"
1370 xm_defines="USG POSIX"
1371 tm_file=i386/sysv5.h
1372 if test x$stabs = xyes
1374 tm_file="${tm_file} dbx.h"
1376 tmake_file="i386/t-i386bare i386/t-crtpic"
1378 extra_parts="crtbegin.o crtend.o"
1379 if test x$enable_threads = xyes; then
1383 i[34567]86-*-sysv4*) # Intel 80386's running system V.4
1384 xm_file="xm-alloca.h ${xm_file}"
1385 xm_defines="USG POSIX SMALL_ARG_MAX"
1386 tm_file=i386/sysv4.h
1387 if test x$stabs = xyes
1389 tm_file="${tm_file} dbx.h"
1391 tmake_file="i386/t-i386bare i386/t-crtpic"
1393 extra_parts="crtbegin.o crtend.o"
1395 i[34567]86-*-udk*) # Intel x86 on SCO UW/OSR5 Dev Kit
1396 xm_file="xm-alloca.h ${xm_file}"
1397 xm_defines="USG POSIX"
1399 tmake_file="i386/t-i386bare i386/t-crtpic i386/t-udk"
1401 extra_parts="crtbegin.o crtend.o"
1402 install_headers_dir=install-headers-cpio
1404 i[34567]86-*-osf1*) # Intel 80386's running OSF/1 1.3+
1406 xm_file="${xm_file} xm-svr4.h i386/xm-sysv4.h i386/xm-osf1elf.h"
1407 xm_defines="USE_C_ALLOCA SMALL_ARG_MAX"
1408 if test x$stabs = xyes
1410 tm_file=i386/osf1elfgdb.h
1412 tm_file=i386/osf1elf.h
1414 tmake_file=i386/t-osf1elf
1415 xmake_file=i386/x-osf1elf
1416 extra_parts="crti.o crtn.o crtbegin.o crtend.o"
1418 i[34567]86-*-sysv*) # Intel 80386's running system V
1419 xm_defines="USG SVR3"
1420 xmake_file=i386/x-sysv3
1421 if test x$gas = xyes
1423 if test x$stabs = xyes
1425 tm_file=i386/svr3dbx.h
1426 tmake_file=i386/t-svr3dbx
1427 extra_parts="svr3.ifile svr3z.rfile"
1429 tm_file=i386/svr3gas.h
1430 extra_parts="crtbegin.o crtend.o"
1431 tmake_file=i386/t-crtstuff
1434 tm_file=i386/sysv3.h
1435 extra_parts="crtbegin.o crtend.o"
1436 tmake_file=i386/t-crtstuff
1438 tmake_file="$tmake_file i386/t-crtpic"
1440 i386-*-vsta) # Intel 80386's running VSTa kernel
1441 xm_file="${xm_file} i386/xm-vsta.h"
1443 tmake_file=i386/t-vsta
1444 xmake_file=i386/x-vsta
1447 xm_file="${xm_file} i386/xm-cygwin.h"
1449 tmake_file=i386/t-cygwin
1450 tm_file=i386/win32.h
1451 xmake_file=i386/x-cygwin
1453 if test x$enable_threads = xyes; then
1458 i[34567]86-*-pe | i[34567]86-*-cygwin*)
1459 xm_file="${xm_file} i386/xm-cygwin.h"
1461 tmake_file=i386/t-cygwin
1462 tm_file=i386/cygwin.h
1463 xmake_file=i386/x-cygwin
1465 if test x$enable_threads = xyes; then
1470 i[34567]86-*-mingw32*)
1471 tm_file=i386/mingw32.h
1473 xm_file="${xm_file} i386/xm-mingw32.h"
1474 tmake_file="i386/t-cygwin i386/t-mingw32"
1476 xmake_file=i386/x-cygwin
1477 if test x$enable_threads = xyes; then
1484 *minwg32crt* | *mingw32*)
1485 tm_file="${tm_file} i386/crtdll.h"
1491 tmake_file="i386/t-cygwin i386/t-uwin"
1493 xmake_file=i386/x-cygwin
1494 if test x$enable_threads = xyes; then
1499 i[34567]86-*-interix*)
1500 tm_file="i386/i386-interix.h interix.h"
1501 xm_file="i386/xm-i386-interix.h xm-interix.h"
1503 tmake_file="i386/t-interix"
1504 extra_objs=interix.o
1505 xmake_file=x-interix
1506 if test x$enable_threads = xyes ; then
1509 if test x$stabs = xyes ; then
1510 tm_file="${tm_file} dbxcoff.h"
1513 i[34567]86-*-winnt3*)
1514 tm_file=i386/win-nt.h
1515 out_file=i386/i386.c
1516 xm_file="xm-winnt.h ${xm_file}"
1517 xmake_file=winnt/x-winnt
1518 tmake_file=i386/t-winnt
1519 extra_host_objs="winnt.o oldnames.o"
1520 extra_gcc_objs="spawnv.o oldnames.o"
1521 if test x$gnu_ld != xyes
1523 extra_programs=ld.exe
1525 if test x$enable_threads = xyes; then
1529 i[34567]86-dg-dgux*)
1530 xm_file="xm-alloca.h ${xm_file}"
1531 xm_defines="USG POSIX"
1532 out_file=i386/dgux.c
1534 tmake_file=i386/t-dgux
1535 xmake_file=i386/x-dgux
1536 install_headers_dir=install-headers-cpio
1538 i860-alliant-*) # Alliant FX/2800
1539 tm_file="${tm_file} svr4.h i860/sysv4.h i860/fx2800.h"
1540 xm_file="${xm_file}"
1541 xmake_file=i860/x-fx2800
1542 tmake_file=i860/t-fx2800
1543 extra_parts="crtbegin.o crtend.o"
1546 tm_file="${tm_file} i860/bsd.h"
1547 if test x$gas = xyes
1549 tm_file="${tm_file} i860/bsd-gas.h"
1554 tm_file="${tm_file} i860/mach.h"
1555 tmake_file=t-libc-ok
1557 i860-*-osf*) # Intel Paragon XP/S, OSF/1AD
1558 tm_file="${tm_file} svr3.h i860/paragon.h"
1559 xm_defines="USG SVR3"
1563 tm_file="${tm_file} svr3.h i860/sysv3.h"
1564 xm_defines="USG SVR3"
1565 xmake_file=i860/x-sysv3
1566 extra_parts="crtbegin.o crtend.o"
1569 tm_file="${tm_file} svr4.h i860/sysv4.h"
1570 xm_defines="USG SVR3"
1571 xmake_file=i860/x-sysv4
1573 extra_parts="crtbegin.o crtend.o"
1575 i960-wrs-vxworks5 | i960-wrs-vxworks5.0*)
1576 tm_file="${tm_file} i960/vx960.h"
1577 tmake_file=i960/t-vxworks960
1579 thread_file='vxworks'
1581 i960-wrs-vxworks5* | i960-wrs-vxworks)
1582 tm_file="${tm_file} dbxcoff.h i960/i960-coff.h i960/vx960-coff.h"
1583 tmake_file=i960/t-vxworks960
1585 thread_file='vxworks'
1588 tm_file="${tm_file} i960/vx960.h"
1589 tmake_file=i960/t-vxworks960
1591 thread_file='vxworks'
1594 tm_file="${tm_file} dbxcoff.h i960/i960-coff.h libgloss.h"
1595 tmake_file=i960/t-960bare
1599 tmake_file="i960/t-960bare t-rtems"
1600 tm_file="${tm_file} dbxcoff.h i960/rtems.h"
1602 if test x$enable_threads = xyes; then
1606 i960-*-*) # Default i960 environment.
1611 tmake_file="ia64/t-ia64"
1612 target_cpu_default="0"
1613 if test x$gas = xyes
1615 target_cpu_default="${target_cpu_default}|MASK_GNU_AS"
1617 if test x$gnu_ld = xyes
1619 target_cpu_default="${target_cpu_default}|MASK_GNU_LD"
1624 tm_file=ia64/linux.h
1625 tmake_file="t-linux ia64/t-ia64 ia64/t-glibc"
1626 target_cpu_default="MASK_GNU_AS|MASK_GNU_LD"
1627 if test x$enable_threads = xyes; then
1633 extra_parts="crtinit.o crtfini.o"
1635 # m68hc11 and m68hc12 share the same machine description.
1636 m68hc11-*-*|m6811-*-*)
1637 tm_file="m68hc11/m68hc11.h"
1638 xm_file="m68hc11/xm-m68hc11.h"
1639 tm_p_file="m68hc11/m68hc11-protos.h"
1640 md_file="m68hc11/m68hc11.md"
1641 out_file="m68hc11/m68hc11.c"
1642 tmake_file="m68hc11/t-m68hc11-gas"
1644 m68hc12-*-*|m6812-*-*)
1645 tm_file="m68hc11/m68hc12.h"
1646 tm_p_file="m68hc11/m68hc11-protos.h"
1647 xm_file="m68hc11/xm-m68hc11.h"
1648 md_file="m68hc11/m68hc11.md"
1649 out_file="m68hc11/m68hc11.c"
1650 tmake_file="m68hc11/t-m68hc11-gas"
1652 m68000-convergent-sysv*)
1654 xm_file="m68k/xm-3b1.h ${xm_file}"
1657 extra_headers=math-68881.h
1659 m68000-hp-bsd*) # HP 9000/200 running BSD
1660 tm_file=m68k/hp2bsd.h
1661 xmake_file=m68k/x-hp2bsd
1663 extra_headers=math-68881.h
1665 m68000-hp-hpux*) # HP 9000 series 300
1666 xm_file="xm-alloca.h ${xm_file}"
1668 if test x$gas = xyes
1670 xmake_file=m68k/x-hp320g
1671 tm_file=m68k/hp310g.h
1673 xmake_file=m68k/x-hp320
1674 tm_file=m68k/hp310.h
1676 install_headers_dir=install-headers-cpio
1678 extra_headers=math-68881.h
1683 extra_headers=math-68881.h
1686 tm_file=m68k/sun2o4.h
1688 extra_headers=math-68881.h
1691 xm_file="m68k/xm-3b1.h ${xm_file}"
1693 if test x$gas = xyes
1700 extra_headers=math-68881.h
1702 m68k-apple-aux*) # Apple Macintosh running A/UX
1703 xm_defines="USG AUX"
1704 tmake_file=m68k/t-aux
1705 install_headers_dir=install-headers-cpio
1706 extra_headers=math-68881.h
1707 extra_parts="crt1.o mcrt1.o maccrt1.o crt2.o crtn.o"
1709 if test "$gnu_ld" = yes
1711 tm_file="${tm_file} m68k/auxgld.h"
1713 tm_file="${tm_file} m68k/auxld.h"
1715 if test "$gas" = yes
1717 tm_file="${tm_file} m68k/auxgas.h"
1719 tm_file="${tm_file} m68k/auxas.h"
1721 tm_file="${tm_file} m68k/a-ux.h"
1725 tm_file=m68k/apollo68.h
1726 xmake_file=m68k/x-apollo68
1728 extra_headers=math-68881.h
1731 m68k-altos-sysv*) # Altos 3068
1732 if test x$gas = xyes
1734 tm_file=m68k/altos3068.h
1737 echo "The Altos is supported only with the GNU assembler" 1>&2
1740 extra_headers=math-68881.h
1742 m68k-bull-sysv*) # Bull DPX/2
1743 if test x$gas = xyes
1745 if test x$stabs = xyes
1747 tm_file=m68k/dpx2cdbx.h
1749 tm_file=m68k/dpx2g.h
1754 xm_file="xm-alloca.h ${xm_file}"
1756 xmake_file=m68k/x-dpx2
1758 extra_headers=math-68881.h
1760 m68k-atari-sysv4*) # Atari variant of V.4.
1761 tm_file=m68k/atari.h
1762 xm_file="xm-alloca.h ${xm_file}"
1763 xm_defines="USG FULL_PROTOTYPES"
1765 extra_parts="crtbegin.o crtend.o"
1766 extra_headers=math-68881.h
1769 m68k-motorola-sysv*)
1770 tm_file=m68k/mot3300.h
1771 xm_file="xm-alloca.h m68k/xm-mot3300.h ${xm_file}"
1772 if test x$gas = xyes
1774 xmake_file=m68k/x-mot3300-gas
1775 if test x$gnu_ld = xyes
1777 tmake_file=m68k/t-mot3300-gald
1779 tmake_file=m68k/t-mot3300-gas
1783 xmake_file=m68k/x-mot3300
1784 if test x$gnu_ld = xyes
1786 tmake_file=m68k/t-mot3300-gld
1788 tmake_file=m68k/t-mot3300
1792 gdb_needs_out_file_path=yes
1793 extra_parts="crt0.o mcrt0.o"
1794 extra_headers=math-68881.h
1797 m68k-ncr-sysv*) # NCR Tower 32 SVR3
1798 tm_file=m68k/tower-as.h
1799 xm_defines="USG SVR3"
1800 xmake_file=m68k/x-tower
1801 extra_parts="crtbegin.o crtend.o"
1802 extra_headers=math-68881.h
1805 tm_file=m68k/plexus.h
1806 xm_file="xm-alloca.h m68k/xm-plexus.h ${xm_file}"
1809 extra_headers=math-68881.h
1813 xm_file="xm-alloca.h ${xm_file}"
1815 extra_headers=math-68881.h
1818 xm_file="xm-alloca.h m68k/xm-crds.h ${xm_file}"
1819 xm_defines="USG unos"
1820 xmake_file=m68k/x-crds
1823 extra_headers=math-68881.h
1825 m68k-cbm-sysv4*) # Commodore variant of V.4.
1827 xm_file="xm-alloca.h ${xm_file}"
1828 xm_defines="USG FULL_PROTOTYPES"
1829 xmake_file=m68k/x-amix
1831 extra_parts="crtbegin.o crtend.o"
1832 extra_headers=math-68881.h
1836 tm_file=m68k/ccur-GAS.h
1837 xmake_file=m68k/x-ccur
1838 extra_headers=math-68881.h
1842 m68k-hp-bsd4.4*) # HP 9000/3xx running 4.4bsd
1843 tm_file=m68k/hp3bsd44.h
1844 xmake_file=m68k/x-hp3bsd44
1846 extra_headers=math-68881.h
1849 m68k-hp-bsd*) # HP 9000/3xx running Berkeley Unix
1850 tm_file=m68k/hp3bsd.h
1852 extra_headers=math-68881.h
1856 if test x$with_fp = xno
1858 tm_file=m68k/isi-nfp.h
1864 extra_headers=math-68881.h
1866 m68k-hp-hpux7*) # HP 9000 series 300 running HPUX version 7.
1867 xm_file="xm-alloca.h ${xm_file}"
1869 if test x$gas = xyes
1871 xmake_file=m68k/x-hp320g
1872 tm_file=m68k/hp320g.h
1874 xmake_file=m68k/x-hp320
1875 tm_file=m68k/hpux7.h
1877 install_headers_dir=install-headers-cpio
1879 extra_headers=math-68881.h
1882 m68k-hp-hpux*) # HP 9000 series 300
1883 xm_file="xm-alloca.h ${xm_file}"
1885 if test x$gas = xyes
1887 xmake_file=m68k/x-hp320g
1888 tm_file=m68k/hp320g.h
1890 xmake_file=m68k/x-hp320
1891 tm_file=m68k/hp320.h
1893 install_headers_dir=install-headers-cpio
1895 extra_headers=math-68881.h
1899 tm_file=m68k/sun3mach.h
1901 extra_headers=math-68881.h
1905 if test x$gas = xyes
1907 tm_file=m68k/news3gas.h
1909 tm_file=m68k/news3.h
1912 extra_headers=math-68881.h
1915 m68k-sony-bsd* | m68k-sony-newsos*)
1916 if test x$gas = xyes
1918 tm_file=m68k/newsgas.h
1923 extra_headers=math-68881.h
1926 m68k-next-nextstep2*)
1927 tm_file=m68k/next21.h
1928 xm_file="m68k/xm-next.h ${xm_file}"
1929 tmake_file=m68k/t-next
1930 xmake_file=m68k/x-next
1931 extra_objs=nextstep.o
1932 extra_headers=math-68881.h
1936 m68k-next-nextstep[34]*)
1938 xm_file="m68k/xm-next.h ${xm_file}"
1939 tmake_file=m68k/t-next
1940 xmake_file=m68k/x-next
1941 extra_objs=nextstep.o
1942 extra_parts="crtbegin.o crtend.o"
1943 extra_headers=math-68881.h
1945 if test x$enable_threads = xyes; then
1950 if test x$with_fp = xno
1952 tm_file=m68k/sun3n3.h
1954 tm_file=m68k/sun3o3.h
1958 extra_headers=math-68881.h
1960 m68k-sun-sunos*) # For SunOS 4 (the default).
1961 if test x$with_fp = xno
1963 tm_file=m68k/sun3n.h
1969 extra_headers=math-68881.h
1972 tm_file=m68k/vxm68k.h
1973 tmake_file=m68k/t-vxworks68
1974 extra_headers=math-68881.h
1975 thread_file='vxworks'
1979 tmake_file=m68k/t-m68kbare
1980 tm_file="m68k/m68k-aout.h libgloss.h"
1981 extra_headers=math-68881.h
1985 tmake_file=m68k/t-m68kbare
1986 tm_file="m68k/m68k-coff.h dbx.h"
1987 extra_headers=math-68881.h
1990 m68020-*-elf* | m68k-*-elf*)
1991 tm_file="m68k/m68020-elf.h"
1992 xm_file=m68k/xm-m68kv.h
1993 tmake_file=m68k/t-m68kelf
1994 header_files=math-68881.h
1997 if test x$gas = xyes
2001 tm_file=m68k/lynx-ng.h
2003 xm_file=m68k/xm-lynx.h
2005 tmake_file=m68k/t-lynx
2006 extra_headers=math-68881.h
2010 tm_file=m68k/netbsd.h
2017 # we need collect2 until our bug is fixed...
2020 m68k-*-sysv3*) # Motorola m68k's running system V.3
2021 xm_file="xm-alloca.h ${xm_file}"
2023 xmake_file=m68k/x-m68kv
2024 extra_parts="crtbegin.o crtend.o"
2025 extra_headers=math-68881.h
2028 m68k-*-sysv4*) # Motorola m68k's running system V.4
2029 tm_file=m68k/m68kv4.h
2030 xm_file="xm-alloca.h ${xm_file}"
2033 extra_parts="crtbegin.o crtend.o"
2034 extra_headers=math-68881.h
2037 m68k-*-linux*aout*) # Motorola m68k's running GNU/Linux
2040 tm_file=m68k/linux-aout.h
2041 tmake_file="t-linux-aout m68k/t-linux-aout"
2042 extra_headers=math-68881.h
2046 m68k-*-linux*libc1) # Motorola m68k's running GNU/Linux
2047 # with ELF format using the
2048 # GNU/Linux C library 5
2050 tm_file=m68k/linux.h
2051 tmake_file="t-linux t-linux-gnulibc1 m68k/t-linux"
2052 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
2053 extra_headers=math-68881.h
2057 m68k-*-linux*) # Motorola m68k's running GNU/Linux
2058 # with ELF format using glibc 2
2059 # aka the GNU/Linux C library 6.
2061 tm_file=m68k/linux.h
2062 tmake_file="t-linux m68k/t-linux"
2063 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
2064 extra_headers=math-68881.h
2067 if test x$enable_threads = xyes; then
2072 tmake_file=m68k/t-m68kbare
2073 tm_file=m68k/m68k-psos.h
2074 extra_headers=math-68881.h
2078 tmake_file="m68k/t-m68kbare t-rtems"
2079 tm_file=m68k/rtems.h
2080 extra_headers=math-68881.h
2082 if test x$enable_threads = xyes; then
2086 m68k-*-rtemself*|m68k-*-rtems*)
2087 tmake_file="m68k/t-m68kbare t-rtems m68k/t-crtstuff"
2088 tm_file=m68k/rtemself.h
2089 extra_headers=math-68881.h
2091 if test x$enable_threads = xyes; then
2098 tm_file=m88k/dguxbcs.h
2099 tmake_file=m88k/t-dguxbcs
2103 tmake_file=m88k/t-dgux
2106 extra_parts="crtbegin.o bcscrtbegin.o crtend.o m88kdgux.ld"
2107 xmake_file=m88k/x-dgux
2108 if test x$gas = xyes
2110 tmake_file=m88k/t-dgux-gas
2113 m88k-dolphin-sysv3*)
2114 tm_file=m88k/dolph.h
2115 extra_parts="crtbegin.o crtend.o"
2116 xm_file="m88k/xm-sysv3.h ${xm_file}"
2117 xmake_file=m88k/x-dolph
2118 if test x$gas = xyes
2120 tmake_file=m88k/t-m88k-gas
2123 m88k-tektronix-sysv3)
2124 tm_file=m88k/tekXD88.h
2125 extra_parts="crtbegin.o crtend.o"
2126 xm_file="m88k/xm-sysv3.h ${xm_file}"
2127 xmake_file=m88k/x-tekXD88
2128 if test x$gas = xyes
2130 tmake_file=m88k/t-m88k-gas
2134 tm_file=m88k/m88k-aout.h
2137 tm_file=m88k/m88k-coff.h
2138 tmake_file=m88k/t-bug
2142 extra_parts="crtbegin.o crtend.o"
2143 if test x$gas = xyes
2145 tmake_file=m88k/t-luna-gas
2147 tmake_file=m88k/t-luna
2151 tmake_file="${tmake_file} m88k/t-luna-gas"
2152 tm_file="m88k/aout-dbx.h aoutos.h m88k/m88k.h openbsd.h ${tm_file}"
2153 xm_file="xm-openbsd.h m88k/xm-m88k.h ${xm_file}"
2156 tm_file=m88k/sysv3.h
2157 extra_parts="crtbegin.o crtend.o"
2158 xm_file="m88k/xm-sysv3.h ${xm_file}"
2159 xmake_file=m88k/x-sysv3
2160 if test x$gas = xyes
2162 tmake_file=m88k/t-m88k-gas
2166 tm_file=m88k/sysv4.h
2167 extra_parts="crtbegin.o crtend.o"
2168 xmake_file=m88k/x-sysv4
2169 tmake_file=m88k/t-sysv4
2172 tm_file=mcore/mcore-elf.h
2173 tmake_file=mcore/t-mcore
2176 tm_file=mcore/mcore-pe.h
2177 tmake_file=mcore/t-mcore-pe
2179 mips-sgi-irix6*) # SGI System V.4., IRIX 6
2180 if test "x$gnu_ld" = xyes
2182 tm_file="mips/iris6.h mips/iris6gld.h"
2184 tm_file=mips/iris6.h
2186 tmake_file=mips/t-iris6
2187 xm_file=mips/xm-iris6.h
2188 xmake_file=mips/x-iris6
2189 # if test x$enable_threads = xyes; then
2190 # thread_file='irix'
2194 tm_file="mips/elf.h mips/vxworks.h"
2195 tmake_file=mips/t-ecoff
2198 extra_parts="crtbegin.o crtend.o"
2199 thread_file='vxworks'
2201 mips-sgi-irix5cross64) # Irix5 host, Irix 6 target, cross64
2202 tm_file="mips/iris6.h mips/cross64.h"
2204 xm_file="mips/xm-iris5.h"
2205 xmake_file=mips/x-iris
2206 tmake_file=mips/t-cross64
2207 # See comment in mips/iris[56].h files.
2209 # if test x$enable_threads = xyes; then
2210 # thread_file='irix'
2214 if test x$gas = xyes
2216 if test x$stabs = xyes
2218 tm_file=mips/iris5gdb.h
2220 tm_file="mips/sni-svr4.h mips/sni-gas.h"
2223 tm_file=mips/sni-svr4.h
2226 xmake_file=mips/x-sni-svr4
2227 tmake_file=mips/t-mips-gas
2228 if test x$gnu_ld != xyes
2233 mips-sgi-irix5*) # SGI System V.4., IRIX 5
2234 if test x$gas = xyes
2236 tm_file="mips/iris5.h mips/iris5gas.h"
2237 if test x$stabs = xyes
2239 tm_file="${tm_file} dbx.h"
2242 tm_file=mips/iris5.h
2245 xm_file="mips/xm-iris5.h"
2246 xmake_file=mips/x-iris
2247 # mips-tfile doesn't work yet
2248 tmake_file=mips/t-mips-gas
2249 # See comment in mips/iris5.h file.
2251 # if test x$enable_threads = xyes; then
2252 # thread_file='irix'
2255 mips-sgi-irix4loser*) # Mostly like a MIPS.
2256 tm_file="mips/iris4loser.h mips/iris3.h ${tm_file} mips/iris4.h"
2257 if test x$stabs = xyes; then
2258 tm_file="${tm_file} dbx.h"
2261 xmake_file=mips/x-iris
2262 if test x$gas = xyes
2264 tmake_file=mips/t-mips-gas
2266 extra_passes="mips-tfile mips-tdump"
2268 if test x$gnu_ld != xyes
2272 # if test x$enable_threads = xyes; then
2273 # thread_file='irix'
2276 mips-sgi-irix4*) # Mostly like a MIPS.
2277 tm_file="mips/iris3.h ${tm_file} mips/iris4.h"
2278 if test x$stabs = xyes; then
2279 tm_file="${tm_file} dbx.h"
2282 xmake_file=mips/x-iris
2283 if test x$gas = xyes
2285 tmake_file=mips/t-mips-gas
2287 extra_passes="mips-tfile mips-tdump"
2289 if test x$gnu_ld != xyes
2293 # if test x$enable_threads = xyes; then
2294 # thread_file='irix'
2297 mips-sgi-*) # Mostly like a MIPS.
2298 tm_file="mips/iris3.h ${tm_file}"
2299 if test x$stabs = xyes; then
2300 tm_file="${tm_file} dbx.h"
2303 xmake_file=mips/x-iris3
2304 if test x$gas = xyes
2306 tmake_file=mips/t-mips-gas
2308 extra_passes="mips-tfile mips-tdump"
2310 if test x$gnu_ld != xyes
2315 mips-dec-osfrose*) # Decstation running OSF/1 reference port with OSF/rose.
2316 tm_file="mips/osfrose.h ${tm_file}"
2317 xmake_file=mips/x-osfrose
2318 tmake_file=mips/t-osfrose
2319 extra_objs=halfpic.o
2322 mips-dec-osf*) # Decstation running OSF/1 as shipped by DIGITAL
2323 tm_file=mips/dec-osf1.h
2324 if test x$stabs = xyes; then
2325 tm_file="${tm_file} dbx.h"
2327 xmake_file=mips/x-dec-osf1
2328 if test x$gas = xyes
2330 tmake_file=mips/t-mips-gas
2332 tmake_file=mips/t-ultrix
2333 extra_passes="mips-tfile mips-tdump"
2335 if test x$gnu_ld != xyes
2340 mips-dec-bsd*) # Decstation running 4.4 BSD
2341 tm_file=mips/dec-bsd.h
2342 if test x$gas = xyes
2344 tmake_file=mips/t-mips-gas
2346 tmake_file=mips/t-ultrix
2347 extra_passes="mips-tfile mips-tdump"
2349 if test x$gnu_ld != xyes
2354 mipsel-*-netbsd* | mips-dec-netbsd*) # Decstation running NetBSD
2355 tm_file=mips/netbsd.h
2356 # On NetBSD, the headers are already okay, except for math.h.
2359 mips*-*-linux*) # Linux MIPS, either endian.
2362 mips*el-*) tm_file="mips/elfl.h mips/linux.h" ;;
2363 *) tm_file="mips/elf.h mips/linux.h" ;;
2366 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
2369 if test x$enable_threads = xyes; then
2373 mips*el-*-openbsd*) # mips little endian
2374 target_cpu_default="MASK_GAS|MASK_ABICALLS"
2376 mips*-*-openbsd*) # mips big endian
2377 target_cpu_default="MASK_GAS|MASK_ABICALLS"
2378 tm_file="mips/openbsd-be.h ${tm_file}"
2380 mips-sony-bsd* | mips-sony-newsos*) # Sony NEWS 3600 or risc/news.
2381 tm_file="mips/news4.h ${tm_file}"
2382 if test x$stabs = xyes; then
2383 tm_file="${tm_file} dbx.h"
2385 if test x$gas = xyes
2387 tmake_file=mips/t-mips-gas
2389 extra_passes="mips-tfile mips-tdump"
2391 if test x$gnu_ld != xyes
2395 xmake_file=mips/x-sony
2397 mips-sony-sysv*) # Sony NEWS 3800 with NEWSOS5.0.
2398 # That is based on svr4.
2399 # t-svr4 is not right because this system doesn't use ELF.
2400 tm_file="mips/news5.h ${tm_file}"
2401 if test x$stabs = xyes; then
2402 tm_file="${tm_file} dbx.h"
2405 if test x$gas = xyes
2407 tmake_file=mips/t-mips-gas
2409 extra_passes="mips-tfile mips-tdump"
2411 if test x$gnu_ld != xyes
2416 mips-tandem-sysv4*) # Tandem S2 running NonStop UX
2417 tm_file="mips/svr4-5.h mips/svr4-t.h"
2418 if test x$stabs = xyes; then
2419 tm_file="${tm_file} dbx.h"
2422 xmake_file=mips/x-sysv
2423 if test x$gas = xyes
2425 tmake_file=mips/t-mips-gas
2426 extra_parts="crtbegin.o crtend.o"
2428 tmake_file=mips/t-mips
2429 extra_passes="mips-tfile mips-tdump"
2431 if test x$gnu_ld != xyes
2436 mips-*-ultrix* | mips-dec-mach3) # Decstation.
2437 tm_file="mips/ultrix.h ${tm_file}"
2438 if test x$stabs = xyes; then
2439 tm_file="${tm_file} dbx.h"
2441 xmake_file=mips/x-ultrix
2442 if test x$gas = xyes
2444 tmake_file=mips/t-mips-gas
2446 tmake_file=mips/t-ultrix
2447 extra_passes="mips-tfile mips-tdump"
2449 if test x$gnu_ld != xyes
2454 mips-*-riscos[56789]bsd*)
2455 tm_file=mips/bsd-5.h # MIPS BSD 4.3, RISC-OS 5.0
2456 if test x$stabs = xyes; then
2457 tm_file="${tm_file} dbx.h"
2459 if test x$gas = xyes
2461 tmake_file=mips/t-bsd-gas
2463 tmake_file=mips/t-bsd
2464 extra_passes="mips-tfile mips-tdump"
2466 if test x$gnu_ld != xyes
2471 mips-*-bsd* | mips-*-riscosbsd* | mips-*-riscos[1234]bsd*)
2472 tm_file="mips/bsd-4.h ${tm_file}" # MIPS BSD 4.3, RISC-OS 4.0
2473 if test x$stabs = xyes; then
2474 tm_file="${tm_file} dbx.h"
2476 if test x$gas = xyes
2478 tmake_file=mips/t-bsd-gas
2480 tmake_file=mips/t-bsd
2481 extra_passes="mips-tfile mips-tdump"
2483 if test x$gnu_ld != xyes
2488 mips-*-riscos[56789]sysv4*)
2489 tm_file=mips/svr4-5.h # MIPS System V.4., RISC-OS 5.0
2490 if test x$stabs = xyes; then
2491 tm_file="${tm_file} dbx.h"
2493 xmake_file=mips/x-sysv
2494 if test x$gas = xyes
2496 tmake_file=mips/t-svr4-gas
2498 tmake_file=mips/t-svr4
2499 extra_passes="mips-tfile mips-tdump"
2501 if test x$gnu_ld != xyes
2506 mips-*-sysv4* | mips-*-riscos[1234]sysv4* | mips-*-riscossysv4*)
2507 tm_file="mips/svr4-4.h ${tm_file}"
2508 if test x$stabs = xyes; then
2509 tm_file="${tm_file} dbx.h"
2512 xmake_file=mips/x-sysv
2513 if test x$gas = xyes
2515 tmake_file=mips/t-svr4-gas
2517 tmake_file=mips/t-svr4
2518 extra_passes="mips-tfile mips-tdump"
2520 if test x$gnu_ld != xyes
2525 mips-*-riscos[56789]sysv*)
2526 tm_file=mips/svr3-5.h # MIPS System V.3, RISC-OS 5.0
2527 if test x$stabs = xyes; then
2528 tm_file="${tm_file} dbx.h"
2531 xmake_file=mips/x-sysv
2532 if test x$gas = xyes
2534 tmake_file=mips/t-svr3-gas
2536 tmake_file=mips/t-svr3
2537 extra_passes="mips-tfile mips-tdump"
2539 if test x$gnu_ld != xyes
2544 mips-*-sysv* | mips-*-riscos*sysv*)
2545 tm_file="mips/svr3-4.h ${tm_file}"
2546 if test x$stabs = xyes; then
2547 tm_file="${tm_file} dbx.h"
2550 xmake_file=mips/x-sysv
2551 if test x$gas = xyes
2553 tmake_file=mips/t-svr3-gas
2555 tmake_file=mips/t-svr3
2556 extra_passes="mips-tfile mips-tdump"
2558 if test x$gnu_ld != xyes
2563 mips-*-riscos[56789]*) # Default MIPS RISC-OS 5.0.
2564 tm_file=mips/mips-5.h
2565 if test x$stabs = xyes; then
2566 tm_file="${tm_file} dbx.h"
2568 if test x$gas = xyes
2570 tmake_file=mips/t-mips-gas
2572 extra_passes="mips-tfile mips-tdump"
2574 if test x$gnu_ld != xyes
2582 tm_file=mips/ecoffl.h
2583 if test x$stabs = xyes; then
2584 tm_file="${tm_file} dbx.h"
2586 tmake_file=mips/t-ecoff
2589 tm_file="gofast.h mips/ecoff.h"
2590 if test x$stabs = xyes; then
2591 tm_file="${tm_file} dbx.h"
2593 tmake_file=mips/t-ecoff
2596 tm_file="mips/elfl.h"
2597 tmake_file=mips/t-elf
2600 tm_file="mips/elf.h"
2601 tmake_file=mips/t-elf
2604 tm_file="mips/elfl64.h"
2605 tmake_file=mips/t-elf
2607 mips64orionel-*-elf*)
2608 tm_file="mips/elforion.h mips/elfl64.h"
2609 tmake_file=mips/t-elf
2612 tm_file="mips/elf64.h"
2613 tmake_file=mips/t-elf
2616 tm_file="mips/elforion.h mips/elf64.h"
2617 tmake_file=mips/t-elf
2619 mips64orion-*-rtems*)
2620 tm_file="mips/elforion.h mips/elf64.h mips/rtems64.h"
2621 tmake_file="mips/t-elf t-rtems"
2622 if test x$enable_threads = xyes; then
2627 tm_file="mips/elf.h mips/rtems.h"
2628 tmake_file="mips/t-elf t-rtems"
2629 if test x$enable_threads = xyes; then
2634 tm_file="mips/r3900.h mips/elfl.h mips/abi64.h"
2635 tmake_file=mips/t-r3900
2638 tm_file="mips/r3900.h mips/elf.h mips/abi64.h"
2639 tmake_file=mips/t-r3900
2641 mips-*-*) # Default MIPS RISC-OS 4.0.
2642 if test x$stabs = xyes; then
2643 tm_file="${tm_file} dbx.h"
2645 if test x$gas = xyes
2647 tmake_file=mips/t-mips-gas
2649 extra_passes="mips-tfile mips-tdump"
2651 if test x$gnu_ld != xyes
2659 tm_file="mn10200/mn10200.h"
2660 if test x$stabs = xyes
2662 tm_file="${tm_file} dbx.h"
2668 tm_file="mn10300/mn10300.h"
2669 if test x$stabs = xyes
2671 tm_file="${tm_file} dbx.h"
2676 tm_file=ns32k/encore.h
2680 tm_file=ns32k/sequent.h
2684 tm_file=ns32k/tek6100.h
2688 tm_file=ns32k/tek6200.h
2692 tm_file=ns32k/merlin.h
2696 tm_file=ns32k/pc532-mach.h
2700 tm_file=ns32k/pc532-min.h
2701 xm_file="ns32k/xm-pc532-min.h ${xm-file}"
2706 tm_file=ns32k/netbsd.h
2707 xm_file="ns32k/xm-netbsd.h ${xm_file}"
2708 # On NetBSD, the headers are already okay, except for math.h.
2713 tm_file="${tm_file} pdp11/2bsd.h"
2723 tm_file="svr4.h pj/linux.h ${tm_file}"
2728 tm_file="svr4.h pj/pjl.h ${tm_file}"
2735 xmake_file=romp/x-mach
2742 tmake_file="${tmake_file} rs6000/t-rs6000 rs6000/t-openbsd"
2746 tm_file="${tm_file} rs6000/aix.h rs6000/beos.h"
2747 xm_file=rs6000/xm-beos.h
2748 tmake_file=rs6000/t-beos
2749 xmake_file=rs6000/x-beos
2752 xm_file="rs6000/xm-rs6000.h rs6000/xm-darwin.h"
2753 xmake_file=rs6000/x-darwin
2756 tm_file="${tm_file} svr4.h rs6000/sysv4.h"
2757 xm_file="rs6000/xm-sysv4.h"
2758 xm_defines="USG POSIX"
2759 extra_headers=ppc-asm.h
2760 tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
2761 xmake_file=rs6000/x-sysv4
2763 powerpc-*-chorusos*)
2764 tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/chorus.h"
2765 tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
2766 extra_headers=ppc-asm.h
2767 case x${enable_threads} in
2768 xyes | xpthreads | xposix)
2774 tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/eabi.h rs6000/eabiaix.h"
2775 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2776 extra_headers=ppc-asm.h
2779 tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/eabi.h rs6000/eabisim.h"
2780 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2781 extra_headers=ppc-asm.h
2784 tm_file="${tm_file} svr4.h rs6000/sysv4.h"
2785 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2786 extra_headers=ppc-asm.h
2789 tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/eabi.h"
2790 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2791 extra_headers=ppc-asm.h
2794 tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/eabi.h rtems.h rs6000/rtems.h"
2795 tmake_file="rs6000/t-ppcgas t-rtems rs6000/t-ppccomm"
2796 extra_headers=ppc-asm.h
2797 if test x$enable_threads = xyes; then
2801 powerpc-*-linux*libc1)
2802 tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/linux.h"
2803 xm_file=rs6000/xm-sysv4.h
2804 out_file=rs6000/rs6000.c
2805 tmake_file="rs6000/t-ppcos t-linux t-linux-gnulibc1 rs6000/t-ppccomm"
2807 extra_headers=ppc-asm.h
2808 if test x$enable_threads = xyes; then
2813 tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/linux.h"
2814 xm_file="rs6000/xm-sysv4.h"
2815 xm_defines="USG ${xm_defines}"
2816 out_file=rs6000/rs6000.c
2817 tmake_file="rs6000/t-ppcos t-linux rs6000/t-ppccomm"
2819 extra_headers=ppc-asm.h
2820 if test x$enable_threads = xyes; then
2824 powerpc-wrs-vxworks*)
2826 xm_file="rs6000/xm-sysv4.h"
2827 xm_defines="USG POSIX"
2828 tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/vxppc.h"
2829 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2830 extra_headers=ppc-asm.h
2831 thread_file='vxworks'
2833 powerpcle-wrs-vxworks*)
2835 xm_file="rs6000/xm-sysv4.h"
2836 xm_defines="USG POSIX"
2837 tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/vxppc.h"
2838 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2839 extra_headers=ppc-asm.h
2840 thread_file='vxworks'
2843 tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/sysv4le.h"
2844 xm_file="rs6000/xm-sysv4.h"
2845 xm_defines="USG POSIX"
2846 tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
2847 xmake_file=rs6000/x-sysv4
2848 extra_headers=ppc-asm.h
2851 tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/sysv4le.h"
2852 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2853 extra_headers=ppc-asm.h
2855 powerpcle-*-eabisim*)
2856 tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/eabi.h rs6000/eabisim.h"
2857 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2858 extra_headers=ppc-asm.h
2861 tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/eabi.h"
2862 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2863 extra_headers=ppc-asm.h
2865 powerpcle-*-solaris2*)
2866 tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/sol2.h"
2867 xm_file="rs6000/xm-sysv4.h"
2868 xm_defines="USG POSIX"
2869 tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
2870 xmake_file=rs6000/x-sysv4
2871 extra_headers=ppc-asm.h
2873 rs6000-ibm-aix3.[01]*)
2874 tm_file="${tm_file} rs6000/aix.h rs6000/aix31.h"
2875 xmake_file=rs6000/x-aix31
2879 rs6000-ibm-aix3.2.[456789]* | powerpc-ibm-aix3.2.[456789]*)
2880 tm_file="${tm_file} rs6000/aix.h rs6000/aix3newas.h"
2881 if test x$host != x$target
2883 tmake_file=rs6000/t-xnewas
2885 tmake_file=rs6000/t-newas
2890 rs6000-ibm-aix4.[12]* | powerpc-ibm-aix4.[12]*)
2891 tm_file="${tm_file} rs6000/aix.h rs6000/aix41.h"
2892 if test x$host != x$target
2894 tmake_file=rs6000/t-xnewas
2896 tmake_file=rs6000/t-newas
2898 if test "$gnu_ld" = yes
2900 xmake_file=rs6000/x-aix41-gld
2902 tmake_file='rs6000/t-newas'
2904 xmake_file=rs6000/x-aix41
2908 rs6000-ibm-aix4.[3456789]* | powerpc-ibm-aix4.[3456789]*)
2909 tm_file="${tm_file} rs6000/aix.h rs6000/aix43.h"
2910 tmake_file=rs6000/t-aix43
2911 xmake_file=rs6000/x-aix41
2916 rs6000-ibm-aix[56789].* | powerpc-ibm-aix[56789].*)
2917 tm_file="${tm_file} rs6000/aix.h rs6000/aix51.h"
2918 tmake_file=rs6000/t-aix43
2919 xmake_file=rs6000/x-aix41
2925 tm_file="${tm_file} rs6000/aix.h"
2930 tm_file="${tm_file} rs6000/aix.h"
2935 tm_file=rs6000/mach.h
2936 xm_file="${xm_file} rs6000/xm-mach.h"
2937 xmake_file=rs6000/x-mach
2941 tm_file=rs6000/lynx.h
2942 xm_file=rs6000/xm-lynx.h
2943 tmake_file=rs6000/t-rs6000
2944 xmake_file=rs6000/x-lynx
2948 tmake_file="sh/t-sh sh/t-elf"
2949 tm_file="sh/sh.h sh/elf.h"
2953 tmake_file="sh/t-sh sh/t-elf t-rtems"
2954 tm_file="sh/sh.h sh/elf.h sh/rtemself.h"
2956 if test x$enable_threads = xyes; then
2961 tmake_file="sh/t-sh t-rtems"
2962 tm_file="sh/sh.h sh/rtems.h"
2964 if test x$enable_threads = xyes; then
2969 tm_file="sh/sh.h sh/elf.h sh/linux.h"
2970 tmake_file="sh/t-sh sh/t-elf sh/t-linux"
2973 if test x$enable_threads = xyes; then
2983 xm_file="xm-alloca.h ${xm_file}"
2986 sparc64-wrs-vxworks*)
2987 tm_file="sparc/sol2.h sparc/elf.h sparc/vxsparc64.h"
2988 tmake_file=sparc/t-vxsparc64
2991 sparc-wrs-vxworks* | sparclite-wrs-vxworks*)
2992 tm_file=sparc/vxsparc.h
2993 tmake_file=sparc/t-vxsparc
2995 thread_file='vxworks'
2998 tmake_file=sparc/t-sparcbare
2999 tm_file="sparc/aout.h libgloss.h"
3002 tm_file=sparc/netbsd.h
3007 # we need collect2 until our bug is fixed...
3014 tm_file="sparc/sol2.h sparc/elf.h sparc/chorus.h"
3015 tmake_file=sparc/t-chorus-elf
3016 extra_parts="crti.o crtn.o crtbegin.o crtend.o"
3018 case x${enable_threads} in
3019 xyes | xpthreads | xposix)
3025 tm_file="sparc/sol2.h sparc/elf.h"
3026 tmake_file=sparc/t-elf
3027 extra_parts="crti.o crtn.o crtbegin.o crtend.o"
3031 sparc-*-linux*aout*) # Sparc's running GNU/Linux, a.out
3032 xm_file="${xm_file} sparc/xm-linux.h"
3033 tm_file=sparc/linux-aout.h
3037 sparc-*-linux*libc1*) # Sparc's running GNU/Linux, libc5
3038 xm_file="${xm_file} sparc/xm-linux.h"
3040 tm_file=sparc/linux.h
3041 tmake_file="t-linux t-linux-gnulibc1"
3042 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
3046 sparc-*-linux*) # Sparc's running GNU/Linux, libc6
3047 xm_file="${xm_file} sparc/xm-linux.h"
3049 tm_file=sparc/linux.h
3050 tmake_file="t-linux"
3051 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
3053 if test x$enable_threads = xyes; then
3059 if test x$gas = xyes
3061 tm_file=sparc/lynx.h
3063 tm_file=sparc/lynx-ng.h
3065 xm_file=sparc/xm-lynx.h
3066 tmake_file=sparc/t-sunos41
3070 tmake_file="sparc/t-sparcbare t-rtems"
3071 tm_file=sparc/rtems.h
3072 if test x$enable_threads = xyes; then
3076 sparc-*-rtems*|sparc-*-rtemself*)
3077 tm_file="sparc/sol2.h sparc/elf.h sparc/rtemself.h"
3078 tmake_file="sparc/t-elf t-rtems"
3079 extra_parts="crti.o crtn.o crtbegin.o crtend.o"
3082 if test x$enable_threads = xyes; then
3086 sparcv9-*-solaris2*)
3087 if test x$gnu_ld = xyes
3089 tm_file=sparc/sol2-64.h
3091 tm_file=sparc/sol2-sld-64.h
3093 xm_file="sparc/xm-sysv4-64.h sparc/xm-sol2.h"
3094 xm_defines="USG POSIX"
3095 tmake_file="sparc/t-sol2 sparc/t-sol2-64"
3096 if test x$gnu_ld = xyes; then
3097 tmake_file="$tmake_file sparc/t-slibgcc"
3099 tmake_file="$tmake_file sparc/t-slibgcc-sld"
3101 xmake_file=sparc/x-sysv4
3102 extra_parts="crt1.o crti.o crtn.o gcrt1.o crtbegin.o crtend.o"
3104 if test x${enable_threads} = x ; then
3105 enable_threads=$have_pthread_h
3106 if test x${enable_threads} = x ; then
3107 enable_threads=$have_thread_h
3110 if test x${enable_threads} = xyes ; then
3111 if test x${have_pthread_h} = xyes ; then
3114 thread_file='solaris'
3118 sparc-hal-solaris2*)
3119 xm_file="sparc/xm-sysv4.h sparc/xm-sol2.h"
3120 xm_defines="USG POSIX"
3121 tm_file="sparc/sol2.h sparc/hal.h"
3122 tmake_file="sparc/t-halos sparc/t-sol2"
3123 if test x$gnu_ld = xyes; then
3124 tmake_file="$tmake_file sparc/t-slibgcc"
3126 tmake_file="$tmake_file sparc/t-slibgcc-sld"
3128 xmake_file=sparc/x-sysv4
3129 extra_parts="crt1.o crti.o crtn.o gmon.o crtbegin.o crtend.o"
3138 thread_file='solaris'
3141 if test x$gnu_ld = xyes
3143 tm_file=sparc/sol2.h
3145 tm_file=sparc/sol2-sld.h
3147 xm_file="sparc/xm-sysv4.h sparc/xm-sol2.h"
3148 xm_defines="USG POSIX"
3149 tmake_file=sparc/t-sol2
3150 if test x$gnu_ld = xyes; then
3151 tmake_file="$tmake_file sparc/t-slibgcc"
3153 tmake_file="$tmake_file sparc/t-slibgcc-sld"
3155 xmake_file=sparc/x-sysv4
3156 extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"
3157 # At the moment, 32-to-64 cross compilation doesn't work.
3159 # *-*-solaris2.[0-6] | *-*-solaris2.[0-6].*) ;;
3161 # if test x$gnu_ld = xyes
3163 # tm_file=sparc/sol2-64.h
3165 # tm_file=sparc/sol2-sld-64.h
3167 # tmake_file="$tmake_file sparc/t-sol2-64"
3178 if test x${enable_threads} = x; then
3179 enable_threads=$have_pthread_h
3180 if test x${enable_threads} = x; then
3181 enable_threads=$have_thread_h
3184 if test x${enable_threads} = xyes; then
3185 if test x${have_pthread_h} = xyes; then
3188 thread_file='solaris'
3193 tm_file=sparc/sunos4.h
3194 tmake_file=sparc/t-sunos40
3198 tm_file=sparc/sunos4.h
3199 tmake_file=sparc/t-sunos41
3201 if test x$gas = xyes; then
3202 tm_file="${tm_file} sparc/sun4gas.h"
3206 tm_file=sparc/sun4o3.h
3210 tm_file=sparc/sysv4.h
3211 xm_file="sparc/xm-sysv4.h"
3212 xm_defines="USG POSIX"
3214 xmake_file=sparc/x-sysv4
3215 extra_parts="crtbegin.o crtend.o"
3218 xm_file="sparc/xm-sysv4.h sparc/xm-sol2.h"
3219 xm_defines="USG POSIX"
3220 tm_file=sparc/vxsim.h
3221 tmake_file=sparc/t-vxsparc
3222 xmake_file=sparc/x-sysv4
3225 tm_file="sparc/splet.h libgloss.h"
3226 tmake_file=sparc/t-splet
3229 tm_file="sparc/litecoff.h libgloss.h"
3230 tmake_file=sparc/t-sparclite
3233 tm_file="sparc/lite.h aoutos.h libgloss.h"
3234 tmake_file=sparc/t-sparclite
3237 tm_file="sparc/sol2.h sparc/elf.h sparc/liteelf.h"
3238 tmake_file=sparc/t-sparclite
3239 extra_parts="crtbegin.o crtend.o"
3242 tm_file="sparc/sp86x-aout.h aoutos.h libgloss.h"
3243 tmake_file=sparc/t-sp86x
3246 tm_file="sparc/sol2.h sparc./elf.h sparc/sp86x-elf.h"
3247 tmake_file=sparc/t-sp86x
3248 extra_parts="crtbegin.o crtend.o"
3251 tmake_file=sparc/t-sp64
3252 tm_file=sparc/sp64-aout.h
3255 tmake_file=sparc/t-sp64
3256 tm_file=sparc/sp64-elf.h
3257 extra_parts="crtbegin.o crtend.o"
3259 sparc64-*-linux*) # 64-bit Sparc's running GNU/Linux
3260 tmake_file="t-linux sparc/t-linux64"
3261 xm_file="sparc/xm-sp64.h sparc/xm-linux.h"
3262 tm_file=sparc/linux64.h
3264 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
3266 if test x$enable_threads = xyes; then
3272 tm_file=arm/strongarm-elf.h
3273 tmake_file=arm/t-strongarm-elf
3275 xm_file=arm/xm-arm.h
3279 tm_file=arm/strongarm-coff.h
3280 tmake_file=arm/t-strongarm-coff
3282 xm_file=arm/xm-arm.h
3286 tm_file=arm/strongarm-pe.h
3287 tmake_file=arm/t-strongarm-pe
3289 xm_file=arm/xm-arm.h
3294 { echo "config.gcc: error:
3295 *** The Thumb targets have been deprecated. The equivalent
3296 *** ARM based toolchain can now generate Thumb instructions
3297 *** when the -mthumb switch is given to the compiler." 1>&2; exit 1; }
3301 tm_file="v850/rtems.h"
3302 xm_file="v850/xm-v850.h"
3303 tmake_file="v850/t-v850 t-rtems"
3304 if test x$stabs = xyes
3306 tm_file="${tm_file} dbx.h"
3309 c_target_objs="v850-c.o"
3310 cxx_target_objs="v850-c.o"
3313 target_cpu_default="TARGET_CPU_generic"
3315 tm_file="v850/v850.h"
3316 xm_file="v850/xm-v850.h"
3317 tmake_file=v850/t-v850
3318 if test x$stabs = xyes
3320 tm_file="${tm_file} dbx.h"
3323 c_target_objs="v850-c.o"
3324 cxx_target_objs="v850-c.o"
3326 vax-*-bsd*) # vaxen running BSD
3330 vax-*-sysv*) # vaxen running system V
3331 tm_file="${tm_file} vax/vaxv.h"
3336 tm_file="${tm_file} netbsd.h vax/netbsd.h"
3342 tmake_file="${tmake_file} vax/t-openbsd"
3343 tm_file="vax/vax.h vax/openbsd1.h openbsd.h ${tm_file}"
3344 xm_file="xm-openbsd.h vax/xm-vax.h"
3348 vax-*-ultrix*) # vaxen running ultrix
3349 tm_file="${tm_file} vax/ultrix.h"
3352 vax-*-vms*) # vaxen running VMS
3353 xm_file=vax/xm-vms.h
3357 vax-*-*) # vax default entry
3361 xm_file="${xm_file} xm-svr3"
3365 tm_file=arm/xscale-elf.h
3366 tmake_file=arm/t-xscale-elf
3368 xm_file=arm/xm-arm.h
3372 tm_file=arm/xscale-coff.h
3373 tmake_file=arm/t-xscale-coff
3375 xm_file=arm/xm-arm.h
3379 echo "Configuration $machine not supported" 1>&2
3386 xmake_try_sysv=x-sysv
3387 install_headers_dir=install-headers-cpio
3390 install_headers_dir=install-headers-cpio
3394 # Distinguish i[34567]86
3395 # Also, do not run mips-tfile on MIPS if using gas.
3396 # Process --with-cpu= for PowerPC/rs6000
3397 target_cpu_default2=
3400 target_cpu_default2=1
3403 case $target_alias in
3405 target_cpu_default2=4
3408 target_cpu_default2=2
3412 i686-*-* | i786-*-*)
3413 target_cpu_default2=3
3418 target_cpu_default2="MASK_CPU_EV6|MASK_BWX|MASK_MAX|MASK_FIX|MASK_CIX"
3421 target_cpu_default2="MASK_CPU_EV6|MASK_BWX|MASK_MAX|MASK_FIX"
3424 target_cpu_default2="MASK_CPU_EV5|MASK_BWX|MASK_MAX"
3427 target_cpu_default2="MASK_CPU_EV5|MASK_BWX"
3430 target_cpu_default2="MASK_CPU_EV5"
3434 if test x$gas = xyes
3436 if test "$target_cpu_default2" = ""
3438 target_cpu_default2="MASK_GAS"
3440 target_cpu_default2="${target_cpu_default2}|MASK_GAS"
3445 case "x$with_cpu" in
3448 target_cpu_default2="TARGET_CPU_generic"
3451 # Distinguish cores, and major variants
3452 # arm7m doesn't exist, but D & I don't affect code
3453 xarm[236789] | xarm250 | xarm[67][01]0 \
3454 | xarm7m | xarm7dm | xarm7dmi | xarm[79]tdmi \
3455 | xarm7100 | xarm7500 | xarm7500fe | xarm810 \
3457 | xstrongarm | xstrongarm110 | xstrongarm1100)
3458 target_cpu_default2="TARGET_CPU_$with_cpu"
3462 echo "--with-cpu must be passed a value" 1>&2
3467 if test x$pass2done = xyes
3469 echo "Unknown cpu used with --with-cpu=$with_cpu" 1>&2
3476 mips*-*-ecoff* | mips*-*-elf*)
3477 if test x$gas = xyes
3479 if test x$gnu_ld = xyes
3481 target_cpu_default2="MASK_GAS|MASK_SPLIT_ADDR"
3483 target_cpu_default2="MASK_GAS"
3488 if test x$gas = xyes
3490 target_cpu_default2="MASK_GAS"
3493 powerpc*-*-* | rs6000-*-*)
3494 case "x$with_cpu" in
3498 xcommon | xpower | xpower2 | xpowerpc | xrios \
3499 | xrios1 | xrios2 | xrsc | xrsc1 \
3500 | x601 | x602 | x603 | x603e | x604 | x604e | x620 \
3501 | xec603e | x740 | x750 | x401 \
3502 | x403 | x505 | x801 | x821 | x823 | x860)
3503 target_cpu_default2="\"$with_cpu\""
3507 echo "--with-cpu must be passed a value" 1>&2
3512 if test x$pass2done = xyes
3514 echo "Unknown cpu used with --with-cpu=$with_cpu" 1>&2
3521 case ".$with_cpu" in
3523 target_cpu_default2=TARGET_CPU_"`echo $machine | sed 's/-.*$//'`"
3525 .supersparc | .hypersparc | .ultrasparc | .v7 | .v8 | .v9)
3526 target_cpu_default2="TARGET_CPU_$with_cpu"
3529 if test x$pass2done = xyes
3531 echo "Unknown cpu used with --with-cpu=$with_cpu" 1>&2
3539 if test "$target_cpu_default2" != ""
3541 if test "$target_cpu_default" != ""
3543 target_cpu_default="(${target_cpu_default}|${target_cpu_default2})"
3545 target_cpu_default=$target_cpu_default2
3549 # No need for collect2 if we have the GNU linker.
3550 # Actually, there is now; GNU ld doesn't handle the EH info or
3551 # collecting for shared libraries.
3558 # Save data on machine being used to compile GCC in build_xm_file.
3559 # Save data on host machine in vars host_xm_file and host_xmake_file.
3560 if test x$pass1done = x
3562 if test x"$xm_file" = x
3563 then build_xm_file=$cpu_type/xm-$cpu_type.h
3564 else build_xm_file=$xm_file
3566 build_xm_defines=$xm_defines
3567 build_install_headers_dir=$install_headers_dir
3568 build_exeext=$exeext
3571 if test x$pass2done = x
3573 if test x"$xm_file" = x
3574 then host_xm_file=$cpu_type/xm-$cpu_type.h
3575 else host_xm_file=$xm_file
3577 host_xm_defines=$xm_defines
3578 if test x"$xmake_file" = x
3579 then xmake_file=$cpu_type/x-$cpu_type
3581 host_xmake_file="$xmake_file"
3582 host_truncate_target=$truncate_target
3583 host_extra_gcc_objs=$extra_gcc_objs
3584 host_extra_objs=$extra_host_objs