aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gold/ChangeLog4
-rw-r--r--gold/resolve.cc4
2 files changed, 6 insertions, 2 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index b805b81..216bb27 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,5 +1,9 @@
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
is_default_stack_executable false.
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_)