This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
When linking GDB against an "all-targets" version of libopcodes and libbfd, link errors occur due to calls from opcodes->bfd. Since bfd is a lower level library, it should be linked after libopcodes. This patch does just that. Okay for mainline?
* Makefile.in (CLIBS): Link libbfd after libopcodes, as it is a more primitive library.
Index: Makefile.in =================================================================== RCS file: /home/bje/src-cvs/src/gdb/Makefile.in,v retrieving revision 1.705 diff -u -p -r1.705 Makefile.in --- Makefile.in 11 Mar 2005 02:24:20 -0000 1.705 +++ Makefile.in 14 Mar 2005 02:33:42 -0000 @@ -372,7 +372,7 @@ INTERNAL_LDFLAGS = $(CFLAGS) $(GLOBAL_CF INSTALLED_LIBS=-lbfd -lreadline -lopcodes -liberty \ $(XM_CLIBS) $(TM_CLIBS) $(NAT_CLIBS) $(GDBTKLIBS) @LIBS@ \ -lintl -liberty -CLIBS = $(SIM) $(BFD) $(READLINE) $(OPCODES) $(INTL) $(LIBIBERTY) \ +CLIBS = $(SIM) $(READLINE) $(OPCODES) $(BFD) $(INTL) $(LIBIBERTY) \ $(XM_CLIBS) $(TM_CLIBS) $(NAT_CLIBS) $(GDBTKLIBS) @LIBS@ \ $(LIBICONV) \ $(LIBIBERTY) $(WIN32LIBS)
Attachment:
signature.asc
Description: OpenPGP digital signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |