1 2019-08-08 Alan Modra <amodra@gmail.com>
3 * readelf.c (get_data): Improve overflow checks.
5 2019-08-07 Nick Clifton <nickc@redhat.com>
8 * doc/binutils.texi: Ensure consistent formating of title strings
9 for man pages. Extend the title of the size man page to be more
12 2019-08-07 Omair Majid <omajid@redhat.com>
14 * testsuite/binutils-all/objdump.exp
15 (test_objdump_dotnet_assemblies): Fix test to distinguish errors
16 in parsing simple pei-i386 and pei-x86-64 vs parsing the newly
17 introduced machine types.
18 * testsuite/gentestdlls.c (write_simple_dll): New function.
19 (main): Generate simple and Linux-specific variants of pei-i386
20 and pei-x86-64 files so both can be used by tests.
22 2019-08-07 Alan Modra <amodra@gmail.com>
25 * readelf.c (dump_ia64_unwind): Check that buffer is large
26 enough for "stamp" before reading.
28 2019-08-05 Nick Clifton <nickc@redhat.com>
31 * objcopy.c (merge_gnu_build_notes): Do not insist on the first
32 note being a version note.
33 Remove spurious debugging fprintf.
35 2019-08-05 Nick Clifton <nickc@redhat.com>
38 * readelf.c (apply_relocations): Catch potential integer overflow
39 whilst checking reloc location against section size.
41 2019-08-02 Alan Modra <amodra@gmail.com>
44 * readelf.c (ABSADDR): Delete.
45 (dump_ia64_unwind): Expand ABSADDR. Check validity of info.section.
47 2019-07-29 Martin Liska <mliska@suse.cz>
50 * nm.c (filter_symbols): Set report_plugin_err if
52 (display_rel_file): Report error for a missing LTO plugin.
54 2019-07-26 Alan Modra <amodra@gmail.com>
57 * dwarf.c (process_cu_tu_index): Avoid integer overflow on 64-bit
58 systems by casting ncols and nslots expressions to size_t. Display
59 number of columns and slots before giving up due to buffer overflow.
60 Use %u to display unsigned ints. Perform more pointer wrap tests.
62 2019-07-25 Tom Tromey <tromey@adacore.com>
65 * dwarf.c (display_debug_names): Display the contents of the
66 augmentation string, if it is printable.
68 2019-07-25 Nick Clifton <nickc@redhat.com>
71 * readelf.c (process_mips_specific): Check for buffer overflow
72 before reading reginfo information.
74 2019-07-24 Nick Clifton <nickc@redhat.com>
77 * ar.c (decode_options): Restart option scanning if no operation
78 is detected and argument remain to be scanned.
80 2019-07-23 Nick Clifton <nickc@redhat.com>
83 * objdump.c (is_relocateable): Delete.
84 (load_specific_debug_section): Test the abfd for relocations
85 directly, rather than relying upon is_relocateable.
86 (dump_dwarf): Delete initlialization of is_relocateable.
88 2019-07-23 Alan Modra <amodra@gmail.com>
90 * readelf.c (get_parisc_segment_type): Split off hpux entries..
91 (get_ia64_segment_type): ..and these..
92 (get_hpux_segment_type): ..to here.
93 (get_segment_type): Condition GNU_MBIND on osabi. Use
94 get_hpux_segment_type.
95 (get_symbol_binding): Do not print UNIQUE for ELFOSABI_NONE.
96 (get_symbol_type): Do not print IFUNC for ELFOSABI_NONE.
98 2019-07-23 Alan Modra <amodra@gmail.com>
100 * testsuite/binutils-all/objcopy.exp (elf64): Correct object
101 file used to set this variable.
103 2019-07-23 Omar Majid <omajid@redhat.com>
105 * Makefile.am (AUTOMAKE_OPTIONS): Add subdir-objects
106 (GENTESTDLLSPROG): Define.
107 (TEST_PROGS): Add GENTESTDLLSPROG.
108 * Makefile.in: Regenerate.
109 * testsuite/binutils-all/objdump.exp
110 (test_objdump_dotnet_assemblies): New proc.
112 * testsuite/gentestdlls.c: New source file.
114 2019-06-28 Nick Clifton <nickc@redhat.com>
117 * objdump.c (slurp_symtab): Fail with a helpful error message if
118 the symbol table is too large. Skip this check for MMO format
121 2019-06-26 Nick Clifton <nickc@redhat.com>
124 * bucomm.c (bfd_nonfatal): If no bfd error code has been set then
125 indicate this in the output.
126 (bfd_nonfatal_message): Likewise.
128 2019-06-25 Jan Beulich <jbeulich@suse.com>
130 * readelf.c (dump_ctf_indent_lines): Rename local variable
131 "spaces" to "blanks".
133 2019-06-25 Jan Beulich <jbeulich@suse.com>
135 * objdump.c (dump_ctf_indent_lines): Rename local variable
136 "spaces" to "blanks".
138 2019-06-14 Alan Modra <amodra@gmail.com>
140 * Makefile.in: Regenerate.
141 * aclocal.m4: Regenerate.
142 * doc/Makefile.in: Regenerate.
144 2019-06-12 Christos Zoulas <christos@zoulas.com>
147 * readelf.c (process_netbsd_elf_note): Add support for
149 (process_note): Add support for PaX notes.
151 2019-06-12 Christos Zoulas <christos@zoulas.com>
154 * readelf.c (get_netbsd_elfcore_note_type): Add support for SH
157 2019-06-12 Christos Zoulas <christos@zoulas.com>
160 * readelf.c (get_netbsd_elfcore_note_type): Add support for NetBSD
163 2019-06-11 Christos Zoulas <christos@zoulas.com>
166 * readelf.c (get_alpha_symbol_other): New function.
167 (get_symbol_other): Use for Alpha symbols.
168 (is_32bit_pcrel_reloc): Add R_VAX_PCREL32.
170 2019-06-11 Christos Zoulas <christos@zoulas.com>
173 * readelf.c (decode_arm_unwind): Ensure that the local variable
174 'addr' is always initialised.
176 2019-06-10 Christos Zoulas <christos@zoulas.com>
179 * strings.c (print_strings): Use %u to print unsigned values in
182 2019-06-10 Christos Zoulas <christos@zoulas.com>
185 * arsup.c (ar_open): Use asprintf in place of xmalloc and
188 2019-06-03 Nick Clifton <nickc@redhat.com>
191 2019-05-29 Nick Clifton <nickc@redhat.com>
193 * configure.ac (LIBCTF): Export. Set to empty for non-ELF based
195 (HAVE_LIBCTF): Define if libctf support is available.
196 * Makefile.am (LIBCTF): Set value to @LIBCTF@.
197 * objdump.c: Make CTF code conditional upon HAVE_LIBCTF being
199 * readelf.c: Likewise.
200 * configure: Regenerate.
201 * Makefile.in: Regenerate.
202 * config.in: Regenerate.
204 2019-05-30 Nick Alcock <nick.alcock@oracle.com>
206 * objdump.c (make_ctfsect): Drop cts_type, cts_flags, and
208 * readelf.c (shdr_to_ctf_sect): Likewise.
210 2019-05-30 Nick Clifton <nickc@redhat.com>
213 * readelf.c (process_version_sections): Add 0x prefix to address
214 display. Correct indentation.
216 2019-05-30 Alan Modra <amodra@gmail.com>
218 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Add
219 s12z to targets not supporting this feature.
221 2019-05-30 Alan Modra <amodra@gmail.com>
223 * testsuite/lib/binutils-common.exp (run_dump_test): Support
224 tcl procedures for xfail args.
226 2019-05-29 Nick Clifton <nickc@redhat.com>
228 * README-how-to-make-a-release: Add libctf to list of directories
229 that need updates in their ChangeLogs.
231 2019-05-29 Nick Clifton <nickc@redhat.com>
233 * configure.ac (LIBCTF): Export. Set to empty for non-ELF based
235 (HAVE_LIBCTF): Define if libctf support is available.
236 * Makefile.am (LIBCTF): Set value to @LIBCTF@.
237 * objdump.c: Make CTF code conditional upon HAVE_LIBCTF being
239 * readelf.c: Likewise.
240 * configure: Regenerate.
241 * Makefile.in: Regenerate.
242 * config.in: Regenerate.
244 2019-05-28 Nick Alcock <nick.alcock@oracle.com>
246 * MAINTAINERS: Add myself as CTF maintainer.
248 2019-05-28 Nick Alcock <nick.alcock@oracle.com>
250 * objdump.c (ctf-api.h): New include.
251 (dump_ctf_section_info): New variable.
252 (dump_ctf_section_name): Likewise.
253 (usage): Describe new options.
254 (enum option_values): Add OPTION_CTF and OPTION_CTF_PARENT.
255 (main): Use them to add --ctf and --ctf-parent.
256 (read_section_stabs): Add new parameter, entsize_ptr.
257 (find_stabs_section): Adjust accordingly.
259 (dump_ctf_indent_lines): New.
260 (dump_ctf_archive_member): New.
262 (dump_bfd): Call it. Free resources afterwards.
263 * readelf.c (ctf-api.h): New include.
265 (static bfd_boolean do_ctf): Likewise.
266 (dump_ctf_parent_name): Likewise.
267 (dump_ctf_symtab_name): Likewise.
268 (dump_ctf_strtab_name): Likewise.
269 (OPTION_CTF_DUMP): Likewise.
270 (OPTION_CTF_PARENT): Likewise.
271 (OPTION_CTF_SYMBOLS): Likewise.
272 (OPTION_CTF_STRINGS): Likewise.
275 (parse_args): Handle the new options, requesting CTF_DUMP.
276 (process_section_contents): Handle CTF_DUMP.
277 (shdr_to_ctf_sect): New.
278 (dump_ctf_indent_lines): New.
279 (dump_section_as_ctf): New.
280 (main): Free resources.
281 * Makefile.am (LIBCTF): New variable.
282 (objdump_DEPENDENCIES): Use it.
283 (readelf_DEPENDENCIES): Likewise.
284 (objdump_LDADD): Likewise.
285 (readelf_LDADD): Likewise.
286 * aclocal.m4: Regenerated.
287 * Makefile.in: Likewise.
289 * doc/binutils.texi (objdump): Document the new options.
291 * doc/ctf.options.texi: New.
292 * doc/Makefile.in: Regenerated.
293 * NEWS: Mention the new feature.
295 2019-05-27 Alan Modra <amodra@gmail.com>
297 * readelf.c (process_section_groups): Continue processing groups
298 when sh_entsize exceeds group size.
300 2019-05-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
302 * readelf.c (get_aarch64_dynamic_type): Handle DT_AARCH64_VARIANT_PCS.
303 (get_aarch64_symbol_other): New, handles STO_AARCH64_VARIANT_PCS.
304 (get_symbol_other): Call get_aarch64_symbol_other.
306 2019-05-24 Alan Modra <amodra@gmail.com>
308 * objdump.c (disassemble_bytes): Set WIDE_OUTPUT in flags.
310 2019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
312 * MAINTAINERS: Add myself as the maintainer for BPF.
314 2019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
316 * readelf.c: Include elf/bpf.h.
317 (guess_is_rela): Hanle EM_BPF.
318 (dump_relocations): Likewise.
319 (is_32bit_abs_reloc): Likewise.
320 * testsuite/binutils-all/nm.exp: Add bpf-*-* to the list of
323 2019-05-21 Tamar Christina <tamar.christina@arm.com>
325 * dwarf.c (dwarf_regnames_aarch64): Add SVE registers.
326 * testsuite/binutils-all/aarch64/sve-dwarf-registers.d: New test.
327 * testsuite/binutils-all/aarch64/sve-dwarf-registers.s: New test.
329 2019-05-20 Faraz Shahbazker <fshahbazker@wavecomp.com>
332 * testsuite/binutils-all/readelf.ss-mips: Update reference output.
333 * testsuite/binutils-all/readelf.ss-tmips: Likewise.
335 2019-05-20 Nick Clifton <nickc@redhat.com>
337 * po/ca.po: Updated Catalan translation.
339 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
341 * NEWS: Mention Armv8.1-M Mainline and MVE.
343 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
345 * readelf.c (arm_attr_tag_MVE_arch): New array for Tag_MVE_arch values.
346 (arm_attr_public_tag arm_attr_public_tags): Add case for Tag_MVE_arch.
348 2019-05-14 Jamey Hicks <jamey.hicks@gmail.com>
351 * objcopy.c: Add new option --verilog-data-width. Use it to set
352 the value of VerilogDataWidth.
353 * doc/binutils.texi: Document the new option.
354 * testsuite/binutils-all/objcopy.exp: Run tests of new option.
355 * testsuite/binutils-all/verilog-1.hex: New file.
356 * testsuite/binutils-all/verilog-2.hex: New file.
357 * testsuite/binutils-all/verilog-4.hex: New file.
358 * testsuite/binutils-all/verilog-8.hex: New file.
359 * NEWS: Mention the new feature.
361 2019-05-10 Alan Modra <amodra@gmail.com>
363 * testsuite/binutils-all/objdump.exp (test_objdump_disas_limited),
364 (test_objdump_content_limited): Add text arg, use in place of .text.
365 (bintest_signed.o): Call get_standard_section_names for name of
368 2019-05-08 Faraz Shahbazker <fshahbazker@wavecomp.com>
370 * objdump.c (sign_extend_address): New function.
371 (dump_bfd): Sign-extend user-specified start/stop addresses
372 for targets that need it.
373 * testsuite/binutils-all/objdump.exp: Add tests for objdump
374 with start and stop addresses in higher address ranges.
376 2019-05-01 Matthew Malcomson <matthew.malcomson@arm.com>
378 * testsuite/binutils-all/objdump.exp: Correct executable
380 * testsuite/binutils-all/compress.exp: Likewise.
382 2019-05-01 Nick Clifton <nickc@redhat.com>
385 * nm.c: (print_format): New variable.
386 (value_format_32bit, value_format_64bit): Delete.
387 (set_print_radix): Remove code to alter value_format strings.
388 (set_output_format): Record chosen format in print_format.
389 (get_print_format): New function - constructs a printf formatting
390 string according to the requirements of size, radix, and output
392 (print_value): Use get_print_format.
393 * testsuite/binutils-all/nm.exp: Add tests of "nm --format=posix"
396 2019-04-30 Alan Modra <amodra@gmail.com>
398 * wrstabs.c (stab_start_class_type): Add assert to work around
401 2019-04-24 Nick Clifton <nickc@redhat.com>
403 * objcopy.c (strip_main): Do not enable note merging by default if
404 just stripping debug or dwo information.
405 * doc/binutils.texi (strip): Update documentation.
407 2019-04-23 Nick Clifton <nickc@redhat.com>
409 * README-how-to-make-a-release: Add note to update the symbolic
410 link from "docs" to "docs-2.x" on the sourceware website.
412 2019-04-16 Alan Modra <amodra@gmail.com>
414 * testsuite/binutils-all/copy-2.d: Don't run for ns32k-*-*.
415 * testsuite/binutils-all/copy-3.d: Likewise.
417 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
419 * readelf.c (arm_attr_tag_CPU_arch): Add entry for Armv8.1-M Mainline.
421 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
423 * readelf.c (decode_x86_isa): Handle
424 GNU_PROPERTY_X86_ISA_1_AVX512_BF16.
425 * testsuite/binutils-all/i386/pr21231b.d: Updated.
426 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
428 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
430 * testsuite/binutils-all/nm.exp: Count i386-moss as ELF.
432 2019-03-26 Tamar Christina <tamar.christina@arm.com>
434 * testsuite/binutils-all/aarch64/in-order-all.d: Update.
435 * testsuite/binutils-all/aarch64/in-order.d: Likewise.
436 * testsuite/binutils-all/aarch64/out-of-order-all.d: Likewise.
437 * testsuite/binutils-all/aarch64/out-of-order.d: Likewise.
438 * testsuite/binutils-all/aarch64/out-of-order.s: Likewise.
439 * testsuite/binutils-all/arm/in-order-all.d: Likewise.
440 * testsuite/binutils-all/arm/in-order.d: Likewise.
441 * testsuite/binutils-all/arm/out-of-order-all.d: Likewise.
442 * testsuite/binutils-all/arm/out-of-order.d: Likewise.
443 * testsuite/binutils-all/arm/out-of-order.s: Likewise.
445 2019-03-26 Nick Clifton <nickc@redhat.com>
447 * MAINTAINERS: Take over Dave Brolley's maintainerships for FR30,
450 2019-03-26 Alan Modra <amodra@gmail.com>
452 * objdump.c (dump_relocs_in_section): Warning fix.
454 2019-03-25 Tamar Christina <tamar.christina@arm.com>
456 * testsuite/binutils-all/arm/in-order-all.d: New test.
457 * testsuite/binutils-all/arm/in-order.d: New test.
458 * testsuite/binutils-all/arm/objdump.exp: Support .d tests.
459 * testsuite/binutils-all/arm/out-of-order-all.d: New test.
460 * testsuite/binutils-all/arm/out-of-order.T: New test.
461 * testsuite/binutils-all/arm/out-of-order.d: New test.
462 * testsuite/binutils-all/arm/out-of-order.s: New test.
465 2019-03-25 Tamar Christina <tamar.christina@arm.com>
467 * testsuite/binutils-all/aarch64/in-order-all.d: New test.
468 * testsuite/binutils-all/aarch64/out-of-order-all.d: New test.
469 * testsuite/binutils-all/aarch64/out-of-order.d:
471 2019-03-25 Tamar Christina <tamar.christina@arm.com>
473 * testsuite/binutils-all/aarch64/in-order.d: New test.
474 * testsuite/binutils-all/aarch64/out-of-order.d: Disassemble data as
477 2019-03-25 Tamar Christina <tamar.christina@arm.com>
479 * objdump.c (disassemble_bytes): Pass stop_offset.
480 * testsuite/binutils-all/aarch64/out-of-order.T: New test.
481 * testsuite/binutils-all/aarch64/out-of-order.d: New test.
482 * testsuite/binutils-all/aarch64/out-of-order.s: New test.
484 2019-03-19 Nick Clifton <nickc@redhat.com>
487 * objdump.c (load_specific_debug_section): Check that the amount
488 of memory to be allocated matches the size of the section.
490 2019-03-13 Sudakshina Das <sudi.das@arm.com>
492 * readelf.c (get_aarch64_dynamic_type): Add case for
494 (dynamic_section_aarch64_val): Likewise.
496 2019-03-13 Sudakshina Das <sudi.das@arm.com>
497 Szabolcs Nagy <szabolcs.nagy@arm.com>
499 * readelf.c (get_aarch64_dynamic_type): New.
500 (get_dynamic_type): Use above for EM_AARCH64.
501 (dynamic_section_aarch64_val): New.
502 (process_dynamic_section): Use above for EM_AARCH64.
504 2019-03-13 Sudakshina Das <sudi.das@arm.com>
506 * readelf.c (decode_aarch64_feature_1_and): New.
507 (print_gnu_property_note): Add case for AArch64 gnu notes.
509 2019-03-12 Alan Modra <amodra@gmail.com>
511 * objdump.c (load_specific_debug_section): Don't compare section
512 size against file size.
513 (dump_relocs_in_section): Don't compare reloc size against file size.
514 Print "failed to read relocs" on bfd_get_reloc_upper_bound error.
516 2019-03-05 Nick Clifton <nickc@redhat.com>
519 * doc/binutils.texi (ar cmdline): Fix spelling mistake.
521 2019-03-05 Nick Clifton <nickc@redhat.com>
523 * po/sv.po: Updated Swedish translation.
525 2019-03-05 Matthew Malcomson <matthew.malcomson@arm.com>
528 * testsuite/lib/binutils-common.exp (run_dump_test): Replace a use
529 of "lmap" with a "foreach" loop.
531 2019-03-04 Nick Clifton <nickc@redhat.com>
534 * objcopy.c (copy_archive): Do not copy thin archives.
536 2019-02-27 Matthew Malcomson <matthew.malcomson@arm.com>
538 * testsuite/lib/binutils-common.exp: Allow multiple "as" lines.
540 2019-02-25 Nick Clifton <nickc@redhat.com>
542 * objdump.c (sym_ok): New function.
543 (find_symbol_for_address): Use new function.
544 (disassemble_section): Compare sections by name, not pointer.
545 (dump_dwarf): Move code to initialise byte_get pointer and iterate
546 over separate debug files from here to ...
547 (dump_bfd): ... here. Add parameter indicating that a separate
548 debug info file is being dumped. For main file, pull in the
549 symbol tables from all separate debug info files.
550 (display_object): Update call to dump_bfd.
551 * doc/binutils.texi: Document extened behaviour of the
552 --dwarf=follow-links option.
553 * NEWS: Mention this new feature.
554 * testsuite/binutils-all/objdump.WK2: Update expected output.
555 * testsuite/binutils-all/objdump.exp (test_follow_debuglink): Add
556 options and dump file parameters.
558 * testsuite/binutils-all/objdump.WK3: New file.
559 * testsuite/binutils-all/readelf.exp: Change expected output for
561 * testsuite/binutils-all/readelf.wKis: New file.
563 2019-02-22 Nick Clifton <nickc@redhat.com>
566 * dwarf.h (struct separate_info): New structure for containing
567 information on separate debug info files.
568 * dwarf.c (struct dwo_info): New structure for containing dwo
570 (first_dwo_info): Chain of dwo_info structures.
571 (first_separate_file): Chain of separate_info structures.
572 (separate_debug_file, separate_debug_filename): Delete.
573 (fetch_alt_indirect_string): Scan all separate debug info files
574 for the requested string.
575 (add_dwo_info): New function.
576 (add_dwo_name): New function.
577 (add_dwo_dir): New function.
578 (add_dwo_id: New function.
579 (free_dwo_info): New function.
580 (read_and_display_attr_value): Store DWO data using the new
582 (load_debug_section_with_follow): If necessary, scan the list of
583 separate debug info files for the requested section.
584 (add_separate_debug_file): New function.
585 (load_separate_debug_info): Call add_separate_debug_file to store
586 the information on the newly loaded file.
587 (load_dwo_file): Likewise.
588 (load_separate_debif_file): Rename to load_separate_debug_files.
589 Change return type to boolean. If following links then attempt to
590 load all separate debug info files, not just the first one.
591 (free_debug_memory): Release memory in dwo_info and separate_info
593 * objdump.c (dump_dwarf): Iterate over all loaded debg info files.
594 * readelf.c (process_object): Likewise.
595 * doc/debug.options.texi: Update descriptions of links and
596 follow-links options.
597 * testsuite/binutils-all/objdump.WK2: Update expected output.
598 * testsuite/binutils-all/readelf.k2: Likewise.
599 * NEWS: Announce the new feature.
601 2019-02-21 Nick Clifton <nickc@redhat.com>
604 * unwind-ia64.c: Include sysdep.h.
605 (unw_decode_x1): Check current pointer against end pointer before
607 (unw_decode_x2): Likewise.
608 (unw_decode_x3): Likewise.
609 (unw_decode_x4): Likewise.
610 (unw_decode_r2): Likewise.
611 (unw_decode_p2_p5): Likewise.
612 (unw_decode_p7_p10): Likewise.
613 (unw_decode): Likewise.
615 2019-02-20 Nick Clifton <nickc@redhat.com>
618 * readelf.c (print_stapsdt_note): Harden against corrupt notes.
621 * unwind-ia64.c (unw_decode_uleb128): Add end parameter, use it to
622 prevent walking off the end of the buffer.
623 (unw_decode_x1): Add end paramter, pass it to unw_decode_uleb128.
624 (unw_decode_x2): Likewise.
625 (unw_decode_x3): Likewise.
626 (unw_decode_x4): Likewise.
627 (unw_decode_r2): Pass the end parameter to unw_decode_uleb128.
628 (unw_decode_r3): Likewise.
629 (unw_decode_p7_p10): Likewise.
630 (unw_decode_b2): Likewise.
631 (unw_decode_b3_x4): Likewise.
634 * readelf.c (process_mips_specific): Check for an options section
635 that is too small to even contain a single option.
638 * readelf.c (print_ia64_vms_note): Harden against corrupt notes.
640 2019-02-20 Alan Modra <amodra@gmail.com>
644 * readelf.c (get_data): Avoid possibility of overflow when
645 checking for a read that may extend past end of file.
646 (process_program_headers): Likewise.
648 2019-02-20 Alan Modra <amodra@gmail.com>
651 * objdump.c (dump_bfd_private_header): Print warning if
652 bfd_print_private_bfd_data returns false.
654 2019-02-12 Nick Clifton <nickc@redhat.com>
657 * README-how-to-make-a-release: Use git clean to delete spurious
658 files from the local source repository.
660 2019-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
662 * size.c (berkeley_format): Delete.
663 (enum output_format): New enum.
664 (selected_output_format): New variable.
665 (usage): Update to mention GNU format.
666 (main): Update to extract options, and select format as needed.
667 Handle GNU format where needed.
668 (berkeley_sum): Renamed to...
669 (berkeley_or_gnu_sum): ...this, and updated to handle both formats.
670 (berkeley_format): Renamed to...
671 (berkeley_or_gnu_format): ...this, and updated to handle both
673 (print_sizes): Handle GNU format.
674 * doc/binutils.texi (size): Document new GNU format.
675 * testsuite/binutils-all/size.exp: Add test of extended
677 * NEWS: Mention new functionality.
679 2019-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
681 * doc/binutils.texi (size): Update example output for Berkeley
684 2019-02-07 Nick Clifton <nickc@redhat.com>
686 * README-how-to-make-a-release: Add a note about updating the
687 obsolete targets in the bfd/config.bfd file.
689 2019-02-04 Nick Clifton <nickc@redhat.com>
691 * README-how-to-make-a-release: Add more notes on making a release.
693 2019-01-25 Nick Clifton <nickc@redhat.com>
696 * readelf.c (process_notes_at): Prevent an illegal memory access
697 when the note's namesize is zero.
698 (decode_tic6x_unwind_bytecode): Add code to handle the case where
699 no registers are specified in a frame pop instruction.
701 2019-01-25 Nick Clifton <nickc@redhat.com>
703 * po/bg.po: Updated Bulgarian translation.
705 2019-01-23 Nick Clifton <nickc@redhat.com>
707 * po/fr.po: Updated French translation.
708 * po/pt.po: Updated Portuguese translation.
710 2019-01-21 Nick Clifton <nickc@redhat.com>
712 * po/uk.po: Updated Ukranian translation.
714 2019-01-19 Nick Clifton <nickc@redhat.com>
716 * configure: Regenerate.
717 * binutils/po/binutils.pot.
719 * README-how-to-make-a-release: Update description on how to make
722 2018-06-24 Nick Clifton <nickc@redhat.com>
726 2019-01-17 Nick Clifton <nickc@redhat.com>
728 * objdump.c (disassemble_section): When disassembling from a
729 symbol only stop at the next symbol if the original symbol was not
730 a function symbol. Otherwise continue disassembling until a new
732 * testsuite/binutils-all/objdump.exp: Add tests of extended
734 * testsuite/binutils-all/disasm.s: New test source file.
736 2019-01-16 Kito Cheng <kito@andestech.com>
737 Nelson Chu <nelson@andestech.com>
739 * readelf.c (get_riscv_section_type_name): New function.
740 (get_section_type_name): Add handler for RISC-V.
741 (riscv_attr_tag_t): Declare.
742 (riscv_attr_tag): New.
743 (display_riscv_attribute): New function.
744 (process_attributes): Add handler for RISC-V.
745 * testsuite/binutils-all/strip-3.d: Remove .riscv.attribute
748 2019-01-10 Nick Clifton <nickc@redhat.com>
751 * objdump.c (sanitize_string): New function. Removes control
752 characters from symbol names.
753 (dump_section_header): Use new function.
754 (objdump_print_symname): Likewise.
755 (objdump_print_addr_with_sym): Likewise.
756 (show_line): Likewise.
757 (disassemble_bytes): Likewise.
758 (disassemble_section): Likewise.
759 (load_specific_debug_section): Likewise.
760 (read_section_stabs): Likewise.
761 (print_section_stabs): Likewise.
762 (dump_section): Likewise.
763 (dump_reloc_set): Likewise.
764 (dump_relocs_in_section): Likewise.
765 (dump_bfd): Likewise.
766 (display_any_bfd): Likewise.
768 2019-01-09 Nick Clifton <nickc@redhat.com>
771 * readelf.c (process_archive): Use arch.file_name in error
772 messages until the qualified name is available.
774 2019-01-09 Andrew Paprocki <andrew@ishiboo.com>
776 * configure: Regenerate.
778 2019-01-09 Alan Modra <amodra@gmail.com>
780 * testsuite/binutils-all/cxxfilt.exp: Pass --no-strip-underscores
781 unconditionally to tests needing the option rather than via a
784 2019-01-08 Nick Clifton <nickc@redhat.com>
787 * cxxfilt.c (hp_symbol_characters): Delete.
788 (main): Remove depcreated demangling styles.
789 * stabs.c (parse_stab_argtypes): Remove support for old gnu v2
791 * testsuite/binutils-all/cxxfilt.exp: Use the
792 --no-strip-underscore option for targets that do prefix their
793 symbols with underscores.
794 Update tests to eliminate those that use gnu v2 encoding.
796 2019-01-08 Tamar Christina <tamar.christina@arm.com>
799 * testsuite/binutils-all/copy-6.d: New test.
800 * testsuite/binutils-all/objcopy.exp: Use it.
802 2019-01-08 Alan Modra <amodra@gmail.com>
804 * testsuite/lib/binutils-common.exp (run_dump_test): Don't prepend
805 $srcdir/$subdir to source file name if it starts with "./".
807 2019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp>
809 * readelf.c (get_machine_flags): Add RXv3 output.
811 2019-01-04 Nick Clifton <nickc@redhat.com>
814 * objdump.c (load_specific_debug_section): Check for integer
815 overflow before attempting to allocate contents.
817 2019-01-04 Nick Clifton <nickc@redhat.com>
820 * objcopy.c (copy_object): Free dhandle after writing out the
822 * objdump.c (dump_bfd): Free dhandle after printing out the debug
826 2019-01-01 Alan Modra <amodra@gmail.com>
828 Update year range in copyright notice of all files.
830 For older changes see ChangeLog-2018
832 Copyright (C) 2019 Free Software Foundation, Inc.
834 Copying and distribution of this file, with or without modification,
835 are permitted in any medium without royalty provided the copyright
836 notice and this notice are preserved.
842 version-control: never