Browse Source

err, need to commit the rest of the changes from psm too

Mike Frysinger 20 years ago
parent
commit
d1de87b09d
1 changed files with 3 additions and 8 deletions
  1. 3 8
      libc/sysdeps/linux/i386/clone.S

+ 3 - 8
libc/sysdeps/linux/i386/clone.S

@@ -41,17 +41,9 @@
 #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