* object.cc (Sized_relobj::do_add_symbols): Always pass
local_symbol_count_ to add_from_relobj.
This commit is contained in:
parent
4c94d6ae7b
commit
7fcd3aa988
|
@ -1,5 +1,8 @@
|
||||||
2008-04-19 Ian Lance Taylor <iant@google.com>
|
2008-04-19 Ian Lance Taylor <iant@google.com>
|
||||||
|
|
||||||
|
* object.cc (Sized_relobj::do_add_symbols): Always pass
|
||||||
|
local_symbol_count_ to add_from_relobj.
|
||||||
|
|
||||||
* testsuite/Makefile.am (many_sections_check.h): Only check one in
|
* testsuite/Makefile.am (many_sections_check.h): Only check one in
|
||||||
every thousand variables.
|
every thousand variables.
|
||||||
* testsuite/Makefile.in: Rebuild.
|
* testsuite/Makefile.in: Rebuild.
|
||||||
|
|
|
@ -946,10 +946,7 @@ Sized_relobj<size, big_endian>::do_add_symbols(Symbol_table* symtab,
|
||||||
reinterpret_cast<const char*>(sd->symbol_names->data());
|
reinterpret_cast<const char*>(sd->symbol_names->data());
|
||||||
symtab->add_from_relobj(this,
|
symtab->add_from_relobj(this,
|
||||||
sd->symbols->data() + sd->external_symbols_offset,
|
sd->symbols->data() + sd->external_symbols_offset,
|
||||||
symcount,
|
symcount, this->local_symbol_count_,
|
||||||
(sd->external_symbols_offset == 0
|
|
||||||
? this->local_symbol_count_
|
|
||||||
: 0),
|
|
||||||
sym_names, sd->symbol_names_size,
|
sym_names, sd->symbol_names_size,
|
||||||
&this->symbols_);
|
&this->symbols_);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue