2010-04-14 Doug Kwan <dougkwan@google.com>

* arm.cc (Arm_output_section::fix_exidx_coverage): Mark object
	for local symbol recounting if we remove a section due to ICF.
	* gold.cc (queue_middle_gc_tasks): Create a dummy blocker if
	there are no regular objects in input.
This commit is contained in:
Doug Kwan
2010-04-15 00:42:15 +00:00
parent 7a8f71bfab
commit 04ceb17cc3
3 changed files with 20 additions and 1 deletions

View File

@ -5696,8 +5696,10 @@ Arm_output_section<big_endian>::fix_exidx_coverage(
unsigned int text_shndx = exidx_input_section->link();
gold_assert(symtab->is_section_folded(p->relobj(), text_shndx));
// Remove this from link.
// Remove this from link. We also need to recount the
// local symbols.
p->relobj()->set_output_section(p->shndx(), NULL);
arm_relobj->set_output_local_symbol_count_needs_update();
}
}