[PATCH] ARM: force linker to use PIC veneers

Russell King - ARM Linux linux at arm.linux.org.uk
Thu Mar 26 04:36:48 PDT 2015


On Wed, Mar 25, 2015 at 10:46:14AM +0000, Dave Martin wrote:
> Hmmm, you seem to be right.
> 
> Thumb has no bx <label> instruction, and veneers introduced by ld are
> always ARM code, so this looks tricky to avoid without patching ld.
> 
> As you observe, this only impacts large kernels anyway.
> 
> So,
> 
> Reviewed-by: Dave Martin <Dave.Martin at arm.com>

Someone needs to check what the result is like for older CPUs too.

-- 
FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up
according to speedtest.net.



More information about the linux-arm-kernel mailing list