提交 339547bf 编写于 作者: P Paul Mundt

sh: Move entry point code to .text.head.

Follow Al Viro's m68k change from l-k:

	i.e. tell modpost that entry point code (that has to be outside
	of .init.text for external reasons) is OK to refer to .init.*

Shuts up some section mismatch warnings from modpost.
Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 bf73af23
...@@ -36,7 +36,8 @@ ENTRY(empty_zero_page) ...@@ -36,7 +36,8 @@ ENTRY(empty_zero_page)
1: 1:
.skip PAGE_SIZE - empty_zero_page - 1b .skip PAGE_SIZE - empty_zero_page - 1b
.text .section .text.head, "ax"
/* /*
* Condition at the entry of _stext: * Condition at the entry of _stext:
* *
......
...@@ -22,6 +22,7 @@ SECTIONS ...@@ -22,6 +22,7 @@ SECTIONS
*(.empty_zero_page) *(.empty_zero_page)
} = 0 } = 0
.text : { .text : {
*(.text.head)
TEXT_TEXT TEXT_TEXT
SCHED_TEXT SCHED_TEXT
LOCK_TEXT LOCK_TEXT
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册