diff options
Diffstat (limited to 'gold/symtab.cc')
-rw-r--r-- | gold/symtab.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gold/symtab.cc b/gold/symtab.cc index f46d8de..5a59f4c 100644 --- a/gold/symtab.cc +++ b/gold/symtab.cc @@ -2756,6 +2756,8 @@ Symbol_table::sized_write_globals(const Stringpool* sympool, shndx = elfcpp::SHN_UNDEF; if (sym->is_undef_binding_weak()) binding = elfcpp::STB_WEAK; + else + binding = elfcpp::STB_GLOBAL; } else if (symobj->pluginobj() != NULL) shndx = elfcpp::SHN_UNDEF; |