X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=binutils%2FChangeLog;h=ee6defcbf8dd3a1e796d840df14c108d422e0c47;hb=a4b9568c7ee95891de6f5ba846f2d1aaf61569cd;hp=b618044094a563025e7d9b04b32d45ce7e58457d;hpb=11459a79d97842a64961a35472bb8d67ed0fcf22;p=deliverable%2Fbinutils-gdb.git diff --git a/binutils/ChangeLog b/binutils/ChangeLog index b618044094..ee6defcbf8 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,333 @@ +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 @@ -26,8 +356,8 @@ 2018-08-08 Kevin Buettner - * dwarf.c (decode_location_expresion): Add case for - DW_OP_GNU_variable_value. + * dwarf.c (decode_location_expresion): Add case for + DW_OP_GNU_variable_value. 2018-08-06 Claudiu Zissulescu @@ -706,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