aboutsummaryrefslogtreecommitdiff
path: root/gold/dynobj.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2006-12-06 06:28:56 +0000
committerIan Lance Taylor <iant@google.com>2006-12-06 06:28:56 +0000
commit008db82ec1ba308dba0fcf7767b93c1d56897bcc (patch)
tree93fef89fd7f3241e644fc770a3e59129a01f3407 /gold/dynobj.cc
parent8f2e9323f0b754011d0fa089bac65c9d28b73483 (diff)
downloadgdb-008db82ec1ba308dba0fcf7767b93c1d56897bcc.zip
gdb-008db82ec1ba308dba0fcf7767b93c1d56897bcc.tar.gz
gdb-008db82ec1ba308dba0fcf7767b93c1d56897bcc.tar.bz2
Don't emit symbols seen only in dynamic object, don't read duplicate
dynamic object.
Diffstat (limited to 'gold/dynobj.cc')
-rw-r--r--gold/dynobj.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/gold/dynobj.cc b/gold/dynobj.cc
index 7afaaa5..1bd5a85 100644
--- a/gold/dynobj.cc
+++ b/gold/dynobj.cc
@@ -1324,12 +1324,12 @@ Versions::finalize(const Target* target, Symbol_table* symtab,
// Create a version symbol if necessary.
if (!(*p)->is_symbol_created())
{
- Symbol* vsym =symtab->define_as_constant(target, (*p)->name(),
- (*p)->name(), 0, 0,
- elfcpp::STT_OBJECT,
- elfcpp::STB_GLOBAL,
- elfcpp::STV_DEFAULT, 0,
- false);
+ Symbol* vsym = symtab->define_as_constant(target, (*p)->name(),
+ (*p)->name(), 0, 0,
+ elfcpp::STT_OBJECT,
+ elfcpp::STB_GLOBAL,
+ elfcpp::STV_DEFAULT, 0,
+ false);
vsym->set_needs_dynsym_entry();
++dynsym_index;
syms->push_back(vsym);