diff options
author | Ian Lance Taylor <iant@google.com> | 2008-01-26 01:17:45 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2008-01-26 01:17:45 +0000 |
commit | 9b07f471e3360c9790f7ec83400e500e5f3098ca (patch) | |
tree | f2efce735a3f4314b493706a771566c5441f97be /gold/dynobj.cc | |
parent | 8f0a6da7a9e9d4b8258af20cfb5db072ace0ba86 (diff) | |
download | binutils-gdb-9b07f471e3360c9790f7ec83400e500e5f3098ca.tar.gz |
Don't pass around the target in order to define symbols; get it from
the parameters instead.
Diffstat (limited to 'gold/dynobj.cc')
-rw-r--r-- | gold/dynobj.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gold/dynobj.cc b/gold/dynobj.cc index 898e755d3ad..b07a53030a8 100644 --- a/gold/dynobj.cc +++ b/gold/dynobj.cc @@ -1415,8 +1415,8 @@ Versions::add_need(Stringpool* dynpool, const char* filename, const char* name, // each new version definition. unsigned int -Versions::finalize(const Target* target, Symbol_table* symtab, - unsigned int dynsym_index, std::vector<Symbol*>* syms) +Versions::finalize(Symbol_table* symtab, unsigned int dynsym_index, + std::vector<Symbol*>* syms) { gold_assert(!this->is_finalized_); @@ -1432,7 +1432,7 @@ 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(), + Symbol* vsym = symtab->define_as_constant((*p)->name(), (*p)->name(), 0, 0, elfcpp::STT_OBJECT, elfcpp::STB_GLOBAL, |