[PATCH] Enable use of ARMv5t BLX for Thumb-mode calls via PLT

Paul Brook paul@codesourcery.com
Mon Apr 11 19:39:00 GMT 2005


On Monday 11 April 2005 19:55, Julian Brown wrote:
> Hi,
>
> This patch allows the ARMv5t Thumb BLX instruction to be used
> (optionally) to call PLT entries, which should provide a slight speed
> boost. A previous, SymbianOS-specific version of the patch was posted here:
>
>    http://sourceware.org/ml/binutils/2005-03/msg00433.html
>
> 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.

I'd call the option to --use-blx, than way we can use it for other [not yet 
written] patches to eliminate interworking stubs.

I can't approve the patch, but it looks ok to me.

Paul



More information about the Binutils mailing list