criu/compel
Dmitry Safonov 7ca3005654 compel: Explicitely align all containers of i387_fxsave_struct
As it's aligned to 16, all structures that contain it should be
also aligned to 16. In the kernel there is no such align as
there two separate definitions of i387_fxsave_struct:
one for ia32 and another for x86_64.
Fixes newly introduced align warning in gcc-8.1:
In file included from compel/include/uapi/compel/asm/sigframe.h:7,
                 from compel/plugins/std/infect.c:13:
compel/include/uapi/compel/asm/fpu.h:89:1: error: alignment 1 of 'struct xsave_struct_ia32' is less than 16 [-Werror=packed-not-aligned]
 } __packed;
 ^

It doesn't change the current align of the struct, as containing
structures are __packed and it aligned already *by fact*.
It only affects the function users of the struct's local variables:
now they lay aligned on a stack.

Signed-off-by: Dmitry Safonov <dima@arista.com>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
2018-03-02 21:52:13 +03:00
..
arch compel: Explicitely align all containers of i387_fxsave_struct 2018-03-02 21:52:13 +03:00
include compel: Cleanup INFECT_* definitions 2018-03-02 21:52:13 +03:00
plugins syscall: fix arguments for preadv() 2017-12-19 10:46:38 +03:00
src compel: Add ctx flags to get_task_regs() 2018-03-02 21:52:13 +03:00
test compel/test: fix "infect" test compilation errors 2017-09-21 01:00:23 +03:00
.gitignore compel: adapt .gitgnore for aarch64 and ppc64le 2017-08-09 18:51:42 +03:00
compel-host compel cli: show includes 2017-03-15 00:09:55 +03:00
Makefile s390: Move -msoft-float/-fno-optimize-sibling-calls into compel Makefiles 2017-08-09 18:51:41 +03:00