[arm] EABI annotation of thumb symbols.

Daniel Jacobowitz drow@false.org
Thu Nov 4 15:10:00 GMT 2004


On Thu, Nov 04, 2004 at 02:33:26PM +0000, Richard Earnshaw wrote:
> On Thu, 2004-11-04 at 14:19, Daniel Jacobowitz wrote:
> 
> > I've actually implemented the alternative suggested in a document
> > someone (you?  Phil?) posted to the EABI list at some point, in which
> > GOT entries point back into the proper PLT stub.  This supports
> > entering shared libraries in Thumb mode on V4T.  However, I'm quite
> > willing to ditch that part of the patch, and try to implement
> > generating ARM entry points instead.
> 
> Another problem with the v4T interworking clean solution is that it
> relies on an instruction that isn't available on V4 or earlier.
> 
> That means that the linker *HAS* to know what system it is targeting. 
> The v5 solution (with shared libraries entered on v4T in ARM state)
> avoids that problem and gives a PLT sequence which will work on all
> architectures.

That's true (and very nice).  My implementation relied on the ELF
header flags, which are not EABI-friendly as I understand it.

> And of course, all the solutions we discussed privately for supporting
> pre-linking were at best a bit cludgy, and at worst, outright hacks
> (unless you came up with another solution to that problem).

Nope.  Quite disgusting; I never did the prelink-side implementation.

-- 
Daniel Jacobowitz



More information about the Binutils mailing list