Re: [PATCH 2/4] hurd: Align signal stack pointer after allocating stackframe

2023-05-15 Thread Samuel Thibault
Applied, thanks! Sergey Bugaev via Libc-alpha, le lun. 15 mai 2023 11:33:21 +0300, a ecrit: > sizeof (*stackframe) appears to be divisible by 16, but we should not > rely on that. So make sure to leave enough space for the stackframe > first, and then align the final pointer at 16 bytes. > >

[PATCH 2/4] hurd: Align signal stack pointer after allocating stackframe

2023-05-15 Thread Sergey Bugaev
sizeof (*stackframe) appears to be divisible by 16, but we should not rely on that. So make sure to leave enough space for the stackframe first, and then align the final pointer at 16 bytes. Checked on x86_64-gnu. Signed-off-by: Sergey Bugaev --- sysdeps/mach/hurd/x86/trampoline.c | 5 ++--- 1