From fad072ac13b347994507f32882b557ab7b044a19 Mon Sep 17 00:00:00 2001 From: Cary Coutant Date: Mon, 4 Jun 2012 20:00:31 +0000 Subject: * dynobj.cc (Sized_dynobj::do_get_global_symbol_counts): Call has_dynsym_index. --- gold/dynobj.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gold/dynobj.cc') 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::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; } -- cgit v1.1