Fix undefined symbol errors introduced with previous commit.
authorCary Coutant <ccoutant@gmail.com>
Fri, 4 Mar 2016 16:10:57 +0000 (08:10 -0800)
committerCary Coutant <ccoutant@gmail.com>
Fri, 4 Mar 2016 16:13:35 +0000 (08:13 -0800)
gold/
PR gold/19019
PR gold/19763
* symtab.cc: Instantiate Sized_symbol::init_constant and
Sized_symbol::init_undefined.

gold/ChangeLog
gold/symtab.cc

index 0e69596b9a33d623fb8c19323945c08020a8a5f2..1ba6c31c0eec0ae73080151691aebbc203c9b61c 100644 (file)
@@ -1,3 +1,10 @@
+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
index a53f6c93fb472f5f10522c0e2155448df261167a..fd75aff0f418b35d7bf6eb6f7015693c7118f67b 100644 (file)
@@ -3817,6 +3817,21 @@ Sized_symbol<32>::init_output_data(const char* name, const char* version,
                                   unsigned char nonvis,
                                   bool offset_is_from_end,
                                   bool is_predefined);
+
+template
+void
+Sized_symbol<32>::init_constant(const char* name, const char* version,
+                               Value_type value, Size_type symsize,
+                               elfcpp::STT type, elfcpp::STB binding,
+                               elfcpp::STV visibility, unsigned char nonvis,
+                               bool is_predefined);
+
+template
+void
+Sized_symbol<32>::init_undefined(const char* name, const char* version,
+                                Value_type value, elfcpp::STT type,
+                                elfcpp::STB binding, elfcpp::STV visibility,
+                                unsigned char nonvis);
 #endif
 
 #if defined(HAVE_TARGET_64_LITTLE) || defined(HAVE_TARGET_64_BIG)
@@ -3830,6 +3845,21 @@ Sized_symbol<64>::init_output_data(const char* name, const char* version,
                                   unsigned char nonvis,
                                   bool offset_is_from_end,
                                   bool is_predefined);
+
+template
+void
+Sized_symbol<64>::init_constant(const char* name, const char* version,
+                               Value_type value, Size_type symsize,
+                               elfcpp::STT type, elfcpp::STB binding,
+                               elfcpp::STV visibility, unsigned char nonvis,
+                               bool is_predefined);
+
+template
+void
+Sized_symbol<64>::init_undefined(const char* name, const char* version,
+                                Value_type value, elfcpp::STT type,
+                                elfcpp::STB binding, elfcpp::STV visibility,
+                                unsigned char nonvis);
 #endif
 
 #ifdef HAVE_TARGET_32_LITTLE