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: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
Paul Mundt 2007-07-20 17:40:03 +09:00
parent bf73af2314
commit 339547bf5d
2 changed files with 3 additions and 1 deletions

View File

@ -36,7 +36,8 @@ ENTRY(empty_zero_page)
1:
.skip PAGE_SIZE - empty_zero_page - 1b
.text
.section .text.head, "ax"
/*
* Condition at the entry of _stext:
*

View File

@ -22,6 +22,7 @@ SECTIONS
*(.empty_zero_page)
} = 0
.text : {
*(.text.head)
TEXT_TEXT
SCHED_TEXT
LOCK_TEXT