;;
*-*-openbsd*)
tm_file=${cpu_type}/openbsd.h
- tmake_file="t-libc-ok t-openbsd"
+ tmake_file="t-libc-ok t-openbsd t-libgcc-pic"
xm_defines=POSIX
if test x$enable_threads = xyes; then
thread_file='posix'
if test x$enable_threads = xyes; then
thread_file='rtems'
fi
- extra_parts="crtinit.o crtfini.o"
;;
arc-*-elf*)
extra_parts="crtinit.o crtfini.o"
;;
i[34567]86-*-chorusos*)
xm_defines=POSIX
- tm_file="i386/i386.h i386/att.h elfos.h i386/i386elf.h i386/chorus.h"
+ tm_file="i386/i386.h 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-*-freebsd*)
tm_file="${tm_file} i386/att.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"
+ tmake_file=t-netbsd
+ gnu_ld=yes
+ float_format=i386
+ ;;
i[34567]86-*-netbsd*)
tm_file=i386/netbsd.h
tmake_file=t-netbsd
use_collect2=yes
;;
i[34567]86-*-openbsd*)
+ # needed to unconfuse gdb
+ tmake_file="t-libc-ok t-openbsd i386/t-openbsd"
# we need collect2 until our bug is fixed...
use_collect2=yes
;;
i960-*-coff*)
tm_file="${tm_file} dbxcoff.h i960/i960-coff.h libgloss.h"
tmake_file=i960/t-960bare
- use_collect2=yes
c_target_objs="i960-c.o"
cxx_target_objs="i960-c.o"
;;
i960-*-rtems)
tmake_file="i960/t-960bare t-rtems"
tm_file="${tm_file} dbxcoff.h i960/rtems.h"
- use_collect2=yes
if test x$enable_threads = xyes; then
thread_file='rtems'
fi
xm_defines=POSIX
tmake_file=m68k/t-m68kelf
header_files=math-68881.h
+ extra_parts="crtbegin.o crtend.o"
;;
m68k-*-lynxos*)
if test x$gas = xyes
use_collect2=yes
;;
m68k*-*-openbsd*)
+ # needed to unconfuse gdb
+ tmake_file="t-libc-ok t-openbsd m68k/t-openbsd"
float_format=m68k
# we need collect2 until our bug is fixed...
use_collect2=yes
tm_file=m68k/rtemself.h
extra_headers=math-68881.h
float_format=m68k
+ extra_parts="crtbegin.o crtend.o"
if test x$enable_threads = xyes; then
thread_file='rtems'
fi
powerpc-*-openbsd*)
tmake_file="${tmake_file} rs6000/t-rs6000 rs6000/t-openbsd"
;;
+powerpc64-*-linux*)
+ tm_file="${tm_file} 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"
+ 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
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"
+ 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 rs6000/chorus.h"
+ tm_file="${tm_file} 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
;;
rs6000-ibm-aix3.[01]*)
xm_defines=POSIX
- tm_file="${tm_file} rs6000/aix.h rs6000/aix31.h"
+ tm_file="${tm_file} rs6000/aix.h rs6000/aix31.h rs6000/xcoff.h"
float_format=none
use_collect2=yes
;;
rs6000-ibm-aix3.2.[456789]* | powerpc-ibm-aix3.2.[456789]*)
xm_defines=POSIX
- tm_file="${tm_file} rs6000/aix.h rs6000/aix3newas.h"
+ tm_file="${tm_file} rs6000/aix.h rs6000/aix3newas.h rs6000/xcoff.h"
tmake_file=rs6000/t-newas
float_format=none
use_collect2=yes
;;
rs6000-ibm-aix4.[12]* | powerpc-ibm-aix4.[12]*)
xm_defines=POSIX
- tm_file="${tm_file} rs6000/aix.h rs6000/aix41.h"
+ tm_file="${tm_file} rs6000/aix.h rs6000/aix41.h rs6000/xcoff.h"
tmake_file=rs6000/t-newas
float_format=none
use_collect2=yes
;;
rs6000-ibm-aix4.[3456789]* | powerpc-ibm-aix4.[3456789]*)
xm_defines=POSIX
- tm_file="${tm_file} rs6000/aix.h rs6000/aix43.h"
+ tm_file="${tm_file} rs6000/aix.h rs6000/aix43.h rs6000/xcoff.h"
tmake_file=rs6000/t-aix43
float_format=none
use_collect2=yes
;;
rs6000-ibm-aix[56789].* | powerpc-ibm-aix[56789].*)
xm_defines=POSIX
- tm_file="${tm_file} rs6000/aix.h rs6000/aix51.h"
+ tm_file="${tm_file} rs6000/aix.h rs6000/aix51.h rs6000/xcoff.h"
tmake_file=rs6000/t-aix43
float_format=none
use_collect2=yes
;;
rs6000-ibm-aix*)
xm_defines=POSIX
- tm_file="${tm_file} rs6000/aix.h"
+ tm_file="${tm_file} rs6000/aix.h rs6000/xcoff.h"
float_format=none
use_collect2=yes
;;
rs6000-bull-bosx)
xm_defines=POSIX
- tm_file="${tm_file} rs6000/aix.h"
+ tm_file="${tm_file} rs6000/aix.h rs6000/xcoff.h"
float_format=none
use_collect2=yes
;;
tmake_file=rs6000/t-rs6000
use_collect2=yes
;;
+s390-*-linux*)
+ xmake_file=x-linux
+ tm_file=s390/linux.h
+ tmake_file="t-linux s390/t-linux"
+ extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
+ if test x$enable_threads = xyes; then
+ thread_file='posix'
+ fi
+ ;;
+s390x-*-linux*)
+ xmake_file=x-linux
+ tm_file=s390/linux64.h
+ tmake_file="t-linux s390/t-linux"
+ extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
+ if test x$enable_threads = xyes; then
+ thread_file='posix'
+ fi
+ ;;
sh-*-elf*)
tmake_file="sh/t-sh sh/t-elf"
tm_file="sh/sh.h sh/elf.h"
use_collect2=yes
;;
sparc-*-openbsd*)
+ # needed to unconfuse gdb
+ tmake_file="t-libc-ok t-openbsd sparc/t-openbsd"
# we need collect2 until our bug is fixed...
use_collect2=yes
;;
tm_file="${tm_file} sparc/bsd.h"
;;
sparc-*-chorusos*)
- tm_file="sparc/sol2.h sparc/elf.h sparc/chorus.h"
+ tm_file="sparc/sol2.h sparc/elf.h chorus.h"
tmake_file=sparc/t-chorus-elf
extra_parts="crti.o crtn.o crtbegin.o crtend.o"
float_format=i64