aboutsummaryrefslogtreecommitdiff
path: root/nptl/ChangeLog
AgeCommit message (Collapse)Author
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-22Update.Ulrich Drepper
2004-03-22 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c (__getpagesize): Avoid warning about writing into read-only memory. * string/Makefile (routines): Add xpg-strerror. * string/string.h (strerror_r): If __USE_XOPEN2K but not __USE_GNU, redirect strerror_r to __xpg_strerror_r. * string/Versions (libc): Add __xpg_strerror_r@@GLIBC_2.3.4. * sysdeps/generic/xpg-strerror.c: New file. * sysdeps/mach/xpg-strerror.c: New file.
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.
2004-03-20Update.Ulrich Drepper
2004-03-20 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (CENABLE): Save the return value to a safe register. (CDISABLE): Set the function argument correctly.
2004-03-19Update.Ulrich Drepper
2004-03-18 Jakub Jelinek <jakub@redhat.com> * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Remove hwcap variable and weak_extern for _dl_hwcap. (_DL_HWCAP_TLS_MASK): Define. (HWCAP_CHECK): Fix checking of non-platform hwcap bits. Use lib->osversion instead of cache_new->libs[middle].osversion. * stdio-common/asprintf.c: Remove USE_IN_LIBIO conditionals. * stdio-common/dprintf.c: Likewise. * stdio-common/fprintf.c: Likewise. * stdio-common/getline.c: Likewise. * stdio-common/getw.c: Likewise. * stdio-common/perror.c: Likewise. * stdio-common/printf-prs.c: Likewise. * stdio-common/printf.c: Likewise. * stdio-common/printf_size.c: Likewise. * stdio-common/psignal.c: Likewise. * stdio-common/putw.c: Likewise. * stdio-common/scanf.c: Likewise. * stdio-common/snprintf.c: Likewise. * stdio-common/sprintf.c: Likewise. * stdio-common/sscanf.c: Likewise. * stdio-common/tstgetln.c: Likewise. * stdio-common/vfprintf.c: Likewise. 2004-03-18 Paul Eggert <eggert@cs.ucla.edu> * posix/getopt.h (__GNUC_PREREQ) [!defined __THROW]: Define if not defined, fixing a typo (it used to be defined if __GNUC__ was not defined).
2004-03-18* elf/ldconfig.c (parse_conf_include): New function.Roland McGrath
(parse_conf): Call it to parse lines starting with "include". Remaining words are glob patterns for more config files to read. Take additional bool argument to disable opt_chroot processing. (main): Update caller.
2004-03-15Update.Ulrich Drepper
* stdio-common/vfscanf.c: Simplify error handling macros. Use direct locale access functions.
2004-03-13 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Propagate ↵Richard Henderson
oldvalue from CENABLE to CDISABLE. 2004-03-12 Richard Henderson <rth@redhat.com> * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Propagate oldvalue from CENABLE to CDISABLE.
2004-03-12Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/bits/local_lim.h: Define HOST_NAME_MAX.
2004-03-11 * sysdeps/alpha/tcb-offsets.sym (PID_OFFSET): New. * ↵Richard Henderson
sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Save/restore PID. * sysdeps/unix/sysv/linux/alpha/vfork.S: New file. 2004-03-11 Richard Henderson <rth@redhat.com> * sysdeps/alpha/tcb-offsets.sym (PID_OFFSET): New. * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Save/restore PID. * sysdeps/unix/sysv/linux/alpha/vfork.S: New file.
2004-03-11Update.Ulrich Drepper
2004-03-11 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S (__vfork): Use jgnl instead of jnl instruction to jump to SYSCALL_ERROR_LABEL. * sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S (__vfork): Likewise. 2004-03-11 Jakub Jelinek <jakub@redhat.com> * forward.c (__pthread_cond_broadcast_2_0, __pthread_cond_destroy_2_0, __pthread_cond_init_2_0, __pthread_cond_signal_2_0, __pthread_cond_wait_2_0, __pthread_cond_timedwait_2_0): Use return 0 as defaction instead of 0.
2004-03-11Update.Ulrich Drepper
2004-03-11 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/sh/tcb-offsets.sym: Add PID. * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Properly handle PID cache. * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
2004-03-11Update.Ulrich Drepper
2004-03-10 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: No need to include <sysdep-cancel.h>, vfork is no cancellation point. * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: Likewise.
2004-03-11Update.Ulrich Drepper
2004-03-11 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S (__novec_swapcontext): Branch to novec_* labels.
2004-03-10Update.Ulrich Drepper
2004-03-10 Ulrich Drepper <drepper@redhat.com> * posix/getopt.c (_): Don't define here for glibc.
2004-03-10Update.Ulrich Drepper
2004-03-10 Jakub Jelinek <jakub@redhat.com> * include/libc-symbols.h [__ASSEMBLY__] (compat_text_section, compat_data_section): Define. * sysdeps/unix/sysv/linux/alpha/adjtime.c (ADJTIME): Add attribute_compat_text_section. * sysdeps/unix/sysv/linux/alpha/wordexp.c (__old_wordexp): Likewise. * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob, __old_globfree): Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/chown.c (__chown_is_lchown): Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c (__posix_fadvise64_l32): Likewise. * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c (__posix_fadvise64_l32): Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c (__old_semctl): Likewise. * sysdeps/unix/sysv/linux/semctl.c (__old_semctl): Likewise. * sysdeps/unix/sysv/linux/posix_fadvise64.c (__posix_fadvise64_l32): Likewise. * sysdeps/unix/sysv/linux/shmctl.c (__old_shmctl): Likewise. * hurd/compat-20.c (_hurd_proc_init_compat_20): Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S (__swapcontext, __novec_swapcontext): Use END instead of PSEUDO_END. (__novec_swapcontext, __swapcontext_stub): Add compat_text_section. * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S (__makecontext_stub): Likewise. (__novec_makecontext): Likewise. Fix name in END () to match function name. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S (__setcontext): Use END instead of PSEUDO_END. (__novec_setcontext): Add compat_text_section. Use END instead of PSEUDO_END, fix the name in END () to match function name. * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S (__getcontext, __novec_getcontext): Use END instead of PSEUDO_END. (__novec_getcontext, __getcontext_stub): Add compat_text_section. 2004-03-10 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/sh/dl-machine.h: Don't use GL macro if not appropriate. (COPY_UNALIGNED_WORD): Remove cast used as lvalue. 2004-03-10 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/dl-procinfo.h (HWCAP_IMPORTANT): Remove mmx, add sse2.
2004-03-10[BZ #16]Ulrich Drepper
Update. 2004-03-09 Ulrich Drepper <drepper@redhat.com> * stdlib/qsort.c (_quicksort): Initialize first stack element [BZ #16]. 2004-03-05 Jakub Jelinek <jakub@redhat.com> * posix/regexec.c (regexec): Return with error on unknown eflags. Replace weak_alias with versioned_symbol. (__compat_regexec): New. * posix/Versions (libc): Add regexec@GLIBC_2.3.4.
2004-03-10Update.Ulrich Drepper
2004-03-09 Richard Henderson <rth@redhat.com> * math/math.h (isgreater, isgreaterequal, isless, islessequal, islessgreater, isunordered): Use builtins if available. * sysdeps/i386/fpu/bits/mathinline.h: Don't define via builtins. * sysdeps/m68k/fpu/bits/mathinline.h: Likewise. * sysdeps/powerpc/fpu/bits/mathinline.h: Likewise. * sysdeps/sparc/fpu/bits/mathinline.h: Likewise. * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise. * sysdeps/alpha/fpu/bits/mathinline.h (isgreater, isgreaterequal, isless, islessequal, islessgreater): Remove; use default. (isunordered): Convert inputs to double.
2004-03-10Update.Ulrich Drepper
2004-02-09 Jakub Jelinek <jakub@redhat.com> * posix/Makefile (tests): Add tst-vfork2. * posix/tst-vfork1.c (do_test): Fix comment. * posix/tst-vfork2.c: New test.
2004-03-09Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/i386/vfork.S: If SAVE_PID and RESTORE_PID are defined, use it. * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2004-03-09Update.Ulrich Drepper
* sysdeps/i386/tcb-offsets.sym: Add PID. * sysdeps/unix/sysv/linux/i386/vfork.S: New file.
2004-03-09Update.Ulrich Drepper
2004-03-08 Ulrich Drepper <drepper@redhat.com> * nptl/sysdeps/i386/tcb-offsets.sym: Add PID.
2004-03-08Update.Ulrich Drepper
2004-03-08Update.Ulrich Drepper
2004-03-08 Ulrich Drepper <drepper@redhat.com> * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow): Don't use INTUSE with _dl_signal_error. 2004-03-08 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/powerpc/powerpc64/dl-machine.c(_dl_reloc_overflow): Replace INTUSE with GLRO.
2004-03-07Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_init): Call _dl_lookup_symbol_x not _dl_lookup_symbol.
2004-03-07Update.Ulrich Drepper
2004-03-07 Ulrich Drepper <drepper@redhat.com> * tst-once4.c: Remove unnecessary macro definition. * tst-mutex7.c (do_test): Limit thread stack size. * tst-once2.c (do_test): Likewise. * tst-tls3.c (do_test): Likewise. * tst-tls1.c (do_test): Likewise. * tst-signal3.c (do_test): Likewise. * tst-kill6.c (do_test): Likewise. * tst-key4.c (do_test): Likewise. * tst-join4.c (do_test): Likewise. * tst-fork1.c (do_test): Likewise. * tst-context1.c (do_test): Likewise. * tst-cond2.c (do_test): Likewise. * tst-cond10.c (do_test): Likewise. * tst-clock2.c (do_test): Likewise. * tst-cancel10.c (do_test): Likewise. * tst-basic2.c (do_test): Likewise. * tst-barrier4.c (do_test): Likewise.
2004-03-05Update.Ulrich Drepper
* malloc/malloc.c: Don't call exported interface in the implementation.
2004-03-01Update.Ulrich Drepper
2004-03-01 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S (__pthread_cond_timedwait): Optimize wakeup test. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S (__pthread_cond_wait): Likewise. * sysdeps/pthread/pthread_cond_wait.c (__pthread_cond_wait): Likewise. * sysdeps/pthread/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
2004-03-01Update.Ulrich Drepper
2004-02-29 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S (__lll_mutex_lock_wait): Optimize a bit more. Just one copy of the atomic instruction needed. * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S (__lll_mutex_lock_wait): Likewise.
2004-02-28Update.Ulrich Drepper
2004-02-27 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/sysconf.c: Include stdlib.h.
2004-02-27Update.Ulrich Drepper
2004-02-27 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/createthread.c (create_thread): Remove use of CLONE_STOPPED. We cannot use SIGCONT which means CLONE_STOPPED needs to be implemented differently to be useful.
2004-02-27Update.Ulrich Drepper
* pthread_attr_setschedparam.c: Don't test priority against limits here. Set ATTR_FLAG_SCHED_SET flag. * pthread_attr_setschedpolicy.c: Set ATTR_FLAG_POLICY_SET flag. * pthread_create.c (__pthread_create_2_1): Copy scheduling attributes from parent thread to child. If attribute is used and scheduling parameters are not inherited, copy parameters from attribute or compute them. Check priority value. * pthread_getschedparam.c: If the parameters aren't known yet get them from the kernel. * pthread_setschedparam.c: Set ATTR_FLAG_SCHED_SET and ATTR_FLAG_POLICY_SET flag for thread. * sysdeps/unix/sysv/linux/internaltypes.h: Define ATTR_FLAG_SCHED_SET and ATTR_FLAG_POLICY_SET. * sysdeps/pthread/createthread.c: Use tgkill if possible.
2004-02-27Update.Ulrich Drepper
2004-02-26 Ulrich Drepper <drepper@redhat.com> * nss/getXXbyYY_r.c: Pass result also to the nscd_* function. Don't set *result here. * nscd/nscd_proto.h: Add new argument for pointer to result pointer to all nscd_* functions. * nscd/nscd_getgr_r.c (nscd_getgr_r): Add new parameter. Store result pointer in the address provided by the new parameter if successful. Otherwise store NULL. Return zero if no entry found. (__nscd_getgrnam_r, __nscd_getgrgid_r): Add new parameter and pass it on. * nscd/nscd_gethst_r.c (nscd_gethst_r): Add new parameter. Store result pointer in the address provided by the new parameter if successful. Otherwise store NULL. Return zero if no entry found. (__nscd_gethostbyname_r, __nscd_gethostbyname2_r, __nscd_gethostbyaddr_r): Add new parameter and pass it on. * nscd/nscd_getpw_r.c (nscd_getpw_r): Add new parameter. Store result pointer in the address provided by the new parameter if successful. Otherwise store NULL. Return zero if no entry found. (__nscd_getpwnam_r, __nscd_getpwuid_r): Add new parameter and pass it on.
2004-02-25Update.Ulrich Drepper
* Makefile (tests-nolibpthread): Add tst-unload. Don't link with libpthread for the files in this list. (CFLAGS-tst-unload): Removed. * tst-unload.c (do_test): Don't use complete path for LIBPHREAD_SO.
2004-02-25Update.Ulrich Drepper
2004-02-25 Ulrich Drepper <drepper@redhat.com> * Makefile: Define sonames for tst-tls5mod, tst-_res1mod1, and tst-_res1mod2.
2004-02-22Update.Ulrich Drepper
2004-02-22 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Pop register content also in case of an overflow in the parameter. Reported by Momchil Velikov <velco@fadata.bg>.
2004-02-21Update.Ulrich Drepper
2004-02-20 Ulrich Drepper <drepper@redhat.com> * tst-cancel9.c (cleanup): Don't print to stderr.
2004-02-20Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/powerpc/ptlongjmp.c [SHARED]: Code only valid for SHARED case. Correct spelling of __vmx_longjmp.
2004-02-20Update.Ulrich Drepper
2004-02-19 Jakub Jelinek <jakub@redhat.com> * sysdeps/sparc/sparc32/bits/atomic.h: Add __make_section_unallocated for .gnu.linkonce.b.__sparc32_atomic_locks section. (__sparc32_atomic_locks): Add __sec_comment at the end of section name.
2004-02-20Update.Ulrich Drepper
2004-02-20 Jakub Jelinek <jakub@redhat.com> * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ulps for the 2003-11-27 atan2 test. * sysdeps/powerpc/fpu/bits/mathinline.h (lrint, lrintf): Protect with #ifndef __powerpc64__. * sysdeps/generic/ldsodefs.h (_dl_argv, _dl_argv_internal): If DL_ARGV_NOT_RELRO defined, don't use attribute_relro. * sysdeps/alpha/dl-machine.h (DL_ARGV_NOT_RELRO): Remove. * sysdeps/ia64/dl-machine.h (DL_ARGV_NOT_RELRO): Remove. * sysdeps/sparc/sparc32/dl-machine.h (DL_ARGV_NOT_RELRO): Remove. * sysdeps/sparc/sparc64/dl-machine.h (DL_ARGV_NOT_RELRO): Remove. * sysdeps/alpha/dl-sysdep.h: New file. * sysdeps/ia64/dl-sysdep.h: New file. * sysdeps/sparc/dl-sysdep.h: New file.
2004-02-20Update.Ulrich Drepper
* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ulps for the 2003-11-27 atan2 test.
2004-02-20Update.Ulrich Drepper
2004-02-19 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/generic/libc-start.c [LIBC_START_DISABLE_INLINE] (STATIC): Define as static. * sysdeps/powerpc/elf/libc-start.c: Define LIBC_START_DISABLE_INLINE because gcc does not allow inline of functions that call setjmp. 2004-02-19 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/powerpc/powerpc64/Makefile: Use -finline-limit. 2004-02-19 Jakub Jelinek <jakub@redhat.com> * elf/rtld.c (_dl_argv): If DL_ARGV_NOT_RELRO defined, don't use attribute_relro for _dl_argv. * sysdeps/alpha/dl-machine.h (DL_ARGV_NOT_RELRO): Define. * sysdeps/ia64/dl-machine.h (DL_ARGV_NOT_RELRO): Define. * sysdeps/sparc/sparc32/dl-machine.h (DL_ARGV_NOT_RELRO): Define. * sysdeps/sparc/sparc64/dl-machine.h (DL_ARGV_NOT_RELRO): Define. vfork instead of fork.
2004-02-19Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S (pthread_barrier_wait): After wakeup, release lock only when the last thread stopped using the barrier object. * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S (pthread_barrier_wait): Likewise. * sysdeps/pthread/pthread_barrier_wait.c (pthread_barrier_wait): Likewise. * Makefile (tests): Add tst-barrier4. * tst-barrier4.c: New file.
2004-02-19Update.Ulrich Drepper
2004-02-18 Carlos O'Donell <carlos@baldric.uwo.ca> * test-skeleton.c (main): If set, use environment variable TIMEOUTFACTOR to scale test TIMEOUT.
2004-02-18Update.Ulrich Drepper
2004-02-18 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S (__pthread_rwlock_unlock): Access WRITER as 32-bit value. * Makefile (tests): Add tst-rwlock13. * tst-rwlock13.c: New test.