diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-02-03 20:02:23 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-02-03 20:02:23 +0000 |
commit | 786126e2b104050d1d7f2035beda06019527a206 (patch) | |
tree | 49f8107396020347d105ea30f0dccf18b94f32dd | |
parent | 0140324c106106878b6d90ebafda9bf50b45aac4 (diff) |
Weaken libc's hidden fork versions, ltp test failed
-rw-r--r-- | libc/sysdeps/linux/common/fork.c | 2 | ||||
-rw-r--r-- | libc/sysdeps/linux/cris/fork.c | 2 | ||||
-rw-r--r-- | libc/sysdeps/linux/sparc/fork.S | 2 |
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) |