OSDN Git Service

err, need to commit the rest of the changes from psm too
authorMike Frysinger <vapier@gentoo.org>
Wed, 6 Jul 2005 22:26:19 +0000 (22:26 -0000)
committerMike Frysinger <vapier@gentoo.org>
Wed, 6 Jul 2005 22:26:19 +0000 (22:26 -0000)
libc/sysdeps/linux/i386/clone.S

index 891b353..de47ba3 100644 (file)
 #define TLS         PTID+PTR_SIZE
 #define CTID        TLS+PTR_SIZE
 
-#define __NR_clone        120
-#define __NR_exit         1
-
 .text
-.type clone,%function
-.weak clone
-       clone = __clone
-
 .global __clone
 .type   __clone,%function
-
 __clone:
        /* Sanity check arguments.  */
        movl    $-EINVAL,%eax
@@ -147,3 +139,6 @@ __clone:
 #endif
 
 .size __clone,.-__clone
+
+.weak clone
+       clone = __clone