2010-01-11 Doug Kwan <dougkwan@google.com>
commitbd803431330fec05ab90647a23f1a62a3ffc8cd8
authorDoug Kwan <dougkwan@google.com>
Tue, 12 Jan 2010 07:22:56 +0000 (12 07:22 +0000)
committerDoug Kwan <dougkwan@google.com>
Tue, 12 Jan 2010 07:22:56 +0000 (12 07:22 +0000)
tree1c59212d4cace152443cf3ff4654f7e71b775b2c
parente1470b2d25435fa48563a38bc78db74f9a6116d2
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