aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
2013-10-12Fix typo in setlocale.c. Fixes BZ #15764Reuben Thomas1-0/+5
2013-10-12soft-fp: make __unord* raise "invalid" for signaling NaNs (bug 16036).Joseph Myers1-0/+6
2013-10-12soft-fp: make ordered comparisons raise "invalid" for quiet NaNs (bug 14910).Joseph Myers1-0/+9
2013-10-12soft-fp: add missing FP_INIT_EXCEPTIONS and FP_INIT_ROUNDMODE calls.Joseph Myers1-0/+40
2013-10-12soft-fp: add macro FP_NO_EXCEPTIONS.Joseph Myers1-0/+18
2013-10-12soft-fp: fix _FP_DIV_MEAT_* returning results with wrong exponent (bug 16032).Joseph Myers1-0/+11
2013-10-12soft-fp: fix floating-point to integer unsigned saturation.Joseph Myers1-0/+5
2013-10-11Add systemtap markers to math function slow pathsSiddhesh Poyarekar1-0/+17
Add systemtap probes to various slow paths in libm so that application developers may use systemtap to find out if their applications are hitting these slow paths. We have added probes for pow, exp, log, tan, atan and atan2.
2013-10-11Fix fwrite() reading beyond end of buffer in error pathEric Biggers1-0/+17
Partially revert commits 2b766585f9b4ffabeef2f36200c275976b93f2c7 and de2fd463b1c0310d75084b6d774fb974075a4ad9, which were intended to fix BZ#11741 but caused another, likely worse bug, namely that fwrite() and fputs() could, in an error path, read data beyond the end of the specified buffer, and potentially even write this data to the file. Fix BZ#11741 properly by checking the return value from _IO_padn() in stdio-common/vfprintf.c.
2013-10-10Fix readdir regressions on sparc 32-bit.David S. Miller1-0/+5
* sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of directory block.
2013-10-10Update copyright and license notices in soft-fp files from libgcc.Joseph Myers1-0/+16
2013-10-10Add soft-fp files from libgcc.Joseph Myers1-0/+17
2013-10-10Update sparc ULPs.David S. Miller1-0/+4
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2013-10-10Extend powerpc-nofpu -fno-builtin-fabsl workaround to more files.Joseph Myers1-0/+8
2013-10-10Avoid ordered comparisons of NaNs in ldbl-128ibm acosl and asinl.Joseph Myers1-0/+7
2013-10-10malloc/hooks.c: Correct check for overflow in memalign_check.Will Newton1-0/+5
A large value of bytes passed to memalign_check can cause an integer overflow in _int_memalign and heap corruption. This issue can be exposed by running tst-memalign with MALLOC_CHECK_=3. ChangeLog: 2013-10-10 Will Newton <will.newton@linaro.org> * malloc/hooks.c (memalign_check): Ensure the value of bytes passed to _int_memalign does not overflow.
2013-10-10benchtests: Add include-sources directive.Torvald Riegel1-0/+5
This adds the "include-sources" directive to scripts/bench.pl. This allows for including source code (vs including headers, which might get a different search path) after the inclusion of any headers.
2013-10-10soft-fp: split FP_INIT_EXCEPTIONS from FP_INIT_ROUNDMODE.Joseph Myers1-0/+6
2013-10-10soft-fp: fix negation NaN handling (bug 16034).Joseph Myers1-0/+11
2013-10-09soft-fp: Remove trailing semicolon from _FP_FRAC_DISASSEMBLE_4.Joseph Myers1-0/+5
2013-10-09soft-fp: fix typo in comment.Adam Buchbinder1-0/+4
2013-10-08Update gethostbyname2_r documentation. Fixes bug #156.Yogesh Chaudhari1-0/+6
2013-10-08Use p2align instead ALIGNOndřej Bílka1-0/+13
2013-10-08Format e_pow.cSiddhesh Poyarekar1-0/+2
2013-10-08Format e_exp.cSiddhesh Poyarekar1-0/+2
2013-10-08Consolidate multiple precision sin/cos functionsSiddhesh Poyarekar1-0/+27
2013-10-08Clean up locale file alignment handling.Joseph Myers1-0/+13
2013-10-07Fix ChangeLog formattingSiddhesh Poyarekar1-1/+1
2013-10-07Add more directives to benchmark input filesSiddhesh Poyarekar1-0/+23
This patch adds some more directives to the benchmark inputs file, moving functionality from the Makefile and making the code generation script a bit cleaner. The function argument and return types that were earlier added as variables in the makefile and passed to the script via command line arguments are now the 'args' and 'ret' directive respectively. 'args' should be a colon separated list of argument types (skipped if the function doesn't accept any arguments) and 'ret' should be the return type. Additionally, an 'includes' directive may have a comma separated list of headers to include in the source. For example, the pow input file now looks like this: 42.0, 42.0 1.0000000000000020, 1.5 I did this to unclutter the benchtests Makefile a bit and eventually eliminate dependency of the tests on the Makefile and have tests depend on their respective include files only.
2013-10-07Fix careless merge.Alan Modra1-0/+4
2013-10-05Mention powerpc64le support in NEWS and README, plus bugs fixed.Alan Modra1-0/+5
* NEWS: Mention powerpc64le support and bugs fixed. * README: Both big-endian and little-endian powerpc64 supported.
2013-10-04Add fork hooks for pthread_atforkSamuel Thibault1-0/+7
pthread_atfork needs application callbacks to be called outside any locking.
2013-10-04Update generic swapon definition to match prototype.Ryan S. Arnold1-0/+5
2013-10-04Move powerpc ports pieces to libc.Joseph Myers1-0/+30
2013-10-04e500 port: adjust sysdeps/unix/sysv/linux/configure.in case.Joseph Myers1-0/+4
2013-10-04e500 port: fix fpu_control.h constant values.Joseph Myers1-0/+9
2013-10-04e500 port: getcontext / setcontext / swapcontext.Joseph Myers1-0/+12
2013-10-04Update iso-1366.def and related occurrencesChris Leonard1-0/+4
2013-10-04Fix typo in manualSiddhesh Poyarekar1-0/+4
2013-10-04malloc/tst-valloc.c: Tidy up code.Will Newton1-0/+5
Add some comments and call free on all potentially allocated pointers. Also remove duplicate check for NULL pointer. ChangeLog: 2013-10-04 Will Newton <will.newton@linaro.org> * malloc/tst-valloc.c: Add comments. (do_test): Add comments and call free on all potentially allocated pointers. Remove duplicate check for NULL pointer. Add space after cast.
2013-10-04malloc/tst-pvalloc.c: Tidy up code.Will Newton1-0/+5
Add some comments and call free on all potentially allocated pointers. Also remove duplicate check for NULL pointer. ChangeLog: 2013-10-04 Will Newton <will.newton@linaro.org> * malloc/tst-pvalloc.c: Add comments. (do_test): Add comments and call free on all potentially allocated pointers. Remove duplicate check for NULL pointer. Add space after cast.
2013-10-04malloc/tst-posix_memalign.c: Tidy up code.Will Newton1-0/+4
Add some comments and call free on all potentially allocated pointers. ChangeLog: 2013-10-04 Will Newton <will.newton@linaro.org> * malloc/tst-posix_memalign.c: Add comments. (do_test): Add comments and call free on all potentially allocated pointers. Add space after cast.
2013-10-04malloc: Add memalign test.Will Newton1-0/+5
ChangeLog: 2013-10-04 Will Newton <will.newton@linaro.org> * malloc/Makefile: Add tst-memalign. * malloc/tst-memalign.c: New file.
2013-10-04Use stdint.h types in union unaligned.Alan Modra1-0/+6
* sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela): Use stdint types in rather than __attribute__((mode())). * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2013-10-04Correct little-endian relocation of UADDR64,32,16.Alan Modra1-0/+6
* sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela): Correct handling of unaligned relocs for little-endian. * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2013-10-04PowerPC LE configuryAlan Modra1-0/+7
http://sourceware.org/ml/libc-alpha/2013-08/msg00096.html This adds the basic configury bits for powerpc64le and powerpcle. * configure.in: Map powerpc64le and powerpcle to base_machine/machine. * configure: Regenerate. * nptl/shlib-versions: Powerpc*le starts at 2.18. * shlib-versions: Likewise.
2013-10-04string/tester memrchr testAlan Modra1-0/+4
http://sourceware.org/ml/libc-alpha/2013-08/msg00095.html I found this useful at one stage when I was seeing a huge number of memrchr failures all of test number 10. * string/tester.c (test_memrchr): Increment reported test cycle.
2013-10-04string/test-memcpy error reportingAlan Modra1-0/+5
http://sourceware.org/ml/libc-alpha/2013-08/msg00094.html Using plain %s here runs the risk of segfaulting when displaying the string. src and dst aren't zero terminated strings. * string/test-memcpy.c (do_one_test): When reporting errors, print string address and don't overrun end of string.
2013-10-04PowerPC LE memchr and memrchrAlan Modra1-0/+18
http://sourceware.org/ml/libc-alpha/2013-08/msg00105.html Like strnlen, memchr and memrchr had a number of defects fixed by this patch as well as adding little-endian support. The first one I noticed was that the entry to the main loop needlessly checked for "are we done yet?" when we know the size is large enough that we can't be done. The second defect I noticed was that the main loop count was wrong, which in turn meant that the small loop needed to handle an extra word. Thirdly, there is nothing to say that the string can't wrap around zero, except of course that we'd normally hit a segfault on trying to read from address zero. Fixing that simplified a number of places: - /* Are we done already? */ - addi r9,r8,8 - cmpld r9,r7 - bge L(null) becomes + cmpld r8,r7 + beqlr However, the exit gets an extra test because I test for being on the last word then if so whether the byte offset is less than the end. Overall, the change is a win. Lastly, memrchr used the wrong cache hint. * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with insrdi. Make better use of reg selection to speed exit slightly. Schedule entry path a little better. Remove useless "are we done" checks on entry to main loop. Handle wrapping around zero address. Correct main loop count. Handle single left-over word from main loop inline rather than by using loop_small. Remove extra word case in loop_small caused by wrong loop count. Add little-endian support. * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise. * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper cache hint. * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise. * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian support. Avoid rlwimi. * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
2013-10-04PowerPC LE memsetAlan Modra1-0/+11
http://sourceware.org/ml/libc-alpha/2013-08/msg00104.html One of the things I noticed when looking at power7 timing is that rlwimi is cracked and the two resulting insns have a register dependency. That makes it a little slower than the equivalent rldimi. * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with insrdi. Formatting. * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise. * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise. * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise. * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise. * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise. * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.