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"
459 *-*-osf4.0[b-z] | *-*-osf4.[1-9]* | *-*-osf5*)
460 target_cpu_default=MASK_SUPPORT_ARCH
465 tm_file="${tm_file} dbx.h alpha/vxworks.h"
466 tmake_file="alpha/t-alpha alpha/t-ieee"
469 extra_passes="mips-tfile mips-tdump"
472 thread_file='vxworks'
475 tm_file="${tm_file} alpha/alpha32.h alpha/win-nt.h winnt/win-nt.h"
476 xm_file="${xm_file} config/winnt/xm-winnt.h alpha/xm-winnt.h"
477 tmake_file="t-libc-ok alpha/t-alpha alpha/t-ieee"
478 xmake_file=winnt/x-winnt
479 extra_host_objs=oldnames.o
480 extra_gcc_objs="spawnv.o oldnames.o"
481 if test x$gnu_ld != xyes
483 extra_programs=ld.exe
485 if test x$enable_threads = xyes; then
491 xm_file="${xm_file} alpha/xm-vms.h"
492 tmake_file="alpha/t-alpha alpha/t-vms alpha/t-ieee"
495 tm_file=arm/rtems-elf.h
496 tmake_file="arm/t-arm-elf t-rtems"
497 if test x$enable_threads = xyes; then
500 extra_parts="crtinit.o crtfini.o"
503 extra_parts="crtinit.o crtfini.o"
505 arm-*-coff* | armel-*-coff*)
507 tmake_file=arm/t-arm-coff
511 tmake_file=arm/t-arm-coff
512 thread_file='vxworks'
514 arm-*-riscix1.[01]*) # Acorn RISC machine (early versions)
515 tm_file=arm/riscix1-1.h
518 arm-*-riscix*) # Acorn RISC machine
521 tm_file=arm/rix-gas.h
525 xmake_file=arm/x-riscix
526 tmake_file=arm/t-riscix
529 arm-semi-aout | armel-semi-aout)
531 tmake_file=arm/t-semi
533 arm-semi-aof | armel-semi-aof)
534 tm_file=arm/semiaof.h
535 tmake_file=arm/t-semiaof
539 tmake_file="t-netbsd arm/t-netbsd"
542 arm*-*-linux*oldld*) # ARM GNU/Linux with old ELF linker
543 xm_file=arm/xm-linux.h
545 tm_file="arm/linux-oldld.h arm/linux-elf.h"
548 tm_file="arm/linux-elf26.h $tm_file"
551 tmake_file="t-linux arm/t-linux"
552 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
554 case x${enable_threads} in
555 x | xyes | xpthreads | xposix)
560 arm*-*-linux*) # ARM GNU/Linux with ELF
561 xm_file=arm/xm-linux.h
563 tm_file="arm/linux-elf.h"
566 tm_file="arm/linux-elf26.h $tm_file"
569 tmake_file="t-linux arm/t-linux"
570 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
572 case x${enable_threads} in
573 x | xyes | xpthreads | xposix)
578 arm*-*-uclinux*) # ARM ucLinux
579 tm_file=arm/uclinux-elf.h
580 tmake_file=arm/t-arm-elf
584 tmake_file=arm/t-arm-aout
587 tm_file=arm/ecos-elf.h
588 tmake_file=arm/t-arm-elf
591 tm_file=arm/unknown-elf.h
592 tmake_file=arm/t-arm-elf
595 tm_file=arm/conix-elf.h
596 tmake_file=arm/t-arm-elf
599 tm_file=arm/unknown-elf-oabi.h
600 tmake_file=arm/t-arm-elf
609 c1-convex-*) # Convex C1
613 c2-convex-*) # Convex C2
626 target_cpu_default=16
631 tmake_file="c4x/t-c4x t-rtems"
633 if test x$enable_threads = xyes; then
642 clipper-intergraph-clix*)
643 tm_file="${tm_file} svr3.h clipper/clix.h"
644 xm_file=clipper/xm-clix.h
645 xmake_file=clipper/x-clix
646 extra_headers=va-clipper.h
647 extra_parts="crtbegin.o crtend.o"
648 install_headers_dir=install-headers-cpio
659 tm_file="fr30/fr30.h"
660 tmake_file=fr30/t-fr30
661 extra_parts="crti.o crtn.o crtbegin.o crtend.o"
664 tmake_file="h8300/t-h8300 t-rtems"
665 tm_file=h8300/rtems.h
666 if test x$enable_threads = xyes; then
675 target_cpu_default="(MASK_PA_11 | MASK_GAS | MASK_JUMP_IN_DELAY)"
676 tm_file="${tm_file} pa/elf.h linux.h pa/pa-linux.h"
677 tmake_file="t-linux pa/t-linux"
678 extra_parts="crtbegin.o crtend.o"
681 if test x$enable_threads = xyes; then
686 target_cpu_default="MASK_PA_11"
687 tmake_file=pa/t-openbsd
690 tm_file="pa/pa-pro.h ${tm_file} pa/pa-pro-end.h libgloss.h pa/rtems.h"
691 xm_file=pa/xm-papro.h
692 tmake_file="pa/t-pro t-rtems"
693 if test x$enable_threads = xyes; then
698 target_cpu_default="(MASK_JUMP_IN_DELAY | MASK_PORTABLE_RUNTIME | MASK_GAS | MASK_NO_SPACE_REGS | MASK_SOFT_FLOAT)"
699 tm_file="${tm_file} pa/pa32-regs.h elfos.h pa/elf.h pa/pa-pro-end.h libgloss.h"
700 xm_file=pa/xm-papro.h
704 target_cpu_default="MASK_PA_11"
705 tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-osf.h"
709 target_cpu_default="(MASK_JUMP_IN_DELAY | MASK_PORTABLE_RUNTIME | MASK_GAS | MASK_NO_SPACE_REGS | MASK_SOFT_FLOAT)"
710 tm_file="${tm_file} pa/pa32-regs.h elfos.h pa/elf.h pa/pa-pro-end.h libgloss.h pa/rtems.h"
711 xm_file=pa/xm-papro.h
715 tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-osf.h"
719 tm_file="${tm_file} pa/pa32-regs.h pa/som.h"
720 target_cpu_default="MASK_PA_11"
724 tm_file="${tm_file} pa/pa32-regs.h pa/som.h"
728 tm_file="pa/pa-oldas.h ${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux7.h"
729 xm_file=pa/xm-pahpux.h
730 xmake_file=pa/x-pa-hpux
733 tm_file="${tm_file} pa/gas.h"
735 install_headers_dir=install-headers-cpio
738 hppa1.0-*-hpux8.0[0-2]*)
739 tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h"
740 xm_file=pa/xm-pahpux.h
741 xmake_file=pa/x-pa-hpux
744 tm_file="${tm_file} pa/pa-gas.h"
746 tm_file="pa/pa-oldas.h ${tm_file}"
748 install_headers_dir=install-headers-cpio
751 hppa1.1-*-hpux8.0[0-2]*)
752 target_cpu_default="MASK_PA_11"
753 tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h"
754 xm_file=pa/xm-pahpux.h
755 xmake_file=pa/x-pa-hpux
758 tm_file="${tm_file} pa/pa-gas.h"
760 tm_file="pa/pa-oldas.h ${tm_file}"
762 install_headers_dir=install-headers-cpio
766 target_cpu_default="MASK_PA_11"
767 tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h"
768 xm_file=pa/xm-pahpux.h
769 xmake_file=pa/x-pa-hpux
772 tm_file="${tm_file} pa/pa-gas.h"
774 install_headers_dir=install-headers-cpio
778 tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h"
779 xm_file=pa/xm-pahpux.h
780 xmake_file=pa/x-pa-hpux
783 tm_file="${tm_file} pa/pa-gas.h"
785 install_headers_dir=install-headers-cpio
788 hppa1.1-*-hpux10* | hppa2*-*-hpux10*)
789 target_cpu_default="MASK_PA_11"
790 tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-hpux.h pa/pa-hpux10.h"
792 xm_file=pa/xm-pahpux.h
793 xmake_file=pa/x-pa-hpux
797 tm_file="${tm_file} pa/pa-gas.h"
799 if test x$enable_threads = x; then
800 enable_threads=$have_pthread_h
802 case x${enable_threads} in
804 tmake_file="${tmake_file} pa/t-dce-thr"
807 install_headers_dir=install-headers-cpio
811 tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-hpux.h pa/pa-hpux10.h"
813 xm_file=pa/xm-pahpux.h
814 xmake_file=pa/x-pa-hpux
818 tm_file="${tm_file} pa/pa-gas.h"
820 if test x$enable_threads = x; then
821 enable_threads=$have_pthread_h
823 case x${enable_threads} in
825 tmake_file="${tmake_file} pa/t-dce-thr"
828 install_headers_dir=install-headers-cpio
832 target_cpu_default="MASK_PA_11"
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)"
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
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"
983 tmake_file=i386/t-i386elf
986 i[34567]86-ibm-aix*) # IBM PS/2 running AIX
989 tm_file=i386/aix386.h
990 extra_parts="crtbegin.o crtend.o"
991 tmake_file=i386/t-crtstuff
993 tm_file=i386/aix386ng.h
996 xm_file="xm-alloca.h i386/xm-aix.h ${xm_file}"
998 xmake_file=i386/x-aix
1000 i[34567]86-ncr-sysv4*) # NCR 3000 - ix86 running system V.4
1001 xm_file="xm-alloca.h ${xm_file}"
1002 xm_defines="USG POSIX SMALL_ARG_MAX"
1003 xmake_file=i386/x-ncr3000
1004 if test x$stabs = xyes -a x$gas = xyes
1006 tm_file=i386/sysv4gdb.h
1008 tm_file=i386/sysv4.h
1010 extra_parts="crtbegin.o crtend.o"
1011 tmake_file=i386/t-crtpic
1015 xm_file=i386/xm-next.h
1016 tmake_file=i386/t-next
1017 xmake_file=i386/x-next
1018 extra_objs=nextstep.o
1019 extra_parts="crtbegin.o crtend.o"
1020 if test x$enable_threads = xyes; then
1024 i[34567]86-*-netware) # Intel 80386's running netware
1025 tm_file=i386/netware.h
1026 tmake_file=i386/t-netware
1028 i[34567]86-sequent-bsd*) # 80386 from Sequent
1030 if test x$gas = xyes
1032 tm_file=i386/seq-gas.h
1034 tm_file=i386/sequent.h
1037 i[34567]86-sequent-ptx1*)
1038 xm_defines="USG SVR3"
1039 xmake_file=i386/x-sysv3
1040 tm_file=i386/seq-sysv3.h
1041 tmake_file=i386/t-crtstuff
1042 extra_parts="crtbegin.o crtend.o"
1043 install_headers_dir=install-headers-cpio
1045 i[34567]86-sequent-ptx2* | i[34567]86-sequent-sysv3*)
1046 xm_defines="USG SVR3"
1047 xmake_file=i386/x-sysv3
1048 tm_file=i386/seq2-sysv3.h
1049 tmake_file=i386/t-crtstuff
1050 extra_parts="crtbegin.o crtend.o"
1051 install_headers_dir=install-headers-cpio
1053 i[34567]86-sequent-ptx4* | i[34567]86-sequent-sysv4*)
1054 xm_file="xm-alloca.h ${xm_file}"
1055 xm_defines="USG POSIX SMALL_ARG_MAX"
1057 tm_file=i386/ptx4-i.h
1059 extra_parts="crtbegin.o crtend.o"
1060 install_headers_dir=install-headers-cpio
1062 i386-sun-sunos*) # Sun i386 roadrunner
1067 i[34567]86-wrs-vxworks*)
1068 tm_file=i386/vxi386.h
1069 tmake_file=i386/t-i386bare
1070 thread_file='vxworks'
1073 tm_file=i386/i386-aout.h
1074 tmake_file=i386/t-i386bare
1076 i[34567]86-*-beoself* | i[34567]86-*-beos*)
1077 xm_file=i386/xm-beos.h
1078 tmake_file='i386/t-beos i386/t-crtpic'
1079 tm_file=i386/beos-elf.h
1080 xmake_file=i386/x-beos
1081 extra_parts='crtbegin.o crtend.o'
1083 i[34567]86-*-bsdi* | i[34567]86-*-bsd386*)
1084 tm_file=i386/bsd386.h
1085 # tmake_file=t-libc-ok
1088 tm_file=i386/386bsd.h
1089 # tmake_file=t-libc-ok
1090 # Next line turned off because both 386BSD and BSD/386 use GNU ld.
1093 i[34567]86-*-freebsd[12] | i[34567]86-*-freebsd[12].* | i[34567]86-*-freebsd*aout*)
1094 tm_file="i386/freebsd-aout.h i386/perform.h"
1095 tmake_file=t-freebsd
1097 i[34567]86-*-freebsd*)
1098 tm_file="i386/i386.h i386/att.h svr4.h freebsd.h i386/i386afe.h i386/freebsd.h i386/perform.h"
1099 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
1100 tmake_file=t-freebsd
1104 case x${enable_threads} in
1105 xyes | xpthreads | xposix)
1107 tmake_file="${tmake_file} t-freebsd-thread"
1111 i[34567]86-*-netbsd*)
1112 tm_file=i386/netbsd.h
1116 i[34567]86-*-openbsd*)
1117 # we need collect2 until our bug is fixed...
1121 tm_file=i386/i386-coff.h
1122 tmake_file=i386/t-i386bare
1124 i[34567]86-*-isc*) # 80386 running ISC system
1125 xm_file="${xm_file} i386/xm-isc.h"
1126 xm_defines="USG SVR3"
1128 i[34567]86-*-isc[34]*)
1129 xmake_file=i386/x-isc3
1132 xmake_file=i386/x-isc
1135 if test x$gas = xyes -a x$stabs = xyes
1137 tm_file=i386/iscdbx.h
1138 tmake_file=i386/t-svr3dbx
1139 extra_parts="svr3.ifile svr3z.ifile"
1141 tm_file=i386/isccoff.h
1142 tmake_file=i386/t-crtstuff
1143 extra_parts="crtbegin.o crtend.o"
1145 tmake_file="$tmake_file i386/t-i386bare"
1146 install_headers_dir=install-headers-cpio
1148 i[34567]86-*-linux*oldld*) # Intel 80386's running GNU/Linux
1149 # with a.out format using
1151 xmake_file=x-linux-aout
1152 tmake_file="t-linux-aout i386/t-crtstuff"
1153 tm_file=i386/linux-oldld.h
1157 i[34567]86-*-linux*aout*) # Intel 80386's running GNU/Linux
1159 xmake_file=x-linux-aout
1160 tmake_file="t-linux-aout i386/t-crtstuff"
1161 tm_file=i386/linux-aout.h
1165 i[34567]86-*-linux*libc1) # Intel 80386's running GNU/Linux
1166 # with ELF format using the
1167 # GNU/Linux C library 5
1169 tm_file="i386/i386.h i386/att.h linux.h i386/i386afe.h i386/linux.h"
1170 tmake_file="t-linux t-linux-gnulibc1 i386/t-crtstuff"
1171 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
1174 if test x$enable_threads = xyes; then
1175 thread_file='single'
1178 i[34567]86-*-linux*) # Intel 80386's running GNU/Linux
1179 # with ELF format using glibc 2
1180 # aka GNU/Linux C library 6
1182 tm_file="i386/i386.h i386/att.h linux.h i386/i386afe.h i386/linux.h"
1183 tmake_file="t-linux i386/t-crtstuff"
1184 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
1187 if test x$enable_threads = xyes; then
1194 i[34567]86-go32-msdos | i[34567]86-*-go32*)
1195 echo "GO32/DJGPP V1.X is no longer supported. Use *-pc-msdosdjgpp for DJGPP V2.X instead."
1198 i[34567]86-pc-msdosdjgpp*)
1199 xm_file=i386/xm-djgpp.h
1200 tm_file=i386/djgpp.h
1201 tmake_file=i386/t-djgpp
1202 xmake_file=i386/x-djgpp
1207 case $host in *pc-msdosdjgpp*)
1212 i[34567]86-moss-msdos* | i[34567]86-*-moss*)
1213 tm_file="i386/i386.h i386/att.h linux.h i386/i386afe.h i386/linux.h i386/moss.h"
1214 tmake_file=t-libc-ok
1218 i[34567]86-*-lynxos*)
1219 if test x$gas = xyes
1223 tm_file=i386/lynx-ng.h
1225 xm_file=i386/xm-lynx.h
1226 tmake_file=i386/t-i386bare
1231 # tmake_file=t-libc-ok
1234 i[34567]86-*-osfrose*) # 386 using OSF/rose
1235 if test x$elf = xyes
1237 tm_file=i386/osfelf.h
1240 tm_file=i386/osfrose.h
1243 xm_file="i386/xm-osf.h ${xm_file}"
1244 xmake_file=i386/x-osfrose
1245 tmake_file=i386/t-osf
1246 extra_objs=halfpic.o
1248 i[34567]86-go32-rtems*)
1250 xm_file=i386/xm-go32.h
1251 tm_file=i386/go32-rtems.h
1252 tmake_file="i386/t-go32 t-rtems"
1253 if test x$enable_threads = xyes; then
1257 i[34567]86-*-rtemscoff*)
1259 tm_file=i386/rtems.h
1260 tmake_file="i386/t-i386bare t-rtems"
1261 if test x$enable_threads = xyes; then
1265 i[34567]86-*-rtems*|i[34567]86-*-rtemself*)
1267 tm_file=i386/rtemself.h
1268 extra_parts="crtbegin.o crtend.o crti.o crtn.o"
1269 tmake_file="i386/t-rtems-i386 i386/t-crtstuff t-rtems"
1270 if test x$enable_threads = xyes; then
1274 i[34567]86-*-sco3.2v5*) # 80386 running SCO Open Server 5
1275 xm_file="xm-alloca.h ${xm_file} i386/xm-sco5.h"
1276 xm_defines="USG SVR3"
1277 xmake_file=i386/x-sco5
1278 install_headers_dir=install-headers-cpio
1280 if test x$gas = xyes
1282 tm_file="i386/sco5gas.h ${tm_file}"
1283 tmake_file=i386/t-sco5gas
1285 tmake_file=i386/t-sco5
1287 tmake_file="$tmake_file i386/t-i386bare"
1288 extra_parts="crti.o crtbegin.o crtend.o crtbeginS.o crtendS.o"
1290 i[34567]86-*-sco3.2v4*) # 80386 running SCO 3.2v4 system
1291 xm_file="${xm_file} i386/xm-sco.h"
1292 xm_defines="USG SVR3 BROKEN_LDEXP SMALL_ARG_MAX"
1293 xmake_file=i386/x-sco4
1294 install_headers_dir=install-headers-cpio
1295 if test x$stabs = xyes
1297 tm_file=i386/sco4dbx.h
1298 tmake_file=i386/t-svr3dbx
1299 extra_parts="svr3.ifile svr3z.rfile"
1302 tmake_file=i386/t-crtstuff
1303 extra_parts="crtbegin.o crtend.o"
1305 tmake_file="$tmake_file i386/t-i386bare"
1306 # The default EAFS filesystem supports long file names.
1307 # Truncating the target makes $host != $target which
1308 # makes gcc think it is doing a cross-compile.
1309 # truncate_target=yes
1311 i[34567]86-*-sco*) # 80386 running SCO system
1312 xm_file=i386/xm-sco.h
1313 xmake_file=i386/x-sco
1314 install_headers_dir=install-headers-cpio
1315 if test x$stabs = xyes
1317 tm_file=i386/scodbx.h
1318 tmake_file=i386/t-svr3dbx
1319 extra_parts="svr3.ifile svr3z.rfile"
1322 extra_parts="crtbegin.o crtend.o"
1323 tmake_file=i386/t-crtstuff
1325 tmake_file="$tmake_file i386/t-i386bare"
1328 i[34567]86-*-solaris2*)
1329 xm_file="xm-alloca.h ${xm_file}"
1330 xm_defines="USG POSIX SMALL_ARG_MAX"
1332 if test x$gas = xyes; then
1333 # Only needed if gas does not support -s
1334 tm_file="i386/sol2gas.h ${tm_file}"
1336 tmake_file="i386/t-i386bare i386/t-sol2"
1337 extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"
1339 if test x${enable_threads} = x; then
1340 enable_threads=$have_pthread_h
1341 if test x${enable_threads} = x; then
1342 enable_threads=$have_thread_h
1345 if test x${enable_threads} = xyes; then
1346 if test x${have_pthread_h} = xyes; then
1349 thread_file='solaris'
1353 i[34567]86-*-sysv5*) # Intel x86 on System V Release 5
1354 xm_file="xm-alloca.h ${xm_file}"
1355 xm_defines="USG POSIX"
1356 tm_file=i386/sysv5.h
1357 if test x$stabs = xyes
1359 tm_file="${tm_file} dbx.h"
1361 tmake_file="i386/t-i386bare i386/t-crtpic"
1363 extra_parts="crtbegin.o crtend.o"
1364 if test x$enable_threads = xyes; then
1368 i[34567]86-*-sysv4*) # Intel 80386's running system V.4
1369 xm_file="xm-alloca.h ${xm_file}"
1370 xm_defines="USG POSIX SMALL_ARG_MAX"
1371 tm_file=i386/sysv4.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"
1380 i[34567]86-*-udk*) # Intel x86 on SCO UW/OSR5 Dev Kit
1381 xm_file="xm-alloca.h ${xm_file}"
1382 xm_defines="USG POSIX"
1384 tmake_file="i386/t-i386bare i386/t-crtpic i386/t-udk"
1386 extra_parts="crtbegin.o crtend.o"
1387 install_headers_dir=install-headers-cpio
1389 i[34567]86-*-osf1*) # Intel 80386's running OSF/1 1.3+
1391 xm_file="${xm_file} xm-svr4.h i386/xm-sysv4.h i386/xm-osf1elf.h"
1392 xm_defines="USE_C_ALLOCA SMALL_ARG_MAX"
1393 if test x$stabs = xyes
1395 tm_file=i386/osf1elfgdb.h
1397 tm_file=i386/osf1elf.h
1399 tmake_file=i386/t-osf1elf
1400 xmake_file=i386/x-osf1elf
1401 extra_parts="crti.o crtn.o crtbegin.o crtend.o"
1403 i[34567]86-*-sysv*) # Intel 80386's running system V
1404 xm_defines="USG SVR3"
1405 xmake_file=i386/x-sysv3
1406 if test x$gas = xyes
1408 if test x$stabs = xyes
1410 tm_file=i386/svr3dbx.h
1411 tmake_file=i386/t-svr3dbx
1412 extra_parts="svr3.ifile svr3z.rfile"
1414 tm_file=i386/svr3gas.h
1415 extra_parts="crtbegin.o crtend.o"
1416 tmake_file=i386/t-crtstuff
1419 tm_file=i386/sysv3.h
1420 extra_parts="crtbegin.o crtend.o"
1421 tmake_file=i386/t-crtstuff
1423 tmake_file="$tmake_file i386/t-crtpic"
1425 i386-*-vsta) # Intel 80386's running VSTa kernel
1426 xm_file="${xm_file} i386/xm-vsta.h"
1428 tmake_file=i386/t-vsta
1429 xmake_file=i386/x-vsta
1432 xm_file="${xm_file} i386/xm-cygwin.h"
1434 tmake_file=i386/t-cygwin
1435 tm_file=i386/win32.h
1436 xmake_file=i386/x-cygwin
1438 if test x$enable_threads = xyes; then
1443 i[34567]86-*-pe | i[34567]86-*-cygwin*)
1444 xm_file="${xm_file} i386/xm-cygwin.h"
1446 tmake_file=i386/t-cygwin
1447 tm_file=i386/cygwin.h
1448 xmake_file=i386/x-cygwin
1450 if test x$enable_threads = xyes; then
1455 i[34567]86-*-mingw32*)
1456 tm_file=i386/mingw32.h
1458 xm_file="${xm_file} i386/xm-mingw32.h"
1459 tmake_file="i386/t-cygwin i386/t-mingw32"
1461 xmake_file=i386/x-cygwin
1462 if test x$enable_threads = xyes; then
1469 *minwg32crt* | *mingw32*)
1470 tm_file="${tm_file} i386/crtdll.h"
1476 tmake_file="i386/t-cygwin i386/t-uwin"
1478 xmake_file=i386/x-cygwin
1479 if test x$enable_threads = xyes; then
1484 i[34567]86-*-interix*)
1485 tm_file="i386/i386-interix.h interix.h"
1486 xm_file="i386/xm-i386-interix.h xm-interix.h"
1488 tmake_file="i386/t-interix"
1489 extra_objs=interix.o
1490 xmake_file=x-interix
1491 if test x$enable_threads = xyes ; then
1494 if test x$stabs = xyes ; then
1495 tm_file="${tm_file} dbxcoff.h"
1498 i[34567]86-*-winnt3*)
1499 tm_file=i386/win-nt.h
1500 out_file=i386/i386.c
1501 xm_file="xm-winnt.h ${xm_file}"
1502 xmake_file=winnt/x-winnt
1503 tmake_file=i386/t-winnt
1504 extra_host_objs="winnt.o oldnames.o"
1505 extra_gcc_objs="spawnv.o oldnames.o"
1506 if test x$gnu_ld != xyes
1508 extra_programs=ld.exe
1510 if test x$enable_threads = xyes; then
1514 i[34567]86-dg-dgux*)
1515 xm_file="xm-alloca.h ${xm_file}"
1516 xm_defines="USG POSIX"
1517 out_file=i386/dgux.c
1519 tmake_file=i386/t-dgux
1520 xmake_file=i386/x-dgux
1521 install_headers_dir=install-headers-cpio
1523 i860-alliant-*) # Alliant FX/2800
1524 tm_file="${tm_file} svr4.h i860/sysv4.h i860/fx2800.h"
1525 xm_file="${xm_file}"
1526 xmake_file=i860/x-fx2800
1527 tmake_file=i860/t-fx2800
1528 extra_parts="crtbegin.o crtend.o"
1531 tm_file="${tm_file} i860/bsd.h"
1532 if test x$gas = xyes
1534 tm_file="${tm_file} i860/bsd-gas.h"
1539 tm_file="${tm_file} i860/mach.h"
1540 tmake_file=t-libc-ok
1542 i860-*-osf*) # Intel Paragon XP/S, OSF/1AD
1543 tm_file="${tm_file} svr3.h i860/paragon.h"
1544 xm_defines="USG SVR3"
1548 tm_file="${tm_file} svr3.h i860/sysv3.h"
1549 xm_defines="USG SVR3"
1550 xmake_file=i860/x-sysv3
1551 extra_parts="crtbegin.o crtend.o"
1554 tm_file="${tm_file} svr4.h i860/sysv4.h"
1555 xm_defines="USG SVR3"
1556 xmake_file=i860/x-sysv4
1558 extra_parts="crtbegin.o crtend.o"
1560 i960-wrs-vxworks5 | i960-wrs-vxworks5.0*)
1561 tm_file="${tm_file} i960/vx960.h"
1562 tmake_file=i960/t-vxworks960
1564 thread_file='vxworks'
1566 i960-wrs-vxworks5* | i960-wrs-vxworks)
1567 tm_file="${tm_file} dbxcoff.h i960/i960-coff.h i960/vx960-coff.h"
1568 tmake_file=i960/t-vxworks960
1570 thread_file='vxworks'
1573 tm_file="${tm_file} i960/vx960.h"
1574 tmake_file=i960/t-vxworks960
1576 thread_file='vxworks'
1579 tm_file="${tm_file} dbxcoff.h i960/i960-coff.h libgloss.h"
1580 tmake_file=i960/t-960bare
1584 tmake_file="i960/t-960bare t-rtems"
1585 tm_file="${tm_file} dbxcoff.h i960/rtems.h"
1587 if test x$enable_threads = xyes; then
1591 i960-*-*) # Default i960 environment.
1596 tmake_file="ia64/t-ia64"
1597 target_cpu_default="0"
1598 if test x$gas = xyes
1600 target_cpu_default="${target_cpu_default}|MASK_GNU_AS"
1602 if test x$gnu_ld = xyes
1604 target_cpu_default="${target_cpu_default}|MASK_GNU_LD"
1609 tm_file=ia64/linux.h
1610 tmake_file="t-linux ia64/t-ia64 ia64/t-glibc"
1611 target_cpu_default="MASK_GNU_AS|MASK_GNU_LD"
1612 if test x$enable_threads = xyes; then
1618 extra_parts="crtinit.o crtfini.o"
1620 # m68hc11 and m68hc12 share the same machine description.
1621 m68hc11-*-*|m6811-*-*)
1622 tm_file="m68hc11/m68hc11.h"
1623 xm_file="m68hc11/xm-m68hc11.h"
1624 tm_p_file="m68hc11/m68hc11-protos.h"
1625 md_file="m68hc11/m68hc11.md"
1626 out_file="m68hc11/m68hc11.c"
1627 tmake_file="m68hc11/t-m68hc11-gas"
1629 m68hc12-*-*|m6812-*-*)
1630 tm_file="m68hc11/m68hc12.h"
1631 tm_p_file="m68hc11/m68hc11-protos.h"
1632 xm_file="m68hc11/xm-m68hc11.h"
1633 md_file="m68hc11/m68hc11.md"
1634 out_file="m68hc11/m68hc11.c"
1635 tmake_file="m68hc11/t-m68hc11-gas"
1637 m68000-convergent-sysv*)
1639 xm_file="m68k/xm-3b1.h ${xm_file}"
1642 extra_headers=math-68881.h
1644 m68000-hp-bsd*) # HP 9000/200 running BSD
1645 tm_file=m68k/hp2bsd.h
1646 xmake_file=m68k/x-hp2bsd
1648 extra_headers=math-68881.h
1650 m68000-hp-hpux*) # HP 9000 series 300
1651 xm_file="xm-alloca.h ${xm_file}"
1653 if test x$gas = xyes
1655 xmake_file=m68k/x-hp320g
1656 tm_file=m68k/hp310g.h
1658 xmake_file=m68k/x-hp320
1659 tm_file=m68k/hp310.h
1661 install_headers_dir=install-headers-cpio
1663 extra_headers=math-68881.h
1668 extra_headers=math-68881.h
1671 tm_file=m68k/sun2o4.h
1673 extra_headers=math-68881.h
1676 xm_file="m68k/xm-3b1.h ${xm_file}"
1678 if test x$gas = xyes
1685 extra_headers=math-68881.h
1687 m68k-apple-aux*) # Apple Macintosh running A/UX
1688 xm_defines="USG AUX"
1689 tmake_file=m68k/t-aux
1690 install_headers_dir=install-headers-cpio
1691 extra_headers=math-68881.h
1692 extra_parts="crt1.o mcrt1.o maccrt1.o crt2.o crtn.o"
1694 if test "$gnu_ld" = yes
1696 tm_file="${tm_file} m68k/auxgld.h"
1698 tm_file="${tm_file} m68k/auxld.h"
1700 if test "$gas" = yes
1702 tm_file="${tm_file} m68k/auxgas.h"
1704 tm_file="${tm_file} m68k/auxas.h"
1706 tm_file="${tm_file} m68k/a-ux.h"
1710 tm_file=m68k/apollo68.h
1711 xmake_file=m68k/x-apollo68
1713 extra_headers=math-68881.h
1716 m68k-altos-sysv*) # Altos 3068
1717 if test x$gas = xyes
1719 tm_file=m68k/altos3068.h
1722 echo "The Altos is supported only with the GNU assembler" 1>&2
1725 extra_headers=math-68881.h
1727 m68k-bull-sysv*) # Bull DPX/2
1728 if test x$gas = xyes
1730 if test x$stabs = xyes
1732 tm_file=m68k/dpx2cdbx.h
1734 tm_file=m68k/dpx2g.h
1739 xm_file="xm-alloca.h ${xm_file}"
1741 xmake_file=m68k/x-dpx2
1743 extra_headers=math-68881.h
1745 m68k-atari-sysv4*) # Atari variant of V.4.
1746 tm_file=m68k/atari.h
1747 xm_file="xm-alloca.h ${xm_file}"
1748 xm_defines="USG FULL_PROTOTYPES"
1750 extra_parts="crtbegin.o crtend.o"
1751 extra_headers=math-68881.h
1754 m68k-motorola-sysv*)
1755 tm_file=m68k/mot3300.h
1756 xm_file="xm-alloca.h m68k/xm-mot3300.h ${xm_file}"
1757 if test x$gas = xyes
1759 xmake_file=m68k/x-mot3300-gas
1760 if test x$gnu_ld = xyes
1762 tmake_file=m68k/t-mot3300-gald
1764 tmake_file=m68k/t-mot3300-gas
1768 xmake_file=m68k/x-mot3300
1769 if test x$gnu_ld = xyes
1771 tmake_file=m68k/t-mot3300-gld
1773 tmake_file=m68k/t-mot3300
1777 gdb_needs_out_file_path=yes
1778 extra_parts="crt0.o mcrt0.o"
1779 extra_headers=math-68881.h
1782 m68k-ncr-sysv*) # NCR Tower 32 SVR3
1783 tm_file=m68k/tower-as.h
1784 xm_defines="USG SVR3"
1785 xmake_file=m68k/x-tower
1786 extra_parts="crtbegin.o crtend.o"
1787 extra_headers=math-68881.h
1790 tm_file=m68k/plexus.h
1791 xm_file="xm-alloca.h m68k/xm-plexus.h ${xm_file}"
1794 extra_headers=math-68881.h
1798 xm_file="xm-alloca.h ${xm_file}"
1800 extra_headers=math-68881.h
1803 xm_file="xm-alloca.h m68k/xm-crds.h ${xm_file}"
1804 xm_defines="USG unos"
1805 xmake_file=m68k/x-crds
1808 extra_headers=math-68881.h
1810 m68k-cbm-sysv4*) # Commodore variant of V.4.
1812 xm_file="xm-alloca.h ${xm_file}"
1813 xm_defines="USG FULL_PROTOTYPES"
1814 xmake_file=m68k/x-amix
1816 extra_parts="crtbegin.o crtend.o"
1817 extra_headers=math-68881.h
1821 tm_file=m68k/ccur-GAS.h
1822 xmake_file=m68k/x-ccur
1823 extra_headers=math-68881.h
1827 m68k-hp-bsd4.4*) # HP 9000/3xx running 4.4bsd
1828 tm_file=m68k/hp3bsd44.h
1829 xmake_file=m68k/x-hp3bsd44
1831 extra_headers=math-68881.h
1834 m68k-hp-bsd*) # HP 9000/3xx running Berkeley Unix
1835 tm_file=m68k/hp3bsd.h
1837 extra_headers=math-68881.h
1841 if test x$with_fp = xno
1843 tm_file=m68k/isi-nfp.h
1849 extra_headers=math-68881.h
1851 m68k-hp-hpux7*) # HP 9000 series 300 running HPUX version 7.
1852 xm_file="xm-alloca.h ${xm_file}"
1854 if test x$gas = xyes
1856 xmake_file=m68k/x-hp320g
1857 tm_file=m68k/hp320g.h
1859 xmake_file=m68k/x-hp320
1860 tm_file=m68k/hpux7.h
1862 install_headers_dir=install-headers-cpio
1864 extra_headers=math-68881.h
1867 m68k-hp-hpux*) # HP 9000 series 300
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/hp320.h
1878 install_headers_dir=install-headers-cpio
1880 extra_headers=math-68881.h
1884 tm_file=m68k/sun3mach.h
1886 extra_headers=math-68881.h
1890 if test x$gas = xyes
1892 tm_file=m68k/news3gas.h
1894 tm_file=m68k/news3.h
1897 extra_headers=math-68881.h
1900 m68k-sony-bsd* | m68k-sony-newsos*)
1901 if test x$gas = xyes
1903 tm_file=m68k/newsgas.h
1908 extra_headers=math-68881.h
1911 m68k-next-nextstep2*)
1912 tm_file=m68k/next21.h
1913 xm_file="m68k/xm-next.h ${xm_file}"
1914 tmake_file=m68k/t-next
1915 xmake_file=m68k/x-next
1916 extra_objs=nextstep.o
1917 extra_headers=math-68881.h
1921 m68k-next-nextstep[34]*)
1923 xm_file="m68k/xm-next.h ${xm_file}"
1924 tmake_file=m68k/t-next
1925 xmake_file=m68k/x-next
1926 extra_objs=nextstep.o
1927 extra_parts="crtbegin.o crtend.o"
1928 extra_headers=math-68881.h
1930 if test x$enable_threads = xyes; then
1935 if test x$with_fp = xno
1937 tm_file=m68k/sun3n3.h
1939 tm_file=m68k/sun3o3.h
1943 extra_headers=math-68881.h
1945 m68k-sun-sunos*) # For SunOS 4 (the default).
1946 if test x$with_fp = xno
1948 tm_file=m68k/sun3n.h
1954 extra_headers=math-68881.h
1957 tm_file=m68k/vxm68k.h
1958 tmake_file=m68k/t-vxworks68
1959 extra_headers=math-68881.h
1960 thread_file='vxworks'
1964 tmake_file=m68k/t-m68kbare
1965 tm_file="m68k/m68k-aout.h libgloss.h"
1966 extra_headers=math-68881.h
1970 tmake_file=m68k/t-m68kbare
1971 tm_file="m68k/m68k-coff.h dbx.h"
1972 extra_headers=math-68881.h
1975 m68020-*-elf* | m68k-*-elf*)
1976 tm_file="m68k/m68020-elf.h"
1977 xm_file=m68k/xm-m68kv.h
1978 tmake_file=m68k/t-m68kelf
1979 header_files=math-68881.h
1982 if test x$gas = xyes
1986 tm_file=m68k/lynx-ng.h
1988 xm_file=m68k/xm-lynx.h
1990 tmake_file=m68k/t-lynx
1991 extra_headers=math-68881.h
1995 tm_file=m68k/netbsd.h
2002 # we need collect2 until our bug is fixed...
2005 m68k-*-sysv3*) # Motorola m68k's running system V.3
2006 xm_file="xm-alloca.h ${xm_file}"
2008 xmake_file=m68k/x-m68kv
2009 extra_parts="crtbegin.o crtend.o"
2010 extra_headers=math-68881.h
2013 m68k-*-sysv4*) # Motorola m68k's running system V.4
2014 tm_file=m68k/m68kv4.h
2015 xm_file="xm-alloca.h ${xm_file}"
2018 extra_parts="crtbegin.o crtend.o"
2019 extra_headers=math-68881.h
2022 m68k-*-linux*aout*) # Motorola m68k's running GNU/Linux
2025 tm_file=m68k/linux-aout.h
2026 tmake_file="t-linux-aout m68k/t-linux-aout"
2027 extra_headers=math-68881.h
2031 m68k-*-linux*libc1) # Motorola m68k's running GNU/Linux
2032 # with ELF format using the
2033 # GNU/Linux C library 5
2035 tm_file=m68k/linux.h
2036 tmake_file="t-linux t-linux-gnulibc1 m68k/t-linux"
2037 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
2038 extra_headers=math-68881.h
2042 m68k-*-linux*) # Motorola m68k's running GNU/Linux
2043 # with ELF format using glibc 2
2044 # aka the GNU/Linux C library 6.
2046 tm_file=m68k/linux.h
2047 tmake_file="t-linux m68k/t-linux"
2048 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
2049 extra_headers=math-68881.h
2052 if test x$enable_threads = xyes; then
2057 tmake_file=m68k/t-m68kbare
2058 tm_file=m68k/m68k-psos.h
2059 extra_headers=math-68881.h
2063 tmake_file="m68k/t-m68kbare t-rtems"
2064 tm_file=m68k/rtems.h
2065 extra_headers=math-68881.h
2067 if test x$enable_threads = xyes; then
2071 m68k-*-rtemself*|m68k-*-rtems*)
2072 tmake_file="m68k/t-m68kbare t-rtems m68k/t-crtstuff"
2073 tm_file=m68k/rtemself.h
2074 extra_headers=math-68881.h
2076 if test x$enable_threads = xyes; then
2083 tm_file=m88k/dguxbcs.h
2084 tmake_file=m88k/t-dguxbcs
2088 tmake_file=m88k/t-dgux
2091 extra_parts="crtbegin.o bcscrtbegin.o crtend.o m88kdgux.ld"
2092 xmake_file=m88k/x-dgux
2093 if test x$gas = xyes
2095 tmake_file=m88k/t-dgux-gas
2098 m88k-dolphin-sysv3*)
2099 tm_file=m88k/dolph.h
2100 extra_parts="crtbegin.o crtend.o"
2101 xm_file="m88k/xm-sysv3.h ${xm_file}"
2102 xmake_file=m88k/x-dolph
2103 if test x$gas = xyes
2105 tmake_file=m88k/t-m88k-gas
2108 m88k-tektronix-sysv3)
2109 tm_file=m88k/tekXD88.h
2110 extra_parts="crtbegin.o crtend.o"
2111 xm_file="m88k/xm-sysv3.h ${xm_file}"
2112 xmake_file=m88k/x-tekXD88
2113 if test x$gas = xyes
2115 tmake_file=m88k/t-m88k-gas
2119 tm_file=m88k/m88k-aout.h
2122 tm_file=m88k/m88k-coff.h
2123 tmake_file=m88k/t-bug
2127 extra_parts="crtbegin.o crtend.o"
2128 if test x$gas = xyes
2130 tmake_file=m88k/t-luna-gas
2132 tmake_file=m88k/t-luna
2136 tmake_file="${tmake_file} m88k/t-luna-gas"
2137 tm_file="m88k/aout-dbx.h aoutos.h m88k/m88k.h openbsd.h ${tm_file}"
2138 xm_file="xm-openbsd.h m88k/xm-m88k.h ${xm_file}"
2141 tm_file=m88k/sysv3.h
2142 extra_parts="crtbegin.o crtend.o"
2143 xm_file="m88k/xm-sysv3.h ${xm_file}"
2144 xmake_file=m88k/x-sysv3
2145 if test x$gas = xyes
2147 tmake_file=m88k/t-m88k-gas
2151 tm_file=m88k/sysv4.h
2152 extra_parts="crtbegin.o crtend.o"
2153 xmake_file=m88k/x-sysv4
2154 tmake_file=m88k/t-sysv4
2157 tm_file=mcore/mcore-elf.h
2158 tmake_file=mcore/t-mcore
2161 tm_file=mcore/mcore-pe.h
2162 tmake_file=mcore/t-mcore-pe
2164 mips-sgi-irix6*) # SGI System V.4., IRIX 6
2165 if test "x$gnu_ld" = xyes
2167 tm_file="mips/iris6.h mips/iris6gld.h"
2169 tm_file=mips/iris6.h
2171 tmake_file=mips/t-iris6
2172 xm_file=mips/xm-iris6.h
2173 xmake_file=mips/x-iris6
2174 # if test x$enable_threads = xyes; then
2175 # thread_file='irix'
2179 tm_file="mips/elf.h mips/vxworks.h"
2180 tmake_file=mips/t-ecoff
2183 extra_parts="crtbegin.o crtend.o"
2184 thread_file='vxworks'
2186 mips-sgi-irix5cross64) # Irix5 host, Irix 6 target, cross64
2187 tm_file="mips/iris6.h mips/cross64.h"
2189 xm_file="mips/xm-iris5.h"
2190 xmake_file=mips/x-iris
2191 tmake_file=mips/t-cross64
2192 # See comment in mips/iris[56].h files.
2194 # if test x$enable_threads = xyes; then
2195 # thread_file='irix'
2199 if test x$gas = xyes
2201 if test x$stabs = xyes
2203 tm_file=mips/iris5gdb.h
2205 tm_file="mips/sni-svr4.h mips/sni-gas.h"
2208 tm_file=mips/sni-svr4.h
2211 xmake_file=mips/x-sni-svr4
2212 tmake_file=mips/t-mips-gas
2213 if test x$gnu_ld != xyes
2218 mips-sgi-irix5*) # SGI System V.4., IRIX 5
2219 if test x$gas = xyes
2221 tm_file="mips/iris5.h mips/iris5gas.h"
2222 if test x$stabs = xyes
2224 tm_file="${tm_file} dbx.h"
2227 tm_file=mips/iris5.h
2230 xm_file="mips/xm-iris5.h"
2231 xmake_file=mips/x-iris
2232 # mips-tfile doesn't work yet
2233 tmake_file=mips/t-mips-gas
2234 # See comment in mips/iris5.h file.
2236 # if test x$enable_threads = xyes; then
2237 # thread_file='irix'
2240 mips-sgi-irix4loser*) # Mostly like a MIPS.
2241 tm_file="mips/iris4loser.h mips/iris3.h ${tm_file} mips/iris4.h"
2242 if test x$stabs = xyes; then
2243 tm_file="${tm_file} dbx.h"
2246 xmake_file=mips/x-iris
2247 if test x$gas = xyes
2249 tmake_file=mips/t-mips-gas
2251 extra_passes="mips-tfile mips-tdump"
2253 if test x$gnu_ld != xyes
2257 # if test x$enable_threads = xyes; then
2258 # thread_file='irix'
2261 mips-sgi-irix4*) # Mostly like a MIPS.
2262 tm_file="mips/iris3.h ${tm_file} mips/iris4.h"
2263 if test x$stabs = xyes; then
2264 tm_file="${tm_file} dbx.h"
2267 xmake_file=mips/x-iris
2268 if test x$gas = xyes
2270 tmake_file=mips/t-mips-gas
2272 extra_passes="mips-tfile mips-tdump"
2274 if test x$gnu_ld != xyes
2278 # if test x$enable_threads = xyes; then
2279 # thread_file='irix'
2282 mips-sgi-*) # Mostly like a MIPS.
2283 tm_file="mips/iris3.h ${tm_file}"
2284 if test x$stabs = xyes; then
2285 tm_file="${tm_file} dbx.h"
2288 xmake_file=mips/x-iris3
2289 if test x$gas = xyes
2291 tmake_file=mips/t-mips-gas
2293 extra_passes="mips-tfile mips-tdump"
2295 if test x$gnu_ld != xyes
2300 mips-dec-osfrose*) # Decstation running OSF/1 reference port with OSF/rose.
2301 tm_file="mips/osfrose.h ${tm_file}"
2302 xmake_file=mips/x-osfrose
2303 tmake_file=mips/t-osfrose
2304 extra_objs=halfpic.o
2307 mips-dec-osf*) # Decstation running OSF/1 as shipped by DIGITAL
2308 tm_file=mips/dec-osf1.h
2309 if test x$stabs = xyes; then
2310 tm_file="${tm_file} dbx.h"
2312 xmake_file=mips/x-dec-osf1
2313 if test x$gas = xyes
2315 tmake_file=mips/t-mips-gas
2317 tmake_file=mips/t-ultrix
2318 extra_passes="mips-tfile mips-tdump"
2320 if test x$gnu_ld != xyes
2325 mips-dec-bsd*) # Decstation running 4.4 BSD
2326 tm_file=mips/dec-bsd.h
2327 if test x$gas = xyes
2329 tmake_file=mips/t-mips-gas
2331 tmake_file=mips/t-ultrix
2332 extra_passes="mips-tfile mips-tdump"
2334 if test x$gnu_ld != xyes
2339 mipsel-*-netbsd* | mips-dec-netbsd*) # Decstation running NetBSD
2340 tm_file=mips/netbsd.h
2341 # On NetBSD, the headers are already okay, except for math.h.
2344 mips*-*-linux*) # Linux MIPS, either endian.
2347 mips*el-*) tm_file="mips/elfl.h mips/linux.h" ;;
2348 *) tm_file="mips/elf.h mips/linux.h" ;;
2351 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
2354 if test x$enable_threads = xyes; then
2358 mips*el-*-openbsd*) # mips little endian
2359 target_cpu_default="MASK_GAS|MASK_ABICALLS"
2361 mips*-*-openbsd*) # mips big endian
2362 target_cpu_default="MASK_GAS|MASK_ABICALLS"
2363 tm_file="mips/openbsd-be.h ${tm_file}"
2365 mips-sony-bsd* | mips-sony-newsos*) # Sony NEWS 3600 or risc/news.
2366 tm_file="mips/news4.h ${tm_file}"
2367 if test x$stabs = xyes; then
2368 tm_file="${tm_file} dbx.h"
2370 if test x$gas = xyes
2372 tmake_file=mips/t-mips-gas
2374 extra_passes="mips-tfile mips-tdump"
2376 if test x$gnu_ld != xyes
2380 xmake_file=mips/x-sony
2382 mips-sony-sysv*) # Sony NEWS 3800 with NEWSOS5.0.
2383 # That is based on svr4.
2384 # t-svr4 is not right because this system doesn't use ELF.
2385 tm_file="mips/news5.h ${tm_file}"
2386 if test x$stabs = xyes; then
2387 tm_file="${tm_file} dbx.h"
2390 if test x$gas = xyes
2392 tmake_file=mips/t-mips-gas
2394 extra_passes="mips-tfile mips-tdump"
2396 if test x$gnu_ld != xyes
2401 mips-tandem-sysv4*) # Tandem S2 running NonStop UX
2402 tm_file="mips/svr4-5.h mips/svr4-t.h"
2403 if test x$stabs = xyes; then
2404 tm_file="${tm_file} dbx.h"
2407 xmake_file=mips/x-sysv
2408 if test x$gas = xyes
2410 tmake_file=mips/t-mips-gas
2411 extra_parts="crtbegin.o crtend.o"
2413 tmake_file=mips/t-mips
2414 extra_passes="mips-tfile mips-tdump"
2416 if test x$gnu_ld != xyes
2421 mips-*-ultrix* | mips-dec-mach3) # Decstation.
2422 tm_file="mips/ultrix.h ${tm_file}"
2423 if test x$stabs = xyes; then
2424 tm_file="${tm_file} dbx.h"
2426 xmake_file=mips/x-ultrix
2427 if test x$gas = xyes
2429 tmake_file=mips/t-mips-gas
2431 tmake_file=mips/t-ultrix
2432 extra_passes="mips-tfile mips-tdump"
2434 if test x$gnu_ld != xyes
2439 mips-*-riscos[56789]bsd*)
2440 tm_file=mips/bsd-5.h # MIPS BSD 4.3, RISC-OS 5.0
2441 if test x$stabs = xyes; then
2442 tm_file="${tm_file} dbx.h"
2444 if test x$gas = xyes
2446 tmake_file=mips/t-bsd-gas
2448 tmake_file=mips/t-bsd
2449 extra_passes="mips-tfile mips-tdump"
2451 if test x$gnu_ld != xyes
2456 mips-*-bsd* | mips-*-riscosbsd* | mips-*-riscos[1234]bsd*)
2457 tm_file="mips/bsd-4.h ${tm_file}" # MIPS BSD 4.3, RISC-OS 4.0
2458 if test x$stabs = xyes; then
2459 tm_file="${tm_file} dbx.h"
2461 if test x$gas = xyes
2463 tmake_file=mips/t-bsd-gas
2465 tmake_file=mips/t-bsd
2466 extra_passes="mips-tfile mips-tdump"
2468 if test x$gnu_ld != xyes
2473 mips-*-riscos[56789]sysv4*)
2474 tm_file=mips/svr4-5.h # MIPS System V.4., RISC-OS 5.0
2475 if test x$stabs = xyes; then
2476 tm_file="${tm_file} dbx.h"
2478 xmake_file=mips/x-sysv
2479 if test x$gas = xyes
2481 tmake_file=mips/t-svr4-gas
2483 tmake_file=mips/t-svr4
2484 extra_passes="mips-tfile mips-tdump"
2486 if test x$gnu_ld != xyes
2491 mips-*-sysv4* | mips-*-riscos[1234]sysv4* | mips-*-riscossysv4*)
2492 tm_file="mips/svr4-4.h ${tm_file}"
2493 if test x$stabs = xyes; then
2494 tm_file="${tm_file} dbx.h"
2497 xmake_file=mips/x-sysv
2498 if test x$gas = xyes
2500 tmake_file=mips/t-svr4-gas
2502 tmake_file=mips/t-svr4
2503 extra_passes="mips-tfile mips-tdump"
2505 if test x$gnu_ld != xyes
2510 mips-*-riscos[56789]sysv*)
2511 tm_file=mips/svr3-5.h # MIPS System V.3, RISC-OS 5.0
2512 if test x$stabs = xyes; then
2513 tm_file="${tm_file} dbx.h"
2516 xmake_file=mips/x-sysv
2517 if test x$gas = xyes
2519 tmake_file=mips/t-svr3-gas
2521 tmake_file=mips/t-svr3
2522 extra_passes="mips-tfile mips-tdump"
2524 if test x$gnu_ld != xyes
2529 mips-*-sysv* | mips-*-riscos*sysv*)
2530 tm_file="mips/svr3-4.h ${tm_file}"
2531 if test x$stabs = xyes; then
2532 tm_file="${tm_file} dbx.h"
2535 xmake_file=mips/x-sysv
2536 if test x$gas = xyes
2538 tmake_file=mips/t-svr3-gas
2540 tmake_file=mips/t-svr3
2541 extra_passes="mips-tfile mips-tdump"
2543 if test x$gnu_ld != xyes
2548 mips-*-riscos[56789]*) # Default MIPS RISC-OS 5.0.
2549 tm_file=mips/mips-5.h
2550 if test x$stabs = xyes; then
2551 tm_file="${tm_file} dbx.h"
2553 if test x$gas = xyes
2555 tmake_file=mips/t-mips-gas
2557 extra_passes="mips-tfile mips-tdump"
2559 if test x$gnu_ld != xyes
2567 tm_file=mips/ecoffl.h
2568 if test x$stabs = xyes; then
2569 tm_file="${tm_file} dbx.h"
2571 tmake_file=mips/t-ecoff
2574 tm_file="gofast.h mips/ecoff.h"
2575 if test x$stabs = xyes; then
2576 tm_file="${tm_file} dbx.h"
2578 tmake_file=mips/t-ecoff
2581 tm_file="mips/elfl.h"
2582 tmake_file=mips/t-elf
2585 tm_file="mips/elf.h"
2586 tmake_file=mips/t-elf
2589 tm_file="mips/elfl64.h"
2590 tmake_file=mips/t-elf
2592 mips64orionel-*-elf*)
2593 tm_file="mips/elforion.h mips/elfl64.h"
2594 tmake_file=mips/t-elf
2597 tm_file="mips/elf64.h"
2598 tmake_file=mips/t-elf
2601 tm_file="mips/elforion.h mips/elf64.h"
2602 tmake_file=mips/t-elf
2604 mips64orion-*-rtems*)
2605 tm_file="mips/elforion.h mips/elf64.h mips/rtems64.h"
2606 tmake_file="mips/t-elf t-rtems"
2607 if test x$enable_threads = xyes; then
2612 tm_file="mips/elf.h mips/rtems.h"
2613 tmake_file="mips/t-elf t-rtems"
2614 if test x$enable_threads = xyes; then
2619 tm_file="mips/r3900.h mips/elfl.h mips/abi64.h"
2620 tmake_file=mips/t-r3900
2623 tm_file="mips/r3900.h mips/elf.h mips/abi64.h"
2624 tmake_file=mips/t-r3900
2626 mips-*-*) # Default MIPS RISC-OS 4.0.
2627 if test x$stabs = xyes; then
2628 tm_file="${tm_file} dbx.h"
2630 if test x$gas = xyes
2632 tmake_file=mips/t-mips-gas
2634 extra_passes="mips-tfile mips-tdump"
2636 if test x$gnu_ld != xyes
2644 tm_file="mn10200/mn10200.h"
2645 if test x$stabs = xyes
2647 tm_file="${tm_file} dbx.h"
2653 tm_file="mn10300/mn10300.h"
2654 if test x$stabs = xyes
2656 tm_file="${tm_file} dbx.h"
2661 tm_file=ns32k/encore.h
2665 tm_file=ns32k/sequent.h
2669 tm_file=ns32k/tek6100.h
2673 tm_file=ns32k/tek6200.h
2677 tm_file=ns32k/merlin.h
2681 tm_file=ns32k/pc532-mach.h
2685 tm_file=ns32k/pc532-min.h
2686 xm_file="ns32k/xm-pc532-min.h ${xm-file}"
2691 tm_file=ns32k/netbsd.h
2692 xm_file="ns32k/xm-netbsd.h ${xm_file}"
2693 # On NetBSD, the headers are already okay, except for math.h.
2698 tm_file="${tm_file} pdp11/2bsd.h"
2708 tm_file="svr4.h pj/linux.h ${tm_file}"
2713 tm_file="svr4.h pj/pjl.h ${tm_file}"
2720 xmake_file=romp/x-mach
2727 tmake_file="${tmake_file} rs6000/t-rs6000 rs6000/t-openbsd"
2731 tm_file="${tm_file} rs6000/aix.h rs6000/beos.h"
2732 xm_file=rs6000/xm-beos.h
2733 tmake_file=rs6000/t-beos
2734 xmake_file=rs6000/x-beos
2737 xm_file="rs6000/xm-rs6000.h rs6000/xm-darwin.h"
2738 xmake_file=rs6000/x-darwin
2741 tm_file="${tm_file} svr4.h rs6000/sysv4.h"
2742 xm_file="rs6000/xm-sysv4.h"
2743 xm_defines="USG POSIX"
2744 extra_headers=ppc-asm.h
2745 tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
2746 xmake_file=rs6000/x-sysv4
2749 tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/eabi.h rs6000/eabiaix.h"
2750 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2751 extra_headers=ppc-asm.h
2754 tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/eabi.h rs6000/eabisim.h"
2755 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2756 extra_headers=ppc-asm.h
2759 tm_file="${tm_file} svr4.h rs6000/sysv4.h"
2760 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2761 extra_headers=ppc-asm.h
2764 tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/eabi.h"
2765 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2766 extra_headers=ppc-asm.h
2769 tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/eabi.h rtems.h rs6000/rtems.h"
2770 tmake_file="rs6000/t-ppcgas t-rtems rs6000/t-ppccomm"
2771 extra_headers=ppc-asm.h
2772 if test x$enable_threads = xyes; then
2776 powerpc-*-linux*libc1)
2777 tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/linux.h"
2778 xm_file=rs6000/xm-sysv4.h
2779 out_file=rs6000/rs6000.c
2780 tmake_file="rs6000/t-ppcos t-linux t-linux-gnulibc1 rs6000/t-ppccomm"
2782 extra_headers=ppc-asm.h
2783 if test x$enable_threads = xyes; then
2788 tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/linux.h"
2789 xm_file="rs6000/xm-sysv4.h"
2790 xm_defines="USG ${xm_defines}"
2791 out_file=rs6000/rs6000.c
2792 tmake_file="rs6000/t-ppcos t-linux rs6000/t-ppccomm"
2794 extra_headers=ppc-asm.h
2795 if test x$enable_threads = xyes; then
2799 powerpc-wrs-vxworks*)
2801 xm_file="rs6000/xm-sysv4.h"
2802 xm_defines="USG POSIX"
2803 tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/vxppc.h"
2804 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2805 extra_headers=ppc-asm.h
2806 thread_file='vxworks'
2808 powerpcle-wrs-vxworks*)
2810 xm_file="rs6000/xm-sysv4.h"
2811 xm_defines="USG POSIX"
2812 tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/vxppc.h"
2813 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2814 extra_headers=ppc-asm.h
2815 thread_file='vxworks'
2818 tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/sysv4le.h"
2819 xm_file="rs6000/xm-sysv4.h"
2820 xm_defines="USG POSIX"
2821 tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
2822 xmake_file=rs6000/x-sysv4
2823 extra_headers=ppc-asm.h
2826 tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/sysv4le.h"
2827 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2828 extra_headers=ppc-asm.h
2830 powerpcle-*-eabisim*)
2831 tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/eabi.h rs6000/eabisim.h"
2832 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2833 extra_headers=ppc-asm.h
2836 tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/eabi.h"
2837 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2838 extra_headers=ppc-asm.h
2840 powerpcle-*-solaris2*)
2841 tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/sol2.h"
2842 xm_file="rs6000/xm-sysv4.h"
2843 xm_defines="USG POSIX"
2844 tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
2845 xmake_file=rs6000/x-sysv4
2846 extra_headers=ppc-asm.h
2848 rs6000-ibm-aix3.[01]*)
2849 tm_file="${tm_file} rs6000/aix.h rs6000/aix31.h"
2850 xmake_file=rs6000/x-aix31
2854 rs6000-ibm-aix3.2.[456789]* | powerpc-ibm-aix3.2.[456789]*)
2855 tm_file="${tm_file} rs6000/aix.h rs6000/aix3newas.h"
2856 if test x$host != x$target
2858 tmake_file=rs6000/t-xnewas
2860 tmake_file=rs6000/t-newas
2865 rs6000-ibm-aix4.[12]* | powerpc-ibm-aix4.[12]*)
2866 tm_file="${tm_file} rs6000/aix.h rs6000/aix41.h"
2867 if test x$host != x$target
2869 tmake_file=rs6000/t-xnewas
2871 tmake_file=rs6000/t-newas
2873 if test "$gnu_ld" = yes
2875 xmake_file=rs6000/x-aix41-gld
2877 tmake_file='rs6000/t-newas'
2879 xmake_file=rs6000/x-aix41
2883 rs6000-ibm-aix4.[3456789]* | powerpc-ibm-aix4.[3456789]*)
2884 tm_file="${tm_file} rs6000/aix.h rs6000/aix43.h"
2885 tmake_file=rs6000/t-aix43
2886 xmake_file=rs6000/x-aix41
2891 rs6000-ibm-aix[56789].* | powerpc-ibm-aix[56789].*)
2892 tm_file="${tm_file} rs6000/aix.h rs6000/aix43.h"
2893 tmake_file=rs6000/t-aix43
2894 xmake_file=rs6000/x-aix41
2900 tm_file="${tm_file} rs6000/aix.h"
2905 tm_file="${tm_file} rs6000/aix.h"
2910 tm_file=rs6000/mach.h
2911 xm_file="${xm_file} rs6000/xm-mach.h"
2912 xmake_file=rs6000/x-mach
2916 tm_file=rs6000/lynx.h
2917 xm_file=rs6000/xm-lynx.h
2918 tmake_file=rs6000/t-rs6000
2919 xmake_file=rs6000/x-lynx
2923 tmake_file="sh/t-sh sh/t-elf"
2924 tm_file="sh/sh.h sh/elf.h"
2928 tmake_file="sh/t-sh sh/t-elf t-rtems"
2929 tm_file="sh/sh.h sh/elf.h sh/rtemself.h"
2931 if test x$enable_threads = xyes; then
2936 tmake_file="sh/t-sh t-rtems"
2937 tm_file="sh/sh.h sh/rtems.h"
2939 if test x$enable_threads = xyes; then
2944 tm_file="sh/sh.h sh/elf.h sh/linux.h"
2945 tmake_file="sh/t-sh sh/t-elf sh/t-linux"
2948 if test x$enable_threads = xyes; then
2958 xm_file="xm-alloca.h ${xm_file}"
2961 sparc64-wrs-vxworks*)
2962 tm_file="sparc/sol2.h sparc/elf.h sparc/vxsparc64.h"
2963 tmake_file=sparc/t-vxsparc64
2966 sparc-wrs-vxworks* | sparclite-wrs-vxworks*)
2967 tm_file=sparc/vxsparc.h
2968 tmake_file=sparc/t-vxsparc
2970 thread_file='vxworks'
2973 tmake_file=sparc/t-sparcbare
2974 tm_file="sparc/aout.h libgloss.h"
2977 tm_file=sparc/netbsd.h
2982 # we need collect2 until our bug is fixed...
2989 tm_file="sparc/sol2.h sparc/elf.h"
2990 tmake_file=sparc/t-elf
2991 extra_parts="crti.o crtn.o crtbegin.o crtend.o"
2995 sparc-*-linux*aout*) # Sparc's running GNU/Linux, a.out
2996 xm_file="${xm_file} sparc/xm-linux.h"
2997 tm_file=sparc/linux-aout.h
3001 sparc-*-linux*libc1*) # Sparc's running GNU/Linux, libc5
3002 xm_file="${xm_file} sparc/xm-linux.h"
3004 tm_file=sparc/linux.h
3005 tmake_file="t-linux t-linux-gnulibc1"
3006 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
3010 sparc-*-linux*) # Sparc's running GNU/Linux, libc6
3011 xm_file="${xm_file} sparc/xm-linux.h"
3013 tm_file=sparc/linux.h
3014 tmake_file="t-linux"
3015 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
3017 if test x$enable_threads = xyes; then
3023 if test x$gas = xyes
3025 tm_file=sparc/lynx.h
3027 tm_file=sparc/lynx-ng.h
3029 xm_file=sparc/xm-lynx.h
3030 tmake_file=sparc/t-sunos41
3034 tmake_file="sparc/t-sparcbare t-rtems"
3035 tm_file=sparc/rtems.h
3036 if test x$enable_threads = xyes; then
3040 sparc-*-rtems*|sparc-*-rtemself*)
3041 tm_file="sparc/sol2.h sparc/elf.h sparc/rtemself.h"
3042 tmake_file="sparc/t-elf t-rtems"
3043 extra_parts="crti.o crtn.o crtbegin.o crtend.o"
3046 if test x$enable_threads = xyes; then
3050 sparcv9-*-solaris2*)
3051 if test x$gnu_ld = xyes
3053 tm_file=sparc/sol2-64.h
3055 tm_file=sparc/sol2-sld-64.h
3057 xm_file="sparc/xm-sysv4-64.h sparc/xm-sol2.h"
3058 xm_defines="USG POSIX"
3059 tmake_file="sparc/t-sol2 sparc/t-sol2-64"
3060 if test x$gnu_ld = xyes; then
3061 tmake_file="$tmake_file sparc/t-slibgcc"
3063 tmake_file="$tmake_file sparc/t-slibgcc-sld"
3065 xmake_file=sparc/x-sysv4
3066 extra_parts="crt1.o crti.o crtn.o gcrt1.o crtbegin.o crtend.o"
3068 if test x${enable_threads} = x ; then
3069 enable_threads=$have_pthread_h
3070 if test x${enable_threads} = x ; then
3071 enable_threads=$have_thread_h
3074 if test x${enable_threads} = xyes ; then
3075 if test x${have_pthread_h} = xyes ; then
3078 thread_file='solaris'
3082 sparc-hal-solaris2*)
3083 xm_file="sparc/xm-sysv4.h sparc/xm-sol2.h"
3084 xm_defines="USG POSIX"
3085 tm_file="sparc/sol2.h sparc/hal.h"
3086 tmake_file="sparc/t-halos sparc/t-sol2"
3087 if test x$gnu_ld = xyes; then
3088 tmake_file="$tmake_file sparc/t-slibgcc"
3090 tmake_file="$tmake_file sparc/t-slibgcc-sld"
3092 xmake_file=sparc/x-sysv4
3093 extra_parts="crt1.o crti.o crtn.o gmon.o crtbegin.o crtend.o"
3102 thread_file='solaris'
3105 if test x$gnu_ld = xyes
3107 tm_file=sparc/sol2.h
3109 tm_file=sparc/sol2-sld.h
3111 xm_file="sparc/xm-sysv4.h sparc/xm-sol2.h"
3112 xm_defines="USG POSIX"
3113 tmake_file=sparc/t-sol2
3114 if test x$gnu_ld = xyes; then
3115 tmake_file="$tmake_file sparc/t-slibgcc"
3117 tmake_file="$tmake_file sparc/t-slibgcc-sld"
3119 xmake_file=sparc/x-sysv4
3120 extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"
3121 # At the moment, 32-to-64 cross compilation doesn't work.
3123 # *-*-solaris2.[0-6] | *-*-solaris2.[0-6].*) ;;
3125 # if test x$gnu_ld = xyes
3127 # tm_file=sparc/sol2-64.h
3129 # tm_file=sparc/sol2-sld-64.h
3131 # tmake_file="$tmake_file sparc/t-sol2-64"
3142 if test x${enable_threads} = x; then
3143 enable_threads=$have_pthread_h
3144 if test x${enable_threads} = x; then
3145 enable_threads=$have_thread_h
3148 if test x${enable_threads} = xyes; then
3149 if test x${have_pthread_h} = xyes; then
3152 thread_file='solaris'
3157 tm_file=sparc/sunos4.h
3158 tmake_file=sparc/t-sunos40
3162 tm_file=sparc/sunos4.h
3163 tmake_file=sparc/t-sunos41
3165 if test x$gas = xyes; then
3166 tm_file="${tm_file} sparc/sun4gas.h"
3170 tm_file=sparc/sun4o3.h
3174 tm_file=sparc/sysv4.h
3175 xm_file="sparc/xm-sysv4.h"
3176 xm_defines="USG POSIX"
3178 xmake_file=sparc/x-sysv4
3179 extra_parts="crtbegin.o crtend.o"
3182 xm_file="sparc/xm-sysv4.h sparc/xm-sol2.h"
3183 xm_defines="USG POSIX"
3184 tm_file=sparc/vxsim.h
3185 tmake_file=sparc/t-vxsparc
3186 xmake_file=sparc/x-sysv4
3189 tm_file="sparc/splet.h libgloss.h"
3190 tmake_file=sparc/t-splet
3193 tm_file="sparc/litecoff.h libgloss.h"
3194 tmake_file=sparc/t-sparclite
3197 tm_file="sparc/lite.h aoutos.h libgloss.h"
3198 tmake_file=sparc/t-sparclite
3201 tm_file="sparc/sol2.h sparc/elf.h sparc/liteelf.h"
3202 tmake_file=sparc/t-sparclite
3203 extra_parts="crtbegin.o crtend.o"
3206 tm_file="sparc/sp86x-aout.h aoutos.h libgloss.h"
3207 tmake_file=sparc/t-sp86x
3210 tm_file="sparc/sol2.h sparc./elf.h sparc/sp86x-elf.h"
3211 tmake_file=sparc/t-sp86x
3212 extra_parts="crtbegin.o crtend.o"
3215 tmake_file=sparc/t-sp64
3216 tm_file=sparc/sp64-aout.h
3219 tmake_file=sparc/t-sp64
3220 tm_file=sparc/sp64-elf.h
3221 extra_parts="crtbegin.o crtend.o"
3223 sparc64-*-linux*) # 64-bit Sparc's running GNU/Linux
3224 tmake_file="t-linux sparc/t-linux64"
3225 xm_file="sparc/xm-sp64.h sparc/xm-linux.h"
3226 tm_file=sparc/linux64.h
3228 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
3230 if test x$enable_threads = xyes; then
3236 tm_file=arm/strongarm-elf.h
3237 tmake_file=arm/t-strongarm-elf
3239 xm_file=arm/xm-arm.h
3243 tm_file=arm/strongarm-coff.h
3244 tmake_file=arm/t-strongarm-coff
3246 xm_file=arm/xm-arm.h
3250 tm_file=arm/strongarm-pe.h
3251 tmake_file=arm/t-strongarm-pe
3253 xm_file=arm/xm-arm.h
3258 { echo "config.gcc: error:
3259 *** The Thumb targets have been deprecated. The equivalent
3260 *** ARM based toolchain can now generate Thumb instructions
3261 *** when the -mthumb switch is given to the compiler." 1>&2; exit 1; }
3265 tm_file="v850/rtems.h"
3266 xm_file="v850/xm-v850.h"
3267 tmake_file="v850/t-v850 t-rtems"
3268 if test x$stabs = xyes
3270 tm_file="${tm_file} dbx.h"
3273 c_target_objs="v850-c.o"
3274 cxx_target_objs="v850-c.o"
3277 target_cpu_default="TARGET_CPU_generic"
3279 tm_file="v850/v850.h"
3280 xm_file="v850/xm-v850.h"
3281 tmake_file=v850/t-v850
3282 if test x$stabs = xyes
3284 tm_file="${tm_file} dbx.h"
3287 c_target_objs="v850-c.o"
3288 cxx_target_objs="v850-c.o"
3290 vax-*-bsd*) # vaxen running BSD
3294 vax-*-sysv*) # vaxen running system V
3295 tm_file="${tm_file} vax/vaxv.h"
3300 tm_file="${tm_file} netbsd.h vax/netbsd.h"
3306 tmake_file="${tmake_file} vax/t-openbsd"
3307 tm_file="vax/vax.h vax/openbsd1.h openbsd.h ${tm_file}"
3308 xm_file="xm-openbsd.h vax/xm-vax.h"
3312 vax-*-ultrix*) # vaxen running ultrix
3313 tm_file="${tm_file} vax/ultrix.h"
3316 vax-*-vms*) # vaxen running VMS
3317 xm_file=vax/xm-vms.h
3321 vax-*-*) # vax default entry
3325 xm_file="${xm_file} xm-svr3"
3329 tm_file=arm/xscale-elf.h
3330 tmake_file=arm/t-xscale-elf
3332 xm_file=arm/xm-arm.h
3336 tm_file=arm/xscale-coff.h
3337 tmake_file=arm/t-xscale-coff
3339 xm_file=arm/xm-arm.h
3343 echo "Configuration $machine not supported" 1>&2
3350 xmake_try_sysv=x-sysv
3351 install_headers_dir=install-headers-cpio
3354 install_headers_dir=install-headers-cpio
3358 # Distinguish i[34567]86
3359 # Also, do not run mips-tfile on MIPS if using gas.
3360 # Process --with-cpu= for PowerPC/rs6000
3361 target_cpu_default2=
3364 target_cpu_default2=1
3367 case $target_alias in
3369 target_cpu_default2=4
3372 target_cpu_default2=2
3376 i686-*-* | i786-*-*)
3377 target_cpu_default2=3
3382 target_cpu_default2="MASK_CPU_EV6|MASK_BWX|MASK_MAX|MASK_FIX|MASK_CIX"
3385 target_cpu_default2="MASK_CPU_EV6|MASK_BWX|MASK_MAX|MASK_FIX"
3388 target_cpu_default2="MASK_CPU_EV5|MASK_BWX|MASK_MAX"
3391 target_cpu_default2="MASK_CPU_EV5|MASK_BWX"
3394 target_cpu_default2="MASK_CPU_EV5"
3398 if test x$gas = xyes
3400 if test "$target_cpu_default2" = ""
3402 target_cpu_default2="MASK_GAS"
3404 target_cpu_default2="${target_cpu_default2}|MASK_GAS"
3409 case "x$with_cpu" in
3412 target_cpu_default2="TARGET_CPU_generic"
3415 # Distinguish cores, and major variants
3416 # arm7m doesn't exist, but D & I don't affect code
3417 xarm[236789] | xarm250 | xarm[67][01]0 \
3418 | xarm7m | xarm7dm | xarm7dmi | xarm[79]tdmi \
3419 | xarm7100 | xarm7500 | xarm7500fe | xarm810 \
3421 | xstrongarm | xstrongarm110 | xstrongarm1100)
3422 target_cpu_default2="TARGET_CPU_$with_cpu"
3426 echo "--with-cpu must be passed a value" 1>&2
3431 if test x$pass2done = xyes
3433 echo "Unknown cpu used with --with-cpu=$with_cpu" 1>&2
3440 mips*-*-ecoff* | mips*-*-elf*)
3441 if test x$gas = xyes
3443 if test x$gnu_ld = xyes
3445 target_cpu_default2="MASK_GAS|MASK_SPLIT_ADDR"
3447 target_cpu_default2="MASK_GAS"
3452 if test x$gas = xyes
3454 target_cpu_default2="MASK_GAS"
3457 powerpc*-*-* | rs6000-*-*)
3458 case "x$with_cpu" in
3462 xcommon | xpower | xpower2 | xpowerpc | xrios \
3463 | xrios1 | xrios2 | xrsc | xrsc1 \
3464 | x601 | x602 | x603 | x603e | x604 | x604e | x620 \
3465 | xec603e | x740 | x750 | x401 \
3466 | x403 | x505 | x801 | x821 | x823 | x860)
3467 target_cpu_default2="\"$with_cpu\""
3471 echo "--with-cpu must be passed a value" 1>&2
3476 if test x$pass2done = xyes
3478 echo "Unknown cpu used with --with-cpu=$with_cpu" 1>&2
3485 case ".$with_cpu" in
3487 target_cpu_default2=TARGET_CPU_"`echo $machine | sed 's/-.*$//'`"
3489 .supersparc | .hypersparc | .ultrasparc | .v7 | .v8 | .v9)
3490 target_cpu_default2="TARGET_CPU_$with_cpu"
3493 if test x$pass2done = xyes
3495 echo "Unknown cpu used with --with-cpu=$with_cpu" 1>&2
3503 if test "$target_cpu_default2" != ""
3505 if test "$target_cpu_default" != ""
3507 target_cpu_default="(${target_cpu_default}|${target_cpu_default2})"
3509 target_cpu_default=$target_cpu_default2
3513 # No need for collect2 if we have the GNU linker.
3514 # Actually, there is now; GNU ld doesn't handle the EH info or
3515 # collecting for shared libraries.
3522 # Save data on machine being used to compile GCC in build_xm_file.
3523 # Save data on host machine in vars host_xm_file and host_xmake_file.
3524 if test x$pass1done = x
3526 if test x"$xm_file" = x
3527 then build_xm_file=$cpu_type/xm-$cpu_type.h
3528 else build_xm_file=$xm_file
3530 build_xm_defines=$xm_defines
3531 build_install_headers_dir=$install_headers_dir
3532 build_exeext=$exeext
3535 if test x$pass2done = x
3537 if test x"$xm_file" = x
3538 then host_xm_file=$cpu_type/xm-$cpu_type.h
3539 else host_xm_file=$xm_file
3541 host_xm_defines=$xm_defines
3542 if test x"$xmake_file" = x
3543 then xmake_file=$cpu_type/x-$cpu_type
3545 host_xmake_file="$xmake_file"
3546 host_truncate_target=$truncate_target
3547 host_extra_gcc_objs=$extra_gcc_objs
3548 host_extra_objs=$extra_host_objs