1 2019-08-07 Nick Clifton <nickc@redhat.com>
4 * doc/binutils.texi: Ensure consistent formating of title strings
5 for man pages. Extend the title of the size man page to be more
8 2019-08-07 Omair Majid <omajid@redhat.com>
10 * testsuite/binutils-all/objdump.exp
11 (test_objdump_dotnet_assemblies): Fix test to distinguish errors
12 in parsing simple pei-i386 and pei-x86-64 vs parsing the newly
13 introduced machine types.
14 * testsuite/gentestdlls.c (write_simple_dll): New function.
15 (main): Generate simple and Linux-specific variants of pei-i386
16 and pei-x86-64 files so both can be used by tests.
18 2019-08-07 Alan Modra <amodra@gmail.com>
21 * readelf.c (dump_ia64_unwind): Check that buffer is large
22 enough for "stamp" before reading.
24 2019-08-05 Nick Clifton <nickc@redhat.com>
27 * objcopy.c (merge_gnu_build_notes): Do not insist on the first
28 note being a version note.
29 Remove spurious debugging fprintf.
31 2019-08-05 Nick Clifton <nickc@redhat.com>
34 * readelf.c (apply_relocations): Catch potential integer overflow
35 whilst checking reloc location against section size.
37 2019-08-02 Alan Modra <amodra@gmail.com>
40 * readelf.c (ABSADDR): Delete.
41 (dump_ia64_unwind): Expand ABSADDR. Check validity of info.section.
43 2019-07-29 Martin Liska <mliska@suse.cz>
46 * nm.c (filter_symbols): Set report_plugin_err if
48 (display_rel_file): Report error for a missing LTO plugin.
50 2019-07-26 Alan Modra <amodra@gmail.com>
53 * dwarf.c (process_cu_tu_index): Avoid integer overflow on 64-bit
54 systems by casting ncols and nslots expressions to size_t. Display
55 number of columns and slots before giving up due to buffer overflow.
56 Use %u to display unsigned ints. Perform more pointer wrap tests.
58 2019-07-25 Tom Tromey <tromey@adacore.com>
61 * dwarf.c (display_debug_names): Display the contents of the
62 augmentation string, if it is printable.
64 2019-07-25 Nick Clifton <nickc@redhat.com>
67 * readelf.c (process_mips_specific): Check for buffer overflow
68 before reading reginfo information.
70 2019-07-24 Nick Clifton <nickc@redhat.com>
73 * ar.c (decode_options): Restart option scanning if no operation
74 is detected and argument remain to be scanned.
76 2019-07-23 Nick Clifton <nickc@redhat.com>
79 * objdump.c (is_relocateable): Delete.
80 (load_specific_debug_section): Test the abfd for relocations
81 directly, rather than relying upon is_relocateable.
82 (dump_dwarf): Delete initlialization of is_relocateable.
84 2019-07-23 Alan Modra <amodra@gmail.com>
86 * readelf.c (get_parisc_segment_type): Split off hpux entries..
87 (get_ia64_segment_type): ..and these..
88 (get_hpux_segment_type): ..to here.
89 (get_segment_type): Condition GNU_MBIND on osabi. Use
90 get_hpux_segment_type.
91 (get_symbol_binding): Do not print UNIQUE for ELFOSABI_NONE.
92 (get_symbol_type): Do not print IFUNC for ELFOSABI_NONE.
94 2019-07-23 Alan Modra <amodra@gmail.com>
96 * testsuite/binutils-all/objcopy.exp (elf64): Correct object
97 file used to set this variable.
99 2019-07-23 Omar Majid <omajid@redhat.com>
101 * Makefile.am (AUTOMAKE_OPTIONS): Add subdir-objects
102 (GENTESTDLLSPROG): Define.
103 (TEST_PROGS): Add GENTESTDLLSPROG.
104 * Makefile.in: Regenerate.
105 * testsuite/binutils-all/objdump.exp
106 (test_objdump_dotnet_assemblies): New proc.
108 * testsuite/gentestdlls.c: New source file.
110 2019-06-28 Nick Clifton <nickc@redhat.com>
113 * objdump.c (slurp_symtab): Fail with a helpful error message if
114 the symbol table is too large. Skip this check for MMO format
117 2019-06-26 Nick Clifton <nickc@redhat.com>
120 * bucomm.c (bfd_nonfatal): If no bfd error code has been set then
121 indicate this in the output.
122 (bfd_nonfatal_message): Likewise.
124 2019-06-25 Jan Beulich <jbeulich@suse.com>
126 * readelf.c (dump_ctf_indent_lines): Rename local variable
127 "spaces" to "blanks".
129 2019-06-25 Jan Beulich <jbeulich@suse.com>
131 * objdump.c (dump_ctf_indent_lines): Rename local variable
132 "spaces" to "blanks".
134 2019-06-14 Alan Modra <amodra@gmail.com>
136 * Makefile.in: Regenerate.
137 * aclocal.m4: Regenerate.
138 * doc/Makefile.in: Regenerate.
140 2019-06-12 Christos Zoulas <christos@zoulas.com>
143 * readelf.c (process_netbsd_elf_note): Add support for
145 (process_note): Add support for PaX notes.
147 2019-06-12 Christos Zoulas <christos@zoulas.com>
150 * readelf.c (get_netbsd_elfcore_note_type): Add support for SH
153 2019-06-12 Christos Zoulas <christos@zoulas.com>
156 * readelf.c (get_netbsd_elfcore_note_type): Add support for NetBSD
159 2019-06-11 Christos Zoulas <christos@zoulas.com>
162 * readelf.c (get_alpha_symbol_other): New function.
163 (get_symbol_other): Use for Alpha symbols.
164 (is_32bit_pcrel_reloc): Add R_VAX_PCREL32.
166 2019-06-11 Christos Zoulas <christos@zoulas.com>
169 * readelf.c (decode_arm_unwind): Ensure that the local variable
170 'addr' is always initialised.
172 2019-06-10 Christos Zoulas <christos@zoulas.com>
175 * strings.c (print_strings): Use %u to print unsigned values in
178 2019-06-10 Christos Zoulas <christos@zoulas.com>
181 * arsup.c (ar_open): Use asprintf in place of xmalloc and
184 2019-06-03 Nick Clifton <nickc@redhat.com>
187 2019-05-29 Nick Clifton <nickc@redhat.com>
189 * configure.ac (LIBCTF): Export. Set to empty for non-ELF based
191 (HAVE_LIBCTF): Define if libctf support is available.
192 * Makefile.am (LIBCTF): Set value to @LIBCTF@.
193 * objdump.c: Make CTF code conditional upon HAVE_LIBCTF being
195 * readelf.c: Likewise.
196 * configure: Regenerate.
197 * Makefile.in: Regenerate.
198 * config.in: Regenerate.
200 2019-05-30 Nick Alcock <nick.alcock@oracle.com>
202 * objdump.c (make_ctfsect): Drop cts_type, cts_flags, and
204 * readelf.c (shdr_to_ctf_sect): Likewise.
206 2019-05-30 Nick Clifton <nickc@redhat.com>
209 * readelf.c (process_version_sections): Add 0x prefix to address
210 display. Correct indentation.
212 2019-05-30 Alan Modra <amodra@gmail.com>
214 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Add
215 s12z to targets not supporting this feature.
217 2019-05-30 Alan Modra <amodra@gmail.com>
219 * testsuite/lib/binutils-common.exp (run_dump_test): Support
220 tcl procedures for xfail args.
222 2019-05-29 Nick Clifton <nickc@redhat.com>
224 * README-how-to-make-a-release: Add libctf to list of directories
225 that need updates in their ChangeLogs.
227 2019-05-29 Nick Clifton <nickc@redhat.com>
229 * configure.ac (LIBCTF): Export. Set to empty for non-ELF based
231 (HAVE_LIBCTF): Define if libctf support is available.
232 * Makefile.am (LIBCTF): Set value to @LIBCTF@.
233 * objdump.c: Make CTF code conditional upon HAVE_LIBCTF being
235 * readelf.c: Likewise.
236 * configure: Regenerate.
237 * Makefile.in: Regenerate.
238 * config.in: Regenerate.
240 2019-05-28 Nick Alcock <nick.alcock@oracle.com>
242 * MAINTAINERS: Add myself as CTF maintainer.
244 2019-05-28 Nick Alcock <nick.alcock@oracle.com>
246 * objdump.c (ctf-api.h): New include.
247 (dump_ctf_section_info): New variable.
248 (dump_ctf_section_name): Likewise.
249 (usage): Describe new options.
250 (enum option_values): Add OPTION_CTF and OPTION_CTF_PARENT.
251 (main): Use them to add --ctf and --ctf-parent.
252 (read_section_stabs): Add new parameter, entsize_ptr.
253 (find_stabs_section): Adjust accordingly.
255 (dump_ctf_indent_lines): New.
256 (dump_ctf_archive_member): New.
258 (dump_bfd): Call it. Free resources afterwards.
259 * readelf.c (ctf-api.h): New include.
261 (static bfd_boolean do_ctf): Likewise.
262 (dump_ctf_parent_name): Likewise.
263 (dump_ctf_symtab_name): Likewise.
264 (dump_ctf_strtab_name): Likewise.
265 (OPTION_CTF_DUMP): Likewise.
266 (OPTION_CTF_PARENT): Likewise.
267 (OPTION_CTF_SYMBOLS): Likewise.
268 (OPTION_CTF_STRINGS): Likewise.
271 (parse_args): Handle the new options, requesting CTF_DUMP.
272 (process_section_contents): Handle CTF_DUMP.
273 (shdr_to_ctf_sect): New.
274 (dump_ctf_indent_lines): New.
275 (dump_section_as_ctf): New.
276 (main): Free resources.
277 * Makefile.am (LIBCTF): New variable.
278 (objdump_DEPENDENCIES): Use it.
279 (readelf_DEPENDENCIES): Likewise.
280 (objdump_LDADD): Likewise.
281 (readelf_LDADD): Likewise.
282 * aclocal.m4: Regenerated.
283 * Makefile.in: Likewise.
285 * doc/binutils.texi (objdump): Document the new options.
287 * doc/ctf.options.texi: New.
288 * doc/Makefile.in: Regenerated.
289 * NEWS: Mention the new feature.
291 2019-05-27 Alan Modra <amodra@gmail.com>
293 * readelf.c (process_section_groups): Continue processing groups
294 when sh_entsize exceeds group size.
296 2019-05-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
298 * readelf.c (get_aarch64_dynamic_type): Handle DT_AARCH64_VARIANT_PCS.
299 (get_aarch64_symbol_other): New, handles STO_AARCH64_VARIANT_PCS.
300 (get_symbol_other): Call get_aarch64_symbol_other.
302 2019-05-24 Alan Modra <amodra@gmail.com>
304 * objdump.c (disassemble_bytes): Set WIDE_OUTPUT in flags.
306 2019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
308 * MAINTAINERS: Add myself as the maintainer for BPF.
310 2019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
312 * readelf.c: Include elf/bpf.h.
313 (guess_is_rela): Hanle EM_BPF.
314 (dump_relocations): Likewise.
315 (is_32bit_abs_reloc): Likewise.
316 * testsuite/binutils-all/nm.exp: Add bpf-*-* to the list of
319 2019-05-21 Tamar Christina <tamar.christina@arm.com>
321 * dwarf.c (dwarf_regnames_aarch64): Add SVE registers.
322 * testsuite/binutils-all/aarch64/sve-dwarf-registers.d: New test.
323 * testsuite/binutils-all/aarch64/sve-dwarf-registers.s: New test.
325 2019-05-20 Faraz Shahbazker <fshahbazker@wavecomp.com>
328 * testsuite/binutils-all/readelf.ss-mips: Update reference output.
329 * testsuite/binutils-all/readelf.ss-tmips: Likewise.
331 2019-05-20 Nick Clifton <nickc@redhat.com>
333 * po/ca.po: Updated Catalan translation.
335 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
337 * NEWS: Mention Armv8.1-M Mainline and MVE.
339 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
341 * readelf.c (arm_attr_tag_MVE_arch): New array for Tag_MVE_arch values.
342 (arm_attr_public_tag arm_attr_public_tags): Add case for Tag_MVE_arch.
344 2019-05-14 Jamey Hicks <jamey.hicks@gmail.com>
347 * objcopy.c: Add new option --verilog-data-width. Use it to set
348 the value of VerilogDataWidth.
349 * doc/binutils.texi: Document the new option.
350 * testsuite/binutils-all/objcopy.exp: Run tests of new option.
351 * testsuite/binutils-all/verilog-1.hex: New file.
352 * testsuite/binutils-all/verilog-2.hex: New file.
353 * testsuite/binutils-all/verilog-4.hex: New file.
354 * testsuite/binutils-all/verilog-8.hex: New file.
355 * NEWS: Mention the new feature.
357 2019-05-10 Alan Modra <amodra@gmail.com>
359 * testsuite/binutils-all/objdump.exp (test_objdump_disas_limited),
360 (test_objdump_content_limited): Add text arg, use in place of .text.
361 (bintest_signed.o): Call get_standard_section_names for name of
364 2019-05-08 Faraz Shahbazker <fshahbazker@wavecomp.com>
366 * objdump.c (sign_extend_address): New function.
367 (dump_bfd): Sign-extend user-specified start/stop addresses
368 for targets that need it.
369 * testsuite/binutils-all/objdump.exp: Add tests for objdump
370 with start and stop addresses in higher address ranges.
372 2019-05-01 Matthew Malcomson <matthew.malcomson@arm.com>
374 * testsuite/binutils-all/objdump.exp: Correct executable
376 * testsuite/binutils-all/compress.exp: Likewise.
378 2019-05-01 Nick Clifton <nickc@redhat.com>
381 * nm.c: (print_format): New variable.
382 (value_format_32bit, value_format_64bit): Delete.
383 (set_print_radix): Remove code to alter value_format strings.
384 (set_output_format): Record chosen format in print_format.
385 (get_print_format): New function - constructs a printf formatting
386 string according to the requirements of size, radix, and output
388 (print_value): Use get_print_format.
389 * testsuite/binutils-all/nm.exp: Add tests of "nm --format=posix"
392 2019-04-30 Alan Modra <amodra@gmail.com>
394 * wrstabs.c (stab_start_class_type): Add assert to work around
397 2019-04-24 Nick Clifton <nickc@redhat.com>
399 * objcopy.c (strip_main): Do not enable note merging by default if
400 just stripping debug or dwo information.
401 * doc/binutils.texi (strip): Update documentation.
403 2019-04-23 Nick Clifton <nickc@redhat.com>
405 * README-how-to-make-a-release: Add note to update the symbolic
406 link from "docs" to "docs-2.x" on the sourceware website.
408 2019-04-16 Alan Modra <amodra@gmail.com>
410 * testsuite/binutils-all/copy-2.d: Don't run for ns32k-*-*.
411 * testsuite/binutils-all/copy-3.d: Likewise.
413 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
415 * readelf.c (arm_attr_tag_CPU_arch): Add entry for Armv8.1-M Mainline.
417 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
419 * readelf.c (decode_x86_isa): Handle
420 GNU_PROPERTY_X86_ISA_1_AVX512_BF16.
421 * testsuite/binutils-all/i386/pr21231b.d: Updated.
422 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
424 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
426 * testsuite/binutils-all/nm.exp: Count i386-moss as ELF.
428 2019-03-26 Tamar Christina <tamar.christina@arm.com>
430 * testsuite/binutils-all/aarch64/in-order-all.d: Update.
431 * testsuite/binutils-all/aarch64/in-order.d: Likewise.
432 * testsuite/binutils-all/aarch64/out-of-order-all.d: Likewise.
433 * testsuite/binutils-all/aarch64/out-of-order.d: Likewise.
434 * testsuite/binutils-all/aarch64/out-of-order.s: Likewise.
435 * testsuite/binutils-all/arm/in-order-all.d: Likewise.
436 * testsuite/binutils-all/arm/in-order.d: Likewise.
437 * testsuite/binutils-all/arm/out-of-order-all.d: Likewise.
438 * testsuite/binutils-all/arm/out-of-order.d: Likewise.
439 * testsuite/binutils-all/arm/out-of-order.s: Likewise.
441 2019-03-26 Nick Clifton <nickc@redhat.com>
443 * MAINTAINERS: Take over Dave Brolley's maintainerships for FR30,
446 2019-03-26 Alan Modra <amodra@gmail.com>
448 * objdump.c (dump_relocs_in_section): Warning fix.
450 2019-03-25 Tamar Christina <tamar.christina@arm.com>
452 * testsuite/binutils-all/arm/in-order-all.d: New test.
453 * testsuite/binutils-all/arm/in-order.d: New test.
454 * testsuite/binutils-all/arm/objdump.exp: Support .d tests.
455 * testsuite/binutils-all/arm/out-of-order-all.d: New test.
456 * testsuite/binutils-all/arm/out-of-order.T: New test.
457 * testsuite/binutils-all/arm/out-of-order.d: New test.
458 * testsuite/binutils-all/arm/out-of-order.s: New test.
461 2019-03-25 Tamar Christina <tamar.christina@arm.com>
463 * testsuite/binutils-all/aarch64/in-order-all.d: New test.
464 * testsuite/binutils-all/aarch64/out-of-order-all.d: New test.
465 * testsuite/binutils-all/aarch64/out-of-order.d:
467 2019-03-25 Tamar Christina <tamar.christina@arm.com>
469 * testsuite/binutils-all/aarch64/in-order.d: New test.
470 * testsuite/binutils-all/aarch64/out-of-order.d: Disassemble data as
473 2019-03-25 Tamar Christina <tamar.christina@arm.com>
475 * objdump.c (disassemble_bytes): Pass stop_offset.
476 * testsuite/binutils-all/aarch64/out-of-order.T: New test.
477 * testsuite/binutils-all/aarch64/out-of-order.d: New test.
478 * testsuite/binutils-all/aarch64/out-of-order.s: New test.
480 2019-03-19 Nick Clifton <nickc@redhat.com>
483 * objdump.c (load_specific_debug_section): Check that the amount
484 of memory to be allocated matches the size of the section.
486 2019-03-13 Sudakshina Das <sudi.das@arm.com>
488 * readelf.c (get_aarch64_dynamic_type): Add case for
490 (dynamic_section_aarch64_val): Likewise.
492 2019-03-13 Sudakshina Das <sudi.das@arm.com>
493 Szabolcs Nagy <szabolcs.nagy@arm.com>
495 * readelf.c (get_aarch64_dynamic_type): New.
496 (get_dynamic_type): Use above for EM_AARCH64.
497 (dynamic_section_aarch64_val): New.
498 (process_dynamic_section): Use above for EM_AARCH64.
500 2019-03-13 Sudakshina Das <sudi.das@arm.com>
502 * readelf.c (decode_aarch64_feature_1_and): New.
503 (print_gnu_property_note): Add case for AArch64 gnu notes.
505 2019-03-12 Alan Modra <amodra@gmail.com>
507 * objdump.c (load_specific_debug_section): Don't compare section
508 size against file size.
509 (dump_relocs_in_section): Don't compare reloc size against file size.
510 Print "failed to read relocs" on bfd_get_reloc_upper_bound error.
512 2019-03-05 Nick Clifton <nickc@redhat.com>
515 * doc/binutils.texi (ar cmdline): Fix spelling mistake.
517 2019-03-05 Nick Clifton <nickc@redhat.com>
519 * po/sv.po: Updated Swedish translation.
521 2019-03-05 Matthew Malcomson <matthew.malcomson@arm.com>
524 * testsuite/lib/binutils-common.exp (run_dump_test): Replace a use
525 of "lmap" with a "foreach" loop.
527 2019-03-04 Nick Clifton <nickc@redhat.com>
530 * objcopy.c (copy_archive): Do not copy thin archives.
532 2019-02-27 Matthew Malcomson <matthew.malcomson@arm.com>
534 * testsuite/lib/binutils-common.exp: Allow multiple "as" lines.
536 2019-02-25 Nick Clifton <nickc@redhat.com>
538 * objdump.c (sym_ok): New function.
539 (find_symbol_for_address): Use new function.
540 (disassemble_section): Compare sections by name, not pointer.
541 (dump_dwarf): Move code to initialise byte_get pointer and iterate
542 over separate debug files from here to ...
543 (dump_bfd): ... here. Add parameter indicating that a separate
544 debug info file is being dumped. For main file, pull in the
545 symbol tables from all separate debug info files.
546 (display_object): Update call to dump_bfd.
547 * doc/binutils.texi: Document extened behaviour of the
548 --dwarf=follow-links option.
549 * NEWS: Mention this new feature.
550 * testsuite/binutils-all/objdump.WK2: Update expected output.
551 * testsuite/binutils-all/objdump.exp (test_follow_debuglink): Add
552 options and dump file parameters.
554 * testsuite/binutils-all/objdump.WK3: New file.
555 * testsuite/binutils-all/readelf.exp: Change expected output for
557 * testsuite/binutils-all/readelf.wKis: New file.
559 2019-02-22 Nick Clifton <nickc@redhat.com>
562 * dwarf.h (struct separate_info): New structure for containing
563 information on separate debug info files.
564 * dwarf.c (struct dwo_info): New structure for containing dwo
566 (first_dwo_info): Chain of dwo_info structures.
567 (first_separate_file): Chain of separate_info structures.
568 (separate_debug_file, separate_debug_filename): Delete.
569 (fetch_alt_indirect_string): Scan all separate debug info files
570 for the requested string.
571 (add_dwo_info): New function.
572 (add_dwo_name): New function.
573 (add_dwo_dir): New function.
574 (add_dwo_id: New function.
575 (free_dwo_info): New function.
576 (read_and_display_attr_value): Store DWO data using the new
578 (load_debug_section_with_follow): If necessary, scan the list of
579 separate debug info files for the requested section.
580 (add_separate_debug_file): New function.
581 (load_separate_debug_info): Call add_separate_debug_file to store
582 the information on the newly loaded file.
583 (load_dwo_file): Likewise.
584 (load_separate_debif_file): Rename to load_separate_debug_files.
585 Change return type to boolean. If following links then attempt to
586 load all separate debug info files, not just the first one.
587 (free_debug_memory): Release memory in dwo_info and separate_info
589 * objdump.c (dump_dwarf): Iterate over all loaded debg info files.
590 * readelf.c (process_object): Likewise.
591 * doc/debug.options.texi: Update descriptions of links and
592 follow-links options.
593 * testsuite/binutils-all/objdump.WK2: Update expected output.
594 * testsuite/binutils-all/readelf.k2: Likewise.
595 * NEWS: Announce the new feature.
597 2019-02-21 Nick Clifton <nickc@redhat.com>
600 * unwind-ia64.c: Include sysdep.h.
601 (unw_decode_x1): Check current pointer against end pointer before
603 (unw_decode_x2): Likewise.
604 (unw_decode_x3): Likewise.
605 (unw_decode_x4): Likewise.
606 (unw_decode_r2): Likewise.
607 (unw_decode_p2_p5): Likewise.
608 (unw_decode_p7_p10): Likewise.
609 (unw_decode): Likewise.
611 2019-02-20 Nick Clifton <nickc@redhat.com>
614 * readelf.c (print_stapsdt_note): Harden against corrupt notes.
617 * unwind-ia64.c (unw_decode_uleb128): Add end parameter, use it to
618 prevent walking off the end of the buffer.
619 (unw_decode_x1): Add end paramter, pass it to unw_decode_uleb128.
620 (unw_decode_x2): Likewise.
621 (unw_decode_x3): Likewise.
622 (unw_decode_x4): Likewise.
623 (unw_decode_r2): Pass the end parameter to unw_decode_uleb128.
624 (unw_decode_r3): Likewise.
625 (unw_decode_p7_p10): Likewise.
626 (unw_decode_b2): Likewise.
627 (unw_decode_b3_x4): Likewise.
630 * readelf.c (process_mips_specific): Check for an options section
631 that is too small to even contain a single option.
634 * readelf.c (print_ia64_vms_note): Harden against corrupt notes.
636 2019-02-20 Alan Modra <amodra@gmail.com>
640 * readelf.c (get_data): Avoid possibility of overflow when
641 checking for a read that may extend past end of file.
642 (process_program_headers): Likewise.
644 2019-02-20 Alan Modra <amodra@gmail.com>
647 * objdump.c (dump_bfd_private_header): Print warning if
648 bfd_print_private_bfd_data returns false.
650 2019-02-12 Nick Clifton <nickc@redhat.com>
653 * README-how-to-make-a-release: Use git clean to delete spurious
654 files from the local source repository.
656 2019-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
658 * size.c (berkeley_format): Delete.
659 (enum output_format): New enum.
660 (selected_output_format): New variable.
661 (usage): Update to mention GNU format.
662 (main): Update to extract options, and select format as needed.
663 Handle GNU format where needed.
664 (berkeley_sum): Renamed to...
665 (berkeley_or_gnu_sum): ...this, and updated to handle both formats.
666 (berkeley_format): Renamed to...
667 (berkeley_or_gnu_format): ...this, and updated to handle both
669 (print_sizes): Handle GNU format.
670 * doc/binutils.texi (size): Document new GNU format.
671 * testsuite/binutils-all/size.exp: Add test of extended
673 * NEWS: Mention new functionality.
675 2019-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
677 * doc/binutils.texi (size): Update example output for Berkeley
680 2019-02-07 Nick Clifton <nickc@redhat.com>
682 * README-how-to-make-a-release: Add a note about updating the
683 obsolete targets in the bfd/config.bfd file.
685 2019-02-04 Nick Clifton <nickc@redhat.com>
687 * README-how-to-make-a-release: Add more notes on making a release.
689 2019-01-25 Nick Clifton <nickc@redhat.com>
692 * readelf.c (process_notes_at): Prevent an illegal memory access
693 when the note's namesize is zero.
694 (decode_tic6x_unwind_bytecode): Add code to handle the case where
695 no registers are specified in a frame pop instruction.
697 2019-01-25 Nick Clifton <nickc@redhat.com>
699 * po/bg.po: Updated Bulgarian translation.
701 2019-01-23 Nick Clifton <nickc@redhat.com>
703 * po/fr.po: Updated French translation.
704 * po/pt.po: Updated Portuguese translation.
706 2019-01-21 Nick Clifton <nickc@redhat.com>
708 * po/uk.po: Updated Ukranian translation.
710 2019-01-19 Nick Clifton <nickc@redhat.com>
712 * configure: Regenerate.
713 * binutils/po/binutils.pot.
715 * README-how-to-make-a-release: Update description on how to make
718 2018-06-24 Nick Clifton <nickc@redhat.com>
722 2019-01-17 Nick Clifton <nickc@redhat.com>
724 * objdump.c (disassemble_section): When disassembling from a
725 symbol only stop at the next symbol if the original symbol was not
726 a function symbol. Otherwise continue disassembling until a new
728 * testsuite/binutils-all/objdump.exp: Add tests of extended
730 * testsuite/binutils-all/disasm.s: New test source file.
732 2019-01-16 Kito Cheng <kito@andestech.com>
733 Nelson Chu <nelson@andestech.com>
735 * readelf.c (get_riscv_section_type_name): New function.
736 (get_section_type_name): Add handler for RISC-V.
737 (riscv_attr_tag_t): Declare.
738 (riscv_attr_tag): New.
739 (display_riscv_attribute): New function.
740 (process_attributes): Add handler for RISC-V.
741 * testsuite/binutils-all/strip-3.d: Remove .riscv.attribute
744 2019-01-10 Nick Clifton <nickc@redhat.com>
747 * objdump.c (sanitize_string): New function. Removes control
748 characters from symbol names.
749 (dump_section_header): Use new function.
750 (objdump_print_symname): Likewise.
751 (objdump_print_addr_with_sym): Likewise.
752 (show_line): Likewise.
753 (disassemble_bytes): Likewise.
754 (disassemble_section): Likewise.
755 (load_specific_debug_section): Likewise.
756 (read_section_stabs): Likewise.
757 (print_section_stabs): Likewise.
758 (dump_section): Likewise.
759 (dump_reloc_set): Likewise.
760 (dump_relocs_in_section): Likewise.
761 (dump_bfd): Likewise.
762 (display_any_bfd): Likewise.
764 2019-01-09 Nick Clifton <nickc@redhat.com>
767 * readelf.c (process_archive): Use arch.file_name in error
768 messages until the qualified name is available.
770 2019-01-09 Andrew Paprocki <andrew@ishiboo.com>
772 * configure: Regenerate.
774 2019-01-09 Alan Modra <amodra@gmail.com>
776 * testsuite/binutils-all/cxxfilt.exp: Pass --no-strip-underscores
777 unconditionally to tests needing the option rather than via a
780 2019-01-08 Nick Clifton <nickc@redhat.com>
783 * cxxfilt.c (hp_symbol_characters): Delete.
784 (main): Remove depcreated demangling styles.
785 * stabs.c (parse_stab_argtypes): Remove support for old gnu v2
787 * testsuite/binutils-all/cxxfilt.exp: Use the
788 --no-strip-underscore option for targets that do prefix their
789 symbols with underscores.
790 Update tests to eliminate those that use gnu v2 encoding.
792 2019-01-08 Tamar Christina <tamar.christina@arm.com>
795 * testsuite/binutils-all/copy-6.d: New test.
796 * testsuite/binutils-all/objcopy.exp: Use it.
798 2019-01-08 Alan Modra <amodra@gmail.com>
800 * testsuite/lib/binutils-common.exp (run_dump_test): Don't prepend
801 $srcdir/$subdir to source file name if it starts with "./".
803 2019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp>
805 * readelf.c (get_machine_flags): Add RXv3 output.
807 2019-01-04 Nick Clifton <nickc@redhat.com>
810 * objdump.c (load_specific_debug_section): Check for integer
811 overflow before attempting to allocate contents.
813 2019-01-04 Nick Clifton <nickc@redhat.com>
816 * objcopy.c (copy_object): Free dhandle after writing out the
818 * objdump.c (dump_bfd): Free dhandle after printing out the debug
822 2019-01-01 Alan Modra <amodra@gmail.com>
824 Update year range in copyright notice of all files.
826 For older changes see ChangeLog-2018
828 Copyright (C) 2019 Free Software Foundation, Inc.
830 Copying and distribution of this file, with or without modification,
831 are permitted in any medium without royalty provided the copyright
832 notice and this notice are preserved.
838 version-control: never