Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tile: group .hottext* sections properly in vmlinux.lds

With this change such sections are grouped with regular text
in the vmlinux image; this change puts them at the front,
which is where the standard Linux includes .text.hot*.
This change should fix a recently-observed bug where a bunch of
symbols were being omitted from the /proc/kallsyms output
because they fell between _etext and _sinittext.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>

+2
+2
arch/tile/kernel/vmlinux.lds.S
··· 46 46 KPROBES_TEXT 47 47 IRQENTRY_TEXT 48 48 __fix_text_end = .; /* tile-cpack won't rearrange before this */ 49 + ALIGN_FUNCTION(); 50 + *(.hottext*) 49 51 TEXT_TEXT 50 52 *(.text.*) 51 53 *(.coldtext*)