[PATCH] ARM: force linker to use PIC veneers

Russell King - ARM Linux linux at arm.linux.org.uk
Tue Mar 24 16:25:52 PDT 2015


On Tue, Mar 24, 2015 at 04:51:07PM +0100, Ard Biesheuvel wrote:
> Yes, there are still some instances left of that, including the core
> cpu_resume() itself.
> (and they all copy the same comment :-))

That's because I follow the ethos of "why write complex code when
simple and obvious code will do" and we'd done this for the original
SA11x0 CPU resume code which formed (to some extent) the basis of the
consolidated version we have today.

At the time cpu_resume() was consolidated (which is actually only in
the last five years or so) there wasn't the requirement to have large
kernels link, so rewriting it as relatively complex implementation
would've been damned stupid and a needless change in the consolidation
effort.

-- 
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