ARM long branch stubs: pic take 2

Paul Brook paul@codesourcery.com
Thu Feb 26 19:01:00 GMT 2009


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



More information about the Binutils mailing list