[uClibc-cvs] svn commit: trunk/uClibc/libc/sysdeps/linux/alpha

vapier at uclibc.org vapier at uclibc.org
Sun Jul 10 07:15:36 UTC 2005


Author: vapier
Date: 2005-07-10 01:15:35 -0600 (Sun, 10 Jul 2005)
New Revision: 10781

Log:
need syscall.h for __NR_clone definition

Modified:
   trunk/uClibc/libc/sysdeps/linux/alpha/clone.S


Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/alpha/clone.S
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/alpha/clone.S	2005-07-10 06:59:41 UTC (rev 10780)
+++ trunk/uClibc/libc/sysdeps/linux/alpha/clone.S	2005-07-10 07:15:35 UTC (rev 10781)
@@ -23,21 +23,12 @@
 #include <features.h>
 #define _ERRNO_H	1
 #include <bits/errno.h>
+#include <sys/syscall.h>
+#include <asm/regdef.h>
 
 /* int clone(int (*fn)(void *arg), void *child_stack, int flags, void *arg) */
 
-#define a0  $16
-#define a1  $17
-#define a2  $18
-#define a3  $19
-#define v0  $0
-#define fp  $15
-#define gp  $29
-#define ra  $26
-#define pv  $27
-#define zero  $31
-
-        .text
+.text
 .globl  __clone;
 .align 3;
 .ent  __clone , 0;




More information about the uClibc-cvs mailing list