aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2013-08-09 16:50:36 -0400
committerChris Metcalf <cmetcalf@tilera.com>2013-08-30 11:56:46 -0400
commite56059f2d3b8a053c965a51587a4a3328ac00a47 (patch)
tree79c7f480a87a4df97d53dcd272e4f5a90b596e41
parentc0f060106000bafafc56ad2af147e541458eabdd (diff)
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>
-rw-r--r--arch/tile/kernel/vmlinux.lds.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/tile/kernel/vmlinux.lds.S b/arch/tile/kernel/vmlinux.lds.S
index aab995578dc2..c7ae53df429e 100644
--- a/arch/tile/kernel/vmlinux.lds.S
+++ b/arch/tile/kernel/vmlinux.lds.S
@@ -46,6 +46,8 @@ SECTIONS
46 KPROBES_TEXT 46 KPROBES_TEXT
47 IRQENTRY_TEXT 47 IRQENTRY_TEXT
48 __fix_text_end = .; /* tile-cpack won't rearrange before this */ 48 __fix_text_end = .; /* tile-cpack won't rearrange before this */
49 ALIGN_FUNCTION();
50 *(.hottext*)
49 TEXT_TEXT 51 TEXT_TEXT
50 *(.text.*) 52 *(.text.*)
51 *(.coldtext*) 53 *(.coldtext*)