Ulrich Drepper [Fri, 17 Feb 2006 08:07:21 +0000 (08:07 +0000)]
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
(lll_robust_mutex_unlock): Avoid unnecessary wakeups.
* sysdeps/unix/sysv/linux/i386/lowlevellock.h
(lll_robust_mutex_unlock): Likewise.
Ulrich Drepper [Wed, 15 Feb 2006 18:14:59 +0000 (18:14 +0000)]
* sysdeps/unix/sysv/linux/sparc/bits/mman.h: Define MADV_DONTFORK
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.
Ulrich Drepper [Wed, 15 Feb 2006 17:20:33 +0000 (17:20 +0000)]
* sysdeps/unix/sysv/linux/not-cancel.h (__openat_not_cancel,
__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.
Ulrich Drepper [Mon, 13 Feb 2006 01:27:41 +0000 (01:27 +0000)]
* allocatestack.c (allocate_stack): Initialize robust_list.
* 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.
Ulrich Drepper [Sun, 12 Feb 2006 23:46:26 +0000 (23:46 +0000)]
* sysdeps/unix/sysv/linux/i386/not-cancel.h: Define openat_not_cancel,
openat_not_cancel_3, openat64_not_cancel, and openat64_not_cancel_3.
Ulrich Drepper [Sun, 12 Feb 2006 21:41:44 +0000 (21:41 +0000)]
[BZ #2226]
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.
Ulrich Drepper [Wed, 8 Feb 2006 18:25:19 +0000 (18:25 +0000)]
* sysdeps/unix/sysv/linux/bits/sched.h: Declare unshare.
* 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.
Ulrich Drepper [Wed, 8 Feb 2006 15:33:47 +0000 (15:33 +0000)]
* sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_futex_wait,
lll_futex_timedwait, lll_wait_tid): Add "memory" clobber.
Ulrich Drepper [Sun, 5 Feb 2006 21:19:53 +0000 (21:19 +0000)]
* io/ftw.c (ftw_startup): Use fchdir to return to original
directory for FTW_CHDIR.
Ulrich Drepper [Sat, 4 Feb 2006 07:14:42 +0000 (07:14 +0000)]
* manual/stdio.texi (Formatted Output Functions): Fix make_message
example. Patch by NIIBE Yutaka <gniibe@m17n.org>.
Ulrich Drepper [Sat, 4 Feb 2006 07:12:54 +0000 (07:12 +0000)]
Fix make_message example.
Roland McGrath [Sat, 4 Feb 2006 00:48:40 +0000 (00:48 +0000)]
* structs.def: Add a descriptor for pointer.val field of dtv_t.
* td_thr_tlsbase.c (td_thr_tlsbase): Extract pointer.val field from
DTV slot.
Roland McGrath [Fri, 3 Feb 2006 22:28:47 +0000 (22:28 +0000)]
[BZ #2268]
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.
Roland McGrath [Fri, 3 Feb 2006 19:16:04 +0000 (19:16 +0000)]
* stdlib/bits/stdlib-ldbl.h (qecvt, qfcvt, qgcvt, qecvt_r, qfcvt_r):
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.
Roland McGrath [Fri, 3 Feb 2006 19:15:48 +0000 (19:15 +0000)]
2006-02-03 Jakub Jelinek <jakub@redhat.com>
* 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.
Ulrich Drepper [Fri, 3 Feb 2006 05:28:06 +0000 (05:28 +0000)]
* sysdeps/unix/sysv/linux/futimesat.c [__NR_futimesat]
(futimesat): If file is NULL use __futimes.
* include/sys/time.h: Declare __futimes.
Ulrich Drepper [Fri, 3 Feb 2006 05:26:34 +0000 (05:26 +0000)]
[__NR_futimesat] (futimesat): If file is NULL use __futimes.
Roland McGrath [Thu, 2 Feb 2006 10:18:42 +0000 (10:18 +0000)]
typo
CFLAGS-rtld-strnlen.os): Likewise.
Roland McGrath [Thu, 2 Feb 2006 10:16:17 +0000 (10:16 +0000)]
* sysdeps/unix/sysv/linux/openat.c (__atfct_seterrno): Use the same
fstat check for ENOENT that should be EBADF as for ENOTDIR, and also
check for missing /proc the same way.
Roland McGrath [Thu, 2 Feb 2006 09:38:03 +0000 (09:38 +0000)]
* include/errno.h [__cplusplus]: Avoid extra header magic for C++.
Roland McGrath [Thu, 2 Feb 2006 09:20:21 +0000 (09:20 +0000)]
* manual/install.texi (Tools for Compilation): Require gcc 3.4,
recommend 4.1, advise 4.0 for powerpc64, and note 4.1 required for
powerpc, s390{x,} with new long double.
* INSTALL: Regenerated.
Roland McGrath [Thu, 2 Feb 2006 09:03:52 +0000 (09:03 +0000)]
* timezone/private.h: Update from tzcode2006a.
* timezone/scheck.c: Likewise.
* timezone/asia: Update from tzdata2006a.
* timezone/northamerica: Likewise.
* timezone/zone.tab: Likewise.
Roland McGrath [Thu, 2 Feb 2006 08:23:52 +0000 (08:23 +0000)]
* sysdeps/powerpc/powerpc64/Makefile (no-special-regs): New variable.
(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
Roland McGrath [Thu, 2 Feb 2006 07:34:00 +0000 (07:34 +0000)]
* sysdeps/ieee754/ldbl-opt/Makefile (sysdep-CFLAGS): Avoid adding
-mlong-double-128 when it's already there.
Roland McGrath [Thu, 2 Feb 2006 07:33:55 +0000 (07:33 +0000)]
2006-02-01 Roland McGrath <roland@redhat.com>
* sysdeps/ieee754/ldbl-opt/Makefile (sysdep-CFLAGS): Avoid adding
-mlong-double-128 when it's already there.
Ulrich Drepper [Thu, 2 Feb 2006 05:37:10 +0000 (05:37 +0000)]
* sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_02_known): Likewise.
Ulrich Drepper [Thu, 2 Feb 2006 05:33:33 +0000 (05:33 +0000)]
(intel_02_known): Add some more entries.
Roland McGrath [Wed, 1 Feb 2006 22:44:44 +0000 (22:44 +0000)]
* mach/Machrules ($(objpfx)%.uh, $(objpfx)%.__h): Use static pattern
rules for these, not implicit rules.
($(objpfx)%.h): Likewise.
Reported by Thomas Schwinge <tschwinge@gnu.org>.
Roland McGrath [Wed, 1 Feb 2006 20:00:03 +0000 (20:00 +0000)]
* libio/genops.c: Include <stdbool.h>.
Roland McGrath [Wed, 1 Feb 2006 19:47:57 +0000 (19:47 +0000)]
* sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Use long_double_symbol
even for libm.
* libio/bits/libio-ldbl.h (_IO_vfwscanf, _IO_vfwprintf): Remove
__LDBL_REDIR_DECL.
Roland McGrath [Wed, 1 Feb 2006 19:45:29 +0000 (19:45 +0000)]
* math/bits/mathcalls.h: Guard __END_NAMESPACE_C99 with the
same #if condition as corresponding __BEGIN_NAMESPACE_C99.
(scalb): Don't define only if __USE_ISOC99.
Roland McGrath [Wed, 1 Feb 2006 19:43:08 +0000 (19:43 +0000)]
* sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Fix a typo.
* sysdeps/s390/fpu/libm-test-ulps: Remove llrint ulps.
Roland McGrath [Wed, 1 Feb 2006 19:42:43 +0000 (19:42 +0000)]
2006-02-01 Jakub Jelinek <jakub@redhat.com>
* sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Fix a typo.
* sysdeps/s390/fpu/libm-test-ulps: Remove llrint ulps.
Ulrich Drepper [Wed, 1 Feb 2006 18:28:07 +0000 (18:28 +0000)]
* sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Add
some more entries.
Ulrich Drepper [Wed, 1 Feb 2006 18:26:19 +0000 (18:26 +0000)]
(intel_02_known): Add some more entries.
Roland McGrath [Wed, 1 Feb 2006 03:14:01 +0000 (03:14 +0000)]
* sysdeps/unix/sysv/linux/alpha/fpu/Implies: New file.
* 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.
Roland McGrath [Wed, 1 Feb 2006 03:02:06 +0000 (03:02 +0000)]
* math/divtc3.c: New file.
* 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>
Roland McGrath [Wed, 1 Feb 2006 02:22:54 +0000 (02:22 +0000)]
* sysdeps/unix/sysv/linux/i386/fxstatat.c [XSTAT_IS_STAT64]
(__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.
Roland McGrath [Tue, 31 Jan 2006 21:32:11 +0000 (21:32 +0000)]
* sysdeps/powerpc/fpu/libm-test-ulps: Update by Jakub.
Roland McGrath [Tue, 31 Jan 2006 19:18:14 +0000 (19:18 +0000)]
* inet/rcmd.c (iruserfopen): Remove redundant initialization.
From Bernhard Fischer <rep.nop@aon.at>.
* posix/regcomp.c (calc_eclosure_iter): Remove dead variables.
Reported by Mike Frysinger <vapier@gentoo.org>.
Roland McGrath [Tue, 31 Jan 2006 18:56:42 +0000 (18:56 +0000)]
* sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Correct index
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.
Roland McGrath [Tue, 31 Jan 2006 01:26:18 +0000 (01:26 +0000)]
* sysdeps/unix/sysv/linux/mips/bits/errno.h (ECANCELED,
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.
Roland McGrath [Mon, 30 Jan 2006 22:41:14 +0000 (22:41 +0000)]
2006-01-30 Alexandre Oliva <aoliva@redhat.com>
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.
Roland McGrath [Mon, 30 Jan 2006 22:29:44 +0000 (22:29 +0000)]
* sysdeps/powerpc/fpu/libm-test-ulps: Merge ulps with older
libm-test-ulps rather than overwrite it. Remove excessively high ulps.
Roland McGrath [Mon, 30 Jan 2006 22:27:31 +0000 (22:27 +0000)]
* soft-fp/double.h (FP_CMP_UNORD_D): Also define in
[_FP_W_TYPE_SIZE >= 64] case.
* soft-fp/extended.h (FP_CMP_UNORD_E): Likewise.
* soft-fp/quad.h (FP_CMP_UNORD_Q): Likewise.
Roland McGrath [Sat, 28 Jan 2006 00:15:15 +0000 (00:15 +0000)]
2006-01-27 Dwayne Grant McConnell <decimal@us.ibm.com>
Jakub Jelinek <jakub@redhat.com>
Roland McGrath <roland@redhat.com>
Steven Munroe <sjmunroe@us.ibm.com>
Alan Modra <amodra@bigpond.net.au>
* sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Comment fix.
* sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
* sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
* sysdeps/powerpc/fpu/libm-test-ulps: Update.
* math/libm-test.inc (check_float_internal): Allow ulp <= 0.5.
(erfc_test): Don't run erfcl (27.0L) test if erfcl (27.0L) is
denormal.
[TEST_LDOUBLE] (ceil_test, floor_test, llrint_test, llround_test,
rint_test, round_test, trunc_test): Add new tests.
* sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: New file.
* sysdeps/powerpc/powerpc32/fpu/s_fabs.S: New file.
* sysdeps/powerpc/powerpc32/fpu/s_fabsl.S: New file.
* sysdeps/powerpc/powerpc32/fpu/s_fdim.c: New file.
* sysdeps/powerpc/powerpc32/fpu/s_fmax.S: New file.
* sysdeps/powerpc/powerpc32/fpu/s_fmin.S: New file.
* sysdeps/powerpc/powerpc32/fpu/s_isnan.c: New file.
* sysdeps/powerpc/powerpc64/fpu/s_ceill.S: New file.
* sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: New file.
* sysdeps/powerpc/powerpc64/fpu/s_fabs.S: New file.
* sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: New file.
* sysdeps/powerpc/powerpc64/fpu/s_fdim.c: New file.
* sysdeps/powerpc/powerpc64/fpu/s_floorl.S: New file.
* sysdeps/powerpc/powerpc64/fpu/s_fmax.S: New file.
* sysdeps/powerpc/powerpc64/fpu/s_fmin.S: New file.
* sysdeps/powerpc/powerpc64/fpu/s_isnan.c: New file.
* sysdeps/powerpc/powerpc64/fpu/s_llrintl.S: New file.
* sysdeps/powerpc/powerpc64/fpu/s_llroundl.S: New file.
* sysdeps/powerpc/powerpc64/fpu/s_lrintl.S: New file.
* sysdeps/powerpc/powerpc64/fpu/s_lroundl.S: New file.
* sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: New file.
* sysdeps/powerpc/powerpc64/fpu/s_rintl.S: New file.
* sysdeps/powerpc/powerpc64/fpu/s_roundl.S: New file.
* sysdeps/powerpc/powerpc64/fpu/s_truncl.S: New file.
* sysdeps/unix/sysv/linux/powerpc/Implies: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: New file.
* sysdeps/unix/sysv/linux/powerpc/configure.in: New file.
* sysdeps/unix/sysv/linux/powerpc/configure: New file.
* sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
(__LONG_DOUBLE_MATH_OPTIONAL): Define.
(__NO_LONG_DOUBLE_MATH): Define.
* sysdeps/unix/sysv/linux/powerpc/nldbl-abi.h: New file.
* sysdeps/powerpc/fpu/s_isnan.c: Include math_ldbl_opt.h.
* sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include math_ldbl_opt.h.
[LONG_DOUBLE_COMPAT] (ceill): Add compatibility symbols.
* sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include math_ldbl_opt.h.
[LONG_DOUBLE_COMPAT] (copysignl): Add compatibility symbols.
* sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include math_ldbl_opt.h.
[LONG_DOUBLE_COMPAT] (floorl): Add compatibility symbols.
* sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include math_ldbl_opt.h.
[LONG_DOUBLE_COMPAT] (llrintl, lrintl): Add compatibility symbols.
* sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include math_ldbl_opt.h.
[LONG_DOUBLE_COMPAT] (llroundl, lroundl): Add compatibility symbols.
* sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include math_ldbl_opt.h.
[LONG_DOUBLE_COMPAT] (rintl): Add compatibility symbols.
* sysdeps/powerpc/powerpc64/fpu/s_round.S: Include math_ldbl_opt.h.
[LONG_DOUBLE_COMPAT] (roundl): Add compatibility symbols.
* sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include math_ldbl_opt.h.
[LONG_DOUBLE_COMPAT] (truncl): Add compatibility symbols.
* sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include math_ldbl_opt.h.
[LONG_DOUBLE_COMPAT] (ceill): Add compatibility symbols.
* sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include math_ldbl_opt.h.
[LONG_DOUBLE_COMPAT] (copysignl): Add compatibility symbols.
* sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include math_ldbl_opt.h.
[LONG_DOUBLE_COMPAT] (floorl): Add compatibility symbols.
* sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include math_ldbl_opt.h.
[LONG_DOUBLE_COMPAT] (lrintl): Add compatibility symbols.
* sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include math_ldbl_opt.h.
[LONG_DOUBLE_COMPAT] (llrintl): Add compatibility symbols.
* sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include math_ldbl_opt.h.
[LONG_DOUBLE_COMPAT] (lroundl): Add compatibility symbols.
* sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include math_ldbl_opt.h.
[LONG_DOUBLE_COMPAT] (rintl): Add compatibility symbols.
* sysdeps/powerpc/powerpc32/fpu/s_round.S: Include math_ldbl_opt.h.
[LONG_DOUBLE_COMPAT] (roundl): Add compatibility symbols.
* sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include math_ldbl_opt.h.
[LONG_DOUBLE_COMPAT] (truncl): Add compatibility symbols.
* misc/qefgcvt_r.c [LDBL_MIN_10_EXP == -291] (FLOAT_MIN_10_NORM): New.
* sysdeps/powerpc/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Remove.
* sysdeps/powerpc/Implies: Add ieee754/ldbl-128ibm.
* sysdeps/powerpc/powerpc32/Implies: Remove powerpc/soft-fp.
* sysdeps/ieee754/ldbl-128ibm/Makefile: New file.
* sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/e_acosl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/e_asinl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: New file.
* sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/e_coshl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/e_expl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: New file.
* sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/e_j0l.c: New file.
* sysdeps/ieee754/ldbl-128ibm/e_j1l.c: New file.
* sysdeps/ieee754/ldbl-128ibm/e_jnl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: New file.
* sysdeps/ieee754/ldbl-128ibm/e_log10l.c: New file.
* sysdeps/ieee754/ldbl-128ibm/e_log2l.c: New file.
* sysdeps/ieee754/ldbl-128ibm/e_logl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/e_powl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: New file.
* sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/ieee754.h: New file.
* sysdeps/ieee754/ldbl-128ibm/k_cosl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/k_sinl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/k_tanl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: New file.
* sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: New file.
* sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: New file.
* sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/s_atanl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/s_cosl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/s_erfl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: New file.
* sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/s_finitel.c: New file.
* sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/s_logbl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/s_modfl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: New file.
* sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: New file.
* sysdeps/ieee754/ldbl-128ibm/s_remquol.c: New file.
* sysdeps/ieee754/ldbl-128ibm/s_rintl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/s_sinl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/s_tanl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/s_truncl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/strtold_l.c: New file.
* sysdeps/ieee754/ldbl-128ibm/t_sincosl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/w_expl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/s_floorl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/s_roundl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/s_ceill.c: New file.
* sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: New file.
* sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: New file.
* sysdeps/ieee754/ldbl-128/e_powl.c: Fix old comment.
Roland McGrath [Mon, 23 Jan 2006 21:26:27 +0000 (21:26 +0000)]
* sysdeps/gnu/errlist-compat.awk: Reduce required number of symbols in
sanity check.
* sysdeps/unix/sysv/linux/renameat.c (__atfct_seterrno_2): Correctly
Roland McGrath [Mon, 23 Jan 2006 21:26:20 +0000 (21:26 +0000)]
2006-01-22 Aurelien Jarno <aurelien@aurel32.net>
* sysdeps/gnu/errlist-compat.awk: Reduce required number of symbols in
sanity check.
Ulrich Drepper [Sun, 22 Jan 2006 00:57:24 +0000 (00:57 +0000)]
* sysdeps/unix/sysv/linux/renameat.c (__atfct_seterrno_2): Correcty
return EBADF for non-existing file descriptors.
* sysdeps/unix/sysv/linux/openat.c (__atfct_seterrno): Likewise.
* io/tst-openat.c (do_test): Add some more tests.
* io/tst-faccessat.c (do_test): Likewise.
* io/tst-renameat.c (do_test): Likewise.
* io/tst-fstatat.c (do_test): Likewise.
* io/tst-fchmodat.c (do_test): Likewise.
* io/tst-fchownat.c (do_test): Likewise.
Ulrich Drepper [Sun, 22 Jan 2006 00:05:30 +0000 (00:05 +0000)]
(__atfct_seterrno): Correcty return EBADF for non-existing file descriptors.
Roland McGrath [Sat, 21 Jan 2006 20:07:20 +0000 (20:07 +0000)]
* sysdeps/unix/sysv/linux/faccessat.c: Move RESULT defn inside block.
Roland McGrath [Sat, 21 Jan 2006 19:58:36 +0000 (19:58 +0000)]
* misc/tst-pselect.c: Include <unistd.h>.
* time/time.h [__need_timespec et al]: Include <bits/types.h> here too.
* stdlib/fpioconst.c: Fix whitespace typo.
Roland McGrath [Sat, 21 Jan 2006 19:43:20 +0000 (19:43 +0000)]
* sysdeps/ieee754/ldbl-64-128/s_nexttowardfd.c: Moved to...
* sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: ... here. New file.
* sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (long_double_symbol_1): For
C define again using _weak_alias, for assembler use weak_alias.
Roland McGrath [Sat, 21 Jan 2006 19:41:11 +0000 (19:41 +0000)]
* sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: New file.
* sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: New file.
* sysdeps/powerpc/fpu/bits/mathinline.h (__CPU_HAS_FSQRT): New macro.
(__ieee754_sqrt, __ieee754_sqrtf): Use it.
Roland McGrath [Sat, 21 Jan 2006 19:33:57 +0000 (19:33 +0000)]
* time/time.h [__need_timespec et al]: Include <bits/types.h> here too.
* stdlib/fpioconst.c: Fix whitespace typo.
* sysdeps/unix/sysv/linux/i386/call_pselect6.S: New file.
Roland McGrath [Sat, 21 Jan 2006 19:33:50 +0000 (19:33 +0000)]
2006-01-21 Roland McGrath <roland@redhat.com>
* time/time.h [__need_timespec et al]: Include <bits/types.h> here too.
Ulrich Drepper [Sat, 21 Jan 2006 08:21:04 +0000 (08:21 +0000)]
* sysdeps/unix/sysv/linux/pselect.c (__pselect): Allow actual
system call code to be redefined in macro CALL_PSELECT6.
* sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
(sysdep_routines): Add call_pselect6.
* sysdeps/unix/sysv/linux/i386/call_pselect6.c: New file.
* sysdeps/unix/sysv/linux/i386/pselect.c: New file.
* misc/Makefile (tests): Add tst-pselect.
* misc/tst-pselect.c: New file.
* sysdeps/unix/sysv/linux/pselect.c: Fix typo in declaration.
* sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Cast k_dev
value to unsigned int to match kernel.
Ulrich Drepper [Sat, 21 Jan 2006 01:51:04 +0000 (01:51 +0000)]
(__xmknodat): Cast k_dev value to unsigned int to match kernel.
Roland McGrath [Sat, 21 Jan 2006 00:19:59 +0000 (00:19 +0000)]
* sysdeps/mach/hurd/ppoll.c: New file.
Roland McGrath [Sat, 21 Jan 2006 00:19:49 +0000 (00:19 +0000)]
2006-01-20 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/ppoll.c: New file.
Ulrich Drepper [Fri, 20 Jan 2006 23:24:42 +0000 (23:24 +0000)]
* io/Makefile (tests): Add tst-symlinkat, tst-linkat, tst-readlinkat,
tst-mkdirat, tst-mknodat, and tst-mkfifoat.
* io/tst-mkdirat.c: New file.
* io/tst-mknodat.c: New file.
* io/tst-mkfifoat.c: New file.
Ulrich Drepper [Fri, 20 Jan 2006 22:37:35 +0000 (22:37 +0000)]
* sysdeps/unix/sysv/linux/faccessat.c (faccessat): Try using the
syscall in more cases.
Ulrich Drepper [Fri, 20 Jan 2006 21:55:16 +0000 (21:55 +0000)]
* io/Makefile (tests): Add tst-symlinkat, tst-linkat, and
tst-readlinkat.
* io/tst-symlinkat.c: New file.
* io/tst-linkat.c: New file.
* io/tst-readlinkat.c: New file.
Ulrich Drepper [Fri, 20 Jan 2006 21:17:38 +0000 (21:17 +0000)]
.
Ulrich Drepper [Fri, 20 Jan 2006 21:12:34 +0000 (21:12 +0000)]
* sysdeps/unix/fdopendir.c (fdopendir): If O_DIRECTORY is
available, avoid stat call, use fcntl result to determine whether
descriptor is for a directory or not.
* dirent/Makefile (tests): Add tst-fdopendir2.
* dirent/tst-fdopendir2.c: New file.
Ulrich Drepper [Fri, 20 Jan 2006 19:37:46 +0000 (19:37 +0000)]
* sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h
(sigcontext_struct) [__WORDSIZE == 32]: Define.
Ulrich Drepper [Fri, 20 Jan 2006 16:49:36 +0000 (16:49 +0000)]
* sysdeps/sh/sh4/__longjmp.S: Demangle also r14 and r15.
* sysdeps/sh/sh3/__longjmp.S: Likewise.
* sysdeps/sh/sh4/setjmp.S: Mangle also r14 and r15.
* sysdeps/sh/sh3/setjmp.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sysdep.h [__ASSEMBLER__]
(PTR_MANGLE): Add temporary register as the second parameter.
(PTR_DEMANGLE): Likewize.
(PTR_MANGLE2, PTR_DEMANGLE2): Define.
Ulrich Drepper [Fri, 20 Jan 2006 07:08:05 +0000 (07:08 +0000)]
* include/fcntl.h: Declare __have_atfcts.
* sysdeps/unix/sysv/linux/faccessat.c: Use syscall if available.
* sysdeps/unix/sysv/linux/fchmodat.c: Likewise.
* sysdeps/unix/sysv/linux/fchownat.c: Likewise.
* sysdeps/unix/sysv/linux/futimesat.c: Likewise.
* sysdeps/unix/sysv/linux/linkat.c: Likewise.
* sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
* sysdeps/unix/sysv/linux/openat.c: Likewise.
* sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
* sysdeps/unix/sysv/linux/renameat.c: Likewise.
* sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
* sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
* sysdeps/unix/sysv/linux/xmknodat.c: Likewise.
* sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Likewise.
* sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PSELECT,
__ASSUME_PPOLL, and __ASSUME_ATFCTS if possible.
* io/ppoll.c: New file.
* io/Makefile (routines): Add ppoll.
(CFLAGS-ppoll.c): Define.
* io/Versions: Export ppoll for GLIBC_2.4.
* io/sys/poll.h: Declare ppoll.
* sysdeps/unix/sysv/linux/ppoll.c: New file.
* misc/pselect.c: Make it possible to include this file to define
the generic code as a static function.
* sysdeps/unix/sysv/linux/pselect.c: New file.
Ulrich Drepper [Thu, 19 Jan 2006 15:52:01 +0000 (15:52 +0000)]
Include sysdep-cancel.h again. Add LIBC_CANCEL_HANDLED ().
Ulrich Drepper [Thu, 19 Jan 2006 15:24:31 +0000 (15:24 +0000)]
* misc/pselect.c (__pselect): Remove static.
Ulrich Drepper [Thu, 19 Jan 2006 07:55:12 +0000 (07:55 +0000)]
* misc/pselect.c (__pselect): No need to enable async cancellation
here. This is done in select.
Ulrich Drepper [Thu, 19 Jan 2006 07:50:20 +0000 (07:50 +0000)]
(__pselect): No need to enable async cancellation here. This is done in select.
Roland McGrath [Thu, 19 Jan 2006 07:29:40 +0000 (07:29 +0000)]
* sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h [__ASSEMBLER__]: Don't
include problematic headers for assembler.
* Makerules ($(+sysdir_pfx)sysd-rules): Don't emit m_%.c rules,
instead emit m_%.o compilation rules from s_%.? source files.
* math/Makefile ($(objpfx)m_%$o: s_%.c): New rule using o-iterator.
Roland McGrath [Thu, 19 Jan 2006 07:29:08 +0000 (07:29 +0000)]
2006-01-18 Roland McGrath <roland@redhat.com>
* sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h [__ASSEMBLER__]: Don't
include problematic headers for assembler.
Ulrich Drepper [Thu, 19 Jan 2006 06:18:04 +0000 (06:18 +0000)]
* sysdeps/unix/sysv/linux/fxstatat.c [STAT_IS_KERNEL_STAT]
(__fxstatat): Correct handling of invalid vers values.
Ulrich Drepper [Thu, 19 Jan 2006 01:35:28 +0000 (01:35 +0000)]
[BZ #2173]
2006-01-18 Ulrich Drepper <drepper@redhat.com>
[BZ #2173]
* libio/fileops.c (_IO_new_file_fopen): If ,ccs= is given, also
set vtable to the wide vtable.
* libio/tst-fopenloc2.c: New file.
* libio/Makefile (tests): Add tst-fopenloc2.
* sysdeps/unix/sysv/linux/shm_open.c [__ASSUME_TMPFS_NAME]
Ulrich Drepper [Thu, 19 Jan 2006 00:38:35 +0000 (00:38 +0000)]
(_IO_new_file_fopen): If ,ccs= is given, also set vtable to the wide vtable.
Roland McGrath [Wed, 18 Jan 2006 23:30:58 +0000 (23:30 +0000)]
* sysdeps/ieee754/ldbl-opt/nldbl-dprintf.c: Restore
attribute_hidden here.
Roland McGrath [Wed, 18 Jan 2006 23:25:13 +0000 (23:25 +0000)]
* sysdeps/sparc/sparc64/Makefile (long-double-fcts): Move this ...
* sysdeps/sparc/Makefile (long-double-fcts): ... to here.
Roland McGrath [Wed, 18 Jan 2006 19:49:05 +0000 (19:49 +0000)]
* elf/dl-deps.c (_dl_map_object_deps): In case of failure also make a
copy of objname string.
Roland McGrath [Wed, 18 Jan 2006 19:48:53 +0000 (19:48 +0000)]
2006-01-18 Jakub Jelinek <jakub@redhat.com>
* elf/dl-deps.c (_dl_map_object_deps): In case of failure also make a
copy of objname string.
Andreas Jaeger [Wed, 18 Jan 2006 08:41:58 +0000 (08:41 +0000)]
[BZ #2167]
Update.
[BZ #2167]
Andreas Jaeger [Wed, 18 Jan 2006 08:41:47 +0000 (08:41 +0000)]
[BZ #2167] * sysdeps/unix/sysv/linux/mips/bits/pthreadtypes.h (pthread_mutex_t): Follow changes for other archs. Based on patch by Jim Gifford <patches@jg555.com>.
2006-01-18 Andreas Jaeger <aj@suse.de>
[BZ #838]
* sysdeps/unix/sysv/linux/mips/bits/pthreadtypes.h
(pthread_mutex_t): Follow changes for other archs. Based on patch
by Jim Gifford <patches@jg555.com>.
Roland McGrath [Tue, 17 Jan 2006 04:31:22 +0000 (04:31 +0000)]
* Makerules ($(+sysdir_pfx)sysd-rules): Emit pattern rules to install
into $(inst_includedir)/%.h from sysdirs.
[headers]: Change static pattern rule for installing
$(headers) to do only those not matching %.h.
($(inst_includedir)/%.h: $(objpfx)%.h): Add this pattern rule instead.
($(inst_includedir)/%.h: %.h): Likewise.
($(inst_includedir)/%.h: $(..)include/%.h): Likewise.
* Makefile ($(inst_includedir)/gnu/stubs.h):
Add $(make-target-directory).
* stdlib/Makefile (headers): Restore headers removed in last change.
2006-01-16 Jakub Jelinek <jakub@redhat.com>
* math/e_exp2l.c: Don't include stdio.h, errno.h, stub-tag.h, include
math_private.h.
(__ieee754_exp2l): Compute for now as expl (M_LN2l * x)
instead of failing.
(exp2l): Remove stub_warning.
2006-01-15 Jakub Jelinek <jakub@redhat.com>
* io/tst-faccessat.c (do_test): Don't fail if geteuid () == 0.
Roland McGrath [Tue, 17 Jan 2006 03:27:51 +0000 (03:27 +0000)]
2006-01-15 Jakub Jelinek <jakub@redhat.com>
* io/tst-faccessat.c (do_test): Don't fail if geteuid () == 0.
Ulrich Drepper [Mon, 16 Jan 2006 20:14:50 +0000 (20:14 +0000)]
* libio/stdio.h: Declare open_wmemstream.
* libio/Versions: Export open_wmemstream for GLIBC_2.4.
Ulrich Drepper [Mon, 16 Jan 2006 16:49:27 +0000 (16:49 +0000)]
* sysdeps/unix/sysv/linux/kernel-features.h: Define
__ASSUME_TMPFS_NAME.
* sysdeps/unix/sysv/linux/shm_open.c [!__ASSUME_TMPFS_NAME]
(where_is_shmfs): Don't test for obsolete shm filesystem name.
* sysdeps/unix/sysv/linux/getsysstats.c: Don't search for proc
mount point. We assume procfs is mounted at /proc in many other
places already.
Ulrich Drepper [Mon, 16 Jan 2006 16:38:52 +0000 (16:38 +0000)]
Don't search for proc mount point. We assume procfs is mounted at /proc in many other places already.
Andreas Jaeger [Sun, 15 Jan 2006 17:59:52 +0000 (17:59 +0000)]
[BZ #1950, BZ #2153]
Update.
[BZ #1950]
* posix/regex_internal.c (re_string_reconstruct): Adjust for
build_wcs_upper_buffer change.
(build_wcs_upper_buffer): Change return type.
[BZ #2153]
* math/s_cacosh.c (__cacosh): Do not return a negative
value. Patch by Wes Loewer <wjltemp-temp01@yahoo.com>.
* math/s_cacoshl.c (__cacoshl): Likewise.
* math/s_cacoshf.c (__cacoshf): Likewise.
* math/libm-test.inc (cacosh_test): Adjust for change.
* sysdeps/alpha/fpu/libm-test-ulps: Adopt for cacosh test change.
* sysdeps/hppa/fpu/libm-test-ulps: Likewise.
* sysdeps/i386/fpu/libm-test-ulps: Likewise.
* sysdeps/ia64/fpu/libm-test-ulps: Likewise.
* sysdeps/m68k/fpu/libm-test-ulps: Likewise.
* sysdeps/mips/fpu/libm-test-ulps: Likewise.
* sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
* sysdeps/s390/fpu/libm-test-ulps: Likewise.
* sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
* sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
* sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
Andreas Jaeger [Sun, 15 Jan 2006 17:46:04 +0000 (17:46 +0000)]
[BZ #2078, BZ #2079]
Update
2006-01-15 Andreas Jaeger <aj@suse.de>
[BZ #2079]
* libio/fputwc_u.c (fputwc_unlocked): Fix return value.
* libio/getwc_u.c (__getwc_unlocked): Likewise.
* libio/wfileops.c (_IO_wdo_write): Likewise.
[BZ #2078]
* libio/fputwc.c (fputwc): Use proper type for result.
* libio/ioungetwc.c (ungetwc): Likewise.
Andreas Jaeger [Sun, 15 Jan 2006 17:45:20 +0000 (17:45 +0000)]
[BZ #2079]
* libio/fputwc_u.c (fputwc_unlocked): Fix return value.
* libio/getwc_u.c (__getwc_unlocked): Likewise.
* libio/wfileops.c (_IO_wdo_write): Likewise.
Ulrich Drepper [Sun, 15 Jan 2006 05:30:34 +0000 (05:30 +0000)]
* sysdeps/unix/sysv/linux/bits/sched.h: Define SCHED_BATCH.
Ulrich Drepper [Sun, 15 Jan 2006 05:29:33 +0000 (05:29 +0000)]
Define SCHED_BATCH.
Roland McGrath [Sat, 14 Jan 2006 22:08:18 +0000 (22:08 +0000)]
* sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NLDBL_DECL): Don't try
attribute_hidden here.
* sysdeps/ieee754/ldbl-opt/nldbl-vsyslog.c (vsyslog): Restore
attribute_hidden here.
* sysdeps/ieee754/ldbl-opt/nldbl-asprintf.c (__asprintf): Likewise.
* sysdeps/ieee754/ldbl-opt/nldbl-fprintf.c (fprintf): Likewise.
* sysdeps/ieee754/ldbl-opt/nldbl-qecvt.c (qecvt): Likewise.
* sysdeps/ieee754/ldbl-opt/nldbl-qfcvt.c (qfcvt): Likewise.
* sysdeps/ieee754/ldbl-opt/nldbl-qgcvt.c (qgcvt): Likewise.
* sysdeps/ieee754/ldbl-opt/configure.in: Use AC_TRY_COMPILE and
verify __LONG_DOUBLE_128__ predefine.
* sysdeps/ieee754/ldbl-opt/configure: Regenerated.
Roland McGrath [Sat, 14 Jan 2006 21:16:35 +0000 (21:16 +0000)]
Use NLDBL_DECL for __vstrfmon_l.
(__nldbl___vsyslog_chk): Restore missing decl.
Roland McGrath [Sat, 14 Jan 2006 21:15:05 +0000 (21:15 +0000)]
(__nldbl___vstrfmon, __nldbl___vsyslog_chk): Restore missing decls.
Roland McGrath [Sat, 14 Jan 2006 20:33:13 +0000 (20:33 +0000)]
* sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NLDBL_HIDDEN): Removed.
(NLDBL_DECL): Rewritten.
Remove __THROW from NLDBL_DECL uses.
Use NLDBL_DECL for __vstrfmon, __vstrfmon_l.
* sysdeps/ieee754/ldbl-opt/nldbl-asinh.c: Restore attribute_hidden.
2006-01-14 Jakub Jelinek <jakub@redhat.com>
* misc/sys/cdefs.h (__LDBL_REDIR1_DECL): Define.
(__LDBL_REDIR_DECL): Stringize __nldbl and name.
* stdlib/bits/monetary-ldbl.h: Remove pastos from wchar-ldbl.h.
(strfmon, strfmon_l): Add __LDBL_REDIR_DECL.
* stdlib/bits/stdlib-ldbl.h (strtold, strtold_l, __strtold_internal,
qecvt, qfcvt, qgcvt, qecvt_r, qfcvt_r): Use __LDBL_REDIR1_DECL
instead of __LDBL_REDIR_DECL.
* wcsmbs/bits/wchar-ldbl.h: Remove stale #if.
(__LDBL_REDIR_WCHAR): Remove.
(fwprintf, wprintf, swprintf, vfwprintf, vwprintf, vswprintf,
fwscanf, wscanf, swscanf, vfwscanf, vwscanf, vswscanf): Use
__LDBL_REDIR_DECL instead of __LDBL_REDIR_WCHAR.
(wcstold, wcstold_l, __wcstold_internal): Add __LDBL_REDIR1_DECL.
* wcsmbs/wchar.h: Include bits/wchar-ldbl.h after bits/wchar2.h
instead of before it.
(wcstold inline): Move #ifndef __LDBL_COMPAT before
extern keyword.
* libio/bits/stdio-ldbl.h (__snprintf_chk, __vsnprintf_chk): Add
__LDBL_REDIR_DECL.
* misc/bits/syslog-ldbl.h (vsyslog): Protect with #ifdef __USE_BSD.
(__syslog_chk, __vsyslog_chk): Add __LDBL_REDIR_DECL.
2006-01-14 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 14 Jan 2006 13:03:48 +0000 (13:03 +0000)]
* sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NLDBL_DECL): Fix typo.
(NLDBL_HIDDEN): New macro.
(NLDBL_DECL): Use it in place of attribute_hidden.
Roland McGrath [Sat, 14 Jan 2006 12:54:45 +0000 (12:54 +0000)]
* misc/efgcvt.c: Include <math_ldbl_opt.h> instead of <shlib-compat.h>.
* misc/efgcvt_r.c: Likewise.
Roland McGrath [Sat, 14 Jan 2006 12:32:50 +0000 (12:32 +0000)]
* sysdeps/unix/sysv/linux/sparc/sparc32/nldbl-abi.h: New file.
* sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: #include <nldbl-abi.h>
to define LONG_DOUBLE_COMPAT_VERSION. Use that in place of
NLDBL_VERSION.
* sysdeps/ieee754/ldbl-opt/Versions: Include <nldbl-abi.h>.
* sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Revert last change.