summaryrefslogtreecommitdiff
path: root/gold/symtab.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gold/symtab.cc')
-rw-r--r--gold/symtab.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/symtab.cc b/gold/symtab.cc
index 8ec8f73df7..d4f40c8d54 100644
--- a/gold/symtab.cc
+++ b/gold/symtab.cc
@@ -649,7 +649,7 @@ Symbol_table::gc_mark_symbol(Symbol* sym)
if (is_ordinary && shndx != elfcpp::SHN_UNDEF)
{
gold_assert(this->gc_!= NULL);
- this->gc_->worklist().push(Section_id(sym->object(), shndx));
+ this->gc_->worklist().push_back(Section_id(sym->object(), shndx));
}
parameters->target().gc_mark_symbol(this, sym);
}