* dynobj.cc (Sized_dynobj::do_get_global_symbol_counts): Call

has_dynsym_index.
This commit is contained in:
Cary Coutant 2012-06-04 20:00:31 +00:00
parent 1f8cf22072
commit fad072ac13
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2012-06-04 Cary Coutant <ccoutant@google.com>
* dynobj.cc (Sized_dynobj::do_get_global_symbol_counts): Call
has_dynsym_index.
2012-05-25 Sriraman Tallam <tmsriram@google.com>
* symtab.cc (Symbol_table::define_special_symbol):

View file

@ -823,7 +823,7 @@ Sized_dynobj<size, big_endian>::do_get_global_symbol_counts(
&& (*p)->source() == Symbol::FROM_OBJECT
&& (*p)->object() == this
&& (*p)->is_defined()
&& (*p)->dynsym_index() != -1U)
&& (*p)->has_dynsym_index())
++count;
*used = count;
}