aboutsummaryrefslogtreecommitdiff
path: root/gold/resolve.cc
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/resolve.cc
parentec76901011c5af6a565936d4ad87247c51901b58 (diff)
downloadgdb-7790bd6c748fc8e46c621b065562729735114f6b.zip
gdb-7790bd6c748fc8e46c621b065562729735114f6b.tar.gz
gdb-7790bd6c748fc8e46c621b065562729735114f6b.tar.bz2
[GOLD] clone assert breakage
* resolve.cc (clone): Fix got_offset_list test.
Diffstat (limited to 'gold/resolve.cc')
-rw-r--r--gold/resolve.cc4
1 files changed, 2 insertions, 2 deletions
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_)