summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/bfin/vfork.S
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-24 17:18:19 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-24 17:18:19 +0000
commit48143d8a8f92fd69d95564516fd1b7cf122511b1 (patch)
tree60b6a07f9836b7885e6ee2cc2bfead197b554e2b /libc/sysdeps/linux/bfin/vfork.S
parentc3f6501060987d967a28495b009cd0da9da25252 (diff)
fork/vfork weak in libc, strong in libpthread
Diffstat (limited to 'libc/sysdeps/linux/bfin/vfork.S')
-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)