diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2008-08-05 23:45:14 +0900 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-09-21 14:52:58 +0200 |
commit | 6b3766a263a62fc82ca0457faa73dc34b98ceb87 (patch) | |
tree | 87b7f78cd8dac416bf7c07341f7f8ccbac6cac7b /arch/mips/kernel | |
parent | c65a5480ff29198c241f11d39d9e34ab22c72c69 (diff) |
[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')
-rw-r--r-- | arch/mips/kernel/vmlinux.lds.S | 1 |
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 |