gdbsupport: re-indent ptrace.m4
[deliverable/binutils-gdb.git] / binutils / ChangeLog
index 98823188e9c53a64d13bf2a74b9e52291691f267..4ae34af492803cc3dd69fba8d27e43c674cc3409 100644 (file)
@@ -1,3 +1,244 @@
+2020-10-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/26703
+       * readelf.c (decode_x86_isa): Handle
+       * GNU_PROPERTY_X86_ISA_1_BASELINE.
+       * testsuite/binutils-all/i386/empty.d: Updated.
+       * 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/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.
+
+2020-10-29  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/26808
+       * dwarf.c (abbrev_list): Add abbrev_base.
+       (new_abbrev_list): Add an abbrev_base argument and record it.
+       (find_abbrev_list_by_abbrev_offset): Add an abbrev_base argument
+       and match it.
+       (process_debug_info): Pass abbrev_base to new_abbrev_list and
+       find_abbrev_list_by_abbrev_offset.
+       (display_debug_abbrev): Pass 0 abbrev_base to new_abbrev_list
+       and find_abbrev_list_by_abbrev_offset.
+       * testsuite/binutils-all/x86-64/pr26808.dump: New file.
+       * testsuite/binutils-all/x86-64/pr26808.dwp.bz2: Likewise.
+       * testsuite/binutils-all/x86-64/x86-64.exp: Run PR binutils/26808
+       test.
+
+2020-10-29  Nick Clifton  <nickc@redhat.com>
+
+       PR 26805
+       * objcopy.c (is_dwo_section): Check for missing or short section
+       names.
+
+2020-10-26  Andreas Rammhold <andreas@rammhold.de>
+
+       * README-how-to-make-a-release: Use sha256sum instead of md5sum.
+
+2020-10-28  Nick Clifton  <nickc@redhat.com>
+
+       PR 26795
+       * elfedit.c (process_archive): Remove spurious call to free().
+
+2020-10-27  Nick Clifton  <nickc@redhat.com>
+
+       * dwarf.c (struct abbrev_list): New structure.  Used to collect
+       lists of abbreviation sets.
+       (struct abbrev_map): New structure.  Used to map CU offsets to
+       abbreviation offsets.
+       (record_abbrev_list): New function.  A new entry to an
+       abbreviation list.
+       (free_all_abbrevs): Update to free abbreviation lists.
+       (new_abbrev_list): New function.  Start a new abbreviation
+       list.
+       (find_abbrev_list_by_abbrev_offset): New function.
+       (find_abbrev_map_by_offset): New function.
+       (add_abbrev): Add abbrev_list parameter.
+       (add_abbrev_attr): Likewise.
+       (process_abbrev_section): Rename to process_abbrev_set and add
+       list parameter.
+       (get_type_abbrev_from_form): New function.  Attempts to decode the
+       forms used by DW_AT_type attributes.
+       (get_type_signedness): Display type names if operating in wide
+       mode.  Use get_type_abbrev_from_form.
+       (read_and_display_attr_value): Use get_type_abbrev_from_form.
+       (process_debug_info): Pre-parse the CU headers to collate all the
+       abbrevs before starting the main scan.
+       (process_debug_abbrev): Do not free any loaded abbrevs.
+       (free_debug_memory): Free the abbrev maps.
+
+2020-10-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/binutils-all/objcopy.exp (objcopy_test): Report
+       error message on error.
+
+2020-10-22  Dr. David Alan Gilbert  <dgilbert@redhat.com>
+
+       * windmc.c (write_header_define): Fix printf format.
+       (write_header): Likewise.
+
+2020-10-21  Nick Clifton  <nickc@redhat.com>
+
+       * dwarf.c (skip_attr_bytes): Accept DWARF versions higher than 4
+       when processing the DW_FORM_ref_addr form.
+       Skip bytes in DW_FORM_block and DW_FORM_exprloc forms.
+       Handle DW_FORM_indirect.
+       (get_type_signedness): Allow a limited amount of recursion.
+       Do not attempt to decode types that use the DW_FORM_ref_addr form.
+       (read_and_display_attr_value):  Do not attempt to decode types
+       that use the DW_FORM_ref_addr form.
+
+2020-10-20  Alan Modra  <amodra@gmail.com>
+
+       * readelf.c: Delete whitespace at end of line throughout.
+       (SECTION_NAME, SECTION_NAME_VALID): New.
+       (SECTION_NAME_PRINT): Rename from SECTION_NAME.  Formatting.
+       (printable_section_name, dump_relocations): Use SECTION_NAME_PRINT.
+       (process_section_headers, process_section_groups): Likewise.
+       (shdr_to_ctf_sect): Likewise.
+       (find_section, find_section_in_set): Use SECTION_NAME_VALID.
+       (ia64_process_unwind, hppa_process_unwind): Likewise.
+       (display_debug_section, initialise_dumps_byname): Likewise.
+       (process_lto_symbol_tables): Likewise.  Check trailing period of
+       lto symbol table names.
+       (display_lto_symtab): Use sizeof instead of strlen.
+
+2020-10-20  Nelson Chu  <nelson.chu@sifive.com>
+
+       * MAINTAINERS (RISC-V): Add myself as RISC-V co-maintainer.
+
+2020-10-19  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (do_lto_syms): New local.
+       (long_option_values): Add OPTION_LTO_SYMS.
+       (options): Add --lto-syms.
+       (usage): Mention the new option.
+       (parse_args): Parse the new option.
+       (get_lto_kind): New function.
+       (get_lto_visibility): New function.
+       (get_lto_sym_type): New function.
+       (display_lto_symtab): New function - displays the contents of an
+       LTo symbol table section.
+       (process_lto_symbol_tables): New functions.  Calls
+       dipslay_lto_symtab on any LTO symbol table section.
+       (process_object_file): Call process_lto_symbol_tables.
+       * doc/binutils.texi: Document the new option.
+       * NEWS: Mention the new feature.
+
+2020-10-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/26703
+       * readelf.c (decode_x86_compat_2_isa): New function.
+       (decode_x86_isa): Updated for new X86_ISA_1_XXX bits.
+       (decode_x86_feature_1): Handle GNU_PROPERTY_X86_FEATURE_2_MASK.
+       (print_gnu_property_note): Handle X86_COMPAT_2_ISA_1_USED,
+       and X86_COMPAT_2_ISA_1_NEEDED.
+       * testsuite/binutils-all/i386/pr21231b.s: Updated to the current
+       GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
+       values.
+       * testsuite/binutils-all/x86-64/pr21231b.s: Likewise.
+       * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
+       * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
+       * testsuite/binutils-all/x86-64/pr23494c.s: Likewise.
+       * testsuite/binutils-all/i386/empty.d: Updated.
+       * 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/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.
+
+2020-10-06  Nick Clifton  <nickc@redhat.com>
+
+       * objcopy.c (copy_object): Compare input and output sections by
+       pointer rather than name.
+
+2020-10-05  Nick Clifton  <nickc@redhat.com>
+
+       PR 26698
+       * windmc.c (mc_unify_path): Fix typo checking character at end of
+       pathname.
+
+2020-10-05  Samanta Navarro  <ferivoz@riseup.net>
+
+       * doc/binutils.texi: Fix spelling mistakes.
+
+2020-09-29  Mark Wielaard  <mark@klomp.org>
+
+       * dwarf.c (display_loclists_list): Handle DW_LLE_start_end and
+       DW_LLE_start_length. Only add base_address for DW_LLE_offset_pair.
+
+2020-09-25  Alan Modra  <amodra@gmail.com>
+
+       * elfcomm.c (byte_put_little_endian, byte_put_big_endian): Support
+       more field sizes.
+       * readelf.c (target_specific_reloc_handling <MSP430>): Limit
+       allowed reloc_size.  Don't read_leb128 outside of section.
+
+2020-09-23  Mark Wielaard  <mark@klomp.org>
+
+       * dwarf.c (process_debug_info): Print Unit Type for DWARF5.
+       * testsuite/binutils-all/dw5.W: Adjust expected output.
+       * testsuite/binutils-all/dwarf-attributes.W: Likewise.
+
+2020-09-23  Mark Wielaard  <mark@klomp.org>
+
+       * dwarf.c (read_and_display_attr_value): Handle DW_FORM_ref_addr
+       for dwarf_version 5 just as version 3 and 4 (only 2 is
+       different).
+       (process_debug_info): Allow DW_UT_partial.
+
+2020-09-24  Nick Clifton  <nickc@redhat.com>
+
+       PR 26662
+       * doc/binutils.texi (nm): Document that 'c' is used for small
+       common symbols.
+
+2020-09-21  Ludovic Courtès  <ludo@gnu.org>
+
+       * doc/binutils.texi (objcopy, strip): Say that
+        '--strip-unneeded' implies '--strip-debug'.
+
+2020-09-16  Anatoly Parshintsev  <kupokupokupopo@gmail.com>
+
+       * verilog.c (verilog_write_address): Properly handle 64-bit
+       addresses to avoid truncation of the high part.
+
+2020-09-16  Alan Modra  <amodra@gmail.com>
+
+       * nm.c (print_symbol): Adjust elf_symbol_from invocation.
+       * objcopy.c (is_hidden_symbol): Likewise.
+
 2020-09-15  Nick Clifton  <nickc@redhat.com>
 
        * README-how-to-make-a-release (https): Add a reminder to create a
This page took 0.025055 seconds and 4 git commands to generate.