aboutsummaryrefslogtreecommitdiff
path: root/nptl/sysdeps
AgeCommit message (Collapse)Author
2004-07-14(__pthread_cond_timedwait): Check for invalid nanosecond in timeout value.Ulrich Drepper
2004-07-06Update.Ulrich Drepper
2004-07-05 Ulrich Drepper <drepper@redhat.com> * elf/dl-init.c: Don't define and use _dl_starting_up if HAVE_INLINED_SYSCALLS is defined and the variable is not used. * elf/dl-support.c: Likewise. * elf/rtld.c: Likewise. * elf/dl-misc.c (_dl_debug_vdprintf): Use writev syscall directly if HAVE_INLINED_SYSCALLS is defined. * sysdeps/powerpc/powerpc64/dl-machine.h: Don't rest _dl_starting_up here. * sysdeps/powerpc/powerpc32/dl-start.S: Likewise. * sysdeps/unix/sysv/linux/configure.in: Define HAVE_INLINED_SYSCALLS. * config.h.in: Add entry for HAVE_INLINED_SYSCALLS. * sysdeps/posix/profil.c: If compiled for ld.so, omit code which is needed to stop profiling. * elf/dl-open.c (dl_open_worker): If a newly opened object is to be profile make sure it cannot be unloaded. * sysdeps/unix/sysv/linux/dl-origin.c: Inline readlink syscall. * sysdeps/unix/sysv/linux/fcntl.c: If compiled without cancellation support, make sure the helper function is inlined. * sysdeps/unix/sysv/linux/pread.c: Likewise. * sysdeps/unix/sysv/linux/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Likewise.
2004-07-05Update.Ulrich Drepper
* include/string.h (ffs): Add libc_hidden_builtin_proto. * sysdeps/rs6000/ffs.c (ffs): Add libc_hidden_builtin_def. * sysdeps/alpha/alphaev67/ffs.S (ffs): Likewise. * sysdeps/alpha/ffs.S (ffs): Likewise. * sysdeps/s390/ffs.c (ffs): Likewise. * sysdeps/powerpc/ffs.c (ffs): Likewise. * sysdeps/i386/ffs.c (ffs): Likewise. * sysdeps/i386/i686/ffs.c (ffs): Likewise. * sysdeps/m68k/ffs.c (ffs): Likewise. * sysdeps/generic/ffs.c (ffs): Likewise. * sysdeps/m88k/ffs.c (ffs): Likewise. * sysdeps/am29k/ffs.c (ffs): Likewise. * sysdeps/i960/ffs.c (ffs): Likewise. * sysdeps/x86_64/ffs.c (ffs): Likewise. * Makerules (check-abi): Use diff -p -U 0 instead of diff -pu0.
2004-07-04Update.Ulrich Drepper
2004-07-04 Matthew Reppert <arashi@kai.vm.bytemark.co.uk> * sysdeps/unix/sysv/linux/i386/glob64.c (glob64): Use libc_hidden_ver instead of libc_hidden_def.
2004-06-292004-06-29 Roland McGrath <roland@redhat.com>Roland McGrath
* Banner: NPTL no longer has its own version number. * Makefile (nptl-version): Variable removed. * sysdeps/pthread/Makefile (CFLAGS-confstr.c): Set LIBPTHREAD_VERSION using $(version), the glibc version number.
2004-06-29Update.Ulrich Drepper
2004-06-29 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER): Fix branch offset for a PLT entry.
2004-06-28[BZ #230, BZ #231]Ulrich Drepper
Update. 2004-06-28 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/alpha/sysdep.h (inline_syscall6): Fix a typo. [BZ #231] * sysdeps/unix/alpha/sysdep.S (__syscall_error): Avoid !samegp relocation in librt.so. [BZ #230] * sysdeps/alpha/dl-machine.h (_dl_start_user): Use ldah/ldl to load _dl_skip_args. Patch by Jakub Bogusz <qboosh@pld-linux.org>.
2004-06-28Update.Ulrich Drepper
2004-06-28 Jakub Jelinek <jakub@redhat.com> * sysdeps/pthread/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Return EINVAL if tv_nsec is negative, instead of tv_sec. * sysdeps/pthread/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock): Likewise.
2004-06-28Update.Ulrich Drepper
* elf/ldconfig.c (add_dir): Take chroot into account. Based on changes by HJ Lu and Hideki Iwamoto.
2004-06-27Update.Ulrich Drepper
2004-06-27 Ulrich Drepper <drepper@redhat.com> * Makefile: Add rules to build tst-rwlock14. * tst-rwlock14.c: New file. 2004-06-24 Boris Hu <boris.hu@intel.com> * sysdeps/pthread/pthread_rwlock_timedrdlock.c: Add timeout validation check. * sysdeps/pthread/pthread_rwlock_timedwrlock.c: Likewise.
2004-06-19Fix assembler in last patch.Andreas Jaeger
2004-06-18Update.Ulrich Drepper
2004-06-17 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/pthread_cond_timedwait.c (__pthread_cond_timedwait): Also check for negativ nanoseconds. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S (__pthread_cond_timedwait): Check for invalid nanosecond in timeout value. * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise. * tst-cond19.c: New file. * Makefile: Add rules to build and run tst-cond19.
2004-06-17Update.Ulrich Drepper
2004-06-13 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h (pthread_cond_t): Add __data.__futex field, reshuffle __data.__clock. * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S (__pthread_cond_signal): Increment __futex at the same time as __wakeup_seq or __total_seq. Pass address of __futex instead of address of low 32-bits of __wakeup_seq to futex syscall. * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S (__pthread_cond_wait): Likewise. Pass __futex value from before releasing internal lock to FUTEX_WAIT. * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S (__pthread_cond_timedwait): Likewise. * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S (FUTEX_CMP_REQUEUE): Define. (__pthread_cond_broadcast): Set __futex to 2 * __total_seq. Use FUTEX_CMP_REQUEUE operation instead of FUTEX_REQUEUE. Pass __futex value from before the unlock and __futex address instead of address of low 32-bits of __wakeup_seq to futex syscall. Fallback to FUTEX_WAKE all on any errors.
2004-06-11* sysdeps/arm/strlen.S [__ARMEB__]: Compute correctly for big-endian.Roland McGrath
From Krzysztof Halasa <khc@pm.waw.pl>.
2004-06-07(lll_futex_requeue): Pass val argument as 6th system call argument in %r7.Ulrich Drepper
2004-06-03Update.Ulrich Drepper
2004-06-03 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/i486/bits/atomic.h: Optimize a bit.
2004-06-01Update.Ulrich Drepper
2004-05-10 Jakub Jelinek <jakub@redhat.com> * sysdeps/posix/sysconf.c (__sysconf) <cases _SC_REALTIME_SIGNALS, _SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO, _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC, _SC_MAPPED_FILES, _SC_MEMLOCK, _SC_MEMLOCK_RANGE, _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_SEMAPHORES, _SC_SHARED_MEMORY_OBJECTS, _SC_THREADS, _SC_THREAD_SAFE_FUNCTIONS, _SC_THREAD_ATTR_STACKADDR, _SC_THREAD_ATTR_STACKSIZE, _SC_THREAD_PRIORITY_SCHEDULING, _SC_THREAD_PRIO_INHERIT, _SC_THREAD_PRIO_PROTECT, _SC_THREAD_PROCESS_SHARED>: Return _POSIX_* value instead of 1. * sysdeps/unix/sysv/linux/sysconf.c (__sysconf) <case _SC_MONOTONIC_CLOCK>: Return _POSIX_VERSION instead of 1. 2004-05-07 Jeroen Dekkers <jeroen@dekkers.cx> * sysdeps/mach/hurd/i386/Makefile (CFLAGS-init-first.c): Add -momit-leaf-frame-pointer. * inet/test-ifaddrs.c (addr_string): Surround AF_PACKET case with #ifdef AF_PACKET. * sysdeps/mach/hurd/getcwd.c (_hurd_canonicalize_directory_name_intern): Only realloc when size is <= 0. * sysdeps/mach/hurd/mmap.c (__mmap): Fail when addr or offset isn't page aligned. * sysdeps/mach/hurd/spawni.c (EXPAND_DTABLE): Set dtablesize to new size. * sysdeps/mach/hurd/Versions (GLIBC_PRIVATE): Add __libc_read, __libc_write and __libc_lseek64.
2004-06-01(__condvar_tw_cleanup): Fix access to saved broadcast_seq value.Ulrich Drepper
2004-05-26Update.Ulrich Drepper
2004-05-25 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/powerpc/fpu/Makefile: Make ld.so a dependency of libm.so. * sysdeps/powerpc/fpu/bits/mathinline.h [__LIBC_INERNAL_MATH_INLINES] (__ieee754_sqrt): Define as __MATH_INLINE using fsqrt instruction. (__ieee754_sqrtf): Define as __MATH_INLINE using fsqrts instruction. * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Moved implementation from w_sqrt.c. * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Moved implementation from w_sqrtf.c. * sysdeps/powerpc/fpu/w_sqrt.c (__sqrt): Wrapper implementation using inline __ieee754_sqrt(). * sysdeps/powerpc/fpu/w_sqrtf.c (__sqrtf): Wrapper implementation using inline __ieee754_sqrtf(). * sysdeps/powerpc/powerpc32/sysdep.h [__ASSEMBLER__]: Include <sysdeps/powerpc/sysdep.h> independent of __ASSEMBLER__. * sysdeps/powerpc/sysdep.h [__ASSEMBLER__] (PPC_FEATURE_*): Define PPC_FEATURE_* independent of __ASSEMBLER__. 2004-05-25 Jakub Jelinek <jakub@redhat.com> * sysdeps/pthread/aio_notify.c: Use <> instead of "" for aio_misc.h include. (aio_start_notify_thread): Define if not defined. (notify_func_wrapper): Use it. * sysdeps/pthread/aio_misc.c: Use <> instead of "" for aio_misc.h include. (aio_create_helper_thread): Define if not defined. (__aio_create_helper_thread): New function. (__aio_enqueue_request): Use aio_create_helper_thread. * nis/ypclnt.c (ypall_data, ypall_foreach): Remove. (struct ypresp_all_data): New type. (__xdr_ypresp_all): Change second argument to struct ypresp_all_data *. Replace ypall_foreach and ypall_data with objp->foreach and objp->data. (yp_all): Remove status variable, add data. Replace all uses of status with data.status. Initialize data.foreach and data.data instead of ypall_foreach and ypall_data. 2004-05-24 Jakub Jelinek <jakub@redhat.com> * elf/dl-lookup.c (add_dependency): Set DF_1_NODELETE bit in l_flags_1, not in l_flags.
2004-05-21Update.Ulrich Drepper
2004-05-21 Ulrich Drepper <drepper@redhat.com> * idna.c (idna_to_unicode_4z4z): Fix test for failed memory allocation. Patch by Simon Josefsson.
2004-05-18[BZ #163]Ulrich Drepper
Update. 2004-05-18 Petter Reinholdtsen <pere@hungry.com> * locales/sl_SI [LC_TIME]: Correct d_fmt date format from '22.06.2003' to '22. 06. 2003'. Change requested from Aleks Reinhardt, and approved by the locale author Borka Jerman-Blazic. [BZ #163]
2004-05-17Update.Ulrich Drepper
2004-05-16 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Correct some unwind info. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Parametrize frame size. Correct some unwind info. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
2004-05-04Update.Ulrich Drepper
2004-05-04 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/ia64/sysdep.S (USE___THREAD): Remove defined.
2004-05-03Update.Ulrich Drepper
2004-04-23 Jakub Jelinek <jakub@redhat.com> * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Add libc_hidden_proto. Define to __GI___libm_error_support for assembly going into libc.so. * sysdeps/ia64/fpu/libc_libm_error.c (__libm_error_support): Add libc_hidden_def. * include/libc-symbols.h (HIDDEN_BUILTIN_JUMPTARGET): Define. * sysdeps/ia64/bcopy.S (bcopy): Use it for jump to memmove. * sysdeps/unix/sysv/linux/ia64/sysdep.S (__syscall_error): Access gprel errno if RTLD_PRIVATE_ERRNO or __thread __libc_errno/errno if USE___THREAD.
2004-04-20Update.Ulrich Drepper
2004-04-20 Jakub Jelinek <jakub@redhat.com> * stdio-common/vfscanf.c (_IO_vfscanf): When skipping whitespace, do input_error () instead of conv_error () and don't look at errno. Don't eat any whitespace before %% if skip_space == 0. * stdio-common/tst-sscanf.c (int_tests): New array. (main): Run int_tests. See ChangeLog.14 for earlier changes.
2004-04-20Make sure helper thread has all signals blocked.Ulrich Drepper
2004-04-19Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/powerpc/rt-sysdep.c: New file. * sysdeps/unix/sysv/linux/powerpc/Makefile (librt-routines): Add rt-sysdep. * rt/tst-mqueue5.c (mqsend): Don't inline. (mqrecv): Likewise.
2004-04-18* sysdeps/unix/sysv/linux/x86_64/bits/semaphore.h Andreas Jaeger
(SEM_VALUE_MAX): Add missing brace. 2004-04-18 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/x86_64/bits/semaphore.h (SEM_VALUE_MAX): Add missing brace.
2004-04-18Update.Ulrich Drepper
2004-04-17 Jakub Jelinek <jakub@redhat.com> * rt/Makefile (tests): Add tst-mqueue8. * rt/tst-mqueue8.c: New test. * sysdeps/unix/sysv/linux/s390/Makefile (librt-routines): Add rt-sysdep. * sysdeps/unix/sysv/linux/s390/rt-sysdep.S: New file.
2004-04-17Update.Ulrich Drepper
2004-03-26 H.J. Lu <hongjiu.lu@intel.com> * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c (__fxstat): Don't use "struct kernel_stat". 2004-04-02 H.J. Lu <hongjiu.lu@intel.com> * sysdeps/ia64/memcmp.S: Fix symbol.
2004-04-17Update.Ulrich Drepper
2004-04-17 Ulrich Drepper <drepper@redhat.com> * locales/kk_KZ: New file. * charmaps/PT154: New file. * charmaps/RK1048: New file. * locales/af_ZA: Make sure yesexpr and noexpr regex * locales/ar_TN: Likewise. * locales/ar_YE: Likewise. * locales/bn_BD: Likewise. * locales/br_FR: Likewise. * locales/ca_ES: Likewise. * locales/cy_GB: Likewise. * locales/gd_GB: Likewise. * locales/gv_GB: Likewise. * locales/hy_AM: Likewise. * locales/id_ID: Likewise. * locales/ka_GE: Likewise. * locales/kw_GB: Likewise. * locales/lg_UG: Likewise. * locales/mk_MK: Likewise. * locales/oc_FR: Likewise. * locales/ru_UA: Likewise. * locales/sk_SK: Likewise. * locales/sr_YU: Likewise. * locales/sr_YU@cyrillic: Likewise. * locales/uk_UA: Likewise. * locales/ur_PK: Likewise. * locales/wa_BE: Likewise. * locales/fa_IR: Fix yesexpr and noexpr.
2004-04-17Update.Ulrich Drepper
2004-04-15 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/timer_routines.c: Include errno.h. (timer_helper_thread): Use inline rt_sigtimedwait syscall instead of calling sigwaitinfo.
2004-04-16Update.Ulrich Drepper
2004-04-13 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/mq_notify.c: Shut up GCC warning.
2004-04-13Update.Ulrich Drepper
2004-04-08 Ulrich Drepper <drepper@redhat.com> * rt/tst-mqueue3.c: New file. * rt/Makefile (tests): Add tst-mqueue3. 2004-04-08 Jakub Jelinek <jakub@redhat.com> * rt/tst-mqueue1.c: New file. * rt/tst-mqueue2.c: New file. * rt/tst-mqueue4.c: New file. * rt/Makefile (tests): Add tst-mqueue1, tst-mqueue2, tst-mqueue4. * rt/Versions (librt): Add mq_*@@GLIBC_2.3.4. * rt/Makefile (headers): Add mqueue.h and bits/mqueue.h. (mq-routines): Set. (librt-routines): Use it. * rt/mqueue.h: New file. * include/mqueue.h: New file. * sysdeps/generic/bits/mqueue.h: New file. * sysdeps/generic/mq_setattr.c: New file. * sysdeps/generic/mq_getattr.c: New file. * sysdeps/generic/mq_notify.c: New file. * sysdeps/generic/mq_close.c: New file. * sysdeps/generic/mq_send.c: New file. * sysdeps/generic/mq_unlink.c: New file. * sysdeps/generic/mq_receive.c: New file. * sysdeps/generic/mq_timedreceive.c: New file. * sysdeps/generic/mq_timedsend.c: New file. * sysdeps/generic/mq_open.c: New file. * sysdeps/unix/sysv/linux/bits/local_lim.h (MQ_PRIO_MAX): Define. * sysdeps/unix/sysv/linux/bits/mqueue.h: New file. * sysdeps/unix/sysv/linux/syscalls.list: Add mq_timedsend, mq_timedreceive and mq_setattr. * sysdeps/unix/sysv/linux/mq_getattr.c: New file. * sysdeps/unix/sysv/linux/mq_notify.c: New file. * sysdeps/unix/sysv/linux/mq_close.c: New file. * sysdeps/unix/sysv/linux/mq_send.c: New file. * sysdeps/unix/sysv/linux/mq_unlink.c: New file. * sysdeps/unix/sysv/linux/mq_receive.c: New file. * sysdeps/unix/sysv/linux/mq_open.c: New file. 2004-04-09 Thorsten Kukuk <kukuk@suse.de> * sysdeps/s390/ffs.c: Don't add ffsl weak alias on s390x. 2004-04-09 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: New file.
2004-04-04Update.Ulrich Drepper
* string/test-ffs.c: Also test ffsl and ffsll. * sysdeps/powerpc/ffs.c: Don't define ffsl for ppc64.
2004-03-31Update.Ulrich Drepper
2004-03-30 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/libc-start.c (LIBC_START_MAIN) [HAVE_CLEANUP_JMP_BUF]: Call __nptl_deallocate_tsd.
2004-03-29Update.Ulrich Drepper
2004-03-29 Alexandre Oliva <aoliva@redhat.com> * sysdeps/unix/sysv/linux/sched_getaffinity.c: Prepend GLIBC_ to version names is SHLIB_COMPAT check. * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
2004-03-25* Makerules ($(common-objpfx)shlib.lds): Don't use \n in rhs of sedRoland McGrath
substitutions; the semicolon terminators are enough for ld anyway. * elf/dl-deps.c (_dl_map_object_deps): Use alloca instead of dynamically sized auto array in function already using alloca. * locale/programs/ld-ctype.c (ctype_output): Likewise. * locale/programs/ld-time.c (time_output): Likewise. * elf/dl-misc.c (_dl_debug_vdprintf): Use macro instead of const for IOV array size. * locale/programs/charmap.c (charmap_read): Avoid alloca (or strdupa) when also using dynamically-sized auto array. * locale/programs/locfile.c (locfile_read): Likewise. * locale/programs/repertoire.c (repertoire_read): Likewise. * nis/nis_print_group_entry.c (nis_print_group_entry): Likewise. * locale/programs/locarchive.c (enlarge_archive): Likewise. * posix/annexc.c (check_header): Likewise. * iconv/gconv_int.h (norm_add_slashes): Don't handle null SUFFIX. strlen ("") gets optimized away just as well. * intl/loadmsgcat.c (_nl_init_domain_conv): Update caller. * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
2004-03-24Update.Ulrich Drepper
2004-03-24 Ulrich Drepper <drepper@redhat.com> * stdio-common/vfscanf.c [!COMPILE_WSCANF] (TOLOWER): Cast first parameter to unsigned char. * sysdeps/generic/strcasestr.c [_LIBC] (TOLOWER): Likewise.
2004-03-24Update.Ulrich Drepper
2004-03-24 Jakub Jelinek <jakub@redhat.com> * stdlib/strtod_l.c (INTERNAL (__STRTOF)): Clear the rest of retval, not just one limb if RETURN_LIMB_SIZE > 2. Fix shifting up if RETURN_LIMB_SIZE > 2. * stdio-common/printf_fp.c (__printf_fp): For IEEE quad long double on 32-bit architectures reserve 8 limbs instead of 4.
2004-03-24(really_getpid): Reorganize code to avoid warning.Ulrich Drepper
2004-03-24(__pthread_attr_setaffinity_old): Remove const.Andreas Jaeger
2004-03-24Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/smp.h: New file. * sysdeps/unix/sysv/linux/sh/smp.h: New file. * init.c: Define __is_smp. (__pthread_initialize_minimal_internal): Call is_smp_system to initialize __is_smp. * pthreadP.h: Declare __is_smp. Define MAX_ADAPTIVE_COUNT is necessary. * pthread_mutex_init.c: Add comment regarding __spins field. * pthread_mutex_lock.c: Implement adaptive mutex type. * pthread_mutex_timedlock.c: Likewise. * sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_mutex_t): Add __spins field. * sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Define lll_mutex_cond_trylock. * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h: Likewise. Define BUSY_WAIT_NOP. * sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise. * tst-mutex5.c: Add support for testing adaptive mutexes. * tst-mutex7.c: Likewise. * tst-mutex5a.c: New file. * tst-mutex7a.c: New file. * Makefile (tests): Add tst-mutex5a and tst-mutex7a.
2004-03-24Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.S (__lll_mutex_timedlock_wait): Preserve r8 and r9 since the vgettimeofday call miht destroy the content.
2004-03-24Update.Ulrich Drepper
2004-03-23 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_pread, __NR_pwrite): Define to __NR_p{read,write}64 if not defined. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (__NR_pread, __NR_pwrite): Define to __NR_p{read,write}64 if not defined instead of defining it the other way around. * sysdeps/unix/sysv/linux/alpha/syscalls.list: Move common syscalls for 64bit arches to sysdeps/unix/sysv/linux/wordsize-64/syscalls.list. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/alpha/pread64.c: Removed. * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Removed. * sysdeps/unix/sysv/linux/alpha/glob64.c: Removed. * sysdeps/unix/sysv/linux/alpha/truncate64.c: Removed. * sysdeps/unix/sysv/linux/alpha/xstat64.c: Removed. * sysdeps/unix/sysv/linux/alpha/pwrite64.c: Removed. * sysdeps/unix/sysv/linux/alpha/posix_fadvise.c: Removed. * sysdeps/unix/sysv/linux/alpha/mmap64.c: Removed. * sysdeps/unix/sysv/linux/alpha/fxstat64.c: Removed. * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Removed. * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: Removed. * sysdeps/unix/sysv/linux/alpha/sendfile64.c: Removed. * sysdeps/unix/sysv/linux/alpha/lxstat64.c: Removed. * sysdeps/unix/sysv/linux/alpha/posix_fadvise64.c: Removed. * sysdeps/unix/sysv/linux/alpha/statfs64.c: Removed. * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/posix_fadvise.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/posix_fadvise64.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: Removed. * sysdeps/unix/sysv/linux/powerpc/powerpc64/glob64.c: Removed. * sysdeps/unix/sysv/linux/powerpc/powerpc64/truncate64.c: Removed. * sysdeps/unix/sysv/linux/powerpc/powerpc64/xstat64.c: Removed. * sysdeps/unix/sysv/linux/powerpc/powerpc64/posix_fadvise.c: Removed. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fxstat64.c: Removed. * sysdeps/unix/sysv/linux/powerpc/powerpc64/ftruncate64.c: Removed. * sysdeps/unix/sysv/linux/powerpc/powerpc64/lxstat64.c: Removed. * sysdeps/unix/sysv/linux/powerpc/powerpc64/posix_fadvise64.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/pread64.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/glob64.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/xstat64.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/pwrite64.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/posix_fadvise.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat64.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/sendfile64.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat64.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/posix_fadvise64.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: Removed. * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: Removed. * sysdeps/unix/sysv/linux/ia64/pread64.c: Removed. * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: Removed. * sysdeps/unix/sysv/linux/ia64/glob64.c: Removed. * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: Removed. * sysdeps/unix/sysv/linux/ia64/truncate64.c: Removed. * sysdeps/unix/sysv/linux/ia64/xstat64.c: Removed. * sysdeps/unix/sysv/linux/ia64/pwrite64.c: Removed. * sysdeps/unix/sysv/linux/ia64/getdents64.c: Removed. * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Removed. * sysdeps/unix/sysv/linux/ia64/lxstat.c: Removed. * sysdeps/unix/sysv/linux/ia64/readdir.c: Removed. * sysdeps/unix/sysv/linux/ia64/posix_fadvise.c: Removed. * sysdeps/unix/sysv/linux/ia64/mmap64.c: Removed. * sysdeps/unix/sysv/linux/ia64/xstat.c: Removed. * sysdeps/unix/sysv/linux/ia64/fxstat64.c: Removed. * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: Removed. * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: Removed. * sysdeps/unix/sysv/linux/ia64/sendfile64.c: Removed. * sysdeps/unix/sysv/linux/ia64/getdents.c: Removed. * sysdeps/unix/sysv/linux/ia64/lxstat64.c: Removed. * sysdeps/unix/sysv/linux/ia64/posix_fadvise64.c: Removed. * sysdeps/unix/sysv/linux/ia64/readdir64.c: Removed. * sysdeps/unix/sysv/linux/ia64/fxstat.c: Removed. * sysdeps/unix/sysv/linux/ia64/statfs64.c: Removed. * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: Removed. * sysdeps/unix/sysv/linux/x86_64/pread64.c: Removed. * sysdeps/unix/sysv/linux/x86_64/getrlimit64.c: Removed. * sysdeps/unix/sysv/linux/x86_64/glob64.c: Removed. * sysdeps/unix/sysv/linux/x86_64/readdir64_r.c: Removed. * sysdeps/unix/sysv/linux/x86_64/truncate64.c: Removed. * sysdeps/unix/sysv/linux/x86_64/xstat64.c: Removed. * sysdeps/unix/sysv/linux/x86_64/pwrite64.c: Removed. * sysdeps/unix/sysv/linux/x86_64/getdents64.c: Removed. * sysdeps/unix/sysv/linux/x86_64/readdir_r.c: Removed. * sysdeps/unix/sysv/linux/x86_64/lxstat.c: Removed. * sysdeps/unix/sysv/linux/x86_64/readdir.c: Removed. * sysdeps/unix/sysv/linux/x86_64/posix_fadvise.c: Removed. * sysdeps/unix/sysv/linux/x86_64/mmap64.c: Removed. * sysdeps/unix/sysv/linux/x86_64/xstat.c: Removed. * sysdeps/unix/sysv/linux/x86_64/fxstat64.c: Removed. * sysdeps/unix/sysv/linux/x86_64/setrlimit64.c: Removed. * sysdeps/unix/sysv/linux/x86_64/ftruncate64.c: Removed. * sysdeps/unix/sysv/linux/x86_64/sendfile64.c: Removed. * sysdeps/unix/sysv/linux/x86_64/getdents.c: Removed. * sysdeps/unix/sysv/linux/x86_64/lxstat64.c: Removed. * sysdeps/unix/sysv/linux/x86_64/posix_fadvise64.c: Removed. * sysdeps/unix/sysv/linux/x86_64/readdir64.c: Removed. * sysdeps/unix/sysv/linux/x86_64/fxstat.c: Removed. * sysdeps/unix/sysv/linux/x86_64/statfs64.c: Removed. * sysdeps/unix/sysv/linux/x86_64/fstatfs64.c: Removed. * sysdeps/unix/sysv/linux/alpha/Implies: New file. * sysdeps/unix/sysv/linux/alpha/getdents64.c: New file. * sysdeps/unix/sysv/linux/s390/s390-64/Implies: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/Implies: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: New file. * sysdeps/unix/sysv/linux/sparc/sparc64/Implies: New file. * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/statvfs64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/xstat64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/fxstat64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/sendfile64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/lxstat64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: New file. * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/statfs64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/fstatfs64.c: New file. * sysdeps/unix/sysv/linux/ia64/Implies: New file. * sysdeps/unix/sysv/linux/x86_64/Implies: New file.
2004-03-23Update.Ulrich Drepper
2004-03-23 Ulrich Drepper <drepper@redhat.com> * sysdeps/ia64/pt-machine.h (BUSY_WAIT_NOP): Define. * sysdeps/x86_64/pt-machine.h (BUSY_WAIT_NOP): Likewise.
2004-03-23Update.Ulrich Drepper
2004-03-23 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_mutex_trylock): Remove unnecessary setne instruction.
2004-03-22(__pthread_getaffinity_new): Use INT_MAX instead of UINT_MAX.Ulrich Drepper
2004-03-20* sysdeps/unix/sysv/linux/pthread_setaffinity.c Andreas Jaeger
(__pthread_setaffinity_old): Fix interface. * sysdeps/unix/sysv/linux/pthread_getaffinity.c (__pthread_getaffinity_old): Likewise. * sysdeps/unix/sysv/linux/pthread_setaffinity.c (__pthread_setaffinity_new): Remove duplicate declaration. 2004-03-20 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/pthread_setaffinity.c (__pthread_setaffinity_old): Fix interface. * sysdeps/unix/sysv/linux/pthread_getaffinity.c (__pthread_getaffinity_old): Likewise. * sysdeps/unix/sysv/linux/pthread_setaffinity.c (__pthread_setaffinity_new): Remove duplicate declaration.
2004-03-20Update.Ulrich Drepper
2004-03-17 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_CLONE_THREAD_FLAGS ): Define for newer SH kernel. (__ASSUME_TGKILL, __ASSUME_UTIMES): Likewise. * sysdeps/unix/sysv/linux/sh/socket.S: Add unwind information.