this->symtab_index_ = 0;
this->dynsym_index_ = 0;
this->got_offset_ = 0;
+ this->plt_offset_ = 0;
this->type_ = type;
this->binding_ = binding;
this->visibility_ = visibility;
this->in_reg_ = false;
this->in_dyn_ = false;
this->has_got_offset_ = false;
+ this->has_plt_offset_ = false;
this->has_warning_ = false;
}
esym.put_st_other(from->visibility(), from->nonvis());
esym.put_st_shndx(from->shndx());
Symbol_table::resolve(to, esym.sym(), from->object(), version);
+ if (from->in_reg())
+ to->set_in_reg();
+ if (from->in_dyn())
+ to->set_in_dyn();
}
// Add one symbol from OBJECT to the symbol table. NAME is symbol