aboutsummaryrefslogtreecommitdiff
path: root/gold/symtab.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2006-09-26 21:50:25 +0000
committerIan Lance Taylor <iant@google.com>2006-09-26 21:50:25 +0000
commit274e99f9ae3f56ab0364b3d0947b91deeb3528e1 (patch)
tree18a06078f9c3e8de23428680a5e30437497d19b8 /gold/symtab.h
parentd288e464ac39ad965115c86ba29c7dc07ed9f5d6 (diff)
downloadgdb-274e99f9ae3f56ab0364b3d0947b91deeb3528e1.zip
gdb-274e99f9ae3f56ab0364b3d0947b91deeb3528e1.tar.gz
gdb-274e99f9ae3f56ab0364b3d0947b91deeb3528e1.tar.bz2
g++ 3.2.2 portability fixes.
Diffstat (limited to 'gold/symtab.h')
-rw-r--r--gold/symtab.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gold/symtab.h b/gold/symtab.h
index f5d2a7b..09aff03 100644
--- a/gold/symtab.h
+++ b/gold/symtab.h
@@ -265,9 +265,16 @@ class Symbol_table
const elfcpp::Sym<size, big_endian>& sym,
Object*);
+#ifdef HAVE_MEMBER_TEMPLATE_SPECIFICATIONS
template<int size, bool big_endian>
static void
resolve(Sized_symbol<size>* to, const Sized_symbol<size>* from);
+#else
+ template<int size>
+ static void
+ resolve(Sized_symbol<size>* to, const Sized_symbol<size>* from,
+ bool big_endian);
+#endif
// The type of the symbol hash table.