gold patch: fix typos in explicit template instantiations

Cary Coutant ccoutant@google.com
Sat Sep 6 01:08:00 GMT 2008


This patch fixes four typos in explicit template instantiations in
symtab.cc. Will check in as obvious.

-cary

2008-09-05  Cary Coutant  <ccoutant@google.com>

	* symtab.cc (Symbol_table::add_from_dynobj): Fix typos in
	explicit instantiations.

Index: symtab.cc
===================================================================
RCS file: /cvs/src/src/gold/symtab.cc,v
retrieving revision 1.108
diff -u -p -r1.108 symtab.cc
--- symtab.cc	28 Aug 2008 14:51:04 -0000	1.108
+++ symtab.cc	6 Sep 2008 01:00:34 -0000
@@ -2655,7 +2655,7 @@ Symbol_table::add_from_relobj<32, false>
     size_t symndx_offset,
     const char* sym_names,
     size_t sym_name_size,
-    Sized_relobj<32, true>::Symbols* sympointers,
+    Sized_relobj<32, false>::Symbols* sympointers,
     size_t* defined);
 #endif

@@ -2669,7 +2669,7 @@ Symbol_table::add_from_relobj<32, true>(
     size_t symndx_offset,
     const char* sym_names,
     size_t sym_name_size,
-    Sized_relobj<32, false>::Symbols* sympointers,
+    Sized_relobj<32, true>::Symbols* sympointers,
     size_t* defined);
 #endif

@@ -2683,7 +2683,7 @@ Symbol_table::add_from_relobj<64, false>
     size_t symndx_offset,
     const char* sym_names,
     size_t sym_name_size,
-    Sized_relobj<64, true>::Symbols* sympointers,
+    Sized_relobj<64, false>::Symbols* sympointers,
     size_t* defined);
 #endif

@@ -2697,7 +2697,7 @@ Symbol_table::add_from_relobj<64, true>(
     size_t symndx_offset,
     const char* sym_names,
     size_t sym_name_size,
-    Sized_relobj<64, false>::Symbols* sympointers,
+    Sized_relobj<64, true>::Symbols* sympointers,
     size_t* defined);
 #endif



More information about the Binutils mailing list