Update of /cvsroot/linux-vax/toolchain/patches
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5519
Added Files:
uclibc-000032-call__exit_internal_from_clone.patch
Log Message:
- Call _exit_internal() instead of _exit() from within clone().
--- NEW FILE: uclibc-000032-call__exit_internal_from_clone.patch ---
--- src-uclibc-fresh/libc/sysdeps/linux/vax/clone.S 2005-12-16 10:01:47.000000000 +0100
+++ src-uclibc-hacked/libc/sysdeps/linux/vax/clone.S 2005-12-16 10:09:41.000000000 +0100
@@ -21,6 +21,8 @@
#include <bits/errno.h>
#include <sys/syscall.h>
+#warning "This file contains a hardcoded constant for SYS_clone"
+
.section .rodata
.align 2
.LC0: .long 120 /* SYS_clone */
@@ -66,10 +68,10 @@ __clone:
movl (%r1), %r0
calls $1, (%r0)
pushl %r0
- calls $1, _exit
+ calls $1, _exit_internal
CLONE_ERROR_LABEL:
- cmpl %r6, $-126 /* -ENOKEY?!?! Fuck, this must be wrong! */
+ cmpl %r6, $-126 /* -ENOKEY?!?! Fuck, this must be wrong! FIXME */
jlequ CLONE_RETURN_LABEL
calls $0, __errno_location
mnegl %r6, (%r0)
|