Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 339547bf authored by Paul Mundt's avatar Paul Mundt
Browse files

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: default avatarPaul Mundt <lethal@linux-sh.org>
parent bf73af23
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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:
 *
+1 −0
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@ SECTIONS
	*(.empty_zero_page)
	} = 0
  .text : {
  	*(.text.head)
	TEXT_TEXT
	SCHED_TEXT
	LOCK_TEXT