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