projects
/
platform
/
upstream
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
218c002
)
Initialize plt_offset_ and has_plt_offset_ in a Symbol.
author
Ian Lance Taylor
<iant@google.com>
Tue, 28 Aug 2007 04:11:50 +0000
(
04:11
+0000)
committer
Ian Lance Taylor
<iant@google.com>
Tue, 28 Aug 2007 04:11:50 +0000
(
04:11
+0000)
gold/symtab.cc
patch
|
blob
|
history
diff --git
a/gold/symtab.cc
b/gold/symtab.cc
index
70fa890
..
a570134
100644
(file)
--- 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;
}