Commit e56059f2 authored by Chris Metcalf's avatar Chris Metcalf

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: default avatarChris Metcalf <cmetcalf@tilera.com>
parent c0f06010
...@@ -46,6 +46,8 @@ SECTIONS ...@@ -46,6 +46,8 @@ SECTIONS
KPROBES_TEXT KPROBES_TEXT
IRQENTRY_TEXT IRQENTRY_TEXT
__fix_text_end = .; /* tile-cpack won't rearrange before this */ __fix_text_end = .; /* tile-cpack won't rearrange before this */
ALIGN_FUNCTION();
*(.hottext*)
TEXT_TEXT TEXT_TEXT
*(.text.*) *(.text.*)
*(.coldtext*) *(.coldtext*)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment