RFA: Support for Thumb in dynamic objects

Daniel Jacobowitz drow@false.org
Wed Nov 17 00:37:00 GMT 2004


On Wed, Nov 17, 2004 at 12:22:20AM +0000, Paul Brook wrote:
> On Tuesday 16 November 2004 23:39, Daniel Jacobowitz wrote:
> > +/* An initial stub used if the PLT entry is referenced from Thumb code.
> >  */ +#define PLT_THUMB_STUB_SIZE 4
> > +static const bfd_vma elf32_arm_plt_thumb_stub [1] =
> > +  {
> > +    0x46c04778         /* bx pc; nop (in Thumb mode) */
> > +  };
> 
> Does this DTRT on big-endian targets?

Probably not; I'd have to use 0x46c0, 0x4778 and two bfd_put16's. 
Thanks for catching that.

-- 
Daniel Jacobowitz



More information about the Binutils mailing list