Initialize plt_offset_ and has_plt_offset_ in a Symbol.

This commit is contained in:
Ian Lance Taylor 2007-08-28 04:11:50 +00:00
parent 218c002443
commit f4151f8959
1 changed files with 2 additions and 0 deletions

View File

@ -31,6 +31,7 @@ Symbol::init_fields(const char* name, const char* version,
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;
@ -42,6 +43,7 @@ Symbol::init_fields(const char* name, const char* version,
this->in_reg_ = false;
this->in_dyn_ = false;
this->has_got_offset_ = false;
this->has_plt_offset_ = false;
this->has_warning_ = false;
}