1 2019-08-05 Nick Clifton <nickc@redhat.com>
4 * objcopy.c (merge_gnu_build_notes): Do not insist on the first
5 note being a version note.
6 Remove spurious debugging fprintf.
8 2019-08-05 Nick Clifton <nickc@redhat.com>
11 * readelf.c (apply_relocations): Catch potential integer overflow
12 whilst checking reloc location against section size.
14 2019-08-02 Alan Modra <amodra@gmail.com>
17 * readelf.c (ABSADDR): Delete.
18 (dump_ia64_unwind): Expand ABSADDR. Check validity of info.section.
20 2019-07-29 Martin Liska <mliska@suse.cz>
23 * nm.c (filter_symbols): Set report_plugin_err if
25 (display_rel_file): Report error for a missing LTO plugin.
27 2019-07-26 Alan Modra <amodra@gmail.com>
30 * dwarf.c (process_cu_tu_index): Avoid integer overflow on 64-bit
31 systems by casting ncols and nslots expressions to size_t. Display
32 number of columns and slots before giving up due to buffer overflow.
33 Use %u to display unsigned ints. Perform more pointer wrap tests.
35 2019-07-25 Tom Tromey <tromey@adacore.com>
38 * dwarf.c (display_debug_names): Display the contents of the
39 augmentation string, if it is printable.
41 2019-07-25 Nick Clifton <nickc@redhat.com>
44 * readelf.c (process_mips_specific): Check for buffer overflow
45 before reading reginfo information.
47 2019-07-24 Nick Clifton <nickc@redhat.com>
50 * ar.c (decode_options): Restart option scanning if no operation
51 is detected and argument remain to be scanned.
53 2019-07-23 Nick Clifton <nickc@redhat.com>
56 * objdump.c (is_relocateable): Delete.
57 (load_specific_debug_section): Test the abfd for relocations
58 directly, rather than relying upon is_relocateable.
59 (dump_dwarf): Delete initlialization of is_relocateable.
61 2019-07-23 Alan Modra <amodra@gmail.com>
63 * readelf.c (get_parisc_segment_type): Split off hpux entries..
64 (get_ia64_segment_type): ..and these..
65 (get_hpux_segment_type): ..to here.
66 (get_segment_type): Condition GNU_MBIND on osabi. Use
67 get_hpux_segment_type.
68 (get_symbol_binding): Do not print UNIQUE for ELFOSABI_NONE.
69 (get_symbol_type): Do not print IFUNC for ELFOSABI_NONE.
71 2019-07-23 Alan Modra <amodra@gmail.com>
73 * testsuite/binutils-all/objcopy.exp (elf64): Correct object
74 file used to set this variable.
76 2019-07-23 Omar Majid <omajid@redhat.com>
78 * Makefile.am (AUTOMAKE_OPTIONS): Add subdir-objects
79 (GENTESTDLLSPROG): Define.
80 (TEST_PROGS): Add GENTESTDLLSPROG.
81 * Makefile.in: Regenerate.
82 * testsuite/binutils-all/objdump.exp
83 (test_objdump_dotnet_assemblies): New proc.
85 * testsuite/gentestdlls.c: New source file.
87 2019-06-28 Nick Clifton <nickc@redhat.com>
90 * objdump.c (slurp_symtab): Fail with a helpful error message if
91 the symbol table is too large. Skip this check for MMO format
94 2019-06-26 Nick Clifton <nickc@redhat.com>
97 * bucomm.c (bfd_nonfatal): If no bfd error code has been set then
98 indicate this in the output.
99 (bfd_nonfatal_message): Likewise.
101 2019-06-25 Jan Beulich <jbeulich@suse.com>
103 * readelf.c (dump_ctf_indent_lines): Rename local variable
104 "spaces" to "blanks".
106 2019-06-25 Jan Beulich <jbeulich@suse.com>
108 * objdump.c (dump_ctf_indent_lines): Rename local variable
109 "spaces" to "blanks".
111 2019-06-14 Alan Modra <amodra@gmail.com>
113 * Makefile.in: Regenerate.
114 * aclocal.m4: Regenerate.
115 * doc/Makefile.in: Regenerate.
117 2019-06-12 Christos Zoulas <christos@zoulas.com>
120 * readelf.c (process_netbsd_elf_note): Add support for
122 (process_note): Add support for PaX notes.
124 2019-06-12 Christos Zoulas <christos@zoulas.com>
127 * readelf.c (get_netbsd_elfcore_note_type): Add support for SH
130 2019-06-12 Christos Zoulas <christos@zoulas.com>
133 * readelf.c (get_netbsd_elfcore_note_type): Add support for NetBSD
136 2019-06-11 Christos Zoulas <christos@zoulas.com>
139 * readelf.c (get_alpha_symbol_other): New function.
140 (get_symbol_other): Use for Alpha symbols.
141 (is_32bit_pcrel_reloc): Add R_VAX_PCREL32.
143 2019-06-11 Christos Zoulas <christos@zoulas.com>
146 * readelf.c (decode_arm_unwind): Ensure that the local variable
147 'addr' is always initialised.
149 2019-06-10 Christos Zoulas <christos@zoulas.com>
152 * strings.c (print_strings): Use %u to print unsigned values in
155 2019-06-10 Christos Zoulas <christos@zoulas.com>
158 * arsup.c (ar_open): Use asprintf in place of xmalloc and
161 2019-06-03 Nick Clifton <nickc@redhat.com>
164 2019-05-29 Nick Clifton <nickc@redhat.com>
166 * configure.ac (LIBCTF): Export. Set to empty for non-ELF based
168 (HAVE_LIBCTF): Define if libctf support is available.
169 * Makefile.am (LIBCTF): Set value to @LIBCTF@.
170 * objdump.c: Make CTF code conditional upon HAVE_LIBCTF being
172 * readelf.c: Likewise.
173 * configure: Regenerate.
174 * Makefile.in: Regenerate.
175 * config.in: Regenerate.
177 2019-05-30 Nick Alcock <nick.alcock@oracle.com>
179 * objdump.c (make_ctfsect): Drop cts_type, cts_flags, and
181 * readelf.c (shdr_to_ctf_sect): Likewise.
183 2019-05-30 Nick Clifton <nickc@redhat.com>
186 * readelf.c (process_version_sections): Add 0x prefix to address
187 display. Correct indentation.
189 2019-05-30 Alan Modra <amodra@gmail.com>
191 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Add
192 s12z to targets not supporting this feature.
194 2019-05-30 Alan Modra <amodra@gmail.com>
196 * testsuite/lib/binutils-common.exp (run_dump_test): Support
197 tcl procedures for xfail args.
199 2019-05-29 Nick Clifton <nickc@redhat.com>
201 * README-how-to-make-a-release: Add libctf to list of directories
202 that need updates in their ChangeLogs.
204 2019-05-29 Nick Clifton <nickc@redhat.com>
206 * configure.ac (LIBCTF): Export. Set to empty for non-ELF based
208 (HAVE_LIBCTF): Define if libctf support is available.
209 * Makefile.am (LIBCTF): Set value to @LIBCTF@.
210 * objdump.c: Make CTF code conditional upon HAVE_LIBCTF being
212 * readelf.c: Likewise.
213 * configure: Regenerate.
214 * Makefile.in: Regenerate.
215 * config.in: Regenerate.
217 2019-05-28 Nick Alcock <nick.alcock@oracle.com>
219 * MAINTAINERS: Add myself as CTF maintainer.
221 2019-05-28 Nick Alcock <nick.alcock@oracle.com>
223 * objdump.c (ctf-api.h): New include.
224 (dump_ctf_section_info): New variable.
225 (dump_ctf_section_name): Likewise.
226 (usage): Describe new options.
227 (enum option_values): Add OPTION_CTF and OPTION_CTF_PARENT.
228 (main): Use them to add --ctf and --ctf-parent.
229 (read_section_stabs): Add new parameter, entsize_ptr.
230 (find_stabs_section): Adjust accordingly.
232 (dump_ctf_indent_lines): New.
233 (dump_ctf_archive_member): New.
235 (dump_bfd): Call it. Free resources afterwards.
236 * readelf.c (ctf-api.h): New include.
238 (static bfd_boolean do_ctf): Likewise.
239 (dump_ctf_parent_name): Likewise.
240 (dump_ctf_symtab_name): Likewise.
241 (dump_ctf_strtab_name): Likewise.
242 (OPTION_CTF_DUMP): Likewise.
243 (OPTION_CTF_PARENT): Likewise.
244 (OPTION_CTF_SYMBOLS): Likewise.
245 (OPTION_CTF_STRINGS): Likewise.
248 (parse_args): Handle the new options, requesting CTF_DUMP.
249 (process_section_contents): Handle CTF_DUMP.
250 (shdr_to_ctf_sect): New.
251 (dump_ctf_indent_lines): New.
252 (dump_section_as_ctf): New.
253 (main): Free resources.
254 * Makefile.am (LIBCTF): New variable.
255 (objdump_DEPENDENCIES): Use it.
256 (readelf_DEPENDENCIES): Likewise.
257 (objdump_LDADD): Likewise.
258 (readelf_LDADD): Likewise.
259 * aclocal.m4: Regenerated.
260 * Makefile.in: Likewise.
262 * doc/binutils.texi (objdump): Document the new options.
264 * doc/ctf.options.texi: New.
265 * doc/Makefile.in: Regenerated.
266 * NEWS: Mention the new feature.
268 2019-05-27 Alan Modra <amodra@gmail.com>
270 * readelf.c (process_section_groups): Continue processing groups
271 when sh_entsize exceeds group size.
273 2019-05-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
275 * readelf.c (get_aarch64_dynamic_type): Handle DT_AARCH64_VARIANT_PCS.
276 (get_aarch64_symbol_other): New, handles STO_AARCH64_VARIANT_PCS.
277 (get_symbol_other): Call get_aarch64_symbol_other.
279 2019-05-24 Alan Modra <amodra@gmail.com>
281 * objdump.c (disassemble_bytes): Set WIDE_OUTPUT in flags.
283 2019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
285 * MAINTAINERS: Add myself as the maintainer for BPF.
287 2019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
289 * readelf.c: Include elf/bpf.h.
290 (guess_is_rela): Hanle EM_BPF.
291 (dump_relocations): Likewise.
292 (is_32bit_abs_reloc): Likewise.
293 * testsuite/binutils-all/nm.exp: Add bpf-*-* to the list of
296 2019-05-21 Tamar Christina <tamar.christina@arm.com>
298 * dwarf.c (dwarf_regnames_aarch64): Add SVE registers.
299 * testsuite/binutils-all/aarch64/sve-dwarf-registers.d: New test.
300 * testsuite/binutils-all/aarch64/sve-dwarf-registers.s: New test.
302 2019-05-20 Faraz Shahbazker <fshahbazker@wavecomp.com>
305 * testsuite/binutils-all/readelf.ss-mips: Update reference output.
306 * testsuite/binutils-all/readelf.ss-tmips: Likewise.
308 2019-05-20 Nick Clifton <nickc@redhat.com>
310 * po/ca.po: Updated Catalan translation.
312 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
314 * NEWS: Mention Armv8.1-M Mainline and MVE.
316 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
318 * readelf.c (arm_attr_tag_MVE_arch): New array for Tag_MVE_arch values.
319 (arm_attr_public_tag arm_attr_public_tags): Add case for Tag_MVE_arch.
321 2019-05-14 Jamey Hicks <jamey.hicks@gmail.com>
324 * objcopy.c: Add new option --verilog-data-width. Use it to set
325 the value of VerilogDataWidth.
326 * doc/binutils.texi: Document the new option.
327 * testsuite/binutils-all/objcopy.exp: Run tests of new option.
328 * testsuite/binutils-all/verilog-1.hex: New file.
329 * testsuite/binutils-all/verilog-2.hex: New file.
330 * testsuite/binutils-all/verilog-4.hex: New file.
331 * testsuite/binutils-all/verilog-8.hex: New file.
332 * NEWS: Mention the new feature.
334 2019-05-10 Alan Modra <amodra@gmail.com>
336 * testsuite/binutils-all/objdump.exp (test_objdump_disas_limited),
337 (test_objdump_content_limited): Add text arg, use in place of .text.
338 (bintest_signed.o): Call get_standard_section_names for name of
341 2019-05-08 Faraz Shahbazker <fshahbazker@wavecomp.com>
343 * objdump.c (sign_extend_address): New function.
344 (dump_bfd): Sign-extend user-specified start/stop addresses
345 for targets that need it.
346 * testsuite/binutils-all/objdump.exp: Add tests for objdump
347 with start and stop addresses in higher address ranges.
349 2019-05-01 Matthew Malcomson <matthew.malcomson@arm.com>
351 * testsuite/binutils-all/objdump.exp: Correct executable
353 * testsuite/binutils-all/compress.exp: Likewise.
355 2019-05-01 Nick Clifton <nickc@redhat.com>
358 * nm.c: (print_format): New variable.
359 (value_format_32bit, value_format_64bit): Delete.
360 (set_print_radix): Remove code to alter value_format strings.
361 (set_output_format): Record chosen format in print_format.
362 (get_print_format): New function - constructs a printf formatting
363 string according to the requirements of size, radix, and output
365 (print_value): Use get_print_format.
366 * testsuite/binutils-all/nm.exp: Add tests of "nm --format=posix"
369 2019-04-30 Alan Modra <amodra@gmail.com>
371 * wrstabs.c (stab_start_class_type): Add assert to work around
374 2019-04-24 Nick Clifton <nickc@redhat.com>
376 * objcopy.c (strip_main): Do not enable note merging by default if
377 just stripping debug or dwo information.
378 * doc/binutils.texi (strip): Update documentation.
380 2019-04-23 Nick Clifton <nickc@redhat.com>
382 * README-how-to-make-a-release: Add note to update the symbolic
383 link from "docs" to "docs-2.x" on the sourceware website.
385 2019-04-16 Alan Modra <amodra@gmail.com>
387 * testsuite/binutils-all/copy-2.d: Don't run for ns32k-*-*.
388 * testsuite/binutils-all/copy-3.d: Likewise.
390 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
392 * readelf.c (arm_attr_tag_CPU_arch): Add entry for Armv8.1-M Mainline.
394 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
396 * readelf.c (decode_x86_isa): Handle
397 GNU_PROPERTY_X86_ISA_1_AVX512_BF16.
398 * testsuite/binutils-all/i386/pr21231b.d: Updated.
399 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
401 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
403 * testsuite/binutils-all/nm.exp: Count i386-moss as ELF.
405 2019-03-26 Tamar Christina <tamar.christina@arm.com>
407 * testsuite/binutils-all/aarch64/in-order-all.d: Update.
408 * testsuite/binutils-all/aarch64/in-order.d: Likewise.
409 * testsuite/binutils-all/aarch64/out-of-order-all.d: Likewise.
410 * testsuite/binutils-all/aarch64/out-of-order.d: Likewise.
411 * testsuite/binutils-all/aarch64/out-of-order.s: Likewise.
412 * testsuite/binutils-all/arm/in-order-all.d: Likewise.
413 * testsuite/binutils-all/arm/in-order.d: Likewise.
414 * testsuite/binutils-all/arm/out-of-order-all.d: Likewise.
415 * testsuite/binutils-all/arm/out-of-order.d: Likewise.
416 * testsuite/binutils-all/arm/out-of-order.s: Likewise.
418 2019-03-26 Nick Clifton <nickc@redhat.com>
420 * MAINTAINERS: Take over Dave Brolley's maintainerships for FR30,
423 2019-03-26 Alan Modra <amodra@gmail.com>
425 * objdump.c (dump_relocs_in_section): Warning fix.
427 2019-03-25 Tamar Christina <tamar.christina@arm.com>
429 * testsuite/binutils-all/arm/in-order-all.d: New test.
430 * testsuite/binutils-all/arm/in-order.d: New test.
431 * testsuite/binutils-all/arm/objdump.exp: Support .d tests.
432 * testsuite/binutils-all/arm/out-of-order-all.d: New test.
433 * testsuite/binutils-all/arm/out-of-order.T: New test.
434 * testsuite/binutils-all/arm/out-of-order.d: New test.
435 * testsuite/binutils-all/arm/out-of-order.s: New test.
438 2019-03-25 Tamar Christina <tamar.christina@arm.com>
440 * testsuite/binutils-all/aarch64/in-order-all.d: New test.
441 * testsuite/binutils-all/aarch64/out-of-order-all.d: New test.
442 * testsuite/binutils-all/aarch64/out-of-order.d:
444 2019-03-25 Tamar Christina <tamar.christina@arm.com>
446 * testsuite/binutils-all/aarch64/in-order.d: New test.
447 * testsuite/binutils-all/aarch64/out-of-order.d: Disassemble data as
450 2019-03-25 Tamar Christina <tamar.christina@arm.com>
452 * objdump.c (disassemble_bytes): Pass stop_offset.
453 * testsuite/binutils-all/aarch64/out-of-order.T: New test.
454 * testsuite/binutils-all/aarch64/out-of-order.d: New test.
455 * testsuite/binutils-all/aarch64/out-of-order.s: New test.
457 2019-03-19 Nick Clifton <nickc@redhat.com>
460 * objdump.c (load_specific_debug_section): Check that the amount
461 of memory to be allocated matches the size of the section.
463 2019-03-13 Sudakshina Das <sudi.das@arm.com>
465 * readelf.c (get_aarch64_dynamic_type): Add case for
467 (dynamic_section_aarch64_val): Likewise.
469 2019-03-13 Sudakshina Das <sudi.das@arm.com>
470 Szabolcs Nagy <szabolcs.nagy@arm.com>
472 * readelf.c (get_aarch64_dynamic_type): New.
473 (get_dynamic_type): Use above for EM_AARCH64.
474 (dynamic_section_aarch64_val): New.
475 (process_dynamic_section): Use above for EM_AARCH64.
477 2019-03-13 Sudakshina Das <sudi.das@arm.com>
479 * readelf.c (decode_aarch64_feature_1_and): New.
480 (print_gnu_property_note): Add case for AArch64 gnu notes.
482 2019-03-12 Alan Modra <amodra@gmail.com>
484 * objdump.c (load_specific_debug_section): Don't compare section
485 size against file size.
486 (dump_relocs_in_section): Don't compare reloc size against file size.
487 Print "failed to read relocs" on bfd_get_reloc_upper_bound error.
489 2019-03-05 Nick Clifton <nickc@redhat.com>
492 * doc/binutils.texi (ar cmdline): Fix spelling mistake.
494 2019-03-05 Nick Clifton <nickc@redhat.com>
496 * po/sv.po: Updated Swedish translation.
498 2019-03-05 Matthew Malcomson <matthew.malcomson@arm.com>
501 * testsuite/lib/binutils-common.exp (run_dump_test): Replace a use
502 of "lmap" with a "foreach" loop.
504 2019-03-04 Nick Clifton <nickc@redhat.com>
507 * objcopy.c (copy_archive): Do not copy thin archives.
509 2019-02-27 Matthew Malcomson <matthew.malcomson@arm.com>
511 * testsuite/lib/binutils-common.exp: Allow multiple "as" lines.
513 2019-02-25 Nick Clifton <nickc@redhat.com>
515 * objdump.c (sym_ok): New function.
516 (find_symbol_for_address): Use new function.
517 (disassemble_section): Compare sections by name, not pointer.
518 (dump_dwarf): Move code to initialise byte_get pointer and iterate
519 over separate debug files from here to ...
520 (dump_bfd): ... here. Add parameter indicating that a separate
521 debug info file is being dumped. For main file, pull in the
522 symbol tables from all separate debug info files.
523 (display_object): Update call to dump_bfd.
524 * doc/binutils.texi: Document extened behaviour of the
525 --dwarf=follow-links option.
526 * NEWS: Mention this new feature.
527 * testsuite/binutils-all/objdump.WK2: Update expected output.
528 * testsuite/binutils-all/objdump.exp (test_follow_debuglink): Add
529 options and dump file parameters.
531 * testsuite/binutils-all/objdump.WK3: New file.
532 * testsuite/binutils-all/readelf.exp: Change expected output for
534 * testsuite/binutils-all/readelf.wKis: New file.
536 2019-02-22 Nick Clifton <nickc@redhat.com>
539 * dwarf.h (struct separate_info): New structure for containing
540 information on separate debug info files.
541 * dwarf.c (struct dwo_info): New structure for containing dwo
543 (first_dwo_info): Chain of dwo_info structures.
544 (first_separate_file): Chain of separate_info structures.
545 (separate_debug_file, separate_debug_filename): Delete.
546 (fetch_alt_indirect_string): Scan all separate debug info files
547 for the requested string.
548 (add_dwo_info): New function.
549 (add_dwo_name): New function.
550 (add_dwo_dir): New function.
551 (add_dwo_id: New function.
552 (free_dwo_info): New function.
553 (read_and_display_attr_value): Store DWO data using the new
555 (load_debug_section_with_follow): If necessary, scan the list of
556 separate debug info files for the requested section.
557 (add_separate_debug_file): New function.
558 (load_separate_debug_info): Call add_separate_debug_file to store
559 the information on the newly loaded file.
560 (load_dwo_file): Likewise.
561 (load_separate_debif_file): Rename to load_separate_debug_files.
562 Change return type to boolean. If following links then attempt to
563 load all separate debug info files, not just the first one.
564 (free_debug_memory): Release memory in dwo_info and separate_info
566 * objdump.c (dump_dwarf): Iterate over all loaded debg info files.
567 * readelf.c (process_object): Likewise.
568 * doc/debug.options.texi: Update descriptions of links and
569 follow-links options.
570 * testsuite/binutils-all/objdump.WK2: Update expected output.
571 * testsuite/binutils-all/readelf.k2: Likewise.
572 * NEWS: Announce the new feature.
574 2019-02-21 Nick Clifton <nickc@redhat.com>
577 * unwind-ia64.c: Include sysdep.h.
578 (unw_decode_x1): Check current pointer against end pointer before
580 (unw_decode_x2): Likewise.
581 (unw_decode_x3): Likewise.
582 (unw_decode_x4): Likewise.
583 (unw_decode_r2): Likewise.
584 (unw_decode_p2_p5): Likewise.
585 (unw_decode_p7_p10): Likewise.
586 (unw_decode): Likewise.
588 2019-02-20 Nick Clifton <nickc@redhat.com>
591 * readelf.c (print_stapsdt_note): Harden against corrupt notes.
594 * unwind-ia64.c (unw_decode_uleb128): Add end parameter, use it to
595 prevent walking off the end of the buffer.
596 (unw_decode_x1): Add end paramter, pass it to unw_decode_uleb128.
597 (unw_decode_x2): Likewise.
598 (unw_decode_x3): Likewise.
599 (unw_decode_x4): Likewise.
600 (unw_decode_r2): Pass the end parameter to unw_decode_uleb128.
601 (unw_decode_r3): Likewise.
602 (unw_decode_p7_p10): Likewise.
603 (unw_decode_b2): Likewise.
604 (unw_decode_b3_x4): Likewise.
607 * readelf.c (process_mips_specific): Check for an options section
608 that is too small to even contain a single option.
611 * readelf.c (print_ia64_vms_note): Harden against corrupt notes.
613 2019-02-20 Alan Modra <amodra@gmail.com>
617 * readelf.c (get_data): Avoid possibility of overflow when
618 checking for a read that may extend past end of file.
619 (process_program_headers): Likewise.
621 2019-02-20 Alan Modra <amodra@gmail.com>
624 * objdump.c (dump_bfd_private_header): Print warning if
625 bfd_print_private_bfd_data returns false.
627 2019-02-12 Nick Clifton <nickc@redhat.com>
630 * README-how-to-make-a-release: Use git clean to delete spurious
631 files from the local source repository.
633 2019-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
635 * size.c (berkeley_format): Delete.
636 (enum output_format): New enum.
637 (selected_output_format): New variable.
638 (usage): Update to mention GNU format.
639 (main): Update to extract options, and select format as needed.
640 Handle GNU format where needed.
641 (berkeley_sum): Renamed to...
642 (berkeley_or_gnu_sum): ...this, and updated to handle both formats.
643 (berkeley_format): Renamed to...
644 (berkeley_or_gnu_format): ...this, and updated to handle both
646 (print_sizes): Handle GNU format.
647 * doc/binutils.texi (size): Document new GNU format.
648 * testsuite/binutils-all/size.exp: Add test of extended
650 * NEWS: Mention new functionality.
652 2019-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
654 * doc/binutils.texi (size): Update example output for Berkeley
657 2019-02-07 Nick Clifton <nickc@redhat.com>
659 * README-how-to-make-a-release: Add a note about updating the
660 obsolete targets in the bfd/config.bfd file.
662 2019-02-04 Nick Clifton <nickc@redhat.com>
664 * README-how-to-make-a-release: Add more notes on making a release.
666 2019-01-25 Nick Clifton <nickc@redhat.com>
669 * readelf.c (process_notes_at): Prevent an illegal memory access
670 when the note's namesize is zero.
671 (decode_tic6x_unwind_bytecode): Add code to handle the case where
672 no registers are specified in a frame pop instruction.
674 2019-01-25 Nick Clifton <nickc@redhat.com>
676 * po/bg.po: Updated Bulgarian translation.
678 2019-01-23 Nick Clifton <nickc@redhat.com>
680 * po/fr.po: Updated French translation.
681 * po/pt.po: Updated Portuguese translation.
683 2019-01-21 Nick Clifton <nickc@redhat.com>
685 * po/uk.po: Updated Ukranian translation.
687 2019-01-19 Nick Clifton <nickc@redhat.com>
689 * configure: Regenerate.
690 * binutils/po/binutils.pot.
692 * README-how-to-make-a-release: Update description on how to make
695 2018-06-24 Nick Clifton <nickc@redhat.com>
699 2019-01-17 Nick Clifton <nickc@redhat.com>
701 * objdump.c (disassemble_section): When disassembling from a
702 symbol only stop at the next symbol if the original symbol was not
703 a function symbol. Otherwise continue disassembling until a new
705 * testsuite/binutils-all/objdump.exp: Add tests of extended
707 * testsuite/binutils-all/disasm.s: New test source file.
709 2019-01-16 Kito Cheng <kito@andestech.com>
710 Nelson Chu <nelson@andestech.com>
712 * readelf.c (get_riscv_section_type_name): New function.
713 (get_section_type_name): Add handler for RISC-V.
714 (riscv_attr_tag_t): Declare.
715 (riscv_attr_tag): New.
716 (display_riscv_attribute): New function.
717 (process_attributes): Add handler for RISC-V.
718 * testsuite/binutils-all/strip-3.d: Remove .riscv.attribute
721 2019-01-10 Nick Clifton <nickc@redhat.com>
724 * objdump.c (sanitize_string): New function. Removes control
725 characters from symbol names.
726 (dump_section_header): Use new function.
727 (objdump_print_symname): Likewise.
728 (objdump_print_addr_with_sym): Likewise.
729 (show_line): Likewise.
730 (disassemble_bytes): Likewise.
731 (disassemble_section): Likewise.
732 (load_specific_debug_section): Likewise.
733 (read_section_stabs): Likewise.
734 (print_section_stabs): Likewise.
735 (dump_section): Likewise.
736 (dump_reloc_set): Likewise.
737 (dump_relocs_in_section): Likewise.
738 (dump_bfd): Likewise.
739 (display_any_bfd): Likewise.
741 2019-01-09 Nick Clifton <nickc@redhat.com>
744 * readelf.c (process_archive): Use arch.file_name in error
745 messages until the qualified name is available.
747 2019-01-09 Andrew Paprocki <andrew@ishiboo.com>
749 * configure: Regenerate.
751 2019-01-09 Alan Modra <amodra@gmail.com>
753 * testsuite/binutils-all/cxxfilt.exp: Pass --no-strip-underscores
754 unconditionally to tests needing the option rather than via a
757 2019-01-08 Nick Clifton <nickc@redhat.com>
760 * cxxfilt.c (hp_symbol_characters): Delete.
761 (main): Remove depcreated demangling styles.
762 * stabs.c (parse_stab_argtypes): Remove support for old gnu v2
764 * testsuite/binutils-all/cxxfilt.exp: Use the
765 --no-strip-underscore option for targets that do prefix their
766 symbols with underscores.
767 Update tests to eliminate those that use gnu v2 encoding.
769 2019-01-08 Tamar Christina <tamar.christina@arm.com>
772 * testsuite/binutils-all/copy-6.d: New test.
773 * testsuite/binutils-all/objcopy.exp: Use it.
775 2019-01-08 Alan Modra <amodra@gmail.com>
777 * testsuite/lib/binutils-common.exp (run_dump_test): Don't prepend
778 $srcdir/$subdir to source file name if it starts with "./".
780 2019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp>
782 * readelf.c (get_machine_flags): Add RXv3 output.
784 2019-01-04 Nick Clifton <nickc@redhat.com>
787 * objdump.c (load_specific_debug_section): Check for integer
788 overflow before attempting to allocate contents.
790 2019-01-04 Nick Clifton <nickc@redhat.com>
793 * objcopy.c (copy_object): Free dhandle after writing out the
795 * objdump.c (dump_bfd): Free dhandle after printing out the debug
799 2019-01-01 Alan Modra <amodra@gmail.com>
801 Update year range in copyright notice of all files.
803 For older changes see ChangeLog-2018
805 Copyright (C) 2019 Free Software Foundation, Inc.
807 Copying and distribution of this file, with or without modification,
808 are permitted in any medium without royalty provided the copyright
809 notice and this notice are preserved.
815 version-control: never