X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gold%2Fgold.cc;h=bdfb33d995ccd952b5b99e85d6362fa6ae566b78;hb=d4f3a0e91896a0aad797e221ba6876ba7f0cd05c;hp=4833aec7628b202a9728f8522a0a9aa2e86312b7;hpb=4b95cf5c0c75d6efc1b2f96af72317aecca079f1;p=platform%2Fupstream%2Fbinutils.git diff --git a/gold/gold.cc b/gold/gold.cc index 4833aec..bdfb33d 100644 --- a/gold/gold.cc +++ b/gold/gold.cc @@ -808,6 +808,8 @@ queue_final_tasks(const General_options& options, if (!any_postprocessing_sections) { input_sections_blocker = new Task_token(true); + // Write_symbols_task, Relocate_tasks. + input_sections_blocker->add_blocker(); input_sections_blocker->add_blockers(input_objects->number_of_relobjs()); } @@ -836,6 +838,7 @@ queue_final_tasks(const General_options& options, // Queue a task to write out the output sections. workqueue->queue(new Write_sections_task(layout, of, output_sections_blocker, + input_sections_blocker, final_blocker)); // Queue a task to write out everything else.