2010-01-11 Doug Kwan <dougkwan@google.com>
authorDoug Kwan <dougkwan@google.com>
Tue, 12 Jan 2010 07:22:56 +0000 (07:22 +0000)
committerDoug Kwan <dougkwan@google.com>
Tue, 12 Jan 2010 07:22:56 +0000 (07:22 +0000)
commit99e5bff2f9e0ccdba7d78f431f177d8f83871ddd
treef49c5c265a8e0e3eb30a2ccbc6d0ea7674e5e9cc
parentd0a91bd8c74b3535a697b88342edcfd79629a73e
2010-01-11  Doug Kwan  <dougkwan@google.com>

* arm.cc (Arm_relobj::do_gc_process_relocs): New method.
(Target_arm::do_finalize_sections): Define special EXIDX section
symbols only if referenced.
* gc.h (Garbage_collection::add_reference): New method.
(gc_process_relocs): Use Garbage_collection::add_reference to avoid
code duplication.
gold/ChangeLog
gold/arm.cc
gold/gc.h