]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/ChangeLog
2.41 Release sources
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
675b9d61 12023-07-30 Nick Clifton <nickc@redhat.com>
1e18ffc9 2
675b9d61
NC
3 This is the 2.41 release.
4 * configure: Regenerate.
5e24da90 5
87485f53
NC
62023-07-03 Nick Clifton <nickc@redhat.com>
7
8 * README-how-to-make-a-release: Change some version numbers.
9 * configure: Regenerate.
10 * po/binutils.pot: Regenerate.
11
d501d384
NC
122023-07-03 Nick Clifton <nickc@redhat.com>
13
14 2.41 Branch Point.
15
3713e829
NC
162023-06-30 Nick Clifton <nickc@redhat.com>
17
18 PR 30598
19 * strings.c (set_string_min): New function.
20 (main): Use it.
21 (print_unicode_stream): Calculate buffer size using a size_t.
22
0d1cd7d9
NC
232023-06-30 Nick Clifton <nickc@redhat.com>
24
25 PR 30595
26 * strings.c (main): Check for an excessively large minimum string
27 length.
28
340640f7
NC
292023-06-21 Nick Clifton <nickc@redhat.com>
30
31 * testsuite/lib/binutils-common.exp (prune_warnings_extra): Prune
32 warnings about -z execstack creating an executable stack.
33
10d6a2b1
NC
342023-05-30 Nick Clifton <nickc@redhat.com>
35
36 * od-pe.c (targ_info): New array.
37 (get_target_specific_info): New function
38 (decode_machine_number): Retire. Use get_target_specific_info
39 instead.
40 (is_pe_object_magic): Likewise.
41 (dump_pe_file_header): Display more information.
42 Rework layout to be similar to that from 'objdump -p'.
43 Add code to handle larger than normnal AOUT headers.
44
7b9e7db0
NC
452023-05-30 Nick Clifton <nickc@redhat.com>
46
47 * od-pe.c (decode_machine_number): Add ARMMAGIC value of 0xa00.
48 (is_pe_object_magic): Likewise.
49
45b8517a
NC
502023-05-26 Nick Clifton <nickc@redhat.com>
51
52 * od-pe.c: New file: Dumps fields in PE format headers.
53 * configure.ac (od_vectors): Add objdump_private_desc_pe for PE
54 format targets.
55 (od_files): Add od-pe for PE format targets.
56 * configure: Regenerate.
57 * Makefile.am (CFILES): Add od-pe.c
58 (EXTRA_objdump_SOURCE): Likewise.
59 * Makefile.in: Generate.
60 * NEWS: Mention the new feature.
61 * doc/binutils.texi: Document the new support.
62 * objdump.c (wide_output): Change from local to global.
63 * objdump.h (wide_output): Prototype.
64 (objdump_private_desc_pe): Prototype.
65 * testsuite/binutils-all/objdump.exp: Add a test of the new feature.
66
d9cc4b06
EL
672023-05-09 Enze Li <enze.li@gmx.com>
68
69 * README: Correct a typo.
70
b545d423
NC
712023-05-02 Nick Clifton <nickc@redhat.com>
72
73 * MAINTAINERS: Remove Dimity Diky as MSP430 maintainer.
74
8e7785b4
NC
752023-04-20 Nick Clifton <nickc@redhat.com>
76
77 * SECURITY.txt: New file.
78
28ab94f5
NC
792023-04-19 Nick Clifton <nickc@redhat.com>
80
81 PR 30355
82 * dwarf.c (read_and_display_attr_value): Correctly handle
83 DW_loclistx attributes that index a version 5 .debug_loclists
84 section.
85
c53c6186
NC
862023-04-17 Nick Clifton <nickc@redhat.com>
87
88 PR 30142
89 * rescoff.c (write_coff_file): Add the SEC_READONLY flag to the
28ab94f5 90 .rsrc section.
c53c6186 91
45f5fe46
NC
922023-04-11 Nick Clifton <nickc@redhat.com>
93
7bb9e56c
NC
94 PR 30327
95 * dwarf.c (read_and_display_attr_value): Warn if the number of
96 views is greater than the number of locations.
97
9f1c612b
NC
98 PR 30313
99 * dwarf.c (display_debug_lines_decoded): Check for an overlarge
100 number of files or directories.
101
688fe114
NC
102 PR 30312
103 * dwarf.c (prealloc_cu_tu_list): Always allocate at least one
104 entry.
105
45f5fe46
NC
106 PR 30311
107 * readelf.c (uncompress_section_contents): Check for a
108 suspiciously large uncompressed size.
109
8d17c53b
NC
1102023-03-30 Nick Clifton <nickc@redhat.com>
111
112 PR 30284
113 * dwarf.c (read_and_display_attr_value): Detect and ignore
114 negative base values.
115
80251d41
FC
1162023-03-23 Frederic Cambus <fred@statdns.com>
117
118 * readelf.c (get_segment_type): Handle PT_OPENBSD_MUTABLE segment
119 type.
120
97b75c42
NC
1212023-03-14 Nick Clifton <nickc@redhat.com>
122
123 PR 30227
124 * dwarf.c (process_cu_tu_index): Prevent excessive memory
125 allocation when nused is large and ncols is zero.
126
93c80543
TT
1272023-02-09 Tom Tromey <tromey@adacore.com>
128
129 * dwarf-mode.el: Bump version to 1.8.
130 (dwarf-insert-substructure): Tighten regexp.
131 (dwarf-refresh-all): New defun.
132 (dwarf-mode-map): Bind "A" to dwarf-refresh-all.
133 (dwarf-mode): Remove old FIXME.
134
3a8be578
NC
1352023-02-07 Nick Clifton <nickc@redhat.com>
136
137 PR 30080
138 * doc/binutils.texi (nm): Update description of the 'n' symbol
139 type.
140
be527f28
NC
1412023-01-31 Nick Clifton <nickc@redhat.com>
142
143 * po/sv.po: Updated Swedish translation.
144
b960c86c
NC
1452023-01-23 Nick Clifton <nickc@redhat.com>
146
147 * po/sv.po: Updated Swedish translation.
148
94e76498
NC
1492023-01-18 Nick Clifton <nickc@redhat.com>
150
151 PR 29993
152 * objcopy.c (merge_gnu_build_notes): Remember the last non-deleted
153 note in order to speed up the scan for matching notes.
154
69373ba1
NC
1552023-01-16 Nick Clifton <nickc@redhat.com>
156
157 * po/sv.po: Updated Swedish translation.
158
4004cf83
NC
1592023-01-09 Nick Clifton <nickc@redhat.com>
160
161 * po/bg.po: Updated Bulgarian translation.
162 * po/ro.po: Updated Romainian translation.
163
c362d597
NC
1642023-01-05 Nick Clifton <nickc@redhat.com>
165
166 * MAINTAINERS: Remove Stephen Casner as the PDP11 maintainer.
167
11982f9f
NC
1682023-01-03 Nick Clifton <nickc@redhat.com>
169
170 * po/fr.po: Updated French translation.
171 * po/uk.po: Updated Ukrainian translation.
172
a8f175d9
LM
1732023-01-03 Luis Machado <luis.machado@arm.com>
174
175 * readelf.c (get_note_type): Add support for NT_ARM_SSVE and
176 NT_ARM_ZA note types.
177
a72b0718
NC
1782022-12-31 Nick Clifton <nickc@redhat.com>
179
180 * 2.40 branch created.
181
826eed80
NC
1822022-12-31 Nick Clifton <nickc@redhat.com>
183
184 * po/ro.po: Updated Romanian translation.
185
75393a2d
NC
1862022-12-21 Nick Clifton <nickc@redhat.com>
187
188 PR 29924
189 * objdump.c (load_specific_debug_section): Check for excessively
190 large sections.
191
0d120726
TT
1922022-12-19 Tom Tromey <tromey@adacore.com>
193
194 * dwarf-mode.el (dwarf-do-refresh): Avoid compiler warning.
195
42f39fde
NC
1962022-12-19 Nick Clifton <nickc@redhat.com>
197
198 PR 29914
199 * dwarf.c (fetch_indexed_value): Fail if the section is not big
200 enough to contain a header size field.
201 (display_debug_addr): Fail if the computed address size is too big
202 or too small.
203
fa501b69
NC
2042022-12-16 Nick Clifton <nickc@redhat.com>
205
206 PR 29908
207 * dwarf.c (display_debug_addr): Check for corrupt header lengths.
208
6ef35c04
NC
2092022-12-01 Nick Clifton <nickc@redhat.com>
210
211 PR 25202
212 * objcopy.c (copy_object): Set VerilogDataEndianness to the
213 endianness of the input file.
214 (copy_main): Verifiy the value set by the --verilog-data-width
215 option.
216 * testsuite/binutils-all/objcopy.exp: Add tests of the new behaviour.
217 * testsuite/binutils-all/verilog-I4.hex: New file.
218
1a7e622b
NC
2192022-11-21 Nick Clifton <nickc@redhat.com>
220
221 PR 29764
222 * doc/binutils.texi (objdump): Note that the -m option supports
223 the <architecture>:<machine> syntax.
224
1da0b075
NC
2252022-11-04 Nick Clifton <nickc@redhat.com>
226
227 * README-how-to-make-a-release: Add instructions for uploading the
228 gprofng documentation.
229
18bf5643
NC
2302022-10-31 Nick Clifton <nickc@redhat.com>
231
232 PR 29457
233 * configure.ac: Add --enable-colored-disassembly.
234 * objdump.c: Add --disassembler-color=terminal.
235 * doc/binutils.texi (objdump): Document the new option.
236 * NEWS: Mention new feature.
237 * config.in: Regenerate in.
238 * configure: Regenerate.
239
f2ba47d6
NC
2402022-10-19 Nick Clifton <nickc@redhat.com>
241
242 * MAINTAINERS: Add section on patches, copyright and DCO.
243
7fd882d4
NC
2442022-10-12 Nick Clifton <nickc@redhat.com>
245
246 PR 29665
f2ba47d6 247 * objcopy.c (copy_object): Use the input filename when
7fd882d4
NC
248 reporting that a .gnu_debuglink section already exists.
249
907b52f4
NC
2502022-10-03 Nick Clifton <nickc@redhat.com>
251
252 * readelf.c (get_32bit_section_headers): Return false if the
253 e_shoff field is zero.
254 (get_64bit_section_headers): Likewise.
255
be5f79aa
NC
2562022-09-28 Nick Clifton <nickc@redhat.com>
257
258 PR 29628
259 * size.c (usage): Add -f.
260 * doc/binutils.texi (size): Add -f.
261
1588d98b
NC
2622022-09-20 Nick Clifton <nickc@redhat.com>
263
264 * objcopy.c (copy_object): Do not issue a warning message when
265 encountering empty .gnu.build.attribute sections.
266
e959744e
RP
2672022-09-14 Rupesh Potharla <Rupesh.Potharla@amd.com>
268
269 * testsuite/binutils-all/readelf.exp (readelf_wi_test): Extend
270 regexps to allow for output genreated by the Clang compiler.
271
e9a241e8
AM
2722022-09-12 Aaron Merey <amerey@redhat.com>
273
274 * objcopy.c (might_need_separate_debug_info): Add with_source_code to
275 the options that cause this function to return true.
276 (main.c): Add with_source_code to the options that enable
277 dump_any_debugging.
278
efc1521e
NC
2792022-09-09 Nick Clifton <nickc@redhat.com>
280
281 PR 29532
282 * objcopy.c (setup_section): Leave group sections intact when
283 creating separate debuginfo files.
284
2caffd34
NC
2852022-09-08 Nick Clifton <nickc@redhat.com>
286
287 PR 29523
288 * dwarf.c (display_debug_lines_decoded): Correctly handle DWARF-5
289 directory and filename tables.
290
d647c797
AM
2912022-09-02 Aaron Merey <amerey@redhat.com>
292
293 PR 29075
294 * objdump.c (find_separate_debug): New function. Finds the bfd
295 corresponding to the separate debuginfod of a given bfd.
296 (find_alt_debug): New function. Finds the bfd corresponding to the
297 .gnu_debugaltlink of a given bfd.
298 (slurp_file): Add bfd parameter. If a source file cannot be found
299 attempt to download it from debuginfod, if enabled.
300 (try_print_file_open): Add bfd parameter and pass it to slurp_file.
301 (show_line): If debuginfod is enabled, call
302 bfd_find_nearest_line_with_alt instead of bfd_find_nearest_line.
303
f4492fb6
NC
3042022-09-01 Nick Clifton <nickc@redhat.com>
305
306 PR 29534
307 * dllwrap.c: Replace uses of choose_temp_base() with
308 make_temp_file().
309 * dlltool.c: Likewise.
310 * resrc.c: Likewise.
311
25ee24d9
NC
3122022-08-23 Nick Clifton <nickc@redhat.com>
313
314 PR 29489
315 * dlltool.c (deterministic): New variable.
316 (gen_lib_file): If deterministic is true set the
317 BFD_DETERMINISTIC_OUTPUT flag.
318 (usage): Mention --deterministic-libraries and
319 --non-deterministic-libraries.
320 (long_options): Add new options.
321 (main): Parse new options.
322 * doc/binutils.texi: Document the new options.
323 * NEWS: Mention the new feature.
324
521f7268
NC
3252022-08-22 Nick Clifton <nickc@redhat.com>
326
327 * readelf.c (check_magic_number): New function. Checks the magic
328 bytes at the start of a file. If they are not the ELF format
329 magic values, then attempts to generate a helpful error message.
330 (process_file_header): Call check_magic_number.
331
a88c79b7
NC
3322022-08-09 Nick Clifton <nickc@redhat.com>
333
334 PR 29457
335 * objdump.c (disassembler_color): Change type to an enum.
336 (disassembler_extended_color): Remove.
337 (usage): Update.
338 (objdump_color_for_assembler_style): Update.
339 (main): Update initialisation of disassembler_color. If not
340 initialised via a command line option, set based upon terminal
341 output.
342 * doc/binutils.texi: Update description of disassmbler-color
343 option.
344 * testsuite/binutils-all/arc/objdump.exp: Add
345 --disassembler-color=off option when disassembling.
346 * testsuite/binutils-all/arm/objdump.exp: Likewise.
347
e838f9c2
NC
3482022-08-08 Nick Clifton <nickc@redhat.com>
349
350 * README-how-to-make-a-release: Add a link to the NEWS files in
351 the release announcement email.
352
0bd09323
NC
3532022-07-08 Nick Clifton <nickc@redhat.com>
354
355 * 2.39 branch created.
356
1dd02423
NC
3572022-07-01 Nick Clifton <nickc@redhat.com>
358
359 * dwarf.c (display_debug_rnglists): Add newline at end of listing.
360
aa40d66b
NC
3612022-06-30 Nick Clifton <nickc@redhat.com>
362
363 * dwarf.c (dwarf_select_sections_by_name): If the entry's value is
364 zero then clear the corresponding variable.
365 (dwarf_select_sections_by_letters): Likewise.
366 * testsuite/binutils-all/debuginfo.exp: Expect -WE and -wE
367 debuginfod tests to fail.
368
dbcbf67c
NC
3692022-06-28 Nick Clifton <nickc@redhat.com>
370
371 PR 29267
372 * dwarf.c (display_debug_rnglists): New function, broken out of..
373 (display_debug_ranges): ... here.
374 (read_and_display_attr_value): Correct calculation of index
375 displayed for DW_FORM_loclistx and DW_FORM_rnglistx.
376 * testsuite/binutils-all/x86-64/pr26808.dump: Update expected
377 output.
378
e3e5ae04
NC
3792022-06-27 Nick Clifton <nickc@redhat.com>
380
381 PR 29289
382 * dwarf.c (display_debug_names): Replace assert with a warning
383 message.
384
e98e7d9a
NC
3852022-06-27 Nick Clifton <nickc@redhat.com>
386
387 PR 29290
388 * dwarf.c (read_and_display_attr_value): Check that debug_info_p
389 is set before dereferencing it.
390
a3f1431a
NC
3912022-06-27 Nick Clifton <nickc@redhat.com>
392
393 * dwarf.c (fetch_indexed_string): Do not use length of first table
394 in string section as the length of every table in the section.
e98e7d9a 395
a3f1431a
NC
396 * testsuite/binutils-all/pr26112.r: Update expected output.
397
f18acc9c
KB
3982022-06-22 Kumar N, Bhuvanendra <Kavitha.Natarajan@amd.com>
399
400 * dwarf.c (fetch_indexed_string): Added new parameter
401 str_offsets_base to calculate the string offset.
402 (read_and_display_attr_value): Read DW_AT_str_offsets_base
403 attribute.
404 (process_debug_info): While allocating memory and initializing
405 debug_information, do it for do_debug_info also, if its true.
406 (load_separate_debug_files): Load .debug_str_offsets if exists.
407 * dwarf.h (struct debug_info): Add str_offsets_base field.
408
4491a7c1
MN
4092022-06-22 Marcus Nilsson <brainbomb@gmail.com>
410
411 * readelf.c: (slurp_relr_relocs) Use malloc instead of xmalloc
412 when allocating space for relocations.
413
f18acc9c 4142022-06-21 Kumar N, Bhuvanendra <Kavitha.Natarajan@amd.com>
ec41dd75
NC
415
416 * dwarf.h (struct debug_info): Add rnglists_base field.
417 * dwarf.c (read_and_display_attr_value): Read attribute DW_AT_rnglists_base.
418 (display_debug_rnglists_list): While handling DW_RLE_base_addressx,
419 DW_RLE_startx_endx, DW_RLE_startx_length items, pass the proper parameter
420 value to fetch_indexed_addr(), i.e. fetch the proper entry in .debug_addr section.
421 (display_debug_ranges): Add rnglists_base to the .debug_rnglists base address.
422 (load_separate_debug_files): Load .debug_addr section, if exists.
423
94585d6d
NC
4242022-05-20 Nick Clifton <nickc@redhat.com>
425
426 * dwarf.c (dwarf_select_sections_by_names): Return zero if no
427 sections were selected.
428 (dwarf_select_sections_by_letters): Likewise.
429 * dwarf.h: (dwarf_select_sections_by_names): Update prototype.
430 (dwarf_select_sections_by_letters): Update prototype.
431 * objdump.c (might_need_separate_debug_info): New function.
432 (dump_bfd): Call new function before attempting to load separate
433 debug info files.
434 (main): Do not enable dwarf section dumping for -WK or -WN.
435 * readelf.c (parse_args): Do not enable dwarf section dumping for
436 -wK or -wN.
437 (might_need_separate_debug_info): New function.
438 (process_object): Call new function before attempting to load
439 separate debug info files.
440 * testsuite/binutils-all/debuginfo.exp: Expect -WE and -wE
441 debuginfod tests to pass.
442 * testsuite/binutils-all/objdump.Wk: Add extra regexps.
443 * testsuite/binutils-all/readelf.k: Add extra regexps.
444
95086e1e
NC
4452022-05-19 Nick Clifton <nickc@redhat.com>
446
447 * dlltool.c (run): Initialise errmsg_fmt.
448 * dllwrap.c (run): Likewise.
449 * resrc.c (run_cmd): Likewise.
450 * mclex.c (mc_add_keyword): Initialise usz.
451 * srconv.c (wd_hd): Initialise hd.spare2.
452 * windmc.c (mc_add_node_lang): Initialise s.
453 (mc_generate_bin_item): Initialise cvt_txt.
454 (main): Initialise u.
455
2c3cc81e
NC
4562022-05-18 Nick Clifton <nickc@redhat.com>
457
458 PR 29135
459 * nm.c (non_weak): New variable.
460 (filter_symbols): When non-weak is true, ignore weak symbols.
461 (long_options): Add --no-weak.
462 (usage): Mention --no-weak.
463 (main): Handle -W/--no-weak.
464 * doc/binutils.texi: Document new feature.
465 * NEWS: Mention the new feature.
466 * testsuite/binutils-all/nm.exp: Add test of new feature.
467 * testsuite/binutils-all/no-weak.s: New test source file.
468
0d38576a
NC
4692022-04-25 Nick Clifton <nickc@redhat.com>
470
471 PR 29072
472 * testsuite/lib/binutils-common.exp (prune_warnings_extra): Filter
473 out notes about the executable stacjk behaviour beign deprecated.
474
278c98c8
NC
4752022-04-12 Nick Clifton <nickc@redhat.com>
476
477 PR 28992
478 * objcopy.c (is_strip_section_1): Do not delete debuglink sections
479 when stripping debug information.
480
19c26da6
NC
4812022-04-06 Nick Clifton <nickc@redhat.com>
482
483 PR 28981
484 * dwarf.c (fetch_indexed_value): Rename to fecth_indexed_addr and
485 return the address, rather than a string.
486 (fetch_indexed_value): New function - returns a value indexed by a
487 DW_FORM_loclistx or DW_FORM_rnglistx form.
488 (read_and_display_attr_value): Add support for DW_FORM_loclistx
489 and DW_FORM_rnglistx.
490 (process_debug_info): Load the loclists and rnglists sections.
491 (display_loclists_list): Add support for DW_LLE_base_addressx,
492 DW_LLE_startx_endx, DW_LLE_startx_length and
493 DW_LLE_default_location.
494 (display_offset_entry_loclists): New function. Displays a
495 .debug_loclists section that contains offset entry tables.
496 (display_debug_loc): Call the new function.
497 (display_debug_rnglists_list): Add support for
498 DW_RLE_base_addressx, DW_RLE_startx_endx and DW_RLE_startx_length.
499 (display_debug_ranges): Display the contents of the section's
500 header.
501 * dwarf.h (struct debug_info): Add loclists_base field.
502 * testsuite/binutils-all/dw5.W: Update expected output.
503 * testsuite/binutils-all/x86-64/pr26808.dump: Likewise.
504
a171378a
JB
5052022-04-01 John Baldwin <jhb@FreeBSD.org>
506
507 * readelf.c (get_freebsd_elfcore_note_type): Handle
508 NT_FREEBSD_X86_SEGBASES.
509
add0eb9d
NC
5102022-03-31 Nick Clifton <nickc@redhat.com>
511
512 * arlex.l: Accept the plus character as part of a filename.
513
260ecdce
FS
5142022-03-16 Fangrui Song <maskray@google.com>
515
516 PR binutils/28926
517 * objcopy.c (filter_symbols): Apply weaken to STB_GNU_UNIQUE symbols
518 * NEWS: Mention feature.
519 * testsuite/binutils-all/objcopy.exp (objcopy_test_symbol_manipulation): New test.
520 * testsuite/binutils-all/weaken-gnu-unique.s: New.
521
d65c0ddd
MS
5222022-03-16 Martin Storsjö <martin@martin.st>
523
524 PR 28885
525 * dlltool.c (main): use imp_name rather than dll_name when
526 generating a temporary file name.
527
0c857ef4
SM
5282022-03-16 Simon Marchi <simon.marchi@efficios.com>
529
530 * readelf.c (dump_relocations): Handle EM_AMDGPU.
531
2952f10c
SM
5322022-03-16 Simon Marchi <simon.marchi@efficios.com>
533
534 * Makefile.am (readelf_CFLAGS): New.
535 (readelf_LDADD): Add MSGPACK_LIBS.
536 * Makefile.in: Re-generate.
537 * config.in: Re-generate.
538 * configure: Re-generate.
539 * configure.ac: Add --with-msgpack flag and check for msgpack
540 using pkg-config.
541 * readelf.c: Include msgpack.h if HAVE_MSGPACK.
542 (print_note_contents_hex): New.
543 (print_indents): New.
544 (dump_msgpack_obj): New.
545 (dump_msgpack): New.
546 (print_amdgpu_note): New.
547 (process_note): Handle NT_AMDGPU_METADATA note contents.
548 Use print_note_contents_hex.
549
28cdbb18
SM
5502022-03-16 Simon Marchi <simon.marchi@efficios.com>
551
552 * readelf.c (get_amdgpu_elf_note_type): New.
553 (process_note): Handle "AMDGPU" notes.
554
c077c580
SM
5552022-03-16 Simon Marchi <simon.marchi@efficios.com>
556
557 * readelf.c: Include elf/amdgcn.h.
558 (decode_AMDGPU_machine_flags): New.
559 (get_machine_flags): Handle flags for EM_AMDGPU machine type.
560
37870be8
SM
5612022-03-16 Simon Marchi <simon.marchi@efficios.com>
562
563 * readelf.c (get_osabi_name): Handle EM_AMDGPU OS ABIs.
564
f4f95df3
NC
5652022-03-16 Nick Clifton <nickc@redhat.com>
566
567 * po/sr.po: Updated Serbian translation.
568
cda8dc94
TT
5692022-03-15 Tom Tromey <tromey@adacore.com>
570
571 * dwarf-mode.el: Now 1.7.
572 (dwarf--sentinel): Switch to the process buffer.
573
bb368aad
VM
5742022-03-11 Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
575
576 * MAINTAINERS: Add gprofng maintainer.
577 * README-how-to-make-a-release: Add gprofng.
578
bed566bb
NC
5792022-03-10 Nick Clifton <nickc@redhat.com>
580
581 * dwarf.c (use_debuginfod): New variable. Set to 1.
582 (load_separate_debug_info): Only call
583 debuginfod_fetch_separate_debug_info is use_debuginfod is true.
584 (dwarf_select_sections_by_names): Add do-not-use-debuginfod and
585 use-debuginfod options.
586 (dwarf_select_sections_by_letters): Add D and E options.
587 * dwarf.h (use_debuginfod): New extern.
588 * objdump.c (usage): Mention the new options.
589 * readelf.c (usage): Likewise.
590 * doc/binutils.texi: Document the new options.
591 * doc/debug-options.texi: Describe the new options.
592 * NEWS: Mention the new feature.
593 * testsuite/binutils-all/debuginfod.exp: Add tests of the new
594 options.
595
d17e797f
MR
5962021-03-06 Maciej W. Rozycki <macro@orcam.me.uk>
597
598 * testsuite/binutils-all/mips/mips1-branch-alias.d: New test.
599 * testsuite/binutils-all/mips/mips1-branch-noalias.d: New test.
600 * testsuite/binutils-all/mips/mips2-branch-alias.d: New test.
601 * testsuite/binutils-all/mips/mips2-branch-noalias.d: New test.
602 * testsuite/binutils-all/mips/mips32r6-branch-alias.d: New test.
603 * testsuite/binutils-all/mips/mips32r6-branch-noalias.d: New
604 test.
605 * testsuite/binutils-all/mips/micromips-branch-alias.d: New
606 test.
607 * testsuite/binutils-all/mips/micromips-branch-noalias.d: New
608 test.
609 * testsuite/binutils-all/mips/mips-branch-alias.s: New test
610 source.
611 * testsuite/binutils-all/mips/micromips-branch-alias.s: New test
612 source.
613 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
614
84a9f195
SM
6152022-03-04 Simon Marchi <simon.marchi@polymtl.ca>
616
617 * readelf.c (process_dynamic_section): Fix indentation.
618
0f38fd87
NC
6192022-02-09 Nick Clifton <nickc@redhat.com>
620
621 * README-how-to-make-a-release: Update after the 2.38 release.
622
5fa0c223
NC
6232022-01-27 Nick Clifton <nickc@redhat.com>
624
625 * po/sv.po: Updated Swedish translation.
626
5fe73d46
NC
6272022-01-24 Nick Clifton <nickc@redhat.com>
628
629 * po/bg.po: Updated Bulgarian translation.
630 * po/fr.po: Updated French translation.
631 * po/ro.po: Updated Romanian translation.
632 * po/uk.po: Updated Ukranian translation.
633
58de646b
MS
6342022-01-22 Martin Storsjö <martin@martin.st>
635
636 * dlltool.c (main): Allow inferring tmp_prefix from the dll name
637 from a def file.
638
f908e960
NC
6392022-01-22 Nick Clifton <nickc@redhat.com>
640
641 * configure: Regenerate.
642 * po/binutils.pot: Regenerate.
643
a74e1cb3
NC
6442022-01-22 Nick Clifton <nickc@redhat.com>
645
646 * 2.38 release branch created.
647
6c037fdb
NC
6482022-01-17 Nick Clifton <nickc@redhat.com>
649
650 * Makefile.in: Regenerate.
651
d1b69c50
FS
6522022-01-11 Fangrui Song <maskray@google.com>
653
654 PR binutils/28759
655 * ar.c (long_options): Add --thin.
656 (usage) Add --thin. Deprecate -T without diagnostics.
657 * doc/binutils.texi: Add doc.
658 * NEWS: Mention --thin.
659 * binutils/testsuite/binutils-all/ar.exp: Add tests.
660
c4a8df19
MS
6612022-01-11 Martin Storsjö <martin@martin.st>
662
663 * dlltool.c (main): If a prefix has not been provided, attempt to
664 use a deterministic one based upon the dll name.
665
0e9f1c04 6662022-01-07 Pavel Mayorov <pmayorov@cloudlinux.com>
af4004d1
NC
667
668 PR 28718
0e9f1c04
PM
669 * dwarf.c: Revert previous delta.
670 (debug_get_real_type): Reject indirect types that point to
671 indirect types.
672 (debug_get_type_name, debug_get_type_size, debug_write_type):
673 Likewise.
674
6752022-01-06 Nick Clifton <nickc@redhat.com>
676
af4004d1
NC
677 * debug.c (debug_write_type): Allow for malicious recursion via
678 indirect debug types.
679
e2c0cef9
NC
6802022-01-04 Nick Clifton <nickc@redhat.com>
681
682 PR 28716
683 * dwarf.c (load_build_id_debug_file): Remove spurious printf.
684
61ab1364
NC
6852021-12-16 Nick Clifton <nickc@redhat.com>
686
687 PR 28697
688 * dwarf.c (load_build_id_debug_file): New function.
689 (try_build_id_prefix): New function.
690 (check_for_and_load_links): Call load_build_id_debug_file.
691 (debug_displays): Add entry for .note.gnu.build-id.
692 * dwarf.h (enum dwarf_section_display_enum): Add
693 note_gnu_build_id.
694 * testsuite/binutils-all/debuginfod.exp (test_fetch_debuglink):
695 Fix regexp for loads via debuglink section.
696
066624ff
CX
6972021-12-03 Chenghua Xu <xuchenghua@loongson.cn>
698
699 * MAINTAINERS: Add myself and Zhensong Liu
700 as the LoongArch maintainer.
701
117e35f5
NC
7022021-12-02 Nick Clifton <nickc@redhat.com>
703
704 PR 28645
705 * dwarf.c (process_cu_tu_index): Add test for overruning section
706 whilst processing slots.
707
6e2acee1
RM
7082021-11-30 Roland McGrath <mcgrathr@google.com>
709
710 * doc/local.mk: Give each man page target its missing dependency on
711 doc/$(am__dirstamp).
712
9745b5a7
NC
7132021-11-30 Nick Clifton <nickc@redhat.com>
714
715 * dwarf.c (find_debug_info_for_offset): Use dwarf_vma type for
716 offsets, sizes and ranges.
717 (display_loc_list): Likewise. Also use print_dwarf_vma to print
718 the offset.
719 (display_loclists_list): Likewise.
720 (display_loc_list_dwo): Likewise.
721 (display_debug_str): Likewise.
722 (display_debug_aranges): Likewise.
723 (display_debug_ranges_list): Likewise.
724 (display_debug_rnglists_list): Likewise.
725 (display_debug_ranges): Likewise.
726
8fee99c3
NC
7272021-11-29 Nick Clifton <nickc@redhat.com>
728
729 PR 28632
730 * strings.c (usage): Update desciption of -n option.
731 * doc/binutils.texi: Likewise.
732
d8ed269e
NC
7332021-11-24 Nick Clifton <nickc@redhat.com>
734
735 PR 28564
736 * sysdump.c (getCHARS): Check for an out of bounds read.
737
a7fd1186
FS
7382021-11-16 Fangrui Song <maskray@google.com>
739
740 * readelf.c (enum relocation_type): New.
741 (slurp_relr_relocs): New.
742 (dump_relocations): Change is_rela to rel_type.
743 Dump RELR.
744 (dynamic_relocations): Add DT_RELR.
745 (process_relocs): Check SHT_RELR and DT_RELR.
746 (process_dynamic_section): Store into dynamic_info for
747 DT_RELR/DT_RELRENT/DT_RELRSZ.
748
b3aa80b4
NC
7492021-11-09 Nick Clifton <nickc@redhat.com>
750
751 * nm.c: Add --unicode option to control how unicode characters are
752 handled.
753 * objdump.c: Likewise.
754 * readelf.c: Likewise.
755 * strings.c: Likewise.
756 * binutils.texi: Document the new feature.
757 * NEWS: Document the new feature.
758 * testsuite/binutils-all/unicode.exp: New file.
759 * testsuite/binutils-all/nm.hex.unicode
760 * testsuite/binutils-all/strings.escape.unicode
761 * testsuite/binutils-all/objdump.highlight.unicode
762 * testsuite/binutils-all/readelf.invalid.unicode
763
dac784d0
TT
7642021-11-03 Tom Tromey <tromey@adacore.com>
765
766 * dwarf.c (display_debug_loc): Use section name in warnings.
767
10909ea8
NA
7682021-10-25 Nick Alcock <nick.alcock@oracle.com>
769
770 * objdump.c (usage): --ctf now has an optional argument.
771 (main): Adjust accordingly.
772 (dump_ctf): Default it.
773 * doc/ctf.options.texi: Adjust.
774
80b56fad
NA
7752021-10-25 Nick Alcock <nick.alcock@oracle.com>
776
777 * objdump.c (usage): --ctf-parent now takes a name, not a section.
778 (dump_ctf): Don't open a separate section; use the parent_name in
779 ctf_dict_open instead. Use ctf_archive_next, not ctf_archive_iter,
780 so we can pass down a member count.
781 (dump_ctf_archive_member): Add the member count; don't return
782 anything. Import parents into children no matter what the
783 parent's name, while still avoiding displaying the header for the
784 common parent name of ".ctf".
785 * readelf.c (usage): Adjust similarly.
786 (dump_section_as_ctf): Likewise.
787 (dump_ctf_archive_member): Likewise. Never stop iterating over
788 archive members, even if ctf_dump of one member fails.
789 * doc/ctf.options.texi: Adjust.
790
cf487499
NC
7912021-10-19 Nick Clifton <nickc@redhat.com>
792
793 * nm.c (filter_symbols): Test for a NULL name before checking to
794 see if the symbol is __gnu_lto_slim.
795 * objcopy.c (filter_symbols): Likewise.
796
7325ba79
NC
7972021-09-30 Nick Clifton <nickc@redhat.com>
798
799 * objcopy.c (filter_symbols): Fail if attempting to dredefine
800 symbols in an LTO object file.
801
b9004024
NA
8022021-09-27 Nick Alcock <nick.alcock@oracle.com>
803
804 * configure: Regenerate.
805
6a7f5766
AB
8062021-09-20 Andrew Burgess <andrew.burgess@embecosm.com>
807
808 * testsuite/binutils-all/riscv/riscv.exp: New file.
809 * testsuite/binutils-all/riscv/unknown.d: New file.
810 * testsuite/binutils-all/riscv/unknown.s: New file.
811
64dbf74d
LM
8122021-09-07 Luis Machado <luis.machado@linaro.org>
813
814 Revert: [AArch64] MTE corefile support
815
816 2021-05-21 Luis Machado <luis.machado@linaro.org>
817
818 * readelf.c (get_note_type): Handle NT_MEMTAG note types.
819
4f212c55
NC
8202021-08-11 Nick Clifton <nickc@redhat.com>
821
822 * po/pt.po: Updated Portuguese translation.
823
3ee0cd9e
NC
8242021-08-10 Nick Clifton <nickc@redhat.com>
825
826 * po/sr.po: Updated Serbian translation.
827
c58830e4
NC
8282021-07-16 Nick Clifton <nickc@redhat.com>
829
830 * po/sv.po: Updated Swedish translation.
831
51d29b8c
CC
8322021-07-14 Clément Chigot <clement.chigot@atos.net>
833
834 * dwarf.h (struct dwarf_section): Add XCOFF name.
835 * dwarf.c (struct dwarf_section_display): Update.
836 * objdump.c (load_debug_section): Add XCOFF name handler.
837 (dump_dwarf_section): Likewise.
838
0200b0fe
NC
8392021-07-12 Nick Clifton <nickc@redhat.com>
840
841 * po/fr.po: Updated French translation.
842
9039747f
AM
8432021-07-10 Alan Modra <amodra@gmail.com>
844
845 PR 28069
846 * dwarf.c (display_discr_list): Remove assertions. Delete "end"
847 parameter, use initial "data" pointer as the end. Formatting.
848 Don't count down bytes as they are read.
849 (read_and_display_attr_value): Adjust display_discr_list call.
850 (read_and_print_leb128): Don't pass __FILE__ and __LINE__ to
851 report_leb_status.
852 * dwarf.h (report_leb_status): Don't report file and line
853 numbers. Delete file and lnum parameters,
854 (READ_ULEB, READ_SLEB): Adjust.
855
b737d304
RO
8562021-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
857
858 * configure.ac: Check for strnlen declaration.
859 * configure, config.in: Regenerate.
860
40e1d303
AM
8612021-07-05 Alan Modra <amodra@gmail.com>
862
863 PR 28047
864 * dwarf.c (get_type_abbrev_from_form): Add cu_end parameter.
865 Check DW_FORM_ref1 etc. arg against cu_end rather than end of
866 section. Adjust all callers.
867
346d80ef
NC
8682021-07-03 Nick Clifton <nickc@redhat.com>
869
870 * configure: Regenerate.
871 * po/opcodes.pot: Regenerate.
872 * README-how-to-make-a-release: Update.
873
51419248
NC
8742021-07-03 Nick Clifton <nickc@redhat.com>
875
876 * 2.37 release branch created.
877
4ff0bb2d
AM
8782021-07-02 Alan Modra <amodra@gmail.com>
879
880 PR 28048
881 * dwarf.c (get_type_signedness): Don't run off end of buffer
882 printing DW_FORM_string attribute.
883
1b8d1f5f
NC
8842021-07-01 Nick Clifton <nickc@redhat.com>
885
886 PR 28029
887 * testsuite/binutils-all/debuginfod.exp: Replace -wK with -wk.
888
75a2da57
AH
8892021-07-01 Andrei Homescu <ah@immunant.com>
890
891 * readelf.c (process_archive): Reset file position to the
892 beginning when calling process_object for thin archive members.
893 * testsuite/binutils-all/readelf.exp: Add test.
894 * testsuite/binutils-all/readelf.h.thin: New file.
895
c63fc368
NC
8962021-06-30 Tom Tromey <tom@tromey.com>
897
898 * dwarf.c (read_and_display_attr_value): Handle
899 DW_FORM_implicit_const.
900
280c57ff
RH
9012021-06-30 Richard Henderson <richard.henderson@linaro.org>
902
903 * dwarf.c (display_debug_frames): Both DW_CFA_def_cfa_sf
904 and DW_CFA_def_cfa_offset_sf have a signed offset.
905
539b54f0
AM
9062021-06-19 Alan Modra <amodra@gmail.com>
907
908 * dwarf.c (display_debug_lines_decoded): Use memcpy rather than
909 strncpy when trimming file name length to MAX_FILENAME_LENGTH.
910 Don't make an unnecessary copy when length is good.
911
5a767724
L
9122021-06-18 H.J. Lu <hongjiu.lu@intel.com>
913
914 * readelf.c (print_gnu_property_note): Handle
915 GNU_PROPERTY_UINT32_AND_LO, GNU_PROPERTY_UINT32_AND_HI,
916 GNU_PROPERTY_UINT32_OR_LO and GNU_PROPERTY_UINT32_OR_HI.
917
c8795e1f
NC
9182021-06-15 Nick Clifton <nickc@redhat.com>
919
920 * readelf.c (get_note_type): Add support for NT_GO_BUILDID.
921
93df3340
AM
9222021-06-15 Alan Modra <amodra@gmail.com>
923
924 * readelf.c (locate_dynamic_section, is_pie): New functions.
925 (get_file_type): Replace e_type parameter with filedata. Call
926 is_pie for ET_DYN. Update all callers.
927 (process_program_headers): Use local variables dynamic_addr and
928 dynamic_size, updating filedata on exit from function. Set
929 dynamic_size of 1 to indicate no dynamic section or segment.
930 Update tests of dynamic_size throughout.
931 * testsuite/binutils-all/x86-64/pr27708.dump: Update expected output.
932
0121f438
EB
9332021-06-14 Eric Botcazou <ebotcazou@adacore.com>
934
935 * dwarf.c (struct abbrev_attr): Change type of implicit_const.
936 (add_abbrev_attr): Likewise.
937 (process_abbrev_set): Likewise.
938 (display_debug_abbrev): Adjust to above change.
939
8c60e272
AM
9402021-06-12 Alan Modra <amodra@gmail.com>
941
942 * readelf.c (process_file_header): Don't clear section_headers.
943
e331b18d
AM
9442021-06-12 Alan Modra <amodra@gmail.com>
945
946 * readelf.c (get_section_headers): Don't test e_shoff here, leave
947 that to get_32bit_section_headers or get_64bit_section_headers.
948 (process_object): Throw away section header read to print file
949 header extension.
950
066f8fbe
AM
9512021-06-11 Alan Modra <amodra@gmail.com>
952
953 * readelf.c (struct filedata): Move archive_file_offset and
954 archive_file_size earlier.
955 (free_filedata): Clear using memset.
956
4de91c10
AM
9572021-06-11 Alan Modra <amodra@gmail.com>
958
959 * readelf.c (GET_ELF_SYMBOLS): Delete. Replace with..
960 (get_elf_symbols): ..this new function throughout.
961 (get_32bit_section_headers): Don't free section_headers.
962 (get_64bit_section_headers): Likewise.
963 (get_section_headers): New function, use throughout in place of
964 32bit and 64bit variants.
965 (get_dynamic_section): Similarly.
966 (process_section_headers): Don't free filedata memory here.
967 (get_file_header): Don't get section headers here..
968 (process_object): ..Read them here instead. Don't exit without
969 freeing filedata memory.
970
cc96519f
NC
9712021-06-09 Nick Clifton <nickc@redhat.com>
972
973 * MAINTAINERS: Remove Daniel Jacobwitz from the maintainers list.
974
6bee34a1
JB
9752021-06-07 Jan Beulich <jbeulich@suse.com>
976
977 * dwarf.c (display_debug_aranges): Add u suffix to constant.
978
63e47e10
AM
9792021-05-29 Alan Modra <amodra@gmail.com>
980
981 * objdump (usage): Add missing \n.
982
d6249f5f
AM
9832021-05-29 Alan Modra <amodra@gmail.com>
984
985 * readelf.c (parse_args): Call dwarf_select_sections_all on
986 --debug-dump without optarg.
987 (usage): Associate -w and --debug-dump options closely.
988 Split up help message. Remove extraneous blank lines around
989 ctf help.
990 * objdump.c (usage): Similarly.
991
9204ccd4
MR
9922021-05-29 Maciej W. Rozycki <macro@orcam.me.uk>
993
994 * testsuite/binutils-all/mips/mips-xpa-virt-1.d: Correct CFC0
995 operand disassembly.
996 * testsuite/binutils-all/mips/mips-xpa-virt-3.d: Likewise.
997
9623cc5d
MR
9982021-05-29 Maciej W. Rozycki <macro@orcam.me.uk>
999
1000 * testsuite/binutils-all/mips/mips-xpa-virt-1.d: Use `mips:3000'
1001 machine for disassembly.
1002 * testsuite/binutils-all/mips/mips-xpa-virt-2.d: Likewise.
1003 * testsuite/binutils-all/mips/mips-xpa-virt-3.d: Likewise.
1004 * testsuite/binutils-all/mips/mips-xpa-virt-4.d: Likewise.
1005
1273b2f8
L
10062021-05-28 H.J. Lu <hongjiu.lu@intel.com>
1007
1008 PR ld/27905
1009 * readelf.c (decode_x86_feature_2): Revert commit 50c95a739c9.
1010
6643bb00
AM
10112021-05-27 Alan Modra <amodra@gmail.com>
1012
1013 * readelf (usage): Order -w letters to match --debug-dump= and
1014 move common '=' for --debug-dump out of brackets.
1015
50c95a73
L
10162021-05-26 H.J. Lu <hongjiu.lu@intel.com>
1017
1018 PR ld/27905
1019 * readelf.c (decode_x86_feature_2): Support
1020 GNU_PROPERTY_X86_FEATURE_2_CODE16.
1021
01a8c731
CX
10222021-05-23 Tiezhu Yang <yangtiezhu@loongson.cn>
1023
1024 * readelf.c (get_machine_name): Change Loongson Loongarch to
1025 LoongArch.
1026
3b2bef8b
LM
10272021-05-21 Luis Machado <luis.machado@linaro.org>
1028
1029 * readelf.c (get_note_type): Add missing NT_ARM_* entries.
1030
894982bf
LM
10312021-05-21 Luis Machado <luis.machado@linaro.org>
1032
1033 * readelf.c (get_note_type): Handle NT_MEMTAG note types.
1034
c485e475
ES
10352021-05-19 Eli Schwartz <eschwartz@archlinux.org>
1036
1037 * dwarf.c (ENABLE_CHECKING): Define to 0 if not previously set.
1038
1b3892be
AM
10392021-05-19 Alan Modra <amodra@gmail.com>
1040
1041 PR 27884
1042 * dwarf.c (get_type_abbrev_from_form): Replace cu_offset_return
1043 param with map_return, and return map for DW_FORM_ref_addr.
1044 (get_type_signedness): Adjust calls to get_type_abbrev_from_form.
1045 Pass returned cu map start and end to recursive call.
1046 (read_and_display_attr_value): Similarly.
1047
9d9e2a34
AM
10482021-05-19 Alan Modra <amodra@gmail.com>
1049
1050 PR 27879
1051 * sysdump.c (getBARRAY): Sanity check size against max.
1052 (getINT): Avoid UB shift left.
1053
b9c0d703
AM
10542021-05-15 Alan Modra <amodra@gmail.com>
1055
1056 * dwarf.c (process_cu_tu_index): Avoid pointer UB. Use _mul_overflow.
1057 Delete dead code.
1058
bb19bf12
AM
10592021-05-15 Alan Modra <amodra@gmail.com>
1060
1061 * dwarf.c (display_gdb_index): Avoid pointer UB and overflow in
1062 length calculations.
1063
d7870f63
AM
10642021-05-15 Alan Modra <amodra@gmail.com>
1065
1066 * dwarf.c (display_debug_names): Complain when header length is
1067 too small. Avoid pointer UB. Sanity check augmentation string,
1068 CU table, TU table and foreign TU table sizes.
1069
5897a389
AM
10702021-05-15 Alan Modra <amodra@gmail.com>
1071
1072 * dwarf.c (display_debug_frames): Delete initial_length_size.
1073 Avoid pointer UB. Constrain data reads to length given in header.
1074 Sanity check cie header length. Only skip up to next FDE on
1075 finding augmentation data too long.
1076
c93c4a85
AM
10772021-05-15 Alan Modra <amodra@gmail.com>
1078
1079 * dwarf.c (read_cie): Add more sanity checks to ensure data
1080 pointer is not bumped past end.
1081
b4951546
AM
10822021-05-15 Alan Modra <amodra@gmail.com>
1083
1084 * dwarf.c (display_debug_ranges): Delete initial_length_size.
1085 Correct fallback size calculated on finding a reloc. Constrain
1086 data reads to length given in header. Avoid pointer UB.
1087
669f463d
AM
10882021-05-15 Alan Modra <amodra@gmail.com>
1089
1090 * dwarf.c (display_debug_rnglists_list): Avoid pointer UB.
1091
5250d2f0
AM
10922021-05-15 Alan Modra <amodra@gmail.com>
1093
1094 * dwarf.c (display_debug_str_offsets): Constrain reads to length
1095 given in header.
1096
6ca07350
AM
10972021-05-15 Alan Modra <amodra@gmail.com>
1098
1099 * dwarf.c (display_debug_aranges): Delete initial_length_size.
1100 Use end_ranges to constrain data reads to header length. Avoid
1101 pointer UB.
1102
78480097
AM
11032021-05-15 Alan Modra <amodra@gmail.com>
1104
1105 * dwarf.c (display_loc_list): Avoid pointer UB. Correct check
1106 before reading uleb length. Warn on excess length.
1107
b0d461ec
AM
11082021-05-15 Alan Modra <amodra@gmail.com>
1109
1110 * dwarf.c (display_debug_macro): Print strings that might not
1111 be zero terminated with %*s. Don't bump curr if unterminated.
1112
46d1214d
AM
11132021-05-15 Alan Modra <amodra@gmail.com>
1114
1115 * dwarf.c (get_line_filename_and_dirname): Delete initial_length_size.
1116 Simplify length sanity check, and check for too small lengths.
1117 Constrain data reads to header length. Avoid pointer UB.
1118
c03df922
AM
11192021-05-15 Alan Modra <amodra@gmail.com>
1120
1121 * dwarf.c (display_debug_macinfo): Print strings that might not
1122 be zero terminated with %*s. Don't bump curr if unterminated.
1123
35b2c89e
AM
11242021-05-15 Alan Modra <amodra@gmail.com>
1125
1126 * dwarf.c (display_debug_pubnames_worker): Delete initial_length_size.
1127 Simplify length check. Constrain reads to length given by header.
1128
56051e28
AM
11292021-05-15 Alan Modra <amodra@gmail.com>
1130
1131 * dwarf.c (display_debug_lines_decoded): Don't use strnlen when
1132 we have already checked for NUL termination.
1133
37195e23
AM
11342021-05-15 Alan Modra <amodra@gmail.com>
1135
1136 * dwarf.c (read_debug_line_header): Delete initial_length_size.
1137 Avoid pointer UB. Keep within length specified by header.
1138 Delete dead code.
1139
edba4e4a
AM
11402021-05-15 Alan Modra <amodra@gmail.com>
1141
1142 * dwarf.c (process_debug_info): Always do the first CU length
1143 scan for sanity checks. Remove initial_length_size var and
1144 instead calculate end_cu. Use end_cu to limit data reads.
1145 Delete now dead code checking length.
1146
ebb17864
AM
11472021-05-15 Alan Modra <amodra@gmail.com>
1148
1149 * dwarf.c (SAFE_BYTE_GET_INTERNAL): Assert only when ENABLE_CHECKING.
1150
fc5e0925
AM
11512021-05-15 Alan Modra <amodra@gmail.com>
1152
1153 * bucomm.h (_mul_overflow): Define.
1154 * dwarf.c (get_encoded_value): Avoid pointer UB.
1155
b96a1bcb
AM
11562021-05-13 Alan Modra <amodra@gmail.com>
1157
1158 PR 27861
1159 * dwarf.c (display_debug_str_offsets): Sanity check dwarf5
1160 header length.
1161
d21f875d
AM
11622021-05-13 Alan Modra <amodra@gmail.com>
1163
1164 PR 27860
1165 * dwarf.c (display_debug_frames): Sanity check cie_off before
1166 attempting to read cie.
1167
a7077ce7
AM
11682021-05-12 Alan Modra <amodra@gmail.com>
1169
1170 * dwarf.c (process_extended_line_op): Don't bump data pointer past
1171 end when strnlen doesn't find string terminator.
1172 (decode_location_expression): Remove dead code.
1173 (skip_attr_bytes): Remove const from end param. Ensure data
1174 pointer doesn't pass end.
1175 (get_type_signedness): Remove const from end param.
1176 (read_and_display_attr_value): Ensure data pointer doesn't pass end.
1177 (display_debug_lines_raw, display_debug_lines_decoded): Likewise.
1178 (display_debug_pubnames_worker): Likewise.
1179 (display_debug_pubnames_worker): Use SAFE_BYTE_GET_AND INC rather
1180 than blindly incrementing data pointer.
1181 (display_debug_addr, display_debug_str_offsets): Likewise. Don't
1182 compare pointers, compare lengths.
1183
6d1ad6f7
AM
11842021-05-12 Alan Modra <amodra@gmail.com>
1185
1186 * dwarf.c (SAFE_BYTE_GET_INTERNAL): Define.
1187 (SAFE_BYTE_GET, SAFE_BYTE_GET_AND_INC): Define using the above.
1188 (SAFE_SIGNED_BYTE_GET, SAFE_SIGNED_BYTE_GET_AND_INC): Likewise.
1189 (display_discr_list): Use SAFE_BYTE_GET_AND_INC rather than
1190 SAFE_BYTE_GET followed by increment.
1191 (process_debug_info): Likewise, and test bytes remaining before
1192 incrementing section_begin rather than using pointer comparison.
1193 (display_debug_names): Pass lvalue as SAFE_BYTE_GET PTR.
1194 (process_cu_tu_index): Likewise for SAFE_BYTE_GET_AND_INC.
1195
af2ddf69
AM
11962021-05-12 Alan Modra <amodra@gmail.com>
1197
1198 * dwarf.c (dwarf_vmatoa64, SAFE_BYTE_GET64, add64): Delete.
1199 (skip_attr_bytes): Replace use of SAFE_BYTE_GET64 with
1200 SAFE_BYTE_GET_AND_INC.
1201 (read_and_display_attr_value): Likewise. Print using dwarf_vmatoa.
1202 (process_debug_info, process_cu_tu_index): Likewise.
1203 * elfcomm.c (byte_put, byte_put_little_endian, byte_put_big_endian),
1204 (byte_get, byte_get_little_endian, byte_get_big_endian),
1205 (byte_get_signed): Make size param unsigned. Remove code dealing
1206 with 4-byte elf_vma.
1207 (byte_get_64): Delete.
1208 * elfcomm.h (byte_put, byte_put_little_endian, byte_put_big_endian),
1209 (byte_get, byte_get_little_endian, byte_get_big_endian),
1210 (byte_get_signed): Update prototypes.
1211 (byte_get_64): Delete.
1212
0d872fca
AM
12132021-05-12 Alan Modra <amodra@gmail.com>
1214
1215 PR 27836
1216 * dwarf.c (display_debug_frames): Don't compare pointers derived
1217 from user input. Test offset against bounds instead.
1218
55b26492
AM
12192021-05-12 Alan Modra <amodra@gmail.com>
1220
1221 PR 27853
1222 * dwarf.c (display_formatted_table): Test for data >= end rather
1223 than data == end.
1224 (process_extended_line_op): Likewise.
1225 (display_debug_lines_raw): Likewise.
1226 (display_debug_lines_decoded): Likewise.
1227
5ab39075
AM
12282021-05-12 Alan Modra <amodra@gmail.com>
1229
1230 PR 27849
1231 * dwarf.c (fetch_indexed_string): Correct length sanity checks.
1232 Sanity check section size for version and padding too. Correct
1233 index sanity check. Handle multiple tables in .debug_str_offsets.
1234
d30182b5
HPN
12352021-05-11 Hans-Peter Nilsson <hp@axis.com>
1236
1237 * dwarf.c (process_abbrev_set): Properly parenthesize before
1238 casting to unsigned long.
1239
f2f9554b
AM
12402021-05-11 Alan Modra <amodra@gmail.com>
1241
1242 PR 27845
1243 * dwarf.c (process_abbrev_set): Replace start and end parameters
1244 with section, abbrev_base, abbrev_size, abbrev_offset. Update
1245 all callers. Sanity check parameters correctly and emit warnings
1246 here rather than..
1247 (process_debug_info): ..here.
1248
749c7002
TW
12492021-05-10 Thomas Wolff <towo@towo.net>
1250
1251 PR 4356
1252 PR 26865
1253 PR 27594
1254 * windres.c (quot): Revert previous delta. Do not use double
1255 quotes when spaces are detected in options.
1256 * doc/binutils.texi (windres): Remove suggestion that the
1257 --preprocessor option can take arguments.
1258
2d4b4986
AM
12592021-05-10 Alan Modra <amodra@gmail.com>
1260
1261 * dwarf.c (SAFE_BYTE_GET): Check bounds by subtracting amount from
1262 END rather than adding amount to PTR.
1263 (SAFE_SIGNED_BYTE_GET, SAFE_BYTE_GET64): Likewise.
1264
b05a0fc7
AM
12652021-05-09 Alan Modra <amodra@gmail.com>
1266
1267 * objcopy.c (eq_string): Delete.
1268 (create_symbol_htab): Use htab_eq_string.
1269
354c317e
MF
12702021-05-08 Mike Frysinger <vapier@gentoo.org>
1271
1272 * README-how-to-make-a-release: Update html & pdf entries.
1273
cf758b39
MF
12742021-05-08 Mike Frysinger <vapier@gentoo.org>
1275
1276 * doc/Makefile.am (html-local, binutils/index.html): New targets.
1277 * doc/Makefile.in: Regenerate.
1278
2faf902d
MF
12792021-05-08 Mike Frysinger <vapier@gentoo.org>
1280
1281 * doc/Makefile.am (AM_MAKEINFOFLAGS): Add --no-split.
1282 * doc/Makefile.in: Regenerate.
1283
3ecc00ec
NC
12842021-05-07 Nick Clifton <nickc@redhat.com>
1285
1286 * readelf.c (no_processor_specific_unwind): New function.
1287 (process_unwind): Use no_processor_specific_unwind for X86
1288 targets.
1289
4896932e
MF
12902021-05-07 Michael Forney <mforney@mforney.org>
1291
1292 * dwarf.c: Don't omit second operand of '?' operator.
1293
bfbfa6e7
NC
12942021-04-30 Nick Clifton <nickc@redhat.com>
1295
1296 PR 27796
1297 * dwarf.c (load_debug_sup_file): Allocate memory for filename in
1298 .debug_sup section.
1299
5edb8e3f
NC
13002021-04-29 Nick Clifton <nickc@redhat.com>
1301
1302 PR 27594
1303 * doc/binutils.texi (windres): Correct the description of the
1304 default value of the --preprocessor argument.
1305
3d64c987
NC
13062021-04-27 Nick Clifton <nickc@redhat.com>
1307
1308 PR 27779
1309 * dwarf.c (parse_gnu_debuglink): Reject empty names.
1310 (parse_gnu_debugaltlink): Likewise.
1311
b11b2969
CC
13122021-04-22 Clément Chigot <clement.chigot@atos.net>
1313
1314 * od-xcoff.c (dump_xcoff32_symbols): Adapt to new
1315 aux structures.
1316
047c3dbf
NL
13172021-04-21 Nick Lott <nick.lott@gmail.com>
1318
1319 PR 27672
1320 * readelf.c (sym_base): New variable.
1321 (enum print_mode): Add more modes.
1322 (print_vma): Add suport for new modes.
1323 (options): Add sym-base.
1324 (usage): Add sym-base.
1325 (parse_args): Add support for --sym-base.
1326 (print_dynamic_symbol_size): New function.
1327 (print_dynamic_symbol): Use new function.
1328 * doc/binutils.texi: Document the new feature.
1329 * NEWS: Mention the new feature.
1330
23356397
NC
13312021-04-21 Nick Clifton <nickc@redhat.com>
1332
1333 * testsuite/binutils-all/mips/global-local-symtab-sort-n64t.d:
1334 Adjust expected output to allow for named section symbols.
1335 * testsuite/binutils-all/mips/global-local-symtab-sort-o32t.d:
1336 Likewise.
1337 * testsuite/binutils-all/readelf.s-64: Likewise.
1338 * testsuite/binutils-all/readelf.ss-64-unused: Likewise.
1339 * testsuite/binutils-all/readelf.ss-tmips: Likewise.
1340 * testsuite/binutils-all/readelf.ss-unused: Likewise.
1341
13422021-04-21 Luo Longjun <luolongjun@huawei.com>
1343
1344 * readelf.c (print_dynamic_symbol): Print the section name for
1345 section symbols without a name of their own.
1346
aee4e85e
AK
13472021-04-20 Andreas Krebbel <krebbel@linux.ibm.com>
1348
1349 * MAINTAINERS: Remove Martin Schwidefsky as s390 maintainer and
1350 add him to Past Maintainers.
1351 Update my email address.
1352
229597a1
NC
13532021-04-19 Nick Clifton <nickc@redhat.com>
1354
1355 PR 21702
1356 * arsup.c (ar_addmod): Enable plugin support, if available.
1357
4dee4f3e
NC
13582021-04-19 Nick Clifton <nickc@redhat.com>
1359
1360 * rename.c: (get_stat_atime_ns): Add prototype.
1361 (get_stat_mtime_ns): Add prototype.
1362
ad7c4616
AM
13632021-04-16 Alan Modra <amodra@gmail.com>
1364
1365 PR 27725
1366 * rename.c (get_stat_atime, get_stat_mtime): Make static.
1367 (get_stat_atime_ns, get_stat_mtime_ns): Likewise.
1368
4c79248a
PS
13692021-04-15 Pekka Seppänen <pexu@sourceware.mail.kapsi.fi>
1370
1371 PR 27725
1372 * rename.c (get_stat_atime_ns): Add ATTRIBUTE_UNUSED.
1373 (get_stat_mtime_ns): Likewise.
1374
985e0264
AM
13752021-04-15 Alan Modra <amodra@gmail.com>
1376
1377 PR 27725
1378 * configure.ac: Check for sys/time.h and utimensat. Use standard
1379 checks for mkstemp and mkdtemp. Whitespace. Check for nanosecond
1380 members of struct stat.
1381 * rename.c: Prefer sys/time.h for utimes over utime.h for utime.
1382 (STAT_TIMESPEC, STAT_TIMESPEC_NS): Define
1383 (get_stat_atime_ns, get_stat_mtime_ns): New inline functions.
1384 (get_stat_atime, get_stat_mtime): Likewise.
1385 (set_times): Choose first available of utimensat, utimes, utime.
1386 Use above inline functions to set timespec and timeval values.
1387 * configure: Regenerate.
1388 * config.in: Regenerate.
1389 * testsuite/binutils-all/objcopy.exp (objcopy_test): Add test of
1390 file timestamp when --preserve-dates is used.
1391
d0ecdcdd
AM
13922021-04-15 Alan Modra <amodra@gmail.com>
1393
1394 PR 27456
1395 * rename.c (smart_rename): When TO and FROM are equal, just set
1396 file timestamp.
1397 * objcopy.c (strip_main, copy_main): Always call smart_rename.
1398
9917b559
L
13992021-04-14 H.J. Lu <hongjiu.lu@intel.com>
1400
1401 PR binutils/27708
1402 * testsuite/binutils-all/x86-64/pr27708.dump: New file.
1403 * testsuite/binutils-all/x86-64/pr27708.exe.bz2: Likewise.
1404 * testsuite/binutils-all/x86-64/x86-64.exp: Run binutils/27708
1405 test.
1406
6be872a4
MH
14072021-04-14 Mark Harmstone <mark@harmstone.com>
1408
1409 PR 27686
1410 * resbin.c (bin_to_res_version): Ignore any trailing bytes at the
1411 end of the structure.
1412
5f47741b
FC
14132021-04-14 Frederic Cambus <fred@statdns.com>
1414
1415 * readelf.c (get_netbsd_elfcore_note_type): Remove unneeded #ifdef
1416 checks for NT_NETBSDCORE_AUXV and NT_NETBSDCORE_LWPSTATUS.
1417
13acb58d
AM
14182021-04-14 Alan Modra <amodra@gmail.com>
1419
1420 PR 27716
1421 * objdump.c (show_line): Don't limit paths to PATH_MAX.
1422 * readelf.c (struct filedata): Change program_interpreter from
1423 a char array to a char pointer.
1424 (process_program_headers): Sanity check PT_INTERP p_filesz.
1425 Malloc program_interpreter using p_filesz and read directly from
1426 file.
1427 (process_dynamic_section): Check program_interpreter is non-NULL.
1428 (free_filedata): New function, split out from..
1429 (process_object): ..here.
1430 (close_debug_file): Call free_filedata.
1431 * sysdep.h: Don't include sys/param.h.
1432 (PATH_MAX): Don't define.
1433 * configure.ac: Don't check for sys/param.h.
1434 * configure: Regenerate.
1435
0fa29e2d
FC
14362021-04-13 Frederic Cambus <fred@statdns.com>
1437
1438 * readelf.c (process_netbsd_elf_note): Remove now unneeded #ifdef
1439 check for NT_NETBSD_PAX.
1440
43e05cd4
AM
14412021-04-12 Alan Modra <amodra@gmail.com>
1442
1443 * configure.ac (--enable-checking): Add support.
1444 * config.in: Regenerate.
1445 * configure: Regenerate.
1446
c3f72de4
AM
14472021-04-09 Alan Modra <amodra@gmail.com>
1448
1449 * objdump.c (struct objdump_disasm_info): Delete dynrelbuf and
1450 dynrelcount.
1451 (find_symbol_for_address): Adjust for dynrelbuf and dynrelcount move.
1452 (disassemble_section, disassemble_data): Likewise.
1453
a2e66773
AM
14542021-04-06 Alan Modra <amodra@gmail.com>
1455
1456 * objdump.c (objdump_symbol_at_address): Return asymbol*.
1457
4db29512
AM
14582021-04-06 Alan Modra <amodra@gmail.com>
1459
1460 * NEWS: Mention C99 requirement.
1461 * README: Likewise. Modernise examples and "Reporting bugs".
1462
87b9f255
AM
14632021-04-05 Alan Modra <amodra@gmail.com>
1464
1465 * configure.ac: Assume long long is available. Don't test for
1466 strings.h, stdlib.h, limits.h, locale.h, or wchar.h. Check
1467 inttypes.h, stdint.h, sys/stat.h and sys/types.h. Don't check for
1468 strcoll, setlocale, setmode or location of time_t. Don't check
1469 for fprintf, getenv, snprintf, strnlen, strstr or vsnprintf decls.
1470 (AC_ISC_POSIX, AXC_HEADER_STRING, AC_FUNC_ALLOCA): Don't invoke.
1471 * sysdep.h: Don't include alloca-conf.h, include config.h instead.
1472 Test HAVE_SYS_TYPES_H and reorder includes. Include limits.h,
1473 locale.h, string.h and stdlib.h unconditionally. Remove various
1474 fallback declarations. Assume long long is available.
1475 * addr2line.c: Don't test HAVE_SETLOCALE.
1476 * ar.c: Likewise.
1477 * coffdump.c: Likewise.
1478 * dlltool.c: Likewise.
1479 * dllwrap.c: Likewise.
1480 * elfedit.c: Likewise.
1481 * nm.c: Likewise.
1482 * objcopy.c: Likewise.
1483 * objdump.c: Likewise.
1484 * readelf.c: Likewise.
1485 * size.c: Likewise.
1486 * srconv.c: Likewise.
1487 * strings.c: Likewise.
1488 * sysdump.c: Likewise.
1489 * windmc.c: Likewise.
1490 * windres.c: Likewise.
1491 * bucomm.c: Don't test HAVE_TIME_T_IN_TIME_H or HAVE_TIME_T_IN_TYPES_H.
1492 * dwarf.c: Include limits.h unconditionally. Assume long long
1493 is available.
1494 * nm.c: Don't test HAVE_STRCOLL.
1495 * readelf.c: Don't test HAVE_WCHAR_H.
1496 * strings.c: Assume long long is available.
1497 * syslex.l: Include string.h unconditionally.
1498 * aclocal.m4: Regenerate.
1499 * config.in: Regenerate.
1500 * configure: Regenerate.
1501 * Makefile.in: Regenerate.
1502 * doc/Makefile.in: Regenerate.
1503
e9b095a5
ML
15042021-04-01 Martin Liska <mliska@suse.cz>
1505
1506 * elfcomm.h (strneq): Remove strneq and use startswith.
1507 * readelf.c (ia64_process_unwind): Likewise.
1508 (process_note): Likewise.
1509
3f3328b8
ML
15102021-04-01 Martin Liska <mliska@suse.cz>
1511
1512 * dllwrap.c: Use startswith function.
1513 * objcopy.c (is_dwo_section): Likewise.
1514 (handle_remove_section_option): Likewise.
1515 (copy_main): Likewise.
1516 * objdump.c (is_significant_symbol_name): Likewise.
1517
24d127aa
ML
15182021-04-01 Martin Liska <mliska@suse.cz>
1519
1520 * dwarf.c (display_debug_lines_raw): Replace const_strneq with
1521 startswith.
1522 (display_debug_lines_decoded): Likewise.
1523 (display_debug_links): Likewise.
1524 * elfcomm.c (setup_archive): Likewise.
1525 * elfcomm.h (const_strneq): Likewise.
1526 * readelf.c (process_section_headers): Likewise.
1527 (slurp_ia64_unwind_table): Likewise.
1528 (slurp_hppa_unwind_table): Likewise.
1529 (decode_arm_unwind): Likewise.
1530 (display_debug_section): Likewise.
1531 (process_note): Likewise.
1532
015dc7e1
AM
15332021-03-31 Alan Modra <amodra@gmail.com>
1534
1535 * sysdep.h (POISON_BFD_BOOLEAN): Define.
1536 * addr2line.c, * ar.c, * arsup.c, * bfdtest2.c, * binemul.c,
1537 * binemul.h, * bucomm.c, * bucomm.h, * budbg.h, * coffgrok.c,
1538 * debug.c, * debug.h, * dlltool.c, * dwarf.c, * dwarf.h,
1539 * elfedit.c, * emul_aix.c, * mclex.c, * nm.c, * objcopy.c,
1540 * objdump.c, * od-macho.c, * prdbg.c, * rdcoff.c, * rddbg.c,
1541 * readelf.c, * rename.c, * stabs.c, * strings.c, * windint.h,
1542 * windmc.c, * windmc.h, * windres.c, * winduni.c,
1543 * wrstabs.c: Replace bfd_boolean with bool, FALSE with false,
1544 and TRUE with true throughout.
1545
3dfb1b6d
AM
15462021-03-31 Alan Modra <amodra@gmail.com>
1547
1548 * coffdump.c: Include stdint.h in place of bfd_stdint.h.
1549 * dwarf.c: Likewise.
1550
57ae980e
AM
15512021-03-31 Alan Modra <amodra@gmail.com>
1552
1553 * prdbg.c (pr_function_type): Replace LITSTTCPY with strcpy.
1554
63b4cc53
AM
15552021-03-29 Alan Modra <amodra@gmail.com>
1556
1557 * dlltool.c (main): Don't use "boolean_condition ? TRUE : FALSE".
1558 * dwarf.c (read_and_display_attr_value): Likewise.
1559 (display_debug_str_offsets): Likewise.
1560 * objdump.c (dump_bfd): Likewise.
1561 * readelf.c (dump_section_as_strings): Likewise.
1562 (dump_section_as_bytes): Likewise.
1563
1be305ff
AM
15642021-03-29 Alan Modra <amodra@gmail.com>
1565
1566 * objdump.c (process_links): Use type int.
1567 * readelf.c (request_dump): Don't increment do_dump, set it.
1568 * windint.h (target_is_bigendian): Use type bfd_boolean.
1569 * windmc.c (target_is_bigendian): Likewise.
1570 * windres.c (target_is_bigendian): Likewise.
1571
08dedd66
ML
15722021-03-22 Martin Liska <mliska@suse.cz>
1573
1be305ff
AM
1574 * dlltool.c (scan_drectve_symbols): Replace usage of CONST_STRNEQ
1575 with startswith.
08dedd66
ML
1576 * emul_aix.c (ar_emul_aix_parse_arg): Likewise.
1577 * objcopy.c (is_mergeable_note_section): Likewise.
1578 * objdump.c (dump_dwarf_section): Likewise.
1579 * prdbg.c (pr_method_type): Likewise.
1580 (pr_class_baseclass): Likewise.
1581 (tg_class_baseclass): Likewise.
1582 * readelf.c (process_lto_symbol_tables): Likewise.
1583 * stabs.c (ULLHIGH): Likewise.
1584 (parse_stab_argtypes): Likewise.
1585 (stab_demangle_function_name): Likewise.
1586
7b9f9859
L
15872021-03-19 H.J. Lu <hongjiu.lu@intel.com>
1588
1589 * readelf.c (get_machine_name): Add EM_INTELGT.
1590
835f2fae
NC
15912021-03-18 Nick Clifton <nickc@redhat.com>
1592
1593 PR 27478
1594 * readelf.c (dump_section_as_strings): Mention separate filename.
1595 (dump_section_as_bytes): Likewise.
1596 (dump_section_as_ctf): Likewise.
1597 (initialise_dumkps_byname): Only issue a warning for missing
1598 sections if processing the main file.
1599 (process_section_contents): Only issue a warning for unsumped
1600 section numbers in the main file.
1601 (initialise_dump_sects): New function. Contains code extracted
1602 from ...
1603 (process_object): ... here. Also call initialise_dump_sects for
1604 separate files.
1605
44266f36
NC
16062021-03-16 Nick Clifton <nickc@redhat.com>
1607
1608 PR 27534
1609 * readelf.c (display_debug_section): Also retain .debug_addr
1610 sections.
1611
d6bfbc39
NC
16122021-03-16 Nick Clifton <nickc@redhat.com>
1613
1614 PR 27533
1615 * readelf.c (process_section_contents): Only dump debug
1616 information for separate files unless process_links is enabled.
1617 (process_object): Always call process_section_contents for
1618 separate info files.
1619
1996d0f1
NC
16202021-03-15 Nick Clifton <nickc@redhat.com>
1621
1622 PR 27487
1623 * nm.c (FORMAT_JUST_SYMBOLS): Define.
1624 (struct optput_fns): Add entry for FORMAT_JUST_SYMBOLS.
1625 (long_options): Add just-symbols.
1626 (set_output_format): Add support for just-symbols.
1627 (get_print_format): Likewise.
1628 (do_not_print_object_filename): New function.
1629 (do_not_print_archive_filename): New function.
1630 (do_not_print_archive_member): New function.
1631 (do_not_print_symbol_filename): New function.
1632 (just_print_symbol_name): New function.
1633 (main): Handle --just-symbols.
1634 * NEWS: Mention the new feature.
1635 * doc/binutils.texi: Document the new feature.
1636
2c1bef53
CC
16372021-03-12 Clément Chigot <clement.chigot@atos.net>
1638
1639 * od-xcoff.c: Replace RTB by TRL entry.
1640
db6092f3
AB
16412021-03-05 Craig Blackmore <craig.blackmore@embecosm.com>
1642 Andrew Burgess <andrew.burgess@embecosm.com>
1643
1644 * readelf.c (get_note_type): Handle NT_RISCV_CSR.
1645
b63a5e38
AB
16462021-03-05 Craig Blackmore <craig.blackmore@embecosm.com>
1647 Andrew Burgess <andrew.burgess@embecosm.com>
1648
1649 * readelf.c (get_note_type): Handle NT_GDB_TDESC.
1650
d296b736
NC
16512021-03-05 Nick Clifton <nickc@redhat.com>
1652
1653 PR 27387
1654 * dwarf.c (display_debug_macro): Handle the displaying of
1655 DW_MACRO_define_strp and DW_MACRO_undef_strp in v4
1656 .debug_macro.dwo sections.
1657
ca0e11aa
NC
16582021-03-04 Nick Clifton <nickc@redhat.com>
1659
1660 PR 27478
1661 * objdump.c (process_links): New variable.
1662 (usage): Add --process-links.
1663 (long_options): Likewise.
1664 (dump_bfd): Stop processing once the bfd has been loaded unless
1665 this is the main file or process_links has been enabled.
1666 (main): Handle the process-links option.
1667 * readelf.c (process_links): New variable.
1668 (struct filedata): Add is_separate field.
1669 (options): Add --process-links.
1670 (usage): Likewise.
1671 (parse_args): Likewise.
1672 (process_file_header): Include the filename when dumping
1673 information for separate debuginfo files.
1674 (process_program_headers): Likewise.
1675 (process_section_headers): Likewise.
1676 (process_section_groups): Likewise.
1677 (process_relocs): Likewise.
1678 (process_dynamic_section): Likewise.
1679 (process_version_sections): Likewise.
1680 (display_lto_symtab): Likewise.
1681 (process_symbol_table): Likewise.
1682 (process_syminfo): Likewise.
1683 (initialise_dumps_by_name): Likewise.
1684 (process_section_contents): Likewise.
1685 (process_notes_at): Likewise.
1686 (process_notes): Likewise.
1687 (open_file): Add is_separate parameter. Use to initialise the
1688 is_separate field in the filedata structure.
1689 (open_deug): Update call to open_file.
1690 (process_object): Add processing of the contents of separate
1691 debuginfo files, gated by the process_links variable.
1692 (process_archive): Update call to open_file.
1693 (process_file): Initialise the is_separate field in the filedata
1694 structure.
1695 * dwarf.c (load_separate_debug_info_file): Only report the
1696 loading of a separate file if debug links are being dumped.
1697 * objcopy.c (keep_section_symbols): New variable.
1698 (enum command_line_switch): Add OPTION_KEEP_SYMBOLS.
1699 (strip_options): Add keep-section-symbols.
1700 (copy_options): Likewise.
1701 (copy_usage): Likewise.
1702 (strip_usage): Likewise.
1703 (copy_object): Keep section symbols if requested by command line
1704 option.
1705 (strip_main): Handle --keep-section-symbols.
1706 (copy_main): Likewise.
1707 * doc/binutils.texi: Document the new options.
1708 * NEWS: Mention the new features.
1709 * testsuite/binutils-all/compress.exp (test_gnu_debuglink):
1710 Update options passed to objdump. Use diff rather than cmp to
1711 compare the dumped data.
1712 * testsuite/binutils-all/objdump.WK2: Update regexp.
1713 * testsuite/binutils-all/objdump.WK3: Update regexp.
1714 * testsuite/binutils-all/objdump.exp: Use --process-links
1715 instead of --dwarf=follow-links.
1716 * testsuite/binutils-all/readelf.exp (readelf_test): Include
1717 readelf's output in the log when the test fails.
1718 Add the -P option to the -wKis test.
1719 * testsuite/binutils-all/readelf.wKis: Update expected output.
1720
fd5c076a
AM
17212021-03-03 Alan Modra <amodra@gmail.com>
1722
1723 PR 27493
1724 * objcopy.c (filter_symbols): Apply --weaken to undefined symbols.
1725 * NEWS: Mention feature.
1726
ecd65684
L
17272021-03-01 H.J. Lu <hongjiu.lu@intel.com>
1728
1729 PR binutils/27486
1730 * dwarf.c (load_separate_debug_info): Issue warning only if
1731 do_debug_links is set.
1732 * testsuite/binutils-all/compress.exp: Run objdump and readelf
1733 with missing debug file.
1734
6a1224ec
AM
17352021-03-01 Alan Modra <amodra@gmail.com>
1736
1737 PR 27128
1738 * doc/binutils.texi: Add nm --with-symbol-versions and
1739 --without-symbol-versions documentation.
1740 * nm.c (with_symbol_versions): New variable.
1741 (enum long_option_values): Delete OPTION_WITH_SYMBOL_VERSIONS.
1742 (long_options): Make --with-symbol-versions entry twiddle the flag.
1743 Add --without-symbol-versions.
1744 (print_symname): Strip version when !with_symbol_versions. Add
1745 dynamic version info under control of with_symbol_versions.
1746 (main): Remove OPTION_WITH_SYMBOL_VERSIONS case.
1747
7fe1b138
FS
17482021-02-26 Fangrui Song <maskray@google.com>
1749
1750 PR 27408
1751 * readelf.c (quiet): New option flag.
1752 (enum long_option_values): New enum to hold long option value.
1753 (long_options): Add --quiet.
1754 (usage): Mention --quiet.
1755 (display_rel_file): If quiet is enabled, suppress "no symbols".
1756 (main): Handle the new option.
1757 * NEWS: Mention --quiet.
1758 * docs/binutils.texi: Document --quiet.
1759
0e12f6c8
TV
17602021-02-26 Tom de Vries <tdevries@suse.de>
1761
1762 * dwarf.c (display_debug_addr): Handle dwarf-5 .debug_addr bits.
1763
32e4f96c
TV
17642021-02-26 Tom de Vries <tdevries@suse.de>
1765
1766 PR 27390
1767 * dwarf.c: (skip_attr_bytes): Add support for DW_FORM_str* and
1768 DW_FORM_addrx*.
1769 (read_and_display_attr_value): Likewise.
1770
e38332c2
NC
17712021-02-25 Nick Clifton <nickc@redhat.com>
1772
1773 * dwarf.c (get_type_abbrev_from_form): Accept but ignore sup
1774 forms.
1775 (read_and_display_attr_value): Handle sup forms.
1776 (display_debug_sup): New function. Displays the contents of a
1777 .debug_sup section.
1778 (load_debug_sup_file): New function. Loads the contents of a file
1779 referenced by a .debug_sup section.
1780 (check_for_and_load_links): Call load_debug_sup_file.
1781 (debug_displays): Add entry for .debug_sup.
1782 * dwarf.h (enum dwarf_section_display_enum): Add debug_sup.
1783 * readelf.c (process_section_headers): Add support for debug_sup.
1784 * doc/debug.options.texi: Note that the =links option will display
1785 the contents of .debug_sup sections.
1786 * NEWS: Mention the new support.
1787
40b02646
AM
17882021-02-25 Alan Modra <amodra@gmail.com>
1789
1790 PR 27456
1791 * rename.c (simple_copy): Mark target_stat ATTRIBUTE_UNUSED.
1792
9d3fcfe0
NC
17932021-02-24 Nick Clifton <nickc@redhat.com>
1794
1795 PR 27285
1796 * od-elf32_avr.c (elf32_avr_get_memory_usage): Check for overflows
1797 when adding together the section sizes.
1798
c74147bb
NC
17992021-02-24 Nick Clifton <nickc@redhat.com>
1800
1801 * objcopy.c (merge_gnu_build_notes): Remove support for v1/v2 GNU
1802 build notes.
1803 * readelf.c (print_gnu_build_attribute_description): Likewise.
1804
c42c71a1
AM
18052021-02-24 Alan Modra <amodra@gmail.com>
1806 Siddhesh Poyarekar <siddhesh@gotplt.org>
1807
1808 PR 27456
1809 * bucomm.h (smart_rename): Update prototype.
1810 * rename.c (smart_rename): Add fromfd and preserve_dates params.
1811 Pass fromfd and target_stat to simple_copy. Call set_times
1812 when preserve_dates.
1813 (simple_copy): Accept fromfd rather than from filename. Add
1814 target_stat param. Rewind fromfd rather than opening. Open
1815 "to" file without O_CREAT. Try to preserve S_ISUID and S_ISGID.
1816 * ar.c (write_archive): Rename ofd to tmpfd. Dup tmpfd before
1817 closing output temp file, and pass tmpfd to smart_rename.
1818 * arsup.c (temp_fd): Rename from real_fd.
1819 (ar_save): Dup temp_fd and pass to smart_rename.
1820 * objcopy.c (strip_main, copy_main): Likewise, and pass
1821 preserve_dates.
1822
cca8873d
AM
18232021-02-24 Alan Modra <amodra@gmail.com>
1824
1825 PR 27456
1826 * rename.c: Tidy throughout.
1827 (smart_rename): Always copy. Remove windows specific code.
1828
4d496013
AM
18292021-02-20 Alan Modra <amodra@gmail.com>
1830
1831 * testsuite/lib/binutils-common.exp: Whitespace fixes throughout.
1832 (run_dump_test): Fail if expecting errors from a file like we do
1833 for error strings, if no error is seen.
1834
0be51eb4
AM
18352021-02-19 Alan Modra <amodra@gmail.com>
1836
1837 * testsuite/binutils-all/readelf.exp (pr26548): Run for 32-bit too.
1838
3685de75
SP
18392021-02-19 Siddhesh Poyarekar <siddhesh@gotplt.org>
1840
1841 * ar.c (write_archive): Remove TARGET_STAT. Adjust call to
1842 SMART_RENAME.
1843 * arsup.c (ar_save): Likewise.
1844 * objcopy (strip_main): Don't copy TMPFD. Don't set times on
1845 temporary file and adjust call to SMART_RENAME.
1846 (copy_main): Likewise.
1847 * rename.c [!S_ISLNK]: Remove definitions.
1848 (try_preserve_permissions): Remove function.
1849 (smart_rename): Remove FD, PRESERVE_DATES arguments. Use
1850 rename system call only if TO does not exist.
1851 * bucomm.h (smart_rename): Adjust declaration.
1852
85684222
NC
18532021-02-18 Nick Clifton <nickc@redhat.com>
1854
1855 * objcopy.c (merge_gnu_build_notes): Handle notes with a start
1856 address that is higher than the end address.
1857
b9b204b3
AM
18582021-02-17 Alan Modra <amodra@gmail.com>
1859
1860 * dwarf.c: Include limits.h.
1861 (CHAR_BIT): Provide backup define.
1862 (read_leb128): Use CHAR_BIT to size "result" in bits. Correct
1863 signed overflow checking.
1864 * testsuite/binutils-all/pr26548.s,
1865 * testsuite/binutils-all/pr26548.d,
1866 * testsuite/binutils-all/pr26548e.d: New tests.
1867 * testsuite/binutils-all/readelf.exp: Run them.
1868 (readelf_test): Drop unused "xfails" parameter. Update all uses.
1869
e6ca1878
JB
18702021-02-16 Jan Beulich <jbeulich@suse.com>
1871
1872 * dwarf.c (process_debug_info): Initialize "dwo_id".
1873
208599d9
AM
18742021-02-15 Alan Modra <amodra@gmail.com>
1875
1876 * objdump.c (load_specific_debug_section): Don't call
1877 bfd_cache_section_contents. Rearrange so that
1878 bfd_get_full_section_contents is not called on path where
1879 bfd_simple_get_relocated_section_contents is called.
1880 Don't set section->user_data.
1881 (free_debug_section): Always free section->start. Don't twiddle
1882 section flags.
1883 * readelf.c (load_specific_debug_section): Don't set user_data.
1884 * dwarf.h (struct dwarf_section): Remove use_data field.
1885 * dwarf.c (NO_ABBREVS, ABBREV): Adjust to suit.
1886
1781a9d0
AM
18872021-02-15 Alan Modra <amodra@gmail.com>
1888
1889 * testsuite/binutils-all/compress.exp: Remove nds32 xfails.
1890 * testsuite/binutils-all/objdump.exp: Likewise.
1891
1944212b
AM
18922021-02-14 Alan Modra <amodra@gmail.com>
1893
1894 * objdump.c (slurp_symtab): Don't add an extra entry for NULL
1895 to the symbol array.
1896 (slurp_dynamic_symtab): Likewise.
1897 (dump_bfd): Formatting. Copy terminating NULL from extra_syms.
1898
0d0a0d86
AM
18992021-02-14 Alan Modra <amodra@gmail.com>
1900
1901 * Makefile.in: Regenerate.
1902 * doc/Makefile.in: Regenerate.
1903
adeab0c5
MF
19042021-02-13 Mike Frysinger <vapier@gentoo.org>
1905
1906 * aclocal.m4: Regenerate.
1907
c46b7066
NC
19082021-02-12 Nick Clifton <nickc@redhat.com>
1909
1910 * configure.ac (follow-debug-links): Add option to enable or
1911 disable the following of debug links by default. Set the
1912 default for the option to be 'follow'.
1913 * dwarf.c (do_follow_links): Initialise with DEFAULT_FOR_FOLLOW_LINKS.
1914 (dwarf_select_sections_by_names): Add no-follow-links option.
1915 (dwarf_select_sections_by_letter): Add 'N' option.
1916 * objdump.c (usage): Add conditional text describing the
1917 follow links option.
1918 (slurp_symtab): Ensure that there is a NULL entry at the end
1919 of the symbol table.
1920 (slurp_dynamic_symtab): Likewise.
1921 (dump_bfd): When extending the symbol table, ensure that there
1922 is still a NULL entry at the end.
1923 * readelf.c (usage): Add conditional text describing the
1924 follow links option.
1925 * doc/binutils.texi: Update documentation for objcopy and
1926 readelf.
1927 * doc/debug.options.texi: Update documentation of the
1928 follow-links option.
1929 * config.in: Regenerate.
1930 * configure: Regenerate.
1931 * testsuite/binutils-all/compress.exp: Add the -WN option to
1932 objdump command lines that are not expecting to follow links.
1933 * testsuite/binutils-all/readelf.exp: Add the
1934 --debug-dump=no-follow-links option to tests that are not
1935 expecting to follow debug links.
1936 * NEWS: Mention the new behaviour.
1937
17e04eff
AM
19382021-02-12 Alan Modra <amodra@gmail.com>
1939
1940 * testsuite/binutils-all/objcopy.exp: Report "unsupported" when
1941 gas or ld fails to build a testcase rather than "unresolved".
1942 Report "fail" when readelf returns an error status rather than
1943 "unresolved".
1944 * testsuite/binutils-all/ar.exp: Likewise.
1945 * testsuite/binutils-all/compress.exp: Likewise.
1946 * testsuite/binutils-all/readelf.exp: Likewise.
1947
8f054a7a
AM
19482021-02-12 Alan Modra <amodra@gmail.com>
1949
1950 * testsuite/binutils-all/pr25662.s: Replace "a" with "aaa" and
1951 "c" with "ccc" labels.
1952
528a4f87
TV
19532021-02-12 Tom de Vries <tdevries@suse.de>
1954
1955 * dwarf.h (debug_info): Fix typo in comment.
1956
95abb394
TV
19572021-02-12 Tom de Vries <tdevries@suse.de>
1958
1959 * dwarf.c (display_debug_str_offsets): Handle multiple sets of
1960 entries.
1961
d60f7998
TV
19622021-02-12 Tom de Vries <tdevries@suse.de>
1963
1964 * dwarf.c (process_debug_info): Print DWO ID.
1965
1cfcf300
AM
19662021-02-11 Alan Modra <amodra@gmail.com>
1967
1968 PR 27290
1969 PR 27293
1970 PR 27295
1971 * od-elf32_avr.c (elf32_avr_get_note_section_contents): Formatting.
1972 Use bfd_malloc_and_get_section.
1973 (elf32_avr_get_note_desc): Formatting. Return descsz. Sanity
1974 check namesz. Return NULL if descsz is too small. Ensure
1975 string table is terminated.
1976 (elf32_avr_get_device_info): Formatting. Add note_size param.
1977 Sanity check note.
1978 (elf32_avr_dump_mem_usage): Adjust to suit.
1979
d9d9d8ef
TV
19802021-02-10 Tom de Vries <tdevries@suse.de>
1981
1982 PR binutils/27391
1983 * dwarf.c (load_dwo_file): Handle case that name is absolute path.
1984
52ff20fe
TV
19852021-02-10 Tom de Vries <tdevries@suse.de>
1986
1987 PR binutils/27371
1988 * dwarf.c (display_debug_ranges): Filter range lists according to
1989 section.
1990
5f128a25
TV
19912021-02-09 Tom de Vries <tdevries@suse.de>
1992
1993 PR binutils/27370
1994 * dwarf.c (get_type_abbrev_from_form): Handle DW_FORM_ref_sig8.
1995
9b87f84a
TV
19962021-02-09 Tom de Vries <tdevries@suse.de>
1997
1998 PR binutils/27386
1999 * dwarf.c (process_debug_info): Handling DW_UT_skeleton and
2000 DW_UT_split_compile.
2001
a57d1773
AM
20022021-02-09 Alan Modra <amodra@gmail.com>
2003
2004 * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Remove
2005 symbianelf.
2006
de8d4203
AM
20072021-02-07 Alan Modra <amodra@gmail.com>
2008
2009 * unwind-ia64.c (unw_print_xyreg): Don't leave output buffer
2010 uninitialised on invalid input.
2011
51a25252
AM
20122021-02-06 Alan Modra <amodra@gmail.com>
2013
2014 PR 27349
2015 * rename.c (smart_rename): Test for existence and type of output
2016 file with lstat.
2017
e37d88e5
NC
20182021-02-05 Nick Clifton <nickc@redhat.com>
2019
2020 * MAINTAINERS: Remove Richard Henderson as the ALPHA maintainer.
2021
887854ba
EZ
20222021-02-05 Eli Zaretskii <eliz@gnu.org>
2023
2024 PR 27252
2025 * elfedit.c (check_file):
2026 * bucomm.c (get_file_size): Fix typos in comments.
2027
c180f095
AM
20282021-02-05 Alan Modra <amodra@gmail.com>
2029
2030 PR 27345
2031 * arsup.c (ar_save): Use stat rather than lstat.
2032
95b91a04
AM
20332021-02-03 Alan Modra <amodra@gmail.com>
2034
2035 PR 27270
2036 PR 27284
2037 PR 26945
2038 * ar.c: Don't include libbfd.h.
2039 (write_archive): Replace xmalloc+strcpy with xstrdup. Use
2040 bfd_stat rather than fstat on iostream. Move stat and fd tests
2041 outside of _WIN32 ifdef. Delete skip_stat variable.
2042 * arsup.c (temp_name, real_ofd): New static variables.
2043 (ar_open): Use make_tempname and bfd_fdopenw.
2044 (ar_save): Adjust to suit ar_open changes. Move stat output
2045 of _WIN32 ifdef.
2046 * objcopy.c: Don't include libbfd.h.
2047 (copy_file): Use bfd_stat.
2048
5424d7ed
L
20492021-02-02 H.J. Lu <hongjiu.lu@intel.com>
2050
2051 PR binutils/27281
2052 * readelf.c (process_section_headers): Add 'R' and 'D' to
2053 "Key to Flags:".
2054 * testsuite/binutils-all/retain1a.d: Updated.
2055
72a51a06
NC
20562021-01-30 Nick Clifton <nickc@redhat.com>
2057
2058 * README-how-to-make-a-release: Small updates after the 2.35.2
2059 release.
2060
cc3edc52
EZ
20612021-01-28 Eli Zaretskii <eliz@gnu.org>
2062
2063 PR 4356
2064 * windres.c (quot): Use double quotes to protect strings on
2065 Windows platforms.
2066
a7ad3cb1
EZ
20672021-01-28 Eli Zaretskii <eliz@gnu.org>
2068
2069 PR 27252
2070 * bucomm.c (get_file_size): Add code to handle /dev/null on
2071 Windows systems.
2072 * elfedit.c (check_file): Likewise.
2073
67965ba2
NC
20742021-01-27 Nick Clifton <nickc@redhat.com>
2075
2076 * objcopy.c (copy_main): Remove conditional control of the calls
2077 to free, simplifying the code and making it easier to detect
2078 typos.
2079
e37709f0
FC
20802021-01-26 Frederic Cambus <fred@statdns.com>
2081
2082 * objcopy.c (copy_main): Fix a double free happening when both
2083 --localize-symbols and --globalize-symbols options are invoked
2084 together.
2085
9b351c9b
NC
20862021-01-24 Nick Clifton <nickc@redhat.com>
2087
2088 * README-how-to-make-a-release: Minor updates after the 2.36 release.
2089
ad92f33d
AM
20902021-01-16 Alan Modra <amodra@gmail.com>
2091
2092 * readelf.c (uncompress_section_contents): Tidy inflateEnd result test.
2093
3624a6c1
AM
20942021-01-15 Alan Modra <amodra@gmail.com>
2095
2096 PR 26539
2097 * readelf.c (uncompress_section_contents): Always call inflateEnd.
2098
c14dee84
AO
20992021-01-14 Alexandre Oliva <oliva@gnu.org>
2100
2101 * MAINTAINERS: Update my email address.
2102
5a10699f
NC
21032021-01-14 Nick Clifton <nickc@redhat.com>
2104
2105 * po/sv.po: Updated Swedish translation.
2106
5347ed60
AM
21072021-01-13 Alan Modra <amodra@gmail.com>
2108
2109 * Makefile.in: Regenerate.
2110 * doc/Makefile.in: Regenerate.
2111
2ce40d1a
ZF
21122021-01-13 Zebediah Figura <z.figura12@gmail.com>
2113
2114 PR 27037
2115 * dlltool.c (i386_trampoline): Adjust %rsp immediately on entry
2116 and before exit.
2117 (i386_x64_trampoline): Add SEH annotations.
2118 (struct mac): Add how_seh field.
2119 (make_delay_head): If how_set field is true add SEh instructions.
2120
d546b610
L
21212021-01-12 H.J. Lu <hongjiu.lu@intel.com>
2122
2123 PR binutils/26792
2124 * configure.ac: Use GNU_MAKE_JOBSERVER.
2125 * aclocal.m4: Regenerated.
2126 * configure: Likewise.
2127
6d104cac
NC
21282021-01-12 Nick Clifton <nickc@redhat.com>
2129
2130 * po/fr.po: Updated French translation.
2131
83b33c6c
L
21322021-01-11 H.J. Lu <hongjiu.lu@intel.com>
2133
2134 PR ld/27173
2135 * configure: Regenerated.
2136
a8aa72b9
NC
21372021-01-11 Nick Clifton <nickc@redhat.com>
2138
2139 * po/pt.po: Updated Portuguese translation.
2140 * po/sr.po: Updated Serbian translation.
2141 * po/uk.po: Updated Ukranian translation.
2142
a4966cd9
L
21432021-01-09 H.J. Lu <hongjiu.lu@intel.com>
2144
2145 * configure: Regenerated.
2146
573fe3fb
NC
21472021-01-09 Nick Clifton <nickc@redhat.com>
2148
2149 * configure: Regenerate.
2150 * po/binutils.pot: Regenerate.
2151
055bc77a
NC
21522021-01-09 Nick Clifton <nickc@redhat.com>
2153
2154 * 2.36 release branch crated.
573fe3fb
NC
2155 * README-how-to-make-a-release: Add note about updating Makefiles
2156 and libtool files.
2157 * BRANCHES: Add binutils-2.36-branch.
055bc77a 2158
64307045
AM
21592021-01-09 Alan Modra <amodra@gmail.com>
2160
2161 * configure: Regenerate.
2162
f4782128
ST
21632021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
2164
2165 * configure: Regenerate.
2166
d1bcae83
L
21672021-01-07 H.J. Lu <hongjiu.lu@intel.com>
2168
2169 PR 27109
2170 * objcopy.c (copy_object): Handle section symbols for
2171 non-relocatable inputs.
2172 * testsuite/binutils-all/readelf.exp (readelf_test): Check
2173 is_elf_unused_section_symbols.
2174 * testsuite/binutils-all/readelf.s-64: Updated.
2175 * testsuite/binutils-all/readelf.ss: Likewise.
2176 * testsuite/binutils-all/readelf.ss-64: Likewise.
2177 * testsuite/binutils-all/readelf.s-64-unused: New file.
2178 * testsuite/binutils-all/readelf.ss-64-unused: Likewise.
2179 * testsuite/binutils-all/readelf.ss-unused: Likewise.
2180 * testsuite/lib/binutils-common.exp
2181 (is_elf_unused_section_symbols): New proc.
2182
6987d5a1
RT
21832021-01-06 Reuben Thomas <rrt@sc3d.org>
2184
2185 * binutils/readelf.c: Correct grammar in comment.
2186
f9a6a8f0
AM
21872021-01-01 Nicolas Boulenguez <nicolas@debian.org>
2188
2189 * coffgrok.c (do_type): Correct spelling of auxiliary in errors.
2190 * doc/binutils.texi: Correct grammar.
2191 * readelf.c (process_version_sections): Correct spelling of auxiliary
2192 in warning.
2193 * testsuite/binutils-all/vax/objdump.exp: Comment grammar fix.
2194
250d07de
AM
21952021-01-01 Alan Modra <amodra@gmail.com>
2196
2197 Update year range in copyright notice of all files.
2198
c2795844 2199For older changes see ChangeLog-2020
3499769a 2200\f
d87bef3a 2201Copyright (C) 2021-2023 Free Software Foundation, Inc.
3499769a
AM
2202
2203Copying and distribution of this file, with or without modification,
2204are permitted in any medium without royalty provided the copyright
2205notice and this notice are preserved.
2206
2207Local Variables:
2208mode: change-log
2209left-margin: 8
2210fill-column: 74
2211version-control: never
2212End: