This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[GOLD] clone assert breakage
- From: Alan Modra <amodra at gmail dot com>
- To: binutils at sourceware dot org
- Date: Fri, 22 Sep 2017 15:27:16 +0930
- Subject: [GOLD] clone assert breakage
- Authentication-results: sourceware.org; auth=none
Sigh. I don't know how my testing didn't catch this one.
* resolve.cc (clone): Fix got_offset_list test.
diff --git a/gold/resolve.cc b/gold/resolve.cc
index b85bbc8..d447ef0 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_)
--
Alan Modra
Australia Development Lab, IBM