summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sparc/fork.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/sparc/fork.S
parentc3f6501060987d967a28495b009cd0da9da25252 (diff)
fork/vfork weak in libc, strong in libpthread
Diffstat (limited to 'libc/sysdeps/linux/sparc/fork.S')
-rw-r--r--libc/sysdeps/linux/sparc/fork.S10
1 files changed, 5 insertions, 5 deletions
diff --git a/libc/sysdeps/linux/sparc/fork.S b/libc/sysdeps/linux/sparc/fork.S
index f726e5aef..cb863f654 100644
--- a/libc/sysdeps/linux/sparc/fork.S
+++ b/libc/sysdeps/linux/sparc/fork.S
@@ -23,11 +23,11 @@
#include <sys/syscall.h>
.text
-.global fork
-.type fork,%function
+.global __libc_fork
+.type __libc_fork,%function
.align 4
-fork:
+__libc_fork:
mov __NR_fork, %g1
ta 0x10
bcc,a 9000f
@@ -44,6 +44,6 @@ fork:
retl
and %o0, %o1, %o0
-.size fork,.-fork
+.size __libc_fork,.-__libc_fork
+weak_alias(__libc_fork,fork)
libc_hidden_def(fork)
-strong_alias(fork,__libc_fork)