diff options
author | Ian Lance Taylor <iant@google.com> | 2007-11-22 00:05:51 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-11-22 00:05:51 +0000 |
commit | c79126688f8211ab17a893c5e80b09811d424fc1 (patch) | |
tree | 23a727f6718dc203a4e3b9ef1575e8a10b6f0d80 /gold/common.cc | |
parent | 06d063c072d0e247751535bc5e394aa7b8be3b0f (diff) | |
download | gdb-c79126688f8211ab17a893c5e80b09811d424fc1.zip gdb-c79126688f8211ab17a893c5e80b09811d424fc1.tar.gz gdb-c79126688f8211ab17a893c5e80b09811d424fc1.tar.bz2 |
Add threading support.
Diffstat (limited to 'gold/common.cc')
-rw-r--r-- | gold/common.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gold/common.cc b/gold/common.cc index f723de3..3b616b1 100644 --- a/gold/common.cc +++ b/gold/common.cc @@ -226,12 +226,9 @@ Symbol_table::do_allocate_commons(const General_options&, off = align_address(off, ssym->value()); - Size_type symsize = ssym->symsize(); - ssym->init(ssym->name(), poc, off, symsize, ssym->type(), - ssym->binding(), ssym->visibility(), ssym->nonvis(), - false); + ssym->allocate_common(poc, off); - off += symsize; + off += ssym->symsize(); } poc->set_space_size(off); |