PR27716, build failure for msdosdjgpp: PATH_MAX undeclared
[binutils-gdb.git] / binutils / ChangeLog
1 2021-04-14 Alan Modra <amodra@gmail.com>
2
3 PR 27716
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
9 file.
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.
18
19 2021-04-13 Frederic Cambus <fred@statdns.com>
20
21 * readelf.c (process_netbsd_elf_note): Remove now unneeded #ifdef
22 check for NT_NETBSD_PAX.
23
24 2021-04-12 Alan Modra <amodra@gmail.com>
25
26 * configure.ac (--enable-checking): Add support.
27 * config.in: Regenerate.
28 * configure: Regenerate.
29
30 2021-04-09 Alan Modra <amodra@gmail.com>
31
32 * objdump.c (struct objdump_disasm_info): Delete dynrelbuf and
33 dynrelcount.
34 (find_symbol_for_address): Adjust for dynrelbuf and dynrelcount move.
35 (disassemble_section, disassemble_data): Likewise.
36
37 2021-04-06 Alan Modra <amodra@gmail.com>
38
39 * objdump.c (objdump_symbol_at_address): Return asymbol*.
40
41 2021-04-06 Alan Modra <amodra@gmail.com>
42
43 * NEWS: Mention C99 requirement.
44 * README: Likewise. Modernise examples and "Reporting bugs".
45
46 2021-04-05 Alan Modra <amodra@gmail.com>
47
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.
59 * ar.c: Likewise.
60 * coffdump.c: Likewise.
61 * dlltool.c: Likewise.
62 * dllwrap.c: Likewise.
63 * elfedit.c: Likewise.
64 * nm.c: Likewise.
65 * objcopy.c: Likewise.
66 * objdump.c: Likewise.
67 * readelf.c: Likewise.
68 * size.c: Likewise.
69 * srconv.c: Likewise.
70 * strings.c: Likewise.
71 * sysdump.c: Likewise.
72 * windmc.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
76 is available.
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.
86
87 2021-04-01 Martin Liska <mliska@suse.cz>
88
89 * elfcomm.h (strneq): Remove strneq and use startswith.
90 * readelf.c (ia64_process_unwind): Likewise.
91 (process_note): Likewise.
92
93 2021-04-01 Martin Liska <mliska@suse.cz>
94
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.
100
101 2021-04-01 Martin Liska <mliska@suse.cz>
102
103 * dwarf.c (display_debug_lines_raw): Replace const_strneq with
104 startswith.
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.
115
116 2021-03-31 Alan Modra <amodra@gmail.com>
117
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.
128
129 2021-03-31 Alan Modra <amodra@gmail.com>
130
131 * coffdump.c: Include stdint.h in place of bfd_stdint.h.
132 * dwarf.c: Likewise.
133
134 2021-03-31 Alan Modra <amodra@gmail.com>
135
136 * prdbg.c (pr_function_type): Replace LITSTTCPY with strcpy.
137
138 2021-03-29 Alan Modra <amodra@gmail.com>
139
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.
146
147 2021-03-29 Alan Modra <amodra@gmail.com>
148
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.
154
155 2021-03-22 Martin Liska <mliska@suse.cz>
156
157 * dlltool.c (scan_drectve_symbols): Replace usage of CONST_STRNEQ
158 with startswith.
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.
169
170 2021-03-19 H.J. Lu <hongjiu.lu@intel.com>
171
172 * readelf.c (get_machine_name): Add EM_INTELGT.
173
174 2021-03-18 Nick Clifton <nickc@redhat.com>
175
176 PR 27478
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
185 from ...
186 (process_object): ... here. Also call initialise_dump_sects for
187 separate files.
188
189 2021-03-16 Nick Clifton <nickc@redhat.com>
190
191 PR 27534
192 * readelf.c (display_debug_section): Also retain .debug_addr
193 sections.
194
195 2021-03-16 Nick Clifton <nickc@redhat.com>
196
197 PR 27533
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
201 separate info files.
202
203 2021-03-15 Nick Clifton <nickc@redhat.com>
204
205 PR 27487
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.
219
220 2021-03-12 Clément Chigot <clement.chigot@atos.net>
221
222 * od-xcoff.c: Replace RTB by TRL entry.
223
224 2021-03-05 Craig Blackmore <craig.blackmore@embecosm.com>
225 Andrew Burgess <andrew.burgess@embecosm.com>
226
227 * readelf.c (get_note_type): Handle NT_RISCV_CSR.
228
229 2021-03-05 Craig Blackmore <craig.blackmore@embecosm.com>
230 Andrew Burgess <andrew.burgess@embecosm.com>
231
232 * readelf.c (get_note_type): Handle NT_GDB_TDESC.
233
234 2021-03-05 Nick Clifton <nickc@redhat.com>
235
236 PR 27387
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.
240
241 2021-03-04 Nick Clifton <nickc@redhat.com>
242
243 PR 27478
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.
253 (usage): Likewise.
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
277 structure.
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
287 option.
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.
303
304 2021-03-03 Alan Modra <amodra@gmail.com>
305
306 PR 27493
307 * objcopy.c (filter_symbols): Apply --weaken to undefined symbols.
308 * NEWS: Mention feature.
309
310 2021-03-01 H.J. Lu <hongjiu.lu@intel.com>
311
312 PR binutils/27486
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.
317
318 2021-03-01 Alan Modra <amodra@gmail.com>
319
320 PR 27128
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.
330
331 2021-02-26 Fangrui Song <maskray@google.com>
332
333 PR 27408
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.
342
343 2021-02-26 Tom de Vries <tdevries@suse.de>
344
345 * dwarf.c (display_debug_addr): Handle dwarf-5 .debug_addr bits.
346
347 2021-02-26 Tom de Vries <tdevries@suse.de>
348
349 PR 27390
350 * dwarf.c: (skip_attr_bytes): Add support for DW_FORM_str* and
351 DW_FORM_addrx*.
352 (read_and_display_attr_value): Likewise.
353
354 2021-02-25 Nick Clifton <nickc@redhat.com>
355
356 * dwarf.c (get_type_abbrev_from_form): Accept but ignore sup
357 forms.
358 (read_and_display_attr_value): Handle sup forms.
359 (display_debug_sup): New function. Displays the contents of a
360 .debug_sup section.
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.
370
371 2021-02-25 Alan Modra <amodra@gmail.com>
372
373 PR 27456
374 * rename.c (simple_copy): Mark target_stat ATTRIBUTE_UNUSED.
375
376 2021-02-24 Nick Clifton <nickc@redhat.com>
377
378 PR 27285
379 * od-elf32_avr.c (elf32_avr_get_memory_usage): Check for overflows
380 when adding together the section sizes.
381
382 2021-02-24 Nick Clifton <nickc@redhat.com>
383
384 * objcopy.c (merge_gnu_build_notes): Remove support for v1/v2 GNU
385 build notes.
386 * readelf.c (print_gnu_build_attribute_description): Likewise.
387
388 2021-02-24 Alan Modra <amodra@gmail.com>
389 Siddhesh Poyarekar <siddhesh@gotplt.org>
390
391 PR 27456
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
395 when preserve_dates.
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
404 preserve_dates.
405
406 2021-02-24 Alan Modra <amodra@gmail.com>
407
408 PR 27456
409 * rename.c: Tidy throughout.
410 (smart_rename): Always copy. Remove windows specific code.
411
412 2021-02-20 Alan Modra <amodra@gmail.com>
413
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.
417
418 2021-02-19 Alan Modra <amodra@gmail.com>
419
420 * testsuite/binutils-all/readelf.exp (pr26548): Run for 32-bit too.
421
422 2021-02-19 Siddhesh Poyarekar <siddhesh@gotplt.org>
423
424 * ar.c (write_archive): Remove TARGET_STAT. Adjust call to
425 SMART_RENAME.
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.
435
436 2021-02-18 Nick Clifton <nickc@redhat.com>
437
438 * objcopy.c (merge_gnu_build_notes): Handle notes with a start
439 address that is higher than the end address.
440
441 2021-02-17 Alan Modra <amodra@gmail.com>
442
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.
452
453 2021-02-16 Jan Beulich <jbeulich@suse.com>
454
455 * dwarf.c (process_debug_info): Initialize "dwo_id".
456
457 2021-02-15 Alan Modra <amodra@gmail.com>
458
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
465 section flags.
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.
469
470 2021-02-15 Alan Modra <amodra@gmail.com>
471
472 * testsuite/binutils-all/compress.exp: Remove nds32 xfails.
473 * testsuite/binutils-all/objdump.exp: Likewise.
474
475 2021-02-14 Alan Modra <amodra@gmail.com>
476
477 * objdump.c (slurp_symtab): Don't add an extra entry for NULL
478 to the symbol array.
479 (slurp_dynamic_symtab): Likewise.
480 (dump_bfd): Formatting. Copy terminating NULL from extra_syms.
481
482 2021-02-14 Alan Modra <amodra@gmail.com>
483
484 * Makefile.in: Regenerate.
485 * doc/Makefile.in: Regenerate.
486
487 2021-02-13 Mike Frysinger <vapier@gentoo.org>
488
489 * aclocal.m4: Regenerate.
490
491 2021-02-12 Nick Clifton <nickc@redhat.com>
492
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
500 follow links option.
501 (slurp_symtab): Ensure that there is a NULL entry at the end
502 of the symbol table.
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
507 follow links option.
508 * doc/binutils.texi: Update documentation for objcopy and
509 readelf.
510 * doc/debug.options.texi: Update documentation of the
511 follow-links option.
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.
520
521 2021-02-12 Alan Modra <amodra@gmail.com>
522
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
526 "unresolved".
527 * testsuite/binutils-all/ar.exp: Likewise.
528 * testsuite/binutils-all/compress.exp: Likewise.
529 * testsuite/binutils-all/readelf.exp: Likewise.
530
531 2021-02-12 Alan Modra <amodra@gmail.com>
532
533 * testsuite/binutils-all/pr25662.s: Replace "a" with "aaa" and
534 "c" with "ccc" labels.
535
536 2021-02-12 Tom de Vries <tdevries@suse.de>
537
538 * dwarf.h (debug_info): Fix typo in comment.
539
540 2021-02-12 Tom de Vries <tdevries@suse.de>
541
542 * dwarf.c (display_debug_str_offsets): Handle multiple sets of
543 entries.
544
545 2021-02-12 Tom de Vries <tdevries@suse.de>
546
547 * dwarf.c (process_debug_info): Print DWO ID.
548
549 2021-02-11 Alan Modra <amodra@gmail.com>
550
551 PR 27290
552 PR 27293
553 PR 27295
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.
560 Sanity check note.
561 (elf32_avr_dump_mem_usage): Adjust to suit.
562
563 2021-02-10 Tom de Vries <tdevries@suse.de>
564
565 PR binutils/27391
566 * dwarf.c (load_dwo_file): Handle case that name is absolute path.
567
568 2021-02-10 Tom de Vries <tdevries@suse.de>
569
570 PR binutils/27371
571 * dwarf.c (display_debug_ranges): Filter range lists according to
572 section.
573
574 2021-02-09 Tom de Vries <tdevries@suse.de>
575
576 PR binutils/27370
577 * dwarf.c (get_type_abbrev_from_form): Handle DW_FORM_ref_sig8.
578
579 2021-02-09 Tom de Vries <tdevries@suse.de>
580
581 PR binutils/27386
582 * dwarf.c (process_debug_info): Handling DW_UT_skeleton and
583 DW_UT_split_compile.
584
585 2021-02-09 Alan Modra <amodra@gmail.com>
586
587 * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Remove
588 symbianelf.
589
590 2021-02-07 Alan Modra <amodra@gmail.com>
591
592 * unwind-ia64.c (unw_print_xyreg): Don't leave output buffer
593 uninitialised on invalid input.
594
595 2021-02-06 Alan Modra <amodra@gmail.com>
596
597 PR 27349
598 * rename.c (smart_rename): Test for existence and type of output
599 file with lstat.
600
601 2021-02-05 Nick Clifton <nickc@redhat.com>
602
603 * MAINTAINERS: Remove Richard Henderson as the ALPHA maintainer.
604
605 2021-02-05 Eli Zaretskii <eliz@gnu.org>
606
607 PR 27252
608 * elfedit.c (check_file):
609 * bucomm.c (get_file_size): Fix typos in comments.
610
611 2021-02-05 Alan Modra <amodra@gmail.com>
612
613 PR 27345
614 * arsup.c (ar_save): Use stat rather than lstat.
615
616 2021-02-03 Alan Modra <amodra@gmail.com>
617
618 PR 27270
619 PR 27284
620 PR 26945
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
628 of _WIN32 ifdef.
629 * objcopy.c: Don't include libbfd.h.
630 (copy_file): Use bfd_stat.
631
632 2021-02-02 H.J. Lu <hongjiu.lu@intel.com>
633
634 PR binutils/27281
635 * readelf.c (process_section_headers): Add 'R' and 'D' to
636 "Key to Flags:".
637 * testsuite/binutils-all/retain1a.d: Updated.
638
639 2021-01-30 Nick Clifton <nickc@redhat.com>
640
641 * README-how-to-make-a-release: Small updates after the 2.35.2
642 release.
643
644 2021-01-28 Eli Zaretskii <eliz@gnu.org>
645
646 PR 4356
647 * windres.c (quot): Use double quotes to protect strings on
648 Windows platforms.
649
650 2021-01-28 Eli Zaretskii <eliz@gnu.org>
651
652 PR 27252
653 * bucomm.c (get_file_size): Add code to handle /dev/null on
654 Windows systems.
655 * elfedit.c (check_file): Likewise.
656
657 2021-01-27 Nick Clifton <nickc@redhat.com>
658
659 * objcopy.c (copy_main): Remove conditional control of the calls
660 to free, simplifying the code and making it easier to detect
661 typos.
662
663 2021-01-26 Frederic Cambus <fred@statdns.com>
664
665 * objcopy.c (copy_main): Fix a double free happening when both
666 --localize-symbols and --globalize-symbols options are invoked
667 together.
668
669 2021-01-24 Nick Clifton <nickc@redhat.com>
670
671 * README-how-to-make-a-release: Minor updates after the 2.36 release.
672
673 2021-01-16 Alan Modra <amodra@gmail.com>
674
675 * readelf.c (uncompress_section_contents): Tidy inflateEnd result test.
676
677 2021-01-15 Alan Modra <amodra@gmail.com>
678
679 PR 26539
680 * readelf.c (uncompress_section_contents): Always call inflateEnd.
681
682 2021-01-14 Alexandre Oliva <oliva@gnu.org>
683
684 * MAINTAINERS: Update my email address.
685
686 2021-01-14 Nick Clifton <nickc@redhat.com>
687
688 * po/sv.po: Updated Swedish translation.
689
690 2021-01-13 Alan Modra <amodra@gmail.com>
691
692 * Makefile.in: Regenerate.
693 * doc/Makefile.in: Regenerate.
694
695 2021-01-13 Zebediah Figura <z.figura12@gmail.com>
696
697 PR 27037
698 * dlltool.c (i386_trampoline): Adjust %rsp immediately on entry
699 and before exit.
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.
703
704 2021-01-12 H.J. Lu <hongjiu.lu@intel.com>
705
706 PR binutils/26792
707 * configure.ac: Use GNU_MAKE_JOBSERVER.
708 * aclocal.m4: Regenerated.
709 * configure: Likewise.
710
711 2021-01-12 Nick Clifton <nickc@redhat.com>
712
713 * po/fr.po: Updated French translation.
714
715 2021-01-11 H.J. Lu <hongjiu.lu@intel.com>
716
717 PR ld/27173
718 * configure: Regenerated.
719
720 2021-01-11 Nick Clifton <nickc@redhat.com>
721
722 * po/pt.po: Updated Portuguese translation.
723 * po/sr.po: Updated Serbian translation.
724 * po/uk.po: Updated Ukranian translation.
725
726 2021-01-09 H.J. Lu <hongjiu.lu@intel.com>
727
728 * configure: Regenerated.
729
730 2021-01-09 Nick Clifton <nickc@redhat.com>
731
732 * configure: Regenerate.
733 * po/binutils.pot: Regenerate.
734
735 2021-01-09 Nick Clifton <nickc@redhat.com>
736
737 * 2.36 release branch crated.
738 * README-how-to-make-a-release: Add note about updating Makefiles
739 and libtool files.
740 * BRANCHES: Add binutils-2.36-branch.
741
742 2021-01-09 Alan Modra <amodra@gmail.com>
743
744 * configure: Regenerate.
745
746 2021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
747
748 * configure: Regenerate.
749
750 2021-01-07 H.J. Lu <hongjiu.lu@intel.com>
751
752 PR 27109
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.
765
766 2021-01-06 Reuben Thomas <rrt@sc3d.org>
767
768 * binutils/readelf.c: Correct grammar in comment.
769
770 2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
771
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
775 in warning.
776 * testsuite/binutils-all/vax/objdump.exp: Comment grammar fix.
777
778 2021-01-01 Alan Modra <amodra@gmail.com>
779
780 Update year range in copyright notice of all files.
781
782 For older changes see ChangeLog-2020
783 \f
784 Copyright (C) 2021 Free Software Foundation, Inc.
785
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.
789
790 Local Variables:
791 mode: change-log
792 left-margin: 8
793 fill-column: 74
794 version-control: never
795 End: