[binutils-gdb] Don't link gdb twice against libiberty
Tom Tromey
tromey@sourceware.org
Tue Jan 14 23:43:00 GMT 2020
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=975f45b7e103929f3ed05d7a4dc71bb5fc320810
commit 975f45b7e103929f3ed05d7a4dc71bb5fc320810
Author: Tom Tromey <tom@tromey.com>
Date: Wed Jan 8 17:43:29 2020 -0700
Don't link gdb twice against libiberty
I noticed that gdb includes libiberty twice in its link line. I don't
think there's a need for this, so this patch removes one of the
references.
gdb/ChangeLog
2020-01-14 Tom Tromey <tom@tromey.com>
* Makefile.in (CLIBS): Remove second use of $(LIBIBERTY).
Change-Id: I43bb7100660867081f937c67ea70ff751c62bbfb
Diff:
---
gdb/ChangeLog | 4 ++++
gdb/Makefile.in | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7a69109..213f2d0 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2020-01-14 Tom Tromey <tom@tromey.com>
+ * Makefile.in (CLIBS): Remove second use of $(LIBIBERTY).
+
+2020-01-14 Tom Tromey <tom@tromey.com>
+
* nat/linux-btrace.c: Don't include <config.h>.
* nat/linux-ptrace.c: Don't include <config.h>.
* nat/x86-linux-dregs.c: Don't include <config.h>.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 5f63c61..45d1586 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -615,7 +615,7 @@ CLIBS = $(SIM) $(READLINE) $(OPCODES) $(BFD) $(LIBCTF) $(ZLIB) \
$(XM_CLIBS) $(GDBTKLIBS) \
@LIBS@ @GUILE_LIBS@ @PYTHON_LIBS@ \
$(LIBEXPAT) $(LIBLZMA) $(LIBBABELTRACE) $(LIBIPT) \
- $(LIBIBERTY) $(WIN32LIBS) $(LIBGNU) $(LIBICONV) \
+ $(WIN32LIBS) $(LIBGNU) $(LIBICONV) \
$(LIBMPFR) $(SRCHIGH_LIBS) $(LIBXXHASH) $(PTHREAD_LIBS)
CDEPS = $(NAT_CDEPS) $(SIM) $(BFD) $(READLINE_DEPS) $(LIBCTF) \
$(OPCODES) $(INTL_DEPS) $(LIBIBERTY) $(CONFIG_DEPS) $(LIBGNU) \
More information about the Gdb-cvs
mailing list