diff options
Diffstat (limited to 'gold/archive.cc')
-rw-r--r-- | gold/archive.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gold/archive.cc b/gold/archive.cc index 569a491ae1a..011c36ddd61 100644 --- a/gold/archive.cc +++ b/gold/archive.cc @@ -688,6 +688,7 @@ Archive::add_symbols(Symbol_table* symtab, Layout* layout, Symbol* sym = symtab->lookup(sym_name, ver); if (def + && ver != NULL && (sym == NULL || !sym->is_undefined() || sym->binding() == elfcpp::STB_WEAK)) |