diff options
Diffstat (limited to 'gold/gold.cc')
-rw-r--r-- | gold/gold.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gold/gold.cc b/gold/gold.cc index f6437a8..2ac1a67 100644 --- a/gold/gold.cc +++ b/gold/gold.cc @@ -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, |