Update.
authorUlrich Drepper <drepper@redhat.com>
Tue, 10 Dec 2002 20:35:58 +0000 (20:35 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 10 Dec 2002 20:35:58 +0000 (20:35 +0000)
2002-12-10  Jakub Jelinek  <jakub@redhat.com>

* include/libc-symbols.h: Fix a comment typo.

* sysdeps/unix/sysv/linux/alpha/select.S (__libc_select): New alias.
* sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__libc_sigsuspend):
Likewise.
* sysdeps/unix/sysv/linux/ia64/sigsuspend.c (__libc_sigsuspend):
Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c
(__libc_sigsuspend): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c
(__libc_sigsuspend): Likewise.
* sysdeps/generic/creat.c (__libc_creat): Renamed from creat.
(creat): New weak alias.

12 files changed:
ChangeLog
include/libc-symbols.h
linuxthreads/ChangeLog
linuxthreads/wrapsyscall.c
nptl/ChangeLog
nptl/Makefile
sysdeps/generic/creat.c
sysdeps/unix/sysv/linux/alpha/select.S
sysdeps/unix/sysv/linux/alpha/sigsuspend.S
sysdeps/unix/sysv/linux/ia64/sigsuspend.c
sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c
sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c

index 606e914..4088717 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,19 @@
+2002-12-10  Jakub Jelinek  <jakub@redhat.com>
+
+       * include/libc-symbols.h: Fix a comment typo.
+
+       * sysdeps/unix/sysv/linux/alpha/select.S (__libc_select): New alias.
+       * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__libc_sigsuspend):
+       Likewise.
+       * sysdeps/unix/sysv/linux/ia64/sigsuspend.c (__libc_sigsuspend):
+       Likewise.
+       * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c
+       (__libc_sigsuspend): Likewise.
+       * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c
+       (__libc_sigsuspend): Likewise.
+       * sysdeps/generic/creat.c (__libc_creat): Renamed from creat.
+       (creat): New weak alias.
+
 2002-12-10  Roland McGrath  <roland@redhat.com>
 
        * manual/libc-texinfo.sh: Emit @set ADD-ON for each ADD-ON that
index f47a849..d7b26e2 100644 (file)
    There is no reason to use hidden_weak over hidden_def in assembly,
    but we provide it for consistency with the C usage.
    hidden_proto doesn't make sense for assembly but the equivalent
-   is to call via the HIDDEN_JUMPTARGET macro einstead of JUMPTARGET.  */
+   is to call via the HIDDEN_JUMPTARGET macro instead of JUMPTARGET.  */
 #  define hidden_def(name)     strong_alias (name, __GI_##name)
 #  define hidden_weak(name)    hidden_def (name)
 #  define hidden_ver(local, name) strong_alias (local, __GI_##name)
index 989fbb6..a88297d 100644 (file)
@@ -1,3 +1,9 @@
+2002-12-10  Ulrich Drepper  <drepper@redhat.com>
+
+       * wrapsyscall.c (CANCELABLE_SYSCALL): Don't define function as
+       weak.  There is no reason for that.
+       (CANCELABLE_SYSCALL_VA): Likewise.
+
 2002-12-09  Ulrich Drepper  <drepper@redhat.com>
 
        * wrapsyscall.c: Add wrappers for creat, poll, pselect, readv, select,
index a475c43..4822ac5 100644 (file)
@@ -44,7 +44,6 @@ const int __pthread_provide_wrappers = 0;
 #define CANCELABLE_SYSCALL(res_type, name, param_list, params) \
 extern res_type __libc_##name param_list;                                    \
 res_type                                                                     \
-__attribute__ ((weak))                                                       \
 name param_list                                                                      \
 {                                                                            \
   res_type result;                                                           \
@@ -58,7 +57,6 @@ name param_list                                                                     \
 #define CANCELABLE_SYSCALL_VA(res_type, name, param_list, params, last_arg) \
 res_type __libc_##name param_list;                                           \
 res_type                                                                     \
-__attribute__ ((weak))                                                       \
 name param_list                                                                      \
 {                                                                            \
   res_type result;                                                           \
index 66fc21c..a28e63a 100644 (file)
@@ -1,3 +1,7 @@
+2002-12-10  Ulrich Drepper  <drepper@redhat.com>
+
+       * Makefile (tests): We can run tst-locale2 now.
+
 2002-12-09  Ulrich Drepper  <drepper@redhat.com>
 
        * Versions: Remove duplicated sigwait entry.
index 00c63d8..14ada14 100644 (file)
@@ -135,7 +135,7 @@ tests = tst-mutex1 tst-mutex2 tst-mutex3 tst-mutex4 tst-mutex5 tst-mutex6 \
        tst-stack1 \
        tst-unload \
        tst-sysconf \
-       tst-locale1 #tst-locale2  <--- commented out until compiler is fixed
+       tst-locale1 tst-locale2
 
 LDFLAGS-pthread.so = -Wl,--enable-new-dtags,-z,nodelete,-z,initfirst
 
index d7ecfab..3b1e93c 100644 (file)
 
 /* Create FILE with protections MODE.  */
 int
-creat (file, mode)
+__libc_creat (file, mode)
      const char *file;
      mode_t mode;
 {
   return __open (file, O_WRONLY|O_CREAT|O_TRUNC, mode);
 }
+weak_alias (__libc_creat, creat)
index d3b206d..7d5282d 100644 (file)
@@ -125,7 +125,9 @@ default_symbol_version (__select_tv64, __select, GLIBC_2.1)
 strong_alias (__select_tv64, __select_tv64p)
 default_symbol_version (__select_tv64p, select, GLIBC_2.1)
 libc_hidden_ver (__select_tv64, __select)
+strong_alias (__select_tv64, __libc_select)
 #else
+strong_alias (__select, __libc_select)
 weak_alias (__select, select)
 libc_hidden_def (__select)
 #endif
index 955d82e..e0f18c2 100644 (file)
@@ -53,3 +53,4 @@ error:
 
 libc_hidden_def (__sigsuspend)
 weak_alias(__sigsuspend, sigsuspend)
+strong_alias (__sigsuspend, __libc_sigsuspend)
index 280a944..a0023ac 100644 (file)
@@ -39,3 +39,4 @@ __sigsuspend (set)
 }
 libc_hidden_def (__sigsuspend)
 weak_alias (__sigsuspend, sigsuspend)
+strong_alias (__sigsuspend, __libc_sigsuspend)
index 9d8ac17..4fa30ec 100644 (file)
@@ -38,3 +38,4 @@ __sigsuspend (set)
 }
 libc_hidden_def (__sigsuspend)
 weak_alias (__sigsuspend, sigsuspend)
+strong_alias (__sigsuspend, __libc_sigsuspend)
index 932bda2..e114092 100644 (file)
@@ -38,3 +38,4 @@ __sigsuspend (set)
 }
 libc_hidden_def (__sigsuspend)
 weak_alias (__sigsuspend, sigsuspend)
+strong_alias (__sigsuspend, __libc_sigsuspend)