Support -d/--define-common.
[deliverable/binutils-gdb.git] / gold / gold.cc
index f6437a811bdc77e1c14b5d8aa202f08e3e0315d7..2ac1a6738c2a9589b35e5e8639e39ea5e6bf8180 100644 (file)
@@ -254,9 +254,7 @@ queue_middle_tasks(const General_options& options,
 
   // Allocate common symbols.  This requires write access to the
   // symbol table, but is independent of the relocation processing.
-  // FIXME: We should have an option to do this even for a relocatable
-  // link.
-  if (!parameters->options().relocatable())
+  if (parameters->options().define_common())
     {
       blocker->add_blocker();
       workqueue->queue(new Allocate_commons_task(options, symtab, layout,
This page took 0.023082 seconds and 4 git commands to generate.