3 * dwarf.c (SAFE_BYTE_GET): Check bounds by subtracting amount from
4 END rather than adding amount to PTR.
5 (SAFE_SIGNED_BYTE_GET, SAFE_BYTE_GET64): Likewise.
9 * objcopy.c (eq_string): Delete.
10 (create_symbol_htab): Use htab_eq_string.
14 * README-how-to-make-a-release: Update html & pdf entries.
18 * doc/Makefile.am (html-local, binutils/index.html): New targets.
19 * doc/Makefile.in: Regenerate.
23 * doc/Makefile.am (AM_MAKEINFOFLAGS): Add --no-split.
24 * doc/Makefile.in: Regenerate.
28 * readelf.c (no_processor_specific_unwind): New function.
29 (process_unwind): Use no_processor_specific_unwind for X86
34 * dwarf.c: Don't omit second operand of '?' operator.
39 * dwarf.c (load_debug_sup_file): Allocate memory for filename in
45 * doc/binutils.texi (windres): Correct the description of the
46 default value of the --preprocessor argument.
51 * dwarf.c (parse_gnu_debuglink): Reject empty names.
52 (parse_gnu_debugaltlink): Likewise.
56 * od-xcoff.c (dump_xcoff32_symbols): Adapt to new
62 * readelf.c (sym_base): New variable.
63 (enum print_mode): Add more modes.
64 (print_vma): Add suport for new modes.
65 (options): Add sym-base.
66 (usage): Add sym-base.
67 (parse_args): Add support for --sym-base.
68 (print_dynamic_symbol_size): New function.
69 (print_dynamic_symbol): Use new function.
70 * doc/binutils.texi: Document the new feature.
71 * NEWS: Mention the new feature.
75 * testsuite/binutils-all/mips/global-local-symtab-sort-n64t.d:
76 Adjust expected output to allow for named section symbols.
77 * testsuite/binutils-all/mips/global-local-symtab-sort-o32t.d:
79 * testsuite/binutils-all/readelf.s-64: Likewise.
80 * testsuite/binutils-all/readelf.ss-64-unused: Likewise.
81 * testsuite/binutils-all/readelf.ss-tmips: Likewise.
82 * testsuite/binutils-all/readelf.ss-unused: Likewise.
86 * readelf.c (print_dynamic_symbol): Print the section name for
87 section symbols without a name of their own.
91 * MAINTAINERS: Remove Martin Schwidefsky as s390 maintainer and
92 add him to Past Maintainers.
93 Update my email address.
98 * arsup.c (ar_addmod): Enable plugin support, if available.
102 * rename.c: (get_stat_atime_ns): Add prototype.
103 (get_stat_mtime_ns): Add prototype.
108 * rename.c (get_stat_atime, get_stat_mtime): Make static.
109 (get_stat_atime_ns, get_stat_mtime_ns): Likewise.
114 * rename.c (get_stat_atime_ns): Add ATTRIBUTE_UNUSED.
115 (get_stat_mtime_ns): Likewise.
120 * configure.ac: Check for sys/time.h and utimensat. Use standard
121 checks for mkstemp and mkdtemp. Whitespace. Check for nanosecond
122 members of struct stat.
123 * rename.c: Prefer sys/time.h for utimes over utime.h for utime.
124 (STAT_TIMESPEC, STAT_TIMESPEC_NS): Define
125 (get_stat_atime_ns, get_stat_mtime_ns): New inline functions.
126 (get_stat_atime, get_stat_mtime): Likewise.
127 (set_times): Choose first available of utimensat, utimes, utime.
128 Use above inline functions to set timespec and timeval values.
129 * configure: Regenerate.
130 * config.in: Regenerate.
131 * testsuite/binutils-all/objcopy.exp (objcopy_test): Add test of
132 file timestamp when --preserve-dates is used.
137 * rename.c (smart_rename): When TO and FROM are equal, just set
139 * objcopy.c (strip_main, copy_main): Always call smart_rename.
144 * testsuite/binutils-all/x86-64/pr27708.dump: New file.
145 * testsuite/binutils-all/x86-64/pr27708.exe.bz2: Likewise.
146 * testsuite/binutils-all/x86-64/x86-64.exp: Run binutils/27708
152 * resbin.c (bin_to_res_version): Ignore any trailing bytes at the
153 end of the structure.
157 * readelf.c (get_netbsd_elfcore_note_type): Remove unneeded #ifdef
158 checks for NT_NETBSDCORE_AUXV and NT_NETBSDCORE_LWPSTATUS.
163 * objdump.c (show_line): Don't limit paths to PATH_MAX.
164 * readelf.c (struct filedata): Change program_interpreter from
165 a char array to a char pointer.
166 (process_program_headers): Sanity check PT_INTERP p_filesz.
167 Malloc program_interpreter using p_filesz and read directly from
169 (process_dynamic_section): Check program_interpreter is non-NULL.
170 (free_filedata): New function, split out from..
171 (process_object): ..here.
172 (close_debug_file): Call free_filedata.
173 * sysdep.h: Don't include sys/param.h.
174 (PATH_MAX): Don't define.
175 * configure.ac: Don't check for sys/param.h.
176 * configure: Regenerate.
180 * readelf.c (process_netbsd_elf_note): Remove now unneeded #ifdef
181 check for NT_NETBSD_PAX.
185 * configure.ac (--enable-checking): Add support.
186 * config.in: Regenerate.
187 * configure: Regenerate.
191 * objdump.c (struct objdump_disasm_info): Delete dynrelbuf and
193 (find_symbol_for_address): Adjust for dynrelbuf and dynrelcount move.
194 (disassemble_section, disassemble_data): Likewise.
198 * objdump.c (objdump_symbol_at_address): Return asymbol*.
202 * NEWS: Mention C99 requirement.
203 * README: Likewise. Modernise examples and "Reporting bugs".
207 * configure.ac: Assume long long is available. Don't test for
208 strings.h, stdlib.h, limits.h, locale.h, or wchar.h. Check
209 inttypes.h, stdint.h, sys/stat.h and sys/types.h. Don't check for
210 strcoll, setlocale, setmode or location of time_t. Don't check
211 for fprintf, getenv, snprintf, strnlen, strstr or vsnprintf decls.
212 (AC_ISC_POSIX, AXC_HEADER_STRING, AC_FUNC_ALLOCA): Don't invoke.
213 * sysdep.h: Don't include alloca-conf.h, include config.h instead.
214 Test HAVE_SYS_TYPES_H and reorder includes. Include limits.h,
215 locale.h, string.h and stdlib.h unconditionally. Remove various
216 fallback declarations. Assume long long is available.
217 * addr2line.c: Don't test HAVE_SETLOCALE.
219 * coffdump.c: Likewise.
220 * dlltool.c: Likewise.
221 * dllwrap.c: Likewise.
222 * elfedit.c: Likewise.
224 * objcopy.c: Likewise.
225 * objdump.c: Likewise.
226 * readelf.c: Likewise.
228 * srconv.c: Likewise.
229 * strings.c: Likewise.
230 * sysdump.c: Likewise.
231 * windmc.c: Likewise.
232 * windres.c: Likewise.
233 * bucomm.c: Don't test HAVE_TIME_T_IN_TIME_H or HAVE_TIME_T_IN_TYPES_H.
234 * dwarf.c: Include limits.h unconditionally. Assume long long
236 * nm.c: Don't test HAVE_STRCOLL.
237 * readelf.c: Don't test HAVE_WCHAR_H.
238 * strings.c: Assume long long is available.
239 * syslex.l: Include string.h unconditionally.
240 * aclocal.m4: Regenerate.
241 * config.in: Regenerate.
242 * configure: Regenerate.
243 * Makefile.in: Regenerate.
244 * doc/Makefile.in: Regenerate.
248 * elfcomm.h (strneq): Remove strneq and use startswith.
249 * readelf.c (ia64_process_unwind): Likewise.
250 (process_note): Likewise.
254 * dllwrap.c: Use startswith function.
255 * objcopy.c (is_dwo_section): Likewise.
256 (handle_remove_section_option): Likewise.
257 (copy_main): Likewise.
258 * objdump.c (is_significant_symbol_name): Likewise.
262 * dwarf.c (display_debug_lines_raw): Replace const_strneq with
264 (display_debug_lines_decoded): Likewise.
265 (display_debug_links): Likewise.
266 * elfcomm.c (setup_archive): Likewise.
267 * elfcomm.h (const_strneq): Likewise.
268 * readelf.c (process_section_headers): Likewise.
269 (slurp_ia64_unwind_table): Likewise.
270 (slurp_hppa_unwind_table): Likewise.
271 (decode_arm_unwind): Likewise.
272 (display_debug_section): Likewise.
273 (process_note): Likewise.
277 * sysdep.h (POISON_BFD_BOOLEAN): Define.
278 * addr2line.c, * ar.c, * arsup.c, * bfdtest2.c, * binemul.c,
279 * binemul.h, * bucomm.c, * bucomm.h, * budbg.h, * coffgrok.c,
280 * debug.c, * debug.h, * dlltool.c, * dwarf.c, * dwarf.h,
281 * elfedit.c, * emul_aix.c, * mclex.c, * nm.c, * objcopy.c,
282 * objdump.c, * od-macho.c, * prdbg.c, * rdcoff.c, * rddbg.c,
283 * readelf.c, * rename.c, * stabs.c, * strings.c, * windint.h,
284 * windmc.c, * windmc.h, * windres.c, * winduni.c,
285 * wrstabs.c: Replace bfd_boolean with bool, FALSE with false,
286 and TRUE with true throughout.
290 * coffdump.c: Include stdint.h in place of bfd_stdint.h.
295 * prdbg.c (pr_function_type): Replace LITSTTCPY with strcpy.
299 * dlltool.c (main): Don't use "boolean_condition ? TRUE : FALSE".
300 * dwarf.c (read_and_display_attr_value): Likewise.
301 (display_debug_str_offsets): Likewise.
302 * objdump.c (dump_bfd): Likewise.
303 * readelf.c (dump_section_as_strings): Likewise.
304 (dump_section_as_bytes): Likewise.
308 * objdump.c (process_links): Use type int.
309 * readelf.c (request_dump): Don't increment do_dump, set it.
310 * windint.h (target_is_bigendian): Use type bfd_boolean.
311 * windmc.c (target_is_bigendian): Likewise.
312 * windres.c (target_is_bigendian): Likewise.
316 * dlltool.c (scan_drectve_symbols): Replace usage of CONST_STRNEQ
318 * emul_aix.c (ar_emul_aix_parse_arg): Likewise.
319 * objcopy.c (is_mergeable_note_section): Likewise.
320 * objdump.c (dump_dwarf_section): Likewise.
321 * prdbg.c (pr_method_type): Likewise.
322 (pr_class_baseclass): Likewise.
323 (tg_class_baseclass): Likewise.
324 * readelf.c (process_lto_symbol_tables): Likewise.
325 * stabs.c (ULLHIGH): Likewise.
326 (parse_stab_argtypes): Likewise.
327 (stab_demangle_function_name): Likewise.
331 * readelf.c (get_machine_name): Add EM_INTELGT.
336 * readelf.c (dump_section_as_strings): Mention separate filename.
337 (dump_section_as_bytes): Likewise.
338 (dump_section_as_ctf): Likewise.
339 (initialise_dumkps_byname): Only issue a warning for missing
340 sections if processing the main file.
341 (process_section_contents): Only issue a warning for unsumped
342 section numbers in the main file.
343 (initialise_dump_sects): New function. Contains code extracted
345 (process_object): ... here. Also call initialise_dump_sects for
351 * readelf.c (display_debug_section): Also retain .debug_addr
357 * readelf.c (process_section_contents): Only dump debug
358 information for separate files unless process_links is enabled.
359 (process_object): Always call process_section_contents for
365 * nm.c (FORMAT_JUST_SYMBOLS): Define.
366 (struct optput_fns): Add entry for FORMAT_JUST_SYMBOLS.
367 (long_options): Add just-symbols.
368 (set_output_format): Add support for just-symbols.
369 (get_print_format): Likewise.
370 (do_not_print_object_filename): New function.
371 (do_not_print_archive_filename): New function.
372 (do_not_print_archive_member): New function.
373 (do_not_print_symbol_filename): New function.
374 (just_print_symbol_name): New function.
375 (main): Handle --just-symbols.
376 * NEWS: Mention the new feature.
377 * doc/binutils.texi: Document the new feature.
381 * od-xcoff.c: Replace RTB by TRL entry.
386 * readelf.c (get_note_type): Handle NT_RISCV_CSR.
391 * readelf.c (get_note_type): Handle NT_GDB_TDESC.
396 * dwarf.c (display_debug_macro): Handle the displaying of
397 DW_MACRO_define_strp and DW_MACRO_undef_strp in v4
398 .debug_macro.dwo sections.
403 * objdump.c (process_links): New variable.
404 (usage): Add --process-links.
405 (long_options): Likewise.
406 (dump_bfd): Stop processing once the bfd has been loaded unless
407 this is the main file or process_links has been enabled.
408 (main): Handle the process-links option.
409 * readelf.c (process_links): New variable.
410 (struct filedata): Add is_separate field.
411 (options): Add --process-links.
413 (parse_args): Likewise.
414 (process_file_header): Include the filename when dumping
415 information for separate debuginfo files.
416 (process_program_headers): Likewise.
417 (process_section_headers): Likewise.
418 (process_section_groups): Likewise.
419 (process_relocs): Likewise.
420 (process_dynamic_section): Likewise.
421 (process_version_sections): Likewise.
422 (display_lto_symtab): Likewise.
423 (process_symbol_table): Likewise.
424 (process_syminfo): Likewise.
425 (initialise_dumps_by_name): Likewise.
426 (process_section_contents): Likewise.
427 (process_notes_at): Likewise.
428 (process_notes): Likewise.
429 (open_file): Add is_separate parameter. Use to initialise the
430 is_separate field in the filedata structure.
431 (open_deug): Update call to open_file.
432 (process_object): Add processing of the contents of separate
433 debuginfo files, gated by the process_links variable.
434 (process_archive): Update call to open_file.
435 (process_file): Initialise the is_separate field in the filedata
437 * dwarf.c (load_separate_debug_info_file): Only report the
438 loading of a separate file if debug links are being dumped.
439 * objcopy.c (keep_section_symbols): New variable.
440 (enum command_line_switch): Add OPTION_KEEP_SYMBOLS.
441 (strip_options): Add keep-section-symbols.
442 (copy_options): Likewise.
443 (copy_usage): Likewise.
444 (strip_usage): Likewise.
445 (copy_object): Keep section symbols if requested by command line
447 (strip_main): Handle --keep-section-symbols.
448 (copy_main): Likewise.
449 * doc/binutils.texi: Document the new options.
450 * NEWS: Mention the new features.
451 * testsuite/binutils-all/compress.exp (test_gnu_debuglink):
452 Update options passed to objdump. Use diff rather than cmp to
453 compare the dumped data.
454 * testsuite/binutils-all/objdump.WK2: Update regexp.
455 * testsuite/binutils-all/objdump.WK3: Update regexp.
456 * testsuite/binutils-all/objdump.exp: Use --process-links
457 instead of --dwarf=follow-links.
458 * testsuite/binutils-all/readelf.exp (readelf_test): Include
459 readelf's output in the log when the test fails.
460 Add the -P option to the -wKis test.
461 * testsuite/binutils-all/readelf.wKis: Update expected output.
466 * objcopy.c (filter_symbols): Apply --weaken to undefined symbols.
467 * NEWS: Mention feature.
472 * dwarf.c (load_separate_debug_info): Issue warning only if
473 do_debug_links is set.
474 * testsuite/binutils-all/compress.exp: Run objdump and readelf
475 with missing debug file.
480 * doc/binutils.texi: Add nm --with-symbol-versions and
481 --without-symbol-versions documentation.
482 * nm.c (with_symbol_versions): New variable.
483 (enum long_option_values): Delete OPTION_WITH_SYMBOL_VERSIONS.
484 (long_options): Make --with-symbol-versions entry twiddle the flag.
485 Add --without-symbol-versions.
486 (print_symname): Strip version when !with_symbol_versions. Add
487 dynamic version info under control of with_symbol_versions.
488 (main): Remove OPTION_WITH_SYMBOL_VERSIONS case.
493 * readelf.c (quiet): New option flag.
494 (enum long_option_values): New enum to hold long option value.
495 (long_options): Add --quiet.
496 (usage): Mention --quiet.
497 (display_rel_file): If quiet is enabled, suppress "no symbols".
498 (main): Handle the new option.
499 * NEWS: Mention --quiet.
500 * docs/binutils.texi: Document --quiet.
504 * dwarf.c (display_debug_addr): Handle dwarf-5 .debug_addr bits.
509 * dwarf.c: (skip_attr_bytes): Add support for DW_FORM_str* and
511 (read_and_display_attr_value): Likewise.
515 * dwarf.c (get_type_abbrev_from_form): Accept but ignore sup
517 (read_and_display_attr_value): Handle sup forms.
518 (display_debug_sup): New function. Displays the contents of a
520 (load_debug_sup_file): New function. Loads the contents of a file
521 referenced by a .debug_sup section.
522 (check_for_and_load_links): Call load_debug_sup_file.
523 (debug_displays): Add entry for .debug_sup.
524 * dwarf.h (enum dwarf_section_display_enum): Add debug_sup.
525 * readelf.c (process_section_headers): Add support for debug_sup.
526 * doc/debug.options.texi: Note that the =links option will display
527 the contents of .debug_sup sections.
528 * NEWS: Mention the new support.
533 * rename.c (simple_copy): Mark target_stat ATTRIBUTE_UNUSED.
538 * od-elf32_avr.c (elf32_avr_get_memory_usage): Check for overflows
539 when adding together the section sizes.
543 * objcopy.c (merge_gnu_build_notes): Remove support for v1/v2 GNU
545 * readelf.c (print_gnu_build_attribute_description): Likewise.
551 * bucomm.h (smart_rename): Update prototype.
552 * rename.c (smart_rename): Add fromfd and preserve_dates params.
553 Pass fromfd and target_stat to simple_copy. Call set_times
555 (simple_copy): Accept fromfd rather than from filename. Add
556 target_stat param. Rewind fromfd rather than opening. Open
557 "to" file without O_CREAT. Try to preserve S_ISUID and S_ISGID.
558 * ar.c (write_archive): Rename ofd to tmpfd. Dup tmpfd before
559 closing output temp file, and pass tmpfd to smart_rename.
560 * arsup.c (temp_fd): Rename from real_fd.
561 (ar_save): Dup temp_fd and pass to smart_rename.
562 * objcopy.c (strip_main, copy_main): Likewise, and pass
568 * rename.c: Tidy throughout.
569 (smart_rename): Always copy. Remove windows specific code.
573 * testsuite/lib/binutils-common.exp: Whitespace fixes throughout.
574 (run_dump_test): Fail if expecting errors from a file like we do
575 for error strings, if no error is seen.
579 * testsuite/binutils-all/readelf.exp (pr26548): Run for 32-bit too.
583 * ar.c (write_archive): Remove TARGET_STAT. Adjust call to
585 * arsup.c (ar_save): Likewise.
586 * objcopy (strip_main): Don't copy TMPFD. Don't set times on
587 temporary file and adjust call to SMART_RENAME.
588 (copy_main): Likewise.
589 * rename.c [!S_ISLNK]: Remove definitions.
590 (try_preserve_permissions): Remove function.
591 (smart_rename): Remove FD, PRESERVE_DATES arguments. Use
592 rename system call only if TO does not exist.
593 * bucomm.h (smart_rename): Adjust declaration.
597 * objcopy.c (merge_gnu_build_notes): Handle notes with a start
598 address that is higher than the end address.
602 * dwarf.c: Include limits.h.
603 (CHAR_BIT): Provide backup define.
604 (read_leb128): Use CHAR_BIT to size "result" in bits. Correct
605 signed overflow checking.
606 * testsuite/binutils-all/pr26548.s,
607 * testsuite/binutils-all/pr26548.d,
608 * testsuite/binutils-all/pr26548e.d: New tests.
609 * testsuite/binutils-all/readelf.exp: Run them.
610 (readelf_test): Drop unused "xfails" parameter. Update all uses.
614 * dwarf.c (process_debug_info): Initialize "dwo_id".
618 * objdump.c (load_specific_debug_section): Don't call
619 bfd_cache_section_contents. Rearrange so that
620 bfd_get_full_section_contents is not called on path where
621 bfd_simple_get_relocated_section_contents is called.
622 Don't set section->user_data.
623 (free_debug_section): Always free section->start. Don't twiddle
625 * readelf.c (load_specific_debug_section): Don't set user_data.
626 * dwarf.h (struct dwarf_section): Remove use_data field.
627 * dwarf.c (NO_ABBREVS, ABBREV): Adjust to suit.
631 * testsuite/binutils-all/compress.exp: Remove nds32 xfails.
632 * testsuite/binutils-all/objdump.exp: Likewise.
636 * objdump.c (slurp_symtab): Don't add an extra entry for NULL
638 (slurp_dynamic_symtab): Likewise.
639 (dump_bfd): Formatting. Copy terminating NULL from extra_syms.
643 * Makefile.in: Regenerate.
644 * doc/Makefile.in: Regenerate.
648 * aclocal.m4: Regenerate.
652 * configure.ac (follow-debug-links): Add option to enable or
653 disable the following of debug links by default. Set the
654 default for the option to be 'follow'.
655 * dwarf.c (do_follow_links): Initialise with DEFAULT_FOR_FOLLOW_LINKS.
656 (dwarf_select_sections_by_names): Add no-follow-links option.
657 (dwarf_select_sections_by_letter): Add 'N' option.
658 * objdump.c (usage): Add conditional text describing the
660 (slurp_symtab): Ensure that there is a NULL entry at the end
662 (slurp_dynamic_symtab): Likewise.
663 (dump_bfd): When extending the symbol table, ensure that there
664 is still a NULL entry at the end.
665 * readelf.c (usage): Add conditional text describing the
667 * doc/binutils.texi: Update documentation for objcopy and
669 * doc/debug.options.texi: Update documentation of the
671 * config.in: Regenerate.
672 * configure: Regenerate.
673 * testsuite/binutils-all/compress.exp: Add the -WN option to
674 objdump command lines that are not expecting to follow links.
675 * testsuite/binutils-all/readelf.exp: Add the
676 --debug-dump=no-follow-links option to tests that are not
677 expecting to follow debug links.
678 * NEWS: Mention the new behaviour.
682 * testsuite/binutils-all/objcopy.exp: Report "unsupported" when
683 gas or ld fails to build a testcase rather than "unresolved".
684 Report "fail" when readelf returns an error status rather than
686 * testsuite/binutils-all/ar.exp: Likewise.
687 * testsuite/binutils-all/compress.exp: Likewise.
688 * testsuite/binutils-all/readelf.exp: Likewise.
692 * testsuite/binutils-all/pr25662.s: Replace "a" with "aaa" and
693 "c" with "ccc" labels.
697 * dwarf.h (debug_info): Fix typo in comment.
701 * dwarf.c (display_debug_str_offsets): Handle multiple sets of
706 * dwarf.c (process_debug_info): Print DWO ID.
713 * od-elf32_avr.c (elf32_avr_get_note_section_contents): Formatting.
714 Use bfd_malloc_and_get_section.
715 (elf32_avr_get_note_desc): Formatting. Return descsz. Sanity
716 check namesz. Return NULL if descsz is too small. Ensure
717 string table is terminated.
718 (elf32_avr_get_device_info): Formatting. Add note_size param.
720 (elf32_avr_dump_mem_usage): Adjust to suit.
725 * dwarf.c (load_dwo_file): Handle case that name is absolute path.
730 * dwarf.c (display_debug_ranges): Filter range lists according to
736 * dwarf.c (get_type_abbrev_from_form): Handle DW_FORM_ref_sig8.
741 * dwarf.c (process_debug_info): Handling DW_UT_skeleton and
746 * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Remove
751 * unwind-ia64.c (unw_print_xyreg): Don't leave output buffer
752 uninitialised on invalid input.
757 * rename.c (smart_rename): Test for existence and type of output
762 * MAINTAINERS: Remove Richard Henderson as the ALPHA maintainer.
767 * elfedit.c (check_file):
768 * bucomm.c (get_file_size): Fix typos in comments.
773 * arsup.c (ar_save): Use stat rather than lstat.
780 * ar.c: Don't include libbfd.h.
781 (write_archive): Replace xmalloc+strcpy with xstrdup. Use
782 bfd_stat rather than fstat on iostream. Move stat and fd tests
783 outside of _WIN32 ifdef. Delete skip_stat variable.
784 * arsup.c (temp_name, real_ofd): New static variables.
785 (ar_open): Use make_tempname and bfd_fdopenw.
786 (ar_save): Adjust to suit ar_open changes. Move stat output
788 * objcopy.c: Don't include libbfd.h.
789 (copy_file): Use bfd_stat.
794 * readelf.c (process_section_headers): Add 'R' and 'D' to
796 * testsuite/binutils-all/retain1a.d: Updated.
800 * README-how-to-make-a-release: Small updates after the 2.35.2
806 * windres.c (quot): Use double quotes to protect strings on
812 * bucomm.c (get_file_size): Add code to handle /dev/null on
814 * elfedit.c (check_file): Likewise.
818 * objcopy.c (copy_main): Remove conditional control of the calls
819 to free, simplifying the code and making it easier to detect
824 * objcopy.c (copy_main): Fix a double free happening when both
825 --localize-symbols and --globalize-symbols options are invoked
830 * README-how-to-make-a-release: Minor updates after the 2.36 release.
834 * readelf.c (uncompress_section_contents): Tidy inflateEnd result test.
839 * readelf.c (uncompress_section_contents): Always call inflateEnd.
843 * MAINTAINERS: Update my email address.
847 * po/sv.po: Updated Swedish translation.
851 * Makefile.in: Regenerate.
852 * doc/Makefile.in: Regenerate.
857 * dlltool.c (i386_trampoline): Adjust %rsp immediately on entry
859 (i386_x64_trampoline): Add SEH annotations.
860 (struct mac): Add how_seh field.
861 (make_delay_head): If how_set field is true add SEh instructions.
866 * configure.ac: Use GNU_MAKE_JOBSERVER.
867 * aclocal.m4: Regenerated.
868 * configure: Likewise.
872 * po/fr.po: Updated French translation.
877 * configure: Regenerated.
881 * po/pt.po: Updated Portuguese translation.
882 * po/sr.po: Updated Serbian translation.
883 * po/uk.po: Updated Ukranian translation.
887 * configure: Regenerated.
891 * configure: Regenerate.
892 * po/binutils.pot: Regenerate.
896 * 2.36 release branch crated.
897 * README-how-to-make-a-release: Add note about updating Makefiles
899 * BRANCHES: Add binutils-2.36-branch.
903 * configure: Regenerate.
907 * configure: Regenerate.
912 * objcopy.c (copy_object): Handle section symbols for
913 non-relocatable inputs.
914 * testsuite/binutils-all/readelf.exp (readelf_test): Check
915 is_elf_unused_section_symbols.
916 * testsuite/binutils-all/readelf.s-64: Updated.
917 * testsuite/binutils-all/readelf.ss: Likewise.
918 * testsuite/binutils-all/readelf.ss-64: Likewise.
919 * testsuite/binutils-all/readelf.s-64-unused: New file.
920 * testsuite/binutils-all/readelf.ss-64-unused: Likewise.
921 * testsuite/binutils-all/readelf.ss-unused: Likewise.
922 * testsuite/lib/binutils-common.exp
923 (is_elf_unused_section_symbols): New proc.
927 * binutils/readelf.c: Correct grammar in comment.
931 * coffgrok.c (do_type): Correct spelling of auxiliary in errors.
932 * doc/binutils.texi: Correct grammar.
933 * readelf.c (process_version_sections): Correct spelling of auxiliary
935 * testsuite/binutils-all/vax/objdump.exp: Comment grammar fix.
939 Update year range in copyright notice of all files.
941 For older changes see ChangeLog-2020
943 Copyright (C) 2021 Free Software Foundation, Inc.
945 Copying and distribution of this file, with or without modification,
946 are permitted in any medium without royalty provided the copyright
947 notice and this notice are preserved.
953 version-control: never