diff options
Diffstat (limited to 'gold/symtab.h')
-rw-r--r-- | gold/symtab.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gold/symtab.h b/gold/symtab.h index ed105c7..cac7bee 100644 --- a/gold/symtab.h +++ b/gold/symtab.h @@ -261,7 +261,9 @@ class Symbol needs_dynsym_entry() const { return (this->needs_dynsym_entry_ - || (this->in_reg() && this->in_dyn())); + || (this->in_reg() + && this->in_dyn() + && this->is_externally_visible())); } // Mark this symbol as needing an entry in the dynamic symbol table. |