summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/v850
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/v850
parentc3f6501060987d967a28495b009cd0da9da25252 (diff)
fork/vfork weak in libc, strong in libpthread
Diffstat (limited to 'libc/sysdeps/linux/v850')
-rw-r--r--libc/sysdeps/linux/v850/vfork.S6
1 files changed, 4 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/v850/vfork.S b/libc/sysdeps/linux/v850/vfork.S
index 34a0ca64c..db4c9f6f7 100644
--- a/libc/sysdeps/linux/v850/vfork.S
+++ b/libc/sysdeps/linux/v850/vfork.S
@@ -26,7 +26,7 @@
.global C_SYMBOL_NAME(errno)
-C_ENTRY (vfork):
+C_ENTRY (__vfork):
addi SYS_vfork, r0, r12
trap 0
addi -125, r0, r11 // minimum err value
@@ -37,4 +37,6 @@ C_ENTRY (vfork):
subr r0, r10
st.w r10, 0[r11]
jmp [lp] // error return
-C_END(vfork)
+C_END(__vfork)
+//weak_alias(__vfork,vfork)
+//libc_hidden_def(vfork)