diff options
Diffstat (limited to 'gold/symtab.h')
-rw-r--r-- | gold/symtab.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gold/symtab.h b/gold/symtab.h index b6366d4..ab5b5f9 100644 --- a/gold/symtab.h +++ b/gold/symtab.h @@ -847,8 +847,7 @@ class Symbol bool may_need_copy_reloc() const { - return (!parameters->options().output_is_position_independent() - && parameters->options().copyreloc() + return (parameters->options().copyreloc() && this->is_from_dynobj() && !this->is_func()); } |