]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/ChangeLog
display_debug_ranges
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
b4951546
AM
12021-05-15 Alan Modra <amodra@gmail.com>
2
3 * dwarf.c (display_debug_ranges): Delete initial_length_size.
4 Correct fallback size calculated on finding a reloc. Constrain
5 data reads to length given in header. Avoid pointer UB.
6
669f463d
AM
72021-05-15 Alan Modra <amodra@gmail.com>
8
9 * dwarf.c (display_debug_rnglists_list): Avoid pointer UB.
10
5250d2f0
AM
112021-05-15 Alan Modra <amodra@gmail.com>
12
13 * dwarf.c (display_debug_str_offsets): Constrain reads to length
14 given in header.
15
6ca07350
AM
162021-05-15 Alan Modra <amodra@gmail.com>
17
18 * dwarf.c (display_debug_aranges): Delete initial_length_size.
19 Use end_ranges to constrain data reads to header length. Avoid
20 pointer UB.
21
78480097
AM
222021-05-15 Alan Modra <amodra@gmail.com>
23
24 * dwarf.c (display_loc_list): Avoid pointer UB. Correct check
25 before reading uleb length. Warn on excess length.
26
b0d461ec
AM
272021-05-15 Alan Modra <amodra@gmail.com>
28
29 * dwarf.c (display_debug_macro): Print strings that might not
30 be zero terminated with %*s. Don't bump curr if unterminated.
31
46d1214d
AM
322021-05-15 Alan Modra <amodra@gmail.com>
33
34 * dwarf.c (get_line_filename_and_dirname): Delete initial_length_size.
35 Simplify length sanity check, and check for too small lengths.
36 Constrain data reads to header length. Avoid pointer UB.
37
c03df922
AM
382021-05-15 Alan Modra <amodra@gmail.com>
39
40 * dwarf.c (display_debug_macinfo): Print strings that might not
41 be zero terminated with %*s. Don't bump curr if unterminated.
42
35b2c89e
AM
432021-05-15 Alan Modra <amodra@gmail.com>
44
45 * dwarf.c (display_debug_pubnames_worker): Delete initial_length_size.
46 Simplify length check. Constrain reads to length given by header.
47
56051e28
AM
482021-05-15 Alan Modra <amodra@gmail.com>
49
50 * dwarf.c (display_debug_lines_decoded): Don't use strnlen when
51 we have already checked for NUL termination.
52
37195e23
AM
532021-05-15 Alan Modra <amodra@gmail.com>
54
55 * dwarf.c (read_debug_line_header): Delete initial_length_size.
56 Avoid pointer UB. Keep within length specified by header.
57 Delete dead code.
58
edba4e4a
AM
592021-05-15 Alan Modra <amodra@gmail.com>
60
61 * dwarf.c (process_debug_info): Always do the first CU length
62 scan for sanity checks. Remove initial_length_size var and
63 instead calculate end_cu. Use end_cu to limit data reads.
64 Delete now dead code checking length.
65
ebb17864
AM
662021-05-15 Alan Modra <amodra@gmail.com>
67
68 * dwarf.c (SAFE_BYTE_GET_INTERNAL): Assert only when ENABLE_CHECKING.
69
fc5e0925
AM
702021-05-15 Alan Modra <amodra@gmail.com>
71
72 * bucomm.h (_mul_overflow): Define.
73 * dwarf.c (get_encoded_value): Avoid pointer UB.
74
b96a1bcb
AM
752021-05-13 Alan Modra <amodra@gmail.com>
76
77 PR 27861
78 * dwarf.c (display_debug_str_offsets): Sanity check dwarf5
79 header length.
80
d21f875d
AM
812021-05-13 Alan Modra <amodra@gmail.com>
82
83 PR 27860
84 * dwarf.c (display_debug_frames): Sanity check cie_off before
85 attempting to read cie.
86
a7077ce7
AM
872021-05-12 Alan Modra <amodra@gmail.com>
88
89 * dwarf.c (process_extended_line_op): Don't bump data pointer past
90 end when strnlen doesn't find string terminator.
91 (decode_location_expression): Remove dead code.
92 (skip_attr_bytes): Remove const from end param. Ensure data
93 pointer doesn't pass end.
94 (get_type_signedness): Remove const from end param.
95 (read_and_display_attr_value): Ensure data pointer doesn't pass end.
96 (display_debug_lines_raw, display_debug_lines_decoded): Likewise.
97 (display_debug_pubnames_worker): Likewise.
98 (display_debug_pubnames_worker): Use SAFE_BYTE_GET_AND INC rather
99 than blindly incrementing data pointer.
100 (display_debug_addr, display_debug_str_offsets): Likewise. Don't
101 compare pointers, compare lengths.
102
6d1ad6f7
AM
1032021-05-12 Alan Modra <amodra@gmail.com>
104
105 * dwarf.c (SAFE_BYTE_GET_INTERNAL): Define.
106 (SAFE_BYTE_GET, SAFE_BYTE_GET_AND_INC): Define using the above.
107 (SAFE_SIGNED_BYTE_GET, SAFE_SIGNED_BYTE_GET_AND_INC): Likewise.
108 (display_discr_list): Use SAFE_BYTE_GET_AND_INC rather than
109 SAFE_BYTE_GET followed by increment.
110 (process_debug_info): Likewise, and test bytes remaining before
111 incrementing section_begin rather than using pointer comparison.
112 (display_debug_names): Pass lvalue as SAFE_BYTE_GET PTR.
113 (process_cu_tu_index): Likewise for SAFE_BYTE_GET_AND_INC.
114
af2ddf69
AM
1152021-05-12 Alan Modra <amodra@gmail.com>
116
117 * dwarf.c (dwarf_vmatoa64, SAFE_BYTE_GET64, add64): Delete.
118 (skip_attr_bytes): Replace use of SAFE_BYTE_GET64 with
119 SAFE_BYTE_GET_AND_INC.
120 (read_and_display_attr_value): Likewise. Print using dwarf_vmatoa.
121 (process_debug_info, process_cu_tu_index): Likewise.
122 * elfcomm.c (byte_put, byte_put_little_endian, byte_put_big_endian),
123 (byte_get, byte_get_little_endian, byte_get_big_endian),
124 (byte_get_signed): Make size param unsigned. Remove code dealing
125 with 4-byte elf_vma.
126 (byte_get_64): Delete.
127 * elfcomm.h (byte_put, byte_put_little_endian, byte_put_big_endian),
128 (byte_get, byte_get_little_endian, byte_get_big_endian),
129 (byte_get_signed): Update prototypes.
130 (byte_get_64): Delete.
131
0d872fca
AM
1322021-05-12 Alan Modra <amodra@gmail.com>
133
134 PR 27836
135 * dwarf.c (display_debug_frames): Don't compare pointers derived
136 from user input. Test offset against bounds instead.
137
55b26492
AM
1382021-05-12 Alan Modra <amodra@gmail.com>
139
140 PR 27853
141 * dwarf.c (display_formatted_table): Test for data >= end rather
142 than data == end.
143 (process_extended_line_op): Likewise.
144 (display_debug_lines_raw): Likewise.
145 (display_debug_lines_decoded): Likewise.
146
5ab39075
AM
1472021-05-12 Alan Modra <amodra@gmail.com>
148
149 PR 27849
150 * dwarf.c (fetch_indexed_string): Correct length sanity checks.
151 Sanity check section size for version and padding too. Correct
152 index sanity check. Handle multiple tables in .debug_str_offsets.
153
d30182b5
HPN
1542021-05-11 Hans-Peter Nilsson <hp@axis.com>
155
156 * dwarf.c (process_abbrev_set): Properly parenthesize before
157 casting to unsigned long.
158
f2f9554b
AM
1592021-05-11 Alan Modra <amodra@gmail.com>
160
161 PR 27845
162 * dwarf.c (process_abbrev_set): Replace start and end parameters
163 with section, abbrev_base, abbrev_size, abbrev_offset. Update
164 all callers. Sanity check parameters correctly and emit warnings
165 here rather than..
166 (process_debug_info): ..here.
167
749c7002
TW
1682021-05-10 Thomas Wolff <towo@towo.net>
169
170 PR 4356
171 PR 26865
172 PR 27594
173 * windres.c (quot): Revert previous delta. Do not use double
174 quotes when spaces are detected in options.
175 * doc/binutils.texi (windres): Remove suggestion that the
176 --preprocessor option can take arguments.
177
2d4b4986
AM
1782021-05-10 Alan Modra <amodra@gmail.com>
179
180 * dwarf.c (SAFE_BYTE_GET): Check bounds by subtracting amount from
181 END rather than adding amount to PTR.
182 (SAFE_SIGNED_BYTE_GET, SAFE_BYTE_GET64): Likewise.
183
b05a0fc7
AM
1842021-05-09 Alan Modra <amodra@gmail.com>
185
186 * objcopy.c (eq_string): Delete.
187 (create_symbol_htab): Use htab_eq_string.
188
354c317e
MF
1892021-05-08 Mike Frysinger <vapier@gentoo.org>
190
191 * README-how-to-make-a-release: Update html & pdf entries.
192
cf758b39
MF
1932021-05-08 Mike Frysinger <vapier@gentoo.org>
194
195 * doc/Makefile.am (html-local, binutils/index.html): New targets.
196 * doc/Makefile.in: Regenerate.
197
2faf902d
MF
1982021-05-08 Mike Frysinger <vapier@gentoo.org>
199
200 * doc/Makefile.am (AM_MAKEINFOFLAGS): Add --no-split.
201 * doc/Makefile.in: Regenerate.
202
3ecc00ec
NC
2032021-05-07 Nick Clifton <nickc@redhat.com>
204
205 * readelf.c (no_processor_specific_unwind): New function.
206 (process_unwind): Use no_processor_specific_unwind for X86
207 targets.
208
4896932e
MF
2092021-05-07 Michael Forney <mforney@mforney.org>
210
211 * dwarf.c: Don't omit second operand of '?' operator.
212
bfbfa6e7
NC
2132021-04-30 Nick Clifton <nickc@redhat.com>
214
215 PR 27796
216 * dwarf.c (load_debug_sup_file): Allocate memory for filename in
217 .debug_sup section.
218
5edb8e3f
NC
2192021-04-29 Nick Clifton <nickc@redhat.com>
220
221 PR 27594
222 * doc/binutils.texi (windres): Correct the description of the
223 default value of the --preprocessor argument.
224
3d64c987
NC
2252021-04-27 Nick Clifton <nickc@redhat.com>
226
227 PR 27779
228 * dwarf.c (parse_gnu_debuglink): Reject empty names.
229 (parse_gnu_debugaltlink): Likewise.
230
b11b2969
CC
2312021-04-22 Clément Chigot <clement.chigot@atos.net>
232
233 * od-xcoff.c (dump_xcoff32_symbols): Adapt to new
234 aux structures.
235
047c3dbf
NL
2362021-04-21 Nick Lott <nick.lott@gmail.com>
237
238 PR 27672
239 * readelf.c (sym_base): New variable.
240 (enum print_mode): Add more modes.
241 (print_vma): Add suport for new modes.
242 (options): Add sym-base.
243 (usage): Add sym-base.
244 (parse_args): Add support for --sym-base.
245 (print_dynamic_symbol_size): New function.
246 (print_dynamic_symbol): Use new function.
247 * doc/binutils.texi: Document the new feature.
248 * NEWS: Mention the new feature.
249
23356397
NC
2502021-04-21 Nick Clifton <nickc@redhat.com>
251
252 * testsuite/binutils-all/mips/global-local-symtab-sort-n64t.d:
253 Adjust expected output to allow for named section symbols.
254 * testsuite/binutils-all/mips/global-local-symtab-sort-o32t.d:
255 Likewise.
256 * testsuite/binutils-all/readelf.s-64: Likewise.
257 * testsuite/binutils-all/readelf.ss-64-unused: Likewise.
258 * testsuite/binutils-all/readelf.ss-tmips: Likewise.
259 * testsuite/binutils-all/readelf.ss-unused: Likewise.
260
2612021-04-21 Luo Longjun <luolongjun@huawei.com>
262
263 * readelf.c (print_dynamic_symbol): Print the section name for
264 section symbols without a name of their own.
265
aee4e85e
AK
2662021-04-20 Andreas Krebbel <krebbel@linux.ibm.com>
267
268 * MAINTAINERS: Remove Martin Schwidefsky as s390 maintainer and
269 add him to Past Maintainers.
270 Update my email address.
271
229597a1
NC
2722021-04-19 Nick Clifton <nickc@redhat.com>
273
274 PR 21702
275 * arsup.c (ar_addmod): Enable plugin support, if available.
276
4dee4f3e
NC
2772021-04-19 Nick Clifton <nickc@redhat.com>
278
279 * rename.c: (get_stat_atime_ns): Add prototype.
280 (get_stat_mtime_ns): Add prototype.
281
ad7c4616
AM
2822021-04-16 Alan Modra <amodra@gmail.com>
283
284 PR 27725
285 * rename.c (get_stat_atime, get_stat_mtime): Make static.
286 (get_stat_atime_ns, get_stat_mtime_ns): Likewise.
287
4c79248a
PS
2882021-04-15 Pekka Seppänen <pexu@sourceware.mail.kapsi.fi>
289
290 PR 27725
291 * rename.c (get_stat_atime_ns): Add ATTRIBUTE_UNUSED.
292 (get_stat_mtime_ns): Likewise.
293
985e0264
AM
2942021-04-15 Alan Modra <amodra@gmail.com>
295
296 PR 27725
297 * configure.ac: Check for sys/time.h and utimensat. Use standard
298 checks for mkstemp and mkdtemp. Whitespace. Check for nanosecond
299 members of struct stat.
300 * rename.c: Prefer sys/time.h for utimes over utime.h for utime.
301 (STAT_TIMESPEC, STAT_TIMESPEC_NS): Define
302 (get_stat_atime_ns, get_stat_mtime_ns): New inline functions.
303 (get_stat_atime, get_stat_mtime): Likewise.
304 (set_times): Choose first available of utimensat, utimes, utime.
305 Use above inline functions to set timespec and timeval values.
306 * configure: Regenerate.
307 * config.in: Regenerate.
308 * testsuite/binutils-all/objcopy.exp (objcopy_test): Add test of
309 file timestamp when --preserve-dates is used.
310
d0ecdcdd
AM
3112021-04-15 Alan Modra <amodra@gmail.com>
312
313 PR 27456
314 * rename.c (smart_rename): When TO and FROM are equal, just set
315 file timestamp.
316 * objcopy.c (strip_main, copy_main): Always call smart_rename.
317
9917b559
L
3182021-04-14 H.J. Lu <hongjiu.lu@intel.com>
319
320 PR binutils/27708
321 * testsuite/binutils-all/x86-64/pr27708.dump: New file.
322 * testsuite/binutils-all/x86-64/pr27708.exe.bz2: Likewise.
323 * testsuite/binutils-all/x86-64/x86-64.exp: Run binutils/27708
324 test.
325
6be872a4
MH
3262021-04-14 Mark Harmstone <mark@harmstone.com>
327
328 PR 27686
329 * resbin.c (bin_to_res_version): Ignore any trailing bytes at the
330 end of the structure.
331
5f47741b
FC
3322021-04-14 Frederic Cambus <fred@statdns.com>
333
334 * readelf.c (get_netbsd_elfcore_note_type): Remove unneeded #ifdef
335 checks for NT_NETBSDCORE_AUXV and NT_NETBSDCORE_LWPSTATUS.
336
13acb58d
AM
3372021-04-14 Alan Modra <amodra@gmail.com>
338
339 PR 27716
340 * objdump.c (show_line): Don't limit paths to PATH_MAX.
341 * readelf.c (struct filedata): Change program_interpreter from
342 a char array to a char pointer.
343 (process_program_headers): Sanity check PT_INTERP p_filesz.
344 Malloc program_interpreter using p_filesz and read directly from
345 file.
346 (process_dynamic_section): Check program_interpreter is non-NULL.
347 (free_filedata): New function, split out from..
348 (process_object): ..here.
349 (close_debug_file): Call free_filedata.
350 * sysdep.h: Don't include sys/param.h.
351 (PATH_MAX): Don't define.
352 * configure.ac: Don't check for sys/param.h.
353 * configure: Regenerate.
354
0fa29e2d
FC
3552021-04-13 Frederic Cambus <fred@statdns.com>
356
357 * readelf.c (process_netbsd_elf_note): Remove now unneeded #ifdef
358 check for NT_NETBSD_PAX.
359
43e05cd4
AM
3602021-04-12 Alan Modra <amodra@gmail.com>
361
362 * configure.ac (--enable-checking): Add support.
363 * config.in: Regenerate.
364 * configure: Regenerate.
365
c3f72de4
AM
3662021-04-09 Alan Modra <amodra@gmail.com>
367
368 * objdump.c (struct objdump_disasm_info): Delete dynrelbuf and
369 dynrelcount.
370 (find_symbol_for_address): Adjust for dynrelbuf and dynrelcount move.
371 (disassemble_section, disassemble_data): Likewise.
372
a2e66773
AM
3732021-04-06 Alan Modra <amodra@gmail.com>
374
375 * objdump.c (objdump_symbol_at_address): Return asymbol*.
376
4db29512
AM
3772021-04-06 Alan Modra <amodra@gmail.com>
378
379 * NEWS: Mention C99 requirement.
380 * README: Likewise. Modernise examples and "Reporting bugs".
381
87b9f255
AM
3822021-04-05 Alan Modra <amodra@gmail.com>
383
384 * configure.ac: Assume long long is available. Don't test for
385 strings.h, stdlib.h, limits.h, locale.h, or wchar.h. Check
386 inttypes.h, stdint.h, sys/stat.h and sys/types.h. Don't check for
387 strcoll, setlocale, setmode or location of time_t. Don't check
388 for fprintf, getenv, snprintf, strnlen, strstr or vsnprintf decls.
389 (AC_ISC_POSIX, AXC_HEADER_STRING, AC_FUNC_ALLOCA): Don't invoke.
390 * sysdep.h: Don't include alloca-conf.h, include config.h instead.
391 Test HAVE_SYS_TYPES_H and reorder includes. Include limits.h,
392 locale.h, string.h and stdlib.h unconditionally. Remove various
393 fallback declarations. Assume long long is available.
394 * addr2line.c: Don't test HAVE_SETLOCALE.
395 * ar.c: Likewise.
396 * coffdump.c: Likewise.
397 * dlltool.c: Likewise.
398 * dllwrap.c: Likewise.
399 * elfedit.c: Likewise.
400 * nm.c: Likewise.
401 * objcopy.c: Likewise.
402 * objdump.c: Likewise.
403 * readelf.c: Likewise.
404 * size.c: Likewise.
405 * srconv.c: Likewise.
406 * strings.c: Likewise.
407 * sysdump.c: Likewise.
408 * windmc.c: Likewise.
409 * windres.c: Likewise.
410 * bucomm.c: Don't test HAVE_TIME_T_IN_TIME_H or HAVE_TIME_T_IN_TYPES_H.
411 * dwarf.c: Include limits.h unconditionally. Assume long long
412 is available.
413 * nm.c: Don't test HAVE_STRCOLL.
414 * readelf.c: Don't test HAVE_WCHAR_H.
415 * strings.c: Assume long long is available.
416 * syslex.l: Include string.h unconditionally.
417 * aclocal.m4: Regenerate.
418 * config.in: Regenerate.
419 * configure: Regenerate.
420 * Makefile.in: Regenerate.
421 * doc/Makefile.in: Regenerate.
422
e9b095a5
ML
4232021-04-01 Martin Liska <mliska@suse.cz>
424
425 * elfcomm.h (strneq): Remove strneq and use startswith.
426 * readelf.c (ia64_process_unwind): Likewise.
427 (process_note): Likewise.
428
3f3328b8
ML
4292021-04-01 Martin Liska <mliska@suse.cz>
430
431 * dllwrap.c: Use startswith function.
432 * objcopy.c (is_dwo_section): Likewise.
433 (handle_remove_section_option): Likewise.
434 (copy_main): Likewise.
435 * objdump.c (is_significant_symbol_name): Likewise.
436
24d127aa
ML
4372021-04-01 Martin Liska <mliska@suse.cz>
438
439 * dwarf.c (display_debug_lines_raw): Replace const_strneq with
440 startswith.
441 (display_debug_lines_decoded): Likewise.
442 (display_debug_links): Likewise.
443 * elfcomm.c (setup_archive): Likewise.
444 * elfcomm.h (const_strneq): Likewise.
445 * readelf.c (process_section_headers): Likewise.
446 (slurp_ia64_unwind_table): Likewise.
447 (slurp_hppa_unwind_table): Likewise.
448 (decode_arm_unwind): Likewise.
449 (display_debug_section): Likewise.
450 (process_note): Likewise.
451
015dc7e1
AM
4522021-03-31 Alan Modra <amodra@gmail.com>
453
454 * sysdep.h (POISON_BFD_BOOLEAN): Define.
455 * addr2line.c, * ar.c, * arsup.c, * bfdtest2.c, * binemul.c,
456 * binemul.h, * bucomm.c, * bucomm.h, * budbg.h, * coffgrok.c,
457 * debug.c, * debug.h, * dlltool.c, * dwarf.c, * dwarf.h,
458 * elfedit.c, * emul_aix.c, * mclex.c, * nm.c, * objcopy.c,
459 * objdump.c, * od-macho.c, * prdbg.c, * rdcoff.c, * rddbg.c,
460 * readelf.c, * rename.c, * stabs.c, * strings.c, * windint.h,
461 * windmc.c, * windmc.h, * windres.c, * winduni.c,
462 * wrstabs.c: Replace bfd_boolean with bool, FALSE with false,
463 and TRUE with true throughout.
464
3dfb1b6d
AM
4652021-03-31 Alan Modra <amodra@gmail.com>
466
467 * coffdump.c: Include stdint.h in place of bfd_stdint.h.
468 * dwarf.c: Likewise.
469
57ae980e
AM
4702021-03-31 Alan Modra <amodra@gmail.com>
471
472 * prdbg.c (pr_function_type): Replace LITSTTCPY with strcpy.
473
63b4cc53
AM
4742021-03-29 Alan Modra <amodra@gmail.com>
475
476 * dlltool.c (main): Don't use "boolean_condition ? TRUE : FALSE".
477 * dwarf.c (read_and_display_attr_value): Likewise.
478 (display_debug_str_offsets): Likewise.
479 * objdump.c (dump_bfd): Likewise.
480 * readelf.c (dump_section_as_strings): Likewise.
481 (dump_section_as_bytes): Likewise.
482
1be305ff
AM
4832021-03-29 Alan Modra <amodra@gmail.com>
484
485 * objdump.c (process_links): Use type int.
486 * readelf.c (request_dump): Don't increment do_dump, set it.
487 * windint.h (target_is_bigendian): Use type bfd_boolean.
488 * windmc.c (target_is_bigendian): Likewise.
489 * windres.c (target_is_bigendian): Likewise.
490
08dedd66
ML
4912021-03-22 Martin Liska <mliska@suse.cz>
492
1be305ff
AM
493 * dlltool.c (scan_drectve_symbols): Replace usage of CONST_STRNEQ
494 with startswith.
08dedd66
ML
495 * emul_aix.c (ar_emul_aix_parse_arg): Likewise.
496 * objcopy.c (is_mergeable_note_section): Likewise.
497 * objdump.c (dump_dwarf_section): Likewise.
498 * prdbg.c (pr_method_type): Likewise.
499 (pr_class_baseclass): Likewise.
500 (tg_class_baseclass): Likewise.
501 * readelf.c (process_lto_symbol_tables): Likewise.
502 * stabs.c (ULLHIGH): Likewise.
503 (parse_stab_argtypes): Likewise.
504 (stab_demangle_function_name): Likewise.
505
7b9f9859
L
5062021-03-19 H.J. Lu <hongjiu.lu@intel.com>
507
508 * readelf.c (get_machine_name): Add EM_INTELGT.
509
835f2fae
NC
5102021-03-18 Nick Clifton <nickc@redhat.com>
511
512 PR 27478
513 * readelf.c (dump_section_as_strings): Mention separate filename.
514 (dump_section_as_bytes): Likewise.
515 (dump_section_as_ctf): Likewise.
516 (initialise_dumkps_byname): Only issue a warning for missing
517 sections if processing the main file.
518 (process_section_contents): Only issue a warning for unsumped
519 section numbers in the main file.
520 (initialise_dump_sects): New function. Contains code extracted
521 from ...
522 (process_object): ... here. Also call initialise_dump_sects for
523 separate files.
524
44266f36
NC
5252021-03-16 Nick Clifton <nickc@redhat.com>
526
527 PR 27534
528 * readelf.c (display_debug_section): Also retain .debug_addr
529 sections.
530
d6bfbc39
NC
5312021-03-16 Nick Clifton <nickc@redhat.com>
532
533 PR 27533
534 * readelf.c (process_section_contents): Only dump debug
535 information for separate files unless process_links is enabled.
536 (process_object): Always call process_section_contents for
537 separate info files.
538
1996d0f1
NC
5392021-03-15 Nick Clifton <nickc@redhat.com>
540
541 PR 27487
542 * nm.c (FORMAT_JUST_SYMBOLS): Define.
543 (struct optput_fns): Add entry for FORMAT_JUST_SYMBOLS.
544 (long_options): Add just-symbols.
545 (set_output_format): Add support for just-symbols.
546 (get_print_format): Likewise.
547 (do_not_print_object_filename): New function.
548 (do_not_print_archive_filename): New function.
549 (do_not_print_archive_member): New function.
550 (do_not_print_symbol_filename): New function.
551 (just_print_symbol_name): New function.
552 (main): Handle --just-symbols.
553 * NEWS: Mention the new feature.
554 * doc/binutils.texi: Document the new feature.
555
2c1bef53
CC
5562021-03-12 Clément Chigot <clement.chigot@atos.net>
557
558 * od-xcoff.c: Replace RTB by TRL entry.
559
db6092f3
AB
5602021-03-05 Craig Blackmore <craig.blackmore@embecosm.com>
561 Andrew Burgess <andrew.burgess@embecosm.com>
562
563 * readelf.c (get_note_type): Handle NT_RISCV_CSR.
564
b63a5e38
AB
5652021-03-05 Craig Blackmore <craig.blackmore@embecosm.com>
566 Andrew Burgess <andrew.burgess@embecosm.com>
567
568 * readelf.c (get_note_type): Handle NT_GDB_TDESC.
569
d296b736
NC
5702021-03-05 Nick Clifton <nickc@redhat.com>
571
572 PR 27387
573 * dwarf.c (display_debug_macro): Handle the displaying of
574 DW_MACRO_define_strp and DW_MACRO_undef_strp in v4
575 .debug_macro.dwo sections.
576
ca0e11aa
NC
5772021-03-04 Nick Clifton <nickc@redhat.com>
578
579 PR 27478
580 * objdump.c (process_links): New variable.
581 (usage): Add --process-links.
582 (long_options): Likewise.
583 (dump_bfd): Stop processing once the bfd has been loaded unless
584 this is the main file or process_links has been enabled.
585 (main): Handle the process-links option.
586 * readelf.c (process_links): New variable.
587 (struct filedata): Add is_separate field.
588 (options): Add --process-links.
589 (usage): Likewise.
590 (parse_args): Likewise.
591 (process_file_header): Include the filename when dumping
592 information for separate debuginfo files.
593 (process_program_headers): Likewise.
594 (process_section_headers): Likewise.
595 (process_section_groups): Likewise.
596 (process_relocs): Likewise.
597 (process_dynamic_section): Likewise.
598 (process_version_sections): Likewise.
599 (display_lto_symtab): Likewise.
600 (process_symbol_table): Likewise.
601 (process_syminfo): Likewise.
602 (initialise_dumps_by_name): Likewise.
603 (process_section_contents): Likewise.
604 (process_notes_at): Likewise.
605 (process_notes): Likewise.
606 (open_file): Add is_separate parameter. Use to initialise the
607 is_separate field in the filedata structure.
608 (open_deug): Update call to open_file.
609 (process_object): Add processing of the contents of separate
610 debuginfo files, gated by the process_links variable.
611 (process_archive): Update call to open_file.
612 (process_file): Initialise the is_separate field in the filedata
613 structure.
614 * dwarf.c (load_separate_debug_info_file): Only report the
615 loading of a separate file if debug links are being dumped.
616 * objcopy.c (keep_section_symbols): New variable.
617 (enum command_line_switch): Add OPTION_KEEP_SYMBOLS.
618 (strip_options): Add keep-section-symbols.
619 (copy_options): Likewise.
620 (copy_usage): Likewise.
621 (strip_usage): Likewise.
622 (copy_object): Keep section symbols if requested by command line
623 option.
624 (strip_main): Handle --keep-section-symbols.
625 (copy_main): Likewise.
626 * doc/binutils.texi: Document the new options.
627 * NEWS: Mention the new features.
628 * testsuite/binutils-all/compress.exp (test_gnu_debuglink):
629 Update options passed to objdump. Use diff rather than cmp to
630 compare the dumped data.
631 * testsuite/binutils-all/objdump.WK2: Update regexp.
632 * testsuite/binutils-all/objdump.WK3: Update regexp.
633 * testsuite/binutils-all/objdump.exp: Use --process-links
634 instead of --dwarf=follow-links.
635 * testsuite/binutils-all/readelf.exp (readelf_test): Include
636 readelf's output in the log when the test fails.
637 Add the -P option to the -wKis test.
638 * testsuite/binutils-all/readelf.wKis: Update expected output.
639
fd5c076a
AM
6402021-03-03 Alan Modra <amodra@gmail.com>
641
642 PR 27493
643 * objcopy.c (filter_symbols): Apply --weaken to undefined symbols.
644 * NEWS: Mention feature.
645
ecd65684
L
6462021-03-01 H.J. Lu <hongjiu.lu@intel.com>
647
648 PR binutils/27486
649 * dwarf.c (load_separate_debug_info): Issue warning only if
650 do_debug_links is set.
651 * testsuite/binutils-all/compress.exp: Run objdump and readelf
652 with missing debug file.
653
6a1224ec
AM
6542021-03-01 Alan Modra <amodra@gmail.com>
655
656 PR 27128
657 * doc/binutils.texi: Add nm --with-symbol-versions and
658 --without-symbol-versions documentation.
659 * nm.c (with_symbol_versions): New variable.
660 (enum long_option_values): Delete OPTION_WITH_SYMBOL_VERSIONS.
661 (long_options): Make --with-symbol-versions entry twiddle the flag.
662 Add --without-symbol-versions.
663 (print_symname): Strip version when !with_symbol_versions. Add
664 dynamic version info under control of with_symbol_versions.
665 (main): Remove OPTION_WITH_SYMBOL_VERSIONS case.
666
7fe1b138
FS
6672021-02-26 Fangrui Song <maskray@google.com>
668
669 PR 27408
670 * readelf.c (quiet): New option flag.
671 (enum long_option_values): New enum to hold long option value.
672 (long_options): Add --quiet.
673 (usage): Mention --quiet.
674 (display_rel_file): If quiet is enabled, suppress "no symbols".
675 (main): Handle the new option.
676 * NEWS: Mention --quiet.
677 * docs/binutils.texi: Document --quiet.
678
0e12f6c8
TV
6792021-02-26 Tom de Vries <tdevries@suse.de>
680
681 * dwarf.c (display_debug_addr): Handle dwarf-5 .debug_addr bits.
682
32e4f96c
TV
6832021-02-26 Tom de Vries <tdevries@suse.de>
684
685 PR 27390
686 * dwarf.c: (skip_attr_bytes): Add support for DW_FORM_str* and
687 DW_FORM_addrx*.
688 (read_and_display_attr_value): Likewise.
689
e38332c2
NC
6902021-02-25 Nick Clifton <nickc@redhat.com>
691
692 * dwarf.c (get_type_abbrev_from_form): Accept but ignore sup
693 forms.
694 (read_and_display_attr_value): Handle sup forms.
695 (display_debug_sup): New function. Displays the contents of a
696 .debug_sup section.
697 (load_debug_sup_file): New function. Loads the contents of a file
698 referenced by a .debug_sup section.
699 (check_for_and_load_links): Call load_debug_sup_file.
700 (debug_displays): Add entry for .debug_sup.
701 * dwarf.h (enum dwarf_section_display_enum): Add debug_sup.
702 * readelf.c (process_section_headers): Add support for debug_sup.
703 * doc/debug.options.texi: Note that the =links option will display
704 the contents of .debug_sup sections.
705 * NEWS: Mention the new support.
706
40b02646
AM
7072021-02-25 Alan Modra <amodra@gmail.com>
708
709 PR 27456
710 * rename.c (simple_copy): Mark target_stat ATTRIBUTE_UNUSED.
711
9d3fcfe0
NC
7122021-02-24 Nick Clifton <nickc@redhat.com>
713
714 PR 27285
715 * od-elf32_avr.c (elf32_avr_get_memory_usage): Check for overflows
716 when adding together the section sizes.
717
c74147bb
NC
7182021-02-24 Nick Clifton <nickc@redhat.com>
719
720 * objcopy.c (merge_gnu_build_notes): Remove support for v1/v2 GNU
721 build notes.
722 * readelf.c (print_gnu_build_attribute_description): Likewise.
723
c42c71a1
AM
7242021-02-24 Alan Modra <amodra@gmail.com>
725 Siddhesh Poyarekar <siddhesh@gotplt.org>
726
727 PR 27456
728 * bucomm.h (smart_rename): Update prototype.
729 * rename.c (smart_rename): Add fromfd and preserve_dates params.
730 Pass fromfd and target_stat to simple_copy. Call set_times
731 when preserve_dates.
732 (simple_copy): Accept fromfd rather than from filename. Add
733 target_stat param. Rewind fromfd rather than opening. Open
734 "to" file without O_CREAT. Try to preserve S_ISUID and S_ISGID.
735 * ar.c (write_archive): Rename ofd to tmpfd. Dup tmpfd before
736 closing output temp file, and pass tmpfd to smart_rename.
737 * arsup.c (temp_fd): Rename from real_fd.
738 (ar_save): Dup temp_fd and pass to smart_rename.
739 * objcopy.c (strip_main, copy_main): Likewise, and pass
740 preserve_dates.
741
cca8873d
AM
7422021-02-24 Alan Modra <amodra@gmail.com>
743
744 PR 27456
745 * rename.c: Tidy throughout.
746 (smart_rename): Always copy. Remove windows specific code.
747
4d496013
AM
7482021-02-20 Alan Modra <amodra@gmail.com>
749
750 * testsuite/lib/binutils-common.exp: Whitespace fixes throughout.
751 (run_dump_test): Fail if expecting errors from a file like we do
752 for error strings, if no error is seen.
753
0be51eb4
AM
7542021-02-19 Alan Modra <amodra@gmail.com>
755
756 * testsuite/binutils-all/readelf.exp (pr26548): Run for 32-bit too.
757
3685de75
SP
7582021-02-19 Siddhesh Poyarekar <siddhesh@gotplt.org>
759
760 * ar.c (write_archive): Remove TARGET_STAT. Adjust call to
761 SMART_RENAME.
762 * arsup.c (ar_save): Likewise.
763 * objcopy (strip_main): Don't copy TMPFD. Don't set times on
764 temporary file and adjust call to SMART_RENAME.
765 (copy_main): Likewise.
766 * rename.c [!S_ISLNK]: Remove definitions.
767 (try_preserve_permissions): Remove function.
768 (smart_rename): Remove FD, PRESERVE_DATES arguments. Use
769 rename system call only if TO does not exist.
770 * bucomm.h (smart_rename): Adjust declaration.
771
85684222
NC
7722021-02-18 Nick Clifton <nickc@redhat.com>
773
774 * objcopy.c (merge_gnu_build_notes): Handle notes with a start
775 address that is higher than the end address.
776
b9b204b3
AM
7772021-02-17 Alan Modra <amodra@gmail.com>
778
779 * dwarf.c: Include limits.h.
780 (CHAR_BIT): Provide backup define.
781 (read_leb128): Use CHAR_BIT to size "result" in bits. Correct
782 signed overflow checking.
783 * testsuite/binutils-all/pr26548.s,
784 * testsuite/binutils-all/pr26548.d,
785 * testsuite/binutils-all/pr26548e.d: New tests.
786 * testsuite/binutils-all/readelf.exp: Run them.
787 (readelf_test): Drop unused "xfails" parameter. Update all uses.
788
e6ca1878
JB
7892021-02-16 Jan Beulich <jbeulich@suse.com>
790
791 * dwarf.c (process_debug_info): Initialize "dwo_id".
792
208599d9
AM
7932021-02-15 Alan Modra <amodra@gmail.com>
794
795 * objdump.c (load_specific_debug_section): Don't call
796 bfd_cache_section_contents. Rearrange so that
797 bfd_get_full_section_contents is not called on path where
798 bfd_simple_get_relocated_section_contents is called.
799 Don't set section->user_data.
800 (free_debug_section): Always free section->start. Don't twiddle
801 section flags.
802 * readelf.c (load_specific_debug_section): Don't set user_data.
803 * dwarf.h (struct dwarf_section): Remove use_data field.
804 * dwarf.c (NO_ABBREVS, ABBREV): Adjust to suit.
805
1781a9d0
AM
8062021-02-15 Alan Modra <amodra@gmail.com>
807
808 * testsuite/binutils-all/compress.exp: Remove nds32 xfails.
809 * testsuite/binutils-all/objdump.exp: Likewise.
810
1944212b
AM
8112021-02-14 Alan Modra <amodra@gmail.com>
812
813 * objdump.c (slurp_symtab): Don't add an extra entry for NULL
814 to the symbol array.
815 (slurp_dynamic_symtab): Likewise.
816 (dump_bfd): Formatting. Copy terminating NULL from extra_syms.
817
0d0a0d86
AM
8182021-02-14 Alan Modra <amodra@gmail.com>
819
820 * Makefile.in: Regenerate.
821 * doc/Makefile.in: Regenerate.
822
adeab0c5
MF
8232021-02-13 Mike Frysinger <vapier@gentoo.org>
824
825 * aclocal.m4: Regenerate.
826
c46b7066
NC
8272021-02-12 Nick Clifton <nickc@redhat.com>
828
829 * configure.ac (follow-debug-links): Add option to enable or
830 disable the following of debug links by default. Set the
831 default for the option to be 'follow'.
832 * dwarf.c (do_follow_links): Initialise with DEFAULT_FOR_FOLLOW_LINKS.
833 (dwarf_select_sections_by_names): Add no-follow-links option.
834 (dwarf_select_sections_by_letter): Add 'N' option.
835 * objdump.c (usage): Add conditional text describing the
836 follow links option.
837 (slurp_symtab): Ensure that there is a NULL entry at the end
838 of the symbol table.
839 (slurp_dynamic_symtab): Likewise.
840 (dump_bfd): When extending the symbol table, ensure that there
841 is still a NULL entry at the end.
842 * readelf.c (usage): Add conditional text describing the
843 follow links option.
844 * doc/binutils.texi: Update documentation for objcopy and
845 readelf.
846 * doc/debug.options.texi: Update documentation of the
847 follow-links option.
848 * config.in: Regenerate.
849 * configure: Regenerate.
850 * testsuite/binutils-all/compress.exp: Add the -WN option to
851 objdump command lines that are not expecting to follow links.
852 * testsuite/binutils-all/readelf.exp: Add the
853 --debug-dump=no-follow-links option to tests that are not
854 expecting to follow debug links.
855 * NEWS: Mention the new behaviour.
856
17e04eff
AM
8572021-02-12 Alan Modra <amodra@gmail.com>
858
859 * testsuite/binutils-all/objcopy.exp: Report "unsupported" when
860 gas or ld fails to build a testcase rather than "unresolved".
861 Report "fail" when readelf returns an error status rather than
862 "unresolved".
863 * testsuite/binutils-all/ar.exp: Likewise.
864 * testsuite/binutils-all/compress.exp: Likewise.
865 * testsuite/binutils-all/readelf.exp: Likewise.
866
8f054a7a
AM
8672021-02-12 Alan Modra <amodra@gmail.com>
868
869 * testsuite/binutils-all/pr25662.s: Replace "a" with "aaa" and
870 "c" with "ccc" labels.
871
528a4f87
TV
8722021-02-12 Tom de Vries <tdevries@suse.de>
873
874 * dwarf.h (debug_info): Fix typo in comment.
875
95abb394
TV
8762021-02-12 Tom de Vries <tdevries@suse.de>
877
878 * dwarf.c (display_debug_str_offsets): Handle multiple sets of
879 entries.
880
d60f7998
TV
8812021-02-12 Tom de Vries <tdevries@suse.de>
882
883 * dwarf.c (process_debug_info): Print DWO ID.
884
1cfcf300
AM
8852021-02-11 Alan Modra <amodra@gmail.com>
886
887 PR 27290
888 PR 27293
889 PR 27295
890 * od-elf32_avr.c (elf32_avr_get_note_section_contents): Formatting.
891 Use bfd_malloc_and_get_section.
892 (elf32_avr_get_note_desc): Formatting. Return descsz. Sanity
893 check namesz. Return NULL if descsz is too small. Ensure
894 string table is terminated.
895 (elf32_avr_get_device_info): Formatting. Add note_size param.
896 Sanity check note.
897 (elf32_avr_dump_mem_usage): Adjust to suit.
898
d9d9d8ef
TV
8992021-02-10 Tom de Vries <tdevries@suse.de>
900
901 PR binutils/27391
902 * dwarf.c (load_dwo_file): Handle case that name is absolute path.
903
52ff20fe
TV
9042021-02-10 Tom de Vries <tdevries@suse.de>
905
906 PR binutils/27371
907 * dwarf.c (display_debug_ranges): Filter range lists according to
908 section.
909
5f128a25
TV
9102021-02-09 Tom de Vries <tdevries@suse.de>
911
912 PR binutils/27370
913 * dwarf.c (get_type_abbrev_from_form): Handle DW_FORM_ref_sig8.
914
9b87f84a
TV
9152021-02-09 Tom de Vries <tdevries@suse.de>
916
917 PR binutils/27386
918 * dwarf.c (process_debug_info): Handling DW_UT_skeleton and
919 DW_UT_split_compile.
920
a57d1773
AM
9212021-02-09 Alan Modra <amodra@gmail.com>
922
923 * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Remove
924 symbianelf.
925
de8d4203
AM
9262021-02-07 Alan Modra <amodra@gmail.com>
927
928 * unwind-ia64.c (unw_print_xyreg): Don't leave output buffer
929 uninitialised on invalid input.
930
51a25252
AM
9312021-02-06 Alan Modra <amodra@gmail.com>
932
933 PR 27349
934 * rename.c (smart_rename): Test for existence and type of output
935 file with lstat.
936
e37d88e5
NC
9372021-02-05 Nick Clifton <nickc@redhat.com>
938
939 * MAINTAINERS: Remove Richard Henderson as the ALPHA maintainer.
940
887854ba
EZ
9412021-02-05 Eli Zaretskii <eliz@gnu.org>
942
943 PR 27252
944 * elfedit.c (check_file):
945 * bucomm.c (get_file_size): Fix typos in comments.
946
c180f095
AM
9472021-02-05 Alan Modra <amodra@gmail.com>
948
949 PR 27345
950 * arsup.c (ar_save): Use stat rather than lstat.
951
95b91a04
AM
9522021-02-03 Alan Modra <amodra@gmail.com>
953
954 PR 27270
955 PR 27284
956 PR 26945
957 * ar.c: Don't include libbfd.h.
958 (write_archive): Replace xmalloc+strcpy with xstrdup. Use
959 bfd_stat rather than fstat on iostream. Move stat and fd tests
960 outside of _WIN32 ifdef. Delete skip_stat variable.
961 * arsup.c (temp_name, real_ofd): New static variables.
962 (ar_open): Use make_tempname and bfd_fdopenw.
963 (ar_save): Adjust to suit ar_open changes. Move stat output
964 of _WIN32 ifdef.
965 * objcopy.c: Don't include libbfd.h.
966 (copy_file): Use bfd_stat.
967
5424d7ed
L
9682021-02-02 H.J. Lu <hongjiu.lu@intel.com>
969
970 PR binutils/27281
971 * readelf.c (process_section_headers): Add 'R' and 'D' to
972 "Key to Flags:".
973 * testsuite/binutils-all/retain1a.d: Updated.
974
72a51a06
NC
9752021-01-30 Nick Clifton <nickc@redhat.com>
976
977 * README-how-to-make-a-release: Small updates after the 2.35.2
978 release.
979
cc3edc52
EZ
9802021-01-28 Eli Zaretskii <eliz@gnu.org>
981
982 PR 4356
983 * windres.c (quot): Use double quotes to protect strings on
984 Windows platforms.
985
a7ad3cb1
EZ
9862021-01-28 Eli Zaretskii <eliz@gnu.org>
987
988 PR 27252
989 * bucomm.c (get_file_size): Add code to handle /dev/null on
990 Windows systems.
991 * elfedit.c (check_file): Likewise.
992
67965ba2
NC
9932021-01-27 Nick Clifton <nickc@redhat.com>
994
995 * objcopy.c (copy_main): Remove conditional control of the calls
996 to free, simplifying the code and making it easier to detect
997 typos.
998
e37709f0
FC
9992021-01-26 Frederic Cambus <fred@statdns.com>
1000
1001 * objcopy.c (copy_main): Fix a double free happening when both
1002 --localize-symbols and --globalize-symbols options are invoked
1003 together.
1004
9b351c9b
NC
10052021-01-24 Nick Clifton <nickc@redhat.com>
1006
1007 * README-how-to-make-a-release: Minor updates after the 2.36 release.
1008
ad92f33d
AM
10092021-01-16 Alan Modra <amodra@gmail.com>
1010
1011 * readelf.c (uncompress_section_contents): Tidy inflateEnd result test.
1012
3624a6c1
AM
10132021-01-15 Alan Modra <amodra@gmail.com>
1014
1015 PR 26539
1016 * readelf.c (uncompress_section_contents): Always call inflateEnd.
1017
c14dee84
AO
10182021-01-14 Alexandre Oliva <oliva@gnu.org>
1019
1020 * MAINTAINERS: Update my email address.
1021
5a10699f
NC
10222021-01-14 Nick Clifton <nickc@redhat.com>
1023
1024 * po/sv.po: Updated Swedish translation.
1025
5347ed60
AM
10262021-01-13 Alan Modra <amodra@gmail.com>
1027
1028 * Makefile.in: Regenerate.
1029 * doc/Makefile.in: Regenerate.
1030
2ce40d1a
ZF
10312021-01-13 Zebediah Figura <z.figura12@gmail.com>
1032
1033 PR 27037
1034 * dlltool.c (i386_trampoline): Adjust %rsp immediately on entry
1035 and before exit.
1036 (i386_x64_trampoline): Add SEH annotations.
1037 (struct mac): Add how_seh field.
1038 (make_delay_head): If how_set field is true add SEh instructions.
1039
d546b610
L
10402021-01-12 H.J. Lu <hongjiu.lu@intel.com>
1041
1042 PR binutils/26792
1043 * configure.ac: Use GNU_MAKE_JOBSERVER.
1044 * aclocal.m4: Regenerated.
1045 * configure: Likewise.
1046
6d104cac
NC
10472021-01-12 Nick Clifton <nickc@redhat.com>
1048
1049 * po/fr.po: Updated French translation.
1050
83b33c6c
L
10512021-01-11 H.J. Lu <hongjiu.lu@intel.com>
1052
1053 PR ld/27173
1054 * configure: Regenerated.
1055
a8aa72b9
NC
10562021-01-11 Nick Clifton <nickc@redhat.com>
1057
1058 * po/pt.po: Updated Portuguese translation.
1059 * po/sr.po: Updated Serbian translation.
1060 * po/uk.po: Updated Ukranian translation.
1061
a4966cd9
L
10622021-01-09 H.J. Lu <hongjiu.lu@intel.com>
1063
1064 * configure: Regenerated.
1065
573fe3fb
NC
10662021-01-09 Nick Clifton <nickc@redhat.com>
1067
1068 * configure: Regenerate.
1069 * po/binutils.pot: Regenerate.
1070
055bc77a
NC
10712021-01-09 Nick Clifton <nickc@redhat.com>
1072
1073 * 2.36 release branch crated.
573fe3fb
NC
1074 * README-how-to-make-a-release: Add note about updating Makefiles
1075 and libtool files.
1076 * BRANCHES: Add binutils-2.36-branch.
055bc77a 1077
64307045
AM
10782021-01-09 Alan Modra <amodra@gmail.com>
1079
1080 * configure: Regenerate.
1081
f4782128
ST
10822021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
1083
1084 * configure: Regenerate.
1085
d1bcae83
L
10862021-01-07 H.J. Lu <hongjiu.lu@intel.com>
1087
1088 PR 27109
1089 * objcopy.c (copy_object): Handle section symbols for
1090 non-relocatable inputs.
1091 * testsuite/binutils-all/readelf.exp (readelf_test): Check
1092 is_elf_unused_section_symbols.
1093 * testsuite/binutils-all/readelf.s-64: Updated.
1094 * testsuite/binutils-all/readelf.ss: Likewise.
1095 * testsuite/binutils-all/readelf.ss-64: Likewise.
1096 * testsuite/binutils-all/readelf.s-64-unused: New file.
1097 * testsuite/binutils-all/readelf.ss-64-unused: Likewise.
1098 * testsuite/binutils-all/readelf.ss-unused: Likewise.
1099 * testsuite/lib/binutils-common.exp
1100 (is_elf_unused_section_symbols): New proc.
1101
6987d5a1
RT
11022021-01-06 Reuben Thomas <rrt@sc3d.org>
1103
1104 * binutils/readelf.c: Correct grammar in comment.
1105
f9a6a8f0
AM
11062021-01-01 Nicolas Boulenguez <nicolas@debian.org>
1107
1108 * coffgrok.c (do_type): Correct spelling of auxiliary in errors.
1109 * doc/binutils.texi: Correct grammar.
1110 * readelf.c (process_version_sections): Correct spelling of auxiliary
1111 in warning.
1112 * testsuite/binutils-all/vax/objdump.exp: Comment grammar fix.
1113
250d07de
AM
11142021-01-01 Alan Modra <amodra@gmail.com>
1115
1116 Update year range in copyright notice of all files.
1117
c2795844 1118For older changes see ChangeLog-2020
3499769a 1119\f
c2795844 1120Copyright (C) 2021 Free Software Foundation, Inc.
3499769a
AM
1121
1122Copying and distribution of this file, with or without modification,
1123are permitted in any medium without royalty provided the copyright
1124notice and this notice are preserved.
1125
1126Local Variables:
1127mode: change-log
1128left-margin: 8
1129fill-column: 74
1130version-control: never
1131End: