1 2021-07-01 Nick Clifton <nickc@redhat.com>
4 * testsuite/binutils-all/debuginfod.exp: Replace -wK with -wk.
6 2021-07-01 Andrei Homescu <ah@immunant.com>
8 * readelf.c (process_archive): Reset file position to the
9 beginning when calling process_object for thin archive members.
10 * testsuite/binutils-all/readelf.exp: Add test.
11 * testsuite/binutils-all/readelf.h.thin: New file.
13 2021-06-30 Tom Tromey <tom@tromey.com>
15 * dwarf.c (read_and_display_attr_value): Handle
16 DW_FORM_implicit_const.
18 2021-06-30 Richard Henderson <richard.henderson@linaro.org>
20 * dwarf.c (display_debug_frames): Both DW_CFA_def_cfa_sf
21 and DW_CFA_def_cfa_offset_sf have a signed offset.
23 2021-06-19 Alan Modra <amodra@gmail.com>
25 * dwarf.c (display_debug_lines_decoded): Use memcpy rather than
26 strncpy when trimming file name length to MAX_FILENAME_LENGTH.
27 Don't make an unnecessary copy when length is good.
29 2021-06-18 H.J. Lu <hongjiu.lu@intel.com>
31 * readelf.c (print_gnu_property_note): Handle
32 GNU_PROPERTY_UINT32_AND_LO, GNU_PROPERTY_UINT32_AND_HI,
33 GNU_PROPERTY_UINT32_OR_LO and GNU_PROPERTY_UINT32_OR_HI.
35 2021-06-15 Nick Clifton <nickc@redhat.com>
37 * readelf.c (get_note_type): Add support for NT_GO_BUILDID.
39 2021-06-15 Alan Modra <amodra@gmail.com>
41 * readelf.c (locate_dynamic_section, is_pie): New functions.
42 (get_file_type): Replace e_type parameter with filedata. Call
43 is_pie for ET_DYN. Update all callers.
44 (process_program_headers): Use local variables dynamic_addr and
45 dynamic_size, updating filedata on exit from function. Set
46 dynamic_size of 1 to indicate no dynamic section or segment.
47 Update tests of dynamic_size throughout.
48 * testsuite/binutils-all/x86-64/pr27708.dump: Update expected output.
50 2021-06-14 Eric Botcazou <ebotcazou@adacore.com>
52 * dwarf.c (struct abbrev_attr): Change type of implicit_const.
53 (add_abbrev_attr): Likewise.
54 (process_abbrev_set): Likewise.
55 (display_debug_abbrev): Adjust to above change.
57 2021-06-12 Alan Modra <amodra@gmail.com>
59 * readelf.c (process_file_header): Don't clear section_headers.
61 2021-06-12 Alan Modra <amodra@gmail.com>
63 * readelf.c (get_section_headers): Don't test e_shoff here, leave
64 that to get_32bit_section_headers or get_64bit_section_headers.
65 (process_object): Throw away section header read to print file
68 2021-06-11 Alan Modra <amodra@gmail.com>
70 * readelf.c (struct filedata): Move archive_file_offset and
71 archive_file_size earlier.
72 (free_filedata): Clear using memset.
74 2021-06-11 Alan Modra <amodra@gmail.com>
76 * readelf.c (GET_ELF_SYMBOLS): Delete. Replace with..
77 (get_elf_symbols): ..this new function throughout.
78 (get_32bit_section_headers): Don't free section_headers.
79 (get_64bit_section_headers): Likewise.
80 (get_section_headers): New function, use throughout in place of
81 32bit and 64bit variants.
82 (get_dynamic_section): Similarly.
83 (process_section_headers): Don't free filedata memory here.
84 (get_file_header): Don't get section headers here..
85 (process_object): ..Read them here instead. Don't exit without
86 freeing filedata memory.
88 2021-06-09 Nick Clifton <nickc@redhat.com>
90 * MAINTAINERS: Remove Daniel Jacobwitz from the maintainers list.
92 2021-06-07 Jan Beulich <jbeulich@suse.com>
94 * dwarf.c (display_debug_aranges): Add u suffix to constant.
96 2021-05-29 Alan Modra <amodra@gmail.com>
98 * objdump (usage): Add missing \n.
100 2021-05-29 Alan Modra <amodra@gmail.com>
102 * readelf.c (parse_args): Call dwarf_select_sections_all on
103 --debug-dump without optarg.
104 (usage): Associate -w and --debug-dump options closely.
105 Split up help message. Remove extraneous blank lines around
107 * objdump.c (usage): Similarly.
109 2021-05-29 Maciej W. Rozycki <macro@orcam.me.uk>
111 * testsuite/binutils-all/mips/mips-xpa-virt-1.d: Correct CFC0
113 * testsuite/binutils-all/mips/mips-xpa-virt-3.d: Likewise.
115 2021-05-29 Maciej W. Rozycki <macro@orcam.me.uk>
117 * testsuite/binutils-all/mips/mips-xpa-virt-1.d: Use `mips:3000'
118 machine for disassembly.
119 * testsuite/binutils-all/mips/mips-xpa-virt-2.d: Likewise.
120 * testsuite/binutils-all/mips/mips-xpa-virt-3.d: Likewise.
121 * testsuite/binutils-all/mips/mips-xpa-virt-4.d: Likewise.
123 2021-05-28 H.J. Lu <hongjiu.lu@intel.com>
126 * readelf.c (decode_x86_feature_2): Revert commit 50c95a739c9.
128 2021-05-27 Alan Modra <amodra@gmail.com>
130 * readelf (usage): Order -w letters to match --debug-dump= and
131 move common '=' for --debug-dump out of brackets.
133 2021-05-26 H.J. Lu <hongjiu.lu@intel.com>
136 * readelf.c (decode_x86_feature_2): Support
137 GNU_PROPERTY_X86_FEATURE_2_CODE16.
139 2021-05-23 Tiezhu Yang <yangtiezhu@loongson.cn>
141 * readelf.c (get_machine_name): Change Loongson Loongarch to
144 2021-05-21 Luis Machado <luis.machado@linaro.org>
146 * readelf.c (get_note_type): Add missing NT_ARM_* entries.
148 2021-05-21 Luis Machado <luis.machado@linaro.org>
150 * readelf.c (get_note_type): Handle NT_MEMTAG note types.
152 2021-05-19 Eli Schwartz <eschwartz@archlinux.org>
154 * dwarf.c (ENABLE_CHECKING): Define to 0 if not previously set.
156 2021-05-19 Alan Modra <amodra@gmail.com>
159 * dwarf.c (get_type_abbrev_from_form): Replace cu_offset_return
160 param with map_return, and return map for DW_FORM_ref_addr.
161 (get_type_signedness): Adjust calls to get_type_abbrev_from_form.
162 Pass returned cu map start and end to recursive call.
163 (read_and_display_attr_value): Similarly.
165 2021-05-19 Alan Modra <amodra@gmail.com>
168 * sysdump.c (getBARRAY): Sanity check size against max.
169 (getINT): Avoid UB shift left.
171 2021-05-15 Alan Modra <amodra@gmail.com>
173 * dwarf.c (process_cu_tu_index): Avoid pointer UB. Use _mul_overflow.
176 2021-05-15 Alan Modra <amodra@gmail.com>
178 * dwarf.c (display_gdb_index): Avoid pointer UB and overflow in
181 2021-05-15 Alan Modra <amodra@gmail.com>
183 * dwarf.c (display_debug_names): Complain when header length is
184 too small. Avoid pointer UB. Sanity check augmentation string,
185 CU table, TU table and foreign TU table sizes.
187 2021-05-15 Alan Modra <amodra@gmail.com>
189 * dwarf.c (display_debug_frames): Delete initial_length_size.
190 Avoid pointer UB. Constrain data reads to length given in header.
191 Sanity check cie header length. Only skip up to next FDE on
192 finding augmentation data too long.
194 2021-05-15 Alan Modra <amodra@gmail.com>
196 * dwarf.c (read_cie): Add more sanity checks to ensure data
197 pointer is not bumped past end.
199 2021-05-15 Alan Modra <amodra@gmail.com>
201 * dwarf.c (display_debug_ranges): Delete initial_length_size.
202 Correct fallback size calculated on finding a reloc. Constrain
203 data reads to length given in header. Avoid pointer UB.
205 2021-05-15 Alan Modra <amodra@gmail.com>
207 * dwarf.c (display_debug_rnglists_list): Avoid pointer UB.
209 2021-05-15 Alan Modra <amodra@gmail.com>
211 * dwarf.c (display_debug_str_offsets): Constrain reads to length
214 2021-05-15 Alan Modra <amodra@gmail.com>
216 * dwarf.c (display_debug_aranges): Delete initial_length_size.
217 Use end_ranges to constrain data reads to header length. Avoid
220 2021-05-15 Alan Modra <amodra@gmail.com>
222 * dwarf.c (display_loc_list): Avoid pointer UB. Correct check
223 before reading uleb length. Warn on excess length.
225 2021-05-15 Alan Modra <amodra@gmail.com>
227 * dwarf.c (display_debug_macro): Print strings that might not
228 be zero terminated with %*s. Don't bump curr if unterminated.
230 2021-05-15 Alan Modra <amodra@gmail.com>
232 * dwarf.c (get_line_filename_and_dirname): Delete initial_length_size.
233 Simplify length sanity check, and check for too small lengths.
234 Constrain data reads to header length. Avoid pointer UB.
236 2021-05-15 Alan Modra <amodra@gmail.com>
238 * dwarf.c (display_debug_macinfo): Print strings that might not
239 be zero terminated with %*s. Don't bump curr if unterminated.
241 2021-05-15 Alan Modra <amodra@gmail.com>
243 * dwarf.c (display_debug_pubnames_worker): Delete initial_length_size.
244 Simplify length check. Constrain reads to length given by header.
246 2021-05-15 Alan Modra <amodra@gmail.com>
248 * dwarf.c (display_debug_lines_decoded): Don't use strnlen when
249 we have already checked for NUL termination.
251 2021-05-15 Alan Modra <amodra@gmail.com>
253 * dwarf.c (read_debug_line_header): Delete initial_length_size.
254 Avoid pointer UB. Keep within length specified by header.
257 2021-05-15 Alan Modra <amodra@gmail.com>
259 * dwarf.c (process_debug_info): Always do the first CU length
260 scan for sanity checks. Remove initial_length_size var and
261 instead calculate end_cu. Use end_cu to limit data reads.
262 Delete now dead code checking length.
264 2021-05-15 Alan Modra <amodra@gmail.com>
266 * dwarf.c (SAFE_BYTE_GET_INTERNAL): Assert only when ENABLE_CHECKING.
268 2021-05-15 Alan Modra <amodra@gmail.com>
270 * bucomm.h (_mul_overflow): Define.
271 * dwarf.c (get_encoded_value): Avoid pointer UB.
273 2021-05-13 Alan Modra <amodra@gmail.com>
276 * dwarf.c (display_debug_str_offsets): Sanity check dwarf5
279 2021-05-13 Alan Modra <amodra@gmail.com>
282 * dwarf.c (display_debug_frames): Sanity check cie_off before
283 attempting to read cie.
285 2021-05-12 Alan Modra <amodra@gmail.com>
287 * dwarf.c (process_extended_line_op): Don't bump data pointer past
288 end when strnlen doesn't find string terminator.
289 (decode_location_expression): Remove dead code.
290 (skip_attr_bytes): Remove const from end param. Ensure data
291 pointer doesn't pass end.
292 (get_type_signedness): Remove const from end param.
293 (read_and_display_attr_value): Ensure data pointer doesn't pass end.
294 (display_debug_lines_raw, display_debug_lines_decoded): Likewise.
295 (display_debug_pubnames_worker): Likewise.
296 (display_debug_pubnames_worker): Use SAFE_BYTE_GET_AND INC rather
297 than blindly incrementing data pointer.
298 (display_debug_addr, display_debug_str_offsets): Likewise. Don't
299 compare pointers, compare lengths.
301 2021-05-12 Alan Modra <amodra@gmail.com>
303 * dwarf.c (SAFE_BYTE_GET_INTERNAL): Define.
304 (SAFE_BYTE_GET, SAFE_BYTE_GET_AND_INC): Define using the above.
305 (SAFE_SIGNED_BYTE_GET, SAFE_SIGNED_BYTE_GET_AND_INC): Likewise.
306 (display_discr_list): Use SAFE_BYTE_GET_AND_INC rather than
307 SAFE_BYTE_GET followed by increment.
308 (process_debug_info): Likewise, and test bytes remaining before
309 incrementing section_begin rather than using pointer comparison.
310 (display_debug_names): Pass lvalue as SAFE_BYTE_GET PTR.
311 (process_cu_tu_index): Likewise for SAFE_BYTE_GET_AND_INC.
313 2021-05-12 Alan Modra <amodra@gmail.com>
315 * dwarf.c (dwarf_vmatoa64, SAFE_BYTE_GET64, add64): Delete.
316 (skip_attr_bytes): Replace use of SAFE_BYTE_GET64 with
317 SAFE_BYTE_GET_AND_INC.
318 (read_and_display_attr_value): Likewise. Print using dwarf_vmatoa.
319 (process_debug_info, process_cu_tu_index): Likewise.
320 * elfcomm.c (byte_put, byte_put_little_endian, byte_put_big_endian),
321 (byte_get, byte_get_little_endian, byte_get_big_endian),
322 (byte_get_signed): Make size param unsigned. Remove code dealing
324 (byte_get_64): Delete.
325 * elfcomm.h (byte_put, byte_put_little_endian, byte_put_big_endian),
326 (byte_get, byte_get_little_endian, byte_get_big_endian),
327 (byte_get_signed): Update prototypes.
328 (byte_get_64): Delete.
330 2021-05-12 Alan Modra <amodra@gmail.com>
333 * dwarf.c (display_debug_frames): Don't compare pointers derived
334 from user input. Test offset against bounds instead.
336 2021-05-12 Alan Modra <amodra@gmail.com>
339 * dwarf.c (display_formatted_table): Test for data >= end rather
341 (process_extended_line_op): Likewise.
342 (display_debug_lines_raw): Likewise.
343 (display_debug_lines_decoded): Likewise.
345 2021-05-12 Alan Modra <amodra@gmail.com>
348 * dwarf.c (fetch_indexed_string): Correct length sanity checks.
349 Sanity check section size for version and padding too. Correct
350 index sanity check. Handle multiple tables in .debug_str_offsets.
352 2021-05-11 Hans-Peter Nilsson <hp@axis.com>
354 * dwarf.c (process_abbrev_set): Properly parenthesize before
355 casting to unsigned long.
357 2021-05-11 Alan Modra <amodra@gmail.com>
360 * dwarf.c (process_abbrev_set): Replace start and end parameters
361 with section, abbrev_base, abbrev_size, abbrev_offset. Update
362 all callers. Sanity check parameters correctly and emit warnings
364 (process_debug_info): ..here.
366 2021-05-10 Thomas Wolff <towo@towo.net>
371 * windres.c (quot): Revert previous delta. Do not use double
372 quotes when spaces are detected in options.
373 * doc/binutils.texi (windres): Remove suggestion that the
374 --preprocessor option can take arguments.
376 2021-05-10 Alan Modra <amodra@gmail.com>
378 * dwarf.c (SAFE_BYTE_GET): Check bounds by subtracting amount from
379 END rather than adding amount to PTR.
380 (SAFE_SIGNED_BYTE_GET, SAFE_BYTE_GET64): Likewise.
382 2021-05-09 Alan Modra <amodra@gmail.com>
384 * objcopy.c (eq_string): Delete.
385 (create_symbol_htab): Use htab_eq_string.
387 2021-05-08 Mike Frysinger <vapier@gentoo.org>
389 * README-how-to-make-a-release: Update html & pdf entries.
391 2021-05-08 Mike Frysinger <vapier@gentoo.org>
393 * doc/Makefile.am (html-local, binutils/index.html): New targets.
394 * doc/Makefile.in: Regenerate.
396 2021-05-08 Mike Frysinger <vapier@gentoo.org>
398 * doc/Makefile.am (AM_MAKEINFOFLAGS): Add --no-split.
399 * doc/Makefile.in: Regenerate.
401 2021-05-07 Nick Clifton <nickc@redhat.com>
403 * readelf.c (no_processor_specific_unwind): New function.
404 (process_unwind): Use no_processor_specific_unwind for X86
407 2021-05-07 Michael Forney <mforney@mforney.org>
409 * dwarf.c: Don't omit second operand of '?' operator.
411 2021-04-30 Nick Clifton <nickc@redhat.com>
414 * dwarf.c (load_debug_sup_file): Allocate memory for filename in
417 2021-04-29 Nick Clifton <nickc@redhat.com>
420 * doc/binutils.texi (windres): Correct the description of the
421 default value of the --preprocessor argument.
423 2021-04-27 Nick Clifton <nickc@redhat.com>
426 * dwarf.c (parse_gnu_debuglink): Reject empty names.
427 (parse_gnu_debugaltlink): Likewise.
429 2021-04-22 Clément Chigot <clement.chigot@atos.net>
431 * od-xcoff.c (dump_xcoff32_symbols): Adapt to new
434 2021-04-21 Nick Lott <nick.lott@gmail.com>
437 * readelf.c (sym_base): New variable.
438 (enum print_mode): Add more modes.
439 (print_vma): Add suport for new modes.
440 (options): Add sym-base.
441 (usage): Add sym-base.
442 (parse_args): Add support for --sym-base.
443 (print_dynamic_symbol_size): New function.
444 (print_dynamic_symbol): Use new function.
445 * doc/binutils.texi: Document the new feature.
446 * NEWS: Mention the new feature.
448 2021-04-21 Nick Clifton <nickc@redhat.com>
450 * testsuite/binutils-all/mips/global-local-symtab-sort-n64t.d:
451 Adjust expected output to allow for named section symbols.
452 * testsuite/binutils-all/mips/global-local-symtab-sort-o32t.d:
454 * testsuite/binutils-all/readelf.s-64: Likewise.
455 * testsuite/binutils-all/readelf.ss-64-unused: Likewise.
456 * testsuite/binutils-all/readelf.ss-tmips: Likewise.
457 * testsuite/binutils-all/readelf.ss-unused: Likewise.
459 2021-04-21 Luo Longjun <luolongjun@huawei.com>
461 * readelf.c (print_dynamic_symbol): Print the section name for
462 section symbols without a name of their own.
464 2021-04-20 Andreas Krebbel <krebbel@linux.ibm.com>
466 * MAINTAINERS: Remove Martin Schwidefsky as s390 maintainer and
467 add him to Past Maintainers.
468 Update my email address.
470 2021-04-19 Nick Clifton <nickc@redhat.com>
473 * arsup.c (ar_addmod): Enable plugin support, if available.
475 2021-04-19 Nick Clifton <nickc@redhat.com>
477 * rename.c: (get_stat_atime_ns): Add prototype.
478 (get_stat_mtime_ns): Add prototype.
480 2021-04-16 Alan Modra <amodra@gmail.com>
483 * rename.c (get_stat_atime, get_stat_mtime): Make static.
484 (get_stat_atime_ns, get_stat_mtime_ns): Likewise.
486 2021-04-15 Pekka Seppänen <pexu@sourceware.mail.kapsi.fi>
489 * rename.c (get_stat_atime_ns): Add ATTRIBUTE_UNUSED.
490 (get_stat_mtime_ns): Likewise.
492 2021-04-15 Alan Modra <amodra@gmail.com>
495 * configure.ac: Check for sys/time.h and utimensat. Use standard
496 checks for mkstemp and mkdtemp. Whitespace. Check for nanosecond
497 members of struct stat.
498 * rename.c: Prefer sys/time.h for utimes over utime.h for utime.
499 (STAT_TIMESPEC, STAT_TIMESPEC_NS): Define
500 (get_stat_atime_ns, get_stat_mtime_ns): New inline functions.
501 (get_stat_atime, get_stat_mtime): Likewise.
502 (set_times): Choose first available of utimensat, utimes, utime.
503 Use above inline functions to set timespec and timeval values.
504 * configure: Regenerate.
505 * config.in: Regenerate.
506 * testsuite/binutils-all/objcopy.exp (objcopy_test): Add test of
507 file timestamp when --preserve-dates is used.
509 2021-04-15 Alan Modra <amodra@gmail.com>
512 * rename.c (smart_rename): When TO and FROM are equal, just set
514 * objcopy.c (strip_main, copy_main): Always call smart_rename.
516 2021-04-14 H.J. Lu <hongjiu.lu@intel.com>
519 * testsuite/binutils-all/x86-64/pr27708.dump: New file.
520 * testsuite/binutils-all/x86-64/pr27708.exe.bz2: Likewise.
521 * testsuite/binutils-all/x86-64/x86-64.exp: Run binutils/27708
524 2021-04-14 Mark Harmstone <mark@harmstone.com>
527 * resbin.c (bin_to_res_version): Ignore any trailing bytes at the
528 end of the structure.
530 2021-04-14 Frederic Cambus <fred@statdns.com>
532 * readelf.c (get_netbsd_elfcore_note_type): Remove unneeded #ifdef
533 checks for NT_NETBSDCORE_AUXV and NT_NETBSDCORE_LWPSTATUS.
535 2021-04-14 Alan Modra <amodra@gmail.com>
538 * objdump.c (show_line): Don't limit paths to PATH_MAX.
539 * readelf.c (struct filedata): Change program_interpreter from
540 a char array to a char pointer.
541 (process_program_headers): Sanity check PT_INTERP p_filesz.
542 Malloc program_interpreter using p_filesz and read directly from
544 (process_dynamic_section): Check program_interpreter is non-NULL.
545 (free_filedata): New function, split out from..
546 (process_object): ..here.
547 (close_debug_file): Call free_filedata.
548 * sysdep.h: Don't include sys/param.h.
549 (PATH_MAX): Don't define.
550 * configure.ac: Don't check for sys/param.h.
551 * configure: Regenerate.
553 2021-04-13 Frederic Cambus <fred@statdns.com>
555 * readelf.c (process_netbsd_elf_note): Remove now unneeded #ifdef
556 check for NT_NETBSD_PAX.
558 2021-04-12 Alan Modra <amodra@gmail.com>
560 * configure.ac (--enable-checking): Add support.
561 * config.in: Regenerate.
562 * configure: Regenerate.
564 2021-04-09 Alan Modra <amodra@gmail.com>
566 * objdump.c (struct objdump_disasm_info): Delete dynrelbuf and
568 (find_symbol_for_address): Adjust for dynrelbuf and dynrelcount move.
569 (disassemble_section, disassemble_data): Likewise.
571 2021-04-06 Alan Modra <amodra@gmail.com>
573 * objdump.c (objdump_symbol_at_address): Return asymbol*.
575 2021-04-06 Alan Modra <amodra@gmail.com>
577 * NEWS: Mention C99 requirement.
578 * README: Likewise. Modernise examples and "Reporting bugs".
580 2021-04-05 Alan Modra <amodra@gmail.com>
582 * configure.ac: Assume long long is available. Don't test for
583 strings.h, stdlib.h, limits.h, locale.h, or wchar.h. Check
584 inttypes.h, stdint.h, sys/stat.h and sys/types.h. Don't check for
585 strcoll, setlocale, setmode or location of time_t. Don't check
586 for fprintf, getenv, snprintf, strnlen, strstr or vsnprintf decls.
587 (AC_ISC_POSIX, AXC_HEADER_STRING, AC_FUNC_ALLOCA): Don't invoke.
588 * sysdep.h: Don't include alloca-conf.h, include config.h instead.
589 Test HAVE_SYS_TYPES_H and reorder includes. Include limits.h,
590 locale.h, string.h and stdlib.h unconditionally. Remove various
591 fallback declarations. Assume long long is available.
592 * addr2line.c: Don't test HAVE_SETLOCALE.
594 * coffdump.c: Likewise.
595 * dlltool.c: Likewise.
596 * dllwrap.c: Likewise.
597 * elfedit.c: Likewise.
599 * objcopy.c: Likewise.
600 * objdump.c: Likewise.
601 * readelf.c: Likewise.
603 * srconv.c: Likewise.
604 * strings.c: Likewise.
605 * sysdump.c: Likewise.
606 * windmc.c: Likewise.
607 * windres.c: Likewise.
608 * bucomm.c: Don't test HAVE_TIME_T_IN_TIME_H or HAVE_TIME_T_IN_TYPES_H.
609 * dwarf.c: Include limits.h unconditionally. Assume long long
611 * nm.c: Don't test HAVE_STRCOLL.
612 * readelf.c: Don't test HAVE_WCHAR_H.
613 * strings.c: Assume long long is available.
614 * syslex.l: Include string.h unconditionally.
615 * aclocal.m4: Regenerate.
616 * config.in: Regenerate.
617 * configure: Regenerate.
618 * Makefile.in: Regenerate.
619 * doc/Makefile.in: Regenerate.
621 2021-04-01 Martin Liska <mliska@suse.cz>
623 * elfcomm.h (strneq): Remove strneq and use startswith.
624 * readelf.c (ia64_process_unwind): Likewise.
625 (process_note): Likewise.
627 2021-04-01 Martin Liska <mliska@suse.cz>
629 * dllwrap.c: Use startswith function.
630 * objcopy.c (is_dwo_section): Likewise.
631 (handle_remove_section_option): Likewise.
632 (copy_main): Likewise.
633 * objdump.c (is_significant_symbol_name): Likewise.
635 2021-04-01 Martin Liska <mliska@suse.cz>
637 * dwarf.c (display_debug_lines_raw): Replace const_strneq with
639 (display_debug_lines_decoded): Likewise.
640 (display_debug_links): Likewise.
641 * elfcomm.c (setup_archive): Likewise.
642 * elfcomm.h (const_strneq): Likewise.
643 * readelf.c (process_section_headers): Likewise.
644 (slurp_ia64_unwind_table): Likewise.
645 (slurp_hppa_unwind_table): Likewise.
646 (decode_arm_unwind): Likewise.
647 (display_debug_section): Likewise.
648 (process_note): Likewise.
650 2021-03-31 Alan Modra <amodra@gmail.com>
652 * sysdep.h (POISON_BFD_BOOLEAN): Define.
653 * addr2line.c, * ar.c, * arsup.c, * bfdtest2.c, * binemul.c,
654 * binemul.h, * bucomm.c, * bucomm.h, * budbg.h, * coffgrok.c,
655 * debug.c, * debug.h, * dlltool.c, * dwarf.c, * dwarf.h,
656 * elfedit.c, * emul_aix.c, * mclex.c, * nm.c, * objcopy.c,
657 * objdump.c, * od-macho.c, * prdbg.c, * rdcoff.c, * rddbg.c,
658 * readelf.c, * rename.c, * stabs.c, * strings.c, * windint.h,
659 * windmc.c, * windmc.h, * windres.c, * winduni.c,
660 * wrstabs.c: Replace bfd_boolean with bool, FALSE with false,
661 and TRUE with true throughout.
663 2021-03-31 Alan Modra <amodra@gmail.com>
665 * coffdump.c: Include stdint.h in place of bfd_stdint.h.
668 2021-03-31 Alan Modra <amodra@gmail.com>
670 * prdbg.c (pr_function_type): Replace LITSTTCPY with strcpy.
672 2021-03-29 Alan Modra <amodra@gmail.com>
674 * dlltool.c (main): Don't use "boolean_condition ? TRUE : FALSE".
675 * dwarf.c (read_and_display_attr_value): Likewise.
676 (display_debug_str_offsets): Likewise.
677 * objdump.c (dump_bfd): Likewise.
678 * readelf.c (dump_section_as_strings): Likewise.
679 (dump_section_as_bytes): Likewise.
681 2021-03-29 Alan Modra <amodra@gmail.com>
683 * objdump.c (process_links): Use type int.
684 * readelf.c (request_dump): Don't increment do_dump, set it.
685 * windint.h (target_is_bigendian): Use type bfd_boolean.
686 * windmc.c (target_is_bigendian): Likewise.
687 * windres.c (target_is_bigendian): Likewise.
689 2021-03-22 Martin Liska <mliska@suse.cz>
691 * dlltool.c (scan_drectve_symbols): Replace usage of CONST_STRNEQ
693 * emul_aix.c (ar_emul_aix_parse_arg): Likewise.
694 * objcopy.c (is_mergeable_note_section): Likewise.
695 * objdump.c (dump_dwarf_section): Likewise.
696 * prdbg.c (pr_method_type): Likewise.
697 (pr_class_baseclass): Likewise.
698 (tg_class_baseclass): Likewise.
699 * readelf.c (process_lto_symbol_tables): Likewise.
700 * stabs.c (ULLHIGH): Likewise.
701 (parse_stab_argtypes): Likewise.
702 (stab_demangle_function_name): Likewise.
704 2021-03-19 H.J. Lu <hongjiu.lu@intel.com>
706 * readelf.c (get_machine_name): Add EM_INTELGT.
708 2021-03-18 Nick Clifton <nickc@redhat.com>
711 * readelf.c (dump_section_as_strings): Mention separate filename.
712 (dump_section_as_bytes): Likewise.
713 (dump_section_as_ctf): Likewise.
714 (initialise_dumkps_byname): Only issue a warning for missing
715 sections if processing the main file.
716 (process_section_contents): Only issue a warning for unsumped
717 section numbers in the main file.
718 (initialise_dump_sects): New function. Contains code extracted
720 (process_object): ... here. Also call initialise_dump_sects for
723 2021-03-16 Nick Clifton <nickc@redhat.com>
726 * readelf.c (display_debug_section): Also retain .debug_addr
729 2021-03-16 Nick Clifton <nickc@redhat.com>
732 * readelf.c (process_section_contents): Only dump debug
733 information for separate files unless process_links is enabled.
734 (process_object): Always call process_section_contents for
737 2021-03-15 Nick Clifton <nickc@redhat.com>
740 * nm.c (FORMAT_JUST_SYMBOLS): Define.
741 (struct optput_fns): Add entry for FORMAT_JUST_SYMBOLS.
742 (long_options): Add just-symbols.
743 (set_output_format): Add support for just-symbols.
744 (get_print_format): Likewise.
745 (do_not_print_object_filename): New function.
746 (do_not_print_archive_filename): New function.
747 (do_not_print_archive_member): New function.
748 (do_not_print_symbol_filename): New function.
749 (just_print_symbol_name): New function.
750 (main): Handle --just-symbols.
751 * NEWS: Mention the new feature.
752 * doc/binutils.texi: Document the new feature.
754 2021-03-12 Clément Chigot <clement.chigot@atos.net>
756 * od-xcoff.c: Replace RTB by TRL entry.
758 2021-03-05 Craig Blackmore <craig.blackmore@embecosm.com>
759 Andrew Burgess <andrew.burgess@embecosm.com>
761 * readelf.c (get_note_type): Handle NT_RISCV_CSR.
763 2021-03-05 Craig Blackmore <craig.blackmore@embecosm.com>
764 Andrew Burgess <andrew.burgess@embecosm.com>
766 * readelf.c (get_note_type): Handle NT_GDB_TDESC.
768 2021-03-05 Nick Clifton <nickc@redhat.com>
771 * dwarf.c (display_debug_macro): Handle the displaying of
772 DW_MACRO_define_strp and DW_MACRO_undef_strp in v4
773 .debug_macro.dwo sections.
775 2021-03-04 Nick Clifton <nickc@redhat.com>
778 * objdump.c (process_links): New variable.
779 (usage): Add --process-links.
780 (long_options): Likewise.
781 (dump_bfd): Stop processing once the bfd has been loaded unless
782 this is the main file or process_links has been enabled.
783 (main): Handle the process-links option.
784 * readelf.c (process_links): New variable.
785 (struct filedata): Add is_separate field.
786 (options): Add --process-links.
788 (parse_args): Likewise.
789 (process_file_header): Include the filename when dumping
790 information for separate debuginfo files.
791 (process_program_headers): Likewise.
792 (process_section_headers): Likewise.
793 (process_section_groups): Likewise.
794 (process_relocs): Likewise.
795 (process_dynamic_section): Likewise.
796 (process_version_sections): Likewise.
797 (display_lto_symtab): Likewise.
798 (process_symbol_table): Likewise.
799 (process_syminfo): Likewise.
800 (initialise_dumps_by_name): Likewise.
801 (process_section_contents): Likewise.
802 (process_notes_at): Likewise.
803 (process_notes): Likewise.
804 (open_file): Add is_separate parameter. Use to initialise the
805 is_separate field in the filedata structure.
806 (open_deug): Update call to open_file.
807 (process_object): Add processing of the contents of separate
808 debuginfo files, gated by the process_links variable.
809 (process_archive): Update call to open_file.
810 (process_file): Initialise the is_separate field in the filedata
812 * dwarf.c (load_separate_debug_info_file): Only report the
813 loading of a separate file if debug links are being dumped.
814 * objcopy.c (keep_section_symbols): New variable.
815 (enum command_line_switch): Add OPTION_KEEP_SYMBOLS.
816 (strip_options): Add keep-section-symbols.
817 (copy_options): Likewise.
818 (copy_usage): Likewise.
819 (strip_usage): Likewise.
820 (copy_object): Keep section symbols if requested by command line
822 (strip_main): Handle --keep-section-symbols.
823 (copy_main): Likewise.
824 * doc/binutils.texi: Document the new options.
825 * NEWS: Mention the new features.
826 * testsuite/binutils-all/compress.exp (test_gnu_debuglink):
827 Update options passed to objdump. Use diff rather than cmp to
828 compare the dumped data.
829 * testsuite/binutils-all/objdump.WK2: Update regexp.
830 * testsuite/binutils-all/objdump.WK3: Update regexp.
831 * testsuite/binutils-all/objdump.exp: Use --process-links
832 instead of --dwarf=follow-links.
833 * testsuite/binutils-all/readelf.exp (readelf_test): Include
834 readelf's output in the log when the test fails.
835 Add the -P option to the -wKis test.
836 * testsuite/binutils-all/readelf.wKis: Update expected output.
838 2021-03-03 Alan Modra <amodra@gmail.com>
841 * objcopy.c (filter_symbols): Apply --weaken to undefined symbols.
842 * NEWS: Mention feature.
844 2021-03-01 H.J. Lu <hongjiu.lu@intel.com>
847 * dwarf.c (load_separate_debug_info): Issue warning only if
848 do_debug_links is set.
849 * testsuite/binutils-all/compress.exp: Run objdump and readelf
850 with missing debug file.
852 2021-03-01 Alan Modra <amodra@gmail.com>
855 * doc/binutils.texi: Add nm --with-symbol-versions and
856 --without-symbol-versions documentation.
857 * nm.c (with_symbol_versions): New variable.
858 (enum long_option_values): Delete OPTION_WITH_SYMBOL_VERSIONS.
859 (long_options): Make --with-symbol-versions entry twiddle the flag.
860 Add --without-symbol-versions.
861 (print_symname): Strip version when !with_symbol_versions. Add
862 dynamic version info under control of with_symbol_versions.
863 (main): Remove OPTION_WITH_SYMBOL_VERSIONS case.
865 2021-02-26 Fangrui Song <maskray@google.com>
868 * readelf.c (quiet): New option flag.
869 (enum long_option_values): New enum to hold long option value.
870 (long_options): Add --quiet.
871 (usage): Mention --quiet.
872 (display_rel_file): If quiet is enabled, suppress "no symbols".
873 (main): Handle the new option.
874 * NEWS: Mention --quiet.
875 * docs/binutils.texi: Document --quiet.
877 2021-02-26 Tom de Vries <tdevries@suse.de>
879 * dwarf.c (display_debug_addr): Handle dwarf-5 .debug_addr bits.
881 2021-02-26 Tom de Vries <tdevries@suse.de>
884 * dwarf.c: (skip_attr_bytes): Add support for DW_FORM_str* and
886 (read_and_display_attr_value): Likewise.
888 2021-02-25 Nick Clifton <nickc@redhat.com>
890 * dwarf.c (get_type_abbrev_from_form): Accept but ignore sup
892 (read_and_display_attr_value): Handle sup forms.
893 (display_debug_sup): New function. Displays the contents of a
895 (load_debug_sup_file): New function. Loads the contents of a file
896 referenced by a .debug_sup section.
897 (check_for_and_load_links): Call load_debug_sup_file.
898 (debug_displays): Add entry for .debug_sup.
899 * dwarf.h (enum dwarf_section_display_enum): Add debug_sup.
900 * readelf.c (process_section_headers): Add support for debug_sup.
901 * doc/debug.options.texi: Note that the =links option will display
902 the contents of .debug_sup sections.
903 * NEWS: Mention the new support.
905 2021-02-25 Alan Modra <amodra@gmail.com>
908 * rename.c (simple_copy): Mark target_stat ATTRIBUTE_UNUSED.
910 2021-02-24 Nick Clifton <nickc@redhat.com>
913 * od-elf32_avr.c (elf32_avr_get_memory_usage): Check for overflows
914 when adding together the section sizes.
916 2021-02-24 Nick Clifton <nickc@redhat.com>
918 * objcopy.c (merge_gnu_build_notes): Remove support for v1/v2 GNU
920 * readelf.c (print_gnu_build_attribute_description): Likewise.
922 2021-02-24 Alan Modra <amodra@gmail.com>
923 Siddhesh Poyarekar <siddhesh@gotplt.org>
926 * bucomm.h (smart_rename): Update prototype.
927 * rename.c (smart_rename): Add fromfd and preserve_dates params.
928 Pass fromfd and target_stat to simple_copy. Call set_times
930 (simple_copy): Accept fromfd rather than from filename. Add
931 target_stat param. Rewind fromfd rather than opening. Open
932 "to" file without O_CREAT. Try to preserve S_ISUID and S_ISGID.
933 * ar.c (write_archive): Rename ofd to tmpfd. Dup tmpfd before
934 closing output temp file, and pass tmpfd to smart_rename.
935 * arsup.c (temp_fd): Rename from real_fd.
936 (ar_save): Dup temp_fd and pass to smart_rename.
937 * objcopy.c (strip_main, copy_main): Likewise, and pass
940 2021-02-24 Alan Modra <amodra@gmail.com>
943 * rename.c: Tidy throughout.
944 (smart_rename): Always copy. Remove windows specific code.
946 2021-02-20 Alan Modra <amodra@gmail.com>
948 * testsuite/lib/binutils-common.exp: Whitespace fixes throughout.
949 (run_dump_test): Fail if expecting errors from a file like we do
950 for error strings, if no error is seen.
952 2021-02-19 Alan Modra <amodra@gmail.com>
954 * testsuite/binutils-all/readelf.exp (pr26548): Run for 32-bit too.
956 2021-02-19 Siddhesh Poyarekar <siddhesh@gotplt.org>
958 * ar.c (write_archive): Remove TARGET_STAT. Adjust call to
960 * arsup.c (ar_save): Likewise.
961 * objcopy (strip_main): Don't copy TMPFD. Don't set times on
962 temporary file and adjust call to SMART_RENAME.
963 (copy_main): Likewise.
964 * rename.c [!S_ISLNK]: Remove definitions.
965 (try_preserve_permissions): Remove function.
966 (smart_rename): Remove FD, PRESERVE_DATES arguments. Use
967 rename system call only if TO does not exist.
968 * bucomm.h (smart_rename): Adjust declaration.
970 2021-02-18 Nick Clifton <nickc@redhat.com>
972 * objcopy.c (merge_gnu_build_notes): Handle notes with a start
973 address that is higher than the end address.
975 2021-02-17 Alan Modra <amodra@gmail.com>
977 * dwarf.c: Include limits.h.
978 (CHAR_BIT): Provide backup define.
979 (read_leb128): Use CHAR_BIT to size "result" in bits. Correct
980 signed overflow checking.
981 * testsuite/binutils-all/pr26548.s,
982 * testsuite/binutils-all/pr26548.d,
983 * testsuite/binutils-all/pr26548e.d: New tests.
984 * testsuite/binutils-all/readelf.exp: Run them.
985 (readelf_test): Drop unused "xfails" parameter. Update all uses.
987 2021-02-16 Jan Beulich <jbeulich@suse.com>
989 * dwarf.c (process_debug_info): Initialize "dwo_id".
991 2021-02-15 Alan Modra <amodra@gmail.com>
993 * objdump.c (load_specific_debug_section): Don't call
994 bfd_cache_section_contents. Rearrange so that
995 bfd_get_full_section_contents is not called on path where
996 bfd_simple_get_relocated_section_contents is called.
997 Don't set section->user_data.
998 (free_debug_section): Always free section->start. Don't twiddle
1000 * readelf.c (load_specific_debug_section): Don't set user_data.
1001 * dwarf.h (struct dwarf_section): Remove use_data field.
1002 * dwarf.c (NO_ABBREVS, ABBREV): Adjust to suit.
1004 2021-02-15 Alan Modra <amodra@gmail.com>
1006 * testsuite/binutils-all/compress.exp: Remove nds32 xfails.
1007 * testsuite/binutils-all/objdump.exp: Likewise.
1009 2021-02-14 Alan Modra <amodra@gmail.com>
1011 * objdump.c (slurp_symtab): Don't add an extra entry for NULL
1012 to the symbol array.
1013 (slurp_dynamic_symtab): Likewise.
1014 (dump_bfd): Formatting. Copy terminating NULL from extra_syms.
1016 2021-02-14 Alan Modra <amodra@gmail.com>
1018 * Makefile.in: Regenerate.
1019 * doc/Makefile.in: Regenerate.
1021 2021-02-13 Mike Frysinger <vapier@gentoo.org>
1023 * aclocal.m4: Regenerate.
1025 2021-02-12 Nick Clifton <nickc@redhat.com>
1027 * configure.ac (follow-debug-links): Add option to enable or
1028 disable the following of debug links by default. Set the
1029 default for the option to be 'follow'.
1030 * dwarf.c (do_follow_links): Initialise with DEFAULT_FOR_FOLLOW_LINKS.
1031 (dwarf_select_sections_by_names): Add no-follow-links option.
1032 (dwarf_select_sections_by_letter): Add 'N' option.
1033 * objdump.c (usage): Add conditional text describing the
1034 follow links option.
1035 (slurp_symtab): Ensure that there is a NULL entry at the end
1036 of the symbol table.
1037 (slurp_dynamic_symtab): Likewise.
1038 (dump_bfd): When extending the symbol table, ensure that there
1039 is still a NULL entry at the end.
1040 * readelf.c (usage): Add conditional text describing the
1041 follow links option.
1042 * doc/binutils.texi: Update documentation for objcopy and
1044 * doc/debug.options.texi: Update documentation of the
1045 follow-links option.
1046 * config.in: Regenerate.
1047 * configure: Regenerate.
1048 * testsuite/binutils-all/compress.exp: Add the -WN option to
1049 objdump command lines that are not expecting to follow links.
1050 * testsuite/binutils-all/readelf.exp: Add the
1051 --debug-dump=no-follow-links option to tests that are not
1052 expecting to follow debug links.
1053 * NEWS: Mention the new behaviour.
1055 2021-02-12 Alan Modra <amodra@gmail.com>
1057 * testsuite/binutils-all/objcopy.exp: Report "unsupported" when
1058 gas or ld fails to build a testcase rather than "unresolved".
1059 Report "fail" when readelf returns an error status rather than
1061 * testsuite/binutils-all/ar.exp: Likewise.
1062 * testsuite/binutils-all/compress.exp: Likewise.
1063 * testsuite/binutils-all/readelf.exp: Likewise.
1065 2021-02-12 Alan Modra <amodra@gmail.com>
1067 * testsuite/binutils-all/pr25662.s: Replace "a" with "aaa" and
1068 "c" with "ccc" labels.
1070 2021-02-12 Tom de Vries <tdevries@suse.de>
1072 * dwarf.h (debug_info): Fix typo in comment.
1074 2021-02-12 Tom de Vries <tdevries@suse.de>
1076 * dwarf.c (display_debug_str_offsets): Handle multiple sets of
1079 2021-02-12 Tom de Vries <tdevries@suse.de>
1081 * dwarf.c (process_debug_info): Print DWO ID.
1083 2021-02-11 Alan Modra <amodra@gmail.com>
1088 * od-elf32_avr.c (elf32_avr_get_note_section_contents): Formatting.
1089 Use bfd_malloc_and_get_section.
1090 (elf32_avr_get_note_desc): Formatting. Return descsz. Sanity
1091 check namesz. Return NULL if descsz is too small. Ensure
1092 string table is terminated.
1093 (elf32_avr_get_device_info): Formatting. Add note_size param.
1095 (elf32_avr_dump_mem_usage): Adjust to suit.
1097 2021-02-10 Tom de Vries <tdevries@suse.de>
1100 * dwarf.c (load_dwo_file): Handle case that name is absolute path.
1102 2021-02-10 Tom de Vries <tdevries@suse.de>
1105 * dwarf.c (display_debug_ranges): Filter range lists according to
1108 2021-02-09 Tom de Vries <tdevries@suse.de>
1111 * dwarf.c (get_type_abbrev_from_form): Handle DW_FORM_ref_sig8.
1113 2021-02-09 Tom de Vries <tdevries@suse.de>
1116 * dwarf.c (process_debug_info): Handling DW_UT_skeleton and
1117 DW_UT_split_compile.
1119 2021-02-09 Alan Modra <amodra@gmail.com>
1121 * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Remove
1124 2021-02-07 Alan Modra <amodra@gmail.com>
1126 * unwind-ia64.c (unw_print_xyreg): Don't leave output buffer
1127 uninitialised on invalid input.
1129 2021-02-06 Alan Modra <amodra@gmail.com>
1132 * rename.c (smart_rename): Test for existence and type of output
1135 2021-02-05 Nick Clifton <nickc@redhat.com>
1137 * MAINTAINERS: Remove Richard Henderson as the ALPHA maintainer.
1139 2021-02-05 Eli Zaretskii <eliz@gnu.org>
1142 * elfedit.c (check_file):
1143 * bucomm.c (get_file_size): Fix typos in comments.
1145 2021-02-05 Alan Modra <amodra@gmail.com>
1148 * arsup.c (ar_save): Use stat rather than lstat.
1150 2021-02-03 Alan Modra <amodra@gmail.com>
1155 * ar.c: Don't include libbfd.h.
1156 (write_archive): Replace xmalloc+strcpy with xstrdup. Use
1157 bfd_stat rather than fstat on iostream. Move stat and fd tests
1158 outside of _WIN32 ifdef. Delete skip_stat variable.
1159 * arsup.c (temp_name, real_ofd): New static variables.
1160 (ar_open): Use make_tempname and bfd_fdopenw.
1161 (ar_save): Adjust to suit ar_open changes. Move stat output
1163 * objcopy.c: Don't include libbfd.h.
1164 (copy_file): Use bfd_stat.
1166 2021-02-02 H.J. Lu <hongjiu.lu@intel.com>
1169 * readelf.c (process_section_headers): Add 'R' and 'D' to
1171 * testsuite/binutils-all/retain1a.d: Updated.
1173 2021-01-30 Nick Clifton <nickc@redhat.com>
1175 * README-how-to-make-a-release: Small updates after the 2.35.2
1178 2021-01-28 Eli Zaretskii <eliz@gnu.org>
1181 * windres.c (quot): Use double quotes to protect strings on
1184 2021-01-28 Eli Zaretskii <eliz@gnu.org>
1187 * bucomm.c (get_file_size): Add code to handle /dev/null on
1189 * elfedit.c (check_file): Likewise.
1191 2021-01-27 Nick Clifton <nickc@redhat.com>
1193 * objcopy.c (copy_main): Remove conditional control of the calls
1194 to free, simplifying the code and making it easier to detect
1197 2021-01-26 Frederic Cambus <fred@statdns.com>
1199 * objcopy.c (copy_main): Fix a double free happening when both
1200 --localize-symbols and --globalize-symbols options are invoked
1203 2021-01-24 Nick Clifton <nickc@redhat.com>
1205 * README-how-to-make-a-release: Minor updates after the 2.36 release.
1207 2021-01-16 Alan Modra <amodra@gmail.com>
1209 * readelf.c (uncompress_section_contents): Tidy inflateEnd result test.
1211 2021-01-15 Alan Modra <amodra@gmail.com>
1214 * readelf.c (uncompress_section_contents): Always call inflateEnd.
1216 2021-01-14 Alexandre Oliva <oliva@gnu.org>
1218 * MAINTAINERS: Update my email address.
1220 2021-01-14 Nick Clifton <nickc@redhat.com>
1222 * po/sv.po: Updated Swedish translation.
1224 2021-01-13 Alan Modra <amodra@gmail.com>
1226 * Makefile.in: Regenerate.
1227 * doc/Makefile.in: Regenerate.
1229 2021-01-13 Zebediah Figura <z.figura12@gmail.com>
1232 * dlltool.c (i386_trampoline): Adjust %rsp immediately on entry
1234 (i386_x64_trampoline): Add SEH annotations.
1235 (struct mac): Add how_seh field.
1236 (make_delay_head): If how_set field is true add SEh instructions.
1238 2021-01-12 H.J. Lu <hongjiu.lu@intel.com>
1241 * configure.ac: Use GNU_MAKE_JOBSERVER.
1242 * aclocal.m4: Regenerated.
1243 * configure: Likewise.
1245 2021-01-12 Nick Clifton <nickc@redhat.com>
1247 * po/fr.po: Updated French translation.
1249 2021-01-11 H.J. Lu <hongjiu.lu@intel.com>
1252 * configure: Regenerated.
1254 2021-01-11 Nick Clifton <nickc@redhat.com>
1256 * po/pt.po: Updated Portuguese translation.
1257 * po/sr.po: Updated Serbian translation.
1258 * po/uk.po: Updated Ukranian translation.
1260 2021-01-09 H.J. Lu <hongjiu.lu@intel.com>
1262 * configure: Regenerated.
1264 2021-01-09 Nick Clifton <nickc@redhat.com>
1266 * configure: Regenerate.
1267 * po/binutils.pot: Regenerate.
1269 2021-01-09 Nick Clifton <nickc@redhat.com>
1271 * 2.36 release branch crated.
1272 * README-how-to-make-a-release: Add note about updating Makefiles
1274 * BRANCHES: Add binutils-2.36-branch.
1276 2021-01-09 Alan Modra <amodra@gmail.com>
1278 * configure: Regenerate.
1280 2021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
1282 * configure: Regenerate.
1284 2021-01-07 H.J. Lu <hongjiu.lu@intel.com>
1287 * objcopy.c (copy_object): Handle section symbols for
1288 non-relocatable inputs.
1289 * testsuite/binutils-all/readelf.exp (readelf_test): Check
1290 is_elf_unused_section_symbols.
1291 * testsuite/binutils-all/readelf.s-64: Updated.
1292 * testsuite/binutils-all/readelf.ss: Likewise.
1293 * testsuite/binutils-all/readelf.ss-64: Likewise.
1294 * testsuite/binutils-all/readelf.s-64-unused: New file.
1295 * testsuite/binutils-all/readelf.ss-64-unused: Likewise.
1296 * testsuite/binutils-all/readelf.ss-unused: Likewise.
1297 * testsuite/lib/binutils-common.exp
1298 (is_elf_unused_section_symbols): New proc.
1300 2021-01-06 Reuben Thomas <rrt@sc3d.org>
1302 * binutils/readelf.c: Correct grammar in comment.
1304 2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
1306 * coffgrok.c (do_type): Correct spelling of auxiliary in errors.
1307 * doc/binutils.texi: Correct grammar.
1308 * readelf.c (process_version_sections): Correct spelling of auxiliary
1310 * testsuite/binutils-all/vax/objdump.exp: Comment grammar fix.
1312 2021-01-01 Alan Modra <amodra@gmail.com>
1314 Update year range in copyright notice of all files.
1316 For older changes see ChangeLog-2020
1318 Copyright (C) 2021 Free Software Foundation, Inc.
1320 Copying and distribution of this file, with or without modification,
1321 are permitted in any medium without royalty provided the copyright
1322 notice and this notice are preserved.
1328 version-control: never