1 2019-08-07 Alan Modra <amodra@gmail.com>
4 * readelf.c (dump_ia64_unwind): Check that buffer is large
5 enough for "stamp" before reading.
7 2019-08-05 Nick Clifton <nickc@redhat.com>
10 * objcopy.c (merge_gnu_build_notes): Do not insist on the first
11 note being a version note.
12 Remove spurious debugging fprintf.
14 2019-08-05 Nick Clifton <nickc@redhat.com>
17 * readelf.c (apply_relocations): Catch potential integer overflow
18 whilst checking reloc location against section size.
20 2019-08-02 Alan Modra <amodra@gmail.com>
23 * readelf.c (ABSADDR): Delete.
24 (dump_ia64_unwind): Expand ABSADDR. Check validity of info.section.
26 2019-07-29 Martin Liska <mliska@suse.cz>
29 * nm.c (filter_symbols): Set report_plugin_err if
31 (display_rel_file): Report error for a missing LTO plugin.
33 2019-07-26 Alan Modra <amodra@gmail.com>
36 * dwarf.c (process_cu_tu_index): Avoid integer overflow on 64-bit
37 systems by casting ncols and nslots expressions to size_t. Display
38 number of columns and slots before giving up due to buffer overflow.
39 Use %u to display unsigned ints. Perform more pointer wrap tests.
41 2019-07-25 Tom Tromey <tromey@adacore.com>
44 * dwarf.c (display_debug_names): Display the contents of the
45 augmentation string, if it is printable.
47 2019-07-25 Nick Clifton <nickc@redhat.com>
50 * readelf.c (process_mips_specific): Check for buffer overflow
51 before reading reginfo information.
53 2019-07-24 Nick Clifton <nickc@redhat.com>
56 * ar.c (decode_options): Restart option scanning if no operation
57 is detected and argument remain to be scanned.
59 2019-07-23 Nick Clifton <nickc@redhat.com>
62 * objdump.c (is_relocateable): Delete.
63 (load_specific_debug_section): Test the abfd for relocations
64 directly, rather than relying upon is_relocateable.
65 (dump_dwarf): Delete initlialization of is_relocateable.
67 2019-07-23 Alan Modra <amodra@gmail.com>
69 * readelf.c (get_parisc_segment_type): Split off hpux entries..
70 (get_ia64_segment_type): ..and these..
71 (get_hpux_segment_type): ..to here.
72 (get_segment_type): Condition GNU_MBIND on osabi. Use
73 get_hpux_segment_type.
74 (get_symbol_binding): Do not print UNIQUE for ELFOSABI_NONE.
75 (get_symbol_type): Do not print IFUNC for ELFOSABI_NONE.
77 2019-07-23 Alan Modra <amodra@gmail.com>
79 * testsuite/binutils-all/objcopy.exp (elf64): Correct object
80 file used to set this variable.
82 2019-07-23 Omar Majid <omajid@redhat.com>
84 * Makefile.am (AUTOMAKE_OPTIONS): Add subdir-objects
85 (GENTESTDLLSPROG): Define.
86 (TEST_PROGS): Add GENTESTDLLSPROG.
87 * Makefile.in: Regenerate.
88 * testsuite/binutils-all/objdump.exp
89 (test_objdump_dotnet_assemblies): New proc.
91 * testsuite/gentestdlls.c: New source file.
93 2019-06-28 Nick Clifton <nickc@redhat.com>
96 * objdump.c (slurp_symtab): Fail with a helpful error message if
97 the symbol table is too large. Skip this check for MMO format
100 2019-06-26 Nick Clifton <nickc@redhat.com>
103 * bucomm.c (bfd_nonfatal): If no bfd error code has been set then
104 indicate this in the output.
105 (bfd_nonfatal_message): Likewise.
107 2019-06-25 Jan Beulich <jbeulich@suse.com>
109 * readelf.c (dump_ctf_indent_lines): Rename local variable
110 "spaces" to "blanks".
112 2019-06-25 Jan Beulich <jbeulich@suse.com>
114 * objdump.c (dump_ctf_indent_lines): Rename local variable
115 "spaces" to "blanks".
117 2019-06-14 Alan Modra <amodra@gmail.com>
119 * Makefile.in: Regenerate.
120 * aclocal.m4: Regenerate.
121 * doc/Makefile.in: Regenerate.
123 2019-06-12 Christos Zoulas <christos@zoulas.com>
126 * readelf.c (process_netbsd_elf_note): Add support for
128 (process_note): Add support for PaX notes.
130 2019-06-12 Christos Zoulas <christos@zoulas.com>
133 * readelf.c (get_netbsd_elfcore_note_type): Add support for SH
136 2019-06-12 Christos Zoulas <christos@zoulas.com>
139 * readelf.c (get_netbsd_elfcore_note_type): Add support for NetBSD
142 2019-06-11 Christos Zoulas <christos@zoulas.com>
145 * readelf.c (get_alpha_symbol_other): New function.
146 (get_symbol_other): Use for Alpha symbols.
147 (is_32bit_pcrel_reloc): Add R_VAX_PCREL32.
149 2019-06-11 Christos Zoulas <christos@zoulas.com>
152 * readelf.c (decode_arm_unwind): Ensure that the local variable
153 'addr' is always initialised.
155 2019-06-10 Christos Zoulas <christos@zoulas.com>
158 * strings.c (print_strings): Use %u to print unsigned values in
161 2019-06-10 Christos Zoulas <christos@zoulas.com>
164 * arsup.c (ar_open): Use asprintf in place of xmalloc and
167 2019-06-03 Nick Clifton <nickc@redhat.com>
170 2019-05-29 Nick Clifton <nickc@redhat.com>
172 * configure.ac (LIBCTF): Export. Set to empty for non-ELF based
174 (HAVE_LIBCTF): Define if libctf support is available.
175 * Makefile.am (LIBCTF): Set value to @LIBCTF@.
176 * objdump.c: Make CTF code conditional upon HAVE_LIBCTF being
178 * readelf.c: Likewise.
179 * configure: Regenerate.
180 * Makefile.in: Regenerate.
181 * config.in: Regenerate.
183 2019-05-30 Nick Alcock <nick.alcock@oracle.com>
185 * objdump.c (make_ctfsect): Drop cts_type, cts_flags, and
187 * readelf.c (shdr_to_ctf_sect): Likewise.
189 2019-05-30 Nick Clifton <nickc@redhat.com>
192 * readelf.c (process_version_sections): Add 0x prefix to address
193 display. Correct indentation.
195 2019-05-30 Alan Modra <amodra@gmail.com>
197 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Add
198 s12z to targets not supporting this feature.
200 2019-05-30 Alan Modra <amodra@gmail.com>
202 * testsuite/lib/binutils-common.exp (run_dump_test): Support
203 tcl procedures for xfail args.
205 2019-05-29 Nick Clifton <nickc@redhat.com>
207 * README-how-to-make-a-release: Add libctf to list of directories
208 that need updates in their ChangeLogs.
210 2019-05-29 Nick Clifton <nickc@redhat.com>
212 * configure.ac (LIBCTF): Export. Set to empty for non-ELF based
214 (HAVE_LIBCTF): Define if libctf support is available.
215 * Makefile.am (LIBCTF): Set value to @LIBCTF@.
216 * objdump.c: Make CTF code conditional upon HAVE_LIBCTF being
218 * readelf.c: Likewise.
219 * configure: Regenerate.
220 * Makefile.in: Regenerate.
221 * config.in: Regenerate.
223 2019-05-28 Nick Alcock <nick.alcock@oracle.com>
225 * MAINTAINERS: Add myself as CTF maintainer.
227 2019-05-28 Nick Alcock <nick.alcock@oracle.com>
229 * objdump.c (ctf-api.h): New include.
230 (dump_ctf_section_info): New variable.
231 (dump_ctf_section_name): Likewise.
232 (usage): Describe new options.
233 (enum option_values): Add OPTION_CTF and OPTION_CTF_PARENT.
234 (main): Use them to add --ctf and --ctf-parent.
235 (read_section_stabs): Add new parameter, entsize_ptr.
236 (find_stabs_section): Adjust accordingly.
238 (dump_ctf_indent_lines): New.
239 (dump_ctf_archive_member): New.
241 (dump_bfd): Call it. Free resources afterwards.
242 * readelf.c (ctf-api.h): New include.
244 (static bfd_boolean do_ctf): Likewise.
245 (dump_ctf_parent_name): Likewise.
246 (dump_ctf_symtab_name): Likewise.
247 (dump_ctf_strtab_name): Likewise.
248 (OPTION_CTF_DUMP): Likewise.
249 (OPTION_CTF_PARENT): Likewise.
250 (OPTION_CTF_SYMBOLS): Likewise.
251 (OPTION_CTF_STRINGS): Likewise.
254 (parse_args): Handle the new options, requesting CTF_DUMP.
255 (process_section_contents): Handle CTF_DUMP.
256 (shdr_to_ctf_sect): New.
257 (dump_ctf_indent_lines): New.
258 (dump_section_as_ctf): New.
259 (main): Free resources.
260 * Makefile.am (LIBCTF): New variable.
261 (objdump_DEPENDENCIES): Use it.
262 (readelf_DEPENDENCIES): Likewise.
263 (objdump_LDADD): Likewise.
264 (readelf_LDADD): Likewise.
265 * aclocal.m4: Regenerated.
266 * Makefile.in: Likewise.
268 * doc/binutils.texi (objdump): Document the new options.
270 * doc/ctf.options.texi: New.
271 * doc/Makefile.in: Regenerated.
272 * NEWS: Mention the new feature.
274 2019-05-27 Alan Modra <amodra@gmail.com>
276 * readelf.c (process_section_groups): Continue processing groups
277 when sh_entsize exceeds group size.
279 2019-05-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
281 * readelf.c (get_aarch64_dynamic_type): Handle DT_AARCH64_VARIANT_PCS.
282 (get_aarch64_symbol_other): New, handles STO_AARCH64_VARIANT_PCS.
283 (get_symbol_other): Call get_aarch64_symbol_other.
285 2019-05-24 Alan Modra <amodra@gmail.com>
287 * objdump.c (disassemble_bytes): Set WIDE_OUTPUT in flags.
289 2019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
291 * MAINTAINERS: Add myself as the maintainer for BPF.
293 2019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
295 * readelf.c: Include elf/bpf.h.
296 (guess_is_rela): Hanle EM_BPF.
297 (dump_relocations): Likewise.
298 (is_32bit_abs_reloc): Likewise.
299 * testsuite/binutils-all/nm.exp: Add bpf-*-* to the list of
302 2019-05-21 Tamar Christina <tamar.christina@arm.com>
304 * dwarf.c (dwarf_regnames_aarch64): Add SVE registers.
305 * testsuite/binutils-all/aarch64/sve-dwarf-registers.d: New test.
306 * testsuite/binutils-all/aarch64/sve-dwarf-registers.s: New test.
308 2019-05-20 Faraz Shahbazker <fshahbazker@wavecomp.com>
311 * testsuite/binutils-all/readelf.ss-mips: Update reference output.
312 * testsuite/binutils-all/readelf.ss-tmips: Likewise.
314 2019-05-20 Nick Clifton <nickc@redhat.com>
316 * po/ca.po: Updated Catalan translation.
318 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
320 * NEWS: Mention Armv8.1-M Mainline and MVE.
322 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
324 * readelf.c (arm_attr_tag_MVE_arch): New array for Tag_MVE_arch values.
325 (arm_attr_public_tag arm_attr_public_tags): Add case for Tag_MVE_arch.
327 2019-05-14 Jamey Hicks <jamey.hicks@gmail.com>
330 * objcopy.c: Add new option --verilog-data-width. Use it to set
331 the value of VerilogDataWidth.
332 * doc/binutils.texi: Document the new option.
333 * testsuite/binutils-all/objcopy.exp: Run tests of new option.
334 * testsuite/binutils-all/verilog-1.hex: New file.
335 * testsuite/binutils-all/verilog-2.hex: New file.
336 * testsuite/binutils-all/verilog-4.hex: New file.
337 * testsuite/binutils-all/verilog-8.hex: New file.
338 * NEWS: Mention the new feature.
340 2019-05-10 Alan Modra <amodra@gmail.com>
342 * testsuite/binutils-all/objdump.exp (test_objdump_disas_limited),
343 (test_objdump_content_limited): Add text arg, use in place of .text.
344 (bintest_signed.o): Call get_standard_section_names for name of
347 2019-05-08 Faraz Shahbazker <fshahbazker@wavecomp.com>
349 * objdump.c (sign_extend_address): New function.
350 (dump_bfd): Sign-extend user-specified start/stop addresses
351 for targets that need it.
352 * testsuite/binutils-all/objdump.exp: Add tests for objdump
353 with start and stop addresses in higher address ranges.
355 2019-05-01 Matthew Malcomson <matthew.malcomson@arm.com>
357 * testsuite/binutils-all/objdump.exp: Correct executable
359 * testsuite/binutils-all/compress.exp: Likewise.
361 2019-05-01 Nick Clifton <nickc@redhat.com>
364 * nm.c: (print_format): New variable.
365 (value_format_32bit, value_format_64bit): Delete.
366 (set_print_radix): Remove code to alter value_format strings.
367 (set_output_format): Record chosen format in print_format.
368 (get_print_format): New function - constructs a printf formatting
369 string according to the requirements of size, radix, and output
371 (print_value): Use get_print_format.
372 * testsuite/binutils-all/nm.exp: Add tests of "nm --format=posix"
375 2019-04-30 Alan Modra <amodra@gmail.com>
377 * wrstabs.c (stab_start_class_type): Add assert to work around
380 2019-04-24 Nick Clifton <nickc@redhat.com>
382 * objcopy.c (strip_main): Do not enable note merging by default if
383 just stripping debug or dwo information.
384 * doc/binutils.texi (strip): Update documentation.
386 2019-04-23 Nick Clifton <nickc@redhat.com>
388 * README-how-to-make-a-release: Add note to update the symbolic
389 link from "docs" to "docs-2.x" on the sourceware website.
391 2019-04-16 Alan Modra <amodra@gmail.com>
393 * testsuite/binutils-all/copy-2.d: Don't run for ns32k-*-*.
394 * testsuite/binutils-all/copy-3.d: Likewise.
396 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
398 * readelf.c (arm_attr_tag_CPU_arch): Add entry for Armv8.1-M Mainline.
400 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
402 * readelf.c (decode_x86_isa): Handle
403 GNU_PROPERTY_X86_ISA_1_AVX512_BF16.
404 * testsuite/binutils-all/i386/pr21231b.d: Updated.
405 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
407 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
409 * testsuite/binutils-all/nm.exp: Count i386-moss as ELF.
411 2019-03-26 Tamar Christina <tamar.christina@arm.com>
413 * testsuite/binutils-all/aarch64/in-order-all.d: Update.
414 * testsuite/binutils-all/aarch64/in-order.d: Likewise.
415 * testsuite/binutils-all/aarch64/out-of-order-all.d: Likewise.
416 * testsuite/binutils-all/aarch64/out-of-order.d: Likewise.
417 * testsuite/binutils-all/aarch64/out-of-order.s: Likewise.
418 * testsuite/binutils-all/arm/in-order-all.d: Likewise.
419 * testsuite/binutils-all/arm/in-order.d: Likewise.
420 * testsuite/binutils-all/arm/out-of-order-all.d: Likewise.
421 * testsuite/binutils-all/arm/out-of-order.d: Likewise.
422 * testsuite/binutils-all/arm/out-of-order.s: Likewise.
424 2019-03-26 Nick Clifton <nickc@redhat.com>
426 * MAINTAINERS: Take over Dave Brolley's maintainerships for FR30,
429 2019-03-26 Alan Modra <amodra@gmail.com>
431 * objdump.c (dump_relocs_in_section): Warning fix.
433 2019-03-25 Tamar Christina <tamar.christina@arm.com>
435 * testsuite/binutils-all/arm/in-order-all.d: New test.
436 * testsuite/binutils-all/arm/in-order.d: New test.
437 * testsuite/binutils-all/arm/objdump.exp: Support .d tests.
438 * testsuite/binutils-all/arm/out-of-order-all.d: New test.
439 * testsuite/binutils-all/arm/out-of-order.T: New test.
440 * testsuite/binutils-all/arm/out-of-order.d: New test.
441 * testsuite/binutils-all/arm/out-of-order.s: New test.
444 2019-03-25 Tamar Christina <tamar.christina@arm.com>
446 * testsuite/binutils-all/aarch64/in-order-all.d: New test.
447 * testsuite/binutils-all/aarch64/out-of-order-all.d: New test.
448 * testsuite/binutils-all/aarch64/out-of-order.d:
450 2019-03-25 Tamar Christina <tamar.christina@arm.com>
452 * testsuite/binutils-all/aarch64/in-order.d: New test.
453 * testsuite/binutils-all/aarch64/out-of-order.d: Disassemble data as
456 2019-03-25 Tamar Christina <tamar.christina@arm.com>
458 * objdump.c (disassemble_bytes): Pass stop_offset.
459 * testsuite/binutils-all/aarch64/out-of-order.T: New test.
460 * testsuite/binutils-all/aarch64/out-of-order.d: New test.
461 * testsuite/binutils-all/aarch64/out-of-order.s: New test.
463 2019-03-19 Nick Clifton <nickc@redhat.com>
466 * objdump.c (load_specific_debug_section): Check that the amount
467 of memory to be allocated matches the size of the section.
469 2019-03-13 Sudakshina Das <sudi.das@arm.com>
471 * readelf.c (get_aarch64_dynamic_type): Add case for
473 (dynamic_section_aarch64_val): Likewise.
475 2019-03-13 Sudakshina Das <sudi.das@arm.com>
476 Szabolcs Nagy <szabolcs.nagy@arm.com>
478 * readelf.c (get_aarch64_dynamic_type): New.
479 (get_dynamic_type): Use above for EM_AARCH64.
480 (dynamic_section_aarch64_val): New.
481 (process_dynamic_section): Use above for EM_AARCH64.
483 2019-03-13 Sudakshina Das <sudi.das@arm.com>
485 * readelf.c (decode_aarch64_feature_1_and): New.
486 (print_gnu_property_note): Add case for AArch64 gnu notes.
488 2019-03-12 Alan Modra <amodra@gmail.com>
490 * objdump.c (load_specific_debug_section): Don't compare section
491 size against file size.
492 (dump_relocs_in_section): Don't compare reloc size against file size.
493 Print "failed to read relocs" on bfd_get_reloc_upper_bound error.
495 2019-03-05 Nick Clifton <nickc@redhat.com>
498 * doc/binutils.texi (ar cmdline): Fix spelling mistake.
500 2019-03-05 Nick Clifton <nickc@redhat.com>
502 * po/sv.po: Updated Swedish translation.
504 2019-03-05 Matthew Malcomson <matthew.malcomson@arm.com>
507 * testsuite/lib/binutils-common.exp (run_dump_test): Replace a use
508 of "lmap" with a "foreach" loop.
510 2019-03-04 Nick Clifton <nickc@redhat.com>
513 * objcopy.c (copy_archive): Do not copy thin archives.
515 2019-02-27 Matthew Malcomson <matthew.malcomson@arm.com>
517 * testsuite/lib/binutils-common.exp: Allow multiple "as" lines.
519 2019-02-25 Nick Clifton <nickc@redhat.com>
521 * objdump.c (sym_ok): New function.
522 (find_symbol_for_address): Use new function.
523 (disassemble_section): Compare sections by name, not pointer.
524 (dump_dwarf): Move code to initialise byte_get pointer and iterate
525 over separate debug files from here to ...
526 (dump_bfd): ... here. Add parameter indicating that a separate
527 debug info file is being dumped. For main file, pull in the
528 symbol tables from all separate debug info files.
529 (display_object): Update call to dump_bfd.
530 * doc/binutils.texi: Document extened behaviour of the
531 --dwarf=follow-links option.
532 * NEWS: Mention this new feature.
533 * testsuite/binutils-all/objdump.WK2: Update expected output.
534 * testsuite/binutils-all/objdump.exp (test_follow_debuglink): Add
535 options and dump file parameters.
537 * testsuite/binutils-all/objdump.WK3: New file.
538 * testsuite/binutils-all/readelf.exp: Change expected output for
540 * testsuite/binutils-all/readelf.wKis: New file.
542 2019-02-22 Nick Clifton <nickc@redhat.com>
545 * dwarf.h (struct separate_info): New structure for containing
546 information on separate debug info files.
547 * dwarf.c (struct dwo_info): New structure for containing dwo
549 (first_dwo_info): Chain of dwo_info structures.
550 (first_separate_file): Chain of separate_info structures.
551 (separate_debug_file, separate_debug_filename): Delete.
552 (fetch_alt_indirect_string): Scan all separate debug info files
553 for the requested string.
554 (add_dwo_info): New function.
555 (add_dwo_name): New function.
556 (add_dwo_dir): New function.
557 (add_dwo_id: New function.
558 (free_dwo_info): New function.
559 (read_and_display_attr_value): Store DWO data using the new
561 (load_debug_section_with_follow): If necessary, scan the list of
562 separate debug info files for the requested section.
563 (add_separate_debug_file): New function.
564 (load_separate_debug_info): Call add_separate_debug_file to store
565 the information on the newly loaded file.
566 (load_dwo_file): Likewise.
567 (load_separate_debif_file): Rename to load_separate_debug_files.
568 Change return type to boolean. If following links then attempt to
569 load all separate debug info files, not just the first one.
570 (free_debug_memory): Release memory in dwo_info and separate_info
572 * objdump.c (dump_dwarf): Iterate over all loaded debg info files.
573 * readelf.c (process_object): Likewise.
574 * doc/debug.options.texi: Update descriptions of links and
575 follow-links options.
576 * testsuite/binutils-all/objdump.WK2: Update expected output.
577 * testsuite/binutils-all/readelf.k2: Likewise.
578 * NEWS: Announce the new feature.
580 2019-02-21 Nick Clifton <nickc@redhat.com>
583 * unwind-ia64.c: Include sysdep.h.
584 (unw_decode_x1): Check current pointer against end pointer before
586 (unw_decode_x2): Likewise.
587 (unw_decode_x3): Likewise.
588 (unw_decode_x4): Likewise.
589 (unw_decode_r2): Likewise.
590 (unw_decode_p2_p5): Likewise.
591 (unw_decode_p7_p10): Likewise.
592 (unw_decode): Likewise.
594 2019-02-20 Nick Clifton <nickc@redhat.com>
597 * readelf.c (print_stapsdt_note): Harden against corrupt notes.
600 * unwind-ia64.c (unw_decode_uleb128): Add end parameter, use it to
601 prevent walking off the end of the buffer.
602 (unw_decode_x1): Add end paramter, pass it to unw_decode_uleb128.
603 (unw_decode_x2): Likewise.
604 (unw_decode_x3): Likewise.
605 (unw_decode_x4): Likewise.
606 (unw_decode_r2): Pass the end parameter to unw_decode_uleb128.
607 (unw_decode_r3): Likewise.
608 (unw_decode_p7_p10): Likewise.
609 (unw_decode_b2): Likewise.
610 (unw_decode_b3_x4): Likewise.
613 * readelf.c (process_mips_specific): Check for an options section
614 that is too small to even contain a single option.
617 * readelf.c (print_ia64_vms_note): Harden against corrupt notes.
619 2019-02-20 Alan Modra <amodra@gmail.com>
623 * readelf.c (get_data): Avoid possibility of overflow when
624 checking for a read that may extend past end of file.
625 (process_program_headers): Likewise.
627 2019-02-20 Alan Modra <amodra@gmail.com>
630 * objdump.c (dump_bfd_private_header): Print warning if
631 bfd_print_private_bfd_data returns false.
633 2019-02-12 Nick Clifton <nickc@redhat.com>
636 * README-how-to-make-a-release: Use git clean to delete spurious
637 files from the local source repository.
639 2019-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
641 * size.c (berkeley_format): Delete.
642 (enum output_format): New enum.
643 (selected_output_format): New variable.
644 (usage): Update to mention GNU format.
645 (main): Update to extract options, and select format as needed.
646 Handle GNU format where needed.
647 (berkeley_sum): Renamed to...
648 (berkeley_or_gnu_sum): ...this, and updated to handle both formats.
649 (berkeley_format): Renamed to...
650 (berkeley_or_gnu_format): ...this, and updated to handle both
652 (print_sizes): Handle GNU format.
653 * doc/binutils.texi (size): Document new GNU format.
654 * testsuite/binutils-all/size.exp: Add test of extended
656 * NEWS: Mention new functionality.
658 2019-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
660 * doc/binutils.texi (size): Update example output for Berkeley
663 2019-02-07 Nick Clifton <nickc@redhat.com>
665 * README-how-to-make-a-release: Add a note about updating the
666 obsolete targets in the bfd/config.bfd file.
668 2019-02-04 Nick Clifton <nickc@redhat.com>
670 * README-how-to-make-a-release: Add more notes on making a release.
672 2019-01-25 Nick Clifton <nickc@redhat.com>
675 * readelf.c (process_notes_at): Prevent an illegal memory access
676 when the note's namesize is zero.
677 (decode_tic6x_unwind_bytecode): Add code to handle the case where
678 no registers are specified in a frame pop instruction.
680 2019-01-25 Nick Clifton <nickc@redhat.com>
682 * po/bg.po: Updated Bulgarian translation.
684 2019-01-23 Nick Clifton <nickc@redhat.com>
686 * po/fr.po: Updated French translation.
687 * po/pt.po: Updated Portuguese translation.
689 2019-01-21 Nick Clifton <nickc@redhat.com>
691 * po/uk.po: Updated Ukranian translation.
693 2019-01-19 Nick Clifton <nickc@redhat.com>
695 * configure: Regenerate.
696 * binutils/po/binutils.pot.
698 * README-how-to-make-a-release: Update description on how to make
701 2018-06-24 Nick Clifton <nickc@redhat.com>
705 2019-01-17 Nick Clifton <nickc@redhat.com>
707 * objdump.c (disassemble_section): When disassembling from a
708 symbol only stop at the next symbol if the original symbol was not
709 a function symbol. Otherwise continue disassembling until a new
711 * testsuite/binutils-all/objdump.exp: Add tests of extended
713 * testsuite/binutils-all/disasm.s: New test source file.
715 2019-01-16 Kito Cheng <kito@andestech.com>
716 Nelson Chu <nelson@andestech.com>
718 * readelf.c (get_riscv_section_type_name): New function.
719 (get_section_type_name): Add handler for RISC-V.
720 (riscv_attr_tag_t): Declare.
721 (riscv_attr_tag): New.
722 (display_riscv_attribute): New function.
723 (process_attributes): Add handler for RISC-V.
724 * testsuite/binutils-all/strip-3.d: Remove .riscv.attribute
727 2019-01-10 Nick Clifton <nickc@redhat.com>
730 * objdump.c (sanitize_string): New function. Removes control
731 characters from symbol names.
732 (dump_section_header): Use new function.
733 (objdump_print_symname): Likewise.
734 (objdump_print_addr_with_sym): Likewise.
735 (show_line): Likewise.
736 (disassemble_bytes): Likewise.
737 (disassemble_section): Likewise.
738 (load_specific_debug_section): Likewise.
739 (read_section_stabs): Likewise.
740 (print_section_stabs): Likewise.
741 (dump_section): Likewise.
742 (dump_reloc_set): Likewise.
743 (dump_relocs_in_section): Likewise.
744 (dump_bfd): Likewise.
745 (display_any_bfd): Likewise.
747 2019-01-09 Nick Clifton <nickc@redhat.com>
750 * readelf.c (process_archive): Use arch.file_name in error
751 messages until the qualified name is available.
753 2019-01-09 Andrew Paprocki <andrew@ishiboo.com>
755 * configure: Regenerate.
757 2019-01-09 Alan Modra <amodra@gmail.com>
759 * testsuite/binutils-all/cxxfilt.exp: Pass --no-strip-underscores
760 unconditionally to tests needing the option rather than via a
763 2019-01-08 Nick Clifton <nickc@redhat.com>
766 * cxxfilt.c (hp_symbol_characters): Delete.
767 (main): Remove depcreated demangling styles.
768 * stabs.c (parse_stab_argtypes): Remove support for old gnu v2
770 * testsuite/binutils-all/cxxfilt.exp: Use the
771 --no-strip-underscore option for targets that do prefix their
772 symbols with underscores.
773 Update tests to eliminate those that use gnu v2 encoding.
775 2019-01-08 Tamar Christina <tamar.christina@arm.com>
778 * testsuite/binutils-all/copy-6.d: New test.
779 * testsuite/binutils-all/objcopy.exp: Use it.
781 2019-01-08 Alan Modra <amodra@gmail.com>
783 * testsuite/lib/binutils-common.exp (run_dump_test): Don't prepend
784 $srcdir/$subdir to source file name if it starts with "./".
786 2019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp>
788 * readelf.c (get_machine_flags): Add RXv3 output.
790 2019-01-04 Nick Clifton <nickc@redhat.com>
793 * objdump.c (load_specific_debug_section): Check for integer
794 overflow before attempting to allocate contents.
796 2019-01-04 Nick Clifton <nickc@redhat.com>
799 * objcopy.c (copy_object): Free dhandle after writing out the
801 * objdump.c (dump_bfd): Free dhandle after printing out the debug
805 2019-01-01 Alan Modra <amodra@gmail.com>
807 Update year range in copyright notice of all files.
809 For older changes see ChangeLog-2018
811 Copyright (C) 2019 Free Software Foundation, Inc.
813 Copying and distribution of this file, with or without modification,
814 are permitted in any medium without royalty provided the copyright
815 notice and this notice are preserved.
821 version-control: never