[PATCH] Enable use of ARMv5t BLX for Thumb-mode calls via PLT
Daniel Jacobowitz
drow@false.org
Mon Apr 11 19:00:00 GMT 2005
On Mon, Apr 11, 2005 at 07:55:12PM +0100, Julian Brown wrote:
> With this patch, the option "--use-thumb-blx" can be passed to the
> linker to enable the use of the BLX instruction when the target supports
> it. The format of the PLT itself isn't changed by this patch: there is
> still a Thumb stub before each ARM PLT entry, but it is now unused. The
> ARM mode entry is called directly instead.
The Thumb stub is never referenced from outside of the object. So, if
we aren't going to branch to it, no point in emitting it either. Patch
looks plausible to me...
--
Daniel Jacobowitz
CodeSourcery, LLC
More information about the Binutils
mailing list