]> www.infradead.org Git - users/dwmw2/qemu.git/commit
linux-user/i386: Drop xfeatures_size from sigcontext arithmetic
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 8 Apr 2024 20:22:32 +0000 (10:22 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Sun, 26 May 2024 19:51:50 +0000 (12:51 -0700)
commit077c43eb0d30a257ee33f1b48ea5b29eafcf4eb5
treebe895ee81b2e6450149b03c7cf10928ab29c909a
parent6dba8b471cb2b40140b672a9ae9b965a7a132409
linux-user/i386: Drop xfeatures_size from sigcontext arithmetic

This is subtracting sizeof(target_fpstate_fxsave) in
TARGET_FXSAVE_SIZE, then adding it again via &fxsave->xfeatures.
Perform the same computation using xstate_size alone.

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