From 7790bd6c748fc8e46c621b065562729735114f6b Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 22 Sep 2017 15:11:12 +0930 Subject: [PATCH] [GOLD] clone assert breakage * resolve.cc (clone): Fix got_offset_list test. --- gold/ChangeLog | 4 ++++ gold/resolve.cc | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gold/ChangeLog b/gold/ChangeLog index b805b812f7f..216bb271022 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,7 @@ +2017-09-22 Alan Modra + + * resolve.cc (clone): Fix got_offset_list test. + 2017-09-22 Alan Modra * powerpc.cc (Target_powerpc<64,*>::powerpc_info): Set diff --git a/gold/resolve.cc b/gold/resolve.cc index b85bbc810d5..d447ef0a547 100644 --- a/gold/resolve.cc +++ b/gold/resolve.cc @@ -928,8 +928,8 @@ Symbol::clone(const Symbol* from) // We aren't prepared to merge such. gold_assert(!this->has_symtab_index() && !from->has_symtab_index()); gold_assert(!this->has_dynsym_index() && !from->has_dynsym_index()); - gold_assert(this->got_offset_list()->get_list() == NULL - && from->got_offset_list()->get_list() == NULL); + gold_assert(this->got_offset_list() == NULL + && from->got_offset_list() == NULL); gold_assert(!this->has_plt_offset() && !from->has_plt_offset()); if (!from->version_) -- 2.30.2