ARM stub sizing fix

Alan Modra amodra@gmail.com
Thu Jan 14 14:47:00 GMT 2010


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



More information about the Binutils mailing list