[PATCH][GOLD] Enable use of stubs in THUMB branches.

Ian Lance Taylor iant@google.com
Tue Nov 24 18:40:00 GMT 2009


"Doug Kwan (關振德)" <dougkwan@google.com> writes:

> 2009-11-15  Doug Kwan  <dougkwan@google.com>
>
>         * arm.cc (Target_arm::may_use_thumb2_nop): New method definition.
>         (Arm_relocate_functions::thumb_branch_common): New metod declaration.
>         (Arm_relocate_functions::abs12, Arm_relocate_functions::abs16): Fix
>         formatting.
>         (Arm_relocate_functions::thm_call): Replace body with a call to
>         Arm_relocate_functions::thumb_branch_common.
>         (Arm_relocate_functions::thm_jump24,
>         Arm_relocate_functions::thm_xpc22): New method definitions.
>         (Arm_relocate_functions::thumb_branch_common): New method definition.
>         (Reloc_stub::stbu_type_for_reloc): Fix incorrect uses of bit-wise-or
>         operator.
>         (Target_arm::Relocate::relocate): Adjust call to thm_call.
>         Add code to handle R_ARM_THM_XPC22 and R_ARM_THM_JUMP24.

This is OK.

Thanks.

Sorry for the slow review.

Ian



More information about the Binutils mailing list