diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-02-02 13:47:57 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-02-02 13:47:57 +0000 |
commit | 9e2b0f0f803bbec45ab0cc4e9829e2fafc467df3 (patch) | |
tree | acee459e2db1e10b0741e5165f106b154f87418e /libc | |
parent | e4e43d658d5c1be914a331010d6f113bdb8624d0 (diff) |
even the hidden version of the weaks in libc (as strong in libpthread) have to be weaks
Diffstat (limited to 'libc')
-rw-r--r-- | libc/misc/internals/__errno_location.c | 2 | ||||
-rw-r--r-- | libc/misc/internals/__h_errno_location.c | 2 | ||||
-rw-r--r-- | libc/signal/sigaction.c | 2 | ||||
-rw-r--r-- | libc/sysdeps/linux/arm/sigaction.c | 2 | ||||
-rw-r--r-- | libc/sysdeps/linux/common/nanosleep.c | 2 | ||||
-rw-r--r-- | libc/sysdeps/linux/common/waitpid.c | 2 | ||||
-rw-r--r-- | libc/sysdeps/linux/i386/sigaction.c | 2 | ||||
-rw-r--r-- | libc/sysdeps/linux/mips/sigaction.c | 2 | ||||
-rw-r--r-- | libc/sysdeps/linux/x86_64/sigaction.c | 2 |
9 files changed, 9 insertions, 9 deletions
diff --git a/libc/misc/internals/__errno_location.c b/libc/misc/internals/__errno_location.c index b0ff6dc6d..cd2a9c0eb 100644 --- a/libc/misc/internals/__errno_location.c +++ b/libc/misc/internals/__errno_location.c @@ -8,5 +8,5 @@ int * weak_const_function __errno_location (void) return &errno; } #ifdef IS_IN_libc /* not really need, only to keep in sync w/ libc_hidden_proto */ -libc_hidden_def(__errno_location) +libc_hidden_weak(__errno_location) #endif diff --git a/libc/misc/internals/__h_errno_location.c b/libc/misc/internals/__h_errno_location.c index 1fae93459..96f51ae5c 100644 --- a/libc/misc/internals/__h_errno_location.c +++ b/libc/misc/internals/__h_errno_location.c @@ -10,4 +10,4 @@ int * weak_const_function __h_errno_location (void) { return &h_errno; } -libc_hidden_def(__h_errno_location) +libc_hidden_weak(__h_errno_location) diff --git a/libc/signal/sigaction.c b/libc/signal/sigaction.c index d3a92a13a..ab9db9677 100644 --- a/libc/signal/sigaction.c +++ b/libc/signal/sigaction.c @@ -111,5 +111,5 @@ __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 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 |