public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] sim: mips: merge mips64vr4300 with existing multi-run build
@ 2022-12-23 0:04 Michael Frysinger
0 siblings, 0 replies; only message in thread
From: Michael Frysinger @ 2022-12-23 0:04 UTC (permalink / raw)
To: gdb-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2ac6aa431ecf8bf6afdc18020f3d6e55458df223
commit 2ac6aa431ecf8bf6afdc18020f3d6e55458df223
Author: Mike Frysinger <vapier@gentoo.org>
Date: Fri Nov 11 23:37:44 2022 +0700
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.
Diff:
---
sim/mips/configure | 5 +----
sim/mips/configure.ac | 5 +----
2 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/sim/mips/configure b/sim/mips/configure
index 80963681d4e..bc762fc04f8 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 bdea84e821c..a09e9a14c79 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\
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-12-23 0:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-23 0:04 [binutils-gdb] sim: mips: merge mips64vr4300 with existing multi-run build Michael Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).