summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-02-02 13:47:57 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-02-02 13:47:57 +0000
commit9e2b0f0f803bbec45ab0cc4e9829e2fafc467df3 (patch)
treeacee459e2db1e10b0741e5165f106b154f87418e /libc/sysdeps
parente4e43d658d5c1be914a331010d6f113bdb8624d0 (diff)
even the hidden version of the weaks in libc (as strong in libpthread) have to be weaks
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/arm/sigaction.c2
-rw-r--r--libc/sysdeps/linux/common/nanosleep.c2
-rw-r--r--libc/sysdeps/linux/common/waitpid.c2
-rw-r--r--libc/sysdeps/linux/i386/sigaction.c2
-rw-r--r--libc/sysdeps/linux/mips/sigaction.c2
-rw-r--r--libc/sysdeps/linux/x86_64/sigaction.c2
6 files changed, 6 insertions, 6 deletions
diff --git a/libc/sysdeps/linux/arm/sigaction.c b/libc/sysdeps/linux/arm/sigaction.c
index 07de18420..1066d33dd 100644
--- a/libc/sysdeps/linux/arm/sigaction.c
+++ b/libc/sysdeps/linux/arm/sigaction.c
@@ -130,5 +130,5 @@ int __libc_sigaction (int sig, const struct sigaction *act, struct sigaction *oa
#ifndef LIBC_SIGACTION
libc_hidden_proto(sigaction)
weak_alias(__libc_sigaction,sigaction)
-libc_hidden_def(sigaction)
+libc_hidden_weak(sigaction)
#endif
diff --git a/libc/sysdeps/linux/common/nanosleep.c b/libc/sysdeps/linux/common/nanosleep.c
index 1724540ed..76cab97f2 100644
--- a/libc/sysdeps/linux/common/nanosleep.c
+++ b/libc/sysdeps/linux/common/nanosleep.c
@@ -16,4 +16,4 @@ _syscall2(int, __libc_nanosleep, const struct timespec *, req,
struct timespec *, rem);
libc_hidden_proto(nanosleep)
weak_alias(__libc_nanosleep,nanosleep)
-libc_hidden_def(nanosleep)
+libc_hidden_weak(nanosleep)
diff --git a/libc/sysdeps/linux/common/waitpid.c b/libc/sysdeps/linux/common/waitpid.c
index c9ca97c53..729508558 100644
--- a/libc/sysdeps/linux/common/waitpid.c
+++ b/libc/sysdeps/linux/common/waitpid.c
@@ -19,4 +19,4 @@ __pid_t __libc_waitpid(__pid_t pid, int *wait_stat, int options)
}
libc_hidden_proto(waitpid)
weak_alias(__libc_waitpid,waitpid)
-libc_hidden_def(waitpid)
+libc_hidden_weak(waitpid)
diff --git a/libc/sysdeps/linux/i386/sigaction.c b/libc/sysdeps/linux/i386/sigaction.c
index edabe3f9d..341c0d16b 100644
--- a/libc/sysdeps/linux/i386/sigaction.c
+++ b/libc/sysdeps/linux/i386/sigaction.c
@@ -126,7 +126,7 @@ int __libc_sigaction (int sig, const struct sigaction *act, struct sigaction *oa
#ifndef LIBC_SIGACTION
libc_hidden_proto(sigaction)
weak_alias(__libc_sigaction,sigaction)
-libc_hidden_def(sigaction)
+libc_hidden_weak(sigaction)
#endif
diff --git a/libc/sysdeps/linux/mips/sigaction.c b/libc/sysdeps/linux/mips/sigaction.c
index 85cdabe79..e1eca78fe 100644
--- a/libc/sysdeps/linux/mips/sigaction.c
+++ b/libc/sysdeps/linux/mips/sigaction.c
@@ -117,5 +117,5 @@ int __libc_sigaction (int sig, const struct sigaction *act, struct sigaction *oa
#ifndef LIBC_SIGACTION
libc_hidden_proto(sigaction)
weak_alias(__libc_sigaction,sigaction)
-libc_hidden_def(sigaction)
+libc_hidden_weak(sigaction)
#endif
diff --git a/libc/sysdeps/linux/x86_64/sigaction.c b/libc/sysdeps/linux/x86_64/sigaction.c
index b8d3861a4..dad45f69e 100644
--- a/libc/sysdeps/linux/x86_64/sigaction.c
+++ b/libc/sysdeps/linux/x86_64/sigaction.c
@@ -122,7 +122,7 @@ __libc_sigaction (int sig, const struct sigaction *act, struct sigaction *oact)
#ifndef LIBC_SIGACTION
libc_hidden_proto(sigaction)
weak_alias(__libc_sigaction,sigaction)
-libc_hidden_def(sigaction)
+libc_hidden_weak(sigaction)
#endif
/* NOTE: Please think twice before making any changes to the bits of