diff options
author | Jackie Smith Cashion <jsmith@redhat.com> | 1996-06-05 08:16:16 +0000 |
---|---|---|
committer | Jackie Smith Cashion <jsmith@redhat.com> | 1996-06-05 08:16:16 +0000 |
commit | c98ec95dba6d3bc981607ca13e4efb034a6ee879 (patch) | |
tree | 1891ad1ae66e884a6580e6fcaf9bfd31e919dcfc /sim/mips/configure.in | |
parent | 60bcbf8d5127ed03e14ac05da184d1501a81a377 (diff) | |
download | gdb-c98ec95dba6d3bc981607ca13e4efb034a6ee879.zip gdb-c98ec95dba6d3bc981607ca13e4efb034a6ee879.tar.gz gdb-c98ec95dba6d3bc981607ca13e4efb034a6ee879.tar.bz2 |
Wed Jun 5 08:28:13 1996 James G. Smith <jsmith@cygnus.co.uk>
* configure.in: Define @SIMCONF@ depending on mips target.
* configure: Rebuild.
* Makefile.in (run): Add @SIMCONF@ to control simulator
construction.
* gencode.c: Change LOADDRMASK to 64bit memory model only.
* interp.c: Remove some debugging, provide more detailed error
messages, update memory accesses to use LOADDRMASK.
Diffstat (limited to 'sim/mips/configure.in')
-rw-r--r-- | sim/mips/configure.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sim/mips/configure.in b/sim/mips/configure.in index 534a897..fe9dccc 100644 --- a/sim/mips/configure.in +++ b/sim/mips/configure.in @@ -17,6 +17,13 @@ AR=${AR-ar} AC_SUBST(AR) AC_PROG_RANLIB +# Ensure a reasonable default simulator is constructed: +case "${target}" in + mips64*-*-*) SIMCONF="-mips0 --warnings";; + mips*-*-*) SIMCONF="-mips2 --warnings";; + *) SIMCONF="-mips0 --warnings";; +esac + # Put a plausible default for CC_FOR_BUILD in Makefile. AC_C_CROSS if test "x$cross_compiling" = "xno"; then @@ -30,5 +37,7 @@ AC_CHECK_HEADERS(string.h strings.h stdlib.h) AC_CHECK_LIB(m, fabs) AC_CHECK_FUNCS(aint anint) +AC_SUBST(SIMCONF) + AC_OUTPUT(Makefile, [case x$CONFIG_HEADERS in xconfig.h:config.in) echo > stamp-h ;; esac]) |