From: Mike Frysinger <vapier@gentoo.org>
To: gdb-patches@sourceware.org
Subject: [PATCH 1/2] sim: mips: delete unused constant variables
Date: Tue, 4 May 2021 08:42:56 -0400 [thread overview]
Message-ID: <20210504124257.3734-1-vapier@gentoo.org> (raw)
Since these never change, inline and delete them.
---
sim/mips/Makefile.in | 6 +-----
sim/mips/configure | 16 ++--------------
sim/mips/configure.ac | 10 ----------
3 files changed, 3 insertions(+), 29 deletions(-)
diff --git a/sim/mips/Makefile.in b/sim/mips/Makefile.in
index aa66bb3777f9..d8eba877fb8d 100644
--- a/sim/mips/Makefile.in
+++ b/sim/mips/Makefile.in
@@ -17,7 +17,7 @@ SIM_IGEN_OBJ = \
semantics.o \
idecode.o \
icache.o \
- @mips_igen_engine@ \
+ engine.o \
irun.o \
@@ -59,8 +59,6 @@ SIM_MULTI_OBJ = @sim_multi_obj@ \
itable.o \
multi-run.o \
-MIPS_EXTRA_LIBS = @mips_extra_libs@
-
SIM_OBJS = \
interp.o \
$(SIM_@sim_gen@_OBJ) \
@@ -81,8 +79,6 @@ SIM_EXTRA_DISTCLEAN = distclean-extra
all: $(SIM_@sim_gen@_ALL)
-SIM_EXTRA_LIBS = $(MIPS_EXTRA_LIBS)
-
SIM_EXTRA_DEPS = itable.h
diff --git a/sim/mips/configure b/sim/mips/configure
index 084e22f26ae9..4d2ada1f4d61 100755
--- a/sim/mips/configure
+++ b/sim/mips/configure
@@ -636,9 +636,7 @@ LIBOBJS
sim_default_model
sim_scache
cgen_breaks
-mips_extra_libs
XMKMF
-mips_igen_engine
sim_multi_obj
sim_multi_src
sim_multi_igen_configs
@@ -11227,7 +11225,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11230 "configure"
+#line 11228 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -11333,7 +11331,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11336 "configure"
+#line 11334 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12697,14 +12695,6 @@ fi
-# Choose simulator engine
-case "${target}" in
- *) mips_igen_engine="engine.o"
- ;;
-esac
-
-
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
$as_echo_n "checking for X... " >&6; }
@@ -12898,8 +12888,6 @@ else
$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
fi
-mips_extra_libs=""
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs in -lm" >&5
$as_echo_n "checking for fabs in -lm... " >&6; }
diff --git a/sim/mips/configure.ac b/sim/mips/configure.ac
index 593ee2bb4b0e..6c9a6b812e38 100644
--- a/sim/mips/configure.ac
+++ b/sim/mips/configure.ac
@@ -437,17 +437,7 @@ esac
SIM_AC_OPTION_HARDWARE($hw_extra_devices)
-# Choose simulator engine
-case "${target}" in
- *) mips_igen_engine="engine.o"
- ;;
-esac
-AC_SUBST(mips_igen_engine)
-
-
AC_PATH_X
-mips_extra_libs=""
-AC_SUBST(mips_extra_libs)
AC_CHECK_LIB(m, fabs)
AC_CHECK_FUNCS(aint anint sqrt)
--
2.31.1
next reply other threads:[~2021-05-04 12:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-04 12:42 Mike Frysinger [this message]
2021-05-04 12:42 ` [PATCH 2/2] sim: mips: always enable device models Mike Frysinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210504124257.3734-1-vapier@gentoo.org \
--to=vapier@gentoo.org \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).