Improve the DWARF decoder's ability to describe the DW_AT_discr_list attribute.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
index bbb5570fd650533b0060e1a780a44acc0b5c47f9..4de9a9302c9f8e2306b0a9ea7071c81f066a49df 100644 (file)
@@ -1,3 +1,189 @@
+2019-08-27  Nick Clifton  <nickc@redhat.com>
+
+       PR 24510
+       * dwarf.c (MAX_CU_NESTING): New constant.
+       (level_type_signed): New static array.
+       (skip_attr_bytes): New function.
+       (get_type_signedness): New function.
+       (read_and_print_leb128): New function.
+       (display_discr_list): New function.
+       (read_and_display_attr_value): Add start parameter.
+       Use new functions when handling DW_AT_type and DW_AT_discr_list.
+       (read_and_display_attr): Add start parameter.  Pass to
+       read_and_display_attr_value.
+       (process_debug_info): Update call to read_and_display_attr.
+       (display_formatted_table): Likewise.
+       (display_debug_lines_decoded): Likewise.  Also add start
+       parameter.
+       (display_debug_lines): Likewise.
+       * testsuite/binutils-all/dwarf-attributes.S: Update discrimination
+       lists.
+       * testsuite/binutils-all/dwarf-attributes.W: Update expected
+       output.
+
+2019-08-26  Alan Modra  <amodra@gmail.com>
+
+       PR 24938
+       * debug.c (debug_write_type): Call empty_type for NULL type here..
+       (debug_write_type): ..rather than in just one case here.
+
+2019-08-23  Nick Clifton  <nickc@redhat.com>
+
+       PR 24829
+       * dwarf.c (check_uvalue): New function.  Ensures that a block's
+       size is valid.
+       (read_and_display_attr_value): Use check_value when processsing
+       DW_FORM_block<n> attributes.
+
+2019-08-22  Nick Clifton  <nickc@redhat.com>
+
+       PR 24921
+       * dwarf.c (process_cu_tu_index): Handle the case where a table
+       does not have any columns.
+
+2019-08-19  Alan Modra  <amodra@gmail.com>
+
+       PR 24898
+       * dwarf.c (display_debug_frames): Use the read_cie check and error
+       for augmentation data length.
+
+2019-08-17  Alan Modra  <amodra@gmail.com>
+
+       PR 24911
+       * dwarf.c (comp_addr_base): Dereference args.
+
+2019-08-16  Alan Modra  <amodra@gmail.com>
+
+       PR 24909
+       PR 23499
+       * readelf.c (get_symbol_version_string): Set sym_info earlier.
+
+2019-08-15  Nick Clifton  <nickc@redhat.com>
+
+       PR 24767
+       * doc/binutils.texi (nm): Document the 'n' symbol type.
+
+2019-08-15  Christophe Vidal  <support@krizalys.com>
+
+       * docs/binutils.texi: Fixed notice message disassembler options
+       section of the man page.
+
+2019-08-09  Mihailo Stojanovic  <mihailo.stojanovic@rt-rk.com>
+
+       * readelf.c (get_mips_dynamic_type): Return MIPS_XHASH dynamic type.
+       (get_mips_section_type_name): Return MI{S_XHASH name string.
+       (dynamic_section_mips_val): Initialize the .MIPS.xhash dynamic
+       info.
+       (process_symbol_table): Initialize the .MIPS.xhash section
+       pointer. Adjust the readelf output to support the new section.
+       (process_object): Set the .MIPS.xhash dynamic info to zero.
+
+2019-08-09  Tamar Christina  <tamar.christina@arm.com>
+
+       * testsuite/binutils-all/arm/in-order-all.d: Skip on pe, wince, coff.
+       * testsuite/binutils-all/arm/in-order.d: Likewise.
+       * testsuite/binutils-all/arm/out-of-order-all.d: Likewise.
+       * testsuite/binutils-all/arm/out-of-order.d: Likewise.
+
+2019-08-08  Nick Clifton  <nickc@redhat.com>
+
+       PR 24887
+       * readelf.c (process_notes_at): Left justify the "Data size"
+       column heading.
+       * testsuite/binutils-all/i386/empty.d: Adjust for new output format.
+       * testsuite/binutils-all/i386/ibt.d: Likewise.
+       * testsuite/binutils-all/i386/pr21231a.d: Likewise.
+       * testsuite/binutils-all/i386/pr21231b.d: Likewise.
+       * testsuite/binutils-all/i386/shstk.d: Likewise.
+       * testsuite/binutils-all/note-2-32.d: Likewise.
+       * testsuite/binutils-all/note-2-64.d: Likewise.
+       * testsuite/binutils-all/x86-64/empty-x32.d: Likewise.
+       * testsuite/binutils-all/x86-64/empty.d: Likewise.
+       * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise.
+       * testsuite/binutils-all/x86-64/ibt.d: Likewise.
+       * testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
+       * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
+       * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
+       * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
+       * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
+       * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
+       * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
+       * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
+       * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
+       * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
+       * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise.
+       * testsuite/binutils-all/x86-64/shstk.d: Likewise.
+
+2019-08-08  Nick Clifton  <nickc@redhat.com>
+
+       * testsuite/gentestdlls.c (main): Move declaration of loop
+       variable outside of the for() statement.
+
+2019-08-08  Jordan Rupprecht  <rupprecht@google.com>
+
+       * readelf.c (process_note): Mask unknown description data bytes.
+
+2019-08-08  Alan Modra  <amodra@gmail.com>
+
+       * readelf.c (get_data): Improve overflow checks.
+
+2019-08-07  Nick Clifton  <nickc@redhat.com>
+
+       PR 24777
+       * doc/binutils.texi: Ensure consistent formating of title strings
+       for man pages.  Extend the title of the size man page to be more
+       informative.
+
+2019-08-07  Omair Majid  <omajid@redhat.com>
+
+       * testsuite/binutils-all/objdump.exp
+       (test_objdump_dotnet_assemblies): Fix test to distinguish errors
+       in parsing simple pei-i386 and pei-x86-64 vs parsing the newly
+       introduced machine types.
+       * testsuite/gentestdlls.c (write_simple_dll): New function.
+       (main): Generate simple and Linux-specific variants of pei-i386
+       and pei-x86-64 files so both can be used by tests.
+
+2019-08-07  Alan Modra  <amodra@gmail.com>
+
+       PR 24876
+       * readelf.c (dump_ia64_unwind): Check that buffer is large
+       enough for "stamp" before reading.
+
+2019-08-05  Nick Clifton  <nickc@redhat.com>
+
+       PR 24874
+       * objcopy.c (merge_gnu_build_notes): Do not insist on the first
+       note being a version note.
+       Remove spurious debugging fprintf.
+
+2019-08-05  Nick Clifton  <nickc@redhat.com>
+
+       PR 24829
+       * readelf.c (apply_relocations): Catch potential integer overflow
+       whilst checking reloc location against section size.
+
+2019-08-02  Alan Modra  <amodra@gmail.com>
+
+       PR 24871
+       * readelf.c (ABSADDR): Delete.
+       (dump_ia64_unwind): Expand ABSADDR.  Check validity of info.section.
+
+2019-07-29  Martin Liska  <mliska@suse.cz>
+
+       PR 24768
+       * nm.c (filter_symbols): Set report_plugin_err if
+       error is reported.
+       (display_rel_file): Report error for a missing LTO plugin.
+
+2019-07-26  Alan Modra  <amodra@gmail.com>
+
+       PR 24798
+       * dwarf.c (process_cu_tu_index): Avoid integer overflow on 64-bit
+       systems by casting ncols and nslots expressions to size_t.  Display
+       number of columns and slots before giving up due to buffer overflow.
+       Use %u to display unsigned ints.  Perform more pointer wrap tests.
+
 2019-07-25  Tom Tromey <tromey@adacore.com>
 
        PR 24809
This page took 0.026111 seconds and 4 git commands to generate.