This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: ARM stub sizing fix
On Thu, Jan 14, 2010 at 09:10:19AM -0500, Daniel Jacobowitz wrote:
> On Thu, Jan 14, 2010 at 10:25:28PM +1030, Alan Modra wrote:
> > I also add an assert that will trigger if there is a dependence on
> > reloc type. I don't know enough about ARM code to know whether it's
> > possible to have, say, one branch to a function using R_ARM_THM_CALL
> > and another using R_ARM_THM_JUMP24 (possible tail call?).
>
> You're right, that's just a normal and tail call to the same function.
So the code is quite broken for thumb. You'll end up using the same
stub for both the call and the tail call.
--
Alan Modra
Australia Development Lab, IBM