linux-user: i386/signal: move fpstate at the end of the 32-bit frames
commit5154d35beda383af8042061099a5cd2decf88e69
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 7 Oct 2022 13:47:35 +0000 (7 15:47 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 11 Oct 2022 07:36:01 +0000 (11 09:36 +0200)
tree2cd570bb468dce8c15cfb950b9c51c8c81f926b9
parent37656470f67398dd10101d7d940d660053f60ff5
linux-user: i386/signal: move fpstate at the end of the 32-bit frames

Recent versions of Linux moved the 32-bit fpstate towards the end of the
frame, so that the variable-sized xsave data does not overwrite the
(ABI-defined) extramask[] field.  Follow suit in QEMU.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
linux-user/i386/signal.c