mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
bsd-user: Define TARGET_SIGSTACK_ALIGN and use it to round stack
Most (all?) targets require stacks to be properly aligned. Rather than a series of ifdefs in bsd-user/signal.h, instead use a manditory #define for all architectures. Signed-off-by: Warner Losh <imp@bsdimp.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
5b6828d194
commit
5fa2a10ba6
5 changed files with 9 additions and 8 deletions
|
@ -88,4 +88,6 @@ struct target_sigframe {
|
|||
uint32_t __spare__[2];
|
||||
};
|
||||
|
||||
#define TARGET_SIGSTACK_ALIGN 8
|
||||
|
||||
#endif /* TARGET_ARCH_SIGNAL_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue