]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - binutils/ChangeLog
Two fixes in dwarf-mode.el
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
index 1532a37c390632c62c1b0073c527a76c8813012e..5037d91e0dd62534f18f4e2e8c9de899a4f45453 100644 (file)
@@ -1,3 +1,346 @@
+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
+       to assembler.
+       * testsuite/binutils-all/i386/compressed-1b.d: Likewise.
+       * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
+       * testsuite/binutils-all/x86-64/compressed-1a.d: Likewise.
+       * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
+       * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
+
+2020-07-29  Maciej W. Rozycki  <macro@linux-mips.org>
+
+       * testsuite/binutils-all/mips/global-local-symtab-sort-o32.d:
+       New test.
+       * testsuite/binutils-all/mips/global-local-symtab-sort-o32t.d:
+       New test.
+       * testsuite/binutils-all/mips/global-local-symtab-sort-n32.d:
+       New test.
+       * testsuite/binutils-all/mips/global-local-symtab-sort-n32t.d:
+       New test.
+       * testsuite/binutils-all/mips/global-local-symtab-sort-n64.d:
+       New test.
+       * testsuite/binutils-all/mips/global-local-symtab-sort-n64t.d:
+       New test.
+       * testsuite/binutils-all/mips/global-local-symtab-final-o32.d:
+       New test.
+       * testsuite/binutils-all/mips/global-local-symtab-final-n32.d:
+       New test.
+       * testsuite/binutils-all/mips/global-local-symtab-final-n64.d:
+       New test.
+       * testsuite/binutils-all/mips/mips.exp: Run the new tests.
+
+2020-07-29  Maciej W. Rozycki  <macro@linux-mips.org>
+
+       * testsuite/binutils-all/mips/global-local-symtab-o32.d: New
+       test.
+       * testsuite/binutils-all/mips/global-local-symtab-o32t.d: New
+       test.
+       * testsuite/binutils-all/mips/global-local-symtab-n32.d: New
+       test.
+       * testsuite/binutils-all/mips/global-local-symtab-n32t.d: New
+       test.
+       * testsuite/binutils-all/mips/global-local-symtab-n64.d: New
+       test.
+       * testsuite/binutils-all/mips/mips.exp: Run the new tests.
+
+2020-07-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/26301
+       * configure: Regenerated.
+
+2020-07-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/26301
+       * configure: Regenerated.
+
+2020-07-27  Alan Modra  <amodra@gmail.com>
+
+       * objdump.c (dump_section): Don't return without calling
+       process_section_p.
+
+2020-07-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * doc/binutils.texi: Replace preceeded with preceded.
+
+2020-07-26  Maciej W. Rozycki  <macro@linux-mips.org>
+
+       * testsuite/binutils-all/mips/mips.exp (run_dump_test_abi)
+       (run_dump_test_o32, run_dump_test_n32, run_dump_test_n64): New
+       procedures.
+       (has_newabi): Remove variable.
+       (has_abi, abi_asflags, abi_ldflags): New associative array
+       variables.
+       (irixemul): New variable.
+       Replace `run_dump_test' calls where applicable throughout with
+       `run_dump_test_o32', `run_dump_test_n32' and `run_dump_test_n64'
+       as appropriate.  Use `noarch' for tests that require their own
+       architecture setting.
+       * testsuite/binutils-all/mips/mips-ase-1.d: Remove GAS flags.
+       * testsuite/binutils-all/mips/mips-ase-2.d: Likewise.
+       * testsuite/binutils-all/mips/mips-ase-3.d: Likewise.
+       * testsuite/binutils-all/mips/mips-note-2-n32.d: Likewise.
+       * testsuite/binutils-all/mips/mips-note-2-n64.d: Likewise.
+       * testsuite/binutils-all/mips/mips-note-2.d: Likewise.
+       * testsuite/binutils-all/mips/mips-note-2r-n32.d: Likewise.
+       * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
+       * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
+       * testsuite/binutils-all/mips/mips-reginfo-n32.d: Likewise.
+       * testsuite/binutils-all/mips/mips-reginfo.d: Likewise.
+       * testsuite/binutils-all/mips/mips16-extend-noinsn.d: Likewise.
+       * testsuite/binutils-all/mips/mips16-pcrel.d: Likewise.
+       * testsuite/binutils-all/mips/mips16-alias.d: Remove `-32' from
+       GAS flags.
+       * testsuite/binutils-all/mips/mips16-extend-insn.d: Likewise.
+       * testsuite/binutils-all/mips/mips16-noalias.d: Likewise.
+       * testsuite/binutils-all/mips/mips16-undecoded.d: Likewise.
+       * testsuite/binutils-all/mips/mips16e2-extend-insn.d: Likewise.
+       * testsuite/binutils-all/mips/mips16e2-undecoded.d: Likewise.
+       * testsuite/binutils-all/mips/mixed-micromips.d: Likewise.
+       * testsuite/binutils-all/mips/mixed-mips16.d: Likewise.
+
+2020-07-24  Aaron Merey  <amerey@redhat.com>
+
+       * Makefile.am: Replace LIBDEBUGINFOD with DEBUGINFOD_LIBS.
+       * Makefile.in: Rebuild.
+       * configure: Rebuild.
+       * doc/Makefile.in: Rebuild.
+
+2020-07-24  Nick Clifton  <nickc@redhat.com>
+
+       * README-how-to-make-a-release: Various small updates whilst
+       creating the 2.35 release.
+
+2020-07-22  Nick Alcock  <nick.alcock@oracle.com>
+
+       * testsuite/lib/binutils-common.exp (run_dump_test): Add 'cc'
+       option.
+
+2020-07-22  Nick Alcock  <nick.alcock@oracle.com>
+
+       * objdump.c (dump_ctf_archive_member): Remove linefeeds.
+       (dump_ctf): Likewise.
+
+2020-07-22  Nick Alcock  <nick.alcock@oracle.com>
+
+       * objdump.c (ctf_archive_member): Print CTF errors and warnings.
+       * readelf.c (dump_ctf_archive_member): Likewise.
+
+2020-07-22  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (parse_args): Silence potential warnings about a
+       memory resource leak when allocating space for ctf option values.
+       (dump_section_as_ctf): Fix typo checking dump_ctf_strtab_name
+       variable.
+
+2020-07-21  Nick Clifton  <nickc@redhat.com>
+
+       * po/sv.po: Updated Swedish translation.
+
+2020-07-14  Claudiu Zissulescu  <claziss@gmail.com>
+
+       * testsuite/binutils-all/arc/double_regs.s: New test.
+       * testsuite/binutils-all/arc/objdump.exp: Add the above test.
+
+2020-07-13  Nick Clifton  <nickc@redhat.com>
+
+       * po/fr.po: Updated French translation.
+
+2020-07-13  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/lib/binutils-common.exp (is_pecoff_format): Accept
+       optional machine-os arg.
+
+2020-07-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * readelf.c (decode_x86_feature_2): Handle
+       GNU_PROPERTY_X86_FEATURE_2_TMM.
+
+2020-07-10  Tom de Vries  <tdevries@suse.de>
+
+       * dwarf.c (display_debug_lines_decoded): Don't emit meaningless
+       information in the end_sequence row.
+       * testsuite/binutils-all/dw5.W: Update.
+       * testsuite/binutils-all/objdump.WL: Update.
+
+2020-07-09  Alan Modra  <amodra@gmail.com>
+
+       * dlltool.c: Remove powerpc PE support and comments.
+       * configure.ac: Remove powerpc PE dlltool config.
+       * configure: Regenerate.
+
+2020-07-09  Nick Clifton  <nickc@redhat.com>
+
+       * rclex.c: Add OWNERDRAW keyword.
+       * rcparse.y: Add OWNERDRAW token.
+       (menuitem_flag) Add BITMAP and OWNERDRAW entries.
+       * resrc.c (write_rc_menuitems): Add support for OWNERDRAW and
+       BITMAP flags.
+       * windres.c (extended_menuitems): Likewise.
+       * testsuite/binutils-all/windres/menuitem_flags.rc: New test.
+
+2020-07-09  Alan Modra  <amodra@gmail.com>
+
+       * readelf (slurp_hppa_unwind_table): Set table_len before use
+       in relocation sanity checks.
+
+2020-07-07  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/binutils-all/ar.exp: Use is_xcoff_format.
+       * testsuite/binutils-all/nm.exp: Likewise.
+       * testsuite/binutils-all/copy-2.d: Run only for elf and pe targets.
+       * testsuite/binutils-all/copy-3.d: Run only for elf targets.
+       * testsuite/binutils-all/set-section-alignment.d: Likewise.
+       * testsuite/binutils-all/copy-4.d: Don't run for xcoff.
+
+2020-07-07  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/lib/binutils-common.exp (is_xcoff_format): New.
+       * testsuite/binutils-all/objcopy.exp (pr25662): Exclude xcoff.
+
+2020-07-06  Nick Clifton  <nickc@redhat.com>
+
+       * po/bg.po: Updated Bulgarian translation.
+       * po/pt.po: Updated Portuguese translation.
+       * po/uk.po: Updated Ukranian translation.
+
+2020-07-06  Alan Modra  <amodra@gmail.com>
+
+       * readelf.c (print_dynamic_symbol): Don't sprintf to buffer to
+       find string length.
+
+2020-07-04  Nick Clifton  <nickc@redhat.com>
+
+       * configure: Regenerate.
+       * po/binutils.pot: Regenerate.
+
+2020-07-04  Nick Clifton  <nickc@redhat.com>
+
+       Binutils 2.35 branch created.
+
+2020-07-02  Nick Clifton  <nickc@redhat.com>
+
+       PR 26028
+       * readelf.c (print_symbol): Handle truncation of symbol names.
+       (options): Add -T/--silent-truncation option.
+       (parse_args): Handle the option.
+       (print_dynamic_symbol): Correct calculation of width available to
+       display symbol name.
+       * doc/binutils.texi: Document the -T option to readelf.
+       * NEWS: Mention the new feature.
+
+2020-06-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * NEWS: Mention x86 NaCl target support removal.
+       * dwarf.c (init_dwarf_regnames_by_bfd_arch_and_mach): Remove
+       x86 NaCl target support.
+       * testsuite/binutils-all/elfedit-1.d: Likewise.
+       * testsuite/binutils-all/i386/i386.exp: Likewise.
+       * testsuite/binutils-all/x86-64/objects.exp: Likewise.
+       * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
+       * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
+       * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
+       * testsuite/binutils-all/x86-64/pr23494b.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/x86-64.exp: Likewise.
+
+2020-06-30  Nick Clifton  <nickc@redhat.com>
+
+       * dwarf.c (read_and_display_attr_value): Support
+       DW_FORM_GNU_strp_alt when used with DW_AT_dwo_name and
+       DW_AT_comp_dir.
+
+2020-06-30  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/binutils-all/readelf.exp (readelf_dump_test): Remove
+       xfail for nds32.
+
+2020-06-29  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * dwarf.c (display_debug_str_offsets): Rename local variable
+       index to idx.  Move to top of function.
+
+2020-06-29  Alan Modra  <amodra@gmail.com>
+
+       * dwarf.c: Use C style comments.
+       * resrc.c: Likewise.
+
+2020-06-27  Alan Modra  <amodra@gmail.com>
+
+       * elfcomm.c (setup_nested_archive): Set nested_arch->file to NULL
+       after freeing.
+       (release_archive): Set fields of arch to NULL after freeing.
+
+2020-06-26  Nick Alcock  <nick.alcock@oracle.com>
+
+       * readelf.c (dump_section_as_ctf): Support .ctf archives using
+       ctf_arc_bufopen.  Automatically load the .ctf member of such
+       archives as the parent of all other members, unless specifically
+       overridden via --ctf-parent.  Split out dumping code into...
+       (dump_ctf_archive_member): ... here, as in objdump, and call
+       it once per archive member.
+       (dump_ctf_indent_lines): Code style fix.
+
 2020-06-26  Nick Alcock  <nick.alcock@oracle.com>
 
        * configure.ac [--enable-libctf]: New, default yes.