aboutsummaryrefslogtreecommitdiff
path: root/gold/dynobj.cc
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2012-06-04 20:00:31 +0000
committerCary Coutant <ccoutant@google.com>2012-06-04 20:00:31 +0000
commitfad072ac13b347994507f32882b557ab7b044a19 (patch)
tree628624424628729e0ad2f96caeef28b446bf750a /gold/dynobj.cc
parent1f8cf22072102afa4eb142425aeda8ab71b70233 (diff)
downloadgdb-fad072ac13b347994507f32882b557ab7b044a19.zip
gdb-fad072ac13b347994507f32882b557ab7b044a19.tar.gz
gdb-fad072ac13b347994507f32882b557ab7b044a19.tar.bz2
* dynobj.cc (Sized_dynobj::do_get_global_symbol_counts): Call
has_dynsym_index.
Diffstat (limited to 'gold/dynobj.cc')
-rw-r--r--gold/dynobj.cc2
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;
}