summaryrefslogtreecommitdiffstats
path: root/sim
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-12-09 04:01:06 +0000
committerAndrew Cagney <cagney@redhat.com>1997-12-09 04:01:06 +0000
commitc02ed6a8a3e3c8bd68f7212c4a5e03f781d4f122 (patch)
tree3a1c99bc2f18fe94cce452ca6fc1ae84375afb78 /sim
parent09e4fde23070f6bb86237a4170bec3ea4a486561 (diff)
downloadppe42-binutils-c02ed6a8a3e3c8bd68f7212c4a5e03f781d4f122.tar.gz
ppe42-binutils-c02ed6a8a3e3c8bd68f7212c4a5e03f781d4f122.zip
For bfd, add vr5400 and vr5000 mips machine variants to list of machines.
For sim/mips, enable multi-sim support when mips64vr5400-elf is target. For sim/igen, allow specification of a default machine (will need more work later).
Diffstat (limited to 'sim')
-rw-r--r--sim/mips/ChangeLog9
-rw-r--r--sim/mips/configure.in19
2 files changed, 17 insertions, 11 deletions
diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog
index b0bb4be98c..7a09d164a5 100644
--- a/sim/mips/ChangeLog
+++ b/sim/mips/ChangeLog
@@ -1,3 +1,10 @@
+start-sanitize-vr5400
+Tue Dec 9 12:02:12 1997 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * configure.in (sim_igen_filter): Multi-sim vr5400 - vr5000 or
+ vr5400.
+
+end-sanitize-vr5400
Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
* configure: Regenerated to track ../common/aclocal.m4 changes.
@@ -17,7 +24,7 @@ start-sanitize-vr5400
* mips.igen: Include mdmx.igen.
* Makefile.in (IGEN_INCLUDE): Add mdmx.igen.
-start-sanitize-vr5400
+end-sanitize-vr5400
Sun Nov 23 01:45:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
* sim-main.h (sim-fpu.h): Include.
diff --git a/sim/mips/configure.in b/sim/mips/configure.in
index 1949aeda67..84e52e4cf0 100644
--- a/sim/mips/configure.in
+++ b/sim/mips/configure.in
@@ -98,34 +98,33 @@ SIM_AC_OPTION_FLOAT($mips_fpu)
# Select the IGEN architecture
#
sim_use_gen=NO
-sim_igen_machine="mipsIV"
-sim_m16_machine="mips16"
+sim_igen_machine="-M mipsIV"
+sim_m16_machine="-M mips16"
sim_igen_filter="32,64,f"
sim_m16_filter="16"
case "${target}" in
# start-sanitize-tx19
mipstx19*-*-*) sim_default_gen=M16
- sim_igen_machine="tx19"
- sim_m16_machine="tx19"
+ sim_igen_machine="-M tx19"
+ sim_m16_machine="-M tx19"
sim_igen_filter="32"
sim_m16_filter="16"
;;
# end-sanitize-tx19
# start-sanitize-r5900
mips64r59*-*-*) sim_default_gen=IGEN
- sim_igen_machine="r5900"
+ sim_igen_machine="-M r5900"
;;
# end-sanitize-r5900
# start-sanitize-vr5400
mips64vr54*-*-*) sim_default_gen=IGEN
sim_use_gen=IGEN
- sim_igen_machine="vr5400"
- #sim_igen_machine="vr5000,vr5400 -G gen-muli-sim"
+ sim_igen_machine="-M vr5000,vr5400 -G gen-multi-sim=vr5400"
;;
# end-sanitize-vr5400
mips64vr5*-*-*) sim_default_gen=IGEN
- sim_igen_machine="vr5000"
+ sim_igen_machine="-M vr5000"
;;
mips16*-*-*) sim_default_gen=M16
;;
@@ -135,8 +134,8 @@ case "${target}" in
*) sim_default_gen=IGEN
;;
esac
-sim_igen_flags="-F ${sim_igen_filter} -M ${sim_igen_machine}"
-sim_m16_flags=" -F ${sim_m16_filter} -M ${sim_m16_machine}"
+sim_igen_flags="-F ${sim_igen_filter} ${sim_igen_machine}"
+sim_m16_flags=" -F ${sim_m16_filter} ${sim_m16_machine}"
AC_SUBST(sim_igen_flags)
AC_SUBST(sim_m16_flags)
OpenPOWER on IntegriCloud