Re: RELEASE BLOCKER: Linux doesn't follow x86/x86-64 ABI wrt direction flag

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andi Kleen
Date: Thursday, March 6, 2008 - 1:44 am

"H. Peter Anvin" <hpa@zytor.com> writes:


That was the state with older gcc, but with newer gcc it does not necessarily
reset the flag before the next function call.

so e.g. if you have

        memmove(...)
        for (... very long loop .... ) {
                /* no function calls */
                /* signals happen */
        }

the signal could see the direction flag

-Andi
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Linux doesn't follow x86/x86-64 ABI wrt direction flag, Aurelien Jarno, (Wed Mar 5, 8:30 am)
[PATCH] x86: Clear DF before calling signal handler, Aurelien Jarno, (Wed Mar 5, 11:14 am)
Re: [PATCH] x86: Clear DF before calling signal handler, H. Peter Anvin, (Wed Mar 5, 11:17 am)
Re: RELEASE BLOCKER: Linux doesn't follow x86/x86-64 ABI w ..., Andi Kleen, (Thu Mar 6, 1:44 am)
Re: Linux doesn't follow x86/x86-64 ABI wrt direction flag, Mikael Pettersson, (Thu Mar 6, 2:45 am)
Re: Linux doesn't follow x86/x86-64 ABI wrt direction flag, Richard Guenther, (Thu Mar 6, 5:06 am)
Re: Linux doesn't follow x86/x86-64 ABI wrt direction flag, Richard Guenther, (Thu Mar 6, 1:54 pm)