summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/nios/clone.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/nios/clone.S')
-rw-r--r--libc/sysdeps/linux/nios/clone.S11
1 files changed, 4 insertions, 7 deletions
diff --git a/libc/sysdeps/linux/nios/clone.S b/libc/sysdeps/linux/nios/clone.S
index c4799c5b2..39eb54035 100644
--- a/libc/sysdeps/linux/nios/clone.S
+++ b/libc/sysdeps/linux/nios/clone.S
@@ -28,10 +28,10 @@
.text
.align 2
- .globl __clone
- .type __clone,@function
+ .globl clone
+ .type clone,@function
-__clone:
+clone:
save %sp,-16
MOVIP %l0, -EINVAL
@@ -74,7 +74,7 @@ CLONE_ERROR_LABEL:
ret
restore
- .size __clone, .-__clone
+ .size clone, .-clone
.type __thread_start,@function
@@ -86,6 +86,3 @@ __thread_start:
nop
.size __thread_start, .-__thread_start
-
-.weak clone
- clone = __clone