about summary refs log tree commit diff
path: root/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
* s390/s390x: Undef PSEUDO before redef.Carlos O'Donell2013-04-062-0/+2
| | | | | | | | | | | | | | | | | | | The s390 and s390x sysdep.h files include the more generic sysdep.h. The more generic sysdep.h defines PSEUDO. This causes an annoying CPP warning saying the PSEUDO was redefined. This patch removes the warning by undefining PSEUDO before the redefinition. This is in line with what all the other machines do. --- 2013-04-06 Carlos O'Donell <carlos@redhat.com> * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition. * sysdeps/s390/s390-64/sysdep.h: Likewise. Notes: Added ChangeLog with this commit: b7a329a5614d9001abcc3300a3da548a0865a3ac
* [BZ #14686, #15336] Fix standard compliance. Don't use hard-coded qNaN values.Thomas Schwinge2013-04-052-12/+10
|
* [BZ #15335, #15342] Fix standard compliance. Don't use hard-coded qNaN values.Thomas Schwinge2013-04-052-9/+9
|
* Remove unreachable code.Thomas Schwinge2013-04-051-2/+1
| | | | The case of y == 0 is handled at the beginning of the function.
* Remove unused hard-coded qNaN definition.Thomas Schwinge2013-04-051-2/+0
|
* Fix stack overflow in getaddrinfo with many resultsAndreas Schwab2013-04-031-2/+21
|
* Refer to two GCC PRs.Thomas Schwinge2013-04-032-2/+4
|
* Remove TWOSiddhesh Poyarekar2013-04-032-3/+1
| | | | | Minor cleanup to remove the macro TWO and use the value directly instead.
* Preserve errno across _PC_CHOWN_RESTRICTED call on XFSSiddhesh Poyarekar2013-04-032-0/+13
| | | | | | | | | | | | | | Fix BZ #15305. On kernel versions earlier than 2.6.29, the Linux kernel exported a sysctl called restrict_chown for xfs, which could be used to allow chown to users other than the owner. 2.6.29 removed this support, causing the open_not_cancel_2 to fail and thus modify errno. The fix is to save and restore errno so that the caller sees it as unmodified. Additionally, since the code to check the sysctl is not useful on newer kernels, we add an ifdef so that in future the code block gets rmeoved completely.
* Fix cacosh inaccuracy and spurious exceptions (bug 15327).Joseph Myers2013-04-022-57/+1634
|
* Use mantissa_t in mpexpSiddhesh Poyarekar2013-04-022-3/+4
|
* New <math.h> macro named issignaling to check for a signaling NaN (sNaN).Thomas Schwinge2013-04-0218-0/+345
| | | | It is based on draft TS 18661 and currently enabled as a GNU extension.
* PowerPC: remove branch prediction from rint implementationAdhemerval Zanella2013-04-014-12/+12
| | | | | | | | The branch prediction hints is actually hurts performance in this case. The assembly implementation make two assumptions: 1. 'fabs (x) < 2^52' is unlikely and 2. 'x > 0.0' is unlike (if 1. is true). Since it a general floating point function, expected input is not bounded and then it is better to let the hardware handle the branches.
* Fix casinh inaccuracy for imaginary part < 1.0, real part small (bug 10357).Joseph Myers2013-03-302-297/+2265
|
* Remove usage of ONE macroSiddhesh Poyarekar2013-03-291-1/+1
| | | | I missed this instance, which caused a build failure in powerpc.
* Remove ONE and MONESiddhesh Poyarekar2013-03-297-22/+20
|
* Format s_tan.cSiddhesh Poyarekar2013-03-291-405/+728
|
* Remove ZERO and MZERO macrosSiddhesh Poyarekar2013-03-297-63/+61
|
* Format s_atan.cSiddhesh Poyarekar2013-03-291-151/+246
|
* Format e_log.cSiddhesh Poyarekar2013-03-291-95/+133
|
* Use __ehdr_start, if available, as fallback for AT_PHDR.Roland McGrath2013-03-281-8/+14
|
* Make _dl_phdr pointer to const.Roland McGrath2013-03-282-2/+2
|
* Consolidate declarations of _dl_phdr, _dl_phnum.Roland McGrath2013-03-282-4/+6
|
* Never call syslog in __libc_message.Roland McGrath2013-03-281-9/+0
|
* PowerPC: .eh_frame info in crt1.o isn't useful and triggers gold bug 14675.Alan Modra2013-03-282-0/+14
| | | | | | | The .eh_frame info in crt1.o isn't useful and this patch prevents it from being generated on PowerPC. It triggers the following gold bug: http://sourceware.org/bugzilla/show_bug.cgi?id=14675
* Fix e_logl (128ibm) spurious underflowAdhemerval Zanella2013-03-282-2/+17
|
* Format and clean up s_atan2.cSiddhesh Poyarekar2013-03-281-310/+494
|
* Fix casinh inaccuracy near i, imaginary part > 1 (bug 15307).Joseph Myers2013-03-272-0/+708
|
* Use integral constantsSiddhesh Poyarekar2013-03-261-76/+76
| | | | | | The compiler is smart enough to convert those into double for powerpc, but if we put them as doubles, it adds overhead by performing those operations in floating point mode.
* Removed commented codeSiddhesh Poyarekar2013-03-2611-85/+0
|
* Make mantissa type of mp_no configurableSiddhesh Poyarekar2013-03-264-69/+157
| | | | | | | | | | The mantissa of mp_no is intended to take only integral values. This is a relatively good choice for powerpc due to its 4 fpus, but not for other architectures, which suffer due to this choice. This change makes the default mantissa a long integer and allows powerpc to override it. Additionally, some operations have been optimized for integer manipulation, resulting in a significant improvement in performance.
* PowerPC: fix libm ABI issue for llroundlAdhemerval Zanella2013-03-261-0/+4
|
* Update sparc ULPs.David S. Miller2013-03-221-4/+1002
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.
* BZ#13889: expl (709.75) wrongly overflows for ldbl-128ibmAdhemerval Zanella2013-03-222-6/+24
| | | | | | The patch increase the high value to check if expl overflows. Current high mark value is not really correct, the algorithm accepts high values. It also adds a correct wrapper function to check for overflow and underflow.
* BZ#11120: fix x86_64/strcmp.S NOT_IN_libc safeguardsDmitry V. Levin2013-03-221-3/+3
| | | | | | | | Due to a typo repeated several times, this bug hasn't been fixed yet, despite being marked as resolved in glibc 2.12. * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib with NOT_IN_libc.
* PowerPC: fix sqrtl ABI issueAdhemerval Zanella2013-03-211-0/+4
| | | | This patch fixes a sqrtl ABI issue when building for powerpc64.
* On 32-bit x86, disable certain tests involving sNaN values.Thomas Schwinge2013-03-212-0/+62
| | | | Follow-up to commit 495ded2c8c1eb8c0ac4b54add2dd397852e19cba.
* Fix Bessel function spurious overflows for ldbl-128 / ldbl-128ibm (bug 15285).Joseph Myers2013-03-213-20/+40
|
* Fix casinh inaccuracy for argument with imaginary part 1 (bug 15287).Joseph Myers2013-03-212-2/+1466
|
* Replace 8388608.0 with HALFRAD in mp codeSiddhesh Poyarekar2013-03-212-3/+3
| | | | Minor cleanup
* Move system-specific settings out of toplevel configure.in and config.make.in.Joseph Myers2013-03-208-0/+39
|
* Consolidate Linux and POSIX libc_fatal code.Roland McGrath2013-03-192-186/+67
|
* s390x: Move rtld link to /libAndreas Schwab2013-03-192-4/+14
|
* Faster strlen on x64.Ondrej Bilka2013-03-1813-1308/+755
|
* Update Sparc ULPs.David S. Miller2013-03-171-2/+14
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.
* Fix y1l spurious overflows for ldbl-96 (bug 15283).Joseph Myers2013-03-163-1/+25
|
* Fix spurious underflow exceptions for Bessel functions for ldbl-128 / ↵Joseph Myers2013-03-162-58/+79
| | | | ldbl-128ibm (bug 14155).
* Move _dl_non_dynamic_init, _dl_aux_init declarations.Roland McGrath2013-03-152-6/+7
|
* Promote a math test for sNaN handling to the top-level.Thomas Schwinge2013-03-152-337/+0
|
* Use GCC's builtins for generating NaNs.Thomas Schwinge2013-03-151-55/+9
|