lkml.org 
[lkml]   [2015]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] kbuild: Fix .text.unlikely placement
From
Date
On 2015-07-20 03:01, Andi Kleen wrote:
> From: Andi Kleen <ak@linux.intel.com>
>
> When building a kernel with .text.unlikely text the unlikely text for
> each translation unit was put next to the main .text code in the
> final vmlinux.
>
> The problem is that the linker doesn't allow more specific submatches
> of a section name in a different linker script statement after the
> main match.
>
> So we need to move them all into one line. With that change
> .text.unlikely is at the end of everything again.
>
> I also moved .text.hot into the same statement though, even though
> that's not strictly needed.
>
> Signed-off-by: Andi Kleen <ak@linux.intel.com>

Applied to kbuild.git#kbuild.

Michal



\
 
 \ /
  Last update: 2015-08-20 14:21    [W:0.042 / U:0.496 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site