X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=binutils%2FChangeLog;h=a5796a8cf90cfab88e5e68cd3c2a554a849f096c;hb=7ca166c9408599e64c0cd3c5d3f0d00c8fae2d9e;hp=d41894fa210ba4939228c29df411c05658dbad72;hpb=bf2dd8d7cf4114b8a60dbb83b340f76b9b2474d1;p=deliverable%2Fbinutils-gdb.git diff --git a/binutils/ChangeLog b/binutils/ChangeLog index d41894fa21..a5796a8cf9 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,209 @@ +2018-12-08 Alan Modra + + * strings.c (unget_part_char): New function. + (print_strings): Use unget_part_char. Formatting. + * testsuite/binutils-all/strings.exp (test_multibyte): Don't + use square brackets in fail message. Expect "String1\nString2". + +2018-12-07 Alan Modra + + * nm.c (display_rel_file): Use xrealloc to increase minisyms + for synthetic symbols. + +2018-12-07 Nick Clifton + + * addr2line.c (demangle_flags): New static variable. + (long_options): Add --recurse-limit and --no-recurse-limit. + (translate_address): Pass demangle_flags to bfd_demangle. + (main): Handle --recurse-limit and --no-recurse-limit options. + * cxxfilt.c: (long_options): Add --recurse-limit and + --no-recurse-limit. + (main): Handle new options. + * nm.c (demangle_flags): New static variable. + (long_options): Add --recurse-limit and --no-recurse-limit. + (main): Handle new options. + * objdump.c (demangle_flags): New static variable. + (usage): Add --recurse-limit and --no-recurse-limit. + (long_options): Likewise. + (objdump_print_symname): Pass demangle_flags to bfd_demangle. + (disassemble_section): Likewise. + (dump_dymbols): Likewise. + (main): Handle new options. + * prdbg.c (demangle_flags): New static variable. + (tg_variable): Pass demangle_flags to demangler. + (tg_start_function): Likewise. + * stabs.c (demangle_flags): New static variable. + (stab_demangle_template): Pass demangle_flags to demangler. + (stab_demangle_v3_argtypes): Likewise. + (stab_demangle_v3_arg): Likewise. + * doc/binutuls.texi: Document new command line options. + * NEWS: Mention the new feature. + * testsuite/config/default.exp (CXXFILT): Define if not already + defined. + (CXXFILTFLAGS): Likewise. + * testsuite/binutils-all/cxxfilt.exp: New file. Runs a few + simple tests of the cxxfilt program. + +2018-12-03 Nick Clifton + + PR 23941 + * testsuite/binutils-all/i386/compressed-1a.d: Update expected output. + * testsuite/binutils-all/x86-64/compressed-1a.d: Likewise. + +2018-12-01 Alan Modra + + PR 23946 + * readelf.c (slurp_ia64_unwind_table): Bounds check symbol index + on reloc. + (slurp_hppa_unwind_table): Likewise. + +2018-12-01 Alan Modra + + PR 23945 + * readelf.c (slurp_ia64_unwind_table): Don't call elf_ia64_reloc_type + needlessly. + (slurp_hppa_unwind_table): Use same range checks and error messages + as slurp_ia64_unwind_table. + +2018-11-29 Nick Clifton + + PR 23931 + * objdump.c (dump_relocs_in_section): When checking for an + unreasonable amount of relocs in a bfd, allow for the fact that + the internal representation of a reloc may be bigger than the + external representation. + +2018-11-27 Mark Wielaard + + PR binutils/23919 + * readelf.c (dump_sections_as_strings): Remove bogus addralign check. + (dump_sections_as_bytes): Likewise. + (load_specific_debug_sections): Likewise. + * testsuite/binutils-all/dw2-3.rS: Adjust alignment. + * testsuite/binutils-all/dw2-3.rt: Likewise. + +2018-11-20 H.J. Lu + + PR binutils/23898 + * testsuite/lib/binutils-common.exp (prune_warnings_extra): + Prune gaps in build notes. + +2018-11-13 Francois H. Theron + + * testsuite/binutils-all/nfp/test1.d: Test for swapped operand crc[]. + + +2018-11-09 Hafiz Abid Qadeer + + * configure: Regenerate. + +2018-11-09 Mathias + + * strings.c (print_strings): Check for multibyte encodings. + * binutils-all/strings-1.bin: New file. Test binary for string decoding. + * testsuite/binutils-all/strings.exp: New file. Test the strings program. + * testsuite/config/default.exp (STRINGS): Define if not provided + by the environment. + (STRINGSFLAGS): Likewise. + +2018-11-07 Masatake Yamato + + * objdump.c (long_options): Have the --disassemble option take an + optional argument. + (usage): Add description for the `symbol' argument to the + --disassemble option. + (disasm_sym): New file private variable. + (struct objdump_disasm_info): New field `symbol'. + (disassemble_section): Introduce `do_print' local variable + to control whether objdump displays the result of disassembling + for a symbol or not. + (main): Set `symbol' file private variable if the option argument + for the --disassemble option is given. + * doc/binutils.texi (objdump): Add description for the option + argument. + * NEWS: Mention the new feature. + * testsuite/binutils-all/objdump.exp: Add tests of the -d and + --disassemble= options. + * testsuite/binutils-all/bintest.s: Add more symbols and code. + * testsuite/binutils-all/readelf.s: Update expected output. + * testsuite/binutils-all/readelf.ss-64: Likewise. + * testsuite/binutils-all/readelf.ss-mips: Likewise. + * testsuite/binutils-all/readelf.ss-tmips: Likewise. + +2018-11-07 Nick Clifton + + * po/pt.po: Updated Portuguese translation. + +2018-11-06 Roman Bolshakov + Saagar Jha + + PR 23728 + * od-macho.c (printf_version): New. + (dump_load_command): Use it to print version. Print sdk version. Print + version info for watchOS and tvOS. Print LC_NOTE, LC_BUILD_VERSION. + (dump_buld_version): New. + (bfd_mach_o_platform_name): New + (bfd_mach_o_tool_name): New + +2018-11-07 Yoshinori Sato + + * testsuite/lib/binutils-common.exp: Special section name + use only rx-*-elf. + +2018-11-06 H.J. Lu + + * doc/binutils.texi: Document --enable-x86-feature and + --disable-x86-feature options for elfedit. + * elfedit.c: Include "config.h" and . + (enable_x86_features): New. + (disable_x86_features): Likewise. + (update_gnu_property): Likewise. + (elf_x86_feature): Likewise. + (process_file): Call update_gnu_property on ET_EXEC or ET_DYN + file. + (command_line_switch): Add OPTION_ENABLE_X86_FEATURE and + OPTION_DISABLE_X86_FEATURE. + (options): Add--enable-x86-feature and --disable-x86-feature. + (usage): Likewise. + (main): Handle OPTION_ENABLE_X86_FEATURE and + OPTION_DISABLE_X86_FEATURE. + +2018-11-03 H.J. Lu + + * elfedit.c (update_elf_header): Move EI_MAG? check to ... + (get_file_header): Here. + +2018-11-02 H.J. Lu + + * configure.ac (AC_FUNC_MMAP): New. + * config.in: Regenerated. + * configure: Likewise. + +2018-11-02 Alan Modra + + * readelf.c (process_section_headers): Don't warn on a zero + sh_info or sh_link for any reloc section in an executable or + shared library. Do warn for .rel.dyn/.rela.dyn in ET_REL. + +2018-11-01 Thomas Preud'homme + + * testsuite/config/default.exp: Define LD, LDFLAGS and + ld_elf_shared_opt. + * testsuite/lib/binutils-common.exp (check_shared_lib_support): Moved + from ld-lib.exp. + (run_dump_test): Set ld to $LD. + +2018-10-18 Nick Clifton + + * doc/binutils.texi (readelf): Document alternatives to the + --unwind option if it is not supported for the target + architecture. + +2018-10-16 Alan Modra + + PR 23780 + * readelf.c (display_raw_attribute): Correct assertion. + 2018-10-15 Alan Modra PR 23534