[GOLD] clone assert breakage
authorAlan Modra <amodra@gmail.com>
Fri, 22 Sep 2017 05:41:12 +0000 (15:11 +0930)
committerAlan Modra <amodra@gmail.com>
Fri, 22 Sep 2017 05:50:12 +0000 (15:20 +0930)
* resolve.cc (clone): Fix got_offset_list test.

gold/ChangeLog
gold/resolve.cc

index b805b812f7fbb3d6479c0ec48bc47a5422a4ed0f..216bb271022d5409641251cc3140c85646c73630 100644 (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
index b85bbc810d5a60293b1c6da34ec1eda428116249..d447ef0a54758ad6edfa491a3e139968ea427c64 100644 (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_)