From: Ulrich Drepper Date: Wed, 11 Dec 2002 00:55:49 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/glibc-2_3_2~578 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=34a075bea344baf8a2b1c985d5a5189b64ed0e36;p=glibc.git Update. * sysdeps/generic/sigpause.c: Define all functions as weak. * sysdeps/posix/sigpause.c: Likewise. --- diff --git a/ChangeLog b/ChangeLog index 9676832c36..dccdad852a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2002-12-10 Ulrich Drepper - * sysdeps/posix/sigpause.c: Define all functions as weak. + * sysdeps/generic/sigpause.c: Define all functions as weak. + * sysdeps/posix/sigpause.c: Likewise. * elf/tst-tls7.c (do_test): Adjustments for l_tls_modid being of type size_t. diff --git a/nptl/ChangeLog b/nptl/ChangeLog index a28e63a2c2..6dea2933e2 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,5 +1,8 @@ 2002-12-10 Ulrich Drepper + * init.c (__pthread_initialize_minimal): Remove unneccesary + sigaddset call. + * Makefile (tests): We can run tst-locale2 now. 2002-12-09 Ulrich Drepper diff --git a/sysdeps/generic/sigpause.c b/sysdeps/generic/sigpause.c index 3906dbdfe6..8f63b87003 100644 --- a/sysdeps/generic/sigpause.c +++ b/sysdeps/generic/sigpause.c @@ -31,6 +31,7 @@ stub_warning (__sigpause) libc_hidden_def (__sigpause) int +__attribute__ ((weak)) __default_sigpause (int mask) { __set_errno (ENOSYS); @@ -42,7 +43,8 @@ stub_warning (sigpause) int -__xpg_sigpause (int sig) +__attribute ((weak)) +__xpg___sigpause (int sig) { __set_errno (ENOSYS); return -1; diff --git a/sysdeps/posix/sigpause.c b/sysdeps/posix/sigpause.c index f764cba0fc..dba6912e90 100644 --- a/sysdeps/posix/sigpause.c +++ b/sysdeps/posix/sigpause.c @@ -48,6 +48,7 @@ libc_hidden_def (__sigpause) standards demand it. The version which is a bit more reasonable is the BSD version. So make this the default. */ int +__attribute__ ((weak)) __default_sigpause (int mask) { return __sigpause (mask, 0); @@ -61,6 +62,7 @@ strong_alias (__default_sigpause, __libc_sigpause) standards demand it. The version which is a bit more reasonable is the BSD version. So make this the default. */ int +__attribute__ ((weak)) __xpg_sigpause (int sig) { return __sigpause (sig, 1);