]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/ChangeLog
Remove strneq macro and use startswith.
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
e9b095a5
ML
12021-04-01 Martin Liska <mliska@suse.cz>
2
3 * elfcomm.h (strneq): Remove strneq and use startswith.
4 * readelf.c (ia64_process_unwind): Likewise.
5 (process_note): Likewise.
6
3f3328b8
ML
72021-04-01 Martin Liska <mliska@suse.cz>
8
9 * dllwrap.c: Use startswith function.
10 * objcopy.c (is_dwo_section): Likewise.
11 (handle_remove_section_option): Likewise.
12 (copy_main): Likewise.
13 * objdump.c (is_significant_symbol_name): Likewise.
14
24d127aa
ML
152021-04-01 Martin Liska <mliska@suse.cz>
16
17 * dwarf.c (display_debug_lines_raw): Replace const_strneq with
18 startswith.
19 (display_debug_lines_decoded): Likewise.
20 (display_debug_links): Likewise.
21 * elfcomm.c (setup_archive): Likewise.
22 * elfcomm.h (const_strneq): Likewise.
23 * readelf.c (process_section_headers): Likewise.
24 (slurp_ia64_unwind_table): Likewise.
25 (slurp_hppa_unwind_table): Likewise.
26 (decode_arm_unwind): Likewise.
27 (display_debug_section): Likewise.
28 (process_note): Likewise.
29
015dc7e1
AM
302021-03-31 Alan Modra <amodra@gmail.com>
31
32 * sysdep.h (POISON_BFD_BOOLEAN): Define.
33 * addr2line.c, * ar.c, * arsup.c, * bfdtest2.c, * binemul.c,
34 * binemul.h, * bucomm.c, * bucomm.h, * budbg.h, * coffgrok.c,
35 * debug.c, * debug.h, * dlltool.c, * dwarf.c, * dwarf.h,
36 * elfedit.c, * emul_aix.c, * mclex.c, * nm.c, * objcopy.c,
37 * objdump.c, * od-macho.c, * prdbg.c, * rdcoff.c, * rddbg.c,
38 * readelf.c, * rename.c, * stabs.c, * strings.c, * windint.h,
39 * windmc.c, * windmc.h, * windres.c, * winduni.c,
40 * wrstabs.c: Replace bfd_boolean with bool, FALSE with false,
41 and TRUE with true throughout.
42
3dfb1b6d
AM
432021-03-31 Alan Modra <amodra@gmail.com>
44
45 * coffdump.c: Include stdint.h in place of bfd_stdint.h.
46 * dwarf.c: Likewise.
47
57ae980e
AM
482021-03-31 Alan Modra <amodra@gmail.com>
49
50 * prdbg.c (pr_function_type): Replace LITSTTCPY with strcpy.
51
63b4cc53
AM
522021-03-29 Alan Modra <amodra@gmail.com>
53
54 * dlltool.c (main): Don't use "boolean_condition ? TRUE : FALSE".
55 * dwarf.c (read_and_display_attr_value): Likewise.
56 (display_debug_str_offsets): Likewise.
57 * objdump.c (dump_bfd): Likewise.
58 * readelf.c (dump_section_as_strings): Likewise.
59 (dump_section_as_bytes): Likewise.
60
1be305ff
AM
612021-03-29 Alan Modra <amodra@gmail.com>
62
63 * objdump.c (process_links): Use type int.
64 * readelf.c (request_dump): Don't increment do_dump, set it.
65 * windint.h (target_is_bigendian): Use type bfd_boolean.
66 * windmc.c (target_is_bigendian): Likewise.
67 * windres.c (target_is_bigendian): Likewise.
68
08dedd66
ML
692021-03-22 Martin Liska <mliska@suse.cz>
70
1be305ff
AM
71 * dlltool.c (scan_drectve_symbols): Replace usage of CONST_STRNEQ
72 with startswith.
08dedd66
ML
73 * emul_aix.c (ar_emul_aix_parse_arg): Likewise.
74 * objcopy.c (is_mergeable_note_section): Likewise.
75 * objdump.c (dump_dwarf_section): Likewise.
76 * prdbg.c (pr_method_type): Likewise.
77 (pr_class_baseclass): Likewise.
78 (tg_class_baseclass): Likewise.
79 * readelf.c (process_lto_symbol_tables): Likewise.
80 * stabs.c (ULLHIGH): Likewise.
81 (parse_stab_argtypes): Likewise.
82 (stab_demangle_function_name): Likewise.
83
7b9f9859
L
842021-03-19 H.J. Lu <hongjiu.lu@intel.com>
85
86 * readelf.c (get_machine_name): Add EM_INTELGT.
87
835f2fae
NC
882021-03-18 Nick Clifton <nickc@redhat.com>
89
90 PR 27478
91 * readelf.c (dump_section_as_strings): Mention separate filename.
92 (dump_section_as_bytes): Likewise.
93 (dump_section_as_ctf): Likewise.
94 (initialise_dumkps_byname): Only issue a warning for missing
95 sections if processing the main file.
96 (process_section_contents): Only issue a warning for unsumped
97 section numbers in the main file.
98 (initialise_dump_sects): New function. Contains code extracted
99 from ...
100 (process_object): ... here. Also call initialise_dump_sects for
101 separate files.
102
44266f36
NC
1032021-03-16 Nick Clifton <nickc@redhat.com>
104
105 PR 27534
106 * readelf.c (display_debug_section): Also retain .debug_addr
107 sections.
108
d6bfbc39
NC
1092021-03-16 Nick Clifton <nickc@redhat.com>
110
111 PR 27533
112 * readelf.c (process_section_contents): Only dump debug
113 information for separate files unless process_links is enabled.
114 (process_object): Always call process_section_contents for
115 separate info files.
116
1996d0f1
NC
1172021-03-15 Nick Clifton <nickc@redhat.com>
118
119 PR 27487
120 * nm.c (FORMAT_JUST_SYMBOLS): Define.
121 (struct optput_fns): Add entry for FORMAT_JUST_SYMBOLS.
122 (long_options): Add just-symbols.
123 (set_output_format): Add support for just-symbols.
124 (get_print_format): Likewise.
125 (do_not_print_object_filename): New function.
126 (do_not_print_archive_filename): New function.
127 (do_not_print_archive_member): New function.
128 (do_not_print_symbol_filename): New function.
129 (just_print_symbol_name): New function.
130 (main): Handle --just-symbols.
131 * NEWS: Mention the new feature.
132 * doc/binutils.texi: Document the new feature.
133
2c1bef53
CC
1342021-03-12 Clément Chigot <clement.chigot@atos.net>
135
136 * od-xcoff.c: Replace RTB by TRL entry.
137
db6092f3
AB
1382021-03-05 Craig Blackmore <craig.blackmore@embecosm.com>
139 Andrew Burgess <andrew.burgess@embecosm.com>
140
141 * readelf.c (get_note_type): Handle NT_RISCV_CSR.
142
b63a5e38
AB
1432021-03-05 Craig Blackmore <craig.blackmore@embecosm.com>
144 Andrew Burgess <andrew.burgess@embecosm.com>
145
146 * readelf.c (get_note_type): Handle NT_GDB_TDESC.
147
d296b736
NC
1482021-03-05 Nick Clifton <nickc@redhat.com>
149
150 PR 27387
151 * dwarf.c (display_debug_macro): Handle the displaying of
152 DW_MACRO_define_strp and DW_MACRO_undef_strp in v4
153 .debug_macro.dwo sections.
154
ca0e11aa
NC
1552021-03-04 Nick Clifton <nickc@redhat.com>
156
157 PR 27478
158 * objdump.c (process_links): New variable.
159 (usage): Add --process-links.
160 (long_options): Likewise.
161 (dump_bfd): Stop processing once the bfd has been loaded unless
162 this is the main file or process_links has been enabled.
163 (main): Handle the process-links option.
164 * readelf.c (process_links): New variable.
165 (struct filedata): Add is_separate field.
166 (options): Add --process-links.
167 (usage): Likewise.
168 (parse_args): Likewise.
169 (process_file_header): Include the filename when dumping
170 information for separate debuginfo files.
171 (process_program_headers): Likewise.
172 (process_section_headers): Likewise.
173 (process_section_groups): Likewise.
174 (process_relocs): Likewise.
175 (process_dynamic_section): Likewise.
176 (process_version_sections): Likewise.
177 (display_lto_symtab): Likewise.
178 (process_symbol_table): Likewise.
179 (process_syminfo): Likewise.
180 (initialise_dumps_by_name): Likewise.
181 (process_section_contents): Likewise.
182 (process_notes_at): Likewise.
183 (process_notes): Likewise.
184 (open_file): Add is_separate parameter. Use to initialise the
185 is_separate field in the filedata structure.
186 (open_deug): Update call to open_file.
187 (process_object): Add processing of the contents of separate
188 debuginfo files, gated by the process_links variable.
189 (process_archive): Update call to open_file.
190 (process_file): Initialise the is_separate field in the filedata
191 structure.
192 * dwarf.c (load_separate_debug_info_file): Only report the
193 loading of a separate file if debug links are being dumped.
194 * objcopy.c (keep_section_symbols): New variable.
195 (enum command_line_switch): Add OPTION_KEEP_SYMBOLS.
196 (strip_options): Add keep-section-symbols.
197 (copy_options): Likewise.
198 (copy_usage): Likewise.
199 (strip_usage): Likewise.
200 (copy_object): Keep section symbols if requested by command line
201 option.
202 (strip_main): Handle --keep-section-symbols.
203 (copy_main): Likewise.
204 * doc/binutils.texi: Document the new options.
205 * NEWS: Mention the new features.
206 * testsuite/binutils-all/compress.exp (test_gnu_debuglink):
207 Update options passed to objdump. Use diff rather than cmp to
208 compare the dumped data.
209 * testsuite/binutils-all/objdump.WK2: Update regexp.
210 * testsuite/binutils-all/objdump.WK3: Update regexp.
211 * testsuite/binutils-all/objdump.exp: Use --process-links
212 instead of --dwarf=follow-links.
213 * testsuite/binutils-all/readelf.exp (readelf_test): Include
214 readelf's output in the log when the test fails.
215 Add the -P option to the -wKis test.
216 * testsuite/binutils-all/readelf.wKis: Update expected output.
217
fd5c076a
AM
2182021-03-03 Alan Modra <amodra@gmail.com>
219
220 PR 27493
221 * objcopy.c (filter_symbols): Apply --weaken to undefined symbols.
222 * NEWS: Mention feature.
223
ecd65684
L
2242021-03-01 H.J. Lu <hongjiu.lu@intel.com>
225
226 PR binutils/27486
227 * dwarf.c (load_separate_debug_info): Issue warning only if
228 do_debug_links is set.
229 * testsuite/binutils-all/compress.exp: Run objdump and readelf
230 with missing debug file.
231
6a1224ec
AM
2322021-03-01 Alan Modra <amodra@gmail.com>
233
234 PR 27128
235 * doc/binutils.texi: Add nm --with-symbol-versions and
236 --without-symbol-versions documentation.
237 * nm.c (with_symbol_versions): New variable.
238 (enum long_option_values): Delete OPTION_WITH_SYMBOL_VERSIONS.
239 (long_options): Make --with-symbol-versions entry twiddle the flag.
240 Add --without-symbol-versions.
241 (print_symname): Strip version when !with_symbol_versions. Add
242 dynamic version info under control of with_symbol_versions.
243 (main): Remove OPTION_WITH_SYMBOL_VERSIONS case.
244
7fe1b138
FS
2452021-02-26 Fangrui Song <maskray@google.com>
246
247 PR 27408
248 * readelf.c (quiet): New option flag.
249 (enum long_option_values): New enum to hold long option value.
250 (long_options): Add --quiet.
251 (usage): Mention --quiet.
252 (display_rel_file): If quiet is enabled, suppress "no symbols".
253 (main): Handle the new option.
254 * NEWS: Mention --quiet.
255 * docs/binutils.texi: Document --quiet.
256
0e12f6c8
TV
2572021-02-26 Tom de Vries <tdevries@suse.de>
258
259 * dwarf.c (display_debug_addr): Handle dwarf-5 .debug_addr bits.
260
32e4f96c
TV
2612021-02-26 Tom de Vries <tdevries@suse.de>
262
263 PR 27390
264 * dwarf.c: (skip_attr_bytes): Add support for DW_FORM_str* and
265 DW_FORM_addrx*.
266 (read_and_display_attr_value): Likewise.
267
e38332c2
NC
2682021-02-25 Nick Clifton <nickc@redhat.com>
269
270 * dwarf.c (get_type_abbrev_from_form): Accept but ignore sup
271 forms.
272 (read_and_display_attr_value): Handle sup forms.
273 (display_debug_sup): New function. Displays the contents of a
274 .debug_sup section.
275 (load_debug_sup_file): New function. Loads the contents of a file
276 referenced by a .debug_sup section.
277 (check_for_and_load_links): Call load_debug_sup_file.
278 (debug_displays): Add entry for .debug_sup.
279 * dwarf.h (enum dwarf_section_display_enum): Add debug_sup.
280 * readelf.c (process_section_headers): Add support for debug_sup.
281 * doc/debug.options.texi: Note that the =links option will display
282 the contents of .debug_sup sections.
283 * NEWS: Mention the new support.
284
40b02646
AM
2852021-02-25 Alan Modra <amodra@gmail.com>
286
287 PR 27456
288 * rename.c (simple_copy): Mark target_stat ATTRIBUTE_UNUSED.
289
9d3fcfe0
NC
2902021-02-24 Nick Clifton <nickc@redhat.com>
291
292 PR 27285
293 * od-elf32_avr.c (elf32_avr_get_memory_usage): Check for overflows
294 when adding together the section sizes.
295
c74147bb
NC
2962021-02-24 Nick Clifton <nickc@redhat.com>
297
298 * objcopy.c (merge_gnu_build_notes): Remove support for v1/v2 GNU
299 build notes.
300 * readelf.c (print_gnu_build_attribute_description): Likewise.
301
c42c71a1
AM
3022021-02-24 Alan Modra <amodra@gmail.com>
303 Siddhesh Poyarekar <siddhesh@gotplt.org>
304
305 PR 27456
306 * bucomm.h (smart_rename): Update prototype.
307 * rename.c (smart_rename): Add fromfd and preserve_dates params.
308 Pass fromfd and target_stat to simple_copy. Call set_times
309 when preserve_dates.
310 (simple_copy): Accept fromfd rather than from filename. Add
311 target_stat param. Rewind fromfd rather than opening. Open
312 "to" file without O_CREAT. Try to preserve S_ISUID and S_ISGID.
313 * ar.c (write_archive): Rename ofd to tmpfd. Dup tmpfd before
314 closing output temp file, and pass tmpfd to smart_rename.
315 * arsup.c (temp_fd): Rename from real_fd.
316 (ar_save): Dup temp_fd and pass to smart_rename.
317 * objcopy.c (strip_main, copy_main): Likewise, and pass
318 preserve_dates.
319
cca8873d
AM
3202021-02-24 Alan Modra <amodra@gmail.com>
321
322 PR 27456
323 * rename.c: Tidy throughout.
324 (smart_rename): Always copy. Remove windows specific code.
325
4d496013
AM
3262021-02-20 Alan Modra <amodra@gmail.com>
327
328 * testsuite/lib/binutils-common.exp: Whitespace fixes throughout.
329 (run_dump_test): Fail if expecting errors from a file like we do
330 for error strings, if no error is seen.
331
0be51eb4
AM
3322021-02-19 Alan Modra <amodra@gmail.com>
333
334 * testsuite/binutils-all/readelf.exp (pr26548): Run for 32-bit too.
335
3685de75
SP
3362021-02-19 Siddhesh Poyarekar <siddhesh@gotplt.org>
337
338 * ar.c (write_archive): Remove TARGET_STAT. Adjust call to
339 SMART_RENAME.
340 * arsup.c (ar_save): Likewise.
341 * objcopy (strip_main): Don't copy TMPFD. Don't set times on
342 temporary file and adjust call to SMART_RENAME.
343 (copy_main): Likewise.
344 * rename.c [!S_ISLNK]: Remove definitions.
345 (try_preserve_permissions): Remove function.
346 (smart_rename): Remove FD, PRESERVE_DATES arguments. Use
347 rename system call only if TO does not exist.
348 * bucomm.h (smart_rename): Adjust declaration.
349
85684222
NC
3502021-02-18 Nick Clifton <nickc@redhat.com>
351
352 * objcopy.c (merge_gnu_build_notes): Handle notes with a start
353 address that is higher than the end address.
354
b9b204b3
AM
3552021-02-17 Alan Modra <amodra@gmail.com>
356
357 * dwarf.c: Include limits.h.
358 (CHAR_BIT): Provide backup define.
359 (read_leb128): Use CHAR_BIT to size "result" in bits. Correct
360 signed overflow checking.
361 * testsuite/binutils-all/pr26548.s,
362 * testsuite/binutils-all/pr26548.d,
363 * testsuite/binutils-all/pr26548e.d: New tests.
364 * testsuite/binutils-all/readelf.exp: Run them.
365 (readelf_test): Drop unused "xfails" parameter. Update all uses.
366
e6ca1878
JB
3672021-02-16 Jan Beulich <jbeulich@suse.com>
368
369 * dwarf.c (process_debug_info): Initialize "dwo_id".
370
208599d9
AM
3712021-02-15 Alan Modra <amodra@gmail.com>
372
373 * objdump.c (load_specific_debug_section): Don't call
374 bfd_cache_section_contents. Rearrange so that
375 bfd_get_full_section_contents is not called on path where
376 bfd_simple_get_relocated_section_contents is called.
377 Don't set section->user_data.
378 (free_debug_section): Always free section->start. Don't twiddle
379 section flags.
380 * readelf.c (load_specific_debug_section): Don't set user_data.
381 * dwarf.h (struct dwarf_section): Remove use_data field.
382 * dwarf.c (NO_ABBREVS, ABBREV): Adjust to suit.
383
1781a9d0
AM
3842021-02-15 Alan Modra <amodra@gmail.com>
385
386 * testsuite/binutils-all/compress.exp: Remove nds32 xfails.
387 * testsuite/binutils-all/objdump.exp: Likewise.
388
1944212b
AM
3892021-02-14 Alan Modra <amodra@gmail.com>
390
391 * objdump.c (slurp_symtab): Don't add an extra entry for NULL
392 to the symbol array.
393 (slurp_dynamic_symtab): Likewise.
394 (dump_bfd): Formatting. Copy terminating NULL from extra_syms.
395
0d0a0d86
AM
3962021-02-14 Alan Modra <amodra@gmail.com>
397
398 * Makefile.in: Regenerate.
399 * doc/Makefile.in: Regenerate.
400
adeab0c5
MF
4012021-02-13 Mike Frysinger <vapier@gentoo.org>
402
403 * aclocal.m4: Regenerate.
404
c46b7066
NC
4052021-02-12 Nick Clifton <nickc@redhat.com>
406
407 * configure.ac (follow-debug-links): Add option to enable or
408 disable the following of debug links by default. Set the
409 default for the option to be 'follow'.
410 * dwarf.c (do_follow_links): Initialise with DEFAULT_FOR_FOLLOW_LINKS.
411 (dwarf_select_sections_by_names): Add no-follow-links option.
412 (dwarf_select_sections_by_letter): Add 'N' option.
413 * objdump.c (usage): Add conditional text describing the
414 follow links option.
415 (slurp_symtab): Ensure that there is a NULL entry at the end
416 of the symbol table.
417 (slurp_dynamic_symtab): Likewise.
418 (dump_bfd): When extending the symbol table, ensure that there
419 is still a NULL entry at the end.
420 * readelf.c (usage): Add conditional text describing the
421 follow links option.
422 * doc/binutils.texi: Update documentation for objcopy and
423 readelf.
424 * doc/debug.options.texi: Update documentation of the
425 follow-links option.
426 * config.in: Regenerate.
427 * configure: Regenerate.
428 * testsuite/binutils-all/compress.exp: Add the -WN option to
429 objdump command lines that are not expecting to follow links.
430 * testsuite/binutils-all/readelf.exp: Add the
431 --debug-dump=no-follow-links option to tests that are not
432 expecting to follow debug links.
433 * NEWS: Mention the new behaviour.
434
17e04eff
AM
4352021-02-12 Alan Modra <amodra@gmail.com>
436
437 * testsuite/binutils-all/objcopy.exp: Report "unsupported" when
438 gas or ld fails to build a testcase rather than "unresolved".
439 Report "fail" when readelf returns an error status rather than
440 "unresolved".
441 * testsuite/binutils-all/ar.exp: Likewise.
442 * testsuite/binutils-all/compress.exp: Likewise.
443 * testsuite/binutils-all/readelf.exp: Likewise.
444
8f054a7a
AM
4452021-02-12 Alan Modra <amodra@gmail.com>
446
447 * testsuite/binutils-all/pr25662.s: Replace "a" with "aaa" and
448 "c" with "ccc" labels.
449
528a4f87
TV
4502021-02-12 Tom de Vries <tdevries@suse.de>
451
452 * dwarf.h (debug_info): Fix typo in comment.
453
95abb394
TV
4542021-02-12 Tom de Vries <tdevries@suse.de>
455
456 * dwarf.c (display_debug_str_offsets): Handle multiple sets of
457 entries.
458
d60f7998
TV
4592021-02-12 Tom de Vries <tdevries@suse.de>
460
461 * dwarf.c (process_debug_info): Print DWO ID.
462
1cfcf300
AM
4632021-02-11 Alan Modra <amodra@gmail.com>
464
465 PR 27290
466 PR 27293
467 PR 27295
468 * od-elf32_avr.c (elf32_avr_get_note_section_contents): Formatting.
469 Use bfd_malloc_and_get_section.
470 (elf32_avr_get_note_desc): Formatting. Return descsz. Sanity
471 check namesz. Return NULL if descsz is too small. Ensure
472 string table is terminated.
473 (elf32_avr_get_device_info): Formatting. Add note_size param.
474 Sanity check note.
475 (elf32_avr_dump_mem_usage): Adjust to suit.
476
d9d9d8ef
TV
4772021-02-10 Tom de Vries <tdevries@suse.de>
478
479 PR binutils/27391
480 * dwarf.c (load_dwo_file): Handle case that name is absolute path.
481
52ff20fe
TV
4822021-02-10 Tom de Vries <tdevries@suse.de>
483
484 PR binutils/27371
485 * dwarf.c (display_debug_ranges): Filter range lists according to
486 section.
487
5f128a25
TV
4882021-02-09 Tom de Vries <tdevries@suse.de>
489
490 PR binutils/27370
491 * dwarf.c (get_type_abbrev_from_form): Handle DW_FORM_ref_sig8.
492
9b87f84a
TV
4932021-02-09 Tom de Vries <tdevries@suse.de>
494
495 PR binutils/27386
496 * dwarf.c (process_debug_info): Handling DW_UT_skeleton and
497 DW_UT_split_compile.
498
a57d1773
AM
4992021-02-09 Alan Modra <amodra@gmail.com>
500
501 * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Remove
502 symbianelf.
503
de8d4203
AM
5042021-02-07 Alan Modra <amodra@gmail.com>
505
506 * unwind-ia64.c (unw_print_xyreg): Don't leave output buffer
507 uninitialised on invalid input.
508
51a25252
AM
5092021-02-06 Alan Modra <amodra@gmail.com>
510
511 PR 27349
512 * rename.c (smart_rename): Test for existence and type of output
513 file with lstat.
514
e37d88e5
NC
5152021-02-05 Nick Clifton <nickc@redhat.com>
516
517 * MAINTAINERS: Remove Richard Henderson as the ALPHA maintainer.
518
887854ba
EZ
5192021-02-05 Eli Zaretskii <eliz@gnu.org>
520
521 PR 27252
522 * elfedit.c (check_file):
523 * bucomm.c (get_file_size): Fix typos in comments.
524
c180f095
AM
5252021-02-05 Alan Modra <amodra@gmail.com>
526
527 PR 27345
528 * arsup.c (ar_save): Use stat rather than lstat.
529
95b91a04
AM
5302021-02-03 Alan Modra <amodra@gmail.com>
531
532 PR 27270
533 PR 27284
534 PR 26945
535 * ar.c: Don't include libbfd.h.
536 (write_archive): Replace xmalloc+strcpy with xstrdup. Use
537 bfd_stat rather than fstat on iostream. Move stat and fd tests
538 outside of _WIN32 ifdef. Delete skip_stat variable.
539 * arsup.c (temp_name, real_ofd): New static variables.
540 (ar_open): Use make_tempname and bfd_fdopenw.
541 (ar_save): Adjust to suit ar_open changes. Move stat output
542 of _WIN32 ifdef.
543 * objcopy.c: Don't include libbfd.h.
544 (copy_file): Use bfd_stat.
545
5424d7ed
L
5462021-02-02 H.J. Lu <hongjiu.lu@intel.com>
547
548 PR binutils/27281
549 * readelf.c (process_section_headers): Add 'R' and 'D' to
550 "Key to Flags:".
551 * testsuite/binutils-all/retain1a.d: Updated.
552
72a51a06
NC
5532021-01-30 Nick Clifton <nickc@redhat.com>
554
555 * README-how-to-make-a-release: Small updates after the 2.35.2
556 release.
557
cc3edc52
EZ
5582021-01-28 Eli Zaretskii <eliz@gnu.org>
559
560 PR 4356
561 * windres.c (quot): Use double quotes to protect strings on
562 Windows platforms.
563
a7ad3cb1
EZ
5642021-01-28 Eli Zaretskii <eliz@gnu.org>
565
566 PR 27252
567 * bucomm.c (get_file_size): Add code to handle /dev/null on
568 Windows systems.
569 * elfedit.c (check_file): Likewise.
570
67965ba2
NC
5712021-01-27 Nick Clifton <nickc@redhat.com>
572
573 * objcopy.c (copy_main): Remove conditional control of the calls
574 to free, simplifying the code and making it easier to detect
575 typos.
576
e37709f0
FC
5772021-01-26 Frederic Cambus <fred@statdns.com>
578
579 * objcopy.c (copy_main): Fix a double free happening when both
580 --localize-symbols and --globalize-symbols options are invoked
581 together.
582
9b351c9b
NC
5832021-01-24 Nick Clifton <nickc@redhat.com>
584
585 * README-how-to-make-a-release: Minor updates after the 2.36 release.
586
ad92f33d
AM
5872021-01-16 Alan Modra <amodra@gmail.com>
588
589 * readelf.c (uncompress_section_contents): Tidy inflateEnd result test.
590
3624a6c1
AM
5912021-01-15 Alan Modra <amodra@gmail.com>
592
593 PR 26539
594 * readelf.c (uncompress_section_contents): Always call inflateEnd.
595
c14dee84
AO
5962021-01-14 Alexandre Oliva <oliva@gnu.org>
597
598 * MAINTAINERS: Update my email address.
599
5a10699f
NC
6002021-01-14 Nick Clifton <nickc@redhat.com>
601
602 * po/sv.po: Updated Swedish translation.
603
5347ed60
AM
6042021-01-13 Alan Modra <amodra@gmail.com>
605
606 * Makefile.in: Regenerate.
607 * doc/Makefile.in: Regenerate.
608
2ce40d1a
ZF
6092021-01-13 Zebediah Figura <z.figura12@gmail.com>
610
611 PR 27037
612 * dlltool.c (i386_trampoline): Adjust %rsp immediately on entry
613 and before exit.
614 (i386_x64_trampoline): Add SEH annotations.
615 (struct mac): Add how_seh field.
616 (make_delay_head): If how_set field is true add SEh instructions.
617
d546b610
L
6182021-01-12 H.J. Lu <hongjiu.lu@intel.com>
619
620 PR binutils/26792
621 * configure.ac: Use GNU_MAKE_JOBSERVER.
622 * aclocal.m4: Regenerated.
623 * configure: Likewise.
624
6d104cac
NC
6252021-01-12 Nick Clifton <nickc@redhat.com>
626
627 * po/fr.po: Updated French translation.
628
83b33c6c
L
6292021-01-11 H.J. Lu <hongjiu.lu@intel.com>
630
631 PR ld/27173
632 * configure: Regenerated.
633
a8aa72b9
NC
6342021-01-11 Nick Clifton <nickc@redhat.com>
635
636 * po/pt.po: Updated Portuguese translation.
637 * po/sr.po: Updated Serbian translation.
638 * po/uk.po: Updated Ukranian translation.
639
a4966cd9
L
6402021-01-09 H.J. Lu <hongjiu.lu@intel.com>
641
642 * configure: Regenerated.
643
573fe3fb
NC
6442021-01-09 Nick Clifton <nickc@redhat.com>
645
646 * configure: Regenerate.
647 * po/binutils.pot: Regenerate.
648
055bc77a
NC
6492021-01-09 Nick Clifton <nickc@redhat.com>
650
651 * 2.36 release branch crated.
573fe3fb
NC
652 * README-how-to-make-a-release: Add note about updating Makefiles
653 and libtool files.
654 * BRANCHES: Add binutils-2.36-branch.
055bc77a 655
64307045
AM
6562021-01-09 Alan Modra <amodra@gmail.com>
657
658 * configure: Regenerate.
659
f4782128
ST
6602021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
661
662 * configure: Regenerate.
663
d1bcae83
L
6642021-01-07 H.J. Lu <hongjiu.lu@intel.com>
665
666 PR 27109
667 * objcopy.c (copy_object): Handle section symbols for
668 non-relocatable inputs.
669 * testsuite/binutils-all/readelf.exp (readelf_test): Check
670 is_elf_unused_section_symbols.
671 * testsuite/binutils-all/readelf.s-64: Updated.
672 * testsuite/binutils-all/readelf.ss: Likewise.
673 * testsuite/binutils-all/readelf.ss-64: Likewise.
674 * testsuite/binutils-all/readelf.s-64-unused: New file.
675 * testsuite/binutils-all/readelf.ss-64-unused: Likewise.
676 * testsuite/binutils-all/readelf.ss-unused: Likewise.
677 * testsuite/lib/binutils-common.exp
678 (is_elf_unused_section_symbols): New proc.
679
6987d5a1
RT
6802021-01-06 Reuben Thomas <rrt@sc3d.org>
681
682 * binutils/readelf.c: Correct grammar in comment.
683
f9a6a8f0
AM
6842021-01-01 Nicolas Boulenguez <nicolas@debian.org>
685
686 * coffgrok.c (do_type): Correct spelling of auxiliary in errors.
687 * doc/binutils.texi: Correct grammar.
688 * readelf.c (process_version_sections): Correct spelling of auxiliary
689 in warning.
690 * testsuite/binutils-all/vax/objdump.exp: Comment grammar fix.
691
250d07de
AM
6922021-01-01 Alan Modra <amodra@gmail.com>
693
694 Update year range in copyright notice of all files.
695
c2795844 696For older changes see ChangeLog-2020
3499769a 697\f
c2795844 698Copyright (C) 2021 Free Software Foundation, Inc.
3499769a
AM
699
700Copying and distribution of this file, with or without modification,
701are permitted in any medium without royalty provided the copyright
702notice and this notice are preserved.
703
704Local Variables:
705mode: change-log
706left-margin: 8
707fill-column: 74
708version-control: never
709End: