target_gtfiles=
need_64bit_hwint=
need_64bit_isa=
-# Selects the object file format reader/writer used by LTO.
-lto_binary_reader=lto-elf
# Don't carry these over build->host->target. Please.
xm_file=
md_file=
# Obsolete configurations.
-#case ${target} in
-# )
-# if test "x$enable_obsolete" != xyes; then
-# echo "*** Configuration ${target} 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
+case ${target} in
+ mips-sgi-irix5* \
+ | mips-sgi-irix6.[0-4]* \
+ | *-*-solaris2.7* \
+ )
+ if test "x$enable_obsolete" != xyes; then
+ echo "*** Configuration ${target} 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
# Unsupported targets list. Do not put an entry in this list unless
# it would otherwise be caught by a more permissive pattern. The list
| *-*-linux*oldld* \
| *-*-rtemsaout* \
| *-*-rtemscoff* \
- | *-*-solaris2.[0-7] \
- | *-*-solaris2.[0-7].* \
+ | *-*-solaris2.[0-6] \
+ | *-*-solaris2.[0-6].* \
| *-*-sysv* \
| vax-*-vms* \
)
# support.
with_cpu=${with_cpu:-generic}
tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm"
- lto_binary_reader=lto-macho
;;
x86_64-*-darwin*)
with_cpu=${with_cpu:-generic}
tmake_file="${tmake_file} t-darwin ${cpu_type}/t-darwin64 t-slibgcc-darwin i386/t-crtpc i386/t-crtfm"
tm_file="${tm_file} ${cpu_type}/darwin64.h"
- lto_binary_reader=lto-macho
;;
i[34567]86-*-elf*)
tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h newlib-stdint.h i386/i386elf.h"
thread_file='posix'
fi
use_gcc_stdint=wrap
- lto_binary_reader=lto-coff
;;
i[34567]86-*-mingw* | x86_64-*-mingw*)
tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h dbxcoff.h i386/cygming.h i386/mingw32.h"
fi
tmake_file="${tmake_file} ${tmake_eh_file} i386/t-cygming"
case ${target} in
- x86_64-w64-*)
+ *-w64-*)
tmake_file="${tmake_file} i386/t-mingw-w64"
;;
- i[34567]86-w64-*)
- tmake_file="${tmake_file} i386/t-mingw-w32"
- ;;
*)
tmake_file="${tmake_file} i386/t-mingw32"
;;
cxx_target_objs="${cxx_target_objs} winnt-cxx.o msformat-c.o"
default_use_cxa_atexit=yes
use_gcc_stdint=wrap
- lto_binary_reader=lto-coff
case ${enable_threads} in
"" | yes | win32) thread_file='win32'
tmake_file="${tmake_file} i386/t-gthr-win32"
fi
use_gcc_stdint=wrap
;;
-mips-sgi-irix6.5*)
- tm_file="elfos.h ${tm_file} mips/iris6.h"
- tmake_file="mips/t-iris mips/t-iris6 mips/t-slibgcc-irix"
+mips-sgi-irix[56]*)
+ tm_file="elfos.h ${tm_file} mips/iris.h"
+ tmake_file="mips/t-iris mips/t-slibgcc-irix"
target_cpu_default="MASK_ABICALLS"
- tm_defines="${tm_defines} MIPS_ISA_DEFAULT=3 MIPS_ABI_DEFAULT=ABI_N32"
- # Only IRIX Development Foundation 1.3 for IRIX 6.5 provides stdint.h.
- use_gcc_stdint=wrap
+ case ${target} in
+ *-*-irix5*)
+ tm_file="${tm_file} mips/iris5.h"
+ use_gcc_stdint=provide
+ ;;
+
+ *-*-irix6*)
+ tm_file="${tm_file} mips/iris6.h"
+ tmake_file="${tmake_file} mips/t-iris6"
+ tm_defines="${tm_defines} MIPS_ISA_DEFAULT=3 MIPS_ABI_DEFAULT=ABI_N32"
+ case ${target} in
+ *-*-irix6.[0-4]*)
+ use_gcc_stdint=provide
+ ;;
+ *-*-irix6.5*)
+ # Only IRIX Development Foundation 1.3 for IRIX 6.5
+ # provides stdint.h.
+ use_gcc_stdint=wrap
+ ;;
+ esac
+ ;;
+ esac
if test "x$stabs" = xyes
then
- tm_file="${tm_file} dbx.h"
+ tm_file="${tm_file} dbx.h mips/dbxmdebug.h"
fi
if test "x$gnu_ld" = xyes
then
i[34567]86-*-darwin* | x86_64-*-darwin*)
tmake_file="${tmake_file} i386/t-fprules-softfp soft-fp/t-softfp"
;;
- i[34567]86-*-linux* | x86_64-*-linux* | \
- i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu | \
- i[34567]86-*-gnu*)
+ i[34567]86-*-linux* | x86_64-*-linux* | i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu)
tmake_file="${tmake_file} i386/t-fprules-softfp soft-fp/t-softfp i386/t-linux"
;;
i[34567]86-*-solaris2*)