projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c65a548
)
[MIPS] vmlinux.lds.S: handle .text.*
author
Atsushi Nemoto
<anemo@mba.ocn.ne.jp>
Tue, 5 Aug 2008 14:45:14 +0000
(23:45 +0900)
committer
Ralf Baechle
<ralf@linux-mips.org>
Sun, 21 Sep 2008 12:52:58 +0000
(14:52 +0200)
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>
arch/mips/kernel/vmlinux.lds.S
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/kernel/vmlinux.lds.S
b/arch/mips/kernel/vmlinux.lds.S
index b5470ceb418b301847f385d72e306eff0b1bf6dc..afb119f35682680c2eb5eeddb20137aab7e64aa9 100644
(file)
--- 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