12024-01-15 Nick Clifton <nickc@redhat.com> 2 3 * configure: Regenerate. 4 * po/binutils.pot: Regernate. 5 62024-01-15 Nick Clifton <nickc@redhat.com> 7 8 * 2.42 branch point. 9 102023-12-04 Tom Tromey <tom@tromey.com> 11 12 * dwarf.c (display_debug_names): Handle empty .debug_names hash 13 table. Name entries start at 1. 14 152023-11-15 Arsen Arsenović <arsen@aarsen.me> 16 17 * aclocal.m4: Regenerate. 18 * configure: Regenerate. 19 * po/Make-in ($(srcdir)/$(PACKAGE).pot): Output to a .pot 20 temporary file, to suppress xgettext checking charset names. 21 222023-11-14 Nick Clifton <nickc@redhat.com> 23 24 PR 31062 25 * objdump.c (decompressed_dumps): New local variable. 26 (usage): Mention the -z/--decompress option. 27 (long_options): Add --decompress. 28 (dump_section_header): Add "COMPRESSED" to the Flags field of any 29 compressed section. 30 (dump_section): Warn users when dumping a compressed section. 31 (display_any_bfd): Decompress the section if decompressed_dumps is 32 true. 33 (main): Handle the -z/--decompress option. 34 * NEWS: Mention the new feature. 35 * doc/binutils.texi: Document the new feature. 36 * testsuite/binutils-all/objdump.s: Update expected output. 37 * testsuite/binutils-all/objdump.exp: Add test of -Z -s. 38 * testsuite/binutils-all/objdump.Zs: New file. 39 40 * readelf.c (maybe_expand_or_relocate_section): New function. 41 Contains common code found in dump functions. Adds a note message 42 if a compressed section is not being decompressed. 43 (dump_section_as_strings): Use new function. 44 (dump_section_as_bytes): Likewise. 45 462023-11-10 Simon Marchi <simon.marchi@efficios.com> 47 48 * readelf.c (decode_AMDGPU_machine_flags): Handle gfx1100, 49 gfx1101, gfx1102. 50 512023-11-10 Vsevolod Alekseyev <sevaa@sprynet.com> 52 53 PR 30880 54 * dwarf.c (read_and_display_attr_value): Fix loclist handling. 55 (display_loclists_list): Likewise. 56 572023-10-24 Tom de Vries <tdevries@suse.de> 58 59 * dwarf.c (display_gdb_index): Handle unknown name of main. 60 612023-10-10 Tom de Vries <tdevries@suse.de> 62 63 * dwarf.c (display_lang): New function, factored out of ... 64 (read_and_display_attr_value): ... here. 65 (display_gdb_index): Handle v9 .gdb_index. 66 672023-10-05 A. Wilcox <awilfox@adelielinux.org>w 68 69 PR 30916 70 * testsuite/binutils-all/addr2line.exp: Do not use PowerPC 71 specific options when working with a MUSL target. 72 732023-10-02 Vsevolod Alekseyev <sevaa@sprynet.com> 74 75 PR 29267 76 * dwarf.c (fetch_indexed_value): Delete. 77 (fetch_indexed_offset): Correct base address calculation. 78 (read_and_display_attr_value): Replace uses of fetch_indexed_value 79 with fetch_indexed_offset. 80 812023-09-28 Frederic Cambus <fred@statdns.com> 82 83 * readelf.c (get_segment_type): Handle PT_OPENBSD_NOBTCFI segment 84 type. 85 862023-09-26 Nick Clifton <nickc@redhat.com> 87 88 * testsuite/binutils-all/ar.exp: Remove assumption of the setting 89 of umask when creating test archive files. 90 912023-09-25 Vsevolod Alekseyev <sevaa@sprynet.com> 92 93 PR 30792 94 * dwarf.h (struct debug_info): Remove range_versions field. 95 * dwarf.c (fetch_indexed_offset): New function. 96 (read_and_display_attr_value): Use it for DW_FORM_rnglistx. 97 Remove code to initialise range_versions. 98 (skip_attribute): New function. 99 (read_bases): Read and reccord all range and address bases in a CU. 100 (process_debug_info): Call read_bases. 101 (display_debug_rnglists): Rename to display_debug_rnglists_unit_header 102 and only display the range list header information. 103 (display_debug_ranges): Adjust. 104 1052023-09-05 Nick Clifton <nickc@redhat.com> 106 107 PR 30684 108 * readelf.c (extra_sym_info): New variable. 109 (section_name_valid): Also check for filedata being NULL. 110 (section_name_print): Delete. 111 (section_index_real): New function. Returns true if the given 112 section index references a real section. 113 (print_symbol): Rename to print_sumbol_name. 114 (printable_section_name): Use a rotating array of static buffers 115 for the return string. 116 (printable_section_name_from_index): Merge code from 117 dump_relocations and get_symbol_index_type into here. 118 (long_option_values): Add OPTION_NO_EXTRA_SYM_INFO. 119 (options): Add "extra-sym-info" and "no-extra-sym-info". 120 (usage): Mention new options. 121 (parse_args): Parse new options. 122 (get_symbol_index_type): Delete. 123 (print_dynamic_symbol_size): Rename to print_symbol_size. 124 (print_dynamic_symbol): Rename to print_symbol. 125 (print_symbol_table_heading): New function. 126 (process_symbol_table): Use new function. 127 * doc/binutils.texi: Document the new option. 128 * NEWS: Mention the new feature. 129 1302023-08-23 Nick Clifton <nickc@redhat.com> 131 132 PR 30781 133 * dwarf.h (debug_info): Add range_versions field. 134 * dwarf.c (read_and_display_attr_value): When recording a range 135 arribute also ecord the dwarf version number. 136 (is_range_list_for_this_section): New function. 137 (display_debug_ranges): Only show debug ranges whose version is 138 suitable for the secction being displayed. 139 1402023-07-30 Jose E. Marchesi <jose.marchesi@oracle.com> 141 142 * readelf.c (get_machine_flags): Recognize and pretty print BPF 143 machine flags. 144 1452023-07-24 Johannes Schauer Marin Rodrigues <josch@debian.org> 146 147 * doc/binutils.texi (objcopy): Document change in behaviour of 148 objcopy's --preserve-dates command line option. 149 1502023-07-09 Fangrui Song <maskray@google.com> 151 152 PR 30592 153 * NEWS: Mention the new feature for objcopy. 154 * doc/binutils.texi: Mention "large". 155 * objcopy.c (parse_flags): Parse "large". 156 (check_new_section_flags): Error if "large" is used with a 157 non-x86-64 ELF target. 158 * testsuite/binutils-all/x86-64/large-sections.d: New. 159 * testsuite/binutils-all/x86-64/large-sections.s: New. 160 * testsuite/binutils-all/x86-64/large-sections-i386.d: New. 161 * testsuite/binutils-all/x86-64/large-sections-2.d: New. 162 * testsuite/binutils-all/x86-64/large-sections-2-x32.d: New. 163 1642023-07-03 Nick Clifton <nickc@redhat.com> 165 166 * README-how-to-make-a-release: Change some version numbers. 167 * configure: Regenerate. 168 * po/binutils.pot: Regenerate. 169 1702023-07-03 Nick Clifton <nickc@redhat.com> 171 172 2.41 Branch Point. 173 1742023-06-30 Nick Clifton <nickc@redhat.com> 175 176 PR 30598 177 * strings.c (set_string_min): New function. 178 (main): Use it. 179 (print_unicode_stream): Calculate buffer size using a size_t. 180 1812023-06-30 Nick Clifton <nickc@redhat.com> 182 183 PR 30595 184 * strings.c (main): Check for an excessively large minimum string 185 length. 186 1872023-06-21 Nick Clifton <nickc@redhat.com> 188 189 * testsuite/lib/binutils-common.exp (prune_warnings_extra): Prune 190 warnings about -z execstack creating an executable stack. 191 1922023-05-30 Nick Clifton <nickc@redhat.com> 193 194 * od-pe.c (targ_info): New array. 195 (get_target_specific_info): New function 196 (decode_machine_number): Retire. Use get_target_specific_info 197 instead. 198 (is_pe_object_magic): Likewise. 199 (dump_pe_file_header): Display more information. 200 Rework layout to be similar to that from 'objdump -p'. 201 Add code to handle larger than normnal AOUT headers. 202 2032023-05-30 Nick Clifton <nickc@redhat.com> 204 205 * od-pe.c (decode_machine_number): Add ARMMAGIC value of 0xa00. 206 (is_pe_object_magic): Likewise. 207 2082023-05-26 Nick Clifton <nickc@redhat.com> 209 210 * od-pe.c: New file: Dumps fields in PE format headers. 211 * configure.ac (od_vectors): Add objdump_private_desc_pe for PE 212 format targets. 213 (od_files): Add od-pe for PE format targets. 214 * configure: Regenerate. 215 * Makefile.am (CFILES): Add od-pe.c 216 (EXTRA_objdump_SOURCE): Likewise. 217 * Makefile.in: Generate. 218 * NEWS: Mention the new feature. 219 * doc/binutils.texi: Document the new support. 220 * objdump.c (wide_output): Change from local to global. 221 * objdump.h (wide_output): Prototype. 222 (objdump_private_desc_pe): Prototype. 223 * testsuite/binutils-all/objdump.exp: Add a test of the new feature. 224 2252023-05-09 Enze Li <enze.li@gmx.com> 226 227 * README: Correct a typo. 228 2292023-05-02 Nick Clifton <nickc@redhat.com> 230 231 * MAINTAINERS: Remove Dimity Diky as MSP430 maintainer. 232 2332023-04-20 Nick Clifton <nickc@redhat.com> 234 235 * SECURITY.txt: New file. 236 2372023-04-19 Nick Clifton <nickc@redhat.com> 238 239 PR 30355 240 * dwarf.c (read_and_display_attr_value): Correctly handle 241 DW_loclistx attributes that index a version 5 .debug_loclists 242 section. 243 2442023-04-17 Nick Clifton <nickc@redhat.com> 245 246 PR 30142 247 * rescoff.c (write_coff_file): Add the SEC_READONLY flag to the 248 .rsrc section. 249 2502023-04-11 Nick Clifton <nickc@redhat.com> 251 252 PR 30327 253 * dwarf.c (read_and_display_attr_value): Warn if the number of 254 views is greater than the number of locations. 255 256 PR 30313 257 * dwarf.c (display_debug_lines_decoded): Check for an overlarge 258 number of files or directories. 259 260 PR 30312 261 * dwarf.c (prealloc_cu_tu_list): Always allocate at least one 262 entry. 263 264 PR 30311 265 * readelf.c (uncompress_section_contents): Check for a 266 suspiciously large uncompressed size. 267 2682023-03-30 Nick Clifton <nickc@redhat.com> 269 270 PR 30284 271 * dwarf.c (read_and_display_attr_value): Detect and ignore 272 negative base values. 273 2742023-03-23 Frederic Cambus <fred@statdns.com> 275 276 * readelf.c (get_segment_type): Handle PT_OPENBSD_MUTABLE segment 277 type. 278 2792023-03-14 Nick Clifton <nickc@redhat.com> 280 281 PR 30227 282 * dwarf.c (process_cu_tu_index): Prevent excessive memory 283 allocation when nused is large and ncols is zero. 284 2852023-02-09 Tom Tromey <tromey@adacore.com> 286 287 * dwarf-mode.el: Bump version to 1.8. 288 (dwarf-insert-substructure): Tighten regexp. 289 (dwarf-refresh-all): New defun. 290 (dwarf-mode-map): Bind "A" to dwarf-refresh-all. 291 (dwarf-mode): Remove old FIXME. 292 2932023-02-07 Nick Clifton <nickc@redhat.com> 294 295 PR 30080 296 * doc/binutils.texi (nm): Update description of the 'n' symbol 297 type. 298 2992023-01-31 Nick Clifton <nickc@redhat.com> 300 301 * po/sv.po: Updated Swedish translation. 302 3032023-01-23 Nick Clifton <nickc@redhat.com> 304 305 * po/sv.po: Updated Swedish translation. 306 3072023-01-18 Nick Clifton <nickc@redhat.com> 308 309 PR 29993 310 * objcopy.c (merge_gnu_build_notes): Remember the last non-deleted 311 note in order to speed up the scan for matching notes. 312 3132023-01-16 Nick Clifton <nickc@redhat.com> 314 315 * po/sv.po: Updated Swedish translation. 316 3172023-01-09 Nick Clifton <nickc@redhat.com> 318 319 * po/bg.po: Updated Bulgarian translation. 320 * po/ro.po: Updated Romainian translation. 321 3222023-01-05 Nick Clifton <nickc@redhat.com> 323 324 * MAINTAINERS: Remove Stephen Casner as the PDP11 maintainer. 325 3262023-01-03 Nick Clifton <nickc@redhat.com> 327 328 * po/fr.po: Updated French translation. 329 * po/uk.po: Updated Ukrainian translation. 330 3312023-01-03 Luis Machado <luis.machado@arm.com> 332 333 * readelf.c (get_note_type): Add support for NT_ARM_SSVE and 334 NT_ARM_ZA note types. 335 3362022-12-31 Nick Clifton <nickc@redhat.com> 337 338 * 2.40 branch created. 339 3402022-12-31 Nick Clifton <nickc@redhat.com> 341 342 * po/ro.po: Updated Romanian translation. 343 3442022-12-21 Nick Clifton <nickc@redhat.com> 345 346 PR 29924 347 * objdump.c (load_specific_debug_section): Check for excessively 348 large sections. 349 3502022-12-19 Tom Tromey <tromey@adacore.com> 351 352 * dwarf-mode.el (dwarf-do-refresh): Avoid compiler warning. 353 3542022-12-19 Nick Clifton <nickc@redhat.com> 355 356 PR 29914 357 * dwarf.c (fetch_indexed_value): Fail if the section is not big 358 enough to contain a header size field. 359 (display_debug_addr): Fail if the computed address size is too big 360 or too small. 361 3622022-12-16 Nick Clifton <nickc@redhat.com> 363 364 PR 29908 365 * dwarf.c (display_debug_addr): Check for corrupt header lengths. 366 3672022-12-01 Nick Clifton <nickc@redhat.com> 368 369 PR 25202 370 * objcopy.c (copy_object): Set VerilogDataEndianness to the 371 endianness of the input file. 372 (copy_main): Verifiy the value set by the --verilog-data-width 373 option. 374 * testsuite/binutils-all/objcopy.exp: Add tests of the new behaviour. 375 * testsuite/binutils-all/verilog-I4.hex: New file. 376 3772022-11-21 Nick Clifton <nickc@redhat.com> 378 379 PR 29764 380 * doc/binutils.texi (objdump): Note that the -m option supports 381 the <architecture>:<machine> syntax. 382 3832022-11-04 Nick Clifton <nickc@redhat.com> 384 385 * README-how-to-make-a-release: Add instructions for uploading the 386 gprofng documentation. 387 3882022-10-31 Nick Clifton <nickc@redhat.com> 389 390 PR 29457 391 * configure.ac: Add --enable-colored-disassembly. 392 * objdump.c: Add --disassembler-color=terminal. 393 * doc/binutils.texi (objdump): Document the new option. 394 * NEWS: Mention new feature. 395 * config.in: Regenerate in. 396 * configure: Regenerate. 397 3982022-10-19 Nick Clifton <nickc@redhat.com> 399 400 * MAINTAINERS: Add section on patches, copyright and DCO. 401 4022022-10-12 Nick Clifton <nickc@redhat.com> 403 404 PR 29665 405 * objcopy.c (copy_object): Use the input filename when 406 reporting that a .gnu_debuglink section already exists. 407 4082022-10-03 Nick Clifton <nickc@redhat.com> 409 410 * readelf.c (get_32bit_section_headers): Return false if the 411 e_shoff field is zero. 412 (get_64bit_section_headers): Likewise. 413 4142022-09-28 Nick Clifton <nickc@redhat.com> 415 416 PR 29628 417 * size.c (usage): Add -f. 418 * doc/binutils.texi (size): Add -f. 419 4202022-09-20 Nick Clifton <nickc@redhat.com> 421 422 * objcopy.c (copy_object): Do not issue a warning message when 423 encountering empty .gnu.build.attribute sections. 424 4252022-09-14 Rupesh Potharla <Rupesh.Potharla@amd.com> 426 427 * testsuite/binutils-all/readelf.exp (readelf_wi_test): Extend 428 regexps to allow for output genreated by the Clang compiler. 429 4302022-09-12 Aaron Merey <amerey@redhat.com> 431 432 * objcopy.c (might_need_separate_debug_info): Add with_source_code to 433 the options that cause this function to return true. 434 (main.c): Add with_source_code to the options that enable 435 dump_any_debugging. 436 4372022-09-09 Nick Clifton <nickc@redhat.com> 438 439 PR 29532 440 * objcopy.c (setup_section): Leave group sections intact when 441 creating separate debuginfo files. 442 4432022-09-08 Nick Clifton <nickc@redhat.com> 444 445 PR 29523 446 * dwarf.c (display_debug_lines_decoded): Correctly handle DWARF-5 447 directory and filename tables. 448 4492022-09-02 Aaron Merey <amerey@redhat.com> 450 451 PR 29075 452 * objdump.c (find_separate_debug): New function. Finds the bfd 453 corresponding to the separate debuginfod of a given bfd. 454 (find_alt_debug): New function. Finds the bfd corresponding to the 455 .gnu_debugaltlink of a given bfd. 456 (slurp_file): Add bfd parameter. If a source file cannot be found 457 attempt to download it from debuginfod, if enabled. 458 (try_print_file_open): Add bfd parameter and pass it to slurp_file. 459 (show_line): If debuginfod is enabled, call 460 bfd_find_nearest_line_with_alt instead of bfd_find_nearest_line. 461 4622022-09-01 Nick Clifton <nickc@redhat.com> 463 464 PR 29534 465 * dllwrap.c: Replace uses of choose_temp_base() with 466 make_temp_file(). 467 * dlltool.c: Likewise. 468 * resrc.c: Likewise. 469 4702022-08-23 Nick Clifton <nickc@redhat.com> 471 472 PR 29489 473 * dlltool.c (deterministic): New variable. 474 (gen_lib_file): If deterministic is true set the 475 BFD_DETERMINISTIC_OUTPUT flag. 476 (usage): Mention --deterministic-libraries and 477 --non-deterministic-libraries. 478 (long_options): Add new options. 479 (main): Parse new options. 480 * doc/binutils.texi: Document the new options. 481 * NEWS: Mention the new feature. 482 4832022-08-22 Nick Clifton <nickc@redhat.com> 484 485 * readelf.c (check_magic_number): New function. Checks the magic 486 bytes at the start of a file. If they are not the ELF format 487 magic values, then attempts to generate a helpful error message. 488 (process_file_header): Call check_magic_number. 489 4902022-08-09 Nick Clifton <nickc@redhat.com> 491 492 PR 29457 493 * objdump.c (disassembler_color): Change type to an enum. 494 (disassembler_extended_color): Remove. 495 (usage): Update. 496 (objdump_color_for_assembler_style): Update. 497 (main): Update initialisation of disassembler_color. If not 498 initialised via a command line option, set based upon terminal 499 output. 500 * doc/binutils.texi: Update description of disassmbler-color 501 option. 502 * testsuite/binutils-all/arc/objdump.exp: Add 503 --disassembler-color=off option when disassembling. 504 * testsuite/binutils-all/arm/objdump.exp: Likewise. 505 5062022-08-08 Nick Clifton <nickc@redhat.com> 507 508 * README-how-to-make-a-release: Add a link to the NEWS files in 509 the release announcement email. 510 5112022-07-08 Nick Clifton <nickc@redhat.com> 512 513 * 2.39 branch created. 514 5152022-07-01 Nick Clifton <nickc@redhat.com> 516 517 * dwarf.c (display_debug_rnglists): Add newline at end of listing. 518 5192022-06-30 Nick Clifton <nickc@redhat.com> 520 521 * dwarf.c (dwarf_select_sections_by_name): If the entry's value is 522 zero then clear the corresponding variable. 523 (dwarf_select_sections_by_letters): Likewise. 524 * testsuite/binutils-all/debuginfo.exp: Expect -WE and -wE 525 debuginfod tests to fail. 526 5272022-06-28 Nick Clifton <nickc@redhat.com> 528 529 PR 29267 530 * dwarf.c (display_debug_rnglists): New function, broken out of.. 531 (display_debug_ranges): ... here. 532 (read_and_display_attr_value): Correct calculation of index 533 displayed for DW_FORM_loclistx and DW_FORM_rnglistx. 534 * testsuite/binutils-all/x86-64/pr26808.dump: Update expected 535 output. 536 5372022-06-27 Nick Clifton <nickc@redhat.com> 538 539 PR 29289 540 * dwarf.c (display_debug_names): Replace assert with a warning 541 message. 542 5432022-06-27 Nick Clifton <nickc@redhat.com> 544 545 PR 29290 546 * dwarf.c (read_and_display_attr_value): Check that debug_info_p 547 is set before dereferencing it. 548 5492022-06-27 Nick Clifton <nickc@redhat.com> 550 551 * dwarf.c (fetch_indexed_string): Do not use length of first table 552 in string section as the length of every table in the section. 553 554 * testsuite/binutils-all/pr26112.r: Update expected output. 555 5562022-06-22 Kumar N, Bhuvanendra <Kavitha.Natarajan@amd.com> 557 558 * dwarf.c (fetch_indexed_string): Added new parameter 559 str_offsets_base to calculate the string offset. 560 (read_and_display_attr_value): Read DW_AT_str_offsets_base 561 attribute. 562 (process_debug_info): While allocating memory and initializing 563 debug_information, do it for do_debug_info also, if its true. 564 (load_separate_debug_files): Load .debug_str_offsets if exists. 565 * dwarf.h (struct debug_info): Add str_offsets_base field. 566 5672022-06-22 Marcus Nilsson <brainbomb@gmail.com> 568 569 * readelf.c: (slurp_relr_relocs) Use malloc instead of xmalloc 570 when allocating space for relocations. 571 5722022-06-21 Kumar N, Bhuvanendra <Kavitha.Natarajan@amd.com> 573 574 * dwarf.h (struct debug_info): Add rnglists_base field. 575 * dwarf.c (read_and_display_attr_value): Read attribute DW_AT_rnglists_base. 576 (display_debug_rnglists_list): While handling DW_RLE_base_addressx, 577 DW_RLE_startx_endx, DW_RLE_startx_length items, pass the proper parameter 578 value to fetch_indexed_addr(), i.e. fetch the proper entry in .debug_addr section. 579 (display_debug_ranges): Add rnglists_base to the .debug_rnglists base address. 580 (load_separate_debug_files): Load .debug_addr section, if exists. 581 5822022-05-20 Nick Clifton <nickc@redhat.com> 583 584 * dwarf.c (dwarf_select_sections_by_names): Return zero if no 585 sections were selected. 586 (dwarf_select_sections_by_letters): Likewise. 587 * dwarf.h: (dwarf_select_sections_by_names): Update prototype. 588 (dwarf_select_sections_by_letters): Update prototype. 589 * objdump.c (might_need_separate_debug_info): New function. 590 (dump_bfd): Call new function before attempting to load separate 591 debug info files. 592 (main): Do not enable dwarf section dumping for -WK or -WN. 593 * readelf.c (parse_args): Do not enable dwarf section dumping for 594 -wK or -wN. 595 (might_need_separate_debug_info): New function. 596 (process_object): Call new function before attempting to load 597 separate debug info files. 598 * testsuite/binutils-all/debuginfo.exp: Expect -WE and -wE 599 debuginfod tests to pass. 600 * testsuite/binutils-all/objdump.Wk: Add extra regexps. 601 * testsuite/binutils-all/readelf.k: Add extra regexps. 602 6032022-05-19 Nick Clifton <nickc@redhat.com> 604 605 * dlltool.c (run): Initialise errmsg_fmt. 606 * dllwrap.c (run): Likewise. 607 * resrc.c (run_cmd): Likewise. 608 * mclex.c (mc_add_keyword): Initialise usz. 609 * srconv.c (wd_hd): Initialise hd.spare2. 610 * windmc.c (mc_add_node_lang): Initialise s. 611 (mc_generate_bin_item): Initialise cvt_txt. 612 (main): Initialise u. 613 6142022-05-18 Nick Clifton <nickc@redhat.com> 615 616 PR 29135 617 * nm.c (non_weak): New variable. 618 (filter_symbols): When non-weak is true, ignore weak symbols. 619 (long_options): Add --no-weak. 620 (usage): Mention --no-weak. 621 (main): Handle -W/--no-weak. 622 * doc/binutils.texi: Document new feature. 623 * NEWS: Mention the new feature. 624 * testsuite/binutils-all/nm.exp: Add test of new feature. 625 * testsuite/binutils-all/no-weak.s: New test source file. 626 6272022-04-25 Nick Clifton <nickc@redhat.com> 628 629 PR 29072 630 * testsuite/lib/binutils-common.exp (prune_warnings_extra): Filter 631 out notes about the executable stacjk behaviour beign deprecated. 632 6332022-04-12 Nick Clifton <nickc@redhat.com> 634 635 PR 28992 636 * objcopy.c (is_strip_section_1): Do not delete debuglink sections 637 when stripping debug information. 638 6392022-04-06 Nick Clifton <nickc@redhat.com> 640 641 PR 28981 642 * dwarf.c (fetch_indexed_value): Rename to fecth_indexed_addr and 643 return the address, rather than a string. 644 (fetch_indexed_value): New function - returns a value indexed by a 645 DW_FORM_loclistx or DW_FORM_rnglistx form. 646 (read_and_display_attr_value): Add support for DW_FORM_loclistx 647 and DW_FORM_rnglistx. 648 (process_debug_info): Load the loclists and rnglists sections. 649 (display_loclists_list): Add support for DW_LLE_base_addressx, 650 DW_LLE_startx_endx, DW_LLE_startx_length and 651 DW_LLE_default_location. 652 (display_offset_entry_loclists): New function. Displays a 653 .debug_loclists section that contains offset entry tables. 654 (display_debug_loc): Call the new function. 655 (display_debug_rnglists_list): Add support for 656 DW_RLE_base_addressx, DW_RLE_startx_endx and DW_RLE_startx_length. 657 (display_debug_ranges): Display the contents of the section's 658 header. 659 * dwarf.h (struct debug_info): Add loclists_base field. 660 * testsuite/binutils-all/dw5.W: Update expected output. 661 * testsuite/binutils-all/x86-64/pr26808.dump: Likewise. 662 6632022-04-01 John Baldwin <jhb@FreeBSD.org> 664 665 * readelf.c (get_freebsd_elfcore_note_type): Handle 666 NT_FREEBSD_X86_SEGBASES. 667 6682022-03-31 Nick Clifton <nickc@redhat.com> 669 670 * arlex.l: Accept the plus character as part of a filename. 671 6722022-03-16 Fangrui Song <maskray@google.com> 673 674 PR binutils/28926 675 * objcopy.c (filter_symbols): Apply weaken to STB_GNU_UNIQUE symbols 676 * NEWS: Mention feature. 677 * testsuite/binutils-all/objcopy.exp (objcopy_test_symbol_manipulation): New test. 678 * testsuite/binutils-all/weaken-gnu-unique.s: New. 679 6802022-03-16 Martin Storsjö <martin@martin.st> 681 682 PR 28885 683 * dlltool.c (main): use imp_name rather than dll_name when 684 generating a temporary file name. 685 6862022-03-16 Simon Marchi <simon.marchi@efficios.com> 687 688 * readelf.c (dump_relocations): Handle EM_AMDGPU. 689 6902022-03-16 Simon Marchi <simon.marchi@efficios.com> 691 692 * Makefile.am (readelf_CFLAGS): New. 693 (readelf_LDADD): Add MSGPACK_LIBS. 694 * Makefile.in: Re-generate. 695 * config.in: Re-generate. 696 * configure: Re-generate. 697 * configure.ac: Add --with-msgpack flag and check for msgpack 698 using pkg-config. 699 * readelf.c: Include msgpack.h if HAVE_MSGPACK. 700 (print_note_contents_hex): New. 701 (print_indents): New. 702 (dump_msgpack_obj): New. 703 (dump_msgpack): New. 704 (print_amdgpu_note): New. 705 (process_note): Handle NT_AMDGPU_METADATA note contents. 706 Use print_note_contents_hex. 707 7082022-03-16 Simon Marchi <simon.marchi@efficios.com> 709 710 * readelf.c (get_amdgpu_elf_note_type): New. 711 (process_note): Handle "AMDGPU" notes. 712 7132022-03-16 Simon Marchi <simon.marchi@efficios.com> 714 715 * readelf.c: Include elf/amdgcn.h. 716 (decode_AMDGPU_machine_flags): New. 717 (get_machine_flags): Handle flags for EM_AMDGPU machine type. 718 7192022-03-16 Simon Marchi <simon.marchi@efficios.com> 720 721 * readelf.c (get_osabi_name): Handle EM_AMDGPU OS ABIs. 722 7232022-03-16 Nick Clifton <nickc@redhat.com> 724 725 * po/sr.po: Updated Serbian translation. 726 7272022-03-15 Tom Tromey <tromey@adacore.com> 728 729 * dwarf-mode.el: Now 1.7. 730 (dwarf--sentinel): Switch to the process buffer. 731 7322022-03-11 Vladimir Mezentsev <vladimir.mezentsev@oracle.com> 733 734 * MAINTAINERS: Add gprofng maintainer. 735 * README-how-to-make-a-release: Add gprofng. 736 7372022-03-10 Nick Clifton <nickc@redhat.com> 738 739 * dwarf.c (use_debuginfod): New variable. Set to 1. 740 (load_separate_debug_info): Only call 741 debuginfod_fetch_separate_debug_info is use_debuginfod is true. 742 (dwarf_select_sections_by_names): Add do-not-use-debuginfod and 743 use-debuginfod options. 744 (dwarf_select_sections_by_letters): Add D and E options. 745 * dwarf.h (use_debuginfod): New extern. 746 * objdump.c (usage): Mention the new options. 747 * readelf.c (usage): Likewise. 748 * doc/binutils.texi: Document the new options. 749 * doc/debug-options.texi: Describe the new options. 750 * NEWS: Mention the new feature. 751 * testsuite/binutils-all/debuginfod.exp: Add tests of the new 752 options. 753 7542021-03-06 Maciej W. Rozycki <macro@orcam.me.uk> 755 756 * testsuite/binutils-all/mips/mips1-branch-alias.d: New test. 757 * testsuite/binutils-all/mips/mips1-branch-noalias.d: New test. 758 * testsuite/binutils-all/mips/mips2-branch-alias.d: New test. 759 * testsuite/binutils-all/mips/mips2-branch-noalias.d: New test. 760 * testsuite/binutils-all/mips/mips32r6-branch-alias.d: New test. 761 * testsuite/binutils-all/mips/mips32r6-branch-noalias.d: New 762 test. 763 * testsuite/binutils-all/mips/micromips-branch-alias.d: New 764 test. 765 * testsuite/binutils-all/mips/micromips-branch-noalias.d: New 766 test. 767 * testsuite/binutils-all/mips/mips-branch-alias.s: New test 768 source. 769 * testsuite/binutils-all/mips/micromips-branch-alias.s: New test 770 source. 771 * testsuite/binutils-all/mips/mips.exp: Run the new tests. 772 7732022-03-04 Simon Marchi <simon.marchi@polymtl.ca> 774 775 * readelf.c (process_dynamic_section): Fix indentation. 776 7772022-02-09 Nick Clifton <nickc@redhat.com> 778 779 * README-how-to-make-a-release: Update after the 2.38 release. 780 7812022-01-27 Nick Clifton <nickc@redhat.com> 782 783 * po/sv.po: Updated Swedish translation. 784 7852022-01-24 Nick Clifton <nickc@redhat.com> 786 787 * po/bg.po: Updated Bulgarian translation. 788 * po/fr.po: Updated French translation. 789 * po/ro.po: Updated Romanian translation. 790 * po/uk.po: Updated Ukranian translation. 791 7922022-01-22 Martin Storsjö <martin@martin.st> 793 794 * dlltool.c (main): Allow inferring tmp_prefix from the dll name 795 from a def file. 796 7972022-01-22 Nick Clifton <nickc@redhat.com> 798 799 * configure: Regenerate. 800 * po/binutils.pot: Regenerate. 801 8022022-01-22 Nick Clifton <nickc@redhat.com> 803 804 * 2.38 release branch created. 805 8062022-01-17 Nick Clifton <nickc@redhat.com> 807 808 * Makefile.in: Regenerate. 809 8102022-01-11 Fangrui Song <maskray@google.com> 811 812 PR binutils/28759 813 * ar.c (long_options): Add --thin. 814 (usage) Add --thin. Deprecate -T without diagnostics. 815 * doc/binutils.texi: Add doc. 816 * NEWS: Mention --thin. 817 * binutils/testsuite/binutils-all/ar.exp: Add tests. 818 8192022-01-11 Martin Storsjö <martin@martin.st> 820 821 * dlltool.c (main): If a prefix has not been provided, attempt to 822 use a deterministic one based upon the dll name. 823 8242022-01-07 Pavel Mayorov <pmayorov@cloudlinux.com> 825 826 PR 28718 827 * dwarf.c: Revert previous delta. 828 (debug_get_real_type): Reject indirect types that point to 829 indirect types. 830 (debug_get_type_name, debug_get_type_size, debug_write_type): 831 Likewise. 832 8332022-01-06 Nick Clifton <nickc@redhat.com> 834 835 * debug.c (debug_write_type): Allow for malicious recursion via 836 indirect debug types. 837 8382022-01-04 Nick Clifton <nickc@redhat.com> 839 840 PR 28716 841 * dwarf.c (load_build_id_debug_file): Remove spurious printf. 842 8432021-12-16 Nick Clifton <nickc@redhat.com> 844 845 PR 28697 846 * dwarf.c (load_build_id_debug_file): New function. 847 (try_build_id_prefix): New function. 848 (check_for_and_load_links): Call load_build_id_debug_file. 849 (debug_displays): Add entry for .note.gnu.build-id. 850 * dwarf.h (enum dwarf_section_display_enum): Add 851 note_gnu_build_id. 852 * testsuite/binutils-all/debuginfod.exp (test_fetch_debuglink): 853 Fix regexp for loads via debuglink section. 854 8552021-12-03 Chenghua Xu <xuchenghua@loongson.cn> 856 857 * MAINTAINERS: Add myself and Zhensong Liu 858 as the LoongArch maintainer. 859 8602021-12-02 Nick Clifton <nickc@redhat.com> 861 862 PR 28645 863 * dwarf.c (process_cu_tu_index): Add test for overruning section 864 whilst processing slots. 865 8662021-11-30 Roland McGrath <mcgrathr@google.com> 867 868 * doc/local.mk: Give each man page target its missing dependency on 869 doc/$(am__dirstamp). 870 8712021-11-30 Nick Clifton <nickc@redhat.com> 872 873 * dwarf.c (find_debug_info_for_offset): Use dwarf_vma type for 874 offsets, sizes and ranges. 875 (display_loc_list): Likewise. Also use print_dwarf_vma to print 876 the offset. 877 (display_loclists_list): Likewise. 878 (display_loc_list_dwo): Likewise. 879 (display_debug_str): Likewise. 880 (display_debug_aranges): Likewise. 881 (display_debug_ranges_list): Likewise. 882 (display_debug_rnglists_list): Likewise. 883 (display_debug_ranges): Likewise. 884 8852021-11-29 Nick Clifton <nickc@redhat.com> 886 887 PR 28632 888 * strings.c (usage): Update desciption of -n option. 889 * doc/binutils.texi: Likewise. 890 8912021-11-24 Nick Clifton <nickc@redhat.com> 892 893 PR 28564 894 * sysdump.c (getCHARS): Check for an out of bounds read. 895 8962021-11-16 Fangrui Song <maskray@google.com> 897 898 * readelf.c (enum relocation_type): New. 899 (slurp_relr_relocs): New. 900 (dump_relocations): Change is_rela to rel_type. 901 Dump RELR. 902 (dynamic_relocations): Add DT_RELR. 903 (process_relocs): Check SHT_RELR and DT_RELR. 904 (process_dynamic_section): Store into dynamic_info for 905 DT_RELR/DT_RELRENT/DT_RELRSZ. 906 9072021-11-09 Nick Clifton <nickc@redhat.com> 908 909 * nm.c: Add --unicode option to control how unicode characters are 910 handled. 911 * objdump.c: Likewise. 912 * readelf.c: Likewise. 913 * strings.c: Likewise. 914 * binutils.texi: Document the new feature. 915 * NEWS: Document the new feature. 916 * testsuite/binutils-all/unicode.exp: New file. 917 * testsuite/binutils-all/nm.hex.unicode 918 * testsuite/binutils-all/strings.escape.unicode 919 * testsuite/binutils-all/objdump.highlight.unicode 920 * testsuite/binutils-all/readelf.invalid.unicode 921 9222021-11-03 Tom Tromey <tromey@adacore.com> 923 924 * dwarf.c (display_debug_loc): Use section name in warnings. 925 9262021-10-25 Nick Alcock <nick.alcock@oracle.com> 927 928 * objdump.c (usage): --ctf now has an optional argument. 929 (main): Adjust accordingly. 930 (dump_ctf): Default it. 931 * doc/ctf.options.texi: Adjust. 932 9332021-10-25 Nick Alcock <nick.alcock@oracle.com> 934 935 * objdump.c (usage): --ctf-parent now takes a name, not a section. 936 (dump_ctf): Don't open a separate section; use the parent_name in 937 ctf_dict_open instead. Use ctf_archive_next, not ctf_archive_iter, 938 so we can pass down a member count. 939 (dump_ctf_archive_member): Add the member count; don't return 940 anything. Import parents into children no matter what the 941 parent's name, while still avoiding displaying the header for the 942 common parent name of ".ctf". 943 * readelf.c (usage): Adjust similarly. 944 (dump_section_as_ctf): Likewise. 945 (dump_ctf_archive_member): Likewise. Never stop iterating over 946 archive members, even if ctf_dump of one member fails. 947 * doc/ctf.options.texi: Adjust. 948 9492021-10-19 Nick Clifton <nickc@redhat.com> 950 951 * nm.c (filter_symbols): Test for a NULL name before checking to 952 see if the symbol is __gnu_lto_slim. 953 * objcopy.c (filter_symbols): Likewise. 954 9552021-09-30 Nick Clifton <nickc@redhat.com> 956 957 * objcopy.c (filter_symbols): Fail if attempting to dredefine 958 symbols in an LTO object file. 959 9602021-09-27 Nick Alcock <nick.alcock@oracle.com> 961 962 * configure: Regenerate. 963 9642021-09-20 Andrew Burgess <andrew.burgess@embecosm.com> 965 966 * testsuite/binutils-all/riscv/riscv.exp: New file. 967 * testsuite/binutils-all/riscv/unknown.d: New file. 968 * testsuite/binutils-all/riscv/unknown.s: New file. 969 9702021-09-07 Luis Machado <luis.machado@linaro.org> 971 972 Revert: [AArch64] MTE corefile support 973 974 2021-05-21 Luis Machado <luis.machado@linaro.org> 975 976 * readelf.c (get_note_type): Handle NT_MEMTAG note types. 977 9782021-08-11 Nick Clifton <nickc@redhat.com> 979 980 * po/pt.po: Updated Portuguese translation. 981 9822021-08-10 Nick Clifton <nickc@redhat.com> 983 984 * po/sr.po: Updated Serbian translation. 985 9862021-07-16 Nick Clifton <nickc@redhat.com> 987 988 * po/sv.po: Updated Swedish translation. 989 9902021-07-14 Clément Chigot <clement.chigot@atos.net> 991 992 * dwarf.h (struct dwarf_section): Add XCOFF name. 993 * dwarf.c (struct dwarf_section_display): Update. 994 * objdump.c (load_debug_section): Add XCOFF name handler. 995 (dump_dwarf_section): Likewise. 996 9972021-07-12 Nick Clifton <nickc@redhat.com> 998 999 * po/fr.po: Updated French translation. 1000 10012021-07-10 Alan Modra <amodra@gmail.com> 1002 1003 PR 28069 1004 * dwarf.c (display_discr_list): Remove assertions. Delete "end" 1005 parameter, use initial "data" pointer as the end. Formatting. 1006 Don't count down bytes as they are read. 1007 (read_and_display_attr_value): Adjust display_discr_list call. 1008 (read_and_print_leb128): Don't pass __FILE__ and __LINE__ to 1009 report_leb_status. 1010 * dwarf.h (report_leb_status): Don't report file and line 1011 numbers. Delete file and lnum parameters, 1012 (READ_ULEB, READ_SLEB): Adjust. 1013 10142021-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> 1015 1016 * configure.ac: Check for strnlen declaration. 1017 * configure, config.in: Regenerate. 1018 10192021-07-05 Alan Modra <amodra@gmail.com> 1020 1021 PR 28047 1022 * dwarf.c (get_type_abbrev_from_form): Add cu_end parameter. 1023 Check DW_FORM_ref1 etc. arg against cu_end rather than end of 1024 section. Adjust all callers. 1025 10262021-07-03 Nick Clifton <nickc@redhat.com> 1027 1028 * configure: Regenerate. 1029 * po/opcodes.pot: Regenerate. 1030 * README-how-to-make-a-release: Update. 1031 10322021-07-03 Nick Clifton <nickc@redhat.com> 1033 1034 * 2.37 release branch created. 1035 10362021-07-02 Alan Modra <amodra@gmail.com> 1037 1038 PR 28048 1039 * dwarf.c (get_type_signedness): Don't run off end of buffer 1040 printing DW_FORM_string attribute. 1041 10422021-07-01 Nick Clifton <nickc@redhat.com> 1043 1044 PR 28029 1045 * testsuite/binutils-all/debuginfod.exp: Replace -wK with -wk. 1046 10472021-07-01 Andrei Homescu <ah@immunant.com> 1048 1049 * readelf.c (process_archive): Reset file position to the 1050 beginning when calling process_object for thin archive members. 1051 * testsuite/binutils-all/readelf.exp: Add test. 1052 * testsuite/binutils-all/readelf.h.thin: New file. 1053 10542021-06-30 Tom Tromey <tom@tromey.com> 1055 1056 * dwarf.c (read_and_display_attr_value): Handle 1057 DW_FORM_implicit_const. 1058 10592021-06-30 Richard Henderson <richard.henderson@linaro.org> 1060 1061 * dwarf.c (display_debug_frames): Both DW_CFA_def_cfa_sf 1062 and DW_CFA_def_cfa_offset_sf have a signed offset. 1063 10642021-06-19 Alan Modra <amodra@gmail.com> 1065 1066 * dwarf.c (display_debug_lines_decoded): Use memcpy rather than 1067 strncpy when trimming file name length to MAX_FILENAME_LENGTH. 1068 Don't make an unnecessary copy when length is good. 1069 10702021-06-18 H.J. Lu <hongjiu.lu@intel.com> 1071 1072 * readelf.c (print_gnu_property_note): Handle 1073 GNU_PROPERTY_UINT32_AND_LO, GNU_PROPERTY_UINT32_AND_HI, 1074 GNU_PROPERTY_UINT32_OR_LO and GNU_PROPERTY_UINT32_OR_HI. 1075 10762021-06-15 Nick Clifton <nickc@redhat.com> 1077 1078 * readelf.c (get_note_type): Add support for NT_GO_BUILDID. 1079 10802021-06-15 Alan Modra <amodra@gmail.com> 1081 1082 * readelf.c (locate_dynamic_section, is_pie): New functions. 1083 (get_file_type): Replace e_type parameter with filedata. Call 1084 is_pie for ET_DYN. Update all callers. 1085 (process_program_headers): Use local variables dynamic_addr and 1086 dynamic_size, updating filedata on exit from function. Set 1087 dynamic_size of 1 to indicate no dynamic section or segment. 1088 Update tests of dynamic_size throughout. 1089 * testsuite/binutils-all/x86-64/pr27708.dump: Update expected output. 1090 10912021-06-14 Eric Botcazou <ebotcazou@adacore.com> 1092 1093 * dwarf.c (struct abbrev_attr): Change type of implicit_const. 1094 (add_abbrev_attr): Likewise. 1095 (process_abbrev_set): Likewise. 1096 (display_debug_abbrev): Adjust to above change. 1097 10982021-06-12 Alan Modra <amodra@gmail.com> 1099 1100 * readelf.c (process_file_header): Don't clear section_headers. 1101 11022021-06-12 Alan Modra <amodra@gmail.com> 1103 1104 * readelf.c (get_section_headers): Don't test e_shoff here, leave 1105 that to get_32bit_section_headers or get_64bit_section_headers. 1106 (process_object): Throw away section header read to print file 1107 header extension. 1108 11092021-06-11 Alan Modra <amodra@gmail.com> 1110 1111 * readelf.c (struct filedata): Move archive_file_offset and 1112 archive_file_size earlier. 1113 (free_filedata): Clear using memset. 1114 11152021-06-11 Alan Modra <amodra@gmail.com> 1116 1117 * readelf.c (GET_ELF_SYMBOLS): Delete. Replace with.. 1118 (get_elf_symbols): ..this new function throughout. 1119 (get_32bit_section_headers): Don't free section_headers. 1120 (get_64bit_section_headers): Likewise. 1121 (get_section_headers): New function, use throughout in place of 1122 32bit and 64bit variants. 1123 (get_dynamic_section): Similarly. 1124 (process_section_headers): Don't free filedata memory here. 1125 (get_file_header): Don't get section headers here.. 1126 (process_object): ..Read them here instead. Don't exit without 1127 freeing filedata memory. 1128 11292021-06-09 Nick Clifton <nickc@redhat.com> 1130 1131 * MAINTAINERS: Remove Daniel Jacobwitz from the maintainers list. 1132 11332021-06-07 Jan Beulich <jbeulich@suse.com> 1134 1135 * dwarf.c (display_debug_aranges): Add u suffix to constant. 1136 11372021-05-29 Alan Modra <amodra@gmail.com> 1138 1139 * objdump (usage): Add missing \n. 1140 11412021-05-29 Alan Modra <amodra@gmail.com> 1142 1143 * readelf.c (parse_args): Call dwarf_select_sections_all on 1144 --debug-dump without optarg. 1145 (usage): Associate -w and --debug-dump options closely. 1146 Split up help message. Remove extraneous blank lines around 1147 ctf help. 1148 * objdump.c (usage): Similarly. 1149 11502021-05-29 Maciej W. Rozycki <macro@orcam.me.uk> 1151 1152 * testsuite/binutils-all/mips/mips-xpa-virt-1.d: Correct CFC0 1153 operand disassembly. 1154 * testsuite/binutils-all/mips/mips-xpa-virt-3.d: Likewise. 1155 11562021-05-29 Maciej W. Rozycki <macro@orcam.me.uk> 1157 1158 * testsuite/binutils-all/mips/mips-xpa-virt-1.d: Use `mips:3000' 1159 machine for disassembly. 1160 * testsuite/binutils-all/mips/mips-xpa-virt-2.d: Likewise. 1161 * testsuite/binutils-all/mips/mips-xpa-virt-3.d: Likewise. 1162 * testsuite/binutils-all/mips/mips-xpa-virt-4.d: Likewise. 1163 11642021-05-28 H.J. Lu <hongjiu.lu@intel.com> 1165 1166 PR ld/27905 1167 * readelf.c (decode_x86_feature_2): Revert commit 50c95a739c9. 1168 11692021-05-27 Alan Modra <amodra@gmail.com> 1170 1171 * readelf (usage): Order -w letters to match --debug-dump= and 1172 move common '=' for --debug-dump out of brackets. 1173 11742021-05-26 H.J. Lu <hongjiu.lu@intel.com> 1175 1176 PR ld/27905 1177 * readelf.c (decode_x86_feature_2): Support 1178 GNU_PROPERTY_X86_FEATURE_2_CODE16. 1179 11802021-05-23 Tiezhu Yang <yangtiezhu@loongson.cn> 1181 1182 * readelf.c (get_machine_name): Change Loongson Loongarch to 1183 LoongArch. 1184 11852021-05-21 Luis Machado <luis.machado@linaro.org> 1186 1187 * readelf.c (get_note_type): Add missing NT_ARM_* entries. 1188 11892021-05-21 Luis Machado <luis.machado@linaro.org> 1190 1191 * readelf.c (get_note_type): Handle NT_MEMTAG note types. 1192 11932021-05-19 Eli Schwartz <eschwartz@archlinux.org> 1194 1195 * dwarf.c (ENABLE_CHECKING): Define to 0 if not previously set. 1196 11972021-05-19 Alan Modra <amodra@gmail.com> 1198 1199 PR 27884 1200 * dwarf.c (get_type_abbrev_from_form): Replace cu_offset_return 1201 param with map_return, and return map for DW_FORM_ref_addr. 1202 (get_type_signedness): Adjust calls to get_type_abbrev_from_form. 1203 Pass returned cu map start and end to recursive call. 1204 (read_and_display_attr_value): Similarly. 1205 12062021-05-19 Alan Modra <amodra@gmail.com> 1207 1208 PR 27879 1209 * sysdump.c (getBARRAY): Sanity check size against max. 1210 (getINT): Avoid UB shift left. 1211 12122021-05-15 Alan Modra <amodra@gmail.com> 1213 1214 * dwarf.c (process_cu_tu_index): Avoid pointer UB. Use _mul_overflow. 1215 Delete dead code. 1216 12172021-05-15 Alan Modra <amodra@gmail.com> 1218 1219 * dwarf.c (display_gdb_index): Avoid pointer UB and overflow in 1220 length calculations. 1221 12222021-05-15 Alan Modra <amodra@gmail.com> 1223 1224 * dwarf.c (display_debug_names): Complain when header length is 1225 too small. Avoid pointer UB. Sanity check augmentation string, 1226 CU table, TU table and foreign TU table sizes. 1227 12282021-05-15 Alan Modra <amodra@gmail.com> 1229 1230 * dwarf.c (display_debug_frames): Delete initial_length_size. 1231 Avoid pointer UB. Constrain data reads to length given in header. 1232 Sanity check cie header length. Only skip up to next FDE on 1233 finding augmentation data too long. 1234 12352021-05-15 Alan Modra <amodra@gmail.com> 1236 1237 * dwarf.c (read_cie): Add more sanity checks to ensure data 1238 pointer is not bumped past end. 1239 12402021-05-15 Alan Modra <amodra@gmail.com> 1241 1242 * dwarf.c (display_debug_ranges): Delete initial_length_size. 1243 Correct fallback size calculated on finding a reloc. Constrain 1244 data reads to length given in header. Avoid pointer UB. 1245 12462021-05-15 Alan Modra <amodra@gmail.com> 1247 1248 * dwarf.c (display_debug_rnglists_list): Avoid pointer UB. 1249 12502021-05-15 Alan Modra <amodra@gmail.com> 1251 1252 * dwarf.c (display_debug_str_offsets): Constrain reads to length 1253 given in header. 1254 12552021-05-15 Alan Modra <amodra@gmail.com> 1256 1257 * dwarf.c (display_debug_aranges): Delete initial_length_size. 1258 Use end_ranges to constrain data reads to header length. Avoid 1259 pointer UB. 1260 12612021-05-15 Alan Modra <amodra@gmail.com> 1262 1263 * dwarf.c (display_loc_list): Avoid pointer UB. Correct check 1264 before reading uleb length. Warn on excess length. 1265 12662021-05-15 Alan Modra <amodra@gmail.com> 1267 1268 * dwarf.c (display_debug_macro): Print strings that might not 1269 be zero terminated with %*s. Don't bump curr if unterminated. 1270 12712021-05-15 Alan Modra <amodra@gmail.com> 1272 1273 * dwarf.c (get_line_filename_and_dirname): Delete initial_length_size. 1274 Simplify length sanity check, and check for too small lengths. 1275 Constrain data reads to header length. Avoid pointer UB. 1276 12772021-05-15 Alan Modra <amodra@gmail.com> 1278 1279 * dwarf.c (display_debug_macinfo): Print strings that might not 1280 be zero terminated with %*s. Don't bump curr if unterminated. 1281 12822021-05-15 Alan Modra <amodra@gmail.com> 1283 1284 * dwarf.c (display_debug_pubnames_worker): Delete initial_length_size. 1285 Simplify length check. Constrain reads to length given by header. 1286 12872021-05-15 Alan Modra <amodra@gmail.com> 1288 1289 * dwarf.c (display_debug_lines_decoded): Don't use strnlen when 1290 we have already checked for NUL termination. 1291 12922021-05-15 Alan Modra <amodra@gmail.com> 1293 1294 * dwarf.c (read_debug_line_header): Delete initial_length_size. 1295 Avoid pointer UB. Keep within length specified by header. 1296 Delete dead code. 1297 12982021-05-15 Alan Modra <amodra@gmail.com> 1299 1300 * dwarf.c (process_debug_info): Always do the first CU length 1301 scan for sanity checks. Remove initial_length_size var and 1302 instead calculate end_cu. Use end_cu to limit data reads. 1303 Delete now dead code checking length. 1304 13052021-05-15 Alan Modra <amodra@gmail.com> 1306 1307 * dwarf.c (SAFE_BYTE_GET_INTERNAL): Assert only when ENABLE_CHECKING. 1308 13092021-05-15 Alan Modra <amodra@gmail.com> 1310 1311 * bucomm.h (_mul_overflow): Define. 1312 * dwarf.c (get_encoded_value): Avoid pointer UB. 1313 13142021-05-13 Alan Modra <amodra@gmail.com> 1315 1316 PR 27861 1317 * dwarf.c (display_debug_str_offsets): Sanity check dwarf5 1318 header length. 1319 13202021-05-13 Alan Modra <amodra@gmail.com> 1321 1322 PR 27860 1323 * dwarf.c (display_debug_frames): Sanity check cie_off before 1324 attempting to read cie. 1325 13262021-05-12 Alan Modra <amodra@gmail.com> 1327 1328 * dwarf.c (process_extended_line_op): Don't bump data pointer past 1329 end when strnlen doesn't find string terminator. 1330 (decode_location_expression): Remove dead code. 1331 (skip_attr_bytes): Remove const from end param. Ensure data 1332 pointer doesn't pass end. 1333 (get_type_signedness): Remove const from end param. 1334 (read_and_display_attr_value): Ensure data pointer doesn't pass end. 1335 (display_debug_lines_raw, display_debug_lines_decoded): Likewise. 1336 (display_debug_pubnames_worker): Likewise. 1337 (display_debug_pubnames_worker): Use SAFE_BYTE_GET_AND INC rather 1338 than blindly incrementing data pointer. 1339 (display_debug_addr, display_debug_str_offsets): Likewise. Don't 1340 compare pointers, compare lengths. 1341 13422021-05-12 Alan Modra <amodra@gmail.com> 1343 1344 * dwarf.c (SAFE_BYTE_GET_INTERNAL): Define. 1345 (SAFE_BYTE_GET, SAFE_BYTE_GET_AND_INC): Define using the above. 1346 (SAFE_SIGNED_BYTE_GET, SAFE_SIGNED_BYTE_GET_AND_INC): Likewise. 1347 (display_discr_list): Use SAFE_BYTE_GET_AND_INC rather than 1348 SAFE_BYTE_GET followed by increment. 1349 (process_debug_info): Likewise, and test bytes remaining before 1350 incrementing section_begin rather than using pointer comparison. 1351 (display_debug_names): Pass lvalue as SAFE_BYTE_GET PTR. 1352 (process_cu_tu_index): Likewise for SAFE_BYTE_GET_AND_INC. 1353 13542021-05-12 Alan Modra <amodra@gmail.com> 1355 1356 * dwarf.c (dwarf_vmatoa64, SAFE_BYTE_GET64, add64): Delete. 1357 (skip_attr_bytes): Replace use of SAFE_BYTE_GET64 with 1358 SAFE_BYTE_GET_AND_INC. 1359 (read_and_display_attr_value): Likewise. Print using dwarf_vmatoa. 1360 (process_debug_info, process_cu_tu_index): Likewise. 1361 * elfcomm.c (byte_put, byte_put_little_endian, byte_put_big_endian), 1362 (byte_get, byte_get_little_endian, byte_get_big_endian), 1363 (byte_get_signed): Make size param unsigned. Remove code dealing 1364 with 4-byte elf_vma. 1365 (byte_get_64): Delete. 1366 * elfcomm.h (byte_put, byte_put_little_endian, byte_put_big_endian), 1367 (byte_get, byte_get_little_endian, byte_get_big_endian), 1368 (byte_get_signed): Update prototypes. 1369 (byte_get_64): Delete. 1370 13712021-05-12 Alan Modra <amodra@gmail.com> 1372 1373 PR 27836 1374 * dwarf.c (display_debug_frames): Don't compare pointers derived 1375 from user input. Test offset against bounds instead. 1376 13772021-05-12 Alan Modra <amodra@gmail.com> 1378 1379 PR 27853 1380 * dwarf.c (display_formatted_table): Test for data >= end rather 1381 than data == end. 1382 (process_extended_line_op): Likewise. 1383 (display_debug_lines_raw): Likewise. 1384 (display_debug_lines_decoded): Likewise. 1385 13862021-05-12 Alan Modra <amodra@gmail.com> 1387 1388 PR 27849 1389 * dwarf.c (fetch_indexed_string): Correct length sanity checks. 1390 Sanity check section size for version and padding too. Correct 1391 index sanity check. Handle multiple tables in .debug_str_offsets. 1392 13932021-05-11 Hans-Peter Nilsson <hp@axis.com> 1394 1395 * dwarf.c (process_abbrev_set): Properly parenthesize before 1396 casting to unsigned long. 1397 13982021-05-11 Alan Modra <amodra@gmail.com> 1399 1400 PR 27845 1401 * dwarf.c (process_abbrev_set): Replace start and end parameters 1402 with section, abbrev_base, abbrev_size, abbrev_offset. Update 1403 all callers. Sanity check parameters correctly and emit warnings 1404 here rather than.. 1405 (process_debug_info): ..here. 1406 14072021-05-10 Thomas Wolff <towo@towo.net> 1408 1409 PR 4356 1410 PR 26865 1411 PR 27594 1412 * windres.c (quot): Revert previous delta. Do not use double 1413 quotes when spaces are detected in options. 1414 * doc/binutils.texi (windres): Remove suggestion that the 1415 --preprocessor option can take arguments. 1416 14172021-05-10 Alan Modra <amodra@gmail.com> 1418 1419 * dwarf.c (SAFE_BYTE_GET): Check bounds by subtracting amount from 1420 END rather than adding amount to PTR. 1421 (SAFE_SIGNED_BYTE_GET, SAFE_BYTE_GET64): Likewise. 1422 14232021-05-09 Alan Modra <amodra@gmail.com> 1424 1425 * objcopy.c (eq_string): Delete. 1426 (create_symbol_htab): Use htab_eq_string. 1427 14282021-05-08 Mike Frysinger <vapier@gentoo.org> 1429 1430 * README-how-to-make-a-release: Update html & pdf entries. 1431 14322021-05-08 Mike Frysinger <vapier@gentoo.org> 1433 1434 * doc/Makefile.am (html-local, binutils/index.html): New targets. 1435 * doc/Makefile.in: Regenerate. 1436 14372021-05-08 Mike Frysinger <vapier@gentoo.org> 1438 1439 * doc/Makefile.am (AM_MAKEINFOFLAGS): Add --no-split. 1440 * doc/Makefile.in: Regenerate. 1441 14422021-05-07 Nick Clifton <nickc@redhat.com> 1443 1444 * readelf.c (no_processor_specific_unwind): New function. 1445 (process_unwind): Use no_processor_specific_unwind for X86 1446 targets. 1447 14482021-05-07 Michael Forney <mforney@mforney.org> 1449 1450 * dwarf.c: Don't omit second operand of '?' operator. 1451 14522021-04-30 Nick Clifton <nickc@redhat.com> 1453 1454 PR 27796 1455 * dwarf.c (load_debug_sup_file): Allocate memory for filename in 1456 .debug_sup section. 1457 14582021-04-29 Nick Clifton <nickc@redhat.com> 1459 1460 PR 27594 1461 * doc/binutils.texi (windres): Correct the description of the 1462 default value of the --preprocessor argument. 1463 14642021-04-27 Nick Clifton <nickc@redhat.com> 1465 1466 PR 27779 1467 * dwarf.c (parse_gnu_debuglink): Reject empty names. 1468 (parse_gnu_debugaltlink): Likewise. 1469 14702021-04-22 Clément Chigot <clement.chigot@atos.net> 1471 1472 * od-xcoff.c (dump_xcoff32_symbols): Adapt to new 1473 aux structures. 1474 14752021-04-21 Nick Lott <nick.lott@gmail.com> 1476 1477 PR 27672 1478 * readelf.c (sym_base): New variable. 1479 (enum print_mode): Add more modes. 1480 (print_vma): Add suport for new modes. 1481 (options): Add sym-base. 1482 (usage): Add sym-base. 1483 (parse_args): Add support for --sym-base. 1484 (print_dynamic_symbol_size): New function. 1485 (print_dynamic_symbol): Use new function. 1486 * doc/binutils.texi: Document the new feature. 1487 * NEWS: Mention the new feature. 1488 14892021-04-21 Nick Clifton <nickc@redhat.com> 1490 1491 * testsuite/binutils-all/mips/global-local-symtab-sort-n64t.d: 1492 Adjust expected output to allow for named section symbols. 1493 * testsuite/binutils-all/mips/global-local-symtab-sort-o32t.d: 1494 Likewise. 1495 * testsuite/binutils-all/readelf.s-64: Likewise. 1496 * testsuite/binutils-all/readelf.ss-64-unused: Likewise. 1497 * testsuite/binutils-all/readelf.ss-tmips: Likewise. 1498 * testsuite/binutils-all/readelf.ss-unused: Likewise. 1499 15002021-04-21 Luo Longjun <luolongjun@huawei.com> 1501 1502 * readelf.c (print_dynamic_symbol): Print the section name for 1503 section symbols without a name of their own. 1504 15052021-04-20 Andreas Krebbel <krebbel@linux.ibm.com> 1506 1507 * MAINTAINERS: Remove Martin Schwidefsky as s390 maintainer and 1508 add him to Past Maintainers. 1509 Update my email address. 1510 15112021-04-19 Nick Clifton <nickc@redhat.com> 1512 1513 PR 21702 1514 * arsup.c (ar_addmod): Enable plugin support, if available. 1515 15162021-04-19 Nick Clifton <nickc@redhat.com> 1517 1518 * rename.c: (get_stat_atime_ns): Add prototype. 1519 (get_stat_mtime_ns): Add prototype. 1520 15212021-04-16 Alan Modra <amodra@gmail.com> 1522 1523 PR 27725 1524 * rename.c (get_stat_atime, get_stat_mtime): Make static. 1525 (get_stat_atime_ns, get_stat_mtime_ns): Likewise. 1526 15272021-04-15 Pekka Seppänen <pexu@sourceware.mail.kapsi.fi> 1528 1529 PR 27725 1530 * rename.c (get_stat_atime_ns): Add ATTRIBUTE_UNUSED. 1531 (get_stat_mtime_ns): Likewise. 1532 15332021-04-15 Alan Modra <amodra@gmail.com> 1534 1535 PR 27725 1536 * configure.ac: Check for sys/time.h and utimensat. Use standard 1537 checks for mkstemp and mkdtemp. Whitespace. Check for nanosecond 1538 members of struct stat. 1539 * rename.c: Prefer sys/time.h for utimes over utime.h for utime. 1540 (STAT_TIMESPEC, STAT_TIMESPEC_NS): Define 1541 (get_stat_atime_ns, get_stat_mtime_ns): New inline functions. 1542 (get_stat_atime, get_stat_mtime): Likewise. 1543 (set_times): Choose first available of utimensat, utimes, utime. 1544 Use above inline functions to set timespec and timeval values. 1545 * configure: Regenerate. 1546 * config.in: Regenerate. 1547 * testsuite/binutils-all/objcopy.exp (objcopy_test): Add test of 1548 file timestamp when --preserve-dates is used. 1549 15502021-04-15 Alan Modra <amodra@gmail.com> 1551 1552 PR 27456 1553 * rename.c (smart_rename): When TO and FROM are equal, just set 1554 file timestamp. 1555 * objcopy.c (strip_main, copy_main): Always call smart_rename. 1556 15572021-04-14 H.J. Lu <hongjiu.lu@intel.com> 1558 1559 PR binutils/27708 1560 * testsuite/binutils-all/x86-64/pr27708.dump: New file. 1561 * testsuite/binutils-all/x86-64/pr27708.exe.bz2: Likewise. 1562 * testsuite/binutils-all/x86-64/x86-64.exp: Run binutils/27708 1563 test. 1564 15652021-04-14 Mark Harmstone <mark@harmstone.com> 1566 1567 PR 27686 1568 * resbin.c (bin_to_res_version): Ignore any trailing bytes at the 1569 end of the structure. 1570 15712021-04-14 Frederic Cambus <fred@statdns.com> 1572 1573 * readelf.c (get_netbsd_elfcore_note_type): Remove unneeded #ifdef 1574 checks for NT_NETBSDCORE_AUXV and NT_NETBSDCORE_LWPSTATUS. 1575 15762021-04-14 Alan Modra <amodra@gmail.com> 1577 1578 PR 27716 1579 * objdump.c (show_line): Don't limit paths to PATH_MAX. 1580 * readelf.c (struct filedata): Change program_interpreter from 1581 a char array to a char pointer. 1582 (process_program_headers): Sanity check PT_INTERP p_filesz. 1583 Malloc program_interpreter using p_filesz and read directly from 1584 file. 1585 (process_dynamic_section): Check program_interpreter is non-NULL. 1586 (free_filedata): New function, split out from.. 1587 (process_object): ..here. 1588 (close_debug_file): Call free_filedata. 1589 * sysdep.h: Don't include sys/param.h. 1590 (PATH_MAX): Don't define. 1591 * configure.ac: Don't check for sys/param.h. 1592 * configure: Regenerate. 1593 15942021-04-13 Frederic Cambus <fred@statdns.com> 1595 1596 * readelf.c (process_netbsd_elf_note): Remove now unneeded #ifdef 1597 check for NT_NETBSD_PAX. 1598 15992021-04-12 Alan Modra <amodra@gmail.com> 1600 1601 * configure.ac (--enable-checking): Add support. 1602 * config.in: Regenerate. 1603 * configure: Regenerate. 1604 16052021-04-09 Alan Modra <amodra@gmail.com> 1606 1607 * objdump.c (struct objdump_disasm_info): Delete dynrelbuf and 1608 dynrelcount. 1609 (find_symbol_for_address): Adjust for dynrelbuf and dynrelcount move. 1610 (disassemble_section, disassemble_data): Likewise. 1611 16122021-04-06 Alan Modra <amodra@gmail.com> 1613 1614 * objdump.c (objdump_symbol_at_address): Return asymbol*. 1615 16162021-04-06 Alan Modra <amodra@gmail.com> 1617 1618 * NEWS: Mention C99 requirement. 1619 * README: Likewise. Modernise examples and "Reporting bugs". 1620 16212021-04-05 Alan Modra <amodra@gmail.com> 1622 1623 * configure.ac: Assume long long is available. Don't test for 1624 strings.h, stdlib.h, limits.h, locale.h, or wchar.h. Check 1625 inttypes.h, stdint.h, sys/stat.h and sys/types.h. Don't check for 1626 strcoll, setlocale, setmode or location of time_t. Don't check 1627 for fprintf, getenv, snprintf, strnlen, strstr or vsnprintf decls. 1628 (AC_ISC_POSIX, AXC_HEADER_STRING, AC_FUNC_ALLOCA): Don't invoke. 1629 * sysdep.h: Don't include alloca-conf.h, include config.h instead. 1630 Test HAVE_SYS_TYPES_H and reorder includes. Include limits.h, 1631 locale.h, string.h and stdlib.h unconditionally. Remove various 1632 fallback declarations. Assume long long is available. 1633 * addr2line.c: Don't test HAVE_SETLOCALE. 1634 * ar.c: Likewise. 1635 * coffdump.c: Likewise. 1636 * dlltool.c: Likewise. 1637 * dllwrap.c: Likewise. 1638 * elfedit.c: Likewise. 1639 * nm.c: Likewise. 1640 * objcopy.c: Likewise. 1641 * objdump.c: Likewise. 1642 * readelf.c: Likewise. 1643 * size.c: Likewise. 1644 * srconv.c: Likewise. 1645 * strings.c: Likewise. 1646 * sysdump.c: Likewise. 1647 * windmc.c: Likewise. 1648 * windres.c: Likewise. 1649 * bucomm.c: Don't test HAVE_TIME_T_IN_TIME_H or HAVE_TIME_T_IN_TYPES_H. 1650 * dwarf.c: Include limits.h unconditionally. Assume long long 1651 is available. 1652 * nm.c: Don't test HAVE_STRCOLL. 1653 * readelf.c: Don't test HAVE_WCHAR_H. 1654 * strings.c: Assume long long is available. 1655 * syslex.l: Include string.h unconditionally. 1656 * aclocal.m4: Regenerate. 1657 * config.in: Regenerate. 1658 * configure: Regenerate. 1659 * Makefile.in: Regenerate. 1660 * doc/Makefile.in: Regenerate. 1661 16622021-04-01 Martin Liska <mliska@suse.cz> 1663 1664 * elfcomm.h (strneq): Remove strneq and use startswith. 1665 * readelf.c (ia64_process_unwind): Likewise. 1666 (process_note): Likewise. 1667 16682021-04-01 Martin Liska <mliska@suse.cz> 1669 1670 * dllwrap.c: Use startswith function. 1671 * objcopy.c (is_dwo_section): Likewise. 1672 (handle_remove_section_option): Likewise. 1673 (copy_main): Likewise. 1674 * objdump.c (is_significant_symbol_name): Likewise. 1675 16762021-04-01 Martin Liska <mliska@suse.cz> 1677 1678 * dwarf.c (display_debug_lines_raw): Replace const_strneq with 1679 startswith. 1680 (display_debug_lines_decoded): Likewise. 1681 (display_debug_links): Likewise. 1682 * elfcomm.c (setup_archive): Likewise. 1683 * elfcomm.h (const_strneq): Likewise. 1684 * readelf.c (process_section_headers): Likewise. 1685 (slurp_ia64_unwind_table): Likewise. 1686 (slurp_hppa_unwind_table): Likewise. 1687 (decode_arm_unwind): Likewise. 1688 (display_debug_section): Likewise. 1689 (process_note): Likewise. 1690 16912021-03-31 Alan Modra <amodra@gmail.com> 1692 1693 * sysdep.h (POISON_BFD_BOOLEAN): Define. 1694 * addr2line.c, * ar.c, * arsup.c, * bfdtest2.c, * binemul.c, 1695 * binemul.h, * bucomm.c, * bucomm.h, * budbg.h, * coffgrok.c, 1696 * debug.c, * debug.h, * dlltool.c, * dwarf.c, * dwarf.h, 1697 * elfedit.c, * emul_aix.c, * mclex.c, * nm.c, * objcopy.c, 1698 * objdump.c, * od-macho.c, * prdbg.c, * rdcoff.c, * rddbg.c, 1699 * readelf.c, * rename.c, * stabs.c, * strings.c, * windint.h, 1700 * windmc.c, * windmc.h, * windres.c, * winduni.c, 1701 * wrstabs.c: Replace bfd_boolean with bool, FALSE with false, 1702 and TRUE with true throughout. 1703 17042021-03-31 Alan Modra <amodra@gmail.com> 1705 1706 * coffdump.c: Include stdint.h in place of bfd_stdint.h. 1707 * dwarf.c: Likewise. 1708 17092021-03-31 Alan Modra <amodra@gmail.com> 1710 1711 * prdbg.c (pr_function_type): Replace LITSTTCPY with strcpy. 1712 17132021-03-29 Alan Modra <amodra@gmail.com> 1714 1715 * dlltool.c (main): Don't use "boolean_condition ? TRUE : FALSE". 1716 * dwarf.c (read_and_display_attr_value): Likewise. 1717 (display_debug_str_offsets): Likewise. 1718 * objdump.c (dump_bfd): Likewise. 1719 * readelf.c (dump_section_as_strings): Likewise. 1720 (dump_section_as_bytes): Likewise. 1721 17222021-03-29 Alan Modra <amodra@gmail.com> 1723 1724 * objdump.c (process_links): Use type int. 1725 * readelf.c (request_dump): Don't increment do_dump, set it. 1726 * windint.h (target_is_bigendian): Use type bfd_boolean. 1727 * windmc.c (target_is_bigendian): Likewise. 1728 * windres.c (target_is_bigendian): Likewise. 1729 17302021-03-22 Martin Liska <mliska@suse.cz> 1731 1732 * dlltool.c (scan_drectve_symbols): Replace usage of CONST_STRNEQ 1733 with startswith. 1734 * emul_aix.c (ar_emul_aix_parse_arg): Likewise. 1735 * objcopy.c (is_mergeable_note_section): Likewise. 1736 * objdump.c (dump_dwarf_section): Likewise. 1737 * prdbg.c (pr_method_type): Likewise. 1738 (pr_class_baseclass): Likewise. 1739 (tg_class_baseclass): Likewise. 1740 * readelf.c (process_lto_symbol_tables): Likewise. 1741 * stabs.c (ULLHIGH): Likewise. 1742 (parse_stab_argtypes): Likewise. 1743 (stab_demangle_function_name): Likewise. 1744 17452021-03-19 H.J. Lu <hongjiu.lu@intel.com> 1746 1747 * readelf.c (get_machine_name): Add EM_INTELGT. 1748 17492021-03-18 Nick Clifton <nickc@redhat.com> 1750 1751 PR 27478 1752 * readelf.c (dump_section_as_strings): Mention separate filename. 1753 (dump_section_as_bytes): Likewise. 1754 (dump_section_as_ctf): Likewise. 1755 (initialise_dumkps_byname): Only issue a warning for missing 1756 sections if processing the main file. 1757 (process_section_contents): Only issue a warning for unsumped 1758 section numbers in the main file. 1759 (initialise_dump_sects): New function. Contains code extracted 1760 from ... 1761 (process_object): ... here. Also call initialise_dump_sects for 1762 separate files. 1763 17642021-03-16 Nick Clifton <nickc@redhat.com> 1765 1766 PR 27534 1767 * readelf.c (display_debug_section): Also retain .debug_addr 1768 sections. 1769 17702021-03-16 Nick Clifton <nickc@redhat.com> 1771 1772 PR 27533 1773 * readelf.c (process_section_contents): Only dump debug 1774 information for separate files unless process_links is enabled. 1775 (process_object): Always call process_section_contents for 1776 separate info files. 1777 17782021-03-15 Nick Clifton <nickc@redhat.com> 1779 1780 PR 27487 1781 * nm.c (FORMAT_JUST_SYMBOLS): Define. 1782 (struct optput_fns): Add entry for FORMAT_JUST_SYMBOLS. 1783 (long_options): Add just-symbols. 1784 (set_output_format): Add support for just-symbols. 1785 (get_print_format): Likewise. 1786 (do_not_print_object_filename): New function. 1787 (do_not_print_archive_filename): New function. 1788 (do_not_print_archive_member): New function. 1789 (do_not_print_symbol_filename): New function. 1790 (just_print_symbol_name): New function. 1791 (main): Handle --just-symbols. 1792 * NEWS: Mention the new feature. 1793 * doc/binutils.texi: Document the new feature. 1794 17952021-03-12 Clément Chigot <clement.chigot@atos.net> 1796 1797 * od-xcoff.c: Replace RTB by TRL entry. 1798 17992021-03-05 Craig Blackmore <craig.blackmore@embecosm.com> 1800 Andrew Burgess <andrew.burgess@embecosm.com> 1801 1802 * readelf.c (get_note_type): Handle NT_RISCV_CSR. 1803 18042021-03-05 Craig Blackmore <craig.blackmore@embecosm.com> 1805 Andrew Burgess <andrew.burgess@embecosm.com> 1806 1807 * readelf.c (get_note_type): Handle NT_GDB_TDESC. 1808 18092021-03-05 Nick Clifton <nickc@redhat.com> 1810 1811 PR 27387 1812 * dwarf.c (display_debug_macro): Handle the displaying of 1813 DW_MACRO_define_strp and DW_MACRO_undef_strp in v4 1814 .debug_macro.dwo sections. 1815 18162021-03-04 Nick Clifton <nickc@redhat.com> 1817 1818 PR 27478 1819 * objdump.c (process_links): New variable. 1820 (usage): Add --process-links. 1821 (long_options): Likewise. 1822 (dump_bfd): Stop processing once the bfd has been loaded unless 1823 this is the main file or process_links has been enabled. 1824 (main): Handle the process-links option. 1825 * readelf.c (process_links): New variable. 1826 (struct filedata): Add is_separate field. 1827 (options): Add --process-links. 1828 (usage): Likewise. 1829 (parse_args): Likewise. 1830 (process_file_header): Include the filename when dumping 1831 information for separate debuginfo files. 1832 (process_program_headers): Likewise. 1833 (process_section_headers): Likewise. 1834 (process_section_groups): Likewise. 1835 (process_relocs): Likewise. 1836 (process_dynamic_section): Likewise. 1837 (process_version_sections): Likewise. 1838 (display_lto_symtab): Likewise. 1839 (process_symbol_table): Likewise. 1840 (process_syminfo): Likewise. 1841 (initialise_dumps_by_name): Likewise. 1842 (process_section_contents): Likewise. 1843 (process_notes_at): Likewise. 1844 (process_notes): Likewise. 1845 (open_file): Add is_separate parameter. Use to initialise the 1846 is_separate field in the filedata structure. 1847 (open_deug): Update call to open_file. 1848 (process_object): Add processing of the contents of separate 1849 debuginfo files, gated by the process_links variable. 1850 (process_archive): Update call to open_file. 1851 (process_file): Initialise the is_separate field in the filedata 1852 structure. 1853 * dwarf.c (load_separate_debug_info_file): Only report the 1854 loading of a separate file if debug links are being dumped. 1855 * objcopy.c (keep_section_symbols): New variable. 1856 (enum command_line_switch): Add OPTION_KEEP_SYMBOLS. 1857 (strip_options): Add keep-section-symbols. 1858 (copy_options): Likewise. 1859 (copy_usage): Likewise. 1860 (strip_usage): Likewise. 1861 (copy_object): Keep section symbols if requested by command line 1862 option. 1863 (strip_main): Handle --keep-section-symbols. 1864 (copy_main): Likewise. 1865 * doc/binutils.texi: Document the new options. 1866 * NEWS: Mention the new features. 1867 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): 1868 Update options passed to objdump. Use diff rather than cmp to 1869 compare the dumped data. 1870 * testsuite/binutils-all/objdump.WK2: Update regexp. 1871 * testsuite/binutils-all/objdump.WK3: Update regexp. 1872 * testsuite/binutils-all/objdump.exp: Use --process-links 1873 instead of --dwarf=follow-links. 1874 * testsuite/binutils-all/readelf.exp (readelf_test): Include 1875 readelf's output in the log when the test fails. 1876 Add the -P option to the -wKis test. 1877 * testsuite/binutils-all/readelf.wKis: Update expected output. 1878 18792021-03-03 Alan Modra <amodra@gmail.com> 1880 1881 PR 27493 1882 * objcopy.c (filter_symbols): Apply --weaken to undefined symbols. 1883 * NEWS: Mention feature. 1884 18852021-03-01 H.J. Lu <hongjiu.lu@intel.com> 1886 1887 PR binutils/27486 1888 * dwarf.c (load_separate_debug_info): Issue warning only if 1889 do_debug_links is set. 1890 * testsuite/binutils-all/compress.exp: Run objdump and readelf 1891 with missing debug file. 1892 18932021-03-01 Alan Modra <amodra@gmail.com> 1894 1895 PR 27128 1896 * doc/binutils.texi: Add nm --with-symbol-versions and 1897 --without-symbol-versions documentation. 1898 * nm.c (with_symbol_versions): New variable. 1899 (enum long_option_values): Delete OPTION_WITH_SYMBOL_VERSIONS. 1900 (long_options): Make --with-symbol-versions entry twiddle the flag. 1901 Add --without-symbol-versions. 1902 (print_symname): Strip version when !with_symbol_versions. Add 1903 dynamic version info under control of with_symbol_versions. 1904 (main): Remove OPTION_WITH_SYMBOL_VERSIONS case. 1905 19062021-02-26 Fangrui Song <maskray@google.com> 1907 1908 PR 27408 1909 * readelf.c (quiet): New option flag. 1910 (enum long_option_values): New enum to hold long option value. 1911 (long_options): Add --quiet. 1912 (usage): Mention --quiet. 1913 (display_rel_file): If quiet is enabled, suppress "no symbols". 1914 (main): Handle the new option. 1915 * NEWS: Mention --quiet. 1916 * docs/binutils.texi: Document --quiet. 1917 19182021-02-26 Tom de Vries <tdevries@suse.de> 1919 1920 * dwarf.c (display_debug_addr): Handle dwarf-5 .debug_addr bits. 1921 19222021-02-26 Tom de Vries <tdevries@suse.de> 1923 1924 PR 27390 1925 * dwarf.c: (skip_attr_bytes): Add support for DW_FORM_str* and 1926 DW_FORM_addrx*. 1927 (read_and_display_attr_value): Likewise. 1928 19292021-02-25 Nick Clifton <nickc@redhat.com> 1930 1931 * dwarf.c (get_type_abbrev_from_form): Accept but ignore sup 1932 forms. 1933 (read_and_display_attr_value): Handle sup forms. 1934 (display_debug_sup): New function. Displays the contents of a 1935 .debug_sup section. 1936 (load_debug_sup_file): New function. Loads the contents of a file 1937 referenced by a .debug_sup section. 1938 (check_for_and_load_links): Call load_debug_sup_file. 1939 (debug_displays): Add entry for .debug_sup. 1940 * dwarf.h (enum dwarf_section_display_enum): Add debug_sup. 1941 * readelf.c (process_section_headers): Add support for debug_sup. 1942 * doc/debug.options.texi: Note that the =links option will display 1943 the contents of .debug_sup sections. 1944 * NEWS: Mention the new support. 1945 19462021-02-25 Alan Modra <amodra@gmail.com> 1947 1948 PR 27456 1949 * rename.c (simple_copy): Mark target_stat ATTRIBUTE_UNUSED. 1950 19512021-02-24 Nick Clifton <nickc@redhat.com> 1952 1953 PR 27285 1954 * od-elf32_avr.c (elf32_avr_get_memory_usage): Check for overflows 1955 when adding together the section sizes. 1956 19572021-02-24 Nick Clifton <nickc@redhat.com> 1958 1959 * objcopy.c (merge_gnu_build_notes): Remove support for v1/v2 GNU 1960 build notes. 1961 * readelf.c (print_gnu_build_attribute_description): Likewise. 1962 19632021-02-24 Alan Modra <amodra@gmail.com> 1964 Siddhesh Poyarekar <siddhesh@gotplt.org> 1965 1966 PR 27456 1967 * bucomm.h (smart_rename): Update prototype. 1968 * rename.c (smart_rename): Add fromfd and preserve_dates params. 1969 Pass fromfd and target_stat to simple_copy. Call set_times 1970 when preserve_dates. 1971 (simple_copy): Accept fromfd rather than from filename. Add 1972 target_stat param. Rewind fromfd rather than opening. Open 1973 "to" file without O_CREAT. Try to preserve S_ISUID and S_ISGID. 1974 * ar.c (write_archive): Rename ofd to tmpfd. Dup tmpfd before 1975 closing output temp file, and pass tmpfd to smart_rename. 1976 * arsup.c (temp_fd): Rename from real_fd. 1977 (ar_save): Dup temp_fd and pass to smart_rename. 1978 * objcopy.c (strip_main, copy_main): Likewise, and pass 1979 preserve_dates. 1980 19812021-02-24 Alan Modra <amodra@gmail.com> 1982 1983 PR 27456 1984 * rename.c: Tidy throughout. 1985 (smart_rename): Always copy. Remove windows specific code. 1986 19872021-02-20 Alan Modra <amodra@gmail.com> 1988 1989 * testsuite/lib/binutils-common.exp: Whitespace fixes throughout. 1990 (run_dump_test): Fail if expecting errors from a file like we do 1991 for error strings, if no error is seen. 1992 19932021-02-19 Alan Modra <amodra@gmail.com> 1994 1995 * testsuite/binutils-all/readelf.exp (pr26548): Run for 32-bit too. 1996 19972021-02-19 Siddhesh Poyarekar <siddhesh@gotplt.org> 1998 1999 * ar.c (write_archive): Remove TARGET_STAT. Adjust call to 2000 SMART_RENAME. 2001 * arsup.c (ar_save): Likewise. 2002 * objcopy (strip_main): Don't copy TMPFD. Don't set times on 2003 temporary file and adjust call to SMART_RENAME. 2004 (copy_main): Likewise. 2005 * rename.c [!S_ISLNK]: Remove definitions. 2006 (try_preserve_permissions): Remove function. 2007 (smart_rename): Remove FD, PRESERVE_DATES arguments. Use 2008 rename system call only if TO does not exist. 2009 * bucomm.h (smart_rename): Adjust declaration. 2010 20112021-02-18 Nick Clifton <nickc@redhat.com> 2012 2013 * objcopy.c (merge_gnu_build_notes): Handle notes with a start 2014 address that is higher than the end address. 2015 20162021-02-17 Alan Modra <amodra@gmail.com> 2017 2018 * dwarf.c: Include limits.h. 2019 (CHAR_BIT): Provide backup define. 2020 (read_leb128): Use CHAR_BIT to size "result" in bits. Correct 2021 signed overflow checking. 2022 * testsuite/binutils-all/pr26548.s, 2023 * testsuite/binutils-all/pr26548.d, 2024 * testsuite/binutils-all/pr26548e.d: New tests. 2025 * testsuite/binutils-all/readelf.exp: Run them. 2026 (readelf_test): Drop unused "xfails" parameter. Update all uses. 2027 20282021-02-16 Jan Beulich <jbeulich@suse.com> 2029 2030 * dwarf.c (process_debug_info): Initialize "dwo_id". 2031 20322021-02-15 Alan Modra <amodra@gmail.com> 2033 2034 * objdump.c (load_specific_debug_section): Don't call 2035 bfd_cache_section_contents. Rearrange so that 2036 bfd_get_full_section_contents is not called on path where 2037 bfd_simple_get_relocated_section_contents is called. 2038 Don't set section->user_data. 2039 (free_debug_section): Always free section->start. Don't twiddle 2040 section flags. 2041 * readelf.c (load_specific_debug_section): Don't set user_data. 2042 * dwarf.h (struct dwarf_section): Remove use_data field. 2043 * dwarf.c (NO_ABBREVS, ABBREV): Adjust to suit. 2044 20452021-02-15 Alan Modra <amodra@gmail.com> 2046 2047 * testsuite/binutils-all/compress.exp: Remove nds32 xfails. 2048 * testsuite/binutils-all/objdump.exp: Likewise. 2049 20502021-02-14 Alan Modra <amodra@gmail.com> 2051 2052 * objdump.c (slurp_symtab): Don't add an extra entry for NULL 2053 to the symbol array. 2054 (slurp_dynamic_symtab): Likewise. 2055 (dump_bfd): Formatting. Copy terminating NULL from extra_syms. 2056 20572021-02-14 Alan Modra <amodra@gmail.com> 2058 2059 * Makefile.in: Regenerate. 2060 * doc/Makefile.in: Regenerate. 2061 20622021-02-13 Mike Frysinger <vapier@gentoo.org> 2063 2064 * aclocal.m4: Regenerate. 2065 20662021-02-12 Nick Clifton <nickc@redhat.com> 2067 2068 * configure.ac (follow-debug-links): Add option to enable or 2069 disable the following of debug links by default. Set the 2070 default for the option to be 'follow'. 2071 * dwarf.c (do_follow_links): Initialise with DEFAULT_FOR_FOLLOW_LINKS. 2072 (dwarf_select_sections_by_names): Add no-follow-links option. 2073 (dwarf_select_sections_by_letter): Add 'N' option. 2074 * objdump.c (usage): Add conditional text describing the 2075 follow links option. 2076 (slurp_symtab): Ensure that there is a NULL entry at the end 2077 of the symbol table. 2078 (slurp_dynamic_symtab): Likewise. 2079 (dump_bfd): When extending the symbol table, ensure that there 2080 is still a NULL entry at the end. 2081 * readelf.c (usage): Add conditional text describing the 2082 follow links option. 2083 * doc/binutils.texi: Update documentation for objcopy and 2084 readelf. 2085 * doc/debug.options.texi: Update documentation of the 2086 follow-links option. 2087 * config.in: Regenerate. 2088 * configure: Regenerate. 2089 * testsuite/binutils-all/compress.exp: Add the -WN option to 2090 objdump command lines that are not expecting to follow links. 2091 * testsuite/binutils-all/readelf.exp: Add the 2092 --debug-dump=no-follow-links option to tests that are not 2093 expecting to follow debug links. 2094 * NEWS: Mention the new behaviour. 2095 20962021-02-12 Alan Modra <amodra@gmail.com> 2097 2098 * testsuite/binutils-all/objcopy.exp: Report "unsupported" when 2099 gas or ld fails to build a testcase rather than "unresolved". 2100 Report "fail" when readelf returns an error status rather than 2101 "unresolved". 2102 * testsuite/binutils-all/ar.exp: Likewise. 2103 * testsuite/binutils-all/compress.exp: Likewise. 2104 * testsuite/binutils-all/readelf.exp: Likewise. 2105 21062021-02-12 Alan Modra <amodra@gmail.com> 2107 2108 * testsuite/binutils-all/pr25662.s: Replace "a" with "aaa" and 2109 "c" with "ccc" labels. 2110 21112021-02-12 Tom de Vries <tdevries@suse.de> 2112 2113 * dwarf.h (debug_info): Fix typo in comment. 2114 21152021-02-12 Tom de Vries <tdevries@suse.de> 2116 2117 * dwarf.c (display_debug_str_offsets): Handle multiple sets of 2118 entries. 2119 21202021-02-12 Tom de Vries <tdevries@suse.de> 2121 2122 * dwarf.c (process_debug_info): Print DWO ID. 2123 21242021-02-11 Alan Modra <amodra@gmail.com> 2125 2126 PR 27290 2127 PR 27293 2128 PR 27295 2129 * od-elf32_avr.c (elf32_avr_get_note_section_contents): Formatting. 2130 Use bfd_malloc_and_get_section. 2131 (elf32_avr_get_note_desc): Formatting. Return descsz. Sanity 2132 check namesz. Return NULL if descsz is too small. Ensure 2133 string table is terminated. 2134 (elf32_avr_get_device_info): Formatting. Add note_size param. 2135 Sanity check note. 2136 (elf32_avr_dump_mem_usage): Adjust to suit. 2137 21382021-02-10 Tom de Vries <tdevries@suse.de> 2139 2140 PR binutils/27391 2141 * dwarf.c (load_dwo_file): Handle case that name is absolute path. 2142 21432021-02-10 Tom de Vries <tdevries@suse.de> 2144 2145 PR binutils/27371 2146 * dwarf.c (display_debug_ranges): Filter range lists according to 2147 section. 2148 21492021-02-09 Tom de Vries <tdevries@suse.de> 2150 2151 PR binutils/27370 2152 * dwarf.c (get_type_abbrev_from_form): Handle DW_FORM_ref_sig8. 2153 21542021-02-09 Tom de Vries <tdevries@suse.de> 2155 2156 PR binutils/27386 2157 * dwarf.c (process_debug_info): Handling DW_UT_skeleton and 2158 DW_UT_split_compile. 2159 21602021-02-09 Alan Modra <amodra@gmail.com> 2161 2162 * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Remove 2163 symbianelf. 2164 21652021-02-07 Alan Modra <amodra@gmail.com> 2166 2167 * unwind-ia64.c (unw_print_xyreg): Don't leave output buffer 2168 uninitialised on invalid input. 2169 21702021-02-06 Alan Modra <amodra@gmail.com> 2171 2172 PR 27349 2173 * rename.c (smart_rename): Test for existence and type of output 2174 file with lstat. 2175 21762021-02-05 Nick Clifton <nickc@redhat.com> 2177 2178 * MAINTAINERS: Remove Richard Henderson as the ALPHA maintainer. 2179 21802021-02-05 Eli Zaretskii <eliz@gnu.org> 2181 2182 PR 27252 2183 * elfedit.c (check_file): 2184 * bucomm.c (get_file_size): Fix typos in comments. 2185 21862021-02-05 Alan Modra <amodra@gmail.com> 2187 2188 PR 27345 2189 * arsup.c (ar_save): Use stat rather than lstat. 2190 21912021-02-03 Alan Modra <amodra@gmail.com> 2192 2193 PR 27270 2194 PR 27284 2195 PR 26945 2196 * ar.c: Don't include libbfd.h. 2197 (write_archive): Replace xmalloc+strcpy with xstrdup. Use 2198 bfd_stat rather than fstat on iostream. Move stat and fd tests 2199 outside of _WIN32 ifdef. Delete skip_stat variable. 2200 * arsup.c (temp_name, real_ofd): New static variables. 2201 (ar_open): Use make_tempname and bfd_fdopenw. 2202 (ar_save): Adjust to suit ar_open changes. Move stat output 2203 of _WIN32 ifdef. 2204 * objcopy.c: Don't include libbfd.h. 2205 (copy_file): Use bfd_stat. 2206 22072021-02-02 H.J. Lu <hongjiu.lu@intel.com> 2208 2209 PR binutils/27281 2210 * readelf.c (process_section_headers): Add 'R' and 'D' to 2211 "Key to Flags:". 2212 * testsuite/binutils-all/retain1a.d: Updated. 2213 22142021-01-30 Nick Clifton <nickc@redhat.com> 2215 2216 * README-how-to-make-a-release: Small updates after the 2.35.2 2217 release. 2218 22192021-01-28 Eli Zaretskii <eliz@gnu.org> 2220 2221 PR 4356 2222 * windres.c (quot): Use double quotes to protect strings on 2223 Windows platforms. 2224 22252021-01-28 Eli Zaretskii <eliz@gnu.org> 2226 2227 PR 27252 2228 * bucomm.c (get_file_size): Add code to handle /dev/null on 2229 Windows systems. 2230 * elfedit.c (check_file): Likewise. 2231 22322021-01-27 Nick Clifton <nickc@redhat.com> 2233 2234 * objcopy.c (copy_main): Remove conditional control of the calls 2235 to free, simplifying the code and making it easier to detect 2236 typos. 2237 22382021-01-26 Frederic Cambus <fred@statdns.com> 2239 2240 * objcopy.c (copy_main): Fix a double free happening when both 2241 --localize-symbols and --globalize-symbols options are invoked 2242 together. 2243 22442021-01-24 Nick Clifton <nickc@redhat.com> 2245 2246 * README-how-to-make-a-release: Minor updates after the 2.36 release. 2247 22482021-01-16 Alan Modra <amodra@gmail.com> 2249 2250 * readelf.c (uncompress_section_contents): Tidy inflateEnd result test. 2251 22522021-01-15 Alan Modra <amodra@gmail.com> 2253 2254 PR 26539 2255 * readelf.c (uncompress_section_contents): Always call inflateEnd. 2256 22572021-01-14 Alexandre Oliva <oliva@gnu.org> 2258 2259 * MAINTAINERS: Update my email address. 2260 22612021-01-14 Nick Clifton <nickc@redhat.com> 2262 2263 * po/sv.po: Updated Swedish translation. 2264 22652021-01-13 Alan Modra <amodra@gmail.com> 2266 2267 * Makefile.in: Regenerate. 2268 * doc/Makefile.in: Regenerate. 2269 22702021-01-13 Zebediah Figura <z.figura12@gmail.com> 2271 2272 PR 27037 2273 * dlltool.c (i386_trampoline): Adjust %rsp immediately on entry 2274 and before exit. 2275 (i386_x64_trampoline): Add SEH annotations. 2276 (struct mac): Add how_seh field. 2277 (make_delay_head): If how_set field is true add SEh instructions. 2278 22792021-01-12 H.J. Lu <hongjiu.lu@intel.com> 2280 2281 PR binutils/26792 2282 * configure.ac: Use GNU_MAKE_JOBSERVER. 2283 * aclocal.m4: Regenerated. 2284 * configure: Likewise. 2285 22862021-01-12 Nick Clifton <nickc@redhat.com> 2287 2288 * po/fr.po: Updated French translation. 2289 22902021-01-11 H.J. Lu <hongjiu.lu@intel.com> 2291 2292 PR ld/27173 2293 * configure: Regenerated. 2294 22952021-01-11 Nick Clifton <nickc@redhat.com> 2296 2297 * po/pt.po: Updated Portuguese translation. 2298 * po/sr.po: Updated Serbian translation. 2299 * po/uk.po: Updated Ukranian translation. 2300 23012021-01-09 H.J. Lu <hongjiu.lu@intel.com> 2302 2303 * configure: Regenerated. 2304 23052021-01-09 Nick Clifton <nickc@redhat.com> 2306 2307 * configure: Regenerate. 2308 * po/binutils.pot: Regenerate. 2309 23102021-01-09 Nick Clifton <nickc@redhat.com> 2311 2312 * 2.36 release branch crated. 2313 * README-how-to-make-a-release: Add note about updating Makefiles 2314 and libtool files. 2315 * BRANCHES: Add binutils-2.36-branch. 2316 23172021-01-09 Alan Modra <amodra@gmail.com> 2318 2319 * configure: Regenerate. 2320 23212021-01-07 Samuel Thibault <samuel.thibault@gnu.org> 2322 2323 * configure: Regenerate. 2324 23252021-01-07 H.J. Lu <hongjiu.lu@intel.com> 2326 2327 PR 27109 2328 * objcopy.c (copy_object): Handle section symbols for 2329 non-relocatable inputs. 2330 * testsuite/binutils-all/readelf.exp (readelf_test): Check 2331 is_elf_unused_section_symbols. 2332 * testsuite/binutils-all/readelf.s-64: Updated. 2333 * testsuite/binutils-all/readelf.ss: Likewise. 2334 * testsuite/binutils-all/readelf.ss-64: Likewise. 2335 * testsuite/binutils-all/readelf.s-64-unused: New file. 2336 * testsuite/binutils-all/readelf.ss-64-unused: Likewise. 2337 * testsuite/binutils-all/readelf.ss-unused: Likewise. 2338 * testsuite/lib/binutils-common.exp 2339 (is_elf_unused_section_symbols): New proc. 2340 23412021-01-06 Reuben Thomas <rrt@sc3d.org> 2342 2343 * binutils/readelf.c: Correct grammar in comment. 2344 23452021-01-01 Nicolas Boulenguez <nicolas@debian.org> 2346 2347 * coffgrok.c (do_type): Correct spelling of auxiliary in errors. 2348 * doc/binutils.texi: Correct grammar. 2349 * readelf.c (process_version_sections): Correct spelling of auxiliary 2350 in warning. 2351 * testsuite/binutils-all/vax/objdump.exp: Comment grammar fix. 2352 23532021-01-01 Alan Modra <amodra@gmail.com> 2354 2355 Update year range in copyright notice of all files. 2356 2357For older changes see ChangeLog-2020 2358 2359Copyright (C) 2021-2024 Free Software Foundation, Inc. 2360 2361Copying and distribution of this file, with or without modification, 2362are permitted in any medium without royalty provided the copyright 2363notice and this notice are preserved. 2364 2365Local Variables: 2366mode: change-log 2367left-margin: 8 2368fill-column: 74 2369version-control: never 2370End: 2371