summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sparc/fork.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/sparc/fork.S')
-rw-r--r--libc/sysdeps/linux/sparc/fork.S13
1 files changed, 6 insertions, 7 deletions
diff --git a/libc/sysdeps/linux/sparc/fork.S b/libc/sysdeps/linux/sparc/fork.S
index dfa109dcd..f726e5aef 100644
--- a/libc/sysdeps/linux/sparc/fork.S
+++ b/libc/sysdeps/linux/sparc/fork.S
@@ -23,12 +23,11 @@
#include <sys/syscall.h>
.text
-.global __fork
-.hidden __fork
-.type __fork,%function
+.global fork
+.type fork,%function
.align 4
-__fork:
+fork:
mov __NR_fork, %g1
ta 0x10
bcc,a 9000f
@@ -45,6 +44,6 @@ __fork:
retl
and %o0, %o1, %o0
-.size __fork,.-__fork
-strong_alias(__fork,fork)
-weak_alias(fork,__libc_fork)
+.size fork,.-fork
+libc_hidden_def(fork)
+strong_alias(fork,__libc_fork)