about summary refs log tree commit diff
path: root/nptl/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper2003-01-051-0/+3
| | | | | * Makefile (tests): Add tst-cancel7. (tst-cancel7-ARGS): New variable.
* Update.Ulrich Drepper2003-01-041-0/+6
| | | | | | | | * old_pthread_cond_broadcast.c: Optimize initialization a bit to work around gcc defficiencies. * old_pthread_cond_signal.c: Likewise. * old_pthread_cond_timedwait.c: Likewise. * old_pthread_cond_wait.c: Likewise.
* Update.Ulrich Drepper2003-01-041-0/+4
| | | | | | 2003-01-04 Ulrich Drepper <drepper@redhat.com> * pthreadP.h (pthread_cond_2_0_t): Remove unneeded lock element.
* Update.Ulrich Drepper2003-01-041-0/+3
| | | | | * Makefile (tests): Add tst-cond7. * tst-cond7.c: New file.
* Update.Ulrich Drepper2003-01-041-0/+3
| | | | | * sysdeps/unix/sysv/linux/i386/i486/lowlevelcond.S (condvar_cleanup): Get condvar address from the right place.
* Update.Ulrich Drepper2003-01-031-0/+11
| | | | | | | | | 2003-01-03 Jakub Jelinek <jakub@redhat.com> * sysdeps/generic/ldsodefs.h (_dl_allocate_tls, _dl_deallocate_tls): Add rtld_hidden_proto. * sysdeps/generic/dl-tls.c (_dl_deallocate_tls): Add rtld_hidden_def. (_dl_allocate_tls): Likewise. Remove INTDEF.
* Update.Ulrich Drepper2003-01-031-0/+4
| | | | | | 2003-01-03 Jakub Jelinek <jakub@redhat.com> * Makefile ($(objpfx)libpthread.so): Depend on ld.so.
* Update.Ulrich Drepper2003-01-031-0/+12
| | | | | | | | | | | | | | * pthreadP.h (pthread_cond_2_0_t): New type. (struct pthread_functions): Use new type for 2.0 condvar callbacks. Use new type for the 2.0 condvar function prototypes. * forward.c: Use pthread_cond_2_0_t for 2.0 condvar functions. * old_pthread_cond_init.c: Use pthread_cond_2_0_t for condvar parameter. * old_pthread_cond_destroy.c: Likewise. * old_pthread_cond_broadcast.c: Likewise. Lock appropriately. * old_pthread_cond_signal.c: Likewise. * old_pthread_cond_timedwait.c: Likewise. * old_pthread_cond_wait.c: Likewise.
* Update.Ulrich Drepper2003-01-031-0/+4
| | | | | | * sysdeps/unix/sysv/linux/i386/i486/lowlevelcond.S (__pthread_cond_wait): Don't save cancellation mode and seq value in same location.
* Update.Ulrich Drepper2003-01-031-0/+4
| | | | | | 2003-01-03 Ulrich Drepper <drepper@redhat.com> * herrno.c (__h_errno_location): Don't define as weak.
* Update.Ulrich Drepper2003-01-031-0/+53
| | | | | | | | | | | | | | | | | | | | | | | | 2003-01-02 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/arm/sigaction.c (__sigaction, sigaction): Protect weak_alias and libc_hidden_weak with #ifndef LIBC_SIGACTION. * sysdeps/unix/sysv/linux/ia64/sigaction.c (__sigaction, sigaction): Likewise. * sysdeps/unix/sysv/linux/mips/sigaction.c (__sigaction, sigaction): Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c (__sigaction, sigaction): Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction, sigaction): Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction, sigaction): Likewise. * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__sigaction, sigaction): Likewise. * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction, sigaction): Likewise. Remove SIGCANCEL handling here. * sysdeps/unix/sysv/linux/sigaction.c (__sigaction, sigaction): Likewise.
* Update.Ulrich Drepper2003-01-021-0/+25
| | | | | | | | | | | 2003-01-02 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/bits/pthreadtypes.h (pthread_cond_t): Add padding. * condvar.c: Add symbol versioning. The compatibility versions are the same as the change in the interface does not effect this implementation. * Versions [libpthread]: Add definitions for new pthread_cond_* interfaces for version GLIBC_2.3.2.
* Update.Ulrich Drepper2003-01-021-0/+5
| | | | | | | 2003-01-01 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/i486/lowlevelrwlock.S: Avoid unnecessary zero offset when addressing MUTEX.
* Update.Ulrich Drepper2002-12-311-0/+7
| | | | | | | | | 2002-12-31 Ulrich Drepper <drepper@redhat.com> * malloc/thread-m.h [SHARED] (thread_atfork): Assume __dso_handle is available. * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv): Re-add
* Update.Ulrich Drepper2002-12-311-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Update.Ulrich Drepper2002-12-311-0/+6
| | | | | | | * 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.
* Update.Ulrich Drepper2002-12-311-0/+3
| | | | | | 2002-12-30 Ulrich Drepper <drepper@redhat.com> * malloc/thread-m.h (thread_atfork): Define using __register_atfork.
* Update.Ulrich Drepper2002-12-311-2/+13
| | | | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2002-12-311-0/+14
| | | | | | | | | | | 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.
* Update.Ulrich Drepper2002-12-301-0/+11
| | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2002-12-301-0/+3
| | | | | * forward.c: Make all functions available by default again. It caused too much trouble.
* Update.Ulrich Drepper2002-12-291-0/+4
| | | | | | 2002-12-29 Ulrich Drepper <drepper@redhat.com> * pt-siglongjmp.c: Removed.
* Update.Ulrich Drepper2002-12-281-0/+19
| | | | | | 2002-12-28 Ulrich Drepper <drepper@redhat.com> * misc/sys/cdefs.h (__attribute_deprecated__): New #define.
* Update.Ulrich Drepper2002-12-281-0/+6
| | | | | | | | | | | * 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>
* Update.Ulrich Drepper2002-12-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2002-12-281-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2002-12-251-0/+5
| | | | | | | 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.
* Update.Ulrich Drepper2002-12-241-0/+5
| | | | | | | 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>.
* * Makefile (omit-deps): Add $(unix-syscalls:%=ptw-%).Roland McGrath2002-12-231-0/+4
|
* Update.Ulrich Drepper2002-12-201-0/+4
| | | | | * include/libio.h [_IO_MTSAFE_IO && _IO_lock_inexpensive]: Redefine _IO_flockifle and _IO_funlockfile as inlines.
* Update.Ulrich Drepper2002-12-201-0/+4
| | | | | | | | * 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.
* Update.Ulrich Drepper2002-12-201-0/+17
| | | | | | | | | | | | | | | | | | | * 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>.
* Update.Ulrich Drepper2002-12-191-0/+7
| | | | | | | | | | | | 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.
* Update.Ulrich Drepper2002-12-191-0/+5
| | | | | | | 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.
* Update.Ulrich Drepper2002-12-191-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2002-12-191-0/+11
| | | | | | | | | | | | | 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.
* UpdateUlrich Drepper2002-12-181-0/+10
| | | | | | | | | | | | 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.
* Update.Ulrich Drepper2002-12-181-0/+3
| | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2002-12-181-0/+11
| | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2002-12-181-0/+14
| | | | | | | | | | | 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.
* Update.Ulrich Drepper2002-12-171-0/+15
| | | | | | | | | | | 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.
* Update.Ulrich Drepper2002-12-161-0/+4
| | | | | | | | * 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.
* Update.Ulrich Drepper2002-12-161-0/+9
| | | | | | | | | | | 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.
* Update.Ulrich Drepper2002-12-161-0/+41
| | | | | | | | | | | | | | | | | | 2002-12-16 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/i386/socket.S: Use CENABLE and CDISABLE macros instead of doing the calls directly. * sysdeps/unix/make-syscalls.sh: Add ptw-*.$o target name to rules. * Makerules ($(+sysdir_pfx)sysd-rules): Emit rules for ptw-% targets. 2002-12-16 Jakub Jelinek <jakub@redhat.com> * sysdeps/i386/fpu/bits/mathinline.h: Backout last change. * sysdeps/ieee754/bits/nan.h: Likewise. * sysdeps/unix/sysv/linux/ia64/syscalls.list (__syscall_open, __syscall_wait4, __syscall_ioctl, __syscall_write): Add.
* Update.Ulrich Drepper2002-12-161-0/+4
| | | | | | * init.c (__pthread_initialize_minimal_internal): Renamed from __pthread_initialize_minimal. Make old name an alias. This converts a normal relocation into a relative relocation.
* Update.Ulrich Drepper2002-12-151-0/+2
| | | | | | | | | | | | 2002-12-15 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/fcntl.c (do_fcntl): This is the original __libc_fcntl code. Just renamed. * sysdeps/unix/sysv/linux/m68k/clone.S: Make inline syscall to _exit. 2002-12-14 Olaf Hering <olh@suse.de> * sysdeps/powerpc/bits/setjmp.h: Include <bits/wordsize.h>. * sysdeps/powerpc/powerpc64/setjmp.S: Fix typo in r18 load.
* Update.Ulrich Drepper2002-12-151-0/+16
| | | | | | | | | | | | | | | | | | * Versions [libpthread: GLIBC_2.3.2]: Remove creat, poll, pselect, readv, select, sigpause, sigsuspend, sigwaitinfo, waitid, writev. * Makefile (libpthread-routines): Remove pt-creat, pt-poll, pt-pselect, pt-readv, pt-select, pt-sigpause, pt-sigsuspend, pt-sigwaitinfo, pt-waitid, and pt-writev. * pt-creat.c: Removed. * pt-poll.c: Removed. * pt-pselect.c: Removed. * pt-readv.c: Removed. * pt-select.c: Removed. * pt-sigpause.c: Removed. * pt-sigsuspend.c: Removed. * pt-sigwaitinfo.c: Removed. * pt-waitid.c: Removed. * pt-writev.c: Removed.
* Update.Ulrich Drepper2002-12-151-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * init.c (pthread_functions): New variable. (__pthread_initialize_minimal): Pass pointer to pthread_functions (or NULL) to __libc_pthread_init. * forward.c: Rewrite to use __libc:pthread_functions array to get function addresses. * sysdeps/unix/sysv/linux/fork.h: Remove __libc_pthread_init prototype. * sysdeps/unix/sysv/linux/libc_pthread_init.c (__libc_pthread_init): Take new parameter. Copy content of variable pointed to by it to __libc_pthread_init. * pthreadP.h (struct pthread_functions): New type. (__libc_pthread_init): Declare. * pthread_attr_destroy.c: Add namespace protected alias. * pthread_attr_getdetachstate.c: Likewise. * pthread_attr_getinheritsched.c: Likewise. * pthread_attr_getschedparam.c: Likewise. * pthread_attr_getschedpolicy.c: Likewise. * pthread_attr_getscope.c: Likewise. * pthread_attr_setdetachstate.c: Likewise. * pthread_attr_setinheritsched.c: Likewise. * pthread_attr_setschedparam.c: Likewise. * pthread_attr_setschedpolicy.c: Likewise. * pthread_attr_setscope.c: Likewise. * pthread_cond_broadcast.c: Likewise. * pthread_cond_destroy.c: Likewise. * pthread_cond_init.c: Likewise. * pthread_cond_signal.c: Likewise. * pthread_cond_wait.c: Likewise. * pthread_condattr_destroy.c: Likewise. * pthread_condattr_init.c: Likewise. * pthread_equal.c: Likewise. * pthread_exit.c: Likewise. * pthread_getschedparam.c: Likewise. * pthread_self.c: Likewise. * pthread_setcancelstate.c: Likewise. * pthread_setschedparam.c: Likewise. * pthread_mutex_destroy.c: Likewise. * pthread_mutex_init.c: Likewise. * pthreadP.h: Add prototypes for the aliases.
* Update.Ulrich Drepper2002-12-151-0/+3
| | | | * sysdeps/unix/sysv/linux/libc_fatal.c: New file.
* Update.Ulrich Drepper2002-12-151-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-12-15 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/sysdep-cancel.h: Add dummy definitions for SINGLE_THREAD_P, LIBC_CANCEL_ASYNC, and LIBC_CANCEL_RESET. * sysdeps/unix/sysv/linux/open64.c: New file. * sysdeps/generic/pselect.c: Add support for cancellation handling. * sysdeps/posix/open64.c: Likewise. * sysdeps/posix/sigpause.c: Likewise. * sysdeps/posix/sigwait.c: Likewise. * sysdeps/posix/system.c: Likewise. * sysdeps/posix/waitid.c: Likewise. * sysdeps/unix/sysv/linux/accept.S: Likewise. * sysdeps/unix/sysv/linux/connect.S: Likewise. * sysdeps/unix/sysv/linux/llseek.c: Likewise. * sysdeps/unix/sysv/linux/msgrcv.c: Likewise. * sysdeps/unix/sysv/linux/msgsnd.c: Likewise. * sysdeps/unix/sysv/linux/poll.c: Likewise. * sysdeps/unix/sysv/linux/pread.c: Likewise. * sysdeps/unix/sysv/linux/pread64.c: Likewise. * sysdeps/unix/sysv/linux/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. * sysdeps/unix/sysv/linux/readv.c: Likewise. * sysdeps/unix/sysv/linux/recv.S: Likewise. * sysdeps/unix/sysv/linux/recvfrom.S: Likewise. * sysdeps/unix/sysv/linux/recvmsg.S: Likewise. * sysdeps/unix/sysv/linux/send.S: Likewise. * sysdeps/unix/sysv/linux/sendmsg.S: Likewise. * sysdeps/unix/sysv/linux/sendto.S: Likewise. * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise. * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise. * sysdeps/unix/sysv/linux/sigwait.c: Likewise. * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. * sysdeps/unix/sysv/linux/tcdrain.c: Likewise. * sysdeps/unix/sysv/linux/wait.c: Likewise. * sysdeps/unix/sysv/linux/waitpid.c: Likewise. * sysdeps/unix/sysv/linux/writev.c: Likewise. * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise. * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.