Stringpool stats. Also make Symbol_table support functions inline.
[deliverable/binutils-gdb.git] / gold / common.cc
index f723de30e19101b6694fc741754f6491baf452c1..652dfa174dba8c6745048cf3a9339374a40cb8cf 100644 (file)
@@ -226,15 +226,12 @@ 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);
+  poc->set_current_data_size(off);
 
   this->commons_.clear();
 }
This page took 0.023656 seconds and 4 git commands to generate.