1 2020-05-04 Fangrui Song <maskray@google.com>
3 * objcopy.c (copy_object): Allow empty section.
4 * testsuite/binutils-all/update-section.exp: Add test.
6 2020-05-04 Nick Clifton <nickc@redhat.com>
9 * dwarf.c (display_debug_lines_decoded): Warn if encountering a
10 supicious number of entries for DWARF-5 format directory and file
11 name tables. Do not display file name table header if the table
12 is empty. Do not allocate space for empty tables.
14 2020-05-04 Alan Modra <amodra@gmail.com>
16 * readelf.c (process_nds32_specific): Check size of .nds32_e_flags
17 section. Don't assume endian of host matches nds32 target. Free
20 2020-05-01 Alan Modra <amodra@gmail.com>
21 Haim Shimonovich <Haim.Shimonovich@ceva-dsp.com>
23 * objdump.c (disassemble_bytes): Don't scan for zeros when
24 disassembling zeros. Translate "resuming at file offset" message.
25 Formatting. Replace some signed variables with unsigned.
27 2020-04-30 Alex Coplan <alex.coplan@arm.com>
29 * testsuite/binutils-all/aarch64/in-order-all.d: Update to use new
31 * testsuite/binutils-all/aarch64/out-of-order-all.d: Likewise.
33 2020-04-30 Nick Clifton <nickc@redhat.com>
35 * testsuite/lib/binutils-common.exp (check_pie_support): New
38 2020-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
40 * dwarf.c (display_debug_ranges): Ignore duplicate entries in
41 range_entries for the same offset.
43 2020-04-29 Nick Clifton <nickc@redhat.com>
45 * readelf.c (warn): New function - like elfcomm.c version but only
46 produces output if warnings are enabled.
47 (struct options): Add --lint and --enable-checks.
48 (usage): Add entry for --lint.
49 (parse_args): Handle -L. If checks are enabled but no dumps have
50 been selected then enable all dumps.
51 (process_section_headers): Replace long if-then-else sequence with
52 a switch. Add warning messages for empty SHT_REL, SHT_RELA and
53 SHT_PROGBITS sections.
54 (process_file): Do not complain if the file is an archive and lint
55 mode has been enabled.
56 * elfcomm.c (error): Make the function weak.
58 * NEWS: Mention the new feature.
59 * doc/binutils.texi: Document the new feature.
60 * dwarf.h (report_leb_status): Add file name and line number
61 parameters. Include them in the diagnostic output.
62 (READ_ULEB): Pass file and line number to report_leb_status.
63 (READ_SLEB): Likewise.
64 * dwarf.c (read_and_print_leb128): Pass file and line number to
66 * testsuite/binutils-all/readelf.exp: Add test of new feature.
67 * testsuite/binutils-all/zero-sec.s: New test source file.
68 * testsuite/binutils-all/zero-sec.r: Expected output from new
71 2020-04-29 Nick Clifton <nickc@redhat.com>
73 * po/sr.po: Updated Serbian translation.
75 2020-04-26 Alan Modra <amodra@gmail.com>
77 * readelf.c (get_num_dynamic_syms): Check DT_MIPS_XHASH was
78 read before dereferencing, and gracefully return. Remove
79 gnu_hash_error variable. Free gnu hash arrays if number of
82 2020-04-24 Alan Modra <amodra@gmail.com>
84 * readelf.c (get_num_dynamic_syms): Check for nbuckets and nchains
86 (process_dynamic_section): Call get_num_dynamic_syms once rather
87 than in segment loop. Break out of segment loop on a successful
88 load of dynamic symbols. Formatting.
89 (process_object): Return error status from process_dynamic_section.
91 2020-04-23 Anton Kolesov <anton.kolesov@synopsys.com>
93 * elf-bfd.h (elfcore_write_arc_v2): Add prototype.
94 * elf.c (elfcore_grok_arc_v2): New function.
95 (elfcore_grok_note): Call the new function to handle the corresponding
97 (elfcore_write_arc_v2): New function.
98 (elfcore_write_register_note): Call the new function to handle the
99 corresponding pseudo-sections.
101 2020-04-22 Max Filippov <jcmvbkbc@gmail.com>
104 * readelf.c (is_none_reloc): Recognize
105 BFD_RELOC_XTENSA_PDIFF{8,16,32} and
106 BFD_RELOC_XTENSA_NDIFF{8,16,32}.
108 2020-04-22 Nick Clifton <nickc@redhat.com>
110 * MAINTAINERS: Remove Chris Faylor as the ix86 PE maintainer.
112 2020-04-22 Alan Modra <amodra@gmail.com>
114 * readelf.c (archive_file_offset, archive_file_size, dynamic_addr),
115 (dynamic_size, dynamic_nent, dynamic_strings, dynamic_strings_length),
116 (num_dynamic_syms, nbuckets, nchains, buckets, chains),
117 (ngnubuckets, gnubuckets, gnuchains, mipsxlat, ngnuchains),
118 (gnusymidx, dynamic_symbols, dynamic_syminfo, dynamic_syminfo_offset),
119 (dynamic_syminfo_nent, program_interpreter, dynamic_info),
120 (dynamic_info_DT_GNU_HASH, dynamic_info_DT_MIPS_XHASH, version_info),
121 (dynamic_section, symtab_shndx_list, group_count, section_groups),
122 (section_headers_groups): Move to struct filedata. Update use
125 2020-04-22 Alan Modra <amodra@gmail.com>
127 * readelf.c (struct dump_data): New, used..
128 (cmdline): ..here, and..
129 (struct filedata): ..here. Adjust all uses.
130 (request_dump_bynumber, request_dump, parse_args): Pass in a
131 struct dump_data* rather than Filedata*. Adjust callers.
132 (main): Don't set cmdline.file_name.
134 2020-04-20 Alan Modra <amodra@gmail.com>
136 * readelf.c (process_symbol_table): Clear ngnuchains, ngnubuckets
139 2020-04-20 Alan Modra <amodra@gmail.com>
141 * readelf.c (process_section_headers): Free dynamic symbols etc.
144 2020-04-20 Alan Modra <amodra@gmail.com>
146 * readelf.c (get_num_dynamic_syms): Formatting. Don't return
147 on error without freeing.
148 (process_dynamic_section): Don't recreate dynamic symbols from
149 dynamic tag info when the dynamic symbols have already been
150 read via section headers.
152 2020-04-17 Fredrik Strupe <fredrik@strupe.net>
154 * testsuite/binutils-all/arm/vdup-cond.d: New test for testing that
155 conditional VDUP instructions are disassembled correctly.
156 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
158 * testsuite/binutils-all/arm/vdup-thumb.d: New test for testing
159 that VDUP instructions (which are conditional in A32) can be
160 disassembled in thumb mode.
161 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
164 2020-04-17 Alan Modra <amodra@gmail.com>
167 * debug.c (debug_class_type_samep): Don't segfault on NULL type.
169 2020-04-16 Alan Modra <amodra@gmail.com>
171 * doc/binutils.texi: Mention --no-show-raw-insn in objdump
172 --no-addresses description.
174 2020-04-15 Alan Modra <amodra@gmail.com>
176 * objdump.c (no_addresses): New static var.
177 (usage): Print help for --no-addresses.
178 (long_options): Add --no-addresses entry.
179 (objdump_print_addr_with_sym, objdump_print_addr): Omit symbol address.
180 (disassemble_bytes): Don't print current line address, or reloc
182 * doc/binutils.texi: Document objdump --no-addresses.
184 2020-04-15 Alan Modra <amodra@gmail.com>
187 * readelf.c (get_num_dynamic_syms): Don't set num_of_syms when
188 reading buckets or chains fails.
190 2020-04-15 Alan Modra <amodra@gmail.com>
192 * readelf.c (process_symbol_table): Zero gnubuckets, gnuchains
195 2020-04-15 Alan Modra <amodra@gmail.com>
197 * readelf.c (get_group_flags): Translate text.
198 (get_file_type, get_symbol_binding, get_symbol_type),
199 (get_ppc64_symbol_other, get_symbol_other): Increase size of buffer.
201 2020-04-15 Alan Modra <amodra@gmail.com>
204 * readelf.c (get_num_dynamic_syms): Typo fix.
206 2020-04-14 Alan Modra <amodra@gmail.com>
208 * readelf.c (process_mips_specific): Free eopt and iopt. Avoid
209 possibility of overflow when checking number of conflicts.
211 2020-04-14 H.J. Lu <hongjiu.lu@intel.com>
214 * readelf.c (nbuckets): New.
218 (ngnubuckets): Likewise.
219 (gnubuckets): Likewise.
220 (gnuchains): Likewise.
221 (mipsxlat): Likewise.
222 (ngnuchains): Likewise.
223 (gnusymidx): Likewise.
224 (VALID_SYMBOL_NAME): Likewise.
225 (VALID_DYNAMIC_NAME): Use it.
226 (get_dynamic_data): Moved before process_dynamic_section.
227 (get_num_dynamic_syms): New function.
228 (process_dynamic_section): Use DT_SYMTAB, DT_SYMENT, DT_HASH,
229 DT_GNU_HASH and DT_MIPS_XHASH to reconstruct dynamic symbol
230 table. Use DT_STRTAB and DT_STRSZ to reconstruct dynamic string
232 (get_symbol_index_type): Don't print "bad section index" when
233 there is no section header.
234 (print_dynamic_symbol): Rewrite.
235 (process_symbol_table): Call print_dynamic_symbol to dump dynamic
238 2020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
240 * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Don't
241 enable on *-*-solaris*.
243 2020-03-30 Nick Clifton <nickc@redhat.com>
246 * objcopy.c (copy_object): When copying PE format files set the
247 timestamp field in the pe_data structure if the preserve_dates
249 * testsuite/binutils-all/objcopy.exp (objcopy_test) Use
250 --preserve-dates in place of the -p option, in order to make its
253 2020-03-28 Alan Modra <amodra@gmail.com>
255 * testsuite/binutils-all/objcopy.exp (objcopy_test): Only
256 clear_xfail hppa*-*-*elf*. Revert mips xfails.
258 2020-03-28 Alan Modra <amodra@gmail.com>
260 * testsuite/binutils-all/objcopy.exp (objcopy_test): Move xfails
261 from here to calls. Remove "m8*-*-*" entry. Don't xfail tic54x
262 but do xfail spu, mipstx39 and mips-sgi-irix for the executable
263 test. Pass "-p" to objcopy for the executable test.
265 2020-03-27 Jozef Lawrynowicz <jozef.l@mittosystems.com>
268 * testsuite/binutils-all/objcopy.exp (objcopy_test): Add argument to
269 specify whether an object file or executable should be built and tested.
270 Change test names to report whether an object file or executable is
272 * testsuite/binutils-all/pr25662.ld: New test.
273 * testsuite/binutils-all/pr25662.s: New test.
275 2020-03-27 Alan Modra <amodra@gmail.com>
277 * readelf.c (process_archive): Don't double free qualified_name.
278 Don't break out of loop with "negative" archive_file_size, just
279 set file offset to max.
281 2020-03-25 Alan Modra <amodra@gmail.com>
283 * readelf.c (process_archive): Prevent endless loop.
285 2020-03-24 H.J. Lu <hongjiu.lu@intel.com>
288 * nm.c (print_symname): Replace _bfd_elf_get_symbol_version_name
289 with bfd_get_symbol_version_string.
290 (print_symbo): Pass TRUE to bfd_get_symbol_version_string.
291 * objdump.c (objdump_print_symname): Likewise.
293 2020-03-24 H.J. Lu <hongjiu.lu@intel.com>
296 * nm.c (SYM_NAME): Removed.
297 (print_symname): Add a pointer to struct extended_symbol_info
298 argument. Call _bfd_elf_get_symbol_version_name to get symbol
300 (print_symdef_entry): Pass NULL to print_symname.
301 (print_symbol_info_bsd): Update call to print_symname.
302 (print_symbol_info_sysv): Likewise.
303 (print_symbol_info_posix): Likewise.
305 2020-03-24 Alan Modra <amodra@gmail.com>
307 * readelf.c (process_mips_specific): Free iconf on error path.
309 2020-03-23 Nick Clifton <nickc@redhat.com>
312 * wrstabs.c (stab_pop_type): Replace assertion with error return.
313 * write_stabs_in_sections_debugging_info: Likewise.
314 * stab_enum_type: Likewise.
315 * stab_modify_type: Likewise.
316 * stab_struct_field: Likewise.
317 * stab_end_struct_type: Likewise.
318 * stab_start_class_type: Likewise.
319 * stab_class_static_member: Likewise.
320 * stab_class_baseclass: Likewise.
321 * stab_class_start_method: Likewise.
322 * stab_class_method_var: Likewise.
323 * stab_class_end_method: Likewise.
324 * stab_end_class_type: Likewise.
325 * stab_typedef_type: Likewise.
326 * stab_start_function: Likewise.
327 * stab_end_block: Likewise.
328 * stab_lineno: Likewise.
330 2020-03-20 Nick Clifton <nickc@redhat.com>
332 * readelf.c (get_compression_header): Add ATTRIBUTE_WARN_UNUSED_RESULT.
333 (process_section_headers): Check the return value from
334 get_compression_header.
335 (dump_section_as_strings): Likewise.
336 (dump_section_as_bytes): Likewise.
337 (load_specific_debug_section): Likewise.
339 2020-03-20 H.J. Lu <hongjiu.lu@intel.com>
341 * ar.c (main): Update bfd_plugin_set_program_name call.
342 * nm.c (main): Likewise.
344 2020-03-19 Nick Clifton <nickc@redhat.com>
347 * testsuite/binutils-all/dw4.s: New test source file.
348 * testsuite/binutils-all/nm.exp: Run the new test.
350 2020-03-19 H.J. Lu <hongjiu.lu@intel.com>
352 * readelf.c (process_symbol_table): Use unsigned long for si.
354 2020-03-19 Alan Modra <amodra@gmail.com>
356 * elfcomm.c: Don't include bfd.h or bucomm.h.
357 (program_name): Declare.
358 (process_archive_index_and_symbols): Replace bfd_boolean with int,
359 and substitute FALSE and TRUE.
360 (setup_archive, setup_nested_archive): Likewise.
361 * elfcomm.h: Likewise.
363 2020-03-19 Alan Modra <amodra@gmail.com>
365 * readelf.c (process_archive): Always return via path freeing
368 2020-03-19 Alan Modra <amodra@gmail.com>
370 * readelf.c (process_netbsd_elf_note): Validate descsz before
371 accessing descdata. Formatting.
373 2020-03-19 Alan Modra <amodra@gmail.com>
375 * elfcomm.c (setup_archive): Make file_size an off_t. Comment.
376 * elfcomm.h (setup_archive): Update prototype.
378 2020-03-16 Alan Modra <amodra@gmail.com>
380 * readelf.c (get_symbols): New function.
381 (process_relocs, ia64_process_unwind, hppa_process_unwind),
382 (arm_process_unwind, get_symbol_for_build_attribute): Use it.
384 2020-03-16 Alan Modra <amodra@gmail.com>
386 * unwind-ia64.c (unw_decode_uleb128): Prevent overlarge shifts.
387 Detect shift overflows and check that terminating byte is found.
388 Print an error on a bad uleb128.
390 2020-03-14 Alan Modra <amodra@gmail.com>
392 * readelf.c (process_file): Clean ba_cache.
394 2020-03-14 Alan Modra <amodra@gmail.com>
396 * elfcomm.h (setup_archive): Update prototype.
397 * elfcomm.c (setup_archive): Add file_size parameter and sanity
398 check longnames_size.
399 (setup_nested_archive): Get file size and pass to setup_archive.
400 * elfedit.c (process_archive): Likewise.
401 * readelf.c (process_archive): Pass filedata->file_size to
404 2020-03-14 Alan Modra <amodra@gmail.com>
406 * readelf.c (dump_section_as_strings): Free memory on error exit.
407 (dump_section_as_bytes, process_notes_at): Likewise.
408 (get_build_id): Free enote.
410 2020-03-13 Kamil Rytarowski <n54@gmx.com>
412 * readelf.c (get_netbsd_elfcore_note_type): Add support for
413 NT_NETBSDCORE_LWPSTATUS notes.
415 2020-03-13 Alan Modra <amodra@gmail.com>
417 * elfcomm.c (get_archive_member_name): Always return malloc'd
419 * elfedit.c (process_archive): Tidy memory on all return paths.
420 * readelf.c (process_archive): Likewise.
421 (process_symbol_table): Likewise.
422 (ba_cache): New, replacing ..
423 (get_symbol_for_build_attribute): ..static vars here. Free
424 strtab and symtab before loading new ones. Reject symtab without
425 valid strtab in loop, breaking out of loop on valid symtab.
426 (process_file): Free ba_cache symtab and strtab here, resetting
429 2020-03-12 Alan Modra <amodra@gmail.com>
431 * readelf.c (process_section_headers): Don't just set
432 filedata->section_headers NULL, free it first. Similarly for
433 dynamic_symbols, dynamic_strings, dynamic_syminfo and
434 symtab_shndx_list. Zero associated counts too.
435 (process_object): Free symtab_shndx_list.
436 (process_file): Free various allocated filedata tables.
438 2020-03-11 Nick Clifton <nickc@redhat.com>
442 * dwarf.h (DWARF2_Internal_LineInfo): Add li_address_size and
443 li_segment_size fields.
444 * dwarf.c (read_debug_line_header): Record the address size and
445 segment selector size values (if present) in the lineinfo
447 (display_formatted_table): Warn if the format count is empty but
448 the table itself is not empty.
449 Display the format count and entry count at the start of the table
451 (display_debug_lines_raw): Display the address size and segement
452 selector size fields, if present.
453 * testsuite/binutils-all/dw5.W: Update expected output.
455 2020-03-11 Alan Modra <amodra@gmail.com>
458 * objcopy.c (copy_object): Test "gaps" not gap_fill_set or
459 pad_to_set on second block of code dealing with padding.
460 Replace "c" with "num_sec" and don't recalculate number of
461 sections on second block. Size arrays using sizeof (element)
462 rather than sizeof (element type).
464 2020-03-10 Alan Modra <amodra@gmail.com>
466 * objdump.c (disassemble_section): Don't call qsort unless
467 sym count is at least two.
468 (disassemble_data): Don't call memcpy with NULL src.
470 2020-03-09 Alan Modra <amodra@gmail.com>
473 * readelf.c (dump_ia64_vms_dynamic_fixups): Pass size and nmemb
474 to get_data rather than multiplying.
475 (dump_ia64_vms_dynamic_relocs): Likewise.
476 (process_version_sections): Correct order of size and nmemb args
478 (process_mips_specific): Likewise.
480 2020-03-08 H.J. Lu <hongjiu.lu@intel.com>
482 * readelf.c (get_dynamic_data): Replace "memory chekers" with
483 "memory checkers" in comments.
485 2020-03-06 Simon Marchi <simon.marchi@efficios.com>
488 * doc/Makefile.am: Rename MOSTLYCLEANFILES to MAINTAINERCLEANFILES.
489 * doc/Makefile.in: Re-generate.
491 2020-03-06 Nick Clifton <nickc@redhat.com>
493 * objcopy.c (check_new_section_flags): New function. Reject the
494 SEC_COFF_SHARED flag if the target is not a COFF binary.
495 (copy_object): Call check_new_section_flags.
496 (setup_section): Likewise.
497 * doc/binutils.texi (objcopy): Add a note that the 'share' section
498 flag cannot be applied to ELF binaries.
500 2020-03-06 Alan Modra <amodra@gmail.com>
503 * objcopy.c (filter_symbols): Correct rem_leading_char logic.
505 2020-03-05 Alan Modra <amodra@gmail.com>
508 * objcopy.c (filter_symbols): Don't segfault on NULL
509 prefix_symbols_string.
511 2020-03-04 Christian Eggers <ceggers@gmx.de>
513 * objcopy.c (copy_object): Convert from bytes to octets for
514 --gap-fill and --pad-to.
516 2020-03-03 Nick Clifton <nickc@redhat.com>
519 * prdbg.c (pr_tag_type): Remove call to abort.
521 2020-03-02 Aaron Merey <amerey@redhat.com>
523 * binutils/testsuite/binutils-all/debuginfod.exp: Improve port
526 2020-03-02 Nick Clifton <nickc@redhat.com>
529 * readelf.c (dump_section_as_strings): Display new-line characters
530 as \n and then insert a line break.
531 * testsuite/binutils-all/pr25543.s: New test.
532 * testsuite/binutils-all/pr25543.d: Test driver.
533 * testsuite/binutils-all/readelf.exp: Run the new test.
535 2020-02-27 Nick Clifton <nickc@redhat.com>
538 * readelf.c (process_ia64_vms_dynamic_relocs): Check to see if
539 get_data is unable to load the string table.
541 2020-02-26 Alan Modra <amodra@gmail.com>
543 * elfedit.c: Indent labels correctly.
544 * readelf.c: Likewise.
545 * resres.c: Likewise.
547 2020-02-25 H.J. Lu <hongjiu.lu@intel.com>
550 * ar.c (main): Pass 0 to bfd_plugin_set_program_name.
551 * nm.c (main): Pass 1 to bfd_plugin_set_program_name.
553 2020-02-24 Nick Clifton <nickc@redhat.com>
556 * doc/binutils.texi (objdump): Fix typo in description of
559 2020-02-20 Nelson Chu <nelson.chu@sifive.com>
561 * dwarf.c (regname_internal_riscv): Updated since the DECLARE_CSR
564 2020-02-19 Jordan Rupprecht <rupprecht@google.com>
566 * objdump.c (show_line): call bfd_demangle when using do_demangle.
568 2020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
570 * configure: Regenerate.
572 2020-02-10 Fangrui Song <maskray@google.com>
574 * objcopy.c (parse_flags): Handle "exclude".
575 * doc/binutils.texi: Document the support.
577 2020-02-10 Aaron Merey <amerey@redhat.com>
579 * binutils/testsuite/binutils-all/debuginfod.exp:
580 Replace set ::env with setenv.
581 Start server before setting environment variable.
582 Specify tmpdir as the location of the server's
584 Check additional server metrics at start-up.
586 2020-02-07 Nick Clifton <nickc@redhat.com>
588 * README-how-to-make-a-release: Add note about updating the
589 GAS/NEWS URL in the next release.
591 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
594 * readelf.c (get_machine_flags): Add support for Z80N machine
597 2020-02-07 Nick Clifton <nickc@redhat.com>
599 * dwarf.c (display_debug_lines_decoded): Force a NUL termination
600 of the truncated file name.
602 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
604 * objdump.c (print_jump_visualisation): New function.
605 (disassemble_bytes): Call new function.
607 2020-02-06 Alan Modra <amodra@gmail.com>
609 * testsuite/lib/binutils-common.exp (match_target): Accept '!' before
611 (supports_gnu_osabi): New procedure.
612 (is_generic): New, from ld-lib.exp.
613 (supports_gnu_unique): Use the above.
615 2020-02-04 Alan Modra <amodra@gmail.com>
617 * Makefile.am (CFILES): Add od-elf32_avr.c.
618 * Makefile.in: Regenerate.
619 * po/POTFILES.in: Regenerate.
621 2020-02-03 Andreas Schwab <schwab@linux-m68k.org>
623 * readelf.c (dump_relocations, dump_relocations)
624 (decode_arm_unwind_bytecode, process_dynamic_section)
625 (get_symbol_visibility, get_alpha_symbol_other): Add newline to
628 2020-02-03 Sergei Trofimovich <siarheit@google.com>
630 * coffdump.c (program_name): Drop redundant definition.
631 * srconv.c (program_name): Likewise
632 * sysdump.c (program_name): Likewise
634 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
637 * objdump.c (sym_ok): Return FALSE if 2 sections are in the
638 same file with different section pointers.
640 2020-02-01 Nick Clifton <nickc@redhat.com>
642 * README-how-to-make-a-release: Update with more details on the
643 release making process.
645 2020-01-31 Nick Clifton <nickc@redhat.com>
647 * po/sv.po: Updated Swedish translation.
649 2020-01-28 Nick Clifton <nickc@redhat.com>
651 * readelf.c (get_build_id): Simplify warning message about corrupt
652 notes encountered whilst scanning for the build-id.
654 2020-01-27 Roland McGrath <mcgrathr@google.com>
656 * objcopy.c (compare_gnu_build_notes): Fix comparison results
657 for overlapping ranges so that (A == B) == (B == A) holds.
659 2020-01-27 Alan Modra <amodra@gmail.com>
661 * testsuite/lib/binutils-common.exp (big_or_little_endian): Replace
662 case statement with switch statement.
664 2020-01-24 Nick Clifton <nickc@redhat.com>
666 * readelf.c (get_build_id): Fix warning messages about corrupt
669 2020-01-23 Nick Clifton <nickc@redhat.com>
671 * po/fr.po: Updated French translation.
673 2020-01-22 Yuri Chornoivan <yurchor@mageia.org>
676 * readelf.c (get_alpha_symbol_other): Fix error message typo.
678 2020-01-20 Nick Clifton <nickc@redhat.com>
680 * po/pt.po: Updated Portuguese translation.
681 * po/uk.po: Updated Ukranian translation.
683 2020-01-18 Nick Clifton <nickc@redhat.com>
685 * README-how-to-make-a-release: Update notes on how to cut a
686 branch for a release.
688 2020-01-18 Nick Clifton <nickc@redhat.com>
690 * configure: Regenerate.
691 * po/binutils.pot: Regenerate.
693 2020-01-18 Nick Clifton <nickc@redhat.com>
695 Binutils 2.34 branch created.
697 2020-01-17 Thomas Troeger <tstroege@gmx.de>
699 * objdump.c (jump_info_visualize_address): Discard jumps that are
701 (disassemble_bytes): Only compute the maximum level if jumps were
704 2020-01-13 Nick Clifton <nickc@redhat.com>
706 * objdump.c (disassemble_bytes): Remove C99-ism.
707 * testsuite/binutils-all/debuginfod.exp: New tests.
709 2020-01-13 Thomas Troeger <tstroege@gmx.de>
711 * objdump.c (visualize_jumps, color_output, extended_color_output)
712 (detected_jumps): New variables.
713 (usage): Add the new jump visualization options.
714 (option_values): Add new option value.
715 (long_options): Add the new option.
716 (jump_info_new, jump_info_free): New functions.
717 (jump_info_min_address, jump_info_max_address): Likewise.
718 (jump_info_end_address, jump_info_is_start_address): Likewise.
719 (jump_info_is_end_address, jump_info_size): Likewise.
720 (jump_info_unlink, jump_info_insert): Likewise.
721 (jump_info_add_front, jump_info_move_linked): Likewise.
722 (jump_info_intersect, jump_info_merge): Likewise.
723 (jump_info_sort, jump_info_visualize_address): Likewise.
724 (disassemble_jumps): New function - used to locate jumps.
725 (disassemble_bytes): Add ascii art generation.
726 (disassemble_section): Add scan to locate jumps.
727 (main): Parse the new visualization option.
728 * doc/binutils.texi: Document the new feature.
729 * NEWS: Mention the new feature.
731 2020-01-13 Alan Modra <amodra@gmail.com>
735 * dwarf.c (display_debug_frames): Move fde_fc earlier. Free
736 fde_fc col_type and col_offset.
737 * readelf.c (apply_relocations): Move symsec check earlier.
738 (free_debug_section): Free reloc_info.
739 (process_notes_at): Free pnotes on error path.
740 (process_object): Free dump_sects here..
741 (process_archive): ..not here.
743 2020-01-13 Alan Modra <amodra@gmail.com>
746 * nm.c (display_rel_file): Free dyn_syms.
748 2020-01-09 Nick Clifton <nickc@redhat.com>
751 * objcopy.c (empty_name): New variable.
752 (need_sym_before): Prevent an attempt to free a static variable.
753 (filter_symbols): Avoid strcmp test by checking for pointer
756 2020-01-09 Nick Clifton <nickc@redhat.com>
758 * po/zh_TW.po: Updated Traditional Chinese translation.
760 2020-01-09 Aaron Merey <amerey@redhat.com>
762 * Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod.
763 * Makefile.in: Regenerate.
765 * config.in: Regenerate.
766 * configure: Regenerate.
767 * configure.ac: Call AC_DEBUGINFOD.
768 * doc/Makefile.in: Regenerate.
769 * doc/binutils.texi: Add section on using binutils
771 * dwarf.c (debuginfod_fetch_separate_debug_info): New function.
772 Query debuginfod servers for the target debug file.
773 (load_separate_debug_info): Call
774 debuginfod_fetch_separate_debug_info if configured with
776 (load_separate_debug_files): Add file argument to
777 load_separate_debug_info calls.
778 * dwarf.h (get_build_id): Add declaration.
779 * objdump.c (get_build_id): New function. Get build-id of file.
780 * readelf.c (get_build_id): Likewise.
781 * testsuite/binutils-all/debuginfod.exp: New tests.
782 * testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id
785 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
787 * readelf.c: Add support for new Z*) relocations and machine
790 2020-01-01 Alan Modra <amodra@gmail.com>
792 Update year range in copyright notice of all files.
794 For older changes see ChangeLog-2019
796 Copyright (C) 2020 Free Software Foundation, Inc.
798 Copying and distribution of this file, with or without modification,
799 are permitted in any medium without royalty provided the copyright
800 notice and this notice are preserved.
806 version-control: never