aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-02-20 * sysdeps/alpha/soft-fp/Makefile (CPPFLAGS): Add soft-fp include ↵Richard Henderson5-5/+21
to math subdir. * sysdeps/alpha/soft-fp/e_sqrtl.c: Don't use local-soft-fp.h. (__ieee754_sqrtl): Add _round local variable. * sysdeps/unix/sysv/linux/alpha/fpu/Implies: Remove. * sysdeps/unix/sysv/linux/alpha/fxstatat.c: Fix hidden defs. 2006-02-20 Richard Henderson <rth@redhat.com> * sysdeps/alpha/soft-fp/Makefile (CPPFLAGS): Add soft-fp include to math subdir. * sysdeps/alpha/soft-fp/e_sqrtl.c: Don't use local-soft-fp.h. (__ieee754_sqrtl): Add _round local variable. * sysdeps/unix/sysv/linux/alpha/fpu/Implies: Remove. * sysdeps/unix/sysv/linux/alpha/fxstatat.c: Fix hidden defs.
2006-02-20* hurd/hurd/xattr.h: New file.Roland McGrath14-2/+604
* hurd/xattr.c: New file. * hurd/Makefile (routines): Add it. * sysdeps/mach/hurd/fgetxattr.c: New file. * sysdeps/mach/hurd/flistxattr.c: New file. * sysdeps/mach/hurd/fremovexattr.c: New file. * sysdeps/mach/hurd/fsetxattr.c: New file. * sysdeps/mach/hurd/getxattr.c: New file. * sysdeps/mach/hurd/lgetxattr.c: New file. * sysdeps/mach/hurd/listxattr.c: New file. * sysdeps/mach/hurd/lsetxattr.c: New file. * sysdeps/mach/hurd/removexattr.c: New file. * sysdeps/mach/hurd/setxattr.c: New file.
2006-02-20* string/tester.c (test_strnlen): New function.Roland McGrath2-0/+38
(test_strchr): Call it. (test_strncat): Test lengths where the sign bit is set. (test_strncmp): Likewise.
2006-02-20typoRoland McGrath1-1/+1
* pthreadP.h: Define PTHREAD_MUTEX_INCONSISTENT instead of
2006-02-18* tst-robust1.c: Add second mutex to check that the mutex list isUlrich Drepper2-22/+97
handled correctly.
2006-02-17* include/atomic.h (atomic_and, atomic_or): Define.Ulrich Drepper8-21/+415
2006-02-17* sysdeps/unix/sysv/linux/sh/lowlevellock.h: Add lll_robust_mutex_*cvs/fedora-glibc-20060217T1609Ulrich Drepper3-0/+341
definitions. * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: New file.
2006-02-17* sysdeps/unix/sysv/linux/x86_64/lowlevellock.hUlrich Drepper12-20/+27
(lll_robust_mutex_unlock): Avoid unnecessary wakeups. * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_mutex_unlock): Likewise.
2006-02-15* sysdeps/unix/sysv/linux/sparc/bits/mman.h: Define MADV_DONTFORKUlrich Drepper11-0/+54
and MADV_DOFORK. * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
2006-02-15* sysdeps/unix/sysv/linux/not-cancel.h (__openat_not_cancel,Ulrich Drepper28-208/+1020
__openat64_not_cancel): Remove prototypes. (__openat_nocancel, __openat64_nocancel): New prototypes or defines. (openat_not_cancel, openat_not_cancel_3, openat64_not_cancel, openat64_not_cancel_3): Use them.
2006-02-13* allocatestack.c (allocate_stack): Initialize robust_list.cvs/fedora-glibc-20060213T0650Ulrich Drepper9-46/+96
* init.c (__pthread_initialize_minimal_internal): Likewise. * descr.h (struct xid_command): Pretty printing. (struct pthread): Use __pthread_list_t or __pthread_slist_t for robust_list. Adjust macros. * pthread_create.c (start_thread): Adjust robust_list handling. * phtread_mutex_unlock.c: Don't allow unlocking from any thread but the owner for all robust mutex types. * sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h: Define __pthread_list_t and __pthread_slist_t. Use them in pthread_mutex_t. * sysdeps/pthread/pthread.h: Adjust mutex initializers.
2006-02-12* sysdeps/unix/sysv/linux/i386/not-cancel.h: Define openat_not_cancel,Ulrich Drepper1-0/+5
openat_not_cancel_3, openat64_not_cancel, and openat64_not_cancel_3.
2006-02-12[BZ #2226]Ulrich Drepper19-97/+308
2006-02-12 Ulrich Drepper <drepper@redhat.com> * io/ftw.c: Start using *at functions. * io/ftw64.c: Likewise. * sysdeps/generic/not-cancel.h: Define openat_not_cancel, openat_not_cancel_3, openat64_not_cancel, and openat64_not_cancel_3. * sysdeps/unix/sysv/linux/not-cancel.h: Likewise. * sysdeps/unix/sysv/linux/openat.c: Create separate _nocancel functions. * io/fxstatat.c: Add __fxstatat alias. * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Likewise. * sysdeps/unix/sysv/linux/fxstatat.c: Likewise. Add support for newfstatat syscall. * sysdeps/unix/sysv/linux/i386/fxstatat.c: Add __fxstatat alias. Add support for fstatat64 syscall. * include/sys/stat.h: Declare __fxstatat. * io/fxstatat64.c: Add __fxstatat64 alias. * sysdeps/unix/sysv/linux/fxstatat64.c: Add support for fstatat64 syscall. * dirent/fdopendir.c: Add __fdopendir alias. * sysdeps/unix/fdopendir.c: Likewise. * sysdeps/mach/hurd/fdopendir.c: Likewise. * include/dirent.h: Add __fdopendir declaration. [BZ #2226] * libio/wgenops.c (_IO_wsetb): Use correct size of wide char buffer in FREE_BUF call.
2006-02-08* sysdeps/unix/sysv/linux/bits/sched.h: Declare unshare.Ulrich Drepper5-3/+26
* sysdeps/unix/sysv/linux/Versions [libc, GLIBC_2.4]: Export unshare. * sysdeps/unix/sysv/linux/syscalls.list: Add unshare syscall. * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Add some preprocessor magic so that the compiler won't see the prototypes for the functions we are defining as stubs.
2006-02-08* sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_futex_wait,Ulrich Drepper3-25/+48
lll_futex_timedwait, lll_wait_tid): Add "memory" clobber.
2006-02-05* io/ftw.c (ftw_startup): Use fchdir to return to originalUlrich Drepper2-21/+35
directory for FTW_CHDIR.
2006-02-04* manual/stdio.texi (Formatted Output Functions): Fix make_messagecvs/fedora-glibc-20060204T0758Ulrich Drepper1-0/+5
example. Patch by NIIBE Yutaka <gniibe@m17n.org>.
2006-02-04Fix make_message example.Ulrich Drepper1-1/+2
2006-02-04* structs.def: Add a descriptor for pointer.val field of dtv_t.Roland McGrath3-5/+18
* td_thr_tlsbase.c (td_thr_tlsbase): Extract pointer.val field from DTV slot.
2006-02-03[BZ #2268]Roland McGrath3-5/+18
2006-02-03 Roland McGrath <roland@redhat.com> [BZ #2268] * sysdeps/posix/profil.c (__profil): Use __profile_frequency to choose timer interval, don't assume smallest possible interval is it. * sysdeps/powerpc/fpu/bits/fenvinline.h (fegetround): Make asm volatile.
2006-02-03* stdlib/bits/stdlib-ldbl.h (qecvt, qfcvt, qgcvt, qecvt_r, qfcvt_r):Roland McGrath2-1/+16
Guard with [__USE_SVID || __USE_XOPEN_EXTENDED]. * math/math.h [__LDBL_COMPAT && __USE_ISOC99] (nexttowardl): New prototype. * math/math.h (__nldbl_nexttowardf): Put __THROW before __attribute__ ((__const__)). (__MATHDECL_2): Use __REDIRECT_NTH instead of __REDIRECT followed by __THROW.
2006-02-032006-02-03 Jakub Jelinek <jakub@redhat.com>Roland McGrath1-3/+6
* math/math.h [__LDBL_COMPAT && __USE_ISOC99] (nexttowardl): New prototype. * math/math.h (__nldbl_nexttowardf): Put __THROW before __attribute__ ((__const__)). (__MATHDECL_2): Use __REDIRECT_NTH instead of __REDIRECT followed by __THROW.
2006-02-03* sysdeps/unix/sysv/linux/futimesat.c [__NR_futimesat]cvs/fedora-glibc-20060203T0932Ulrich Drepper2-0/+7
(futimesat): If file is NULL use __futimes. * include/sys/time.h: Declare __futimes.
2006-02-03[__NR_futimesat] (futimesat): If file is NULL use __futimes.Ulrich Drepper1-0/+3
2006-02-02typoRoland McGrath1-1/+1
CFLAGS-rtld-strnlen.os): Likewise.
2006-02-02* sysdeps/unix/sysv/linux/openat.c (__atfct_seterrno): Use the sameRoland McGrath2-15/+8
fstat check for ENOENT that should be EBADF as for ENOTDIR, and also check for missing /proc the same way.
2006-02-02* include/errno.h [__cplusplus]: Avoid extra header magic for C++.Roland McGrath2-1/+3
2006-02-02* manual/install.texi (Tools for Compilation): Require gcc 3.4,Roland McGrath3-22/+31
recommend 4.1, advise 4.0 for powerpc64, and note 4.1 required for powerpc, s390{x,} with new long double. * INSTALL: Regenerated.
2006-02-02* timezone/private.h: Update from tzcode2006a.Roland McGrath6-82/+190
* timezone/scheck.c: Likewise. * timezone/asia: Update from tzdata2006a. * timezone/northamerica: Likewise. * timezone/zone.tab: Likewise.
2006-02-02* sysdeps/powerpc/powerpc64/Makefile (no-special-regs): New variable.Roland McGrath3-8/+29
(CFLAGS-mcount.c): Use it instead of -msoft-float. * sysdeps/powerpc/powerpc64/elf/Makefile (CFLAGS-dl-runtime.os, CFLAGS-dl-lookup.os, CFLAGS-dl-misc.os, CFLAGS-rtld-mempcpy.os, CFLAGS-rtld-memmove.os, CFLAGS-rtld-memchr.os, CFLAGS-rtld-strnlen.os): LIkewise
2006-02-02* sysdeps/ieee754/ldbl-opt/Makefile (sysdep-CFLAGS): Avoid addingRoland McGrath1-0/+5
-mlong-double-128 when it's already there.
2006-02-022006-02-01 Roland McGrath <roland@redhat.com>Roland McGrath1-0/+2
* sysdeps/ieee754/ldbl-opt/Makefile (sysdep-CFLAGS): Avoid adding -mlong-double-128 when it's already there.
2006-02-02* sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_02_known): Likewise.Ulrich Drepper1-0/+1
2006-02-02(intel_02_known): Add some more entries.Ulrich Drepper1-1/+15
2006-02-01* mach/Machrules ($(objpfx)%.uh, $(objpfx)%.__h): Use static patterncvs/fedora-glibc-20060202T0507Roland McGrath2-4/+12
rules for these, not implicit rules. ($(objpfx)%.h): Likewise. Reported by Thomas Schwinge <tschwinge@gnu.org>.
2006-02-01* libio/genops.c: Include <stdbool.h>.Roland McGrath2-0/+5
2006-02-01* sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Use long_double_symbolRoland McGrath3-5/+12
even for libm. * libio/bits/libio-ldbl.h (_IO_vfwscanf, _IO_vfwprintf): Remove __LDBL_REDIR_DECL.
2006-02-01* math/bits/mathcalls.h: Guard __END_NAMESPACE_C99 with theRoland McGrath2-3/+10
same #if condition as corresponding __BEGIN_NAMESPACE_C99. (scalb): Don't define only if __USE_ISOC99.
2006-02-01* sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Fix a typo.Roland McGrath1-0/+5
* sysdeps/s390/fpu/libm-test-ulps: Remove llrint ulps.
2006-02-012006-02-01 Jakub Jelinek <jakub@redhat.com>Roland McGrath2-58/+2
* sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Fix a typo. * sysdeps/s390/fpu/libm-test-ulps: Remove llrint ulps.
2006-02-01* sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): AddUlrich Drepper1-0/+5
some more entries.
2006-02-01(intel_02_known): Add some more entries.Ulrich Drepper1-1/+15
2006-02-01* sysdeps/unix/sysv/linux/alpha/fpu/Implies: New file.cvs/fedora-glibc-20060201T0846Roland McGrath14-15/+142
* sysdeps/alpha/fpu/s_ceil.c: Include math_ldbl_opt.h, add compat_symbol if LONG_DOUBLE_COMPAT. * sysdeps/alpha/fpu/s_copysign.c: Likewise. * sysdeps/alpha/fpu/s_fabs.c: Likewise. * sysdeps/alpha/fpu/s_floor.c: Likewise. * sysdeps/alpha/fpu/s_rint.c: Likewise. * sysdeps/alpha/soft-fp/e_sqrtl.c: New file. * sysdeps/alpha/Implies: Add ieee754/ldbl-128. * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: New file. * sysdeps/unix/sysv/linux/alpha/Implies: Add ieee754/ldbl-64-128, ieee754/ldbl-opt. * sysdeps/alpha/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Remove. * sysdeps/unix/sysv/linux/alpha/nldbl-abi.h: New file. * sysdeps/unix/sysv/linux/alpha/Makefile [$(subdir) = math] (libm-routines): Add multc3, divtc3.
2006-02-01* math/divtc3.c: New file.Roland McGrath27-102/+834
* math/multc3.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile [$(subdir) = math] (libm-routines): Add multc3, divtc3. * sysdeps/unix/sysv/linux/sparc/sparc32/fpu/Implies: New file. * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include math.h and math_ldbl_opt.h. (fabsl): Use long_double_symbol instead of weak_alias. * sysdeps/sparc/sparc32/fpu/s_fabs.c: Include math.h and math_ldbl_opt.h. [LONG_DOUBLE_COMPAT] (fabsl): Add compat_symbol. 2006-01-31 Martin Schwidefsky <schwidefsky@de.ibm.com> Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/s390/Implies: New file. * sysdeps/unix/sysv/linux/s390/fpu/Implies: New file. * sysdeps/unix/sysv/linux/s390/nldbl-abi.h: New file. * sysdeps/s390/fpu/bits/mathinline.h (signbitl, sqrtl): New inlines. * sysdeps/s390/bits/mathdef.h: New file. * sysdeps/s390/fpu/e_sqrtl.c: New file. * sysdeps/s390/s390-32/bits/wordsize.h (__LONG_DOUBLE_MATH_OPTIONAL, __NO_LONG_DOUBLE_MATH): Define. * sysdeps/s390/s390-64/bits/wordsize.h: Likewise. * sysdeps/s390/Implies: Add ieee754/ldbl-128. * sysdeps/s390/ldbl2mpn.c: File removed. * sysdeps/s390/fpu/libm-test-ulps: Updated. 2006-01-31 Roland McGrath <roland@redhat.com> * sysdeps/alpha/fpu/bits/mathdef.h: Moved to ... * sysdeps/alpha/bits/mathdef.h: ... here. * sysdeps/i386/fpu/bits/mathdef.h: Moved to ... * sysdeps/i386/bits/mathdef.h: ... here. * sysdeps/mips/fpu/bits/mathdef.h: Moved to ... * sysdeps/mips/bits/mathdef.h: ... here. * sysdeps/m68k/fpu/bits/mathdef.h: Moved to ... * sysdeps/m68k/bits/mathdef.h: ... here. * sysdeps/powerpc/fpu/bits/mathdef.h: Moved to ... * sysdeps/powerpc/bits/mathdef.h: ... here. * sysdeps/sparc/fpu/bits/mathdef.h: Moved to ... * sysdeps/sparc/bits/mathdef.h: ... here. * sysdeps/ia64/fpu/bits/mathdef.h: Moved to ... * sysdeps/ia64/bits/mathdef.h: ... here. * sysdeps/sh/sh4/fpu/bits/mathdef.h: Moved to ... * sysdeps/sh/sh4/bits/mathdef.h: ... here. * sysdeps/x86_64/fpu/bits/mathdef.h: Moved to ... * sysdeps/x86_64/bits/mathdef.h: ... here. 2006-01-31 Jakub Jelinek <jakub@redhat.com>
2006-02-01* sysdeps/unix/sysv/linux/i386/fxstatat.c [XSTAT_IS_STAT64]Roland McGrath4-1/+12
(__fxstatat64): Add libc_hidden_ver. * sysdeps/unix/sysv/linux/fxstatat.c [XSTAT_IS_STAT64] (__fxstatat64): Likewise. * sysdeps/sparc/sparc64/jmpbuf-unwind.h: Remove jmpbuf-offsets.h include.
2006-01-31* sysdeps/powerpc/fpu/libm-test-ulps: Update by Jakub.Roland McGrath2-6/+76
2006-01-31* inet/rcmd.c (iruserfopen): Remove redundant initialization.Roland McGrath3-4/+9
From Bernhard Fischer <rep.nop@aon.at>. * posix/regcomp.c (calc_eclosure_iter): Remove dead variables. Reported by Mike Frysinger <vapier@gentoo.org>.
2006-01-31* sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Correct indexRoland McGrath9-28/+328
for __sincosl_table. * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise. * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise. * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Correct sign of 0.0. * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise. * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: New file. * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: New file. * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: New file.
2006-01-31* sysdeps/unix/sysv/linux/mips/bits/errno.h (ECANCELED,Roland McGrath5-12/+39
EOWNERDEAD, ENOTRECOVERABLE): Define. * sysdeps/unix/sysv/linux/mips/bits/mman.h (MADV_REMOVE): Define. * sysdeps/mips/dl-machine.h (RTLD_START): Correct offsets for N64. * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct msghdr): Use size_t for msg_controllen. (__cmsg_nxthdr): Correct test. (__SCM_CONNECT): Delete.
2006-01-302006-01-30 Alexandre Oliva <aoliva@redhat.com>Roland McGrath3-14/+26
Roland McGrath <roland@redhat.com> * configure.in (fno_unit_at_a_time): Set to -fno-toplevel-reorder if the compiler supports it. Otherwise use -fno-unit-at-a-time unconditionally. * configure: Regenerated.