diff options
author | tegge <tegge@FreeBSD.org> | 2001-09-09 00:57:11 +0000 |
---|---|---|
committer | tegge <tegge@FreeBSD.org> | 2001-09-09 00:57:11 +0000 |
commit | f0af55377e5b7037985a6104a12fa1bfb796fbbe (patch) | |
tree | af1837d77c08b8708d3813c99230e13c0ae6113f | |
parent | 0ef0aeff048e4bcea7667d8ff50c28f086aa6ffd (diff) | |
download | FreeBSD-ports-f0af55377e5b7037985a6104a12fa1bfb796fbbe.zip FreeBSD-ports-f0af55377e5b7037985a6104a12fa1bfb796fbbe.tar.gz |
Set frame pointer to 0 before calling function in child process to indicate
that the stack frame chain stops here.
-rw-r--r-- | devel/linuxthreads/files/clone.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/devel/linuxthreads/files/clone.S b/devel/linuxthreads/files/clone.S index 50ded53..73d8d46 100644 --- a/devel/linuxthreads/files/clone.S +++ b/devel/linuxthreads/files/clone.S @@ -93,6 +93,7 @@ ENTRY(_clone) #ifdef DEBUG movl %eax,_fcn #endif + movl $0, %ebp call *%eax addl $8, %esp |