about summary refs log tree commit diff
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespace.Joseph Myers2013-06-051-0/+194
|
* Add #include <stdint.h> to locale/gen-translit.pl and fix C-translit.h.Ryan S. Arnold2013-06-051-0/+7
|
* Properly handle %W in strptimeAndreas Schwab2013-06-051-0/+7
|
* Skip modifying exception mask and flags in SET_RESTORE_ROUND_53BITSiddhesh Poyarekar2013-06-051-0/+9
| | | | | We only need to set/restore rounding mode to ensure correct computation for non-default rounding modes.
* Add copyright header to test-strchrnul.cSiddhesh Poyarekar2013-06-041-0/+2
|
* Increase test case timeoutSiddhesh Poyarekar2013-06-041-0/+4
|
* BZ #15536: Fix ulp for 128-bit IBM long double.Carlos O'Donell2013-06-031-0/+8
| | | | | | | | In 128-bit IBM long double the precision of the type decreases as you approach subnormal numbers, equaling that of a double for subnormal numbers. Therefore adjust the computation in ulp to use 2^(MIN_EXP - MANT_DIG) which is correct for FP_SUBNORMAL for all types.
* Revert po and pot files changes.Carlos O'Donell2013-05-311-0/+6
| | | | | Upstream TP should modify PO files and POT file should be empty template.
* Link extra-libs consistently with libc and ld.so.Joseph Myers2013-05-311-0/+52
|
* Set reasonable limits for xdr_requests.Patsy Franklin2013-05-301-1/+12
| | | | | [BZ #15553] Increased the current limits large enough to load large key and data values, but small enough to not pose a DoS threat.
* [BZ #14256]Jeff Law2013-05-301-0/+7
| | | | | | * manual/errno.texi (ESTALE): Update to account for more than just NFS file systems. * sysdeps/gnu/errlist.c: Regenerated.
* Avoid crashing in LD_DEBUG when program name is unavailableSiddhesh Poyarekar2013-05-291-0/+47
| | | | | | | | | Resolves: #15465 The program name may be unavailable if the user application tampers with argc and argv[]. Some parts of the dynamic linker caters for this while others don't, so this patch consolidates the check and fallback into a single macro and updates all users.
* Add descriptive titles to po files and header.Carlos O'Donell2013-05-281-0/+6
| | | | | | | | | | | | | | Added descriptive titles to the Belarusian, English (American), and Chinese (simplified) po/pot files. --- 2013-05-28 Carlos O'Donell <carlos@redhat.com> * po/be.po: Add descriptive title. * po/zh_CN.po: Likewise. * po/header.pot: Likewise.
* localedef: include file name in error messagesMike Frysinger2013-05-251-0/+6
| | | | | | | | | | When mkstemp fails, the error message the user gets back is: cannot create temporary file: No such file or directory That isn't terribly useful in figuring out why, so include the full filename we tried to create in the error output. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Doc fix for 'frexp' in arith.texiBen Norht2013-05-281-0/+5
| | | | | | | | | | | | It is the magnitude of the return value which lies in [0.5, 1), not the return value itself. --- 2013-05-28 Ben North <ben@redfrontdoor.org> * manual/arith.texi (frexp): It is the magnitude of the return value which lies in [0.5, 1), not the return value itself.
* Update powerpc libm-test ULPs.Adhemerval Zanella2013-05-281-0/+4
|
* * stdio-common/bug26.c (main): Correct fscanf template.Thomas Schwinge2013-05-261-0/+2
| | | | Fixup for commit 6ecec3b616aeaf121c68c1053cd17fdcf0cdb5a2.
* _dl_skip_args declaration cleanup.Thomas Schwinge2013-05-261-0/+3
| | | | | | | * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't declare _dl_skip_args. Continuation of commit 8347c74cc5c972aa9e57747177b1f5f4b1cbcac8.
* _dl_non_dynamic_init declaration cleanup.Thomas Schwinge2013-05-261-0/+3
| | | | | | | * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init): Don't declare. Continuation of commit bc16e260d0e74b36e48d30edc6ea4f1152700c09.
* * manual/platform.texi: Add missing @end deftypefun.Thomas Schwinge2013-05-261-0/+4
| | | | Fixup for commit d116b7c414c8239b677e341ac517745db689ac2d.
* Fix ldbl-96 hypotl of subnormals (bug 15529).Joseph Myers2013-05-241-0/+5
|
* Test drem and pow10 in libm-test.inc.Joseph Myers2013-05-241-0/+10
|
* Use same tests for isfinite/finite, lgamma/gamma.Joseph Myers2013-05-241-0/+9
|
* PowerPC: Program Priority Register supportAdhemerval Zanella2013-05-241-0/+6
| | | | | This patch add inline functions to change the Program Priority Register from ISA 2.05.
* Correctly compute ulp near zero.Carlos O'Donell2013-05-241-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current value used for ulp near zero is wrong, and this commit fixes it such that ulp(0) is the smallest subnormal value nearest to zero, which makes the most sense for testing values near zero. Note that this is not what Java does; they use the nearest normal value, which is less accurate than what we want for glibc. Note that there is no correct implementation of ulp since there is no strict mathmatical definition that is accepted by all groups using IEEE 754. Previously with the large ulp values near zero there were tests that previously passed, but were in fact billions of ulp away from the precise answer. With this commit we now need to disable one of the cpow tests which is revealed to be inaccurate (bug 14473). --- 2013-05-24 Carlos O'Donell <carlos@redhat.com> * math/libm-test.inc (MAX_EXP): Define. (ULPDIFF): Define. (ulp): New function. (check_float_internal): Use ULPDIFF. (cpow_test): Disable failing test. (check_ulp): Test ulp() implemetnation. (main): Call check_ulp before starting tests.
* Remove libm-test START_DATA and END_DATA.Joseph Myers2013-05-241-0/+172
|
* Make libm-test START and END into ordinary macros.Joseph Myers2013-05-241-0/+176
|
* Initialize wide struct info.Ondrej Bilka2013-05-241-0/+5
| | | | | | | | Fixes 15381. Using wide character function is on byte oriented memstream is undefined behaviour. This behaviour was masked by not initializing wide struct info. We now initialize it to cause a predictable crash.
* Add BZ # to ChangeLog for commit 9323d39baea2fb0cca3735136abe263eff405133Ryan S. Arnold2013-05-231-0/+1
|
* PowerPC: Add functions for shared resources hints.Edjunior Machado2013-05-231-0/+7
|
* Update comments in ldconfig.c and dl-hwcaps.c.Carlos O'Donell2013-05-221-0/+6
| | | | | | | | | | | | | | | | | In dl-hwcaps.c the comment read that rounding was done to ElfW(Addr), but it's actually rounded to ElfW(Word). In ldconfig.c we make each comment a sentence and mention that the "tls" pseudo-hwcap is just for legacy installations where TLS was optional. --- 2013-05-22 Carlos O'Donell <carlos@redhat.com> * elf/ldconfig.c (is_hwcap_platform): Make comments full setences. (main): Mention "tls" pseudo-hwcap is legacy. * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
* Don't include function names in test data in generated libm-test.c.Joseph Myers2013-05-221-0/+86
|
* Update bits/siginfo.h with Linux hwpoison SIGBUS changesEdjunior Barbosa Machado2013-05-221-0/+9
| | | | | | Adds new SIGBUS error codes for hardware poison signals, syncing with the current kernel headers (v3.9). It also adds si_trapno field for alpha.
* Fix _nl_find_msg malloc failure case, and callers.Carlos O'Donell2013-05-221-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes two issues, and perhaps should be two distinct commits, but I present it here as one for the sake of completeness. Commit 006dd86111c44572dbd3b26e9c63dd0f834d7762 fails to check malloc's return in intl/dcigettext.c (_nl_find_msg): ~~~ freemem_size = INITIAL_BLOCK_SIZE; newmem = (transmem_block_t *) malloc (freemem_size); ... newmem->next = transmem_list; transmem_list = newmem; ~~~ If malloc fails then newmem is NULL then newmem->next results in a fault. The fix is easy enough, check for newmem != NULL, and fall through to the error condition below which returns (char *) -1 e.g. resource error. The problem is that returning (char *) -1 will break all sorts of other code, so while what we did is correct, the real failure case fix is slightly broader. There are 4 other places where _nl_find_msg is called, one is OK, the other three are fixed to handle -1 error return value. No regressions on x86-64 or x86. However, no regressions isn't really a useful metric for this code. The change was tested as documented here: http://sourceware.org/glibc/wiki/Testing/WhiteBox using SystemTap for fault injection to simulate malloc failure. --- 2013-05-03 Carlos O'Donell <carlos at redhat.com> [BZ #15441] * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg returns -1. (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is null return -1. * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort loading the domain.
* Don't include expected results in libm-test test names.Joseph Myers2013-05-221-0/+11
|
* Sort benchmark functionsSiddhesh Poyarekar2013-05-221-0/+2
|
* Add benchmark inputs for math functionsSiddhesh Poyarekar2013-05-221-0/+14
| | | | | Add benchmark inputs for inverse and hyperbolic trigonometric functions and log.
* Test getaddrinfo return valueDmitry V. Levin2013-05-211-0/+6
| | | | | | This helps testing for regression of BZ#15339. Creation of network isolated environments is a privileged operation and therefore is not included to the test.
* Set EAI_SYSTEM only when h_errno is NETDB_INTERNALSiddhesh Poyarekar2013-05-211-0/+8
| | | | | | | | | | | | Fixes BZ #15339. NSS_STATUS_UNAVAIL may mean that a necessary input resource is not available. This could occur in a number of cases including when the network is down, system runs out of file descriptors, etc. The correct differentiator in such a case is the h_errno, which gives the nature of failure. In case of failures other than a simple 'not found', we set h_errno as NETDB_INTERNAL and let errno be the identifier for the exact error.
* Fix parsing of numeric hosts in gethostbyname_rAndreas Schwab2013-05-211-0/+14
|
* Add a README for benchtestsSiddhesh Poyarekar2013-05-211-0/+7
| | | | Move instructions from the Makefile here and expand on them.
* AArch64: Don't clobber argument for tail call to __sigjmp_save in sigsetjmpAndreas Schwab2013-05-211-0/+6
|
* PowerPC: update missing CL/NEWS bug referenceAdhemerval Zanella2013-05-201-0/+1
| | | | | | Update ChangLog bugzilla number and NEWS for commit 13d3b41a36c4f28d171a144f8a9baad3a8835981 (PowerPC: fix hypot/hypotf check for -INF).
* Faster memset on x64Ondrej Bilka2013-05-201-0/+6
| | | | | | | | | This implementation speed up memset in several ways. First is avoiding expensive computed jump. Second is using fact that arguments of memset are most of time aligned to 8 bytes. Benchmark results on: kam.mff.cuni.cz/~ondra/benchmark_string/memset_profile_result27_04_13.tar.bz2
* Faster memcpy on x64.Ondrej Bilka2013-05-201-0/+10
| | | | | | | | | We add new memcpy version that uses unaligned loads which are fast on modern processors. This allows second improvement which is avoiding computed jump which is relatively expensive operation. Tests available here: http://kam.mff.cuni.cz/~ondra/memcpy_profile_result27_04_13.tar.bz2
* Fix nearbyint scheduling of arithmetic past fesetenv (bug 15490).Joseph Myers2013-05-191-0/+12
|
* Handle sincos with generic libm-test logic.Joseph Myers2013-05-191-0/+20
|
* Simplify gen-libm-test.pl handling of tests with extra outputs.Joseph Myers2013-05-191-0/+7
|
* Don't disable CMPLXL macro for __NO_LONG_DOUBLE_MATH (bug 15488).Joseph Myers2013-05-181-0/+10
|
* Make libm-test look up ulps by name at runtime.Joseph Myers2013-05-181-0/+90
|