about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-12-10 20:35:58 +0000
committerUlrich Drepper <drepper@redhat.com>2002-12-10 20:35:58 +0000
commitdce8f2b62af23b6ef9e89c3a54cfe002941ef6d6 (patch)
treea9becd75308609486c2e23f9572531fd12d415dc
parent818d08de372d2bf075a9782e50ca8b6c1c1e589f (diff)
downloadglibc-dce8f2b62af23b6ef9e89c3a54cfe002941ef6d6.tar.gz
glibc-dce8f2b62af23b6ef9e89c3a54cfe002941ef6d6.tar.xz
glibc-dce8f2b62af23b6ef9e89c3a54cfe002941ef6d6.zip
Update.
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.
-rw-r--r--ChangeLog16
-rw-r--r--include/libc-symbols.h2
-rw-r--r--linuxthreads/ChangeLog6
-rw-r--r--linuxthreads/wrapsyscall.c2
-rw-r--r--nptl/ChangeLog4
-rw-r--r--nptl/Makefile2
-rw-r--r--sysdeps/generic/creat.c3
-rw-r--r--sysdeps/unix/sysv/linux/alpha/select.S2
-rw-r--r--sysdeps/unix/sysv/linux/alpha/sigsuspend.S1
-rw-r--r--sysdeps/unix/sysv/linux/ia64/sigsuspend.c1
-rw-r--r--sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c1
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c1
12 files changed, 36 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 606e91413b..40887176fa 100644
--- 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
diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index f47a849a75..d7b26e2b1c 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 989fbb66ea..a88297d10b 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 a475c4392d..4822ac503d 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 66fc21ca1a..a28e63a2c2 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 00c63d87e6..14ada1464d 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 d7ecfabf7c..3b1e93c409 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 d3b206df6e..7d5282d621 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 955d82ecc8..e0f18c26b4 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 280a944ecc..a0023acb7f 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 9d8ac17aa1..4fa30ec3c8 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 932bda28ce..e114092c70 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)