Add threading support.
[deliverable/binutils-gdb.git] / gold / common.cc
index f723de30e19101b6694fc741754f6491baf452c1..3b616b154a1a5661e710357bae3b0e076da1a693 100644 (file)
@@ -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);
This page took 0.02409 seconds and 4 git commands to generate.