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

Commit 7e5de051 authored by Al Viro's avatar Al Viro Committed by Linus Torvalds
Browse files

m68k: use .text.head



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.*

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent f9569e1d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -577,7 +577,7 @@ func_define putn,1
#endif
.endm

.text
.section ".text.head","ax"
ENTRY(_stext)
/*
 * Version numbers of the bootinfo interface
+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ kernel_pmd_table: .skip 0x2000
.globl kernel_pg_dir
.equ    kernel_pg_dir,kernel_pmd_table

	.section .head
	.section .text.head
ENTRY(_stext)
ENTRY(_start)

+1 −0
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@ SECTIONS
  . = 0x1000;
  _text = .;			/* Text and read-only data */
  .text : {
	*(.text.head)
	TEXT_TEXT
	SCHED_TEXT
	LOCK_TEXT
+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ SECTIONS
  . = 0xE002000;
  _text = .;			/* Text and read-only data */
  .text : {
	*(.head)
	*(.text.head)
	TEXT_TEXT
	SCHED_TEXT
	LOCK_TEXT