aboutsummaryrefslogtreecommitdiff
path: root/sim/mips
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-11-11 23:52:59 +0700
committerMike Frysinger <vapier@gentoo.org>2022-12-22 21:20:44 -0500
commita54eee6db647fd52431543d3b2a26266ea31444d (patch)
treec7bfc4b908e5779714cf81c4e58a73ba0d3d4a39 /sim/mips
parentfa6f3b911fedef433c92b65798638c04ad7556d1 (diff)
downloadgdb-a54eee6db647fd52431543d3b2a26266ea31444d.zip
gdb-a54eee6db647fd52431543d3b2a26266ea31444d.tar.gz
gdb-a54eee6db647fd52431543d3b2a26266ea31444d.tar.bz2
sim: mips: merge mips64vr5000 with existing multi-run build
The existing mips64vr-* multi-run build already handles mips5000 targets, so reuse that for mips64vr5* targets too. This moves more logic from build-time to runtime so we can have a single binary that supports many targets.
Diffstat (limited to 'sim/mips')
-rwxr-xr-xsim/mips/configure5
-rw-r--r--sim/mips/configure.ac5
2 files changed, 2 insertions, 8 deletions
diff --git a/sim/mips/configure b/sim/mips/configure
index bc762fc..7975665 100755
--- a/sim/mips/configure
+++ b/sim/mips/configure
@@ -1847,16 +1847,13 @@ case "${target}" in
sim_igen_filter="32,f"
sim_igen_machine="-M r3900"
;;
- mips64vr5*) sim_gen=IGEN
- sim_igen_machine="-M vr5000"
- ;;
mips64vr41*) sim_gen=M16
sim_igen_machine="-M vr4100"
sim_m16_machine="-M vr4100"
sim_igen_filter="32,64,f"
sim_m16_filter="16"
;;
- mips64vr43* | mips64vr-* | mips64vrel-*)
+ mips64vr43* | mips64vr5* | mips64vr-* | mips64vrel-*)
sim_gen=MULTI
sim_multi_configs="\
vr4100:mipsIII,mips16,vr4100:32,64:mips4100,mips4111\
diff --git a/sim/mips/configure.ac b/sim/mips/configure.ac
index a09e9a1..56b7a91 100644
--- a/sim/mips/configure.ac
+++ b/sim/mips/configure.ac
@@ -20,16 +20,13 @@ case "${target}" in
sim_igen_filter="32,f"
sim_igen_machine="-M r3900"
;;
- mips64vr5*) sim_gen=IGEN
- sim_igen_machine="-M vr5000"
- ;;
mips64vr41*) sim_gen=M16
sim_igen_machine="-M vr4100"
sim_m16_machine="-M vr4100"
sim_igen_filter="32,64,f"
sim_m16_filter="16"
;;
- mips64vr43* | mips64vr-* | mips64vrel-*)
+ mips64vr43* | mips64vr5* | mips64vr-* | mips64vrel-*)
sim_gen=MULTI
sim_multi_configs="\
vr4100:mipsIII,mips16,vr4100:32,64:mips4100,mips4111\