1 2020-04-24 Alan Modra <amodra@gmail.com>
3 * readelf.c (get_num_dynamic_syms): Check for nbuckets and nchains
5 (process_dynamic_section): Call get_num_dynamic_syms once rather
6 than in segment loop. Break out of segment loop on a successful
7 load of dynamic symbols. Formatting.
8 (process_object): Return error status from process_dynamic_section.
10 2020-04-23 Anton Kolesov <anton.kolesov@synopsys.com>
12 * elf-bfd.h (elfcore_write_arc_v2): Add prototype.
13 * elf.c (elfcore_grok_arc_v2): New function.
14 (elfcore_grok_note): Call the new function to handle the corresponding
16 (elfcore_write_arc_v2): New function.
17 (elfcore_write_register_note): Call the new function to handle the
18 corresponding pseudo-sections.
20 2020-04-22 Max Filippov <jcmvbkbc@gmail.com>
23 * readelf.c (is_none_reloc): Recognize
24 BFD_RELOC_XTENSA_PDIFF{8,16,32} and
25 BFD_RELOC_XTENSA_NDIFF{8,16,32}.
27 2020-04-22 Nick Clifton <nickc@redhat.com>
29 * MAINTAINERS: Remove Chris Faylor as the ix86 PE maintainer.
31 2020-04-22 Alan Modra <amodra@gmail.com>
33 * readelf.c (archive_file_offset, archive_file_size, dynamic_addr),
34 (dynamic_size, dynamic_nent, dynamic_strings, dynamic_strings_length),
35 (num_dynamic_syms, nbuckets, nchains, buckets, chains),
36 (ngnubuckets, gnubuckets, gnuchains, mipsxlat, ngnuchains),
37 (gnusymidx, dynamic_symbols, dynamic_syminfo, dynamic_syminfo_offset),
38 (dynamic_syminfo_nent, program_interpreter, dynamic_info),
39 (dynamic_info_DT_GNU_HASH, dynamic_info_DT_MIPS_XHASH, version_info),
40 (dynamic_section, symtab_shndx_list, group_count, section_groups),
41 (section_headers_groups): Move to struct filedata. Update use
44 2020-04-22 Alan Modra <amodra@gmail.com>
46 * readelf.c (struct dump_data): New, used..
47 (cmdline): ..here, and..
48 (struct filedata): ..here. Adjust all uses.
49 (request_dump_bynumber, request_dump, parse_args): Pass in a
50 struct dump_data* rather than Filedata*. Adjust callers.
51 (main): Don't set cmdline.file_name.
53 2020-04-20 Alan Modra <amodra@gmail.com>
55 * readelf.c (process_symbol_table): Clear ngnuchains, ngnubuckets
58 2020-04-20 Alan Modra <amodra@gmail.com>
60 * readelf.c (process_section_headers): Free dynamic symbols etc.
63 2020-04-20 Alan Modra <amodra@gmail.com>
65 * readelf.c (get_num_dynamic_syms): Formatting. Don't return
66 on error without freeing.
67 (process_dynamic_section): Don't recreate dynamic symbols from
68 dynamic tag info when the dynamic symbols have already been
69 read via section headers.
71 2020-04-17 Fredrik Strupe <fredrik@strupe.net>
73 * testsuite/binutils-all/arm/vdup-cond.d: New test for testing that
74 conditional VDUP instructions are disassembled correctly.
75 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
77 * testsuite/binutils-all/arm/vdup-thumb.d: New test for testing
78 that VDUP instructions (which are conditional in A32) can be
79 disassembled in thumb mode.
80 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
83 2020-04-17 Alan Modra <amodra@gmail.com>
86 * debug.c (debug_class_type_samep): Don't segfault on NULL type.
88 2020-04-16 Alan Modra <amodra@gmail.com>
90 * doc/binutils.texi: Mention --no-show-raw-insn in objdump
91 --no-addresses description.
93 2020-04-15 Alan Modra <amodra@gmail.com>
95 * objdump.c (no_addresses): New static var.
96 (usage): Print help for --no-addresses.
97 (long_options): Add --no-addresses entry.
98 (objdump_print_addr_with_sym, objdump_print_addr): Omit symbol address.
99 (disassemble_bytes): Don't print current line address, or reloc
101 * doc/binutils.texi: Document objdump --no-addresses.
103 2020-04-15 Alan Modra <amodra@gmail.com>
106 * readelf.c (get_num_dynamic_syms): Don't set num_of_syms when
107 reading buckets or chains fails.
109 2020-04-15 Alan Modra <amodra@gmail.com>
111 * readelf.c (process_symbol_table): Zero gnubuckets, gnuchains
114 2020-04-15 Alan Modra <amodra@gmail.com>
116 * readelf.c (get_group_flags): Translate text.
117 (get_file_type, get_symbol_binding, get_symbol_type),
118 (get_ppc64_symbol_other, get_symbol_other): Increase size of buffer.
120 2020-04-15 Alan Modra <amodra@gmail.com>
123 * readelf.c (get_num_dynamic_syms): Typo fix.
125 2020-04-14 Alan Modra <amodra@gmail.com>
127 * readelf.c (process_mips_specific): Free eopt and iopt. Avoid
128 possibility of overflow when checking number of conflicts.
130 2020-04-14 H.J. Lu <hongjiu.lu@intel.com>
133 * readelf.c (nbuckets): New.
137 (ngnubuckets): Likewise.
138 (gnubuckets): Likewise.
139 (gnuchains): Likewise.
140 (mipsxlat): Likewise.
141 (ngnuchains): Likewise.
142 (gnusymidx): Likewise.
143 (VALID_SYMBOL_NAME): Likewise.
144 (VALID_DYNAMIC_NAME): Use it.
145 (get_dynamic_data): Moved before process_dynamic_section.
146 (get_num_dynamic_syms): New function.
147 (process_dynamic_section): Use DT_SYMTAB, DT_SYMENT, DT_HASH,
148 DT_GNU_HASH and DT_MIPS_XHASH to reconstruct dynamic symbol
149 table. Use DT_STRTAB and DT_STRSZ to reconstruct dynamic string
151 (get_symbol_index_type): Don't print "bad section index" when
152 there is no section header.
153 (print_dynamic_symbol): Rewrite.
154 (process_symbol_table): Call print_dynamic_symbol to dump dynamic
157 2020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
159 * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Don't
160 enable on *-*-solaris*.
162 2020-03-30 Nick Clifton <nickc@redhat.com>
165 * objcopy.c (copy_object): When copying PE format files set the
166 timestamp field in the pe_data structure if the preserve_dates
168 * testsuite/binutils-all/objcopy.exp (objcopy_test) Use
169 --preserve-dates in place of the -p option, in order to make its
172 2020-03-28 Alan Modra <amodra@gmail.com>
174 * testsuite/binutils-all/objcopy.exp (objcopy_test): Only
175 clear_xfail hppa*-*-*elf*. Revert mips xfails.
177 2020-03-28 Alan Modra <amodra@gmail.com>
179 * testsuite/binutils-all/objcopy.exp (objcopy_test): Move xfails
180 from here to calls. Remove "m8*-*-*" entry. Don't xfail tic54x
181 but do xfail spu, mipstx39 and mips-sgi-irix for the executable
182 test. Pass "-p" to objcopy for the executable test.
184 2020-03-27 Jozef Lawrynowicz <jozef.l@mittosystems.com>
187 * testsuite/binutils-all/objcopy.exp (objcopy_test): Add argument to
188 specify whether an object file or executable should be built and tested.
189 Change test names to report whether an object file or executable is
191 * testsuite/binutils-all/pr25662.ld: New test.
192 * testsuite/binutils-all/pr25662.s: New test.
194 2020-03-27 Alan Modra <amodra@gmail.com>
196 * readelf.c (process_archive): Don't double free qualified_name.
197 Don't break out of loop with "negative" archive_file_size, just
198 set file offset to max.
200 2020-03-25 Alan Modra <amodra@gmail.com>
202 * readelf.c (process_archive): Prevent endless loop.
204 2020-03-24 H.J. Lu <hongjiu.lu@intel.com>
207 * nm.c (print_symname): Replace _bfd_elf_get_symbol_version_name
208 with bfd_get_symbol_version_string.
209 (print_symbo): Pass TRUE to bfd_get_symbol_version_string.
210 * objdump.c (objdump_print_symname): Likewise.
212 2020-03-24 H.J. Lu <hongjiu.lu@intel.com>
215 * nm.c (SYM_NAME): Removed.
216 (print_symname): Add a pointer to struct extended_symbol_info
217 argument. Call _bfd_elf_get_symbol_version_name to get symbol
219 (print_symdef_entry): Pass NULL to print_symname.
220 (print_symbol_info_bsd): Update call to print_symname.
221 (print_symbol_info_sysv): Likewise.
222 (print_symbol_info_posix): Likewise.
224 2020-03-24 Alan Modra <amodra@gmail.com>
226 * readelf.c (process_mips_specific): Free iconf on error path.
228 2020-03-23 Nick Clifton <nickc@redhat.com>
231 * wrstabs.c (stab_pop_type): Replace assertion with error return.
232 * write_stabs_in_sections_debugging_info: Likewise.
233 * stab_enum_type: Likewise.
234 * stab_modify_type: Likewise.
235 * stab_struct_field: Likewise.
236 * stab_end_struct_type: Likewise.
237 * stab_start_class_type: Likewise.
238 * stab_class_static_member: Likewise.
239 * stab_class_baseclass: Likewise.
240 * stab_class_start_method: Likewise.
241 * stab_class_method_var: Likewise.
242 * stab_class_end_method: Likewise.
243 * stab_end_class_type: Likewise.
244 * stab_typedef_type: Likewise.
245 * stab_start_function: Likewise.
246 * stab_end_block: Likewise.
247 * stab_lineno: Likewise.
249 2020-03-20 Nick Clifton <nickc@redhat.com>
251 * readelf.c (get_compression_header): Add ATTRIBUTE_WARN_UNUSED_RESULT.
252 (process_section_headers): Check the return value from
253 get_compression_header.
254 (dump_section_as_strings): Likewise.
255 (dump_section_as_bytes): Likewise.
256 (load_specific_debug_section): Likewise.
258 2020-03-20 H.J. Lu <hongjiu.lu@intel.com>
260 * ar.c (main): Update bfd_plugin_set_program_name call.
261 * nm.c (main): Likewise.
263 2020-03-19 Nick Clifton <nickc@redhat.com>
266 * testsuite/binutils-all/dw4.s: New test source file.
267 * testsuite/binutils-all/nm.exp: Run the new test.
269 2020-03-19 H.J. Lu <hongjiu.lu@intel.com>
271 * readelf.c (process_symbol_table): Use unsigned long for si.
273 2020-03-19 Alan Modra <amodra@gmail.com>
275 * elfcomm.c: Don't include bfd.h or bucomm.h.
276 (program_name): Declare.
277 (process_archive_index_and_symbols): Replace bfd_boolean with int,
278 and substitute FALSE and TRUE.
279 (setup_archive, setup_nested_archive): Likewise.
280 * elfcomm.h: Likewise.
282 2020-03-19 Alan Modra <amodra@gmail.com>
284 * readelf.c (process_archive): Always return via path freeing
287 2020-03-19 Alan Modra <amodra@gmail.com>
289 * readelf.c (process_netbsd_elf_note): Validate descsz before
290 accessing descdata. Formatting.
292 2020-03-19 Alan Modra <amodra@gmail.com>
294 * elfcomm.c (setup_archive): Make file_size an off_t. Comment.
295 * elfcomm.h (setup_archive): Update prototype.
297 2020-03-16 Alan Modra <amodra@gmail.com>
299 * readelf.c (get_symbols): New function.
300 (process_relocs, ia64_process_unwind, hppa_process_unwind),
301 (arm_process_unwind, get_symbol_for_build_attribute): Use it.
303 2020-03-16 Alan Modra <amodra@gmail.com>
305 * unwind-ia64.c (unw_decode_uleb128): Prevent overlarge shifts.
306 Detect shift overflows and check that terminating byte is found.
307 Print an error on a bad uleb128.
309 2020-03-14 Alan Modra <amodra@gmail.com>
311 * readelf.c (process_file): Clean ba_cache.
313 2020-03-14 Alan Modra <amodra@gmail.com>
315 * elfcomm.h (setup_archive): Update prototype.
316 * elfcomm.c (setup_archive): Add file_size parameter and sanity
317 check longnames_size.
318 (setup_nested_archive): Get file size and pass to setup_archive.
319 * elfedit.c (process_archive): Likewise.
320 * readelf.c (process_archive): Pass filedata->file_size to
323 2020-03-14 Alan Modra <amodra@gmail.com>
325 * readelf.c (dump_section_as_strings): Free memory on error exit.
326 (dump_section_as_bytes, process_notes_at): Likewise.
327 (get_build_id): Free enote.
329 2020-03-13 Kamil Rytarowski <n54@gmx.com>
331 * readelf.c (get_netbsd_elfcore_note_type): Add support for
332 NT_NETBSDCORE_LWPSTATUS notes.
334 2020-03-13 Alan Modra <amodra@gmail.com>
336 * elfcomm.c (get_archive_member_name): Always return malloc'd
338 * elfedit.c (process_archive): Tidy memory on all return paths.
339 * readelf.c (process_archive): Likewise.
340 (process_symbol_table): Likewise.
341 (ba_cache): New, replacing ..
342 (get_symbol_for_build_attribute): ..static vars here. Free
343 strtab and symtab before loading new ones. Reject symtab without
344 valid strtab in loop, breaking out of loop on valid symtab.
345 (process_file): Free ba_cache symtab and strtab here, resetting
348 2020-03-12 Alan Modra <amodra@gmail.com>
350 * readelf.c (process_section_headers): Don't just set
351 filedata->section_headers NULL, free it first. Similarly for
352 dynamic_symbols, dynamic_strings, dynamic_syminfo and
353 symtab_shndx_list. Zero associated counts too.
354 (process_object): Free symtab_shndx_list.
355 (process_file): Free various allocated filedata tables.
357 2020-03-11 Nick Clifton <nickc@redhat.com>
361 * dwarf.h (DWARF2_Internal_LineInfo): Add li_address_size and
362 li_segment_size fields.
363 * dwarf.c (read_debug_line_header): Record the address size and
364 segment selector size values (if present) in the lineinfo
366 (display_formatted_table): Warn if the format count is empty but
367 the table itself is not empty.
368 Display the format count and entry count at the start of the table
370 (display_debug_lines_raw): Display the address size and segement
371 selector size fields, if present.
372 * testsuite/binutils-all/dw5.W: Update expected output.
374 2020-03-11 Alan Modra <amodra@gmail.com>
377 * objcopy.c (copy_object): Test "gaps" not gap_fill_set or
378 pad_to_set on second block of code dealing with padding.
379 Replace "c" with "num_sec" and don't recalculate number of
380 sections on second block. Size arrays using sizeof (element)
381 rather than sizeof (element type).
383 2020-03-10 Alan Modra <amodra@gmail.com>
385 * objdump.c (disassemble_section): Don't call qsort unless
386 sym count is at least two.
387 (disassemble_data): Don't call memcpy with NULL src.
389 2020-03-09 Alan Modra <amodra@gmail.com>
392 * readelf.c (dump_ia64_vms_dynamic_fixups): Pass size and nmemb
393 to get_data rather than multiplying.
394 (dump_ia64_vms_dynamic_relocs): Likewise.
395 (process_version_sections): Correct order of size and nmemb args
397 (process_mips_specific): Likewise.
399 2020-03-08 H.J. Lu <hongjiu.lu@intel.com>
401 * readelf.c (get_dynamic_data): Replace "memory chekers" with
402 "memory checkers" in comments.
404 2020-03-06 Simon Marchi <simon.marchi@efficios.com>
407 * doc/Makefile.am: Rename MOSTLYCLEANFILES to MAINTAINERCLEANFILES.
408 * doc/Makefile.in: Re-generate.
410 2020-03-06 Nick Clifton <nickc@redhat.com>
412 * objcopy.c (check_new_section_flags): New function. Reject the
413 SEC_COFF_SHARED flag if the target is not a COFF binary.
414 (copy_object): Call check_new_section_flags.
415 (setup_section): Likewise.
416 * doc/binutils.texi (objcopy): Add a note that the 'share' section
417 flag cannot be applied to ELF binaries.
419 2020-03-06 Alan Modra <amodra@gmail.com>
422 * objcopy.c (filter_symbols): Correct rem_leading_char logic.
424 2020-03-05 Alan Modra <amodra@gmail.com>
427 * objcopy.c (filter_symbols): Don't segfault on NULL
428 prefix_symbols_string.
430 2020-03-04 Christian Eggers <ceggers@gmx.de>
432 * objcopy.c (copy_object): Convert from bytes to octets for
433 --gap-fill and --pad-to.
435 2020-03-03 Nick Clifton <nickc@redhat.com>
438 * prdbg.c (pr_tag_type): Remove call to abort.
440 2020-03-02 Aaron Merey <amerey@redhat.com>
442 * binutils/testsuite/binutils-all/debuginfod.exp: Improve port
445 2020-03-02 Nick Clifton <nickc@redhat.com>
448 * readelf.c (dump_section_as_strings): Display new-line characters
449 as \n and then insert a line break.
450 * testsuite/binutils-all/pr25543.s: New test.
451 * testsuite/binutils-all/pr25543.d: Test driver.
452 * testsuite/binutils-all/readelf.exp: Run the new test.
454 2020-02-27 Nick Clifton <nickc@redhat.com>
457 * readelf.c (process_ia64_vms_dynamic_relocs): Check to see if
458 get_data is unable to load the string table.
460 2020-02-26 Alan Modra <amodra@gmail.com>
462 * elfedit.c: Indent labels correctly.
463 * readelf.c: Likewise.
464 * resres.c: Likewise.
466 2020-02-25 H.J. Lu <hongjiu.lu@intel.com>
469 * ar.c (main): Pass 0 to bfd_plugin_set_program_name.
470 * nm.c (main): Pass 1 to bfd_plugin_set_program_name.
472 2020-02-24 Nick Clifton <nickc@redhat.com>
475 * doc/binutils.texi (objdump): Fix typo in description of
478 2020-02-20 Nelson Chu <nelson.chu@sifive.com>
480 * dwarf.c (regname_internal_riscv): Updated since the DECLARE_CSR
483 2020-02-19 Jordan Rupprecht <rupprecht@google.com>
485 * objdump.c (show_line): call bfd_demangle when using do_demangle.
487 2020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
489 * configure: Regenerate.
491 2020-02-10 Fangrui Song <maskray@google.com>
493 * objcopy.c (parse_flags): Handle "exclude".
494 * doc/binutils.texi: Document the support.
496 2020-02-10 Aaron Merey <amerey@redhat.com>
498 * binutils/testsuite/binutils-all/debuginfod.exp:
499 Replace set ::env with setenv.
500 Start server before setting environment variable.
501 Specify tmpdir as the location of the server's
503 Check additional server metrics at start-up.
505 2020-02-07 Nick Clifton <nickc@redhat.com>
507 * README-how-to-make-a-release: Add note about updating the
508 GAS/NEWS URL in the next release.
510 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
513 * readelf.c (get_machine_flags): Add support for Z80N machine
516 2020-02-07 Nick Clifton <nickc@redhat.com>
518 * dwarf.c (display_debug_lines_decoded): Force a NUL termination
519 of the truncated file name.
521 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
523 * objdump.c (print_jump_visualisation): New function.
524 (disassemble_bytes): Call new function.
526 2020-02-06 Alan Modra <amodra@gmail.com>
528 * testsuite/lib/binutils-common.exp (match_target): Accept '!' before
530 (supports_gnu_osabi): New procedure.
531 (is_generic): New, from ld-lib.exp.
532 (supports_gnu_unique): Use the above.
534 2020-02-04 Alan Modra <amodra@gmail.com>
536 * Makefile.am (CFILES): Add od-elf32_avr.c.
537 * Makefile.in: Regenerate.
538 * po/POTFILES.in: Regenerate.
540 2020-02-03 Andreas Schwab <schwab@linux-m68k.org>
542 * readelf.c (dump_relocations, dump_relocations)
543 (decode_arm_unwind_bytecode, process_dynamic_section)
544 (get_symbol_visibility, get_alpha_symbol_other): Add newline to
547 2020-02-03 Sergei Trofimovich <siarheit@google.com>
549 * coffdump.c (program_name): Drop redundant definition.
550 * srconv.c (program_name): Likewise
551 * sysdump.c (program_name): Likewise
553 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
556 * objdump.c (sym_ok): Return FALSE if 2 sections are in the
557 same file with different section pointers.
559 2020-02-01 Nick Clifton <nickc@redhat.com>
561 * README-how-to-make-a-release: Update with more details on the
562 release making process.
564 2020-01-31 Nick Clifton <nickc@redhat.com>
566 * po/sv.po: Updated Swedish translation.
568 2020-01-28 Nick Clifton <nickc@redhat.com>
570 * readelf.c (get_build_id): Simplify warning message about corrupt
571 notes encountered whilst scanning for the build-id.
573 2020-01-27 Roland McGrath <mcgrathr@google.com>
575 * objcopy.c (compare_gnu_build_notes): Fix comparison results
576 for overlapping ranges so that (A == B) == (B == A) holds.
578 2020-01-27 Alan Modra <amodra@gmail.com>
580 * testsuite/lib/binutils-common.exp (big_or_little_endian): Replace
581 case statement with switch statement.
583 2020-01-24 Nick Clifton <nickc@redhat.com>
585 * readelf.c (get_build_id): Fix warning messages about corrupt
588 2020-01-23 Nick Clifton <nickc@redhat.com>
590 * po/fr.po: Updated French translation.
592 2020-01-22 Yuri Chornoivan <yurchor@mageia.org>
595 * readelf.c (get_alpha_symbol_other): Fix error message typo.
597 2020-01-20 Nick Clifton <nickc@redhat.com>
599 * po/pt.po: Updated Portuguese translation.
600 * po/uk.po: Updated Ukranian translation.
602 2020-01-18 Nick Clifton <nickc@redhat.com>
604 * README-how-to-make-a-release: Update notes on how to cut a
605 branch for a release.
607 2020-01-18 Nick Clifton <nickc@redhat.com>
609 * configure: Regenerate.
610 * po/binutils.pot: Regenerate.
612 2020-01-18 Nick Clifton <nickc@redhat.com>
614 Binutils 2.34 branch created.
616 2020-01-17 Thomas Troeger <tstroege@gmx.de>
618 * objdump.c (jump_info_visualize_address): Discard jumps that are
620 (disassemble_bytes): Only compute the maximum level if jumps were
623 2020-01-13 Nick Clifton <nickc@redhat.com>
625 * objdump.c (disassemble_bytes): Remove C99-ism.
626 * testsuite/binutils-all/debuginfod.exp: New tests.
628 2020-01-13 Thomas Troeger <tstroege@gmx.de>
630 * objdump.c (visualize_jumps, color_output, extended_color_output)
631 (detected_jumps): New variables.
632 (usage): Add the new jump visualization options.
633 (option_values): Add new option value.
634 (long_options): Add the new option.
635 (jump_info_new, jump_info_free): New functions.
636 (jump_info_min_address, jump_info_max_address): Likewise.
637 (jump_info_end_address, jump_info_is_start_address): Likewise.
638 (jump_info_is_end_address, jump_info_size): Likewise.
639 (jump_info_unlink, jump_info_insert): Likewise.
640 (jump_info_add_front, jump_info_move_linked): Likewise.
641 (jump_info_intersect, jump_info_merge): Likewise.
642 (jump_info_sort, jump_info_visualize_address): Likewise.
643 (disassemble_jumps): New function - used to locate jumps.
644 (disassemble_bytes): Add ascii art generation.
645 (disassemble_section): Add scan to locate jumps.
646 (main): Parse the new visualization option.
647 * doc/binutils.texi: Document the new feature.
648 * NEWS: Mention the new feature.
650 2020-01-13 Alan Modra <amodra@gmail.com>
654 * dwarf.c (display_debug_frames): Move fde_fc earlier. Free
655 fde_fc col_type and col_offset.
656 * readelf.c (apply_relocations): Move symsec check earlier.
657 (free_debug_section): Free reloc_info.
658 (process_notes_at): Free pnotes on error path.
659 (process_object): Free dump_sects here..
660 (process_archive): ..not here.
662 2020-01-13 Alan Modra <amodra@gmail.com>
665 * nm.c (display_rel_file): Free dyn_syms.
667 2020-01-09 Nick Clifton <nickc@redhat.com>
670 * objcopy.c (empty_name): New variable.
671 (need_sym_before): Prevent an attempt to free a static variable.
672 (filter_symbols): Avoid strcmp test by checking for pointer
675 2020-01-09 Nick Clifton <nickc@redhat.com>
677 * po/zh_TW.po: Updated Traditional Chinese translation.
679 2020-01-09 Aaron Merey <amerey@redhat.com>
681 * Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod.
682 * Makefile.in: Regenerate.
684 * config.in: Regenerate.
685 * configure: Regenerate.
686 * configure.ac: Call AC_DEBUGINFOD.
687 * doc/Makefile.in: Regenerate.
688 * doc/binutils.texi: Add section on using binutils
690 * dwarf.c (debuginfod_fetch_separate_debug_info): New function.
691 Query debuginfod servers for the target debug file.
692 (load_separate_debug_info): Call
693 debuginfod_fetch_separate_debug_info if configured with
695 (load_separate_debug_files): Add file argument to
696 load_separate_debug_info calls.
697 * dwarf.h (get_build_id): Add declaration.
698 * objdump.c (get_build_id): New function. Get build-id of file.
699 * readelf.c (get_build_id): Likewise.
700 * testsuite/binutils-all/debuginfod.exp: New tests.
701 * testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id
704 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
706 * readelf.c: Add support for new Z*) relocations and machine
709 2020-01-01 Alan Modra <amodra@gmail.com>
711 Update year range in copyright notice of all files.
713 For older changes see ChangeLog-2019
715 Copyright (C) 2020 Free Software Foundation, Inc.
717 Copying and distribution of this file, with or without modification,
718 are permitted in any medium without royalty provided the copyright
719 notice and this notice are preserved.
725 version-control: never