2010-01-29 Doug Kwan <dougkwan@google.com>
authorDoug Kwan <dougkwan@google.com>
Fri, 29 Jan 2010 22:16:17 +0000 (22:16 +0000)
committerDoug Kwan <dougkwan@google.com>
Fri, 29 Jan 2010 22:16:17 +0000 (22:16 +0000)
commit1521477a53ec805e4106eb34cc7c33e29f5d1efb
tree7c4899741c8619ef61e2b6c3b0a5faeba7e12653
parente7eca48cb283da81b3566df52c01ac510cc1013d
2010-01-29  Doug Kwan  <dougkwan@google.com>

* arm.cc (Arm_relocate_functions::arm_branch_common) Change visibility
to public.
(Arm_relocate_functions::thumb_branch_common): Ditto.
(Arm_relocate_functions::thm_call, Arm_relocate_functions::thm_jump24,
Arm_relocate_functions::thm_xpc22, Arm_relocate_functions::plt32,
Arm_relocate_functions::xpc25, Arm_relocate_functions::call,
Arm_relocate_functions::jump24): Remove.
(Target_arm::Relocate::relocate): Adjust code to call
Arm_relocation_functions::arm_branch_common and
Arm_relocation_functions::thumb_branch_common instead of their removed
wrappers.  Merge switch-cases together to reduce source code size.
gold/ChangeLog
gold/arm.cc