Summary: | spurious underflow exception from exp2/exp10 | ||
---|---|---|---|
Product: | glibc | Reporter: | Paul Zimmermann <zimmerma+gcc> |
Component: | math | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Flags: | fweimer:
security-
|
Priority: | P2 | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: |
Description
Paul Zimmermann
2014-02-12 09:53:30 UTC
idem in double precision with exp10: Testing function exp10 for exponent 0 [seed=14309]. rounding mode MPFR_RNDN: wrong underflow flag for x=4.0000000000000@-269 library gives 1.0000000000000 mpfr gives 1.0000000000000 underflow: mpfr 0, library 16 same in double precision (for exp2): Testing function exp2 for exponent 0 [seed=14309]. rounding mode MPFR_RNDN: wrong underflow flag: mpfr gives 0, library 16 x=4.0000000000000@-269 library gives 1.0000000000000 mpfr gives 1.0000000000000 and in extended precision for exp2: Testing function exp2 for exponent 0 [seed=16203]. rounding mode MPFR_RNDN: wrong underflow flag: mpfr gives 0, library 16 x=8.0000000000000000@-4112 library gives 1.0000000000000000 mpfr gives 1.0000000000000000 and in extended precision for exp10: Testing function exp10 for exponent 0 [seed=16203]. rounding mode MPFR_RNDN: wrong underflow flag: mpfr gives 0, library 16 x=8.0000000000000000@-4112 library gives 1.0000000000000000 mpfr gives 1.0000000000000000 This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU C Library master sources". The branch, master has been updated via 03a7091fa2afc84e215fc99fceca52baa4b0f8f1 (commit) from dd3022d75e6fb8957843d6d84257a5d8457822d5 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=03a7091fa2afc84e215fc99fceca52baa4b0f8f1 commit 03a7091fa2afc84e215fc99fceca52baa4b0f8f1 Author: Joseph Myers <joseph@codesourcery.com> Date: Thu Mar 27 18:41:14 2014 +0000 Fix x86/x86_64 expl/exp10l spurious underflows (bug 16348). This patch fixes bug 16348, spurious underflows from x86/x86_64 expl on arguments close to 0. These implementations effectively use expm1 (on the fractional part of the argument) internally, so resulting in spurious underflows when the result is very close to 1. For arguments small enough that the round-to-nearest correct result is 1, this patch uses 1+x instead. These implementations are also used for exp10l and so the patch fixes similar issues there (the 0x1p-67 threshold being small enough to be correct for exp10l as well as expl). But because of spurious underflows in other exp10 implementations (bug 16560), the tests aren't added for exp10 at this point - they can be added when the other exp10 parts of that bug are fixed. Tested x86_64 and x86; no ulps updates needed. [BZ #16348] * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use 1+x for argument with exponent below -67. * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Likewise. * math/auto-libm-test-in: Add more tests of exp. * math/auto-libm-test-out: Regenerated. ----------------------------------------------------------------------- Summary of changes: ChangeLog | 10 + NEWS | 10 +- math/auto-libm-test-in | 18 ++ math/auto-libm-test-out | 666 +++++++++++++++++++++++++++++++++++++++++++ sysdeps/i386/fpu/e_expl.S | 10 +- sysdeps/x86_64/fpu/e_expl.S | 10 +- 6 files changed, 715 insertions(+), 9 deletions(-) This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU C Library master sources". The branch, master has been updated via a638de828d877376fb238efc8b0bc9220dd2601e (commit) from 0f5b71850e7ae2a4fefade72c73556166d52bc93 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=a638de828d877376fb238efc8b0bc9220dd2601e commit a638de828d877376fb238efc8b0bc9220dd2601e Author: Joseph Myers <joseph@codesourcery.com> Date: Wed Jun 25 11:33:22 2014 +0000 Fix exp10 spurious underflows (bug 16560). This patch fixes spurious underflows from exp10 for arguments near 0 (part of bug 16560; that bug also includes spurious underflows from exp2, which are not fixed by this patch). The problem is underflows in the internal computation converting the exp10 argument to arguments for exp (with extra precision), and the fix is simply to return 1 early for arguments near enough to 0 (just as arguments with large enough magnitude have their own overflow / underflow logic at the start of the function). Tested x86_64 and x86 and ulps updated accordingly; also tested for powerpc32 and mips64 to validate the ldbl-128ibm and ldbl-128 changes. [BZ #16560] * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for arguments close to 0. * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l): Likewise. * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l): Likewise. * math/auto-libm-test-in: Add more tests of exp10. * math/auto-libm-test-out: Regenerated. * sysdeps/x86_64/fpu/libm-test-ulps: Update. ----------------------------------------------------------------------- Summary of changes: ChangeLog | 11 + math/auto-libm-test-in | 18 + math/auto-libm-test-out | 666 ++++++++++++++++++++++++++++++++ sysdeps/ieee754/dbl-64/e_exp10.c | 2 + sysdeps/ieee754/ldbl-128/e_exp10l.c | 2 + sysdeps/ieee754/ldbl-128ibm/e_exp10l.c | 2 + sysdeps/x86_64/fpu/libm-test-ulps | 8 + 7 files changed, 709 insertions(+), 0 deletions(-) This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU C Library master sources". The annotated tag, glibc-2.20 has been created at 9bcede1abfb0fa62d54b7cfce5c72d56e2f7b95c (tag) tagging b8079dd0d360648e4e8de48656c5c38972621072 (commit) replaces glibc-2.19 tagged by Allan McRae on Sun Sep 7 18:17:29 2014 +1000 - Log ----------------------------------------------------------------- The GNU C Library ================= The GNU C Library version 2.20 is now available. The GNU C Library is used as *the* C library in the GNU systems and is widely used on systems with the Linux kernel. The GNU C Library is primarily designed to be a portable and high performance C library. It follows all relevant standards including ISO C11 and POSIX.1-2008. It is also internationalized and has one of the most complete internationalization interfaces known. The GNU C Library webpage is at http://www.gnu.org/software/libc/ Packages for the 2.20 release may be downloaded from: http://ftpmirror.gnu.org/libc/ http://ftp.gnu.org/gnu/libc/ The mirror list is at http://www.gnu.org/order/ftp.html NEWS for version 2.20 ==================== * The following bugs are resolved with this release: 6804, 9894, 12994, 13347, 13651, 14308, 14770, 15119, 15132, 15347, 15514, 15698, 15804, 15894, 15946, 16002, 16064, 16095, 16194, 16198, 16275, 16284, 16287, 16315, 16348, 16349, 16354, 16357, 16362, 16447, 16516, 16532, 16539, 16545, 16561, 16562, 16564, 16574, 16599, 16600, 16609, 16610, 16611, 16613, 16619, 16623, 16629, 16632, 16634, 16639, 16642, 16648, 16649, 16670, 16674, 16677, 16680, 16681, 16683, 16689, 16695, 16701, 16706, 16707, 16712, 16713, 16714, 16724, 16731, 16739, 16740, 16743, 16754, 16758, 16759, 16760, 16770, 16786, 16789, 16791, 16796, 16799, 16800, 16815, 16823, 16824, 16831, 16838, 16839, 16849, 16854, 16876, 16877, 16878, 16882, 16885, 16888, 16890, 16892, 16912, 16915, 16916, 16917, 16918, 16922, 16927, 16928, 16932, 16943, 16958, 16965, 16966, 16967, 16977, 16978, 16984, 16990, 16996, 17009, 17022, 17031, 17042, 17048, 17050, 17058, 17061, 17062, 17069, 17075, 17078, 17079, 17084, 17086, 17088, 17092, 17097, 17125, 17135, 17137, 17150, 17153, 17187, 17213, 17259, 17261, 17262, 17263, 17319, 17325, 17354. * Reverted change of ABI data structures for s390 and s390x: On s390 and s390x the size of struct ucontext and jmp_buf was increased in 2.19. This change is reverted in 2.20. The introduced 2.19 symbol versions of getcontext, setjmp, _setjmp, __sigsetjmp, longjmp, _longjmp, siglongjmp are preserved pointing straight to the same implementation as the old ones. Given that, new callers will simply provide a too-big buffer to these functions. Any applications/libraries out there that embed jmp_buf or ucontext_t in an ABI-relevant data structure that have already been rebuilt against 2.19 headers will have to rebuilt again. This is necessary in any case to revert the breakage in their ABI caused by the glibc change. * Support for file description locks is added to systems running the Linux kernel. The standard file locking interfaces are extended to operate on file descriptions, not file descriptors, via the use of F_OFD_GETLK, F_OFD_SETLK, and F_OFD_SETLKW. File description locks are associated with an open file instead of a process. * Optimized strchr implementation for AArch64. Contributed by ARM Ltd. * The minimum Linux kernel version that this version of the GNU C Library can be used with is 2.6.32. * Running the testsuite no longer terminates as soon as a test fails. Instead, a file tests.sum (xtests.sum from "make xcheck") is generated, with PASS or FAIL lines for individual tests. A summary of the results is printed, including a list of failing lists, and "make check" exits with error status if there were any unexpected failures. "make check stop-on-test-failure=y" may be used to keep the old behavior. * The am33 port, which had not worked for several years, has been removed from ports. * The _BSD_SOURCE and _SVID_SOURCE feature test macros are no longer supported; they now act the same as _DEFAULT_SOURCE (but generate a warning). Except for cases where _BSD_SOURCE enabled BSD interfaces that conflicted with POSIX (support for which was removed in 2.19), the interfaces those macros enabled remain available when compiling with _GNU_SOURCE defined, with _DEFAULT_SOURCE defined, or without any feature test macros defined. * Optimized strcmp implementation for ARMv7. Contributed by ARM Ltd. * Added support for TX lock elision of pthread mutexes on s390 and s390x. This may improve lock scaling of existing programs on TX capable systems. The lock elision code is only built with --enable-lock-elision=yes and then requires a GCC version supporting the TX builtins. With lock elision default mutexes are elided via __builtin_tbegin, if the cpu supports transactions. By default lock elision is not enabled and the elision code is not built. * CVE-2014-4043 The posix_spawn_file_actions_addopen implementation did not copy the path argument. This allowed programs to cause posix_spawn to deference a dangling pointer, or use an unexpected pathname argument if the string was modified after the posix_spawn_file_actions_addopen invocation. * All supported architectures now use the main glibc sysdeps directory instead of some being in a separate "ports" directory (which was distributed separately before glibc 2.17). * The NPTL implementation of POSIX pthreads is no longer an "add-on". On configurations that support it (all Linux configurations), it's now used regardless of the --enable-add-ons switch to configure. It is no longer possible to build such configurations without pthreads support. * Locale names, including those obtained from environment variables (LANG and the LC_* variables), are more tightly checked for proper syntax. setlocale will now fail (with EINVAL) for locale names that are overly long, contain slashes without starting with a slash, or contain ".." path components. (CVE-2014-0475) Previously, some valid locale names were silently replaced with the "C" locale when running in AT_SECURE mode (e.g., in a SUID program). This is no longer necessary because of the additional checks. * On x86-64, the dynamic linker's lazy-binding support is now compatible with application code using Intel MPX instructions. (With all previous versions, the MPX register state could be clobbered when making calls into or out of a shared library.) Note that while the new dynamic linker is compatible with all known x86 hardware whether or not it supports Intel MPX, some x86 instruction-set emulators might fail to handle the new instruction encodings. This is known to affect Valgrind versions up through 3.9 (but will be fixed in the forthcoming 3.10 release), and might affect other tools that do instruction emulation. * Support for loadable gconv transliteration modules has been removed. The support for transliteration modules has been non-functional for over a decade, and the removal is prompted by security defects. The normal gconv conversion modules are still supported. Transliteration with //TRANSLIT is still possible, and the //IGNORE specifier continues to be supported. (CVE-2014-5119) * Decoding a crafted input sequence in the character sets IBM933, IBM935, IBM937, IBM939, IBM1364 could result in an out-of-bounds array read, resulting a denial-of-service security vulnerability in applications which use functions related to iconv. (CVE-2014-6040) Contributors ============ This release was made possible by the contributions of many people. The maintainers are grateful to everyone who has contributed changes or bug reports. These include: Adam Conrad Adhemerval Zanella Alan Modra Allan McRae Andi Kleen Andreas Krebbel Andreas Schwab Arjun Shankar Aurelien Jarno Bernard Ogden Carlos O'Donell Chris Metcalf David Holsgrove David S. Miller David Svoboda Dominik Vogt Dylan Alex Simon Eric Wong Florian Weimer Guo Yixuan H.J. Lu Ian Bolton Igor Zamyatin Jeff Layton Jim Meyering Joey Ye Jose E. Marchesi Joseph Anthony Pasquale Holsten Joseph Myers Julian Brown Khem Raj Konstantin Serebryany Kyle McMartin Ling Ma Ludovic Courtès Maciej W. Rozycki Marcus Shawcroft Mark Wielaard Marko Myllynen Meador Inge Mike Frysinger Ondřej Bílka Paul Eggert Paul Pluzhnikov Peter TB Brett Rajalakshmi Srinivasaraghavan Rasmus Villemoes Richard Earnshaw Richard Henderson Roland McGrath Sami Kerola Samuel Thibault Sean Anderson Serge Hallyn Siddhesh Poyarekar Sihai Yao Stefan Liebler Steve Ellcey Tomas Dohnalek Torvald Riegel Venkataramanan Kumar Vidya Ranganathan Wilco Wilco Dijkstra Will Newton Yang Yingliang Yufeng Zhang Yury Gribov Yvan Roux -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAABAgAGBQJUDBTZAAoJEPmf/g/q6Zm99pwH/1dlaqMxZ1SB7Nzk1C95URs+ AOihIh+Q5EYgqD3GnYp/evfMaHzZN7TTncZLXmDq6Ui7UiafYddFL91x06q/NzWN veCipwZC/RgCtQmEAkonVeREKauYrA4OGar86cU3HCIrpG2lGs/QXlhjvB/0HEay 3EJR90lARmZTjFX6nx78uiAzlpfPWhOiallr+Q6WTO4LSyIsf5obyaTNGNWAmWIj uotYaWjHr+cLwmiYxgO+6JuSOv7HxutnNer82hCH+k/2ppXyIh5RjqRbvbZFscax VNnfC5Hg/khzZdVXZXowAOkDvLagiQIwSHfTep80p5NeP+aJ2A+CK1ARYY0y8ts= =Yk2q -----END PGP SIGNATURE----- Adam Conrad (2): Allow sys/auxv.h to be used from the testsuite on powerpc and sparc. Revert incorrect removal of the XDR currency from locale/iso-4217.def Adhemerval Zanella (68): PowerPC: Update powerpc-fpu ULPs. PowerPC: Optimized isnan/isnanf for POWER8 PowerPC: Optimized isinf/isinff for POWER8 PowerPC: Optimized finite/finitef for POWER8 PowerPC: llrint/llrintf POWER8 optimization PowerPC: llround/llroundf POWER8 optimization PowerPC: Update powerpc-fpu ULPs. PowerPC: Fix modf/modff optimization return sign PowerPC: strncat optimization for PPC64 PowerPC: Fix bzero definition for static libc for PPC64 PowerPC: Fix strspn for static build PowerPC: Fix bzero definition for static libc for PPC32 Add truncl tests related to BZ#16414 PowerPC: remove wrong ceill implementation for PowerPC64 PowerPC: remove wrong nearbyintl implementation for PPC64 PowerPC: remove wrong roundl implementation for PowerPC64 Add stardard definition on conform processing PowerPC: optimized strcspn for PPC64/POWER7 PowerPC: optimized strpbrk for POWER7 PowerPC: Fix -Wundef warning for __PTHREAD_MUTEX_HAVE_ELISION. Update powerpc-fpu ULPs. PowerPC: Revert __PTHREAD_MUTEX_HAVE_ELISION change Fix localplt check for GNU_IFUNC PowerPC: Fix little endian enconding for mfvsrd PowerPC: Fix nearbyint/nearbyintf result for FE_DOWNWARD PowerPC: define _CALL_ELF if compiler does not PowerPC: Fix --disable-multi-arch builds Move __PTHREAD_SPINS definition to architecture specific header Define _STRING_ARCH_unaligned unconditionally PowerPC: Add fenv macros for long double PowerPC: Sync pthread_once with default implementation PowerPC: Suppress unnecessary FPSCR write Fix More fixes for unsafe compiler optimization PowerPC: ifunc improvement for internal calls Fix elf/tst-tls9-static build PowerPC: clean BSD Terminal Modes expectation in termios.h PowerPC: Fix multiarch hypotf PPC64 path PowerPC: Fix copysignf optimization macro Update powerpc-fpu ULPs. PowerPC: Fix memchr ifunc hidden symbol for PPC32 PowerPC: Remove unneeded copysign[f] macros PowerPC: Remove 64 bits instructions in PPC32 code PowerPC: Consolidate NPTL/non versions of vfork PowerPC: Consolidate NPTL/non versions of clone PowerPC: Move powerpc64 timer_*.c out of nptl/ PowerPC: Move NPTL ABI headers to sysdeps. PowerPC: Move remaining nptl/sysdeps/unix/sysv/linux/powerpc/ files. Update powerpc-fpu ULPs. PowerPC: Fix optimized strncat strlen call Fix ChangeLog indentation. Update powerpc-fpu ULPs. Fix ChangeLog indentation. PowerPC: Move powerpc code out of nptl/ subdirectory PowerPC: sync hwcap.h capabilities Update powerpc-fpu ULPs. Update powerpc-fpu ULPs. PowerPC: Guard CALL_ELF check for ppc64 only in link.h PowerPC: memmove default implementation cleanup PowerPC: optimized memmove for POWER7/PPC64 PowerPC: optimized memmove for POWER7/PPC32 PowerPC: Align power7 memcpy using VSX to quadword PowerPC: Add ifunc tests for memmove PowerPC: Fix compiler warnings PowerPC: Cleanup powerpc memmove PowerPC: Fix build due missing lll_robust_trylock PowerPC: Fix gprof entry point for LE PowerPC: Fix termios definitions Alan Modra (7): Fix s_copysign stack temp for PowerPC64 ELFv2 Fix reference to toc symbol. Correct prefetch hint in power7 memrchr. Correct IBM long double nextafterl. Correct IBM long double frexpl. Update fixed bug list Correct DT_PPC64_NUM Allan McRae (27): Open development for 2.20 Fix qsort argument order in collation example Update Esperanto translations Fix variable used in sed expression in timezone/Makefile Update Swedish translations Mention CVE-2014-4043 in NEWS Add missing changelog entry for commit ab7ac0f2 Add fixed bug to NEWS Update Spanish translations Regenerate libc.po Update Spanish translation Update Dutch translation Update Sweedish translation Update Bulgarian translation Update German translation Update Czech translation Update Polish translation Update Russian translation Update French translation Update Ukrainian translation Update Vietnamese translation Update x86 ULPs Update Catalan translation Update Esperanto translation Update Korean translation Update contrib.texi Update version.h and include/features.h for 2.20 release Andi Kleen (5): Fix dwarf2 unwinding through futex functions. Add a fast path for C rd/wrlock v2 Add adaptive elision to rwlocks Remove x86 assembler rwlock code Add fallback file for elide.h Andreas Krebbel (3): BZ #16447: Fix ldbl-128 expl implementation. NEWS: Add 16447 to fixed bugs list. NEWS: Add comment about changed ABI on s390 and s390x. Andreas Schwab (45): Move m68k from ports to libc Whitespace fixes Fix memory leak in _nss_dns_gethostbyname4_r with big DNS answer Properly fix memory leak in _nss_dns_gethostbyname4_r with big DNS answer Add GLIBC_2.17 to librt in Version.def Fix race conditions in pldd that may leave the process stopped after detaching nscd: also invalidate netgroup cache on reload Account for alloca use when collecting interface addresses (bug 16002) Fix use of half-initialized result in getaddrinfo when using nscd (bug 16743) Setup LOCPATH for tst-ftell-active-handler and tst-ftell-partial-wide in libio Fix use of uninitialized variable ChangeLog cleanup Correctly handle %p in wprintf (BZ #16890) Fix implicit declaration Don't use catomic functions in mcount (BZ #16912) Fix parsing of getai result from nscd for IPv6-only request Fix unbound stack use in NIS NSS module Fix typo in assertion Fix macro warning on HAVE_PT_CHOWN Remove last use of USE___THREAD Fix searching localedef input on I18NPATH (BZ #16984) Remove second argument from TLS_INIT_TP macro Fix invalid file descriptor reuse while sending DNS query (BZ #15946) Install uz_UZ.UTF-8 locale (BZ #16095) ChangeLog fix m68k: avoid pointer to integer conversion warning m68k: Consolidate NPTL/non versions of vfork m68k: Consolidate NPTL/non versions of clone Update feature guard for strdup/strndup in <bits/string2.h> Pass $TIMEOUTFACTOR to tests also in cross testing Fix typo in preprocessor conditional m68k: update libm test ULPs Don't read past end of pattern in fnmatch (BZ #17062) Fix memory leak in regexp compiler (BZ #17069) Fix another memory leak in regexp compiler (BZ #17069) Don't ignore too long lines in nss_files (BZ #17079) Remove unused label m68k: Add compat symbols for scalbln* Update i386 libm test ULPs Fix missing newline in test output m68k: update libm test ULPs ChangeLog fix m68k: use generic lowlevellock.h Fix -Wundef warning for HAVE_IFUNC Fix missing <math_private.h> in ldbl-96 fma Arjun Shankar (1): Correctly report nscd child process status (BZ #17092) Aurelien Jarno (5): SPARC: add EFD_SEMAPHORE in <bits/eventfd.h> (BZ #16916) ptsname_r: don't leak uninitialized memory (BZ #16917) SPARC: add prlimit and prlimit64 in <bits/resource.h> (BZ #16943) fix nl_langinfo with static linking (BZ #16915) Fix strtold on 32-bit sparc (and probably others) (BZ #16965) Bernard Ogden (3): hppa: Remove lowlevellock.c. MIPS - Remove mips lowlevellock.h. Check value of futex before updating in __lll_timedlock Carlos O'Donell (27): BZ #16613: Support TLS in audit libraries. BZ #16632: Change [_BSD/_SVID]_SOURCE warning. Add a new "Inter-Process Communication" chapter. Use @Theglibc{} in manual/ipc.texi. Promote do_lookup_x:check_match to a full function. Add header and standard information to threads.texi. Revert 4248f0da6ff9e7dd63464cdecec2dec332dfc2f0. hppa: Regenerate ULPs. hppa: Regenerate ULPs again. hppa: Remove fma ulps from libm-test-ulps. hppa: Add _STACK_GROWS_* cases to pthread_attr_[sg]etstack. Fix ChangeLog formatting. manual/ipc.texi: Fix AC-safety notes. nscd: Make SELinux checks dynamic. Support _r_debug for static binaries. manual: Sort overview listing by manual order. hppa: Use r25 as second input to __longjmp. hppa: Use lll_futex_wake. hppa: Update lowlevellock.h. Relocate hppa from ports to libc. Remove ports README and update machine ChangeLogs. Final update to ports ChangeLog. Fix -Wundef warning for FEATURE_INDEX_1. Remove nested function mi_arena from malloc_info. hppa: Add ABI baselines. hppa: Remove GLIBC_2.3 from librt.abilist. NEWS: Typo fix: s/wil /will /g Chris Metcalf (7): Move tilegx, tilepro, and linux-generic from ports to libc. tile: Fix cut-and-paste bug in commit fcccd5128. math: make test-fenv-preserve.c a no-op if FE_ALL_EXCEPT == 0. crypt: don't include ufc-crypt.h multiple times tile: move sysdeps/unix/sysv/linux/tile nptl files. tile: Consolidate NPTL/non versions of vfork [BZ #17354] tile: Fix up corner cases with signed relocations David Holsgrove (2): [MicroBlaze]: Move MicroBlaze from ports to sysdeps. MicroBlaze: Add missing sysdep-cancel.h implementation David S. Miller (17): Fix tst-sscanf and tst-swscanf on 64-bit. Regenerate sparc ULPs. Fix sigaction conform test failures on sparc. Fix some sparc conform test failures in siginfo.h Fix some sparc -Wundef build warnings. Correct sparc CPP guards for EMT_TAGOVF. Add round-mode context support to sparc. Fix v9/64-bit strcmp when string ends in multiple zero bytes. NEWS: Add 16885 to fixed bug list. Fix some termios.h conformtest failures on sparc. Fix excessive ULP for y1_upward (0x2p+0) in test-float and test-ifloat. Update Sparc ULPS. Fixup ChangeLog and add missing NEWS entry for previous commits. Consolidate sparc clone, fork, and vfork implementations. Update Sparc ULPs. Update sparc ULPS. Get rid of sparc specific NPTL internaltypes.h header. David Svoboda (1): manual: clarify buffer behavior in getline [BZ #5666] Dominik Vogt (1): S/390: Port of lock elision to System/z Dylan Alex Simon (1): Update x86_64 libm-test-ulps on AMD family 21h model 1 (bug 16545). Eric Wong (1): Avoid stat/fstat in statvfs/fstatvfs (BZ #15132) Florian Weimer (12): misc/sys/select.h (__FD_MASK): Avoid signed integer overflow. Check for syscall error in the SETXID implementation in NPTL (bug 13347). Update NEWS for fixed bug 13347 posix_spawn_file_actions_addopen needs to copy the path argument (BZ 17048) Fix tautological comparison in non-executed part of tst-setuid2 (BZ #17058) setlocale: Use the heap for the copy of the locale argument _nl_find_locale: Improve handling of crafted locale names [BZ #17137] manual: Update the locale documentation nptl: Fix abort in case of set*id failure [BZ #17135] __gconv_translit_find: Disable function [BZ #17187] Fix typo in CVE ID CVE-2014-6040: Crashes on invalid input in IBM gconv modules [BZ #17325] Guo Yixuan (2): Fixed pthread_spin_lock on sparc32/64 (bug 16882) New test for pthread_spin_lock (bug 16882) H.J. Lu (8): Check AVX-512 assembler support first Replace __int128 with __int128_t in bits/link.h Use 3 bytes for __pad1 in pthread_rwlock_t for x32 Remove sysdeps/x86_64/multiarch/rtld-strlen.S Add ifunc tests for x86_64 memset_chk and memset Enable AVX2 optimized memset only if -mavx2 works Replace cpuid asm statement with __cpuid_count Mention fixes for BZs 16194 and 16275 in NEWS Ian Bolton (4): [AArch64] Provide initial implementation of math_private.h. [AArch64] Define HAVE_RM_CTX and related hooks. Add fenv test support for AArch64. [AArch64] Suppress unnecessary FPSR and FPCR writes. Igor Zamyatin (3): Save and restore AVX-512 zmm registers to x86-64 ld.so Save/restore bound registers in _dl_runtime_resolve Save/restore bound registers for _dl_runtime_profile Jeff Layton (1): fcntl-linux.h: add new definitions and manual updates for open file description locks Jim Meyering (1): regex: don't deref NULL upon heap allocation failure Joey Ye (1): Fix ARM NAN fraction bits. Jose E. Marchesi (1): Fix sparc memcpy data corruption when using niagara2 optimized routines. Joseph Anthony Pasquale Holsten (1): Fix typo in comment in res_query.c Joseph Myers (158): Remove am33 port. Move shared sysdeps files from alpha to arm. Move arm from ports to libc. Fix whitespace in ARM files to allow move. Remove mips dependency on alpha. Move shared umount.c from hppa to mips. Move mips from ports to libc. Fix whitespace in MIPS files to allow move. Merge MIPS dl-lookup.c into generic file. Regenerate x86_64 ulps. Remove _BSD_SOURCE and _SVID_SOURCE. soft-fp: support after-rounding tininess detection. Make ABI tests generate .out files. Stop io/ftwtest deleting its own output. Remove indirection in stdio-common tests dependencies. Remove reference to subdir_lint.out. Combine __USE_BSD and __USE_SVID into __USE_MISC. Update MIPS math-tests.h for GCC 4.9 using soft-fp. Clean up trivially redundant __USE_MISC conditionals. Split up rules for tests that compare output with baselines. Split up rules for tests using mtrace and something else. Fix gen-auto-libm-tests sticky bit setting for negative results. Move tests of fma from libm-test.inc to auto-libm-test-in. Move tests of clog10 from libm-test.inc to auto-libm-test-in. Update ARM HWCAP data. Fix __ASSUME_ACCEPT4 issues (bug 16609). Fix __ASSUME_RECVMMSG issues (bug 16610). Fix __ASSUME_SENDMMSG issues (bug 16611). Complete _BSD_SOURCE / _SVID_source followup cleanup. Generate .test-result files for tests with special rules. Consistently include Makeconfig after defining subdir. Support expected failures in .test-result files. Fix libm-test.inc:print_complex_max_error handling of some error cases. Don't include individual test ulps in libm-test-ulps. Automatically check sanity of ulps from libm tests. Adjust how gen-auto-libm-tests handles before-rounding/after-rounding cases. Don't define __ASSUME_UTIMES for linux-generic architectures. Prepare libm-test.inc structures for multi-rounding-mode testing. Remove INSTALL_INFO setting in manual/Makefile. conformtest: correct set of standards for which some headers are tested. conformtest: correct set of standards for which more headers are tested. Enumerate tests with special rules in tests-special variable. conformtest: clean up POSIX expectations for semaphore.h, signal.h, tar.h. conformtest: split up running of tests from makefile. Generate overall summary of test results. Make tests consistently use *.out output files. Count miscellaneous files built on host for testing as tests. Include all of <time.h> from <sched.h> for older standards (bug 16670). Fix POSIX namespace for <bits/siginfo.h> (bug 16674). Add libm-test.inc macro for all-rounding-modes testing. Fix nextafter overflow in non-default rounding modes (bug 16677). Fix MIPS libc_feresetround*_ctx to preserve exceptions. Fix __ASSUME_PSELECT for MicroBlaze (bug 16642). Regenerate INSTALL. Do not terminate default test runs on test failure. Add libm-test support for per-rounding-mode manually specified results. Test rint and nearbyint with same inputs, in all rounding modes. Exit with error status on check-abi failure. Test scalbn and scalbln in all rounding modes, add more tests of negative arguments. Fix __ASSUME_PREADV and __ASSUME_PWRITEV for Alpha and MicroBlaze (bug 16649). Use ALL_RM_TEST for more libm tests. Make libm-test support ALL_RM_TEST with AUTO_TESTS_*. Test most libm functions in all rounding modes. Fix log (1) in round-downward mode (bug 16731). Fix -Wundef warnings for _ABI* on MIPS. Fix dbl-64 exp overflow/underflow in non-default rounding modes (bug 16284). Fix implicit __isinf declarations in exp. Relax gen-auto-libm-tests may-underflow rules, test log1p in all rounding modes. Add empty GLIBC_2.2.5 version to elf/Versions. Make x86_64 fegetenv preserve exception mask (bug 16198). Fix x86/x86_64 expl/exp10l spurious underflows (bug 16348). Fix clog10 (-0 +/- 0i) (bug 16362). Fix scalb spurious "invalid" exceptions (bug 16770). Fix futimesat for older MicroBlaze kernels (bug 16648). Correct robust mutex / PI futex kernel assumptions (bug 9894). Set errno for atan2 underflow (bug 16349). Set errno for scalb errors (bug 6803, bug 6804). Fix clog / clog10 sign of zero result in round-downward mode (bug 16789). Fix catan, catanh, __ieee754_logf in round-downward mode (bug 16799, bug 16800). conformtest: clean up POSIX expectations for stdlib.h, string.h. Increase minimum Linux kernel version to 2.6.32. Include SSE state in i386 fenv_t (bug 16064). Clean up kernel version conditionals for pre-2.6.32 kernels. Clean up ARM old-ABI symbol versioning relics. Reduce kernel-features.h duplication. Fix erf underflow handling near 0 (bug 16516). Fix acosh (1) in round-downward mode (bug 16927). Fix cacos (+Inf + finite*i) in round-downward mode (bug 16928). Fix log1pl (LDBL_MAX) in FE_UPWARD mode (bug 16564). Use existing makefile variables for dependencies on glibc libraries. Fix ARM build with GCC trunk. Consistently use $(elf-objpfx). Don't mention linuxthreads in Depend files. Fix log10 (1) in round-downward mode (bug 16977). Define TSVTX in tar.h for older POSIX (bug 16978). Include LOCPATH in default test environment. Don't require test wrappers to preserve environment variables, use more consistent environment. Remove redundant C locale settings. conformtest: clean up POSIX expectations for termios.h, time.h. Remove special makefile rules / .sh files for some localedata tests. Fix log2 (1) in round-downward mode (bug 17042). conformtest: clean up POSIX expectations for sys/mman.h, sys/stat.h, sys/types.h. Add CFI to x86 ceil / floor / trunc (bug 16681). Use $(rtld-prefix) more consistently. Fix __ieee754_logl (-LDBL_MAX) in FE_DOWNWARD mode (bug 17022). Remove __ASSUME_ATFCTS conditionals in sysdeps/unix/sysv/linux/. Remove __ASSUME_ADJ_OFFSET_SS_READ. Remove __ASSUME_AT_RANDOM. Remove __ASSUME_F_GETOWN_EX. Remove __ASSUME_SOCK_CLOEXEC / SOCK_CLOEXEC conditionals in Linux-specific code. Include <kernel-features.h> explicitly where required. Remove ARM __ASSUME_SIGFRAME_V2. Update headers for Linux 3.15. Fix pow overflow in non-default rounding modes (bug 16315). Test cpow in all rounding modes. Set errno for y1 overflow (bug 17050). Fix cosh spurious underflows from expm1 (bug 16354), inaccurate results near 0 (bug 17061). Move architecture cases out of sysdeps/unix/sysv/linux/configure.ac. Fix ldbl-128 erfl spurious underflows (bug 16287). Fix x86/x86_64 expm1l spurious underflow exceptions (bug 16539). Remove __ASSUME_COMPLETE_READV_WRITEV. Fix exp10 spurious underflows (bug 16560). Remove __ASSUME_UTIMENSAT. Update README and NEWS for ports directory removal. Remove __ASSUME_XFS_RESTRICTED_CHOWN. Update timezone code from tzcode 2014e. Move base_machine and machine settings from configure.ac to sysdeps preconfigure fragments. Remove BROKEN_PPC_ASM_CR0 configure test. Remove stray includes of kernel-features.h. Move USE_REGPARMS define to sysdeps/i386/configure.ac. Remove __ASSUME_O_CLOEXEC / O_CLOEXEC conditionals in sysdeps/unix/sysv/linux/. Remove configure tests for assembler CFI support. Remove powerpc special cases in configure.ac. Update miscellaneous files from upstream sources. Update scripts/list-sources.sh for ports repository merge. Fix MIPS64 *_nocancel gp setup. Fix yn overflow handling in non-default rounding modes (bug 16561, bug 16562). Remove relro configure test. Remove shlib-versions ABI names support. Fix ldbl-128 powl sign of result in overflow / underflow cases (bug 17097). Rename soft-fp extended.h, op-common.h variables to avoid risk of shadowing. Rename soft-fp op-[1248].h variables to avoid risk of shadowing. Fix ldbl-128 expm1l spurious underflow (bug 16539). Regenerate ARM libm-test-ulps. Regenerate powerpc-nofpu libm-test-ulps. Regenerate MIPS libm-test-ulps. MicroBlaze: Update kernel-features.h for syscalls added in 3.15 Move architecture shlib-versions files to Linux-specific directories. Refactor handling of /lib64 etc. cases, move out of sysdeps/gnu/configure.ac. Split x86_64 out of main Linux kernel-features.h. Split i386 out of main Linux kernel-features.h. Split sparc out of main Linux kernel-features.h. Split powerpc out of main Linux kernel-features.h. Split sh out of main Linux kernel-features.h. Split s390 out of main Linux kernel-features.h. Fix fallback fesetenv and feupdateenv on FE_NOMASK_ENV (bug 17088). Fix powerpc-nofpu __fe_enabled_env and __fe_nonieee_env (bug 17261). Fix powerpc32 __get_clockfreq for non-power4 (bug 17263). Julian Brown (1): ARM: Fix R_ARM_IRELATIVE RELA relocations. Khem Raj (1): Define __GI_fegetenv for e500 libm Konstantin Serebryany (2): Remove nested functions: crypt/md5-crypt.c Remove redundant nested function b64_from_24bit Kyle McMartin (1): [AARCH64] correct alignment of TLS_TCB_ALIGN (BZ #16796) Ling Ma (2): Add x86_64 memset optimized for AVX2 Improve 64bit memcpy performance for Haswell CPU with AVX instruction Ludovic Courtès (1): nscd: Remove unused typedef and variable. Maciej W. Rozycki (8): ARM: soft-fp NaN representation correction [BZ #17075] ARM: Fix immediate calculation of R_ARM_TLS_DESC stdlib/tst-qsort2.c: Fix off-by-one argc interpretation error [BZ #16046] dl_iterate_phdr static executable test sysdeps/unix/sysv/linux/bits/socket.h: Correct formatting test-skeleton: Kill any child process's offspring stdlib/tst-strtod-overflow: Bump timeout up yet [BZ #17078] ARM: R_ARM_TLS_DESC prelinker support Marcus Shawcroft (7): Relocate AArch64 from ports to libc. [AArch64] Optional trapping exceptions support. [AArch64] Regenerate libm-test-ulps. Revert "ARM: Improve fenv implementation" [AArch64] Regenerate libm-test-ulps Revert "Add bug 16918 to NEWS." Revert "aarch64: Add hp-timing.h" Mark Wielaard (1): i386 TLS_INIT_TP might produce bogus asm changing stack pointer [BZ #17319] Marko Myllynen (1): Replace __int128 with __int128_t Meador Inge (1): get_nprocs: Only return explictly set cache values (BZ #16996) Mike Frysinger (23): linux_fsinfo.h: sync with current linux/magic.h tzselect: stop requiring ksh linux: bits/in.h: sync with latest kernel headers linux: bits/in.h: sync with latest kernel headers tst-longjmp_chk: add comments and convert to test-skeleton tests: unify fortification handler logic tst-longjmp_chk3: new test for checking sigaltstack edge cases tst-backtrace4: expand output even on failures manual: setjmp: fix typos/grammar sem_open: allow RAMFS_MAGIC for mount points shm_open: sync with logic in sem_open ia64: relocate out of ports/ subdir tst-longjmp_chk2: add comments/sanity check manual: time: fix typo in IST example sotruss: drop ksh support and add basic POSIX shell support delete ksh checks stop supporting bash-1.x tst-setcontext: fix style add ChangeLog for previous commit ia64: define nocancel entry points in PSEUDO add ChangeLog for previous commit tst-gettext2: make setup more robust detect broken linker handling of __ehdr_start Ondřej Bílka (20): Remove THREAD_STATS. Deduplicate setenv. Fix previous commit. Use glibc_likely instead __builtin_expect. Remove unused variable from stdlib/setenv.c Deduplicate resolv/nss_dns/dns-host.c Simplify calloc implementation. Fix two spaces after sentence. Make strtok benchmark competive. Add changelog. Fix recvmmsg comment. Fix types of stream hook functions in manual. Fix typo in nptl/sockperf.c Fix typo in nscd/selinux.c fix changelog. Remove duplicate code in elf/dl-deps.c. revert commit fdfd175d46ac6a810ebdeb2a2936e6d7d13995ab Remove mi_arena nested function. Fix typo in manual. Fix memory overrun in getifaddrs_internal. Fixes bug 15698. Paul Eggert (2): Sync up mktime with gnulib misc/sys/cdefs.h: Add _Noreturn macro for pre-C11 compilers Paul Pluzhnikov (8): 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com> Add missing elf/tst-pie2.c -- should have been in Fix BZ #16634. Address post-commit patch comments. 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com> 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com> 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com> Fix typo on ChangeLog. Peter TB Brett (1): Use statvfs64() for pathconf(_PC_NAME_MAX). Rajalakshmi Srinivasaraghavan (3): print length in strrchr benchtest PowerPC: strrchr optimization for POWER7/PPC64 PowerPC: Fix nearbyintl failure for few inputs Rasmus Villemoes (1): manual: Update prototypes for alphasort and friends Richard Earnshaw (1): [AArch64] Add optimized strchr. Richard Henderson (55): Relocate alpha from ports to libc alpha: Regenerate sysdeps/alpha/libm-test-ulps alpha: Fix __pointer_chk_guard definition for the testsuite alpha: Enable unwind tables for backtrace.c alpha: Remove alpha-linux pthread_once.c Merge remote-tracking branch 'origin/roland/nptl-alpha' alpha: Create __syscall_nocancel entry points alpha: Define ELF_MACHINE_NO_RELA alpha: Remove bits/siginfo.h (BZ 16966) alpha: fix sa_flags type (BZ 16967) aarch64: Merge rtld_errno offset with memory reference aarch64: Merge __local_multiple_threads offset with memory reference alpha: Remove nptl/fork.c alpha: Merge standard and nptl clone.S alpha: Consolidate NPTL/non versions of vfork alpha: Move remaining files out of sysdeps/unix/sysv/linux/alpha/nptl/ Only support ifunc in nptl/pt-vfork.c Only provide non-default symbols in libpthread for vfork alpha: Do non-default symbols in pt-vfork.S aarch64: Fix DO_CALL block comment aarch64: Remove DOARGS/UNDOARGS macros aarch64: Tidy syscall error check arm,aarch64: Remove SINGLE_THREAD_P_PIC aarch64: Tabify sysdep-cancel.h aarch64: Share code in syscall-cancel.h aarch64: Pass regno parameter to SINGLE_THREAD_P aarch64: Improve syscall-cancel stack frame aarch64: Use tpidr_el0 rather than __read_tp in librt aarch64: Use tpidr_el0 rather than __errno_location in librt aarch64: Rely on syscalls preserving registers aarch64: Fix error return from __ioctl aarch64: Remove PSEUDO_RET aarch64: Consolidate NPTL/non versions of clone aarch64: Consolidate NPTL/non versions of vfork aarch64: Remove nptl/vfork.S alpha: Update libm-test-ulps alpha: Fix isnan powerpc: Remove dummy hp-timing.h Removing HP_TIMING_ZERO as unused Removing HP_TIMING_ACCUM as unused Remove HP_TIMING_DIFF_INIT and dl_hp_timing_overhead Unify hp-timing implementations aarch64: Add hp-timing.h Always provide HP_SMALL_TIMING_AVAIL Rely on HP_TIMING_AVAIL implies HP_SMALL_TIMING_AVAIL Changelog for last 8 patches alpha: Remove round and roundf implementations alpha: Fix lround implementations alpha: Implement math_opt_barrier and math_force_eval alpha: Remove nearbyint and nearbyintf implementations aarch64: Update libm-test-ulps Force eval for fma implementations alpha: Remove linux lowlevellock.h alpha: Remove linux lowlevellock.h alpha: Fix exception raising from soft-fp Roland McGrath (150): Avoid comma operator warnings. Remove unused %include lines from Versions files. Remove obsolete SHLIB_COMPAT conditionalization in Versions files. Add missing } in Versions file. Fix fallout from Joseph's untested Makeconfig change. Retire the separate ChangeLog files in nptl/ and nptl_db/ subdirs. ARM: Fix up setjmp/longjmp changes sfi_* macro use. ChangeLog format fix. Use __ehdr_start, when available, for rtld to get its own headers. Fix two stray cases using #ifdef vs #if for TLS_TCB_AT_TP. Compile with -Wundef. Get rid of Versions.def source file Remove "Compiled on ..." crapola from version text. Work around binutils bugs in 2.23 and older Move bits/mman-linux.h out of sysdeps/unix/sysv/linux/. Add comments about non-Linux use of bits/mman-linux.h. Kludge fix for Versions.def regression Factor mmap/munmap of PT_LOAD segments out of _dl_map_object_from_fd et al. Add deprecation header text to remaining ports/ChangeLog* files. Move ports/ChangeLog* files to ChangeLog.old-ports*, remove ports/ directory. Deconditionalize use of LLL_LOCK_INITIALIZER in bits/libc-lock.h. Fix -Wundef warnings for _IO_JUMPS_OFFSET. Fix -Wundef issues in generated errlist.c. Move rules for Linux-specific pldd program to Linux-specific Makefile. Move ARM internal unwind.h header to the right sysdeps directory. Fix -Wundef for _UTSNAME_DOMAIN_LENGTH. Some configure-related decrufting. Silence a missing-noreturn warning for _Unwind_Resume. Make armv7 strcmp assembly compatible with ARM mode and SFI. Clean up __exit_thread. Consolidate NPTL vs non clone.S for ARM. Consolidate NPTL configury for ARM/Linux. Verbatim NPTL file moves for ARM/Linux. Move NPTL public ABI headers for ARM to sysdeps/arm/nptl/. ARM: Consolidate NPTL/non versions of vfork x86: Consolidate NPTL/non versions of vfork Move NPTL public ABI headers for x86 to sysdeps/x86/nptl/. x86: Consolidate NPTL/non versions of clone Move x86_64 timer_*.c out of nptl/ Move x86_64 compat-timer.h out of nptl/ x86_64: Remove useless pthread_spin_{init,unlock} wrapper files. Update s390 timer_*.c files for x86_64 file moves. Consolidate not-cancel.h files. x86: Consolidate NPTL fork. Move remaining nptl/sysdeps/unix/sysv/linux/x86_64/ files. i386: Remove useless pthread_spin_{init,unlock} wrapper files. Update alpha and ia64 timer_*.c files for x86_64 file moves. Fix powerpc fork after i386 reorganization. Move remaining nptl/sysdeps/unix/sysv/linux/i386/ files. Fix mips fork after i386 reorganization. Move remaining files out of nptl/sysdeps/unix/sysv/linux/x86/. x86: Move abilist files out of nptl/ subdirectories. Split arch-fork.h from fork.h Add stub arch-fork.h header. ARM: Convert fork.c to arch-fork.h Alpha: Convert fork.c to arch-fork.h Fix __waitpid_nocancel link error. AArch64: Convert fork.c to arch-fork.h SH: Convert fork.c to arch-fork.h IA64: Convert fork.c to arch-fork.h tile: Convert fork.c to arch-fork.h SH: Consolidate NPTL/non versions of clone m68k: Convert fork.c to arch-fork.h SH: Consolidate NPTL/non versions of vfork Move NPTL public ABI headers for SH to sysdeps/sh/nptl/. Start cleaning up TLS initial value for pthread_create. ARM: Define TLS_DEFINE_INIT_TP MIPS: Define TLS_DEFINE_INIT_TP HPPA: Define TLS_DEFINE_INIT_TP m68k: Define TLS_DEFINE_INIT_TP SH: Define TLS_DEFINE_INIT_TP AArch64: Define TLS_DEFINE_INIT_TP PowerPC: Define TLS_DEFINE_INIT_TP Alpha: Define TLS_DEFINE_INIT_TP S390: Define TLS_DEFINE_INIT_TP Tile: Define TLS_DEFINE_INIT_TP Move x86_64 code out of nptl/ subdirectory. Move SH code out of nptl/ subdirectory. Move i386 code out of nptl/ subdirectory. Consolidate NPTL sigprocmask. Get rid of nptl/sysdeps/pthread/ subdirectory Use list.h in posix-timer code. SPARC: Convert fork.c to arch-fork.h SPARC: Define TLS_DEFINE_INIT_TP Move SPARC code out of nptl/sysdeps/sparc/. Move SPARC public headers out of nptl/ S390: Convert fork.c to arch-fork.h Move S390 code out of nptl/sysdeps/s390/. S390: Move NPTL public headers to sysdeps/s390/nptl/. Move remaining SPARC code out of nptl/. Missing new file from last commit. Move linux bits/ files out of nptl/. Clean up stack-coloring macros. Clean up HAVE_CONFIG_H and STDC_HEADERS. Remove unused file rtld-lowlevel.h. Move generic smp.h to nptl/ SH: Consolidate nptl/ subdirectories under linux/..... m68k: Consolidate nptl/ subdirectories under linux/... MIPS: Move NPTL public headers to sysdeps/mips/nptl/. powerpc: Consolidate nptl/ subdirectories under linux/.... Remove an unused variable in fstatvfs. Add missing #include in get-rounding-mode.h x86: Consolidate unnecessary nptl/ subdirectories. SPARC: Consolidate nptl/ subdirectories under linux/... SPARC: Consolidate unnecessary nptl/ subdirectories. MIPS: Consolidate NPTL/non versions of clone AArch64: Consolidate nptl/ subdirectories under linux/... S390: Consolidate NPTL/non versions of clone S390: Consolidate NPTL/non versions of vfork Move remaining S390 code out of nptl/. S390: Consolidate nptl/ subdirectories under linux/... Add missing #include in spawn_faction_addopen.c Add missing #include <fpu_control.h> to ARM fesetenv/feupdateenv. ARM: Move more aeabi routine magic out of Linux-specific directories MIPS: Consolidate NPTL/non versions of vfork MIPS: Consolidate nptl/ subdirectories under linux/... ARM: Split Linuxism out of sysdeps/arm/nptl/tls.h MicroBlaze: Convert fork.c to arch-fork.h MicroBlaze: Define TLS_DEFINE_INIT_TP MicroBlaze: Move NPTL public headers to sysdeps/microblaze/nptl/. MicroBlaze: Consolidate NPTL/non versions of vfork MicroBlaze: Consolidate nptl/ subdirectories under linux/... Add missing #include for MIN/MAX users. Add missing #include for MIN use in dl-sysdep.c. S390: Quash unused variable warning due to no-op THREAD_SET_POINTER_GUARD. Robustify Linux kernel headers configure checks Add missing #include in sysdeps/alpha/fpu/s_nearbyint.c Fix unwind.h configure check for bare environment. Fix ia64 build error in lll_futex_timed_wait_bitset Get rid of nptl/sysdeps/ entirely! NPTL is no longer an add-on! Remove old stub lowlevellock.h file. It is not even useful as documentation. Get rid of lll_robust_trylock. Get rid of lll_robust_dead. ChangeLog fixup for last commit. Remove declarations of two nonexistent variables from nptl/pthreadP.h. Separate Linuxisms from lowlevellock.h, make a generic one Add generic/stub implementations of pthread_{kill,sigmask,sigqueue}. ARM: Clean up EABI-related configury Split nptl-signals.h out from pthreadP.h Use __builtin_trap for ABORT_INSTRUCTION. Add __safe_fatal and use it in __pthread_unwind forwarder fallback. ARM: Move PTR_MANGLE et al out of Linux-specific file. Remove sysdeps/unix/sysv/linux/arm/lowlevellock.h IA64: Consolidate NPTL/non versions of clone IA64: Consolidate NPTL/non versions of vfork IA64: Define TLS_DEFINE_INIT_TP IA64: Move NPTL public headers to sysdeps/ia64/nptl/. IA64: Consolidate nptl/ subdirectories under linux/... NEWS: Mention x86-64 ld.so use of Intel MPX instructions. Sami Kerola (1): tzselect: use zonedir instead of current working directory Samuel Thibault (5): hurd: Do not allow unmapping address 0 hurd: Move dtv, dtv_t, tcbhead_t declaration to per-arch file. hurd: Add i386 fields to TLS structure Simplify atomicity of socket creation in bind. Fix hang on fork Sean Anderson (1): malloc: fix comment typo Serge Hallyn (1): misc/sys/xattr.h: guard against linux uapi header inclusion Siddhesh Poyarekar (85): Minor formatting fix Fix sign of input to bsloww1 (BZ #16623) Fix ChangeLog formatting Fix missing ChangeLog nscd: Improved support for tracking startup failure in nscd service (BZ #16639) Separate ftell from fseek logic and avoid modifying FILE data (#16532) Use cached offset in ftell when reliable Fix up formatting Fix up formatting in tst-ftell-active-handler.c Mark nscd service as forking in systemd service file (BZ #16639) Provide correct buffer length to netgroup queries in nscd (BZ #16695) Get rid of __LT_SPINLOCK_INIT Fix up return codes for tests in tst-ftell-active-handler Fix offset caching for streams and use it for ftell (BZ #16680) Change offset in fdopen only if setting O_APPEND Fix -Wundef warnins for __FP_FAST_FMA* Implement benchmarking script in python ChangeLog formatting fix benchtests: Move bench.py to benchtests/scripts/ Fix nscd lookup for innetgr when netgroup has wildcards (BZ #16758) Avoid overlapping addresses to stpcpy calls in nscd (BZ #16760) Return NULL for wildcard values in getnetgrent from nscd (BZ #16759) [benchtests] Use inputs file for modf Make bench.out in json format Detailed benchmark outputs for functions benchtests: Link against objects in build directory Include atomic.h in sem_wait.c and sem_trywait.c Use test-skeleton.c in tst-sem3 and tst-sem4 Do not fail if one of the two responses to AF_UNSPEC fails (BZ #14308) Consolidate code to initialize nscd dataset header Initialize all of datahead structure in nscd (BZ #16791) Return EAI_AGAIN for AF_UNSPEC when herrno is TRY_AGAIN (BZ #16849) Fix formatting Fix date in ChangeLog Use NSS_STATUS_TRYAGAIN to indicate insufficient buffer (BZ #16878) benchtests: Add new directive for benchmark initialization hook Fix offset computation for append+ mode on switching from read (BZ #16724) Add mmap usage in malloc_info output Fix formatting in malloc_info Fix format specifier for n_mmaps Inline nested function check_list Validate bench.out against a JSON schema Remove unnecessary $(.) Fix ChangeLog and NEWS goof-up Print offending diff when check-abi fails Fix build warning in pthread_rwlock_* Fix namespace violation in pthreadtypes.h (BZ #17084) Add compat symbols for scalb* in i386 Fix Wundef warning for SEPARATE_KEY Fix Wundef warning for ELF_MACHINE_NO_RELA Fix Wundef warning for WIDE_CHAR_VERSION Remove inline keyword from leapyear function Remove unnecessary include in memmove_chk Correctly attribute the mktime.c change to Paul Eggert Fix Wundef warning for MEMCPY_OK_FOR_FWD_MEMMOVE Remove MULTI_PTRS_ARE_ALIASES in dns-hosts.c Add comment to gethnamaddr.c to warn that the file is unmaintained Fix typo in macro name Fix typo and formatting in loadmsgcat.c Fix -Wundef warning on PAGE_COPY_THRESHOLD Don't use __glibc_unlikely in shared code Fix Wundef warning for __STDC_VERSION__ Sync up loadmsgcat.c with gettext Restore subdir conditional for tst-timer dependency. Add comment for MEMCPY_OK_FOR_FWD_MEMMOVE Fix Wundef warning with SHOJI_IS_RIGHT Fix Wundef warning for ELF_MACHINE_NO_REL on i386 Check value at resplen2 if it is not NULL Fix Wundef warning for __cplusplus Fix -Wmaybe-uninitialized warning in xdr.c Add comment about SIZE initialization in xdr.c Fix crash when system has no ipv6 address [BZ #17125] Fix -Wundef warning for HAVE_OBSTACK Fix -Wundef warning for HAVE_SYS_PARAM_H Fix Wundef warning for HAVE_STRFTIME Fix -Wundef warning for HAVE_LOCALTIME_R Sync up error.c with gnulib Fix -Wundef warnings in fnmatch.c Check if DEBUG is defined in regex_internal.c Fix -Wundef warnings in regex_internal.h Disable x87 inline functions for x86_64 and SSE [BZ #17262] Fix comment error that Jakub pointed out but I forgot to fix Remove unnecessary uses of NOT_IN_libc Remove redundant CPPFLAGS for some programs Remove NOT_IN_libc definition for pthread_atfork Sihai Yao (1): Detect if AVX2 is usable Stefan Liebler (24): S/390: Regenerate ULPs. S390: Fix -Wundef warning for __PTHREAD_MUTEX_HAVE_ELISION. Use += before-compile instead of a :=. S390: Correct type of sa_flags in struct sigaction for POSIX conformance S390: Define SIZE_MAX as unsigned long (BZ #16712). S390: Fix namespace violation in struct stat (BZ #16714). NEWS: Add 16712, 16713, 16714 to fixed bug list. S/390: Unify 31 and 64 bit configure.ac [BZ #16824] Fix failing y1 due to too large ulps in downward/upward rounding mode. [BZ #14770] S/390: Require Binutils >= 2.24 for target S/390. S/390: Regenerate ULPs [BZ #16823] Fix log1pl returning wrong infinity sign Mention BZ16823 in NEWS Fix typo in tst-mutex5 ifndef -> ifdef Disable lock elision for PTHREAD_MUTEX_NORMAL. S/390: Regenerate ULPs. posix_spawn_faction_addopen: Add missing string.h include directive Fix pthread.h in installed-headers list. Generate en_GB.UTF-8 during testing [BZ #6803] Set errno for scalbln, scalbn S/390: Regenerate ULPs S/390: Revert the jmp_buf/ucontext_t ABI change. S390: Fix remaining ONE_DIRECTION warning messages NEWS: Explain the s390 jmp_buf / ucontext_t ABI change reversal. Steve Ellcey (7): Add macros and inline functions to mips math_private.h file. 2014-04-29 Steve Ellcey <sellcey@mips.com> 2014-05-01 Steve Ellcey <sellcey@mips.com> 2014-05-01 Steve Ellcey <sellcey@mips.com> 2014-05-01 Steve Ellcey <sellcey@mips.com> 2014-05-07 Steve Ellcey <sellcey@mips.com> Add 16922 to list of bugs fixed. Tomas Dohnalek (1): Generate .test-result files for ordinary tests. Torvald Riegel (2): benchtests: Add pthread_once common-case test. Fixed and unified pthread_once. Venkataramanan Kumar (1): aarch64: Add setjmp and longjmp SystemTap probes Vidya Ranganathan (4): PowerPC: strspn optimization for PPC64/POWER7 PowerPC: strncpy/stpncpy optimization for PPC64/POWER7 PowerPC: Optimized strcmp for PPC64/POWER7 PowerPC: strcat optimization for PPC64/POWER7 Wilco (18): Add fenv test support for targets which don't have FP traps. ARM: Improve fenv implementation ARM: Improve fenv implementation [AArch64] Rewrite feupdateenv (BZ 17009). [AArch64] Remove ISB after FPCR write. [AArch64] Cleanup declarations in math_private.h. [AArch64] Switch from FE_TOWARDZERO to _FPU_FPCR_RM_MASK Add FE_NOMASK_ENV return value test. Use libc calls defined by fenv_private.h to implement several fenv functions Speed up the ARM fenv implementation by avoiding unnecessary FPSCR Rewrite feupdateenv Add bug 16918 to NEWS. Cleanup fenv implementation Remove an unused include. Add _FPU_MASK_RM and use it instead of FE_TOWARDZERO. Optimize fesetenv Add bug 16918 to NEWS. Fix performance issue in misaligned strcpy. Wilco Dijkstra (3): [ARM] Add support for fenv_private on ARM. Add generic HAVE_RM_CTX implementation This patch adds new function libc_feholdsetround_noex_aarch64_ctx, enabling Will Newton (49): malloc/mtrace.c: Cosmetic cleanup. include/stap-probe.h: Add comment about SystemTap argument format manual/probes.texi: Add documentation of setjmp/longjmp probes manual/probes.texi: Use "triggered" instead of "hit" ARM: Add SystemTap probes to longjmp and setjmp. manual/setjmp.texi: Improve clarity of Sys V context doc Fix __PTHREAD_MUTEX_HAVE_ELISION -Wundef warning Fix HP_SMALL_TIMING_AVAIL -Wundef warnings Fix _IO_JUMPS_OFFSET -Wundef warnings Fix __STRICT_ANSI__ -Wundef warnings Fix HAVE_RM_CTX -Wundef warnings Revert "Fix HAVE_RM_CTX -Wundef warnings" Revert "Fix _IO_JUMPS_OFFSET -Wundef warnings" Revert "Fix HP_SMALL_TIMING_AVAIL -Wundef warnings" Revert "Fix __PTHREAD_MUTEX_HAVE_ELISION -Wundef warning" aarch64: Remove inaccurate comment from sysdep.h benchtests/bench-strtod.c: Increase timeout value benchtests: Add benchtests for ffs and ffsll benchtests: Build ffs and ffsl benchtests with -fno-builtin elf/dl-lookup.c: Remove obsolete comment about nested function string: Cosmetic cleanup of string functions malloc: Fix MALLOC_DEBUG -Wundef warning benchtests: Improve readability of JSON output aarch64: Re-implement setcontext without rt_sigreturn syscall stdlib/tst-setcontext.c: Check for clobbering of signal stack manual/setjmp.texi: Clarify setcontext and signal handlers text ARM: Remove lowlevellock.c NEWS: Add 15119 to fixed bug list ARM: Add optimized ARMv7 strcmp implementation ARM: Allow auto-detection of linker relro feature malloc: Add mallopt test. stdlib/gmp-impl.h: Silence -Wundef warning for USE_STACK_ALLOC AArch64: Fix handling of nocancel syscall failures ARM: Fix handling of concurrent TLS descriptor resolution malloc/malloc.c: Avoid calling sbrk unnecessarily with zero test-skeleton.c: Use stdout for error messages elf/dl-lookup.c: Move STB_GNU_UNIQUE handling to a function elf/dl-lookup.c: Remove unnecessary static variable elf/dl-lookup.c: Use __glibc_likely and __glibc_unlikely sysdeps/posix/tempname.c: Merge from gnulib ARM: Add support for AT_HWCAP2 in _dl_procinfo malloc/obstack: Merge from gnulib ARM: Define ELF_MACHINE_NO_REL string/memchr.c: Merge from gnulib Fix -Wundef warnings for SHARED iconv/loop.c: Fix -Wundef warning with !_STRING_ARCH_unaligned ARM: Fix compiler warnings from atomic.h AArch64: Remove lowlevellock.h Add BZ #16892 to NEWS Yang Yingliang (1): Fix lll_unlock twice in pthread_cond_broadcast Yufeng Zhang (1): [AArch64] Use GCC builtins to count leading/tailing zeros. Yury Gribov (1): Update ARM ulps for VFPv4 (bug 16600). Yvan Roux (1): AArch64: Remove asm/ptrace.h inclusion in sys/user.h and sys/procfs.h ----------------------------------------------------------------------- This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU C Library master sources". The branch, master has been updated via 03d95bd48319256bd29cfaece45919fc58bf56cc (commit) from 98408b95b155464e760c22dce4842f29499db821 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=03d95bd48319256bd29cfaece45919fc58bf56cc commit 03d95bd48319256bd29cfaece45919fc58bf56cc Author: Joseph Myers <joseph@codesourcery.com> Date: Thu Feb 12 19:02:45 2015 +0000 Fix exp2 spurious underflows (bug 16560). This patch fixes the remaining part of bug 16560, spurious underflows from exp2 of arguments close to 0 (when the result is close to 1, so should not underflow), by just using 1+x instead of a more complicated calculation when the argument is sufficiently small. Tested for x86_64, x86 and mips64. [BZ #16560] * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine. (__ieee754_exp2l): Do not multiply small fractional parts by M_LN2l. * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to small argument. * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise. * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise. * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise. * math/auto-libm-test-in: Add more tests of exp2. * math/auto-libm-test-out: Regenerated. ----------------------------------------------------------------------- Summary of changes: ChangeLog | 15 + NEWS | 2 +- math/auto-libm-test-in | 18 + math/auto-libm-test-out | 666 ++++++++++++++++++++++++++++++++++++++ math/e_exp2l.c | 9 + sysdeps/i386/fpu/e_exp2l.S | 10 +- sysdeps/ieee754/dbl-64/e_exp2.c | 3 + sysdeps/ieee754/flt-32/e_exp2f.c | 3 + sysdeps/x86_64/fpu/e_exp2l.S | 10 +- 9 files changed, 733 insertions(+), 3 deletions(-) Fixed for 2.22. This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU C Library master sources". The annotated tag, glibc-2.22 has been created at be75ddf5e4dfab2aa4ceb2428cc146e7ea26a346 (tag) tagging 78bd7499af46d739ce94410eaeea006e874ca9e5 (commit) replaces glibc-2.21 tagged by Carlos O'Donell on Wed Aug 5 02:45:12 2015 -0400 - Log ----------------------------------------------------------------- The GNU C Library ================= The GNU C Library version 2.22 is now available. The GNU C Library is used as *the* C library in the GNU system and in GNU/Linux systems, as well as many other systems that use Linux as the kernel. The GNU C Library is primarily designed to be a portable and high performance C library. It follows all relevant standards including ISO C11 and POSIX.1-2008. It is also internationalized and has one of the most complete internationalization interfaces known. The GNU C Library webpage is at http://www.gnu.org/software/libc/ Packages for the 2.22 release may be downloaded from: http://ftpmirror.gnu.org/libc/ http://ftp.gnu.org/gnu/libc/ The mirror list is at http://www.gnu.org/order/ftp.html NEWS for version 2.22 ===================== * The following bugs are resolved with this release: 438, 4719, 6544, 6792, 11216, 12836, 13028, 13064, 13151, 13152, 14094, 14292, 14841, 14906, 14958, 15319, 15467, 15790, 15969, 16159, 16339, 16350, 16351, 16352, 16353, 16361, 16512, 16526, 16538, 16559, 16560, 16704, 16783, 16850, 17053, 17090, 17195, 17269, 17293, 17322, 17403, 17475, 17523, 17542, 17569, 17581, 17588, 17596, 17620, 17621, 17628, 17631, 17692, 17711, 17715, 17776, 17779, 17792, 17833, 17836, 17841, 17912, 17916, 17930, 17932, 17944, 17949, 17964, 17965, 17967, 17969, 17977, 17978, 17987, 17991, 17996, 17998, 17999, 18007, 18019, 18020, 18029, 18030, 18032, 18034, 18036, 18038, 18039, 18042, 18043, 18046, 18047, 18049, 18068, 18080, 18093, 18100, 18104, 18110, 18111, 18116, 18125, 18128, 18134, 18138, 18185, 18196, 18197, 18206, 18210, 18211, 18217, 18219, 18220, 18221, 18234, 18244, 18245, 18247, 18287, 18319, 18324, 18333, 18346, 18371, 18383, 18397, 18400, 18409, 18410, 18412, 18418, 18422, 18434, 18444, 18457, 18468, 18469, 18470, 18479, 18483, 18495, 18496, 18497, 18498, 18502, 18507, 18508, 18512, 18513, 18519, 18520, 18522, 18527, 18528, 18529, 18530, 18532, 18533, 18534, 18536, 18539, 18540, 18542, 18544, 18545, 18546, 18547, 18549, 18553, 18557, 18558, 18569, 18583, 18585, 18586, 18592, 18593, 18594, 18602, 18612, 18613, 18619, 18633, 18641, 18643, 18648, 18657, 18676, 18694, 18696. * Cache information can be queried via sysconf() function on s390 e.g. with _SC_LEVEL1_ICACHE_SIZE as argument. * A buffer overflow in gethostbyname_r and related functions performing DNS requests has been fixed. If the NSS functions were called with a misaligned buffer, the buffer length change due to pointer alignment was not taken into account. This could result in application crashes or, potentially arbitrary code execution, using crafted, but syntactically valid DNS responses. (CVE-2015-1781) * The time zone file parser has been made more robust against crafted time zone files, avoiding heap buffer overflows related to the processing of the tzh_ttisstdcnt and tzh_ttisgmtcnt fields, and a stack overflow due to large time zone data files. Overly long time zone specifiers in the TZ variable no longer result in stack overflows and crashes. * A powerpc and powerpc64 optimization for TLS, similar to TLS descriptors for LD and GD on x86 and x86-64, has been implemented. You will need binutils-2.24 or later to enable this optimization. * Character encoding and ctype tables were updated to Unicode 7.0.0, using new generator scripts contributed by Pravin Satpute and Mike FABIAN (Red Hat). These updates cause user visible changes, such as the fix for bug 17998. * CVE-2014-8121 The NSS backends shared internal state between the getXXent and getXXbyYY NSS calls for the same database, causing a denial-of-service condition in some applications. * Added vector math library named libmvec with the following vectorized x86_64 implementations: cos, cosf, sin, sinf, sincos, sincosf, log, logf, exp, expf, pow, powf. The library can be disabled with --disable-mathvec. Use of the functions is enabled with -fopenmp -ffast-math starting from -O1 for GCC version >= 4.9.0. Shared library libmvec.so is linked in as needed when using -lm (no need to specify -lmvec explicitly for not static builds). Visit <https://sourceware.org/glibc/wiki/libmvec> for detailed information. * A new fmemopen implementation has been added with the goal of POSIX compliance. The new implementation fixes the following long-standing issues: BZ#6544, BZ#11216, BZ#12836, BZ#13151, BZ#13152, and BZ#14292. The old implementation is still present for use be by existing binaries. * The 32-bit sparc sigaction ABI was inadvertently broken in the 2.20 and 2.21 releases. It has been fixed to match 2.19 and older, but binaries built against 2.20 and 2.21 might need to be recompiled. See BZ#18694. * Port to Native Client running on ARMv7-A (--host=arm-nacl). Contributed by Roland McGrath (Google). Contributors ============ This release was made possible by the contributions of many people. The maintainers are grateful to everyone who has contributed changes or bug reports. These include: Adhemerval Zanella Alan Modra Alexandre Oliva Andreas Schwab Andrew Senkevich Andriy Rysin Arjun Shankar Aurelien Jarno Benno Schulenberg Brad Hubbard Carlos O'Donell Chris Metcalf Christian Schmidt Chung-Lin Tang Cong Wang Cyril Hrubis Daniel Marjamäki David S. Miller Dmitry V. Levin Eric Rannaud Evangelos Foutras Feng Gao Florian Weimer Gleb Fotengauer-Malinovskiy H.J. Lu Igor Zamyatin J William Piggott James Cowgill James Lemke John David Anglin Joseph Myers Kevin Easton Khem Raj Leonhard Holz Mark Wielaard Marko Myllynen Martin Galvan Martin Sebor Matthew Fortune Mel Gorman Mike Frysinger Miroslav Lichvar Nathan Lynch Ondřej Bílka Paul Eggert Paul Pluzhnikov Pavel Kopyl Pravin Satpute Rajalakshmi Srinivasaraghavan Rical Jasan Richard Henderson Roland McGrath Rüdiger Sonderfeld Samuel Thibault Siddhesh Poyarekar Stefan Liebler Steve Ellcey Szabolcs Nagy Torvald Riegel Tulio Magno Quites Machado Filho Vincent Bernat Wilco Dijkstra Yaakov Selkowitz Zack Weinberg -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAABAgAGBQJVwbEHAAoJECXvCkNsKkr//nwH/RbC+AmWbbrY7POeygVVxZVv 6ww/s4WOx3MJc0VNhQucelDCmRVRfKdoqtiex2bcysOiK2mv6K4efgYV7dkilT5O NhpjENGE2qCvRIeplmDdGDBTLwhxwcQoQXrFYtcayEXpeCHoJjSzY9PyeNWGvmLM eEah8kVPh6FsNf/YD28MXtChCpfoZf5IrVhXvn7+f2zPjUEy1PuHmo2kU9LzoCRu q3xtd8ICpVkAvFCoUnN7YEOITj3g9Qd+zGebfj8LpVL5zoQs9n2egSv+jIdNGQVI XuQ+oVXuMd9ho1p6LayZpTsY19jALxgk8ysnTzBofi+1Zkc8FTEB0fFdplDIwMg= =9uQ7 -----END PGP SIGNATURE----- Adhemerval Zanella (36): powerpc: multiarch Makefile cleanup for powerpc64 powerpc: Simplify bcopy default implementation powerpc: Remove POWER7 wordcopy ifunc powerpc: wordcopy/memmove cleanup for ppc64 powerpc: multiarch Makefile cleanup for powerpc32 powerpc: wordcopy/memmove cleanup for ppc32 powerpc: sysdeps/powerpc configure cleanup powerpc: drop R_PPC_REL16 check powerpc: Fix TABORT encoding for little endian powerpc: Fix memmove static build powerpc: Fix inline feraiseexcept, feclearexcept macros Update powerpc-fpu ULPs. powerpc: Fix incorrect results for pow when using FMA powerpc: Remove HAVE_ASM_GLOBAL_DOT_NAME define powerpc: Fix __wcschr static build libc-vdso.h place consolidation Fix non-portable echo usage in sysdeps/unix/make-syscalls.sh Add BZ #16704 as fixed Fix stdlib/tst-setcontext3 with dash [BZ#18418] i386: Remove six-argument specialized implementations Remove socket.S implementation Consolidate vDSO macros and usage Consolidate gettimeofday across aarch64/s390/tile Update powerpc-fpu libm-test-ulps. Fix ChangeLog entry x86: clock_gettime and timespec_get vDSO cleanup Use inline syscalls for non-cancellable versions nptl: Rewrite cancellation macros Consolidate sched_getcpu x86: Remove vsyscall usage libio: fmemopen rewrite to POSIX compliance libio: Update tst-fmemopen2.c libio: Update powerpc64le libc.abilist Avoid C++ tests when the C++ cannot be linked libio: Fix fmemopen 'w' mode with provided buffer Update powerpc-fpu libm-test-ulps. Alan Modra (5): Fix localplt test breakage with new readelf Remove HAVE_ASM_PPC_REL16 references powerpc64 configure message powerpc __tls_get_addr call optimization Harden powerpc64 elf_machine_fixup_plt Alexandre Oliva (6): Unicode 7.0.0 update; added generator scripts. Amendments to Unicode 7 update. BZ #15969: search locale archive again after alias expansion Fix constness error just introduced in findlocale. Avoid unsafe loc_name type casts with additional variable Fix DTV race, assert, DTV_SURPLUS Static TLS limit, and nptl_db garbage Andreas Schwab (16): Fix value of O_TMPFILE for architectures with non-default O_DIRECTORY (bug 17912) Filter out PTHREAD_MUTEX_NO_ELISION_NP bit in pthread_mutexattr_gettype (BZ #15790) Fix failure of elf/tst-audit2 when compiled with GCC-5 Fix read past end of pattern in fnmatch (bug 18032) Fix parallel build error Don't define __CORRECT_ISO_CPP_STRING_H_PROTO for non-GCC compilers (bug 17631) m68k: fix 64-bit arithmetic in atomic operations (bug 18128) aarch64: Increase MINSIGSTKSZ and SIGSTKSZ (bug 16850) Separate internal state between getXXent and getXXbyYY NSS calls (bug 18007) Simplify handling of nameserver configuration in resolver Record TTL also for DNS PTR queries (bug 18513) Fix buffer overflow for writes to memory buffer stream (bug 18549) Update NEWS m68k: update libm test ULPs Fix spurious conform test failures Properly terminate FDE in makecontext for ix86 (bug 18635) Andrew Senkevich (29): This is the beginning of series of patches with addition Refactoring of START for conditions in individual tests Last part of changes regarding to libm-test.inc: addition This patch adds infrastructure for addition of SIMD This is update for configure, build and install of vector math library. Localplt testing for vector math library and libmvec_hidden_* macro series. This patch adds detection of availability for AVX512F and AVX512DQ ISAs. Start of series of patches with x86_64 vector math functions. Addition of testing infrastructure for vector math functions. Vector cosf for x86_64. This patch adds vector cosf tests. More strict check of AVX512 support in assembler. Vector sin for x86_64 and tests. Vector sinf for x86_64 and tests. Vector log for x86_64 and tests. Vector logf for x86_64 and tests. Vector exp for x86_64 and tests. Vector expf for x86_64 and tests. Vector pow for x86_64 and tests. Vector powf for x86_64 and tests. Vector sincos for x86_64 and tests. Vector sincosf for x86_64 and tests. Fixed powerpc64 build. Combination of data tables for x86_64 vector functions sin, cos and sincos. Combination of data tables for x86_64 vector functions sinf, cosf and sincosf. More correct description of linking with vector math library. Fixed several libmvec bugs found during testing on KNL hardware. Added runtime check for AVX vector math tests. Prevent runtime fail of SSE vector math tests on non SSE4.1 machine. Andriy Rysin (1): Fix sorting order for Ukrainian locale (BZ 17293) Arjun Shankar (4): CVE-2015-1781: resolv/nss_dns/dns-host.c buffer overflow [BZ#18287] Ensure `wint_t' is defined before use in include/stdio.h Modify elf/tst-audit9.c to use test-skeleton.c Modify several tests to use test-skeleton.c Aurelien Jarno (1): Fix ldconfig segmentation fault with corrupted cache (Bug 18093). Benno Schulenberg (1): sprof: Make an error message identical to two others, and more accurate. Brad Hubbard (1): Use calloc to allocate xports (BZ #17542) Carlos O'Donell (15): Open development for 2.22. Fix missing ChangeLog attribution. NEWS: Fix spelling. Use alignment macros, pagesize and powerof2. hppa: Update libm-test-ulps. hppa: Fix feupdateenv and fesetexceptflag (Bug 18111). Enhance nscd's inotify support (Bug 14906). Bug 18125: Call exit after last linked context. Fail locale installation if localedef fails. Add sprintf benchmark. Fix ruserok scalability with large ~/.rhosts file. Add missing Advanced API (RFC3542) (1) defines. Regenerate libc.pot for 2.22 release. Updated translations for 2.22. Update version.h and include/features.h for 2.22 release Chris Metcalf (8): linux-generic: add a README tile: Enable PI_STATIC_AND_HIDDEN tile: use better variable naming in INLINE_SYSCALL math/test-fenvinline: avoid compiler warning tile: Regenerate ULPs. tst-leaks: raise timeout to 5 seconds tile: Fix BZ #18508 (makecontext yield infinite backtrace) tilepro: fix warnings in sysdeps/tile/tilepro/bits/atomic.h Christian Schmidt (1): Update currency_symbol in da_DK Chung-Lin Tang (5): Adjust timeouts for some tests, to accommodate slow processors, Fix order of arguments to rt_sigprocmask syscall when setting the signal mask Update Nios II ulps file. Add #include <string.h> to nptl/tst-join7mod.c to silence GCC warnings. Fixes extern protected data handling testcases elf/tst-protected1a Cong Wang (1): in.h: Coordinate in6_pktinfo and ip6_mtuinfo for kernel and glibc [BZ #15850] Cyril Hrubis (1): Set errno to ENOMEM on overflow in sbrk (bug 18592) Daniel Marjamäki (1): Add __nonnull attribute to wcscpy and wcsncpy [BZ#18265] David S. Miller (7): Update SPARC ulps. Rebuilt fresh sparc ULPS to get rid of removed tests. Convert sparc over to lowlevellock-futex.h Sparc memchr/memcmp/strncmp fixes from Il'ya Malakhov. Update sparc localplt.data Fix sparc build. Regenerate SPARC ULPs. Dmitry V. Levin (3): Prepare for restoration of .interp section in libpthread.so _res_hconf_reorder_addrs: fix typo in comment Fix potential hanging of gethostbyaddr_r/gethostbyname_r Eric Rannaud (1): linux: open and openat ignore 'mode' with O_TMPFILE in flags Evangelos Foutras (1): Fix __memcpy_chk on non-SSE2 CPUs Feng Gao (1): Use "|" instead of "+" when combine the _IO_LINE_BUF and _IO_UNBUFFERED flags Florian Weimer (32): NEWS: Also mention CVE-2015-1473 _nss_nis_initgroups_dyn: Return status instead of NSS_STATUS_SUCCESS vfprintf: Introduce THOUSANDS_SEP_T vfprintf: Introduce JUMP_TABLE_BASE_LABEL vfprintf: Define WORK_BUFFER_SIZE Avoid SIGFPE in wordexp [BZ #18100] pthread_setaffinity (Linux variant): Rewrite to use VLA instead of alloca Define libc_max_align_t for internal use Add struct scratch_buffer and its internal helper functions scratch_buffer_grow_preserve: Add missing #include <string.h> pldd: Use struct scratch_buffer instead of extend_alloca grp: Rewrite to use struct scratch_buffer instead of extend_alloca _nss_compat_initgroups_dyn: Use struct scratch_buffer instead of extend_alloca getnameinfo: Use struct scratch_buffer instead of extend_alloca nscd_getgr_r: Use struct scratch_buffer instead of extend_alloca scratch_buffer: Suppress truncation warning on 32-bit Do not build with -Winline Make time zone file parser more robust [BZ #17715] posix_fallocate, posix_fallocate64 stub: Do not set errno test-skeleton: Support temporary files without memory leaks [BZ#18333] CVE-2014-8121: Do not close NSS files database during iteration [BZ #18007] NEWS: BZ#18319 was fixed in commit ed159672eb3cd650a32b7e5cb4d5ec1fe0e63802 i386: Remove fallocate, fallocate64, posix_fallocate, posix_fallocate64 __ASSUME_FALLOCATE is always true on 32-bit architectures vfprintf: Move jump table definition and the macros out of function vfprintf: Introduce printf_positional function vfprintf: Remove label name switching for the jump table Avoid some aliasing violations in libio Fix indentation to match nesting in previous commit posix_fallocate: Emulation fixes and documentation [BZ #15661] Commit 7fe9e2e089f4990b7d18d0798f591ab276b15f2b fixes [BZ# 17322] pthread_key_create: Fix typo in comment Gleb Fotengauer-Malinovskiy (1): nptl: restore .interp section in libpthread.so H.J. Lu (23): Compile gcrt1.o with -fPIC Compile vismain with -fPIE and link with -pie Replace ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY Replace __attribute__((visibility("protected"))) Preserve bound registers in _dl_runtime_resolve Add ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA to x86 Add a testcase for copy reloc against protected data Limit threads sharing L2 cache to 2 for SLM/KNL Check tzspec_len == 0 in __tzfile_read Remove a trailing `\' in make-syscalls.sh Don't issue an error if DT_PLTRELSZ is missing Make sure that calloc is called at least once Don't issue errors on GDB Python files Align TCB offset to the maximum alignment Support compilers defaulting to PIE Add a testcase for i386 LD_AUDIT Add and use sysdeps/i386/link-defines.sym Add la_symbind32 to x86-64 audit tests Improve bndmov encoding with zero displacement Replace %ld with %jd and cast to intmax_t Sort NEWS Add si_addr_bnd to _sigfault in x86 struct siginfo Extend local PLT reference check Igor Zamyatin (1): Preserve bound registers for pointer pass/return J William Piggott (1): [BZ #17969] James Cowgill (1): [BZ #17930] MIPS: Define SHM_NORESERVE. James Lemke (1): Fix for test "malloc_usable_size: expected 7 but got 11" John David Anglin (2): hppa: fix __O_SYNC to match the kernel hppa: Fix feholdexcpt and fesetenv (Bug 18110). Joseph Myers (162): soft-fp: Support floating-point extensions without quieting sNaNs. soft-fp: Refine FP_EX_DENORM handling for comparisons. soft-fp: Fix _FP_FMA when product is zero and third argument is finite (bug 17932). Remove sysdeps/mips soft-fp subdirectories. Fix sincos errno setting (bug 15467). Fix exp2 spurious underflows (bug 16560). Fix powerpc software sqrt (bug 17964). Fix powerpc software sqrtf (bug 17967). Fix dbl-64/wordsize-64 remquo (bug 17569). Fix MIPS __mips_isa_rev -Werror=undef build. Fix MIPS _COMPILING_NEWLIB -Werror=undef build. Fix MIPS _ABIO64 -Werror=undef build. Fix remquo spurious overflows (bug 17978). Fix sign of remquo zero remainder in round-downward mode (bug 17987). Refine documentation of libm exceptions goals. Fix posix_spawn getrlimit64 namespace (bug 17991). Fix search.h namespace (bug 17996). Fix atan / atan2 missing underflows (bug 15319). Fix scandir scandirat namespace (bug 17999). soft-fp: Adjust call to abort for kernel use. Fix x86/x86_64 scalb (qNaN, -Inf) (bug 16783). Fix ldbl-128ibm acoshl inaccuracy (bug 18019). Fix ldbl-128ibm asinhl inaccuracy (bug 18020). Fix ldbl-128ibm ilogbl near powers of 2 (bug 18029). Fix ldbl-128ibm logbl near powers of 2 (bug 18030). Fix asin missing underflows (bug 16351). Fix ldbl-128/ldbl-128ibm acosl inaccuracy (bug 18038, bug 18039). Avoid uninitialized warnings in Bessel functions. Avoid -Wno-write-strings for k_standard.c. Add comment to CSTR macro in k_standard.c. Fix ldbl-96, ldbl-128ibm atanhl inaccuracy (bug 18046, bug 18047). Correct __ASSUME_PRLIMIT64 for hppa/microblaze/sh (bug 17779). soft-fp: Condition sfp-machine.h include path on __KERNEL__. Fix /* in comment in previous commit. soft-fp: Support conditional zero-initialization in declarations. soft-fp: Use multiple-include guards. Add test for bug 18104. soft-fp: Add _FP_UNREACHABLE. soft-fp: Define and use _FP_STATIC_ASSERT. Make sem_timedwait use FUTEX_CLOCK_REALTIME (bug 18138). Note old commit as having resolved bug 11505. Add more tests of log2. Regenerate x86_64, x86 ulps from scratch. Add more tests of cosh, sinh. Add more tests of expm1. Add more tests of acos. Support six-argument syscalls from C for 32-bit x86, use generic lowlevellock-futex.h (bug 18138). Add more tests of asin. Remove unused macros from i386 lowlevellock.h. Add another test of asin. Add more tests of acosh, asinh and atanh. Fix dbl-64 atan in non-default rounding modes (bug 18197). Fix dbl-64 atan2 in non-default rounding modes (bug 18210, bug 18211). Add more tests of cabs. Add more tests of cbrt. Add more tests of atan. Add more tests of atanh. Add more tests of clog and clog10. Fix strtof decimal rounding close to half least subnormal (bug 18247). Fix ldbl-128 roundl for exponents in [31, 47] (bug 18346). Remove MIPS version of waitid.c. Add further tests of cosh and sinh. Add more tests of csqrt. Add more tests of erf, erfc. Add more tests of exp, exp10, exp2, expm1. Add more tests of log, log10, log1p, log2. Add more tests of lgamma. Add another test of pow. Add more tests of cos, sin, sincos. Add more tests of tan. Add more tests of tanh. Add more tests of tgamma. Add more tests of libm functions. Add further tests of libm functions. Add more tests of acosh, atanh, cos, csqrt, erfc, sin, sincos. Add more tests of csqrt, lgamma, log10, sinh. Fix mips16 __fpu_control static linking (bug 18397). Fix linknamespace test handling of architecture-specific st_other. Fix log1p missing underflows (bug 16339). Fix atanf spurious underflows (bug 18196). Fix erfcf spurious underflows (bug 18217). Fix lgammaf spurious underflows (bug 18220). Fix tanf spurious underflows (bug 18221). Fix atanhl missing underflows (bug 16352). Fix i386 atanhl spurious underflows (bug 18049). Fix ldbl-96 remquol (finite, Inf) (bug 18244). conformtest: clean up POSIX expectations for unistd.h. conformtest: correct POSIX expectations for locale.h. conformtest: use proper _POSIX_C_SOURCE value for POSIX. linknamespace: whitelist re_syntax_options. Fix sysdeps/ieee754/dbl-64/mpa.c for -Wuninitialized. Fix lgamma implementations for -Wuninitialized. Fix pathconf basename namespace (bug 18444). Restore _POSIX2_C_VERSION definition (bug 438). Fix ldbl-128 / ldbl-128ibm asinl for -Wuninitialized. Fix ldbl-128 / ldbl-128ibm erfcl for -Wuninitialized Fix ldbl-128 / ldbl-128ibm tanl for -Wuninitialized. Fix soft-fp fma for -Wuninitialized. Fix fnmatch towlower namespace (bug 18469). Use libc_hidden_proto / libc_hidden_def with __strnlen. Use better variable names in MIPS syscall macros. Fix fnmatch wmemchr namespace (bug 18468). Fix fnmatch strnlen namespace (bug 18470). Fix regex wctype namespace (bug 18495). Fix psignal, psiginfo declaration conditions (bug 18483). Fix regex wcrtomb namespace (bug 18496). Fix open_memstream namespace (bug 18498). Say "C++ tests" in comment on __open_memstream declaration. Fix pathconf statvfs namespace (bug 18507). Fix regcomp wcscoll, wcscmp namespace (bug 18497). Fix h_errno namespace (bug 18520). Fix ecvt_r, fcvt_r namespace (bug 18522). Fix aio_* pread namespace (bug 18519). Fix getlogin_r namespace (bug 18527). Fix grp.h endgrent, getgrent namespace (bug 18528). Fix netdb.h addrinfo namespace (bug 18529). Fix syslog fputs_unlocked namespace (bug 18530). Fix linknamespace expectations for in6addr_any, in6addr_loopback. Fix gethostbyaddr in6addr_any, in6addr_loopback namespace (bug 18532). Fix vsyslog namespace (bug 18533). Fix syslog dprintf namespace (bug 18534). Fix sem_* tdelete, tfind, tsearch, twalk namespace (bug 18536). Fix fmtmsg addseverity namespace (bug 18539). Fix getpass fflush_unlocked namespace (bug 18540). Fix swscanf vswscanf namespace (bug 18542). Fix mq_notify pthread_barrier_* namespace (bug 18544). Create hidden aliases for non-libc syscalls automatically. Fix mq_receive, mq_send mq_timed* namespace (bug 18545). Fix mq_notify socket, recv namespace (bug 18546). Fix ttyslot namespace (bug 18547). Fix nice getpriority, setpriority namespace (bug 18553). Remove ldbl-128ibm variants of complex math functions. Fix netinet/in.h MCAST_* namespace (bug 18558). Remove stray spurious-underflow markings from cexp test. Remove include/bits/ipc.h. Fix asinh missing underflows (bug 16350). conformtest: Support xfail markers on individual assertions. conformtest: Fix pselect expectations. Fix x86 / x86_64 expl, exp10l missing underflows (bug 16361). Correct ChangeLog syntax for conditional change within function. Fix x86_64 / x86 expm1l (-min_subnorm) result sign (bug 18569). Fix expm1 missing underflows (bug 16353). Fix exp2, exp2f spurious underflows (bug 18219). Fix csqrt spurious underflows (bug 18371). Fix math/Makefile dependency on libm-test.stmp for libmvec tests. Fix spurious "inexact" exceptions from __kernel_standard_l (bug 18245, bug 18583). Fix sin, sincos missing underflows (bug 16526, bug 16538). Fix ldbl-128 expl missing underflows (bug 18586). Fix csin, csinh overflow in directed rounding modes (bug 18593). Move csin, csinh tests to auto-libm-test-in. Fix cexp, ccos, ccosh, csin, csinh spurious underflows (bug 18594). Refactor libm tests. Use round-to-nearest internally in jn, test with ALL_RM_TEST (bug 18602). Update headers for Linux 4.0, 4.1 definitions. Fix j1, jn missing underflows (bug 16559). Fix ldbl-128 j1l spurious underflows (bug 18612). Improve tgamma accuracy (bug 18613). Regenerate MIPS libm-test-ulps. Regenerate ARM libm-test-ulps. Regenerate powerpc-nofpu libm-test-ulps. Fix ldbl-128 expm1l (-min_subnorm) result sign (bug 18619). Mark bug 2981 (elf/tst-audit* fail on MIPS) as fixed. Kevin Easton (1): Reduce lock contention in __tz_convert() [BZ #16145] (partial fix) Khem Raj (2): Reflect renaming of bh_IN and tu_IN in SUPPORTED file [BZ #17475] locale: Do not define lang_ab for tcy_IN and bhb_IN Leonhard Holz (6): Remove unused definitions Improve strcoll with strdiff. Split locale generation snippet into a separate file Add strcoll benchmark remove now unused idxnow in strcoll remove unnecessary memset in strcoll Mark Wielaard (2): elf.h SHF_EXCLUDE signed int 31 bit shift triggers undefined behaviour. elf.h: Add section compression constants and structures. Marko Myllynen (4): Fix bo_CN and bo_IN. Fix monetary.h comment Remove unused PREDEFINED_CLASSES code locale: Remove obsolete repertoire map references Martin Galvan (2): NPTL: swap comments for THREAD_SETMEM and THREAD_SETMEM_NC for i386 and x86_64 NPTL: Remove duplicate definition of PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP Martin Sebor (4): powerpc: setcontext.S uses power6 mtfsf when not supported [BZ #18116] Attempting to install glibc configured with --prefix=/usr into The C++ 2011 std::call_once function is specified to allow The patch committed to fix bug #18435 caused regressions on aarch64 Matthew Fortune (2): ia64: remove fixed page size macros and others [BZ #17792] Add support for DT_MIPS_RLD_MAP_REL. Mel Gorman (2): malloc: Consistently apply trim_threshold to all heaps [BZ #17195] malloc: Do not corrupt the top of a threaded heap if top chunk is MINSIZE [BZ #18502] Mike Frysinger (27): ia64: drop custom getpagesize hppa: fix build failure with RTLD_PRIVATE_ERRNO add changelog for previous commit alloca: fix buf interaction manual: drop strerror C89 compatibility note hppa: update __O_SYNC fix with [BZ #18068] pwd.h: add __nonnull markings [BZ #18641] nscd: drop selinux/flask.h include tst-tzset: raise timeout to 5 seconds hppa/ia64: _dl_symbol_address: add PLT bypass for rtld hppa/ia64: _dl_unmap: make it hidden sparc: fix sigaction for 32bit builds [BZ #18694] ia64: siginfo.h: delete siginfo name ia64: sifaction.h: change sa_flags to an int ia64: stat.h: rename pad0 to __glibc_reserved0 ia64: msg.h: fix msg_qnum/msg_qbytes types ia64: sigaction.h: fix sa_flags ordering conform/linknamespace: whitelist matherrf/matherrl pwd.h: revert __nonnull markings on putpwent [BZ #18641] ia64: clean up old kernel headers cruft ia64: atomic.h: fix atomic_exchange_and_add 64bit handling ia64: drop __tls_get_addr from expected ld.so plt usage hppa: rewrite INLINE_SYSCALL hppa: fix sysdep.h header setup hppa: sigaction.h: change sa_flags to an int hppa: fix pthreadtypes.h namespace failures hppa: add bz entry for pthreadtypes.h fix Miroslav Lichvar (1): Update timex.h for ADJ_SETOFFSET. Nathan Lynch (1): ARM: VDSO support Ondřej Bílka (2): Handle mblen return code when n is zero. Use strspn/strcspn/strpbrk ifunc in internal calls. Paul Eggert (6): Add ersatz _Static_assert on older C hosts * manual/time.texi (TZ Variable): glibc no longer comes with tzdata. * stdlib/setenv.c (__add_to_environ): * stdlib/setenv.c (__add_to_environ): Revert previous change. Better fix for setenv (..., NULL, ...) Remove obsolete aliases that broke 'locale -a' Paul Pluzhnikov (13): Cleanup: add missing #include's Fix BZ #17269 -- _IO_wstr_overflow integer overflow Fix BZ #17916 - fopen unbounded stack usage for ccs= modes Fix minor formatting violation. Fix BZ 18036 buffer overflow (read past end of buffer) in internal_fnmatch Fix BZ #18043: buffer-overflow (read past the end) in wordexp/parse_dollars/parse_param Cleanup: in preparation for fixing BZ #16734, fix memory leaks exposed by Refactor wordexp-test.c such that words always ends at the edge of Fix off-by-one which caused BZ #18042 and add a test for it. Mention BZ #18042 in NEWS. Fix BZ #18043 (c4): buffer-overflow (read past the end) in wordexp/parse_dollars/parse_param Minor refactoring: Fix BZ #18043 comment # 19: don't call undefined setenv(..., NULL, 1). Pavel Kopyl (1): Add forced deletion support to _dl_close_worker Pravin Satpute (1): Correcting language code for Bhili and Tulu locales (bug 17475) Rajalakshmi Srinivasaraghavan (2): powerpc: POWER7 strncpy optimization for unaligned string powerpc: strstr optimization Rical Jasan (1): manual: complete example in error message documentation Richard Henderson (5): alpha: Unconditionally include dl-sysdep.h in sysdep.h alpha: Update libm-test-ulps math/test-fenvinline: Cast fe_exc to unsigned int before printing alpha: Update libm-test-ulps soft-fp: Fix alpha kernel build problem Roland McGrath (97): Clean up sysdep-dl-routines variable. Exclude rpcent functions and NSS backends for rpc, key when excluding sunrpc. x86: Clean up __vdso_clock_gettime variable. Clean up NPTL fork to be compat-only. Clean up NPTL longjmp to be compat-only. Clean up NPTL system to be compat-only. Clean up nptl/tst-join5 use of nanosleep. Fix nptl/tst-kill5 not to presume SIGRTMAX exists. Fix dirent/tst-fdopendir not to presume O_NOATIME exists. Fix libio/tst-atime not to presume ST_NOATIME exists. Move tst-getlogin to login/ subdirectory. Do not use SA_NOCLDWAIT in tst-pselect. Conditionalize some tests' use of SA_SIGINFO. Use signal rather than sigaction in nptl/tst-cleanup2. NPTL: Build tests using clone directly only for Linux. Don't set unused field in rt/tst-timer2. Conditionalize use of SIGRTMIN in nptl/tst-locale1.c. NPTL: Conditionalize some sanity tests for SIGCANCEL/SIGSETXID. ARM: Add missing sfi_breg in LDR_GLOBAL macro. Clean up math/test-snan. Pointless update in README. Another pointless update in README. Support after-link variable to run a final step on binaries. Use -Werror=undef for assembly code. NPTL: Initializer for .init_array-only configurations. Add placeholder c++-types.data and *.abilist files. Don't crash in iconv setup when getcwd fails. Convert tst-iconv5 to use test-skeleton. Convert tst-iconv3 to use test-skeleton. Convert dlfcn/tststatic2 to use test-skeleton. Deglobalize internal variables in timer_routines.c. Avoid C++ tests when the C++ cannot be linked. Avoid more C++ tests. Conditionalize some test code for SIGRTMIN, SA_SIGINFO. Split rpcent tests out of tst-netdb. Define ETH_ALEN in generic <netinet/if_ether.h>. Avoid re-exec-self in bug-setlocale1. ChangeLog format Document test-wrapper-env-only in INSTALL. Harmonize posix/regcomp.c with gnulib: comment formatting Let tests result in UNSUPPORTED; use that for unbuildable C++ cases ARM: Rewrite sysdeps/arm/tls-macros.h ARM: Fix memcpy & memmove for [ARM_ALWAYS_BX] Minor cleanups in libio/iofdopen.c Convert dlfcn/tststatic to use test-skeleton. Make test-skeleton.c grok TEST_DIRECT magic environment variable. Let non-add-on preconfigure scripts set libc_config_ok. Omit libc-modules.h for all .v.i files. Add arm-nacl port. Fuller check for invalid NSID in _dl_open. Avoid confusing compiler with dynamically impossible statically invalid dereference in _dl_close_worker. ARM: Define PI_STATIC_AND_HIDDEN. NaCl: Make __suseconds_t be long int rather than int32_t. NaCl: Fix symbol names for euidaccess. NaCl: Change clock_t to long int. NaCl: Fix elf_loader file name in nacl-test-wrapper.sh BZ#18383: Add test case for large alignment in TLS blocks. NaCl: Implement gethostname. NaCl: Provide non-default values for uname. Add a test case for scandir. Break __scandir_cancel_handler out into its own file. Refactor scandir/scandirat to use common tail. Nit fixes in last change. NaCl: Make fdopendir skip fcntl check. Refactor opendir. BZ#18434: Fix sem_post EOVERFLOW check for [!__HAVE_64B_ATOMICS]. BZ#18434: Mark fixed in NEWS. Move usleep.c using nanosleep to sysdeps/posix. NaCl: Set tid field to a unique value. Fix nptl-init.c use of INTERNAL_SYSCALL_DECL. Split timed-wait functions out of nptl/lowlevellock.c. NaCl: Add NaCl-specific __lll_timedlock_wait. NaCl: Fix thinko in last change. NaCl: Fix lll_futex_timed_wait timeout calculation. NaCl: Make thread exit wake pthread_join. Fix setenv.c diagnostic pragma to be compatible with GCC 4.6 BZ#18383: Another test case, with TLS refs and defs in separate TUs. NaCl: Implement nacl_interface_ext_supply entry point. Line-wrap some log entries. Print more information in tst-getcpu failure case. NaCl: Fix glob.c build after getlogin_r -> __getlogin_r. Use unsigned types for counters in AIO code. Use unsigned types for counters in getaddrinfo_a code. NPTL: Use unsigned type for setxid_futex. Install a dummy <rpc/netdb.h> when not building sunrpc/. Fix some places to use $(LN_S) makefile variable. BZ#18383: Conditionalize test-xfail-tst-tlsalign{,-static} on ARM assembler bug. PLT avoidance for _exit in rtld. Provide __libc_fatal for rtld. NaCl: Make pthread_condattr_setclock reject CLOCK_MONOTONIC. Factor file identity rules out of generic rtld code. Add abilist files and NEWS item for arm-nacl port. NaCl: Use only nacl_irt_dev_filename, never nacl_irt_filename. NaCl: Fix missing getdtablesize symbol. Add SIGWINCH to generic <bits/signum.h>. Make sysdeps/posix bring in login subdir. NaCl: Remove bogus O_SHLOCK, O_EXLOCK definitions. Rüdiger Sonderfeld (1): Document tv_sec is of type time_t: Samuel Thibault (28): hurd: fix build with pthread aio hurd: fix f?chflags prototypes, declare them and their flags hurd: allow poll() array bigger than FD_SETSIZE hurd: map nice levels 1-to-1 with Mach prio levels hurdselect: Let select get interrupted by signals hurd: fix sigstate locking hurdselect: remove dead code. hurd: support mmap with PROT_NONE hurd: add basic types for ioctls hurd: fix compilation of signal.h in C++ hurd: fix compilation of signal.h in C++ hurd: Ignore bytes beyond sockaddr length for AF_UNIX hurd: fix tls.h build hurd: Fix abi-tag, following ba90e05 Fix time/getdate.c build. add hurd/hurdsocket.h file missing from a5eb23d hurd: fix unwind-resume.c build hurd: fix unwind-resume.c build Add fixed bug numbers to NEWS Revert "hurd: Fix abi-tag, following ba90e05" Fix aio_error thread-safety. hurd: Make libc able to call pthread stubs Add missing dependency Fix warnings Fix visibility of EXTPROC macro Add more exception to local headers list mach: fix typo hurd: permit to use mlock from non-root process Siddhesh Poyarekar (25): Consolidate arena_lookup and arena_lock into a single arena_get Skip logging for DNSSEC responses [BZ 14841] Fix up NEWS merge goof-up Update NEWS Minor changelog fixup Add *.pyc to .gitignore Add envz_remove to the libc manual Succeed if make check does not report any errors Avoid deadlock in malloc on backtrace (BZ #16159) Fix typo in safety annotations in envz_remove Fix monetary.h comment New module to import and process benchmark output benchtest: script to compare two benchmarks Avoid boolean coercion in tst-tls-atexit test case Remove unnecessary mutex locks from tst-tls-atexit test case Whitespace fix in tst-tls-atexit.c Fix up ChangeLog Fix up typo in tst-tls-atexit Set NODELETE flag when opening already open objects with RTLD_NODELETE Whitespace fixup in cxa_thread_atexit_impl.c Add comment to clarify how the test can fail Remove Linuxism from tst-tls-atexit Also use l_tls_dtor_count to decide on object unload (BZ #18657) Mention dl_load_lock by name in the comments Use IE model for static variables in libc.so, libpthread.so and rtld Stefan Liebler (18): S390: Build failure due to nptl/pt-longjmp.c changes. s390: Use generic lowlevellock-futex.h S/390: Regenerate ULPs S/390: Fix setcontext/swapcontext which are not restoring sigmask. Update tst_mbrlen/tst_mbrtowc for mblen change Set errno for log1p on pole/domain error. Use correct signedness in wcsncmp S/390: Get cache information via sysconf S/390: Regenerate ULPs Adjust tst-strfmon1 after da_DK locale change. S/390: Regenerate ULPs Fix timezone tests run in parallel. Fix benchtests build failure after 'add benchmark for strcoll' S390: Fix sem.h conformance test failures. S390: Regenerate ULPs. S390: Fix "backtrace() returns infinitely deep stack frames with makecontext()" [BZ #18508]. S390: Regenerate ULPs i686: Mark stdlib/tst-makecontext as XFAIL. Steve Ellcey (6): 2015-02-13 Steve Ellcey <sellcey@imgtec.com> 2015-02-17 Steve Ellcey <sellcey@imgtec.com> 2015-02-17 Steve Ellcey <sellcey@imgtec.com> 2015-02-18 Steve Ellcey <sellcey@imgtec.com> * inet/rcmd.c (rresvport_af): Change ss to anonymous union * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to Szabolcs Nagy (11): [AArch64] Fix the big endian loader name. [AArch64] Fix inline asm clobber list in tls-macros.h struct stat is not posix conform [BZ 18034][AArch64] Lazy TLSDESC relocation data race fix [AArch64] Fix cfi_adjust_cfa_offset usage in dl-tlsdesc.S Regenerate aarch64 libm-test-ulps [AArch64] make setcontext etc functions consistent with the kernel [AArch64][BZ 18400] fix elf_prpsinfo in procfs.h [AArch64][BZ 18648] change greg_t definition in ucontext.h [AArch64][BZ #17711] Fix extern protected data handling [ARM][BZ #17711] Fix extern protected data handling Torvald Riegel (11): Make error checking effective in nptl/tst-cond25.c. ia64: Remove custom lowlevellock.h Fix lost wake-up when pthread_rwlock_timedrwlock times out. Fix missing wake-ups in pthread_rwlock_rdlock. Fix atomic_full_barrier on x86 and x86_64. Clean up BUSY_WAIT_NOP and atomic_delay. Remove documentation of lowlevellock systemtap probes. Do not create invalid pointers in C code of string functions. Add and use new glibc-internal futex API. Clean up semaphore EINTR handling after Linux futex docs clarification. hppa: Remove custom lowlevellock.h. Tulio Magno Quites Machado Filho (2): BZ #18116: Mark fixed in NEWS. Avoid outputting to TTY after an expected memory corruption in testcase Vincent Bernat (1): time: ensure failing strptime() tests are reported correctly Wilco Dijkstra (14): Rather than using a C implementation of memset, directly call memset, which Rather than using a C implementation of memmove, directly call memmove, which Use __copysign rather than copysign. 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com> Remove various ABS macros and replace uses with fabs (or in one case abs) Add missing math_private includes. 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com> 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com> This patch renames all uses of __isinf*, __isnan*, __finite* and __signbit* to use standard C99 macros. This has no effect on generated code. Replace finite with isfinite. Remove unused file sysdeps/ieee754/support.c Inline __ieee754_sqrt and __ieee754_sqrtf. Also add external definitions. Optimize the strlen implementation by using a page cross check and a fast check Add AArch64 versions of math_opt_barrier and math_force_eval that avoid going via memory. Yaakov Selkowitz (1): manual: fix XPG basename prototype Zack Weinberg (1): Deprecate the use of regexp.h ----------------------------------------------------------------------- |