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.
This commit is contained in:
Ulrich Drepper 2002-12-10 20:35:58 +00:00
parent 818d08de37
commit dce8f2b62a
12 changed files with 36 additions and 5 deletions

View File

@ -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

View File

@ -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)

View 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,

View 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; \

View 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.

View 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

View File

@ -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)

View 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

View File

@ -53,3 +53,4 @@ error:
libc_hidden_def (__sigsuspend)
weak_alias(__sigsuspend, sigsuspend)
strong_alias (__sigsuspend, __libc_sigsuspend)

View File

@ -39,3 +39,4 @@ __sigsuspend (set)
}
libc_hidden_def (__sigsuspend)
weak_alias (__sigsuspend, sigsuspend)
strong_alias (__sigsuspend, __libc_sigsuspend)

View File

@ -38,3 +38,4 @@ __sigsuspend (set)
}
libc_hidden_def (__sigsuspend)
weak_alias (__sigsuspend, sigsuspend)
strong_alias (__sigsuspend, __libc_sigsuspend)

View File

@ -38,3 +38,4 @@ __sigsuspend (set)
}
libc_hidden_def (__sigsuspend)
weak_alias (__sigsuspend, sigsuspend)
strong_alias (__sigsuspend, __libc_sigsuspend)