summaryrefslogtreecommitdiffstats
path: root/scripts/genksyms
diff options
context:
space:
mode:
authorAndi Kleen2015-07-20 03:01:19 +0200
committerMichal Marek2015-08-20 14:55:54 +0200
commit9bebe9e5b0f3109a14000df25308c2971f872605 (patch)
tree6530bb61af97d7db31e5f154cdd4950de3a9391c /scripts/genksyms
parentAvoid conflict with host definitions when cross-compiling (diff)
downloadkernel-qcow2-linux-9bebe9e5b0f3109a14000df25308c2971f872605.tar.gz
kernel-qcow2-linux-9bebe9e5b0f3109a14000df25308c2971f872605.tar.xz
kernel-qcow2-linux-9bebe9e5b0f3109a14000df25308c2971f872605.zip
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>
Diffstat (limited to 'scripts/genksyms')
0 files changed, 0 insertions, 0 deletions