summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/nios/clone.S
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-10 02:03:25 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-10 02:03:25 +0000
commit771c60ca859f10e64489ec3aa18e4543436ba688 (patch)
treef5f3380efc214b4bdabd8ba1debe8d9537905e76 /libc/sysdeps/linux/nios/clone.S
parent22eff99ada7e5c18e2b2962a8c03384c579ec4c8 (diff)
more fixes by Thomas Chou in Bug 618
Diffstat (limited to 'libc/sysdeps/linux/nios/clone.S')
-rw-r--r--libc/sysdeps/linux/nios/clone.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/nios/clone.S b/libc/sysdeps/linux/nios/clone.S
index a3098f5f8..c4799c5b2 100644
--- a/libc/sysdeps/linux/nios/clone.S
+++ b/libc/sysdeps/linux/nios/clone.S
@@ -21,7 +21,7 @@
and invokes a function in the right context after its all over. */
#include <asm/errno.h>
-#include <asm/unistd.h>
+#include <sys/syscall.h>
#include "NM_Macros.S"
/* int clone(int (*fn)(void *arg), void *child_stack, int flags, void *arg); */
@@ -87,5 +87,5 @@ __thread_start:
.size __thread_start, .-__thread_start
-.globl clone;
+.weak clone
clone = __clone