summaryrefslogtreecommitdiff
path: root/gold/symtab.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-08-28 04:11:50 +0000
committerIan Lance Taylor <iant@google.com>2007-08-28 04:11:50 +0000
commit9b8285a4769308299e5a5fb84c87d6613541d67d (patch)
treed4d218d7d4528d70279973f7119d2965e2a3550e /gold/symtab.cc
parent05564734c152517666d2b89e9abfaedf2fc21f8e (diff)
downloadbinutils-redhat-9b8285a4769308299e5a5fb84c87d6613541d67d.tar.gz
Initialize plt_offset_ and has_plt_offset_ in a Symbol.
Diffstat (limited to 'gold/symtab.cc')
-rw-r--r--gold/symtab.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gold/symtab.cc b/gold/symtab.cc
index 70fa890bcd..a570134983 100644
--- a/gold/symtab.cc
+++ b/gold/symtab.cc
@@ -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;
}