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


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