This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: ARM long branch stubs: pic take 2
- From: Paul Brook <paul at codesourcery dot com>
- To: binutils at sourceware dot org
- Cc: Christophe LYON <christophe dot lyon at st dot com>
- Date: Thu, 26 Feb 2009 19:01:24 +0000
- Subject: Re: ARM long branch stubs: pic take 2
- References: <49A561EB.2070809@st.com>
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