gdbsupport: re-indent ptrace.m4
[deliverable/binutils-gdb.git] / binutils / ChangeLog
index dc369d3ba006f43cb70b0b7870b7a9315f3e4345..4ae34af492803cc3dd69fba8d27e43c674cc3409 100644 (file)
@@ -1,3 +1,465 @@
+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
+       new Bugzilla tag for the point release, once it has been published.
+
+2020-09-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * readelf.c (get_note_type): Support NT_X86_CET.
+
+2020-09-11  Nick Clifton  <nickc@redhat.com>
+
+       PR 26595
+       * dwarf.c (load_separate_debug_info): Return NULL rather than
+       FALSE in error situations.
+       (load_separate_debug_file): Move code to load debug links to ...
+       (check_for_and_load_links): ... here.  New function.  Load
+       separate debug information pointed to by debuglink and
+       debugaltlink sections.  Recursively scan newly loaded debug
+       information for more links and load them too.
+
+2020-09-09  Alan Modra  <amodra@gmail.com>
+
+       PR 26578
+       * dwarf.c (parse_gnu_debugaltlink): Don't alloc build_id_data.
+       (load_separate_debug_files): Use a stack var for build_id_data.
+
+2020-09-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/26587
+       * testsuite/binutils-all/objcopy.exp: Pass --disable-reloc-section
+       to ld on PE targets for PR 25662 test.
+
+2020-09-08  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
+       Kuan-Lin Chen  <kuanlinchentw@gmail.com>
+
+       * readelf.c (target_specific_reloc_handling): Handle
+       R_MSP430{,X}_GNU_{SET,SUB}_ULEB128.
+
+2020-09-02  Alan Modra  <amodra@gmail.com>
+
+       * objdump.c (disassemble_bytes): Use an unsigned type for "addend".
+
+2020-08-30  Alan Modra  <amodra@gmail.com>
+
+       * readelf.c (print_gnu_build_attribute_name): Use unsigned long
+       long for "bytes".
+
+2020-08-28  Nick Clifton  <nickc@redhat.com>
+
+       PR 26548
+       * dwarf.c (read_leb128): When checking for overflow of a signed
+       read, use a signed shift.
+
+2020-08-28  Cooper Qu  <cooper.qu@linux.alibaba.com>
+
+       * readelf.c (get_csky_section_type_name): New.
+       (get_section_type_name): Add handler for CSKY.
+       (display_csky_attribute): New.
+       (process_arch_specific): Add handler for CSKY.
+       * testsuite/binutils-all/strip-3.d: Remove .csky.attributes
+       section.
+
+2020-08-27  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
+
+       * readelf.c (get_msp430x_section_type_name): Rename to ...
+       (get_msp430_section_type_name): ... this.
+       (get_section_type_name): Use get_msp430_section_type_name.
+       (display_msp430x_attribute): Rename to ...
+       (display_msp430_attribute): ... this.
+       (process_arch_specific): Use display_msp430_attribute.
+
+2020-08-27  John David Anglin  <danglin@gcc.gnu.org>
+
+       PR 26356
+       * testsuite/binutils-all/objcopy.exp (objcopy --reverse-bytes): Add
+       "-j $PRIVATE$" to command on hppa*-*-hpux*.
+       * testsuite/lib/utils-lib.exp (default_binutils_run): Remove existing
+       dollar-sign quotes before quoting.  Do this prior to generating log
+       output.
+
+2020-08-27  Ralf Habacker  <ralf.habacker@freenet.de>
+
+       PR 26088
+       * mclex.c (skip_until_eol): If eol was found, increment line
+       number.
+
+2020-08-27  Nick Alcock  <nick.alcock@oracle.com>
+
+       * objdump.c (dump_ctf_errs): Unquote CTF error messages.
+       * readelf.c (dump_ctf_errs): Likewise.
+
+2020-08-27  Nick Alcock  <nick.alcock@oracle.com>
+
+       * objdump.c (dump_ctf_archive_member): Move error-
+       reporting...
+       (dump_ctf_errs): ... into this separate function.
+       (dump_ctf): Call it on open errors.
+       * readelf.c (dump_ctf_archive_member): Move error-
+       reporting...
+       (dump_ctf_errs): ... into this separate function.  Support
+       calls with NULL fp. Adjust for new err parameter to
+       ctf_errwarning_next.
+       (dump_section_as_ctf): Call it on open errors.
+
+2020-08-27  Nick Alcock  <nick.alcock@oracle.com>
+
+       * Makefile.am (readelf_LDADD): Move $(LIBINTL) after $(LIBCTF_NOBFD).
+       * Makefile.in: Regenerated.
+
+2020-08-26  Nick Clifton  <nickc@redhat.com>
+
+       PR 26405
+       * readelf.c (get_segment_type): Handle OpenBSD segment types.
+
+2020-08-26  Alan Modra  <amodra@gmail.com>
+
+       PR 26412
+       * objcopy.c (copy_object): Don't fwrite NULL contents.
+
+2020-08-26  Katayama Hirofumi  <katayama.hirofumi.mz@gmail.com>
+
+       PR 26340
+       * rcparse.y (AUTOCHECKBOX): Add WS_TABSTOP to the base style.
+
+2020-08-24  Alan Modra  <amodra@gmail.com>
+
+       * readelf.c (dump_section_as_strings) Avoid false positive
+       "may be used uninitialised".
+
+2020-08-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/26382
+       * nm.c (print_symname): Display only one '@' for undefined
+       versioned symbols.
+       * doc/binutils.texi: Update nm version information.
+
+2020-08-21  Mark Wielaard  <mark@klomp.org>
+
+       * testsuite/binutils-all/readelf.exp (readelf_wi_test): Also
+       recognize DW_LANG_C11.
+
+2020-08-19  Alan Modra  <amodra@gmail.com>
+
+       PR 26349
+       * readelf.c (dump_relocations): Use BFD_VMA_FMT to print offset
+       and info fields.
+       (dump_section_as_strings): Don't use %tx to display offset.
+
+2020-08-14  Alan Modra  <amodra@gmail.com>
+
+       PR 26388
+       * dwarf.c (free_debug_memory): Free alloc_num_debug_info_entries
+       of debug_information.  Correct test of max_loc_offsets and
+       max_range_lists.
+       * rddbg.c (read_debugging_info): Free dhandle on error.
+
+2020-08-14  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/binutils-all/mangled.s: Use dc.a rather than dc.d.
+
+2020-08-13  Alan Modra  <amodra@gmail.com>
+
+       PR 26348
+       * objcopy.c (copy_object): Report file name with endian error.
+       Error and return on abfd->read_only.
+
+2020-08-12  Tom Tromey  <tromey@adacore.com>
+
+       * dwarf-mode.el (Version): Now 1.6.
+       (dwarf-die-button-action): Tighten DIE reference regexp.
+       (dwarf-font-lock-keywords): Update name regexp.
+
+2020-08-12  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/26331
+       * readelf.c (do_demangle): New option flag.
+       (print_symbol): If do_demangle is enabled, demangle the symbol.
+       (enum long_option_values): New enum to hold long option values.
+       (options): Add demangle, no-demangle, recursion-limit and
+       no-recursion-limit options.  Alpha sort the table.
+       (usage): Describe the new options.
+       (parse_args): Handle the new options.
+       * NEWS: Mention the new feature.
+       * doc/binutils.texi: Document the new feature.
+       * testsuite/binutils-all/readelf.exp: Test the new feature.
+       * testsuite/binutils-all/mangled.s: New file - assembler source.
+       * testsuite/binutils-all/readelf.demangled: New file - expected
+       output from readelf.
+
+2020-08-12  Nick Clifton  <nickc@redhat.com>
+
+       * po/sr.po: Updated Serbian translation.
+
+2020-08-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/26302
+       * nm.c (with_symbol_versions): Removed.
+       (long_option_values): Add OPTION_WITH_SYMBOL_VERSIONS.
+       (long_options): Update --with-symbol-versions entry.
+       (print_symbol): Remove the with_symbol_versions check.
+       (main): Add OPTION_WITH_SYMBOL_VERSIONS for backward
+       compatibility.
+       * doc/binutils.texi: Remove --with-symbol-versions.
+
+2020-08-05  Alan Modra  <amodra@gmail.com>
+
+       PR 26337
+       * objdump.c (load_specific_debug_section): Revert last change.
+
+2020-08-05  Alan Modra  <amodra@gmail.com>
+
+       PR 26337
+       * objdump.c (load_specific_debug_section): Don't malloc space for
+       section contents, use bfd_malloc_and_get_section.
+
+2020-07-30  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * Makefile.am (AM_CPPFLAGS): Add LARGEFILE_CPPFLAGS.
+       * Makefile.in, doc/Makefile.in: Regenerate.
+       * configure: Regenerate.
+
 2020-07-30  H.J. Lu  <hongjiu.lu@intel.com>
 
        * testsuite/binutils-all/i386/compressed-1a.d: Pass --gdwarf-3
This page took 0.028302 seconds and 4 git commands to generate.