Commit 06a7476b authored by Daniel Glöckner's avatar Daniel Glöckner Committed by Chris Zankel

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: default avatarDaniel Glöckner <dg@emlix.com>
Signed-off-by: default avatarChris Zankel <chris@zankel.net>
parent fcc8f0f8
...@@ -53,7 +53,7 @@ _start: _j 2f ...@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment