b637f306ba
* config.sub: Add tx19/r1900. * sim/mips/configure.in, sim/mips/gencode: Add tx19/r1900. * gcc/config.sub, gcc/configure: Add tx19/r1900. * gcc/config/mips/r1900.h, config/mips/t-r1900: New. * gas/config/tc-mips.c: Add tx19/r1900. * gcc/config/mips/mips.c: Don't build 16 bit to 32 bit stubs for TARGET_SOFT_FLOAT. * config.sub: Add "marketing-names" patch. * gcc/config.sub: Add "marketing-names" patch. * gcc/configure: Change "as" link from "../gas/as.new" to "../gas/as-new"; Same for "ld" link.
34 lines
954 B
Text
34 lines
954 B
Text
dnl Process this file with autoconf to produce a configure script.
|
|
sinclude(../common/aclocal.m4)
|
|
AC_PREREQ(2.5)dnl
|
|
AC_INIT(Makefile.in)
|
|
|
|
SIM_AC_COMMON
|
|
|
|
dnl Options available in this module
|
|
SIM_AC_OPTION_INLINE(0)
|
|
SIM_AC_OPTION_ENDIAN(0)
|
|
SIM_AC_OPTION_HOSTENDIAN
|
|
SIM_AC_OPTION_WARNINGS
|
|
|
|
|
|
# Ensure a reasonable default simulator is constructed:
|
|
case "${target}" in
|
|
# start-sanitize-tx19
|
|
mipstx19*-*-*) SIMCONF="-mips1 -mcpu=r1900 -mno-fp --warnings";;
|
|
# end-sanitize-tx19
|
|
# start-sanitize-r5900
|
|
mips64vr59*-*-*) SIMCONF="-mips3 --warnings -mcpu=r5900";;
|
|
# end-sanitize-r5900
|
|
mips64*-*-*) SIMCONF="-mips0 --warnings";;
|
|
mips16*-*-*) SIMCONF="-mips0 --warnings";;
|
|
mips*-*-*) SIMCONF="-mips2 --warnings";;
|
|
*) SIMCONF="-mips0 --warnings";;
|
|
esac
|
|
AC_SUBST(SIMCONF)
|
|
|
|
AC_CHECK_HEADERS(string.h strings.h stdlib.h stdlib.h)
|
|
AC_CHECK_LIB(m, fabs)
|
|
AC_CHECK_FUNCS(aint anint sqrt)
|
|
|
|
SIM_AC_OUTPUT
|