commit | 0f586c4444f694d21a51d50e515b03518005d0fe | [log] [tgz] |
---|---|---|
author | Alexandre Julliard <julliard@winehq.org> | Tue Feb 20 01:59:27 2001 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Tue Feb 20 01:59:27 2001 +0000 |
tree | 0d7fd75162c462d704ea35bbadbf0c92be610bab | |
parent | 641c7ae109f7eac26fc80d6f5f120db456616a3e [diff] [blame] |
Clear %ebp before entering the new thread.
diff --git a/library/port.c b/library/port.c index af0c244..004f853 100644 --- a/library/port.c +++ b/library/port.c
@@ -143,6 +143,7 @@ "popl %%ebx\n\t" /* Contains fn in the child */ "testl %%eax,%%eax\n\t" "jnz 0f\n\t" + "xorl %ebp,%ebp\n\t" /* Terminate the stack frames */ "call *%%ebx\n\t" /* Should never return */ "xorl %%eax,%%eax\n\t" /* Just in case it does*/ "0:"