ARM long branch stubs: pic take 2
Christophe LYON
christophe.lyon@st.com
Fri Feb 27 16:42:00 GMT 2009
More information about the Binutils mailing list
Fri Feb 27 16:42:00 GMT 2009
- Previous message (by thread): ARM long branch stubs: pic take 2
- Next message (by thread): PATCH: Remove fits_in_imm4
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 26.02.2009 20:01, Paul Brook wrote:
> On Wednesday 25 February 2009, Christophe LYON wrote:
>> +/* Thumb -> Thumb long branch stub, PIC. Used on architectures which
>> + support only this mode, or on V4T where it is expensive to switch
>> + to ARM. */
>> +static const insn_sequence elf32_arm_stub_long_branch_thumb_only_pic[] =
>> + {
>> + THUMB16_INSN(0xb401), /* push {r0} */
>
> The EABI specifies that veneers may only use the stack on M profile devices
> (i.e. when ARM mode is not available).
>
I have just updated my copy of EABI, and saw the sentence you are
referring to.
So this means that the sample code you provided in
http://sourceware.org/ml/binutils/2009-02/msg00224.html should also have
a variant for Thumb -> Thumb stub (pic and non-pic) on V4T.
I'll give a look at that.
Thanks
Christophe.
- Previous message (by thread): ARM long branch stubs: pic take 2
- Next message (by thread): PATCH: Remove fits_in_imm4
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list