1 2020-06-02 Alan Modra <amodra@gmail.com>
3 * testsuite/binutils-all/ar.exp (obj): Set up object file name
4 extension. Use throughout. Don't completely exclude non-ELF
5 alpha targets. Run long_filenames test for tic30. Exclude thin
6 archive tests for aix, ecoff and vms.
7 * estsuite/binutils-all/objdump.exp (obj): Set up object file name
8 extension. Use throughout. Don't exclude non-ELF alpha targets
11 2020-05-28 Max Filippov <jcmvbkbc@gmail.com>
13 * MAINTAINERS (Xtensa): Add myself as maintainer.
15 2020-05-23 Alan Modra <amodra@gmail.com>
17 * testsuite/binutils-all/ar.exp (many_files): New test.
19 2020-05-21 Alan Modra <amodra@gmail.com>
21 * addr2line.c: Replace "if (x) free (x)" with "free (x)" throughout.
22 * dlltool.c: Likewise.
23 * elfcomm.c: Likewise.
25 * readelf.c: Likewise.
28 * windres.c: Likewise.
29 * wrstabs.c: Likewise.
31 2020-05-21 Alan Modra <amodra@gmail.com>
33 * readelf.c (get_num_dynamic_syms): Bounds check mipsxlat array
36 2020-05-20 Nelson Chu <nelson.chu@sifive.com>
38 * dwarf.c: Updated since DECLARE_CSR is changed.
40 2020-05-19 H.J. Lu <hjl.tools@gmail.com>
43 * readelf.c (process_program_headers): Warn if the PT_DYNAMIC
44 segment doesn't match the .dynamic section and checks are
46 (struct filedata): Add dynamic_symtab_section and
47 dynamic_strtab_section fields.
48 (process_section_headers): Set dynamic_symtab_section to the
49 .dynsym section. Set dynamic_strtab_section to the .dynstr
51 (process_dynamic_section): Warn if the .dynsym section doesn't
52 match DT_SYMTAB and DT_SYMENT or the .dynstr section doesn't
53 DT_STRTAB and DT_STRSZ. But only if checks are enabled.
55 2020-05-19 Alan Modra <amodra@gmail.com>
57 * ar.c (map_over_members, get_pos_bfd, delete_members, move_members),
58 (replace_members): Use bfd_get_filename rather than accessing
59 bfd->filename directly.
60 * arsup.c (map_over_list, ar_delete, ar_replace, ar_extract): Likewise.
61 * binemul.c (do_ar_emul_append): Likewise.
62 * coffgrok.c (coff_grok): Likewise.
64 2020-05-18 Stafford Horne <shorne@gmail.com>
66 * MAINTAINERS (OR1K): Add myself as maintainer.
68 2020-05-07 Andrew Burgess <andrew.burgess@embecosm.com>
70 * doc/binutils.texi: Mention 'entry address' in the set-start and
71 adjust-start options descriptions.
73 2020-05-05 Nick Clifton <nickc@redhat.com>
75 * dwarf.c (do_checks): New global variable.
76 (display_formatted_table): Warn about an unexpected number of
77 columns in the table, if checks are enabled. Do not complain
78 about the lack of data following the number of entries in the
79 table if the table is empty.
80 (display_debug_lines_decoded): Only warn about an unexpected
81 number of columns in a table if checks are enabled.
82 * dwarf.h (do_checks): Add a prototype.
83 * elfcomm.c (error): Remove weak attribute.
85 * readelf.c (do_checks): Delete.
87 (process_section_headers): Only warn about empty sections if
90 2020-05-04 Fangrui Song <maskray@google.com>
92 * objcopy.c (copy_object): Allow empty section.
93 * testsuite/binutils-all/update-section.exp: Add test.
95 2020-05-04 Nick Clifton <nickc@redhat.com>
98 * dwarf.c (display_debug_lines_decoded): Warn if encountering a
99 supicious number of entries for DWARF-5 format directory and file
100 name tables. Do not display file name table header if the table
101 is empty. Do not allocate space for empty tables.
103 2020-05-04 Alan Modra <amodra@gmail.com>
105 * readelf.c (process_nds32_specific): Check size of .nds32_e_flags
106 section. Don't assume endian of host matches nds32 target. Free
109 2020-05-01 Alan Modra <amodra@gmail.com>
110 Haim Shimonovich <Haim.Shimonovich@ceva-dsp.com>
112 * objdump.c (disassemble_bytes): Don't scan for zeros when
113 disassembling zeros. Translate "resuming at file offset" message.
114 Formatting. Replace some signed variables with unsigned.
116 2020-04-30 Alex Coplan <alex.coplan@arm.com>
118 * testsuite/binutils-all/aarch64/in-order-all.d: Update to use new
120 * testsuite/binutils-all/aarch64/out-of-order-all.d: Likewise.
122 2020-04-30 Nick Clifton <nickc@redhat.com>
124 * testsuite/lib/binutils-common.exp (check_pie_support): New
127 2020-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
129 * dwarf.c (display_debug_ranges): Ignore duplicate entries in
130 range_entries for the same offset.
132 2020-04-29 Nick Clifton <nickc@redhat.com>
134 * readelf.c (warn): New function - like elfcomm.c version but only
135 produces output if warnings are enabled.
136 (struct options): Add --lint and --enable-checks.
137 (usage): Add entry for --lint.
138 (parse_args): Handle -L. If checks are enabled but no dumps have
139 been selected then enable all dumps.
140 (process_section_headers): Replace long if-then-else sequence with
141 a switch. Add warning messages for empty SHT_REL, SHT_RELA and
142 SHT_PROGBITS sections.
143 (process_file): Do not complain if the file is an archive and lint
144 mode has been enabled.
145 * elfcomm.c (error): Make the function weak.
147 * NEWS: Mention the new feature.
148 * doc/binutils.texi: Document the new feature.
149 * dwarf.h (report_leb_status): Add file name and line number
150 parameters. Include them in the diagnostic output.
151 (READ_ULEB): Pass file and line number to report_leb_status.
152 (READ_SLEB): Likewise.
153 * dwarf.c (read_and_print_leb128): Pass file and line number to
155 * testsuite/binutils-all/readelf.exp: Add test of new feature.
156 * testsuite/binutils-all/zero-sec.s: New test source file.
157 * testsuite/binutils-all/zero-sec.r: Expected output from new
160 2020-04-29 Nick Clifton <nickc@redhat.com>
162 * po/sr.po: Updated Serbian translation.
164 2020-04-26 Alan Modra <amodra@gmail.com>
166 * readelf.c (get_num_dynamic_syms): Check DT_MIPS_XHASH was
167 read before dereferencing, and gracefully return. Remove
168 gnu_hash_error variable. Free gnu hash arrays if number of
171 2020-04-24 Alan Modra <amodra@gmail.com>
173 * readelf.c (get_num_dynamic_syms): Check for nbuckets and nchains
175 (process_dynamic_section): Call get_num_dynamic_syms once rather
176 than in segment loop. Break out of segment loop on a successful
177 load of dynamic symbols. Formatting.
178 (process_object): Return error status from process_dynamic_section.
180 2020-04-23 Anton Kolesov <anton.kolesov@synopsys.com>
182 * elf-bfd.h (elfcore_write_arc_v2): Add prototype.
183 * elf.c (elfcore_grok_arc_v2): New function.
184 (elfcore_grok_note): Call the new function to handle the corresponding
186 (elfcore_write_arc_v2): New function.
187 (elfcore_write_register_note): Call the new function to handle the
188 corresponding pseudo-sections.
190 2020-04-22 Max Filippov <jcmvbkbc@gmail.com>
193 * readelf.c (is_none_reloc): Recognize
194 BFD_RELOC_XTENSA_PDIFF{8,16,32} and
195 BFD_RELOC_XTENSA_NDIFF{8,16,32}.
197 2020-04-22 Nick Clifton <nickc@redhat.com>
199 * MAINTAINERS: Remove Chris Faylor as the ix86 PE maintainer.
201 2020-04-22 Alan Modra <amodra@gmail.com>
203 * readelf.c (archive_file_offset, archive_file_size, dynamic_addr),
204 (dynamic_size, dynamic_nent, dynamic_strings, dynamic_strings_length),
205 (num_dynamic_syms, nbuckets, nchains, buckets, chains),
206 (ngnubuckets, gnubuckets, gnuchains, mipsxlat, ngnuchains),
207 (gnusymidx, dynamic_symbols, dynamic_syminfo, dynamic_syminfo_offset),
208 (dynamic_syminfo_nent, program_interpreter, dynamic_info),
209 (dynamic_info_DT_GNU_HASH, dynamic_info_DT_MIPS_XHASH, version_info),
210 (dynamic_section, symtab_shndx_list, group_count, section_groups),
211 (section_headers_groups): Move to struct filedata. Update use
214 2020-04-22 Alan Modra <amodra@gmail.com>
216 * readelf.c (struct dump_data): New, used..
217 (cmdline): ..here, and..
218 (struct filedata): ..here. Adjust all uses.
219 (request_dump_bynumber, request_dump, parse_args): Pass in a
220 struct dump_data* rather than Filedata*. Adjust callers.
221 (main): Don't set cmdline.file_name.
223 2020-04-20 Alan Modra <amodra@gmail.com>
225 * readelf.c (process_symbol_table): Clear ngnuchains, ngnubuckets
228 2020-04-20 Alan Modra <amodra@gmail.com>
230 * readelf.c (process_section_headers): Free dynamic symbols etc.
233 2020-04-20 Alan Modra <amodra@gmail.com>
235 * readelf.c (get_num_dynamic_syms): Formatting. Don't return
236 on error without freeing.
237 (process_dynamic_section): Don't recreate dynamic symbols from
238 dynamic tag info when the dynamic symbols have already been
239 read via section headers.
241 2020-04-17 Fredrik Strupe <fredrik@strupe.net>
243 * testsuite/binutils-all/arm/vdup-cond.d: New test for testing that
244 conditional VDUP instructions are disassembled correctly.
245 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
247 * testsuite/binutils-all/arm/vdup-thumb.d: New test for testing
248 that VDUP instructions (which are conditional in A32) can be
249 disassembled in thumb mode.
250 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
253 2020-04-17 Alan Modra <amodra@gmail.com>
256 * debug.c (debug_class_type_samep): Don't segfault on NULL type.
258 2020-04-16 Alan Modra <amodra@gmail.com>
260 * doc/binutils.texi: Mention --no-show-raw-insn in objdump
261 --no-addresses description.
263 2020-04-15 Alan Modra <amodra@gmail.com>
265 * objdump.c (no_addresses): New static var.
266 (usage): Print help for --no-addresses.
267 (long_options): Add --no-addresses entry.
268 (objdump_print_addr_with_sym, objdump_print_addr): Omit symbol address.
269 (disassemble_bytes): Don't print current line address, or reloc
271 * doc/binutils.texi: Document objdump --no-addresses.
273 2020-04-15 Alan Modra <amodra@gmail.com>
276 * readelf.c (get_num_dynamic_syms): Don't set num_of_syms when
277 reading buckets or chains fails.
279 2020-04-15 Alan Modra <amodra@gmail.com>
281 * readelf.c (process_symbol_table): Zero gnubuckets, gnuchains
284 2020-04-15 Alan Modra <amodra@gmail.com>
286 * readelf.c (get_group_flags): Translate text.
287 (get_file_type, get_symbol_binding, get_symbol_type),
288 (get_ppc64_symbol_other, get_symbol_other): Increase size of buffer.
290 2020-04-15 Alan Modra <amodra@gmail.com>
293 * readelf.c (get_num_dynamic_syms): Typo fix.
295 2020-04-14 Alan Modra <amodra@gmail.com>
297 * readelf.c (process_mips_specific): Free eopt and iopt. Avoid
298 possibility of overflow when checking number of conflicts.
300 2020-04-14 H.J. Lu <hongjiu.lu@intel.com>
303 * readelf.c (nbuckets): New.
307 (ngnubuckets): Likewise.
308 (gnubuckets): Likewise.
309 (gnuchains): Likewise.
310 (mipsxlat): Likewise.
311 (ngnuchains): Likewise.
312 (gnusymidx): Likewise.
313 (VALID_SYMBOL_NAME): Likewise.
314 (VALID_DYNAMIC_NAME): Use it.
315 (get_dynamic_data): Moved before process_dynamic_section.
316 (get_num_dynamic_syms): New function.
317 (process_dynamic_section): Use DT_SYMTAB, DT_SYMENT, DT_HASH,
318 DT_GNU_HASH and DT_MIPS_XHASH to reconstruct dynamic symbol
319 table. Use DT_STRTAB and DT_STRSZ to reconstruct dynamic string
321 (get_symbol_index_type): Don't print "bad section index" when
322 there is no section header.
323 (print_dynamic_symbol): Rewrite.
324 (process_symbol_table): Call print_dynamic_symbol to dump dynamic
327 2020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
329 * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Don't
330 enable on *-*-solaris*.
332 2020-03-30 Nick Clifton <nickc@redhat.com>
335 * objcopy.c (copy_object): When copying PE format files set the
336 timestamp field in the pe_data structure if the preserve_dates
338 * testsuite/binutils-all/objcopy.exp (objcopy_test) Use
339 --preserve-dates in place of the -p option, in order to make its
342 2020-03-28 Alan Modra <amodra@gmail.com>
344 * testsuite/binutils-all/objcopy.exp (objcopy_test): Only
345 clear_xfail hppa*-*-*elf*. Revert mips xfails.
347 2020-03-28 Alan Modra <amodra@gmail.com>
349 * testsuite/binutils-all/objcopy.exp (objcopy_test): Move xfails
350 from here to calls. Remove "m8*-*-*" entry. Don't xfail tic54x
351 but do xfail spu, mipstx39 and mips-sgi-irix for the executable
352 test. Pass "-p" to objcopy for the executable test.
354 2020-03-27 Jozef Lawrynowicz <jozef.l@mittosystems.com>
357 * testsuite/binutils-all/objcopy.exp (objcopy_test): Add argument to
358 specify whether an object file or executable should be built and tested.
359 Change test names to report whether an object file or executable is
361 * testsuite/binutils-all/pr25662.ld: New test.
362 * testsuite/binutils-all/pr25662.s: New test.
364 2020-03-27 Alan Modra <amodra@gmail.com>
366 * readelf.c (process_archive): Don't double free qualified_name.
367 Don't break out of loop with "negative" archive_file_size, just
368 set file offset to max.
370 2020-03-25 Alan Modra <amodra@gmail.com>
372 * readelf.c (process_archive): Prevent endless loop.
374 2020-03-24 H.J. Lu <hongjiu.lu@intel.com>
377 * nm.c (print_symname): Replace _bfd_elf_get_symbol_version_name
378 with bfd_get_symbol_version_string.
379 (print_symbo): Pass TRUE to bfd_get_symbol_version_string.
380 * objdump.c (objdump_print_symname): Likewise.
382 2020-03-24 H.J. Lu <hongjiu.lu@intel.com>
385 * nm.c (SYM_NAME): Removed.
386 (print_symname): Add a pointer to struct extended_symbol_info
387 argument. Call _bfd_elf_get_symbol_version_name to get symbol
389 (print_symdef_entry): Pass NULL to print_symname.
390 (print_symbol_info_bsd): Update call to print_symname.
391 (print_symbol_info_sysv): Likewise.
392 (print_symbol_info_posix): Likewise.
394 2020-03-24 Alan Modra <amodra@gmail.com>
396 * readelf.c (process_mips_specific): Free iconf on error path.
398 2020-03-23 Nick Clifton <nickc@redhat.com>
401 * wrstabs.c (stab_pop_type): Replace assertion with error return.
402 * write_stabs_in_sections_debugging_info: Likewise.
403 * stab_enum_type: Likewise.
404 * stab_modify_type: Likewise.
405 * stab_struct_field: Likewise.
406 * stab_end_struct_type: Likewise.
407 * stab_start_class_type: Likewise.
408 * stab_class_static_member: Likewise.
409 * stab_class_baseclass: Likewise.
410 * stab_class_start_method: Likewise.
411 * stab_class_method_var: Likewise.
412 * stab_class_end_method: Likewise.
413 * stab_end_class_type: Likewise.
414 * stab_typedef_type: Likewise.
415 * stab_start_function: Likewise.
416 * stab_end_block: Likewise.
417 * stab_lineno: Likewise.
419 2020-03-20 Nick Clifton <nickc@redhat.com>
421 * readelf.c (get_compression_header): Add ATTRIBUTE_WARN_UNUSED_RESULT.
422 (process_section_headers): Check the return value from
423 get_compression_header.
424 (dump_section_as_strings): Likewise.
425 (dump_section_as_bytes): Likewise.
426 (load_specific_debug_section): Likewise.
428 2020-03-20 H.J. Lu <hongjiu.lu@intel.com>
430 * ar.c (main): Update bfd_plugin_set_program_name call.
431 * nm.c (main): Likewise.
433 2020-03-19 Nick Clifton <nickc@redhat.com>
436 * testsuite/binutils-all/dw4.s: New test source file.
437 * testsuite/binutils-all/nm.exp: Run the new test.
439 2020-03-19 H.J. Lu <hongjiu.lu@intel.com>
441 * readelf.c (process_symbol_table): Use unsigned long for si.
443 2020-03-19 Alan Modra <amodra@gmail.com>
445 * elfcomm.c: Don't include bfd.h or bucomm.h.
446 (program_name): Declare.
447 (process_archive_index_and_symbols): Replace bfd_boolean with int,
448 and substitute FALSE and TRUE.
449 (setup_archive, setup_nested_archive): Likewise.
450 * elfcomm.h: Likewise.
452 2020-03-19 Alan Modra <amodra@gmail.com>
454 * readelf.c (process_archive): Always return via path freeing
457 2020-03-19 Alan Modra <amodra@gmail.com>
459 * readelf.c (process_netbsd_elf_note): Validate descsz before
460 accessing descdata. Formatting.
462 2020-03-19 Alan Modra <amodra@gmail.com>
464 * elfcomm.c (setup_archive): Make file_size an off_t. Comment.
465 * elfcomm.h (setup_archive): Update prototype.
467 2020-03-16 Alan Modra <amodra@gmail.com>
469 * readelf.c (get_symbols): New function.
470 (process_relocs, ia64_process_unwind, hppa_process_unwind),
471 (arm_process_unwind, get_symbol_for_build_attribute): Use it.
473 2020-03-16 Alan Modra <amodra@gmail.com>
475 * unwind-ia64.c (unw_decode_uleb128): Prevent overlarge shifts.
476 Detect shift overflows and check that terminating byte is found.
477 Print an error on a bad uleb128.
479 2020-03-14 Alan Modra <amodra@gmail.com>
481 * readelf.c (process_file): Clean ba_cache.
483 2020-03-14 Alan Modra <amodra@gmail.com>
485 * elfcomm.h (setup_archive): Update prototype.
486 * elfcomm.c (setup_archive): Add file_size parameter and sanity
487 check longnames_size.
488 (setup_nested_archive): Get file size and pass to setup_archive.
489 * elfedit.c (process_archive): Likewise.
490 * readelf.c (process_archive): Pass filedata->file_size to
493 2020-03-14 Alan Modra <amodra@gmail.com>
495 * readelf.c (dump_section_as_strings): Free memory on error exit.
496 (dump_section_as_bytes, process_notes_at): Likewise.
497 (get_build_id): Free enote.
499 2020-03-13 Kamil Rytarowski <n54@gmx.com>
501 * readelf.c (get_netbsd_elfcore_note_type): Add support for
502 NT_NETBSDCORE_LWPSTATUS notes.
504 2020-03-13 Alan Modra <amodra@gmail.com>
506 * elfcomm.c (get_archive_member_name): Always return malloc'd
508 * elfedit.c (process_archive): Tidy memory on all return paths.
509 * readelf.c (process_archive): Likewise.
510 (process_symbol_table): Likewise.
511 (ba_cache): New, replacing ..
512 (get_symbol_for_build_attribute): ..static vars here. Free
513 strtab and symtab before loading new ones. Reject symtab without
514 valid strtab in loop, breaking out of loop on valid symtab.
515 (process_file): Free ba_cache symtab and strtab here, resetting
518 2020-03-12 Alan Modra <amodra@gmail.com>
520 * readelf.c (process_section_headers): Don't just set
521 filedata->section_headers NULL, free it first. Similarly for
522 dynamic_symbols, dynamic_strings, dynamic_syminfo and
523 symtab_shndx_list. Zero associated counts too.
524 (process_object): Free symtab_shndx_list.
525 (process_file): Free various allocated filedata tables.
527 2020-03-11 Nick Clifton <nickc@redhat.com>
531 * dwarf.h (DWARF2_Internal_LineInfo): Add li_address_size and
532 li_segment_size fields.
533 * dwarf.c (read_debug_line_header): Record the address size and
534 segment selector size values (if present) in the lineinfo
536 (display_formatted_table): Warn if the format count is empty but
537 the table itself is not empty.
538 Display the format count and entry count at the start of the table
540 (display_debug_lines_raw): Display the address size and segement
541 selector size fields, if present.
542 * testsuite/binutils-all/dw5.W: Update expected output.
544 2020-03-11 Alan Modra <amodra@gmail.com>
547 * objcopy.c (copy_object): Test "gaps" not gap_fill_set or
548 pad_to_set on second block of code dealing with padding.
549 Replace "c" with "num_sec" and don't recalculate number of
550 sections on second block. Size arrays using sizeof (element)
551 rather than sizeof (element type).
553 2020-03-10 Alan Modra <amodra@gmail.com>
555 * objdump.c (disassemble_section): Don't call qsort unless
556 sym count is at least two.
557 (disassemble_data): Don't call memcpy with NULL src.
559 2020-03-09 Alan Modra <amodra@gmail.com>
562 * readelf.c (dump_ia64_vms_dynamic_fixups): Pass size and nmemb
563 to get_data rather than multiplying.
564 (dump_ia64_vms_dynamic_relocs): Likewise.
565 (process_version_sections): Correct order of size and nmemb args
567 (process_mips_specific): Likewise.
569 2020-03-08 H.J. Lu <hongjiu.lu@intel.com>
571 * readelf.c (get_dynamic_data): Replace "memory chekers" with
572 "memory checkers" in comments.
574 2020-03-06 Simon Marchi <simon.marchi@efficios.com>
577 * doc/Makefile.am: Rename MOSTLYCLEANFILES to MAINTAINERCLEANFILES.
578 * doc/Makefile.in: Re-generate.
580 2020-03-06 Nick Clifton <nickc@redhat.com>
582 * objcopy.c (check_new_section_flags): New function. Reject the
583 SEC_COFF_SHARED flag if the target is not a COFF binary.
584 (copy_object): Call check_new_section_flags.
585 (setup_section): Likewise.
586 * doc/binutils.texi (objcopy): Add a note that the 'share' section
587 flag cannot be applied to ELF binaries.
589 2020-03-06 Alan Modra <amodra@gmail.com>
592 * objcopy.c (filter_symbols): Correct rem_leading_char logic.
594 2020-03-05 Alan Modra <amodra@gmail.com>
597 * objcopy.c (filter_symbols): Don't segfault on NULL
598 prefix_symbols_string.
600 2020-03-04 Christian Eggers <ceggers@gmx.de>
602 * objcopy.c (copy_object): Convert from bytes to octets for
603 --gap-fill and --pad-to.
605 2020-03-03 Nick Clifton <nickc@redhat.com>
608 * prdbg.c (pr_tag_type): Remove call to abort.
610 2020-03-02 Aaron Merey <amerey@redhat.com>
612 * binutils/testsuite/binutils-all/debuginfod.exp: Improve port
615 2020-03-02 Nick Clifton <nickc@redhat.com>
618 * readelf.c (dump_section_as_strings): Display new-line characters
619 as \n and then insert a line break.
620 * testsuite/binutils-all/pr25543.s: New test.
621 * testsuite/binutils-all/pr25543.d: Test driver.
622 * testsuite/binutils-all/readelf.exp: Run the new test.
624 2020-02-27 Nick Clifton <nickc@redhat.com>
627 * readelf.c (process_ia64_vms_dynamic_relocs): Check to see if
628 get_data is unable to load the string table.
630 2020-02-26 Alan Modra <amodra@gmail.com>
632 * elfedit.c: Indent labels correctly.
633 * readelf.c: Likewise.
634 * resres.c: Likewise.
636 2020-02-25 H.J. Lu <hongjiu.lu@intel.com>
639 * ar.c (main): Pass 0 to bfd_plugin_set_program_name.
640 * nm.c (main): Pass 1 to bfd_plugin_set_program_name.
642 2020-02-24 Nick Clifton <nickc@redhat.com>
645 * doc/binutils.texi (objdump): Fix typo in description of
648 2020-02-20 Nelson Chu <nelson.chu@sifive.com>
650 * dwarf.c (regname_internal_riscv): Updated since the DECLARE_CSR
653 2020-02-19 Jordan Rupprecht <rupprecht@google.com>
655 * objdump.c (show_line): call bfd_demangle when using do_demangle.
657 2020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
659 * configure: Regenerate.
661 2020-02-10 Fangrui Song <maskray@google.com>
663 * objcopy.c (parse_flags): Handle "exclude".
664 * doc/binutils.texi: Document the support.
666 2020-02-10 Aaron Merey <amerey@redhat.com>
668 * binutils/testsuite/binutils-all/debuginfod.exp:
669 Replace set ::env with setenv.
670 Start server before setting environment variable.
671 Specify tmpdir as the location of the server's
673 Check additional server metrics at start-up.
675 2020-02-07 Nick Clifton <nickc@redhat.com>
677 * README-how-to-make-a-release: Add note about updating the
678 GAS/NEWS URL in the next release.
680 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
683 * readelf.c (get_machine_flags): Add support for Z80N machine
686 2020-02-07 Nick Clifton <nickc@redhat.com>
688 * dwarf.c (display_debug_lines_decoded): Force a NUL termination
689 of the truncated file name.
691 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
693 * objdump.c (print_jump_visualisation): New function.
694 (disassemble_bytes): Call new function.
696 2020-02-06 Alan Modra <amodra@gmail.com>
698 * testsuite/lib/binutils-common.exp (match_target): Accept '!' before
700 (supports_gnu_osabi): New procedure.
701 (is_generic): New, from ld-lib.exp.
702 (supports_gnu_unique): Use the above.
704 2020-02-04 Alan Modra <amodra@gmail.com>
706 * Makefile.am (CFILES): Add od-elf32_avr.c.
707 * Makefile.in: Regenerate.
708 * po/POTFILES.in: Regenerate.
710 2020-02-03 Andreas Schwab <schwab@linux-m68k.org>
712 * readelf.c (dump_relocations, dump_relocations)
713 (decode_arm_unwind_bytecode, process_dynamic_section)
714 (get_symbol_visibility, get_alpha_symbol_other): Add newline to
717 2020-02-03 Sergei Trofimovich <siarheit@google.com>
719 * coffdump.c (program_name): Drop redundant definition.
720 * srconv.c (program_name): Likewise
721 * sysdump.c (program_name): Likewise
723 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
726 * objdump.c (sym_ok): Return FALSE if 2 sections are in the
727 same file with different section pointers.
729 2020-02-01 Nick Clifton <nickc@redhat.com>
731 * README-how-to-make-a-release: Update with more details on the
732 release making process.
734 2020-01-31 Nick Clifton <nickc@redhat.com>
736 * po/sv.po: Updated Swedish translation.
738 2020-01-28 Nick Clifton <nickc@redhat.com>
740 * readelf.c (get_build_id): Simplify warning message about corrupt
741 notes encountered whilst scanning for the build-id.
743 2020-01-27 Roland McGrath <mcgrathr@google.com>
745 * objcopy.c (compare_gnu_build_notes): Fix comparison results
746 for overlapping ranges so that (A == B) == (B == A) holds.
748 2020-01-27 Alan Modra <amodra@gmail.com>
750 * testsuite/lib/binutils-common.exp (big_or_little_endian): Replace
751 case statement with switch statement.
753 2020-01-24 Nick Clifton <nickc@redhat.com>
755 * readelf.c (get_build_id): Fix warning messages about corrupt
758 2020-01-23 Nick Clifton <nickc@redhat.com>
760 * po/fr.po: Updated French translation.
762 2020-01-22 Yuri Chornoivan <yurchor@mageia.org>
765 * readelf.c (get_alpha_symbol_other): Fix error message typo.
767 2020-01-20 Nick Clifton <nickc@redhat.com>
769 * po/pt.po: Updated Portuguese translation.
770 * po/uk.po: Updated Ukranian translation.
772 2020-01-18 Nick Clifton <nickc@redhat.com>
774 * README-how-to-make-a-release: Update notes on how to cut a
775 branch for a release.
777 2020-01-18 Nick Clifton <nickc@redhat.com>
779 * configure: Regenerate.
780 * po/binutils.pot: Regenerate.
782 2020-01-18 Nick Clifton <nickc@redhat.com>
784 Binutils 2.34 branch created.
786 2020-01-17 Thomas Troeger <tstroege@gmx.de>
788 * objdump.c (jump_info_visualize_address): Discard jumps that are
790 (disassemble_bytes): Only compute the maximum level if jumps were
793 2020-01-13 Nick Clifton <nickc@redhat.com>
795 * objdump.c (disassemble_bytes): Remove C99-ism.
796 * testsuite/binutils-all/debuginfod.exp: New tests.
798 2020-01-13 Thomas Troeger <tstroege@gmx.de>
800 * objdump.c (visualize_jumps, color_output, extended_color_output)
801 (detected_jumps): New variables.
802 (usage): Add the new jump visualization options.
803 (option_values): Add new option value.
804 (long_options): Add the new option.
805 (jump_info_new, jump_info_free): New functions.
806 (jump_info_min_address, jump_info_max_address): Likewise.
807 (jump_info_end_address, jump_info_is_start_address): Likewise.
808 (jump_info_is_end_address, jump_info_size): Likewise.
809 (jump_info_unlink, jump_info_insert): Likewise.
810 (jump_info_add_front, jump_info_move_linked): Likewise.
811 (jump_info_intersect, jump_info_merge): Likewise.
812 (jump_info_sort, jump_info_visualize_address): Likewise.
813 (disassemble_jumps): New function - used to locate jumps.
814 (disassemble_bytes): Add ascii art generation.
815 (disassemble_section): Add scan to locate jumps.
816 (main): Parse the new visualization option.
817 * doc/binutils.texi: Document the new feature.
818 * NEWS: Mention the new feature.
820 2020-01-13 Alan Modra <amodra@gmail.com>
824 * dwarf.c (display_debug_frames): Move fde_fc earlier. Free
825 fde_fc col_type and col_offset.
826 * readelf.c (apply_relocations): Move symsec check earlier.
827 (free_debug_section): Free reloc_info.
828 (process_notes_at): Free pnotes on error path.
829 (process_object): Free dump_sects here..
830 (process_archive): ..not here.
832 2020-01-13 Alan Modra <amodra@gmail.com>
835 * nm.c (display_rel_file): Free dyn_syms.
837 2020-01-09 Nick Clifton <nickc@redhat.com>
840 * objcopy.c (empty_name): New variable.
841 (need_sym_before): Prevent an attempt to free a static variable.
842 (filter_symbols): Avoid strcmp test by checking for pointer
845 2020-01-09 Nick Clifton <nickc@redhat.com>
847 * po/zh_TW.po: Updated Traditional Chinese translation.
849 2020-01-09 Aaron Merey <amerey@redhat.com>
851 * Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod.
852 * Makefile.in: Regenerate.
854 * config.in: Regenerate.
855 * configure: Regenerate.
856 * configure.ac: Call AC_DEBUGINFOD.
857 * doc/Makefile.in: Regenerate.
858 * doc/binutils.texi: Add section on using binutils
860 * dwarf.c (debuginfod_fetch_separate_debug_info): New function.
861 Query debuginfod servers for the target debug file.
862 (load_separate_debug_info): Call
863 debuginfod_fetch_separate_debug_info if configured with
865 (load_separate_debug_files): Add file argument to
866 load_separate_debug_info calls.
867 * dwarf.h (get_build_id): Add declaration.
868 * objdump.c (get_build_id): New function. Get build-id of file.
869 * readelf.c (get_build_id): Likewise.
870 * testsuite/binutils-all/debuginfod.exp: New tests.
871 * testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id
874 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
876 * readelf.c: Add support for new Z*) relocations and machine
879 2020-01-01 Alan Modra <amodra@gmail.com>
881 Update year range in copyright notice of all files.
883 For older changes see ChangeLog-2019
885 Copyright (C) 2020 Free Software Foundation, Inc.
887 Copying and distribution of this file, with or without modification,
888 are permitted in any medium without royalty provided the copyright
889 notice and this notice are preserved.
895 version-control: never