mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-19 02:04:19 +08:00
66761522a7
This fixes the setup of the alignment of the signal frame, so that all
signal handlers are run with a properly aligned stack frame.
The current code "over-aligns" the stack pointer so that the stack frame
is effectively always mis-aligned by 4 bytes. But what we really want
is that on function entry ((sp + 4) & 15) == 0, which matches what would
happen if the stack were aligned before a "call" instruction.
i386 and x86_64 are already fixed by
|
||
---|---|---|
.. | ||
audit.c | ||
binfmt_elf32.c | ||
elfcore32.h | ||
ia32_entry.S | ||
ia32_ldt.c | ||
ia32_signal.c | ||
ia32_support.c | ||
ia32_traps.c | ||
ia32priv.h | ||
Makefile | ||
sys_ia32.c |