hurd: Align signal stack pointer after allocating stackframe
commitce96593c882b393461084048533120e9c1e9d328
authorSergey Bugaev <bugaevc@gmail.com>
Mon, 15 May 2023 08:33:21 +0000 (15 11:33 +0300)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Tue, 16 May 2023 14:08:58 +0000 (16 16:08 +0200)
treef1c5b0dd783019cfe0bfe6843bfbfeddfd282ba9
parentff0f87632a74a369a2b992f4436ae406065a4012
hurd: Align signal stack pointer after allocating stackframe

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 <bugaevc@gmail.com>
Message-Id: <20230515083323.1358039-3-bugaevc@gmail.com>
sysdeps/mach/hurd/x86/trampoline.c