diff options
-rw-r--r-- | ChangeLog | 16 | ||||
-rw-r--r-- | include/libc-symbols.h | 2 | ||||
-rw-r--r-- | linuxthreads/ChangeLog | 6 | ||||
-rw-r--r-- | linuxthreads/wrapsyscall.c | 2 | ||||
-rw-r--r-- | nptl/ChangeLog | 4 | ||||
-rw-r--r-- | nptl/Makefile | 2 | ||||
-rw-r--r-- | sysdeps/generic/creat.c | 3 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/alpha/select.S | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/alpha/sigsuspend.S | 1 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/ia64/sigsuspend.c | 1 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c | 1 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c | 1 |
12 files changed, 36 insertions, 5 deletions
@@ -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 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 <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, 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 <drepper@redhat.com> + + * Makefile (tests): We can run tst-locale2 now. + 2002-12-09 Ulrich Drepper <drepper@redhat.com> * 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) |