From fad072ac13b347994507f32882b557ab7b044a19 Mon Sep 17 00:00:00 2001 From: Cary Coutant Date: Mon, 4 Jun 2012 20:00:31 +0000 Subject: [PATCH] * dynobj.cc (Sized_dynobj::do_get_global_symbol_counts): Call has_dynsym_index. --- gold/ChangeLog | 5 +++++ gold/dynobj.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gold/ChangeLog b/gold/ChangeLog index 0cd5e2758ba..c6278584082 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,8 @@ +2012-06-04 Cary Coutant + + * dynobj.cc (Sized_dynobj::do_get_global_symbol_counts): Call + has_dynsym_index. + 2012-05-25 Sriraman Tallam * symtab.cc (Symbol_table::define_special_symbol): diff --git a/gold/dynobj.cc b/gold/dynobj.cc index 4404a35dd48..ac0c321c7a4 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; } -- 2.30.2