2009-11-15 Doug Kwan <dougkwan@google.com>
authorDoug Kwan <dougkwan@google.com>
Mon, 16 Nov 2009 03:39:11 +0000 (03:39 +0000)
committerDoug Kwan <dougkwan@google.com>
Mon, 16 Nov 2009 03:39:11 +0000 (03:39 +0000)
commitd204b6e9354ede7c740cdb291776d1ec6d0cb817
tree100fd5fc3465018531bdbce1701ddeab702f919e
parentd4b8ccbfd2b6ed522e6fa62d78af0d422b89c282
2009-11-15  Doug Kwan  <dougkwan@google.com>

* arm.cc (Target_arm::may_use_arm_nop): New method definition.
(Arm_relocate_functions::arm_branch_common): Change method defintion
in class definition to a method declaration and update list of formal
parameters.
(Arm_relocate_functions::plt32, Arm_relocate_functions::call,
Arm_relocation_functions::jump24): Adjust call to
Arm_relocate_functions::arm_branch_common.  Update list of formal
parameters.
(Arm_relocate_functions::xpc25): New method definition.
(Arm_relocate_functions::arm_branch_common): Move method defintion
out from class definition.  Use stubs for mode-switching and extending
branch ranges.
(Target_arm::Relocate::relocate): Handle weakly-undefined symbols
specially.  Change code to enable use of stubs in ARM branches.
gold/ChangeLog
gold/arm.cc