libctf: add the object index and function index sections
[deliverable/binutils-gdb.git] / libctf / ChangeLog
index d0d0d6785c155f0e5c9fb6f3c7ca18c3863f2c6c..64d644f8a6c2daf557ba342638be70ea1f033c55 100644 (file)
@@ -1,3 +1,24 @@
+2019-07-13  Nick Alcock  <nick.alcock@oracle.com>
+
+       * ctf-open.c (init_symtab): Check for overflow against the right
+       section.
+       (upgrade_header): Set cth_objtidxoff, cth_funcidxoff to zero-length.
+       (upgrade_types_v1): Note that these sections are not checked.
+       (flip_header): Endian-swap the header fields.
+       (flip_ctf): Endian-swap the sections.
+       (flip_objts): Update comment.
+       (ctf_bufopen): Check header offsets and alignment for validity.
+
+2019-07-13  Nick Alcock  <nick.alcock@oracle.com>
+
+       * ctf-open-bfd.c: Add <assert.h>.
+       (ctf_bfdopen_ctfsect): Open string and symbol tables using
+       techniques borrowed from bfd_elf_sym_name.
+       (ctf_new_archive_internal): Improve comment.
+       * ctf-archive.c (ctf_arc_close): Do not free the ctfi_strsect.
+       * ctf-open.c (ctf_bufopen): Allow opening with a string section but
+       no symbol section, but not vice versa.
+
 2019-07-08  Nick Alcock  <nick.alcock@oracle.com>
 
        * ctf-impl.h (ctf_file_t): New field ctf_openflags.
This page took 0.024005 seconds and 4 git commands to generate.