aboutsummaryrefslogtreecommitdiff
path: root/gold/arm.cc
diff options
context:
space:
mode:
authorDoug Kwan <dougkwan@google.com>2010-04-15 00:42:15 +0000
committerDoug Kwan <dougkwan@google.com>2010-04-15 00:42:15 +0000
commit04ceb17cc3c01f9c25a77a6b3b7c53822a77c21c (patch)
tree33a37c47acce8996c4df7d5cda82e05973348595 /gold/arm.cc
parent7a8f71bfab75fd5408d3ab4e5179db64a582e3f7 (diff)
downloadfsf-binutils-gdb-04ceb17cc3c01f9c25a77a6b3b7c53822a77c21c.zip
fsf-binutils-gdb-04ceb17cc3c01f9c25a77a6b3b7c53822a77c21c.tar.gz
fsf-binutils-gdb-04ceb17cc3c01f9c25a77a6b3b7c53822a77c21c.tar.bz2
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.
Diffstat (limited to 'gold/arm.cc')
-rw-r--r--gold/arm.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/gold/arm.cc b/gold/arm.cc
index 036160f..028069b 100644
--- a/gold/arm.cc
+++ b/gold/arm.cc
@@ -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();
}
}