1 2020-04-26 Alan Modra <amodra@gmail.com>
3 * readelf.c (get_num_dynamic_syms): Check DT_MIPS_XHASH was
4 read before dereferencing, and gracefully return. Remove
5 gnu_hash_error variable. Free gnu hash arrays if number of
8 2020-04-24 Alan Modra <amodra@gmail.com>
10 * readelf.c (get_num_dynamic_syms): Check for nbuckets and nchains
12 (process_dynamic_section): Call get_num_dynamic_syms once rather
13 than in segment loop. Break out of segment loop on a successful
14 load of dynamic symbols. Formatting.
15 (process_object): Return error status from process_dynamic_section.
17 2020-04-23 Anton Kolesov <anton.kolesov@synopsys.com>
19 * elf-bfd.h (elfcore_write_arc_v2): Add prototype.
20 * elf.c (elfcore_grok_arc_v2): New function.
21 (elfcore_grok_note): Call the new function to handle the corresponding
23 (elfcore_write_arc_v2): New function.
24 (elfcore_write_register_note): Call the new function to handle the
25 corresponding pseudo-sections.
27 2020-04-22 Max Filippov <jcmvbkbc@gmail.com>
30 * readelf.c (is_none_reloc): Recognize
31 BFD_RELOC_XTENSA_PDIFF{8,16,32} and
32 BFD_RELOC_XTENSA_NDIFF{8,16,32}.
34 2020-04-22 Nick Clifton <nickc@redhat.com>
36 * MAINTAINERS: Remove Chris Faylor as the ix86 PE maintainer.
38 2020-04-22 Alan Modra <amodra@gmail.com>
40 * readelf.c (archive_file_offset, archive_file_size, dynamic_addr),
41 (dynamic_size, dynamic_nent, dynamic_strings, dynamic_strings_length),
42 (num_dynamic_syms, nbuckets, nchains, buckets, chains),
43 (ngnubuckets, gnubuckets, gnuchains, mipsxlat, ngnuchains),
44 (gnusymidx, dynamic_symbols, dynamic_syminfo, dynamic_syminfo_offset),
45 (dynamic_syminfo_nent, program_interpreter, dynamic_info),
46 (dynamic_info_DT_GNU_HASH, dynamic_info_DT_MIPS_XHASH, version_info),
47 (dynamic_section, symtab_shndx_list, group_count, section_groups),
48 (section_headers_groups): Move to struct filedata. Update use
51 2020-04-22 Alan Modra <amodra@gmail.com>
53 * readelf.c (struct dump_data): New, used..
54 (cmdline): ..here, and..
55 (struct filedata): ..here. Adjust all uses.
56 (request_dump_bynumber, request_dump, parse_args): Pass in a
57 struct dump_data* rather than Filedata*. Adjust callers.
58 (main): Don't set cmdline.file_name.
60 2020-04-20 Alan Modra <amodra@gmail.com>
62 * readelf.c (process_symbol_table): Clear ngnuchains, ngnubuckets
65 2020-04-20 Alan Modra <amodra@gmail.com>
67 * readelf.c (process_section_headers): Free dynamic symbols etc.
70 2020-04-20 Alan Modra <amodra@gmail.com>
72 * readelf.c (get_num_dynamic_syms): Formatting. Don't return
73 on error without freeing.
74 (process_dynamic_section): Don't recreate dynamic symbols from
75 dynamic tag info when the dynamic symbols have already been
76 read via section headers.
78 2020-04-17 Fredrik Strupe <fredrik@strupe.net>
80 * testsuite/binutils-all/arm/vdup-cond.d: New test for testing that
81 conditional VDUP instructions are disassembled correctly.
82 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
84 * testsuite/binutils-all/arm/vdup-thumb.d: New test for testing
85 that VDUP instructions (which are conditional in A32) can be
86 disassembled in thumb mode.
87 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
90 2020-04-17 Alan Modra <amodra@gmail.com>
93 * debug.c (debug_class_type_samep): Don't segfault on NULL type.
95 2020-04-16 Alan Modra <amodra@gmail.com>
97 * doc/binutils.texi: Mention --no-show-raw-insn in objdump
98 --no-addresses description.
100 2020-04-15 Alan Modra <amodra@gmail.com>
102 * objdump.c (no_addresses): New static var.
103 (usage): Print help for --no-addresses.
104 (long_options): Add --no-addresses entry.
105 (objdump_print_addr_with_sym, objdump_print_addr): Omit symbol address.
106 (disassemble_bytes): Don't print current line address, or reloc
108 * doc/binutils.texi: Document objdump --no-addresses.
110 2020-04-15 Alan Modra <amodra@gmail.com>
113 * readelf.c (get_num_dynamic_syms): Don't set num_of_syms when
114 reading buckets or chains fails.
116 2020-04-15 Alan Modra <amodra@gmail.com>
118 * readelf.c (process_symbol_table): Zero gnubuckets, gnuchains
121 2020-04-15 Alan Modra <amodra@gmail.com>
123 * readelf.c (get_group_flags): Translate text.
124 (get_file_type, get_symbol_binding, get_symbol_type),
125 (get_ppc64_symbol_other, get_symbol_other): Increase size of buffer.
127 2020-04-15 Alan Modra <amodra@gmail.com>
130 * readelf.c (get_num_dynamic_syms): Typo fix.
132 2020-04-14 Alan Modra <amodra@gmail.com>
134 * readelf.c (process_mips_specific): Free eopt and iopt. Avoid
135 possibility of overflow when checking number of conflicts.
137 2020-04-14 H.J. Lu <hongjiu.lu@intel.com>
140 * readelf.c (nbuckets): New.
144 (ngnubuckets): Likewise.
145 (gnubuckets): Likewise.
146 (gnuchains): Likewise.
147 (mipsxlat): Likewise.
148 (ngnuchains): Likewise.
149 (gnusymidx): Likewise.
150 (VALID_SYMBOL_NAME): Likewise.
151 (VALID_DYNAMIC_NAME): Use it.
152 (get_dynamic_data): Moved before process_dynamic_section.
153 (get_num_dynamic_syms): New function.
154 (process_dynamic_section): Use DT_SYMTAB, DT_SYMENT, DT_HASH,
155 DT_GNU_HASH and DT_MIPS_XHASH to reconstruct dynamic symbol
156 table. Use DT_STRTAB and DT_STRSZ to reconstruct dynamic string
158 (get_symbol_index_type): Don't print "bad section index" when
159 there is no section header.
160 (print_dynamic_symbol): Rewrite.
161 (process_symbol_table): Call print_dynamic_symbol to dump dynamic
164 2020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
166 * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Don't
167 enable on *-*-solaris*.
169 2020-03-30 Nick Clifton <nickc@redhat.com>
172 * objcopy.c (copy_object): When copying PE format files set the
173 timestamp field in the pe_data structure if the preserve_dates
175 * testsuite/binutils-all/objcopy.exp (objcopy_test) Use
176 --preserve-dates in place of the -p option, in order to make its
179 2020-03-28 Alan Modra <amodra@gmail.com>
181 * testsuite/binutils-all/objcopy.exp (objcopy_test): Only
182 clear_xfail hppa*-*-*elf*. Revert mips xfails.
184 2020-03-28 Alan Modra <amodra@gmail.com>
186 * testsuite/binutils-all/objcopy.exp (objcopy_test): Move xfails
187 from here to calls. Remove "m8*-*-*" entry. Don't xfail tic54x
188 but do xfail spu, mipstx39 and mips-sgi-irix for the executable
189 test. Pass "-p" to objcopy for the executable test.
191 2020-03-27 Jozef Lawrynowicz <jozef.l@mittosystems.com>
194 * testsuite/binutils-all/objcopy.exp (objcopy_test): Add argument to
195 specify whether an object file or executable should be built and tested.
196 Change test names to report whether an object file or executable is
198 * testsuite/binutils-all/pr25662.ld: New test.
199 * testsuite/binutils-all/pr25662.s: New test.
201 2020-03-27 Alan Modra <amodra@gmail.com>
203 * readelf.c (process_archive): Don't double free qualified_name.
204 Don't break out of loop with "negative" archive_file_size, just
205 set file offset to max.
207 2020-03-25 Alan Modra <amodra@gmail.com>
209 * readelf.c (process_archive): Prevent endless loop.
211 2020-03-24 H.J. Lu <hongjiu.lu@intel.com>
214 * nm.c (print_symname): Replace _bfd_elf_get_symbol_version_name
215 with bfd_get_symbol_version_string.
216 (print_symbo): Pass TRUE to bfd_get_symbol_version_string.
217 * objdump.c (objdump_print_symname): Likewise.
219 2020-03-24 H.J. Lu <hongjiu.lu@intel.com>
222 * nm.c (SYM_NAME): Removed.
223 (print_symname): Add a pointer to struct extended_symbol_info
224 argument. Call _bfd_elf_get_symbol_version_name to get symbol
226 (print_symdef_entry): Pass NULL to print_symname.
227 (print_symbol_info_bsd): Update call to print_symname.
228 (print_symbol_info_sysv): Likewise.
229 (print_symbol_info_posix): Likewise.
231 2020-03-24 Alan Modra <amodra@gmail.com>
233 * readelf.c (process_mips_specific): Free iconf on error path.
235 2020-03-23 Nick Clifton <nickc@redhat.com>
238 * wrstabs.c (stab_pop_type): Replace assertion with error return.
239 * write_stabs_in_sections_debugging_info: Likewise.
240 * stab_enum_type: Likewise.
241 * stab_modify_type: Likewise.
242 * stab_struct_field: Likewise.
243 * stab_end_struct_type: Likewise.
244 * stab_start_class_type: Likewise.
245 * stab_class_static_member: Likewise.
246 * stab_class_baseclass: Likewise.
247 * stab_class_start_method: Likewise.
248 * stab_class_method_var: Likewise.
249 * stab_class_end_method: Likewise.
250 * stab_end_class_type: Likewise.
251 * stab_typedef_type: Likewise.
252 * stab_start_function: Likewise.
253 * stab_end_block: Likewise.
254 * stab_lineno: Likewise.
256 2020-03-20 Nick Clifton <nickc@redhat.com>
258 * readelf.c (get_compression_header): Add ATTRIBUTE_WARN_UNUSED_RESULT.
259 (process_section_headers): Check the return value from
260 get_compression_header.
261 (dump_section_as_strings): Likewise.
262 (dump_section_as_bytes): Likewise.
263 (load_specific_debug_section): Likewise.
265 2020-03-20 H.J. Lu <hongjiu.lu@intel.com>
267 * ar.c (main): Update bfd_plugin_set_program_name call.
268 * nm.c (main): Likewise.
270 2020-03-19 Nick Clifton <nickc@redhat.com>
273 * testsuite/binutils-all/dw4.s: New test source file.
274 * testsuite/binutils-all/nm.exp: Run the new test.
276 2020-03-19 H.J. Lu <hongjiu.lu@intel.com>
278 * readelf.c (process_symbol_table): Use unsigned long for si.
280 2020-03-19 Alan Modra <amodra@gmail.com>
282 * elfcomm.c: Don't include bfd.h or bucomm.h.
283 (program_name): Declare.
284 (process_archive_index_and_symbols): Replace bfd_boolean with int,
285 and substitute FALSE and TRUE.
286 (setup_archive, setup_nested_archive): Likewise.
287 * elfcomm.h: Likewise.
289 2020-03-19 Alan Modra <amodra@gmail.com>
291 * readelf.c (process_archive): Always return via path freeing
294 2020-03-19 Alan Modra <amodra@gmail.com>
296 * readelf.c (process_netbsd_elf_note): Validate descsz before
297 accessing descdata. Formatting.
299 2020-03-19 Alan Modra <amodra@gmail.com>
301 * elfcomm.c (setup_archive): Make file_size an off_t. Comment.
302 * elfcomm.h (setup_archive): Update prototype.
304 2020-03-16 Alan Modra <amodra@gmail.com>
306 * readelf.c (get_symbols): New function.
307 (process_relocs, ia64_process_unwind, hppa_process_unwind),
308 (arm_process_unwind, get_symbol_for_build_attribute): Use it.
310 2020-03-16 Alan Modra <amodra@gmail.com>
312 * unwind-ia64.c (unw_decode_uleb128): Prevent overlarge shifts.
313 Detect shift overflows and check that terminating byte is found.
314 Print an error on a bad uleb128.
316 2020-03-14 Alan Modra <amodra@gmail.com>
318 * readelf.c (process_file): Clean ba_cache.
320 2020-03-14 Alan Modra <amodra@gmail.com>
322 * elfcomm.h (setup_archive): Update prototype.
323 * elfcomm.c (setup_archive): Add file_size parameter and sanity
324 check longnames_size.
325 (setup_nested_archive): Get file size and pass to setup_archive.
326 * elfedit.c (process_archive): Likewise.
327 * readelf.c (process_archive): Pass filedata->file_size to
330 2020-03-14 Alan Modra <amodra@gmail.com>
332 * readelf.c (dump_section_as_strings): Free memory on error exit.
333 (dump_section_as_bytes, process_notes_at): Likewise.
334 (get_build_id): Free enote.
336 2020-03-13 Kamil Rytarowski <n54@gmx.com>
338 * readelf.c (get_netbsd_elfcore_note_type): Add support for
339 NT_NETBSDCORE_LWPSTATUS notes.
341 2020-03-13 Alan Modra <amodra@gmail.com>
343 * elfcomm.c (get_archive_member_name): Always return malloc'd
345 * elfedit.c (process_archive): Tidy memory on all return paths.
346 * readelf.c (process_archive): Likewise.
347 (process_symbol_table): Likewise.
348 (ba_cache): New, replacing ..
349 (get_symbol_for_build_attribute): ..static vars here. Free
350 strtab and symtab before loading new ones. Reject symtab without
351 valid strtab in loop, breaking out of loop on valid symtab.
352 (process_file): Free ba_cache symtab and strtab here, resetting
355 2020-03-12 Alan Modra <amodra@gmail.com>
357 * readelf.c (process_section_headers): Don't just set
358 filedata->section_headers NULL, free it first. Similarly for
359 dynamic_symbols, dynamic_strings, dynamic_syminfo and
360 symtab_shndx_list. Zero associated counts too.
361 (process_object): Free symtab_shndx_list.
362 (process_file): Free various allocated filedata tables.
364 2020-03-11 Nick Clifton <nickc@redhat.com>
368 * dwarf.h (DWARF2_Internal_LineInfo): Add li_address_size and
369 li_segment_size fields.
370 * dwarf.c (read_debug_line_header): Record the address size and
371 segment selector size values (if present) in the lineinfo
373 (display_formatted_table): Warn if the format count is empty but
374 the table itself is not empty.
375 Display the format count and entry count at the start of the table
377 (display_debug_lines_raw): Display the address size and segement
378 selector size fields, if present.
379 * testsuite/binutils-all/dw5.W: Update expected output.
381 2020-03-11 Alan Modra <amodra@gmail.com>
384 * objcopy.c (copy_object): Test "gaps" not gap_fill_set or
385 pad_to_set on second block of code dealing with padding.
386 Replace "c" with "num_sec" and don't recalculate number of
387 sections on second block. Size arrays using sizeof (element)
388 rather than sizeof (element type).
390 2020-03-10 Alan Modra <amodra@gmail.com>
392 * objdump.c (disassemble_section): Don't call qsort unless
393 sym count is at least two.
394 (disassemble_data): Don't call memcpy with NULL src.
396 2020-03-09 Alan Modra <amodra@gmail.com>
399 * readelf.c (dump_ia64_vms_dynamic_fixups): Pass size and nmemb
400 to get_data rather than multiplying.
401 (dump_ia64_vms_dynamic_relocs): Likewise.
402 (process_version_sections): Correct order of size and nmemb args
404 (process_mips_specific): Likewise.
406 2020-03-08 H.J. Lu <hongjiu.lu@intel.com>
408 * readelf.c (get_dynamic_data): Replace "memory chekers" with
409 "memory checkers" in comments.
411 2020-03-06 Simon Marchi <simon.marchi@efficios.com>
414 * doc/Makefile.am: Rename MOSTLYCLEANFILES to MAINTAINERCLEANFILES.
415 * doc/Makefile.in: Re-generate.
417 2020-03-06 Nick Clifton <nickc@redhat.com>
419 * objcopy.c (check_new_section_flags): New function. Reject the
420 SEC_COFF_SHARED flag if the target is not a COFF binary.
421 (copy_object): Call check_new_section_flags.
422 (setup_section): Likewise.
423 * doc/binutils.texi (objcopy): Add a note that the 'share' section
424 flag cannot be applied to ELF binaries.
426 2020-03-06 Alan Modra <amodra@gmail.com>
429 * objcopy.c (filter_symbols): Correct rem_leading_char logic.
431 2020-03-05 Alan Modra <amodra@gmail.com>
434 * objcopy.c (filter_symbols): Don't segfault on NULL
435 prefix_symbols_string.
437 2020-03-04 Christian Eggers <ceggers@gmx.de>
439 * objcopy.c (copy_object): Convert from bytes to octets for
440 --gap-fill and --pad-to.
442 2020-03-03 Nick Clifton <nickc@redhat.com>
445 * prdbg.c (pr_tag_type): Remove call to abort.
447 2020-03-02 Aaron Merey <amerey@redhat.com>
449 * binutils/testsuite/binutils-all/debuginfod.exp: Improve port
452 2020-03-02 Nick Clifton <nickc@redhat.com>
455 * readelf.c (dump_section_as_strings): Display new-line characters
456 as \n and then insert a line break.
457 * testsuite/binutils-all/pr25543.s: New test.
458 * testsuite/binutils-all/pr25543.d: Test driver.
459 * testsuite/binutils-all/readelf.exp: Run the new test.
461 2020-02-27 Nick Clifton <nickc@redhat.com>
464 * readelf.c (process_ia64_vms_dynamic_relocs): Check to see if
465 get_data is unable to load the string table.
467 2020-02-26 Alan Modra <amodra@gmail.com>
469 * elfedit.c: Indent labels correctly.
470 * readelf.c: Likewise.
471 * resres.c: Likewise.
473 2020-02-25 H.J. Lu <hongjiu.lu@intel.com>
476 * ar.c (main): Pass 0 to bfd_plugin_set_program_name.
477 * nm.c (main): Pass 1 to bfd_plugin_set_program_name.
479 2020-02-24 Nick Clifton <nickc@redhat.com>
482 * doc/binutils.texi (objdump): Fix typo in description of
485 2020-02-20 Nelson Chu <nelson.chu@sifive.com>
487 * dwarf.c (regname_internal_riscv): Updated since the DECLARE_CSR
490 2020-02-19 Jordan Rupprecht <rupprecht@google.com>
492 * objdump.c (show_line): call bfd_demangle when using do_demangle.
494 2020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
496 * configure: Regenerate.
498 2020-02-10 Fangrui Song <maskray@google.com>
500 * objcopy.c (parse_flags): Handle "exclude".
501 * doc/binutils.texi: Document the support.
503 2020-02-10 Aaron Merey <amerey@redhat.com>
505 * binutils/testsuite/binutils-all/debuginfod.exp:
506 Replace set ::env with setenv.
507 Start server before setting environment variable.
508 Specify tmpdir as the location of the server's
510 Check additional server metrics at start-up.
512 2020-02-07 Nick Clifton <nickc@redhat.com>
514 * README-how-to-make-a-release: Add note about updating the
515 GAS/NEWS URL in the next release.
517 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
520 * readelf.c (get_machine_flags): Add support for Z80N machine
523 2020-02-07 Nick Clifton <nickc@redhat.com>
525 * dwarf.c (display_debug_lines_decoded): Force a NUL termination
526 of the truncated file name.
528 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
530 * objdump.c (print_jump_visualisation): New function.
531 (disassemble_bytes): Call new function.
533 2020-02-06 Alan Modra <amodra@gmail.com>
535 * testsuite/lib/binutils-common.exp (match_target): Accept '!' before
537 (supports_gnu_osabi): New procedure.
538 (is_generic): New, from ld-lib.exp.
539 (supports_gnu_unique): Use the above.
541 2020-02-04 Alan Modra <amodra@gmail.com>
543 * Makefile.am (CFILES): Add od-elf32_avr.c.
544 * Makefile.in: Regenerate.
545 * po/POTFILES.in: Regenerate.
547 2020-02-03 Andreas Schwab <schwab@linux-m68k.org>
549 * readelf.c (dump_relocations, dump_relocations)
550 (decode_arm_unwind_bytecode, process_dynamic_section)
551 (get_symbol_visibility, get_alpha_symbol_other): Add newline to
554 2020-02-03 Sergei Trofimovich <siarheit@google.com>
556 * coffdump.c (program_name): Drop redundant definition.
557 * srconv.c (program_name): Likewise
558 * sysdump.c (program_name): Likewise
560 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
563 * objdump.c (sym_ok): Return FALSE if 2 sections are in the
564 same file with different section pointers.
566 2020-02-01 Nick Clifton <nickc@redhat.com>
568 * README-how-to-make-a-release: Update with more details on the
569 release making process.
571 2020-01-31 Nick Clifton <nickc@redhat.com>
573 * po/sv.po: Updated Swedish translation.
575 2020-01-28 Nick Clifton <nickc@redhat.com>
577 * readelf.c (get_build_id): Simplify warning message about corrupt
578 notes encountered whilst scanning for the build-id.
580 2020-01-27 Roland McGrath <mcgrathr@google.com>
582 * objcopy.c (compare_gnu_build_notes): Fix comparison results
583 for overlapping ranges so that (A == B) == (B == A) holds.
585 2020-01-27 Alan Modra <amodra@gmail.com>
587 * testsuite/lib/binutils-common.exp (big_or_little_endian): Replace
588 case statement with switch statement.
590 2020-01-24 Nick Clifton <nickc@redhat.com>
592 * readelf.c (get_build_id): Fix warning messages about corrupt
595 2020-01-23 Nick Clifton <nickc@redhat.com>
597 * po/fr.po: Updated French translation.
599 2020-01-22 Yuri Chornoivan <yurchor@mageia.org>
602 * readelf.c (get_alpha_symbol_other): Fix error message typo.
604 2020-01-20 Nick Clifton <nickc@redhat.com>
606 * po/pt.po: Updated Portuguese translation.
607 * po/uk.po: Updated Ukranian translation.
609 2020-01-18 Nick Clifton <nickc@redhat.com>
611 * README-how-to-make-a-release: Update notes on how to cut a
612 branch for a release.
614 2020-01-18 Nick Clifton <nickc@redhat.com>
616 * configure: Regenerate.
617 * po/binutils.pot: Regenerate.
619 2020-01-18 Nick Clifton <nickc@redhat.com>
621 Binutils 2.34 branch created.
623 2020-01-17 Thomas Troeger <tstroege@gmx.de>
625 * objdump.c (jump_info_visualize_address): Discard jumps that are
627 (disassemble_bytes): Only compute the maximum level if jumps were
630 2020-01-13 Nick Clifton <nickc@redhat.com>
632 * objdump.c (disassemble_bytes): Remove C99-ism.
633 * testsuite/binutils-all/debuginfod.exp: New tests.
635 2020-01-13 Thomas Troeger <tstroege@gmx.de>
637 * objdump.c (visualize_jumps, color_output, extended_color_output)
638 (detected_jumps): New variables.
639 (usage): Add the new jump visualization options.
640 (option_values): Add new option value.
641 (long_options): Add the new option.
642 (jump_info_new, jump_info_free): New functions.
643 (jump_info_min_address, jump_info_max_address): Likewise.
644 (jump_info_end_address, jump_info_is_start_address): Likewise.
645 (jump_info_is_end_address, jump_info_size): Likewise.
646 (jump_info_unlink, jump_info_insert): Likewise.
647 (jump_info_add_front, jump_info_move_linked): Likewise.
648 (jump_info_intersect, jump_info_merge): Likewise.
649 (jump_info_sort, jump_info_visualize_address): Likewise.
650 (disassemble_jumps): New function - used to locate jumps.
651 (disassemble_bytes): Add ascii art generation.
652 (disassemble_section): Add scan to locate jumps.
653 (main): Parse the new visualization option.
654 * doc/binutils.texi: Document the new feature.
655 * NEWS: Mention the new feature.
657 2020-01-13 Alan Modra <amodra@gmail.com>
661 * dwarf.c (display_debug_frames): Move fde_fc earlier. Free
662 fde_fc col_type and col_offset.
663 * readelf.c (apply_relocations): Move symsec check earlier.
664 (free_debug_section): Free reloc_info.
665 (process_notes_at): Free pnotes on error path.
666 (process_object): Free dump_sects here..
667 (process_archive): ..not here.
669 2020-01-13 Alan Modra <amodra@gmail.com>
672 * nm.c (display_rel_file): Free dyn_syms.
674 2020-01-09 Nick Clifton <nickc@redhat.com>
677 * objcopy.c (empty_name): New variable.
678 (need_sym_before): Prevent an attempt to free a static variable.
679 (filter_symbols): Avoid strcmp test by checking for pointer
682 2020-01-09 Nick Clifton <nickc@redhat.com>
684 * po/zh_TW.po: Updated Traditional Chinese translation.
686 2020-01-09 Aaron Merey <amerey@redhat.com>
688 * Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod.
689 * Makefile.in: Regenerate.
691 * config.in: Regenerate.
692 * configure: Regenerate.
693 * configure.ac: Call AC_DEBUGINFOD.
694 * doc/Makefile.in: Regenerate.
695 * doc/binutils.texi: Add section on using binutils
697 * dwarf.c (debuginfod_fetch_separate_debug_info): New function.
698 Query debuginfod servers for the target debug file.
699 (load_separate_debug_info): Call
700 debuginfod_fetch_separate_debug_info if configured with
702 (load_separate_debug_files): Add file argument to
703 load_separate_debug_info calls.
704 * dwarf.h (get_build_id): Add declaration.
705 * objdump.c (get_build_id): New function. Get build-id of file.
706 * readelf.c (get_build_id): Likewise.
707 * testsuite/binutils-all/debuginfod.exp: New tests.
708 * testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id
711 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
713 * readelf.c: Add support for new Z*) relocations and machine
716 2020-01-01 Alan Modra <amodra@gmail.com>
718 Update year range in copyright notice of all files.
720 For older changes see ChangeLog-2019
722 Copyright (C) 2020 Free Software Foundation, Inc.
724 Copying and distribution of this file, with or without modification,
725 are permitted in any medium without royalty provided the copyright
726 notice and this notice are preserved.
732 version-control: never