Fix signedness of def_cfa_sf and def_cfa_offset_sf
[binutils-gdb.git] / binutils / ChangeLog
index 6767729d705bb29838d70351beba42347b84e978..b5dedef26ee1e45aef567a7fa808891ed51bd6fc 100644 (file)
@@ -1,3 +1,150 @@
+2021-06-30  Richard Henderson  <richard.henderson@linaro.org>
+
+       * dwarf.c (display_debug_frames): Both DW_CFA_def_cfa_sf
+       and DW_CFA_def_cfa_offset_sf have a signed offset.
+
+2021-06-19  Alan Modra  <amodra@gmail.com>
+
+       * dwarf.c (display_debug_lines_decoded): Use memcpy rather than
+       strncpy when trimming file name length to MAX_FILENAME_LENGTH.
+       Don't make an unnecessary copy when length is good.
+
+2021-06-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * readelf.c (print_gnu_property_note): Handle
+       GNU_PROPERTY_UINT32_AND_LO, GNU_PROPERTY_UINT32_AND_HI,
+       GNU_PROPERTY_UINT32_OR_LO and GNU_PROPERTY_UINT32_OR_HI.
+
+2021-06-15  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (get_note_type): Add support for NT_GO_BUILDID.
+
+2021-06-15  Alan Modra  <amodra@gmail.com>
+
+       * readelf.c (locate_dynamic_section, is_pie): New functions.
+       (get_file_type): Replace e_type parameter with filedata.  Call
+       is_pie for ET_DYN.  Update all callers.
+       (process_program_headers): Use local variables dynamic_addr and
+       dynamic_size, updating filedata on exit from function.  Set
+       dynamic_size of 1 to indicate no dynamic section or segment.
+       Update tests of dynamic_size throughout.
+       * testsuite/binutils-all/x86-64/pr27708.dump: Update expected output.
+
+2021-06-14  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * dwarf.c (struct abbrev_attr): Change type of implicit_const.
+       (add_abbrev_attr): Likewise.
+       (process_abbrev_set): Likewise.
+       (display_debug_abbrev): Adjust to above change.
+
+2021-06-12  Alan Modra  <amodra@gmail.com>
+
+       * readelf.c (process_file_header): Don't clear section_headers.
+
+2021-06-12  Alan Modra  <amodra@gmail.com>
+
+       * readelf.c (get_section_headers): Don't test e_shoff here, leave
+       that to get_32bit_section_headers or get_64bit_section_headers.
+       (process_object): Throw away section header read to print file
+       header extension.
+
+2021-06-11  Alan Modra  <amodra@gmail.com>
+
+       * readelf.c (struct filedata): Move archive_file_offset and
+       archive_file_size earlier.
+       (free_filedata): Clear using memset.
+
+2021-06-11  Alan Modra  <amodra@gmail.com>
+
+       * readelf.c (GET_ELF_SYMBOLS): Delete.  Replace with..
+       (get_elf_symbols): ..this new function throughout.
+       (get_32bit_section_headers): Don't free section_headers.
+       (get_64bit_section_headers): Likewise.
+       (get_section_headers): New function, use throughout in place of
+       32bit and 64bit variants.
+       (get_dynamic_section): Similarly.
+       (process_section_headers): Don't free filedata memory here.
+       (get_file_header): Don't get section headers here..
+       (process_object): ..Read them here instead.  Don't exit without
+       freeing filedata memory.
+
+2021-06-09  Nick Clifton  <nickc@redhat.com>
+
+       * MAINTAINERS: Remove Daniel Jacobwitz from the maintainers list.
+
+2021-06-07  Jan Beulich  <jbeulich@suse.com>
+
+       * dwarf.c (display_debug_aranges): Add u suffix to constant.
+
+2021-05-29  Alan Modra  <amodra@gmail.com>
+
+       * objdump (usage): Add missing \n.
+
+2021-05-29  Alan Modra  <amodra@gmail.com>
+
+       * readelf.c (parse_args): Call dwarf_select_sections_all on
+       --debug-dump without optarg.
+       (usage): Associate -w and --debug-dump options closely.
+       Split up help message.  Remove extraneous blank lines around
+       ctf help.
+       * objdump.c (usage): Similarly.
+
+2021-05-29  Maciej W. Rozycki  <macro@orcam.me.uk>
+
+       * testsuite/binutils-all/mips/mips-xpa-virt-1.d: Correct CFC0
+       operand disassembly.
+       * testsuite/binutils-all/mips/mips-xpa-virt-3.d: Likewise.
+
+2021-05-29  Maciej W. Rozycki  <macro@orcam.me.uk>
+
+       * testsuite/binutils-all/mips/mips-xpa-virt-1.d: Use `mips:3000'
+       machine for disassembly.
+       * testsuite/binutils-all/mips/mips-xpa-virt-2.d: Likewise.
+       * testsuite/binutils-all/mips/mips-xpa-virt-3.d: Likewise.
+       * testsuite/binutils-all/mips/mips-xpa-virt-4.d: Likewise.
+
+2021-05-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/27905
+       * readelf.c (decode_x86_feature_2): Revert commit 50c95a739c9.
+
+2021-05-27  Alan Modra  <amodra@gmail.com>
+
+       * readelf (usage): Order -w letters to match --debug-dump= and
+       move common '=' for --debug-dump out of brackets.
+
+2021-05-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/27905
+       * readelf.c (decode_x86_feature_2): Support
+       GNU_PROPERTY_X86_FEATURE_2_CODE16.
+
+2021-05-23  Tiezhu Yang  <yangtiezhu@loongson.cn>
+
+       * readelf.c (get_machine_name): Change Loongson Loongarch to
+       LoongArch.
+
+2021-05-21  Luis Machado  <luis.machado@linaro.org>
+
+       * readelf.c (get_note_type): Add missing NT_ARM_* entries.
+
+2021-05-21  Luis Machado  <luis.machado@linaro.org>
+
+       * readelf.c (get_note_type): Handle NT_MEMTAG note types.
+
+2021-05-19  Eli Schwartz  <eschwartz@archlinux.org>
+
+       * dwarf.c (ENABLE_CHECKING): Define to 0 if not previously set.
+
+2021-05-19  Alan Modra  <amodra@gmail.com>
+
+       PR 27884
+       * dwarf.c (get_type_abbrev_from_form): Replace cu_offset_return
+       param with map_return, and return map for DW_FORM_ref_addr.
+       (get_type_signedness): Adjust calls to get_type_abbrev_from_form.
+       Pass returned cu map start and end to recursive call.
+       (read_and_display_attr_value): Similarly.
+
 2021-05-19  Alan Modra  <amodra@gmail.com>
 
        PR 27879