summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/i386/clone.S
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-08-12 02:43:45 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-08-12 02:43:45 +0000
commit50dcba0bb24c6c57397dab0ee4a083ee2c8266aa (patch)
tree39b45cc38150687420b955cee4a2038452e28733 /libc/sysdeps/linux/i386/clone.S
parent3e618254fd7d842f63b19b89a7b9cee0ec76637b (diff)
downloaduClibc-alpine-50dcba0bb24c6c57397dab0ee4a083ee2c8266aa.tar.bz2
uClibc-alpine-50dcba0bb24c6c57397dab0ee4a083ee2c8266aa.tar.xz
Bring in latest from trunk.
Diffstat (limited to 'libc/sysdeps/linux/i386/clone.S')
-rw-r--r--libc/sysdeps/linux/i386/clone.S13
1 files changed, 5 insertions, 8 deletions
diff --git a/libc/sysdeps/linux/i386/clone.S b/libc/sysdeps/linux/i386/clone.S
index fbbb7d4cf..259982230 100644
--- a/libc/sysdeps/linux/i386/clone.S
+++ b/libc/sysdeps/linux/i386/clone.S
@@ -51,19 +51,19 @@ __clone:
/* no NULL function pointers */
movl FUNC(%esp),%ecx
#ifdef __PIC__
- jecxz __error
+ jecxz __syscall_error
#else
testl %ecx,%ecx
- jz __error
+ jz __syscall_error
#endif
/* no NULL stack pointers */
movl STACK(%esp),%ecx
#ifdef __PIC__
- jecxz __error
+ jecxz __syscall_error
#else
testl %ecx,%ecx
- jz __error
+ jz __syscall_error
#endif
/* Insert the argument onto the new stack. Make sure the new
@@ -96,7 +96,7 @@ __clone:
popl %ebx
test %eax,%eax
- jl __error
+ jl __syscall_error
jz .Lthread_start
ret
@@ -114,9 +114,6 @@ __clone:
movl $__NR_exit, %eax
int $0x80
-__error:
- jmp __syscall_error
-
.size __clone,.-__clone
.weak clone