1 2020-05-07 Andrew Burgess <andrew.burgess@embecosm.com>
3 * doc/binutils.texi: Mention 'entry address' in the set-start and
4 adjust-start options descriptions.
6 2020-05-05 Nick Clifton <nickc@redhat.com>
8 * dwarf.c (do_checks): New global variable.
9 (display_formatted_table): Warn about an unexpected number of
10 columns in the table, if checks are enabled. Do not complain
11 about the lack of data following the number of entries in the
12 table if the table is empty.
13 (display_debug_lines_decoded): Only warn about an unexpected
14 number of columns in a table if checks are enabled.
15 * dwarf.h (do_checks): Add a prototype.
16 * elfcomm.c (error): Remove weak attribute.
18 * readelf.c (do_checks): Delete.
20 (process_section_headers): Only warn about empty sections if
23 2020-05-04 Fangrui Song <maskray@google.com>
25 * objcopy.c (copy_object): Allow empty section.
26 * testsuite/binutils-all/update-section.exp: Add test.
28 2020-05-04 Nick Clifton <nickc@redhat.com>
31 * dwarf.c (display_debug_lines_decoded): Warn if encountering a
32 supicious number of entries for DWARF-5 format directory and file
33 name tables. Do not display file name table header if the table
34 is empty. Do not allocate space for empty tables.
36 2020-05-04 Alan Modra <amodra@gmail.com>
38 * readelf.c (process_nds32_specific): Check size of .nds32_e_flags
39 section. Don't assume endian of host matches nds32 target. Free
42 2020-05-01 Alan Modra <amodra@gmail.com>
43 Haim Shimonovich <Haim.Shimonovich@ceva-dsp.com>
45 * objdump.c (disassemble_bytes): Don't scan for zeros when
46 disassembling zeros. Translate "resuming at file offset" message.
47 Formatting. Replace some signed variables with unsigned.
49 2020-04-30 Alex Coplan <alex.coplan@arm.com>
51 * testsuite/binutils-all/aarch64/in-order-all.d: Update to use new
53 * testsuite/binutils-all/aarch64/out-of-order-all.d: Likewise.
55 2020-04-30 Nick Clifton <nickc@redhat.com>
57 * testsuite/lib/binutils-common.exp (check_pie_support): New
60 2020-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
62 * dwarf.c (display_debug_ranges): Ignore duplicate entries in
63 range_entries for the same offset.
65 2020-04-29 Nick Clifton <nickc@redhat.com>
67 * readelf.c (warn): New function - like elfcomm.c version but only
68 produces output if warnings are enabled.
69 (struct options): Add --lint and --enable-checks.
70 (usage): Add entry for --lint.
71 (parse_args): Handle -L. If checks are enabled but no dumps have
72 been selected then enable all dumps.
73 (process_section_headers): Replace long if-then-else sequence with
74 a switch. Add warning messages for empty SHT_REL, SHT_RELA and
75 SHT_PROGBITS sections.
76 (process_file): Do not complain if the file is an archive and lint
77 mode has been enabled.
78 * elfcomm.c (error): Make the function weak.
80 * NEWS: Mention the new feature.
81 * doc/binutils.texi: Document the new feature.
82 * dwarf.h (report_leb_status): Add file name and line number
83 parameters. Include them in the diagnostic output.
84 (READ_ULEB): Pass file and line number to report_leb_status.
85 (READ_SLEB): Likewise.
86 * dwarf.c (read_and_print_leb128): Pass file and line number to
88 * testsuite/binutils-all/readelf.exp: Add test of new feature.
89 * testsuite/binutils-all/zero-sec.s: New test source file.
90 * testsuite/binutils-all/zero-sec.r: Expected output from new
93 2020-04-29 Nick Clifton <nickc@redhat.com>
95 * po/sr.po: Updated Serbian translation.
97 2020-04-26 Alan Modra <amodra@gmail.com>
99 * readelf.c (get_num_dynamic_syms): Check DT_MIPS_XHASH was
100 read before dereferencing, and gracefully return. Remove
101 gnu_hash_error variable. Free gnu hash arrays if number of
104 2020-04-24 Alan Modra <amodra@gmail.com>
106 * readelf.c (get_num_dynamic_syms): Check for nbuckets and nchains
108 (process_dynamic_section): Call get_num_dynamic_syms once rather
109 than in segment loop. Break out of segment loop on a successful
110 load of dynamic symbols. Formatting.
111 (process_object): Return error status from process_dynamic_section.
113 2020-04-23 Anton Kolesov <anton.kolesov@synopsys.com>
115 * elf-bfd.h (elfcore_write_arc_v2): Add prototype.
116 * elf.c (elfcore_grok_arc_v2): New function.
117 (elfcore_grok_note): Call the new function to handle the corresponding
119 (elfcore_write_arc_v2): New function.
120 (elfcore_write_register_note): Call the new function to handle the
121 corresponding pseudo-sections.
123 2020-04-22 Max Filippov <jcmvbkbc@gmail.com>
126 * readelf.c (is_none_reloc): Recognize
127 BFD_RELOC_XTENSA_PDIFF{8,16,32} and
128 BFD_RELOC_XTENSA_NDIFF{8,16,32}.
130 2020-04-22 Nick Clifton <nickc@redhat.com>
132 * MAINTAINERS: Remove Chris Faylor as the ix86 PE maintainer.
134 2020-04-22 Alan Modra <amodra@gmail.com>
136 * readelf.c (archive_file_offset, archive_file_size, dynamic_addr),
137 (dynamic_size, dynamic_nent, dynamic_strings, dynamic_strings_length),
138 (num_dynamic_syms, nbuckets, nchains, buckets, chains),
139 (ngnubuckets, gnubuckets, gnuchains, mipsxlat, ngnuchains),
140 (gnusymidx, dynamic_symbols, dynamic_syminfo, dynamic_syminfo_offset),
141 (dynamic_syminfo_nent, program_interpreter, dynamic_info),
142 (dynamic_info_DT_GNU_HASH, dynamic_info_DT_MIPS_XHASH, version_info),
143 (dynamic_section, symtab_shndx_list, group_count, section_groups),
144 (section_headers_groups): Move to struct filedata. Update use
147 2020-04-22 Alan Modra <amodra@gmail.com>
149 * readelf.c (struct dump_data): New, used..
150 (cmdline): ..here, and..
151 (struct filedata): ..here. Adjust all uses.
152 (request_dump_bynumber, request_dump, parse_args): Pass in a
153 struct dump_data* rather than Filedata*. Adjust callers.
154 (main): Don't set cmdline.file_name.
156 2020-04-20 Alan Modra <amodra@gmail.com>
158 * readelf.c (process_symbol_table): Clear ngnuchains, ngnubuckets
161 2020-04-20 Alan Modra <amodra@gmail.com>
163 * readelf.c (process_section_headers): Free dynamic symbols etc.
166 2020-04-20 Alan Modra <amodra@gmail.com>
168 * readelf.c (get_num_dynamic_syms): Formatting. Don't return
169 on error without freeing.
170 (process_dynamic_section): Don't recreate dynamic symbols from
171 dynamic tag info when the dynamic symbols have already been
172 read via section headers.
174 2020-04-17 Fredrik Strupe <fredrik@strupe.net>
176 * testsuite/binutils-all/arm/vdup-cond.d: New test for testing that
177 conditional VDUP instructions are disassembled correctly.
178 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
180 * testsuite/binutils-all/arm/vdup-thumb.d: New test for testing
181 that VDUP instructions (which are conditional in A32) can be
182 disassembled in thumb mode.
183 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
186 2020-04-17 Alan Modra <amodra@gmail.com>
189 * debug.c (debug_class_type_samep): Don't segfault on NULL type.
191 2020-04-16 Alan Modra <amodra@gmail.com>
193 * doc/binutils.texi: Mention --no-show-raw-insn in objdump
194 --no-addresses description.
196 2020-04-15 Alan Modra <amodra@gmail.com>
198 * objdump.c (no_addresses): New static var.
199 (usage): Print help for --no-addresses.
200 (long_options): Add --no-addresses entry.
201 (objdump_print_addr_with_sym, objdump_print_addr): Omit symbol address.
202 (disassemble_bytes): Don't print current line address, or reloc
204 * doc/binutils.texi: Document objdump --no-addresses.
206 2020-04-15 Alan Modra <amodra@gmail.com>
209 * readelf.c (get_num_dynamic_syms): Don't set num_of_syms when
210 reading buckets or chains fails.
212 2020-04-15 Alan Modra <amodra@gmail.com>
214 * readelf.c (process_symbol_table): Zero gnubuckets, gnuchains
217 2020-04-15 Alan Modra <amodra@gmail.com>
219 * readelf.c (get_group_flags): Translate text.
220 (get_file_type, get_symbol_binding, get_symbol_type),
221 (get_ppc64_symbol_other, get_symbol_other): Increase size of buffer.
223 2020-04-15 Alan Modra <amodra@gmail.com>
226 * readelf.c (get_num_dynamic_syms): Typo fix.
228 2020-04-14 Alan Modra <amodra@gmail.com>
230 * readelf.c (process_mips_specific): Free eopt and iopt. Avoid
231 possibility of overflow when checking number of conflicts.
233 2020-04-14 H.J. Lu <hongjiu.lu@intel.com>
236 * readelf.c (nbuckets): New.
240 (ngnubuckets): Likewise.
241 (gnubuckets): Likewise.
242 (gnuchains): Likewise.
243 (mipsxlat): Likewise.
244 (ngnuchains): Likewise.
245 (gnusymidx): Likewise.
246 (VALID_SYMBOL_NAME): Likewise.
247 (VALID_DYNAMIC_NAME): Use it.
248 (get_dynamic_data): Moved before process_dynamic_section.
249 (get_num_dynamic_syms): New function.
250 (process_dynamic_section): Use DT_SYMTAB, DT_SYMENT, DT_HASH,
251 DT_GNU_HASH and DT_MIPS_XHASH to reconstruct dynamic symbol
252 table. Use DT_STRTAB and DT_STRSZ to reconstruct dynamic string
254 (get_symbol_index_type): Don't print "bad section index" when
255 there is no section header.
256 (print_dynamic_symbol): Rewrite.
257 (process_symbol_table): Call print_dynamic_symbol to dump dynamic
260 2020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
262 * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Don't
263 enable on *-*-solaris*.
265 2020-03-30 Nick Clifton <nickc@redhat.com>
268 * objcopy.c (copy_object): When copying PE format files set the
269 timestamp field in the pe_data structure if the preserve_dates
271 * testsuite/binutils-all/objcopy.exp (objcopy_test) Use
272 --preserve-dates in place of the -p option, in order to make its
275 2020-03-28 Alan Modra <amodra@gmail.com>
277 * testsuite/binutils-all/objcopy.exp (objcopy_test): Only
278 clear_xfail hppa*-*-*elf*. Revert mips xfails.
280 2020-03-28 Alan Modra <amodra@gmail.com>
282 * testsuite/binutils-all/objcopy.exp (objcopy_test): Move xfails
283 from here to calls. Remove "m8*-*-*" entry. Don't xfail tic54x
284 but do xfail spu, mipstx39 and mips-sgi-irix for the executable
285 test. Pass "-p" to objcopy for the executable test.
287 2020-03-27 Jozef Lawrynowicz <jozef.l@mittosystems.com>
290 * testsuite/binutils-all/objcopy.exp (objcopy_test): Add argument to
291 specify whether an object file or executable should be built and tested.
292 Change test names to report whether an object file or executable is
294 * testsuite/binutils-all/pr25662.ld: New test.
295 * testsuite/binutils-all/pr25662.s: New test.
297 2020-03-27 Alan Modra <amodra@gmail.com>
299 * readelf.c (process_archive): Don't double free qualified_name.
300 Don't break out of loop with "negative" archive_file_size, just
301 set file offset to max.
303 2020-03-25 Alan Modra <amodra@gmail.com>
305 * readelf.c (process_archive): Prevent endless loop.
307 2020-03-24 H.J. Lu <hongjiu.lu@intel.com>
310 * nm.c (print_symname): Replace _bfd_elf_get_symbol_version_name
311 with bfd_get_symbol_version_string.
312 (print_symbo): Pass TRUE to bfd_get_symbol_version_string.
313 * objdump.c (objdump_print_symname): Likewise.
315 2020-03-24 H.J. Lu <hongjiu.lu@intel.com>
318 * nm.c (SYM_NAME): Removed.
319 (print_symname): Add a pointer to struct extended_symbol_info
320 argument. Call _bfd_elf_get_symbol_version_name to get symbol
322 (print_symdef_entry): Pass NULL to print_symname.
323 (print_symbol_info_bsd): Update call to print_symname.
324 (print_symbol_info_sysv): Likewise.
325 (print_symbol_info_posix): Likewise.
327 2020-03-24 Alan Modra <amodra@gmail.com>
329 * readelf.c (process_mips_specific): Free iconf on error path.
331 2020-03-23 Nick Clifton <nickc@redhat.com>
334 * wrstabs.c (stab_pop_type): Replace assertion with error return.
335 * write_stabs_in_sections_debugging_info: Likewise.
336 * stab_enum_type: Likewise.
337 * stab_modify_type: Likewise.
338 * stab_struct_field: Likewise.
339 * stab_end_struct_type: Likewise.
340 * stab_start_class_type: Likewise.
341 * stab_class_static_member: Likewise.
342 * stab_class_baseclass: Likewise.
343 * stab_class_start_method: Likewise.
344 * stab_class_method_var: Likewise.
345 * stab_class_end_method: Likewise.
346 * stab_end_class_type: Likewise.
347 * stab_typedef_type: Likewise.
348 * stab_start_function: Likewise.
349 * stab_end_block: Likewise.
350 * stab_lineno: Likewise.
352 2020-03-20 Nick Clifton <nickc@redhat.com>
354 * readelf.c (get_compression_header): Add ATTRIBUTE_WARN_UNUSED_RESULT.
355 (process_section_headers): Check the return value from
356 get_compression_header.
357 (dump_section_as_strings): Likewise.
358 (dump_section_as_bytes): Likewise.
359 (load_specific_debug_section): Likewise.
361 2020-03-20 H.J. Lu <hongjiu.lu@intel.com>
363 * ar.c (main): Update bfd_plugin_set_program_name call.
364 * nm.c (main): Likewise.
366 2020-03-19 Nick Clifton <nickc@redhat.com>
369 * testsuite/binutils-all/dw4.s: New test source file.
370 * testsuite/binutils-all/nm.exp: Run the new test.
372 2020-03-19 H.J. Lu <hongjiu.lu@intel.com>
374 * readelf.c (process_symbol_table): Use unsigned long for si.
376 2020-03-19 Alan Modra <amodra@gmail.com>
378 * elfcomm.c: Don't include bfd.h or bucomm.h.
379 (program_name): Declare.
380 (process_archive_index_and_symbols): Replace bfd_boolean with int,
381 and substitute FALSE and TRUE.
382 (setup_archive, setup_nested_archive): Likewise.
383 * elfcomm.h: Likewise.
385 2020-03-19 Alan Modra <amodra@gmail.com>
387 * readelf.c (process_archive): Always return via path freeing
390 2020-03-19 Alan Modra <amodra@gmail.com>
392 * readelf.c (process_netbsd_elf_note): Validate descsz before
393 accessing descdata. Formatting.
395 2020-03-19 Alan Modra <amodra@gmail.com>
397 * elfcomm.c (setup_archive): Make file_size an off_t. Comment.
398 * elfcomm.h (setup_archive): Update prototype.
400 2020-03-16 Alan Modra <amodra@gmail.com>
402 * readelf.c (get_symbols): New function.
403 (process_relocs, ia64_process_unwind, hppa_process_unwind),
404 (arm_process_unwind, get_symbol_for_build_attribute): Use it.
406 2020-03-16 Alan Modra <amodra@gmail.com>
408 * unwind-ia64.c (unw_decode_uleb128): Prevent overlarge shifts.
409 Detect shift overflows and check that terminating byte is found.
410 Print an error on a bad uleb128.
412 2020-03-14 Alan Modra <amodra@gmail.com>
414 * readelf.c (process_file): Clean ba_cache.
416 2020-03-14 Alan Modra <amodra@gmail.com>
418 * elfcomm.h (setup_archive): Update prototype.
419 * elfcomm.c (setup_archive): Add file_size parameter and sanity
420 check longnames_size.
421 (setup_nested_archive): Get file size and pass to setup_archive.
422 * elfedit.c (process_archive): Likewise.
423 * readelf.c (process_archive): Pass filedata->file_size to
426 2020-03-14 Alan Modra <amodra@gmail.com>
428 * readelf.c (dump_section_as_strings): Free memory on error exit.
429 (dump_section_as_bytes, process_notes_at): Likewise.
430 (get_build_id): Free enote.
432 2020-03-13 Kamil Rytarowski <n54@gmx.com>
434 * readelf.c (get_netbsd_elfcore_note_type): Add support for
435 NT_NETBSDCORE_LWPSTATUS notes.
437 2020-03-13 Alan Modra <amodra@gmail.com>
439 * elfcomm.c (get_archive_member_name): Always return malloc'd
441 * elfedit.c (process_archive): Tidy memory on all return paths.
442 * readelf.c (process_archive): Likewise.
443 (process_symbol_table): Likewise.
444 (ba_cache): New, replacing ..
445 (get_symbol_for_build_attribute): ..static vars here. Free
446 strtab and symtab before loading new ones. Reject symtab without
447 valid strtab in loop, breaking out of loop on valid symtab.
448 (process_file): Free ba_cache symtab and strtab here, resetting
451 2020-03-12 Alan Modra <amodra@gmail.com>
453 * readelf.c (process_section_headers): Don't just set
454 filedata->section_headers NULL, free it first. Similarly for
455 dynamic_symbols, dynamic_strings, dynamic_syminfo and
456 symtab_shndx_list. Zero associated counts too.
457 (process_object): Free symtab_shndx_list.
458 (process_file): Free various allocated filedata tables.
460 2020-03-11 Nick Clifton <nickc@redhat.com>
464 * dwarf.h (DWARF2_Internal_LineInfo): Add li_address_size and
465 li_segment_size fields.
466 * dwarf.c (read_debug_line_header): Record the address size and
467 segment selector size values (if present) in the lineinfo
469 (display_formatted_table): Warn if the format count is empty but
470 the table itself is not empty.
471 Display the format count and entry count at the start of the table
473 (display_debug_lines_raw): Display the address size and segement
474 selector size fields, if present.
475 * testsuite/binutils-all/dw5.W: Update expected output.
477 2020-03-11 Alan Modra <amodra@gmail.com>
480 * objcopy.c (copy_object): Test "gaps" not gap_fill_set or
481 pad_to_set on second block of code dealing with padding.
482 Replace "c" with "num_sec" and don't recalculate number of
483 sections on second block. Size arrays using sizeof (element)
484 rather than sizeof (element type).
486 2020-03-10 Alan Modra <amodra@gmail.com>
488 * objdump.c (disassemble_section): Don't call qsort unless
489 sym count is at least two.
490 (disassemble_data): Don't call memcpy with NULL src.
492 2020-03-09 Alan Modra <amodra@gmail.com>
495 * readelf.c (dump_ia64_vms_dynamic_fixups): Pass size and nmemb
496 to get_data rather than multiplying.
497 (dump_ia64_vms_dynamic_relocs): Likewise.
498 (process_version_sections): Correct order of size and nmemb args
500 (process_mips_specific): Likewise.
502 2020-03-08 H.J. Lu <hongjiu.lu@intel.com>
504 * readelf.c (get_dynamic_data): Replace "memory chekers" with
505 "memory checkers" in comments.
507 2020-03-06 Simon Marchi <simon.marchi@efficios.com>
510 * doc/Makefile.am: Rename MOSTLYCLEANFILES to MAINTAINERCLEANFILES.
511 * doc/Makefile.in: Re-generate.
513 2020-03-06 Nick Clifton <nickc@redhat.com>
515 * objcopy.c (check_new_section_flags): New function. Reject the
516 SEC_COFF_SHARED flag if the target is not a COFF binary.
517 (copy_object): Call check_new_section_flags.
518 (setup_section): Likewise.
519 * doc/binutils.texi (objcopy): Add a note that the 'share' section
520 flag cannot be applied to ELF binaries.
522 2020-03-06 Alan Modra <amodra@gmail.com>
525 * objcopy.c (filter_symbols): Correct rem_leading_char logic.
527 2020-03-05 Alan Modra <amodra@gmail.com>
530 * objcopy.c (filter_symbols): Don't segfault on NULL
531 prefix_symbols_string.
533 2020-03-04 Christian Eggers <ceggers@gmx.de>
535 * objcopy.c (copy_object): Convert from bytes to octets for
536 --gap-fill and --pad-to.
538 2020-03-03 Nick Clifton <nickc@redhat.com>
541 * prdbg.c (pr_tag_type): Remove call to abort.
543 2020-03-02 Aaron Merey <amerey@redhat.com>
545 * binutils/testsuite/binutils-all/debuginfod.exp: Improve port
548 2020-03-02 Nick Clifton <nickc@redhat.com>
551 * readelf.c (dump_section_as_strings): Display new-line characters
552 as \n and then insert a line break.
553 * testsuite/binutils-all/pr25543.s: New test.
554 * testsuite/binutils-all/pr25543.d: Test driver.
555 * testsuite/binutils-all/readelf.exp: Run the new test.
557 2020-02-27 Nick Clifton <nickc@redhat.com>
560 * readelf.c (process_ia64_vms_dynamic_relocs): Check to see if
561 get_data is unable to load the string table.
563 2020-02-26 Alan Modra <amodra@gmail.com>
565 * elfedit.c: Indent labels correctly.
566 * readelf.c: Likewise.
567 * resres.c: Likewise.
569 2020-02-25 H.J. Lu <hongjiu.lu@intel.com>
572 * ar.c (main): Pass 0 to bfd_plugin_set_program_name.
573 * nm.c (main): Pass 1 to bfd_plugin_set_program_name.
575 2020-02-24 Nick Clifton <nickc@redhat.com>
578 * doc/binutils.texi (objdump): Fix typo in description of
581 2020-02-20 Nelson Chu <nelson.chu@sifive.com>
583 * dwarf.c (regname_internal_riscv): Updated since the DECLARE_CSR
586 2020-02-19 Jordan Rupprecht <rupprecht@google.com>
588 * objdump.c (show_line): call bfd_demangle when using do_demangle.
590 2020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
592 * configure: Regenerate.
594 2020-02-10 Fangrui Song <maskray@google.com>
596 * objcopy.c (parse_flags): Handle "exclude".
597 * doc/binutils.texi: Document the support.
599 2020-02-10 Aaron Merey <amerey@redhat.com>
601 * binutils/testsuite/binutils-all/debuginfod.exp:
602 Replace set ::env with setenv.
603 Start server before setting environment variable.
604 Specify tmpdir as the location of the server's
606 Check additional server metrics at start-up.
608 2020-02-07 Nick Clifton <nickc@redhat.com>
610 * README-how-to-make-a-release: Add note about updating the
611 GAS/NEWS URL in the next release.
613 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
616 * readelf.c (get_machine_flags): Add support for Z80N machine
619 2020-02-07 Nick Clifton <nickc@redhat.com>
621 * dwarf.c (display_debug_lines_decoded): Force a NUL termination
622 of the truncated file name.
624 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
626 * objdump.c (print_jump_visualisation): New function.
627 (disassemble_bytes): Call new function.
629 2020-02-06 Alan Modra <amodra@gmail.com>
631 * testsuite/lib/binutils-common.exp (match_target): Accept '!' before
633 (supports_gnu_osabi): New procedure.
634 (is_generic): New, from ld-lib.exp.
635 (supports_gnu_unique): Use the above.
637 2020-02-04 Alan Modra <amodra@gmail.com>
639 * Makefile.am (CFILES): Add od-elf32_avr.c.
640 * Makefile.in: Regenerate.
641 * po/POTFILES.in: Regenerate.
643 2020-02-03 Andreas Schwab <schwab@linux-m68k.org>
645 * readelf.c (dump_relocations, dump_relocations)
646 (decode_arm_unwind_bytecode, process_dynamic_section)
647 (get_symbol_visibility, get_alpha_symbol_other): Add newline to
650 2020-02-03 Sergei Trofimovich <siarheit@google.com>
652 * coffdump.c (program_name): Drop redundant definition.
653 * srconv.c (program_name): Likewise
654 * sysdump.c (program_name): Likewise
656 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
659 * objdump.c (sym_ok): Return FALSE if 2 sections are in the
660 same file with different section pointers.
662 2020-02-01 Nick Clifton <nickc@redhat.com>
664 * README-how-to-make-a-release: Update with more details on the
665 release making process.
667 2020-01-31 Nick Clifton <nickc@redhat.com>
669 * po/sv.po: Updated Swedish translation.
671 2020-01-28 Nick Clifton <nickc@redhat.com>
673 * readelf.c (get_build_id): Simplify warning message about corrupt
674 notes encountered whilst scanning for the build-id.
676 2020-01-27 Roland McGrath <mcgrathr@google.com>
678 * objcopy.c (compare_gnu_build_notes): Fix comparison results
679 for overlapping ranges so that (A == B) == (B == A) holds.
681 2020-01-27 Alan Modra <amodra@gmail.com>
683 * testsuite/lib/binutils-common.exp (big_or_little_endian): Replace
684 case statement with switch statement.
686 2020-01-24 Nick Clifton <nickc@redhat.com>
688 * readelf.c (get_build_id): Fix warning messages about corrupt
691 2020-01-23 Nick Clifton <nickc@redhat.com>
693 * po/fr.po: Updated French translation.
695 2020-01-22 Yuri Chornoivan <yurchor@mageia.org>
698 * readelf.c (get_alpha_symbol_other): Fix error message typo.
700 2020-01-20 Nick Clifton <nickc@redhat.com>
702 * po/pt.po: Updated Portuguese translation.
703 * po/uk.po: Updated Ukranian translation.
705 2020-01-18 Nick Clifton <nickc@redhat.com>
707 * README-how-to-make-a-release: Update notes on how to cut a
708 branch for a release.
710 2020-01-18 Nick Clifton <nickc@redhat.com>
712 * configure: Regenerate.
713 * po/binutils.pot: Regenerate.
715 2020-01-18 Nick Clifton <nickc@redhat.com>
717 Binutils 2.34 branch created.
719 2020-01-17 Thomas Troeger <tstroege@gmx.de>
721 * objdump.c (jump_info_visualize_address): Discard jumps that are
723 (disassemble_bytes): Only compute the maximum level if jumps were
726 2020-01-13 Nick Clifton <nickc@redhat.com>
728 * objdump.c (disassemble_bytes): Remove C99-ism.
729 * testsuite/binutils-all/debuginfod.exp: New tests.
731 2020-01-13 Thomas Troeger <tstroege@gmx.de>
733 * objdump.c (visualize_jumps, color_output, extended_color_output)
734 (detected_jumps): New variables.
735 (usage): Add the new jump visualization options.
736 (option_values): Add new option value.
737 (long_options): Add the new option.
738 (jump_info_new, jump_info_free): New functions.
739 (jump_info_min_address, jump_info_max_address): Likewise.
740 (jump_info_end_address, jump_info_is_start_address): Likewise.
741 (jump_info_is_end_address, jump_info_size): Likewise.
742 (jump_info_unlink, jump_info_insert): Likewise.
743 (jump_info_add_front, jump_info_move_linked): Likewise.
744 (jump_info_intersect, jump_info_merge): Likewise.
745 (jump_info_sort, jump_info_visualize_address): Likewise.
746 (disassemble_jumps): New function - used to locate jumps.
747 (disassemble_bytes): Add ascii art generation.
748 (disassemble_section): Add scan to locate jumps.
749 (main): Parse the new visualization option.
750 * doc/binutils.texi: Document the new feature.
751 * NEWS: Mention the new feature.
753 2020-01-13 Alan Modra <amodra@gmail.com>
757 * dwarf.c (display_debug_frames): Move fde_fc earlier. Free
758 fde_fc col_type and col_offset.
759 * readelf.c (apply_relocations): Move symsec check earlier.
760 (free_debug_section): Free reloc_info.
761 (process_notes_at): Free pnotes on error path.
762 (process_object): Free dump_sects here..
763 (process_archive): ..not here.
765 2020-01-13 Alan Modra <amodra@gmail.com>
768 * nm.c (display_rel_file): Free dyn_syms.
770 2020-01-09 Nick Clifton <nickc@redhat.com>
773 * objcopy.c (empty_name): New variable.
774 (need_sym_before): Prevent an attempt to free a static variable.
775 (filter_symbols): Avoid strcmp test by checking for pointer
778 2020-01-09 Nick Clifton <nickc@redhat.com>
780 * po/zh_TW.po: Updated Traditional Chinese translation.
782 2020-01-09 Aaron Merey <amerey@redhat.com>
784 * Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod.
785 * Makefile.in: Regenerate.
787 * config.in: Regenerate.
788 * configure: Regenerate.
789 * configure.ac: Call AC_DEBUGINFOD.
790 * doc/Makefile.in: Regenerate.
791 * doc/binutils.texi: Add section on using binutils
793 * dwarf.c (debuginfod_fetch_separate_debug_info): New function.
794 Query debuginfod servers for the target debug file.
795 (load_separate_debug_info): Call
796 debuginfod_fetch_separate_debug_info if configured with
798 (load_separate_debug_files): Add file argument to
799 load_separate_debug_info calls.
800 * dwarf.h (get_build_id): Add declaration.
801 * objdump.c (get_build_id): New function. Get build-id of file.
802 * readelf.c (get_build_id): Likewise.
803 * testsuite/binutils-all/debuginfod.exp: New tests.
804 * testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id
807 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
809 * readelf.c: Add support for new Z*) relocations and machine
812 2020-01-01 Alan Modra <amodra@gmail.com>
814 Update year range in copyright notice of all files.
816 For older changes see ChangeLog-2019
818 Copyright (C) 2020 Free Software Foundation, Inc.
820 Copying and distribution of this file, with or without modification,
821 are permitted in any medium without royalty provided the copyright
822 notice and this notice are preserved.
828 version-control: never