summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/frv/vfork.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/frv/vfork.S')
-rw-r--r--libc/sysdeps/linux/frv/vfork.S11
1 files changed, 5 insertions, 6 deletions
diff --git a/libc/sysdeps/linux/frv/vfork.S b/libc/sysdeps/linux/frv/vfork.S
index b5ecc09af..9a70e22ac 100644
--- a/libc/sysdeps/linux/frv/vfork.S
+++ b/libc/sysdeps/linux/frv/vfork.S
@@ -24,11 +24,10 @@
#include <bits/errno.h>
.text
- .globl __vfork
- .hidden __vfork
- .type __vfork,@function
+ .globl vfork
+ .type vfork,@function
/* int vfork(void) */
-__vfork:
+vfork:
setlos.p #__NR_vfork, gr7
setlos #-4096, gr4
tra gr0, gr0
@@ -41,6 +40,6 @@ __vfork:
ldd @(gr14, gr15), gr14
jmpl @(gr14, gr0)
- .size __vfork,.-__vfork
+ .size vfork,.-vfork
-strong_alias(__vfork,vfork)
+libc_hidden_def(vfork)