Add explicit instantiations for Sized_symbol::init_output_data.

2014-03-10  Sasa Stankovic  <Sasa.Stankovic@imgtec.com>

gold/
	* symtab.cc (Sized_symbol<32>::init_output_data):
	Instantiate the template.
	(Sized_symbol<64>::init_output_data): Likewise.
This commit is contained in:
Cary Coutant 2014-03-10 13:36:40 -07:00
parent 800d982336
commit beacaa966b
2 changed files with 32 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2014-03-10 Sasa Stankovic <Sasa.Stankovic@imgtec.com>
* symtab.cc (Sized_symbol<32>::init_output_data):
Instantiate the template.
(Sized_symbol<64>::init_output_data): Likewise.
2014-03-10 Sasa Stankovic <Sasa.Stankovic@imgtec.com>
* symtab.cc (Symbol_table::sized_write_globals): Allow a target to

View file

@ -3644,6 +3644,32 @@ Symbol_table::define_with_copy_reloc<64>(
elfcpp::Elf_types<64>::Elf_Addr value);
#endif
#if defined(HAVE_TARGET_32_LITTLE) || defined(HAVE_TARGET_32_BIG)
template
void
Sized_symbol<32>::init_output_data(const char* name, const char* version,
Output_data* od, Value_type value,
Size_type symsize, elfcpp::STT type,
elfcpp::STB binding,
elfcpp::STV visibility,
unsigned char nonvis,
bool offset_is_from_end,
bool is_predefined);
#endif
#if defined(HAVE_TARGET_64_LITTLE) || defined(HAVE_TARGET_64_BIG)
template
void
Sized_symbol<64>::init_output_data(const char* name, const char* version,
Output_data* od, Value_type value,
Size_type symsize, elfcpp::STT type,
elfcpp::STB binding,
elfcpp::STV visibility,
unsigned char nonvis,
bool offset_is_from_end,
bool is_predefined);
#endif
#ifdef HAVE_TARGET_32_LITTLE
template
void