Re: [PATCH] kbuild: Fix .text.unlikely placement

From: Michal Marek
Date: Thu Aug 20 2015 - 07:55:32 EST


On 2015-07-20 03:01, Andi Kleen wrote:
> From: Andi Kleen <ak@xxxxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxxxx>

Applied to kbuild.git#kbuild.

Michal

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/