From 9a41ac160acccc225963456686bef678c4f3dc1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Thu, 6 May 2021 15:08:34 +0100 Subject: patches/gdb{,_host}-7.12.local.patch: added. --- patches/gdb-7.12.local.patch | 30 ++++++++++++++++++++++++++++++ patches/gdb_host-7.12.local.patch | 1 + 2 files changed, 31 insertions(+) create mode 100644 patches/gdb-7.12.local.patch create mode 120000 patches/gdb_host-7.12.local.patch diff --git a/patches/gdb-7.12.local.patch b/patches/gdb-7.12.local.patch new file mode 100644 index 00000000..f28cbef4 --- /dev/null +++ b/patches/gdb-7.12.local.patch @@ -0,0 +1,30 @@ +--- gdb-7.12/gdb/Makefile.in.orig 2016-10-07 18:09:21.000000000 +0100 ++++ gdb-7.12/gdb/Makefile.in 2021-05-06 13:28:59.930619686 +0100 +@@ -143,7 +143,7 @@ + + # Where is the BFD library? Typically in ../bfd. + BFD_DIR = ../bfd +-BFD = $(BFD_DIR)/libbfd.a ++BFD = $(BFD_DIR)/libbfd.la + BFD_SRC = $(srcdir)/$(BFD_DIR) + BFD_CFLAGS = -I$(BFD_DIR) -I$(BFD_SRC) + +@@ -468,7 +468,7 @@ + # disassemblers? + OPCODES_DIR = ../opcodes + OPCODES_SRC = $(srcdir)/$(OPCODES_DIR) +-OPCODES = $(OPCODES_DIR)/libopcodes.a ++OPCODES = $(OPCODES_DIR)/libopcodes.la + # Where are the other opcode tables which only have header file + # versions? + OP_INCLUDE = $(INCLUDE_DIR)/opcode +@@ -1407,7 +1407,8 @@ + # Removing the old gdb first works better if it is running, at least on SunOS. + gdb$(EXEEXT): gdb.o $(LIBGDB_OBS) $(ADD_DEPS) $(CDEPS) $(TDEPLIBS) + rm -f gdb$(EXEEXT) +- $(CC_LD) $(INTERNAL_LDFLAGS) $(WIN32LDAPP) \ ++ $(LIBTOOL) --heuristics=../opcodes/libtool --tag=CC --mode=link \ ++ $(CC_LD) $(INTERNAL_LDFLAGS) $(WIN32LDAPP) \ + -o gdb$(EXEEXT) gdb.o $(LIBGDB_OBS) \ + $(TDEPLIBS) $(TUI_LIBRARY) $(CLIBS) $(LOADLIBES) + diff --git a/patches/gdb_host-7.12.local.patch b/patches/gdb_host-7.12.local.patch new file mode 120000 index 00000000..076ed6b1 --- /dev/null +++ b/patches/gdb_host-7.12.local.patch @@ -0,0 +1 @@ +gdb-7.12.local.patch \ No newline at end of file -- cgit v1.2.3