projects
/
deliverable
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4151f8
)
Set in_dyn_ and in_reg_ when overriding a symbol.
author
Ian Lance Taylor
<iant@google.com>
Tue, 28 Aug 2007 04:12:19 +0000
(
04:12
+0000)
committer
Ian Lance Taylor
<iant@google.com>
Tue, 28 Aug 2007 04:12:19 +0000
(
04:12
+0000)
gold/resolve.cc
patch
|
blob
|
blame
|
history
diff --git
a/gold/resolve.cc
b/gold/resolve.cc
index 1d874863d628588cace76341d8a6bbf8874a19bd..f80e08f92e43264d622edb30c2f6ca697f34a217 100644
(file)
--- 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.
This page took
0.02477 seconds
and
4
git commands to generate.