aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortegge <tegge@FreeBSD.org>2001-09-09 08:57:11 +0800
committertegge <tegge@FreeBSD.org>2001-09-09 08:57:11 +0800
commitf0af55377e5b7037985a6104a12fa1bfb796fbbe (patch)
treeaf1837d77c08b8708d3813c99230e13c0ae6113f
parent0ef0aeff048e4bcea7667d8ff50c28f086aa6ffd (diff)
downloadfreebsd-ports-gnome-f0af55377e5b7037985a6104a12fa1bfb796fbbe.tar.gz
freebsd-ports-gnome-f0af55377e5b7037985a6104a12fa1bfb796fbbe.tar.zst
freebsd-ports-gnome-f0af55377e5b7037985a6104a12fa1bfb796fbbe.zip
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.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/devel/linuxthreads/files/clone.S b/devel/linuxthreads/files/clone.S
index 50ded5356a1e..73d8d46467d9 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