]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/ChangeLog
sim: switch to AC_CHECK_HEADERS_ONCE
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
ad7c4616
AM
12021-04-16 Alan Modra <amodra@gmail.com>
2
3 PR 27725
4 * rename.c (get_stat_atime, get_stat_mtime): Make static.
5 (get_stat_atime_ns, get_stat_mtime_ns): Likewise.
6
4c79248a
PS
72021-04-15 Pekka Seppänen <pexu@sourceware.mail.kapsi.fi>
8
9 PR 27725
10 * rename.c (get_stat_atime_ns): Add ATTRIBUTE_UNUSED.
11 (get_stat_mtime_ns): Likewise.
12
985e0264
AM
132021-04-15 Alan Modra <amodra@gmail.com>
14
15 PR 27725
16 * configure.ac: Check for sys/time.h and utimensat. Use standard
17 checks for mkstemp and mkdtemp. Whitespace. Check for nanosecond
18 members of struct stat.
19 * rename.c: Prefer sys/time.h for utimes over utime.h for utime.
20 (STAT_TIMESPEC, STAT_TIMESPEC_NS): Define
21 (get_stat_atime_ns, get_stat_mtime_ns): New inline functions.
22 (get_stat_atime, get_stat_mtime): Likewise.
23 (set_times): Choose first available of utimensat, utimes, utime.
24 Use above inline functions to set timespec and timeval values.
25 * configure: Regenerate.
26 * config.in: Regenerate.
27 * testsuite/binutils-all/objcopy.exp (objcopy_test): Add test of
28 file timestamp when --preserve-dates is used.
29
d0ecdcdd
AM
302021-04-15 Alan Modra <amodra@gmail.com>
31
32 PR 27456
33 * rename.c (smart_rename): When TO and FROM are equal, just set
34 file timestamp.
35 * objcopy.c (strip_main, copy_main): Always call smart_rename.
36
9917b559
L
372021-04-14 H.J. Lu <hongjiu.lu@intel.com>
38
39 PR binutils/27708
40 * testsuite/binutils-all/x86-64/pr27708.dump: New file.
41 * testsuite/binutils-all/x86-64/pr27708.exe.bz2: Likewise.
42 * testsuite/binutils-all/x86-64/x86-64.exp: Run binutils/27708
43 test.
44
6be872a4
MH
452021-04-14 Mark Harmstone <mark@harmstone.com>
46
47 PR 27686
48 * resbin.c (bin_to_res_version): Ignore any trailing bytes at the
49 end of the structure.
50
5f47741b
FC
512021-04-14 Frederic Cambus <fred@statdns.com>
52
53 * readelf.c (get_netbsd_elfcore_note_type): Remove unneeded #ifdef
54 checks for NT_NETBSDCORE_AUXV and NT_NETBSDCORE_LWPSTATUS.
55
13acb58d
AM
562021-04-14 Alan Modra <amodra@gmail.com>
57
58 PR 27716
59 * objdump.c (show_line): Don't limit paths to PATH_MAX.
60 * readelf.c (struct filedata): Change program_interpreter from
61 a char array to a char pointer.
62 (process_program_headers): Sanity check PT_INTERP p_filesz.
63 Malloc program_interpreter using p_filesz and read directly from
64 file.
65 (process_dynamic_section): Check program_interpreter is non-NULL.
66 (free_filedata): New function, split out from..
67 (process_object): ..here.
68 (close_debug_file): Call free_filedata.
69 * sysdep.h: Don't include sys/param.h.
70 (PATH_MAX): Don't define.
71 * configure.ac: Don't check for sys/param.h.
72 * configure: Regenerate.
73
0fa29e2d
FC
742021-04-13 Frederic Cambus <fred@statdns.com>
75
76 * readelf.c (process_netbsd_elf_note): Remove now unneeded #ifdef
77 check for NT_NETBSD_PAX.
78
43e05cd4
AM
792021-04-12 Alan Modra <amodra@gmail.com>
80
81 * configure.ac (--enable-checking): Add support.
82 * config.in: Regenerate.
83 * configure: Regenerate.
84
c3f72de4
AM
852021-04-09 Alan Modra <amodra@gmail.com>
86
87 * objdump.c (struct objdump_disasm_info): Delete dynrelbuf and
88 dynrelcount.
89 (find_symbol_for_address): Adjust for dynrelbuf and dynrelcount move.
90 (disassemble_section, disassemble_data): Likewise.
91
a2e66773
AM
922021-04-06 Alan Modra <amodra@gmail.com>
93
94 * objdump.c (objdump_symbol_at_address): Return asymbol*.
95
4db29512
AM
962021-04-06 Alan Modra <amodra@gmail.com>
97
98 * NEWS: Mention C99 requirement.
99 * README: Likewise. Modernise examples and "Reporting bugs".
100
87b9f255
AM
1012021-04-05 Alan Modra <amodra@gmail.com>
102
103 * configure.ac: Assume long long is available. Don't test for
104 strings.h, stdlib.h, limits.h, locale.h, or wchar.h. Check
105 inttypes.h, stdint.h, sys/stat.h and sys/types.h. Don't check for
106 strcoll, setlocale, setmode or location of time_t. Don't check
107 for fprintf, getenv, snprintf, strnlen, strstr or vsnprintf decls.
108 (AC_ISC_POSIX, AXC_HEADER_STRING, AC_FUNC_ALLOCA): Don't invoke.
109 * sysdep.h: Don't include alloca-conf.h, include config.h instead.
110 Test HAVE_SYS_TYPES_H and reorder includes. Include limits.h,
111 locale.h, string.h and stdlib.h unconditionally. Remove various
112 fallback declarations. Assume long long is available.
113 * addr2line.c: Don't test HAVE_SETLOCALE.
114 * ar.c: Likewise.
115 * coffdump.c: Likewise.
116 * dlltool.c: Likewise.
117 * dllwrap.c: Likewise.
118 * elfedit.c: Likewise.
119 * nm.c: Likewise.
120 * objcopy.c: Likewise.
121 * objdump.c: Likewise.
122 * readelf.c: Likewise.
123 * size.c: Likewise.
124 * srconv.c: Likewise.
125 * strings.c: Likewise.
126 * sysdump.c: Likewise.
127 * windmc.c: Likewise.
128 * windres.c: Likewise.
129 * bucomm.c: Don't test HAVE_TIME_T_IN_TIME_H or HAVE_TIME_T_IN_TYPES_H.
130 * dwarf.c: Include limits.h unconditionally. Assume long long
131 is available.
132 * nm.c: Don't test HAVE_STRCOLL.
133 * readelf.c: Don't test HAVE_WCHAR_H.
134 * strings.c: Assume long long is available.
135 * syslex.l: Include string.h unconditionally.
136 * aclocal.m4: Regenerate.
137 * config.in: Regenerate.
138 * configure: Regenerate.
139 * Makefile.in: Regenerate.
140 * doc/Makefile.in: Regenerate.
141
e9b095a5
ML
1422021-04-01 Martin Liska <mliska@suse.cz>
143
144 * elfcomm.h (strneq): Remove strneq and use startswith.
145 * readelf.c (ia64_process_unwind): Likewise.
146 (process_note): Likewise.
147
3f3328b8
ML
1482021-04-01 Martin Liska <mliska@suse.cz>
149
150 * dllwrap.c: Use startswith function.
151 * objcopy.c (is_dwo_section): Likewise.
152 (handle_remove_section_option): Likewise.
153 (copy_main): Likewise.
154 * objdump.c (is_significant_symbol_name): Likewise.
155
24d127aa
ML
1562021-04-01 Martin Liska <mliska@suse.cz>
157
158 * dwarf.c (display_debug_lines_raw): Replace const_strneq with
159 startswith.
160 (display_debug_lines_decoded): Likewise.
161 (display_debug_links): Likewise.
162 * elfcomm.c (setup_archive): Likewise.
163 * elfcomm.h (const_strneq): Likewise.
164 * readelf.c (process_section_headers): Likewise.
165 (slurp_ia64_unwind_table): Likewise.
166 (slurp_hppa_unwind_table): Likewise.
167 (decode_arm_unwind): Likewise.
168 (display_debug_section): Likewise.
169 (process_note): Likewise.
170
015dc7e1
AM
1712021-03-31 Alan Modra <amodra@gmail.com>
172
173 * sysdep.h (POISON_BFD_BOOLEAN): Define.
174 * addr2line.c, * ar.c, * arsup.c, * bfdtest2.c, * binemul.c,
175 * binemul.h, * bucomm.c, * bucomm.h, * budbg.h, * coffgrok.c,
176 * debug.c, * debug.h, * dlltool.c, * dwarf.c, * dwarf.h,
177 * elfedit.c, * emul_aix.c, * mclex.c, * nm.c, * objcopy.c,
178 * objdump.c, * od-macho.c, * prdbg.c, * rdcoff.c, * rddbg.c,
179 * readelf.c, * rename.c, * stabs.c, * strings.c, * windint.h,
180 * windmc.c, * windmc.h, * windres.c, * winduni.c,
181 * wrstabs.c: Replace bfd_boolean with bool, FALSE with false,
182 and TRUE with true throughout.
183
3dfb1b6d
AM
1842021-03-31 Alan Modra <amodra@gmail.com>
185
186 * coffdump.c: Include stdint.h in place of bfd_stdint.h.
187 * dwarf.c: Likewise.
188
57ae980e
AM
1892021-03-31 Alan Modra <amodra@gmail.com>
190
191 * prdbg.c (pr_function_type): Replace LITSTTCPY with strcpy.
192
63b4cc53
AM
1932021-03-29 Alan Modra <amodra@gmail.com>
194
195 * dlltool.c (main): Don't use "boolean_condition ? TRUE : FALSE".
196 * dwarf.c (read_and_display_attr_value): Likewise.
197 (display_debug_str_offsets): Likewise.
198 * objdump.c (dump_bfd): Likewise.
199 * readelf.c (dump_section_as_strings): Likewise.
200 (dump_section_as_bytes): Likewise.
201
1be305ff
AM
2022021-03-29 Alan Modra <amodra@gmail.com>
203
204 * objdump.c (process_links): Use type int.
205 * readelf.c (request_dump): Don't increment do_dump, set it.
206 * windint.h (target_is_bigendian): Use type bfd_boolean.
207 * windmc.c (target_is_bigendian): Likewise.
208 * windres.c (target_is_bigendian): Likewise.
209
08dedd66
ML
2102021-03-22 Martin Liska <mliska@suse.cz>
211
1be305ff
AM
212 * dlltool.c (scan_drectve_symbols): Replace usage of CONST_STRNEQ
213 with startswith.
08dedd66
ML
214 * emul_aix.c (ar_emul_aix_parse_arg): Likewise.
215 * objcopy.c (is_mergeable_note_section): Likewise.
216 * objdump.c (dump_dwarf_section): Likewise.
217 * prdbg.c (pr_method_type): Likewise.
218 (pr_class_baseclass): Likewise.
219 (tg_class_baseclass): Likewise.
220 * readelf.c (process_lto_symbol_tables): Likewise.
221 * stabs.c (ULLHIGH): Likewise.
222 (parse_stab_argtypes): Likewise.
223 (stab_demangle_function_name): Likewise.
224
7b9f9859
L
2252021-03-19 H.J. Lu <hongjiu.lu@intel.com>
226
227 * readelf.c (get_machine_name): Add EM_INTELGT.
228
835f2fae
NC
2292021-03-18 Nick Clifton <nickc@redhat.com>
230
231 PR 27478
232 * readelf.c (dump_section_as_strings): Mention separate filename.
233 (dump_section_as_bytes): Likewise.
234 (dump_section_as_ctf): Likewise.
235 (initialise_dumkps_byname): Only issue a warning for missing
236 sections if processing the main file.
237 (process_section_contents): Only issue a warning for unsumped
238 section numbers in the main file.
239 (initialise_dump_sects): New function. Contains code extracted
240 from ...
241 (process_object): ... here. Also call initialise_dump_sects for
242 separate files.
243
44266f36
NC
2442021-03-16 Nick Clifton <nickc@redhat.com>
245
246 PR 27534
247 * readelf.c (display_debug_section): Also retain .debug_addr
248 sections.
249
d6bfbc39
NC
2502021-03-16 Nick Clifton <nickc@redhat.com>
251
252 PR 27533
253 * readelf.c (process_section_contents): Only dump debug
254 information for separate files unless process_links is enabled.
255 (process_object): Always call process_section_contents for
256 separate info files.
257
1996d0f1
NC
2582021-03-15 Nick Clifton <nickc@redhat.com>
259
260 PR 27487
261 * nm.c (FORMAT_JUST_SYMBOLS): Define.
262 (struct optput_fns): Add entry for FORMAT_JUST_SYMBOLS.
263 (long_options): Add just-symbols.
264 (set_output_format): Add support for just-symbols.
265 (get_print_format): Likewise.
266 (do_not_print_object_filename): New function.
267 (do_not_print_archive_filename): New function.
268 (do_not_print_archive_member): New function.
269 (do_not_print_symbol_filename): New function.
270 (just_print_symbol_name): New function.
271 (main): Handle --just-symbols.
272 * NEWS: Mention the new feature.
273 * doc/binutils.texi: Document the new feature.
274
2c1bef53
CC
2752021-03-12 Clément Chigot <clement.chigot@atos.net>
276
277 * od-xcoff.c: Replace RTB by TRL entry.
278
db6092f3
AB
2792021-03-05 Craig Blackmore <craig.blackmore@embecosm.com>
280 Andrew Burgess <andrew.burgess@embecosm.com>
281
282 * readelf.c (get_note_type): Handle NT_RISCV_CSR.
283
b63a5e38
AB
2842021-03-05 Craig Blackmore <craig.blackmore@embecosm.com>
285 Andrew Burgess <andrew.burgess@embecosm.com>
286
287 * readelf.c (get_note_type): Handle NT_GDB_TDESC.
288
d296b736
NC
2892021-03-05 Nick Clifton <nickc@redhat.com>
290
291 PR 27387
292 * dwarf.c (display_debug_macro): Handle the displaying of
293 DW_MACRO_define_strp and DW_MACRO_undef_strp in v4
294 .debug_macro.dwo sections.
295
ca0e11aa
NC
2962021-03-04 Nick Clifton <nickc@redhat.com>
297
298 PR 27478
299 * objdump.c (process_links): New variable.
300 (usage): Add --process-links.
301 (long_options): Likewise.
302 (dump_bfd): Stop processing once the bfd has been loaded unless
303 this is the main file or process_links has been enabled.
304 (main): Handle the process-links option.
305 * readelf.c (process_links): New variable.
306 (struct filedata): Add is_separate field.
307 (options): Add --process-links.
308 (usage): Likewise.
309 (parse_args): Likewise.
310 (process_file_header): Include the filename when dumping
311 information for separate debuginfo files.
312 (process_program_headers): Likewise.
313 (process_section_headers): Likewise.
314 (process_section_groups): Likewise.
315 (process_relocs): Likewise.
316 (process_dynamic_section): Likewise.
317 (process_version_sections): Likewise.
318 (display_lto_symtab): Likewise.
319 (process_symbol_table): Likewise.
320 (process_syminfo): Likewise.
321 (initialise_dumps_by_name): Likewise.
322 (process_section_contents): Likewise.
323 (process_notes_at): Likewise.
324 (process_notes): Likewise.
325 (open_file): Add is_separate parameter. Use to initialise the
326 is_separate field in the filedata structure.
327 (open_deug): Update call to open_file.
328 (process_object): Add processing of the contents of separate
329 debuginfo files, gated by the process_links variable.
330 (process_archive): Update call to open_file.
331 (process_file): Initialise the is_separate field in the filedata
332 structure.
333 * dwarf.c (load_separate_debug_info_file): Only report the
334 loading of a separate file if debug links are being dumped.
335 * objcopy.c (keep_section_symbols): New variable.
336 (enum command_line_switch): Add OPTION_KEEP_SYMBOLS.
337 (strip_options): Add keep-section-symbols.
338 (copy_options): Likewise.
339 (copy_usage): Likewise.
340 (strip_usage): Likewise.
341 (copy_object): Keep section symbols if requested by command line
342 option.
343 (strip_main): Handle --keep-section-symbols.
344 (copy_main): Likewise.
345 * doc/binutils.texi: Document the new options.
346 * NEWS: Mention the new features.
347 * testsuite/binutils-all/compress.exp (test_gnu_debuglink):
348 Update options passed to objdump. Use diff rather than cmp to
349 compare the dumped data.
350 * testsuite/binutils-all/objdump.WK2: Update regexp.
351 * testsuite/binutils-all/objdump.WK3: Update regexp.
352 * testsuite/binutils-all/objdump.exp: Use --process-links
353 instead of --dwarf=follow-links.
354 * testsuite/binutils-all/readelf.exp (readelf_test): Include
355 readelf's output in the log when the test fails.
356 Add the -P option to the -wKis test.
357 * testsuite/binutils-all/readelf.wKis: Update expected output.
358
fd5c076a
AM
3592021-03-03 Alan Modra <amodra@gmail.com>
360
361 PR 27493
362 * objcopy.c (filter_symbols): Apply --weaken to undefined symbols.
363 * NEWS: Mention feature.
364
ecd65684
L
3652021-03-01 H.J. Lu <hongjiu.lu@intel.com>
366
367 PR binutils/27486
368 * dwarf.c (load_separate_debug_info): Issue warning only if
369 do_debug_links is set.
370 * testsuite/binutils-all/compress.exp: Run objdump and readelf
371 with missing debug file.
372
6a1224ec
AM
3732021-03-01 Alan Modra <amodra@gmail.com>
374
375 PR 27128
376 * doc/binutils.texi: Add nm --with-symbol-versions and
377 --without-symbol-versions documentation.
378 * nm.c (with_symbol_versions): New variable.
379 (enum long_option_values): Delete OPTION_WITH_SYMBOL_VERSIONS.
380 (long_options): Make --with-symbol-versions entry twiddle the flag.
381 Add --without-symbol-versions.
382 (print_symname): Strip version when !with_symbol_versions. Add
383 dynamic version info under control of with_symbol_versions.
384 (main): Remove OPTION_WITH_SYMBOL_VERSIONS case.
385
7fe1b138
FS
3862021-02-26 Fangrui Song <maskray@google.com>
387
388 PR 27408
389 * readelf.c (quiet): New option flag.
390 (enum long_option_values): New enum to hold long option value.
391 (long_options): Add --quiet.
392 (usage): Mention --quiet.
393 (display_rel_file): If quiet is enabled, suppress "no symbols".
394 (main): Handle the new option.
395 * NEWS: Mention --quiet.
396 * docs/binutils.texi: Document --quiet.
397
0e12f6c8
TV
3982021-02-26 Tom de Vries <tdevries@suse.de>
399
400 * dwarf.c (display_debug_addr): Handle dwarf-5 .debug_addr bits.
401
32e4f96c
TV
4022021-02-26 Tom de Vries <tdevries@suse.de>
403
404 PR 27390
405 * dwarf.c: (skip_attr_bytes): Add support for DW_FORM_str* and
406 DW_FORM_addrx*.
407 (read_and_display_attr_value): Likewise.
408
e38332c2
NC
4092021-02-25 Nick Clifton <nickc@redhat.com>
410
411 * dwarf.c (get_type_abbrev_from_form): Accept but ignore sup
412 forms.
413 (read_and_display_attr_value): Handle sup forms.
414 (display_debug_sup): New function. Displays the contents of a
415 .debug_sup section.
416 (load_debug_sup_file): New function. Loads the contents of a file
417 referenced by a .debug_sup section.
418 (check_for_and_load_links): Call load_debug_sup_file.
419 (debug_displays): Add entry for .debug_sup.
420 * dwarf.h (enum dwarf_section_display_enum): Add debug_sup.
421 * readelf.c (process_section_headers): Add support for debug_sup.
422 * doc/debug.options.texi: Note that the =links option will display
423 the contents of .debug_sup sections.
424 * NEWS: Mention the new support.
425
40b02646
AM
4262021-02-25 Alan Modra <amodra@gmail.com>
427
428 PR 27456
429 * rename.c (simple_copy): Mark target_stat ATTRIBUTE_UNUSED.
430
9d3fcfe0
NC
4312021-02-24 Nick Clifton <nickc@redhat.com>
432
433 PR 27285
434 * od-elf32_avr.c (elf32_avr_get_memory_usage): Check for overflows
435 when adding together the section sizes.
436
c74147bb
NC
4372021-02-24 Nick Clifton <nickc@redhat.com>
438
439 * objcopy.c (merge_gnu_build_notes): Remove support for v1/v2 GNU
440 build notes.
441 * readelf.c (print_gnu_build_attribute_description): Likewise.
442
c42c71a1
AM
4432021-02-24 Alan Modra <amodra@gmail.com>
444 Siddhesh Poyarekar <siddhesh@gotplt.org>
445
446 PR 27456
447 * bucomm.h (smart_rename): Update prototype.
448 * rename.c (smart_rename): Add fromfd and preserve_dates params.
449 Pass fromfd and target_stat to simple_copy. Call set_times
450 when preserve_dates.
451 (simple_copy): Accept fromfd rather than from filename. Add
452 target_stat param. Rewind fromfd rather than opening. Open
453 "to" file without O_CREAT. Try to preserve S_ISUID and S_ISGID.
454 * ar.c (write_archive): Rename ofd to tmpfd. Dup tmpfd before
455 closing output temp file, and pass tmpfd to smart_rename.
456 * arsup.c (temp_fd): Rename from real_fd.
457 (ar_save): Dup temp_fd and pass to smart_rename.
458 * objcopy.c (strip_main, copy_main): Likewise, and pass
459 preserve_dates.
460
cca8873d
AM
4612021-02-24 Alan Modra <amodra@gmail.com>
462
463 PR 27456
464 * rename.c: Tidy throughout.
465 (smart_rename): Always copy. Remove windows specific code.
466
4d496013
AM
4672021-02-20 Alan Modra <amodra@gmail.com>
468
469 * testsuite/lib/binutils-common.exp: Whitespace fixes throughout.
470 (run_dump_test): Fail if expecting errors from a file like we do
471 for error strings, if no error is seen.
472
0be51eb4
AM
4732021-02-19 Alan Modra <amodra@gmail.com>
474
475 * testsuite/binutils-all/readelf.exp (pr26548): Run for 32-bit too.
476
3685de75
SP
4772021-02-19 Siddhesh Poyarekar <siddhesh@gotplt.org>
478
479 * ar.c (write_archive): Remove TARGET_STAT. Adjust call to
480 SMART_RENAME.
481 * arsup.c (ar_save): Likewise.
482 * objcopy (strip_main): Don't copy TMPFD. Don't set times on
483 temporary file and adjust call to SMART_RENAME.
484 (copy_main): Likewise.
485 * rename.c [!S_ISLNK]: Remove definitions.
486 (try_preserve_permissions): Remove function.
487 (smart_rename): Remove FD, PRESERVE_DATES arguments. Use
488 rename system call only if TO does not exist.
489 * bucomm.h (smart_rename): Adjust declaration.
490
85684222
NC
4912021-02-18 Nick Clifton <nickc@redhat.com>
492
493 * objcopy.c (merge_gnu_build_notes): Handle notes with a start
494 address that is higher than the end address.
495
b9b204b3
AM
4962021-02-17 Alan Modra <amodra@gmail.com>
497
498 * dwarf.c: Include limits.h.
499 (CHAR_BIT): Provide backup define.
500 (read_leb128): Use CHAR_BIT to size "result" in bits. Correct
501 signed overflow checking.
502 * testsuite/binutils-all/pr26548.s,
503 * testsuite/binutils-all/pr26548.d,
504 * testsuite/binutils-all/pr26548e.d: New tests.
505 * testsuite/binutils-all/readelf.exp: Run them.
506 (readelf_test): Drop unused "xfails" parameter. Update all uses.
507
e6ca1878
JB
5082021-02-16 Jan Beulich <jbeulich@suse.com>
509
510 * dwarf.c (process_debug_info): Initialize "dwo_id".
511
208599d9
AM
5122021-02-15 Alan Modra <amodra@gmail.com>
513
514 * objdump.c (load_specific_debug_section): Don't call
515 bfd_cache_section_contents. Rearrange so that
516 bfd_get_full_section_contents is not called on path where
517 bfd_simple_get_relocated_section_contents is called.
518 Don't set section->user_data.
519 (free_debug_section): Always free section->start. Don't twiddle
520 section flags.
521 * readelf.c (load_specific_debug_section): Don't set user_data.
522 * dwarf.h (struct dwarf_section): Remove use_data field.
523 * dwarf.c (NO_ABBREVS, ABBREV): Adjust to suit.
524
1781a9d0
AM
5252021-02-15 Alan Modra <amodra@gmail.com>
526
527 * testsuite/binutils-all/compress.exp: Remove nds32 xfails.
528 * testsuite/binutils-all/objdump.exp: Likewise.
529
1944212b
AM
5302021-02-14 Alan Modra <amodra@gmail.com>
531
532 * objdump.c (slurp_symtab): Don't add an extra entry for NULL
533 to the symbol array.
534 (slurp_dynamic_symtab): Likewise.
535 (dump_bfd): Formatting. Copy terminating NULL from extra_syms.
536
0d0a0d86
AM
5372021-02-14 Alan Modra <amodra@gmail.com>
538
539 * Makefile.in: Regenerate.
540 * doc/Makefile.in: Regenerate.
541
adeab0c5
MF
5422021-02-13 Mike Frysinger <vapier@gentoo.org>
543
544 * aclocal.m4: Regenerate.
545
c46b7066
NC
5462021-02-12 Nick Clifton <nickc@redhat.com>
547
548 * configure.ac (follow-debug-links): Add option to enable or
549 disable the following of debug links by default. Set the
550 default for the option to be 'follow'.
551 * dwarf.c (do_follow_links): Initialise with DEFAULT_FOR_FOLLOW_LINKS.
552 (dwarf_select_sections_by_names): Add no-follow-links option.
553 (dwarf_select_sections_by_letter): Add 'N' option.
554 * objdump.c (usage): Add conditional text describing the
555 follow links option.
556 (slurp_symtab): Ensure that there is a NULL entry at the end
557 of the symbol table.
558 (slurp_dynamic_symtab): Likewise.
559 (dump_bfd): When extending the symbol table, ensure that there
560 is still a NULL entry at the end.
561 * readelf.c (usage): Add conditional text describing the
562 follow links option.
563 * doc/binutils.texi: Update documentation for objcopy and
564 readelf.
565 * doc/debug.options.texi: Update documentation of the
566 follow-links option.
567 * config.in: Regenerate.
568 * configure: Regenerate.
569 * testsuite/binutils-all/compress.exp: Add the -WN option to
570 objdump command lines that are not expecting to follow links.
571 * testsuite/binutils-all/readelf.exp: Add the
572 --debug-dump=no-follow-links option to tests that are not
573 expecting to follow debug links.
574 * NEWS: Mention the new behaviour.
575
17e04eff
AM
5762021-02-12 Alan Modra <amodra@gmail.com>
577
578 * testsuite/binutils-all/objcopy.exp: Report "unsupported" when
579 gas or ld fails to build a testcase rather than "unresolved".
580 Report "fail" when readelf returns an error status rather than
581 "unresolved".
582 * testsuite/binutils-all/ar.exp: Likewise.
583 * testsuite/binutils-all/compress.exp: Likewise.
584 * testsuite/binutils-all/readelf.exp: Likewise.
585
8f054a7a
AM
5862021-02-12 Alan Modra <amodra@gmail.com>
587
588 * testsuite/binutils-all/pr25662.s: Replace "a" with "aaa" and
589 "c" with "ccc" labels.
590
528a4f87
TV
5912021-02-12 Tom de Vries <tdevries@suse.de>
592
593 * dwarf.h (debug_info): Fix typo in comment.
594
95abb394
TV
5952021-02-12 Tom de Vries <tdevries@suse.de>
596
597 * dwarf.c (display_debug_str_offsets): Handle multiple sets of
598 entries.
599
d60f7998
TV
6002021-02-12 Tom de Vries <tdevries@suse.de>
601
602 * dwarf.c (process_debug_info): Print DWO ID.
603
1cfcf300
AM
6042021-02-11 Alan Modra <amodra@gmail.com>
605
606 PR 27290
607 PR 27293
608 PR 27295
609 * od-elf32_avr.c (elf32_avr_get_note_section_contents): Formatting.
610 Use bfd_malloc_and_get_section.
611 (elf32_avr_get_note_desc): Formatting. Return descsz. Sanity
612 check namesz. Return NULL if descsz is too small. Ensure
613 string table is terminated.
614 (elf32_avr_get_device_info): Formatting. Add note_size param.
615 Sanity check note.
616 (elf32_avr_dump_mem_usage): Adjust to suit.
617
d9d9d8ef
TV
6182021-02-10 Tom de Vries <tdevries@suse.de>
619
620 PR binutils/27391
621 * dwarf.c (load_dwo_file): Handle case that name is absolute path.
622
52ff20fe
TV
6232021-02-10 Tom de Vries <tdevries@suse.de>
624
625 PR binutils/27371
626 * dwarf.c (display_debug_ranges): Filter range lists according to
627 section.
628
5f128a25
TV
6292021-02-09 Tom de Vries <tdevries@suse.de>
630
631 PR binutils/27370
632 * dwarf.c (get_type_abbrev_from_form): Handle DW_FORM_ref_sig8.
633
9b87f84a
TV
6342021-02-09 Tom de Vries <tdevries@suse.de>
635
636 PR binutils/27386
637 * dwarf.c (process_debug_info): Handling DW_UT_skeleton and
638 DW_UT_split_compile.
639
a57d1773
AM
6402021-02-09 Alan Modra <amodra@gmail.com>
641
642 * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Remove
643 symbianelf.
644
de8d4203
AM
6452021-02-07 Alan Modra <amodra@gmail.com>
646
647 * unwind-ia64.c (unw_print_xyreg): Don't leave output buffer
648 uninitialised on invalid input.
649
51a25252
AM
6502021-02-06 Alan Modra <amodra@gmail.com>
651
652 PR 27349
653 * rename.c (smart_rename): Test for existence and type of output
654 file with lstat.
655
e37d88e5
NC
6562021-02-05 Nick Clifton <nickc@redhat.com>
657
658 * MAINTAINERS: Remove Richard Henderson as the ALPHA maintainer.
659
887854ba
EZ
6602021-02-05 Eli Zaretskii <eliz@gnu.org>
661
662 PR 27252
663 * elfedit.c (check_file):
664 * bucomm.c (get_file_size): Fix typos in comments.
665
c180f095
AM
6662021-02-05 Alan Modra <amodra@gmail.com>
667
668 PR 27345
669 * arsup.c (ar_save): Use stat rather than lstat.
670
95b91a04
AM
6712021-02-03 Alan Modra <amodra@gmail.com>
672
673 PR 27270
674 PR 27284
675 PR 26945
676 * ar.c: Don't include libbfd.h.
677 (write_archive): Replace xmalloc+strcpy with xstrdup. Use
678 bfd_stat rather than fstat on iostream. Move stat and fd tests
679 outside of _WIN32 ifdef. Delete skip_stat variable.
680 * arsup.c (temp_name, real_ofd): New static variables.
681 (ar_open): Use make_tempname and bfd_fdopenw.
682 (ar_save): Adjust to suit ar_open changes. Move stat output
683 of _WIN32 ifdef.
684 * objcopy.c: Don't include libbfd.h.
685 (copy_file): Use bfd_stat.
686
5424d7ed
L
6872021-02-02 H.J. Lu <hongjiu.lu@intel.com>
688
689 PR binutils/27281
690 * readelf.c (process_section_headers): Add 'R' and 'D' to
691 "Key to Flags:".
692 * testsuite/binutils-all/retain1a.d: Updated.
693
72a51a06
NC
6942021-01-30 Nick Clifton <nickc@redhat.com>
695
696 * README-how-to-make-a-release: Small updates after the 2.35.2
697 release.
698
cc3edc52
EZ
6992021-01-28 Eli Zaretskii <eliz@gnu.org>
700
701 PR 4356
702 * windres.c (quot): Use double quotes to protect strings on
703 Windows platforms.
704
a7ad3cb1
EZ
7052021-01-28 Eli Zaretskii <eliz@gnu.org>
706
707 PR 27252
708 * bucomm.c (get_file_size): Add code to handle /dev/null on
709 Windows systems.
710 * elfedit.c (check_file): Likewise.
711
67965ba2
NC
7122021-01-27 Nick Clifton <nickc@redhat.com>
713
714 * objcopy.c (copy_main): Remove conditional control of the calls
715 to free, simplifying the code and making it easier to detect
716 typos.
717
e37709f0
FC
7182021-01-26 Frederic Cambus <fred@statdns.com>
719
720 * objcopy.c (copy_main): Fix a double free happening when both
721 --localize-symbols and --globalize-symbols options are invoked
722 together.
723
9b351c9b
NC
7242021-01-24 Nick Clifton <nickc@redhat.com>
725
726 * README-how-to-make-a-release: Minor updates after the 2.36 release.
727
ad92f33d
AM
7282021-01-16 Alan Modra <amodra@gmail.com>
729
730 * readelf.c (uncompress_section_contents): Tidy inflateEnd result test.
731
3624a6c1
AM
7322021-01-15 Alan Modra <amodra@gmail.com>
733
734 PR 26539
735 * readelf.c (uncompress_section_contents): Always call inflateEnd.
736
c14dee84
AO
7372021-01-14 Alexandre Oliva <oliva@gnu.org>
738
739 * MAINTAINERS: Update my email address.
740
5a10699f
NC
7412021-01-14 Nick Clifton <nickc@redhat.com>
742
743 * po/sv.po: Updated Swedish translation.
744
5347ed60
AM
7452021-01-13 Alan Modra <amodra@gmail.com>
746
747 * Makefile.in: Regenerate.
748 * doc/Makefile.in: Regenerate.
749
2ce40d1a
ZF
7502021-01-13 Zebediah Figura <z.figura12@gmail.com>
751
752 PR 27037
753 * dlltool.c (i386_trampoline): Adjust %rsp immediately on entry
754 and before exit.
755 (i386_x64_trampoline): Add SEH annotations.
756 (struct mac): Add how_seh field.
757 (make_delay_head): If how_set field is true add SEh instructions.
758
d546b610
L
7592021-01-12 H.J. Lu <hongjiu.lu@intel.com>
760
761 PR binutils/26792
762 * configure.ac: Use GNU_MAKE_JOBSERVER.
763 * aclocal.m4: Regenerated.
764 * configure: Likewise.
765
6d104cac
NC
7662021-01-12 Nick Clifton <nickc@redhat.com>
767
768 * po/fr.po: Updated French translation.
769
83b33c6c
L
7702021-01-11 H.J. Lu <hongjiu.lu@intel.com>
771
772 PR ld/27173
773 * configure: Regenerated.
774
a8aa72b9
NC
7752021-01-11 Nick Clifton <nickc@redhat.com>
776
777 * po/pt.po: Updated Portuguese translation.
778 * po/sr.po: Updated Serbian translation.
779 * po/uk.po: Updated Ukranian translation.
780
a4966cd9
L
7812021-01-09 H.J. Lu <hongjiu.lu@intel.com>
782
783 * configure: Regenerated.
784
573fe3fb
NC
7852021-01-09 Nick Clifton <nickc@redhat.com>
786
787 * configure: Regenerate.
788 * po/binutils.pot: Regenerate.
789
055bc77a
NC
7902021-01-09 Nick Clifton <nickc@redhat.com>
791
792 * 2.36 release branch crated.
573fe3fb
NC
793 * README-how-to-make-a-release: Add note about updating Makefiles
794 and libtool files.
795 * BRANCHES: Add binutils-2.36-branch.
055bc77a 796
64307045
AM
7972021-01-09 Alan Modra <amodra@gmail.com>
798
799 * configure: Regenerate.
800
f4782128
ST
8012021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
802
803 * configure: Regenerate.
804
d1bcae83
L
8052021-01-07 H.J. Lu <hongjiu.lu@intel.com>
806
807 PR 27109
808 * objcopy.c (copy_object): Handle section symbols for
809 non-relocatable inputs.
810 * testsuite/binutils-all/readelf.exp (readelf_test): Check
811 is_elf_unused_section_symbols.
812 * testsuite/binutils-all/readelf.s-64: Updated.
813 * testsuite/binutils-all/readelf.ss: Likewise.
814 * testsuite/binutils-all/readelf.ss-64: Likewise.
815 * testsuite/binutils-all/readelf.s-64-unused: New file.
816 * testsuite/binutils-all/readelf.ss-64-unused: Likewise.
817 * testsuite/binutils-all/readelf.ss-unused: Likewise.
818 * testsuite/lib/binutils-common.exp
819 (is_elf_unused_section_symbols): New proc.
820
6987d5a1
RT
8212021-01-06 Reuben Thomas <rrt@sc3d.org>
822
823 * binutils/readelf.c: Correct grammar in comment.
824
f9a6a8f0
AM
8252021-01-01 Nicolas Boulenguez <nicolas@debian.org>
826
827 * coffgrok.c (do_type): Correct spelling of auxiliary in errors.
828 * doc/binutils.texi: Correct grammar.
829 * readelf.c (process_version_sections): Correct spelling of auxiliary
830 in warning.
831 * testsuite/binutils-all/vax/objdump.exp: Comment grammar fix.
832
250d07de
AM
8332021-01-01 Alan Modra <amodra@gmail.com>
834
835 Update year range in copyright notice of all files.
836
c2795844 837For older changes see ChangeLog-2020
3499769a 838\f
c2795844 839Copyright (C) 2021 Free Software Foundation, Inc.
3499769a
AM
840
841Copying and distribution of this file, with or without modification,
842are permitted in any medium without royalty provided the copyright
843notice and this notice are preserved.
844
845Local Variables:
846mode: change-log
847left-margin: 8
848fill-column: 74
849version-control: never
850End: