|
@@ -41,17 +41,9 @@
|
|
|
#define TLS PTID+PTR_SIZE
|
|
#define TLS PTID+PTR_SIZE
|
|
|
#define CTID TLS+PTR_SIZE
|
|
#define CTID TLS+PTR_SIZE
|
|
|
|
|
|
|
|
-#define __NR_clone 120
|
|
|
|
|
-#define __NR_exit 1
|
|
|
|
|
-
|
|
|
|
|
.text
|
|
.text
|
|
|
-.type clone,%function
|
|
|
|
|
-.weak clone
|
|
|
|
|
- clone = __clone
|
|
|
|
|
-
|
|
|
|
|
.global __clone
|
|
.global __clone
|
|
|
.type __clone,%function
|
|
.type __clone,%function
|
|
|
-
|
|
|
|
|
__clone:
|
|
__clone:
|
|
|
/* Sanity check arguments. */
|
|
/* Sanity check arguments. */
|
|
|
movl $-EINVAL,%eax
|
|
movl $-EINVAL,%eax
|
|
@@ -147,3 +139,6 @@ __clone:
|
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
.size __clone,.-__clone
|
|
.size __clone,.-__clone
|
|
|
|
|
+
|
|
|
|
|
+.weak clone
|
|
|
|
|
+ clone = __clone
|