public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: gdb-patches@sourceware.org
Subject: [PATCH] sim: igen: drop libiberty linkage
Date: Sat, 30 Jan 2021 23:25:30 -0500	[thread overview]
Message-ID: <20210131042530.29580-1-vapier@gentoo.org> (raw)

This dir doesn't use anything from libiberty, so drop the linkage.
---
 sim/igen/Makefile.in  | 4 +---
 sim/igen/configure.ac | 3 ---
 2 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/sim/igen/Makefile.in b/sim/igen/Makefile.in
index 2949df73a2d1..6e3f92890196 100644
--- a/sim/igen/Makefile.in
+++ b/sim/igen/Makefile.in
@@ -81,8 +81,6 @@ MAKEOVERRIDES=
 LIB_INCLUDES	= -I$(srcdir)/../../include
 INCLUDES	= -I. -I$(srcdir) $(LIB_INCLUDES)
 
-LIBIBERTY_LIB	= @LIBIBERTY_LIB@
-
 BUILD_CFLAGS = \
 	$(CFLAGS_FOR_BUILD) \
 	$(IGEN_WARN_CFLAGS) \
@@ -117,7 +115,7 @@ IGEN_OBJS=\
 	gen.o
 
 igen: igen.o $(IGEN_OBJS)
-	$(CC_FOR_BUILD) $(BUILD_CFLAGS) $(BUILD_LDFLAGS) -o igen igen.o $(IGEN_OBJS) $(LIBIBERTY_LIB)
+	$(CC_FOR_BUILD) $(BUILD_CFLAGS) $(BUILD_LDFLAGS) -o igen igen.o $(IGEN_OBJS)
 
 igen.o: igen.c misc.h filter_host.h lf.h table.h ld-decode.h ld-cache.h ld-insn.h filter.h gen-model.h gen-itable.h gen-icache.h gen-idecode.h gen-engine.h gen-semantics.h gen-support.h gen.h igen.h 
 	$(CC_FOR_BUILD) $(BUILD_CFLAGS) -c $(srcdir)/igen.c
diff --git a/sim/igen/configure.ac b/sim/igen/configure.ac
index 12536c26be4e..50626943e4ff 100644
--- a/sim/igen/configure.ac
+++ b/sim/igen/configure.ac
@@ -14,14 +14,12 @@ if test "x$cross_compiling" = "xno" -a "x$host" != "xi386-windows"; then
   CC_FOR_BUILD='$(CC)'
   CFLAGS_FOR_BUILD='$(CFLAGS)'
   RANLIB_FOR_BUILD='$(RANLIB)'
-  LIBIBERTY_LIB=../../libiberty/libiberty.a
 else
   AR_FOR_BUILD=${AR_FOR_BUILD-ar}
   AR_FLAGS_FOR_BUILD=${AR_FLAGS_FOR_BUILD-rc}
   CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
   CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-"-g"}
   RANLIB_FOR_BUILD=${RANLIB_FOR_BUILD-ranlib}
-  LIBIBERTY_LIB=
 fi
 
 
@@ -41,7 +39,6 @@ AC_SUBST(AR_FLAGS_FOR_BUILD)
 AC_SUBST(CC_FOR_BUILD)
 AC_SUBST(CFLAGS_FOR_BUILD)
 AC_SUBST(RANLIB_FOR_BUILD)
-AC_SUBST(LIBIBERTY_LIB)
 
 AC_SUBST(AR)
 AC_SUBST(CFLAGS)
-- 
2.30.0


                 reply	other threads:[~2021-01-31  4:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20210131042530.29580-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).