OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6f3f33
)
tests/tcg/xtensa: fix build for cores without windowed registers
author
Max Filippov
<jcmvbkbc@gmail.com>
Sun, 24 Apr 2022 15:31:29 +0000
(08:31 -0700)
committer
Max Filippov
<jcmvbkbc@gmail.com>
Fri, 6 May 2022 22:27:40 +0000
(15:27 -0700)
Don't try to initialize windowbase/windowstart in crt.S if they don't
exist.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
tests/tcg/xtensa/crt.S
patch
|
blob
|
history
diff --git
a/tests/tcg/xtensa/crt.S
b/tests/tcg/xtensa/crt.S
index
d9846ac
..
909872c
100644
(file)
--- a/
tests/tcg/xtensa/crt.S
+++ b/
tests/tcg/xtensa/crt.S
@@
-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