platform/upstream/linaro-glibc.git
12 years agoMerge branch 'master' into bug13658-branch
Andreas Jaeger [Wed, 7 Mar 2012 07:55:31 +0000 (08:55 +0100)]
Merge branch 'master' into bug13658-branch

12 years agoUpdate sparc ULPs due to recently added tests.
David S. Miller [Tue, 6 Mar 2012 05:07:32 +0000 (21:07 -0800)]
Update sparc ULPs due to recently added tests.

* sysdeps/sparc/fpu/libm-test-ulps: Update.

12 years agoWrap too-long log entry.
Roland McGrath [Mon, 5 Mar 2012 20:48:57 +0000 (12:48 -0800)]
Wrap too-long log entry.

12 years agoUpdate powerpc libm ULPs
Andreas Schwab [Mon, 5 Mar 2012 19:20:15 +0000 (20:20 +0100)]
Update powerpc libm ULPs

12 years agoFix loss of precision in cosh and sinh for IBM long double
Andreas Schwab [Mon, 5 Mar 2012 19:19:14 +0000 (20:19 +0100)]
Fix loss of precision in cosh and sinh for IBM long double

12 years agoFix broken date.
Andreas Jaeger [Mon, 5 Mar 2012 19:24:48 +0000 (20:24 +0100)]
Fix broken date.

12 years ago * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
H.J. Lu [Mon, 5 Mar 2012 18:45:53 +0000 (19:45 +0100)]
* sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
Replace gettimeofday with __vdso_gettimeofday.

* sysdeps/unix/sysv/linux/x86_64/init-first.c (_libc_vdso_platform_setup):
Replace clock_gettime and getcpu with __vdso_clock_gettime and
__vdso_getcpu.

* sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
time with __vdso_time.

12 years agoReduce discussion of types to which size_t may be equivalent.
Joseph Myers [Mon, 5 Mar 2012 15:03:57 +0000 (15:03 +0000)]
Reduce discussion of types to which size_t may be equivalent.

12 years agoAdd BZ#13656
Andreas Jaeger [Mon, 5 Mar 2012 12:38:43 +0000 (13:38 +0100)]
Add BZ#13656

12 years ago* sysdeps/i386/fpu/libm-test-ulps: Update.
Andreas Jaeger [Mon, 5 Mar 2012 12:37:29 +0000 (13:37 +0100)]
* sysdeps/i386/fpu/libm-test-ulps: Update.

12 years agoFix pow in non-default rounding modes (bug 3976).
Joseph Myers [Mon, 5 Mar 2012 12:22:46 +0000 (12:22 +0000)]
Fix pow in non-default rounding modes (bug 3976).

12 years agoTest cosh, sinh in non-default rounding modes (bug 3976).
Joseph Myers [Mon, 5 Mar 2012 12:20:24 +0000 (12:20 +0000)]
Test cosh, sinh in non-default rounding modes (bug 3976).

12 years ago2012-03-05 Tom de Vries <tom@codesourcery.com>
Tom de Vries [Mon, 5 Mar 2012 10:05:42 +0000 (11:05 +0100)]
2012-03-05  Tom de Vries  <tom@codesourcery.com>

* sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
default stack guard is set in last bytes.
* sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.

12 years agocleanup my last commit: tabify, change date
Andreas Jaeger [Mon, 5 Mar 2012 09:43:35 +0000 (10:43 +0100)]
cleanup my last commit: tabify, change date

12 years ago2012-03-02 Kees Cook <keescook@chromium.org>
Kees Cook [Mon, 5 Mar 2012 09:18:17 +0000 (10:18 +0100)]
2012-03-02  Kees Cook  <keescook@chromium.org>

        * stdio-common/vfprintf.c (vfprintf): add missing errno settings.

12 years ago2012-03-02 Kees Cook <keescook@chromium.org>
Kees Cook [Mon, 5 Mar 2012 09:17:22 +0000 (10:17 +0100)]
2012-03-02  Kees Cook  <keescook@chromium.org>

        [BZ #13656]
        * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
        possibly allocate from heap instead of stack.
        * stdio-common/bug-vfprintf-nargs.c: New file.
        * stdio-common/Makefile (tests): Add nargs overflow test.

12 years agoUpdate powerpc libm ULPs
Andreas Schwab [Sat, 3 Mar 2012 13:20:24 +0000 (14:20 +0100)]
Update powerpc libm ULPs

12 years agoRemove oldish __GNUC_PREREQ.
Marek Polacek [Sat, 3 Mar 2012 21:54:18 +0000 (22:54 +0100)]
Remove oldish __GNUC_PREREQ.

12 years agoAdd sparc optimized {l,}rint{,f} for 32-bit v9 and 64-bit.
David S. Miller [Sat, 3 Mar 2012 02:57:20 +0000 (18:57 -0800)]
Add sparc optimized {l,}rint{,f} for 32-bit v9 and 64-bit.

* sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
* sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
* sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
* sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
* sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.

12 years agoBZ #13792: License manual example source files under GPL.
Roland McGrath [Sat, 3 Mar 2012 00:50:06 +0000 (16:50 -0800)]
BZ #13792: License manual example source files under GPL.

12 years agoBZ #13792: Add missing file from last commit.
Roland McGrath [Fri, 2 Mar 2012 23:54:38 +0000 (15:54 -0800)]
BZ #13792: Add missing file from last commit.

12 years agoBZ#13792: Move timeval_subtract example function in manual into an examples/ C source...
Roland McGrath [Fri, 2 Mar 2012 23:49:03 +0000 (15:49 -0800)]
BZ#13792: Move timeval_subtract example function in manual into an examples/ C source file.

12 years agoUpdate sparc ULPs.
David S. Miller [Fri, 2 Mar 2012 22:17:33 +0000 (14:17 -0800)]
Update sparc ULPs.

* sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.

12 years agoFix sin, cos, tan in non-default rounding modes (bug 3976).
Joseph Myers [Fri, 2 Mar 2012 20:51:39 +0000 (20:51 +0000)]
Fix sin, cos, tan in non-default rounding modes (bug 3976).

12 years agoFix scalbn, scalbln integer overflow.
Joseph Myers [Fri, 2 Mar 2012 15:32:56 +0000 (15:32 +0000)]
Fix scalbn, scalbln integer overflow.

12 years agoDocument properties of standard typedefs, not exact types.
Joseph Myers [Fri, 2 Mar 2012 15:23:30 +0000 (15:23 +0000)]
Document properties of standard typedefs, not exact types.

12 years agoFix exp in non-default rounding modes (bug 3976).
Joseph Myers [Fri, 2 Mar 2012 15:12:53 +0000 (15:12 +0000)]
Fix exp in non-default rounding modes (bug 3976).

12 years ago2012-03-01 Chris Demetriou <cgd@google.com>
Chris Demetriou [Fri, 2 Mar 2012 08:32:45 +0000 (09:32 +0100)]
2012-03-01  Chris Demetriou  <cgd@google.com>

* sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals
* to
have predictable order.

12 years agoKill sparc32 specific __getpagesize, unneeded.
David S. Miller [Fri, 2 Mar 2012 07:30:55 +0000 (23:30 -0800)]
Kill sparc32 specific __getpagesize, unneeded.

* sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.

12 years agoOptimized 64-bit sparc assembler for finite{,f} and isinf{,f}.
David S. Miller [Fri, 2 Mar 2012 06:14:35 +0000 (22:14 -0800)]
Optimized 64-bit sparc assembler for finite{,f} and isinf{,f}.

* sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
* sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
* sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
* sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.

12 years agoOptimized sparc assembler for signbit{,f,l} and some variants of isnan.
David S. Miller [Fri, 2 Mar 2012 04:43:38 +0000 (20:43 -0800)]
Optimized sparc assembler for signbit{,f,l} and some variants of isnan.

* sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
* sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
* sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
* sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
* sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
* sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
* sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
* sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.

12 years agoUpdate Sparc ulps for recently added tests.
David S. Miller [Fri, 2 Mar 2012 01:34:04 +0000 (17:34 -0800)]
Update Sparc ulps for recently added tests.

* sysdeps/sparc/fpu/libm-test-ulps: Update.

12 years agoSparc doesn't need seperate 32-bit and 64-bit ulps files.
David S. Miller [Fri, 2 Mar 2012 01:32:58 +0000 (17:32 -0800)]
Sparc doesn't need seperate 32-bit and 64-bit ulps files.

* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
* sysdeps/sparc/fpu/libm-test-ulps: to here.
* sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.

12 years agoRemove sparc binutils GOTDATA checks in lieu of new minimum version requirement.
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.

12 years agoRequire binutils 2.20 or later.
Joseph Myers [Thu, 1 Mar 2012 21:23:57 +0000 (21:23 +0000)]
Require binutils 2.20 or later.

12 years agoImprove erfc accuracy.
Joseph Myers [Thu, 1 Mar 2012 21:15:38 +0000 (21:15 +0000)]
Improve erfc accuracy.

12 years agosoft-fp: Support using struct layout attributes on bit-fields.
Kai Tietz [Thu, 1 Mar 2012 16:22:09 +0000 (16:22 +0000)]
soft-fp: Support using struct layout attributes on bit-fields.

12 years agoAdd bug 13786 to NEWS.
Joseph Myers [Wed, 29 Feb 2012 22:38:30 +0000 (22:38 +0000)]
Add bug 13786 to NEWS.

12 years agoFix x86 strcasecmp_l (bug 13786).
Joseph Myers [Wed, 29 Feb 2012 22:37:38 +0000 (22:37 +0000)]
Fix x86 strcasecmp_l (bug 13786).

12 years agoAdd test for bug 5794 (incorrect expm1 overflow).
Joseph Myers [Wed, 29 Feb 2012 20:49:20 +0000 (20:49 +0000)]
Add test for bug 5794 (incorrect expm1 overflow).

12 years agoReduce large expected errors from libm tests on x86 and x86_64.
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.

12 years ago[network] Avoid out ouf bounds read in __libc_res_nquerydomain
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.

12 years agoAlways set l_used for vDSO.
Marek Polacek [Wed, 29 Feb 2012 14:28:38 +0000 (15:28 +0100)]
Always set l_used for vDSO.

12 years agoAdd sparc optimized sqrt{,f}.
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.

12 years agoMove misplaced llround test and add lround test from bug 2561.
Joseph Myers [Wed, 29 Feb 2012 01:55:42 +0000 (01:55 +0000)]
Move misplaced llround test and add lround test from bug 2561.

12 years agoRestore wrongly removed ChangeLog entries for generated files.
Joseph Myers [Wed, 29 Feb 2012 01:24:33 +0000 (01:24 +0000)]
Restore wrongly removed ChangeLog entries for generated files.

12 years agoOptimized expf for x86-64
Ulrich Drepper [Wed, 29 Feb 2012 01:06:39 +0000 (20:06 -0500)]
Optimized expf for x86-64

12 years agoRegenerate sysdeps/gnu/errlist.c for errno.texi changes.
Joseph Myers [Tue, 28 Feb 2012 16:37:58 +0000 (16:37 +0000)]
Regenerate sysdeps/gnu/errlist.c for errno.texi changes.

12 years agoFix ChangeLog
Andreas Jaeger [Tue, 28 Feb 2012 15:20:33 +0000 (16:20 +0100)]
Fix ChangeLog

12 years agoAdd BZ#13637
Stanislav Brabec [Tue, 28 Feb 2012 15:17:29 +0000 (16:17 +0100)]
Add BZ#13637

12 years ago [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.

12 years agoUse Texinfo macros to refer to the GNU C Library within the manual.
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.

12 years agoInclude <dirstream.h> before <dirent/dirent.h>
Andreas Schwab [Tue, 28 Feb 2012 14:00:25 +0000 (15:00 +0100)]
Include <dirstream.h> before <dirent/dirent.h>

12 years agoAdd __dirfd prototype.
Andreas Jaeger [Tue, 28 Feb 2012 12:16:18 +0000 (13:16 +0100)]
Add __dirfd prototype.

12 years agoRename dirfd to __dirfd, add weak_alias.
Andreas Jaeger [Tue, 28 Feb 2012 12:16:05 +0000 (13:16 +0100)]
Rename dirfd to __dirfd, add weak_alias.

12 years agoAvoid local PLT for dirfd
Andreas Jaeger [Tue, 28 Feb 2012 12:15:34 +0000 (13:15 +0100)]
Avoid local PLT for dirfd

12 years agoAdd optimized copysign for sparc.
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.

12 years agoOptimized sparc floor{,f} routines.
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.

12 years agoFix %fp/%sp typo in new sparc ceil{,f} assembler.
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.

12 years agoBZ #3992: stdlib/fmtmsg.c: missing stdint.h include.
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.

12 years agoFix comment formatting in new optimized sparc math files.
David S. Miller [Mon, 27 Feb 2012 23:24:09 +0000 (15:24 -0800)]
Fix comment formatting in new optimized sparc math files.

12 years agoRequire GCC 4.3 or later.
Joseph Myers [Mon, 27 Feb 2012 23:07:59 +0000 (23:07 +0000)]
Require GCC 4.3 or later.

12 years agoOptimized sparc ceil{,f} and rint{,f} routines.
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.

12 years agoFix ldbl-128 rintl/nearbyintl just like flt-32 variants.
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.

12 years agoBZ#13775: Fix vdprintf/dprintf ldbl-compat decl feature test conditional.
Roland McGrath [Mon, 27 Feb 2012 22:00:47 +0000 (14:00 -0800)]
BZ#13775: Fix vdprintf/dprintf ldbl-compat decl feature test conditional.

12 years agoAdd missing fcntl.h include in some aio tests.
Roland McGrath [Mon, 27 Feb 2012 21:58:42 +0000 (13:58 -0800)]
Add missing fcntl.h include in some aio tests.

12 years agoRemove a spurious const in tst-fmemopen.
Roland McGrath [Mon, 27 Feb 2012 21:29:12 +0000 (13:29 -0800)]
Remove a spurious const in tst-fmemopen.

12 years agoFix stray references to __pthread_attr
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.

12 years agoRequire Linux kernel headers from "make headers_install", >= 2.6.19.1.
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.

12 years agoDon't document fclean.
Joseph Myers [Mon, 27 Feb 2012 20:37:48 +0000 (20:37 +0000)]
Don't document fclean.

12 years agoAutomatically generate version number in manual; omit edition / updated date.
Joseph Myers [Mon, 27 Feb 2012 20:35:43 +0000 (20:35 +0000)]
Automatically generate version number in manual; omit edition / updated date.

12 years agoAdd missing headers
Andreas Schwab [Mon, 27 Feb 2012 19:21:36 +0000 (20:21 +0100)]
Add missing headers

12 years agoRestrict run-conformtest runs
Ulrich Drepper [Mon, 27 Feb 2012 02:45:44 +0000 (21:45 -0500)]
Restrict run-conformtest runs

12 years agoFix name mangling of pthread_attr_t after change
Ulrich Drepper [Mon, 27 Feb 2012 02:42:53 +0000 (21:42 -0500)]
Fix name mangling of pthread_attr_t after change

12 years agoAdd first fixes for conformtest for POSIX2008
Ulrich Drepper [Mon, 27 Feb 2012 02:32:56 +0000 (21:32 -0500)]
Add first fixes for conformtest for POSIX2008

12 years agoWork around problem of pthread_attr_t definition with old compilers
Ulrich Drepper [Sun, 26 Feb 2012 22:41:17 +0000 (17:41 -0500)]
Work around problem of pthread_attr_t definition with old compilers

12 years agoFix up POSIX testing in conformtest
Ulrich Drepper [Sun, 26 Feb 2012 18:17:27 +0000 (13:17 -0500)]
Fix up POSIX testing in conformtest

12 years agoReplace sysdeps/ieee754/dbl-64/k_tan.c with empty file
Andreas Schwab [Sun, 26 Feb 2012 14:22:53 +0000 (15:22 +0100)]
Replace sysdeps/ieee754/dbl-64/k_tan.c with empty file

12 years agoFirst steps to get conformtest fully working
Ulrich Drepper [Sun, 26 Feb 2012 04:18:39 +0000 (23:18 -0500)]
First steps to get conformtest fully working

12 years agoFix ISO C11 definitions in time.h
Ulrich Drepper [Sun, 26 Feb 2012 02:28:27 +0000 (21:28 -0500)]
Fix ISO C11 definitions in time.h

12 years agoFix locking in fmtmsg
Ulrich Drepper [Sat, 25 Feb 2012 02:18:04 +0000 (21:18 -0500)]
Fix locking in fmtmsg

12 years agoFix configure logic for disabling multi-arch.
Joseph Myers [Sat, 25 Feb 2012 00:29:19 +0000 (00:29 +0000)]
Fix configure logic for disabling multi-arch.

12 years agoUpdate texinfo.tex to version 2012-01-19.16.
Joseph Myers [Fri, 24 Feb 2012 21:42:53 +0000 (21:42 +0000)]
Update texinfo.tex to version 2012-01-19.16.

12 years agoUpdate makefile for FDL 1.3 change.
Joseph Myers [Fri, 24 Feb 2012 21:32:58 +0000 (21:32 +0000)]
Update makefile for FDL 1.3 change.

12 years agoBZ#13738: Switch manual to FDL 1.3.
Roland McGrath [Fri, 24 Feb 2012 20:58:10 +0000 (12:58 -0800)]
BZ#13738: Switch manual to FDL 1.3.

12 years agoBZ#13738: Parameterize and fix mention of FDL version in manual.
Roland McGrath [Fri, 24 Feb 2012 20:53:25 +0000 (12:53 -0800)]
BZ#13738: Parameterize and fix mention of FDL version in manual.

12 years agoPrefer C99 names for long long limit macros.
Joseph Myers [Wed, 22 Feb 2012 21:04:27 +0000 (21:04 +0000)]
Prefer C99 names for long long limit macros.

12 years agoFix nearbyintf rounding.
Joseph Myers [Wed, 22 Feb 2012 13:03:40 +0000 (13:03 +0000)]
Fix nearbyintf rounding.

12 years agoFix rintf rounding.
Joseph Myers [Wed, 22 Feb 2012 13:01:20 +0000 (13:01 +0000)]
Fix rintf rounding.

12 years agoMove __STDC_* predefined macros from features.h to stdc-predef.h.
Joseph Myers [Wed, 22 Feb 2012 12:53:04 +0000 (12:53 +0000)]
Move __STDC_* predefined macros from features.h to stdc-predef.h.

12 years agoRevert VERSION and UPDATED changes in manual.
Joseph Myers [Wed, 22 Feb 2012 00:06:09 +0000 (00:06 +0000)]
Revert VERSION and UPDATED changes in manual.

12 years agoUpdate long-double sparc math ULPs missed by previous changes.
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.

12 years agoTweak sparc32 longjmp to not store a dummy frame pointer onto the stack.
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.

12 years agoFix stray word in line-wrapped comment in install.texi.
Joseph Myers [Tue, 21 Feb 2012 02:19:14 +0000 (02:19 +0000)]
Fix stray word in line-wrapped comment in install.texi.

12 years agoUse PI_STATIC_AND_HIDDEN on sparc if we universally use GOTDATA relocs.
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.

12 years agoExplain why we don't make use of RDPC in the sparc PIC register setup.
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.

12 years agoUse sparc GOTDATA relocations whenever possible.
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.

12 years agoAdd sparc configure checks for GOTDATA support.
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.

12 years agoConsolidate Sparc ELF configure fragments to one spot.
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.

12 years agoRemove sparc WDISP22 configure checks, no longer used.
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.