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 target_cpu_default="MASK_PA_11"
834 xm_file=pa/xm-pa64hpux.h
835 xmake_file=pa/x-pa-hpux
837 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"
840 target_cpu_default="(MASK_PA_11|MASK_PA_20)"
844 tm_file="${tm_file} pa/pa-gas.h"
846 # if [ x$enable_threads = x ]; then
847 # enable_threads=$have_pthread_h
849 # if [ x$enable_threads = xyes ]; then
851 # tmake_file="${tmake_file} pa/t-dce-thr"
853 install_headers_dir=install-headers-cpio
856 hppa1.1-*-hpux11* | hppa2*-*-hpux11*)
857 target_cpu_default="MASK_PA_11"
858 tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-hpux.h pa/pa-hpux11.h"
860 xm_file=pa/xm-pahpux.h
861 xmake_file=pa/x-pa-hpux
865 tm_file="${tm_file} pa/pa-gas.h"
867 # if test x$enable_threads = x; then
868 # enable_threads=$have_pthread_h
870 # if test x$enable_threads = xyes; then
872 # tmake_file="${tmake_file} pa/t-dce-thr"
874 install_headers_dir=install-headers-cpio
878 tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-hpux.h pa/pa-hpux11.h"
880 xm_file=pa/xm-pahpux.h
881 xmake_file=pa/x-pa-hpux
884 tm_file="${tm_file} pa/pa-gas.h"
886 # if test x$enable_threads = x; then
887 # enable_threads=$have_pthread_h
889 # if test x$enable_threads = xyes; then
891 # tmake_file="${tmake_file} pa/t-dce-thr"
893 install_headers_dir=install-headers-cpio
896 hppa1.1-*-hpux* | hppa2*-*-hpux*)
897 target_cpu_default="MASK_PA_11"
898 tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h pa/pa-hpux9.h"
899 xm_file=pa/xm-pahpux.h
900 xmake_file=pa/x-pa-hpux
903 tm_file="${tm_file} pa/pa-gas.h"
905 install_headers_dir=install-headers-cpio
909 tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h pa/pa-hpux9.h"
910 xm_file=pa/xm-pahpux.h
911 xmake_file=pa/x-pa-hpux
914 tm_file="${tm_file} pa/pa-gas.h"
916 install_headers_dir=install-headers-cpio
919 hppa1.1-*-hiux* | hppa2*-*-hiux*)
920 target_cpu_default="MASK_PA_11"
921 tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h pa/pa-hiux.h"
922 xm_file=pa/xm-pahpux.h
923 xmake_file=pa/x-pa-hpux
926 tm_file="${tm_file} pa/pa-gas.h"
928 install_headers_dir=install-headers-cpio
932 tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h pa/pa-hiux.h"
933 xm_file=pa/xm-pahpux.h
934 xmake_file=pa/x-pa-hpux
937 tm_file="${tm_file} pa/pa-gas.h"
939 install_headers_dir=install-headers-cpio
943 tm_file="${tm_file} pa/pa32-regs.h elfos.h pa/elf.h"
944 target_cpu_default="MASK_PA_11"
948 tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-mpeix.h"
949 xm_file=pa/xm-pampeix.h
950 xmake_file=pa/x-pa-mpeix
951 echo "You must use gas. Assuming it is already installed."
952 install_headers_dir=install-headers-tar
955 i370-*-opened*) # IBM 360/370/390 Architecture
962 xm_file=i370/xm-mvs.h
964 tmake_file=i370/t-mvs
967 xm_file="xm-linux.h i370/xm-linux.h"
969 tm_file="i370/linux.h ${tm_file}"
970 tmake_file="t-linux i370/t-linux"
972 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
973 # extra_parts="crtbegin.o crtend.o"
977 if test x$enable_threads = xyes; then
981 i[34567]86-*-chorusos*)
982 xm_file="${xm_file} xm-svr4.h i386/xm-sysv4.h"
983 tm_file="i386/i386.h i386/att.h elfos.h i386/i386afe.h i386/i386elf.h i386/chorus.h"
984 tmake_file=i386/t-i386elf
986 case x${enable_threads} in
987 xyes | xpthreads | xposix)
993 xm_file="${xm_file} xm-svr4.h i386/xm-sysv4.h"
994 tm_file="i386/i386.h i386/att.h elfos.h i386/i386afe.h i386/i386elf.h"
995 tmake_file=i386/t-i386elf
998 i[34567]86-ibm-aix*) # IBM PS/2 running AIX
1001 tm_file=i386/aix386.h
1002 extra_parts="crtbegin.o crtend.o"
1003 tmake_file=i386/t-crtstuff
1005 tm_file=i386/aix386ng.h
1008 xm_file="xm-alloca.h i386/xm-aix.h ${xm_file}"
1010 xmake_file=i386/x-aix
1012 i[34567]86-ncr-sysv4*) # NCR 3000 - ix86 running system V.4
1013 xm_file="xm-alloca.h ${xm_file}"
1014 xm_defines="USG POSIX SMALL_ARG_MAX"
1015 xmake_file=i386/x-ncr3000
1016 if test x$stabs = xyes -a x$gas = xyes
1018 tm_file=i386/sysv4gdb.h
1020 tm_file=i386/sysv4.h
1022 extra_parts="crtbegin.o crtend.o"
1023 tmake_file=i386/t-crtpic
1027 xm_file=i386/xm-next.h
1028 tmake_file=i386/t-next
1029 xmake_file=i386/x-next
1030 extra_objs=nextstep.o
1031 extra_parts="crtbegin.o crtend.o"
1032 if test x$enable_threads = xyes; then
1036 i[34567]86-*-netware) # Intel 80386's running netware
1037 tm_file=i386/netware.h
1038 tmake_file=i386/t-netware
1040 i[34567]86-sequent-bsd*) # 80386 from Sequent
1042 if test x$gas = xyes
1044 tm_file=i386/seq-gas.h
1046 tm_file=i386/sequent.h
1049 i[34567]86-sequent-ptx1*)
1050 xm_defines="USG SVR3"
1051 xmake_file=i386/x-sysv3
1052 tm_file=i386/seq-sysv3.h
1053 tmake_file=i386/t-crtstuff
1054 extra_parts="crtbegin.o crtend.o"
1055 install_headers_dir=install-headers-cpio
1057 i[34567]86-sequent-ptx2* | i[34567]86-sequent-sysv3*)
1058 xm_defines="USG SVR3"
1059 xmake_file=i386/x-sysv3
1060 tm_file=i386/seq2-sysv3.h
1061 tmake_file=i386/t-crtstuff
1062 extra_parts="crtbegin.o crtend.o"
1063 install_headers_dir=install-headers-cpio
1065 i[34567]86-sequent-ptx4* | i[34567]86-sequent-sysv4*)
1066 xm_file="xm-alloca.h ${xm_file}"
1067 if test x$gas = xyes
1069 tm_file="${tm_file} usegas.h"
1071 xm_defines="USG POSIX SMALL_ARG_MAX"
1073 tm_file=i386/ptx4-i.h
1075 extra_parts="crtbegin.o crtend.o"
1076 install_headers_dir=install-headers-cpio
1078 i386-sun-sunos*) # Sun i386 roadrunner
1083 i[34567]86-wrs-vxworks*)
1084 tm_file=i386/vxi386.h
1085 tmake_file=i386/t-i386bare
1086 thread_file='vxworks'
1089 tm_file=i386/i386-aout.h
1090 tmake_file=i386/t-i386bare
1092 i[34567]86-*-beoself* | i[34567]86-*-beos*)
1093 xm_file=i386/xm-beos.h
1094 tmake_file='i386/t-beos i386/t-crtpic'
1095 tm_file=i386/beos-elf.h
1096 xmake_file=i386/x-beos
1097 extra_parts='crtbegin.o crtend.o'
1099 i[34567]86-*-bsdi* | i[34567]86-*-bsd386*)
1100 tm_file=i386/bsd386.h
1101 # tmake_file=t-libc-ok
1104 tm_file=i386/386bsd.h
1105 # tmake_file=t-libc-ok
1106 # Next line turned off because both 386BSD and BSD/386 use GNU ld.
1109 i[34567]86-*-freebsd[12] | i[34567]86-*-freebsd[12].* | i[34567]86-*-freebsd*aout*)
1110 tm_file="i386/freebsd-aout.h i386/perform.h"
1111 tmake_file=t-freebsd
1113 i[34567]86-*-freebsd*)
1114 tm_file="i386/i386.h i386/att.h svr4.h freebsd.h i386/i386afe.h i386/freebsd.h i386/perform.h"
1115 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
1116 tmake_file=t-freebsd
1120 case x${enable_threads} in
1121 xyes | xpthreads | xposix)
1123 tmake_file="${tmake_file} t-freebsd-thread"
1127 i[34567]86-*-netbsd*)
1128 tm_file=i386/netbsd.h
1132 i[34567]86-*-openbsd*)
1133 # we need collect2 until our bug is fixed...
1137 tm_file=i386/i386-coff.h
1138 tmake_file=i386/t-i386bare
1140 i[34567]86-*-isc*) # 80386 running ISC system
1141 xm_file="${xm_file} i386/xm-isc.h"
1142 xm_defines="USG SVR3"
1144 i[34567]86-*-isc[34]*)
1145 xmake_file=i386/x-isc3
1148 xmake_file=i386/x-isc
1151 if test x$gas = xyes -a x$stabs = xyes
1153 tm_file=i386/iscdbx.h
1154 tmake_file=i386/t-svr3dbx
1155 extra_parts="svr3.ifile svr3z.ifile"
1157 tm_file=i386/isccoff.h
1158 tmake_file=i386/t-crtstuff
1159 extra_parts="crtbegin.o crtend.o"
1161 tmake_file="$tmake_file i386/t-i386bare"
1162 install_headers_dir=install-headers-cpio
1164 i[34567]86-*-linux*oldld*) # Intel 80386's running GNU/Linux
1165 # with a.out format using
1167 xmake_file=x-linux-aout
1168 tmake_file="t-linux-aout i386/t-crtstuff"
1169 tm_file=i386/linux-oldld.h
1173 i[34567]86-*-linux*aout*) # Intel 80386's running GNU/Linux
1175 xmake_file=x-linux-aout
1176 tmake_file="t-linux-aout i386/t-crtstuff"
1177 tm_file=i386/linux-aout.h
1181 i[34567]86-*-linux*libc1) # Intel 80386's running GNU/Linux
1182 # with ELF format using the
1183 # GNU/Linux C library 5
1185 tm_file="i386/i386.h i386/att.h linux.h i386/i386afe.h i386/linux.h"
1186 tmake_file="t-linux t-linux-gnulibc1 i386/t-crtstuff"
1187 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
1190 if test x$enable_threads = xyes; then
1191 thread_file='single'
1194 i[34567]86-*-linux*) # Intel 80386's running GNU/Linux
1195 # with ELF format using glibc 2
1196 # aka GNU/Linux C library 6
1198 tm_file="i386/i386.h i386/att.h linux.h i386/i386afe.h i386/linux.h"
1199 tmake_file="t-linux i386/t-crtstuff"
1200 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
1203 if test x$enable_threads = xyes; then
1210 i[34567]86-go32-msdos | i[34567]86-*-go32*)
1211 echo "GO32/DJGPP V1.X is no longer supported. Use *-pc-msdosdjgpp for DJGPP V2.X instead."
1214 i[34567]86-pc-msdosdjgpp*)
1215 xm_file=i386/xm-djgpp.h
1216 tm_file=i386/djgpp.h
1217 tmake_file=i386/t-djgpp
1218 xmake_file=i386/x-djgpp
1223 case $host in *pc-msdosdjgpp*)
1228 i[34567]86-moss-msdos* | i[34567]86-*-moss*)
1229 tm_file="i386/i386.h i386/att.h linux.h i386/i386afe.h i386/linux.h i386/moss.h"
1230 tmake_file=t-libc-ok
1234 i[34567]86-*-lynxos*)
1235 if test x$gas = xyes
1239 tm_file=i386/lynx-ng.h
1241 xm_file=i386/xm-lynx.h
1242 tmake_file=i386/t-i386bare
1247 # tmake_file=t-libc-ok
1250 i[34567]86-*-osfrose*) # 386 using OSF/rose
1251 if test x$elf = xyes
1253 tm_file=i386/osfelf.h
1256 tm_file=i386/osfrose.h
1259 xm_file="i386/xm-osf.h ${xm_file}"
1260 xmake_file=i386/x-osfrose
1261 tmake_file=i386/t-osf
1262 extra_objs=halfpic.o
1264 i[34567]86-go32-rtems*)
1266 xm_file=i386/xm-go32.h
1267 tm_file=i386/go32-rtems.h
1268 tmake_file="i386/t-go32 t-rtems"
1269 if test x$enable_threads = xyes; then
1273 i[34567]86-*-rtemscoff*)
1275 tm_file=i386/rtems.h
1276 tmake_file="i386/t-i386bare t-rtems"
1277 if test x$enable_threads = xyes; then
1281 i[34567]86-*-rtems*|i[34567]86-*-rtemself*)
1283 tm_file=i386/rtemself.h
1284 extra_parts="crtbegin.o crtend.o crti.o crtn.o"
1285 tmake_file="i386/t-rtems-i386 i386/t-crtstuff t-rtems"
1286 if test x$enable_threads = xyes; then
1290 i[34567]86-*-sco3.2v5*) # 80386 running SCO Open Server 5
1291 xm_file="xm-alloca.h ${xm_file} i386/xm-sco5.h"
1292 xm_defines="USG SVR3"
1293 xmake_file=i386/x-sco5
1294 install_headers_dir=install-headers-cpio
1296 if test x$gas = xyes
1298 tm_file="usegas.h ${tm_file}"
1299 tmake_file=i386/t-sco5gas
1301 tmake_file=i386/t-sco5
1303 tmake_file="$tmake_file i386/t-i386bare"
1304 extra_parts="crti.o crtbegin.o crtend.o crtbeginS.o crtendS.o"
1306 i[34567]86-*-sco3.2v4*) # 80386 running SCO 3.2v4 system
1307 xm_file="${xm_file} i386/xm-sco.h"
1308 xm_defines="USG SVR3 BROKEN_LDEXP SMALL_ARG_MAX"
1309 xmake_file=i386/x-sco4
1310 install_headers_dir=install-headers-cpio
1311 if test x$stabs = xyes
1313 tm_file=i386/sco4dbx.h
1314 tmake_file=i386/t-svr3dbx
1315 extra_parts="svr3.ifile svr3z.rfile"
1318 tmake_file=i386/t-crtstuff
1319 extra_parts="crtbegin.o crtend.o"
1321 tmake_file="$tmake_file i386/t-i386bare"
1322 # The default EAFS filesystem supports long file names.
1323 # Truncating the target makes $host != $target which
1324 # makes gcc think it is doing a cross-compile.
1325 # truncate_target=yes
1327 i[34567]86-*-sco*) # 80386 running SCO system
1328 xm_file=i386/xm-sco.h
1329 xmake_file=i386/x-sco
1330 install_headers_dir=install-headers-cpio
1331 if test x$stabs = xyes
1333 tm_file=i386/scodbx.h
1334 tmake_file=i386/t-svr3dbx
1335 extra_parts="svr3.ifile svr3z.rfile"
1338 extra_parts="crtbegin.o crtend.o"
1339 tmake_file=i386/t-crtstuff
1341 tmake_file="$tmake_file i386/t-i386bare"
1344 i[34567]86-*-solaris2*)
1345 xm_file="xm-alloca.h ${xm_file}"
1346 xm_defines="USG POSIX SMALL_ARG_MAX"
1348 if test x$gas = xyes; then
1349 # Only needed if gas does not support -s
1350 tm_file="i386/sol2gas.h ${tm_file}"
1352 tmake_file="i386/t-i386bare i386/t-sol2"
1353 extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"
1355 if test x${enable_threads} = x; then
1356 enable_threads=$have_pthread_h
1357 if test x${enable_threads} = x; then
1358 enable_threads=$have_thread_h
1361 if test x${enable_threads} = xyes; then
1362 if test x${have_pthread_h} = xyes; then
1365 thread_file='solaris'
1369 i[34567]86-*-sysv5*) # Intel x86 on System V Release 5
1370 xm_file="xm-alloca.h ${xm_file}"
1371 xm_defines="USG POSIX"
1372 tm_file=i386/sysv5.h
1373 if test x$stabs = xyes
1375 tm_file="${tm_file} dbx.h"
1377 tmake_file="i386/t-i386bare i386/t-crtpic"
1379 extra_parts="crtbegin.o crtend.o"
1380 if test x$enable_threads = xyes; then
1384 i[34567]86-*-sysv4*) # Intel 80386's running system V.4
1385 xm_file="xm-alloca.h ${xm_file}"
1386 xm_defines="USG POSIX SMALL_ARG_MAX"
1387 tm_file=i386/sysv4.h
1388 if test x$stabs = xyes
1390 tm_file="${tm_file} dbx.h"
1392 tmake_file="i386/t-i386bare i386/t-crtpic"
1394 extra_parts="crtbegin.o crtend.o"
1396 i[34567]86-*-udk*) # Intel x86 on SCO UW/OSR5 Dev Kit
1397 xm_file="xm-alloca.h ${xm_file}"
1398 xm_defines="USG POSIX"
1400 tmake_file="i386/t-i386bare i386/t-crtpic i386/t-udk"
1402 extra_parts="crtbegin.o crtend.o"
1403 install_headers_dir=install-headers-cpio
1405 i[34567]86-*-osf1*) # Intel 80386's running OSF/1 1.3+
1407 xm_file="${xm_file} xm-svr4.h i386/xm-sysv4.h i386/xm-osf1elf.h"
1408 xm_defines="USE_C_ALLOCA SMALL_ARG_MAX"
1409 if test x$stabs = xyes
1411 tm_file=i386/osf1elfgdb.h
1413 tm_file=i386/osf1elf.h
1415 tmake_file=i386/t-osf1elf
1416 xmake_file=i386/x-osf1elf
1417 extra_parts="crti.o crtn.o crtbegin.o crtend.o"
1419 i[34567]86-*-sysv*) # Intel 80386's running system V
1420 xm_defines="USG SVR3"
1421 xmake_file=i386/x-sysv3
1422 if test x$gas = xyes
1424 if test x$stabs = xyes
1426 tm_file=i386/svr3dbx.h
1427 tmake_file=i386/t-svr3dbx
1428 extra_parts="svr3.ifile svr3z.rfile"
1430 tm_file=i386/svr3gas.h
1431 extra_parts="crtbegin.o crtend.o"
1432 tmake_file=i386/t-crtstuff
1435 tm_file=i386/sysv3.h
1436 extra_parts="crtbegin.o crtend.o"
1437 tmake_file=i386/t-crtstuff
1439 tmake_file="$tmake_file i386/t-crtpic"
1441 i386-*-vsta) # Intel 80386's running VSTa kernel
1442 xm_file="${xm_file} i386/xm-vsta.h"
1444 tmake_file=i386/t-vsta
1445 xmake_file=i386/x-vsta
1448 xm_file="${xm_file} i386/xm-cygwin.h"
1450 tmake_file=i386/t-cygwin
1451 tm_file=i386/win32.h
1452 xmake_file=i386/x-cygwin
1454 if test x$enable_threads = xyes; then
1459 i[34567]86-*-pe | i[34567]86-*-cygwin*)
1460 xm_file="${xm_file} i386/xm-cygwin.h"
1462 tmake_file=i386/t-cygwin
1463 tm_file=i386/cygwin.h
1464 xmake_file=i386/x-cygwin
1466 if test x$enable_threads = xyes; then
1471 i[34567]86-*-mingw32*)
1472 tm_file=i386/mingw32.h
1474 xm_file="${xm_file} i386/xm-mingw32.h"
1475 tmake_file="i386/t-cygwin i386/t-mingw32"
1477 xmake_file=i386/x-cygwin
1478 if test x$enable_threads = xyes; then
1485 *minwg32crt* | *mingw32*)
1486 tm_file="${tm_file} i386/crtdll.h"
1492 tmake_file="i386/t-cygwin i386/t-uwin"
1494 xmake_file=i386/x-cygwin
1495 if test x$enable_threads = xyes; then
1500 i[34567]86-*-interix*)
1501 tm_file="i386/i386-interix.h interix.h"
1502 xm_file="i386/xm-i386-interix.h xm-interix.h"
1504 tmake_file="i386/t-interix"
1505 extra_objs=interix.o
1506 xmake_file=x-interix
1507 if test x$enable_threads = xyes ; then
1510 if test x$stabs = xyes ; then
1511 tm_file="${tm_file} dbxcoff.h"
1514 i[34567]86-*-winnt3*)
1515 tm_file=i386/win-nt.h
1516 out_file=i386/i386.c
1517 xm_file="xm-winnt.h ${xm_file}"
1518 xmake_file=winnt/x-winnt
1519 tmake_file=i386/t-winnt
1520 extra_host_objs="winnt.o oldnames.o"
1521 extra_gcc_objs="spawnv.o oldnames.o"
1522 if test x$gnu_ld != xyes
1524 extra_programs=ld.exe
1526 if test x$enable_threads = xyes; then
1530 i[34567]86-dg-dgux*)
1531 xm_file="xm-alloca.h ${xm_file}"
1532 xm_defines="USG POSIX"
1533 out_file=i386/dgux.c
1535 tmake_file=i386/t-dgux
1536 xmake_file=i386/x-dgux
1537 install_headers_dir=install-headers-cpio
1539 i860-alliant-*) # Alliant FX/2800
1540 tm_file="${tm_file} svr4.h i860/sysv4.h i860/fx2800.h"
1541 xm_file="${xm_file}"
1542 xmake_file=i860/x-fx2800
1543 tmake_file=i860/t-fx2800
1544 extra_parts="crtbegin.o crtend.o"
1547 tm_file="${tm_file} i860/bsd.h"
1548 if test x$gas = xyes
1550 tm_file="${tm_file} i860/bsd-gas.h"
1555 tm_file="${tm_file} i860/mach.h"
1556 tmake_file=t-libc-ok
1558 i860-*-osf*) # Intel Paragon XP/S, OSF/1AD
1559 tm_file="${tm_file} svr3.h i860/paragon.h"
1560 xm_defines="USG SVR3"
1564 tm_file="${tm_file} svr3.h i860/sysv3.h"
1565 xm_defines="USG SVR3"
1566 xmake_file=i860/x-sysv3
1567 extra_parts="crtbegin.o crtend.o"
1570 tm_file="${tm_file} svr4.h i860/sysv4.h"
1571 xm_defines="USG SVR3"
1572 xmake_file=i860/x-sysv4
1574 extra_parts="crtbegin.o crtend.o"
1576 i960-wrs-vxworks5 | i960-wrs-vxworks5.0*)
1577 tm_file="${tm_file} i960/vx960.h"
1578 tmake_file=i960/t-vxworks960
1580 thread_file='vxworks'
1582 i960-wrs-vxworks5* | i960-wrs-vxworks)
1583 tm_file="${tm_file} dbxcoff.h i960/i960-coff.h i960/vx960-coff.h"
1584 tmake_file=i960/t-vxworks960
1586 thread_file='vxworks'
1589 tm_file="${tm_file} i960/vx960.h"
1590 tmake_file=i960/t-vxworks960
1592 thread_file='vxworks'
1595 tm_file="${tm_file} dbxcoff.h i960/i960-coff.h libgloss.h"
1596 tmake_file=i960/t-960bare
1600 tmake_file="i960/t-960bare t-rtems"
1601 tm_file="${tm_file} dbxcoff.h i960/rtems.h"
1603 if test x$enable_threads = xyes; then
1607 i960-*-*) # Default i960 environment.
1612 tmake_file="ia64/t-ia64"
1613 target_cpu_default="0"
1614 if test x$gas = xyes
1616 target_cpu_default="${target_cpu_default}|MASK_GNU_AS"
1618 if test x$gnu_ld = xyes
1620 target_cpu_default="${target_cpu_default}|MASK_GNU_LD"
1625 tm_file=ia64/linux.h
1626 tmake_file="t-linux ia64/t-ia64 ia64/t-glibc"
1627 target_cpu_default="MASK_GNU_AS|MASK_GNU_LD"
1628 if test x$enable_threads = xyes; then
1634 extra_parts="crtinit.o crtfini.o"
1636 # m68hc11 and m68hc12 share the same machine description.
1637 m68hc11-*-*|m6811-*-*)
1638 tm_file="m68hc11/m68hc11.h"
1639 xm_file="m68hc11/xm-m68hc11.h"
1640 tm_p_file="m68hc11/m68hc11-protos.h"
1641 md_file="m68hc11/m68hc11.md"
1642 out_file="m68hc11/m68hc11.c"
1643 tmake_file="m68hc11/t-m68hc11-gas"
1645 m68hc12-*-*|m6812-*-*)
1646 tm_file="m68hc11/m68hc12.h"
1647 tm_p_file="m68hc11/m68hc11-protos.h"
1648 xm_file="m68hc11/xm-m68hc11.h"
1649 md_file="m68hc11/m68hc11.md"
1650 out_file="m68hc11/m68hc11.c"
1651 tmake_file="m68hc11/t-m68hc11-gas"
1653 m68000-convergent-sysv*)
1655 xm_file="m68k/xm-3b1.h ${xm_file}"
1658 extra_headers=math-68881.h
1660 m68000-hp-bsd*) # HP 9000/200 running BSD
1661 tm_file=m68k/hp2bsd.h
1662 xmake_file=m68k/x-hp2bsd
1664 extra_headers=math-68881.h
1666 m68000-hp-hpux*) # HP 9000 series 300
1667 xm_file="xm-alloca.h ${xm_file}"
1669 if test x$gas = xyes
1671 xmake_file=m68k/x-hp320g
1672 tm_file=m68k/hp310g.h
1674 xmake_file=m68k/x-hp320
1675 tm_file=m68k/hp310.h
1677 install_headers_dir=install-headers-cpio
1679 extra_headers=math-68881.h
1684 extra_headers=math-68881.h
1687 tm_file=m68k/sun2o4.h
1689 extra_headers=math-68881.h
1692 xm_file="m68k/xm-3b1.h ${xm_file}"
1694 if test x$gas = xyes
1701 extra_headers=math-68881.h
1703 m68k-apple-aux*) # Apple Macintosh running A/UX
1704 xm_defines="USG AUX"
1705 tmake_file=m68k/t-aux
1706 install_headers_dir=install-headers-cpio
1707 extra_headers=math-68881.h
1708 extra_parts="crt1.o mcrt1.o maccrt1.o crt2.o crtn.o"
1710 if test "$gnu_ld" = yes
1712 tm_file="${tm_file} m68k/auxgld.h"
1714 tm_file="${tm_file} m68k/auxld.h"
1716 if test "$gas" = yes
1718 tm_file="${tm_file} m68k/auxgas.h"
1720 tm_file="${tm_file} m68k/auxas.h"
1722 tm_file="${tm_file} m68k/a-ux.h"
1726 tm_file=m68k/apollo68.h
1727 xmake_file=m68k/x-apollo68
1729 extra_headers=math-68881.h
1732 m68k-altos-sysv*) # Altos 3068
1733 if test x$gas = xyes
1735 tm_file=m68k/altos3068.h
1738 echo "The Altos is supported only with the GNU assembler" 1>&2
1741 extra_headers=math-68881.h
1743 m68k-bull-sysv*) # Bull DPX/2
1744 if test x$gas = xyes
1746 if test x$stabs = xyes
1748 tm_file=m68k/dpx2cdbx.h
1750 tm_file=m68k/dpx2g.h
1755 xm_file="xm-alloca.h ${xm_file}"
1757 xmake_file=m68k/x-dpx2
1759 extra_headers=math-68881.h
1761 m68k-atari-sysv4*) # Atari variant of V.4.
1762 tm_file=m68k/atari.h
1763 xm_file="xm-alloca.h ${xm_file}"
1764 xm_defines="USG FULL_PROTOTYPES"
1766 extra_parts="crtbegin.o crtend.o"
1767 extra_headers=math-68881.h
1770 m68k-motorola-sysv*)
1771 tm_file=m68k/mot3300.h
1772 xm_file="xm-alloca.h m68k/xm-mot3300.h ${xm_file}"
1773 if test x$gas = xyes
1775 xmake_file=m68k/x-mot3300-gas
1776 if test x$gnu_ld = xyes
1778 tmake_file=m68k/t-mot3300-gald
1780 tmake_file=m68k/t-mot3300-gas
1784 xmake_file=m68k/x-mot3300
1785 if test x$gnu_ld = xyes
1787 tmake_file=m68k/t-mot3300-gld
1789 tmake_file=m68k/t-mot3300
1793 gdb_needs_out_file_path=yes
1794 extra_parts="crt0.o mcrt0.o"
1795 extra_headers=math-68881.h
1798 m68k-ncr-sysv*) # NCR Tower 32 SVR3
1799 tm_file=m68k/tower-as.h
1800 xm_defines="USG SVR3"
1801 xmake_file=m68k/x-tower
1802 extra_parts="crtbegin.o crtend.o"
1803 extra_headers=math-68881.h
1806 tm_file=m68k/plexus.h
1807 xm_file="xm-alloca.h m68k/xm-plexus.h ${xm_file}"
1810 extra_headers=math-68881.h
1814 xm_file="xm-alloca.h ${xm_file}"
1816 extra_headers=math-68881.h
1819 xm_file="xm-alloca.h m68k/xm-crds.h ${xm_file}"
1820 xm_defines="USG unos"
1821 xmake_file=m68k/x-crds
1824 extra_headers=math-68881.h
1826 m68k-cbm-sysv4*) # Commodore variant of V.4.
1828 xm_file="xm-alloca.h ${xm_file}"
1829 xm_defines="USG FULL_PROTOTYPES"
1830 xmake_file=m68k/x-amix
1832 extra_parts="crtbegin.o crtend.o"
1833 extra_headers=math-68881.h
1837 tm_file=m68k/ccur-GAS.h
1838 xmake_file=m68k/x-ccur
1839 extra_headers=math-68881.h
1843 m68k-hp-bsd4.4*) # HP 9000/3xx running 4.4bsd
1844 tm_file=m68k/hp3bsd44.h
1845 xmake_file=m68k/x-hp3bsd44
1847 extra_headers=math-68881.h
1850 m68k-hp-bsd*) # HP 9000/3xx running Berkeley Unix
1851 tm_file=m68k/hp3bsd.h
1853 extra_headers=math-68881.h
1857 if test x$with_fp = xno
1859 tm_file=m68k/isi-nfp.h
1865 extra_headers=math-68881.h
1867 m68k-hp-hpux7*) # HP 9000 series 300 running HPUX version 7.
1868 xm_file="xm-alloca.h ${xm_file}"
1870 if test x$gas = xyes
1872 xmake_file=m68k/x-hp320g
1873 tm_file=m68k/hp320g.h
1875 xmake_file=m68k/x-hp320
1876 tm_file=m68k/hpux7.h
1878 install_headers_dir=install-headers-cpio
1880 extra_headers=math-68881.h
1883 m68k-hp-hpux*) # HP 9000 series 300
1884 xm_file="xm-alloca.h ${xm_file}"
1886 if test x$gas = xyes
1888 xmake_file=m68k/x-hp320g
1889 tm_file=m68k/hp320g.h
1891 xmake_file=m68k/x-hp320
1892 tm_file=m68k/hp320.h
1894 install_headers_dir=install-headers-cpio
1896 extra_headers=math-68881.h
1900 tm_file=m68k/sun3mach.h
1902 extra_headers=math-68881.h
1906 if test x$gas = xyes
1908 tm_file=m68k/news3gas.h
1910 tm_file=m68k/news3.h
1913 extra_headers=math-68881.h
1916 m68k-sony-bsd* | m68k-sony-newsos*)
1917 if test x$gas = xyes
1919 tm_file=m68k/newsgas.h
1924 extra_headers=math-68881.h
1927 m68k-next-nextstep2*)
1928 tm_file=m68k/next21.h
1929 xm_file="m68k/xm-next.h ${xm_file}"
1930 tmake_file=m68k/t-next
1931 xmake_file=m68k/x-next
1932 extra_objs=nextstep.o
1933 extra_headers=math-68881.h
1937 m68k-next-nextstep[34]*)
1939 xm_file="m68k/xm-next.h ${xm_file}"
1940 tmake_file=m68k/t-next
1941 xmake_file=m68k/x-next
1942 extra_objs=nextstep.o
1943 extra_parts="crtbegin.o crtend.o"
1944 extra_headers=math-68881.h
1946 if test x$enable_threads = xyes; then
1951 if test x$with_fp = xno
1953 tm_file=m68k/sun3n3.h
1955 tm_file=m68k/sun3o3.h
1959 extra_headers=math-68881.h
1961 m68k-sun-sunos*) # For SunOS 4 (the default).
1962 if test x$with_fp = xno
1964 tm_file=m68k/sun3n.h
1970 extra_headers=math-68881.h
1973 tm_file=m68k/vxm68k.h
1974 tmake_file=m68k/t-vxworks68
1975 extra_headers=math-68881.h
1976 thread_file='vxworks'
1980 tmake_file=m68k/t-m68kbare
1981 tm_file="m68k/m68k-aout.h libgloss.h"
1982 extra_headers=math-68881.h
1986 tmake_file=m68k/t-m68kbare
1987 tm_file="m68k/m68k-coff.h dbx.h"
1988 extra_headers=math-68881.h
1991 m68020-*-elf* | m68k-*-elf*)
1992 tm_file="m68k/m68020-elf.h"
1993 xm_file=m68k/xm-m68kv.h
1994 tmake_file=m68k/t-m68kelf
1995 header_files=math-68881.h
1998 if test x$gas = xyes
2002 tm_file=m68k/lynx-ng.h
2004 xm_file=m68k/xm-lynx.h
2006 tmake_file=m68k/t-lynx
2007 extra_headers=math-68881.h
2011 tm_file=m68k/netbsd.h
2018 # we need collect2 until our bug is fixed...
2021 m68k-*-sysv3*) # Motorola m68k's running system V.3
2022 xm_file="xm-alloca.h ${xm_file}"
2024 xmake_file=m68k/x-m68kv
2025 extra_parts="crtbegin.o crtend.o"
2026 extra_headers=math-68881.h
2029 m68k-*-sysv4*) # Motorola m68k's running system V.4
2030 tm_file=m68k/m68kv4.h
2031 xm_file="xm-alloca.h ${xm_file}"
2034 extra_parts="crtbegin.o crtend.o"
2035 extra_headers=math-68881.h
2038 m68k-*-linux*aout*) # Motorola m68k's running GNU/Linux
2041 tm_file=m68k/linux-aout.h
2042 tmake_file="t-linux-aout m68k/t-linux-aout"
2043 extra_headers=math-68881.h
2047 m68k-*-linux*libc1) # Motorola m68k's running GNU/Linux
2048 # with ELF format using the
2049 # GNU/Linux C library 5
2051 tm_file=m68k/linux.h
2052 tmake_file="t-linux t-linux-gnulibc1 m68k/t-linux"
2053 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
2054 extra_headers=math-68881.h
2058 m68k-*-linux*) # Motorola m68k's running GNU/Linux
2059 # with ELF format using glibc 2
2060 # aka the GNU/Linux C library 6.
2062 tm_file=m68k/linux.h
2063 tmake_file="t-linux m68k/t-linux"
2064 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
2065 extra_headers=math-68881.h
2068 if test x$enable_threads = xyes; then
2073 tmake_file=m68k/t-m68kbare
2074 tm_file=m68k/m68k-psos.h
2075 extra_headers=math-68881.h
2079 tmake_file="m68k/t-m68kbare t-rtems"
2080 tm_file=m68k/rtems.h
2081 extra_headers=math-68881.h
2083 if test x$enable_threads = xyes; then
2087 m68k-*-rtemself*|m68k-*-rtems*)
2088 tmake_file="m68k/t-m68kbare t-rtems m68k/t-crtstuff"
2089 tm_file=m68k/rtemself.h
2090 extra_headers=math-68881.h
2092 if test x$enable_threads = xyes; then
2099 tm_file=m88k/dguxbcs.h
2100 tmake_file=m88k/t-dguxbcs
2104 tmake_file=m88k/t-dgux
2107 extra_parts="crtbegin.o bcscrtbegin.o crtend.o m88kdgux.ld"
2108 xmake_file=m88k/x-dgux
2109 if test x$gas = xyes
2111 tmake_file=m88k/t-dgux-gas
2114 m88k-dolphin-sysv3*)
2115 tm_file=m88k/dolph.h
2116 extra_parts="crtbegin.o crtend.o"
2117 xm_file="m88k/xm-sysv3.h ${xm_file}"
2118 xmake_file=m88k/x-dolph
2119 if test x$gas = xyes
2121 tmake_file=m88k/t-m88k-gas
2124 m88k-tektronix-sysv3)
2125 tm_file=m88k/tekXD88.h
2126 extra_parts="crtbegin.o crtend.o"
2127 xm_file="m88k/xm-sysv3.h ${xm_file}"
2128 xmake_file=m88k/x-tekXD88
2129 if test x$gas = xyes
2131 tmake_file=m88k/t-m88k-gas
2135 tm_file=m88k/m88k-aout.h
2138 tm_file=m88k/m88k-coff.h
2139 tmake_file=m88k/t-bug
2143 extra_parts="crtbegin.o crtend.o"
2144 if test x$gas = xyes
2146 tmake_file=m88k/t-luna-gas
2148 tmake_file=m88k/t-luna
2152 tmake_file="${tmake_file} m88k/t-luna-gas"
2153 tm_file="m88k/aout-dbx.h aoutos.h m88k/m88k.h openbsd.h ${tm_file}"
2154 xm_file="xm-openbsd.h m88k/xm-m88k.h ${xm_file}"
2157 tm_file=m88k/sysv3.h
2158 extra_parts="crtbegin.o crtend.o"
2159 xm_file="m88k/xm-sysv3.h ${xm_file}"
2160 xmake_file=m88k/x-sysv3
2161 if test x$gas = xyes
2163 tmake_file=m88k/t-m88k-gas
2167 tm_file=m88k/sysv4.h
2168 extra_parts="crtbegin.o crtend.o"
2169 xmake_file=m88k/x-sysv4
2170 tmake_file=m88k/t-sysv4
2173 tm_file=mcore/mcore-elf.h
2174 tmake_file=mcore/t-mcore
2177 tm_file=mcore/mcore-pe.h
2178 tmake_file=mcore/t-mcore-pe
2180 mips-sgi-irix6*) # SGI System V.4., IRIX 6
2181 if test "x$gnu_ld" = xyes
2183 tm_file="mips/iris6.h mips/iris6gld.h"
2185 tm_file=mips/iris6.h
2187 tmake_file=mips/t-iris6
2188 xm_file=mips/xm-iris6.h
2189 xmake_file=mips/x-iris6
2190 # if test x$enable_threads = xyes; then
2191 # thread_file='irix'
2195 tm_file="mips/elf.h mips/vxworks.h"
2196 tmake_file=mips/t-ecoff
2199 extra_parts="crtbegin.o crtend.o"
2200 thread_file='vxworks'
2202 mips-sgi-irix5cross64) # Irix5 host, Irix 6 target, cross64
2203 tm_file="mips/iris6.h mips/cross64.h"
2205 xm_file="mips/xm-iris5.h"
2206 xmake_file=mips/x-iris
2207 tmake_file=mips/t-cross64
2208 # See comment in mips/iris[56].h files.
2210 # if test x$enable_threads = xyes; then
2211 # thread_file='irix'
2215 if test x$gas = xyes
2217 if test x$stabs = xyes
2219 tm_file=mips/iris5gdb.h
2221 tm_file="mips/sni-svr4.h mips/sni-gas.h"
2224 tm_file=mips/sni-svr4.h
2227 xmake_file=mips/x-sni-svr4
2228 tmake_file=mips/t-mips-gas
2229 if test x$gnu_ld != xyes
2234 mips-sgi-irix5*) # SGI System V.4., IRIX 5
2235 if test x$gas = xyes
2237 tm_file="mips/iris5.h mips/iris5gas.h"
2238 if test x$stabs = xyes
2240 tm_file="${tm_file} dbx.h"
2243 tm_file=mips/iris5.h
2246 xm_file="mips/xm-iris5.h"
2247 xmake_file=mips/x-iris
2248 # mips-tfile doesn't work yet
2249 tmake_file=mips/t-mips-gas
2250 # See comment in mips/iris5.h file.
2252 # if test x$enable_threads = xyes; then
2253 # thread_file='irix'
2256 mips-sgi-irix4loser*) # Mostly like a MIPS.
2257 tm_file="mips/iris4loser.h mips/iris3.h ${tm_file} mips/iris4.h"
2258 if test x$stabs = xyes; then
2259 tm_file="${tm_file} dbx.h"
2262 xmake_file=mips/x-iris
2263 if test x$gas = xyes
2265 tmake_file=mips/t-mips-gas
2267 extra_passes="mips-tfile mips-tdump"
2269 if test x$gnu_ld != xyes
2273 # if test x$enable_threads = xyes; then
2274 # thread_file='irix'
2277 mips-sgi-irix4*) # Mostly like a MIPS.
2278 tm_file="mips/iris3.h ${tm_file} mips/iris4.h"
2279 if test x$stabs = xyes; then
2280 tm_file="${tm_file} dbx.h"
2283 xmake_file=mips/x-iris
2284 if test x$gas = xyes
2286 tmake_file=mips/t-mips-gas
2288 extra_passes="mips-tfile mips-tdump"
2290 if test x$gnu_ld != xyes
2294 # if test x$enable_threads = xyes; then
2295 # thread_file='irix'
2298 mips-sgi-*) # Mostly like a MIPS.
2299 tm_file="mips/iris3.h ${tm_file}"
2300 if test x$stabs = xyes; then
2301 tm_file="${tm_file} dbx.h"
2304 xmake_file=mips/x-iris3
2305 if test x$gas = xyes
2307 tmake_file=mips/t-mips-gas
2309 extra_passes="mips-tfile mips-tdump"
2311 if test x$gnu_ld != xyes
2316 mips-dec-osfrose*) # Decstation running OSF/1 reference port with OSF/rose.
2317 tm_file="mips/osfrose.h ${tm_file}"
2318 xmake_file=mips/x-osfrose
2319 tmake_file=mips/t-osfrose
2320 extra_objs=halfpic.o
2323 mips-dec-osf*) # Decstation running OSF/1 as shipped by DIGITAL
2324 tm_file=mips/dec-osf1.h
2325 if test x$stabs = xyes; then
2326 tm_file="${tm_file} dbx.h"
2328 xmake_file=mips/x-dec-osf1
2329 if test x$gas = xyes
2331 tmake_file=mips/t-mips-gas
2333 tmake_file=mips/t-ultrix
2334 extra_passes="mips-tfile mips-tdump"
2336 if test x$gnu_ld != xyes
2341 mips-dec-bsd*) # Decstation running 4.4 BSD
2342 tm_file=mips/dec-bsd.h
2343 if test x$gas = xyes
2345 tmake_file=mips/t-mips-gas
2347 tmake_file=mips/t-ultrix
2348 extra_passes="mips-tfile mips-tdump"
2350 if test x$gnu_ld != xyes
2355 mipsel-*-netbsd* | mips-dec-netbsd*) # Decstation running NetBSD
2356 tm_file=mips/netbsd.h
2357 # On NetBSD, the headers are already okay, except for math.h.
2360 mips*-*-linux*) # Linux MIPS, either endian.
2363 mips*el-*) tm_file="mips/elfl.h mips/linux.h" ;;
2364 *) tm_file="mips/elf.h mips/linux.h" ;;
2367 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
2370 if test x$enable_threads = xyes; then
2374 mips*el-*-openbsd*) # mips little endian
2375 target_cpu_default="MASK_GAS|MASK_ABICALLS"
2377 mips*-*-openbsd*) # mips big endian
2378 target_cpu_default="MASK_GAS|MASK_ABICALLS"
2379 tm_file="mips/openbsd-be.h ${tm_file}"
2381 mips-sony-bsd* | mips-sony-newsos*) # Sony NEWS 3600 or risc/news.
2382 tm_file="mips/news4.h ${tm_file}"
2383 if test x$stabs = xyes; then
2384 tm_file="${tm_file} dbx.h"
2386 if test x$gas = xyes
2388 tmake_file=mips/t-mips-gas
2390 extra_passes="mips-tfile mips-tdump"
2392 if test x$gnu_ld != xyes
2396 xmake_file=mips/x-sony
2398 mips-sony-sysv*) # Sony NEWS 3800 with NEWSOS5.0.
2399 # That is based on svr4.
2400 # t-svr4 is not right because this system doesn't use ELF.
2401 tm_file="mips/news5.h ${tm_file}"
2402 if test x$stabs = xyes; then
2403 tm_file="${tm_file} dbx.h"
2406 if test x$gas = xyes
2408 tmake_file=mips/t-mips-gas
2410 extra_passes="mips-tfile mips-tdump"
2412 if test x$gnu_ld != xyes
2417 mips-tandem-sysv4*) # Tandem S2 running NonStop UX
2418 tm_file="mips/svr4-5.h mips/svr4-t.h"
2419 if test x$stabs = xyes; then
2420 tm_file="${tm_file} dbx.h"
2423 xmake_file=mips/x-sysv
2424 if test x$gas = xyes
2426 tmake_file=mips/t-mips-gas
2427 extra_parts="crtbegin.o crtend.o"
2429 tmake_file=mips/t-mips
2430 extra_passes="mips-tfile mips-tdump"
2432 if test x$gnu_ld != xyes
2437 mips-*-ultrix* | mips-dec-mach3) # Decstation.
2438 tm_file="mips/ultrix.h ${tm_file}"
2439 if test x$stabs = xyes; then
2440 tm_file="${tm_file} dbx.h"
2442 xmake_file=mips/x-ultrix
2443 if test x$gas = xyes
2445 tmake_file=mips/t-mips-gas
2447 tmake_file=mips/t-ultrix
2448 extra_passes="mips-tfile mips-tdump"
2450 if test x$gnu_ld != xyes
2455 mips-*-riscos[56789]bsd*)
2456 tm_file=mips/bsd-5.h # MIPS BSD 4.3, RISC-OS 5.0
2457 if test x$stabs = xyes; then
2458 tm_file="${tm_file} dbx.h"
2460 if test x$gas = xyes
2462 tmake_file=mips/t-bsd-gas
2464 tmake_file=mips/t-bsd
2465 extra_passes="mips-tfile mips-tdump"
2467 if test x$gnu_ld != xyes
2472 mips-*-bsd* | mips-*-riscosbsd* | mips-*-riscos[1234]bsd*)
2473 tm_file="mips/bsd-4.h ${tm_file}" # MIPS BSD 4.3, RISC-OS 4.0
2474 if test x$stabs = xyes; then
2475 tm_file="${tm_file} dbx.h"
2477 if test x$gas = xyes
2479 tmake_file=mips/t-bsd-gas
2481 tmake_file=mips/t-bsd
2482 extra_passes="mips-tfile mips-tdump"
2484 if test x$gnu_ld != xyes
2489 mips-*-riscos[56789]sysv4*)
2490 tm_file=mips/svr4-5.h # MIPS System V.4., RISC-OS 5.0
2491 if test x$stabs = xyes; then
2492 tm_file="${tm_file} dbx.h"
2494 xmake_file=mips/x-sysv
2495 if test x$gas = xyes
2497 tmake_file=mips/t-svr4-gas
2499 tmake_file=mips/t-svr4
2500 extra_passes="mips-tfile mips-tdump"
2502 if test x$gnu_ld != xyes
2507 mips-*-sysv4* | mips-*-riscos[1234]sysv4* | mips-*-riscossysv4*)
2508 tm_file="mips/svr4-4.h ${tm_file}"
2509 if test x$stabs = xyes; then
2510 tm_file="${tm_file} dbx.h"
2513 xmake_file=mips/x-sysv
2514 if test x$gas = xyes
2516 tmake_file=mips/t-svr4-gas
2518 tmake_file=mips/t-svr4
2519 extra_passes="mips-tfile mips-tdump"
2521 if test x$gnu_ld != xyes
2526 mips-*-riscos[56789]sysv*)
2527 tm_file=mips/svr3-5.h # MIPS System V.3, RISC-OS 5.0
2528 if test x$stabs = xyes; then
2529 tm_file="${tm_file} dbx.h"
2532 xmake_file=mips/x-sysv
2533 if test x$gas = xyes
2535 tmake_file=mips/t-svr3-gas
2537 tmake_file=mips/t-svr3
2538 extra_passes="mips-tfile mips-tdump"
2540 if test x$gnu_ld != xyes
2545 mips-*-sysv* | mips-*-riscos*sysv*)
2546 tm_file="mips/svr3-4.h ${tm_file}"
2547 if test x$stabs = xyes; then
2548 tm_file="${tm_file} dbx.h"
2551 xmake_file=mips/x-sysv
2552 if test x$gas = xyes
2554 tmake_file=mips/t-svr3-gas
2556 tmake_file=mips/t-svr3
2557 extra_passes="mips-tfile mips-tdump"
2559 if test x$gnu_ld != xyes
2564 mips-*-riscos[56789]*) # Default MIPS RISC-OS 5.0.
2565 tm_file=mips/mips-5.h
2566 if test x$stabs = xyes; then
2567 tm_file="${tm_file} dbx.h"
2569 if test x$gas = xyes
2571 tmake_file=mips/t-mips-gas
2573 extra_passes="mips-tfile mips-tdump"
2575 if test x$gnu_ld != xyes
2583 tm_file=mips/ecoffl.h
2584 if test x$stabs = xyes; then
2585 tm_file="${tm_file} dbx.h"
2587 tmake_file=mips/t-ecoff
2590 tm_file="gofast.h mips/ecoff.h"
2591 if test x$stabs = xyes; then
2592 tm_file="${tm_file} dbx.h"
2594 tmake_file=mips/t-ecoff
2597 tm_file="mips/elfl.h"
2598 tmake_file=mips/t-elf
2601 tm_file="mips/elf.h"
2602 tmake_file=mips/t-elf
2605 tm_file="mips/elfl64.h"
2606 tmake_file=mips/t-elf
2608 mips64orionel-*-elf*)
2609 tm_file="mips/elforion.h mips/elfl64.h"
2610 tmake_file=mips/t-elf
2613 tm_file="mips/elf64.h"
2614 tmake_file=mips/t-elf
2617 tm_file="mips/elforion.h mips/elf64.h"
2618 tmake_file=mips/t-elf
2620 mips64orion-*-rtems*)
2621 tm_file="mips/elforion.h mips/elf64.h mips/rtems64.h"
2622 tmake_file="mips/t-elf t-rtems"
2623 if test x$enable_threads = xyes; then
2628 tm_file="mips/elf.h mips/rtems.h"
2629 tmake_file="mips/t-elf t-rtems"
2630 if test x$enable_threads = xyes; then
2635 tm_file="mips/r3900.h mips/elfl.h mips/abi64.h"
2636 tmake_file=mips/t-r3900
2639 tm_file="mips/r3900.h mips/elf.h mips/abi64.h"
2640 tmake_file=mips/t-r3900
2642 mips-*-*) # Default MIPS RISC-OS 4.0.
2643 if test x$stabs = xyes; then
2644 tm_file="${tm_file} dbx.h"
2646 if test x$gas = xyes
2648 tmake_file=mips/t-mips-gas
2650 extra_passes="mips-tfile mips-tdump"
2652 if test x$gnu_ld != xyes
2660 tm_file="mn10200/mn10200.h"
2661 if test x$stabs = xyes
2663 tm_file="${tm_file} dbx.h"
2669 tm_file="mn10300/mn10300.h"
2670 if test x$stabs = xyes
2672 tm_file="${tm_file} dbx.h"
2677 tm_file=ns32k/encore.h
2681 tm_file=ns32k/sequent.h
2685 tm_file=ns32k/tek6100.h
2689 tm_file=ns32k/tek6200.h
2693 tm_file=ns32k/merlin.h
2697 tm_file=ns32k/pc532-mach.h
2701 tm_file=ns32k/pc532-min.h
2702 xm_file="ns32k/xm-pc532-min.h ${xm-file}"
2707 tm_file=ns32k/netbsd.h
2708 xm_file="ns32k/xm-netbsd.h ${xm_file}"
2709 # On NetBSD, the headers are already okay, except for math.h.
2714 tm_file="${tm_file} pdp11/2bsd.h"
2724 tm_file="svr4.h pj/linux.h ${tm_file}"
2729 tm_file="svr4.h pj/pjl.h ${tm_file}"
2736 xmake_file=romp/x-mach
2743 tmake_file="${tmake_file} rs6000/t-rs6000 rs6000/t-openbsd"
2747 tm_file="${tm_file} rs6000/aix.h rs6000/beos.h"
2748 xm_file=rs6000/xm-beos.h
2749 tmake_file=rs6000/t-beos
2750 xmake_file=rs6000/x-beos
2753 xm_file="rs6000/xm-rs6000.h rs6000/xm-darwin.h"
2754 xmake_file=rs6000/x-darwin
2757 tm_file="${tm_file} svr4.h rs6000/sysv4.h"
2758 xm_file="rs6000/xm-sysv4.h"
2759 xm_defines="USG POSIX"
2760 extra_headers=ppc-asm.h
2761 tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
2762 xmake_file=rs6000/x-sysv4
2764 powerpc-*-chorusos*)
2765 tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/chorus.h"
2766 tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
2767 extra_headers=ppc-asm.h
2768 case x${enable_threads} in
2769 xyes | xpthreads | xposix)
2775 tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/eabi.h rs6000/eabiaix.h"
2776 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2777 extra_headers=ppc-asm.h
2780 tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/eabi.h rs6000/eabisim.h"
2781 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2782 extra_headers=ppc-asm.h
2785 tm_file="${tm_file} svr4.h rs6000/sysv4.h"
2786 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2787 extra_headers=ppc-asm.h
2790 tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/eabi.h"
2791 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2792 extra_headers=ppc-asm.h
2795 tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/eabi.h rtems.h rs6000/rtems.h"
2796 tmake_file="rs6000/t-ppcgas t-rtems rs6000/t-ppccomm"
2797 extra_headers=ppc-asm.h
2798 if test x$enable_threads = xyes; then
2802 powerpc-*-linux*libc1)
2803 tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/linux.h"
2804 xm_file=rs6000/xm-sysv4.h
2805 out_file=rs6000/rs6000.c
2806 tmake_file="rs6000/t-ppcos t-linux t-linux-gnulibc1 rs6000/t-ppccomm"
2808 extra_headers=ppc-asm.h
2809 if test x$enable_threads = xyes; then
2814 tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/linux.h"
2815 xm_file="rs6000/xm-sysv4.h"
2816 xm_defines="USG ${xm_defines}"
2817 out_file=rs6000/rs6000.c
2818 tmake_file="rs6000/t-ppcos t-linux rs6000/t-ppccomm"
2820 extra_headers=ppc-asm.h
2821 if test x$enable_threads = xyes; then
2825 powerpc-wrs-vxworks*)
2827 xm_file="rs6000/xm-sysv4.h"
2828 xm_defines="USG POSIX"
2829 tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/vxppc.h"
2830 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2831 extra_headers=ppc-asm.h
2832 thread_file='vxworks'
2834 powerpcle-wrs-vxworks*)
2836 xm_file="rs6000/xm-sysv4.h"
2837 xm_defines="USG POSIX"
2838 tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/vxppc.h"
2839 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2840 extra_headers=ppc-asm.h
2841 thread_file='vxworks'
2844 tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/sysv4le.h"
2845 xm_file="rs6000/xm-sysv4.h"
2846 xm_defines="USG POSIX"
2847 tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
2848 xmake_file=rs6000/x-sysv4
2849 extra_headers=ppc-asm.h
2852 tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/sysv4le.h"
2853 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2854 extra_headers=ppc-asm.h
2856 powerpcle-*-eabisim*)
2857 tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/eabi.h rs6000/eabisim.h"
2858 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2859 extra_headers=ppc-asm.h
2862 tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/eabi.h"
2863 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2864 extra_headers=ppc-asm.h
2866 powerpcle-*-solaris2*)
2867 tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/sol2.h"
2868 xm_file="rs6000/xm-sysv4.h"
2869 xm_defines="USG POSIX"
2870 tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
2871 xmake_file=rs6000/x-sysv4
2872 extra_headers=ppc-asm.h
2874 rs6000-ibm-aix3.[01]*)
2875 tm_file="${tm_file} rs6000/aix.h rs6000/aix31.h"
2876 xmake_file=rs6000/x-aix31
2880 rs6000-ibm-aix3.2.[456789]* | powerpc-ibm-aix3.2.[456789]*)
2881 tm_file="${tm_file} rs6000/aix.h rs6000/aix3newas.h"
2882 if test x$host != x$target
2884 tmake_file=rs6000/t-xnewas
2886 tmake_file=rs6000/t-newas
2891 rs6000-ibm-aix4.[12]* | powerpc-ibm-aix4.[12]*)
2892 tm_file="${tm_file} rs6000/aix.h rs6000/aix41.h"
2893 if test x$host != x$target
2895 tmake_file=rs6000/t-xnewas
2897 tmake_file=rs6000/t-newas
2899 if test "$gnu_ld" = yes
2901 xmake_file=rs6000/x-aix41-gld
2903 tmake_file='rs6000/t-newas'
2905 xmake_file=rs6000/x-aix41
2909 rs6000-ibm-aix4.[3456789]* | powerpc-ibm-aix4.[3456789]*)
2910 tm_file="${tm_file} rs6000/aix.h rs6000/aix43.h"
2911 tmake_file=rs6000/t-aix43
2912 xmake_file=rs6000/x-aix41
2917 rs6000-ibm-aix[56789].* | powerpc-ibm-aix[56789].*)
2918 tm_file="${tm_file} rs6000/aix.h rs6000/aix51.h"
2919 tmake_file=rs6000/t-aix43
2920 xmake_file=rs6000/x-aix41
2926 tm_file="${tm_file} rs6000/aix.h"
2931 tm_file="${tm_file} rs6000/aix.h"
2936 tm_file=rs6000/mach.h
2937 xm_file="${xm_file} rs6000/xm-mach.h"
2938 xmake_file=rs6000/x-mach
2942 tm_file=rs6000/lynx.h
2943 xm_file=rs6000/xm-lynx.h
2944 tmake_file=rs6000/t-rs6000
2945 xmake_file=rs6000/x-lynx
2949 tmake_file="sh/t-sh sh/t-elf"
2950 tm_file="sh/sh.h sh/elf.h"
2954 tmake_file="sh/t-sh sh/t-elf t-rtems"
2955 tm_file="sh/sh.h sh/elf.h sh/rtemself.h"
2957 if test x$enable_threads = xyes; then
2962 tmake_file="sh/t-sh t-rtems"
2963 tm_file="sh/sh.h sh/rtems.h"
2965 if test x$enable_threads = xyes; then
2970 tm_file="sh/sh.h sh/elf.h sh/linux.h"
2971 tmake_file="sh/t-sh sh/t-elf sh/t-linux"
2974 if test x$enable_threads = xyes; then
2984 xm_file="xm-alloca.h ${xm_file}"
2987 sparc64-wrs-vxworks*)
2988 tm_file="sparc/sol2.h sparc/elf.h sparc/vxsparc64.h"
2989 tmake_file=sparc/t-vxsparc64
2992 sparc-wrs-vxworks* | sparclite-wrs-vxworks*)
2993 tm_file=sparc/vxsparc.h
2994 tmake_file=sparc/t-vxsparc
2996 thread_file='vxworks'
2999 tmake_file=sparc/t-sparcbare
3000 tm_file="sparc/aout.h libgloss.h"
3003 tm_file=sparc/netbsd.h
3008 # we need collect2 until our bug is fixed...
3015 tm_file="sparc/sol2.h sparc/elf.h sparc/chorus.h"
3016 tmake_file=sparc/t-chorus-elf
3017 extra_parts="crti.o crtn.o crtbegin.o crtend.o"
3019 case x${enable_threads} in
3020 xyes | xpthreads | xposix)
3026 tm_file="sparc/sol2.h sparc/elf.h"
3027 tmake_file=sparc/t-elf
3028 extra_parts="crti.o crtn.o crtbegin.o crtend.o"
3032 sparc-*-linux*aout*) # Sparc's running GNU/Linux, a.out
3033 xm_file="${xm_file} sparc/xm-linux.h"
3034 tm_file=sparc/linux-aout.h
3038 sparc-*-linux*libc1*) # Sparc's running GNU/Linux, libc5
3039 xm_file="${xm_file} sparc/xm-linux.h"
3041 tm_file=sparc/linux.h
3042 tmake_file="t-linux t-linux-gnulibc1"
3043 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
3047 sparc-*-linux*) # Sparc's running GNU/Linux, libc6
3048 xm_file="${xm_file} sparc/xm-linux.h"
3050 tm_file=sparc/linux.h
3051 tmake_file="t-linux"
3052 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
3054 if test x$enable_threads = xyes; then
3060 if test x$gas = xyes
3062 tm_file=sparc/lynx.h
3064 tm_file=sparc/lynx-ng.h
3066 xm_file=sparc/xm-lynx.h
3067 tmake_file=sparc/t-sunos41
3071 tmake_file="sparc/t-sparcbare t-rtems"
3072 tm_file=sparc/rtems.h
3073 if test x$enable_threads = xyes; then
3077 sparc-*-rtems*|sparc-*-rtemself*)
3078 tm_file="sparc/sol2.h sparc/elf.h sparc/rtemself.h"
3079 tmake_file="sparc/t-elf t-rtems"
3080 extra_parts="crti.o crtn.o crtbegin.o crtend.o"
3083 if test x$enable_threads = xyes; then
3087 sparcv9-*-solaris2*)
3088 if test x$gnu_ld = xyes
3090 tm_file=sparc/sol2-64.h
3092 tm_file=sparc/sol2-sld-64.h
3094 xm_file="sparc/xm-sysv4-64.h sparc/xm-sol2.h"
3095 xm_defines="USG POSIX"
3096 tmake_file="sparc/t-sol2 sparc/t-sol2-64"
3097 if test x$gnu_ld = xyes; then
3098 tmake_file="$tmake_file sparc/t-slibgcc"
3100 tmake_file="$tmake_file sparc/t-slibgcc-sld"
3102 xmake_file=sparc/x-sysv4
3103 extra_parts="crt1.o crti.o crtn.o gcrt1.o crtbegin.o crtend.o"
3105 if test x${enable_threads} = x ; then
3106 enable_threads=$have_pthread_h
3107 if test x${enable_threads} = x ; then
3108 enable_threads=$have_thread_h
3111 if test x${enable_threads} = xyes ; then
3112 if test x${have_pthread_h} = xyes ; then
3115 thread_file='solaris'
3119 sparc-hal-solaris2*)
3120 xm_file="sparc/xm-sysv4.h sparc/xm-sol2.h"
3121 xm_defines="USG POSIX"
3122 tm_file="sparc/sol2.h sparc/hal.h"
3123 tmake_file="sparc/t-halos sparc/t-sol2"
3124 if test x$gnu_ld = xyes; then
3125 tmake_file="$tmake_file sparc/t-slibgcc"
3127 tmake_file="$tmake_file sparc/t-slibgcc-sld"
3129 xmake_file=sparc/x-sysv4
3130 extra_parts="crt1.o crti.o crtn.o gmon.o crtbegin.o crtend.o"
3139 thread_file='solaris'
3142 if test x$gnu_ld = xyes
3144 tm_file=sparc/sol2.h
3146 tm_file=sparc/sol2-sld.h
3148 xm_file="sparc/xm-sysv4.h sparc/xm-sol2.h"
3149 xm_defines="USG POSIX"
3150 tmake_file=sparc/t-sol2
3151 if test x$gnu_ld = xyes; then
3152 tmake_file="$tmake_file sparc/t-slibgcc"
3154 tmake_file="$tmake_file sparc/t-slibgcc-sld"
3156 xmake_file=sparc/x-sysv4
3157 extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"
3158 # At the moment, 32-to-64 cross compilation doesn't work.
3160 # *-*-solaris2.[0-6] | *-*-solaris2.[0-6].*) ;;
3162 # if test x$gnu_ld = xyes
3164 # tm_file=sparc/sol2-64.h
3166 # tm_file=sparc/sol2-sld-64.h
3168 # tmake_file="$tmake_file sparc/t-sol2-64"
3179 if test x${enable_threads} = x; then
3180 enable_threads=$have_pthread_h
3181 if test x${enable_threads} = x; then
3182 enable_threads=$have_thread_h
3185 if test x${enable_threads} = xyes; then
3186 if test x${have_pthread_h} = xyes; then
3189 thread_file='solaris'
3194 tm_file=sparc/sunos4.h
3195 tmake_file=sparc/t-sunos40
3199 tm_file=sparc/sunos4.h
3200 tmake_file=sparc/t-sunos41
3202 if test x$gas = xyes; then
3203 tm_file="${tm_file} sparc/sun4gas.h"
3207 tm_file=sparc/sun4o3.h
3211 tm_file=sparc/sysv4.h
3212 xm_file="sparc/xm-sysv4.h"
3213 xm_defines="USG POSIX"
3215 xmake_file=sparc/x-sysv4
3216 extra_parts="crtbegin.o crtend.o"
3219 xm_file="sparc/xm-sysv4.h sparc/xm-sol2.h"
3220 xm_defines="USG POSIX"
3221 tm_file=sparc/vxsim.h
3222 tmake_file=sparc/t-vxsparc
3223 xmake_file=sparc/x-sysv4
3226 tm_file="sparc/splet.h libgloss.h"
3227 tmake_file=sparc/t-splet
3230 tm_file="sparc/litecoff.h libgloss.h"
3231 tmake_file=sparc/t-sparclite
3234 tm_file="sparc/lite.h aoutos.h libgloss.h"
3235 tmake_file=sparc/t-sparclite
3238 tm_file="sparc/sol2.h sparc/elf.h sparc/liteelf.h"
3239 tmake_file=sparc/t-sparclite
3240 extra_parts="crtbegin.o crtend.o"
3243 tm_file="sparc/sp86x-aout.h aoutos.h libgloss.h"
3244 tmake_file=sparc/t-sp86x
3247 tm_file="sparc/sol2.h sparc./elf.h sparc/sp86x-elf.h"
3248 tmake_file=sparc/t-sp86x
3249 extra_parts="crtbegin.o crtend.o"
3252 tmake_file=sparc/t-sp64
3253 tm_file=sparc/sp64-aout.h
3256 tmake_file=sparc/t-sp64
3257 tm_file=sparc/sp64-elf.h
3258 extra_parts="crtbegin.o crtend.o"
3260 sparc64-*-linux*) # 64-bit Sparc's running GNU/Linux
3261 tmake_file="t-linux sparc/t-linux64"
3262 xm_file="sparc/xm-sp64.h sparc/xm-linux.h"
3263 tm_file=sparc/linux64.h
3265 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
3267 if test x$enable_threads = xyes; then
3273 tm_file=arm/strongarm-elf.h
3274 tmake_file=arm/t-strongarm-elf
3276 xm_file=arm/xm-arm.h
3280 tm_file=arm/strongarm-coff.h
3281 tmake_file=arm/t-strongarm-coff
3283 xm_file=arm/xm-arm.h
3287 tm_file=arm/strongarm-pe.h
3288 tmake_file=arm/t-strongarm-pe
3290 xm_file=arm/xm-arm.h
3295 { echo "config.gcc: error:
3296 *** The Thumb targets have been deprecated. The equivalent
3297 *** ARM based toolchain can now generate Thumb instructions
3298 *** when the -mthumb switch is given to the compiler." 1>&2; exit 1; }
3302 tm_file="v850/rtems.h"
3303 xm_file="v850/xm-v850.h"
3304 tmake_file="v850/t-v850 t-rtems"
3305 if test x$stabs = xyes
3307 tm_file="${tm_file} dbx.h"
3310 c_target_objs="v850-c.o"
3311 cxx_target_objs="v850-c.o"
3314 target_cpu_default="TARGET_CPU_generic"
3316 tm_file="v850/v850.h"
3317 xm_file="v850/xm-v850.h"
3318 tmake_file=v850/t-v850
3319 if test x$stabs = xyes
3321 tm_file="${tm_file} dbx.h"
3324 c_target_objs="v850-c.o"
3325 cxx_target_objs="v850-c.o"
3327 vax-*-bsd*) # vaxen running BSD
3331 vax-*-sysv*) # vaxen running system V
3332 tm_file="${tm_file} vax/vaxv.h"
3337 tm_file="${tm_file} netbsd.h vax/netbsd.h"
3343 tmake_file="${tmake_file} vax/t-openbsd"
3344 tm_file="vax/vax.h vax/openbsd1.h openbsd.h ${tm_file}"
3345 xm_file="xm-openbsd.h vax/xm-vax.h"
3349 vax-*-ultrix*) # vaxen running ultrix
3350 tm_file="${tm_file} vax/ultrix.h"
3353 vax-*-vms*) # vaxen running VMS
3354 xm_file=vax/xm-vms.h
3358 vax-*-*) # vax default entry
3362 xm_file="${xm_file} xm-svr3"
3366 tm_file=arm/xscale-elf.h
3367 tmake_file=arm/t-xscale-elf
3369 xm_file=arm/xm-arm.h
3373 tm_file=arm/xscale-coff.h
3374 tmake_file=arm/t-xscale-coff
3376 xm_file=arm/xm-arm.h
3380 echo "Configuration $machine not supported" 1>&2
3387 xmake_try_sysv=x-sysv
3388 install_headers_dir=install-headers-cpio
3391 install_headers_dir=install-headers-cpio
3395 # Distinguish i[34567]86
3396 # Also, do not run mips-tfile on MIPS if using gas.
3397 # Process --with-cpu= for PowerPC/rs6000
3398 target_cpu_default2=
3401 target_cpu_default2=1
3404 case $target_alias in
3406 target_cpu_default2=4
3409 target_cpu_default2=2
3413 i686-*-* | i786-*-*)
3414 target_cpu_default2=3
3419 target_cpu_default2="MASK_CPU_EV6|MASK_BWX|MASK_MAX|MASK_FIX|MASK_CIX"
3422 target_cpu_default2="MASK_CPU_EV6|MASK_BWX|MASK_MAX|MASK_FIX"
3425 target_cpu_default2="MASK_CPU_EV5|MASK_BWX|MASK_MAX"
3428 target_cpu_default2="MASK_CPU_EV5|MASK_BWX"
3431 target_cpu_default2="MASK_CPU_EV5"
3435 if test x$gas = xyes
3437 if test "$target_cpu_default2" = ""
3439 target_cpu_default2="MASK_GAS"
3441 target_cpu_default2="${target_cpu_default2}|MASK_GAS"
3446 case "x$with_cpu" in
3449 target_cpu_default2="TARGET_CPU_generic"
3452 # Distinguish cores, and major variants
3453 # arm7m doesn't exist, but D & I don't affect code
3454 xarm[236789] | xarm250 | xarm[67][01]0 \
3455 | xarm7m | xarm7dm | xarm7dmi | xarm[79]tdmi \
3456 | xarm7100 | xarm7500 | xarm7500fe | xarm810 \
3458 | xstrongarm | xstrongarm110 | xstrongarm1100)
3459 target_cpu_default2="TARGET_CPU_$with_cpu"
3463 echo "--with-cpu must be passed a value" 1>&2
3468 if test x$pass2done = xyes
3470 echo "Unknown cpu used with --with-cpu=$with_cpu" 1>&2
3477 mips*-*-ecoff* | mips*-*-elf*)
3478 if test x$gas = xyes
3480 if test x$gnu_ld = xyes
3482 target_cpu_default2="MASK_GAS|MASK_SPLIT_ADDR"
3484 target_cpu_default2="MASK_GAS"
3489 if test x$gas = xyes
3491 target_cpu_default2="MASK_GAS"
3494 powerpc*-*-* | rs6000-*-*)
3495 case "x$with_cpu" in
3499 xcommon | xpower | xpower2 | xpowerpc | xrios \
3500 | xrios1 | xrios2 | xrsc | xrsc1 \
3501 | x601 | x602 | x603 | x603e | x604 | x604e | x620 \
3502 | xec603e | x740 | x750 | x401 \
3503 | x403 | x505 | x801 | x821 | x823 | x860)
3504 target_cpu_default2="\"$with_cpu\""
3508 echo "--with-cpu must be passed a value" 1>&2
3513 if test x$pass2done = xyes
3515 echo "Unknown cpu used with --with-cpu=$with_cpu" 1>&2
3522 case ".$with_cpu" in
3524 target_cpu_default2=TARGET_CPU_"`echo $machine | sed 's/-.*$//'`"
3526 .supersparc | .hypersparc | .ultrasparc | .v7 | .v8 | .v9)
3527 target_cpu_default2="TARGET_CPU_$with_cpu"
3530 if test x$pass2done = xyes
3532 echo "Unknown cpu used with --with-cpu=$with_cpu" 1>&2
3540 if test "$target_cpu_default2" != ""
3542 if test "$target_cpu_default" != ""
3544 target_cpu_default="(${target_cpu_default}|${target_cpu_default2})"
3546 target_cpu_default=$target_cpu_default2
3550 # No need for collect2 if we have the GNU linker.
3551 # Actually, there is now; GNU ld doesn't handle the EH info or
3552 # collecting for shared libraries.
3559 # Save data on machine being used to compile GCC in build_xm_file.
3560 # Save data on host machine in vars host_xm_file and host_xmake_file.
3561 if test x$pass1done = x
3563 if test x"$xm_file" = x
3564 then build_xm_file=$cpu_type/xm-$cpu_type.h
3565 else build_xm_file=$xm_file
3567 build_xm_defines=$xm_defines
3568 build_install_headers_dir=$install_headers_dir
3569 build_exeext=$exeext
3572 if test x$pass2done = x
3574 if test x"$xm_file" = x
3575 then host_xm_file=$cpu_type/xm-$cpu_type.h
3576 else host_xm_file=$xm_file
3578 host_xm_defines=$xm_defines
3579 if test x"$xmake_file" = x
3580 then xmake_file=$cpu_type/x-$cpu_type
3582 host_xmake_file="$xmake_file"
3583 host_truncate_target=$truncate_target
3584 host_extra_gcc_objs=$extra_gcc_objs
3585 host_extra_objs=$extra_host_objs