summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/bfin
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/bfin')
-rw-r--r--libc/sysdeps/linux/bfin/vfork.S11
1 files changed, 7 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/bfin/vfork.S b/libc/sysdeps/linux/bfin/vfork.S
index d02ba88ed..ccb80d1e8 100644
--- a/libc/sysdeps/linux/bfin/vfork.S
+++ b/libc/sysdeps/linux/bfin/vfork.S
@@ -8,11 +8,14 @@
#include <asm/unistd.h>
.text
-.global _vfork
-.type _vfork,STT_FUNC;
+.global ___vfork
+.hidden ___vfork
+.type ___vfork,STT_FUNC;
.align 4
-_vfork:
+___vfork:
p0 = __NR_vfork;
excpt 0;
rts;
-.size _vfork,.-_vfork
+.size ___vfork,.-___vfork
+//weak_alias(___vfork,_vfork)
+//libc_hidden_def(_vfork)