X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=binutils%2FChangeLog;h=797bfd454cce4274e821c2fdcfa65e15b32461f6;hb=9785fc2a4d220322ce6cd1d79e768345ea5234d2;hp=92cadf3a31cf8e090111decdb5739bfa3fcbfa74;hpb=7b5d48229b7faa16f69e87fb269f17db0291d89f;p=deliverable%2Fbinutils-gdb.git diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 92cadf3a31..797bfd454c 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,499 @@ +2017-06-30 Maciej W. Rozycki + + * testsuite/binutils-all/mips/mips-xpa-virt-1.d: New test. + * testsuite/binutils-all/mips/mips-xpa-virt-2.d: New test. + * testsuite/binutils-all/mips/mips-xpa-virt-3.d: New test. + * testsuite/binutils-all/mips/mips-xpa-virt-4.d: New test. + * testsuite/binutils-all/mips/mips-xpa-virt.s: New test source. + * testsuite/binutils-all/mips/mips.exp: Run the new tests. + +2017-06-29 Anton Kolesov + + * testsuite/binutils-all/arc/double_store.s: New file. + * testsuite/binutils-all/arc/objdump.exp: Tests for disassembler + options. + (do_objfile): New function. + (check_assembly): Likewise. + +2017-06-29 Andreas Arnez + + * readelf.c (get_note_type): Add NT_S390_GS_CB and NT_S390_GS_BC. + +2017-06-28 H.J. Lu + + * objdump.c (dump_relocs_in_section): Cast to ufile_ptr when + comparing against bfd_get_file_size return. + +2017-06-28 Nick Clifton + + * objcopy.c (merge_gnu_build_notes): Add support for version 2 notes. + * readelf.c (print_gnu_build_attribute_name): Likewise. + +2017-06-28 Maciej W. Rozycki + Matthew Fortune + + * readelf.c (get_machine_flags) : New case. + (print_mips_isa_ext) : Likewise. + * NEWS: Mention Imagination interAptiv MR2 processor support. + +2017-06-26 Nick Clifton + + PR binutils/21665 + * objdump.c (disassemble_section): Skip any section that is bigger + than the entire file. + +2017-06-26 Nick Clifton + + PR binutils/21659 + * bucomm.c (get_file_size): Explicitly warn if the file is a + directory. + +2017-06-24 Thomas Preud'homme + + * readelf.c (arm_attr_tag_CPU_arch): Fill value for ARMv8-R. + +2017-06-23 Nick Clifton + + PR binutils/21659 + * strings.c (strings_file): Warn about attempts to run strings on + a directory. + +2017-06-22 H.J. Lu + + * readelf.c (decode_x86_feature): Decode + GNU_PROPERTY_X86_FEATURE_1_SHSTK. + * testsuite/binutils-all/i386/shstk.d: New file. + * testsuite/binutils-all/i386/shstk.s: Likewise. + * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise. + * testsuite/binutils-all/x86-64/shstk.d: Likewise. + * testsuite/binutils-all/x86-64/shstk.s: Likewise. + +2017-06-22 H.J. Lu + + * readelf.c (decode_x86_feature): New. + (print_gnu_property_note): Call decode_x86_feature on + GNU_PROPERTY_X86_FEATURE_1_AND. + * testsuite/binutils-all/i386/empty.d: New file. + * testsuite/binutils-all/i386/empty.s: Likewise. + * testsuite/binutils-all/i386/ibt.d: Likewise. + * testsuite/binutils-all/i386/ibt.s: Likewise. + * testsuite/binutils-all/x86-64/empty-x32.d: Likewise. + * testsuite/binutils-all/x86-64/empty.d: Likewise. + * testsuite/binutils-all/x86-64/empty.s: Likewise. + * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise. + * testsuite/binutils-all/x86-64/ibt.d: Likewise. + * testsuite/binutils-all/x86-64/ibt.s: Likewise. + +2017-06-21 H.J. Lu + + * dwarf.c (READ_ULEB): Use DWARF_VMA_FMT to report error. + (READ_SLEB): Likewise. + +2017-06-21 Nick Clifton + + PR binutils/21648 + * dwarf.c (LEB): Rename to SKIP_ULEB and READ_ULEB. Add check for + reading a value that is too big for the containing variable. + (SLEB): Rename to SKIP_SLEB and READ_SLEB. Add similar check. + Replace uses of LEB and SLEB with appropriate new macro. + (display_debug_frames): Use an unsigned int for the 'reg' + variable. Use a signed long for the 'l' variable. + +2017-06-20 Andreas Krebbel + + * readelf.c (get_s390_segment_type): Add support for the new + segment type PT_S390_PGSTE. + (get_segment_type): Call get_s390_segment_type. + +2017-06-19 Nick Clifton + + PR binutils/21619 + * objdump.c (disassemble_bytes): Check that there is sufficient + data available before attempting to display it. + +2017-06-06 Simon Marchi + + * sysinfo.y: Free memory allocated by token NAME. + +2017-05-30 Anton Kolesov + + * doc/binutils.texi: Document new cpu=... disassembler options for ARC. + +2017-05-30 H.J. Lu + + PR binutils/21519 + * objdump.c (dump_relocs_in_section): Replace get_file_size + with bfd_get_file_size to get archive element size. + * testsuite/binutils-all/objdump.exp (test_objdump_f): New + proc. + (test_objdump_h): Likewise. + (test_objdump_t): Likewise. + (test_objdump_r): Likewise. + (test_objdump_s): Likewise. + Add objdump tests on archive. + +2017-05-24 Yao Qi + + * objdump.c (disassemble_data): Caller update. + +2017-05-19 Jose E. Marchesi + + * objcopy.c (merge_gnu_build_notes): Remove workaround that + prevented deleting relocations in duplicated notes in mips64 and + sparc. + +2017-05-19 Maciej W. Rozycki + + * testsuite/binutils-all/mips/mips-note-2.d: New test. + * testsuite/binutils-all/mips/mips-note-2r.d: New test. + * testsuite/binutils-all/mips/mips-note-2-n32.d: New test. + * testsuite/binutils-all/mips/mips-note-2-n64.d: New test. + * testsuite/binutils-all/mips/mips-note-2r-n32.d: New test. + * testsuite/binutils-all/mips/mips-note-2r-n64.d: New test. + * testsuite/binutils-all/mips/mips.exp: Define `has_newabi'. + Run the new tests. + +2017-05-19 Maciej W. Rozycki + + * testsuite/lib/utils-lib.exp (run_dump_test): Handle the `dump' + option. + +2017-05-19 Jose E. Marchesi + + * NEWS: Mention the SPARC M8 support. + +2017-05-19 Maciej W. Rozycki + + * testsuite/binutils-all/mips/mips.exp: Bail out right away if + non-ELF. + +2017-05-18 Alan Modra + + * strings.c: Don't compare boolean values against TRUE or FALSE. + +2017-05-15 Jeff Law + + * readelf.c (display_arc_attribute): Avoid implicit fallthru. + +2017-05-15 Maciej W. Rozycki + + * testsuite/binutils-all/mips/mips16-undecoded.d: Add `-mips3' + to `as' flags. + * testsuite/binutils-all/mips/mips16e2-undecoded.d: New test. + * testsuite/binutils-all/mips/mips16e2-extend-insn.d: New test. + * testsuite/binutils-all/mips/mips16-undecoded.s: Remove + `.module mips3'. + * testsuite/binutils-all/mips/mips.exp: Run the new tests. + +2017-05-15 Maciej W. Rozycki + + * readelf.c (print_mips_ases): Handle MIPS16e2 ASE. + * NEWS: Mention MIPS16e2 ASE support. + +2017-05-12 Maciej W. Rozycki + + * testsuite/binutils-all/mips/mips16-extend-insn.d: Adjust BREAK + and SDBBP disassembly. + +2017-05-10 Maciej W. Rozycki + + * testsuite/binutils-all/mips/mips.exp: Define `tempfile' and + `copyfile' variables. + +2017-05-10 Claudiu Zissulescu + + * readelf.c (decode_ARC_machine_flags): Recognize OSABI v4. + (get_arc_section_type_name): New function. + (get_section_type_name): Use the above function. + (display_arc_attribute): New function. + (process_arc_specific): Likewise. + (process_arch_specific): Handle ARC specific information. + +2017-05-09 Kaz Kojima + + * MAINTAINERS (SH): Remove myself as SH maintainer. + +2017-05-02 H.J. Lu + + * objcopy.c (merge_gnu_build_notes): Cast relcount to unsigned + long when comparing with sec->reloc_count. + +2017-05-02 Nick Clifton + + * objcopy.c (merge_gnu_build_notes): Disable merge if there are + more internal relocs than external relocs. + +2017-05-02 Maciej W. Rozycki + + * testsuite/binutils-all/mips/mips16-undecoded.d: Adjust the + disassembly of PC-relative LA and LW synthetic instructions. + +2017-05-02 Nick Clifton + + PR 21440 + * objdump.c (dump_relocs_in_section): Check for an excessive + number of relocs before attempting to dump them. + +2017-05-01 Alan Modra + + * objcopy.c (merge_gnu_build_notes): Correct code deleting + relocs. + +2017-04-28 Nick Clifton + + PR binutils/21439 + * readelf.c (print_gnu_build_attribute_name): Allow for an empty + name field. + +2017-04-28 Nick Clifton + + PR binutils/21437 + * readelf.c (process_version_sections): Check for underflow when + computing the start address of the auxillary version data. + +2017-04-28 Nick Clifton + + PR binutils/21438 + * dwarf.c (process_extended_line_op): Do not assume that the + string extracted from the section is NUL terminated. + (fetch_indirect_string): If the string retrieved from the section + is not NUL terminated, return an error message. + (fetch_indirect_line_string): Likewise. + (fetch_indexed_string): Likewise. + +2017-04-26 Nick Clifton + + PR binutils/21433 + * bucomm.c (get_file_size): Return -1 if file_name is NULL. + * ar.c (main): Fail with usage() invocation if no file names are + provided. + +2017-04-26 Nick Clifton + + * readelf.c (process_section_headers): Warn about overlarge + sections. + (print_gnu_build_attribute_name): Print the number of unrecognised + note types. Fix formatting in the presence of errors. + (testsuite/binutils-all/note-2-32.s): Fix encoding of numeric notes. + (testsuite/binutils-all/note-2-64.s): Likewise. + +2017-04-26 Maciej W. Rozycki + + * readelf.c (process_mips_specific): Add static GOT support. + +2017-04-25 Maciej W. Rozycki + + * readelf.c (process_mips_specific): Remove error reporting from + GOT[1] processing. + +2017-04-25 Maciej W. Rozycki + + * readelf.c (process_mips_specific): Remove null GOT data check. + +2017-04-25 Maciej W. Rozycki + + * testsuite/binutils-all/mips/mips16-alias.d: New test. + * testsuite/binutils-all/mips/mips16-noalias.d: New test. + * testsuite/binutils-all/mips/mips16-alias.s: New test source. + * testsuite/binutils-all/mips/mips.exp: Run the new tests. + +2017-04-23 Alan Modra + + PR 21418 + * ar.c (main): Check -a, -b, -i and -N args are given. + +2017-04-23 Alan Modra + + PR 21417 + * ar.c (main): Check that an archive file is given after options. + +2017-04-23 Alan Modra + + PR 21415 + * objdump.c (disassemble_section): Check bfd_get_section_contents + status. + +2017-04-23 Alan Modra + + PR 21408 + * dwarf.c (display_debug_lines_decoded): Don't segfault on NULL + file_table. + +2017-04-21 Nick Clifton + + PR binutils/21378 + * readelf.c (print_gnu_build_attribute_name): Check for an + overlarge name field. + +2017-04-13 Nick Clifton + + PR binutils/21379 + * readelf.c (process_dynamic_section): Detect over large section + offsets in the DT_SYMTAB entry. + +2017-04-13 Nick Clifton + + PR binutils/21345 + * readelf.c (process_mips_specific): Catch an unfeasible memory + allocation before it happens and print a suitable error message. + +2017-04-13 Nick Clifton + + * objcopy.c: Add --no-merge-notes option to disable note merging. + Add --[no-]merge-notes option to strip, and enable it by default. + (num_bytes): New function. + (merge_gnu_build_notes): Add code to merge stack size notes. + * binutils.texi: Update strip and objcopy documentation. + * readelf.c (print_gnu_build_attribute_name): Use defined + constants for note types. + +2017-04-10 John Delsignor + + PR binutils/21319 + * dwarf.c (display_gdb_index): Correct test for a corrupt address + table size. + +2017-04-05 Jiong Wang + + * objcopy.c (struct redefine_node): Delete the field "next". + (redefine_sym_list): Deleted. + (redefine_specific_htab): New hash table. + (redefine_specific_reverse_htab): Likewise. + (eq_string_redefnode): New function. + (htab_hash_redefnode): Likewise. + (create_symbol2redef_htab): Likewise. + (add_specific_symbol_node): Likewise. + (create_symbol_htabs): Create redefine_specific_htab and + redefine_specific_reverse_htab. + (lookup_sym_redefinition): Use hash table instead of list. + (redefine_list_append): Likewise, and rename to add_redefine_and_check. + (copy_main): Use redefine_specific_htab instead of redefine_sym_list. + Update comments. + +2017-04-04 H.J. Lu + + * NEWS: Mention support for ELF SHF_GNU_MBIND and + PT_GNU_MBIND_XXX. + * readelf.c (get_segment_type): Handle PT_GNU_MBIND_XXX. + (get_elf_section_flags): Handle SHF_GNU_MBIND. + (process_section_headers): Likewise. + * testsuite/binutils-all/mbind1.s: New file. + * testsuite/binutils-all/objcopy.exp: Run readelf test on + mbind1.s. + +2017-04-03 Nick Clifton + + PR binutils/21345 + * readelf.c (get_program_headers): Check for there being too many + program headers before attempting to allocate space for them. + +2017-04-03 Nick Clifton + + PR binutils/21344 + * readelf.c (process_mips_specific): Check for an out of range GOT + entry before reading the module pointer. + +2017-04-03 Nick Clifton + + PR binutils/21343 + * readelf.c (get_unwind_section_word): Fix snafu checking for + invalid word offsets in ARM unwind information. + +2017-03-31 Pip Cet + + * NEWS: Use "WebAssembly" consistently. + * testsuite/binutils-all/wasm32/wasm32.exp: Fix copyright notice. + +2017-03-30 Pip Cet + + * readelf.c: Add support for wasm32 ELF format WebAssembly files. + (guess_is_rela): Likewise. + (dump_relocations): Likewise. + (is_32bit_abs_reloc): Likewise. + (is_none_reloc_): Likewise. + * NEWS: Mention the new support. + * testsuite/lib/binutils-common.exp (is_elf_format): Mark wasm32 + as ELF target. + (supports_gnu_unique): Mark wasm32 as supporting STB_GNU_UNIQUE. + * testsuite/binutils-all/nm.exp: Mark wasm32 as requiring .size annotations. + * testsuite/binutils-all/wasm32: New directory. + * testsuite/binutils-all/wasm32/create-wasm.d: New file. + * testsuite/binutils-all/wasm32/create-wasm.s: Likewise. + * testsuite/binutils-all/wasm32/custom-section.d: Likewise. + * testsuite/binutils-all/wasm32/custom-section.s: Likewise. + * testsuite/binutils-all/wasm32/invalid-wasm-1.d: Likewise. + * testsuite/binutils-all/wasm32/invalid-wasm-1.s: Likewise. + * testsuite/binutils-all/wasm32/long-sections.d: Likewise. + * testsuite/binutils-all/wasm32/long-sections.s: Likewise. + * testsuite/binutils-all/wasm32/parse-wasm.d: Likewise. + * testsuite/binutils-all/wasm32/parse-wasm.s: Likewise. + * testsuite/binutils-all/wasm32/parse-wasm-2.d: Likewise. + * testsuite/binutils-all/wasm32/parse-wasm-2.s: Likewise. + * testsuite/binutils-all/wasm32/prepared-section.d: Likewise. + * testsuite/binutils-all/wasm32/prepared-section.s: Likewise. + * testsuite/binutils-all/wasm32/wasm32.exp: New file, run tests. + +2017-03-29 Alan Modra + + * doc/binutils.texi (objdump): Document PowerPC -M options. + +2017-03-21 Andi Kleen + + * objdump.c (unwind_inlines): Add. + (option_values): Add OPTION_INLINES. + (show_line): Unwind inlines if requested. + (main): Parse OPTION_INLINES. + (usage): Document --inlines. + * doc/binutils.texi: Document --inlines. + * NEWS: Likewise. + +2017-03-21 Nick Clifton + + * readelf.c (print_gnu_build_attribute_name): Allow stack + protection notes to contain numeric values. Use a colon rather + than a space to separate a string name from its values. Decode + the numeric value of a stack protection note. + * objcopy.c (merge_gnu_build_notes): Allow version notes to + contain extra text after the protocol version number. + +2017-03-20 Mark Wielaard + + * readelf.c (process_program_headers): Move dynamic_addr check + after .dynamic section cross check. + +2017-03-17 Nick Clifton + + * readelf.c (print_gnu_build_attribute_name): Fix off by one error + printing the value for a build note with an ascii name. + +2017-03-16 Nick Clifton + + * readelf.c (print_gnu_build_attribute_name): Add support for + GNU_BUILD_ATTRIBUTE_SHORT_ENUM. + +2017-03-14 Nick Clifton + + * readelf.c (print_gnu_build_attribute_description): Move symbol + printing code to... + (print_symbol_for_build_attribute): New function. ...here. + Add to find the best symbol to associate with an OPEN note. + Add code to cache the symbol table and string table, so that they + are not loaded every time a note is displayed. + * testsuite/binutils-all/note-2-32.s: Add a function symbol. + * testsuite/binutils-all/note-2-64.s: Likewise. + * testsuite/binutils-all/note-2-32.d: Update expected note output. + * testsuite/binutils-all/note-2-64.d: Likewise. + +2017-03-13 Alan Modra + Taeung Song + + * objdump.c (update_source_path): Add abfd param. Add struct + stat var. Pass to try_print_file_open. Warn if source is more + recent than object. + (try_print_file_open, slurp_file): Add struct stat param to + return fstat. + (show_line): Call update_source_path with bfd. + 2017-03-10 Chia-Hao Lo PR binutils/21235