summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Patch 2/4 of the effort to make TLS access async-signal-safe.Paul Pluzhnikov2013-12-184-16/+169
| | | | | | | | | | | | | | | | | Add a signal-safe malloc replacement. 2013-12-18 Andrew Hunter <ahh@google.com> * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype. (__signal_safe_malloc, __signal_safe_free): Likewise. (__signal_safe_realloc, __signal_safe_calloc): Likewise. * elf/dl-misc.c (__signal_safe_allocator_header): New struct. (__signal_safe_memalign, __signal_safe_malloc): New function. (__signal_safe_free, __signal_safe_realloc): Likewise. (__signal_safe_calloc): Likewise. * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe functions. (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
* Patch 3/4 of the effort to make TLS access async-signal-safe.Paul Pluzhnikov2013-12-185-5/+26
| | | | | | | | | | | Factor out _dl_clear_dtv. 2013-12-18 Andrew Hunter <ahh@google.com> * elf/Versions (ld): Add _dl_clear_dtv. * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype. * elf/dl-tls.c (_dl_clear_dtv): New function. * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
* Patch [1/4] async-signal safe TLS.Paul Pluzhnikov2013-12-185-0/+73
| | | | | | | | | | | | | 2013-12-18 Andrew Hunter <ahh@google.com> * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype. (_dl_unmask_signals): Likewise. * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub. (_dl_unmask_all_signals): Likewise. * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype. (_dl_unmask_all_signals): Likewise. * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function. (_dl_unmask_signals): Likewise.
* Updated NEWS to mention resolution of bug 15846.Brooks Moses2013-12-181-7/+7
|
* Add error reporting (via errno) to getauxval().Brooks Moses2013-12-185-5/+44
| | | | | | | | | | | | [BZ 15846] As discussed in the recent thread on my $EXEC_ORIGIN patch and in BZ 15846, getauxval() presently has no unambiguous way of reporting an error condition. It currently returns zero on error, but this may also be a valid result for some auxv entries. As there is no clear invalid result for all current and future auxv entries, this patch sets errno (following a suggestion in the BZ entry). This version of the patch also adds documentation and tests for the value-not-found conditions in getauxval().
* Move tests of jn and yn from libm-test.inc to auto-libm-test-in.Joseph Myers2013-12-187-108/+4038
| | | | | | | | | | | | | | | | | | | | | | | | | This patch moves tests of jn and yn to auto-libm-test-in, adding the required support for gen-auto-libm-tests (and adding a missing assertion there and fixing logic that was broken for functions with integer arguments). Tested x86_64 and x86 and ulps updated accordingly. * math/auto-libm-test-in: Add tests of jn and yn. * math/auto-libm-test-out: Regenerated. * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f. (yn_test_data): Likewise. * math/gen-auto-libm-tests.c (func_calc_method): Add value mpfr_if_f. (func_calc_desc): Add mpfr_if_f union field. (FUNC_mpfr_if_f): New macro. (test_functions): Add jn and yn. (calc_generic_results): Assert type of second input for mpfr_ff_f. Handle mpfr_if_f. (output_for_one_input_case): Disable all checking for arguments fitting floating-point types in case of an integer argument. * sysdeps/i386/fpu/libm-test-ulps: Update. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
* Update powerpc-nofpu localplt.data for fegetround hidden_proto / hidden_def.Joseph Myers2013-12-182-1/+5
| | | | | | | | | | My recent changes that added libm_hidden_proto / libm_hidden_def for fegetround had the side effect of removing the need for a localplt.data entry for fegetround for powerpc-nofpu. This patch removes that entry. Tested powerpc-nofpu. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data: Don't expect fegetround reference in libm.so.
* Add missing deftp to fix commit 4d84e6addd62bdc256627af.Ondřej Bílka2013-12-181-0/+2
|
* Compile e_sqrt.c with -ffp-contract=off.Marcus Shawcroft2013-12-182-0/+6
|
* [AArch64] Save and restore q0-q7 on entry to dynamic linker.Marcus Shawcroft2013-12-183-15/+41
| | | | | [BZ #15128] Ensure all argument passing registers are saved and restored on entry to dynamic linker.
* Mark some hypot tests no-test-inline.Joseph Myers2013-12-183-634/+637
| | | | | | | As needed on x86. * math/auto-libm-test-in: Mark some hypot tests no-test-inline. * math/auto-libm-test-out: Regenerated.
* Fix ldbl-128 logl for subnormals (bug 16338).Joseph Myers2013-12-187-4/+821
| | | | | | | | | | | | | | | | | | | | | | This patch fixes bug 16338, ldbl-128 logl not handling subnormals (with consequent inaccuracy for lgammal as well). The fix is simply to use __frexpl when determining the exponent, as done already in log2l and log10l. Given the lack of testing of small arguments to any of the log* functions, appropriate tests are added for all of them. Tested x86_64 and x86 and ulps updated accordingly, and spot tests also run for mips64 to confirm the ldbl-128 fix. Note that while this fixes lgammal inaccuracy for small positive arguments, I suspect that there will still be problems with spurious underflows in that case. * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl to determine exponent and adjust argument to have exponent of -1. * math/auto-libm-test-in: Add more tests of log, log10, log1p and log2. * math/auto-libm-test-out: Regenerated. * sysdeps/x86_64/fpu/libm-test-ulps: Update.
* Update documentation after dropping PER_THREAD conditional.Ondřej Bílka2013-12-182-34/+11
| | | | | In probes documentation we described what happens when PER_THREAD is disabled which is now not relevant.
* Remove use of SSE4.2 functions for strstr on i686Andreas Schwab2013-12-187-49/+11
| | | | | The SSE4.2 have been removed from x86_64 by commit 584b18eb. This patch fixes the build on i686, which attempts to use the removed files.
* Remove unused files from sysdeps/unix/bsd/bsd4.4/bits/.Joseph Myers2013-12-173-452/+5
|
* Support TZ transition times < 00:00:00.Paul Eggert2013-12-174-3/+29
| | | | | | | | | | This is needed for version-3 tz-format files; it supports time stamps past 2037 for America/Godthab (the only entry in the tz database for which this change is relevant). * manual/time.texi (TZ Variable): Document transition times from -167:59:59 through -00:00:01. * time/tzset.c (tz_rule): Time of day is now signed. (__tzset_parse_tz): Parse negative time of day.
* Document TZ transition times >= 25:00:00.Paul Eggert2013-12-172-2/+30
| | | | | | * manual/time.texi (TZ Variable): Document transition times from 25:00:00 through 167:59:59. These are already supported, and this support will help with version-3 tz-format files.
* * manual/time.texi (TZ Variable): Modernize North America examplePaul Eggert2013-12-172-5/+9
| | | | to reflect current (i.e., 2007-and-later) daylight saving rules.
* * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.Paul Eggert2013-12-172-1/+5
|
* Remove various unused files from sysdeps/unix/bsd/.Joseph Myers2013-12-1728-1534/+28
|
* Remove libbsd-compat dummy library.Joseph Myers2013-12-173-3/+6
|
* Remove __FAVOR_BSD.Joseph Myers2013-12-1710-200/+115
|
* [AArch64] Implement FUTEX_*_REQUEUE_PIMarcus Shawcroft2013-12-172-0/+40
|
* Update powerpc-fpu ULPs.Adhemerval Zanella2013-12-172-2/+384
|
* Fix dbl-64 hypot spurious underflows (bug 16314).Joseph Myers2013-12-175-753/+759
|
* Fix hypot handling of subnormals (bug 16316, bug 16330).Joseph Myers2013-12-177-682/+1916
|
* [AArch64] libm-test-ulps regenerated from scratch.Marcus Shawcroft2013-12-172-1926/+78
|
* [AArch64] Back out sqrt() addition to libm-test-ulps.Marcus Shawcroft2013-12-172-20/+4
|
* Make soft-float sh use soft-fp fma/fmaf.Kaz Kojima2013-12-175-0/+75
|
* Clean up setjmp use in dl-error.c.Roland McGrath2013-12-162-32/+50
|
* Move tests of atan2, hypot and pow from libm-test.inc to auto-libm-test-in.Joseph Myers2013-12-167-510/+43296
|
* Add missing bug number to NEWS.Joseph Myers2013-12-161-11/+12
|
* manual/memory.texi: Document aligned_alloc.Will Newton2013-12-162-16/+57
| | | | | | | | | | | | | | ChangeLog: 2013-12-16 Will Newton <will.newton@linaro.org> * manual/memory.texi (Malloc Examples): Mention aligned_alloc. (Aligned Memory Blocks): Add documentation for aligned_alloc and suggest it as an alternative to posix_memalign. (Hooks for Malloc): Document __memalign_hook is also called for aligned_alloc. (Summary of Malloc): Add summary for aligned alloc. Document __memalign_hook is also called for aligned_alloc.
* manual/memory.texi: Bring aligned allocation docs up to date.Will Newton2013-12-162-17/+58
| | | | | | | | | | | | | | | | | | | | | | | The current documentation suggests using memalign and valloc which are now considered obsolete, so suggest using posix_memalign instead. Also document the possible error return and errno values for memalign and posix_memalign and improve documentation of __memalign_hook. ChangeLog: 2013-12-16 Will Newton <will.newton@linaro.org> * manual/memory.texi (Malloc Examples): Clarify default alignment documentation. Suggest posix_memalign rather than memalign or valloc. (Aligned Memory Blocks): Remove suggestion to use memalign or valloc. Remove obsolete comment about BSD. Document memalign errno values and mark the function obsolete. Document posix_memalign returned error codes. Mark valloc as obsolete. (Hooks for Malloc): __memalign_hook is also called for posix_memalign and valloc. (Summary of Malloc): Add posix_memalign to function summary. __memalign_hook is also called for posix_memalign and valloc.
* Minor code cleanup in s_sin.cSiddhesh Poyarekar2013-12-162-20/+23
| | | | | | | - Remove redundant mynumber union definitions - Clean up a clumsy ternary operator - Rename TAYLOR_SINCOS to TAYLOR_SIN since we're only expanding the sin Taylor series in it.
* Set AUTOCONF variable when maintainer-mode is not usedAllan McRae2013-12-163-0/+7
| | | | | Fixes build issue introduced in 8894bad3 when configure.ac is altered and maintainer-mode is not enabled.
* Update file name in x86_64 ifunc listAllan McRae2013-12-162-1/+3
| | | | File name update missed in commit 584b18eb.
* Add --enable-maintainer-mode configure optionAllan McRae2013-12-163-32/+59
| | | | | | | | | Autoconf is tested for and run if needed only when --enable-maintainer-mode is used on configure. This results in the autom4te.cache directory only being written in the source directory during configure if automatic autoconf usage is requested. Fixes BZ #14120.
* Add systemd unit file for nscdAllan McRae2013-12-163-0/+27
| | | | Provide an example systemd unit and tmpfile for running nscd.
* Add strstr with unaligned loads. Fixes bug 12100.Ondřej Bílka2013-12-1410-506/+441
| | | | | | | | | | A sse42 version of strstr used pcmpistr instruction which is quite ineffective. A faster way is look for pairs of characters which is uses sse2, is faster than pcmpistr and for real strings a pairs we look for are relatively rare. For linear time complexity we use buy or rent technique which switches to two-way algorithm when superlinear behaviour is detected.
* Move sysdeps/sh/sh4/fpu/bits/fenv.h to sysdeps/sh/bits/.Kaz Kojima2013-12-142-0/+6
|
* PowerPC: Update NEWS with ppc64 STT_GNU_IFUNC supportAdhemerval Zanella2013-12-132-1/+5
|
* PowerPC: multiarch hypot/hypotf for PowerPC64Adhemerval Zanella2013-12-138-1/+171
|
* PowerPC: multiarch modf/modff for PowerPC64Adhemerval Zanella2013-12-138-2/+186
|
* PowerPC: multiarch logb/logbl/logbf for PowerPC64Adhemerval Zanella2013-12-1311-1/+261
|
* PowerPC: multiarch isinf/isinff for PowerPC64Adhemerval Zanella2013-12-137-2/+192
|
* PowerPC: multiarch finite/finitef for PowerPC64Adhemerval Zanella2013-12-137-2/+200
|
* PowerPC: multiarch llrint/lrint for PowerPC64Adhemerval Zanella2013-12-136-1/+134
|
* PowerPC: multiarch copysign/copysignf for PowerPC64Adhemerval Zanella2013-12-136-2/+168
|
* PowerPC: multiarch trunc/truncf for PowerPC64Adhemerval Zanella2013-12-138-1/+206
|