]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - binutils/ChangeLog
readelf.c: Use unsigned long to iterate over num_syms
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
index 51a21bf9e9f16e49034390bcbe74452b7f913bb9..d012f07f15bb6889176e416eb2f90e8a5027a282 100644 (file)
@@ -1,3 +1,82 @@
+2020-03-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * readelf.c (process_symbol_table): Use unsigned long for si.
+
+2020-03-19  Alan Modra  <amodra@gmail.com>
+
+       * elfcomm.c: Don't include bfd.h or bucomm.h.
+       (program_name): Declare.
+       (process_archive_index_and_symbols): Replace bfd_boolean with int,
+       and substitute FALSE and TRUE.
+       (setup_archive, setup_nested_archive): Likewise.
+       * elfcomm.h: Likewise.
+
+2020-03-19  Alan Modra  <amodra@gmail.com>
+
+       * readelf.c (process_archive): Always return via path freeing
+       memory.  Formatting.
+
+2020-03-19  Alan Modra  <amodra@gmail.com>
+
+       * readelf.c (process_netbsd_elf_note): Validate descsz before
+       accessing descdata.  Formatting.
+
+2020-03-19  Alan Modra  <amodra@gmail.com>
+
+       * elfcomm.c (setup_archive): Make file_size an off_t.  Comment.
+       * elfcomm.h (setup_archive): Update prototype.
+
+2020-03-16  Alan Modra  <amodra@gmail.com>
+
+       * readelf.c (get_symbols): New function.
+       (process_relocs, ia64_process_unwind, hppa_process_unwind),
+       (arm_process_unwind, get_symbol_for_build_attribute): Use it.
+
+2020-03-16  Alan Modra  <amodra@gmail.com>
+
+       * unwind-ia64.c (unw_decode_uleb128): Prevent overlarge shifts.
+       Detect shift overflows and check that terminating byte is found.
+       Print an error on a bad uleb128.
+
+2020-03-14  Alan Modra  <amodra@gmail.com>
+
+       * readelf.c (process_file): Clean ba_cache.
+
+2020-03-14  Alan Modra  <amodra@gmail.com>
+
+       * elfcomm.h (setup_archive): Update prototype.
+       * elfcomm.c (setup_archive): Add file_size parameter and sanity
+       check longnames_size.
+       (setup_nested_archive): Get file size and pass to setup_archive.
+       * elfedit.c (process_archive): Likewise.
+       * readelf.c (process_archive): Pass filedata->file_size to
+       setup_archive.
+
+2020-03-14  Alan Modra  <amodra@gmail.com>
+
+       * readelf.c (dump_section_as_strings): Free memory on error exit.
+       (dump_section_as_bytes, process_notes_at): Likewise.
+       (get_build_id): Free enote.
+
+2020-03-13  Kamil Rytarowski  <n54@gmx.com>
+
+       * readelf.c (get_netbsd_elfcore_note_type): Add support for
+       NT_NETBSDCORE_LWPSTATUS notes.
+
+2020-03-13  Alan Modra  <amodra@gmail.com>
+
+       * elfcomm.c (get_archive_member_name): Always return malloc'd
+       string or NULL.
+       * elfedit.c (process_archive): Tidy memory on all return paths.
+       * readelf.c (process_archive): Likewise.
+       (process_symbol_table): Likewise.
+       (ba_cache): New, replacing ..
+       (get_symbol_for_build_attribute): ..static vars here.  Free
+       strtab and symtab before loading new ones.  Reject symtab without
+       valid strtab in loop, breaking out of loop on valid symtab.
+       (process_file): Free ba_cache symtab and strtab here, resetting
+       ba_cache.
+
 2020-03-12  Alan Modra  <amodra@gmail.com>
 
        * readelf.c (process_section_headers): Don't just set