[GOLD] clone assert breakage

* resolve.cc (clone): Fix got_offset_list test.
This commit is contained in:
Alan Modra 2017-09-22 15:11:12 +09:30
parent ec76901011
commit 7790bd6c74
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2017-09-22 Alan Modra <amodra@gmail.com>
* resolve.cc (clone): Fix got_offset_list test.
2017-09-22 Alan Modra <amodra@gmail.com>
* powerpc.cc (Target_powerpc<64,*>::powerpc_info): Set

View File

@ -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_)