summaryrefslogtreecommitdiff
path: root/gold/symtab.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-11-09 07:00:15 +0000
committerIan Lance Taylor <iant@google.com>2007-11-09 07:00:15 +0000
commite0cb19f264dd9cad2840518f38c271c3bf64ba1d (patch)
tree001e2ee0dd80edc63e1cd93c99d416eb43cce37a /gold/symtab.cc
parent20ed6f2912b2b7d7bf8825c72881d21c93d5d39b (diff)
downloadbinutils-redhat-e0cb19f264dd9cad2840518f38c271c3bf64ba1d.tar.gz
Generate a complete exception frame header. Discard duplicate
exception frame information.
Diffstat (limited to 'gold/symtab.cc')
-rw-r--r--gold/symtab.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/gold/symtab.cc b/gold/symtab.cc
index 3108433799..3c2a9761a0 100644
--- a/gold/symtab.cc
+++ b/gold/symtab.cc
@@ -521,7 +521,7 @@ Symbol_table::add_from_relobj(
size_t count,
const char* sym_names,
size_t sym_name_size,
- Symbol** sympointers)
+ typename Sized_relobj<size, big_endian>::Symbols* sympointers)
{
gold_assert(size == relobj->target()->get_size());
gold_assert(size == parameters->get_size());
@@ -592,7 +592,7 @@ Symbol_table::add_from_relobj(
def, *psym);
}
- *sympointers++ = res;
+ (*sympointers)[i] = res;
}
}
@@ -1870,7 +1870,7 @@ Symbol_table::add_from_relobj<32, false>(
size_t count,
const char* sym_names,
size_t sym_name_size,
- Symbol** sympointers);
+ Sized_relobj<32, true>::Symbols* sympointers);
#endif
#ifdef HAVE_TARGET_32_BIG
@@ -1882,7 +1882,7 @@ Symbol_table::add_from_relobj<32, true>(
size_t count,
const char* sym_names,
size_t sym_name_size,
- Symbol** sympointers);
+ Sized_relobj<32, false>::Symbols* sympointers);
#endif
#ifdef HAVE_TARGET_64_LITTLE
@@ -1894,7 +1894,7 @@ Symbol_table::add_from_relobj<64, false>(
size_t count,
const char* sym_names,
size_t sym_name_size,
- Symbol** sympointers);
+ Sized_relobj<64, true>::Symbols* sympointers);
#endif
#ifdef HAVE_TARGET_64_BIG
@@ -1906,7 +1906,7 @@ Symbol_table::add_from_relobj<64, true>(
size_t count,
const char* sym_names,
size_t sym_name_size,
- Symbol** sympointers);
+ Sized_relobj<64, false>::Symbols* sympointers);
#endif
#ifdef HAVE_TARGET_32_LITTLE