diff options
author | Ian Lance Taylor <iant@google.com> | 2006-12-06 06:28:56 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2006-12-06 06:28:56 +0000 |
commit | 008db82ec1ba308dba0fcf7767b93c1d56897bcc (patch) | |
tree | 93fef89fd7f3241e644fc770a3e59129a01f3407 /gold/dynobj.cc | |
parent | 8f2e9323f0b754011d0fa089bac65c9d28b73483 (diff) | |
download | gdb-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.cc | 12 |
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); |