linux-user/ppc: Fix padding in mcontext_t for ppc64
The padding that was added in 95cda4c44ee was added to a union,
and so it had no effect. This fixes misalignment errors detected
by clang sanitizers for ppc64 and ppc64le.
In addition, only ppc64 allocates space for VSX registers, so do
not save them for ppc32. The kernel only has references to
CONFIG_SPE in signal_32.c, so do not attempt to save them for ppc64.
Signed-off-by: Richard Henderson <firstname.lastname@example.org>
Acked-by: Laurent Vivier <email@example.com>
Signed-off-by: David Gibson <firstname.lastname@example.org>
1 file changed