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 d092c22..0817f9d 100644 (file)
@@ -53,7 +53,7 @@ _start:       _j      2f
 2:     l32r    a0, 1b
        jx      a0
 
-       .text
+       .section .init.text, "ax"
        .align 4
 _startup: