gas: avoid spurious failures in non-ELF targets in the SPARC testsuite.
[deliverable/binutils-gdb.git] / gold / ChangeLog
index ca90470d430808e84fc12c786cfe9d4cc3927fd1..239df36f234ec6ade83a7701c2923911bc6d3c70 100644 (file)
@@ -1,9 +1,711 @@
-2015-03-03  Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
+2016-06-29  Cary Coutant  <ccoutant@gmail.com>
+
+gold/
+       PR gold/20310
+       * testsuite/dynamic_list.sh: Remove check for _ZdlPv.
+
+2016-06-29  Cary Coutant  <ccoutant@gmail.com>
+
+       * testsuite/Makefile.am (MOSTLYCLEANFILES): Add eh_test_2.
+       * testsuite/Makefile.in: Regenerate.
+
+2016-06-30  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/Makefile.am (memory_test, memory_test_2): Pass
+       -Wl,-z to gcc, not plain -z.
+       * testsuite/Makefile.in: Regenerate.
+
+2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gold/20308
+       * i386.cc (Target_i386::Relocate::relocate): Allow
+       R_386_GOT32X relocation against ___tls_get_addr.
+       (Target_i386::Relocate::tls_gd_to_ie): Support indirect
+       call to __tls_get_addr.
+       (Target_i386::Relocate::tls_gd_to_le): Likewise.
+       (Target_i386::Relocate::tls_ld_to_le): Likewise.
+       * testsuite/Makefile.am (check_PROGRAMS): Add pr20308a_test,
+       pr20308b_test, pr20308c_test, pr20308d_test, pr20308e_test.
+       (pr20308a_test_SOURCES): New.
+       (pr20308a_test_DEPENDENCIES): Likewise.
+       (pr20308a_test_CFLAGS): Likewise.
+       (pr20308a_test_LDFLAGS): Likewise.
+       (pr20308a_test_LDADD): Likewise.
+       (pr20308b_test_SOURCES): Likewise.
+       (pr20308b_test_DEPENDENCIES): Likewise.
+       (pr20308b_test_CFLAGS): Likewise.
+       (pr20308b_test_LDFLAGS): Likewise.
+       (pr20308b_test_LDADD): Likewise.
+       (pr20308c_test_SOURCES): Likewise.
+       (pr20308c_test_DEPENDENCIES): Likewise.
+       (pr20308c_test_CFLAGS): Likewise.
+       (pr20308c_test_LDFLAGS): Likewise.
+       (pr20308c_test_LDADD): Likewise.
+       (pr20308d_test_SOURCES): Likewise.
+       (pr20308d_test_DEPENDENCIES): Likewise.
+       (pr20308d_test_CFLAGS): Likewise.
+       (pr20308d_test_LDFLAGS): Likewise.
+       (pr20308d_test_LDADD): Likewise.
+       (pr20308e_test_SOURCES): Likewise.
+       (pr20308e_test_DEPENDENCIES): Likewise.
+       (pr20308e_test_CFLAGS): Likewise.
+       (pr20308e_test_LDFLAGS): Likewise.
+       (pr20308e_test_LDADD): Likewise.
+       (pr20308a.so): Likewise.
+       (pr20308b.so): Likewise.
+       (pr20308_gd.o): Likewise.
+       (pr20308_ld.o): Likewise.
+       (MOSTLYCLEANFILES): Add pr20308a.so pr20308b.so.
+       * testsuite/Makefile.in: Regenerated.
+       * testsuite/pr20308_def.c: New file.
+       * testsuite/pr20308_gd.S: Likewise.
+       * testsuite/pr20308_ld.S: Likewise.
+       * testsuite/pr20308_main.c: Likewise.
+
+2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gold/20216
+       * configure.ac (DEFAULT_TARGET_X86_64_OR_X32): New
+       AM_CONDITIONAL.
+       * configure: Regenerated.
+       * x86_64.cc (Target_x86_64<size>::Relocate::relocate): Allow
+       R_X86_64_GOTPCRELX relocation against __tls_get_addr.
+       (Target_x86_64<size>::Relocate::tls_gd_to_ie): Support indirect
+       call to __tls_get_addr.
+       (Target_x86_64<size>::Relocate::tls_gd_to_le): Likewise.
+       (Target_x86_64<size>::Relocate::tls_ld_to_le): Likewise.
+       * testsuite/Makefile.am (check_PROGRAMS): Add pr20216a_test,
+       pr20216b_test, pr20216c_test, pr20216d_test, pr20216e_test.
+       (pr20216a_test_SOURCES): New.
+       (pr20216a_test_DEPENDENCIES): Likewise.
+       (pr20216a_test_CFLAGS): Likewise.
+       (pr20216a_test_LDFLAGS): Likewise.
+       (pr20216a_test_LDADD): Likewise.
+       (pr20216b_test_SOURCES): Likewise.
+       (pr20216b_test_DEPENDENCIES): Likewise.
+       (pr20216b_test_CFLAGS): Likewise.
+       (pr20216b_test_LDFLAGS): Likewise.
+       (pr20216b_test_LDADD): Likewise.
+       (pr20216c_test_SOURCES): Likewise.
+       (pr20216c_test_DEPENDENCIES): Likewise.
+       (pr20216c_test_CFLAGS): Likewise.
+       (pr20216c_test_LDFLAGS): Likewise.
+       (pr20216c_test_LDADD): Likewise.
+       (pr20216d_test_SOURCES): Likewise.
+       (pr20216d_test_DEPENDENCIES): Likewise.
+       (pr20216d_test_CFLAGS): Likewise.
+       (pr20216d_test_LDFLAGS): Likewise.
+       (pr20216d_test_LDADD): Likewise.
+       (pr20216e_test_SOURCES): Likewise.
+       (pr20216e_test_DEPENDENCIES): Likewise.
+       (pr20216e_test_CFLAGS): Likewise.
+       (pr20216e_test_LDFLAGS): Likewise.
+       (pr20216e_test_LDADD): Likewise.
+       (pr20216a.so): Likewise.
+       (pr20216b.so): Likewise.
+       (pr20216_gd.o): Likewise.
+       (pr20216_ld.o): Likewise.
+       (MOSTLYCLEANFILES): Add pr20216a.so pr20216b.so.
+       * testsuite/Makefile.in: Regenerated.
+       * testsuite/pr20216_def.c: New file.
+       * testsuite/pr20216_gd.S: Likewise.
+       * testsuite/pr20216_ld.S: Likewise.
+       * testsuite/pr20216_main.c: Likewise.
+
+2016-06-29  Alan Modra  <amodra@gmail.com>
+
+       * script_test_12.t: Delete .plt, specify 64k page size.
+       * script_test_12i.t: Likewise.
+
+2016-06-29  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/plugin_layout_with_alignment.c: Explicitly align all
+       variables.
+
+2016-06-29  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/Makefile.am (copy_test_protected): Disable for powerpc.
+       * testsuite/Makefile.in: Regenerate.
+
+2016-06-28  Igor Kudrin  <ikudrin@accesssoftek.com>
+
+       * aarch64-reloc.def (NONE): New relocation.
+       * aarch64.cc (Target_aarch64::Scan::local): Handle R_AARCH64_NONE.
+       (Target_aarch64::Scan::global): Likewise.
+       * testsuite/Makefile.am (aarch64_reloc_none): New test.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/aarch64_reloc_none.s: New test source file.
+       * testsuite/aarch64_reloc_none.sh: New test script.
+
+2016-06-28  Sriraman Tallam  <tmsriram@google.com>
+
+       * x86_64.cc (Lazy_view): New class.
+       (can_convert_mov_to_lea): Templatize function.  Make the function
+       check for appropriate relocation types and use the view parameter
+       to get section contents.
+       (can_convert_callq_to_direct): New function.
+       (Target_x86_64<size>::Scan::global): Refactor.
+       (Target_x86_64<size>::Relocate::relocate): Refactor. Change any indirect
+       call via GOT that can be converted.
+       * testsuite/Makefile.am (x86_64_indirect_call_to_direct.sh): New test.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/x86_64_indirect_call_to_direct1.s: New file.
+       * testsuite/x86_64_indirect_jump_to_direct1.s: New file.
+
+2016-06-28  Igor Kudrin  <ikudrin@accesssoftek.com>
+
+       * aarch64.cc (Target_aarch64::Scan::local): Move the call to got_section
+       from the top level to the places of its use.
+
+2016-06-28  Igor Kudrin  <ikudrin@accesssoftek.com>
+
+       PR gold/18098
+       * script-c.h (Sort_wildcard): Add SORT_WILDCARD_BY_INIT_PRIORITY.
+       * script-sections.cc (Input_section_sorter::get_init_priority): New method.
+       (Input_section_sorter::operator()): Handle SORT_WILDCARD_BY_INIT_PRIORITY.
+       (Output_section_element_input::print): Likewise.
+       * script.cc (script_keyword_parsecodes): Add entry SORT_BY_INIT_PRIORITY.
+       * yyscript.y (SORT_BY_INIT_PRIORITY): New token.
+       (wildcard_section): Handle SORT_BY_INIT_PRIORITY.
+
+       * testsuite/Makefile.am (script_test_14): New test.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/script_test_14.s: New test source file.
+       * testsuite/script_test_14.sh: New test script.
+       * testsuite/script_test_14.t: New test linker script.
+
+2016-06-28  James Clarke  <jrtc27@jrtc27.com>
+
+       * sparc.cc (Target_sparc::Scan::local): Don't convert R_SPARC_32
+       to R_SPARC_RELATIVE if class is ELFCLASS64.
+       (Target_sparc::Scan::global): Likewise.
+
+2016-06-23  Cary Coutant  <ccoutant@gmail.com>
+           Igor Kudrin  <ikudrin@accesssoftek.com>
+
+       PR gold/15370
+       * script-sections.cc
+       (Output_section_element_input::set_section_addresses): Keep bin_count
+       separate from input_pattern_count.
+       * testsuite/script_test_12.t: Add another section .x4.
+       * testsuite/script_test_12i.t: Likewise.
+       * testsuite/script_test_12a.c: Likewise.
+       * testsuite/script_test_12b.c: Likewise.
+
+2016-06-23  Igor Kudrin  <ikudrin@accesssoftek.com>
+
+       * gold-threads.cc (impl_threads::Lock_impl_threads): Fix typos.
+
+2016-06-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/20283
+       * NEWS: Mention --enable-relro.
+       * configure.ac: Add --enable-relro.
+       (DEFAULT_LD_Z_RELRO): New.  Set by --enable-relro and default
+       to 1.
+       * config.in: Regenerated.
+       * configure: Likewise.
+       * options.h (General_options::relro): Default to
+       DEFAULT_LD_Z_RELRO.
+
+2016-06-20  Cary Coutant  <ccoutant@gmail.com>
+
+       * NEWS: Add new features in 1.12.
+       * version.cc (version_string): Bump to 1.12.
+
+2016-06-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gold/20245
+       * i386.cc (Target_i386::first_plt_entry_offset): Return 0 if
+       plt_ is NULL.
+       (Target_i386::plt_entry_size): Likewise.
+       (Target_x86_64<size>::first_plt_entry_offset): Likewise.
+       (Target_x86_64<size>::plt_entry_size): Likewise.
+
+2016-06-20  Vladimir Radosavljevic  <Vladimir.Radosavljevic@imgtec.com>
+
+        * mips.cc (Target_mips::Target_mips): Initialize rld_map_.
+        (Target_mips::rld_map_): New data member.
+        (Target_mips::do_finalize_sections): Add support for
+        DT_MIPS_RLD_MAP and DT_MIPS_RLD_MAP_REL dynamic tags,
+        .rld_map section, and __RLD_MAP symbol.
+        (Target_mips::do_dynamic_tag_custom_value): Add support for
+        DT_MIPS_RLD_MAP_REL dynamic tag.
+        * output.cc (Output_data_dynamic::get_entry_offset): New method
+        definition.
+        * output.h (Output_data_dynamic::get_entry_offset): New method
+        declaration.
+
+2016-06-20  Vladimir Radosavljevic  <Vladimir.Radosavljevic@imgtec.com>
+
+        * mips.cc (Mips_relocate_functions::relpc16): Add unaligned check.
+
+2016-06-20  Vladimir Radosavljevic  <Vladimir.Radosavljevic@imgtec.com>
+
+       * mips.cc (relocation_needs_la25_stub): Add support for relocs:
+       R_MIPS_PC21_S2 and R_MIPS_PC26_S2.
+       (hi16_reloc): Add support for R_MIPS_PCHI16 relocation.
+       (is_matching_lo16_reloc): Likewise.
+       (lo16_reloc): Add support for R_MIPS_PCLO16 relocation.
+       (Mips_output_data_plt::plt_entry_r6): New static data member for
+       R6 PLT entry.
+       (Target_mips::is_output_r6): New method.
+       (Target_mips::Mips_mach): Add new enum constants.
+       (Mips_relocate_functions::Status): Likewise.
+       (Mips_relocate_functions::pchi16_relocs): New static data member.
+       (Mips_relocate_functions::relpc21): New method.
+       (Mips_relocate_functions::relpc26): Likewise.
+       (Mips_relocate_functions::relpc18): Likewise.
+       (Mips_relocate_functions::relpc19): Likewise.
+       (Mips_relocate_functions::relpchi16): Likewise.
+       (Mips_relocate_functions::do_relpchi16): Likewise.
+       (Mips_relocate_functions::relpclo16): Likewise.
+       (Mips_output_data_plt::do_write): Add support for Mips r6 plt
+       entry.
+       (Target_mips::mips_32bit_flags): Add E_MIPS_ARCH_32R6 support.
+       (Target_mips::elf_mips_mach): Add E_MIPS_ARCH_32R6 and
+       E_MIPS_ARCH_64R6 support.
+       (Target_mips::update_abiflags_isa): Likewise.
+       (mips_get_size_for_reloc): Add support for relocs: R_MIPS_PCHI16,
+       R_MIPS_PCLO16, R_MIPS_PC21_S2, R_MIPS_PC26_S2, R_MIPS_PC18_S3 and
+       R_MIPS_PC19_S2.
+       (Target_mips::Scan::local): Add support for relocs: R_MIPS_PCHI16
+       and R_MIPS_PCLO16.
+       (Target_mips::Scan::global): Add support for relocs:
+       R_MIPS_PC21_S2 and R_MIPS_PC26_S2.
+       (Target_mips::Relocate::relocate): Call functions for resolving
+       Mips32r6 and Mips64r6 relocations, and print error message for
+       STATUS_PCREL_UNALIGNED.
+       (Target_mips::Scan::get_reference_flags): Add support for relocs:
+       R_MIPS_PCHI16, R_MIPS_PCLO16, R_MIPS_PC21_S2, R_MIPS_PC26_S2,
+       R_MIPS_PC18_S3 and R_MIPS_PC19_S2.
+       (Target_mips::elf_mips_mach_name): Add E_MIPS_ARCH_32R6 and
+       E_MIPS_ARCH_64R6 support.
+
+2016-06-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gold/20246
+       * testsuite/script_test_2.t: Add .got.plt after .got.
+
+2016-06-10  Vladimir Radosavljevic  <Vladimir.Radosavljevic@imgtec.com>
+
+       * mips.cc (struct Mips_abiflags): New struct.
+       (Mips_relobj::Mips_relobj): Initialize attributes_section_data_
+       and abiflags_.
+       (Mips_relobj::~Mips_relobj): Delete object pointed by
+       attributes_section_data_.
+       (Mips_relobj::abiflags): New method.
+       (Mips_relobj::attributes_section_data): Likewise.
+       (Mips_relobj::attributes_section_data_): New data member.
+       (Mips_relobj::abiflags_): Likewise.
+       (class Mips_output_section_abiflags): New class.
+       (Target_mips::Target_mips): Initialize attributes_section_data_,
+       abiflags_ and has_abiflags_section_.
+       (Target_mips::do_should_include_section): Don't emit input
+       .MIPS.abiflags sections to output .MIPS.abiflags.
+       (Target_mips::Mips_mach): Add new enum constants.
+       (Target_mips::mips_isa_ext_mach): New method.
+       (Target_mips::mips_isa_ext): Likewise.
+       (Target_mips::update_abiflags_isa): Likewise.
+       (Target_mips::infer_abiflags): Likewise.
+       (Target_mips::create_abiflags): Likewise.
+       (Target_mips::fp_abi_string): Likewise.
+       (Target_mips::select_fp_abi): Likewise.
+       (Target_mips::merge_obj_attributes): Likewise.
+       (Target_mips::merge_obj_abiflags): Likewise.
+       (Target_mips::level_rev): Likewise.
+       (Target_mips::merge_obj_e_flags): Rename from
+       merge_processor_specific_flags. Remove dyn_obj argument,
+       call update_abiflags_isa when needed, compare NaN encodings and
+       compare FP64 state.
+       (Target_mips::add_machine_extensions): Add two machine extensions
+       and fix one.
+       (Target_mips::attributes_section_data_): New data member.
+       (Target_mips::abiflags_): Likewise.
+       (Target_mips::has_abiflags_section_): Likewise.
+       (Mips_relobj::do_read_symbols): Read .gnu.attributes and
+       .MIPS.abiflags sections if they exists.
+       (Target_mips::elf_mips_mach): Add E_MIPS_MACH_5900 and
+       E_MIPS_MACH_OCTEON3 support.
+       (Target_mips::do_adjust_elf_header): Setup EI_ABIVERSION flag.
+       (Target_mips::do_finalize_sections): Merge .gnu.attributes and
+       .MIPS.abiflags sections from input. Create these sections if
+       needed.
+       (Target_mips::elf_mips_mach_name): Add E_MIPS_MACH_5900 and
+       E_MIPS_MACH_OCTEON3 support, and change strings for
+       E_MIPS_MACH_LS2E, E_MIPS_MACH_LS2F and E_MIPS_MACH_LS3A just
+       to match bfd.
+
+2016-06-10  Vladimir Radosavljevic  <Vladimir.Radosavljevic@imgtec.com>
+
+       * mips.cc (Mips_relobj::Mips_relobj): Initialize
+       has_reginfo_section_.
+       (Mips_relobj::has_reginfo_section_): New data member.
+       (Mips_relobj::has_reginfo_section): New method.
+       (class Mips_output_section_reginfo): Change base class to
+       Output_section_data, and set masks of the output .reginfo section
+       in constructor.
+       (Mips_output_section_reginfo::as_mips_output_section_reginfo):
+       Remove.
+       (Mips_output_section_reginfo::set_masks): Likewise.
+       (Mips_output_section_reginfo::set_final_data_size): Likewise.
+       (Mips_output_section_reginfo::do_print_to_mapfile): New method.
+       (Target_mips::do_make_output_section): Remove.
+       (Mips_relobj::do_read_symbols): Set has_reginfo_section_ to true
+       if the object contains a .reginfo section.
+       (Target_mips::do_finalize_sections): Create a .reginfo output
+       section if needed.
+
+2016-06-09  Artemiy Volkov  <artemiyv@acm.org>
+
+       * mips.cc (Mips_output_data_got::do_write): Add missing template
+       args via typedef.
+
+2016-05-30  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       PR/19960
+       * s390.cc (Target_s390::ss_code_st_r14): Removed.
+       (Target_s390::ss_code_l_r14): Removed.
+       (Target_s390::ss_code_ear): Removed.
+       (Target_s390::ss_code_c): Removed.
+       (Target_s390::ss_match_st_r14): New function.
+       (Target_s390::ss_match_l_r14): New function.
+       (Target_s390::ss_match_mcount): Call ss_match_{l,st}_r14 instead
+       of matching code directly.
+       (Target_s390::ss_match_ear): New function.
+       (Target_s390::ss_match_c): New function.
+       (Target_s390::do_calls_non_split): Call ss_match_{ear,c} instead
+       of matching code directly.
+
+2016-05-19  Cary Coutant  <ccoutant@gmail.com>
+
+       PR gold/19823
+       * copy-relocs.cc (Copy_relocs::make_copy_reloc): Add object
+       parameter; check for protected symbol.
+       * copy-relocs.h (Copy_relocs::make_copy_reloc): Add object parameter.
+       * mips.cc (Mips_copy_relocs): Adjust call to make_copy_reloc.
+       * symtab.cc (Symbol::init_fields): Initialize is_protected_.
+       (Symbol_table::add_from_dynobj): Mark protected symbols.
+       * symtab.h (Symbol::is_protected): New method.
+       (Symbol::set_is_protected): New method.
+       (Symbol::is_protected_): New data member.
+
+       * testsuite/Makefile.am (copy_test_protected): New test.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/copy_test.cc (main): Add legal reference to protected
+       symbol.
+       * testsuite/copy_test_v1.cc (main): Likewise.
+       * testsuite/copy_test_2.cc (ip): Add protected symbol.
+       * testsuite/copy_test_protected.cc: New test source file.
+       * testsuite/copy_test_protected.sh: New test script.
+
+2016-05-19  Vladimir Radosavljevic  <vladimir.radosavljevic@imgtec.com>
+
+       * mips.cc (Mips_got_entry::Mips_got_entry): Remove object argument
+       for global got symbols, and set addend to 0.
+       (Mips_got_entry::hash): Change hash algorithm.
+       (Mips_got_entry::equals): Refactor.
+       (Mips_got_entry::object): Return input object for local got symbols
+       from union d.
+       (Mips_got_entry::addend): Change return of the relocation addend.
+       (Mips_got_entry::addend_): Move from union d.
+       (Mips_got_entry::object_): Move into union d.
+       (class Mips_symbol_hash): New class.
+       (Mips_got_info::Global_got_entry_set): New type.
+       (Mips_got_info::global_got_symbols): Change return type to
+       Global_got_entry_set.
+       (Mips_got_info::global_got_symbols_): Change type to
+       Global_got_entry_set.
+       (Mips_symbol::hash): New method.
+       (Mips_output_data_la25_stub::symbols_): Change type to std::vector.
+       (Mips_output_data_mips_stubs::Mips_stubs_entry_set): New type.
+       (Mips_output_data_mips_stubs::symbols_): Change type to
+       Mips_stubs_entry_set.
+       (Mips_got_info::record_global_got_symbol): Don't pass object
+       argument when creating global got symbol.
+       (Mips_got_info::record_got_entry): Remove find before inserting
+       got entries.
+       (Mips_got_info::add_reloc_only_entries): Change type of iterator
+       to Global_got_entry_set.
+       (Mips_got_info::count_got_symbols): Likewise.
+       (Mips_output_data_la25_stub::create_la25_stub): Use push_back
+       for adding entries to symbols_.
+       (Mips_output_data_la25_stub::do_write): Change type of iterator
+       to std::vector.
+       (Mips_output_data_mips_stubs::set_lazy_stub_offsets): Change type
+       of iterator to Mips_stubs_entry_set.
+       (Mips_output_data_mips_stubs::set_needs_dynsym_value): Likewise.
+       (Mips_output_data_mips_stubs::do_write): Likewise.
+
+2016-05-06  Han Shen  <shenhan@google.com>
+
+       PR gold/19987.
+
+       * aarch64-reloc.def: New relocation type.
+       * aarch64.cc (AArch64_relocate_functions::Page): Changed to public.
+       (Target_aarch64::Scan::local): Add R_AARCH64_LD64_GOTPAGE_LO15.
+       (Target_aarch64::Scan::global): Add R_AARCH64_LD64_GOTPAGE_LO15.
+       (Target_aarch64::Relocate::relocate): Implement R_AARCH64_LD64_GOTPAGE_LO15.
+
+2016-04-28  Nick Clifton  <nickc@redhat.com>
+
+       * po/zh_CN.po: Updated Chinese (simplified) translation.
+
+2016-04-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.in: Regenerated with automake 1.11.6.
+       * aclocal.m4: Likewise.
+       * testsuite/Makefile.in: Likewise.
+
+2016-03-30  Cary Coutant  <ccoutant@gmail.com>
+
+       PR gold/16979
+       * symtab.cc (Symbol_table::define_default_version): Check for case
+       where symbols are both in different shared objects.
+
+2016-03-27  Cary Coutant  <ccoutant@gmail.com>
+
+       PR gold/16111
+       * i386.cc (Target_i386): Add check for fully-resolved symbol for
+       R_386_GOTOFF.
+
+2016-03-22  Nick Clifton  <nickc@redhat.com>
+
+       * configure: Regenerate.
+
+2016-03-21  Cary Coutant  <ccoutant@gmail.com>
+
+       PR gold/19842
+       * errors.cc (Errors::undefined_symbol): Add info message when
+       symbol should have been provided by a plugin.
+       * target-reloc.h (issue_undefined_symbol_error): Check for
+       placeholder symbols defined in discarded sections.
+       * testsuite/Makefile.am (plugin_test_9b): New test case.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/plugin_test_9b_elf.cc: New test source file.
+       * testsuite/plugin_test_9b_ir.cc: New test source file.
+
+2016-03-20  Cary Coutant  <ccoutant@gmail.com>
+
+       PR gold/19002
+       * ehframe.cc (Eh_frame::read_fde): Check for dropped functions.
+       * testsuite/Makefile.am (eh_test_2): New test.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/eh_test_2.sh: New test script.
+       * testsuite/eh_test_a.cc (bar): Make it comdat.
+       * testsuite/eh_test_b.cc (bar): Add a duplicate copy.
+
+2016-03-18  Vladimir Radosavljevic  <vladimir.radosavljevic@imgtec.com>
+
+       * mips.cc (Mips_relobj::is_n64_): Remove.
+       (Target_mips::ei_class_): Likewise.
+       (Mips_relobj::is_newabi): Call methods.
+       (Mips_relobj::is_n64): Change checking for N64 ABI.
+       (Target_mips::is_output_n64): Likewise.
+       (Target_mips::merge_processor_specific_flags): Remove ei_class
+       argument, and remove comparing ei_class.
+       (Target_mips::do_adjust_elf_header): Remove setting EI_CLASS field
+       of the ELF header.
+       (Target_mips::do_finalize_sections): Don't pass ei_class argument
+       to merge_processor_specific_flags.
+       (Target_mips::elf_mips_abi_name): Remove ei_class argument, and
+       change checking for N64 ABI.
+
+2016-03-17  Vladimir Radosavljevic  <vladimir.radosavljevic@imgtec.com>
+
+       * mips.cc (enum Special_relocation_symbol): New enum type.
+       (is_readonly_section): New function.
+       (eh_reloc): Likewise.
+       (Mips_got_entry::is_section_symbol_): New member.
+       (Mips_got_entry::is_section_symbol): New method.
+       (Mips_got_info::record_local_got_symbol): Add is_section_symbol
+       argument.
+       (Mips_relobj::mips_elf_options_section_name): New method.
+       (Mips_output_data_got::record_local_got_symbol): Add
+       is_section_symbol argument, and pass it to
+       Mips_got_info::record_local_got_symbol.
+       (Mips_output_data_got::got_offset): Add addend argument, and pass
+       it to Relobj::local_got_offset.
+       (struct Mips_output_reloc_writer): New type.
+       (class Mips_output_data_reloc): New class.
+       (Mips_output_data_plt::Reloc_section): Change type to
+       Mips_output_data_reloc.
+       (Target_mips::Reloc_section): Likewise.
+       (Mips_reloc_types::get_r_addend): Remove unsigned from return type.
+       (Mips_classify_reloc::get_r_type2): New method.
+       (Mips_classify_reloc::get_r_type3): Likewise.
+       (Mips_classify_reloc::get_r_ssym): Likewise.
+       (Target_mips::Reloca_section): Remove.
+       (Relocate::should_apply_static_reloc): Rename from
+       should_apply_r_mips_32_reloc.
+       (Target_mips::copy_reloc): Replace Reltype parameter with r_type
+       and r_offset.
+       (Mips_relocate_functions::Valtype): New type.
+       (Mips_relocate_functions::Valtype64): New type.
+       (Mips_relocate_functions::check_overflow): New method.
+       (Mips_relocate_functions::mips_reloc_unshuffle): Move to public
+       interface.
+       (Mips_relocate_functions::mips_reloc_shuffle): Likewise.
+       (Mips_relocate_functions::rel16): Add support for resolving
+       relocations for Mips64.
+       (Mips_relocate_functions::rel32): Likewise.
+       (Mips_relocate_functions::reljalr): Likewise.
+       (Mips_relocate_functions::relpc32): Likewise.
+       (Mips_relocate_functions::rel26): Likewise.
+       (Mips_relocate_functions::relpc16): Likewise.
+       (Mips_relocate_functions::relmicromips_pc7_s1): Likewise.
+       (Mips_relocate_functions::relmicromips_pc10_s1): Likewise.
+       (Mips_relocate_functions::relmicromips_pc16_s1): Likewise.
+       (Mips_relocate_functions::do_relhi16): Likewise.
+       (Mips_relocate_functions::do_relgot16_local): Likewise.
+       (Mips_relocate_functions::rello16): Likewise.
+       (Mips_relocate_functions::relgot): Likewise.
+       (Mips_relocate_functions::relgotpage): Likewise.
+       (Mips_relocate_functions::relgotofst): Likewise.
+       (Mips_relocate_functions::relgot_hi16): Likewise.
+       (Mips_relocate_functions::relgot_lo16): Likewise.
+       (Mips_relocate_functions::relgprel): Likewise.
+       (Mips_relocate_functions::relgprel32): Likewise.
+       (Mips_relocate_functions::tlsrelhi16): Likewise.
+       (Mips_relocate_functions::tlsrello16): Likewise.
+       (Mips_relocate_functions::tlsrel32): Likewise.
+       (Mips_relocate_functions::relsub): Likewise.
+       (Mips_relocate_functions::releh): New method.
+       (Mips_relocate_functions::rel64): Likewise.
+       (Mips_got_info::record_local_got_symbol): Add is_section_symbol and
+       pass it to Mips_got_entry.
+       (Mips_got_info::add_local_entries): Pass addend argument
+       to code functions, and for STT_SECTION symbols call
+       add_symbolless_local_addend.
+       (Mips_got_info::add_tls_entries): Pass addend argument to code
+       functions.
+       (Mips_relobj::do_read_symbols): Read gp value that was used to
+       create object.
+       (Mips_output_data_plt::plt_entry): Remove opcode from l[wd]
+       instruction. Opcode for instruction will be selected later.
+       (Target_mips::gc_process_relocs): Add case for SHT_RELA.
+       (Target_mips::scan_relocatable_relocs): Likewise.
+       (Target_mips::emit_relocs_scan): Likewise.
+       (Target_mips::relocate_relocs): Likewise.
+       (Target_mips::do_finalize_sections): Skip objects for merging
+       processor specific flags in which all input sections will be
+       discarded.
+       (mips_get_size_for_reloc): Add case for R_MIPS_EH.
+       (Target_mips::Scan::get_reference_flags): Likewise.
+       (Target_mips::relocate_special_relocatable): Call rel26 method with
+       calculate_only and calculated_value arguments.
+       (Target_mips::Scan::local): Add case for R_MIPS_EH. Don't create a
+       dynamic relocation against a readonly sections, and pass
+       is_section_symbol to Mips_got_info::record_local_got_symbol.
+       (Target_mips::Scan::global): Add case for R_MIPS_EH. Don't create a
+       dynamic relocation against a readonly sections, and pass r_type
+       and r_offset to Target_mips::copy_reloc.
+       (Target_mips::Relocate::relocate): Add support for resolving
+       relocations for Mips64.
+       (Target_mips::mips_info): Add case for Mips64 default dynamic
+       linker name.
+       (Target_selector_mips): Correct emulation names.
+
+2016-03-17  Vladimir Radosavljevic  <vladimir.radosavljevic@imgtec.com>
+
+       * mips.cc (class Mips_output_data_la25_stub): Add
+       do_print_to_mapfile function.
+
+2016-03-17  Vladimir Radosavljevic  <vladimir.radosavljevic@imgtec.com>
+
+       * mips.cc (Mips_classify_reloc::put_r_info): Call 32bit version of
+       elf_r_info.
+
+2016-03-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/plugin_layout_with_alignment.cc: Renamed to ..
+       * testsuite/plugin_layout_with_alignment.c: This.
+       * testsuite/Makefile.am (plugin_layout_with_alignment.o): Updated.
+       (plugin_layout_with_alignment): Likewise.
+       * testsuite/Makefile.in: Regenerated.
+
+2016-03-08  Cary Coutant  <ccoutant@gmail.com>
+
+        PR 19751
+       * testsuite/Makefile.am (retain_symbols_file_test): Remove check
+       for constructor.
+       * testsuite/Makefile.in: Regenerate.
+       * testsuite/dynamic_list.sh: Likewise.
+       * testsuite/retain_symbols_file_test.sh: Likewise.
+
+2016-03-08  Cary Coutant  <ccoutant@gmail.com>
+
+        PR 19751
+        * arm.cc (Reloc_stub::Key::name): Add unused attribute.
+        * dirsearch.cc (Dir_caches::~Dir_caches): Likewise.
+
+2016-03-08  Cary Coutant  <ccoutant@gmail.com>
+            Vladimir Radosavljevic  <vladimir.radosavljevic@imgtec.com>
+
+       * output.cc (Output_reloc_writer): New type.
+       (Output_data_reloc_base::do_write): Move implementation to template
+       in output.h and replace with invocation of template.
+       * output.h (Output_file): Move to top of file.
+       (Output_reloc::get_symbol_index): Move to public interface.
+       (Output_reloc::get_address): Likewise.
+       (Output_data_reloc_base::do_write_generic): New function template.
+
+2016-03-04  Cary Coutant  <ccoutant@gmail.com>
+
+       PR gold/19019
+       PR gold/19763
+       * symtab.cc: Instantiate Sized_symbol::init_constant and
+       Sized_symbol::init_undefined.
+
+2016-03-03  Cary Coutant  <ccoutant@gmail.com>
+
+       PR gold/19019
+       * layout.h (Layout::add_target_specific_dynamic_tag): New function.
+       * layout.cc (Layout::add_target_specific_dynamic_tag): New function.
+       * mips.cc (Target_mips::make_symbol): Adjust function signature.
+       * sparc.cc (Target_sparc::Target_sparc): Initialize register_syms_.
+       (Target_sparc::do_is_defined_by_abi): Remove test for
+       STT_SPARC_REGISTER.
+       (Target_sparc::Register_symbol): New struct type.
+       (Target_sparc::register_syms_): New data member.
+       (Target_sparc<64, true>::sparc_info): Set has_make_symbol to true.
+       (Target_sparc::make_symbol): New function.
+       (Target_sparc::do_finalize_sections): Add register symbols and new
+       dynamic table entries.
+       * symtab.h (Sized_symbol::init_undefined): Add value parameter.
+       (Symbol_table::add_target_global_symbol): New function.
+       (Symbol_table::target_symbols_): New data member.
+       * symtab.cc (Sized_symbol::init_undefined): Add value parameter.
+       (Symbol_table::Symbol_table): Initialize target_symbols_.
+       (Symbol_table::add_from_object): Pass additional parameters to
+       Target::make_symbol.
+       (Symbol_table::define_special_symbol): Likewise.
+       (Symbol_table::add_undefined_symbol_from_command_line): Pass 0 for
+       undefined symbol value.
+       (Symbol_table::set_dynsym_indexes): Process target-specific symbols.
+       (Symbol_table::sized_finalize): Likewise.
+       (Symbol_table::sized_write_globals): Likewise.
+       * target.h (Sized_target::make_symbol): Add name, st_type, object,
+       st_shndx, and value parameters.
+
+2016-03-03  Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
 
        * plugin.cc (do_should_include_member): Ignore LDPK_UNDEF and
        LDPK_WEAKUNDEF symbols.
 
-2015-03-03  Evgenii Stepanov  <eugenis@google.com>
+2016-03-03  Than McIntosh  <thanm@google.com>
+
+       * plugin.cc (Plugin::load): Include hooks for get_input_section_size
+       and get_input_section_alignment in transfer vector.
+       (get_input_section_alignment): New function.
+       (get_input_section_size): New function.
+       * testsuite/Makefile.am: Add plugin_layout_with_alignment.sh test.
+       * testsuite/Makefile.in: [Regenerate.]
+       * testsuite/plugin_section_alignment.cc: New test file.
+       * testsuite/plugin_layout_with_alignment.cc: New test file.
+       * testsuite/plugin_layout_with_alignment.sh: New test file.
+
+2016-03-03  Evgenii Stepanov  <eugenis@google.com>
 
        * plugin.h (Pluginobj::get_symbol_resolution_info): Add version
        parameter.
This page took 0.030641 seconds and 4 git commands to generate.