From dce8f2b62af23b6ef9e89c3a54cfe002941ef6d6 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 10 Dec 2002 20:35:58 +0000 Subject: [PATCH] Update. 2002-12-10 Jakub Jelinek * 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. --- ChangeLog | 16 ++++++++++++++++ include/libc-symbols.h | 2 +- linuxthreads/ChangeLog | 6 ++++++ linuxthreads/wrapsyscall.c | 2 -- nptl/ChangeLog | 4 ++++ nptl/Makefile | 2 +- sysdeps/generic/creat.c | 3 ++- sysdeps/unix/sysv/linux/alpha/select.S | 2 ++ sysdeps/unix/sysv/linux/alpha/sigsuspend.S | 1 + sysdeps/unix/sysv/linux/ia64/sigsuspend.c | 1 + sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c | 1 + sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c | 1 + 12 files changed, 36 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 606e914..4088717 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,19 @@ +2002-12-10 Jakub Jelinek + + * 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 * manual/libc-texinfo.sh: Emit @set ADD-ON for each ADD-ON that diff --git a/include/libc-symbols.h b/include/libc-symbols.h index f47a849..d7b26e2 100644 --- a/include/libc-symbols.h +++ b/include/libc-symbols.h @@ -655,7 +655,7 @@ 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) diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog index 989fbb6..a88297d 100644 --- a/linuxthreads/ChangeLog +++ b/linuxthreads/ChangeLog @@ -1,3 +1,9 @@ +2002-12-10 Ulrich Drepper + + * 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 * wrapsyscall.c: Add wrappers for creat, poll, pselect, readv, select, diff --git a/linuxthreads/wrapsyscall.c b/linuxthreads/wrapsyscall.c index a475c43..4822ac5 100644 --- a/linuxthreads/wrapsyscall.c +++ b/linuxthreads/wrapsyscall.c @@ -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; \ diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 66fc21c..a28e63a 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,7 @@ +2002-12-10 Ulrich Drepper + + * Makefile (tests): We can run tst-locale2 now. + 2002-12-09 Ulrich Drepper * Versions: Remove duplicated sigwait entry. diff --git a/nptl/Makefile b/nptl/Makefile index 00c63d8..14ada14 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -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 diff --git a/sysdeps/generic/creat.c b/sysdeps/generic/creat.c index d7ecfab..3b1e93c 100644 --- a/sysdeps/generic/creat.c +++ b/sysdeps/generic/creat.c @@ -23,9 +23,10 @@ /* 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) diff --git a/sysdeps/unix/sysv/linux/alpha/select.S b/sysdeps/unix/sysv/linux/alpha/select.S index d3b206d..7d5282d 100644 --- a/sysdeps/unix/sysv/linux/alpha/select.S +++ b/sysdeps/unix/sysv/linux/alpha/select.S @@ -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 diff --git a/sysdeps/unix/sysv/linux/alpha/sigsuspend.S b/sysdeps/unix/sysv/linux/alpha/sigsuspend.S index 955d82e..e0f18c2 100644 --- a/sysdeps/unix/sysv/linux/alpha/sigsuspend.S +++ b/sysdeps/unix/sysv/linux/alpha/sigsuspend.S @@ -53,3 +53,4 @@ error: libc_hidden_def (__sigsuspend) weak_alias(__sigsuspend, sigsuspend) +strong_alias (__sigsuspend, __libc_sigsuspend) diff --git a/sysdeps/unix/sysv/linux/ia64/sigsuspend.c b/sysdeps/unix/sysv/linux/ia64/sigsuspend.c index 280a944..a0023ac 100644 --- a/sysdeps/unix/sysv/linux/ia64/sigsuspend.c +++ b/sysdeps/unix/sysv/linux/ia64/sigsuspend.c @@ -39,3 +39,4 @@ __sigsuspend (set) } libc_hidden_def (__sigsuspend) weak_alias (__sigsuspend, sigsuspend) +strong_alias (__sigsuspend, __libc_sigsuspend) diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c b/sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c index 9d8ac17..4fa30ec 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c +++ b/sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c @@ -38,3 +38,4 @@ __sigsuspend (set) } libc_hidden_def (__sigsuspend) weak_alias (__sigsuspend, sigsuspend) +strong_alias (__sigsuspend, __libc_sigsuspend) diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c b/sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c index 932bda2..e114092 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c @@ -38,3 +38,4 @@ __sigsuspend (set) } libc_hidden_def (__sigsuspend) weak_alias (__sigsuspend, sigsuspend) +strong_alias (__sigsuspend, __libc_sigsuspend) -- 2.7.4