Add explicit instantiations for Sized_symbol::init_output_data.
authorCary Coutant <ccoutant@google.com>
Mon, 10 Mar 2014 20:36:40 +0000 (13:36 -0700)
committerCary Coutant <ccoutant@google.com>
Mon, 10 Mar 2014 20:36:40 +0000 (13:36 -0700)
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.

gold/ChangeLog
gold/symtab.cc

index 21e23d32b787b10160e9d2fa86d473cd84295a12..1e21236da05fdd7e721bba7ba4facafec3361a58 100644 (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
index 2a00d5628462de3f39050cf6a8e331728581420f..1a69f5b6219ddd10bde334a6ce8db2ea156b7bd0 100644 (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
This page took 0.034067 seconds and 4 git commands to generate.