aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-11-11 23:37:44 +0700
committerMike Frysinger <vapier@gentoo.org>2022-12-22 19:04:23 -0500
commit2ac6aa431ecf8bf6afdc18020f3d6e55458df223 (patch)
tree7860c7c10e69cfc8497607c61a3e5c296efb6c5c
parent51b500b5a0e8050b3ece74aa8a4c1b8f5cf6737b (diff)
downloadbinutils-2ac6aa431ecf8bf6afdc18020f3d6e55458df223.zip
binutils-2ac6aa431ecf8bf6afdc18020f3d6e55458df223.tar.gz
binutils-2ac6aa431ecf8bf6afdc18020f3d6e55458df223.tar.bz2
sim: mips: merge mips64vr4300 with existing multi-run build
The existing mips64vr-* multi-run build already handles mips4300 targets, so reuse that for mips64vr43* targets too. This moves more logic from build-time to runtime so we can have a single binary that supports many targets.
-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 8096368..bc762fc 100755
--- a/sim/mips/configure
+++ b/sim/mips/configure
@@ -1847,9 +1847,6 @@ case "${target}" in
sim_igen_filter="32,f"
sim_igen_machine="-M r3900"
;;
- mips64vr43*) sim_gen=IGEN
- sim_igen_machine="-M mipsIV"
- ;;
mips64vr5*) sim_gen=IGEN
sim_igen_machine="-M vr5000"
;;
@@ -1859,7 +1856,7 @@ case "${target}" in
sim_igen_filter="32,64,f"
sim_m16_filter="16"
;;
- mips64vr-* | mips64vrel-*)
+ mips64vr43* | 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 bdea84e..a09e9a1 100644
--- a/sim/mips/configure.ac
+++ b/sim/mips/configure.ac
@@ -20,9 +20,6 @@ case "${target}" in
sim_igen_filter="32,f"
sim_igen_machine="-M r3900"
;;
- mips64vr43*) sim_gen=IGEN
- sim_igen_machine="-M mipsIV"
- ;;
mips64vr5*) sim_gen=IGEN
sim_igen_machine="-M vr5000"
;;
@@ -32,7 +29,7 @@ case "${target}" in
sim_igen_filter="32,64,f"
sim_m16_filter="16"
;;
- mips64vr-* | mips64vrel-*)
+ mips64vr43* | mips64vr-* | mips64vrel-*)
sim_gen=MULTI
sim_multi_configs="\
vr4100:mipsIII,mips16,vr4100:32,64:mips4100,mips4111\