kbuild: Fix .text.unlikely placement
authorAndi Kleen <ak@linux.intel.com>
Mon, 20 Jul 2015 01:01:19 +0000 (18:01 -0700)
committerMichal Marek <mmarek@suse.com>
Thu, 20 Aug 2015 12:55:54 +0000 (14:55 +0200)
commit9bebe9e5b0f3109a14000df25308c2971f872605
tree6530bb61af97d7db31e5f154cdd4950de3a9391c
parent3c0561e0043fe870426b445890ab93204332ae39
kbuild: Fix .text.unlikely placement

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>
Signed-off-by: Michal Marek <mmarek@suse.com>
include/asm-generic/vmlinux.lds.h
This page took 0.025764 seconds and 5 git commands to generate.