X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=binutils%2FChangeLog;h=ee6defcbf8dd3a1e796d840df14c108d422e0c47;hb=a4b9568c7ee95891de6f5ba846f2d1aaf61569cd;hp=8b37aaeaac84e905d859e0c5a3d094bba6c2e56f;hpb=d8dab05495df17d8c961be8913e7a1e152670382;p=deliverable%2Fbinutils-gdb.git diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 8b37aaeaac..ee6defcbf8 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,494 @@ +2018-09-17 Alan Modra + + * testsuite/lib/binutils-common.exp (is_som_format): New proc. + (run_dump_test): Correct target test for alternate .comm syntax. + (get_standard_section_names): Handle som format. + * testsuite/lib/utils-lib.exp (default_binutils_assemble_flags): + Correct target test for alternate .comm syntax. + +2018-09-17 Alan Modra + + * testsuite/binutils-all/strip-13mips64.s: Add section flags + for reloc section. + * testsuite/binutils-all/strip-13rel.s: Likewise. + * testsuite/binutils-all/strip-13rela.s: Likewise. + * testsuite/binutils-all/strip-14mips64.s: Likewise. + * testsuite/binutils-all/strip-14rel.s: Likewise. + * testsuite/binutils-all/strip-14rela.s: Likewise. + * testsuite/binutils-all/strip-15mips64.s: Likewise. + * testsuite/binutils-all/strip-15rel.s: Likewise. + * testsuite/binutils-all/strip-15rela.s: Likewise. + +2018-09-17 Nick Clifton + + * testsuite/binutils-all/compress.exp: Rename second "objcopy + zlib-gnu compress debug sections 3" test to "objcopy zlib-gabi + compress debug sections 3" and use gabi object files instead + of gnu object files. + * testsuite/binutils-all/objcopy.exp: Add suffix to the names + of the "ELF group" tests. + * testsuite/binutils-all/readelf.exp (proc readelf_find_size): + Add an iteration parameter and include it in the name of the + test. Update callers to include an iteration count. + +2018-09-15 Alan Modra + + * testsuite/binutils-all/add-symbol.d: Add "section_subst: no". + * testsuite/binutils-all/elfedit.exp: Don't set tempfile or copyfile. + * testsuite/binutils-all/symbols-1.d, + * testsuite/binutils-all/symbols-2.d, + * testsuite/binutils-all/symbols-3.d, + * testsuite/binutils-all/symbols-4.d: Quote '*' and '!'. + * testsuite/binutils-all/add-empty-section.d, + * testsuite/binutils-all/add-section.d, + * testsuite/binutils-all/elfedit.exp, + * testsuite/binutils-all/note-1.d, + * testsuite/binutils-all/pr23633.d: Add $subdir after $srcdir. + * testsuite/config/default.exp (AS, ASFLAGS): Define. + * testsuite/config/hppa.sed: Handle all common symbols. + * testsuite/lib/binutils-common.exp (run_dump_test): New proc, + merged from three other versions. + (slurp_options, file_contents, set_file_contents): Likewise. + (big_or_little_endian, get_standard_section_names): Likewise. + * testsuite/lib/utils-lib.exp (run_dump_test): Delete. + (slurp_options, proc file_contents): Delete. + (get_standard_section_names): Delete. + +2018-09-15 Alan Modra + + * testsuite/binutils-all/copy-2.d, + * testsuite/binutils-all/copy-3.d, + * testsuite/binutils-all/copy-4.d, + * testsuite/binutils-all/elfedit-1.d, + * testsuite/binutils-all/note-1.d, + * testsuite/binutils-all/note-2-64.d, + * testsuite/binutils-all/strip-11.d, + * testsuite/binutils-all/strip-13.d, + * testsuite/binutils-all/strip-14.d, + * testsuite/binutils-all/testranges.d, + * testsuite/binutils-all/x86-64/pr23494a-x32.d, + * testsuite/binutils-all/x86-64/pr23494a.d, + * testsuite/binutils-all/x86-64/pr23494b-x32.d, + * testsuite/binutils-all/x86-64/pr23494b.d, + * testsuite/binutils-all/x86-64/pr23494c-x32.d, + * testsuite/binutils-all/x86-64/pr23494c.d, + * testsuite/binutils-all/x86-64/pr23494d-x32.d, + * testsuite/binutils-all/x86-64/pr23494d.d, + * testsuite/binutils-all/x86-64/pr23494e-x32.d, + * testsuite/binutils-all/x86-64/pr23494e.d, + * testsuite/lib/utils-lib.exp (run_dump_test): Replace not-target + and not-skip with notarget and noskip. + +2018-09-15 Alan Modra + + * testsuite/binutils-all/group-7a.d, + * testsuite/binutils-all/group-7b.d, + * testsuite/binutils-all/group-7c.d, + * testsuite/binutils-all/symbols-1.d, + * testsuite/binutils-all/symbols-2.d, + * testsuite/binutils-all/symbols-3.d, + * testsuite/binutils-all/symbols-4.d: Remove DUMPPROG. + +2018-09-14 Alan Modra + + PR binutils/23633 + * testsuite/binutils-all/pr23633.d: Don't fail when assembler + generates sections other than .text. + +2018-09-13 H.J. Lu + + PR binutils/23633 + * testsuite/binutils-all/objcopy.exp: Run pr23633. + * testsuite/binutils-all/pr23633.d: New file. + * testsuite/binutils-all/pr23633.list: Likewise. + * testsuite/binutils-all/pr23633.s: Likewise. + +2018-09-13 Nick Clifton + + PR 23633 + * objcopy.c (add_specific_symbols): Do not free the buffer at the + end of the function. + +2018-09-10 Alan Modra + + PR binutils/23611 + * objcopy.c (handle_remove_section_option): Consider .rela and + .rel sections for stripping directly as well as attached to the + associated section they relocate. + * doc/binutils.texi (remove-relocations): Specify that this + option removes non-dynamic relocation sections. + * testsuite/binutils-all/objcopy.exp + (objcopy_remove_relocations_from_executable): New test. + +2018-09-03 Nick Clifton + + * po/ja.po: Updated Japanese translation. + +2018-08-31 H.J. Lu + + * testsuite/binutils-all/readelf.s-64: Adjusted for + .note.gnu.property section. + * testsuite/binutils-all/strip-3.d: Also strip + .note.gnu.property section. + +2018-08-31 H.J. Lu + + * testsuite/binutils-all/i386/compressed-1b.d: Pass + -mx86-used-note=no to assembler. + * testsuite/binutils-all/i386/compressed-1c.d: Likewise. + * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise. + * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise. + * testsuite/binutils-all/i386/empty.d: Pass -mx86-used-note=yes + to assembler and update expected output from "readelf -n". + * testsuite/binutils-all/i386/ibt.d: Likewise. + * testsuite/binutils-all/i386/pr21231a.d: Likewise. + * testsuite/binutils-all/i386/pr21231b.d: Likewise. + * testsuite/binutils-all/i386/shstk.d: Likewise. + * testsuite/binutils-all/x86-64/empty-x32.d: Likewise. + * testsuite/binutils-all/x86-64/empty.d: Likewise. + * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise. + * testsuite/binutils-all/x86-64/ibt.d: Likewise. + * testsuite/binutils-all/x86-64/pr21231a.d: Likewise. + * testsuite/binutils-all/x86-64/pr21231b.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494a.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494b.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494c.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494d.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494e.d: Likewise. + * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise. + * testsuite/binutils-all/x86-64/shstk.d: Likewise. + +2018-08-30 H.J. Lu + + * readelf.c (process_section_headers): Treat SHT_FINI_ARRAY and + SHT_PREINIT_ARRAY as relocatable sections. + +2018-08-30 Chenghua Xu + + * MAINTAINERS: Add myself as a MIPS port maintainer. + +2018-08-29 Chenghua Xu + + * NEWS: Mention Loongson 2K1000 proccessor support. + * readelf.c (get_machine_flags): Handle gs264e. + +2018-08-29 Chenghua Xu + + * NEWS: Mention Loongson 3A2000/3A3000 proccessor support. + * readelf.c (get_machine_flags): Handle gs464e. + +2018-08-29 Chenghua Xu + + * NEWS: Mention Loongson 3A1000 proccessor support. + * readelf.c (get_machine_flags): Rename loongson-3a to gs464. + (print_mips_isa_ext): Delete AFL_EXT_LOONGSON_3A. + +2018-08-29 Chenghua Xu + + * readelf.c (print_mips_ases): Add Loongson EXT2 extension. + +2018-08-29 Chenghua Xu + + * readelf.c (print_mips_ases): Add Loongson EXT extension. + +2018-08-29 Chenghua Xu + + * readelf.c (print_mips_ases): Add CAM extension. + +2018-08-27 H.J. Lu + + * readelf.c (decode_x86_isa): Print if bitmask only + contains the GNU_PROPERTY_X86_UINT32_VALID bit. + (decode_x86_feature_1): Likewise. + (decode_x86_feature_2): Likewise. + (print_gnu_property_note): Don't mask out the + GNU_PROPERTY_X86_UINT32_VALID bit. + * testsuite/binutils-all/i386/pr21231b.d: Updated. + * testsuite/binutils-all/x86-64/pr21231b.d: Likewise. + +2018-08-27 H.J. Lu + + * readelf.c (decode_x86_compat_isa): Break multi-statement line. + (decode_x86_isa): Likewise. + (decode_x86_feature_2): Likewise. + +2018-08-25 H.J. Lu + + PR ld/23499 + * readelf.c (get_symbol_version_string): Return _("") + for corrupt symbol version info. + +2018-08-24 H.J. Lu + + * readelf.c (decode_x86_compat_isa): New function. + (decode_x86_feature_2): Likewise. + (decode_x86_isa): Updated for new X86_ISA_1_XXX bits. + (decode_x86_feature): Renamed to ... + (decode_x86_feature_1): This. Remove the type argument. + (print_gnu_property_note): Handle X86_COMPAT_ISA_1_USED, + X86_COMPAT_ISA_1_NEEDED, X86_UINT32_AND_LO, X86_UINT32_AND_HI, + X86_UINT32_OR_LO, X86_UINT32_OR_HI, X86_UINT32_OR_AND_LO and + X86_UINT32_OR_AND_HI instead of X86_ISA_1_USED, X86_ISA_1_NEEDED + and X86_FEATURE_1_AND. + * testsuite/binutils-all/i386/pr21231b.s: Updated to the current + GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED + values. + * testsuite/binutils-all/x86-64/pr21231b.s: Likewise. + * testsuite/binutils-all/x86-64/pr23494a.s: Likewise. + * testsuite/binutils-all/x86-64/pr23494b.s: Likewise. + * testsuite/binutils-all/x86-64/pr23494c.s: Likewise. + * testsuite/binutils-all/i386/pr21231b.d: Updated. + * testsuite/binutils-all/x86-64/pr21231b.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494a.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494c.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494d.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494e.d: Likewise. + +2018-08-24 H.J. Lu + + * readelf.c (print_gnu_property_note): Check the + GNU_PROPERTY_X86_UINT32_VALID bit for invalid GNU property note. + +2018-08-23 Alan Modra + + * readelf.c (get_ppc64_symbol_other): Return NULL if st_other + field contains unrecognised or reserved values. Handle + localentry:1 value. + +2018-08-23 H.J. Lu + + PR ld/23536 + * Makefile.am (development.exp): New target. + (EXTRA_DEJAGNU_SITE_CONFIG): New. + (DISTCLEANFILES): Add development.exp. + * Makefile.in: Regenerated. + * testsuite/binutils-all/objcopy.exp (strip_test): Call + prune_warnings to prune BFD output. + (strip_test_with_saving_a_symbol): Likewise. + (objcopy_test_without_global_symbol): Likewise. + * testsuite/lib/binutils-common.exp (prune_warnings_extra): + New proc. + (prune_warnings): Likewise. + +2018-08-23 H.J. Lu + + * README-how-to-make-a-release: Document setting "experimental" + to false. + +2018-08-22 Alan Modra + + * readelf.c (process_file_header): Assign updated values from + section_header[0] fields to e_phnum, e_shnum and e_shstrndx + during printing of header. Correct e_shstrndx range check. + Remove unnecessary casts and use %u rather than %ld for + unsigned int header fields. Don't print a random %lx when + reporting an unknown EI_VERSION. + +2018-08-21 Nick Clifton + + * MAINTAINERS: Note that Arnold Metselaar has retired as the z80 + maintainer. + +2018-08-21 L. Simon + + PR 23531 + * readelf.c (hppa_process_unwind): Only dump the unwind table if + the data was successfully read in. + +2018-08-18 Alan Modra + + * testsuite/lib/binutils-common.exp (is_elf64): Use directory of + input file for readelf.out. + (is_rela): New proc. + * testsuite/binutils-all/objcopy.exp (elf64): Set new variable + from first result of is_elf64 test. + (reloc_format): Set using is_rela. + (strip-13): Pass RELOC and ELF64 to assembler. + (strip-14, strip-15): Use elf64 rather than calling is_elf64 again. + * testsuite/binutils-all/strip-13.d: Run for more targets. + * testsuite/binutils-all/strip-13mips64.s: Use RELOC and set + addend to zero. + * testsuite/binutils-all/strip-13rel.s: Use RELOC and ELF64. + Don't add _NONE reloc. + * testsuite/binutils-all/strip-13rela.s: Likewise. + +2018-08-10 H.J. Lu + + PR binutils/23494 + * testsuite/binutils-all/x86-64/pr23494c.s: New file. + * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494e.d: Likewise. + +2018-08-10 H.J. Lu + + * testsuite/binutils-all/x86-64/pr23494a-x32.d: Skip nacl + targets. + * testsuite/binutils-all/x86-64/pr23494a.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494b.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494c.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494d.d: Likewise. + +2018-08-08 H.J. Lu + + PR binutils/23494 + * testsuite/binutils-all/x86-64/pr23494a-x32.d: New file. + * testsuite/binutils-all/x86-64/pr23494a.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494a.s: Likewise. + * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494b.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494b.s: Likewise. + * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494c.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494d.d: Likewise. + +2018-08-08 Kevin Buettner + + * dwarf.c (decode_location_expresion): Add case for + DW_OP_GNU_variable_value. + +2018-08-06 Claudiu Zissulescu + + * readelf.c (display_arc_attribute): Print Tag_ARC_ATR_version. + +2018-08-03 Nick Clifton + + * objcopy.c (merge_gnu_build_notes): Delete empty notes. Merge + identical function notes. + +2018-08-01 Nick Clifton + + * README-how-to-make-a-release: Add note about regenerating the + info files prior to the release. + +2018-07-30 Andrew Jenner + + * MAINTAINERS (C-SKY): Add Yunhai Shang as co-maintainer. + +2018-07-30 Andrew Jenner + + * MAINTAINERS (C-SKY): Add Lifang Xia as maintainer. + +2018-07-30 Andrew Jenner + + * readelf.c: Include elf/csky.h. + (guess_is_rela): Handle EM_CSKY. + (dump_relocations): Likewise. + (get_machine_name): Likewise. + (is_32bit_abs_reloc): Likewise. + +2018-07-25 Nick Clifton + + * rdcoff.c (parse_coff_struct_type): Free fields array upon early + exit. + (parse_coff_enum_type): Free names and vals arrays upon early + exit. + * rddbg.c (read_section_stabs_debugging_info): Free shandle and + strings and stabs arrays upon early exit. + * readelf.c (get_32bit_section_headers): Free shdrs structure upon + early exit. + (get_64bit_section_headers): Likewise. + (get_32bit_elf_symbols): Generate an error if multiple symbol + table index sections are associated with the same symbol section. + (get_64bit_elf_symbols): Likewise. + (process_dynamic_section): Generate an error if there are multiple + dynamic symbol table sections, multiple dynamic string tables or + multiple dynamic symbol information sections. + +2018-07-24 Nick Clifton + + * po/sv.po: Updated Swedish translation. + +2018-07-24 Alan Modra + + PR 23431 + * dwarf.c (display_formatted_table): Replace "what" parameter + with "is_dir". Expand messages. Fix capitalisation. + * testsuite/binutils-all/dw5.W: Update expected output. + +2018-07-24 Alan Modra + + PR 23430 + * elfcomm.h (struct archive_info): Rename uses_64bit_indicies + to uses_64bit_indices. + * elfcomm.c (setup_archive): Update uses of above. + * readelf.c (process_archive): Likewise. + (get_section_type_name): Rename indicies to indices. + (get_32bit_elf_symbols, get_64bit_elf_symbols): Likewise. + (process_section_groups): Likewise. + +2018-07-20 Maciej W. Rozycki + + * MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV + ISA maintenance. + +2018-07-20 Nick Clifton + + * objcopy.c (add_specific_symbols): Free buffer on exit. + (add_redefine_syms_file): Close file handle on exit. + (copy_object): Close file handle on early exit. + Free buffer on early exit. + Free gaps buffers once they are no longer needed. + * dwarf.c (display_debug_frames): Free allocated memory on exit. + (load_separate_debug_info): Free allocate memory on early exit. + +2018-07-20 Chenghua Xu + Maciej W. Rozycki + + * readelf.c (print_mips_ases): Add MMI extension. + +2018-07-19 DJ Delorie + + * MAINTAINERS (RL78, RX): Remove myself as maintainer. + +2018-07-19 Nick Clifton + + * dwarf.c (read_cie): Free allocated memory before returning with + a failure result. + +2018-07-16 Pedro Franco de Carvalho + + * readelf.c (get_note_type): Fix typo in NT_PPC_TM_CVSX note + description. + +2018-07-16 Nick Clifton + + * README-how-to-make-a-release: Add note to check for new top + level files and add them to the src-release.sh script. + +2018-07-14 Nick Clifton + + * README-how-to-make-a-release: Updated with corrections based on + the 2.31 release experience. + +2018-07-12 Francois H. Theron + + * readelf.c (process_section_headers): Don't print section type + twice for --section-details. + +2018-07-10 Alan Modra + + * testsuite/lib/binutils-common.exp (supports_gnu_unique): Return + zero for xgate. + +2018-07-06 Nick Clifton + + * readelf.c (same_section): New function. + (print_gnu_build_attribute_description): Do not complain about + gaps that cross a section boundary. + 2018-07-05 Nick Clifton * po/bg.po: Updated Bulgarian translation. @@ -545,7 +1036,7 @@ 2018-02-19 Matthias Klose * strings.c (long_options): Include-all-whitespace does not take - an extra agument. + an extra agument. 2018-02-13 Alan Modra