summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/nios/vfork.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/nios/vfork.S')
-rw-r--r--libc/sysdeps/linux/nios/vfork.S10
1 files changed, 6 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/nios/vfork.S b/libc/sysdeps/linux/nios/vfork.S
index 2479fe752..dc8b7d445 100644
--- a/libc/sysdeps/linux/nios/vfork.S
+++ b/libc/sysdeps/linux/nios/vfork.S
@@ -22,9 +22,10 @@
.text
.align 2
- .globl vfork
- .type vfork,@function
-vfork:
+ .globl __vfork
+ .hidden __vfork
+ .type __vfork,@function
+__vfork:
MOVIP %g1, __NR_vfork
trap 63
@@ -48,5 +49,6 @@ fix_errno:
ret
restore
-.size vfork,.-vfork
+.size __vfork,.-__vfork
+weak_alias(__vfork,vfork)
libc_hidden_def(vfork)