ARM: linux-user: Restore VFP state from ucontext on sigreturn
commit5f9099d9cee0e9ed377aee705ca9f4db75e8948d
authorPeter Maydell <peter.maydell@linaro.org>
Wed, 24 Nov 2010 15:20:06 +0000 (24 15:20 +0000)
committerRiku Voipio <riku.voipio@nokia.com>
Fri, 3 Dec 2010 13:09:39 +0000 (3 15:09 +0200)
tree34f75c239d5dc6a7c4150fb6f0e737f209c13c2b
parent0d871bdbaac428601c84d29233a49f7cf6ecb6fc
ARM: linux-user: Restore VFP state from ucontext on sigreturn

Restore the VFP registers from the ucontext on return from a signal
handler in linux-user mode. This means that signal handlers cannot
accidentally corrupt the interrupted code's VFP state, and allows
them to deliberately modify the state via the ucontext structure.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@nokia.com>
linux-user/signal.c