2010-05-26 Doug Kwan <dougkwan@google.com>
authorDoug Kwan <dougkwan@google.com>
Wed, 26 May 2010 03:33:59 +0000 (03:33 +0000)
committerDoug Kwan <dougkwan@google.com>
Wed, 26 May 2010 03:33:59 +0000 (03:33 +0000)
commit5c3885291ffdae7d69304eafb03507a5ba384a5c
treeff0d8daf3f50a07691f1cd41f1398dc0346173ef
parentbca1c3ae452b3f573f01a9e5b060c3cdd1fbe076
2010-05-26  Doug Kwan  <dougkwan@google.com>

* arm.cc (Arm_scan_relocatable_relocs): New class.
(Target_arm::relocate_special_relocatable): New method.
(Arm_relocate_functions::arm_branch_common): Handle relocatable link.
(Arm_relocate_functions::thumb_branch_common): Same.
(Target_arm::scan_relocatable_relocs): Use Arm_scan_relocatable_relocs
instead of Default_scan_relocatable_relocs.
* target-reloc.h (relocate_for_relocatable): Let target handle
relocation strategy Relocatable_relocs::RELOC_SPECIAL.
* target.h (Sized_target::relocate_special_relocatable): New method.
gold/ChangeLog
gold/arm.cc
gold/target-reloc.h
gold/target.h