summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/i386/clone.S
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-10-30 21:43:47 +0000
committerEric Andersen <andersen@codepoet.org>2000-10-30 21:43:47 +0000
commite6c08ea6437471b025b940944555ddc6f115c1b2 (patch)
treec2d7cc90e330bbc669ab167186b6fec1d0430e7a /libc/sysdeps/linux/i386/clone.S
parent643d28471fd2f87e85a06875754c57e122bb4848 (diff)
Remove need for the bloated sysdep.h -- we don't need it, so axe it.
Diffstat (limited to 'libc/sysdeps/linux/i386/clone.S')
-rw-r--r--libc/sysdeps/linux/i386/clone.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/i386/clone.S b/libc/sysdeps/linux/i386/clone.S
index 5db30b8e3..173b5c1f7 100644
--- a/libc/sysdeps/linux/i386/clone.S
+++ b/libc/sysdeps/linux/i386/clone.S
@@ -20,14 +20,15 @@
/* clone() is even more special than fork() as it mucks with stacks
and invokes a function in the right context after its all over. */
-#include <sysdep.h>
#include <asm/errno.h>
/* int clone(int (*fn)(void *arg), void *child_stack, int flags, void *arg); */
.text
-ENTRY(__clone)
+.globl __clone;
+.align 4; \
+__clone:
/* Sanity check arguments. */
movl $-EINVAL,%eax
movl 4(%esp),%ecx /* no NULL function pointers */