Skip to content

Commit

Permalink
xtensa: make startup code discardable
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Daniel Glöckner authored and Chris Zankel committed Apr 3, 2009
1 parent fcc8f0f commit 06a7476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/xtensa/kernel/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ _start: _j 2f
2: l32r a0, 1b
jx a0

.text
.section .init.text, "ax"
.align 4
_startup:

Expand Down

0 comments on commit 06a7476

Please sign in to comment.