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