aboutsummaryrefslogtreecommitdiff
path: root/libctf/ChangeLog
diff options
context:
space:
mode:
authorNick Alcock <nick.alcock@oracle.com>2021-01-05 13:25:56 +0000
committerNick Alcock <nick.alcock@oracle.com>2021-01-05 14:53:40 +0000
commit1038406a8f6609ad0a449746da70393b0835f699 (patch)
tree633a10646d1fff39581ac6008535f43f9393ebf0 /libctf/ChangeLog
parent37002871ac2111eb3c88f44659c3c67d2fde1997 (diff)
downloadbinutils-1038406a8f6609ad0a449746da70393b0835f699.zip
binutils-1038406a8f6609ad0a449746da70393b0835f699.tar.gz
binutils-1038406a8f6609ad0a449746da70393b0835f699.tar.bz2
libctf: rip out BFD_DEPENDENCIES / BFD_LIBADD
This complex morass inherited from libopcodes, which endeavours to implement the effect of specifying ../bfd/libbfd.la in _LIBADD without actually doing so, appears to be working around a libtool bug which as far as I can see is no longer present (i.e., the install directory no longer appears in -L arguments in libtool link-mode invocations, so there is no danger of picking up old libbfds or other dependent libraries). Replaced with a simple reference to libbfd.la in the appropriate place. Also adjusted things a little more so that libctf.la and libctf-nobfd.la are self-contained, even when linking statically. This opens up the possibility of running libtool to link against libctf from inside the (upcoming) testsuite. libctf/ChangeLog 2021-01-05 Nick Alcock <nick.alcock@oracle.com> * configure.ac (BFD_LIBADD): Remove. (BFD_DEPENDENCIES): Likewise. Remove associated cases. (SHARED_LIBADD): Rename to... (CTF_LIBADD): ... this. Stick in a suitable libiberty even when linking statically. * Makefile.am (libctf_nobfd_la_LIBADD): Adjust accordingly. libctf uses libintl. (libctf_la_LIBADD): Reference libbfd.la directly, not via BFD_LIBADD. (libctf_la_DEPENDENCIES): Remove. * Makefile.in: Regenerate. * configure: Likewise.
Diffstat (limited to 'libctf/ChangeLog')
-rw-r--r--libctf/ChangeLog15
1 files changed, 15 insertions, 0 deletions
diff --git a/libctf/ChangeLog b/libctf/ChangeLog
index 8ba75f3..7e4997e 100644
--- a/libctf/ChangeLog
+++ b/libctf/ChangeLog
@@ -1,5 +1,20 @@
2021-01-05 Nick Alcock <nick.alcock@oracle.com>
+ * configure.ac (BFD_LIBADD): Remove.
+ (BFD_DEPENDENCIES): Likewise. Remove associated cases.
+ (SHARED_LIBADD): Rename to...
+ (CTF_LIBADD): ... this. Stick in a suitable libiberty even when
+ linking statically.
+ * Makefile.am (libctf_nobfd_la_LIBADD): Adjust accordingly.
+ libctf uses libintl.
+ (libctf_la_LIBADD): Reference libbfd.la directly, not via
+ BFD_LIBADD.
+ (libctf_la_DEPENDENCIES): Remove.
+ * Makefile.in: Regenerate.
+ * configure: Likewise.
+
+2021-01-05 Nick Alcock <nick.alcock@oracle.com>
+
* ctf-decl.c (ctf_decl_push): Exclude slices from the decl stack.
* ctf-types.c (ctf_type_aname): No longer deal with slices here.
* ctf-dump.c (ctf_dump_membstate_t) <cdm_toplevel_indent>: Constify.