Ensure that when attempting to process an ARM Mach-O file with unknown relocs, that...
[deliverable/binutils-gdb.git] / binutils / ChangeLog
index 121c54d9919bea8bf1fca800071f8cb1f3a08639..07c8bb69d2af7bf6d53ed96d08ff525a51a1d915 100644 (file)
@@ -1,3 +1,359 @@
+2019-06-26  Nick Clifton  <nickc@redhat.com>
+
+       PR 24703
+       * bucomm.c (bfd_nonfatal): If no bfd error code has been set then
+       indicate this in the output.
+       (bfd_nonfatal_message): Likewise.
+
+2019-06-25  Jan Beulich  <jbeulich@suse.com>
+
+       * readelf.c (dump_ctf_indent_lines): Rename local variable
+       "spaces" to "blanks".
+
+2019-06-25  Jan Beulich  <jbeulich@suse.com>
+
+       * objdump.c (dump_ctf_indent_lines): Rename local variable
+       "spaces" to "blanks".
+
+2019-06-14  Alan Modra  <amodra@gmail.com>
+
+       * Makefile.in: Regenerate.
+       * aclocal.m4: Regenerate.
+       * doc/Makefile.in: Regenerate.
+
+2019-06-12  Christos Zoulas  <christos@zoulas.com>
+
+       PR 24663
+       * readelf.c (process_netbsd_elf_note): Add support for
+       NT_NETBSD_PAX.
+       (process_note): Add support for PaX notes.
+
+2019-06-12  Christos Zoulas  <christos@zoulas.com>
+
+       PR 24665
+       * readelf.c (get_netbsd_elfcore_note_type): Add support for SH
+       core notes.
+
+2019-06-12  Christos Zoulas  <christos@zoulas.com>
+
+       PR 24664
+       * readelf.c (get_netbsd_elfcore_note_type): Add support for NetBSD
+       auxv notes.
+
+2019-06-11  Christos Zoulas  <christos@zoulas.com>
+
+       PR 24662
+       * readelf.c (get_alpha_symbol_other): New function.
+       (get_symbol_other): Use for Alpha symbols.
+       (is_32bit_pcrel_reloc): Add R_VAX_PCREL32.
+
+2019-06-11  Christos Zoulas  <christos@zoulas.com>
+
+       PR 24661
+       * readelf.c (decode_arm_unwind): Ensure that the local variable
+       'addr' is always initialised.
+
+2019-06-10  Christos Zoulas  <christos@zoulas.com>
+
+       PR 24651
+       * strings.c (print_strings): Use %u to print unsigned values in
+       decimal.
+
+2019-06-10  Christos Zoulas  <christos@zoulas.com>
+
+       PR 24649
+       * arsup.c (ar_open): Use asprintf in place of xmalloc and
+       sprintf.
+
+2019-06-03  Nick Clifton  <nickc@redhat.com>
+
+       Revert:
+       2019-05-29  Nick Clifton  <nickc@redhat.com>
+
+       * configure.ac (LIBCTF): Export.  Set to empty for non-ELF based
+       targets.
+       (HAVE_LIBCTF): Define if libctf support is available.
+       * Makefile.am (LIBCTF): Set value to @LIBCTF@.
+       * objdump.c: Make CTF code conditional upon HAVE_LIBCTF being
+       defined.
+       * readelf.c: Likewise.
+       * configure: Regenerate.
+       * Makefile.in: Regenerate.
+       * config.in: Regenerate.
+
+2019-05-30  Nick Alcock  <nick.alcock@oracle.com>
+
+       * objdump.c (make_ctfsect): Drop cts_type, cts_flags, and
+       cts_offset.
+       * readelf.c (shdr_to_ctf_sect): Likewise.
+
+2019-05-30  Nick Clifton  <nickc@redhat.com>
+
+       PR 24627
+       * readelf.c (process_version_sections): Add 0x prefix to address
+       display.  Correct indentation.
+
+2019-05-30  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/lib/binutils-common.exp (supports_gnu_unique): Add
+       s12z to targets not supporting this feature.
+
+2019-05-30  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/lib/binutils-common.exp (run_dump_test): Support
+       tcl procedures for xfail args.
+
+2019-05-29  Nick Clifton  <nickc@redhat.com>
+
+       * README-how-to-make-a-release: Add libctf to list of directories
+       that need updates in their ChangeLogs.
+
+2019-05-29  Nick Clifton  <nickc@redhat.com>
+
+       * configure.ac (LIBCTF): Export.  Set to empty for non-ELF based
+       targets.
+       (HAVE_LIBCTF): Define if libctf support is available.
+       * Makefile.am (LIBCTF): Set value to @LIBCTF@.
+       * objdump.c: Make CTF code conditional upon HAVE_LIBCTF being
+       defined.
+       * readelf.c: Likewise.
+       * configure: Regenerate.
+       * Makefile.in: Regenerate.
+       * config.in: Regenerate.
+
+2019-05-28  Nick Alcock  <nick.alcock@oracle.com>
+
+       * MAINTAINERS: Add myself as CTF maintainer.
+
+2019-05-28  Nick Alcock  <nick.alcock@oracle.com>
+
+       * objdump.c (ctf-api.h): New include.
+       (dump_ctf_section_info): New variable.
+       (dump_ctf_section_name): Likewise.
+       (usage): Describe new options.
+       (enum option_values): Add OPTION_CTF and OPTION_CTF_PARENT.
+       (main): Use them to add --ctf and --ctf-parent.
+       (read_section_stabs): Add new parameter, entsize_ptr.
+       (find_stabs_section): Adjust accordingly.
+       (make_ctfsect): New.
+       (dump_ctf_indent_lines): New.
+       (dump_ctf_archive_member): New.
+       (dump_ctf): New.
+       (dump_bfd): Call it.  Free resources afterwards.
+       * readelf.c (ctf-api.h): New include.
+       (CTF_DUMP): New.
+       (static bfd_boolean do_ctf): Likewise.
+       (dump_ctf_parent_name): Likewise.
+       (dump_ctf_symtab_name): Likewise.
+       (dump_ctf_strtab_name): Likewise.
+       (OPTION_CTF_DUMP): Likewise.
+       (OPTION_CTF_PARENT): Likewise.
+       (OPTION_CTF_SYMBOLS): Likewise.
+       (OPTION_CTF_STRINGS): Likewise.
+       (options): Add them.
+       (usage): Likewise.
+       (parse_args): Handle the new options, requesting CTF_DUMP.
+       (process_section_contents): Handle CTF_DUMP.
+       (shdr_to_ctf_sect): New.
+       (dump_ctf_indent_lines): New.
+       (dump_section_as_ctf): New.
+       (main): Free resources.
+       * Makefile.am (LIBCTF): New variable.
+       (objdump_DEPENDENCIES): Use it.
+       (readelf_DEPENDENCIES): Likewise.
+       (objdump_LDADD): Likewise.
+       (readelf_LDADD): Likewise.
+       * aclocal.m4: Regenerated.
+       * Makefile.in: Likewise.
+
+       * doc/binutils.texi (objdump): Document the new options.
+       (readelf): Likewise.
+       * doc/ctf.options.texi: New.
+       * doc/Makefile.in: Regenerated.
+       * NEWS: Mention the new feature.
+
+2019-05-27  Alan Modra  <amodra@gmail.com>
+
+       * readelf.c (process_section_groups): Continue processing groups
+       when sh_entsize exceeds group size.
+
+2019-05-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
+
+       * readelf.c (get_aarch64_dynamic_type): Handle DT_AARCH64_VARIANT_PCS.
+       (get_aarch64_symbol_other): New, handles STO_AARCH64_VARIANT_PCS.
+       (get_symbol_other): Call get_aarch64_symbol_other.
+
+2019-05-24  Alan Modra  <amodra@gmail.com>
+
+       * objdump.c (disassemble_bytes): Set WIDE_OUTPUT in flags.
+
+2019-05-23  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * MAINTAINERS: Add myself as the maintainer for BPF.
+
+2019-05-23  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * readelf.c: Include elf/bpf.h.
+       (guess_is_rela): Hanle EM_BPF.
+       (dump_relocations): Likewise.
+       (is_32bit_abs_reloc): Likewise.
+       * testsuite/binutils-all/nm.exp: Add bpf-*-* to the list of
+       ELF targets.
+
+2019-05-21  Tamar Christina  <tamar.christina@arm.com>
+
+       * dwarf.c (dwarf_regnames_aarch64): Add SVE registers.
+       * testsuite/binutils-all/aarch64/sve-dwarf-registers.d: New test.
+       * testsuite/binutils-all/aarch64/sve-dwarf-registers.s: New test.
+
+2019-05-20  Faraz Shahbazker  <fshahbazker@wavecomp.com>
+
+       PR 14798
+       * testsuite/binutils-all/readelf.ss-mips: Update reference output.
+       * testsuite/binutils-all/readelf.ss-tmips: Likewise.
+
+2019-05-20  Nick Clifton  <nickc@redhat.com>
+
+       * po/ca.po: Updated Catalan translation.
+
+2019-05-16  Andre Vieira  <andre.simoesdiasvieira@arm.com>
+
+       * NEWS: Mention Armv8.1-M Mainline and MVE.
+
+2019-05-16  Andre Vieira  <andre.simoesdiasvieira@arm.com>
+
+       * readelf.c (arm_attr_tag_MVE_arch): New array for Tag_MVE_arch values.
+       (arm_attr_public_tag arm_attr_public_tags): Add case for Tag_MVE_arch.
+
+2019-05-14  Jamey Hicks  <jamey.hicks@gmail.com>
+
+       PR 19921
+       * objcopy.c: Add new option --verilog-data-width.  Use it to set
+       the value of VerilogDataWidth.
+       * doc/binutils.texi: Document the new option.
+       * testsuite/binutils-all/objcopy.exp: Run tests of new option.
+       * testsuite/binutils-all/verilog-1.hex: New file.
+       * testsuite/binutils-all/verilog-2.hex: New file.
+       * testsuite/binutils-all/verilog-4.hex: New file.
+       * testsuite/binutils-all/verilog-8.hex: New file.
+       * NEWS: Mention the new feature.
+
+2019-05-10  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/binutils-all/objdump.exp (test_objdump_disas_limited),
+       (test_objdump_content_limited): Add text arg, use in place of .text.
+       (bintest_signed.o): Call get_standard_section_names for name of
+       text section.
+
+2019-05-08  Faraz Shahbazker  <fshahbazker@wavecomp.com>
+
+       * objdump.c (sign_extend_address): New function.
+       (dump_bfd): Sign-extend user-specified start/stop addresses
+       for targets that need it.
+       * testsuite/binutils-all/objdump.exp: Add tests for objdump
+       with start and stop addresses in higher address ranges.
+
+2019-05-01  Matthew Malcomson  <matthew.malcomson@arm.com>
+
+       * testsuite/binutils-all/objdump.exp: Correct executable
+       spelling.
+       * testsuite/binutils-all/compress.exp: Likewise.
+
+2019-05-01  Nick Clifton  <nickc@redhat.com>
+
+       PR 24507
+       * nm.c: (print_format): New variable.
+       (value_format_32bit, value_format_64bit): Delete.
+       (set_print_radix): Remove code to alter value_format strings.
+       (set_output_format): Record chosen format in print_format.
+       (get_print_format): New function - constructs a printf formatting
+       string according to the requirements of size, radix, and output
+       format.
+       (print_value): Use get_print_format.
+       * testsuite/binutils-all/nm.exp: Add tests of "nm --format=posix"
+       and "nm -t d".
+
+2019-04-30  Alan Modra  <amodra@gmail.com>
+
+       * wrstabs.c (stab_start_class_type): Add assert to work around
+       gcc9 warning.  Tidy.
+
+2019-04-24  Nick Clifton  <nickc@redhat.com>
+
+       * objcopy.c (strip_main): Do not enable note merging by default if
+       just stripping debug or dwo information.
+       * doc/binutils.texi (strip): Update documentation.
+
+2019-04-23  Nick Clifton  <nickc@redhat.com>
+
+       * README-how-to-make-a-release: Add note to update the symbolic
+       link from "docs" to "docs-2.x" on the sourceware website.
+
+2019-04-16  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/binutils-all/copy-2.d: Don't run for ns32k-*-*.
+       * testsuite/binutils-all/copy-3.d: Likewise.
+
+2019-04-15  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * readelf.c (arm_attr_tag_CPU_arch): Add entry for Armv8.1-M Mainline.
+
+2019-04-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * readelf.c (decode_x86_isa): Handle
+       GNU_PROPERTY_X86_ISA_1_AVX512_BF16.
+       * testsuite/binutils-all/i386/pr21231b.d: Updated.
+       * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
+
+2019-04-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/binutils-all/nm.exp: Count i386-moss as ELF.
+
+2019-03-26  Tamar Christina  <tamar.christina@arm.com>
+
+       * testsuite/binutils-all/aarch64/in-order-all.d: Update.
+       * testsuite/binutils-all/aarch64/in-order.d: Likewise.
+       * testsuite/binutils-all/aarch64/out-of-order-all.d: Likewise.
+       * testsuite/binutils-all/aarch64/out-of-order.d: Likewise.
+       * testsuite/binutils-all/aarch64/out-of-order.s: Likewise.
+       * testsuite/binutils-all/arm/in-order-all.d: Likewise.
+       * 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.
+       * testsuite/binutils-all/arm/out-of-order.s: Likewise.
+
+2019-03-26  Nick Clifton  <nickc@redhat.com>
+
+       * MAINTAINERS: Take over Dave Brolley's maintainerships for FR30,
+       FRV and MEP.
+
+2019-03-26  Alan Modra  <amodra@gmail.com>
+
+       * objdump.c (dump_relocs_in_section): Warning fix.
+
+2019-03-25  Tamar Christina  <tamar.christina@arm.com>
+
+       * testsuite/binutils-all/arm/in-order-all.d: New test.
+       * testsuite/binutils-all/arm/in-order.d: New test.
+       * testsuite/binutils-all/arm/objdump.exp: Support .d tests.
+       * testsuite/binutils-all/arm/out-of-order-all.d: New test.
+       * testsuite/binutils-all/arm/out-of-order.T: New test.
+       * testsuite/binutils-all/arm/out-of-order.d: New test.
+       * testsuite/binutils-all/arm/out-of-order.s: New test.
+
+
+2019-03-25  Tamar Christina  <tamar.christina@arm.com>
+
+       * testsuite/binutils-all/aarch64/in-order-all.d: New test.
+       * testsuite/binutils-all/aarch64/out-of-order-all.d: New test.
+       * testsuite/binutils-all/aarch64/out-of-order.d:
+
+2019-03-25  Tamar Christina  <tamar.christina@arm.com>
+
+       * testsuite/binutils-all/aarch64/in-order.d: New test.
+       * testsuite/binutils-all/aarch64/out-of-order.d: Disassemble data as
+       well.
+
 2019-03-25  Tamar Christina  <tamar.christina@arm.com>
 
        * objdump.c (disassemble_bytes): Pass stop_offset.
This page took 0.026108 seconds and 4 git commands to generate.