;;
arm-*-coff* | armel-*-coff*)
tm_file="arm/semi.h arm/aout.h arm/arm.h arm/coff.h dbxcoff.h"
- tmake_file=arm/t-arm-coff
+ tmake_file="arm/t-arm arm/t-arm-coff"
;;
arm-semi-aof | armel-semi-aof)
tm_file="arm/semiaof.h arm/aof.h arm/arm.h"
- tmake_file=arm/t-semi
+ tmake_file="arm/t-arm arm/t-semi"
;;
arm-wrs-vxworks)
tm_file="dbxelf.h elfos.h svr4.h vxworks.h arm/elf.h arm/aout.h arm/arm.h arm/vxworks.h"
- tmake_file="${tmake_file} arm/t-vxworks"
+ tmake_file="${tmake_file} arm/t-arm arm/t-vxworks"
;;
arm*-*-freebsd*|strongarm*-*-freebsd*)
tm_file="dbxelf.h elfos.h ${fbsd_tm_file} arm/elf.h arm/aout.h arm/freebsd.h arm/arm.h"
- tmake_file="${tmake_file} arm/t-strongarm-elf"
+ tmake_file="${tmake_file} arm/t-arm arm/t-strongarm-elf"
;;
arm*-*-netbsdelf*)
tm_file="dbxelf.h elfos.h netbsd.h netbsd-elf.h arm/elf.h arm/aout.h arm/arm.h arm/netbsd-elf.h"
- tmake_file="${tmake_file} arm/t-netbsd"
+ tmake_file="${tmake_file} arm/t-arm arm/t-netbsd"
;;
arm*-*-netbsd*)
tm_file="arm/aout.h arm/arm.h netbsd.h netbsd-aout.h arm/netbsd.h"
- tmake_file="t-netbsd arm/t-netbsd"
+ tmake_file="t-netbsd arm/t-arm arm/t-netbsd"
extra_parts=""
use_collect2=yes
;;
arm*-*-linux*) # ARM GNU/Linux with ELF
tm_file="dbxelf.h elfos.h linux.h arm/elf.h arm/linux-gas.h arm/linux-elf.h arm/aout.h arm/arm.h"
- tmake_file="${tmake_file} arm/t-linux"
+ tmake_file="${tmake_file} arm/t-arm arm/t-linux"
extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
gnu_ld=yes
;;
arm*-*-uclinux*) # ARM ucLinux
tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h arm/linux-gas.h arm/linux-elf.h arm/uclinux-elf.h"
- tmake_file=arm/t-arm-elf
+ tmake_file="arm/t-arm arm/t-arm-elf"
;;
arm*-*-ecos-elf)
tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h arm/ecos-elf.h"
- tmake_file=arm/t-arm-elf
+ tmake_file="arm/t-arm arm/t-arm-elf"
+ ;;
+arm*-*-symbianelf*)
+ tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/symbian.h arm/aout.h arm/arm.h"
+ tmake_file="t-slibgcc-elf-ver arm/t-arm arm/t-arm-elf"
;;
arm*-*-rtems*)
tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h arm/rtems-elf.h rtems.h"
- tmake_file="arm/t-arm-elf t-rtems"
+ tmake_file="arm/t-arm arm/t-arm-elf t-rtems"
;;
arm*-*-elf | ep9312-*-elf)
tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h"
- tmake_file=arm/t-arm-elf
+ tmake_file="arm/t-arm arm/t-arm-elf"
;;
arm*-wince-pe*)
tm_file="arm/semi.h arm/aout.h arm/arm.h arm/coff.h dbxcoff.h arm/pe.h arm/wince-pe.h"
- tmake_file=arm/t-wince-pe
+ tmake_file="arm/t-arm arm/t-wince-pe"
extra_objs="pe.o"
;;
arm-*-pe*)
tm_file="arm/semi.h arm/aout.h arm/arm.h arm/coff.h dbxcoff.h arm/pe.h"
- tmake_file=arm/t-pe
+ tmake_file="arm/t-arm arm/t-pe"
extra_objs="pe.o"
;;
arm*-*-kaos*)
tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h kaos.h arm/kaos-arm.h"
- tmake_file=arm/t-arm-elf
+ tmake_file="arm/t-arm arm/t-arm-elf"
;;
avr-*-*)
tm_file="avr/avr.h dbxelf.h"
gas=yes
;;
i[34567]86-*-lynxos*)
- if test x$gas = xyes
- then
- tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h svr3.h lynx.h i386/lynx.h"
- else
- tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h lynx-ng.h i386/lynx-ng.h"
- fi
- use_fixproto=yes
+ xm_defines=POSIX
+ tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/lynx.h lynx.h"
+ tmake_file="i386/t-crtstuff t-lynx"
+ extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
+ thread_file=lynx
+ gnu_ld=yes
+ gas=yes
;;
i[34567]86-*-nto-qnx*)
tm_file="${tm_file} i386/att.h dbxelf.h tm-dwarf2.h elfos.h svr4.h i386/unix.h i386/nto.h"
thread_file=""
use_fixproto=yes
;;
+powerpc-*-lynxos*)
+ xm_defines=POSIX
+ tm_file="${tm_file} dbxelf.h elfos.h rs6000/sysv4.h rs6000/lynx.h lynx.h"
+ tmake_file="t-lynx rs6000/t-lynx"
+ extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
+ thread_file=lynx
+ gnu_ld=yes
+ gas=yes
+ ;;
powerpcle-*-sysv*)
tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/sysv4le.h"
tmake_file="rs6000/t-fprules rs6000/t-ppcos rs6000/t-ppccomm"
thread_file='aix'
extra_headers=
;;
-rs6000-*-lynxos*)
- tm_file="svr3.h lynx.h rs6000/lynxbase.h rs6000/rs6000.h rs6000/lynx.h"
- tmake_file=rs6000/t-fprules
- use_collect2=yes
- use_fixproto=yes
- ;;
s390-*-linux*)
tm_file="s390/s390.h dbxelf.h elfos.h svr4.h linux.h s390/linux.h"
tmake_file="${tmake_file} s390/t-crtstuff"
;;
strongarm-*-elf*)
tm_file="arm/strongarm-elf.h dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h"
- tmake_file=arm/t-strongarm-elf
+ tmake_file="arm/t-arm arm/t-strongarm-elf"
out_file=arm/arm.c
md_file=arm/arm.md
extra_modes=arm/arm-modes.def
;;
strongarm-*-pe)
tm_file="arm/semi.h arm/aout.h arm/coff.h dbxcoff.h arm/strongarm-coff.h arm/arm.h arm/pe.h arm/strongarm-pe.h"
- tmake_file=arm/t-strongarm-pe
+ tmake_file="arm/t-arm arm/t-strongarm-pe"
out_file=arm/arm.c
md_file=arm/arm.md
extra_modes=arm/arm-modes.def
;;
strongarm-*-kaos*)
tm_file="arm/strongarm-elf.h dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h kaos.h arm/kaos-strongarm.h"
- tmake_file=arm/t-strongarm-elf
+ tmake_file="arm/t-arm arm/t-strongarm-elf"
out_file=arm/arm.c
md_file=arm/arm.md
extra_modes=arm/arm-modes.def
;;
xscale-*-elf)
tm_file="arm/xscale-elf.h dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h"
- tmake_file=arm/t-xscale-elf
+ tmake_file="arm/t-arm arm/t-xscale-elf"
out_file=arm/arm.c
md_file=arm/arm.md
extra_modes=arm/arm-modes.def
;;
xscale-*-coff)
tm_file="arm/semi.h arm/aout.h arm/coff.h dbxcoff.h arm/xscale-coff.h arm/arm.h"
- tmake_file=arm/t-xscale-coff
+ tmake_file="arm/t-arm arm/t-xscale-coff"
out_file=arm/arm.c
md_file=arm/arm.md
extra_modes=arm/arm-modes.def
;;
esac
+case ${target} in
+i[34567]86-*-linux*aout* | i[34567]86-*-linux*libc1)
+ tmake_file="${tmake_file} i386/t-gmm_malloc"
+ ;;
+i[34567]86-*-linux* | x86_64-*-linux*)
+ tmake_file="${tmake_file} i386/t-pmm_malloc"
+ ;;
+i[34567]86-*-* | x86_64-*-*)
+ tmake_file="${tmake_file} i386/t-gmm_malloc"
+ ;;
+esac
+
# Support for --with-cpu and related options (and a few unrelated options,
# too).
case ${with_cpu} in