public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] sim: build: clean up unused codegen logic
@ 2022-12-27  5:39 Michael Frysinger
  0 siblings, 0 replies; only message in thread
From: Michael Frysinger @ 2022-12-27  5:39 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b19d96d13942eb1ba28f550da872d2a30c7a9229

commit b19d96d13942eb1ba28f550da872d2a30c7a9229
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Sun Dec 25 13:46:30 2022 -0500

    sim: build: clean up unused codegen logic
    
    Now that all igen ports are in the top-level makefile, we don't need
    this logic in any subdirs anymore, so clean it up.

Diff:
---
 sim/arch-subdir.mk.in     | 3 ---
 sim/common/Make-common.in | 9 +--------
 2 files changed, 1 insertion(+), 11 deletions(-)

diff --git a/sim/arch-subdir.mk.in b/sim/arch-subdir.mk.in
index e6c779a20d5..cfde3f3fb78 100644
--- a/sim/arch-subdir.mk.in
+++ b/sim/arch-subdir.mk.in
@@ -73,6 +73,3 @@ SIM_INLINE = @SIM_INLINE@
 SIM_HW_CFLAGS = @SIM_HW_CFLAGS@
 SIM_HW_OBJS = $(SIM_HW_DEVICES:%=dv-%.o)
 @SIM_ENABLE_HW_FALSE@SIM_HW_OBJS =
-
-# TODO: Delete this once mips/Makefile.in igen moves to mips/local.mk.
-IGEN_FLAGS_SMP = @IGEN_FLAGS_SMP@
diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in
index 1e1ea0e7a20..f36cad4befd 100644
--- a/sim/common/Make-common.in
+++ b/sim/common/Make-common.in
@@ -50,7 +50,6 @@ include $(srcroot)/gdb/silent-rules.mk
 
 ifeq ($(V),0)
 ECHO_STAMP = @echo "  GEN   "
-ECHO_IGEN  = @echo "  IGEN   $(<F)";
 else
 ECHO_STAMP = @:
 endif
@@ -79,11 +78,6 @@ COMPILE.post = -c -o $@
 COMPILE = $(ECHO_CC) $(COMPILE.pre) $(ALL_CFLAGS) $(COMPILE.post)
 POSTCOMPILE = @true
 
-# igen leaks memory, and therefore makes AddressSanitizer unhappy.  Disable
-# leak detection while running it.
-IGEN = ../igen/igen$(EXEEXT)
-IGEN_RUN = ASAN_OPTIONS=detect_leaks=0 $(IGEN) $(IGEN_FLAGS_SMP)
-
 # Each simulator's Makefile.in defines one or more of these variables
 # to override our settings as necessary.  There is no need to define these
 # in the simulator's Makefile.in if one is using the default value.  In fact
@@ -271,8 +265,7 @@ TAGS: force
 mostlyclean clean: $(SIM_EXTRA_CLEAN)
 	rm -f *.[oa] *~ core \
 		run$(EXEEXT) libsim.a \
-		modules.c stamp-modules \
-		tmp-mloop.hin tmp-mloop.h tmp-mloop.cin tmp-mloop.c
+		modules.c stamp-modules
 
 distclean maintainer-clean realclean: clean
 	rm -f TAGS Makefile

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-12-27  5:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-27  5:39 [binutils-gdb] sim: build: clean up unused codegen logic 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).