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: Ian Lance Taylor <iant at google dot com>
- To: Doug Kwan (éæå) <dougkwan at google dot com>
- Cc: binutils <binutils at sourceware dot org>
- Date: Tue, 24 Nov 2009 10:40:07 -0800
- Subject: Re: [PATCH][GOLD] Enable use of stubs in THUMB branches.
- References: <498552560911152115n2343ea6cyeae56ebc7d2e3181@mail.gmail.com>
"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