ENABLE_CHECKING in bfd, opcodes, binutils, ld
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
43e05cd4
AM
12021-04-12 Alan Modra <amodra@gmail.com>
2
3 * configure.ac (--enable-checking): Add support.
4 * config.in: Regenerate.
5 * configure: Regenerate.
6
c3f72de4
AM
72021-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
a2e66773
AM
142021-04-06 Alan Modra <amodra@gmail.com>
15
16 * objdump.c (objdump_symbol_at_address): Return asymbol*.
17
4db29512
AM
182021-04-06 Alan Modra <amodra@gmail.com>
19
20 * NEWS: Mention C99 requirement.
21 * README: Likewise. Modernise examples and "Reporting bugs".
22
87b9f255
AM
232021-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
e9b095a5
ML
642021-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
3f3328b8
ML
702021-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
24d127aa
ML
782021-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
015dc7e1
AM
932021-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
3dfb1b6d
AM
1062021-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
57ae980e
AM
1112021-03-31 Alan Modra <amodra@gmail.com>
112
113 * prdbg.c (pr_function_type): Replace LITSTTCPY with strcpy.
114
63b4cc53
AM
1152021-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
1be305ff
AM
1242021-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
08dedd66
ML
1322021-03-22 Martin Liska <mliska@suse.cz>
133
1be305ff
AM
134 * dlltool.c (scan_drectve_symbols): Replace usage of CONST_STRNEQ
135 with startswith.
08dedd66
ML
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
7b9f9859
L
1472021-03-19 H.J. Lu <hongjiu.lu@intel.com>
148
149 * readelf.c (get_machine_name): Add EM_INTELGT.
150
835f2fae
NC
1512021-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
44266f36
NC
1662021-03-16 Nick Clifton <nickc@redhat.com>
167
168 PR 27534
169 * readelf.c (display_debug_section): Also retain .debug_addr
170 sections.
171
d6bfbc39
NC
1722021-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
1996d0f1
NC
1802021-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
2c1bef53
CC
1972021-03-12 Clément Chigot <clement.chigot@atos.net>
198
199 * od-xcoff.c: Replace RTB by TRL entry.
200
db6092f3
AB
2012021-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
b63a5e38
AB
2062021-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
d296b736
NC
2112021-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
ca0e11aa
NC
2182021-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
fd5c076a
AM
2812021-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
ecd65684
L
2872021-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
6a1224ec
AM
2952021-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
7fe1b138
FS
3082021-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
0e12f6c8
TV
3202021-02-26 Tom de Vries <tdevries@suse.de>
321
322 * dwarf.c (display_debug_addr): Handle dwarf-5 .debug_addr bits.
323
32e4f96c
TV
3242021-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
e38332c2
NC
3312021-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
40b02646
AM
3482021-02-25 Alan Modra <amodra@gmail.com>
349
350 PR 27456
351 * rename.c (simple_copy): Mark target_stat ATTRIBUTE_UNUSED.
352
9d3fcfe0
NC
3532021-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
c74147bb
NC
3592021-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
c42c71a1
AM
3652021-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
cca8873d
AM
3832021-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
4d496013
AM
3892021-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
0be51eb4
AM
3952021-02-19 Alan Modra <amodra@gmail.com>
396
397 * testsuite/binutils-all/readelf.exp (pr26548): Run for 32-bit too.
398
3685de75
SP
3992021-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
85684222
NC
4132021-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
b9b204b3
AM
4182021-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
e6ca1878
JB
4302021-02-16 Jan Beulich <jbeulich@suse.com>
431
432 * dwarf.c (process_debug_info): Initialize "dwo_id".
433
208599d9
AM
4342021-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
1781a9d0
AM
4472021-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
1944212b
AM
4522021-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
0d0a0d86
AM
4592021-02-14 Alan Modra <amodra@gmail.com>
460
461 * Makefile.in: Regenerate.
462 * doc/Makefile.in: Regenerate.
463
adeab0c5
MF
4642021-02-13 Mike Frysinger <vapier@gentoo.org>
465
466 * aclocal.m4: Regenerate.
467
c46b7066
NC
4682021-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
17e04eff
AM
4982021-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
8f054a7a
AM
5082021-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
528a4f87
TV
5132021-02-12 Tom de Vries <tdevries@suse.de>
514
515 * dwarf.h (debug_info): Fix typo in comment.
516
95abb394
TV
5172021-02-12 Tom de Vries <tdevries@suse.de>
518
519 * dwarf.c (display_debug_str_offsets): Handle multiple sets of
520 entries.
521
d60f7998
TV
5222021-02-12 Tom de Vries <tdevries@suse.de>
523
524 * dwarf.c (process_debug_info): Print DWO ID.
525
1cfcf300
AM
5262021-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
d9d9d8ef
TV
5402021-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
52ff20fe
TV
5452021-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
5f128a25
TV
5512021-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
9b87f84a
TV
5562021-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
a57d1773
AM
5622021-02-09 Alan Modra <amodra@gmail.com>
563
564 * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Remove
565 symbianelf.
566
de8d4203
AM
5672021-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
51a25252
AM
5722021-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
e37d88e5
NC
5782021-02-05 Nick Clifton <nickc@redhat.com>
579
580 * MAINTAINERS: Remove Richard Henderson as the ALPHA maintainer.
581
887854ba
EZ
5822021-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
c180f095
AM
5882021-02-05 Alan Modra <amodra@gmail.com>
589
590 PR 27345
591 * arsup.c (ar_save): Use stat rather than lstat.
592
95b91a04
AM
5932021-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
5424d7ed
L
6092021-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
72a51a06
NC
6162021-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
cc3edc52
EZ
6212021-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
a7ad3cb1
EZ
6272021-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
67965ba2
NC
6342021-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
e37709f0
FC
6402021-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
9b351c9b
NC
6462021-01-24 Nick Clifton <nickc@redhat.com>
647
648 * README-how-to-make-a-release: Minor updates after the 2.36 release.
649
ad92f33d
AM
6502021-01-16 Alan Modra <amodra@gmail.com>
651
652 * readelf.c (uncompress_section_contents): Tidy inflateEnd result test.
653
3624a6c1
AM
6542021-01-15 Alan Modra <amodra@gmail.com>
655
656 PR 26539
657 * readelf.c (uncompress_section_contents): Always call inflateEnd.
658
c14dee84
AO
6592021-01-14 Alexandre Oliva <oliva@gnu.org>
660
661 * MAINTAINERS: Update my email address.
662
5a10699f
NC
6632021-01-14 Nick Clifton <nickc@redhat.com>
664
665 * po/sv.po: Updated Swedish translation.
666
5347ed60
AM
6672021-01-13 Alan Modra <amodra@gmail.com>
668
669 * Makefile.in: Regenerate.
670 * doc/Makefile.in: Regenerate.
671
2ce40d1a
ZF
6722021-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
d546b610
L
6812021-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
6d104cac
NC
6882021-01-12 Nick Clifton <nickc@redhat.com>
689
690 * po/fr.po: Updated French translation.
691
83b33c6c
L
6922021-01-11 H.J. Lu <hongjiu.lu@intel.com>
693
694 PR ld/27173
695 * configure: Regenerated.
696
a8aa72b9
NC
6972021-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
a4966cd9
L
7032021-01-09 H.J. Lu <hongjiu.lu@intel.com>
704
705 * configure: Regenerated.
706
573fe3fb
NC
7072021-01-09 Nick Clifton <nickc@redhat.com>
708
709 * configure: Regenerate.
710 * po/binutils.pot: Regenerate.
711
055bc77a
NC
7122021-01-09 Nick Clifton <nickc@redhat.com>
713
714 * 2.36 release branch crated.
573fe3fb
NC
715 * README-how-to-make-a-release: Add note about updating Makefiles
716 and libtool files.
717 * BRANCHES: Add binutils-2.36-branch.
055bc77a 718
64307045
AM
7192021-01-09 Alan Modra <amodra@gmail.com>
720
721 * configure: Regenerate.
722
f4782128
ST
7232021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
724
725 * configure: Regenerate.
726
d1bcae83
L
7272021-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
6987d5a1
RT
7432021-01-06 Reuben Thomas <rrt@sc3d.org>
744
745 * binutils/readelf.c: Correct grammar in comment.
746
f9a6a8f0
AM
7472021-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
250d07de
AM
7552021-01-01 Alan Modra <amodra@gmail.com>
756
757 Update year range in copyright notice of all files.
758
c2795844 759For older changes see ChangeLog-2020
3499769a 760\f
c2795844 761Copyright (C) 2021 Free Software Foundation, Inc.
3499769a
AM
762
763Copying and distribution of this file, with or without modification,
764are permitted in any medium without royalty provided the copyright
765notice and this notice are preserved.
766
767Local Variables:
768mode: change-log
769left-margin: 8
770fill-column: 74
771version-control: never
772End:
This page took 0.35557 seconds and 4 git commands to generate.