Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1210449

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

From Michal Marek <mmarek@suse.cz>
Newsgroups linux.kernel
Subject Re: [PATCH] kbuild: Fix .text.unlikely placement
Date 2015-08-20 14:00 +0200
Message-ID <pZwFH-3XS-9@gated-at.bofh.it> (permalink)
References <pO7KG-2Os-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] kbuild: Fix .text.unlikely placement Michal Marek <mmarek@suse.cz> - 2015-08-20 14:00 +0200

csiph-web