tests/tcg/xtensa: fix build for cores without windowed registers
Don't try to initialize windowbase/windowstart in crt.S if they don't exist. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
This commit is contained in:
parent
c6f3f334d1
commit
b9400b1fba
@ -8,10 +8,12 @@
|
||||
.text
|
||||
.global _start
|
||||
_start:
|
||||
#if XCHAL_HAVE_WINDOWED
|
||||
movi a2, 1
|
||||
wsr a2, windowstart
|
||||
movi a2, 0
|
||||
wsr a2, windowbase
|
||||
#endif
|
||||
movi a1, _fstack
|
||||
movi a2, 0x4000f
|
||||
wsr a2, ps
|
||||
|
Loading…
Reference in New Issue
Block a user