This is the mail archive of the binutils@sources.redhat.com 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: RFA: Support for Thumb in dynamic objects


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


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