1 2020-04-29 Nick Clifton <nickc@redhat.com>
3 * po/sr.po: Updated Serbian translation.
5 2020-04-26 Alan Modra <amodra@gmail.com>
7 * readelf.c (get_num_dynamic_syms): Check DT_MIPS_XHASH was
8 read before dereferencing, and gracefully return. Remove
9 gnu_hash_error variable. Free gnu hash arrays if number of
12 2020-04-24 Alan Modra <amodra@gmail.com>
14 * readelf.c (get_num_dynamic_syms): Check for nbuckets and nchains
16 (process_dynamic_section): Call get_num_dynamic_syms once rather
17 than in segment loop. Break out of segment loop on a successful
18 load of dynamic symbols. Formatting.
19 (process_object): Return error status from process_dynamic_section.
21 2020-04-23 Anton Kolesov <anton.kolesov@synopsys.com>
23 * elf-bfd.h (elfcore_write_arc_v2): Add prototype.
24 * elf.c (elfcore_grok_arc_v2): New function.
25 (elfcore_grok_note): Call the new function to handle the corresponding
27 (elfcore_write_arc_v2): New function.
28 (elfcore_write_register_note): Call the new function to handle the
29 corresponding pseudo-sections.
31 2020-04-22 Max Filippov <jcmvbkbc@gmail.com>
34 * readelf.c (is_none_reloc): Recognize
35 BFD_RELOC_XTENSA_PDIFF{8,16,32} and
36 BFD_RELOC_XTENSA_NDIFF{8,16,32}.
38 2020-04-22 Nick Clifton <nickc@redhat.com>
40 * MAINTAINERS: Remove Chris Faylor as the ix86 PE maintainer.
42 2020-04-22 Alan Modra <amodra@gmail.com>
44 * readelf.c (archive_file_offset, archive_file_size, dynamic_addr),
45 (dynamic_size, dynamic_nent, dynamic_strings, dynamic_strings_length),
46 (num_dynamic_syms, nbuckets, nchains, buckets, chains),
47 (ngnubuckets, gnubuckets, gnuchains, mipsxlat, ngnuchains),
48 (gnusymidx, dynamic_symbols, dynamic_syminfo, dynamic_syminfo_offset),
49 (dynamic_syminfo_nent, program_interpreter, dynamic_info),
50 (dynamic_info_DT_GNU_HASH, dynamic_info_DT_MIPS_XHASH, version_info),
51 (dynamic_section, symtab_shndx_list, group_count, section_groups),
52 (section_headers_groups): Move to struct filedata. Update use
55 2020-04-22 Alan Modra <amodra@gmail.com>
57 * readelf.c (struct dump_data): New, used..
58 (cmdline): ..here, and..
59 (struct filedata): ..here. Adjust all uses.
60 (request_dump_bynumber, request_dump, parse_args): Pass in a
61 struct dump_data* rather than Filedata*. Adjust callers.
62 (main): Don't set cmdline.file_name.
64 2020-04-20 Alan Modra <amodra@gmail.com>
66 * readelf.c (process_symbol_table): Clear ngnuchains, ngnubuckets
69 2020-04-20 Alan Modra <amodra@gmail.com>
71 * readelf.c (process_section_headers): Free dynamic symbols etc.
74 2020-04-20 Alan Modra <amodra@gmail.com>
76 * readelf.c (get_num_dynamic_syms): Formatting. Don't return
77 on error without freeing.
78 (process_dynamic_section): Don't recreate dynamic symbols from
79 dynamic tag info when the dynamic symbols have already been
80 read via section headers.
82 2020-04-17 Fredrik Strupe <fredrik@strupe.net>
84 * testsuite/binutils-all/arm/vdup-cond.d: New test for testing that
85 conditional VDUP instructions are disassembled correctly.
86 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
88 * testsuite/binutils-all/arm/vdup-thumb.d: New test for testing
89 that VDUP instructions (which are conditional in A32) can be
90 disassembled in thumb mode.
91 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
94 2020-04-17 Alan Modra <amodra@gmail.com>
97 * debug.c (debug_class_type_samep): Don't segfault on NULL type.
99 2020-04-16 Alan Modra <amodra@gmail.com>
101 * doc/binutils.texi: Mention --no-show-raw-insn in objdump
102 --no-addresses description.
104 2020-04-15 Alan Modra <amodra@gmail.com>
106 * objdump.c (no_addresses): New static var.
107 (usage): Print help for --no-addresses.
108 (long_options): Add --no-addresses entry.
109 (objdump_print_addr_with_sym, objdump_print_addr): Omit symbol address.
110 (disassemble_bytes): Don't print current line address, or reloc
112 * doc/binutils.texi: Document objdump --no-addresses.
114 2020-04-15 Alan Modra <amodra@gmail.com>
117 * readelf.c (get_num_dynamic_syms): Don't set num_of_syms when
118 reading buckets or chains fails.
120 2020-04-15 Alan Modra <amodra@gmail.com>
122 * readelf.c (process_symbol_table): Zero gnubuckets, gnuchains
125 2020-04-15 Alan Modra <amodra@gmail.com>
127 * readelf.c (get_group_flags): Translate text.
128 (get_file_type, get_symbol_binding, get_symbol_type),
129 (get_ppc64_symbol_other, get_symbol_other): Increase size of buffer.
131 2020-04-15 Alan Modra <amodra@gmail.com>
134 * readelf.c (get_num_dynamic_syms): Typo fix.
136 2020-04-14 Alan Modra <amodra@gmail.com>
138 * readelf.c (process_mips_specific): Free eopt and iopt. Avoid
139 possibility of overflow when checking number of conflicts.
141 2020-04-14 H.J. Lu <hongjiu.lu@intel.com>
144 * readelf.c (nbuckets): New.
148 (ngnubuckets): Likewise.
149 (gnubuckets): Likewise.
150 (gnuchains): Likewise.
151 (mipsxlat): Likewise.
152 (ngnuchains): Likewise.
153 (gnusymidx): Likewise.
154 (VALID_SYMBOL_NAME): Likewise.
155 (VALID_DYNAMIC_NAME): Use it.
156 (get_dynamic_data): Moved before process_dynamic_section.
157 (get_num_dynamic_syms): New function.
158 (process_dynamic_section): Use DT_SYMTAB, DT_SYMENT, DT_HASH,
159 DT_GNU_HASH and DT_MIPS_XHASH to reconstruct dynamic symbol
160 table. Use DT_STRTAB and DT_STRSZ to reconstruct dynamic string
162 (get_symbol_index_type): Don't print "bad section index" when
163 there is no section header.
164 (print_dynamic_symbol): Rewrite.
165 (process_symbol_table): Call print_dynamic_symbol to dump dynamic
168 2020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
170 * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Don't
171 enable on *-*-solaris*.
173 2020-03-30 Nick Clifton <nickc@redhat.com>
176 * objcopy.c (copy_object): When copying PE format files set the
177 timestamp field in the pe_data structure if the preserve_dates
179 * testsuite/binutils-all/objcopy.exp (objcopy_test) Use
180 --preserve-dates in place of the -p option, in order to make its
183 2020-03-28 Alan Modra <amodra@gmail.com>
185 * testsuite/binutils-all/objcopy.exp (objcopy_test): Only
186 clear_xfail hppa*-*-*elf*. Revert mips xfails.
188 2020-03-28 Alan Modra <amodra@gmail.com>
190 * testsuite/binutils-all/objcopy.exp (objcopy_test): Move xfails
191 from here to calls. Remove "m8*-*-*" entry. Don't xfail tic54x
192 but do xfail spu, mipstx39 and mips-sgi-irix for the executable
193 test. Pass "-p" to objcopy for the executable test.
195 2020-03-27 Jozef Lawrynowicz <jozef.l@mittosystems.com>
198 * testsuite/binutils-all/objcopy.exp (objcopy_test): Add argument to
199 specify whether an object file or executable should be built and tested.
200 Change test names to report whether an object file or executable is
202 * testsuite/binutils-all/pr25662.ld: New test.
203 * testsuite/binutils-all/pr25662.s: New test.
205 2020-03-27 Alan Modra <amodra@gmail.com>
207 * readelf.c (process_archive): Don't double free qualified_name.
208 Don't break out of loop with "negative" archive_file_size, just
209 set file offset to max.
211 2020-03-25 Alan Modra <amodra@gmail.com>
213 * readelf.c (process_archive): Prevent endless loop.
215 2020-03-24 H.J. Lu <hongjiu.lu@intel.com>
218 * nm.c (print_symname): Replace _bfd_elf_get_symbol_version_name
219 with bfd_get_symbol_version_string.
220 (print_symbo): Pass TRUE to bfd_get_symbol_version_string.
221 * objdump.c (objdump_print_symname): Likewise.
223 2020-03-24 H.J. Lu <hongjiu.lu@intel.com>
226 * nm.c (SYM_NAME): Removed.
227 (print_symname): Add a pointer to struct extended_symbol_info
228 argument. Call _bfd_elf_get_symbol_version_name to get symbol
230 (print_symdef_entry): Pass NULL to print_symname.
231 (print_symbol_info_bsd): Update call to print_symname.
232 (print_symbol_info_sysv): Likewise.
233 (print_symbol_info_posix): Likewise.
235 2020-03-24 Alan Modra <amodra@gmail.com>
237 * readelf.c (process_mips_specific): Free iconf on error path.
239 2020-03-23 Nick Clifton <nickc@redhat.com>
242 * wrstabs.c (stab_pop_type): Replace assertion with error return.
243 * write_stabs_in_sections_debugging_info: Likewise.
244 * stab_enum_type: Likewise.
245 * stab_modify_type: Likewise.
246 * stab_struct_field: Likewise.
247 * stab_end_struct_type: Likewise.
248 * stab_start_class_type: Likewise.
249 * stab_class_static_member: Likewise.
250 * stab_class_baseclass: Likewise.
251 * stab_class_start_method: Likewise.
252 * stab_class_method_var: Likewise.
253 * stab_class_end_method: Likewise.
254 * stab_end_class_type: Likewise.
255 * stab_typedef_type: Likewise.
256 * stab_start_function: Likewise.
257 * stab_end_block: Likewise.
258 * stab_lineno: Likewise.
260 2020-03-20 Nick Clifton <nickc@redhat.com>
262 * readelf.c (get_compression_header): Add ATTRIBUTE_WARN_UNUSED_RESULT.
263 (process_section_headers): Check the return value from
264 get_compression_header.
265 (dump_section_as_strings): Likewise.
266 (dump_section_as_bytes): Likewise.
267 (load_specific_debug_section): Likewise.
269 2020-03-20 H.J. Lu <hongjiu.lu@intel.com>
271 * ar.c (main): Update bfd_plugin_set_program_name call.
272 * nm.c (main): Likewise.
274 2020-03-19 Nick Clifton <nickc@redhat.com>
277 * testsuite/binutils-all/dw4.s: New test source file.
278 * testsuite/binutils-all/nm.exp: Run the new test.
280 2020-03-19 H.J. Lu <hongjiu.lu@intel.com>
282 * readelf.c (process_symbol_table): Use unsigned long for si.
284 2020-03-19 Alan Modra <amodra@gmail.com>
286 * elfcomm.c: Don't include bfd.h or bucomm.h.
287 (program_name): Declare.
288 (process_archive_index_and_symbols): Replace bfd_boolean with int,
289 and substitute FALSE and TRUE.
290 (setup_archive, setup_nested_archive): Likewise.
291 * elfcomm.h: Likewise.
293 2020-03-19 Alan Modra <amodra@gmail.com>
295 * readelf.c (process_archive): Always return via path freeing
298 2020-03-19 Alan Modra <amodra@gmail.com>
300 * readelf.c (process_netbsd_elf_note): Validate descsz before
301 accessing descdata. Formatting.
303 2020-03-19 Alan Modra <amodra@gmail.com>
305 * elfcomm.c (setup_archive): Make file_size an off_t. Comment.
306 * elfcomm.h (setup_archive): Update prototype.
308 2020-03-16 Alan Modra <amodra@gmail.com>
310 * readelf.c (get_symbols): New function.
311 (process_relocs, ia64_process_unwind, hppa_process_unwind),
312 (arm_process_unwind, get_symbol_for_build_attribute): Use it.
314 2020-03-16 Alan Modra <amodra@gmail.com>
316 * unwind-ia64.c (unw_decode_uleb128): Prevent overlarge shifts.
317 Detect shift overflows and check that terminating byte is found.
318 Print an error on a bad uleb128.
320 2020-03-14 Alan Modra <amodra@gmail.com>
322 * readelf.c (process_file): Clean ba_cache.
324 2020-03-14 Alan Modra <amodra@gmail.com>
326 * elfcomm.h (setup_archive): Update prototype.
327 * elfcomm.c (setup_archive): Add file_size parameter and sanity
328 check longnames_size.
329 (setup_nested_archive): Get file size and pass to setup_archive.
330 * elfedit.c (process_archive): Likewise.
331 * readelf.c (process_archive): Pass filedata->file_size to
334 2020-03-14 Alan Modra <amodra@gmail.com>
336 * readelf.c (dump_section_as_strings): Free memory on error exit.
337 (dump_section_as_bytes, process_notes_at): Likewise.
338 (get_build_id): Free enote.
340 2020-03-13 Kamil Rytarowski <n54@gmx.com>
342 * readelf.c (get_netbsd_elfcore_note_type): Add support for
343 NT_NETBSDCORE_LWPSTATUS notes.
345 2020-03-13 Alan Modra <amodra@gmail.com>
347 * elfcomm.c (get_archive_member_name): Always return malloc'd
349 * elfedit.c (process_archive): Tidy memory on all return paths.
350 * readelf.c (process_archive): Likewise.
351 (process_symbol_table): Likewise.
352 (ba_cache): New, replacing ..
353 (get_symbol_for_build_attribute): ..static vars here. Free
354 strtab and symtab before loading new ones. Reject symtab without
355 valid strtab in loop, breaking out of loop on valid symtab.
356 (process_file): Free ba_cache symtab and strtab here, resetting
359 2020-03-12 Alan Modra <amodra@gmail.com>
361 * readelf.c (process_section_headers): Don't just set
362 filedata->section_headers NULL, free it first. Similarly for
363 dynamic_symbols, dynamic_strings, dynamic_syminfo and
364 symtab_shndx_list. Zero associated counts too.
365 (process_object): Free symtab_shndx_list.
366 (process_file): Free various allocated filedata tables.
368 2020-03-11 Nick Clifton <nickc@redhat.com>
372 * dwarf.h (DWARF2_Internal_LineInfo): Add li_address_size and
373 li_segment_size fields.
374 * dwarf.c (read_debug_line_header): Record the address size and
375 segment selector size values (if present) in the lineinfo
377 (display_formatted_table): Warn if the format count is empty but
378 the table itself is not empty.
379 Display the format count and entry count at the start of the table
381 (display_debug_lines_raw): Display the address size and segement
382 selector size fields, if present.
383 * testsuite/binutils-all/dw5.W: Update expected output.
385 2020-03-11 Alan Modra <amodra@gmail.com>
388 * objcopy.c (copy_object): Test "gaps" not gap_fill_set or
389 pad_to_set on second block of code dealing with padding.
390 Replace "c" with "num_sec" and don't recalculate number of
391 sections on second block. Size arrays using sizeof (element)
392 rather than sizeof (element type).
394 2020-03-10 Alan Modra <amodra@gmail.com>
396 * objdump.c (disassemble_section): Don't call qsort unless
397 sym count is at least two.
398 (disassemble_data): Don't call memcpy with NULL src.
400 2020-03-09 Alan Modra <amodra@gmail.com>
403 * readelf.c (dump_ia64_vms_dynamic_fixups): Pass size and nmemb
404 to get_data rather than multiplying.
405 (dump_ia64_vms_dynamic_relocs): Likewise.
406 (process_version_sections): Correct order of size and nmemb args
408 (process_mips_specific): Likewise.
410 2020-03-08 H.J. Lu <hongjiu.lu@intel.com>
412 * readelf.c (get_dynamic_data): Replace "memory chekers" with
413 "memory checkers" in comments.
415 2020-03-06 Simon Marchi <simon.marchi@efficios.com>
418 * doc/Makefile.am: Rename MOSTLYCLEANFILES to MAINTAINERCLEANFILES.
419 * doc/Makefile.in: Re-generate.
421 2020-03-06 Nick Clifton <nickc@redhat.com>
423 * objcopy.c (check_new_section_flags): New function. Reject the
424 SEC_COFF_SHARED flag if the target is not a COFF binary.
425 (copy_object): Call check_new_section_flags.
426 (setup_section): Likewise.
427 * doc/binutils.texi (objcopy): Add a note that the 'share' section
428 flag cannot be applied to ELF binaries.
430 2020-03-06 Alan Modra <amodra@gmail.com>
433 * objcopy.c (filter_symbols): Correct rem_leading_char logic.
435 2020-03-05 Alan Modra <amodra@gmail.com>
438 * objcopy.c (filter_symbols): Don't segfault on NULL
439 prefix_symbols_string.
441 2020-03-04 Christian Eggers <ceggers@gmx.de>
443 * objcopy.c (copy_object): Convert from bytes to octets for
444 --gap-fill and --pad-to.
446 2020-03-03 Nick Clifton <nickc@redhat.com>
449 * prdbg.c (pr_tag_type): Remove call to abort.
451 2020-03-02 Aaron Merey <amerey@redhat.com>
453 * binutils/testsuite/binutils-all/debuginfod.exp: Improve port
456 2020-03-02 Nick Clifton <nickc@redhat.com>
459 * readelf.c (dump_section_as_strings): Display new-line characters
460 as \n and then insert a line break.
461 * testsuite/binutils-all/pr25543.s: New test.
462 * testsuite/binutils-all/pr25543.d: Test driver.
463 * testsuite/binutils-all/readelf.exp: Run the new test.
465 2020-02-27 Nick Clifton <nickc@redhat.com>
468 * readelf.c (process_ia64_vms_dynamic_relocs): Check to see if
469 get_data is unable to load the string table.
471 2020-02-26 Alan Modra <amodra@gmail.com>
473 * elfedit.c: Indent labels correctly.
474 * readelf.c: Likewise.
475 * resres.c: Likewise.
477 2020-02-25 H.J. Lu <hongjiu.lu@intel.com>
480 * ar.c (main): Pass 0 to bfd_plugin_set_program_name.
481 * nm.c (main): Pass 1 to bfd_plugin_set_program_name.
483 2020-02-24 Nick Clifton <nickc@redhat.com>
486 * doc/binutils.texi (objdump): Fix typo in description of
489 2020-02-20 Nelson Chu <nelson.chu@sifive.com>
491 * dwarf.c (regname_internal_riscv): Updated since the DECLARE_CSR
494 2020-02-19 Jordan Rupprecht <rupprecht@google.com>
496 * objdump.c (show_line): call bfd_demangle when using do_demangle.
498 2020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
500 * configure: Regenerate.
502 2020-02-10 Fangrui Song <maskray@google.com>
504 * objcopy.c (parse_flags): Handle "exclude".
505 * doc/binutils.texi: Document the support.
507 2020-02-10 Aaron Merey <amerey@redhat.com>
509 * binutils/testsuite/binutils-all/debuginfod.exp:
510 Replace set ::env with setenv.
511 Start server before setting environment variable.
512 Specify tmpdir as the location of the server's
514 Check additional server metrics at start-up.
516 2020-02-07 Nick Clifton <nickc@redhat.com>
518 * README-how-to-make-a-release: Add note about updating the
519 GAS/NEWS URL in the next release.
521 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
524 * readelf.c (get_machine_flags): Add support for Z80N machine
527 2020-02-07 Nick Clifton <nickc@redhat.com>
529 * dwarf.c (display_debug_lines_decoded): Force a NUL termination
530 of the truncated file name.
532 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
534 * objdump.c (print_jump_visualisation): New function.
535 (disassemble_bytes): Call new function.
537 2020-02-06 Alan Modra <amodra@gmail.com>
539 * testsuite/lib/binutils-common.exp (match_target): Accept '!' before
541 (supports_gnu_osabi): New procedure.
542 (is_generic): New, from ld-lib.exp.
543 (supports_gnu_unique): Use the above.
545 2020-02-04 Alan Modra <amodra@gmail.com>
547 * Makefile.am (CFILES): Add od-elf32_avr.c.
548 * Makefile.in: Regenerate.
549 * po/POTFILES.in: Regenerate.
551 2020-02-03 Andreas Schwab <schwab@linux-m68k.org>
553 * readelf.c (dump_relocations, dump_relocations)
554 (decode_arm_unwind_bytecode, process_dynamic_section)
555 (get_symbol_visibility, get_alpha_symbol_other): Add newline to
558 2020-02-03 Sergei Trofimovich <siarheit@google.com>
560 * coffdump.c (program_name): Drop redundant definition.
561 * srconv.c (program_name): Likewise
562 * sysdump.c (program_name): Likewise
564 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
567 * objdump.c (sym_ok): Return FALSE if 2 sections are in the
568 same file with different section pointers.
570 2020-02-01 Nick Clifton <nickc@redhat.com>
572 * README-how-to-make-a-release: Update with more details on the
573 release making process.
575 2020-01-31 Nick Clifton <nickc@redhat.com>
577 * po/sv.po: Updated Swedish translation.
579 2020-01-28 Nick Clifton <nickc@redhat.com>
581 * readelf.c (get_build_id): Simplify warning message about corrupt
582 notes encountered whilst scanning for the build-id.
584 2020-01-27 Roland McGrath <mcgrathr@google.com>
586 * objcopy.c (compare_gnu_build_notes): Fix comparison results
587 for overlapping ranges so that (A == B) == (B == A) holds.
589 2020-01-27 Alan Modra <amodra@gmail.com>
591 * testsuite/lib/binutils-common.exp (big_or_little_endian): Replace
592 case statement with switch statement.
594 2020-01-24 Nick Clifton <nickc@redhat.com>
596 * readelf.c (get_build_id): Fix warning messages about corrupt
599 2020-01-23 Nick Clifton <nickc@redhat.com>
601 * po/fr.po: Updated French translation.
603 2020-01-22 Yuri Chornoivan <yurchor@mageia.org>
606 * readelf.c (get_alpha_symbol_other): Fix error message typo.
608 2020-01-20 Nick Clifton <nickc@redhat.com>
610 * po/pt.po: Updated Portuguese translation.
611 * po/uk.po: Updated Ukranian translation.
613 2020-01-18 Nick Clifton <nickc@redhat.com>
615 * README-how-to-make-a-release: Update notes on how to cut a
616 branch for a release.
618 2020-01-18 Nick Clifton <nickc@redhat.com>
620 * configure: Regenerate.
621 * po/binutils.pot: Regenerate.
623 2020-01-18 Nick Clifton <nickc@redhat.com>
625 Binutils 2.34 branch created.
627 2020-01-17 Thomas Troeger <tstroege@gmx.de>
629 * objdump.c (jump_info_visualize_address): Discard jumps that are
631 (disassemble_bytes): Only compute the maximum level if jumps were
634 2020-01-13 Nick Clifton <nickc@redhat.com>
636 * objdump.c (disassemble_bytes): Remove C99-ism.
637 * testsuite/binutils-all/debuginfod.exp: New tests.
639 2020-01-13 Thomas Troeger <tstroege@gmx.de>
641 * objdump.c (visualize_jumps, color_output, extended_color_output)
642 (detected_jumps): New variables.
643 (usage): Add the new jump visualization options.
644 (option_values): Add new option value.
645 (long_options): Add the new option.
646 (jump_info_new, jump_info_free): New functions.
647 (jump_info_min_address, jump_info_max_address): Likewise.
648 (jump_info_end_address, jump_info_is_start_address): Likewise.
649 (jump_info_is_end_address, jump_info_size): Likewise.
650 (jump_info_unlink, jump_info_insert): Likewise.
651 (jump_info_add_front, jump_info_move_linked): Likewise.
652 (jump_info_intersect, jump_info_merge): Likewise.
653 (jump_info_sort, jump_info_visualize_address): Likewise.
654 (disassemble_jumps): New function - used to locate jumps.
655 (disassemble_bytes): Add ascii art generation.
656 (disassemble_section): Add scan to locate jumps.
657 (main): Parse the new visualization option.
658 * doc/binutils.texi: Document the new feature.
659 * NEWS: Mention the new feature.
661 2020-01-13 Alan Modra <amodra@gmail.com>
665 * dwarf.c (display_debug_frames): Move fde_fc earlier. Free
666 fde_fc col_type and col_offset.
667 * readelf.c (apply_relocations): Move symsec check earlier.
668 (free_debug_section): Free reloc_info.
669 (process_notes_at): Free pnotes on error path.
670 (process_object): Free dump_sects here..
671 (process_archive): ..not here.
673 2020-01-13 Alan Modra <amodra@gmail.com>
676 * nm.c (display_rel_file): Free dyn_syms.
678 2020-01-09 Nick Clifton <nickc@redhat.com>
681 * objcopy.c (empty_name): New variable.
682 (need_sym_before): Prevent an attempt to free a static variable.
683 (filter_symbols): Avoid strcmp test by checking for pointer
686 2020-01-09 Nick Clifton <nickc@redhat.com>
688 * po/zh_TW.po: Updated Traditional Chinese translation.
690 2020-01-09 Aaron Merey <amerey@redhat.com>
692 * Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod.
693 * Makefile.in: Regenerate.
695 * config.in: Regenerate.
696 * configure: Regenerate.
697 * configure.ac: Call AC_DEBUGINFOD.
698 * doc/Makefile.in: Regenerate.
699 * doc/binutils.texi: Add section on using binutils
701 * dwarf.c (debuginfod_fetch_separate_debug_info): New function.
702 Query debuginfod servers for the target debug file.
703 (load_separate_debug_info): Call
704 debuginfod_fetch_separate_debug_info if configured with
706 (load_separate_debug_files): Add file argument to
707 load_separate_debug_info calls.
708 * dwarf.h (get_build_id): Add declaration.
709 * objdump.c (get_build_id): New function. Get build-id of file.
710 * readelf.c (get_build_id): Likewise.
711 * testsuite/binutils-all/debuginfod.exp: New tests.
712 * testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id
715 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
717 * readelf.c: Add support for new Z*) relocations and machine
720 2020-01-01 Alan Modra <amodra@gmail.com>
722 Update year range in copyright notice of all files.
724 For older changes see ChangeLog-2019
726 Copyright (C) 2020 Free Software Foundation, Inc.
728 Copying and distribution of this file, with or without modification,
729 are permitted in any medium without royalty provided the copyright
730 notice and this notice are preserved.
736 version-control: never