summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-06 22:26:19 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-06 22:26:19 +0000
commitd1de87b09ddd8f096d0191ffb0a694acea13d84b (patch)
tree040ee912552f0271e028487df5429fc8eaaa601f /libc
parent5ddee2da0cf7345f3be649fcd67d7d0a7c773313 (diff)
err, need to commit the rest of the changes from psm too
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/i386/clone.S11
1 files changed, 3 insertions, 8 deletions
diff --git a/libc/sysdeps/linux/i386/clone.S b/libc/sysdeps/linux/i386/clone.S
index 891b35381..de47ba31c 100644
--- a/libc/sysdeps/linux/i386/clone.S
+++ b/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