From: Atsushi Nemoto Date: Tue, 5 Aug 2008 14:45:14 +0000 (+0900) Subject: [MIPS] vmlinux.lds.S: handle .text.* X-Git-Tag: v2.6.27-rc7~3^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6b3766a263a62fc82ca0457faa73dc34b98ceb87;p=platform%2Fkernel%2Flinux-3.10.git [MIPS] vmlinux.lds.S: handle .text.* The -ffunction-sections puts each text in .text.function_name section. Without this patch, most functions are placed outside _text..._etext area and it breaks show_stacktrace(), etc. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/kernel/vmlinux.lds.S b/arch/mips/kernel/vmlinux.lds.S index b5470ce..afb119f35 100644 --- a/arch/mips/kernel/vmlinux.lds.S +++ b/arch/mips/kernel/vmlinux.lds.S @@ -36,6 +36,7 @@ SECTIONS SCHED_TEXT LOCK_TEXT KPROBES_TEXT + *(.text.*) *(.fixup) *(.gnu.warning) } :text = 0