Thread (25 messages) 25 messages, 4 authors, 2015-03-30
STALE4199d

[PATCH] ARM: force linker to use PIC veneers

From: Nicolas Pitre <hidden>
Date: 2015-03-24 15:23:45

On Tue, 24 Mar 2015, Ard Biesheuvel wrote:
On 24 March 2015 at 14:54, Dave Martin [off-list ref] wrote:
quoted
How big is your kernel?  It would be good to compare the veneer
count with a more normal-sized kernel.
With all my patches applied, I can actually build allyesconfig which
produces a 74 MB zImage. But this is obviously never going to be able
to execute with the usual policy of placing zImage around 32 MB into
DRAM, and expecting it to be able to decompress.
It should work nevertheless.  zImage knows the size of the decompressed 
kernel and will figure out that it needs to relocate itself above the 
final kernel area first.  It might overwrite your DTB and initrd in the 
process if they're not sufficiently high in memory though.


Nicolas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help