summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/mips/vfork.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/mips/vfork.S')
-rw-r--r--libc/sysdeps/linux/mips/vfork.S7
1 files changed, 5 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/mips/vfork.S b/libc/sysdeps/linux/mips/vfork.S
index 8400df052..b30744759 100644
--- a/libc/sysdeps/linux/mips/vfork.S
+++ b/libc/sysdeps/linux/mips/vfork.S
@@ -29,6 +29,7 @@
#define RESTORE_PID
#endif
+#ifdef __NR_fork
/* int vfork() */
@@ -93,5 +94,7 @@ L(error):
#endif
END(__vfork)
-.weak vfork;
- vfork = __vfork
+weak_alias(__vfork,vfork)
+libc_hidden_weak(vfork)
+
+#endif