gnu_ld="$gnu_ld_flag"
enable_threads=$enable_threads_flag
+# Obsolete configurations.
+# To avoid some tedious lists, we have a blacklist with a whitelist
+# embedded within it.
+case $machine in
+ 1750a-* \
+ | a29k-* \
+ | alpha*-*-osf[123]* \
+ | arm-*-riscix* \
+ | c*-convex-* \
+ | clipper-* \
+ | elxsi-* \
+ | i860-* \
+ | i?86-*-aix* \
+ | i?86-*-bsd* \
+ | i?86-*-chorusos* \
+ | i?86-*-dgux* \
+ | i?86-*-freebsd1.* \
+ | i?86-*-isc* \
+ | i?86-*-linux*oldld* \
+ | i?86-*-osf1* \
+ | i?86-*-osfrose* \
+ | i?86-*-rtemscoff* \
+ | i?86-*-sunos* \
+ | i?86-go32-rtems* \
+ | i?86-next-* \
+ | i?86-sequent-bsd* \
+ | i?86-sequent-ptx[12]* \
+ | i?86-sequent-sysv3* \
+ | m68[k0]*-*-lynxos* \
+ | m68[k0]*-*-rtemscoff* \
+ | m68[k0]*-*-sysv3* \
+ | m68[k0]*-altos-* \
+ | m68[k0]*-apollo-* \
+ | m68[k0]*-apple-* \
+ | m68[k0]*-bull-* \
+ | m68[k0]*-convergent-* \
+ | m68[k0]*-isi-* \
+ | m68[k0]*-next-* \
+ | m68[k0]*-sony-* \
+ | m88k-* \
+ | mips-*-bsd* \
+ | mips-*-riscos* \
+ | mips-*-sysv* \
+ | mips-*-ultrix* \
+ | mips-dec-* \
+ | mips-sgi-irix[1234]* \
+ | mips-sony-* \
+ | mips-tandem-* \
+ | ns32k-* \
+ | pj-* \
+ | pjl-* \
+ | romp-* \
+ | sparc-*-rtemsaout* \
+ | we32k-* \
+)
+ case $machine in
+ mips-sni-sysv4 \
+ | m88k-*-aout* | m88k-*-openbsd* | m88k-*-sysv4* \
+ | ns32k-*-netbsd* | ns32k-*-openbsd* \
+ | romp-*-openbsd* \
+ )
+ # Whitelisted.
+ ;;
+ *)
+ if test "x$enable_obsolete" != xyes; then
+ echo "*** Configuration $machine is obsolete." >&2
+ echo "*** Specify --enable-obsolete to build it anyway." >&2
+ echo "*** Support will be REMOVED in the next major release of GCC," >&2
+ echo "*** unless a maintainer comes forward." >&2
+ exit 1
+ fi;;
+ esac
+esac
+
# Set default cpu_type, tm_file, tm_p_file and xm_file so it can be
# updated in each machine entry. Also set default extra_headers for some
# machines.
tm_file="${tm_file} netbsd.h alpha/elf.h netbsd-elf.h alpha/netbsd.h"
target_cpu_default="MASK_GAS"
tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee"
- extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o"
;;
alpha*-*-openbsd*)
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 dbxelf.h elfos.h pa/elf.h pa/pa-pro-end.h libgloss.h"
tmake_file="pa/t-bsd pa/t-pro"
+ xmake_file="pa/x-ada"
;;
hppa1.1-*-osf*)
target_cpu_default="MASK_PA_11"
tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-osf.h"
tmake_file="pa/t-bsd pa/t-pa"
+ xmake_file="pa/x-ada"
use_collect2=yes
;;
hppa1.1-*-rtems*)
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 dbxelf.h elfos.h pa/elf.h pa/pa-pro-end.h libgloss.h pa/rtems.h rtems.h"
tmake_file="pa/t-bsd pa/t-pro"
+ xmake_file="pa/x-ada"
;;
hppa1.0-*-osf*)
tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-osf.h"
tmake_file="pa/t-bsd pa/t-pa"
+ xmake_file="pa/x-ada"
use_collect2=yes
;;
hppa1.1-*-bsd*)
tm_file="${tm_file} pa/pa32-regs.h pa/som.h"
target_cpu_default="MASK_PA_11"
tmake_file="pa/t-bsd pa/t-pa"
+ xmake_file="pa/x-ada"
use_collect2=yes
;;
hppa1.0-*-bsd*)
tm_file="${tm_file} pa/pa32-regs.h pa/som.h"
tmake_file="pa/t-bsd pa/t-pa"
+ xmake_file="pa/x-ada"
use_collect2=yes
;;
hppa1.0-*-hpux7*)
float_format=i128
xm_defines=POSIX
tmake_file="pa/t-pa pa/t-pa-hpux pa/t-hpux-shlib"
+ xmake_file="pa/x-ada"
if test x$enable_threads = x; then
enable_threads=$have_pthread_h
fi
float_format=i128
xm_defines=POSIX
tmake_file="pa/t-pa pa/t-pa-hpux pa/t-hpux-shlib"
+ xmake_file="pa/x-ada"
if test x$enable_threads = x; then
enable_threads=$have_pthread_h
fi
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 pa/pa64-hpux.h"
float_format=i128
tmake_file="pa/t-pa64 pa/t-pa-hpux"
+ xmake_file="pa/x-ada"
target_cpu_default="(MASK_PA_11|MASK_PA_20|MASK_GAS)"
# if [ x$enable_threads = x ]; then
float_format=i128
xm_defines=POSIX
tmake_file="pa/t-pa pa/t-pa-hpux pa/t-hpux-shlib"
+ xmake_file="pa/x-ada"
# if test x$enable_threads = x; then
# enable_threads=$have_pthread_h
# fi
float_format=i128
xm_defines=POSIX
tmake_file="pa/t-pa pa/t-pa-hpux pa/t-hpux-shlib"
+ xmake_file="pa/x-ada"
# if test x$enable_threads = x; then
# enable_threads=$have_pthread_h
# fi
tm_file="${tm_file} pa/pa32-regs.h dbxelf.h elfos.h pa/elf.h"
target_cpu_default="MASK_PA_11"
tmake_file="pa/t-bsd pa/t-pa"
+ xmake_file="pa/x-ada"
use_collect2=yes
;;
hppa*-*-mpeix*)
thread_file='rtems'
fi
;;
-sparc64-*-solaris2*)
- tm_file="sparc/biarch64.h sparc/sol2-64.h ${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/sol2.h sparc/sol2-bi.h"
+sparc64-*-solaris2* | sparcv9-*-solaris2*)
+ tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/sol2.h sparc/sol2-64.h sparc/sol2-bi.h"
if test x$gnu_ld = xyes; then
tm_file="${tm_file} sparc/sol2-gld.h sparc/sol2-gld-bi.h"
fi
+ if test x$gas = xyes; then
+ tm_file="${tm_file} sparc/sol2-gas-bi.h"
+ fi
xm_defines=POSIX
tmake_file="sparc/t-sol2 sparc/t-sol2-64 sparc/t-crtfm"
if test x$gnu_ld = xyes; then
tmake_file="$tmake_file t-slibgcc-sld"
fi
extra_parts="crt1.o crti.o crtn.o gcrt1.o crtbegin.o crtend.o"
- float_format=sparc
+ float_format=i128
if test x${enable_threads} = x ; then
enable_threads=$have_pthread_h
if test x${enable_threads} = x ; then
tmake_file="$tmake_file t-slibgcc-sld"
fi
extra_parts="crt1.o crti.o crtn.o gmon.o crtbegin.o crtend.o"
- case $machine in
- *-*-solaris2.[0-4])
- float_format=i128
- ;;
- *)
- float_format=sparc
- ;;
- esac
+ float_format=i128
thread_file='solaris'
;;
-sparc-*-solaris2* | sparcv9-*-solaris2*)
+sparc-*-solaris2*)
tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/sol2.h"
if test x$gnu_ld = xyes; then
tm_file="${tm_file} sparc/sol2-gld.h"
tmake_file="$tmake_file t-slibgcc-sld"
fi
case $machine in
- sparcv9-*)
+ *-*-solaris2.[0-6] | *-*-solaris2.[0-6].*)
+ if test x$gnu_ld = xno; then
+ tm_file="${tm_file} sparc/sol26-sld.h"
+ fi
+ ;;
+ *-*-solaris2.[789])
tm_file="sparc/biarch64.h ${tm_file} sparc/sol2-bi.h"
if test x$gnu_ld = xyes; then
tm_file="${tm_file} sparc/sol2-gld-bi.h"
fi
+ if test x$gas = xyes; then
+ tm_file="${tm_file} sparc/sol2-gas-bi.h"
+ fi
tmake_file="$tmake_file sparc/t-sol2-64"
;;
- *-*-solaris2.[0-6] | *-*-solaris2.[0-6].*)
- if test x$gnu_ld = xno; then
- tm_file="${tm_file} sparc/sol26-sld.h"
- fi
esac
xm_defines=POSIX
extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"
- case $machine in
- *-*-solaris2.[0-4])
- float_format=i128
- ;;
- *)
- float_format=sparc
- ;;
- esac
+ float_format=i128
if test x${enable_threads} = x; then
enable_threads=$have_pthread_h
if test x${enable_threads} = x; then