Fix typo in PR number.
[deliverable/binutils-gdb.git] / gold / ChangeLog
index 9febcbad060ce3a5d3bf9ad81cab0bec0e943632..7fdc7bf5c88790ef28293b73c1e78f25a8d3234c 100644 (file)
@@ -1,3 +1,160 @@
+2015-07-21  Cary Coutant  <ccoutant@gmail.com>
+
+       PR gold/18698
+       * archive.cc (Library_base::should_include_member): Don't use entry
+       point for relocatable links, or if target is not yet valid.
+       * parameters.cc (Parameters::entry): Check target_valid().
+
+2015-07-20  Han Shen  <shenhan@google.com>
+
+       Optimize erratum 843419 fix.
+
+       * aarch64.cc (AArch64_insn_utilities::is_adr): New method.
+       (AArch64_insn_utilities::aarch64_adr_encode_imm): New method.
+       (AArch64_insn_utilities::aarch64_adrp_decode_imm): New method.
+       (E843419_stub): New sub-class of Erratum_stub.
+       (AArch64_relobj::try_fix_erratum_843419_optimized): New method.
+       (AArch64_relobj::section_needs_reloc_stub_scanning): Try optimized fix.
+       (AArch64_relobj::create_erratum_stub): Add 1 argument.
+       (Target_aarch64::scan_erratum_843419_span): Pass in adrp insn offset.
+
+2015-07-20  Han Shen  <shenhan@google.com>
+
+       Fix arm elf header flags wrt hardfp bit.
+
+       * arm.cc (Target_arm::do_adjust_elf_header): Set flags into view.
+
+2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gold/18689
+       * layout.cc (Layout::layout): Clear the SHF_COMPRESSED flag bit
+       from input group section for relocatable link.
+       * testsuite/Makefile.am (check_SCRIPTS): Add pr18689.sh.
+       (check_DATA): Add pr18689.stdout.
+       (MOSTLYCLEANFILES): Add pr18689a.o pr18689b.o.
+       (pr18689.stdout): New rule.
+       (pr18689a.o): Likewise.
+       (pr18689b.o): Likewise.
+       (pr18689.o): Likewise.
+       * testsuite/pr18689.c: New file.
+       * testsuite/pr18689.sh: Likewise.
+       * testsuite/Makefile.in: Regenerated.
+
+2015-07-20  Yiran Wang  <yiran@google.com>
+       Cary Coutant  <ccoutant@gmail.com>
+
+       PR gold/15574
+       * resolve.cc (Symbol_table): Remove warning about references
+       from shared objects to hidden symbols.
+       * testsuite/Makefile.am (hidden_test): Add hidden_test.syms.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/hidden_test.sh: Check dynamic symbol table; update
+       expected error messages.
+
+2015-07-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * compressed_output.cc (Output_compressed_section::set_final_data_size):
+       Make --compress-debug-sections=zlib the same as
+       --compress-debug-sections=zlib-gabi.
+       * testsuite/Makefile.am (flagstest_compress_debug_sections.check):
+       Expect ".debug_.*" with the SHF_COMPRESSED bit, instead of
+       ".zdebug_".
+       * testsuite/Makefile.in: Regenerated.
+
+2015-07-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gold/18322
+       * compressed_output.cc (zlib_compress): Add argument for
+       compression header size.  Set header size to compression header
+       size if it isn't 0.  Don't write out the zlib header here.
+       (Output_compressed_section::set_final_data_size): Support
+       zlib-gnu and zlib-gabi compressions.  Pass compression header
+       size to zlib_compress and write out compression header.  Set
+       the SHF_COMPRESSED bit for zlib-gabi compression.  Otherwise
+       clear the SHF_COMPRESSED bit
+       * options.h (compress_debug_sections): Add zlib-gnu and
+       zlib-gabi.
+       * output.h (Output_section::set_flags): New.
+       * testsuite/Makefile.am (check_PROGRAMS): Add
+       flagstest_compress_debug_sections_none,
+       flagstest_compress_debug_sections_gnu and
+       flagstest_compress_debug_sections_gabi.
+       (check_DATA): Add flagstest_compress_debug_sections_none.stdout.
+       flagstest_compress_debug_sections.stdout,
+       flagstest_compress_debug_sections.cmp,
+       flagstest_compress_debug_sections.check,
+       flagstest_compress_debug_sections_gnu.stdout,
+       flagstest_compress_debug_sections_gnu.cmp,
+       flagstest_compress_debug_sections_gnu.check,
+       flagstest_compress_debug_sections_gabi.stdout,
+       flagstest_compress_debug_sections_gabi.cmp and
+       flagstest_compress_debug_sections_gabi.check.
+       (flagstest_compress_debug_sections_none): New.
+       (flagstest_compress_debug_sections_none.stdout): Likewise.
+       (flagstest_compress_debug_sections.stdout): Likewise.
+       (flagstest_compress_debug_sections.check): Likewise.
+       (flagstest_compress_debug_sections.cmp): Likewise.
+       (flagstest_compress_debug_sections_gnu): Likewise.
+       (flagstest_compress_debug_sections_gnu.stdout): Likewise.
+       (flagstest_compress_debug_sections_gnu.check): Likewise.
+       (flagstest_compress_debug_sections_gnu.cmp): Likewise.
+       (flagstest_compress_debug_sections_gabi): Likewise.
+       (flagstest_compress_debug_sections_gabi.stdout): Likewise.
+       (flagstest_compress_debug_sections_gnu.check): Likewise.
+       (flagstest_compress_debug_sections_gnu.cmp): Likewise.
+       * testsuite/Makefile.in: Regenerated.
+
+2015-07-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gold/18321
+       * compressed_output.h (decompress_input_section): Add arguments
+       for ELF class, big endian and sh_flags.
+       * compressed_output.cc (decompress_input_section): Likewise.
+       Support the SHF_COMPRESSED section.
+       * dynobj.h (Dynobj): Add elfsize and is_big_endian member
+       functions.
+       * plugin.h (Pluginobj): Likewise.
+       * layout.cc (Layout::get_output_section_flags): Also clear the
+       SHF_COMPRESSED bit.
+       * object.h (Compressed_section_info): Add flag to store sh_flags.
+       (Object): Add pure virtual elfsize and is_big_endian member
+       functions.
+       * object.cc (need_decompressed_section): Don't skip the ".zdebug"
+       prefix here.
+       (build_compressed_section_map): Check SHF_COMPRESSED for
+       uncompressed size.  Store sh_flags in Compressed_section_info.
+       Pass size, big_endian and sh_flags to decompress_input_section.
+       Skip the ".debug"/".zdebug" prefix when passing section name to
+       need_decompressed_section.
+       (Sized_relobj_file<size, big_endian>::do_find_special_section):
+       Don't check ".zdebug_*" sections.
+       (Object::decompressed_section_contents): Pass ELF class, big
+       endian and sh_flags to decompress_input_section.
+       * reloc.cc (Sized_relobj_file<size, big_endian>::write_sections):
+       Likewise.
+       * testsuite/Makefile.am (check_DATA): Add
+       debug_msg_cdebug_gabi.err and gdb_index_test_2_gabi.stdout.
+       (MOSTLYCLEANFILES): Add debug_msg_cdebug_gabi.err and
+       gdb_index_test_2_gabi.stdout.
+       (debug_msg_cdebug_gabi.o): New.
+       (odr_violation1_cdebug_gabi.o): Likewise.
+       (odr_violation2_cdebug_gabi.o): Likewise.
+       (debug_msg_cdebug_gabi.err): Likewise.
+       (check_SCRIPTS): Add gdb_index_test_2_gabi.sh.
+       (gdb_index_test_cdebug_gabi.o): Likewise.
+       (gdb_index_test_2_gabi): Likewise.
+       (gdb_index_test_2_gabi.stdout): Likewise.
+       * testsuite/gdb_index_test_2_gabi.sh: New file.
+       * testsuite/Makefile.in: Regenerated.
+
+2015-07-09  Han Shen  <shenhan@google.com>
+
+       Use "gold_info" instead of "gold_warning" for erratum fix.
+
+       * aarch64.cc (Target_aarch64::scan_erratum_843419_span): Use
+       'gold_info'.
+       (Target_aarch64::scan_erratum_835769_span): USe 'gold_info'.
+
 2015-07-09  Han Shen  <shenhan@google.com>
 
        Drop missing symbol warning for arm/aarch64.
This page took 0.043272 seconds and 4 git commands to generate.