Index: binutils-2.20/gold/symtab.cc |
=================================================================== |
--- a/binutils-2.20/gold/symtab.cc |
+++ b/binutils-2.20/gold/symtab.cc |
@@ -2727,6 +2727,7 @@ |
{ |
Symbol *sym = p->second; |
if (sym->is_undefined() && |
+ sym->in_reg() && |
sym->binding() != elfcpp::STB_WEAK && |
exceptions.count(sym->name()) == 0 && |
// @TODO(pdox): If --wrap is to be a supported user-visible feature, |