2010-01-29 Doug Kwan <dougkwan@google.com>
authorDoug Kwan <dougkwan@google.com>
Fri, 29 Jan 2010 18:23:18 +0000 (18:23 +0000)
committerDoug Kwan <dougkwan@google.com>
Fri, 29 Jan 2010 18:23:18 +0000 (18:23 +0000)
commite7eca48cb283da81b3566df52c01ac510cc1013d
treee367aaa3dd15844bda87869721e7c50ecf124d40
parentb0e28b39b7de5e36bb162657c3b62ba6349ba4b2
2010-01-29  Doug Kwan  <dougkwan@google.com>

* arm.cc (Arm_relobj::Arm_relobj): Initialize new data member
output_local_symbol_count_needs_update_.
(Arm_relobj::output_local_symbol_count_needs_update,
 Arm_relobj::set_output_local_symbol_count_needs_update,
 Arm_relobj::update_output_local_symbol_count): New methods.
(Arm_relobj::output_local_symbol_count_needs_update_): New data
member.
(Arm_exidx_cantunwind::do_fixed_endian_write): Write address
of pointed function as in a R_ARM_PREL31 relocation.
(Arm_output_section<big_endian>::fix_exidx_coverage): Mark objects
for output local symbol count updating.
(Target_arm::do_relax): Update output local symbol counts in objects
if necessary.
* object.h (Sized_relobj::set_output_local_symbol_count): New method.
gold/ChangeLog
gold/arm.cc
gold/object.h