xtensa: make startup code discardable
authorDaniel Glöckner <dg@emlix.com>
Wed, 11 Mar 2009 13:15:11 +0000 (14:15 +0100)
committerChris Zankel <chris@zankel.net>
Fri, 3 Apr 2009 06:45:35 +0000 (23:45 -0700)
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>
arch/xtensa/kernel/head.S

index d092c225d5b7b7ab09e234cfb8bb2a50cbd86af7..0817f9db836e3cf582edd26de186e901f7e1d79e 100644 (file)
@@ -53,7 +53,7 @@ _start:       _j      2f
 2:     l32r    a0, 1b
        jx      a0
 
-       .text
+       .section .init.text, "ax"
        .align 4
 _startup: