]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - binutils/ChangeLog
Add support to readelf for the PT_OPENBSD_NOBTCFI segment type.
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
index de327a53700e6f041a570608ac26305fcf6d19bf..07194aae3db03ec6dd5c97dec6ebc5d22e75499b 100644 (file)
@@ -1,3 +1,239 @@
+2023-09-28  Frederic Cambus  <fred@statdns.com>
+
+       * readelf.c (get_segment_type): Handle PT_OPENBSD_NOBTCFI segment
+       type.
+
+2023-09-26  Nick Clifton  <nickc@redhat.com>
+
+       * testsuite/binutils-all/ar.exp: Remove assumption of the setting
+       of umask when creating test archive files.
+
+2023-09-25  Vsevolod Alekseyev  <sevaa@sprynet.com>
+
+       PR 30792
+       * dwarf.h (struct debug_info): Remove range_versions field.
+       * dwarf.c (fetch_indexed_offset): New function.
+       (read_and_display_attr_value): Use it for DW_FORM_rnglistx.
+       Remove code to initialise range_versions.
+       (skip_attribute): New function.
+       (read_bases): Read and reccord all range and address bases in a CU.
+       (process_debug_info): Call read_bases.
+       (display_debug_rnglists): Rename to display_debug_rnglists_unit_header
+       and only display the range list header information.
+       (display_debug_ranges): Adjust.
+
+2023-09-05  Nick Clifton  <nickc@redhat.com>
+
+       PR 30684
+       * readelf.c (extra_sym_info): New variable.
+       (section_name_valid): Also check for filedata being NULL.
+       (section_name_print): Delete.
+       (section_index_real): New function.  Returns true if the given
+       section index references a real section.
+       (print_symbol): Rename to print_sumbol_name.
+       (printable_section_name): Use a rotating array of static buffers
+       for the return string.
+       (printable_section_name_from_index): Merge code from
+       dump_relocations and get_symbol_index_type into here.
+       (long_option_values): Add OPTION_NO_EXTRA_SYM_INFO.
+       (options): Add "extra-sym-info" and "no-extra-sym-info".
+       (usage): Mention new options.
+       (parse_args): Parse new options.
+       (get_symbol_index_type): Delete.
+       (print_dynamic_symbol_size): Rename to print_symbol_size.
+       (print_dynamic_symbol): Rename to print_symbol.
+       (print_symbol_table_heading): New function.
+       (process_symbol_table): Use new function.
+       * doc/binutils.texi: Document the new option.
+       * NEWS: Mention the new feature.
+
+2023-08-23  Nick Clifton  <nickc@redhat.com>
+
+       PR 30781
+       * dwarf.h (debug_info): Add range_versions field.
+       * dwarf.c (read_and_display_attr_value): When recording a range
+       arribute also ecord the dwarf version number.
+       (is_range_list_for_this_section): New function.
+       (display_debug_ranges): Only show debug ranges whose version is
+       suitable for the secction being displayed.
+
+2023-07-30  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * readelf.c (get_machine_flags): Recognize and pretty print BPF
+       machine flags.
+
+2023-07-24  Johannes Schauer Marin Rodrigues  <josch@debian.org>
+
+       * doc/binutils.texi (objcopy): Document change in behaviour of
+       objcopy's --preserve-dates command line option.
+
+2023-07-09  Fangrui Song  <maskray@google.com>
+
+       PR 30592
+       * NEWS: Mention the new feature for objcopy.
+       * doc/binutils.texi: Mention "large".
+       * objcopy.c (parse_flags): Parse "large".
+       (check_new_section_flags): Error if "large" is used with a
+       non-x86-64 ELF target.
+       * testsuite/binutils-all/x86-64/large-sections.d: New.
+       * testsuite/binutils-all/x86-64/large-sections.s: New.
+       * testsuite/binutils-all/x86-64/large-sections-i386.d: New.
+       * testsuite/binutils-all/x86-64/large-sections-2.d: New.
+       * testsuite/binutils-all/x86-64/large-sections-2-x32.d: New.
+
+2023-07-03  Nick Clifton  <nickc@redhat.com>
+
+       * README-how-to-make-a-release: Change some version numbers.
+       * configure: Regenerate.
+       * po/binutils.pot: Regenerate.
+
+2023-07-03  Nick Clifton  <nickc@redhat.com>
+
+       2.41 Branch Point.
+
+2023-06-30  Nick Clifton  <nickc@redhat.com>
+
+       PR 30598
+       * strings.c (set_string_min): New function.
+       (main): Use it.
+       (print_unicode_stream): Calculate buffer size using a size_t.
+
+2023-06-30  Nick Clifton  <nickc@redhat.com>
+
+       PR 30595
+       * strings.c (main): Check for an excessively large minimum string
+       length.
+
+2023-06-21  Nick Clifton  <nickc@redhat.com>
+
+       * testsuite/lib/binutils-common.exp (prune_warnings_extra): Prune
+       warnings about -z execstack creating an executable stack.
+
+2023-05-30  Nick Clifton  <nickc@redhat.com>
+
+       * od-pe.c (targ_info): New array.
+       (get_target_specific_info): New function
+       (decode_machine_number): Retire.  Use get_target_specific_info
+       instead.
+       (is_pe_object_magic): Likewise.
+       (dump_pe_file_header): Display more information.
+       Rework layout to be similar to that from 'objdump -p'.
+       Add code to handle larger than normnal AOUT headers.
+
+2023-05-30  Nick Clifton  <nickc@redhat.com>
+
+       * od-pe.c (decode_machine_number): Add ARMMAGIC value of 0xa00.
+       (is_pe_object_magic): Likewise.
+
+2023-05-26  Nick Clifton  <nickc@redhat.com>
+
+       * od-pe.c: New file: Dumps fields in PE format headers.
+       * configure.ac (od_vectors): Add objdump_private_desc_pe for PE
+       format targets.
+       (od_files): Add od-pe for PE format targets.
+       * configure: Regenerate.
+       * Makefile.am (CFILES): Add od-pe.c
+       (EXTRA_objdump_SOURCE): Likewise.
+       * Makefile.in: Generate.
+       * NEWS: Mention the new feature.
+       * doc/binutils.texi: Document the new support.
+       * objdump.c (wide_output): Change from local to global.
+       * objdump.h (wide_output): Prototype.
+       (objdump_private_desc_pe): Prototype.
+       * testsuite/binutils-all/objdump.exp: Add a test of the new feature.
+
+2023-05-09  Enze Li  <enze.li@gmx.com>
+
+       * README:  Correct a typo.
+
+2023-05-02  Nick Clifton  <nickc@redhat.com>
+
+       * MAINTAINERS: Remove Dimity Diky as MSP430 maintainer.
+
+2023-04-20  Nick Clifton  <nickc@redhat.com>
+
+       * SECURITY.txt: New file.
+
+2023-04-19  Nick Clifton  <nickc@redhat.com>
+
+       PR 30355
+       * dwarf.c (read_and_display_attr_value): Correctly handle
+       DW_loclistx attributes that index a version 5 .debug_loclists
+       section.
+
+2023-04-17  Nick Clifton  <nickc@redhat.com>
+
+       PR 30142
+       * rescoff.c (write_coff_file): Add the SEC_READONLY flag to the
+       .rsrc section.
+
+2023-04-11  Nick Clifton  <nickc@redhat.com>
+
+       PR 30327
+       * dwarf.c (read_and_display_attr_value): Warn if the number of
+       views is greater than the number of locations.
+
+       PR 30313
+       * dwarf.c (display_debug_lines_decoded): Check for an overlarge
+       number of files or directories.
+
+       PR 30312
+       * dwarf.c (prealloc_cu_tu_list): Always allocate at least one
+       entry.
+
+       PR 30311
+       * readelf.c (uncompress_section_contents): Check for a
+       suspiciously large uncompressed size.
+
+2023-03-30  Nick Clifton  <nickc@redhat.com>
+
+       PR 30284
+       * dwarf.c (read_and_display_attr_value): Detect and ignore
+       negative base values.
+
+2023-03-23  Frederic Cambus  <fred@statdns.com>
+
+       * readelf.c (get_segment_type): Handle PT_OPENBSD_MUTABLE segment
+       type.
+
+2023-03-14  Nick Clifton  <nickc@redhat.com>
+
+       PR 30227
+       * dwarf.c (process_cu_tu_index): Prevent excessive memory
+       allocation when nused is large and ncols is zero.
+
+2023-02-09  Tom Tromey  <tromey@adacore.com>
+
+       * dwarf-mode.el: Bump version to 1.8.
+       (dwarf-insert-substructure): Tighten regexp.
+       (dwarf-refresh-all): New defun.
+       (dwarf-mode-map): Bind "A" to dwarf-refresh-all.
+       (dwarf-mode): Remove old FIXME.
+
+2023-02-07  Nick Clifton  <nickc@redhat.com>
+
+       PR 30080
+       * doc/binutils.texi (nm): Update description of the 'n' symbol
+       type.
+
+2023-01-31  Nick Clifton  <nickc@redhat.com>
+
+       * po/sv.po: Updated Swedish translation.
+
+2023-01-23  Nick Clifton  <nickc@redhat.com>
+
+       * po/sv.po: Updated Swedish translation.
+
+2023-01-18  Nick Clifton  <nickc@redhat.com>
+
+       PR 29993
+       * objcopy.c (merge_gnu_build_notes): Remember the last non-deleted
+       note in order to speed up the scan for matching notes.
+
+2023-01-16  Nick Clifton  <nickc@redhat.com>
+
+       * po/sv.po: Updated Swedish translation.
+
 2023-01-09  Nick Clifton  <nickc@redhat.com>
 
        * po/bg.po: Updated Bulgarian translation.