diff options
-rw-r--r-- | gold/resolve.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/resolve.cc b/gold/resolve.cc index 1d87486..f80e08f 100644 --- a/gold/resolve.cc +++ b/gold/resolve.cc @@ -32,6 +32,10 @@ Symbol::override_base(const elfcpp::Sym<size, big_endian>& sym, this->binding_ = sym.get_st_bind(); this->visibility_ = sym.get_st_visibility(); this->nonvis_ = sym.get_st_nonvis(); + if (object->is_dynamic()) + this->in_dyn_ = true; + else + this->in_reg_ = true; } // Override the fields in Sized_symbol. |