summaryrefslogtreecommitdiff
path: root/devel/linuxthreads
diff options
context:
space:
mode:
authorTor Egge <tegge@FreeBSD.org>2001-09-09 00:57:11 +0000
committerTor Egge <tegge@FreeBSD.org>2001-09-09 00:57:11 +0000
commit85ca10cdc3cd70ffa92935e2cc5002585c72da36 (patch)
tree7062e328dbdf0f303ee15c0d993dedbb669b384d /devel/linuxthreads
parentUse libc version of _flockfile() and _funlockfile() on 5.0-CURRENT. (diff)
Set frame pointer to 0 before calling function in child process to indicate
that the stack frame chain stops here.
Diffstat (limited to 'devel/linuxthreads')
-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