platform/upstream/glibc.git
21 years agoUpdate.
Ulrich Drepper [Tue, 31 Dec 2002 20:46:11 +0000 (20:46 +0000)]
Update.

* io/sys/stat.h [__USE_MISC]: Define __need_timespec for struct stat.
* sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv): Adjust for
nsec resolution changes.
(xstat64_conv): Likewise.
(xstat32_conv): Likewise.
* sysdeps/unix/sysv/linux/kernel_stat.h: Add nsec resolution for
struct kernel_stat.
* sysdeps/unix/sysv/linux/bits/stat.h: Add nsec resolution for
structs stat and stat64.
* time/time.h (__timespec_defined): Define for __USE_MISC.

2002-12-31  Ulrich Drepper  <drepper@redhat.com>

* include/signal.h: Add libc_hidden_proto for __libc_current_sigrtmin
and __libc_current_sigrtmax.

2002-12-31  Jakub Jelinek  <jakub@redhat.com>

* include/errno.h (__errno_location): Add prototype.
Use libc_hidden_proto unconditionally.
* include/netdb.h (__h_errno_location): Use libc_hidden_proto
unconditionally.
* include/resolv.h (__res_state): Likewise.

* hurd/errno-loc.c (__errno_location): Add libc_hidden_def.
* include/sys/socket.h (accept): Add libc_hidden_proto.
* include/errno.h (__errno_location): Likewise.
* include/netdb.h (__h_errno_location): Likewise.
* include/resolv.h (__res_state): Likewise.
* include/unistd.h (__lseek): Likewise.
* sysdeps/generic/errno-loc.c (__errno_location): Add libc_hidden_def.
* sysdeps/generic/herrno-loc.c (__h_errno_location): Likewise.
* sysdeps/generic/res-state.c (__res_state): Likewise.
* sysdeps/generic/accept.c (accept): Likewise.
* sysdeps/generic/lseek.c (__lseek): Likewise.
* sysdeps/generic/allocrtsig.c (__libc_current_sigrtmin,
__libc_current_sigrtmax): Likewise.
* sysdeps/mach/hurd/accept.c (accept): Likewise.
* sysdeps/mach/hurd/lseek.c (__lseek): Likewise.
* sysdeps/unix/sysv/aix/accept.c (accept): Likewise.
* sysdeps/unix/sysv/aix/lseek.c (__lseek): Likewise.
* sysdeps/unix/sysv/linux/accept.S (accept): Likewise.
* sysdeps/unix/inet/syscalls.list (__GI_accept): New alias to accept.
* sysdeps/unix/sysv/linux/alpha/syscalls.list (__GI_accept): Likewise.
* sysdeps/unix/sysv/linux/hppa/syscalls.list (__GI_accept): Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list (__GI___lseek): New
alias to llseek.
(__GI_accept): New alias to accept.
* sysdeps/unix/sysv/linux/mips/syscalls.list (__GI_accept): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (__GI___lseek):
New alias to llseek.
(__GI_accept): New alias to accept.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__GI_accept):
Likewise.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list (__GI_accept):
Likewise.
* sysdeps/unix/syscalls.list (__GI___lseek): New alias to lseek.

* sysdeps/alpha/setjmp.S : Use libc_hidden_def(name) instead of
strong_alias (name, __GI_name).
* sysdeps/arm/bsd-_setjmp.S : Likewise.
* sysdeps/hppa/bsd-_setjmp.S : Likewise.
* sysdeps/i386/bsd-_setjmp.S : Likewise.
* sysdeps/mips/mips64/bsd-_setjmp.S : Likewise.
* sysdeps/mips/bsd-_setjmp.S : Likewise.
* sysdeps/powerpc/powerpc32/bsd-_setjmp.S : Likewise.
* sysdeps/powerpc/powerpc64/setjmp.S : Likewise.
* sysdeps/s390/s390-32/elf/setjmp.S : Likewise.
* sysdeps/s390/s390-32/bsd-_setjmp.S : Likewise.
* sysdeps/s390/s390-64/elf/setjmp.S : Likewise.
* sysdeps/s390/s390-64/bsd-_setjmp.S : Likewise.
* sysdeps/sh/bsd-_setjmp.S : Likewise.
* sysdeps/sparc/sparc32/setjmp.S : Likewise.
* sysdeps/unix/arm/fork.S : Likewise.
* sysdeps/unix/bsd/hp/m68k/vfork.S : Likewise.
* sysdeps/unix/bsd/i386/vfork.S : Likewise.
* sysdeps/unix/bsd/osf/alpha/fork.S : Likewise.
* sysdeps/unix/bsd/sun/m68k/vfork.S : Likewise.
* sysdeps/unix/bsd/ultrix4/mips/vfork.S : Likewise.
* sysdeps/unix/bsd/vax/vfork.S : Likewise.
* sysdeps/unix/i386/fork.S : Likewise.
* sysdeps/unix/mips/fork.S : Likewise.
* sysdeps/unix/sparc/fork.S : Likewise.
* sysdeps/unix/sparc/vfork.S : Likewise.
* sysdeps/unix/sysv/linux/arm/vfork.S : Likewise.
* sysdeps/unix/sysv/linux/cris/vfork.S : Likewise.
* sysdeps/unix/sysv/linux/i386/vfork.S : Likewise.
* sysdeps/unix/sysv/linux/ia64/fork.S : Likewise.
* sysdeps/unix/sysv/linux/ia64/setjmp.S : Likewise.
* sysdeps/unix/sysv/linux/ia64/vfork.S : Likewise.
* sysdeps/unix/sysv/linux/m68k/vfork.S : Likewise.
* sysdeps/unix/sysv/linux/sh/vfork.S : Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S : Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S : Likewise.
* sysdeps/unix/sysv/linux/sparc/fork.S : Likewise.
* sysdeps/unix/sysv/linux/sparc/vfork.S : Likewise.
* sysdeps/unix/sysv/linux/x86_64/vfork.S : Likewise.
* sysdeps/unix/fork.S : Likewise.
* sysdeps/vax/bsd-_setjmp.S : Likewise.
* sysdeps/x86_64/bsd-_setjmp.S : Likewise.

* sysdeps/unix/sysv/linux/ia64/sysdep.h: Guard against multiple
inclusion.

21 years ago[libc] (GLIBC_PRIVATE): Remove __libc_internal_tsd_get, __libc_internal_tsd_set,...
Ulrich Drepper [Tue, 31 Dec 2002 20:24:10 +0000 (20:24 +0000)]
[libc] (GLIBC_PRIVATE): Remove __libc_internal_tsd_get, __libc_internal_tsd_set, __libc_internal_tsd_address, __libc_alloca_cutoff. [libpthread] (GLIBC_PRIVATE): Remove __libc_internal_tsd_get, __libc_internal_tsd_set, __libc_internal_tsd_address.

21 years agoUpdate.
Andreas Jaeger [Tue, 31 Dec 2002 13:24:50 +0000 (13:24 +0000)]
Update.

2002-12-31  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Sync
with Linux kernel.
* sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Likewise.
* sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Likewise.

* sysdeps/unix/sysv/linux/kernel_stat.h
(_HAVE_STAT_NSEC,_HAVE_STAT_NSEC64): New.

* sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv): Readd
__unused[1-3] since they're needed by some platforms.  Handle
_HAVE_STAT_NSEC and _HAVE_STAT_NSEC64.

* sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Add nsec resolution
for structs stat and stat64.
* sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.

        * io/sys/stat.h [__USE_MISC]: Define __need_timespec for struct
        stat.

        * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv): Adjust for
        nsec resolution changes.
        (xstat64_conv): Likewise.
        (xstat32_conv): Likewise.

        * sysdeps/unix/sysv/linux/kernel_stat.h: Add nsec resolution for
        struct kernel_stat.

        * sysdeps/unix/sysv/linux/bits/stat.h: Add nsec resolution for
        structs stat and stat64.

        * time/time.h (__timespec_defined): Define for __USE_MISC.

21 years ago* sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Sync
Andreas Jaeger [Tue, 31 Dec 2002 13:24:35 +0000 (13:24 +0000)]
* sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Sync

with Linux kernel.
* sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Likewise.
* sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Likewise.
* sysdeps/unix/sysv/linux/kernel_stat.h
(_HAVE_STAT_NSEC,_HAVE_STAT_NSEC64): New.

* sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv): Readd
__unused[1-3] since they're needed by some platforms.  Handle
_HAVE_STAT_NSEC and _HAVE_STAT_NSEC64.

* sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Add nsec resolution
for structs stat and stat64.
* sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.

21 years agoUpdate.
Ulrich Drepper [Tue, 31 Dec 2002 11:12:11 +0000 (11:12 +0000)]
Update.

* include/unistd.h: Add libc_hidden_proto for __fork and __vfork.
* sysdeps/generic/fork.c: Add libc_hidden_def for __fork.
* sysdeps/mach/hurd/fork.c: Likewise.
* sysdeps/unix/sysv/aix/fork.c: Likewise.
* sysdeps/unix/fork.S: Add __GI___fork alias.
* sysdeps/unix/arm/fork.S: Likewise.
* sysdeps/unix/bsd/osf/alpha/fork.S: Likewise.
* sysdeps/unix/i386/fork.S: Likewise.
* sysdeps/unix/mips/fork.S: Likewise.
* sysdeps/unix/sparc/fork.S: Likewise.
* sysdeps/unix/sysv/linux/ia64/fork.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/fork.S: Likewise.
* sysdeps/unix/sysv/linux/syscalls.list: Likewise.
* sysdeps/generic/vfork.c: Add libc_hidden_def for __vfork.
* sysdeps/unix/bsd/hp/m68k/vfork.S: Add __GI___vfork alias.
* sysdeps/unix/bsd/i386/vfork.S: Likewise.
* sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
* sysdeps/unix/bsd/ultrix4/mips/vfork.S: Likewise.
* sysdeps/unix/bsd/vax/vfork.S: Likewise.
* sysdeps/unix/sparc/vfork.S: Likewise.
* sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
* sysdeps/unix/sysv/linux/cris/vfork.S: Likewise.
* sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
* sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
* sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
* sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/vfork.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.

21 years agoUpdate.
Ulrich Drepper [Tue, 31 Dec 2002 10:25:10 +0000 (10:25 +0000)]
Update.

* include/time.h: Add libc_hidden_proto for __nanosleep.
* sysdeps/generic/nanosleep.c: Add libc_hidden_def for __nanosleep.
* sysdeps/mach/nanosleep.c: Likewise.
* sysdeps/unix/sysv/aix/nanosleep.c: Likewise.
* sysdeps/unix/sysv/linux/syscalls.list: Add __GI___nanosleep alias.

21 years agoUpdate.
Ulrich Drepper [Tue, 31 Dec 2002 10:06:16 +0000 (10:06 +0000)]
Update.

* libio/libioP.h: Add libc_hidden_proto for _IO_list_lock,
_IO_list_unlock, and _IO_list_resetlock.
* libio/genops.c: Add libc_hidden_def for _IO_list_lock,
_IO_list_unlock, and _IO_list_resetlock.

21 years agoUpdate.
Ulrich Drepper [Tue, 31 Dec 2002 09:56:50 +0000 (09:56 +0000)]
Update.

* libio/libioP.h: Add libc_hidden_proto for _IO_iter_begin,
_IO_iter_end, _IO_iter_next, and _IO_iter_file.
* libio/genops.c: Add libc_hidden_def for _IO_iter_begin,
_IO_iter_end, _IO_iter_next, and _IO_iter_file.

21 years agoUpdate.
Ulrich Drepper [Tue, 31 Dec 2002 09:46:42 +0000 (09:46 +0000)]
Update.

* include/setjmp.h: Add libc_hidden_proto for __libc_longjmp.
* sysdeps/generic/longjmp.c: Add libc_hidden_def for __longjmp.
* sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
__GI___longjmp alias.

21 years agoUpdate.
Ulrich Drepper [Tue, 31 Dec 2002 09:36:52 +0000 (09:36 +0000)]
Update.

2002-12-31  Ulrich Drepper  <drepper@redhat.com>

* include/setjmp.h: Add libc_hidden_proto for _setjmp.
* sysdeps/alpha/setjmp.S: Add __GI__setjmp alias.
* sysdeps/arm/bsd-_setjmp.S: Likewise.
* sysdeps/generic/bsd-_setjmp.c: Likewise.
* sysdeps/hppa/bsd-_setjmp.S: Likewise.
* sysdeps/i386/bsd-_setjmp.S: Likewise.
* sysdeps/m68k/bsd-_setjmp.c: Likewise.
* sysdeps/mips/bsd-_setjmp.S: Likewise.
* sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
* sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
* sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
* sysdeps/s390/s390-32/bsd-_setjmp.S: Likewise.
* sysdeps/s390/s390-32/elf/setjmp.S: Likewise.
* sysdeps/s390/s390-64/bsd-_setjmp.S: Likewise.
* sysdeps/s390/s390-64/elf/setjmp.S: Likewise.
* sysdeps/sh/bsd-_setjmp.S: Likewise.
* sysdeps/sparc/sparc32/setjmp.S: Likewise.
* sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
* sysdeps/vax/bsd-_setjmp.S: Likewise.
* sysdeps/x86_64/bsd-_setjmp.S: Likewise.

21 years agoUpdate.
Ulrich Drepper [Tue, 31 Dec 2002 08:00:19 +0000 (08:00 +0000)]
Update.

2002-12-30  Ulrich Drepper  <drepper@redhat.com>

* malloc/thread-m.h (thread_atfork): Define using __register_atfork.

21 years agoUpdate.
Ulrich Drepper [Tue, 31 Dec 2002 06:54:17 +0000 (06:54 +0000)]
Update.

2002-12-30  Ulrich Drepper  <drepper@redhat.com>

* init.c (__pthread_initialize_minimal_internal): Don't mark as
constructor.

2002-12-31  Jakub Jelinek  <jakub@redhat.com>

* Makefile ($(inst_libdir)/libpthread.so): Depend on
$(common-objpfx)format.lds, include that into the output script.
Fix comment.
(extra-B-pthread.so): Change linuxthreads/ into nptl/.

* io/sys/stat.h [__USE_MISC]: Define __need_timespec for struct stat.

21 years ago($(inst_libdir)/libpthread.so): Depend on $(common-objpfx)format.lds, include that...
Ulrich Drepper [Tue, 31 Dec 2002 06:53:45 +0000 (06:53 +0000)]
($(inst_libdir)/libpthread.so): Depend on $(common-objpfx)format.lds, include that into the output script.  Fix comment. (extra-B-pthread.so): Change linuxthreads/ into nptl/.

21 years ago* Rules (generated): Target removed.
Roland McGrath [Tue, 31 Dec 2002 02:04:48 +0000 (02:04 +0000)]
* Rules (generated): Target removed.

* mach/Makefile (generated): Define it here instead.

21 years ago2002-12-30 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 31 Dec 2002 02:04:37 +0000 (02:04 +0000)]
2002-12-30  Roland McGrath  <roland@redhat.com>

* Rules (generated): Target removed.
* mach/Makefile (generated): Define it here instead.

21 years agoUpdate.
Ulrich Drepper [Tue, 31 Dec 2002 01:46:45 +0000 (01:46 +0000)]
Update.

2002-12-30  Ulrich Drepper  <drepper@redhat.com>

* math/Makefile (generated): Remove definition.  Needs to be fixed.

might already be gone.

21 years agoUpdate.
Ulrich Drepper [Tue, 31 Dec 2002 00:06:24 +0000 (00:06 +0000)]
Update.

2002-12-30  Jakub Jelinek  <jakub@redhat.com>

* forward.c: Make all functions available by default again.  It
caused too much trouble.
* internals.h (struct pthread_functions): Rename ptr_pthread_exit
and ptr_pthread_attr_init_2_* to ptr___pthread_exit and
ptr___pthread_attr_init_2_*.
* pthread.c (pthread_functions): Adjust.

21 years agoUpdate.
Ulrich Drepper [Mon, 30 Dec 2002 23:45:39 +0000 (23:45 +0000)]
Update.

2002-12-30  Jakub Jelinek  <jakub@redhat.com>

* forward.c (FORWARD2): Renamed from FORWARD3.  Remove unused export
argument.
(pthread_attr_init_2_0, pthread_attr_init_2_1): Use FORWARD macro.
(pthread_exit): Use strong_alias to avoid warnings.
* pthreadP.h (struct pthread_functions): Rename ptr_pthread_exit
and ptr_pthread_attr_init_2_* to ptr___pthread_exit and
ptr___pthread_attr_init_2_*.
* init.c (pthread_functions): Adjust.

21 years agoUpdate.
Ulrich Drepper [Mon, 30 Dec 2002 21:24:18 +0000 (21:24 +0000)]
Update.

* elf/dl-close.c (_dl_close): Handle relocation dependencies among
the to-be-deleted objects right away instead of later separately.
The latter fails because the scope data structures of the DSO
might already have gone.

21 years ago* math/Makefile (generated): Add m_*l and m_*f variants too.
Roland McGrath [Mon, 30 Dec 2002 21:20:31 +0000 (21:20 +0000)]
* math/Makefile (generated): Add m_*l and m_*f variants too.

21 years ago2002-12-30 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 30 Dec 2002 21:20:24 +0000 (21:20 +0000)]
2002-12-30  Roland McGrath  <roland@redhat.com>

* math/Makefile (generated): Add m_*l and m_*f variants too.

21 years ago(_dl_close): Handle relocation dependencies among the to-be-deleted objects right...
Ulrich Drepper [Mon, 30 Dec 2002 21:15:31 +0000 (21:15 +0000)]
(_dl_close): Handle relocation dependencies among the to-be-deleted objects right away instead of later separately.  The latter fails because the scope data structures of the DSO might already have gone.

21 years agoUpdate.
Ulrich Drepper [Mon, 30 Dec 2002 20:25:40 +0000 (20:25 +0000)]
Update.

2002-12-30  Ulrich Drepper  <drepper@redhat.com>

* elf/Makefile: Add rules to build and run reldep8 test.
* elf/reldep8.c: New file.
* elf/reldep8mod1.c: New file.
* elf/reldep8mod2.c: New file.
* elf/reldep8mod3.c: New file.
Contributed by Jakub Jelinek.

21 years agoUpdate.
Ulrich Drepper [Mon, 30 Dec 2002 02:31:19 +0000 (02:31 +0000)]
Update.

2002-12-24  GOTO Masanori  <gotom@debian.or.jp>

* sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Fix condition
checking of return value ENOSYS from getdents64.

21 years agoUpdate.
Ulrich Drepper [Mon, 30 Dec 2002 01:17:52 +0000 (01:17 +0000)]
Update.

* forward.c: Make all functions available by default again.  It
caused too much trouble.

21 years agoMake all functions available by default again. It caused too much trouble.
Ulrich Drepper [Mon, 30 Dec 2002 01:17:13 +0000 (01:17 +0000)]
Make all functions available by default again.  It caused too much trouble.

21 years ago* sysdeps/unix/Makefile: Include $(common-objpfx)s-proto-cancel.d.
Roland McGrath [Mon, 30 Dec 2002 00:12:56 +0000 (00:12 +0000)]
* sysdeps/unix/Makefile: Include $(common-objpfx)s-proto-cancel.d.

($(common-objpfx)s-%.d): Generalized from
$(common-objpfx)s-proto.d rule.
(common-generated): Add s-proto-cancel.d.
* sysdeps/unix/make-syscalls.sh: Use s-proto-cancel.d for
cancellable syscalls.
* sysdeps/unix/s-proto-cancel.S: New file.

21 years ago* resolv/res_libc.c: Move _res defn magic after res_init defn
Roland McGrath [Mon, 30 Dec 2002 00:10:07 +0000 (00:10 +0000)]
* resolv/res_libc.c: Move _res defn magic after res_init defn

so _res macro is in effect for that code.

21 years ago* Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Fix sed
Roland McGrath [Sun, 29 Dec 2002 21:01:00 +0000 (21:01 +0000)]
* Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Fix sed

pattern for prepending $(..) so it doesn't affect $(foo).

21 years ago* math/Makefile (generated): Add $(addsuffix .c .S,$(calls:s_%=m_%)).
Roland McGrath [Sun, 29 Dec 2002 20:56:59 +0000 (20:56 +0000)]
* math/Makefile (generated): Add $(addsuffix .c .S,$(calls:s_%=m_%)).

21 years ago2002-12-29 Roland McGrath <roland@redhat.com>
Roland McGrath [Sun, 29 Dec 2002 20:56:54 +0000 (20:56 +0000)]
2002-12-29  Roland McGrath  <roland@redhat.com>

* math/Makefile (generated): Add $(addsuffix .c .S,$(calls:s_%=m_%)).

21 years agoUpdate.
Ulrich Drepper [Sun, 29 Dec 2002 19:30:24 +0000 (19:30 +0000)]
Update.

2002-12-29  Jakub Jelinek  <jakub@redhat.com>

* elf/cache.c (add_to_cache): Don't loop forever with 1ULL << 63 set
in hwcap.

21 years agoUpdate.
Ulrich Drepper [Sun, 29 Dec 2002 10:19:13 +0000 (10:19 +0000)]
Update.

2002-12-29  Ulrich Drepper  <drepper@redhat.com>

* pt-siglongjmp.c: Removed.

21 years agoUpdate.
Ulrich Drepper [Sat, 28 Dec 2002 22:19:04 +0000 (22:19 +0000)]
Update.

2002-12-28  Ulrich Drepper  <drepper@redhat.com>

* misc/sys/cdefs.h (__attribute_deprecated__): New #define.

21 years agoUpdate.
Ulrich Drepper [Sat, 28 Dec 2002 21:08:38 +0000 (21:08 +0000)]
Update.

2002-12-28  Andreas Jaeger  <aj@suse.de>

* sysdeps/generic/readelflib.c (process_elf_file): Cast value to
avoid warning.
* sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.

21 years agoUpdate.
Ulrich Drepper [Sat, 28 Dec 2002 10:24:40 +0000 (10:24 +0000)]
Update.

* inet/herrno.c (__h_errno_location): Remove.
* inet/Makefile (routines): Add herrno-loc.
* resolv/res_libc.c (__res_state): Remove.
* resolv/Makefile (routines): Add res-state.
* sysdeps/generic/herrno-loc.c: New file.
* sysdeps/generic/res-state.c: New file.

2002-12-27  Jakub Jelinek  <jakub@redhat.com>

21 years agoUpdate.
Ulrich Drepper [Sat, 28 Dec 2002 09:58:41 +0000 (09:58 +0000)]
Update.

2002-12-27  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
Only define if USE_DL_SYSINFO is defined.

2002-12-22  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/ia64/sysdep.h (INLINE_SYSCALL,
INTERNAL_SYSCALL, INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERROR):
Define. Patch by Richard Henderson and Jes Sorensen.
(PSEUDO): Remove unnecessary ;;.
* elf/rtld.c (dl_main): Initialize TLS even if no PT_TLS segments
are found unless TLS_INIT_TP_EXPENSIVE.  Use NONTLS_INIT_TP.
* sysdeps/generic/libc-tls.c (__libc_setup_tls): Use NONTLS_INIT_TP
if not initializing thread pointer.
[!USE_TLS && NONTLS_INIT_TP] (__pthread_initialize_minimal): New.
* sysdeps/generic/libc-start.c (__pthread_initialize_minimal): Don't
make it weak also if NONTLS_INIT_TP.
* sysdeps/unix/common/pause.c: Handle cancellation.
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h [DONT_LOAD_G1]
(LOADSYSCALL): Remove.
(SYSCALL_ERROR_HANDLER_ENTRY): Define.
(SYSCALL_ERROR_HANDLER): Use it.
(PSEUDO): Don't jump around error handler.
* sysdeps/unix/sysv/linux/sparc/sparc32/pipe.S (__libc_pipe): Don't
jump around error handler.
* sysdeps/unix/sysv/linux/sparc/sparc32/syscall.S (syscall): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/socket.S (__socket): Branch
to __syscall_error_handler on failure.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h [DONT_LOAD_G1]
(LOADSYSCALL): Remove.
(SYSCALL_ERROR_HANDLER_ENTRY): Define.
(SYSCALL_ERROR_HANDLER): Use it.
(PSEUDO): Don't jump around error handler.
* sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S (__libc_pipe): Don't
jump around error handler.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S (syscall): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/socket.S (__socket): Branch
to __syscall_error_handler on failure.

21 years agoUpdate.
Ulrich Drepper [Sat, 28 Dec 2002 09:27:26 +0000 (09:27 +0000)]
Update.

2002-12-28  Ulrich Drepper  <drepper@redhat.com>

* descr.h (struct pthread): Move header.data.list to the back of the
struct.
* sysdeps/i386/tls.h (tcbhead_t): Move list to the back of the struct.
(MULTIPLE_THREADS_OFFSET): Adjust offset.
(SYSINFO_OFFSEET): Likewise.

2002-12-27  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h (USE_DL_SYSINFO):
Define.
(DL_SYSINFO_DEFAULT): Cast to uintptr_t to avoid warnings.
* sysdeps/unix/sysv/linux/i386/dl-sysdep.h (NEED_DL_SYSINFO,
DL_SYSINFO_DEFAULT, DL_SYSINFO_IMPLEMENTATION): Define.
(USE_DL_SYSINFO): Undef.

2002-12-22  Jakub Jelinek  <jakub@redhat.com>

* Makefile (tests-reverse): Use $(objpfx)../libc.so instead of
$(common-objpfx)libc.so.
* tst-cancel4.c (tf_write, tf_writev): Increase buf sizes so that
it is bigger than pipe buffer size even on arches with bigger
page size.
(tf_usleep): Cast usleep argument to useconds_t to avoid warnings.

21 years agoTest of cancellation handling.
Ulrich Drepper [Sat, 28 Dec 2002 08:45:26 +0000 (08:45 +0000)]
Test of cancellation handling.

21 years agosecond typo in prior commit
Roland McGrath [Fri, 27 Dec 2002 23:13:05 +0000 (23:13 +0000)]
second typo in prior commit

21 years ago* scripts/gen-as-const.awk: New file.
Roland McGrath [Fri, 27 Dec 2002 23:06:00 +0000 (23:06 +0000)]
* scripts/gen-as-const.awk: New file.

* Makefile (distribute): Add it.
* Makerules ($(common-objpfx)%.h %.h.d: %.sym): New pattern rule.
(before-compile): Add $(gen-as-const-headers:%.sym=$(common-objpfx)%.h)
to the list.
(+depfiles): Add $(addprefix $(common-objpfx),$(gen-as-const-headers)).

* sysdeps/unix/sysv/linux/m68k/socket.S: Add cancellation support.

21 years ago2002-12-27 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 27 Dec 2002 23:05:53 +0000 (23:05 +0000)]
2002-12-27  Roland McGrath  <roland@redhat.com>

* scripts/gen-as-const.awk: New file.
* Makefile (distribute): Add it.
* Makerules ($(common-objpfx)%.h %.h.d: %.sym): New pattern rule.
(before-compile): Add $(gen-as-const-headers:%.sym=$(common-objpfx)%.h)
to the list.
(+depfiles): Add $(addprefix $(common-objpfx),$(gen-as-const-headers)).

21 years ago*** empty log message ***
Andreas Schwab [Fri, 27 Dec 2002 22:15:56 +0000 (22:15 +0000)]
*** empty log message ***

2002-12-27  Andreas Schwab  <schwab@suse.de>

* sysdeps/unix/sysv/linux/m68k/socket.S: Add cancellation support.

21 years ago*** empty log message ***
Andreas Schwab [Fri, 27 Dec 2002 21:09:21 +0000 (21:09 +0000)]
*** empty log message ***

2002-12-27  Andreas Schwab  <schwab@suse.de>

* sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: New file.

21 years agoCancellation handling for m68k.
Andreas Schwab [Fri, 27 Dec 2002 21:09:01 +0000 (21:09 +0000)]
Cancellation handling for m68k.

21 years agoRemove bogus CRs at end of all lines. Hope they do not come back.
Roland McGrath [Fri, 27 Dec 2002 20:13:29 +0000 (20:13 +0000)]
Remove bogus CRs at end of all lines.  Hope they do not come back.

21 years ago* malloc/arena.c (ptmalloc_init): Don't call next_env_entry if
Roland McGrath [Fri, 27 Dec 2002 00:37:06 +0000 (00:37 +0000)]
* malloc/arena.c (ptmalloc_init): Don't call next_env_entry if

_environ is NULL.

21 years ago* Makerules ($(common-objpfx)%.make): Filter through
Roland McGrath [Fri, 27 Dec 2002 00:35:06 +0000 (00:35 +0000)]
* Makerules ($(common-objpfx)%.make): Filter through

$(sed-remove-objpfx).

21 years ago2002-12-27 Andreas Schwab <schwab@suse.de>
Roland McGrath [Fri, 27 Dec 2002 00:35:00 +0000 (00:35 +0000)]
2002-12-27  Andreas Schwab  <schwab@suse.de>

* Makerules ($(common-objpfx)%.make): Filter through
$(sed-remove-objpfx).

21 years agoUpdate.
Ulrich Drepper [Wed, 25 Dec 2002 08:56:55 +0000 (08:56 +0000)]
Update.

2002-12-25  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/i486/lowlevelsem.S: Implement
correct errno access for case that USE___THREAD is not defined.

21 years agoUpdate.
Ulrich Drepper [Tue, 24 Dec 2002 23:22:01 +0000 (23:22 +0000)]
Update.

2002-12-24  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Add missing #endif.
Patch by Marijn Ros <marijn@mad.scientist.com>.

21 years agoAdd missing #endif.
Ulrich Drepper [Tue, 24 Dec 2002 23:20:54 +0000 (23:20 +0000)]
Add missing #endif.

21 years ago* scripts/abilist.awk: Produce a more compact format, divided into
Roland McGrath [Mon, 23 Dec 2002 11:17:18 +0000 (11:17 +0000)]
* scripts/abilist.awk: Produce a more compact format, divided into

stanzas for each version set, the set name listed only once.
* scripts/extract-abilist.awk: New file.
* scripts/merge-abilist.awk: New file.
* Makerules (check-abi-%, update-abi-%): New pattern rules.
(update-abi, check-abi): New targets.
* Makefile (+subdir_targets): Add subdir_{check,update}-abi.

* Makerules (%.symlist): Use LC_ALL=C when running awk script.

21 years ago* sysdeps/unix/sysv/linux/i386/brk.c (__brk): Cast result of
Roland McGrath [Mon, 23 Dec 2002 09:56:22 +0000 (09:56 +0000)]
* sysdeps/unix/sysv/linux/i386/brk.c (__brk): Cast result of

INTERNAL_SYSCALL.

21 years ago* Makefile (omit-deps): Add $(unix-syscalls:%=ptw-%).
Roland McGrath [Mon, 23 Dec 2002 00:45:05 +0000 (00:45 +0000)]
* Makefile (omit-deps): Add $(unix-syscalls:%=ptw-%).

21 years ago2002-12-22 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 23 Dec 2002 00:44:58 +0000 (00:44 +0000)]
2002-12-22  Roland McGrath  <roland@redhat.com>

* Makefile (omit-deps): Add $(unix-syscalls:%=ptw-%).

21 years agoUpdate.
Ulrich Drepper [Sun, 22 Dec 2002 02:29:06 +0000 (02:29 +0000)]
Update.

2002-12-21  Ulrich Drepper  <drepper@redhat.com>

* pthread.c (init_rtsigs): Remove incomplete __builtin_expect.
Reported by Art Hass <ahaas@airmail.net>.

21 years agoUpdate.
Ulrich Drepper [Sat, 21 Dec 2002 21:40:32 +0000 (21:40 +0000)]
Update.

* elf/check-textrel.c (handle_file): Swap p_type.

2002-12-21  Andreas Schwab  <schwab@suse.de>

21 years ago(handle_file): Swap p_type.
Ulrich Drepper [Sat, 21 Dec 2002 21:39:34 +0000 (21:39 +0000)]
(handle_file): Swap p_type.

21 years agoFix thinko.
Andreas Schwab [Sat, 21 Dec 2002 21:05:31 +0000 (21:05 +0000)]
Fix thinko.

21 years ago*** empty log message ***
Andreas Schwab [Sat, 21 Dec 2002 20:09:41 +0000 (20:09 +0000)]
*** empty log message ***

(SYSCALL_ERROR_HANDLER): Define RTLD_PRIVATE_ERRNO variant.

21 years ago*** empty log message ***
Andreas Schwab [Sat, 21 Dec 2002 19:37:26 +0000 (19:37 +0000)]
*** empty log message ***

2002-12-21  Andreas Schwab  <schwab@suse.de>

* sysdeps/unix/sysv/linux/m68k/sysdep.h (INTERNAL_SYSCALL): Define.
(INLINE_SYSCALL): Use it.
(INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): Define.

* sysdeps/unix/sysv/linux/m68k/getpagesize.c: Use INTERNAL_SYSCALL.
* sysdeps/unix/sysv/linux/m68k/brk.c: Likewise.

21 years agoUse INTERNAL_SYSCALL.
Andreas Schwab [Sat, 21 Dec 2002 19:36:29 +0000 (19:36 +0000)]
Use INTERNAL_SYSCALL.

21 years ago(parse_opt): Avoid warning in case -t is used with maximum allowed number.
Ulrich Drepper [Sat, 21 Dec 2002 19:33:56 +0000 (19:33 +0000)]
(parse_opt): Avoid warning in case -t is used with maximum allowed number.

21 years agoUpdate.
Ulrich Drepper [Sat, 21 Dec 2002 18:53:25 +0000 (18:53 +0000)]
Update.

2002-12-20  Art Haas  <ahaas@airmail.net>

* sysdeps/gnu/siglist.c: Convert GCC extension initializer
syntax to C99.

2002-12-21  Philip Blundell  <philb@gnu.org>

* sysdeps/arm/elf/start.S (_start): Optimise a little.  Push stack
top as seventh arg to __libc_start_main.
Reported by paulnash@wildseed.com.

* sysdeps/unix/sysv/linux/arm/clone.S: Small optimisation.

* sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Elide
compatibility cruft when new enough kernel is assumed.

21 years agoUpdate.
Ulrich Drepper [Fri, 20 Dec 2002 19:14:55 +0000 (19:14 +0000)]
Update.

2002-12-20  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use INTERNAL_SYSCALL
instead of INLINE_SYSCALL.

21 years agoUpdate.
Ulrich Drepper [Fri, 20 Dec 2002 18:24:24 +0000 (18:24 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Fix
typo.

21 years agoUpdate.
Ulrich Drepper [Fri, 20 Dec 2002 10:32:08 +0000 (10:32 +0000)]
Update.

* sysdeps/unix/sysv/linux/alpha/bits/shm.h: Define SHM_HUGETLB.
* sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/hppa/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise.
Patch by William Lee Irwin <wli@holomorphy.com>.

2002-12-20  Andreas Schwab  <schwab@suse.de>

* locale/programs/ld-measurement.c (measurement_output): Fix
index calculation.

2002-12-20  Ulrich Drepper  <drepper@redhat.com>

21 years agoUpdate.
Ulrich Drepper [Fri, 20 Dec 2002 09:33:33 +0000 (09:33 +0000)]
Update.

* include/libio.h [_IO_MTSAFE_IO && _IO_lock_inexpensive]:
Redefine _IO_flockifle and _IO_funlockfile as inlines.

21 years agoUpdate.
Ulrich Drepper [Fri, 20 Dec 2002 08:49:27 +0000 (08:49 +0000)]
Update.

2002-12-20  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): For TLS
builds add "tls" in the search path.
* elf/ldconfig.c (is_hwcap_platform): Also recognize "tls".
(path_hwcap): Recognize "tls".

* sysdeps/unix/sysv/linux/i386/system.c (cancel_handler): Use
__waitpid instead of waitpid.

21 years agoUpdate.
Ulrich Drepper [Fri, 20 Dec 2002 07:20:48 +0000 (07:20 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/_exit.S: Use ENTER_KERNEL instead of
int $0x80.
* sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
* sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
* sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.

21 years agoUpdate.
Ulrich Drepper [Fri, 20 Dec 2002 07:12:24 +0000 (07:12 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/pthread_once.S: Use ENTER_KERNEL instead
of int $0x80.
* sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/libc-lowlevelmutex.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/lowlevelcond.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/lowlevelmutex.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/lowlevelrwlock.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/lowlevelsem.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: Likewise.

* sysdeps/unix/sysv/linux/i386/lowlevellock.h: Add support for using
sysenter.
* sysdeps/unix/sysv/linux/i386/lowlevelsem.h: Likewise.

* sysdeps/i386/tls.h: Unconditionally include <dl-sysdep.h>.

21 years agoUpdate.
Ulrich Drepper [Thu, 19 Dec 2002 23:05:13 +0000 (23:05 +0000)]
Update.

2002-12-19  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/sysdep.h: Add support to use AT_SYSINFO
information for system calls.

* sysdeps/generic/dl-sysdep.h: Define RTLD_PRIVATE_ERRNO to 1 only
for ld.so.

* elf/rtld.c (_dl_start) [USE___THREAD]: Define initdtv.

21 years ago(allocate_stack) [NEED_DL_SYSINFO]: Set sysinfo in new TCB.
Ulrich Drepper [Thu, 19 Dec 2002 22:49:55 +0000 (22:49 +0000)]
(allocate_stack) [NEED_DL_SYSINFO]: Set sysinfo in new TCB.

21 years ago* iconvdata/ibm856.h: Convert GCC extension initializer syntax to C99.
Roland McGrath [Thu, 19 Dec 2002 22:26:49 +0000 (22:26 +0000)]
* iconvdata/ibm856.h: Convert GCC extension initializer syntax to C99.

* iconvdata/ibm922.h: Likewise.
* iconvdata/ibm930.h: Likewise.
* iconvdata/ibm932.h: Likewise.
* iconvdata/ibm933.h: Likewise.
* iconvdata/ibm935.h: Likewise.
* iconvdata/ibm937.h: Likewise.
* iconvdata/ibm939.h: Likewise.
* iconvdata/ibm943.h: Likewise.
* iconvdata/isiri-3342.h: Likewise.

21 years ago2002-12-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 19 Dec 2002 22:25:19 +0000 (22:25 +0000)]
2002-12-19  Roland McGrath  <roland@redhat.com>

* iconvdata/ibm856.h: Convert GCC extension initializer syntax to C99.
* iconvdata/ibm922.h: Likewise.
* iconvdata/ibm930.h: Likewise.
* iconvdata/ibm932.h: Likewise.
* iconvdata/ibm933.h: Likewise.
* iconvdata/ibm935.h: Likewise.
* iconvdata/ibm937.h: Likewise.
* iconvdata/ibm939.h: Likewise.
* iconvdata/ibm943.h: Likewise.
* iconvdata/isiri-3342.h: Likewise.

21 years agoUpdate.
Ulrich Drepper [Thu, 19 Dec 2002 17:11:28 +0000 (17:11 +0000)]
Update.

* test-skeleton.c (main): Make sure correct value is seen as
argv[0] after adjustment of argv, and argc.

21 years agoUpdate.
Ulrich Drepper [Thu, 19 Dec 2002 09:57:54 +0000 (09:57 +0000)]
Update.

2002-12-19  Ulrich Drepper  <drepper@redhat.com>

* elf/rtld.c: Don't initialize _dl_dynamic_weak to 1 if
RTLD_CORRECT_DYNAMIC_WEAK is defined.

21 years agoUpdate.
Ulrich Drepper [Thu, 19 Dec 2002 09:18:01 +0000 (09:18 +0000)]
Update.

2002-12-19  Jakub Jelinek  <jakub@redhat.com>

* nscd/connections.c (nscd_run): Shut up warning.
* tst-ungetc.c (assert): Undefined before redefining.

2002-12-19  Ulrich Drepper  <drepper@redhat.com>

* posix/regex.c: Use __builtin_expect even outside glibc if gcc 3
is used.

2002-12-17  Art Haas  <ahaas@airmail.net>

* iconvdata/cp737.h: Convert GCC extension initializer syntax to C99.
* iconvdata/cp775.h: Likewise.
* iconvdata/ibm1046.h: Likewise.
* iconvdata/ibm1124.h: Likewise.
* iconvdata/ibm1129.h: Likewise.
* iconvdata/ibm1132.h: Likewise.
* iconvdata/ibm1133.h: Likewise.
* iconvdata/ibm1160.h: Likewise.
* iconvdata/ibm1161.h: Likewise.
* iconvdata/ibm1162.h: Likewise.
* iconvdata/ibm1163.h: Likewise.
* iconvdata/ibm1164.h: Likewise.

(__ASSUME_CLONE_THREAD_FLAGS): Define for x86 and kernel >= 2.5.50.

21 years agoUpdate.
Ulrich Drepper [Thu, 19 Dec 2002 08:41:52 +0000 (08:41 +0000)]
Update.

2002-12-19  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/system.c: Define FORK only if
__ASSUME_CLONE_THREAD_FLAGS is defined.
* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_CLONE_THREAD_FLAGS): Define for x86 and kernel >=
2.5.50.

* sysdeps/unix/sysv/linux/i386/brk.c: Use INTERNAL_SYSCALL instead
of asm.
* sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.

21 years agoUpdate.
Ulrich Drepper [Thu, 19 Dec 2002 07:09:42 +0000 (07:09 +0000)]
Update.

2002-12-18  Ulrich Drepper  <drepper@redhat.com>

* descr.h (struct pthread) [NEED_DL_SYSINFO]: Add sysinfo member.
* sysdeps/i386/tls.h (tcbhead_t): Add sysinfo member.
Define SYSINFO_OFFSEET if NEED_DL_SYSINFO is defined.
(INIT_SYSINFO): New #define.
(TLS_TP_INIT): Use INIT_SYSINFO.
* sysdeps/unix/sysv/linux/libc_pthread_init.c (__libc_pthread_init):
At test to make sure SYSINFO_OFFSET value is correct.
* sysdeps/unix/sysv/linux/i386/dl-sysdep.h: New file.

21 years agoUpdate.
Ulrich Drepper [Thu, 19 Dec 2002 00:03:48 +0000 (00:03 +0000)]
Update.

2002-12-18  Ulrich Drepper  <drepper@redhat.com>

* elf/dl-support.c [NEED_DL_SYSINFO]: Define and initialize
_dl_sysinfo.
[DL_SYSINFO_IMPLEMENTATION]: If defined use it to generate the needed
code.
* elf/rtld.c [DL_NEED_SYSINFO]: Initialize _dl_sysinfo element of
_rtld_global.
[DL_SYSINFO_IMPLEMENTATION]: If defined use it to generate the needed
code.
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
Check for AT_SYSINFO and set _dl_sysinfo appropriately.
* sysdeps/generic/ldsodefs.h (struct rtld_global) [NEED_DL_SYSINFO]:
Add _dl_sysinfo.

21 years agoUpdate
Ulrich Drepper [Wed, 18 Dec 2002 23:29:41 +0000 (23:29 +0000)]
Update

2002-12-18  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/pthread/flockfile.c (flockfile): Change into weak alias.
* sysdeps/unix/sysv/linux/raise.c (gsignal): Add weak alias to raise.
* Versions [libc: GLIBC_2.0]: Add pthread_attr_init.
[libpthread: GLIBC_2.1]: Remove __pthread_rwlock_init,
__pthread_rwlock_destroy, __pthread_rwlock_rdlock,
__pthread_rwlock_wrlock, __pthread_rwlock_unlock,
__pthread_rwlock_tryrdlock and __pthread_rwlock_trywrlock.

21 years agoUpdate.
Ulrich Drepper [Wed, 18 Dec 2002 23:27:15 +0000 (23:27 +0000)]
Update.

2002-12-18  Jakub Jelinek  <jakub@redhat.com>

* misc/Versions [libc: GLIBC_2.3.1]: Move __libc_readv and
__libc_writev to...
[libc: GLIBC_PRIVATE]: ...here.
* sysvipc/Versions [libc: GLIBC_2.3.1]: Move __libc_msgrcv and
__libc_msgsnd to...
[libc: GLIBC_PRIVATE]: ...here.

21 years agoUpdate.
Ulrich Drepper [Wed, 18 Dec 2002 11:56:21 +0000 (11:56 +0000)]
Update.

2002-12-18  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/sysdep.h: Define ENTER_KERNEL macro.
Use it instead of directly int $0x80.
* sysdeps/unix/sysv/linux/i386/brk.c: Use ENTER_KERNEL.
* sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
* sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
* sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
* sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.

21 years agoUpdate.
Ulrich Drepper [Wed, 18 Dec 2002 10:56:40 +0000 (10:56 +0000)]
Update.

2002-12-18  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/pthread/bits/stdio-lock.h: New file.
* sysdeps/unix/sysv/linux/i386/i486/libc-lowlevelmutex.S: New file.
* sysdeps/unix/sysv/linux/i386/i586/libc-lowlevelmutex.S: New file.
* sysdeps/unix/sysv/linux/i386/i686/libc-lowlevelmutex.S: New file.
* Makefile (routines): Add libc-lowlevelmutex.

* sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Remove
__i686.get_pc_thunk.dx.

21 years agoUpdate.
Ulrich Drepper [Wed, 18 Dec 2002 07:37:17 +0000 (07:37 +0000)]
Update.

* malloc/malloc.c (mALLOPt): Make sure malloc is initialized.

21 years agoUpdate.
Ulrich Drepper [Wed, 18 Dec 2002 06:52:10 +0000 (06:52 +0000)]
Update.

2002-12-17  Ulrich Drepper  <drepper@redhat.com>

* elf/elf.h (AT_SYSINFO): New define.
* sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Add support for
AT_SYSINFO.

21 years agoUpdate.
Ulrich Drepper [Wed, 18 Dec 2002 01:38:17 +0000 (01:38 +0000)]
Update.

* sysdeps/unix/sysv/linux/alpha/syscalls.list (msgrcv, msgsnd):
Make cancelable.
* sysdeps/unix/sysv/linux/hppa/syscalls.list (msgrcv, msgsnd):
Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list (msgrcv, msgsnd):
Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgrcv, msgsnd):
Likewise.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgrcv, msgsnd):
Likewise.
* sysdeps/unix/sysv/linux/ia64/sigsuspend.c (__sigsuspend): Likewise.

21 years agoUpdate.
Ulrich Drepper [Wed, 18 Dec 2002 00:53:21 +0000 (00:53 +0000)]
Update.

2002-12-17  Jakub Jelinek  <jakub@redhat.com>

* malloc/thread-m.h (mutex_init, mutex_lock, mutex_trylock,
mutex_unlock): If not building NPTL, use __libc_maybe_call2 if
available, otherwise __libc_maybe_call.
* sysdeps/unix/sysv/linux/x86_64/recv.c: Add support for
cancellation handling.
* sysdeps/unix/sysv/linux/x86_64/send.c: Likewise.

21 years agoUpdate.
Ulrich Drepper [Tue, 17 Dec 2002 10:58:04 +0000 (10:58 +0000)]
Update.

2002-12-17  Isamu Hasegawa  <isamu@yamato.ibm.com>

* posix/regcomp.c (free_workarea_compile): Free the new member
ORG_INDICES.
(analyze): Initialize ORG_INDICES.
(duplicate_node_closure): Search for a existing node, which is
duplicated from the node ORG_DEST and satisfies the constraint
CONSTRAINT.  And use it to avoid inifimite loop.
(search_duplicated_node): New function.
(duplicate_node): Store the index of the original node.
* posix/regex_internal.c (re_dfa_add_node): Realloc ORG_INDICES
if needed.
* posix/regex_internal.h (re_dfa_t): Add new members.

21 years agoUpdate.
Ulrich Drepper [Tue, 17 Dec 2002 10:34:02 +0000 (10:34 +0000)]
Update.

2002-12-17  Ulrich Drepper  <drepper@redhat.com>

* stdio-common/tst-fdopen.c: Undefine assert before redefining it.

21 years agoUpdate.
Ulrich Drepper [Tue, 17 Dec 2002 06:52:45 +0000 (06:52 +0000)]
Update.

* sysdeps/posix/system.c (do_system): Add support for installation
of cancellation handlers.
* sysdeps/unix/sysv/linux/i386/system.c: New file.

* stdlib/Makefile (tests): Add tst-system.
* stdlib/tst-system.c: New file.

21 years agoUpdate.
Ulrich Drepper [Tue, 17 Dec 2002 03:49:23 +0000 (03:49 +0000)]
Update.

2002-12-16  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/socket.S [NEED_CANCELLATION &&
CENABLE]: Don't lose content of %ebx.

21 years agoUpdate.
Ulrich Drepper [Tue, 17 Dec 2002 02:03:18 +0000 (02:03 +0000)]
Update.

2002-12-17  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/i386/socket.S: Use SINGLE_THREAD_P
macro instead of comparing %gs:MULTIPLE_THREADS_OFFSET directly.

* iconvdata/iso-ir-165.c: Likewise.
* iconvdata/jis0208.c: Likewise.
* iconvdata/jis0212.c: Likewise.

21 years agoUpdate.
Ulrich Drepper [Tue, 17 Dec 2002 01:16:31 +0000 (01:16 +0000)]
Update.

2002-12-16  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/posix/getaddrinfo.c (gaih_inet): If __nss_lookup_function
fails to return a function pointer don't use it.

21 years agoUpdate.
Ulrich Drepper [Tue, 17 Dec 2002 00:06:01 +0000 (00:06 +0000)]
Update.

2002-12-16  Art Haas  <ahaas@airmail.net>

* io/ftw.c: Convert GCC extension initializer syntax to C99.

21 years agoUpdate.
Ulrich Drepper [Mon, 16 Dec 2002 23:53:33 +0000 (23:53 +0000)]
Update.

* sysdeps/unix/sysv/linux/sys/epoll.h: New file.  Written by
Davide Libenzi <davidel@xmailserver.org>.
* sysdeps/unix/sysv/aix/settimer.c: Likewise.
* sysdeps/unix/sysv/aix/sleep.c: Likewise.
* sysdeps/unix/sysv/aix/usleep.c: Likewise.

21 years agoUpdate.
Ulrich Drepper [Mon, 16 Dec 2002 23:38:42 +0000 (23:38 +0000)]
Update.

* sysdeps/unix/sysv/linux/syscalls.list: Add epoll_create,
epoll_ctl, and epoll_wait.
* sysdeps/unix/sysv/linux/Versions [libc: GLIBC_2.3.2]: Add
epoll_create, epoll_ctl, and epoll_wait.
* sysdeps/unix/sysv/linux/sys/epoll.h: New file.
* sysdeps/unix/sysv/linux/Dist: Add sys/epoll.h.
* sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
Add sys/epoll.h.

2002-12-16  Art Haas  <ahaas@airmail.net>

* sysdeps/generic/bp-semctl.h: Convert GCC extension initializer
syntax to C99
* sysdeps/unix/sysv/aix/settimer.c: Same.
* sysdeps/unix/sysv/aix/sleep.c: Same.
* sysdeps/unix/sysv/aix/usleep.c: Same.

2002-12-16  Ulrich Drepper  <drepper@redhat.com>

21 years agoUpdate.
Ulrich Drepper [Mon, 16 Dec 2002 22:17:11 +0000 (22:17 +0000)]
Update.

2002-12-16  Ulrich Drepper  <drepper@redhat.com>

* stdio-common/Makefile (routines): Remove lockfile.  Add
flockfile, ftrylockfile, and funlockfile.
* sysdeps/generic/lockfile.c: Removed.  Each function has its own file.
* sysdeps/generic/flockfile.c: New file.
* sysdeps/generic/ftrylockfile.c: New file.
* sysdeps/generic/funlockfile.c: New file.