This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ARM long branch stubs: pic take 2


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).

Paul


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]