Aurelien Jarno e40cd10ccf x86: clear DF before calling signal handler
The Linux kernel currently does not clear the direction flag before
calling a signal handler, whereas the x86/x86-64 ABI requires that.

Linux had this behavior/bug forever, but this becomes a real problem
with gcc version 4.3, which assumes that the direction flag is
correctly cleared at the entry of a function.

This patches changes the setup_frame() functions to clear the
direction before entering the signal handler.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Acked-by: H. Peter Anvin <hpa@zytor.com>
2008-03-07 16:39:14 +01:00
..
2008-02-27 14:23:53 +01:00
2008-02-23 17:12:16 -08:00
2008-02-09 10:46:40 +01:00
2008-02-14 21:13:33 -08:00
2008-03-05 12:37:20 +01:00
2008-03-06 17:23:15 +09:00
2008-02-09 10:46:40 +01:00