Thread (25 messages) flat view 25 messages, 4 authors, 2015-03-30
STALE4160d

[PATCH] ARM: force linker to use PIC veneers

From: Nicolas Pitre <hidden>
Date: 2015-03-24 15:16:36

On Tue, 24 Mar 2015, Ard Biesheuvel wrote:
On 24 March 2015 at 13:22, Dave Martin [off-list ref] wrote:
quoted
How many such veneers get added in the your kernel configuration, and
how many are actually necessary (i.e., calls between MMU-off code and
elsewhere)?
Very few. In addition to the example (which will be addressed in
another way regardless) there are some resume functions that get
allocated in .data, and those would need it as well.

What are they? I thought we removed all instances of those already.
I have also proposed b_far/bl_far macros that could be used there as 
well.
Could the automatic veneer insertion replace the unconditional 
b_far/bl_far usage?  The former would be preferable to the later.


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