فهرست منبع

xtensa: make startup code discardable

Move it from .text to .init.text to get rid of it after boot and
prevent illegal section references.

Signed-off-by: Daniel Glöckner <dg@emlix.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
Daniel Glöckner 16 سال پیش
والد
کامیت
06a7476be7
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      arch/xtensa/kernel/head.S

+ 1 - 1
arch/xtensa/kernel/head.S

@@ -53,7 +53,7 @@ _start:	_j	2f
 2:	l32r	a0, 1b
 2:	l32r	a0, 1b
 	jx	a0
 	jx	a0
 
 
-	.text
+	.section .init.text, "ax"
 	.align 4
 	.align 4
 _startup:
 _startup: