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