Commit Graph

13661 Commits

Author SHA1 Message Date
Richard Henderson 67bb6da679 powerpc: Convert __ieee754_sqrt{,f} from macros to inlines. 2012-03-09 11:16:18 -08:00
Richard Henderson 15194b4b3d x86_64: Convert __rint* and __floor* from macros to inlines. 2012-03-09 11:15:47 -08:00
Richard Henderson 64e21edef1 x86_64: Convert __ieee754_sqrt{,f,l} from macros to inlines. 2012-03-09 11:15:19 -08:00
Richard Henderson 38842f4553 Use target-specific math_private.h in math_ldbl_opt.h. 2012-03-09 08:08:11 -08:00
David S. Miller c64bf5feb3 Update copyright year after my most recent changes.
nptl/

	* sysdeps/unix/sysv/linux/sparc/sem_post.c: Update copyright year.

/

	* sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
	copyright year.
	* sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2012-03-08 15:09:27 -08:00
Thomas Schwinge 82d86f2844 Fix struct timespec normalization (as used in many other places). 2012-03-08 11:49:43 +01:00
Ulrich Drepper aea5d7277a Clean up tst-fphex test 2012-03-08 03:02:24 -05:00
Ulrich Drepper ca2ff9fc04 Merge branch 'master' of ssh://sourceware.org/git/glibc
Conflicts:
	ChangeLog
2012-03-08 02:49:12 -05:00
Marek Polacek 70bca0a394 Fix up long double fphex test 2012-03-08 02:46:43 -05:00
Marek Polacek 65b81130c5 Enhance fphex test. 2012-03-08 08:34:10 +01:00
Ulrich Drepper 67c6a3d919 Merge branch 'master' of ssh://sourceware.org/git/glibc 2012-03-08 01:57:38 -05:00
Joseph Myers a7a93d5086 Clean up glibc manual references to "GNU system" (bug 6911). 2012-03-08 01:27:38 +00:00
Joseph Myers 07037eeb43 Fix .ctors/.dtors header configure test for bootstrapping. 2012-03-08 00:17:27 +00:00
Joseph Myers af6a1e3755 Fix sysdeps/i386/configure.in cpuid.h test for bootstrapping. 2012-03-07 20:51:54 +00:00
Joseph Myers d1d3431a3a Fix signs of zeros from casinh, cacosh etc. (bug 10716). 2012-03-07 15:15:19 +00:00
Ulrich Drepper 872fda052d Update traditional Chinese translation 2012-03-07 05:35:30 -05:00
Ulrich Drepper a4300c7a4d Remove distribute variable from Makefiles 2012-03-07 05:17:13 -05:00
Ulrich Drepper 482ff4dae9 Don't install timezone rule files 2012-03-07 04:48:47 -05:00
Ulrich Drepper a000466f5e Add missing gshadow handling in __nss_configure_lookup 2012-03-06 21:55:18 -05:00
Ulrich Drepper f72ed77d71 Formatting fixes 2012-03-06 21:45:53 -05:00
Marek Polacek a53b7a4e4b Fix up long double fphex. 2012-03-06 22:08:16 +01:00
David S. Miller e92584001a Fix several build warnings on sparc.
/

	* sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
	(set_obp_int): New function.
	(get_obp_int): New function.
	(__get_clockfreq_via_dev_openprom): Likewise.
	* sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P): Avoid
	unused variable warnings on 'val' and use builtin_expect.
	(INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with builtin_expect.
	(INLINE_CLONE_SYSCALL): Likewise.

nptl/

	* sysdeps/unix/sysv/linux/sparc/sem_post.c (__new_sem_post): Use
	atomic_increment and remove unused local variable.
	(__old_sem_post): Likewise.
2012-03-06 11:15:26 -08:00
David S. Miller 3bd2c72316 Update sparc ULPs due to recently added tests.
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-03-05 21:07:32 -08:00
Roland McGrath 7be16f8276 Wrap too-long log entry. 2012-03-05 12:48:57 -08:00
Andreas Schwab 884c5db424 Update powerpc libm ULPs 2012-03-05 20:38:18 +01:00
Andreas Schwab bbb78d030e Fix loss of precision in cosh and sinh for IBM long double 2012-03-05 20:38:17 +01:00
Andreas Jaeger 1c9f702a07 Fix broken date. 2012-03-05 20:24:48 +01:00
H.J. Lu 8542dee325 * 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.
2012-03-05 19:45:53 +01:00
Joseph Myers ed58a00f9b Reduce discussion of types to which size_t may be equivalent. 2012-03-05 15:03:57 +00:00
Andreas Jaeger 30ee4ced20 * sysdeps/i386/fpu/libm-test-ulps: Update. 2012-03-05 13:37:29 +01:00
Joseph Myers b7cd39e8f8 Fix pow in non-default rounding modes (bug 3976). 2012-03-05 12:22:46 +00:00
Joseph Myers ca811b2256 Test cosh, sinh in non-default rounding modes (bug 3976). 2012-03-05 12:20:24 +00:00
Tom de Vries 6c6a98c983 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.
2012-03-05 11:05:42 +01:00
Andreas Jaeger 21bb2d2e64 cleanup my last commit: tabify, change date 2012-03-05 10:43:35 +01:00
Kees Cook fa0355175d 2012-03-02 Kees Cook <keescook@chromium.org>
* stdio-common/vfprintf.c (vfprintf): add missing errno settings.
2012-03-05 10:18:17 +01:00
Kees Cook 7c1f4834d3 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.
2012-03-05 10:17:22 +01:00
Andreas Schwab c692293436 Update powerpc libm ULPs 2012-03-04 16:03:21 +01:00
Marek Polacek bc957d531c Remove oldish __GNUC_PREREQ. 2012-03-03 22:57:00 +01:00
David S. Miller 6358490d55 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.
2012-03-02 18:59:09 -08:00
Roland McGrath d9a17c075e BZ #13792: License manual example source files under GPL. 2012-03-02 16:52:01 -08:00
Roland McGrath 01ae168d6d BZ#13792: Move timeval_subtract example function in manual into an examples/ C source file. 2012-03-02 15:49:49 -08:00
David S. Miller 49efa33d3d Update sparc ULPs.
* sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2012-03-02 14:17:33 -08:00
Joseph Myers 804360ed83 Fix sin, cos, tan in non-default rounding modes (bug 3976). 2012-03-02 20:51:39 +00:00
Joseph Myers a6d06d7b86 Fix scalbn, scalbln integer overflow. 2012-03-02 15:32:56 +00:00
Joseph Myers 07e12bb391 Document properties of standard typedefs, not exact types. 2012-03-02 15:23:30 +00:00
Joseph Myers 28afd92dbd Fix exp in non-default rounding modes (bug 3976). 2012-03-02 15:12:53 +00:00
Chris Demetriou b1eeb65d49 2012-03-01 Chris Demetriou <cgd@google.com>
* sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals
	* to
	have predictable order.
2012-03-02 09:32:45 +01:00
David S. Miller 3c96908397 Kill sparc32 specific __getpagesize, unneeded.
* sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2012-03-01 23:30:55 -08:00
David S. Miller 759707dee3 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.
2012-03-01 22:14:35 -08:00
David S. Miller dfdb8ff299 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.
2012-03-01 20:43:38 -08:00
David S. Miller ead89f9695 Update Sparc ulps for recently added tests.
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-03-01 17:34:04 -08:00
David S. Miller 7f66bd07f0 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.
2012-03-01 17:32:58 -08:00
David S. Miller 53362a4b0f 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.
2012-03-01 15:04:16 -08:00
Joseph Myers bec039bcef Require binutils 2.20 or later. 2012-03-01 21:23:57 +00:00
Joseph Myers 7b1902cb3e Improve erfc accuracy. 2012-03-01 21:15:38 +00:00
Kai Tietz f775c276fd soft-fp: Support using struct layout attributes on bit-fields. 2012-03-01 16:22:09 +00:00
Joseph Myers 0bab47b6b2 Fix x86 strcasecmp_l (bug 13786). 2012-02-29 22:37:38 +00:00
Joseph Myers 0fcad3e243 Add test for bug 5794 (incorrect expm1 overflow). 2012-02-29 20:49:20 +00:00
Joseph Myers 5b8a4d4a09 Reduce large expected errors from libm tests on x86 and x86_64. 2012-02-29 20:40:50 +00:00
Jeff Law 8fdceb2efd [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.
2012-02-29 11:51:27 -05:00
Marek Polacek 1f393a11f6 Always set l_used for vDSO. 2012-02-29 15:28:38 +01:00
David S. Miller 8847f03770 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.
2012-02-28 22:37:58 -08:00
Joseph Myers 169d7f11ad Move misplaced llround test and add lround test from bug 2561. 2012-02-29 01:55:42 +00:00
Joseph Myers 43be4ca2bb Restore wrongly removed ChangeLog entries for generated files. 2012-02-29 01:24:33 +00:00
Ulrich Drepper 39adf059fc Optimized expf for x86-64 2012-02-28 20:06:39 -05:00
Joseph Myers d40c5d54cb Regenerate sysdeps/gnu/errlist.c for errno.texi changes. 2012-02-28 16:37:58 +00:00
Andreas Jaeger 77219e1b66 Fix ChangeLog 2012-02-28 16:20:33 +01:00
Stanislav Brabec 71b5d1c5d5 [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.
2012-02-28 16:16:45 +01:00
Joseph Myers 1f77f0491f Use Texinfo macros to refer to the GNU C Library within the manual. 2012-02-28 14:44:20 +00:00
Andreas Schwab 450bf206b4 Include <dirstream.h> before <dirent/dirent.h> 2012-02-28 15:02:02 +01:00
David S. Miller 741a235bf6 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.
2012-02-28 00:33:00 -08:00
David S. Miller 1aff59a3f7 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.
2012-02-27 20:36:30 -08:00
David S. Miller d6b5aa5879 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.
2012-02-27 20:33:25 -08:00
Carlos O'Donell 433f48bf3b BZ #3992: stdlib/fmtmsg.c: missing stdint.h include.
Use of uint32_t requires stdint.h.
2012-02-27 22:31:39 -05:00
David S. Miller d674b76d0e Fix comment formatting in new optimized sparc math files. 2012-02-27 15:26:06 -08:00
Joseph Myers 0e7727f71d Require GCC 4.3 or later. 2012-02-27 23:07:59 +00:00
David S. Miller 428d5830a2 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.
2012-02-27 14:55:58 -08:00
David S. Miller a78bc6549c 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.
2012-02-27 14:51:45 -08:00
Roland McGrath 36c8acb4f8 BZ#13775: Fix vdprintf/dprintf ldbl-compat decl feature test conditional. 2012-02-27 14:00:47 -08:00
Roland McGrath 84ad622bbf Add missing fcntl.h include in some aio tests. 2012-02-27 13:58:42 -08:00
Roland McGrath 4579f81caf Remove a spurious const in tst-fmemopen. 2012-02-27 13:29:12 -08:00
Joseph Myers abd923dbf2 Require Linux kernel headers from "make headers_install", >= 2.6.19.1. 2012-02-27 20:52:30 +00:00
Joseph Myers 6664049b71 Don't document fclean. 2012-02-27 20:37:48 +00:00
Joseph Myers bb8b6697d4 Automatically generate version number in manual; omit edition / updated date. 2012-02-27 20:35:43 +00:00
Andreas Schwab 12e5c3b9e5 Add missing headers 2012-02-27 20:27:41 +01:00
Ulrich Drepper ba63ba0882 Restrict run-conformtest runs 2012-02-26 21:45:44 -05:00
Ulrich Drepper d94a467080 Add first fixes for conformtest for POSIX2008 2012-02-26 21:32:56 -05:00
Ulrich Drepper 4efeffc1d5 Fix up POSIX testing in conformtest 2012-02-26 13:17:27 -05:00
Andreas Schwab c20105c398 Replace sysdeps/ieee754/dbl-64/k_tan.c with empty file 2012-02-26 16:10:46 +01:00
Ulrich Drepper 3134156779 First steps to get conformtest fully working 2012-02-25 23:18:39 -05:00
Ulrich Drepper 7a270350a9 Fix ISO C11 definitions in time.h 2012-02-25 21:28:27 -05:00
Ulrich Drepper 7724defcf8 Fix locking in fmtmsg 2012-02-24 21:18:04 -05:00
Joseph Myers 6b1d1d46b9 Fix configure logic for disabling multi-arch. 2012-02-25 00:29:19 +00:00
Joseph Myers 0f8bbd69cd Update texinfo.tex to version 2012-01-19.16. 2012-02-24 21:46:36 +00:00
Joseph Myers 66ab80bca6 Update makefile for FDL 1.3 change. 2012-02-24 21:32:58 +00:00
Roland McGrath ee968201e7 BZ#13738: Switch manual to FDL 1.3. 2012-02-24 12:58:10 -08:00
Roland McGrath 74981cc52d BZ#13738: Parameterize and fix mention of FDL version in manual. 2012-02-24 12:53:25 -08:00
Joseph Myers 7bb764bcb1 Prefer C99 names for long long limit macros. 2012-02-22 21:04:27 +00:00
Joseph Myers 6cbeae4719 Fix nearbyintf rounding. 2012-02-22 13:03:40 +00:00
Joseph Myers fe45ce09f3 Fix rintf rounding. 2012-02-22 13:01:20 +00:00
Joseph Myers ff3b3d8278 Move __STDC_* predefined macros from features.h to stdc-predef.h. 2012-02-22 12:53:04 +00:00
Joseph Myers ef0aab352c Revert VERSION and UPDATED changes in manual. 2012-02-22 00:06:09 +00:00
David S. Miller 586394099c 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.
2012-02-21 15:36:11 -08:00
David S. Miller c0e70b2543 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.
2012-02-20 20:50:14 -08:00
Joseph Myers fb06851d67 Fix stray word in line-wrapped comment in install.texi. 2012-02-21 02:19:14 +00:00
David S. Miller d510c12326 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.
2012-02-20 17:52:07 -08:00
David S. Miller 0722d7c2ac 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.
2012-02-20 17:52:01 -08:00
David S. Miller 3d2b3019e0 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.
2012-02-20 17:51:53 -08:00
David S. Miller c80098a9a0 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.
2012-02-20 17:51:48 -08:00
David S. Miller 3a2545a0f3 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.
2012-02-20 17:51:40 -08:00
David S. Miller 7a8b71c37c 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.
2012-02-20 17:51:21 -08:00
Joseph Myers f1e86fca4a Update or avoid glibc version numbers in manual. 2012-02-21 01:01:28 +00:00
Joseph Myers 0e7dfaef51 Remove old initfini mechanism. 2012-02-21 00:46:01 +00:00
Joseph Myers 599af3ca61 Split architecture-specific parts of sys/epoll.h into bits/epoll.h. 2012-02-21 00:32:30 +00:00
Joseph Myers 0e4997508d Split architecture-specific parts of sys/timerfd.h into bits/timerfd.h. 2012-02-21 00:29:13 +00:00
Joseph Myers 5ad91f6e6f Resort ULPs files with gen-libm-test.pl -n in C locale. 2012-02-20 18:06:05 +00:00
Aurelien Jarno 06b99b0263 Adjust SPARC ULPs to take into account the new jn tests. 2012-02-20 07:37:30 +01:00
Andreas Schwab 7638c0fda5 Add support for Linux error EHWPOISON 2012-02-19 18:27:02 +01:00
Aurelien Jarno 92221550d7 Use non-signaling floating-point comparisons in math functions. 2012-02-19 11:20:18 +01:00
Joseph Myers ebaf36ebd8 Fix parameter name in strnlen documentation. 2012-02-19 02:02:10 +00:00
Joseph Myers 71c254a6e6 Make seteuid argument name consistent in manual. 2012-02-19 01:54:33 +00:00
Joseph Myers 16d2c63103 Correct list of services in example NSS configuration file. 2012-02-19 01:46:08 +00:00
Nick Bowler cd837b09b5 Remove erroneous statements about negative zero. 2012-02-19 01:38:37 +00:00
Joseph Myers 02c4bbad9c Remove documentation of upgrading from libc5. 2012-02-18 18:32:39 +00:00
Joseph Myers 366842e73e Do not claim that GCC predefines __POSIX__. 2012-02-18 18:21:52 +00:00
David S. Miller dd54084dd9 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.
2012-02-18 22:31:42 -08:00
Ulrich Drepper 2bcc53a337 Remove remnants of aout builds 2012-02-17 21:27:44 -05:00
Rafe Kettler 09c093b500 Make declarations of "main" in examples consistent. 2012-02-18 00:12:10 +00:00
Joseph Myers 2ee633a243 Correct documentation of FLT_EPSILON. 2012-02-17 23:46:51 +00:00
Fabrice Bauzac 0520adde6b Change recommendation of strchrnul in strchr documentation. 2012-02-17 23:34:01 +00:00
Dwayne Grant McConnell 3f4081cd59 Document LOCPATH. 2012-02-17 22:19:38 +00:00
Joseph Myers d1b10e78e4 Fix documented parameters to execle. 2012-02-17 22:06:09 +00:00
Paul Bolle 79c6869c83 Fix typo (LC_TYPE -> LC_CTYPE). 2012-02-17 17:54:10 +00:00
Nicolas Boulenguez cc6e48bc7c Fix various problems with @deftypefun lines. 2012-02-17 17:44:38 +00:00
Joseph Myers 6dd8f3dca0 Add more bug numbers. 2012-02-17 17:02:52 +00:00
Joseph Myers 5b23062f1f Fix typos in documentation of fopen ",ccs=STRING". 2012-02-17 17:00:01 +00:00
Aurelien Jarno 8dee4833c5 Include <time.h> in clock_settime.c. 2012-02-17 17:46:56 +01:00
Thomas Schwinge 9078ce930a Hurd: #define away madvise for malloc code, fix previous commit. 2012-02-17 08:46:28 +01:00
Joseph Myers 3835c55fe5 Fix typo in manual (bug 9902). 2012-02-17 01:23:04 +00:00
Joseph Myers 35c47e37b9 Include <stdlib.h> in argp examples. 2012-02-17 01:13:15 +00:00
Richard Henderson e3b69ca7d1 s390: Convert to crt[in].S. 2012-02-16 09:24:19 -08:00
David S. Miller fb59b3a4f5 Add O_FSYNC define to sparc just like other platforms. 2012-02-16 14:56:54 -08:00
Kaz Kojima af1dd5d680 Merge branch 'master' of git://sources.redhat.com/git/glibc 2012-02-16 07:21:37 +09:00
Kaz Kojima df83af673b 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.
2012-02-16 07:17:24 +09:00
David S. Miller f63f338062 Move sparc away from the deprecated inifini.c scheme.
/

	* sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
	* sysdeps/sparc/crti.S: New file.
	* sysdeps/sparc/crtn.S: New file.
	* sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
	* sysdeps/sparc/sparc64/Makefile: Likewise.

nptl/

	* sysdeps/sparc/Makefile: Add -fPIC when building pt-crti.S and crtn.S
2012-02-16 12:54:05 -08:00
Roland McGrath d2c736f809 Hurd: #define away madvise for malloc code. 2012-02-15 14:15:27 -08:00
Mike Frysinger df6a4a4aec Include sys/param.h in getcwd.c. 2012-02-15 20:39:49 +00:00
Roland McGrath 1cac72362a Remove macros wrongly left for pre-libio case that no longer exists. 2012-02-15 12:23:13 -08:00
Joseph Myers 8e475601f6 Split architecture-specific parts of sys/signalfd.h into bits/signalfd.h. 2012-02-15 20:11:20 +00:00
Marek Polacek ed656b4065 Provide crt[in].S for x86-64. 2012-02-14 13:50:44 +01:00
Joseph Myers 2a979d3a14 Split architecture-specific parts of sys/inotify.h into bits/inotify.h. 2012-02-14 00:13:47 +00:00
Joseph Myers 2a418ac326 Split architecture-specific parts of sys/eventfd.h into bits/eventfd.h. 2012-02-13 20:27:59 +00:00
Roland McGrath e19e83c5d2 log entry typo fixes 2012-02-10 13:44:27 -08:00
Thomas Schwinge 7c35ffedf1 Fix x86 PLT slot usage for feraiseexcept.
Then we're elf/check-localplt.out-clean again.
2012-02-10 21:05:54 +01:00
Thomas Schwinge fb779be7b3 A bit of testsuite cleanup. 2012-02-10 12:18:48 +01:00
Paul Eggert 59ba27a63a Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
Richard Henderson af850b1c97 Use <> for include of kernel-features.h. 2012-02-09 11:21:47 -08:00
Richard Henderson 57b957eb04 Avoid pointer type mismatch warning.
update_get_addr returns a link_map*, but the return expression
was of type char*.  Fix by relying on gcc's void* arithmetic
extension and auto-conversion from void*.
2012-02-09 11:20:27 -08:00
Andreas Schwab e216c0121a Update ChangeLog 2012-02-09 17:12:33 +01:00
Marek Polacek 6b73181ac5 Remove _G_HAVE_SYS_CDEFS. 2012-02-09 17:09:55 +01:00
Andreas Schwab 6c6dbc6300 Reduce ldouble ULPs for jn tests on x86 2012-02-08 22:25:15 +01:00
Andreas Schwab 26ecc33a02 Remove have-initfini and need-nopic-initfini 2012-02-08 20:31:55 +01:00
Joseph Myers 3add8e1353 Support crti.S and crtn.S provided directly by architectures. 2012-02-08 01:45:26 +00:00
Marek Polacek a22f12b477 Remove _G_ARGS macros. 2012-02-07 22:40:49 +01:00
Marek Polacek 148cf100de Add tst-CMPLX2 test. 2012-02-07 20:47:46 +01:00
Andreas Schwab 84ba42c4fb Adjust libm test ULPs for powerpc 2012-02-07 15:21:41 +01:00
Andreas Schwab cfdc0dd7fa Fix loss of precision in jn tests 2012-02-07 15:20:37 +01:00
Marek Polacek 622c86f480 Remove __ELF__ conditionals 2012-02-07 00:41:11 +01:00
Joseph Myers d4a54ac649 Undefine and redefine __i686 for assembly code. 2012-02-06 23:01:25 +00:00
Joseph Myers 314054eaef Match x86 PIC thunk names to compiler version. 2012-02-06 18:05:54 +00:00
Joseph Myers d8e0ca509a Use macro for PIC setup in inline asm. 2012-02-05 14:34:14 +00:00
Joseph Myers b1da7dd99d Use macros for x86 PIC thunk names. 2012-02-03 23:24:19 +00:00
Joseph Myers 9a1d92541f Consistently use macros for x86 PIC thunks. 2012-02-03 23:22:53 +00:00
Joseph Myers 65dc3b7504 Include <stdio.h> in math/tst-CMPLX.c. 2012-02-03 00:13:15 +00:00
Ulrich Drepper 9d029511d8 Merge branch 'master' of ssh://sourceware.org/git/glibc 2012-01-31 18:50:35 -05:00
Ulrich Drepper 3b49edc04b Cleanups of malloc
Remove ugly names and unnecessary wrappers.
2012-01-31 18:49:22 -05:00
Joseph Myers d55bf1777c Always define float_t as float for PowerPC, SH and SPARC. 2012-01-31 22:57:02 +00:00
Marek Polacek 69db4f8f46 Remove PARAMS macros. 2012-01-31 20:02:53 +00:00
Ulrich Drepper 41b81892f1 Handle ARENA_TEST correctly 2012-01-31 14:42:34 -05:00
Ulrich Drepper 6c1eace5df Don't add CL for generated files!!! 2012-01-30 22:50:20 -05:00
Ulrich Drepper 0eb6f47528 Merge branch 'master' of ssh://sourceware.org/git/glibc
Conflicts:
	ChangeLog
2012-01-30 22:34:33 -05:00
Ulrich Drepper 27a25b6e63 Optimize __get_tls_addr a bit
Rearrange code to avoid creation of a stack frame.  At least on x86-64
the code for the fast path should be down to the bare minimum.
2012-01-30 22:32:05 -05:00
Joseph Myers c8a89e7dd5 Remove miscellaneous __STDC__ conditionals. 2012-01-30 21:20:32 +00:00
Joseph Myers 3b1004624e Fix makefile/configure problems with sse2avx changes. 2012-01-30 19:55:15 +00:00
Roland McGrath f2a7420ddb Merge remote-tracking branch 'origin/cmetcalf/tile_config'
Conflicts:
	ChangeLog
2012-01-30 09:58:46 -08:00
Chris Metcalf 3ac8b282b6 Add Tile relocation types. 2012-01-30 09:54:13 -08:00
Roland McGrath ee3c3be688 Merge remote-tracking branch 'origin/cmetcalf/tile_epoll_pwait'
Conflicts:
	ChangeLog
2012-01-30 09:50:40 -08:00
Roland McGrath de9298c991 Merge remote-tracking branch 'origin/cmetcalf/tile_not_cancel_h'
Conflicts:
	ChangeLog
2012-01-30 09:49:39 -08:00
Roland McGrath 53fb8811fd Merge remote-tracking branch 'origin/cmetcalf/tile_firstversions'
Conflicts:
	ChangeLog
2012-01-30 09:48:55 -08:00
Roland McGrath 6315810720 Merge remote-tracking branch 'origin/cmetcalf/tile_faccessat' 2012-01-30 09:47:47 -08:00
Chris Metcalf 607998afaa Update config.guess, config.sub from upstream config git repository. 2012-01-29 13:36:30 -05:00
Ulrich Drepper 96bc5b45a6 Optimize x86-64 math inline header a bit 2012-01-28 21:20:06 -05:00
Ulrich Drepper 56f6f6a240 Use -msse2avx option for x86-64 libm functions 2012-01-28 14:48:46 -05:00
Chris Metcalf 3601428fb0 Call __fxstatat64 from faccessat() to avoid PLT in -Os builds. 2012-01-28 12:07:46 -05:00
Chris Metcalf e034841eac Fix bug in firstversions.awk version range handling. 2012-01-28 12:02:44 -05:00
Chris Metcalf 463de86252 Use include/sys/epoll.h to provide libc_hidden_proto for epoll_pwait(). 2012-01-28 12:00:12 -05:00
Chris Metcalf 540d7568ae Use <> brackets for not-cancel.h in sysdeps/unix/sysv/linux/grantpt.c. 2012-01-28 11:51:44 -05:00
Ulrich Drepper 73139a7628 Simplify use of AVX instructions in internal math macros 2012-01-28 11:19:06 -05:00
Adhemerval Zanella d73f93a461 PowerPC - A2 memcpy cache line size initialization 2012-01-27 18:05:45 -05:00
Ulrich Drepper cdd9b365f9 Merge branch 'master' of ssh://sourceware.org/git/glibc
Conflicts:
	ChangeLog
2012-01-27 15:06:37 -05:00
Ulrich Drepper 6ee65ed6dd Sort objects before relocations 2012-01-27 15:05:19 -05:00
Joseph Myers 8db2188281 Remove __STDC__ conditionals from libm. 2012-01-27 17:29:45 +00:00
Joseph Myers 965a54a4ee Remove __STDC__ conditionals from non-installed headers. 2012-01-26 23:31:37 +00:00
Joseph Myers 7071ad79db Remove __STDC__ conditionals from installed headers. 2012-01-26 20:49:22 +00:00
Ulrich Drepper 08cf777f9e Really fix AVX tests
There is no problem with strcmp, it doesn't use the YMM registers.
The math routines might since gcc perhaps generates such code.
Introduce bit_YMM_USBALE and use it in the math routines.
2012-01-26 09:45:54 -05:00
Ulrich Drepper afc5ed09cb Reset bit_AVX in __cpu_features is OS support is missing 2012-01-26 07:45:14 -05:00
Joseph Myers bdb6de1d6d Remove gets declarations in C++ tests. 2012-01-25 16:50:17 +00:00
Ulrich Drepper 83cf1b9f02 Merge branch 'master' of ssh://sourceware.org/git/glibc
Conflicts:
	ChangeLog
2012-01-24 19:29:39 -05:00
Ulrich Drepper b15549e6f8 Fix gets problems 2012-01-24 17:40:44 -05:00
Joseph Myers a037381ff8 Remove posix/glob directory (standalone glob build support). 2012-01-24 22:30:03 +00:00
Joseph Myers f1d4aa75ea Use newly built locales for tst-c16c32-1. 2012-01-24 22:25:42 +00:00
Samuel Thibault 0ea698ae78 Hurd: Try to respect mmap address hint for non-MAP_FIXED. 2012-01-23 14:00:47 -08:00
Pino Toscano 81c0c9648d Hurd: socket uses EAFNOSUPPORT rather than EPFNOSUPPORT. 2012-01-23 13:56:58 -08:00
Ulrich Drepper d220b11777 Fix version check in uchar.h 2012-01-21 15:20:14 -05:00
Ulrich Drepper 3e1aa84e7f Do not cache negative results in nscd if these are transient 2012-01-20 22:39:54 -05:00
Ulrich Drepper d77e786926 Minor cleanups of malloc code 2012-01-16 12:07:56 -05:00
Ulrich Drepper 400aa020ea Fix locking problem in fmtmsg 2012-01-16 09:03:20 -05:00
Marek Polacek e0a309cf2a Don't always provide definition of gets checking version 2012-01-13 12:45:02 -05:00
Will Schmidt 929d11c7cf Powerpc: correct duplicate label issue with multiple passes through context code 2012-01-12 17:05:03 -05:00
Ulrich Drepper 0cc5ed3b01 Optimized acosh for 64-bit platforms 2012-01-11 22:01:09 -05:00
Ulrich Drepper 41d0e8696f Optimize scalbln 2012-01-11 12:49:16 -05:00
Ulrich Drepper daa891c0e8 Optimize s_modf 2012-01-10 22:26:22 -05:00
Ulrich Drepper e58ef0f204 Add const attribute to fmin and fmax 2012-01-10 21:10:28 -05:00
Ulrich Drepper a47a831ad8 Optimize ldexp and scalbn 2012-01-10 20:52:29 -05:00
Marek Polacek a0bfc9c78f Add noreturn attribute 2012-01-10 18:49:31 -05:00
Ulrich Drepper d6e97a1da0 Some branch prediction for log1p 2012-01-09 18:59:04 -05:00
Ulrich Drepper e5f484c622 bits/poll2.h needs __BEGIN/__END_DECLS 2012-01-08 21:57:15 -05:00
Ulrich Drepper d5835c2642 Install bits/poll2.h 2012-01-08 21:50:21 -05:00
Will Schmidt d1f741e912 Fix typo in Linux/PPC32 getcontext 2012-01-08 21:32:57 -05:00
Ulrich Drepper ec09c1c410 Optimize xmalloc, xcalloc, xrealloc, and xstrdup
Add alloc_size attribute and apply consistently the malloc attribute
to xmalloc, xcalloc, xrealloc, and xstrdup.
2012-01-08 21:19:43 -05:00
Ulrich Drepper aebae0537d Mark potential fix for BZ 11929 2012-01-08 20:39:46 -05:00
Paul Pluzhnikov 20b38e0301 sscanf always calls realloc 2012-01-08 20:13:35 -05:00
Ulrich Drepper 669704fd61 Fix CL 2012-01-08 17:08:18 -05:00
Ulrich Drepper 1d5a644a55 Add test for CMPLX macros 2012-01-08 16:02:45 -05:00
Ulrich Drepper 8784a6db91 Fix typo in CMPLXL 2012-01-08 15:55:52 -05:00
Ulrich Drepper d9a216c037 Add checking versions of poll and ppoll 2012-01-08 11:55:32 -05:00
Ulrich Drepper ac097f5cd0 Define CMPLX, CMPLXF, CMPLXL 2012-01-08 10:07:26 -05:00
Ulrich Drepper 2119dcfacc Static linking is always needed 2012-01-08 09:52:29 -05:00
Ulrich Drepper 121766a9d6 Remove pwd tst from configure 2012-01-08 09:31:02 -05:00
Ulrich Drepper 3857022a76 No need for test for __builtin_expect 2012-01-08 09:21:09 -05:00
Ulrich Drepper 215f4bdc5f Remove more unnecessary Alpha and IA-64 configury 2012-01-08 07:47:38 -05:00
Ulrich Drepper 8720d06638 gcc better don't use a signed type for size_t 2012-01-08 07:44:18 -05:00
Ulrich Drepper 51a1d39ce3 Remove last remnants of RANLIB 2012-01-08 07:31:58 -05:00
Ulrich Drepper d3ed722566 Simplify char16_t implementation 2012-01-08 07:19:21 -05:00
Ulrich Drepper a0da5fe1e4 More fallout from supporting only ELF 2012-01-08 00:45:01 -05:00
Ulrich Drepper a784e50247 Remove pre-ISO C support
No more __const.
2012-01-07 23:57:22 -05:00
Ulrich Drepper 0269750ca6 Remove non-ELF support 2012-01-07 20:30:26 -05:00
Ulrich Drepper 00bbd29b35 Update ABI information 2012-01-07 19:23:45 -05:00
Ulrich Drepper a2693a0e2e Remove m68k support from Linux configure 2012-01-07 13:06:38 -05:00
Ulrich Drepper 3f05895f12 Remove Alpha support from ldsodefs.h 2012-01-07 13:04:35 -05:00