1 2021-04-14 Alan Modra <amodra@gmail.com>
4 * objdump.c (show_line): Don't limit paths to PATH_MAX.
5 * readelf.c (struct filedata): Change program_interpreter from
6 a char array to a char pointer.
7 (process_program_headers): Sanity check PT_INTERP p_filesz.
8 Malloc program_interpreter using p_filesz and read directly from
10 (process_dynamic_section): Check program_interpreter is non-NULL.
11 (free_filedata): New function, split out from..
12 (process_object): ..here.
13 (close_debug_file): Call free_filedata.
14 * sysdep.h: Don't include sys/param.h.
15 (PATH_MAX): Don't define.
16 * configure.ac: Don't check for sys/param.h.
17 * configure: Regenerate.
19 2021-04-13 Frederic Cambus <fred@statdns.com>
21 * readelf.c (process_netbsd_elf_note): Remove now unneeded #ifdef
22 check for NT_NETBSD_PAX.
24 2021-04-12 Alan Modra <amodra@gmail.com>
26 * configure.ac (--enable-checking): Add support.
27 * config.in: Regenerate.
28 * configure: Regenerate.
30 2021-04-09 Alan Modra <amodra@gmail.com>
32 * objdump.c (struct objdump_disasm_info): Delete dynrelbuf and
34 (find_symbol_for_address): Adjust for dynrelbuf and dynrelcount move.
35 (disassemble_section, disassemble_data): Likewise.
37 2021-04-06 Alan Modra <amodra@gmail.com>
39 * objdump.c (objdump_symbol_at_address): Return asymbol*.
41 2021-04-06 Alan Modra <amodra@gmail.com>
43 * NEWS: Mention C99 requirement.
44 * README: Likewise. Modernise examples and "Reporting bugs".
46 2021-04-05 Alan Modra <amodra@gmail.com>
48 * configure.ac: Assume long long is available. Don't test for
49 strings.h, stdlib.h, limits.h, locale.h, or wchar.h. Check
50 inttypes.h, stdint.h, sys/stat.h and sys/types.h. Don't check for
51 strcoll, setlocale, setmode or location of time_t. Don't check
52 for fprintf, getenv, snprintf, strnlen, strstr or vsnprintf decls.
53 (AC_ISC_POSIX, AXC_HEADER_STRING, AC_FUNC_ALLOCA): Don't invoke.
54 * sysdep.h: Don't include alloca-conf.h, include config.h instead.
55 Test HAVE_SYS_TYPES_H and reorder includes. Include limits.h,
56 locale.h, string.h and stdlib.h unconditionally. Remove various
57 fallback declarations. Assume long long is available.
58 * addr2line.c: Don't test HAVE_SETLOCALE.
60 * coffdump.c: Likewise.
61 * dlltool.c: Likewise.
62 * dllwrap.c: Likewise.
63 * elfedit.c: Likewise.
65 * objcopy.c: Likewise.
66 * objdump.c: Likewise.
67 * readelf.c: Likewise.
70 * strings.c: Likewise.
71 * sysdump.c: Likewise.
73 * windres.c: Likewise.
74 * bucomm.c: Don't test HAVE_TIME_T_IN_TIME_H or HAVE_TIME_T_IN_TYPES_H.
75 * dwarf.c: Include limits.h unconditionally. Assume long long
77 * nm.c: Don't test HAVE_STRCOLL.
78 * readelf.c: Don't test HAVE_WCHAR_H.
79 * strings.c: Assume long long is available.
80 * syslex.l: Include string.h unconditionally.
81 * aclocal.m4: Regenerate.
82 * config.in: Regenerate.
83 * configure: Regenerate.
84 * Makefile.in: Regenerate.
85 * doc/Makefile.in: Regenerate.
87 2021-04-01 Martin Liska <mliska@suse.cz>
89 * elfcomm.h (strneq): Remove strneq and use startswith.
90 * readelf.c (ia64_process_unwind): Likewise.
91 (process_note): Likewise.
93 2021-04-01 Martin Liska <mliska@suse.cz>
95 * dllwrap.c: Use startswith function.
96 * objcopy.c (is_dwo_section): Likewise.
97 (handle_remove_section_option): Likewise.
98 (copy_main): Likewise.
99 * objdump.c (is_significant_symbol_name): Likewise.
101 2021-04-01 Martin Liska <mliska@suse.cz>
103 * dwarf.c (display_debug_lines_raw): Replace const_strneq with
105 (display_debug_lines_decoded): Likewise.
106 (display_debug_links): Likewise.
107 * elfcomm.c (setup_archive): Likewise.
108 * elfcomm.h (const_strneq): Likewise.
109 * readelf.c (process_section_headers): Likewise.
110 (slurp_ia64_unwind_table): Likewise.
111 (slurp_hppa_unwind_table): Likewise.
112 (decode_arm_unwind): Likewise.
113 (display_debug_section): Likewise.
114 (process_note): Likewise.
116 2021-03-31 Alan Modra <amodra@gmail.com>
118 * sysdep.h (POISON_BFD_BOOLEAN): Define.
119 * addr2line.c, * ar.c, * arsup.c, * bfdtest2.c, * binemul.c,
120 * binemul.h, * bucomm.c, * bucomm.h, * budbg.h, * coffgrok.c,
121 * debug.c, * debug.h, * dlltool.c, * dwarf.c, * dwarf.h,
122 * elfedit.c, * emul_aix.c, * mclex.c, * nm.c, * objcopy.c,
123 * objdump.c, * od-macho.c, * prdbg.c, * rdcoff.c, * rddbg.c,
124 * readelf.c, * rename.c, * stabs.c, * strings.c, * windint.h,
125 * windmc.c, * windmc.h, * windres.c, * winduni.c,
126 * wrstabs.c: Replace bfd_boolean with bool, FALSE with false,
127 and TRUE with true throughout.
129 2021-03-31 Alan Modra <amodra@gmail.com>
131 * coffdump.c: Include stdint.h in place of bfd_stdint.h.
134 2021-03-31 Alan Modra <amodra@gmail.com>
136 * prdbg.c (pr_function_type): Replace LITSTTCPY with strcpy.
138 2021-03-29 Alan Modra <amodra@gmail.com>
140 * dlltool.c (main): Don't use "boolean_condition ? TRUE : FALSE".
141 * dwarf.c (read_and_display_attr_value): Likewise.
142 (display_debug_str_offsets): Likewise.
143 * objdump.c (dump_bfd): Likewise.
144 * readelf.c (dump_section_as_strings): Likewise.
145 (dump_section_as_bytes): Likewise.
147 2021-03-29 Alan Modra <amodra@gmail.com>
149 * objdump.c (process_links): Use type int.
150 * readelf.c (request_dump): Don't increment do_dump, set it.
151 * windint.h (target_is_bigendian): Use type bfd_boolean.
152 * windmc.c (target_is_bigendian): Likewise.
153 * windres.c (target_is_bigendian): Likewise.
155 2021-03-22 Martin Liska <mliska@suse.cz>
157 * dlltool.c (scan_drectve_symbols): Replace usage of CONST_STRNEQ
159 * emul_aix.c (ar_emul_aix_parse_arg): Likewise.
160 * objcopy.c (is_mergeable_note_section): Likewise.
161 * objdump.c (dump_dwarf_section): Likewise.
162 * prdbg.c (pr_method_type): Likewise.
163 (pr_class_baseclass): Likewise.
164 (tg_class_baseclass): Likewise.
165 * readelf.c (process_lto_symbol_tables): Likewise.
166 * stabs.c (ULLHIGH): Likewise.
167 (parse_stab_argtypes): Likewise.
168 (stab_demangle_function_name): Likewise.
170 2021-03-19 H.J. Lu <hongjiu.lu@intel.com>
172 * readelf.c (get_machine_name): Add EM_INTELGT.
174 2021-03-18 Nick Clifton <nickc@redhat.com>
177 * readelf.c (dump_section_as_strings): Mention separate filename.
178 (dump_section_as_bytes): Likewise.
179 (dump_section_as_ctf): Likewise.
180 (initialise_dumkps_byname): Only issue a warning for missing
181 sections if processing the main file.
182 (process_section_contents): Only issue a warning for unsumped
183 section numbers in the main file.
184 (initialise_dump_sects): New function. Contains code extracted
186 (process_object): ... here. Also call initialise_dump_sects for
189 2021-03-16 Nick Clifton <nickc@redhat.com>
192 * readelf.c (display_debug_section): Also retain .debug_addr
195 2021-03-16 Nick Clifton <nickc@redhat.com>
198 * readelf.c (process_section_contents): Only dump debug
199 information for separate files unless process_links is enabled.
200 (process_object): Always call process_section_contents for
203 2021-03-15 Nick Clifton <nickc@redhat.com>
206 * nm.c (FORMAT_JUST_SYMBOLS): Define.
207 (struct optput_fns): Add entry for FORMAT_JUST_SYMBOLS.
208 (long_options): Add just-symbols.
209 (set_output_format): Add support for just-symbols.
210 (get_print_format): Likewise.
211 (do_not_print_object_filename): New function.
212 (do_not_print_archive_filename): New function.
213 (do_not_print_archive_member): New function.
214 (do_not_print_symbol_filename): New function.
215 (just_print_symbol_name): New function.
216 (main): Handle --just-symbols.
217 * NEWS: Mention the new feature.
218 * doc/binutils.texi: Document the new feature.
220 2021-03-12 Clément Chigot <clement.chigot@atos.net>
222 * od-xcoff.c: Replace RTB by TRL entry.
224 2021-03-05 Craig Blackmore <craig.blackmore@embecosm.com>
225 Andrew Burgess <andrew.burgess@embecosm.com>
227 * readelf.c (get_note_type): Handle NT_RISCV_CSR.
229 2021-03-05 Craig Blackmore <craig.blackmore@embecosm.com>
230 Andrew Burgess <andrew.burgess@embecosm.com>
232 * readelf.c (get_note_type): Handle NT_GDB_TDESC.
234 2021-03-05 Nick Clifton <nickc@redhat.com>
237 * dwarf.c (display_debug_macro): Handle the displaying of
238 DW_MACRO_define_strp and DW_MACRO_undef_strp in v4
239 .debug_macro.dwo sections.
241 2021-03-04 Nick Clifton <nickc@redhat.com>
244 * objdump.c (process_links): New variable.
245 (usage): Add --process-links.
246 (long_options): Likewise.
247 (dump_bfd): Stop processing once the bfd has been loaded unless
248 this is the main file or process_links has been enabled.
249 (main): Handle the process-links option.
250 * readelf.c (process_links): New variable.
251 (struct filedata): Add is_separate field.
252 (options): Add --process-links.
254 (parse_args): Likewise.
255 (process_file_header): Include the filename when dumping
256 information for separate debuginfo files.
257 (process_program_headers): Likewise.
258 (process_section_headers): Likewise.
259 (process_section_groups): Likewise.
260 (process_relocs): Likewise.
261 (process_dynamic_section): Likewise.
262 (process_version_sections): Likewise.
263 (display_lto_symtab): Likewise.
264 (process_symbol_table): Likewise.
265 (process_syminfo): Likewise.
266 (initialise_dumps_by_name): Likewise.
267 (process_section_contents): Likewise.
268 (process_notes_at): Likewise.
269 (process_notes): Likewise.
270 (open_file): Add is_separate parameter. Use to initialise the
271 is_separate field in the filedata structure.
272 (open_deug): Update call to open_file.
273 (process_object): Add processing of the contents of separate
274 debuginfo files, gated by the process_links variable.
275 (process_archive): Update call to open_file.
276 (process_file): Initialise the is_separate field in the filedata
278 * dwarf.c (load_separate_debug_info_file): Only report the
279 loading of a separate file if debug links are being dumped.
280 * objcopy.c (keep_section_symbols): New variable.
281 (enum command_line_switch): Add OPTION_KEEP_SYMBOLS.
282 (strip_options): Add keep-section-symbols.
283 (copy_options): Likewise.
284 (copy_usage): Likewise.
285 (strip_usage): Likewise.
286 (copy_object): Keep section symbols if requested by command line
288 (strip_main): Handle --keep-section-symbols.
289 (copy_main): Likewise.
290 * doc/binutils.texi: Document the new options.
291 * NEWS: Mention the new features.
292 * testsuite/binutils-all/compress.exp (test_gnu_debuglink):
293 Update options passed to objdump. Use diff rather than cmp to
294 compare the dumped data.
295 * testsuite/binutils-all/objdump.WK2: Update regexp.
296 * testsuite/binutils-all/objdump.WK3: Update regexp.
297 * testsuite/binutils-all/objdump.exp: Use --process-links
298 instead of --dwarf=follow-links.
299 * testsuite/binutils-all/readelf.exp (readelf_test): Include
300 readelf's output in the log when the test fails.
301 Add the -P option to the -wKis test.
302 * testsuite/binutils-all/readelf.wKis: Update expected output.
304 2021-03-03 Alan Modra <amodra@gmail.com>
307 * objcopy.c (filter_symbols): Apply --weaken to undefined symbols.
308 * NEWS: Mention feature.
310 2021-03-01 H.J. Lu <hongjiu.lu@intel.com>
313 * dwarf.c (load_separate_debug_info): Issue warning only if
314 do_debug_links is set.
315 * testsuite/binutils-all/compress.exp: Run objdump and readelf
316 with missing debug file.
318 2021-03-01 Alan Modra <amodra@gmail.com>
321 * doc/binutils.texi: Add nm --with-symbol-versions and
322 --without-symbol-versions documentation.
323 * nm.c (with_symbol_versions): New variable.
324 (enum long_option_values): Delete OPTION_WITH_SYMBOL_VERSIONS.
325 (long_options): Make --with-symbol-versions entry twiddle the flag.
326 Add --without-symbol-versions.
327 (print_symname): Strip version when !with_symbol_versions. Add
328 dynamic version info under control of with_symbol_versions.
329 (main): Remove OPTION_WITH_SYMBOL_VERSIONS case.
331 2021-02-26 Fangrui Song <maskray@google.com>
334 * readelf.c (quiet): New option flag.
335 (enum long_option_values): New enum to hold long option value.
336 (long_options): Add --quiet.
337 (usage): Mention --quiet.
338 (display_rel_file): If quiet is enabled, suppress "no symbols".
339 (main): Handle the new option.
340 * NEWS: Mention --quiet.
341 * docs/binutils.texi: Document --quiet.
343 2021-02-26 Tom de Vries <tdevries@suse.de>
345 * dwarf.c (display_debug_addr): Handle dwarf-5 .debug_addr bits.
347 2021-02-26 Tom de Vries <tdevries@suse.de>
350 * dwarf.c: (skip_attr_bytes): Add support for DW_FORM_str* and
352 (read_and_display_attr_value): Likewise.
354 2021-02-25 Nick Clifton <nickc@redhat.com>
356 * dwarf.c (get_type_abbrev_from_form): Accept but ignore sup
358 (read_and_display_attr_value): Handle sup forms.
359 (display_debug_sup): New function. Displays the contents of a
361 (load_debug_sup_file): New function. Loads the contents of a file
362 referenced by a .debug_sup section.
363 (check_for_and_load_links): Call load_debug_sup_file.
364 (debug_displays): Add entry for .debug_sup.
365 * dwarf.h (enum dwarf_section_display_enum): Add debug_sup.
366 * readelf.c (process_section_headers): Add support for debug_sup.
367 * doc/debug.options.texi: Note that the =links option will display
368 the contents of .debug_sup sections.
369 * NEWS: Mention the new support.
371 2021-02-25 Alan Modra <amodra@gmail.com>
374 * rename.c (simple_copy): Mark target_stat ATTRIBUTE_UNUSED.
376 2021-02-24 Nick Clifton <nickc@redhat.com>
379 * od-elf32_avr.c (elf32_avr_get_memory_usage): Check for overflows
380 when adding together the section sizes.
382 2021-02-24 Nick Clifton <nickc@redhat.com>
384 * objcopy.c (merge_gnu_build_notes): Remove support for v1/v2 GNU
386 * readelf.c (print_gnu_build_attribute_description): Likewise.
388 2021-02-24 Alan Modra <amodra@gmail.com>
389 Siddhesh Poyarekar <siddhesh@gotplt.org>
392 * bucomm.h (smart_rename): Update prototype.
393 * rename.c (smart_rename): Add fromfd and preserve_dates params.
394 Pass fromfd and target_stat to simple_copy. Call set_times
396 (simple_copy): Accept fromfd rather than from filename. Add
397 target_stat param. Rewind fromfd rather than opening. Open
398 "to" file without O_CREAT. Try to preserve S_ISUID and S_ISGID.
399 * ar.c (write_archive): Rename ofd to tmpfd. Dup tmpfd before
400 closing output temp file, and pass tmpfd to smart_rename.
401 * arsup.c (temp_fd): Rename from real_fd.
402 (ar_save): Dup temp_fd and pass to smart_rename.
403 * objcopy.c (strip_main, copy_main): Likewise, and pass
406 2021-02-24 Alan Modra <amodra@gmail.com>
409 * rename.c: Tidy throughout.
410 (smart_rename): Always copy. Remove windows specific code.
412 2021-02-20 Alan Modra <amodra@gmail.com>
414 * testsuite/lib/binutils-common.exp: Whitespace fixes throughout.
415 (run_dump_test): Fail if expecting errors from a file like we do
416 for error strings, if no error is seen.
418 2021-02-19 Alan Modra <amodra@gmail.com>
420 * testsuite/binutils-all/readelf.exp (pr26548): Run for 32-bit too.
422 2021-02-19 Siddhesh Poyarekar <siddhesh@gotplt.org>
424 * ar.c (write_archive): Remove TARGET_STAT. Adjust call to
426 * arsup.c (ar_save): Likewise.
427 * objcopy (strip_main): Don't copy TMPFD. Don't set times on
428 temporary file and adjust call to SMART_RENAME.
429 (copy_main): Likewise.
430 * rename.c [!S_ISLNK]: Remove definitions.
431 (try_preserve_permissions): Remove function.
432 (smart_rename): Remove FD, PRESERVE_DATES arguments. Use
433 rename system call only if TO does not exist.
434 * bucomm.h (smart_rename): Adjust declaration.
436 2021-02-18 Nick Clifton <nickc@redhat.com>
438 * objcopy.c (merge_gnu_build_notes): Handle notes with a start
439 address that is higher than the end address.
441 2021-02-17 Alan Modra <amodra@gmail.com>
443 * dwarf.c: Include limits.h.
444 (CHAR_BIT): Provide backup define.
445 (read_leb128): Use CHAR_BIT to size "result" in bits. Correct
446 signed overflow checking.
447 * testsuite/binutils-all/pr26548.s,
448 * testsuite/binutils-all/pr26548.d,
449 * testsuite/binutils-all/pr26548e.d: New tests.
450 * testsuite/binutils-all/readelf.exp: Run them.
451 (readelf_test): Drop unused "xfails" parameter. Update all uses.
453 2021-02-16 Jan Beulich <jbeulich@suse.com>
455 * dwarf.c (process_debug_info): Initialize "dwo_id".
457 2021-02-15 Alan Modra <amodra@gmail.com>
459 * objdump.c (load_specific_debug_section): Don't call
460 bfd_cache_section_contents. Rearrange so that
461 bfd_get_full_section_contents is not called on path where
462 bfd_simple_get_relocated_section_contents is called.
463 Don't set section->user_data.
464 (free_debug_section): Always free section->start. Don't twiddle
466 * readelf.c (load_specific_debug_section): Don't set user_data.
467 * dwarf.h (struct dwarf_section): Remove use_data field.
468 * dwarf.c (NO_ABBREVS, ABBREV): Adjust to suit.
470 2021-02-15 Alan Modra <amodra@gmail.com>
472 * testsuite/binutils-all/compress.exp: Remove nds32 xfails.
473 * testsuite/binutils-all/objdump.exp: Likewise.
475 2021-02-14 Alan Modra <amodra@gmail.com>
477 * objdump.c (slurp_symtab): Don't add an extra entry for NULL
479 (slurp_dynamic_symtab): Likewise.
480 (dump_bfd): Formatting. Copy terminating NULL from extra_syms.
482 2021-02-14 Alan Modra <amodra@gmail.com>
484 * Makefile.in: Regenerate.
485 * doc/Makefile.in: Regenerate.
487 2021-02-13 Mike Frysinger <vapier@gentoo.org>
489 * aclocal.m4: Regenerate.
491 2021-02-12 Nick Clifton <nickc@redhat.com>
493 * configure.ac (follow-debug-links): Add option to enable or
494 disable the following of debug links by default. Set the
495 default for the option to be 'follow'.
496 * dwarf.c (do_follow_links): Initialise with DEFAULT_FOR_FOLLOW_LINKS.
497 (dwarf_select_sections_by_names): Add no-follow-links option.
498 (dwarf_select_sections_by_letter): Add 'N' option.
499 * objdump.c (usage): Add conditional text describing the
501 (slurp_symtab): Ensure that there is a NULL entry at the end
503 (slurp_dynamic_symtab): Likewise.
504 (dump_bfd): When extending the symbol table, ensure that there
505 is still a NULL entry at the end.
506 * readelf.c (usage): Add conditional text describing the
508 * doc/binutils.texi: Update documentation for objcopy and
510 * doc/debug.options.texi: Update documentation of the
512 * config.in: Regenerate.
513 * configure: Regenerate.
514 * testsuite/binutils-all/compress.exp: Add the -WN option to
515 objdump command lines that are not expecting to follow links.
516 * testsuite/binutils-all/readelf.exp: Add the
517 --debug-dump=no-follow-links option to tests that are not
518 expecting to follow debug links.
519 * NEWS: Mention the new behaviour.
521 2021-02-12 Alan Modra <amodra@gmail.com>
523 * testsuite/binutils-all/objcopy.exp: Report "unsupported" when
524 gas or ld fails to build a testcase rather than "unresolved".
525 Report "fail" when readelf returns an error status rather than
527 * testsuite/binutils-all/ar.exp: Likewise.
528 * testsuite/binutils-all/compress.exp: Likewise.
529 * testsuite/binutils-all/readelf.exp: Likewise.
531 2021-02-12 Alan Modra <amodra@gmail.com>
533 * testsuite/binutils-all/pr25662.s: Replace "a" with "aaa" and
534 "c" with "ccc" labels.
536 2021-02-12 Tom de Vries <tdevries@suse.de>
538 * dwarf.h (debug_info): Fix typo in comment.
540 2021-02-12 Tom de Vries <tdevries@suse.de>
542 * dwarf.c (display_debug_str_offsets): Handle multiple sets of
545 2021-02-12 Tom de Vries <tdevries@suse.de>
547 * dwarf.c (process_debug_info): Print DWO ID.
549 2021-02-11 Alan Modra <amodra@gmail.com>
554 * od-elf32_avr.c (elf32_avr_get_note_section_contents): Formatting.
555 Use bfd_malloc_and_get_section.
556 (elf32_avr_get_note_desc): Formatting. Return descsz. Sanity
557 check namesz. Return NULL if descsz is too small. Ensure
558 string table is terminated.
559 (elf32_avr_get_device_info): Formatting. Add note_size param.
561 (elf32_avr_dump_mem_usage): Adjust to suit.
563 2021-02-10 Tom de Vries <tdevries@suse.de>
566 * dwarf.c (load_dwo_file): Handle case that name is absolute path.
568 2021-02-10 Tom de Vries <tdevries@suse.de>
571 * dwarf.c (display_debug_ranges): Filter range lists according to
574 2021-02-09 Tom de Vries <tdevries@suse.de>
577 * dwarf.c (get_type_abbrev_from_form): Handle DW_FORM_ref_sig8.
579 2021-02-09 Tom de Vries <tdevries@suse.de>
582 * dwarf.c (process_debug_info): Handling DW_UT_skeleton and
585 2021-02-09 Alan Modra <amodra@gmail.com>
587 * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Remove
590 2021-02-07 Alan Modra <amodra@gmail.com>
592 * unwind-ia64.c (unw_print_xyreg): Don't leave output buffer
593 uninitialised on invalid input.
595 2021-02-06 Alan Modra <amodra@gmail.com>
598 * rename.c (smart_rename): Test for existence and type of output
601 2021-02-05 Nick Clifton <nickc@redhat.com>
603 * MAINTAINERS: Remove Richard Henderson as the ALPHA maintainer.
605 2021-02-05 Eli Zaretskii <eliz@gnu.org>
608 * elfedit.c (check_file):
609 * bucomm.c (get_file_size): Fix typos in comments.
611 2021-02-05 Alan Modra <amodra@gmail.com>
614 * arsup.c (ar_save): Use stat rather than lstat.
616 2021-02-03 Alan Modra <amodra@gmail.com>
621 * ar.c: Don't include libbfd.h.
622 (write_archive): Replace xmalloc+strcpy with xstrdup. Use
623 bfd_stat rather than fstat on iostream. Move stat and fd tests
624 outside of _WIN32 ifdef. Delete skip_stat variable.
625 * arsup.c (temp_name, real_ofd): New static variables.
626 (ar_open): Use make_tempname and bfd_fdopenw.
627 (ar_save): Adjust to suit ar_open changes. Move stat output
629 * objcopy.c: Don't include libbfd.h.
630 (copy_file): Use bfd_stat.
632 2021-02-02 H.J. Lu <hongjiu.lu@intel.com>
635 * readelf.c (process_section_headers): Add 'R' and 'D' to
637 * testsuite/binutils-all/retain1a.d: Updated.
639 2021-01-30 Nick Clifton <nickc@redhat.com>
641 * README-how-to-make-a-release: Small updates after the 2.35.2
644 2021-01-28 Eli Zaretskii <eliz@gnu.org>
647 * windres.c (quot): Use double quotes to protect strings on
650 2021-01-28 Eli Zaretskii <eliz@gnu.org>
653 * bucomm.c (get_file_size): Add code to handle /dev/null on
655 * elfedit.c (check_file): Likewise.
657 2021-01-27 Nick Clifton <nickc@redhat.com>
659 * objcopy.c (copy_main): Remove conditional control of the calls
660 to free, simplifying the code and making it easier to detect
663 2021-01-26 Frederic Cambus <fred@statdns.com>
665 * objcopy.c (copy_main): Fix a double free happening when both
666 --localize-symbols and --globalize-symbols options are invoked
669 2021-01-24 Nick Clifton <nickc@redhat.com>
671 * README-how-to-make-a-release: Minor updates after the 2.36 release.
673 2021-01-16 Alan Modra <amodra@gmail.com>
675 * readelf.c (uncompress_section_contents): Tidy inflateEnd result test.
677 2021-01-15 Alan Modra <amodra@gmail.com>
680 * readelf.c (uncompress_section_contents): Always call inflateEnd.
682 2021-01-14 Alexandre Oliva <oliva@gnu.org>
684 * MAINTAINERS: Update my email address.
686 2021-01-14 Nick Clifton <nickc@redhat.com>
688 * po/sv.po: Updated Swedish translation.
690 2021-01-13 Alan Modra <amodra@gmail.com>
692 * Makefile.in: Regenerate.
693 * doc/Makefile.in: Regenerate.
695 2021-01-13 Zebediah Figura <z.figura12@gmail.com>
698 * dlltool.c (i386_trampoline): Adjust %rsp immediately on entry
700 (i386_x64_trampoline): Add SEH annotations.
701 (struct mac): Add how_seh field.
702 (make_delay_head): If how_set field is true add SEh instructions.
704 2021-01-12 H.J. Lu <hongjiu.lu@intel.com>
707 * configure.ac: Use GNU_MAKE_JOBSERVER.
708 * aclocal.m4: Regenerated.
709 * configure: Likewise.
711 2021-01-12 Nick Clifton <nickc@redhat.com>
713 * po/fr.po: Updated French translation.
715 2021-01-11 H.J. Lu <hongjiu.lu@intel.com>
718 * configure: Regenerated.
720 2021-01-11 Nick Clifton <nickc@redhat.com>
722 * po/pt.po: Updated Portuguese translation.
723 * po/sr.po: Updated Serbian translation.
724 * po/uk.po: Updated Ukranian translation.
726 2021-01-09 H.J. Lu <hongjiu.lu@intel.com>
728 * configure: Regenerated.
730 2021-01-09 Nick Clifton <nickc@redhat.com>
732 * configure: Regenerate.
733 * po/binutils.pot: Regenerate.
735 2021-01-09 Nick Clifton <nickc@redhat.com>
737 * 2.36 release branch crated.
738 * README-how-to-make-a-release: Add note about updating Makefiles
740 * BRANCHES: Add binutils-2.36-branch.
742 2021-01-09 Alan Modra <amodra@gmail.com>
744 * configure: Regenerate.
746 2021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
748 * configure: Regenerate.
750 2021-01-07 H.J. Lu <hongjiu.lu@intel.com>
753 * objcopy.c (copy_object): Handle section symbols for
754 non-relocatable inputs.
755 * testsuite/binutils-all/readelf.exp (readelf_test): Check
756 is_elf_unused_section_symbols.
757 * testsuite/binutils-all/readelf.s-64: Updated.
758 * testsuite/binutils-all/readelf.ss: Likewise.
759 * testsuite/binutils-all/readelf.ss-64: Likewise.
760 * testsuite/binutils-all/readelf.s-64-unused: New file.
761 * testsuite/binutils-all/readelf.ss-64-unused: Likewise.
762 * testsuite/binutils-all/readelf.ss-unused: Likewise.
763 * testsuite/lib/binutils-common.exp
764 (is_elf_unused_section_symbols): New proc.
766 2021-01-06 Reuben Thomas <rrt@sc3d.org>
768 * binutils/readelf.c: Correct grammar in comment.
770 2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
772 * coffgrok.c (do_type): Correct spelling of auxiliary in errors.
773 * doc/binutils.texi: Correct grammar.
774 * readelf.c (process_version_sections): Correct spelling of auxiliary
776 * testsuite/binutils-all/vax/objdump.exp: Comment grammar fix.
778 2021-01-01 Alan Modra <amodra@gmail.com>
780 Update year range in copyright notice of all files.
782 For older changes see ChangeLog-2020
784 Copyright (C) 2021 Free Software Foundation, Inc.
786 Copying and distribution of this file, with or without modification,
787 are permitted in any medium without royalty provided the copyright
788 notice and this notice are preserved.
794 version-control: never