# cpu_type The name of the cpu, if different from machine.
#
# tm_file A list of target macro files, if different from
-# "$cpu_type/$cpu_type.h".
+# "$cpu_type/$cpu_type.h". Usually it's constructed
+# per target in a way like this:
+# tm_file="${tm_file} elfos.h svr4.h ${cpu_type.h}/elf.h"
+# Note that the preferred order is:
+# - specific target header "${cpu_type}/${cpu_type.h}"
+# - generic headers like elfos.h, netware.h, etc.
+# - specializing target headers like ${cpu_type.h}/elf.h
+# This helps to keep OS specific stuff out of the CPU
+# defining header ${cpu_type}/${cpu_type.h}.
#
# tm_p_file Location of file with declarations for functions
# in $out_file.
#
# extra_programs Like extra_passes, but these are used when linking.
#
-# host_extra_objs List of extra host-dependant objects that should
+# host_extra_objs List of extra host-dependent objects that should
# be linked into the compiler proper.
#
-# host_extra_gcc_objs List of extra host-dependant objects that should
+# host_extra_gcc_objs List of extra host-dependent objects that should
# be linked into the gcc driver.
#
-# c_target_objs List of extra target-dependant objects that be
+# c_target_objs List of extra target-dependent objects that be
# linked into the C compiler only.
#
-# cxx_target_objs List of extra target-dependant objects that be
+# cxx_target_objs List of extra target-dependent objects that be
# linked into the C++ compiler only.
#
# build_xm_defines List of macros to define when compiling for the
hppa*-*-* | parisc*-*-*)
cpu_type=pa
;;
-m68000-*-*)
+m680[02]0-*-*)
cpu_type=m68k
;;
mips*-*-*)
tmake_file="t-slibgcc-elf-ver t-linux t-gnu"
case $machine in
i[34567]86-*-*)
- tm_file="${cpu_type}/${cpu_type}.h i386/att.h linux.h i386/linux.h gnu.h ${tm_file}"
+ tm_file="${cpu_type}/${cpu_type}.h i386/att.h elfos.h svr4.h linux.h i386/linux.h gnu.h ${tm_file}"
;;
esac
;;
*) echo 'Please update *-*-freebsd* in gcc/config.gcc'; exit 1;;
esac
tmake_file=t-freebsd
+ xmake_file=none
xm_defines=POSIX
case x${enable_threads} in
xno) fbsd_tm_file="${fbsd_tm_file} freebsd-nthr.h";;
tmake_file="alpha/t-alpha alpha/t-vms alpha/t-ieee"
;;
arc-*-elf*)
+ tm_file="elfos.h svr4.h ${tm_file}"
extra_parts="crtinit.o crtfini.o"
;;
arm*-*-rtems*)
use_collect2=yes
;;
c4x-*-rtems*)
- cpu_type=c4x
tmake_file="c4x/t-c4x t-rtems"
tm_file=c4x/rtems.h
if test x$enable_threads = xyes; then
cxx_target_objs="c4x-c.o"
;;
c4x-*)
- cpu_type=c4x
float_format=c4x
tmake_file=c4x/t-c4x
c_target_objs="c4x-c.o"
install_headers_dir=install-headers-cpio
;;
cris-*-aout)
- tm_file="dbxelf.h cris/cris.h cris/aout.h"
+ tm_file="dbxelf.h ${tm_file} cris/aout.h"
gas=yes
tmake_file="cris/t-cris cris/t-aout"
;;
cris-*-elf | cris-*-none)
- tm_file="elfos.h cris/cris.h"
+ tm_file="elfos.h ${tm_file}"
tmake_file="cris/t-cris cris/t-elfmulti"
gas=yes
;;
cris-*-linux*)
- tm_file="linux.h cris/cris.h cris/linux.h"
+ tm_file="elfos.h svr4.h ${tm_file} linux.h cris/linux.h"
tmake_file="cris/t-cris t-slibgcc-elf-ver cris/t-linux"
extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
case x${enable_threads} in
gas=yes
;;
d30v-*)
+ tm_file="elfos.h svr4.h ${tm_file}"
float_format=i64
;;
dsp16xx-*)
use_collect2=yes
;;
fr30-*-elf)
- tm_file="fr30/fr30.h"
+ tm_file="elfos.h svr4.h ${tm_file}"
tmake_file=fr30/t-fr30
extra_parts="crti.o crtn.o crtbegin.o crtend.o"
;;
;;
hppa*64*-*-linux* | parisc*64*-*-linux*)
target_cpu_default="(MASK_PA_11 | MASK_PA_20)"
- tm_file="pa/pa64-start.h ${tm_file} linux.h pa/pa-linux.h \
+ tm_file="pa/pa64-start.h ${tm_file} elfos.h svr4.h linux.h pa/pa-linux.h \
pa/pa64-regs.h pa/pa-64.h pa/pa64-linux.h"
tmake_file=pa/t-linux64
gas=yes gnu_ld=yes
;;
hppa*-*-linux* | parisc*-*-linux*)
target_cpu_default="MASK_PA_11"
- tm_file="${tm_file} linux.h pa/pa-linux.h \
+ tm_file="${tm_file} elfos.h svr4.h linux.h pa/pa-linux.h \
pa/pa32-regs.h pa/pa32-linux.h"
tmake_file="t-slibgcc-elf-ver t-linux pa/t-linux"
extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
target_cpu_default="MASK_PA_11"
tmake_file=pa/t-openbsd
;;
-hppa1.1-*-rtems*)
- tm_file="pa/pa-pro.h ${tm_file} pa/pa-pro-end.h libgloss.h pa/rtems.h"
- tmake_file="pa/t-pro t-rtems"
- if test x$enable_threads = xyes; then
- thread_file='rtems'
- fi
- ;;
hppa1.1-*-pro*)
target_cpu_default="(MASK_JUMP_IN_DELAY | MASK_PORTABLE_RUNTIME | MASK_GAS | MASK_NO_SPACE_REGS | MASK_SOFT_FLOAT)"
tm_file="${tm_file} pa/pa32-regs.h elfos.h pa/elf.h pa/pa-pro-end.h libgloss.h"
;;
i370-*-linux*)
xmake_file=x-linux
- tm_file="i370/linux.h ${tm_file}"
+ tm_file="elfos.h svr4.h linux.h i370/linux.h ${tm_file}"
tmake_file="t-slibgcc-elf-ver t-linux"
# broken_install=yes
extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
;;
i[34567]86-*-chorusos*)
xm_defines=POSIX
- tm_file="i386/i386.h i386/att.h elfos.h i386/i386elf.h chorus.h"
+ tm_file="${tm_file} i386/att.h elfos.h i386/i386elf.h chorus.h"
tmake_file=i386/t-i386elf
xmake_file=x-svr4
case x${enable_threads} in
;;
i[34567]86-*-elf*)
xm_defines=POSIX
- tm_file="i386/i386.h i386/att.h elfos.h i386/i386elf.h"
+ tm_file="${tm_file} i386/att.h elfos.h i386/i386elf.h"
tmake_file=i386/t-i386elf
xmake_file=x-svr4
;;
then
tm_file=i386/sysv4gdb.h
else
- tm_file=i386/sysv4.h
+ tm_file="${tm_file} i386/att.h elfos.h svr4.h i386/sysv4.h"
fi
extra_parts="crtbegin.o crtend.o"
tmake_file=i386/t-crtpic
fi
;;
i[34567]86-*-netware) # Intel 80386's running netware
- tm_file=i386/netware.h
+ tm_file="${tm_file} i386/att.h elfos.h svr4.h i386/sysv4.h netware.h i386/netware.h"
tmake_file=i386/t-netware
;;
i[34567]86-sequent-bsd*) # 80386 from Sequent
fi
xm_defines="POSIX SMALL_ARG_MAX"
xmake_file=x-svr4
- tm_file=i386/ptx4-i.h
+ tm_file="${tm_file} i386/att.h elfos.h ptx4.h i386/ptx4-i.h"
tmake_file=t-svr4
extra_parts="crtbegin.o crtend.o"
install_headers_dir=install-headers-cpio
i[34567]86-*-beoself* | i[34567]86-*-beos*)
xm_defines=POSIX
tmake_file='i386/t-beos i386/t-crtpic'
- tm_file=i386/beos-elf.h
+ tm_file="${tm_file} i386/att.h elfos.h svr4.h i386/beos-elf.h"
xmake_file=i386/x-beos
extra_parts='crtbegin.o crtend.o'
;;
tmake_file=t-freebsd
;;
i[34567]86-*-freebsd*)
- tm_file="${tm_file} i386/att.h svr4.h ${fbsd_tm_file} i386/freebsd.h"
+ tm_file="${tm_file} i386/att.h elfos.h svr4.h ${fbsd_tm_file} i386/freebsd.h"
;;
i[34567]86-*-netbsdelf*)
xm_defines=POSIX
- tm_file="${tm_file} i386/att.h svr4.h i386/netbsd-elf.h"
+ tm_file="${tm_file} i386/att.h elfos.h svr4.h i386/netbsd-elf.h"
tmake_file=t-netbsd
gnu_ld=yes
float_format=i386
i[34567]86-*-linux*libc1) # Intel 80386's running GNU/Linux
# with ELF format using the
# GNU/Linux C library 5
- xmake_file=x-linux
- tm_file="i386/i386.h i386/att.h linux.h i386/linux.h"
+ xmake_file=x-linux
+ tm_file="${tm_file} i386/att.h elfos.h svr4.h linux.h i386/linux.h"
tmake_file="t-slibgcc-elf-ver t-linux t-linux-gnulibc1 i386/t-crtstuff"
extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
gnu_ld=yes
# with ELF format using glibc 2
# aka GNU/Linux C library 6
xmake_file=x-linux
- tm_file="i386/i386.h i386/att.h linux.h i386/linux.h"
+ tm_file="${tm_file} i386/att.h elfos.h svr4.h linux.h i386/linux.h"
tmake_file="t-slibgcc-elf-ver t-linux i386/t-crtstuff"
extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
gnu_ld=yes
;;
x86_64-*-linux*)
xmake_file=x-linux
- tm_file="i386/biarch64.h i386/i386.h i386/att.h linux.h i386/x86-64.h \
- i386/linux64.h"
+ tm_file="i386/biarch64.h i386/i386.h i386/att.h elfos.h svr4.h linux.h \
+ i386/x86-64.h i386/linux64.h"
tmake_file="t-slibgcc-elf-ver t-linux i386/t-crtstuff"
extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
gnu_ld=yes
esac
;;
i[34567]86-moss-msdos* | i[34567]86-*-moss*)
- tm_file="i386/i386.h i386/att.h linux.h i386/linux.h i386/moss.h"
+ tm_file="${tm_file} i386/att.h elfos.h svr4.h linux.h i386/linux.h i386/moss.h"
tmake_file=t-libc-ok
gnu_ld=yes
gas=yes
extra_objs=halfpic.o
;;
i[34567]86-go32-rtems*)
- cpu_type=i386
- tm_file=i386/go32-rtems.h
+ tm_file=i386/djgpp-rtems.h
tmake_file=t-rtems
if test x$enable_threads = xyes; then
thread_file='rtems'
fi
;;
i[34567]86-*-rtemscoff*)
- cpu_type=i386
tm_file=i386/rtems.h
tmake_file=t-rtems
if test x$enable_threads = xyes; then
fi
;;
i[34567]86-*-rtems*|i[34567]86-*-rtemself*)
- cpu_type=i386
- tm_file=i386/rtemself.h
+ tm_file="${tm_file} i386/att.h elfos.h svr4.h linux.h i386/rtemself.h rtems.h"
extra_parts="crtbegin.o crtend.o crti.o crtn.o"
tmake_file="i386/t-rtems-i386 i386/t-crtstuff t-rtems"
if test x$enable_threads = xyes; then
;;
i[34567]86-*-solaris2*)
xm_defines="POSIX SMALL_ARG_MAX"
- tm_file=i386/sol2.h
+ tm_file="${tm_file} i386/att.h elfos.h svr4.h i386/sysv4.h i386/sol2.h"
if test x$gas = xyes; then
# Only needed if gas does not support -s
tm_file="i386/sol2gas.h ${tm_file}"
;;
i[34567]86-*-sysv5*) # Intel x86 on System V Release 5
xm_defines=POSIX
- tm_file=i386/sysv5.h
+ tm_file="${tm_file} i386/att.h elfos.h svr4.h i386/sysv4.h i386/sysv5.h"
if test x$stabs = xyes
then
tm_file="${tm_file} dbx.h"
;;
i[34567]86-*-sysv4*) # Intel 80386's running system V.4
xm_defines="POSIX SMALL_ARG_MAX"
- tm_file=i386/sysv4.h
+ tm_file="${tm_file} i386/att.h elfos.h svr4.h i386/sysv4.h"
if test x$stabs = xyes
then
tm_file="${tm_file} dbx.h"
;;
i[34567]86-*-udk*) # Intel x86 on SCO UW/OSR5 Dev Kit
xm_defines=POSIX
- tm_file=i386/udk.h
+ tm_file="${tm_file} i386/att.h elfos.h svr4.h i386/sysv4.h i386/sysv5.h i386/udk.h"
tmake_file="i386/t-crtpic i386/t-udk"
xmake_file=x-svr4
extra_parts="crtbegin.o crtend.o"
install_headers_dir=install-headers-cpio
;;
i[34567]86-*-osf1*) # Intel 80386's running OSF/1 1.3+
- cpu_type=i386
xm_file=i386/xm-osf1elf.h
xm_defines='POSIX USE_C_ALLOCA SMALL_ARG_MAX'
if test x$stabs = xyes
then
- tm_file=i386/osf1elfgdb.h
+ tm_file="${tm_file} i386/att.h elfos.h svr4.h i386/sysv4.h i386/osf1elf.h i386/osf1elfgdb.h"
else
- tm_file=i386/osf1elf.h
+ tm_file="${tm_file} i386/att.h elfos.h svr4.h i386/sysv4.h i386/osf1elf.h"
fi
tmake_file=i386/t-osf1elf
extra_parts="crti.o crtn.o crtbegin.o crtend.o"
;;
i[34567]86-dg-dgux*)
xm_defines=POSIX
- out_file=i386/dgux.c
- tm_file=i386/dgux.h
+ tm_file="${tm_file} i386/att.h elfos.h svr4.h i386/sysv4.h i386/dgux.h"
tmake_file=i386/t-dgux
xmake_file=i386/x-dgux
install_headers_dir=install-headers-cpio
;;
i860-alliant-*) # Alliant FX/2800
- tm_file="${tm_file} svr4.h i860/sysv4.h i860/fx2800.h"
+ tm_file="${tm_file} elfos.h svr4.h i860/sysv4.h i860/fx2800.h"
tmake_file=i860/t-fx2800
extra_parts="crtbegin.o crtend.o"
;;
extra_parts="crtbegin.o crtend.o"
;;
i860-*-sysv4*)
- tm_file="${tm_file} svr4.h i860/sysv4.h"
+ tm_file="${tm_file} elfos.h svr4.h i860/sysv4.h"
xm_defines=POSIX
tmake_file=t-svr4
extra_parts="crtbegin.o crtend.o"
;;
i960-*-*) # Default i960 environment.
use_collect2=yes
+ tmake_file=i960/t-960bare
c_target_objs="i960-c.o"
cxx_target_objs="i960-c.o"
;;
ia64*-*-aix*)
- tm_file="${tm_file} svr4.h ia64/sysv4.h ia64/aix.h"
+ tm_file="${tm_file} elfos.h svr4.h ia64/sysv4.h ia64/aix.h"
tmake_file="ia64/t-ia64 ia64/t-aix"
target_cpu_default="MASK_GNU_AS|MASK_GNU_LD"
;;
ia64*-*-elf*)
- tm_file=ia64/elf.h
+ tm_file="${tm_file} elfos.h ia64/sysv4.h ia64/elf.h"
tmake_file="ia64/t-ia64"
target_cpu_default="0"
if test x$gas = xyes
fi
float_format=i386
;;
+ia64*-*-freebsd*)
+ tm_file="${tm_file} ${fbsd_tm_file} elfos.h ia64/sysv4.h ia64/freebsd.h"
+ target_cpu_default="MASK_GNU_AS|MASK_GNU_LD"
+ tmake_file="${tmake_file} ia64/t-ia64"
+ float_format=i386
+ ;;
ia64*-*-linux*)
- tm_file=ia64/linux.h
+ tm_file="${tm_file} elfos.h svr4.h linux.h ia64/sysv4.h ia64/linux.h"
tmake_file="t-slibgcc-elf-ver t-linux ia64/t-ia64 ia64/t-glibc"
target_cpu_default="MASK_GNU_AS|MASK_GNU_LD"
if test x$enable_threads = xyes; then
float_format=i386
;;
ia64*-*-hpux*)
- tm_file="ia64/ia64.h svr4.h ia64/sysv4.h ia64/hpux.h ia64/hpux_longdouble.h"
+ tm_file="${tm_file} elfos.h svr4.h ia64/sysv4.h ia64/hpux.h ia64/hpux_longdouble.h"
tmake_file="ia64/t-ia64 ia64/t-hpux"
target_cpu_default="MASK_GNU_AS"
if test x$enable_threads = xyes; then
float_format=i386
;;
m32r-*-elf*)
+ tm_file="elfos.h svr4.h ${tm_file}"
extra_parts="crtinit.o crtfini.o"
;;
# m68hc11 and m68hc12 share the same machine description.
xm_defines=POSIX
case $machine in
m88k-dg-dguxbcs*)
- tm_file=m88k/dguxbcs.h
+ tm_file="elfos.h svr4.h m88k/dgux.h m88k/dguxbcs.h"
tmake_file=m88k/t-dguxbcs
;;
*)
- tm_file=m88k/dgux.h
+ tm_file="elfos.h svr4.h m88k/dgux.h"
tmake_file=m88k/t-dgux
;;
esac
;;
m88k-*-sysv4*)
xm_defines=POSIX
- tm_file=m88k/sysv4.h
+ tm_file="elfos.h svr4.h m88k/sysv4.h"
extra_parts="crtbegin.o crtend.o"
tmake_file=m88k/t-sysv4
;;
mcore-*-elf)
- tm_file=mcore/mcore-elf.h
+ tm_file="elfos.h svr4.h ${tm_file} mcore/mcore-elf.h"
tmake_file=mcore/t-mcore
;;
mcore-*-pe*)
;;
mips*-*-linux*) # Linux MIPS, either endian.
xmake_file=x-linux
+ tm_file="elfos.h svr4.h linux.h mips/linux.h"
case $machine in
- mipsisa32el-*)
- tm_file="elfos.h mips/elfl.h mips/linux.h mips/isa32-linux.h"
- target_cpu_default="MASK_SOFT_FLOAT"
- ;;
- mipsisa32-*)
- tm_file="elfos.h mips/elf.h mips/linux.h mips/isa32-linux.h"
- target_cpu_default="MASK_SOFT_FLOAT"
- ;;
- mips*el-*) tm_file="elfos.h mips/elfl.h mips/linux.h" ;;
- *) tm_file="elfos.h mips/elf.h mips/linux.h"
+ mipsisa32*-*)
+ tm_file="$tm_file mips/isa32-linux.h"
+ target_cpu_default="MASK_SOFT_FLOAT"
+ ;;
+ esac
+ case $machine in
+ mips*el-*)
+ tm_file="mips/little.h $tm_file"
+ ;;
esac
tmake_file="t-slibgcc-elf-ver t-linux"
extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
use_collect2=yes
fi
;;
+mmix-knuth-mmixware)
+ ;;
mn10200-*-*)
float_format=i32
- cpu_type=mn10200
- tm_file="mn10200/mn10200.h"
+ tm_file="elfos.h svr4.h ${tm_file}"
if test x$stabs = xyes
then
tm_file="${tm_file} dbx.h"
use_collect2=no
;;
mn10300-*-*)
- cpu_type=mn10300
- tm_file="mn10300/mn10300.h"
+ tm_file="elfos.h svr4.h ${tm_file}"
if test x$stabs = xyes
then
tm_file="${tm_file} dbx.h"
# Nothing special
;;
pj*-linux*)
- tm_file="svr4.h pj/linux.h ${tm_file}"
+ tm_file="elfos.h svr4.h pj/linux.h ${tm_file}"
;;
pj-*)
;;
pjl-*)
- tm_file="svr4.h pj/pjl.h ${tm_file}"
+ tm_file="elfos.h svr4.h pj/pjl.h ${tm_file}"
;;
romp-*-aos*)
tmake_file="${tmake_file} rs6000/t-rs6000 rs6000/t-openbsd"
;;
powerpc64-*-linux*)
- tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/linux64.h"
+ tm_file="${tm_file} elfos.h svr4.h rs6000/sysv4.h rs6000/linux64.h"
out_file=rs6000/rs6000.c
tmake_file="rs6000/t-ppcos t-slibgcc-elf-ver t-linux rs6000/t-ppccomm"
xmake_file=x-linux
extra_headers=ppc-asm.h
;;
powerpc-*-beos*)
- cpu_type=rs6000
tm_file="${tm_file} rs6000/aix.h rs6000/beos.h rs6000/xcoff.h"
xm_defines=POSIX
xm_file=rs6000/xm-beos.h
tmake_file=rs6000/t-beos
;;
powerpc-*-darwin*)
- cpu_type=rs6000
tm_file="${tm_file} darwin.h rs6000/darwin.h"
tm_p_file="${tm_p_file} darwin-protos.h"
tmake_file=rs6000/t-darwin
use_collect2=no
;;
powerpc-*-sysv*)
- tm_file="${tm_file} svr4.h rs6000/sysv4.h"
+ tm_file="${tm_file} elfos.h svr4.h rs6000/sysv4.h"
xm_defines=POSIX
extra_headers=ppc-asm.h
tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
;;
powerpc-*-netbsd*)
xm_defines=POSIX
- tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/netbsd.h"
+ tm_file="${tm_file} elfos.h svr4.h rs6000/sysv4.h rs6000/netbsd.h"
tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
extra_headers=ppc-asm.h
;;
powerpc-*-chorusos*)
xm_defines=POSIX
- tm_file="${tm_file} svr4.h rs6000/sysv4.h chorus.h"
+ tm_file="${tm_file} elfos.h svr4.h rs6000/sysv4.h chorus.h"
tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
extra_headers=ppc-asm.h
case x${enable_threads} in
;;
powerpc-*-eabiaix*)
xm_defines=POSIX
- tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/eabi.h rs6000/eabiaix.h"
+ tm_file="${tm_file} elfos.h svr4.h rs6000/sysv4.h rs6000/eabi.h rs6000/eabiaix.h"
tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
extra_headers=ppc-asm.h
;;
powerpc-*-eabisim*)
xm_defines=POSIX
- tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/eabi.h rs6000/eabisim.h"
+ tm_file="${tm_file} elfos.h svr4.h rs6000/sysv4.h rs6000/eabi.h rs6000/eabisim.h"
tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
extra_headers=ppc-asm.h
;;
powerpc-*-elf*)
xm_defines=POSIX
- tm_file="${tm_file} svr4.h rs6000/sysv4.h"
+ tm_file="${tm_file} elfos.h svr4.h rs6000/sysv4.h"
tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
extra_headers=ppc-asm.h
;;
powerpc-*-eabi*)
xm_defines=POSIX
- tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/eabi.h"
+ tm_file="${tm_file} elfos.h svr4.h rs6000/sysv4.h rs6000/eabi.h"
tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
extra_headers=ppc-asm.h
;;
powerpc-*-rtems*)
xm_defines=POSIX
- tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/eabi.h rtems.h rs6000/rtems.h"
+ tm_file="${tm_file} elfos.h svr4.h rs6000/sysv4.h rs6000/eabi.h rtems.h rs6000/rtems.h"
tmake_file="rs6000/t-ppcgas t-rtems rs6000/t-ppccomm"
extra_headers=ppc-asm.h
if test x$enable_threads = xyes; then
fi
;;
powerpc-*-linux*libc1)
- tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/linux.h"
+ tm_file="${tm_file} elfos.h svr4.h rs6000/sysv4.h rs6000/linux.h"
out_file=rs6000/rs6000.c
tmake_file="rs6000/t-ppcos t-slibgcc-elf-ver t-linux t-linux-gnulibc1 rs6000/t-ppccomm"
xmake_file=x-linux
fi
;;
powerpc-*-linux*)
- tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/linux.h"
+ tm_file="${tm_file} elfos.h svr4.h rs6000/sysv4.h rs6000/linux.h"
out_file=rs6000/rs6000.c
tmake_file="rs6000/t-ppcos t-slibgcc-elf-ver t-linux rs6000/t-ppccomm"
xmake_file=x-linux
fi
;;
powerpc-wrs-vxworks*)
- cpu_type=rs6000
xm_defines=POSIX
- tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/vxppc.h"
+ tm_file="${tm_file} elfos.h svr4.h rs6000/sysv4.h rs6000/vxppc.h"
tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
extra_headers=ppc-asm.h
thread_file='vxworks'
;;
powerpcle-wrs-vxworks*)
- cpu_type=rs6000
xm_defines=POSIX
- tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/vxppc.h"
+ tm_file="${tm_file} elfos.h svr4.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/vxppc.h"
tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
extra_headers=ppc-asm.h
thread_file='vxworks'
;;
powerpcle-*-sysv*)
- tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/sysv4le.h"
+ tm_file="${tm_file} elfos.h svr4.h rs6000/sysv4.h rs6000/sysv4le.h"
xm_defines=POSIX
tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
extra_headers=ppc-asm.h
;;
powerpcle-*-elf*)
xm_defines=POSIX
- tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/sysv4le.h"
+ tm_file="${tm_file} elfos.h svr4.h rs6000/sysv4.h rs6000/sysv4le.h"
tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
extra_headers=ppc-asm.h
;;
powerpcle-*-eabisim*)
xm_defines=POSIX
- tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/eabi.h rs6000/eabisim.h"
+ tm_file="${tm_file} elfos.h svr4.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/eabi.h rs6000/eabisim.h"
tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
extra_headers=ppc-asm.h
;;
powerpcle-*-eabi*)
xm_defines=POSIX
- tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/eabi.h"
+ tm_file="${tm_file} elfos.h svr4.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/eabi.h"
tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
extra_headers=ppc-asm.h
;;
powerpcle-*-solaris2*)
- tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/sol2.h"
+ tm_file="${tm_file} elfos.h svr4.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/sol2.h"
xm_defines=POSIX
tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
extra_headers=ppc-asm.h
use_collect2=yes
;;
rs6000-*-mach*)
- tm_file="rs6000/rs6000.h rs6000/mach.h"
+ tm_file="${tm_file} rs6000/mach.h"
xm_defines=POSIX
use_collect2=yes
;;
;;
s390-*-linux*)
xmake_file=x-linux
- tm_file="s390/s390.h linux.h s390/linux.h"
+ tm_file="s390/s390.h elfos.h svr4.h linux.h s390/linux.h"
tmake_file="t-slibgcc-elf-ver t-linux s390/t-linux"
extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
if test x$enable_threads = xyes; then
;;
s390x-*-linux*)
xmake_file=x-linux
- tm_file="s390/s390.h linux.h s390/linux.h s390/linux64.h"
+ tm_file="s390/s390.h elfos.h svr4.h linux.h s390/linux.h s390/linux64.h"
tm_p_file=s390/s390-protos.h
md_file=s390/s390.md
out_file=s390/s390.c
;;
sh-*-elf*)
tmake_file="sh/t-sh sh/t-elf"
- tm_file="sh/sh.h sh/elf.h"
+ tm_file="${tm_file} sh/elf.h"
float_format=sh
;;
sh-*-rtemself*)
tmake_file="sh/t-sh sh/t-elf t-rtems"
- tm_file="sh/sh.h sh/elf.h sh/rtemself.h"
+ tm_file="${tm_file} sh/elf.h sh/rtemself.h"
float_format=sh
if test x$enable_threads = xyes; then
thread_file='rtems'
;;
sh-*-rtems*)
tmake_file="sh/t-sh t-rtems"
- tm_file="sh/sh.h sh/rtems.h"
+ tm_file="${tm_file} sh/rtems.h"
float_format=sh
if test x$enable_threads = xyes; then
thread_file='rtems'
fi
;;
sh-*-linux*)
- tm_file="sh/sh.h sh/elf.h sh/linux.h"
+ tm_file="${tm_file} sh/elf.h sh/linux.h"
tmake_file="sh/t-sh sh/t-elf sh/t-linux"
xmake_file=x-linux
gas=yes gnu_ld=yes
tmake_file=sparc/t-sp86x
;;
sparc86x-*-elf*)
- tm_file="sparc/sol2.h sparc./elf.h sparc/sp86x-elf.h"
+ tm_file="sparc/sol2.h sparc/elf.h sparc/sp86x-elf.h"
tmake_file=sparc/t-sp86x
extra_parts="crtbegin.o crtend.o"
;;
fi
float_format=sparc
;;
-stormy16-*-elf)
- tmake_file="stormy16/t-stormy16"
- extra_parts="crtbegin.o crtend.o"
- ;;
strongarm-*-elf*)
tm_file="arm/strongarm-elf.h elfos.h arm/unknown-elf.h arm/elf.h"
tmake_file=arm/t-strongarm-elf
*** when the -mthumb switch is given to the compiler." 1>&2; exit 1; }
;;
v850-*-rtems*)
- cpu_type=v850
- tm_file="v850/rtems.h"
+ tm_file="elfos.h svr4.h ${tm_file} v850/rtems.h"
tmake_file="v850/t-v850 t-rtems"
if test x$stabs = xyes
then
;;
v850-*-*)
target_cpu_default="TARGET_CPU_generic"
- cpu_type=v850
- tm_file="v850/v850.h"
+ tm_file="elfos.h svr4.h ${tm_file}"
tmake_file=v850/t-v850
if test x$stabs = xyes
then
out_file=arm/arm.c
md_file=arm/arm.md
;;
+xstormy16-*-elf)
+ # For historical reasons, the target files omit the 'x'.
+ tm_file="elfos.h svr4.h stormy16/stormy16.h"
+ tm_p_file=stormy16/stormy16-protos.h
+ md_file=stormy16/stormy16.md
+ out_file=stormy16/stormy16.c
+ tmake_file="stormy16/t-stormy16"
+ extra_parts="crtbegin.o crtend.o"
+ ;;
*)
echo "Configuration $machine not supported" 1>&2
exit 1