From c79126688f8211ab17a893c5e80b09811d424fc1 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 22 Nov 2007 00:05:51 +0000 Subject: Add threading support. --- gold/common.cc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'gold/common.cc') 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); -- cgit v1.1