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