This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]