]> xenbits.xensource.com Git - qemu-xen.git/commit
target/xtensa: fix flush_window_regs
authorMax Filippov <jcmvbkbc@gmail.com>
Wed, 28 Mar 2018 07:25:22 +0000 (00:25 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Sat, 31 Mar 2018 21:06:35 +0000 (14:06 -0700)
commit20ef66706020a874d03092a673a24ae74685cb4d
tree26eb640b6e0a05280cabcef55e2b03b449287e92
parentdfe732fb68ef9195517f4f380a477d58a054edc1
target/xtensa: fix flush_window_regs

flush_window_regs uses wrong stack frame to save overflow registers in
call8 and call12 frames, which results in wrong register values in
callers of a function that received a signal.
Reimplement flush_window_regs closely following window overflow
sequence.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
linux-user/signal.c