aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2017-09-22 15:11:12 +0930
committerAlan Modra <amodra@gmail.com>2017-09-22 15:20:12 +0930
commit7790bd6c748fc8e46c621b065562729735114f6b (patch)
tree28a1ad21b0413473a55938ca60853c242c70603b /gold
parentec76901011c5af6a565936d4ad87247c51901b58 (diff)
downloadbinutils-7790bd6c748fc8e46c621b065562729735114f6b.zip
binutils-7790bd6c748fc8e46c621b065562729735114f6b.tar.gz
binutils-7790bd6c748fc8e46c621b065562729735114f6b.tar.bz2
[GOLD] clone assert breakage
* resolve.cc (clone): Fix got_offset_list test.
Diffstat (limited to 'gold')
-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_)