;;
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 arm/t-arm-elf t-rtems"
+ tmake_file="arm/t-arm arm/t-arm-elf t-rtems arm/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"
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 arm/t-arm-elf"
;;
+avr-*-rtems*)
+ tm_file="avr/avr.h dbxelf.h avr/rtems.h rtems.h"
+ tmake_file="avr/t-avr t-rtems avr/t-rtems"
+ ;;
avr-*-*)
tm_file="avr/avr.h dbxelf.h"
use_fixproto=yes
;;
c4x-*-rtems* | tic4x-*-rtems*)
- tmake_file="c4x/t-c4x t-rtems"
+ tmake_file="c4x/t-c4x t-rtems c4x/t-rtems"
tm_file="c4x/c4x.h c4x/rtems.h rtems.h"
c_target_objs="c4x-c.o"
cxx_target_objs="c4x-c.o"
tmake_file="${tmake_file} frv/t-frv frv/t-linux"
;;
h8300-*-rtems*)
- tmake_file="h8300/t-h8300 t-rtems"
+ tmake_file="h8300/t-h8300 t-rtems h8300/t-rtems"
tm_file="h8300/h8300.h dbxcoff.h h8300/coff.h h8300/rtems.h rtems.h"
;;
h8300-*-elf*)
esac
tmake_file="${tmake_file} i386/t-crtstuff"
;;
-x86_64-*-linux*)
+x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu)
tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h linux.h \
i386/x86-64.h i386/linux64.h"
+ case ${target} in
+ x86_64-*-kfreebsd*-gnu) tm_file="${tm_file} kfreebsd-gnu.h" ;;
+ x86_64-*-knetbsd*-gnu) tm_file="${tm_file} knetbsd-gnu.h" ;;
+ esac
tmake_file="${tmake_file} i386/t-linux64"
;;
i[34567]86-*-gnu*)
;;
i[34567]86-*-solaris2*)
xm_defines="SMALL_ARG_MAX"
- tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h sol2.h i386/sol2.h"
+ tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h sol2.h"
+ case ${target} in
+ *-*-solaris2.[0-6] | *-*-solaris2.[0-6].*)
+ tm_file="${tm_file} sol26.h"
+ esac
+ tm_file="${tm_file} i386/sol2.h"
tmake_file="t-sol2 i386/t-sol2 t-svr4"
c_target_objs="sol2-c.o"
cxx_target_objs="sol2-c.o"
tm_p_file="${tm_p_file} sol2-protos.h"
if test x$gnu_ld = xyes; then
tmake_file="$tmake_file t-slibgcc-elf-ver"
+ tm_defines="${tm_defines} TARGET_GNU_LD=1"
else
tmake_file="$tmake_file t-slibgcc-sld"
fi
tm_file="$tm_file tm-dwarf2.h"
;;
esac
- extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"
+ case ${target} in
+ *-*-solaris2.1[0-9])
+ tm_file="${tm_file} i386/x86-64.h i386/sol2-10.h"
+ tm_defines="${tm_defines} TARGET_BI_ARCH=1"
+ tmake_file="$tmake_file i386/t-sol2-10"
+ need_64bit_hwint=yes
+ # Solaris 2.10 provides crt1.o, crti.o, crtn.o, and gcrt1.o as
+ # part of the base system.
+ extra_parts="gmon.o crtbegin.o crtend.o"
+ ;;
+ *)
+ extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"
+ ;;
+ esac
case ${enable_threads}:${have_pthread_h}:${have_thread_h} in
- "":yes:* | yes:yes:* ) thread_file=posix ;;
- "":*:yes | yes:*:yes ) thread_file=solaris ;;
+ "":yes:* | yes:yes:* )
+ case ${target} in
+ *-*-solaris2.[0-6] | *-*-solaris2.[0-6].*)
+ thread_file=posix95
+ ;;
+ *)
+ thread_file=posix
+ ;;
+ esac
+ ;;
+ "":*:yes | yes:*:yes )
+ thread_file=solaris
+ ;;
esac
;;
i[34567]86-*-sysv5*) # Intel x86 on System V Release 5
tm_file="dbxelf.h elfos.h svr4.h linux.h ${tm_file} m32r/linux.h"
extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
# We override the tmake_file for linux -- why?
- tmake_file="m32r/t-linux"
+ tmake_file="t-slibgcc-elf-ver m32r/t-linux"
gnu_ld=yes
use_fixproto=yes
if test x$enable_threads = xyes; then
tm_file="dbxelf.h elfos.h svr4.h linux.h m32r/little.h ${tm_file} m32r/linux.h"
extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
# We override the tmake_file for linux -- why?
- tmake_file="m32r/t-linux"
+ tmake_file="t-slibgcc-elf-ver m32r/t-linux"
gnu_ld=yes
use_fixproto=yes
if test x$enable_threads = xyes; then
need_64bit_hwint=yes
;;
sparc-*-solaris2*)
- tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sol2.h sparc/sol2.h"
+ tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sol2.h"
+ case ${target} in
+ *-*-solaris2.[0-6] | *-*-solaris2.[0-6].*)
+ tm_file="${tm_file} sol26.h"
+ esac
+ tm_file="${tm_file} sparc/sol2.h"
if test x$gnu_ld = xyes; then
tm_file="${tm_file} sparc/sol2-gld.h"
fi
tm_p_file="${tm_p_file} sol2-protos.h"
extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"
case ${enable_threads}:${have_pthread_h}:${have_thread_h} in
- "":yes:* | yes:yes:* ) thread_file=posix ;;
- "":*:yes | yes:*:yes ) thread_file=solaris ;;
+ "":yes:* | yes:yes:* )
+ case ${target} in
+ *-*-solaris2.[0-6] | *-*-solaris2.[0-6].*)
+ thread_file=posix95
+ ;;
+ *)
+ thread_file=posix
+ ;;
+ esac
+ ;;
+ "":*:yes | yes:*:yes )
+ thread_file=solaris
+ ;;
esac
;;
sparc-*-sysv4*)
c_target_objs="${c_target_objs} rs6000-c.o"
cxx_target_objs="${cxx_target_objs} rs6000-c.o"
tmake_file="rs6000/t-rs6000 ${tmake_file}"
+
+ if test x$enable_e500_double = xyes
+ then
+ tm_file="$tm_file rs6000/e500-double.h"
+ fi
;;
sparc*-*-*)