]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/ChangeLog
gdbserver: constify the 'pid_to_exec_file' target op
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
c3f72de4
AM
12021-04-09 Alan Modra <amodra@gmail.com>
2
3 * objdump.c (struct objdump_disasm_info): Delete dynrelbuf and
4 dynrelcount.
5 (find_symbol_for_address): Adjust for dynrelbuf and dynrelcount move.
6 (disassemble_section, disassemble_data): Likewise.
7
a2e66773
AM
82021-04-06 Alan Modra <amodra@gmail.com>
9
10 * objdump.c (objdump_symbol_at_address): Return asymbol*.
11
4db29512
AM
122021-04-06 Alan Modra <amodra@gmail.com>
13
14 * NEWS: Mention C99 requirement.
15 * README: Likewise. Modernise examples and "Reporting bugs".
16
87b9f255
AM
172021-04-05 Alan Modra <amodra@gmail.com>
18
19 * configure.ac: Assume long long is available. Don't test for
20 strings.h, stdlib.h, limits.h, locale.h, or wchar.h. Check
21 inttypes.h, stdint.h, sys/stat.h and sys/types.h. Don't check for
22 strcoll, setlocale, setmode or location of time_t. Don't check
23 for fprintf, getenv, snprintf, strnlen, strstr or vsnprintf decls.
24 (AC_ISC_POSIX, AXC_HEADER_STRING, AC_FUNC_ALLOCA): Don't invoke.
25 * sysdep.h: Don't include alloca-conf.h, include config.h instead.
26 Test HAVE_SYS_TYPES_H and reorder includes. Include limits.h,
27 locale.h, string.h and stdlib.h unconditionally. Remove various
28 fallback declarations. Assume long long is available.
29 * addr2line.c: Don't test HAVE_SETLOCALE.
30 * ar.c: Likewise.
31 * coffdump.c: Likewise.
32 * dlltool.c: Likewise.
33 * dllwrap.c: Likewise.
34 * elfedit.c: Likewise.
35 * nm.c: Likewise.
36 * objcopy.c: Likewise.
37 * objdump.c: Likewise.
38 * readelf.c: Likewise.
39 * size.c: Likewise.
40 * srconv.c: Likewise.
41 * strings.c: Likewise.
42 * sysdump.c: Likewise.
43 * windmc.c: Likewise.
44 * windres.c: Likewise.
45 * bucomm.c: Don't test HAVE_TIME_T_IN_TIME_H or HAVE_TIME_T_IN_TYPES_H.
46 * dwarf.c: Include limits.h unconditionally. Assume long long
47 is available.
48 * nm.c: Don't test HAVE_STRCOLL.
49 * readelf.c: Don't test HAVE_WCHAR_H.
50 * strings.c: Assume long long is available.
51 * syslex.l: Include string.h unconditionally.
52 * aclocal.m4: Regenerate.
53 * config.in: Regenerate.
54 * configure: Regenerate.
55 * Makefile.in: Regenerate.
56 * doc/Makefile.in: Regenerate.
57
e9b095a5
ML
582021-04-01 Martin Liska <mliska@suse.cz>
59
60 * elfcomm.h (strneq): Remove strneq and use startswith.
61 * readelf.c (ia64_process_unwind): Likewise.
62 (process_note): Likewise.
63
3f3328b8
ML
642021-04-01 Martin Liska <mliska@suse.cz>
65
66 * dllwrap.c: Use startswith function.
67 * objcopy.c (is_dwo_section): Likewise.
68 (handle_remove_section_option): Likewise.
69 (copy_main): Likewise.
70 * objdump.c (is_significant_symbol_name): Likewise.
71
24d127aa
ML
722021-04-01 Martin Liska <mliska@suse.cz>
73
74 * dwarf.c (display_debug_lines_raw): Replace const_strneq with
75 startswith.
76 (display_debug_lines_decoded): Likewise.
77 (display_debug_links): Likewise.
78 * elfcomm.c (setup_archive): Likewise.
79 * elfcomm.h (const_strneq): Likewise.
80 * readelf.c (process_section_headers): Likewise.
81 (slurp_ia64_unwind_table): Likewise.
82 (slurp_hppa_unwind_table): Likewise.
83 (decode_arm_unwind): Likewise.
84 (display_debug_section): Likewise.
85 (process_note): Likewise.
86
015dc7e1
AM
872021-03-31 Alan Modra <amodra@gmail.com>
88
89 * sysdep.h (POISON_BFD_BOOLEAN): Define.
90 * addr2line.c, * ar.c, * arsup.c, * bfdtest2.c, * binemul.c,
91 * binemul.h, * bucomm.c, * bucomm.h, * budbg.h, * coffgrok.c,
92 * debug.c, * debug.h, * dlltool.c, * dwarf.c, * dwarf.h,
93 * elfedit.c, * emul_aix.c, * mclex.c, * nm.c, * objcopy.c,
94 * objdump.c, * od-macho.c, * prdbg.c, * rdcoff.c, * rddbg.c,
95 * readelf.c, * rename.c, * stabs.c, * strings.c, * windint.h,
96 * windmc.c, * windmc.h, * windres.c, * winduni.c,
97 * wrstabs.c: Replace bfd_boolean with bool, FALSE with false,
98 and TRUE with true throughout.
99
3dfb1b6d
AM
1002021-03-31 Alan Modra <amodra@gmail.com>
101
102 * coffdump.c: Include stdint.h in place of bfd_stdint.h.
103 * dwarf.c: Likewise.
104
57ae980e
AM
1052021-03-31 Alan Modra <amodra@gmail.com>
106
107 * prdbg.c (pr_function_type): Replace LITSTTCPY with strcpy.
108
63b4cc53
AM
1092021-03-29 Alan Modra <amodra@gmail.com>
110
111 * dlltool.c (main): Don't use "boolean_condition ? TRUE : FALSE".
112 * dwarf.c (read_and_display_attr_value): Likewise.
113 (display_debug_str_offsets): Likewise.
114 * objdump.c (dump_bfd): Likewise.
115 * readelf.c (dump_section_as_strings): Likewise.
116 (dump_section_as_bytes): Likewise.
117
1be305ff
AM
1182021-03-29 Alan Modra <amodra@gmail.com>
119
120 * objdump.c (process_links): Use type int.
121 * readelf.c (request_dump): Don't increment do_dump, set it.
122 * windint.h (target_is_bigendian): Use type bfd_boolean.
123 * windmc.c (target_is_bigendian): Likewise.
124 * windres.c (target_is_bigendian): Likewise.
125
08dedd66
ML
1262021-03-22 Martin Liska <mliska@suse.cz>
127
1be305ff
AM
128 * dlltool.c (scan_drectve_symbols): Replace usage of CONST_STRNEQ
129 with startswith.
08dedd66
ML
130 * emul_aix.c (ar_emul_aix_parse_arg): Likewise.
131 * objcopy.c (is_mergeable_note_section): Likewise.
132 * objdump.c (dump_dwarf_section): Likewise.
133 * prdbg.c (pr_method_type): Likewise.
134 (pr_class_baseclass): Likewise.
135 (tg_class_baseclass): Likewise.
136 * readelf.c (process_lto_symbol_tables): Likewise.
137 * stabs.c (ULLHIGH): Likewise.
138 (parse_stab_argtypes): Likewise.
139 (stab_demangle_function_name): Likewise.
140
7b9f9859
L
1412021-03-19 H.J. Lu <hongjiu.lu@intel.com>
142
143 * readelf.c (get_machine_name): Add EM_INTELGT.
144
835f2fae
NC
1452021-03-18 Nick Clifton <nickc@redhat.com>
146
147 PR 27478
148 * readelf.c (dump_section_as_strings): Mention separate filename.
149 (dump_section_as_bytes): Likewise.
150 (dump_section_as_ctf): Likewise.
151 (initialise_dumkps_byname): Only issue a warning for missing
152 sections if processing the main file.
153 (process_section_contents): Only issue a warning for unsumped
154 section numbers in the main file.
155 (initialise_dump_sects): New function. Contains code extracted
156 from ...
157 (process_object): ... here. Also call initialise_dump_sects for
158 separate files.
159
44266f36
NC
1602021-03-16 Nick Clifton <nickc@redhat.com>
161
162 PR 27534
163 * readelf.c (display_debug_section): Also retain .debug_addr
164 sections.
165
d6bfbc39
NC
1662021-03-16 Nick Clifton <nickc@redhat.com>
167
168 PR 27533
169 * readelf.c (process_section_contents): Only dump debug
170 information for separate files unless process_links is enabled.
171 (process_object): Always call process_section_contents for
172 separate info files.
173
1996d0f1
NC
1742021-03-15 Nick Clifton <nickc@redhat.com>
175
176 PR 27487
177 * nm.c (FORMAT_JUST_SYMBOLS): Define.
178 (struct optput_fns): Add entry for FORMAT_JUST_SYMBOLS.
179 (long_options): Add just-symbols.
180 (set_output_format): Add support for just-symbols.
181 (get_print_format): Likewise.
182 (do_not_print_object_filename): New function.
183 (do_not_print_archive_filename): New function.
184 (do_not_print_archive_member): New function.
185 (do_not_print_symbol_filename): New function.
186 (just_print_symbol_name): New function.
187 (main): Handle --just-symbols.
188 * NEWS: Mention the new feature.
189 * doc/binutils.texi: Document the new feature.
190
2c1bef53
CC
1912021-03-12 Clément Chigot <clement.chigot@atos.net>
192
193 * od-xcoff.c: Replace RTB by TRL entry.
194
db6092f3
AB
1952021-03-05 Craig Blackmore <craig.blackmore@embecosm.com>
196 Andrew Burgess <andrew.burgess@embecosm.com>
197
198 * readelf.c (get_note_type): Handle NT_RISCV_CSR.
199
b63a5e38
AB
2002021-03-05 Craig Blackmore <craig.blackmore@embecosm.com>
201 Andrew Burgess <andrew.burgess@embecosm.com>
202
203 * readelf.c (get_note_type): Handle NT_GDB_TDESC.
204
d296b736
NC
2052021-03-05 Nick Clifton <nickc@redhat.com>
206
207 PR 27387
208 * dwarf.c (display_debug_macro): Handle the displaying of
209 DW_MACRO_define_strp and DW_MACRO_undef_strp in v4
210 .debug_macro.dwo sections.
211
ca0e11aa
NC
2122021-03-04 Nick Clifton <nickc@redhat.com>
213
214 PR 27478
215 * objdump.c (process_links): New variable.
216 (usage): Add --process-links.
217 (long_options): Likewise.
218 (dump_bfd): Stop processing once the bfd has been loaded unless
219 this is the main file or process_links has been enabled.
220 (main): Handle the process-links option.
221 * readelf.c (process_links): New variable.
222 (struct filedata): Add is_separate field.
223 (options): Add --process-links.
224 (usage): Likewise.
225 (parse_args): Likewise.
226 (process_file_header): Include the filename when dumping
227 information for separate debuginfo files.
228 (process_program_headers): Likewise.
229 (process_section_headers): Likewise.
230 (process_section_groups): Likewise.
231 (process_relocs): Likewise.
232 (process_dynamic_section): Likewise.
233 (process_version_sections): Likewise.
234 (display_lto_symtab): Likewise.
235 (process_symbol_table): Likewise.
236 (process_syminfo): Likewise.
237 (initialise_dumps_by_name): Likewise.
238 (process_section_contents): Likewise.
239 (process_notes_at): Likewise.
240 (process_notes): Likewise.
241 (open_file): Add is_separate parameter. Use to initialise the
242 is_separate field in the filedata structure.
243 (open_deug): Update call to open_file.
244 (process_object): Add processing of the contents of separate
245 debuginfo files, gated by the process_links variable.
246 (process_archive): Update call to open_file.
247 (process_file): Initialise the is_separate field in the filedata
248 structure.
249 * dwarf.c (load_separate_debug_info_file): Only report the
250 loading of a separate file if debug links are being dumped.
251 * objcopy.c (keep_section_symbols): New variable.
252 (enum command_line_switch): Add OPTION_KEEP_SYMBOLS.
253 (strip_options): Add keep-section-symbols.
254 (copy_options): Likewise.
255 (copy_usage): Likewise.
256 (strip_usage): Likewise.
257 (copy_object): Keep section symbols if requested by command line
258 option.
259 (strip_main): Handle --keep-section-symbols.
260 (copy_main): Likewise.
261 * doc/binutils.texi: Document the new options.
262 * NEWS: Mention the new features.
263 * testsuite/binutils-all/compress.exp (test_gnu_debuglink):
264 Update options passed to objdump. Use diff rather than cmp to
265 compare the dumped data.
266 * testsuite/binutils-all/objdump.WK2: Update regexp.
267 * testsuite/binutils-all/objdump.WK3: Update regexp.
268 * testsuite/binutils-all/objdump.exp: Use --process-links
269 instead of --dwarf=follow-links.
270 * testsuite/binutils-all/readelf.exp (readelf_test): Include
271 readelf's output in the log when the test fails.
272 Add the -P option to the -wKis test.
273 * testsuite/binutils-all/readelf.wKis: Update expected output.
274
fd5c076a
AM
2752021-03-03 Alan Modra <amodra@gmail.com>
276
277 PR 27493
278 * objcopy.c (filter_symbols): Apply --weaken to undefined symbols.
279 * NEWS: Mention feature.
280
ecd65684
L
2812021-03-01 H.J. Lu <hongjiu.lu@intel.com>
282
283 PR binutils/27486
284 * dwarf.c (load_separate_debug_info): Issue warning only if
285 do_debug_links is set.
286 * testsuite/binutils-all/compress.exp: Run objdump and readelf
287 with missing debug file.
288
6a1224ec
AM
2892021-03-01 Alan Modra <amodra@gmail.com>
290
291 PR 27128
292 * doc/binutils.texi: Add nm --with-symbol-versions and
293 --without-symbol-versions documentation.
294 * nm.c (with_symbol_versions): New variable.
295 (enum long_option_values): Delete OPTION_WITH_SYMBOL_VERSIONS.
296 (long_options): Make --with-symbol-versions entry twiddle the flag.
297 Add --without-symbol-versions.
298 (print_symname): Strip version when !with_symbol_versions. Add
299 dynamic version info under control of with_symbol_versions.
300 (main): Remove OPTION_WITH_SYMBOL_VERSIONS case.
301
7fe1b138
FS
3022021-02-26 Fangrui Song <maskray@google.com>
303
304 PR 27408
305 * readelf.c (quiet): New option flag.
306 (enum long_option_values): New enum to hold long option value.
307 (long_options): Add --quiet.
308 (usage): Mention --quiet.
309 (display_rel_file): If quiet is enabled, suppress "no symbols".
310 (main): Handle the new option.
311 * NEWS: Mention --quiet.
312 * docs/binutils.texi: Document --quiet.
313
0e12f6c8
TV
3142021-02-26 Tom de Vries <tdevries@suse.de>
315
316 * dwarf.c (display_debug_addr): Handle dwarf-5 .debug_addr bits.
317
32e4f96c
TV
3182021-02-26 Tom de Vries <tdevries@suse.de>
319
320 PR 27390
321 * dwarf.c: (skip_attr_bytes): Add support for DW_FORM_str* and
322 DW_FORM_addrx*.
323 (read_and_display_attr_value): Likewise.
324
e38332c2
NC
3252021-02-25 Nick Clifton <nickc@redhat.com>
326
327 * dwarf.c (get_type_abbrev_from_form): Accept but ignore sup
328 forms.
329 (read_and_display_attr_value): Handle sup forms.
330 (display_debug_sup): New function. Displays the contents of a
331 .debug_sup section.
332 (load_debug_sup_file): New function. Loads the contents of a file
333 referenced by a .debug_sup section.
334 (check_for_and_load_links): Call load_debug_sup_file.
335 (debug_displays): Add entry for .debug_sup.
336 * dwarf.h (enum dwarf_section_display_enum): Add debug_sup.
337 * readelf.c (process_section_headers): Add support for debug_sup.
338 * doc/debug.options.texi: Note that the =links option will display
339 the contents of .debug_sup sections.
340 * NEWS: Mention the new support.
341
40b02646
AM
3422021-02-25 Alan Modra <amodra@gmail.com>
343
344 PR 27456
345 * rename.c (simple_copy): Mark target_stat ATTRIBUTE_UNUSED.
346
9d3fcfe0
NC
3472021-02-24 Nick Clifton <nickc@redhat.com>
348
349 PR 27285
350 * od-elf32_avr.c (elf32_avr_get_memory_usage): Check for overflows
351 when adding together the section sizes.
352
c74147bb
NC
3532021-02-24 Nick Clifton <nickc@redhat.com>
354
355 * objcopy.c (merge_gnu_build_notes): Remove support for v1/v2 GNU
356 build notes.
357 * readelf.c (print_gnu_build_attribute_description): Likewise.
358
c42c71a1
AM
3592021-02-24 Alan Modra <amodra@gmail.com>
360 Siddhesh Poyarekar <siddhesh@gotplt.org>
361
362 PR 27456
363 * bucomm.h (smart_rename): Update prototype.
364 * rename.c (smart_rename): Add fromfd and preserve_dates params.
365 Pass fromfd and target_stat to simple_copy. Call set_times
366 when preserve_dates.
367 (simple_copy): Accept fromfd rather than from filename. Add
368 target_stat param. Rewind fromfd rather than opening. Open
369 "to" file without O_CREAT. Try to preserve S_ISUID and S_ISGID.
370 * ar.c (write_archive): Rename ofd to tmpfd. Dup tmpfd before
371 closing output temp file, and pass tmpfd to smart_rename.
372 * arsup.c (temp_fd): Rename from real_fd.
373 (ar_save): Dup temp_fd and pass to smart_rename.
374 * objcopy.c (strip_main, copy_main): Likewise, and pass
375 preserve_dates.
376
cca8873d
AM
3772021-02-24 Alan Modra <amodra@gmail.com>
378
379 PR 27456
380 * rename.c: Tidy throughout.
381 (smart_rename): Always copy. Remove windows specific code.
382
4d496013
AM
3832021-02-20 Alan Modra <amodra@gmail.com>
384
385 * testsuite/lib/binutils-common.exp: Whitespace fixes throughout.
386 (run_dump_test): Fail if expecting errors from a file like we do
387 for error strings, if no error is seen.
388
0be51eb4
AM
3892021-02-19 Alan Modra <amodra@gmail.com>
390
391 * testsuite/binutils-all/readelf.exp (pr26548): Run for 32-bit too.
392
3685de75
SP
3932021-02-19 Siddhesh Poyarekar <siddhesh@gotplt.org>
394
395 * ar.c (write_archive): Remove TARGET_STAT. Adjust call to
396 SMART_RENAME.
397 * arsup.c (ar_save): Likewise.
398 * objcopy (strip_main): Don't copy TMPFD. Don't set times on
399 temporary file and adjust call to SMART_RENAME.
400 (copy_main): Likewise.
401 * rename.c [!S_ISLNK]: Remove definitions.
402 (try_preserve_permissions): Remove function.
403 (smart_rename): Remove FD, PRESERVE_DATES arguments. Use
404 rename system call only if TO does not exist.
405 * bucomm.h (smart_rename): Adjust declaration.
406
85684222
NC
4072021-02-18 Nick Clifton <nickc@redhat.com>
408
409 * objcopy.c (merge_gnu_build_notes): Handle notes with a start
410 address that is higher than the end address.
411
b9b204b3
AM
4122021-02-17 Alan Modra <amodra@gmail.com>
413
414 * dwarf.c: Include limits.h.
415 (CHAR_BIT): Provide backup define.
416 (read_leb128): Use CHAR_BIT to size "result" in bits. Correct
417 signed overflow checking.
418 * testsuite/binutils-all/pr26548.s,
419 * testsuite/binutils-all/pr26548.d,
420 * testsuite/binutils-all/pr26548e.d: New tests.
421 * testsuite/binutils-all/readelf.exp: Run them.
422 (readelf_test): Drop unused "xfails" parameter. Update all uses.
423
e6ca1878
JB
4242021-02-16 Jan Beulich <jbeulich@suse.com>
425
426 * dwarf.c (process_debug_info): Initialize "dwo_id".
427
208599d9
AM
4282021-02-15 Alan Modra <amodra@gmail.com>
429
430 * objdump.c (load_specific_debug_section): Don't call
431 bfd_cache_section_contents. Rearrange so that
432 bfd_get_full_section_contents is not called on path where
433 bfd_simple_get_relocated_section_contents is called.
434 Don't set section->user_data.
435 (free_debug_section): Always free section->start. Don't twiddle
436 section flags.
437 * readelf.c (load_specific_debug_section): Don't set user_data.
438 * dwarf.h (struct dwarf_section): Remove use_data field.
439 * dwarf.c (NO_ABBREVS, ABBREV): Adjust to suit.
440
1781a9d0
AM
4412021-02-15 Alan Modra <amodra@gmail.com>
442
443 * testsuite/binutils-all/compress.exp: Remove nds32 xfails.
444 * testsuite/binutils-all/objdump.exp: Likewise.
445
1944212b
AM
4462021-02-14 Alan Modra <amodra@gmail.com>
447
448 * objdump.c (slurp_symtab): Don't add an extra entry for NULL
449 to the symbol array.
450 (slurp_dynamic_symtab): Likewise.
451 (dump_bfd): Formatting. Copy terminating NULL from extra_syms.
452
0d0a0d86
AM
4532021-02-14 Alan Modra <amodra@gmail.com>
454
455 * Makefile.in: Regenerate.
456 * doc/Makefile.in: Regenerate.
457
adeab0c5
MF
4582021-02-13 Mike Frysinger <vapier@gentoo.org>
459
460 * aclocal.m4: Regenerate.
461
c46b7066
NC
4622021-02-12 Nick Clifton <nickc@redhat.com>
463
464 * configure.ac (follow-debug-links): Add option to enable or
465 disable the following of debug links by default. Set the
466 default for the option to be 'follow'.
467 * dwarf.c (do_follow_links): Initialise with DEFAULT_FOR_FOLLOW_LINKS.
468 (dwarf_select_sections_by_names): Add no-follow-links option.
469 (dwarf_select_sections_by_letter): Add 'N' option.
470 * objdump.c (usage): Add conditional text describing the
471 follow links option.
472 (slurp_symtab): Ensure that there is a NULL entry at the end
473 of the symbol table.
474 (slurp_dynamic_symtab): Likewise.
475 (dump_bfd): When extending the symbol table, ensure that there
476 is still a NULL entry at the end.
477 * readelf.c (usage): Add conditional text describing the
478 follow links option.
479 * doc/binutils.texi: Update documentation for objcopy and
480 readelf.
481 * doc/debug.options.texi: Update documentation of the
482 follow-links option.
483 * config.in: Regenerate.
484 * configure: Regenerate.
485 * testsuite/binutils-all/compress.exp: Add the -WN option to
486 objdump command lines that are not expecting to follow links.
487 * testsuite/binutils-all/readelf.exp: Add the
488 --debug-dump=no-follow-links option to tests that are not
489 expecting to follow debug links.
490 * NEWS: Mention the new behaviour.
491
17e04eff
AM
4922021-02-12 Alan Modra <amodra@gmail.com>
493
494 * testsuite/binutils-all/objcopy.exp: Report "unsupported" when
495 gas or ld fails to build a testcase rather than "unresolved".
496 Report "fail" when readelf returns an error status rather than
497 "unresolved".
498 * testsuite/binutils-all/ar.exp: Likewise.
499 * testsuite/binutils-all/compress.exp: Likewise.
500 * testsuite/binutils-all/readelf.exp: Likewise.
501
8f054a7a
AM
5022021-02-12 Alan Modra <amodra@gmail.com>
503
504 * testsuite/binutils-all/pr25662.s: Replace "a" with "aaa" and
505 "c" with "ccc" labels.
506
528a4f87
TV
5072021-02-12 Tom de Vries <tdevries@suse.de>
508
509 * dwarf.h (debug_info): Fix typo in comment.
510
95abb394
TV
5112021-02-12 Tom de Vries <tdevries@suse.de>
512
513 * dwarf.c (display_debug_str_offsets): Handle multiple sets of
514 entries.
515
d60f7998
TV
5162021-02-12 Tom de Vries <tdevries@suse.de>
517
518 * dwarf.c (process_debug_info): Print DWO ID.
519
1cfcf300
AM
5202021-02-11 Alan Modra <amodra@gmail.com>
521
522 PR 27290
523 PR 27293
524 PR 27295
525 * od-elf32_avr.c (elf32_avr_get_note_section_contents): Formatting.
526 Use bfd_malloc_and_get_section.
527 (elf32_avr_get_note_desc): Formatting. Return descsz. Sanity
528 check namesz. Return NULL if descsz is too small. Ensure
529 string table is terminated.
530 (elf32_avr_get_device_info): Formatting. Add note_size param.
531 Sanity check note.
532 (elf32_avr_dump_mem_usage): Adjust to suit.
533
d9d9d8ef
TV
5342021-02-10 Tom de Vries <tdevries@suse.de>
535
536 PR binutils/27391
537 * dwarf.c (load_dwo_file): Handle case that name is absolute path.
538
52ff20fe
TV
5392021-02-10 Tom de Vries <tdevries@suse.de>
540
541 PR binutils/27371
542 * dwarf.c (display_debug_ranges): Filter range lists according to
543 section.
544
5f128a25
TV
5452021-02-09 Tom de Vries <tdevries@suse.de>
546
547 PR binutils/27370
548 * dwarf.c (get_type_abbrev_from_form): Handle DW_FORM_ref_sig8.
549
9b87f84a
TV
5502021-02-09 Tom de Vries <tdevries@suse.de>
551
552 PR binutils/27386
553 * dwarf.c (process_debug_info): Handling DW_UT_skeleton and
554 DW_UT_split_compile.
555
a57d1773
AM
5562021-02-09 Alan Modra <amodra@gmail.com>
557
558 * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Remove
559 symbianelf.
560
de8d4203
AM
5612021-02-07 Alan Modra <amodra@gmail.com>
562
563 * unwind-ia64.c (unw_print_xyreg): Don't leave output buffer
564 uninitialised on invalid input.
565
51a25252
AM
5662021-02-06 Alan Modra <amodra@gmail.com>
567
568 PR 27349
569 * rename.c (smart_rename): Test for existence and type of output
570 file with lstat.
571
e37d88e5
NC
5722021-02-05 Nick Clifton <nickc@redhat.com>
573
574 * MAINTAINERS: Remove Richard Henderson as the ALPHA maintainer.
575
887854ba
EZ
5762021-02-05 Eli Zaretskii <eliz@gnu.org>
577
578 PR 27252
579 * elfedit.c (check_file):
580 * bucomm.c (get_file_size): Fix typos in comments.
581
c180f095
AM
5822021-02-05 Alan Modra <amodra@gmail.com>
583
584 PR 27345
585 * arsup.c (ar_save): Use stat rather than lstat.
586
95b91a04
AM
5872021-02-03 Alan Modra <amodra@gmail.com>
588
589 PR 27270
590 PR 27284
591 PR 26945
592 * ar.c: Don't include libbfd.h.
593 (write_archive): Replace xmalloc+strcpy with xstrdup. Use
594 bfd_stat rather than fstat on iostream. Move stat and fd tests
595 outside of _WIN32 ifdef. Delete skip_stat variable.
596 * arsup.c (temp_name, real_ofd): New static variables.
597 (ar_open): Use make_tempname and bfd_fdopenw.
598 (ar_save): Adjust to suit ar_open changes. Move stat output
599 of _WIN32 ifdef.
600 * objcopy.c: Don't include libbfd.h.
601 (copy_file): Use bfd_stat.
602
5424d7ed
L
6032021-02-02 H.J. Lu <hongjiu.lu@intel.com>
604
605 PR binutils/27281
606 * readelf.c (process_section_headers): Add 'R' and 'D' to
607 "Key to Flags:".
608 * testsuite/binutils-all/retain1a.d: Updated.
609
72a51a06
NC
6102021-01-30 Nick Clifton <nickc@redhat.com>
611
612 * README-how-to-make-a-release: Small updates after the 2.35.2
613 release.
614
cc3edc52
EZ
6152021-01-28 Eli Zaretskii <eliz@gnu.org>
616
617 PR 4356
618 * windres.c (quot): Use double quotes to protect strings on
619 Windows platforms.
620
a7ad3cb1
EZ
6212021-01-28 Eli Zaretskii <eliz@gnu.org>
622
623 PR 27252
624 * bucomm.c (get_file_size): Add code to handle /dev/null on
625 Windows systems.
626 * elfedit.c (check_file): Likewise.
627
67965ba2
NC
6282021-01-27 Nick Clifton <nickc@redhat.com>
629
630 * objcopy.c (copy_main): Remove conditional control of the calls
631 to free, simplifying the code and making it easier to detect
632 typos.
633
e37709f0
FC
6342021-01-26 Frederic Cambus <fred@statdns.com>
635
636 * objcopy.c (copy_main): Fix a double free happening when both
637 --localize-symbols and --globalize-symbols options are invoked
638 together.
639
9b351c9b
NC
6402021-01-24 Nick Clifton <nickc@redhat.com>
641
642 * README-how-to-make-a-release: Minor updates after the 2.36 release.
643
ad92f33d
AM
6442021-01-16 Alan Modra <amodra@gmail.com>
645
646 * readelf.c (uncompress_section_contents): Tidy inflateEnd result test.
647
3624a6c1
AM
6482021-01-15 Alan Modra <amodra@gmail.com>
649
650 PR 26539
651 * readelf.c (uncompress_section_contents): Always call inflateEnd.
652
c14dee84
AO
6532021-01-14 Alexandre Oliva <oliva@gnu.org>
654
655 * MAINTAINERS: Update my email address.
656
5a10699f
NC
6572021-01-14 Nick Clifton <nickc@redhat.com>
658
659 * po/sv.po: Updated Swedish translation.
660
5347ed60
AM
6612021-01-13 Alan Modra <amodra@gmail.com>
662
663 * Makefile.in: Regenerate.
664 * doc/Makefile.in: Regenerate.
665
2ce40d1a
ZF
6662021-01-13 Zebediah Figura <z.figura12@gmail.com>
667
668 PR 27037
669 * dlltool.c (i386_trampoline): Adjust %rsp immediately on entry
670 and before exit.
671 (i386_x64_trampoline): Add SEH annotations.
672 (struct mac): Add how_seh field.
673 (make_delay_head): If how_set field is true add SEh instructions.
674
d546b610
L
6752021-01-12 H.J. Lu <hongjiu.lu@intel.com>
676
677 PR binutils/26792
678 * configure.ac: Use GNU_MAKE_JOBSERVER.
679 * aclocal.m4: Regenerated.
680 * configure: Likewise.
681
6d104cac
NC
6822021-01-12 Nick Clifton <nickc@redhat.com>
683
684 * po/fr.po: Updated French translation.
685
83b33c6c
L
6862021-01-11 H.J. Lu <hongjiu.lu@intel.com>
687
688 PR ld/27173
689 * configure: Regenerated.
690
a8aa72b9
NC
6912021-01-11 Nick Clifton <nickc@redhat.com>
692
693 * po/pt.po: Updated Portuguese translation.
694 * po/sr.po: Updated Serbian translation.
695 * po/uk.po: Updated Ukranian translation.
696
a4966cd9
L
6972021-01-09 H.J. Lu <hongjiu.lu@intel.com>
698
699 * configure: Regenerated.
700
573fe3fb
NC
7012021-01-09 Nick Clifton <nickc@redhat.com>
702
703 * configure: Regenerate.
704 * po/binutils.pot: Regenerate.
705
055bc77a
NC
7062021-01-09 Nick Clifton <nickc@redhat.com>
707
708 * 2.36 release branch crated.
573fe3fb
NC
709 * README-how-to-make-a-release: Add note about updating Makefiles
710 and libtool files.
711 * BRANCHES: Add binutils-2.36-branch.
055bc77a 712
64307045
AM
7132021-01-09 Alan Modra <amodra@gmail.com>
714
715 * configure: Regenerate.
716
f4782128
ST
7172021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
718
719 * configure: Regenerate.
720
d1bcae83
L
7212021-01-07 H.J. Lu <hongjiu.lu@intel.com>
722
723 PR 27109
724 * objcopy.c (copy_object): Handle section symbols for
725 non-relocatable inputs.
726 * testsuite/binutils-all/readelf.exp (readelf_test): Check
727 is_elf_unused_section_symbols.
728 * testsuite/binutils-all/readelf.s-64: Updated.
729 * testsuite/binutils-all/readelf.ss: Likewise.
730 * testsuite/binutils-all/readelf.ss-64: Likewise.
731 * testsuite/binutils-all/readelf.s-64-unused: New file.
732 * testsuite/binutils-all/readelf.ss-64-unused: Likewise.
733 * testsuite/binutils-all/readelf.ss-unused: Likewise.
734 * testsuite/lib/binutils-common.exp
735 (is_elf_unused_section_symbols): New proc.
736
6987d5a1
RT
7372021-01-06 Reuben Thomas <rrt@sc3d.org>
738
739 * binutils/readelf.c: Correct grammar in comment.
740
f9a6a8f0
AM
7412021-01-01 Nicolas Boulenguez <nicolas@debian.org>
742
743 * coffgrok.c (do_type): Correct spelling of auxiliary in errors.
744 * doc/binutils.texi: Correct grammar.
745 * readelf.c (process_version_sections): Correct spelling of auxiliary
746 in warning.
747 * testsuite/binutils-all/vax/objdump.exp: Comment grammar fix.
748
250d07de
AM
7492021-01-01 Alan Modra <amodra@gmail.com>
750
751 Update year range in copyright notice of all files.
752
c2795844 753For older changes see ChangeLog-2020
3499769a 754\f
c2795844 755Copyright (C) 2021 Free Software Foundation, Inc.
3499769a
AM
756
757Copying and distribution of this file, with or without modification,
758are permitted in any medium without royalty provided the copyright
759notice and this notice are preserved.
760
761Local Variables:
762mode: change-log
763left-margin: 8
764fill-column: 74
765version-control: never
766End: