summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-02-03 20:02:23 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-02-03 20:02:23 +0000
commit786126e2b104050d1d7f2035beda06019527a206 (patch)
tree49f8107396020347d105ea30f0dccf18b94f32dd /libc/sysdeps/linux
parent0140324c106106878b6d90ebafda9bf50b45aac4 (diff)
Weaken libc's hidden fork versions, ltp test failed
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/common/fork.c2
-rw-r--r--libc/sysdeps/linux/cris/fork.c2
-rw-r--r--libc/sysdeps/linux/sparc/fork.S2
3 files changed, 3 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/fork.c b/libc/sysdeps/linux/common/fork.c
index a4e623900..7c94843ec 100644
--- a/libc/sysdeps/linux/common/fork.c
+++ b/libc/sysdeps/linux/common/fork.c
@@ -17,6 +17,6 @@ extern __typeof(fork) __libc_fork;
_syscall0(pid_t, __libc_fork);
libc_hidden_proto(fork)
weak_alias(__libc_fork,fork)
-libc_hidden_def(fork)
+libc_hidden_weak(fork)
#endif
#endif
diff --git a/libc/sysdeps/linux/cris/fork.c b/libc/sysdeps/linux/cris/fork.c
index dc9c8867f..20b546901 100644
--- a/libc/sysdeps/linux/cris/fork.c
+++ b/libc/sysdeps/linux/cris/fork.c
@@ -16,4 +16,4 @@ SYSCALL__ (__libc_fork, 0)
__asm__("ret\n\tnop");
libc_hidden_proto(fork)
weak_alias(__libc_fork,fork)
-libc_hidden_def(fork)
+libc_hidden_weak(fork)
diff --git a/libc/sysdeps/linux/sparc/fork.S b/libc/sysdeps/linux/sparc/fork.S
index cb863f654..00157cffd 100644
--- a/libc/sysdeps/linux/sparc/fork.S
+++ b/libc/sysdeps/linux/sparc/fork.S
@@ -46,4 +46,4 @@ __libc_fork:
.size __libc_fork,.-__libc_fork
weak_alias(__libc_fork,fork)
-libc_hidden_def(fork)
+libc_hidden_weak(fork)