1 2021-04-14 Mark Harmstone <mark@harmstone.com>
4 * resbin.c (bin_to_res_version): Ignore any trailing bytes at the
7 2021-04-14 Frederic Cambus <fred@statdns.com>
9 * readelf.c (get_netbsd_elfcore_note_type): Remove unneeded #ifdef
10 checks for NT_NETBSDCORE_AUXV and NT_NETBSDCORE_LWPSTATUS.
12 2021-04-14 Alan Modra <amodra@gmail.com>
15 * objdump.c (show_line): Don't limit paths to PATH_MAX.
16 * readelf.c (struct filedata): Change program_interpreter from
17 a char array to a char pointer.
18 (process_program_headers): Sanity check PT_INTERP p_filesz.
19 Malloc program_interpreter using p_filesz and read directly from
21 (process_dynamic_section): Check program_interpreter is non-NULL.
22 (free_filedata): New function, split out from..
23 (process_object): ..here.
24 (close_debug_file): Call free_filedata.
25 * sysdep.h: Don't include sys/param.h.
26 (PATH_MAX): Don't define.
27 * configure.ac: Don't check for sys/param.h.
28 * configure: Regenerate.
30 2021-04-13 Frederic Cambus <fred@statdns.com>
32 * readelf.c (process_netbsd_elf_note): Remove now unneeded #ifdef
33 check for NT_NETBSD_PAX.
35 2021-04-12 Alan Modra <amodra@gmail.com>
37 * configure.ac (--enable-checking): Add support.
38 * config.in: Regenerate.
39 * configure: Regenerate.
41 2021-04-09 Alan Modra <amodra@gmail.com>
43 * objdump.c (struct objdump_disasm_info): Delete dynrelbuf and
45 (find_symbol_for_address): Adjust for dynrelbuf and dynrelcount move.
46 (disassemble_section, disassemble_data): Likewise.
48 2021-04-06 Alan Modra <amodra@gmail.com>
50 * objdump.c (objdump_symbol_at_address): Return asymbol*.
52 2021-04-06 Alan Modra <amodra@gmail.com>
54 * NEWS: Mention C99 requirement.
55 * README: Likewise. Modernise examples and "Reporting bugs".
57 2021-04-05 Alan Modra <amodra@gmail.com>
59 * configure.ac: Assume long long is available. Don't test for
60 strings.h, stdlib.h, limits.h, locale.h, or wchar.h. Check
61 inttypes.h, stdint.h, sys/stat.h and sys/types.h. Don't check for
62 strcoll, setlocale, setmode or location of time_t. Don't check
63 for fprintf, getenv, snprintf, strnlen, strstr or vsnprintf decls.
64 (AC_ISC_POSIX, AXC_HEADER_STRING, AC_FUNC_ALLOCA): Don't invoke.
65 * sysdep.h: Don't include alloca-conf.h, include config.h instead.
66 Test HAVE_SYS_TYPES_H and reorder includes. Include limits.h,
67 locale.h, string.h and stdlib.h unconditionally. Remove various
68 fallback declarations. Assume long long is available.
69 * addr2line.c: Don't test HAVE_SETLOCALE.
71 * coffdump.c: Likewise.
72 * dlltool.c: Likewise.
73 * dllwrap.c: Likewise.
74 * elfedit.c: Likewise.
76 * objcopy.c: Likewise.
77 * objdump.c: Likewise.
78 * readelf.c: Likewise.
81 * strings.c: Likewise.
82 * sysdump.c: Likewise.
84 * windres.c: Likewise.
85 * bucomm.c: Don't test HAVE_TIME_T_IN_TIME_H or HAVE_TIME_T_IN_TYPES_H.
86 * dwarf.c: Include limits.h unconditionally. Assume long long
88 * nm.c: Don't test HAVE_STRCOLL.
89 * readelf.c: Don't test HAVE_WCHAR_H.
90 * strings.c: Assume long long is available.
91 * syslex.l: Include string.h unconditionally.
92 * aclocal.m4: Regenerate.
93 * config.in: Regenerate.
94 * configure: Regenerate.
95 * Makefile.in: Regenerate.
96 * doc/Makefile.in: Regenerate.
98 2021-04-01 Martin Liska <mliska@suse.cz>
100 * elfcomm.h (strneq): Remove strneq and use startswith.
101 * readelf.c (ia64_process_unwind): Likewise.
102 (process_note): Likewise.
104 2021-04-01 Martin Liska <mliska@suse.cz>
106 * dllwrap.c: Use startswith function.
107 * objcopy.c (is_dwo_section): Likewise.
108 (handle_remove_section_option): Likewise.
109 (copy_main): Likewise.
110 * objdump.c (is_significant_symbol_name): Likewise.
112 2021-04-01 Martin Liska <mliska@suse.cz>
114 * dwarf.c (display_debug_lines_raw): Replace const_strneq with
116 (display_debug_lines_decoded): Likewise.
117 (display_debug_links): Likewise.
118 * elfcomm.c (setup_archive): Likewise.
119 * elfcomm.h (const_strneq): Likewise.
120 * readelf.c (process_section_headers): Likewise.
121 (slurp_ia64_unwind_table): Likewise.
122 (slurp_hppa_unwind_table): Likewise.
123 (decode_arm_unwind): Likewise.
124 (display_debug_section): Likewise.
125 (process_note): Likewise.
127 2021-03-31 Alan Modra <amodra@gmail.com>
129 * sysdep.h (POISON_BFD_BOOLEAN): Define.
130 * addr2line.c, * ar.c, * arsup.c, * bfdtest2.c, * binemul.c,
131 * binemul.h, * bucomm.c, * bucomm.h, * budbg.h, * coffgrok.c,
132 * debug.c, * debug.h, * dlltool.c, * dwarf.c, * dwarf.h,
133 * elfedit.c, * emul_aix.c, * mclex.c, * nm.c, * objcopy.c,
134 * objdump.c, * od-macho.c, * prdbg.c, * rdcoff.c, * rddbg.c,
135 * readelf.c, * rename.c, * stabs.c, * strings.c, * windint.h,
136 * windmc.c, * windmc.h, * windres.c, * winduni.c,
137 * wrstabs.c: Replace bfd_boolean with bool, FALSE with false,
138 and TRUE with true throughout.
140 2021-03-31 Alan Modra <amodra@gmail.com>
142 * coffdump.c: Include stdint.h in place of bfd_stdint.h.
145 2021-03-31 Alan Modra <amodra@gmail.com>
147 * prdbg.c (pr_function_type): Replace LITSTTCPY with strcpy.
149 2021-03-29 Alan Modra <amodra@gmail.com>
151 * dlltool.c (main): Don't use "boolean_condition ? TRUE : FALSE".
152 * dwarf.c (read_and_display_attr_value): Likewise.
153 (display_debug_str_offsets): Likewise.
154 * objdump.c (dump_bfd): Likewise.
155 * readelf.c (dump_section_as_strings): Likewise.
156 (dump_section_as_bytes): Likewise.
158 2021-03-29 Alan Modra <amodra@gmail.com>
160 * objdump.c (process_links): Use type int.
161 * readelf.c (request_dump): Don't increment do_dump, set it.
162 * windint.h (target_is_bigendian): Use type bfd_boolean.
163 * windmc.c (target_is_bigendian): Likewise.
164 * windres.c (target_is_bigendian): Likewise.
166 2021-03-22 Martin Liska <mliska@suse.cz>
168 * dlltool.c (scan_drectve_symbols): Replace usage of CONST_STRNEQ
170 * emul_aix.c (ar_emul_aix_parse_arg): Likewise.
171 * objcopy.c (is_mergeable_note_section): Likewise.
172 * objdump.c (dump_dwarf_section): Likewise.
173 * prdbg.c (pr_method_type): Likewise.
174 (pr_class_baseclass): Likewise.
175 (tg_class_baseclass): Likewise.
176 * readelf.c (process_lto_symbol_tables): Likewise.
177 * stabs.c (ULLHIGH): Likewise.
178 (parse_stab_argtypes): Likewise.
179 (stab_demangle_function_name): Likewise.
181 2021-03-19 H.J. Lu <hongjiu.lu@intel.com>
183 * readelf.c (get_machine_name): Add EM_INTELGT.
185 2021-03-18 Nick Clifton <nickc@redhat.com>
188 * readelf.c (dump_section_as_strings): Mention separate filename.
189 (dump_section_as_bytes): Likewise.
190 (dump_section_as_ctf): Likewise.
191 (initialise_dumkps_byname): Only issue a warning for missing
192 sections if processing the main file.
193 (process_section_contents): Only issue a warning for unsumped
194 section numbers in the main file.
195 (initialise_dump_sects): New function. Contains code extracted
197 (process_object): ... here. Also call initialise_dump_sects for
200 2021-03-16 Nick Clifton <nickc@redhat.com>
203 * readelf.c (display_debug_section): Also retain .debug_addr
206 2021-03-16 Nick Clifton <nickc@redhat.com>
209 * readelf.c (process_section_contents): Only dump debug
210 information for separate files unless process_links is enabled.
211 (process_object): Always call process_section_contents for
214 2021-03-15 Nick Clifton <nickc@redhat.com>
217 * nm.c (FORMAT_JUST_SYMBOLS): Define.
218 (struct optput_fns): Add entry for FORMAT_JUST_SYMBOLS.
219 (long_options): Add just-symbols.
220 (set_output_format): Add support for just-symbols.
221 (get_print_format): Likewise.
222 (do_not_print_object_filename): New function.
223 (do_not_print_archive_filename): New function.
224 (do_not_print_archive_member): New function.
225 (do_not_print_symbol_filename): New function.
226 (just_print_symbol_name): New function.
227 (main): Handle --just-symbols.
228 * NEWS: Mention the new feature.
229 * doc/binutils.texi: Document the new feature.
231 2021-03-12 Clément Chigot <clement.chigot@atos.net>
233 * od-xcoff.c: Replace RTB by TRL entry.
235 2021-03-05 Craig Blackmore <craig.blackmore@embecosm.com>
236 Andrew Burgess <andrew.burgess@embecosm.com>
238 * readelf.c (get_note_type): Handle NT_RISCV_CSR.
240 2021-03-05 Craig Blackmore <craig.blackmore@embecosm.com>
241 Andrew Burgess <andrew.burgess@embecosm.com>
243 * readelf.c (get_note_type): Handle NT_GDB_TDESC.
245 2021-03-05 Nick Clifton <nickc@redhat.com>
248 * dwarf.c (display_debug_macro): Handle the displaying of
249 DW_MACRO_define_strp and DW_MACRO_undef_strp in v4
250 .debug_macro.dwo sections.
252 2021-03-04 Nick Clifton <nickc@redhat.com>
255 * objdump.c (process_links): New variable.
256 (usage): Add --process-links.
257 (long_options): Likewise.
258 (dump_bfd): Stop processing once the bfd has been loaded unless
259 this is the main file or process_links has been enabled.
260 (main): Handle the process-links option.
261 * readelf.c (process_links): New variable.
262 (struct filedata): Add is_separate field.
263 (options): Add --process-links.
265 (parse_args): Likewise.
266 (process_file_header): Include the filename when dumping
267 information for separate debuginfo files.
268 (process_program_headers): Likewise.
269 (process_section_headers): Likewise.
270 (process_section_groups): Likewise.
271 (process_relocs): Likewise.
272 (process_dynamic_section): Likewise.
273 (process_version_sections): Likewise.
274 (display_lto_symtab): Likewise.
275 (process_symbol_table): Likewise.
276 (process_syminfo): Likewise.
277 (initialise_dumps_by_name): Likewise.
278 (process_section_contents): Likewise.
279 (process_notes_at): Likewise.
280 (process_notes): Likewise.
281 (open_file): Add is_separate parameter. Use to initialise the
282 is_separate field in the filedata structure.
283 (open_deug): Update call to open_file.
284 (process_object): Add processing of the contents of separate
285 debuginfo files, gated by the process_links variable.
286 (process_archive): Update call to open_file.
287 (process_file): Initialise the is_separate field in the filedata
289 * dwarf.c (load_separate_debug_info_file): Only report the
290 loading of a separate file if debug links are being dumped.
291 * objcopy.c (keep_section_symbols): New variable.
292 (enum command_line_switch): Add OPTION_KEEP_SYMBOLS.
293 (strip_options): Add keep-section-symbols.
294 (copy_options): Likewise.
295 (copy_usage): Likewise.
296 (strip_usage): Likewise.
297 (copy_object): Keep section symbols if requested by command line
299 (strip_main): Handle --keep-section-symbols.
300 (copy_main): Likewise.
301 * doc/binutils.texi: Document the new options.
302 * NEWS: Mention the new features.
303 * testsuite/binutils-all/compress.exp (test_gnu_debuglink):
304 Update options passed to objdump. Use diff rather than cmp to
305 compare the dumped data.
306 * testsuite/binutils-all/objdump.WK2: Update regexp.
307 * testsuite/binutils-all/objdump.WK3: Update regexp.
308 * testsuite/binutils-all/objdump.exp: Use --process-links
309 instead of --dwarf=follow-links.
310 * testsuite/binutils-all/readelf.exp (readelf_test): Include
311 readelf's output in the log when the test fails.
312 Add the -P option to the -wKis test.
313 * testsuite/binutils-all/readelf.wKis: Update expected output.
315 2021-03-03 Alan Modra <amodra@gmail.com>
318 * objcopy.c (filter_symbols): Apply --weaken to undefined symbols.
319 * NEWS: Mention feature.
321 2021-03-01 H.J. Lu <hongjiu.lu@intel.com>
324 * dwarf.c (load_separate_debug_info): Issue warning only if
325 do_debug_links is set.
326 * testsuite/binutils-all/compress.exp: Run objdump and readelf
327 with missing debug file.
329 2021-03-01 Alan Modra <amodra@gmail.com>
332 * doc/binutils.texi: Add nm --with-symbol-versions and
333 --without-symbol-versions documentation.
334 * nm.c (with_symbol_versions): New variable.
335 (enum long_option_values): Delete OPTION_WITH_SYMBOL_VERSIONS.
336 (long_options): Make --with-symbol-versions entry twiddle the flag.
337 Add --without-symbol-versions.
338 (print_symname): Strip version when !with_symbol_versions. Add
339 dynamic version info under control of with_symbol_versions.
340 (main): Remove OPTION_WITH_SYMBOL_VERSIONS case.
342 2021-02-26 Fangrui Song <maskray@google.com>
345 * readelf.c (quiet): New option flag.
346 (enum long_option_values): New enum to hold long option value.
347 (long_options): Add --quiet.
348 (usage): Mention --quiet.
349 (display_rel_file): If quiet is enabled, suppress "no symbols".
350 (main): Handle the new option.
351 * NEWS: Mention --quiet.
352 * docs/binutils.texi: Document --quiet.
354 2021-02-26 Tom de Vries <tdevries@suse.de>
356 * dwarf.c (display_debug_addr): Handle dwarf-5 .debug_addr bits.
358 2021-02-26 Tom de Vries <tdevries@suse.de>
361 * dwarf.c: (skip_attr_bytes): Add support for DW_FORM_str* and
363 (read_and_display_attr_value): Likewise.
365 2021-02-25 Nick Clifton <nickc@redhat.com>
367 * dwarf.c (get_type_abbrev_from_form): Accept but ignore sup
369 (read_and_display_attr_value): Handle sup forms.
370 (display_debug_sup): New function. Displays the contents of a
372 (load_debug_sup_file): New function. Loads the contents of a file
373 referenced by a .debug_sup section.
374 (check_for_and_load_links): Call load_debug_sup_file.
375 (debug_displays): Add entry for .debug_sup.
376 * dwarf.h (enum dwarf_section_display_enum): Add debug_sup.
377 * readelf.c (process_section_headers): Add support for debug_sup.
378 * doc/debug.options.texi: Note that the =links option will display
379 the contents of .debug_sup sections.
380 * NEWS: Mention the new support.
382 2021-02-25 Alan Modra <amodra@gmail.com>
385 * rename.c (simple_copy): Mark target_stat ATTRIBUTE_UNUSED.
387 2021-02-24 Nick Clifton <nickc@redhat.com>
390 * od-elf32_avr.c (elf32_avr_get_memory_usage): Check for overflows
391 when adding together the section sizes.
393 2021-02-24 Nick Clifton <nickc@redhat.com>
395 * objcopy.c (merge_gnu_build_notes): Remove support for v1/v2 GNU
397 * readelf.c (print_gnu_build_attribute_description): Likewise.
399 2021-02-24 Alan Modra <amodra@gmail.com>
400 Siddhesh Poyarekar <siddhesh@gotplt.org>
403 * bucomm.h (smart_rename): Update prototype.
404 * rename.c (smart_rename): Add fromfd and preserve_dates params.
405 Pass fromfd and target_stat to simple_copy. Call set_times
407 (simple_copy): Accept fromfd rather than from filename. Add
408 target_stat param. Rewind fromfd rather than opening. Open
409 "to" file without O_CREAT. Try to preserve S_ISUID and S_ISGID.
410 * ar.c (write_archive): Rename ofd to tmpfd. Dup tmpfd before
411 closing output temp file, and pass tmpfd to smart_rename.
412 * arsup.c (temp_fd): Rename from real_fd.
413 (ar_save): Dup temp_fd and pass to smart_rename.
414 * objcopy.c (strip_main, copy_main): Likewise, and pass
417 2021-02-24 Alan Modra <amodra@gmail.com>
420 * rename.c: Tidy throughout.
421 (smart_rename): Always copy. Remove windows specific code.
423 2021-02-20 Alan Modra <amodra@gmail.com>
425 * testsuite/lib/binutils-common.exp: Whitespace fixes throughout.
426 (run_dump_test): Fail if expecting errors from a file like we do
427 for error strings, if no error is seen.
429 2021-02-19 Alan Modra <amodra@gmail.com>
431 * testsuite/binutils-all/readelf.exp (pr26548): Run for 32-bit too.
433 2021-02-19 Siddhesh Poyarekar <siddhesh@gotplt.org>
435 * ar.c (write_archive): Remove TARGET_STAT. Adjust call to
437 * arsup.c (ar_save): Likewise.
438 * objcopy (strip_main): Don't copy TMPFD. Don't set times on
439 temporary file and adjust call to SMART_RENAME.
440 (copy_main): Likewise.
441 * rename.c [!S_ISLNK]: Remove definitions.
442 (try_preserve_permissions): Remove function.
443 (smart_rename): Remove FD, PRESERVE_DATES arguments. Use
444 rename system call only if TO does not exist.
445 * bucomm.h (smart_rename): Adjust declaration.
447 2021-02-18 Nick Clifton <nickc@redhat.com>
449 * objcopy.c (merge_gnu_build_notes): Handle notes with a start
450 address that is higher than the end address.
452 2021-02-17 Alan Modra <amodra@gmail.com>
454 * dwarf.c: Include limits.h.
455 (CHAR_BIT): Provide backup define.
456 (read_leb128): Use CHAR_BIT to size "result" in bits. Correct
457 signed overflow checking.
458 * testsuite/binutils-all/pr26548.s,
459 * testsuite/binutils-all/pr26548.d,
460 * testsuite/binutils-all/pr26548e.d: New tests.
461 * testsuite/binutils-all/readelf.exp: Run them.
462 (readelf_test): Drop unused "xfails" parameter. Update all uses.
464 2021-02-16 Jan Beulich <jbeulich@suse.com>
466 * dwarf.c (process_debug_info): Initialize "dwo_id".
468 2021-02-15 Alan Modra <amodra@gmail.com>
470 * objdump.c (load_specific_debug_section): Don't call
471 bfd_cache_section_contents. Rearrange so that
472 bfd_get_full_section_contents is not called on path where
473 bfd_simple_get_relocated_section_contents is called.
474 Don't set section->user_data.
475 (free_debug_section): Always free section->start. Don't twiddle
477 * readelf.c (load_specific_debug_section): Don't set user_data.
478 * dwarf.h (struct dwarf_section): Remove use_data field.
479 * dwarf.c (NO_ABBREVS, ABBREV): Adjust to suit.
481 2021-02-15 Alan Modra <amodra@gmail.com>
483 * testsuite/binutils-all/compress.exp: Remove nds32 xfails.
484 * testsuite/binutils-all/objdump.exp: Likewise.
486 2021-02-14 Alan Modra <amodra@gmail.com>
488 * objdump.c (slurp_symtab): Don't add an extra entry for NULL
490 (slurp_dynamic_symtab): Likewise.
491 (dump_bfd): Formatting. Copy terminating NULL from extra_syms.
493 2021-02-14 Alan Modra <amodra@gmail.com>
495 * Makefile.in: Regenerate.
496 * doc/Makefile.in: Regenerate.
498 2021-02-13 Mike Frysinger <vapier@gentoo.org>
500 * aclocal.m4: Regenerate.
502 2021-02-12 Nick Clifton <nickc@redhat.com>
504 * configure.ac (follow-debug-links): Add option to enable or
505 disable the following of debug links by default. Set the
506 default for the option to be 'follow'.
507 * dwarf.c (do_follow_links): Initialise with DEFAULT_FOR_FOLLOW_LINKS.
508 (dwarf_select_sections_by_names): Add no-follow-links option.
509 (dwarf_select_sections_by_letter): Add 'N' option.
510 * objdump.c (usage): Add conditional text describing the
512 (slurp_symtab): Ensure that there is a NULL entry at the end
514 (slurp_dynamic_symtab): Likewise.
515 (dump_bfd): When extending the symbol table, ensure that there
516 is still a NULL entry at the end.
517 * readelf.c (usage): Add conditional text describing the
519 * doc/binutils.texi: Update documentation for objcopy and
521 * doc/debug.options.texi: Update documentation of the
523 * config.in: Regenerate.
524 * configure: Regenerate.
525 * testsuite/binutils-all/compress.exp: Add the -WN option to
526 objdump command lines that are not expecting to follow links.
527 * testsuite/binutils-all/readelf.exp: Add the
528 --debug-dump=no-follow-links option to tests that are not
529 expecting to follow debug links.
530 * NEWS: Mention the new behaviour.
532 2021-02-12 Alan Modra <amodra@gmail.com>
534 * testsuite/binutils-all/objcopy.exp: Report "unsupported" when
535 gas or ld fails to build a testcase rather than "unresolved".
536 Report "fail" when readelf returns an error status rather than
538 * testsuite/binutils-all/ar.exp: Likewise.
539 * testsuite/binutils-all/compress.exp: Likewise.
540 * testsuite/binutils-all/readelf.exp: Likewise.
542 2021-02-12 Alan Modra <amodra@gmail.com>
544 * testsuite/binutils-all/pr25662.s: Replace "a" with "aaa" and
545 "c" with "ccc" labels.
547 2021-02-12 Tom de Vries <tdevries@suse.de>
549 * dwarf.h (debug_info): Fix typo in comment.
551 2021-02-12 Tom de Vries <tdevries@suse.de>
553 * dwarf.c (display_debug_str_offsets): Handle multiple sets of
556 2021-02-12 Tom de Vries <tdevries@suse.de>
558 * dwarf.c (process_debug_info): Print DWO ID.
560 2021-02-11 Alan Modra <amodra@gmail.com>
565 * od-elf32_avr.c (elf32_avr_get_note_section_contents): Formatting.
566 Use bfd_malloc_and_get_section.
567 (elf32_avr_get_note_desc): Formatting. Return descsz. Sanity
568 check namesz. Return NULL if descsz is too small. Ensure
569 string table is terminated.
570 (elf32_avr_get_device_info): Formatting. Add note_size param.
572 (elf32_avr_dump_mem_usage): Adjust to suit.
574 2021-02-10 Tom de Vries <tdevries@suse.de>
577 * dwarf.c (load_dwo_file): Handle case that name is absolute path.
579 2021-02-10 Tom de Vries <tdevries@suse.de>
582 * dwarf.c (display_debug_ranges): Filter range lists according to
585 2021-02-09 Tom de Vries <tdevries@suse.de>
588 * dwarf.c (get_type_abbrev_from_form): Handle DW_FORM_ref_sig8.
590 2021-02-09 Tom de Vries <tdevries@suse.de>
593 * dwarf.c (process_debug_info): Handling DW_UT_skeleton and
596 2021-02-09 Alan Modra <amodra@gmail.com>
598 * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Remove
601 2021-02-07 Alan Modra <amodra@gmail.com>
603 * unwind-ia64.c (unw_print_xyreg): Don't leave output buffer
604 uninitialised on invalid input.
606 2021-02-06 Alan Modra <amodra@gmail.com>
609 * rename.c (smart_rename): Test for existence and type of output
612 2021-02-05 Nick Clifton <nickc@redhat.com>
614 * MAINTAINERS: Remove Richard Henderson as the ALPHA maintainer.
616 2021-02-05 Eli Zaretskii <eliz@gnu.org>
619 * elfedit.c (check_file):
620 * bucomm.c (get_file_size): Fix typos in comments.
622 2021-02-05 Alan Modra <amodra@gmail.com>
625 * arsup.c (ar_save): Use stat rather than lstat.
627 2021-02-03 Alan Modra <amodra@gmail.com>
632 * ar.c: Don't include libbfd.h.
633 (write_archive): Replace xmalloc+strcpy with xstrdup. Use
634 bfd_stat rather than fstat on iostream. Move stat and fd tests
635 outside of _WIN32 ifdef. Delete skip_stat variable.
636 * arsup.c (temp_name, real_ofd): New static variables.
637 (ar_open): Use make_tempname and bfd_fdopenw.
638 (ar_save): Adjust to suit ar_open changes. Move stat output
640 * objcopy.c: Don't include libbfd.h.
641 (copy_file): Use bfd_stat.
643 2021-02-02 H.J. Lu <hongjiu.lu@intel.com>
646 * readelf.c (process_section_headers): Add 'R' and 'D' to
648 * testsuite/binutils-all/retain1a.d: Updated.
650 2021-01-30 Nick Clifton <nickc@redhat.com>
652 * README-how-to-make-a-release: Small updates after the 2.35.2
655 2021-01-28 Eli Zaretskii <eliz@gnu.org>
658 * windres.c (quot): Use double quotes to protect strings on
661 2021-01-28 Eli Zaretskii <eliz@gnu.org>
664 * bucomm.c (get_file_size): Add code to handle /dev/null on
666 * elfedit.c (check_file): Likewise.
668 2021-01-27 Nick Clifton <nickc@redhat.com>
670 * objcopy.c (copy_main): Remove conditional control of the calls
671 to free, simplifying the code and making it easier to detect
674 2021-01-26 Frederic Cambus <fred@statdns.com>
676 * objcopy.c (copy_main): Fix a double free happening when both
677 --localize-symbols and --globalize-symbols options are invoked
680 2021-01-24 Nick Clifton <nickc@redhat.com>
682 * README-how-to-make-a-release: Minor updates after the 2.36 release.
684 2021-01-16 Alan Modra <amodra@gmail.com>
686 * readelf.c (uncompress_section_contents): Tidy inflateEnd result test.
688 2021-01-15 Alan Modra <amodra@gmail.com>
691 * readelf.c (uncompress_section_contents): Always call inflateEnd.
693 2021-01-14 Alexandre Oliva <oliva@gnu.org>
695 * MAINTAINERS: Update my email address.
697 2021-01-14 Nick Clifton <nickc@redhat.com>
699 * po/sv.po: Updated Swedish translation.
701 2021-01-13 Alan Modra <amodra@gmail.com>
703 * Makefile.in: Regenerate.
704 * doc/Makefile.in: Regenerate.
706 2021-01-13 Zebediah Figura <z.figura12@gmail.com>
709 * dlltool.c (i386_trampoline): Adjust %rsp immediately on entry
711 (i386_x64_trampoline): Add SEH annotations.
712 (struct mac): Add how_seh field.
713 (make_delay_head): If how_set field is true add SEh instructions.
715 2021-01-12 H.J. Lu <hongjiu.lu@intel.com>
718 * configure.ac: Use GNU_MAKE_JOBSERVER.
719 * aclocal.m4: Regenerated.
720 * configure: Likewise.
722 2021-01-12 Nick Clifton <nickc@redhat.com>
724 * po/fr.po: Updated French translation.
726 2021-01-11 H.J. Lu <hongjiu.lu@intel.com>
729 * configure: Regenerated.
731 2021-01-11 Nick Clifton <nickc@redhat.com>
733 * po/pt.po: Updated Portuguese translation.
734 * po/sr.po: Updated Serbian translation.
735 * po/uk.po: Updated Ukranian translation.
737 2021-01-09 H.J. Lu <hongjiu.lu@intel.com>
739 * configure: Regenerated.
741 2021-01-09 Nick Clifton <nickc@redhat.com>
743 * configure: Regenerate.
744 * po/binutils.pot: Regenerate.
746 2021-01-09 Nick Clifton <nickc@redhat.com>
748 * 2.36 release branch crated.
749 * README-how-to-make-a-release: Add note about updating Makefiles
751 * BRANCHES: Add binutils-2.36-branch.
753 2021-01-09 Alan Modra <amodra@gmail.com>
755 * configure: Regenerate.
757 2021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
759 * configure: Regenerate.
761 2021-01-07 H.J. Lu <hongjiu.lu@intel.com>
764 * objcopy.c (copy_object): Handle section symbols for
765 non-relocatable inputs.
766 * testsuite/binutils-all/readelf.exp (readelf_test): Check
767 is_elf_unused_section_symbols.
768 * testsuite/binutils-all/readelf.s-64: Updated.
769 * testsuite/binutils-all/readelf.ss: Likewise.
770 * testsuite/binutils-all/readelf.ss-64: Likewise.
771 * testsuite/binutils-all/readelf.s-64-unused: New file.
772 * testsuite/binutils-all/readelf.ss-64-unused: Likewise.
773 * testsuite/binutils-all/readelf.ss-unused: Likewise.
774 * testsuite/lib/binutils-common.exp
775 (is_elf_unused_section_symbols): New proc.
777 2021-01-06 Reuben Thomas <rrt@sc3d.org>
779 * binutils/readelf.c: Correct grammar in comment.
781 2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
783 * coffgrok.c (do_type): Correct spelling of auxiliary in errors.
784 * doc/binutils.texi: Correct grammar.
785 * readelf.c (process_version_sections): Correct spelling of auxiliary
787 * testsuite/binutils-all/vax/objdump.exp: Comment grammar fix.
789 2021-01-01 Alan Modra <amodra@gmail.com>
791 Update year range in copyright notice of all files.
793 For older changes see ChangeLog-2020
795 Copyright (C) 2021 Free Software Foundation, Inc.
797 Copying and distribution of this file, with or without modification,
798 are permitted in any medium without royalty provided the copyright
799 notice and this notice are preserved.
805 version-control: never