summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/vmlinux.lds.S
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2008-08-05 16:45:14 +0200
committerRalf Baechle <ralf@linux-mips.org>2008-09-21 14:52:58 +0200
commit6b3766a263a62fc82ca0457faa73dc34b98ceb87 (patch)
tree87b7f78cd8dac416bf7c07341f7f8ccbac6cac7b /arch/mips/kernel/vmlinux.lds.S
parent[MIPS] Fix potential latency problem due to non-atomic cpu_wait. (diff)
downloadlinux-6b3766a263a62fc82ca0457faa73dc34b98ceb87.tar.xz
linux-6b3766a263a62fc82ca0457faa73dc34b98ceb87.zip
[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 <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/vmlinux.lds.S')
-rw-r--r--arch/mips/kernel/vmlinux.lds.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/kernel/vmlinux.lds.S b/arch/mips/kernel/vmlinux.lds.S
index b5470ceb418b..afb119f35682 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