Fix signedness of def_cfa_sf and def_cfa_offset_sf
[binutils-gdb.git] / binutils / ChangeLog
index bd91a3911d22b2c82f47b0f9606751603a32886c..b5dedef26ee1e45aef567a7fa808891ed51bd6fc 100644 (file)
@@ -1,3 +1,59 @@
+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..