summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Fix symbol definitions for __clock_* functionsSiddhesh Poyarekar2013-06-1113-25/+50
| | | | | | __clock_gettime and other __clock_* functions could result in an extra PLT reference within libc.so if it actually gets used. None of the code currently uses them, which is why this probably went unnoticed.
* Remove trailing whitespace from mach/*.sub.Joseph Myers2013-06-104-31/+35
|
* x86*: Return syscall error for lll_futex_wake.Carlos O'Donell2013-06-103-8/+17
| | | | | | | | | | | | | | | | | | | | | | It is very very possible that the futex syscall returns an error and that the caller of lll_futex_wake may want to look at that error and propagate the failure. This patch allows a caller to see the syscall error. There are no users of the syscall error at present, but future cleanups are now be able to check for the error. -- nplt/ 2013-06-10 Carlos O'Donell <carlos@redhat.com> * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_futex_wake): Return syscall error. * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_futex_wake): Return syscall error.
* Add rounding mode information to math-tests.h and use it in libm-test.inc.Joseph Myers2013-06-105-4/+71
|
* Avoid overwriting earlier flags in CPPFLAGS-nonlib in benchtestsSiddhesh Poyarekar2013-06-102-1/+6
| | | | | | When setting BENCH_DURATION in CPPFLAGS-nonlib, append to the variable instead of assigning to it, to avoid overwriting earlier set flags, notably the -DNOT_IN_libc=1 flag.
* Fix previous commit.Ondrej Bilka2013-06-081-2/+2
|
* Silence warning: __inline is not at beginning of declaration.Ondrej Bilka2013-06-082-1/+5
|
* Avoid trailing whitespace in sysdeps/gnu/errlist.c.Joseph Myers2013-06-083-10/+14
|
* Use (void) in no-arguments function definitions.Joseph Myers2013-06-0881-107/+226
|
* Avoid use of "register" as optimization hint.Joseph Myers2013-06-0779-278/+430
|
* Remove trailing whitespace from localedata.Joseph Myers2013-06-0742-164/+208
|
* Update miscellaneous scripts from upstream.Joseph Myers2013-06-066-298/+797
|
* Fix leading whitespaces.Ondrej Bilka2013-06-0667-132/+203
|
* Fix ChangeLog.Ondrej Bilka2013-06-062-3/+3
|
* Remove trailing whitespace in nptl.Joseph Myers2013-06-0615-49/+67
|
* BZ #15583: r7 uninitialized in strcpy.S when ARM_HAS_T2 undefinedRichard Henderson2013-06-053-2/+8
|
* Fix executable mode.Ondrej Bilka2013-06-065-0/+9
|
* Remove trailing whitespace.Joseph Myers2013-06-05192-992/+1186
|
* Remove trailing whitespace in ports.Joseph Myers2013-06-0595-189/+307
|
* Add #include <stdint.h> to locale/gen-translit.pl and fix C-translit.h.Ryan S. Arnold2013-06-053-1/+9
|
* Properly handle %W in strptimeAndreas Schwab2013-06-054-8/+16
|
* Skip modifying exception mask and flags in SET_RESTORE_ROUND_53BITSiddhesh Poyarekar2013-06-052-6/+15
| | | | | 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-042-0/+21
|
* [AArch64] Ensure getcontext() initializes PSTATE.Marcus Shawcroft2013-06-043-0/+11
|
* Increase test case timeoutSiddhesh Poyarekar2013-06-042-0/+5
|
* BZ #15536: Fix ulp for 128-bit IBM long double.Carlos O'Donell2013-06-033-12/+35
| | | | | | | | 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-314-3/+9
| | | | | 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-3129-143/+144
|
* Set reasonable limits for xdr_requests.Patsy Franklin2013-05-303-7/+26
| | | | | [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-304-20/+29
| | | | | | * 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-2941-103/+220
| | | | | | | | | 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.
* Fix ChangeLog formattingSiddhesh Poyarekar2013-05-292-32/+32
|
* Add descriptive titles to po files and header.Carlos O'Donell2013-05-284-3/+9
| | | | | | | | | | | | | | 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-252-2/+8
| | | | | | | | | | 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-282-2/+7
| | | | | | | | | | | | 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-282-0/+41
|
* * stdio-common/bug26.c (main): Correct fscanf template.Thomas Schwinge2013-05-262-2/+5
| | | | Fixup for commit 6ecec3b616aeaf121c68c1053cd17fdcf0cdb5a2.
* _dl_skip_args declaration cleanup.Thomas Schwinge2013-05-262-1/+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-262-3/+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-262-0/+5
| | | | Fixup for commit d116b7c414c8239b677e341ac517745db689ac2d.
* Fix ldbl-96 hypotl of subnormals (bug 15529).Joseph Myers2013-05-244-2/+21
|
* Test drem and pow10 in libm-test.inc.Joseph Myers2013-05-244-5/+108
|
* Add bug 14894 to NEWS.Joseph Myers2013-05-241-8/+8
|
* Use same tests for isfinite/finite, lgamma/gamma.Joseph Myers2013-05-244-44/+55
|
* PowerPC: Program Priority Register supportAdhemerval Zanella2013-05-243-0/+56
| | | | | This patch add inline functions to change the Program Priority Register from ISA 2.05.
* Correctly compute ulp near zero.Carlos O'Donell2013-05-242-48/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* tile: improve detection for missing -mcmodel=large supportChris Metcalf2013-05-244-4/+41
| | | | | | | | | | | | | The existing test avoided passing -mcmodel=large if the compiler didn't support it. However, we need to test not just the compiler support, but also the toolchain (as and ld) support, so make the test more complete. In addition, we have to avoid using the hwN_plt() assembly operators if that support is missing, so guard the uses with #ifdef NO_PLT_PCREL. This allows us to properly build glibc with the current community binutils, which doesn't yet have the PC-relative PLT operator support. The -mcmodel=large support is in gcc 4.8, but the toolchain support won't be present in the community until binutils 2.24.
* Remove libm-test START_DATA and END_DATA.Joseph Myers2013-05-243-347/+172
|
* Make libm-test START and END into ordinary macros.Joseph Myers2013-05-243-197/+352
|
* Initialize wide struct info.Ondrej Bilka2013-05-243-3/+12
| | | | | | | | 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.