This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH][GOLD] Enable use of stubs in THUMB branches.
- From: =?big5?b?RG91ZyBLd2FuICjD9q62vHcp?= <dougkwan at google dot com>
- To: Ian Lance Taylor <iant at google dot com>, binutils <binutils at sourceware dot org>
- Date: Mon, 23 Nov 2009 11:40:13 +0800
- Subject: Re: [PATCH][GOLD] Enable use of stubs in THUMB branches.
- References: <498552560911152115n2343ea6cyeae56ebc7d2e3181@mail.gmail.com>
ping
2009/11/16 Doug Kwan (Ãö®¶¼w) <dougkwan@google.com>:
> Hi,
>
> This patch enables use of stubs in thumb branches. It also fixes
> a few minor problem.
>
> -Doug
>
> 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.
>