diff options
-rw-r--r-- | gold/ChangeLog | 5 | ||||
-rw-r--r-- | gold/dynobj.cc | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index 0cd5e27..c627858 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -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): diff --git a/gold/dynobj.cc b/gold/dynobj.cc index 4404a35..ac0c321 100644 --- a/gold/dynobj.cc +++ b/gold/dynobj.cc @@ -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; } |