summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/sparc/vfork.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/sparc/vfork.S')
-rw-r--r--libc/sysdeps/linux/sparc/vfork.S15
1 files changed, 7 insertions, 8 deletions
diff --git a/libc/sysdeps/linux/sparc/vfork.S b/libc/sysdeps/linux/sparc/vfork.S
index ad6b97e96..b509f65a4 100644
--- a/libc/sysdeps/linux/sparc/vfork.S
+++ b/libc/sysdeps/linux/sparc/vfork.S
@@ -25,18 +25,17 @@
#ifndef __NR_vfork
/* No vfork so use fork instead */
-hidden_strong_alias(__fork,__vfork)
-weak_alias(vfork,__libc_fork)
+strong_alias(fork,vfork)
+strong_alias(vfork,__libc_fork)
#else
.text
-.global __vfork
-.hidden __vfork
-.type __vfork,%function
+.global vfork
+.type vfork,%function
.align 4
-__vfork:
+vfork:
mov __NR_vfork, %g1
ta 0x10
bcc,a 9000f
@@ -53,6 +52,6 @@ __vfork:
retl
and %o0, %o1, %o0
-.size __vfork,.-__vfork
+.size vfork,.-vfork
#endif /* __NR_vfork */
-strong_alias(__vfork,vfork)
+libc_hidden_def(vfork)