David S. Miller [Thu, 1 Mar 2012 23:04:16 +0000 (15:04 -0800)]
Remove sparc binutils GOTDATA checks in lieu of new minimum version requirement.
* sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
* sysdeps/sparc/sparc32/dl-machine.h: Likewise.
* sysdeps/sparc/sparc32/elf/start.S: Likewise.
* sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
* sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
* sysdeps/sparc/sparc64/dl-machine.h: Likewise.
* sysdeps/sparc/sparc64/elf/start.S: Likewise.
* sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
* sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
* config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
* sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
* sysdeps/sparc/elf/configure: Regenerated.
Joseph Myers [Thu, 1 Mar 2012 21:23:57 +0000 (21:23 +0000)]
Require binutils 2.20 or later.
Joseph Myers [Thu, 1 Mar 2012 21:15:38 +0000 (21:15 +0000)]
Improve erfc accuracy.
Kai Tietz [Thu, 1 Mar 2012 16:22:09 +0000 (16:22 +0000)]
soft-fp: Support using struct layout attributes on bit-fields.
Joseph Myers [Wed, 29 Feb 2012 22:38:30 +0000 (22:38 +0000)]
Add bug 13786 to NEWS.
Joseph Myers [Wed, 29 Feb 2012 22:37:38 +0000 (22:37 +0000)]
Fix x86 strcasecmp_l (bug 13786).
Joseph Myers [Wed, 29 Feb 2012 20:49:20 +0000 (20:49 +0000)]
Add test for bug 5794 (incorrect expm1 overflow).
Joseph Myers [Wed, 29 Feb 2012 20:40:50 +0000 (20:40 +0000)]
Reduce large expected errors from libm tests on x86 and x86_64.
Jeff Law [Wed, 29 Feb 2012 16:51:27 +0000 (11:51 -0500)]
[network] Avoid out ouf bounds read in __libc_res_nquerydomain
2012-02-28 Jeff Law <law@redhat.com>
* resolv/res_query.c (__libc_res_nquerydomain): Avoid
out of bounds read.
Marek Polacek [Wed, 29 Feb 2012 14:28:38 +0000 (15:28 +0100)]
Always set l_used for vDSO.
David S. Miller [Wed, 29 Feb 2012 06:37:58 +0000 (22:37 -0800)]
Add sparc optimized sqrt{,f}.
* sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
* sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
* sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
* sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
Joseph Myers [Wed, 29 Feb 2012 01:55:42 +0000 (01:55 +0000)]
Move misplaced llround test and add lround test from bug 2561.
Joseph Myers [Wed, 29 Feb 2012 01:24:33 +0000 (01:24 +0000)]
Restore wrongly removed ChangeLog entries for generated files.
Ulrich Drepper [Wed, 29 Feb 2012 01:06:39 +0000 (20:06 -0500)]
Optimized expf for x86-64
Joseph Myers [Tue, 28 Feb 2012 16:37:58 +0000 (16:37 +0000)]
Regenerate sysdeps/gnu/errlist.c for errno.texi changes.
Andreas Jaeger [Tue, 28 Feb 2012 15:20:33 +0000 (16:20 +0100)]
Fix ChangeLog
Stanislav Brabec [Tue, 28 Feb 2012 15:17:29 +0000 (16:17 +0100)]
Add BZ#13637
Stanislav Brabec [Tue, 28 Feb 2012 15:16:45 +0000 (16:16 +0100)]
[BZ #13637]
* posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
of remain_len that may cause incomplete multi-byte character and
false match.
* posix/bug-regex33.c: New file.
* posix/Makefile (tests): Add bug-regex33.
Joseph Myers [Tue, 28 Feb 2012 14:44:20 +0000 (14:44 +0000)]
Use Texinfo macros to refer to the GNU C Library within the manual.
Andreas Schwab [Tue, 28 Feb 2012 14:00:25 +0000 (15:00 +0100)]
Include <dirstream.h> before <dirent/dirent.h>
David S. Miller [Tue, 28 Feb 2012 08:33:00 +0000 (00:33 -0800)]
Add optimized copysign for sparc.
* sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
* sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
* sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
* sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
David S. Miller [Tue, 28 Feb 2012 04:36:30 +0000 (20:36 -0800)]
Optimized sparc floor{,f} routines.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
* sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
* sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
David S. Miller [Tue, 28 Feb 2012 04:33:25 +0000 (20:33 -0800)]
Fix %fp/%sp typo in new sparc ceil{,f} assembler.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
frame pointer instead of stack pointer relative arg slot.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
* sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
* sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
Carlos O'Donell [Tue, 28 Feb 2012 03:10:17 +0000 (22:10 -0500)]
BZ #3992: stdlib/fmtmsg.c: missing stdint.h include.
Use of uint32_t requires stdint.h.
David S. Miller [Mon, 27 Feb 2012 23:24:09 +0000 (15:24 -0800)]
Fix comment formatting in new optimized sparc math files.
Joseph Myers [Mon, 27 Feb 2012 23:07:59 +0000 (23:07 +0000)]
Require GCC 4.3 or later.
David S. Miller [Mon, 27 Feb 2012 22:55:58 +0000 (14:55 -0800)]
Optimized sparc ceil{,f} and rint{,f} routines.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
* sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
* sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
* sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
* sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
David S. Miller [Mon, 27 Feb 2012 22:51:45 +0000 (14:51 -0800)]
Fix ldbl-128 rintl/nearbyintl just like flt-32 variants.
* sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
manipulate bits before adding and subtracting TWO112[sx].
* sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
Roland McGrath [Mon, 27 Feb 2012 22:00:47 +0000 (14:00 -0800)]
BZ#13775: Fix vdprintf/dprintf ldbl-compat decl feature test conditional.
Roland McGrath [Mon, 27 Feb 2012 21:58:42 +0000 (13:58 -0800)]
Add missing fcntl.h include in some aio tests.
Roland McGrath [Mon, 27 Feb 2012 21:29:12 +0000 (13:29 -0800)]
Remove a spurious const in tst-fmemopen.
David S. Miller [Mon, 27 Feb 2012 20:59:16 +0000 (12:59 -0800)]
Fix stray references to __pthread_attr
* sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h: Don't refer to non-existing
__pthread_attr.
* sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise.
Joseph Myers [Mon, 27 Feb 2012 20:52:30 +0000 (20:52 +0000)]
Require Linux kernel headers from "make headers_install", >= 2.6.19.1.
Joseph Myers [Mon, 27 Feb 2012 20:37:48 +0000 (20:37 +0000)]
Don't document fclean.
Joseph Myers [Mon, 27 Feb 2012 20:35:43 +0000 (20:35 +0000)]
Automatically generate version number in manual; omit edition / updated date.
Andreas Schwab [Mon, 27 Feb 2012 19:21:36 +0000 (20:21 +0100)]
Add missing headers
Ulrich Drepper [Mon, 27 Feb 2012 02:45:44 +0000 (21:45 -0500)]
Restrict run-conformtest runs
Ulrich Drepper [Mon, 27 Feb 2012 02:42:53 +0000 (21:42 -0500)]
Fix name mangling of pthread_attr_t after change
Ulrich Drepper [Mon, 27 Feb 2012 02:32:56 +0000 (21:32 -0500)]
Add first fixes for conformtest for POSIX2008
Ulrich Drepper [Sun, 26 Feb 2012 22:41:17 +0000 (17:41 -0500)]
Work around problem of pthread_attr_t definition with old compilers
Ulrich Drepper [Sun, 26 Feb 2012 18:17:27 +0000 (13:17 -0500)]
Fix up POSIX testing in conformtest
Andreas Schwab [Sun, 26 Feb 2012 14:22:53 +0000 (15:22 +0100)]
Replace sysdeps/ieee754/dbl-64/k_tan.c with empty file
Ulrich Drepper [Sun, 26 Feb 2012 04:18:39 +0000 (23:18 -0500)]
First steps to get conformtest fully working
Ulrich Drepper [Sun, 26 Feb 2012 02:28:27 +0000 (21:28 -0500)]
Fix ISO C11 definitions in time.h
Ulrich Drepper [Sat, 25 Feb 2012 02:18:04 +0000 (21:18 -0500)]
Fix locking in fmtmsg
Joseph Myers [Sat, 25 Feb 2012 00:29:19 +0000 (00:29 +0000)]
Fix configure logic for disabling multi-arch.
Joseph Myers [Fri, 24 Feb 2012 21:42:53 +0000 (21:42 +0000)]
Update texinfo.tex to version 2012-01-19.16.
Joseph Myers [Fri, 24 Feb 2012 21:32:58 +0000 (21:32 +0000)]
Update makefile for FDL 1.3 change.
Roland McGrath [Fri, 24 Feb 2012 20:58:10 +0000 (12:58 -0800)]
BZ#13738: Switch manual to FDL 1.3.
Roland McGrath [Fri, 24 Feb 2012 20:53:25 +0000 (12:53 -0800)]
BZ#13738: Parameterize and fix mention of FDL version in manual.
Joseph Myers [Wed, 22 Feb 2012 21:04:27 +0000 (21:04 +0000)]
Prefer C99 names for long long limit macros.
Joseph Myers [Wed, 22 Feb 2012 13:03:40 +0000 (13:03 +0000)]
Fix nearbyintf rounding.
Joseph Myers [Wed, 22 Feb 2012 13:01:20 +0000 (13:01 +0000)]
Fix rintf rounding.
Joseph Myers [Wed, 22 Feb 2012 12:53:04 +0000 (12:53 +0000)]
Move __STDC_* predefined macros from features.h to stdc-predef.h.
Joseph Myers [Wed, 22 Feb 2012 00:06:09 +0000 (00:06 +0000)]
Revert VERSION and UPDATED changes in manual.
David S. Miller [Tue, 21 Feb 2012 23:36:11 +0000 (15:36 -0800)]
Update long-double sparc math ULPs missed by previous changes.
* sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
* sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
David S. Miller [Tue, 21 Feb 2012 04:50:14 +0000 (20:50 -0800)]
Tweak sparc32 longjmp to not store a dummy frame pointer onto the stack.
* sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
using a normal save/restore sequence, rather than allocating a
dummy stack frame just to store a frame pointer and restore.
* sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
Joseph Myers [Tue, 21 Feb 2012 02:19:14 +0000 (02:19 +0000)]
Fix stray word in line-wrapped comment in install.texi.
David S. Miller [Tue, 21 Feb 2012 01:47:27 +0000 (17:47 -0800)]
Use PI_STATIC_AND_HIDDEN on sparc if we universally use GOTDATA relocs.
* sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
both binutils and gcc support GOTDATA.
David S. Miller [Tue, 21 Feb 2012 23:45:17 +0000 (15:45 -0800)]
Explain why we don't make use of RDPC in the sparc PIC register setup.
* sysdeps/unix/sparc/sysdep.h: Document why we don't use
"rd %pc" in the PIC register setup sequences.
David S. Miller [Tue, 21 Feb 2012 23:42:42 +0000 (15:42 -0800)]
Use sparc GOTDATA relocations whenever possible.
* sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
* sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
* sysdeps/sparc/sparc32/elf/start.S: Likewise.
* sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
* sysdeps/sparc/sparc64/elf/start.S: Likewise.
* sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
* sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
(SYSCALL_ERROR_HANDLER): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
(SYSCALL_ERROR_HANDLER): Likewise.
David S. Miller [Tue, 21 Feb 2012 20:06:07 +0000 (12:06 -0800)]
Add sparc configure checks for GOTDATA support.
* config.h.in (HAVE_BINUTILS_GOTDATA): New.
(HAVE_GCC_GOTDATA): New.
* sysdeps/sparc/elf/configure.in: Test for GOTDATA
relocation support in both binutils and gcc.
* sysdeps/sparc/elf/configure: Regenerate.
David S. Miller [Tue, 21 Feb 2012 19:49:48 +0000 (11:49 -0800)]
Consolidate Sparc ELF configure fragments to one spot.
* sysdeps/sparc/sparc32/elf/configure.in: Delete.
* sysdeps/sparc/sparc32/elf/configure: Delete.
* sysdeps/sparc/sparc64/elf/configure.in: Delete.
* sysdeps/sparc/sparc64/elf/configure: Delete.
* sysdeps/sparc/elf/configure.in: New file.
* sysdeps/sparc/elf/configure: Generate.
David S. Miller [Tue, 21 Feb 2012 19:32:08 +0000 (11:32 -0800)]
Remove sparc WDISP22 configure checks, no longer used.
* sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
* sysdeps/sparc/sparc32/elf/configure: Regenerate.
* sysdeps/sparc/sparc64/elf/configure.in: Likewise.
* sysdeps/sparc/sparc64/elf/configure: Regenerate.
* config.h.in (BROKEN_SPARC_WDISP22): Remove.
Joseph Myers [Tue, 21 Feb 2012 01:01:28 +0000 (01:01 +0000)]
Update or avoid glibc version numbers in manual.
Joseph Myers [Tue, 21 Feb 2012 00:50:03 +0000 (00:50 +0000)]
Add 13695 to list of bugs fixed in NEWS.
Joseph Myers [Tue, 21 Feb 2012 00:46:01 +0000 (00:46 +0000)]
Remove old initfini mechanism.
Joseph Myers [Tue, 21 Feb 2012 00:32:30 +0000 (00:32 +0000)]
Split architecture-specific parts of sys/epoll.h into bits/epoll.h.
Joseph Myers [Tue, 21 Feb 2012 00:29:13 +0000 (00:29 +0000)]
Split architecture-specific parts of sys/timerfd.h into bits/timerfd.h.
Joseph Myers [Mon, 20 Feb 2012 18:06:05 +0000 (18:06 +0000)]
Resort ULPs files with gen-libm-test.pl -n in C locale.
Aurelien Jarno [Mon, 20 Feb 2012 06:37:30 +0000 (07:37 +0100)]
Adjust SPARC ULPs to take into account the new jn tests.
Andreas Schwab [Sun, 19 Feb 2012 14:51:40 +0000 (15:51 +0100)]
Add support for Linux error EHWPOISON
Aurelien Jarno [Sun, 19 Feb 2012 10:20:18 +0000 (11:20 +0100)]
Use non-signaling floating-point comparisons in math functions.
Joseph Myers [Sun, 19 Feb 2012 02:02:10 +0000 (02:02 +0000)]
Fix parameter name in strnlen documentation.
Joseph Myers [Sun, 19 Feb 2012 01:54:33 +0000 (01:54 +0000)]
Make seteuid argument name consistent in manual.
Joseph Myers [Sun, 19 Feb 2012 01:46:08 +0000 (01:46 +0000)]
Correct list of services in example NSS configuration file.
Nick Bowler [Sun, 19 Feb 2012 01:38:37 +0000 (01:38 +0000)]
Remove erroneous statements about negative zero.
Joseph Myers [Sat, 18 Feb 2012 18:31:53 +0000 (18:31 +0000)]
Remove documentation of upgrading from libc5.
Joseph Myers [Sat, 18 Feb 2012 18:21:52 +0000 (18:21 +0000)]
Do not claim that GCC predefines __POSIX__.
David S. Miller [Sun, 19 Feb 2012 06:31:42 +0000 (22:31 -0800)]
Rework sparc PIC macros so crt{i,n}.S can use them too.
* sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
(SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
%o7 across the call.
(SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
instead.
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
SETUP_PIC_REG_LEAF.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
* sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
* sysdeps/sparc/crtn.S: Likewise.
Ulrich Drepper [Sat, 18 Feb 2012 02:27:44 +0000 (21:27 -0500)]
Remove remnants of aout builds
Rafe Kettler [Sat, 18 Feb 2012 00:10:47 +0000 (00:10 +0000)]
Make declarations of "main" in examples consistent.
Joseph Myers [Fri, 17 Feb 2012 23:46:51 +0000 (23:46 +0000)]
Correct documentation of FLT_EPSILON.
Fabrice Bauzac [Fri, 17 Feb 2012 23:34:01 +0000 (23:34 +0000)]
Change recommendation of strchrnul in strchr documentation.
Dwayne Grant McConnell [Fri, 17 Feb 2012 22:19:38 +0000 (22:19 +0000)]
Document LOCPATH.
Joseph Myers [Fri, 17 Feb 2012 22:06:09 +0000 (22:06 +0000)]
Fix documented parameters to execle.
Joseph Myers [Fri, 17 Feb 2012 17:57:29 +0000 (17:57 +0000)]
Fix ordering of bug numbers in NEWS.
Paul Bolle [Fri, 17 Feb 2012 17:54:10 +0000 (17:54 +0000)]
Fix typo (LC_TYPE -> LC_CTYPE).
Nicolas Boulenguez [Fri, 17 Feb 2012 17:44:38 +0000 (17:44 +0000)]
Fix various problems with @deftypefun lines.
Joseph Myers [Fri, 17 Feb 2012 17:02:52 +0000 (17:02 +0000)]
Add more bug numbers.
Joseph Myers [Fri, 17 Feb 2012 17:00:01 +0000 (17:00 +0000)]
Fix typos in documentation of fopen ",ccs=STRING".
Aurelien Jarno [Fri, 17 Feb 2012 16:46:56 +0000 (17:46 +0100)]
Include <time.h> in clock_settime.c.
Thomas Schwinge [Fri, 17 Feb 2012 07:46:28 +0000 (08:46 +0100)]
Hurd: #define away madvise for malloc code, fix previous commit.
Joseph Myers [Fri, 17 Feb 2012 01:23:04 +0000 (01:23 +0000)]
Fix typo in manual (bug 9902).
Joseph Myers [Fri, 17 Feb 2012 01:13:15 +0000 (01:13 +0000)]
Include <stdlib.h> in argp examples.
Joseph Myers [Fri, 17 Feb 2012 00:30:51 +0000 (00:30 +0000)]
List bugs 4822 and 11494 as fixed in NEWS.
Richard Henderson [Thu, 16 Feb 2012 03:58:28 +0000 (19:58 -0800)]
s390: Convert to crt[in].S.
David S. Miller [Thu, 16 Feb 2012 22:56:54 +0000 (14:56 -0800)]
Add O_FSYNC define to sparc just like other platforms.
Kaz Kojima [Wed, 15 Feb 2012 22:21:37 +0000 (07:21 +0900)]
Merge branch 'master' of git://sources.redhat.com/git/glibc
Kaz Kojima [Wed, 15 Feb 2012 22:17:24 +0000 (07:17 +0900)]
Add SH target specific crti.S and crtn.S and remove initfini files.
Add sysdeps/sh/crti.S, sysdeps/sh/crtn.S and remove sysdeps/sh/elf/initfini.c
and nptl/sysdeps/unix/sysv/linux/sh/pt-initfini.c.