diff options
author | Cary Coutant <ccoutant@google.com> | 2012-06-04 20:00:31 +0000 |
---|---|---|
committer | Cary Coutant <ccoutant@google.com> | 2012-06-04 20:00:31 +0000 |
commit | fad072ac13b347994507f32882b557ab7b044a19 (patch) | |
tree | 628624424628729e0ad2f96caeef28b446bf750a | |
parent | 1f8cf22072102afa4eb142425aeda8ab71b70233 (diff) | |
download | gdb-fad072ac13b347994507f32882b557ab7b044a19.zip gdb-fad072ac13b347994507f32882b557ab7b044a19.tar.gz gdb-fad072ac13b347994507f32882b557ab7b044a19.tar.bz2 |
* dynobj.cc (Sized_dynobj::do_get_global_symbol_counts): Call
has_dynsym_index.
-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; } |