summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/i386/clone.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/i386/clone.S')
-rw-r--r--libc/sysdeps/linux/i386/clone.S14
1 files changed, 7 insertions, 7 deletions
diff --git a/libc/sysdeps/linux/i386/clone.S b/libc/sysdeps/linux/i386/clone.S
index 1ba3bcc48..9a6533312 100644
--- a/libc/sysdeps/linux/i386/clone.S
+++ b/libc/sysdeps/linux/i386/clone.S
@@ -45,11 +45,12 @@
#define __NR_exit 1
.text
-.type clone,@function;
-.weak clone ; clone = __clone
+.type clone,%function
+.weak clone
+ clone = __clone
-.type __clone,@function;
-.globl __clone;
+.global __clone
+.type __clone,%function
__clone:
/* Sanity check arguments. */
@@ -135,8 +136,8 @@ __clone:
#else /* __PIC__ */
.Lclone_error:
- negl %eax
- pushl %eax
+ negl %eax
+ pushl %eax
call __errno_location
popl %ecx
movl %ecx, (%eax)
@@ -146,4 +147,3 @@ __clone:
#endif
.size __clone,.-__clone
-