aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-06-06 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Fix typo in conversion.Richard Henderson
* sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Fix typo in conversion.
2003-06-06 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Use ↵Richard Henderson
and require CFI assembler directives. * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise. 2003-06-05 Richard Henderson <rth@redhat.com> * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Use and require CFI assembler directives. * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2003-06-06 * include/libc-symbols.h (symbol_set_declare): Use arrays of ↵Richard Henderson
unspecified size. 2003-06-04 Richard Henderson <rth@redhat.com> * include/libc-symbols.h (symbol_set_declare): Use arrays of unspecified size.
2003-06-06Update.Ulrich Drepper
2003-06-04 Jakub Jelinek <jakub@redhat.com> * config.make.in (ASFLAGS-config): New. * Makeconfig (ASFLAGS): Append $(ASFLAGS-config). * configure.in (libc_cv_as_noexecstack): New check. (ASFLAGS_config): Substitute. 2003-06-04 Jakub Jelinek <jakub@redhat.com> * sysdeps/i386/fpu/bits/mathinline.h (log1p, asinh, acosh, atanh, hypot, logb): Protect with #ifdef __FAST_MATH__. 2003-06-04 Thorsten Kukuk <kukuk@suse.de> * sysdeps/i386/fpu/bits/mathinline.h (ldexpf, ldexpl): Protect with #ifdef __FAST_MATH__. _POSIX_ prefix.
2003-06-05Update.Ulrich Drepper
2003-06-05 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h (pthread_rwlock_t): Change type of __writer element to int. * sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise. * sysdeps/i386/tcb-offsets.sym: Replace SELF entry with TID entry. * sysdeps/x86_64/tcb-offsets.sym: Likewise. * pthread_rwlock_trywrlock.c: Store TID not self pointer in __writer. Compare with TID to determine deadlocks. * sysdeps/pthread/pthread_rwlock_rdlock.c: Likewise. * sysdeps/pthread/pthread_rwlock_timedrdlock.c: Likewise. * sysdeps/pthread/pthread_rwlock_timedwrlock.: Likewise. * sysdeps/pthread/pthread_rwlock_wrlock.c: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: Likewise. * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Likewise. * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: Likewise. * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: Likewise. * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Likewise. * Makefile (tests): Add tst-rwlock12. * tst-rwlock12.c: New file.
2003-06-05Test for inter-process rwlocks.Ulrich Drepper
2003-06-05* sysdeps/unix/sysv/linux/lowlevellock.c (__lll_lock_wait, Jakub Jelinek
__lll_timedlock_wait, lll_unlock_wake_cb, __lll_timedwait_tid): Remove bogus hidden_proto. * sysdeps/unix/sysv/linux/s390/libc-lowlevellock.c (___lll_lock): Likewise. * sysdeps/unix/sysv/linux/s390/lowlevellock.c (___lll_lock, lll_unlock_wake_cb, ___lll_timedwait_tid): Likewise. * sysdeps/unix/sysv/linux/s390/lowlevelmutex.c (___lll_mutex_lock, ___lll_mutex_timedlock): Likewise. 2003-06-05 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/lowlevellock.c (__lll_lock_wait, __lll_timedlock_wait, lll_unlock_wake_cb, __lll_timedwait_tid): Remove bogus hidden_proto. * sysdeps/unix/sysv/linux/s390/libc-lowlevellock.c (___lll_lock): Likewise. * sysdeps/unix/sysv/linux/s390/lowlevellock.c (___lll_lock, lll_unlock_wake_cb, ___lll_timedwait_tid): Likewise. * sysdeps/unix/sysv/linux/s390/lowlevelmutex.c (___lll_mutex_lock, ___lll_mutex_timedlock): Likewise.
2003-06-04Regenerated.Ulrich Drepper
2003-06-04Update.Ulrich Drepper
2003-06-04 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S (__pthread_cond_signal): Add some code to eventually handle cond_lock!=0.
2003-06-04Update.Ulrich Drepper
2003-06-03 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/glob.c [HAVE_D_TYPE] (glob_in_dir): Also allow DT_LNK entries if GLOB_ONLYDIR is set [PR libc/5043]. * posix/globtest.sh: Adjust for this change.
2003-06-03Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/ifaddrs.c (netlink_open): Call getsockname to get the actual PID value used in the records passed up. (getifaddrs): Don't initialize nh.pid here. 2003-06-02 Ulrich Drepper <drepper@redhat.com>
2003-06-03Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/ifaddrs.c (netlink_receive): Minor optimization.
2003-06-03Update.Ulrich Drepper
* po/zh_CN.po: Update from translation team.
2003-06-02Update.Ulrich Drepper
2003-06-02 Ulrich Drepper <drepper@redhat.com> * posix/getconf.c (main): Also recognize names without the __POSIX_ prefix. * elf/Makefile (CFLAGS-dl-lookup.c): Define.
2003-06-02Update.Ulrich Drepper
2003-06-02 Bernd Schmidt <bernds@redhat.com> * sysdeps/i386/fpu/bits/mathinline.h (sqrt, __sqrtl, ldexp, ldexpf, ldexpl): Only define if __FAST_MATH__.
2003-06-02(sqrt, __sqrtl, ldexp, ldexpf, ldexpl): Only define if __FAST_MATH__.Ulrich Drepper
2003-06-02Replace hard-coded offsets into struct sigcontext with generated file.Roland McGrath
* sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: New file. * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir) = stdlib] (gen-as-const-headers): Add it. * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: Include it instead of defining SC_* macros here.
2003-06-02* sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PID): Remove.Roland McGrath
2003-06-02* sysdeps/i386/dl-machine.h: Include <sysdep.h>.Roland McGrath
2003-06-022003-06-01 Jakub Jelinek <jakub@redhat.com>Roland McGrath
* sysdeps/i386/dl-machine.h: Include <sysdep.h>.
2003-06-01Update.Ulrich Drepper
* test-skeleton.c (main): Request getopt to not reorder the command line.
2003-06-01Update.Ulrich Drepper
2003-06-01 Ulrich Drepper <drepper@redhat.com> * elf/Makefile (CFLAGS-dl-runtime.c): Define. * wcsmbs/wcpncpy.c (__wcpncpy): Fix broken implementation to match stpncpy.
2003-06-01Update.Ulrich Drepper
2003-05-31 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (SA_NOCLDWAIT): Define.
2003-06-01Update.Ulrich Drepper
2003-05-31 Jakub Jelinek <jakub@redhat.com> * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_plt_conflict): New function. (elf_machine_rela) <case R_PPC64_JMP_SLOT>: Avoid RESOLVE_CONFLICT_FIND_MAP. If RESOLVE_CONFLICT_FIND_MAP is defined, call elf_machine_plt_conflict instead of elf_machine_fixup_plt. * sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Add CFI directives. * csu/Makefile: Fix Makefile warnings regarding Scrt1.o.
2003-05-31Update.Ulrich Drepper
* csu/Makefile: Fix Makefile warnings regarding Scrt1. * sysdeps/ia64/elf/initfini.c (gmon_initializer): Mark with
2003-05-31Update.Ulrich Drepper
* Makefile (tests): Add tst-sem8 and tst-sem9. * tst-sem8.c: New file. * tst-sem9.c: New file. * sem_open.c: Fix creation of in_use record if the file exists but no internal record.
2003-05-31Update.Ulrich Drepper
2003-05-31 Ulrich Drepper <drepper@redhat.com> * libio/fileops.c (_IO_file_open): Don't mark as inline. * sysdeps/ia64/elf/initfini.c ((gmon_initializer): Mark with attribute used.
2003-05-31Update.Ulrich Drepper
2003-05-30 Ulrich Drepper <drepper@redhat.com> * scripts/config.guess: Update from master copy. * scripts/config.sub: Likewise.
2003-05-30Update.Ulrich Drepper
* tst-rwlock6.c (do_test): Use correct format specifier. * sysdeps/unix/sysv/linux/i386/i486/lowlevelmutex.S (__lll_mutex_lock_wait): Replace one memory operation with one register operation. * sysdeps/unix/sysv/linux/x86_64/lowlevelmutex.S (__lll_mutex_lock_wait): Likewise.
2003-05-30(__lll_mutex_lock_wait): Replace one memory operation with one register ↵Ulrich Drepper
operation.
2003-05-30Update.Andreas Jaeger
2003-05-30 Guido Guenther <agx@sigxcpu.org> * sysdeps/mips/mips64/bsd-_setjmp.S: Include <sys/asm.h> for SETUP_GP64 and friends. * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Fix register names in internal_syscall{6,7}. * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/mips/pread.c [_MIPS_SIM == _ABI64]: Fix number of syscall arguments. * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2003-05-302003-05-30 Guido Guenther <agx@sigxcpu.org>Andreas Jaeger
* sysdeps/mips/mips64/bsd-_setjmp.S: Include <sys/asm.h> for SETUP_GP64 and friends. * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Fix register names in internal_syscall{6,7}. * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/mips/pread.c [_MIPS_SIM == _ABI64]: Fix number of syscall arguments. * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2003-05-30Update.Ulrich Drepper
2003-05-30 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (__lll_mutex_cond_lock): Add one to value parameter of __lll_lock_wait to reflect reality in the futex syscall. * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (lll_mutex_cond_lock): Likewise.
2003-05-30(lll_mutex_cond_lock): Add one to value parameter of __lll_lock_wait to ↵Ulrich Drepper
reflect reality in the futex syscall.
2003-05-30Update.Andreas Jaeger
2003-05-30 Andreas Jaeger <aj@suse.de> * sysdeps/x86_64/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Add CFI directives. * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Add CFI directives. * sysdeps/generic/sysdep.h: Add CFI_* macros for C files. * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER): Add CFI directives.
2003-05-30(SAVESTK_0): Add CFI directives. Andreas Jaeger
(SAVESTK_3): Likewise. (SAVESTK_5): Likewise. (RESTSTK_0): Likewise. (RESTSTK_3): Likewise. (RESTSTK_5): Likewise. 2003-05-30 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (SAVESTK_0): Add CFI directives. (SAVESTK_3): Likewise. (SAVESTK_5): Likewise. (RESTSTK_0): Likewise. (RESTSTK_3): Likewise. (RESTSTK_5): Likewise.
2003-05-30* sysdeps/unix/sysv/linux/s390/lowlevellock.h (__lll_mutex_cond_lock):Jakub Jelinek
New function. (lll_mutex_cond_lock): Define.
2003-05-30(__lll_mutex_cond_lock): New function. (lll_mutex_cond_lock): Define.Jakub Jelinek
2003-05-30Update.Ulrich Drepper
* Makefile (tests): Add tst-signal6. * tst-signal6.c: New file.
2003-05-30Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/s390/lowlevellock.h (__lll_mutex_unlock_force): New function (lll_mutex_unlock_force): Use __lll_mutex_unlock_force.
2003-05-30Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/ia64/lowlevellock.h (__lll_mutex_unlock_force): New function. (lll_mutex_unlock_force): Use __lll_mutex_unlock_force. * tst-rwlock7.c (do_test): Use correct format specifier.
2003-05-30Update.Ulrich Drepper
2003-05-30 Jakub Jelinek <jakub@redhat.com> * sysdeps/powerpc/powerpc32/elf/start.S: Make code compilable with SHARED.
2003-05-30Update.Ulrich Drepper
2003-05-29 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue): Find break parameter in correct asm argument. 2003-05-30 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t): Add __mutex. * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (FUTEX_REQUEUE, lll_futex_requeue, lll_mutex_unlock_force): Define.
2003-05-29Update.Ulrich Drepper
2003-05-28 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/sh/tcb-offsets.sym: Define MUTEX_FUTEX. * sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h (pthread_cond_t): Add __mutex field. * sysdeps/unix/sysv/linux/sh/lowlevellock.h (SYSCALL_WITH_INST_PAD): Define. (lll_futex_wait, lll_futex_wake): Define. * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: New file. * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Try using FUTEX_REQUEUE instead of FUTEX_WAIT. * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise. * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Remember mutex which was used in condvar structure. Call __pthread_mutex_cond_lock instead of __pthread_mutex_lock_internal. * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise. * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Don't include tcb-offsets.h. Read wakeup value in locked region. Use the value of gbr register as THREAD_ID. * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise. * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise. * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise. * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove futex related macros.
2003-05-29Update.Ulrich Drepper
2003-05-28 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/pthread_cond_broadcast.c (__pthread_cond_broadcast): Fix typo: MAX_INT -> INT_MAX.
2003-05-28Update.Ulrich Drepper
* sysdeps/x86_64/elf/start.S: Likewise.
2003-05-28* Makerules: Always use -MP together with -MD.Roland McGrath
(sed-remove-dotot): Substitute $(..) also at start of line. ($(stdio_lim:h=st)): Use -MD instead of SUNPRO_DEPENDENCIES. Generated defines with a single compiler call. Use $(sed-remove-dotdot). * mach/Makefile ($(objpfx)mach-syscalls.mk): Use -MD instead of DEPENDENCIES_OUTPUT, and use $(sed-remove-objpfx). * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Use -MD instead of SUNPRO_DEPENDENCIES, and use $(sed-remove-objpfx). * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h): Likewise.
2003-05-282003-05-11 Andreas Schwab <schwab@suse.de>Roland McGrath
* Makerules: Always use -MP together with -MD. (sed-remove-dotot): Substitute $(..) also at start of line. ($(stdio_lim:h=st)): Use -MD instead of SUNPRO_DEPENDENCIES. Generated defines with a single compiler call. Use $(sed-remove-dotdot). * mach/Makefile ($(objpfx)mach-syscalls.mk): Use -MD instead of DEPENDENCIES_OUTPUT, and use $(sed-remove-objpfx). * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Use -MD instead of SUNPRO_DEPENDENCIES, and use $(sed-remove-objpfx). * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h): Likewise.
2003-05-28Make code compilable with SHARED.Ulrich Drepper
2003-05-28* malloc/malloc.h [! __GNUC__] (__const): Define if undefined.Roland McGrath