This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Fix undefined symbol errors introduced with previous commit.


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8d04e81db4967fa1ea2897bb52ccb21e17d9ed91

commit 8d04e81db4967fa1ea2897bb52ccb21e17d9ed91
Author: Cary Coutant <ccoutant@gmail.com>
Date:   Fri Mar 4 08:10:57 2016 -0800

    Fix undefined symbol errors introduced with previous commit.
    
    gold/
    	PR gold/19019
    	PR gold/19763
    	* symtab.cc: Instantiate Sized_symbol::init_constant and
    	Sized_symbol::init_undefined.

Diff:
---
 gold/ChangeLog |  7 +++++++
 gold/symtab.cc | 30 ++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/gold/ChangeLog b/gold/ChangeLog
index 0e69596..1ba6c31 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -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
diff --git a/gold/symtab.cc b/gold/symtab.cc
index a53f6c9..fd75aff 100644
--- a/gold/symtab.cc
+++ b/gold/symtab.cc
@@ -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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]