diff options
Diffstat (limited to 'gold/dynobj.cc')
-rw-r--r-- | gold/dynobj.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |