gdb: fix whitespace issues in ChangeLog
[deliverable/binutils-gdb.git] / libctf / ChangeLog
index d6649986d480c36dab26f88756b86b0e8d349c40..bbd807dddfd2ae5322fb1bba9fa27fa52a79c8d4 100644 (file)
@@ -1,3 +1,105 @@
+2020-07-26  Eli Zaretskii  <eliz@gnu.org>
+
+       PR binutils/25155:
+       * ctf-create.c (EOVERFLOW): If not defined by system header,
+       redirect to ERANGE as a poor man's substitute.
+       * ctf-subr.c (ENOTSUP): If not defined, use ENOSYS instead.
+
+2020-07-22  Nick Alcock  <nick.alcock@oracle.com>
+
+       * ctf-create.c (ctf_dtd_insert): Add uintptr_t casts.
+       (ctf_dtd_delete): Likewise.
+       (ctf_dtd_lookup): Likewise.
+       (ctf_rollback): Likewise.
+       * ctf-hash.c (ctf_hash_lookup_type): Likewise.
+       * ctf-types.c (ctf_lookup_by_rawhash): Likewise.
+
+2020-07-22  Nick Alcock  <nick.alcock@oracle.com>
+
+       * ctf-lookup.c (ctf_lookup_by_name): Adjust.
+
+2020-07-22  Nick Alcock  <nick.alcock@oracle.com>
+
+       * ctf-archive.c (ctf_arc_bufopen): Endian-swap the archive magic
+       number if needed.
+
+2020-07-22  Nick Alcock  <nick.alcock@oracle.com>
+
+       * ctf-impl.h (ctf_list_splice): New.
+       * ctf-util.h (ctf_list_splice): Likewise.
+       * ctf-link.c (link_sort_inputs_cb_arg_t): Likewise.
+       (ctf_link_sort_inputs): Likewise.
+       (ctf_link_deduplicating_count_inputs): Likewise.
+       (ctf_link_deduplicating_open_inputs): Likewise.
+       (ctf_link_deduplicating_close_inputs): Likewise.
+       (ctf_link_deduplicating_variables): Likewise.
+       (ctf_link_deduplicating_per_cu): Likewise.
+       (ctf_link_deduplicating): Likewise.
+       (ctf_link): Call it.
+
+2020-07-22  Nick Alcock  <nick.alcock@oracle.com>
+
+       * ctf-link.c (ctf_link_one_input_archive_member): Check
+       CTF_LINK_OMIT_VARIABLES_SECTION.
+
+2020-07-22  Nick Alcock  <nick.alcock@oracle.com>
+
+       * ctf-impl.h (ctf_type_id_key): New, the key in the
+       cd_id_to_file_t.
+       (ctf_dedup): New, core deduplicator state.
+       (ctf_file_t) <ctf_dedup>: New.
+       <ctf_dedup_atoms>: New.
+       <ctf_dedup_atoms_alloc>: New.
+       (ctf_hash_type_id_key): New prototype.
+       (ctf_hash_eq_type_id_key): Likewise.
+       (ctf_dedup_atoms_init): Likewise.
+       * ctf-hash.c (ctf_hash_eq_type_id_key): New.
+       (ctf_dedup_atoms_init): Likewise.
+       * ctf-create.c (ctf_serialize): Adjusted.
+       (ctf_add_encoded): No longer static.
+       (ctf_add_reftype): Likewise.
+       * ctf-open.c (ctf_file_close): Destroy the
+       ctf_dedup_atoms_alloc.
+       * ctf-dedup.c: New file.
+        * ctf-decls.h [!HAVE_DECL_STPCPY]: Add prototype.
+       * configure.ac: Check for stpcpy.
+       * Makefile.am: Add it.
+       * Makefile.in: Regenerate.
+        * config.h.in: Regenerate.
+        * configure: Regenerate.
+
+2020-07-22  Nick Alcock  <nick.alcock@oracle.com>
+
+       * configure.ac: Add --enable-libctf-hash-debugging.
+       * aclocal.m4: Pull in enable.m4, for GCC_ENABLE.
+       * Makefile.in: Regenerated.
+       * configure: Likewise.
+       * config.h.in: Likewise.
+       * ctf-impl.h [ENABLE_LIBCTF_HASH_DEBUGGING]
+       (ctf_assert): Define to assert.
+
+2020-07-22  Nick Alcock  <nick.alcock@oracle.com>
+
+       * ctf-sha1.h: New, inline wrappers around sha1_init_ctx and
+       sha1_process_bytes.
+       * ctf-impl.h: Include it.
+       (ctf_sha1_init): New.
+       (ctf_sha1_add): Likewise.
+       (ctf_sha1_fini): Likewise.
+       * ctf-sha1.c: New, non-inline wrapper around sha1_finish_ctx
+       producing strings.
+       * Makefile.am: Add file.
+       * Makefile.in: Regenerate.
+
+2020-07-22  Nick Alcock  <nick.alcock@oracle.com>
+
+       * libctf.ver (ctf_link_set_variable_filter): Add.
+       * ctf-impl.h (ctf_file_t) <ctf_link_variable_filter>: New.
+       <ctf_link_variable_filter_arg>: Likewise.
+       * ctf-create.c (ctf_serialize): Adjust.
+       * ctf-link.c (ctf_link_set_variable_filter): New, set it.
+       (ctf_link_one_variable): Call it if set.
+
 2020-07-22  Nick Alcock  <nick.alcock@oracle.com>
 
        * ctf-link.c (ctf_link_one_variable): Check the dst_type for
This page took 0.024728 seconds and 4 git commands to generate.