summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sh/vfork.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/sh/vfork.S')
-rw-r--r--libc/sysdeps/linux/sh/vfork.S12
1 files changed, 7 insertions, 5 deletions
diff --git a/libc/sysdeps/linux/sh/vfork.S b/libc/sysdeps/linux/sh/vfork.S
index 981928e08..f3c20a9d6 100644
--- a/libc/sysdeps/linux/sh/vfork.S
+++ b/libc/sysdeps/linux/sh/vfork.S
@@ -32,9 +32,11 @@
and the process ID of the new process to the old process. */
.text
-.align 4
+.globl __vfork
+.hidden __vfork
.type __vfork,@function
-.globl __vfork;
+.align 4
+
__vfork:
mov.w .L2, r3
trapa #0x10
@@ -104,9 +106,9 @@ __vfork:
.word __NR_vfork
.L3:
.word __NR_fork
- .size __vfork, .-__vfork
-.weak vfork
- vfork = __vfork
+
+.size __vfork, .-__vfork
+strong_alias(__vfork,vfork)
#include "syscall_error.S"