diff options
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 9275 |
1 files changed, 9274 insertions, 1 deletions
@@ -1,5 +1,9276 @@ +2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org> + + * version.h (RELEASE): Set to "stable". + (VERSION): Set to 2.23. + * include/feature.h (__GLIBC_MINOR__): Set to 23. + + * NEWS: Updated fixed bugs. + +2016-02-18 H.J. Lu <hongjiu.lu@intel.com> + Wilco Dijkstra <wdijkstr@arm.com> + + [BZ #19462] + * bits/string.h (_STRING_ARCH_unaligned): Renamed to ... + (_STRING_INLINE_unaligned): This. + * include/string.h: Include <string_private.h>. + * string/bits/string2.h: Replace _STRING_ARCH_unaligned with + _STRING_INLINE_unaligned. + * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed. + (_STRING_INLINE_unaligned): New. + * sysdeps/aarch64/string_private.h: New file. + * sysdeps/generic/string_private.h: Likewise. + * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise. + * sysdeps/s390/string_private.h: Likewise. + * sysdeps/x86/string_private.h: Likewise. + * sysdeps/m68k/m680x0/m68020/bits/string.h + (_STRING_ARCH_unaligned): Renamed to ... + (_STRING_INLINE_unaligned): This. + * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed + to ... + (_STRING_INLINE_unaligned): This. + * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed + to ... + (_STRING_INLINE_unaligned): This. + * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed + to ... + (_STRING_INLINE_unaligned): This. + +2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com> + H.J. Lu <hongjiu.lu@intel.com> + + [BZ #19590] + * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC + relocation. + +2016-02-15 Carlos O'Donell <carlos@redhat.com> + + [BZ #18665] + * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set + *herrno_p. + (gaih_getanswer): Document functional behviour. Return tryagain + if any result is tryagain. + * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero + when freed. + * resolv/res_send.c: Add copyright text. + (__libc_res_nsend): Document that MAXPACKET is expected. + (send_vc): Document. Remove buffer reuse. + (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the + size of the buffer. Add Dprint for truncated UDP buffer. + +2016-02-14 Carlos O'Donell <carlos@redhat.com> + + * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk + 4.1.3, and sed 4.2.2. Remove po2test.sed comments. + * INSTALL: Regenerate. + +2016-02-14 Jakub Jelinek <jakub@redhat.com> + Jonathan Wakely <jwakely@redhat.com> + Carlos O'Donell <carlos@redhat.com> + + [BZ 19439] + * math/Makefile (tests): Add test-math-isinff. + (CFLAGS-test-math-isinff.cc): Use -std=gnu++11. + * math/bits/mathcalls.h [__USE_MISC]: Use + '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of + functions not in C++11 and which don't conflict e.g. isinff, + isinfl etc. + * math/test-math-isinff.cc: New file. + +2016-02-12 Florian Weimer <fweimer@redhat.com> + + * misc/bug18240.c (do_test): Set RLIMIT_AS. + +2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com> + + [BZ #19529] + * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables. + +2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com> + + * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated. + +2016-02-01 Joseph Myers <joseph@codesourcery.com> + + [BZ #19550] + * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file. + * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to .... + * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here. + * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file. + * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64): + New syscall entry. + * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap): + New syscall entry. + * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove + syscall entry. + +2016-01-27 Paul Eggert <eggert@cs.ucla.edu> + + [BZ #18240] + * misc/hsearch_r.c (isprime, __hcreate_r): Protect against + unsigned int wraparound. + +2016-01-27 Florian Weimer <fweimer@redhat.com> + + [BZ #18240] + * misc/bug18240.c: New test. + * misc/Makefile (tests): Add it. + +2016-01-28 Steve Ellcey <sellcey@imgtec.com> + Joseph Myers <joseph@codesourcery.com> + + * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word + load in branch delay slot when less than a word of input left. + +2016-01-27 Andreas Schwab <schwab@suse.de> + + * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove. + * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove. + * sysdeps/powerpc/fpu/s_cosf.c (one): Remove. + * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove. + +2016-01-26 David S. Miller <davem@davemloft.net> + + * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp. + +2016-01-25 David S. Miller <davem@davemloft.net> + + * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for + __sqrtl_finite. + * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define + instead using versioned_symbol. + * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering + of entries. + + * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move + __sqrtl_finite to GLIBC_2.23 + +2016-01-25 Ricchard Henderson <rth@redhat.com> + + * sysdeps/alpha/fpu/libm-test-ulps: Update. + +2016-01-25 Andreas Schwab <schwab@suse.de> + + [BZ #17514] + * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock) + <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision. + * nptl/Makefile (tests): Add tst-mutex-errorcheck. + * nptl/tst-mutex-errorcheck.c: New file. + +2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com> + + [BZ #18560] + * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove. + (IPCOP_semop): Likewise. + (IPCOP_semget): Likewise. + (IPCOP_semctl): Likewise. + (IPCOP_msgsnd): Likewise. + (IPCOP_msgrcv): Likewise. + (IPCOP_msgget): Likewise. + (IPCOP_msgctl): Likewise. + (IPCOP_shmat): Likewise. + (IPCOP_shmdt): Likewise. + (IPCOP_shmget): Likewise. + (IPCOP_shmctl): Likewise. + +2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com> + + * string/tst-endian.c: Include <libc-internal.h>. + (do_test): Ignore tautological-compare warnings around + "htobeXX (beXXtoh (i)) != i" and + "htoleXX (leXXtoh (i)) != i" if-statements. + +2016-01-24 David S. Miller <davem@davemloft.net> + + * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file. + * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove + alias. + * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add + __sqrtl_finite. + + * sysdeps/sparc/fpu/libm-test-ulps: Update. + +2016-01-25 Maciej W. Rozycki <macro@imgtec.com> + + * sysdeps/unix/sysv/linux/mips/configure.ac: Set + `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used. + * sysdeps/unix/sysv/linux/mips/configure: Regenerate. + +2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com> + + * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function. + (thread_func): Use new function to simplify barrier check. + (do_test): Use new function to simplify checking barrier exit + code, and actually join the child thread. + +2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com> + + * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove + semicolon. + (__libc_tend): Likewise. + (__libc_tabort): Likewise. + +2016-01-22 Chung-Lin Tang <cltang@codesourcery.com> + + * sysdeps/nios2/libm-test-ulps: Update. + * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add. + (__gtsf2): Likewise. + (__unorddf2): Likewise. + (__unordsf2): Likewise. + (__ledf2): Likewise. + +2016-01-20 Chris Metcalf <cmetcalf@ezchip.com> + + * nis/nis_table.c (__follow_path): Disable diagnostic for + uninitialized variable that is a false positive for gcc 4.7. + * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise. + +2016-01-20 Roland McGrath <roland@hack.frob.com> + + * sysdeps/nacl/lowlevellock-futex.h + (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake): + Always evaluate PRIVATE argument. + +2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com> + + [BZ #19490] + * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S + (pthread_cond_broadcast): Use ENTRY/END + * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S + (pthread_cond_signal): Likewise + * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock): + Likewise + * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock): + Likewise + * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock): + Likewise + +2016-01-20 Joseph Myers <joseph@codesourcery.com> + + * sysdeps/ieee754/dbl-64/s_finite.c + [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define + compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in + SHLIB_COMPAT condition for libm, not GLIBC_2_0. + * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c + [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise. + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data + (__gtsf2): Add as optional for libc.so. + (__unordsf2): Likewise. + (__signbit): Remove for libc.so. + (__signbitl): Likewise. + +2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com> + + * iconvdata/bug-iconv11.c (test_ibm93x): + Use %zu printf format specifier for size_t argument. + +2016-01-19 Joseph Myers <joseph@codesourcery.com> + + * math/gen-libm-test.pl (parse_ulps): Do not reduce + already-recorded ulps. + * sysdeps/arm/libm-test-ulps: Regenerated. + * sysdeps/mips/mips32/libm-test-ulps: Likewise. + * sysdeps/mips/mips64/libm-test-ulps: Likewise. + * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise. + +2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com> + Paul Pluzhnikov <ppluzhnikov@google.com> + + * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with + assembler not supporting AVX-512. + +2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com> + + * sysdeps/s390/fpu/libm-test-ulps: Regenerated. + +2016-01-18 Joseph Myers <joseph@codesourcery.com> + + * sysdeps/mips/mips32/libm-test-ulps: Regenerated. + * sysdeps/mips/mips64/libm-test-ulps: Likewise. + + * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated. + + * sysdeps/arm/libm-test-ulps: Regenerated. + +2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com> + + [BZ #19451] + * math/Makefile (libm-vec-tests): Move libraries after wrappers.o + +2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com> + + [BZ #19486] + * sysdeps/s390/fix-fp-int-convert-overflow.h: New File. + * sysdeps/generic/fix-fp-int-convert-overflow.h + (FIX_LDBL_LONG_CONVERT_OVERFLOW, + FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define. + * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise. + * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: + Likewise. + * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): + Avoid conversions to long int where inexact exceptions + could be raised. + * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): + Likewise. + * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): + Avoid conversions to long long int where inexact exceptions + could be raised. + * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): + Likewise. + +2016-01-17 Mike Frysinger <vapier@gentoo.org> + + * configure.ac: Rewrite error comment and use AC_MSG_ERROR. + * configure: Regenerated. + +2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com> + + * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos. + +2016-01-16 Mike Frysinger <vapier@gentoo.org> + + * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move + outside of comment. + +2016-01-15 Torvald Riegel <triegel@redhat.com> + + * nptl/tst-barrier1.c: Add description on first line. + * nptl/tst-barrier2.c: Likewise. + * nptl/tst-barrier3.c: Likewise. + * nptl/tst-barrier4.c: Likewise. + * nptl/tst-barrier5.c: Likewise. + +2016-01-15 Torvald Riegel <triegel@redhat.com> + + [BZ #18868] + * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix. + +2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com> + + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files. + * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests. + * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file. + * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise. + * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise. + * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch. + * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise. + * sysdeps/x86_64/multiarch/memmove.c: Likewise. + * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise. + * sysdeps/x86_64/multiarch/mempcpy.S: Likewise. + * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise. + +2016-01-15 Torvald Riegel <triegel@redhat.com> + + [BZ #13065] + * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with + new implementation. + * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise. + * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt. + * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt. + (BARRIER_IN_THRESHOLD): New macro. + * nptl/pthread_barrierattr_setpshared.c + (pthread_barrierattr_setpshared): Clean up. + * nptl/tst-barrier4.c: Correct comment. + * nptl/tst-barrier5.c: New file. + * nptl/Makefile (tests): Add nptl/tst-barrier5.c. + (gen-as-const-headers): Remove lowlevelbarrier.sym. + * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove. + * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove. + * nptl/lowlevelbarrier.sym: Remove. + * nptl/DESIGN-barrier.txt: Remove. + * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove. + * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove. + * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove. + * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build + error. + * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic + implementation. + +2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com> + + * rt/tst-mqueue5.c (thr): Cleanup misleading comment. + (do_child): Mask SIGRTMIN while thr is running. + +2016-01-15 Martin Sebor <msebor@redhat.com> + + [BZ #19432] + * iconvdata/Makefile: Add bug-iconv11. + * iconvdata/bug-iconv11.c: New test. + * iconvdata/ibm930.c: Do not reject redundant shift sequences. + * iconvdata/ibm933.c: Same. + * iconvdata/ibm935.c: Same. + * iconvdata/ibm937.c: Same. + * iconvdata/ibm939.c: Same. + +2016-01-15 Martin Sebor <msebor@redhat.com> + + [BZ #19443] + * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string. + [DEBUG] (_ufc_set_bits): Declare used. + * iconv/gconv_dl.c [DEBUG]: Add a missing include directive. + [DEBUG] (print_all): Declare used. + * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert + operands of the ternary ?: expression to target type. + * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of + calling the undeclared abort. + * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME. + +2016-01-15 Martin Sebor <msebor@redhat.com> + + [BZ #18755] + * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable + warnings. + * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same. + (__gai_create_helper_thread): Same. + * nscd/nscd.c (do_exit): Suppress -Wunused-variable. + * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable + to suppress -Wmaybe-uninitialized warnings. + +2016-01-15 H.J. Lu <hongjiu.lu@intel.com> + + [BZ #19465] + * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier + inside if. + * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise. + * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise. + * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise. + +2016-01-14 H.J. Lu <hongjiu.lu@intel.com> + + [BZ #19466] + * time/tst-mktime2.c (time_t_max): Removed. + (time_t_min): Likewise. + (TYPE_SIGNED): New. + (TYPE_MINIMUM): Likewise. + (TYPE_MAXIMUM): Likewise. + (TIME_T_MIN): Likewise. + (TIME_T_MAX): Likewise. + (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX + and TIME_T_MIN. + (do_test): Likewise. + +2016-01-14 Amit Pawar <amit.pawar@amd.com> + + [BZ #19467] + * sysdeps/x86/cpu-features.c (init_cpu_features): Set + index_Fast_Unaligned_Load flag for Excavator family CPUs. + +2016-01-02 Marcin Kościelnicki <koriakin@0x04.net> + + * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field. + +2016-01-13 Carlos O'Donell <carlos@redhat.com> + + * benchtests/Makefile (PYTHON): Define. + (bench-func): Use $(PYTHON) to run python scripts. + ($(objpfx)bench-%.c): Likewise. + +2016-01-13 Flavio Cruz <flaviocruz@gmail.com> + + * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove + leading slash when `file_name' is "/". + +2016-01-12 Joseph Myers <joseph@codesourcery.com> + + * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro. + * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT): + Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT): + Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): + Likewise. + * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New + enum constant and macro. + (PTRACE_SETSIGMASK): Likewise. + (PTRACE_SECCOMP_GET_FILTER): Likewise. + * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h + (PTRACE_GETSIGMASK): Likewise. + (PTRACE_SETSIGMASK): Likewise. + (PTRACE_SECCOMP_GET_FILTER): Likewise. + * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK): + Likewise. + (PTRACE_SETSIGMASK): Likewise. + (PTRACE_SECCOMP_GET_FILTER): Likewise. + * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h + (PTRACE_GETSIGMASK): Likewise. + (PTRACE_SETSIGMASK): Likewise. + (PTRACE_SECCOMP_GET_FILTER): Likewise. + * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK): + Likewise. + (PTRACE_SETSIGMASK): Likewise. + (PTRACE_SECCOMP_GET_FILTER): Likewise. + * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK): + Likewise. + (PTRACE_SETSIGMASK): Likewise. + (PTRACE_SECCOMP_GET_FILTER): Likewise. + * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK): + Likewise. + (PTRACE_SETSIGMASK): Likewise. + (PTRACE_SECCOMP_GET_FILTER): Likewise. + +2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com> + Adhemerval Zanella <adhemerval.zanella@linaro.org> + + [BZ #19439] + * math/bits/mathcalls.h + [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare + prototype. + [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise. + +2016-01-11 Andreas Schwab <schwab@suse.de> + + [BZ #19253] + * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute + cache when TZDEFRULES was used. + * time/tst-tzname.c: New file. + * time/Makefile (test): Add tst-tzname. + (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define. + * timezone/Makefile (test-zones): Add $(posixrules-file). + ($(testdata)/$(posixrules-file)): New rule. + +2016-01-10 Paul Eggert <eggert@cs.ucla.edu> + + Fix doc quoting problems with Texinfo 5 + Without this change, in the info file output, Texinfo 5 quotes code + in text with undirected single quotes 'like this' and generates + code examples that with many PDF readers cannot be cut out of PDFs + and pasted into code. + * manual/libc.texinfo: Configure the libc manual like the GNU + Emacs manual, by using @documentencoding and setting + txicodequoteundirected and txicodequotebacktick. This way, + Texinfo 5 quotes code in text with directed single quotes ‘like + this’ and produces examples that can be cut out of PDFs. This + change causes Texinfo 5 to generate info files that contain UTF-8 + characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−', + '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays. + +2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com> + + * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin, + __libc_tabort, __libc_tend): New wrappers that enforce compiler + barriers to their respective compiler built-ins. + * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK, + ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers. + * sysdeps/powerpc/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise. + +2016-01-08 Marko Myllynen <myllynen@redhat.com> + + * scripts/config.guess: Revert previous shebang change. + * scripts/config.sub: Likewise. + * scripts/mkinstalldirs: Likewise. + +2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> + + * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and + PPC_FEATURE2_HAS_IEEE128. + * sysdeps/powerpc/dl-procinfo.c: + (_dl_powerpc_cap_flags): Add corresponding names to new capabilities. + +2016-01-08 John David Anglin <danglin@gcc.gnu.org> + + [BZ #19415] + * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare. + (elf_machine_resolve): New. Return address of _dl_runtime_resolve. + (_dl_lookup_address): Rewrite using function resolver trampoline. + * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom + two bits in address. + +2016-01-07 Mike Frysinger <vapier@gentoo.org> + + * longlong.h: Change !__SHMEDIA__ to + (!defined (__SHMEDIA__) || !__SHMEDIA__). + Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__. + +2016-01-07 Daniel Jacobowitz <dan@codesourcery.com> + Joseph Myers <joseph@codesourcery.com> + Mark Shinwell <shinwell@codesourcery.com> + Andrew Stubbs <ams@codesourcery.com> + Rich Felker <dalias@libc.org> + + * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH. + +2016-01-07 Richard Henderson <rth@redhat.com> + + * longlong.h [__alpha] (umul_ppmm): Disable for c++. + +2016-01-07 Mike Frysinger <vapier@gentoo.org> + + * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change + __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT. + * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise. + * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise. + * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise. + +2016-01-07 Paul Eggert <eggert@cs.ucla.edu> + Joseph Myers <joseph@codesourcery.com> + + * timezone/private.h: Update from tzcode 2015g. + * timezone/tzfile.h: Likewise. + * timezone/tzselect.ksh: Likewise. + * timezone/zdump.c: Likewise. + * timezone/zic.c: Likewise. + * timezone/ialloc.c: Remove file. + * timezone/scheck.c: Likewise. + * timezone/Makefile (extra-objs): Remove variable. + ($(objpfx)zic): Do not depend on scheck.o and ialloc.o. + (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0 + -Wno-maybe-uninitialized. + (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT. + (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT. + (CFLAGS-ialloc.c): Remove variable. + (CFLAGS-scheck.c): Likewise. + * timezone/README: Update list of files from tzcode. + +2016-01-07 Khem Raj <raj.khem@gmail.com> + + * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked + instead of __fxprintf when _LIBC is undefined. + +2016-01-07 Marko Myllynen <myllynen@redhat.com> + + * catgets/test-gencat.sh: Remove space after shebang. + * conform/GlibcConform.pm: Likewise. + * conform/check-header-lists.sh: Likewise. + * conform/conformtest.pl: Likewise. + * conform/linknamespace.pl: Likewise. + * conform/list-header-symbols.pl: Likewise. + * debug/catchsegv.sh: Likewise. + * elf/genrtldtbl.awk: Likewise. + * elf/tst-pathopt.sh: Likewise. + * elf/tst-rtld-load-self.sh: Likewise. + * grp/tst_fgetgrent.sh: Likewise. + * iconvdata/gen-8bit-gap-1.sh: Likewise. + * iconvdata/gen-8bit-gap.sh: Likewise. + * iconvdata/gen-8bit.sh: Likewise. + * iconvdata/run-iconv-test.sh: Likewise. + * intl/tst-gettext.sh: Likewise. + * intl/tst-gettext2.sh: Likewise. + * intl/tst-gettext4.sh: Likewise. + * intl/tst-gettext6.sh: Likewise. + * intl/tst-translit.sh: Likewise. + * io/ftwtest-sh: Likewise. + * libio/test-freopen.sh: Likewise. + * locale/gen-translit.pl: Likewise. + * malloc/tst-mtrace.sh: Likewise. + * manual/check-safety.sh: Likewise. + * manual/libc-texinfo.sh: Likewise. + * manual/tsort.awk: Likewise. + * manual/xtract-typefun.awk: Likewise. + * nptl/tst-cancel-wrappers.sh: Likewise. + * nptl/tst-tls6.sh: Likewise. + * posix/globtest.sh: Likewise. + * posix/tst-getconf.sh: Likewise. + * posix/wordexp-tst.sh: Likewise. + * scripts/check-c++-types.sh: Likewise. + * scripts/check-local-headers.sh: Likewise. + * scripts/config.guess: Likewise. + * scripts/config.sub: Likewise. + * scripts/cpp: Likewise. + * scripts/cross-test-ssh.sh: Likewise. + * scripts/documented.sh: Likewise. + * scripts/evaluate-test.sh: Likewise. + * scripts/gen-libc-abis: Likewise. + * scripts/gen-sorted.awk: Likewise. + * scripts/list-fixed-bugs.py: Likewise. + * scripts/merge-test-results.sh: Likewise. + * scripts/mkinstalldirs: Likewise. + * scripts/rellns-sh: Likewise. + * scripts/test-installation.pl: Likewise. + * scripts/update-copyrights: Likewise. + * stdio-common/tst-printf.sh: Likewise. + * stdio-common/tst-unbputc.sh: Likewise. + * stdlib/tst-fmtmsg.sh: Likewise. + * stdlib/tst-setcontext3.sh: Likewise. + * sysdeps/i386/tst-ld-sse-use.sh: Likewise. + * sysdeps/unix/make-syscalls.sh: Likewise. + +2016-01-06 John David Anglin <dave.anglin@bell.net> + + * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace + asm stw with atomic_exchange_rel. Add explanatory comment. + * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock): + Likewise. + +2016-01-05 H.J. Lu <hongjiu.lu@intel.com> + + [BZ #19122] + * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>. + * sysdeps/generic/dl-unistd.h: New file. + * sysdeps/mach/hurd/dl-unistd.h: Likewise. + +2016-01-05 H.J. Lu <hongjiu.lu@intel.com> + + [BZ #19122] + * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>. + * sysdeps/generic/dl-mman.h: New file. + * sysdeps/mach/hurd/dl-mman.h: Likewise. + +2016-01-05 Joseph Myers <joseph@codesourcery.com> + + * manual/texinfo.tex: Update to version 2016-01-04.21 with + trailing whitespace removed. + * scripts/config.guess: Update to version 2016-01-01. + * scripts/config.sub: Update to version 2016-01-01. + * scripts/move-if-change: Update from gnulib. + +2016-01-04 Anton Blanchard <anton@samba.org> + + * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int + for array indices. + * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise. + +2016-01-04 Joseph Myers <joseph@codesourcery.com> + + * NEWS: Update copyright dates. + * catgets/gencat.c (print_version): Likewise. + * csu/version.c (banner): Likewise. + * debug/catchsegv.sh: Likewise. + * debug/pcprofiledump.c (print_version): Likewise. + * debug/xtrace.sh (do_version): Likewise. + * elf/ldconfig.c (print_version): Likewise. + * elf/ldd.bash.in: Likewise. + * elf/pldd.c (print_version): Likewise. + * elf/sotruss.sh: Likewise. + * elf/sprof.c (print_version): Likewise. + * iconv/iconv_prog.c (print_version): Likewise. + * iconv/iconvconfig.c (print_version): Likewise. + * locale/programs/locale.c (print_version): Likewise. + * locale/programs/localedef.c (print_version): Likewise. + * login/programs/pt_chown.c (print_version): Likewise. + * malloc/memusage.sh (do_version): Likewise. + * malloc/memusagestat.c (print_version): Likewise. + * malloc/mtrace.pl: Likewise. + * manual/libc.texinfo: Likewise. + * nptl/version.c (banner): Likewise. + * nscd/nscd.c (print_version): Likewise. + * nss/getent.c (print_version): Likewise. + * nss/makedb.c (print_version): Likewise. + * posix/getconf.c (main): Likewise. + * scripts/test-installation.pl: Likewise. + * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise. + + * All files with FSF copyright notices: Update copyright dates + using scripts/update-copyrights. + * intl/plural.c: Regenerated. + * locale/programs/charmap-kw.h: Likewise. + * locale/programs/locfile-kw.h: Likewise. + +2016-01-02 Helge Deller <deller@gmx.de> + + [BZ #19285] + * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define. + (MAP_HUGETLB, MCL_ONFAULT): Likewise. + (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise. + (MADV_xxK_PAGES): Remove. + +2016-01-01 Mike Frysinger <vapier@gentoo.org> + + [BZ #15421] + * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h. + [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor. + * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise. + * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise. + +2015-12-30 Dmitry V. Levin <ldv@altlinux.org> + + [BZ #19408] + * sysdeps/unix/sysv/linux/personality.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise. + * sysdeps/unix/sysv/linux/tst-personality.c: Likewise. + * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc] + (sysdep_routines): Add personality. + (tests): Add tst-personality. + * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ... + * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here. + * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry. + * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise. + * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise. + * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise. + * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality): + Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality): + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality): + Likewise. + * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality): + Likewise. + +2015-12-30 Aurelien Jarno <aurelien@aurel32.net> + + * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>. + (PATH_ARM_SYSTYPE): Remove. + (PATH_CPUINFO): Likewise. + (IO_BASE_FOOTBRIDGE): Likewise. + (IO_SHIFT_FOOTBRIDGE): Likewise. + (struct platform): Likewise. + (init_iosys): Remove compatibility code for 2.4 kernels. + * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf. + +2015-12-29 Florian Weimer <fweimer@redhat.com> + + * malloc/tst-malloc-thread-fail.c: New file. + * malloc/Makefile (tests): Add tst-malloc-thread-fail. + (tst-malloc-thread-fail): Link against libpthread. + +2015-12-29 Mike Frysinger <vapier@gentoo.org> + + * scripts/list-fixed-bugs.py: Import argparse. Call main instead. + (get_parser): New function. + (main): New function. + +2015-12-29 Rob Wu <rob@robwu.nl> + + [BZ #19369] + * resolv/res_init.c (__res_vinit): Reset defdname before use. + +2015-12-29 John David Anglin <danglin@gcc.gnu.org> + + [BZ #19270] + * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define. + +2015-12-28 Mike Frysinger <vapier@gentoo.org> + + [BZ #15421] + * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma. + +2015-12-23 Torvald Riegel <triegel@redhat.com> + + [BZ #13690] + * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock + after releasing it. + (__lll_robust_unlock): Likewise. + * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise. + * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise. + (lll_robust_unlock): Likewise. + * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag): + Prevent warnings in callers. + +2015-12-23 Florian Weimer <fweimer@redhat.com> + + * malloc/arena.c (list_lock): Update comment. + +2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> + + * sysdeps/powerpc/hwcapinfo.c: Export symbol + __parse_hwcap_and_convert_at_platform to libc.a. + +2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> + + * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added + platform and feature support for POWER9. + * sysdeps/powerpc/dl-procinfo.h: Likewise. + * sysdeps/powerpc/powerpc32/power9/Implies: New file. + * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise. + * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise. + * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64. + * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise. + * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise. + * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise. + +2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org> + + Harmonize generic stdio-lock support with nptl + + This fixes build when _IO_funlockfile is a macro, fixes build where + _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected + stack unwind. + + * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock, + _IO_release_lock ): Use cleanup attribute on new + _IO_acquire_lock_file variable instead of assuming that + _IO_release_lock will be called. + [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing + _IO_acquire_lock_needs_exceptions_enabled. + (_IO_acquire_lock_clear_flags2): New macro. + +2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org> + + * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated. + +2015-12-21 Florian Weimer <fweimer@redhat.com> + + [BZ #19182] + * malloc/arena.c (list_lock): Document lock ordering requirements. + (free_list_lock): New lock. + (ptmalloc_lock_all): Comment on free_list_lock. + (ptmalloc_unlock_all2): Reinitialize free_list_lock. + (detach_arena): Update comment. free_list_lock is now needed. + (_int_new_arena): Use free_list_lock around detach_arena call. + Acquire arena lock after list_lock. Add comment, including FIXME + about incorrect synchronization. + (get_free_list): Switch to free_list_lock. + (reused_arena): Acquire free_list_lock around detach_arena call + and attached threads counter update. Add two FIXMEs about + incorrect synchronization. + (arena_thread_freeres): Switch to free_list_lock. + * malloc/malloc.c (struct malloc_state): Update comments to + mention free_list_lock. + +2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org> + + * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2): + Remove functions. + (sloww, sloww1): Accept argument to offset quadrant. + (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on + quadrant. + (__sin, __cos): Consolidate common code into new functions. + (reduce_sincos_1, do_sincos_1): New functions. + * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them. + + * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common + code to new functions. + (reduce_sincos_2, do_sincos_2): New functions. + * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them. + + * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip + common code for sincos. + (__cos) [!IN_SINCOS]: Likewise. + * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos): + New function. + (__sincos): Use it. + +2015-12-20 Aurelien Jarno <aurelien@aurel32.net> + + * sysdeps/i386/fpu/libm-test-ulps: Move to .... + * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here. + * sysdeps/i386/fpu/libm-test-ulps: Regenerate. + +2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com> + + * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file. + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file. + * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests. + * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch. + * sysdeps/x86_64/multiarch/memset_chk.S: Likewise. + * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER, + index_Prefer_No_VZEROUPPER): New feature. + * sysdeps/x86/cpu-features.c (init_cpu_features): Set the + Prefer_No_VZEROUPPER for Knights Landing. + +015-12-18 Torvald Riegel <triegel@redhat.com> + + * math/atest-exp2.c (mp_exp_m1): Remove. + +2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org> + + * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument + syscalls. + (__SYSCALL0): New macro. + (__SYSCALL1): Likewise. + (__SYSCALL2): Likewise. + (__SYSCALL3): Likewise. + (__SYSCALL4): Likewise. + (__SYSCALL5): Likewise. + (__SYSCALL6): Likewise. + (__SYSCALL_CONCAT_X): Likewise. + (__SYSCALL_CONCAT): Likewise. + (__SYSCALL_DIST): Likewise. + (__SYSCALL_CALL): Likewise. + +2015-12-17 H.J. Lu <hongjiu.lu@intel.com> + + [BZ #19363] + * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file. + +2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org> + + [BZ #19375] + * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for + negative subnormals. + +2015-12-16 H.J. Lu <hongjiu.lu@intel.com> + + * sysdeps/unix/sysv/linux/x86_64/sysdep.h + (REGISTERS_CLOBBERED_BY_SYSCALL): New. + (INTERNAL_SYSCALL_NCS): Use it. + (INTERNAL_SYSCALL_NCS_TYPES): Likewise. + +2015-12-16 Florian Weimer <fweimer@redhat.com> + + [BZ #19243] + * malloc/arena.c (get_free_list): Remove assert and adjust + reference count handling. Add comment about reused_arena + interaction. + (reused_arena): Add comments abount get_free_list interaction. + * malloc/tst-malloc-thread-exit.c: New file. + * malloc/Makefile (tests): Add tst-malloc-thread-exit. + (tst-malloc-thread-exit): Link against libpthread. + +2015-12-15 H.J. Lu <hongjiu.lu@intel.com> + + [BZ #19367] + * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file. + * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise. + * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New. + (index_Prefer_MAP_32BIT_EXEC): Likewise. + +2015-12-15 H.J. Lu <hongjiu.lu@intel.com> + + * sysdeps/x86/cpu-features.c (init_cpu_features): Enable + Silvermont optimizations for Knights Landing. + +2015-12-15 Andreas Schwab <schwab@suse.de> + + [BZ #17197] + * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state + immediately after emitting SI. + * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise. + * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise. + * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise. + * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise. + * iconvdata/bug-iconv10.c: New file. + * iconvdata/Makefile (tests): Add bug-iconv10. + ($(objpfx)bug-iconv10.out): New rule. + +2015-12-15 Florian Weimer <fweimer@redhat.com> + + * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an + aliasing violation. + +2015-12-14 Joseph Myers <joseph@codesourcery.com> + + [BZ #18472] + * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries + for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT + conditionals for them. + * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise. + * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove + sys/kdaemon.h. + * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into + compat-only syscall, obsoleted in glibc 2.23. + (create_module): Likewise. + (get_kernel_syms): Likewise. + (query_module): Likewise. + (uselib): Likewise. + * manual/sysinfo.texi (System Parameters): Do not mention bdflush. + +2015-12-11 Aurelien Jarno <aurelien@aurel32.net> + + * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include + <linux/version.h>. + [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove + conditional code. + (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name + and ioshift_name initialization. + +2015-12-11 Steve Ellcey <sellcey@imgtec.com> + + * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): + Fix indentation. + +2015-12-11 Steve Ellcey <sellcey@imgtec.com> + + * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation. + +2015-12-11 Steve Ellcey <sellcey@imgtec.com> + + * stdlib/strtol_l.c (__strtol_l): Fix indentation. + +2015-12-10 Aurelien Jarno <aurelien@aurel32.net> + Jakub Wilk <jwilk@debian.org> + + [BZ #19347] + * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try + to change the group of the device to the tty group. + +2015-12-10 Paul Eggert <eggert@cs.ucla.edu> + + Split large string section; add truncation advice + * manual/examples/strncat.c: Remove. + This example was misleading, as the code would have undefined + behavior if "hello" was longer than SIZE. Anyway, the manual + shouldn't encourage strncpy+strncat for this sort of thing. + * manual/string.texi (Copying Strings and Arrays): Split into + three sections Copying Strings and Arrays, Concatenating Strings, + and Truncating Strings, as this section was way too long. All + cross-referenced changed. Add advice about string-truncation + functions. Remove misleading strncat example. + +2015-12-10 Carlos O'Donell <carlos@redhat.com> + + * manual/nss.texi (NSS Modules Interface): Document + NSS_STATUS_NOTFOUND and SUCCESS. + +2015-12-09 Mike FABIAN <mfabian@redhat.com> + + [BZ 18568] + * include/stdc-predef.h (__STDC_ISO_10646__): Update to + 201505L, for Unicode 8. + +2015-12-09 Carlos O'Donell <carlos@redhat.com> + + * locale/C-translit.h: Regenerate. + +2015-12-09 Mike FABIAN <mfabian@redhat.com> + + * locale/C-translit.h.in: Remove duplicate transliterations for U+0152 + and U+0153. + +2015-12-09 Joseph Myers <joseph@codesourcery.com> + + [BZ #19351] + * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When + expanding log(1+z), compare z rather than its square with epsilon + to determine when to avoid evaluating the expansion. + + [BZ #19350] + * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): + Increase overflow threshold. + + [BZ #19349] + * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument + when small. + + * sysdeps/unix/sysv/linux/i386/kernel-features.h + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL): + New macro. + [__LINUX_KERNEL_VERSION >= 0x040300] + (__ASSUME_SOCKETPAIR_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] + (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] + (__ASSUME_GETSOCKOPT_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] + (__ASSUME_SETSOCKOPT_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] + (__ASSUME_GETSOCKNAME_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] + (__ASSUME_GETPEERNAME_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] + (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] + (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL): + Likewise. + * sysdeps/unix/sysv/linux/m68k/kernel-features.h + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] + (__ASSUME_SOCKETPAIR_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] + (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] + (__ASSUME_GETSOCKOPT_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] + (__ASSUME_SETSOCKOPT_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] + (__ASSUME_GETSOCKNAME_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] + (__ASSUME_GETPEERNAME_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] + (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] + (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL): + Likewise. + * sysdeps/unix/sysv/linux/microblaze/kernel-features.h + (__ASSUME_SOCKET_SYSCALL): Likewise. + (__ASSUME_BIND_SYSCALL): Likewise. + (__ASSUME_CONNECT_SYSCALL): Likewise. + (__ASSUME_LISTEN_SYSCALL): Likewise. + (__ASSUME_ACCEPT_SYSCALL): Likewise. + (__ASSUME_GETSOCKNAME_SYSCALL): Likewise. + (__ASSUME_GETPEERNAME_SYSCALL): Likewise. + (__ASSUME_SOCKETPAIR_SYSCALL): Likewise. + (__ASSUME_SEND_SYSCALL): Likewise. + (__ASSUME_SENDTO_SYSCALL): Likewise. + (__ASSUME_RECV_SYSCALL): Likewise. + (__ASSUME_RECVFROM_SYSCALL): Likewise. + (__ASSUME_SHUTDOWN_SYSCALL): Likewise. + (__ASSUME_GETSOCKOPT_SYSCALL): Likewise. + (__ASSUME_SETSOCKOPT_SYSCALL): Likewise. + (__ASSUME_SENDMSG_SYSCALL): Likewise. + (__ASSUME_RECVMSG_SYSCALL): Likewise. + * sysdeps/unix/sysv/linux/sh/kernel-features.h + [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x020625] + (__ASSUME_GETSOCKNAME_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x020625] + (__ASSUME_GETPEERNAME_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x020625] + (__ASSUME_SOCKETPAIR_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x020625] + (__ASSUME_GETSOCKOPT_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x020625] + (__ASSUME_SETSOCKOPT_SYSCALL): Likewise. + [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL): + Likewise. + [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL): + Likewise. + +2015-12-09 Aurelien Jarno <aurelien@aurel32.net> + + * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to + record the current if the current ABI and CPU support the FP64 + extension. + (has-modd-spreg): Define to record the current if the current ABI and + CPU support 32-bit floating point values in odd FPU registers. + * sysdeps/unix/sysv/linux/mips/configure: Regenerate. + * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when + $(has-modd-spreg) equals yes. + (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes. + (tst-abi-fp64mod): Only build when both $(has-mpf64) and + $(has-modd-spreg) equal yes. + +2015-12-09 Aurelien Jarno <aurelien@aurel32.net> + + * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of + basename. + +2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com> + + * benchtests/Makefile (bench-math): Move ffs and ffsll... + (bench-string): ... here. + (bench): Add bench-string. + (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename + to *-benchset to reflect what they are. + (benchset): Adjust. + + * benchtests/sincos-inputs: Add inputs from sin-inputs and + cos-inputs. + +2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com> + + * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.* + __attribute__ ((__simd__)) for vector math function declarations. + +2015-12-04 Paul Eggert <eggert@cs.ucla.edu> + + Fix typo in strncat, wcsncat manual entries + * manual/string.texi (Copying and Concatenation): Fix typos in + sample implementations of strncat and wcsncat, by having them use + the old value of the destination length, not the new one. + +2015-12-04 Joseph Myers <joseph@codesourcery.com> + + [BZ #16961] + [BZ #16962] + * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a + string on the stack for strtod. + * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing + a string on the stack for strtof. + * math/s_nanl.c (__nanl): Use __strtold_nan instead of + constructing a string on the stack for strtold. + * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and + __strtold_nan to GLIBC_PRIVATE. + * math/test-nan-overflow.c: New file. + * math/test-nan-payload.c: Likewise. + * math/Makefile (tests): Add test-nan-overflow and + test-nan-payload. + +2015-12-04 Paul Eggert <eggert@cs.ucla.edu> + + Consistency about byte vs character in string.texi + * manual/string.texi (String and Array Utilities): + Distinguish more carefully among bytes, multibyte characters, + and wide characters. Use "byte" when talking about C 'char', + to distinguish it more clearly from multibyte characters. + Say "wide character" or "multibyte character" instead of + "character", when a wide or multibyte character is intended. + Similarly for "multibyte string" versus "string". + Define these terms more carefully. + +2015-12-03 Chris Metcalf <cmetcalf@ezchip.com> + + * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol. + * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT): + Likewise. + * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise. + * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise. + * sysdeps/sh/math_private.h: New file. + * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise. + * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE && + defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal + long double function name. + * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise. + * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: + Remove __finitel, __isinfl, and __isnanl. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: + Likewise. + * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: + Remove __finitel. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise. + +2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com> + + * math/Makefile ($(inst_libdir)/libm.so): Corrected path to + installed libmvec_nonshared.a. + +2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> + + * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo. + (sysdep_routines): Likewise. + (sysdep-rtld-routines): Likewise. + [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static + [$(subdir) = nptl](tests-static): test-get_hwcap-static + * sysdeps/powerpc/Versions: Added new + __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23. + * sysdeps/powerpc/hwcapinfo.c: New file. + (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize + and parse hwcap, hwcap2 and platform number information. + * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables + to store HWCAP+HWCAP2 and platform number. + * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets + for HWCAP+HWCAP2 and platform number in the TCB. + * sysdeps/powerpc/nptl/tls.h: New functionality. Stores + the HWCAP, HWCAP2 and platform number in the TCB. + (dtv): Added new fields for HWCAP+HWCAP2 and platform number. + (TLS_INIT_TP): Included calls to add the hwcap and + at_platform values in the TCB in TP initialization. + (TLS_DEFINE_INIT_TP): Likewise. + (THREAD_GET_HWCAP): New macro. + (THREAD_SET_HWCAP): Likewise. + (THREAD_GET_AT_PLATFORM): Likewise. + (THREAD_SET_AT_PLATFORM): Likewise. + * sysdeps/powerpc/powerpc32/dl-machine.h: + (dl_platform_init): New function that calls + __parse_hwcap_and_convert_at_platform for the dymanic linking case for + powerpc32. + * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64. + * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for + this functionality, static linking case. + * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic + linking case. + * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to + __parse_hwcap_and_convert_at_platform for the static linking case. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: + Included the new __parse_hwcap_and_convert_at_platform symbol in the + ABI list for GLIBC 2.23. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: + Likewise. + +2015-12-02 Ludovic Courtès <ludo@gnu.org> + + * configure.ac: Use 'pwd -P' instead of '/bin/pwd'. + * configure: Regenerate. + * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'. + * scripts/rellns-sh: Likewise. Remove 'pwd' variable. + +2015-12-02 Carlos O'Donell <carlos@redhat.com> + + * iconvdata/ibm930.c: Add comment explaining encoding uses. + * iconvdata/ibm933.c: Likewise. + * iconvdata/ibm935.c: Likewise. + * iconvdata/ibm937.c: Likewise. + * iconvdata/ibm939.c: Likewise. + +2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org> + + * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after + pthread_join. + * nptl/tst-cancel21.c (tf): Likewise. + +2015-12-01 H.J. Lu <hongjiu.lu@intel.com> + + [BZ #19313] + * bits/typesizes.h (__CPU_MASK_TYPE): New. + * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise. + * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE): + Likewise. + * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE): + Likewise. + * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE): + Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE): + Likewise. + * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE): + * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace + unsigned long int with __CPU_MASK_TYPE. + +2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com> + + * sysdeps/aarch64/libm-test-ulps: Regenerated. + +2015-12-01 Joseph Myers <joseph@codesourcery.com> + + * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h. + (__ieee754_sqrt): Use hex float constants instead of tm256.x and + t512.x. + * sysdeps/ieee754/dbl-64/uroot.h: Remove file. + +2015-11-30 Amit Pawar <amit.pawar@amd.com> + + [BZ #19214] + * sysdeps/x86/cpu-features.c (get_common_indeces): Add an + argument to return extended model. Update family and model + with extended family and model when family == 0x0f. + (init_cpu_features): Updated. + +2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org> + + The RPC interface used by mmap uses the unsigned vm_offset_t, not the + signed off_t, so 32bit bigger than 2GiB values are fine actually. + + * sysdeps/mach/hurd/mmap64.c: New file. + +2015-11-29 Thomas Schwinge <thomas@codesourcery.com> + + * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send + rights for its main user thread in NEWTASK. + +2015-11-28 Maciej W. Rozycki <macro@imgtec.com> + + * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008. + (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008. + +2015-11-27 Carlos O'Donell <carlos@redhat.com> + + [BZ #14259] + * Makeconfig: Rename localedir to complocaledir. + Rename inst_localedir to inst_complocaledir. + * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir. + * config.make.in: Use complocaledir and libc_cv_complocaledir. + * configure.ac: Use libc_cv_complocaledir. + * configure: Regenerate. + * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to + -DCOMPLOCALEDIR. + * locale/findlocale.c: Use COMPLOCALEDIR. + * locale/loadarchive.c: Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/localedef.c: Likewise. + * locale/programs/locarchive.c: Likewise. + * localedata/Makefile: Use inst_complocaledir. + * sysdeps/gnu/configure: Regenerate. + * sysdeps/hppa/configure: Regenerate. + * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate. + * sysdeps/unix/sysv/linux/mips/configure: Regenerate. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate. + * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate. + * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate. + * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate. + * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate. + +2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com> + + [BZ #19058] + * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to + AS_NEEDED. + * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases + workaround. + * sysdeps/x86_64/fpu/Makefile (libmvec-support, + libmvec-static-only-routines): Added new file. + * sysdeps/x86_64/fpu/svml_finite_alias.S: New file. + +2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org> + + * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port + of interrupted RPC instead of restoring it. + + * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def. + * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove + libc_hidden_def. + * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get + into initialized data instead of common. Define rtld_hidden_data_def. + * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def. + * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add + libc_hidden_def. + (if_freenameindex): Add libc_hidden_weak. + (if_nameindex): Add libc_hidden_weak. + * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into + __open64. + * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def. + * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def. + * sysdeps/mach/nanosleep.c: Include <time.h> + (__nanosleep): Rename to __libc_nanosleep. + (__nanosleep): Add weak_alias. + (nanosleep): Update alias. + +2015-11-24 Joseph Myers <joseph@codesourcery.com> + + * stdlib/strtod_nan.c: New file. + * stdlib/strtod_nan_double.h: Likewise. + * stdlib/strtod_nan_float.h: Likewise. + * stdlib/strtod_nan_main.c: Likewise. + * stdlib/strtod_nan_narrow.h: Likewise. + * stdlib/strtod_nan_wide.h: Likewise. + * stdlib/strtof_nan.c: Likewise. + * stdlib/strtold_nan.c: Likewise. + * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise. + * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise. + * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise. + * wcsmbs/wcstod_nan.c: Likewise. + * wcsmbs/wcstof_nan.c: Likewise. + * wcsmbs/wcstold_nan.c: Likewise. + * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and + strtold_nan. + * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and + wcstof_nan. + * include/stdlib.h (__strtof_nan): Declare and use + libc_hidden_proto. + (__strtod_nan): Likewise. + (__strtold_nan): Likewise. + (__wcstof_nan): Likewise. + (__wcstod_nan): Likewise. + (__wcstold_nan): Likewise. + * include/wchar.h (____wcstoull_l_internal): Declare. + * stdlib/strtod_l.c: Do not include <ieee754.h>. + (____strtoull_l_internal): Remove declaration. + (STRTOF_NAN): Define macro. + (SET_MANTISSA): Remove macro. + (STRTOULL): Likewise. + (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload. + * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration. + (STRTOF_NAN): Define macro. + (SET_MANTISSA): Remove macro. + * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro. + (SET_MANTISSA): Remove macro. + * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define + macro. + (SET_MANTISSA): Remove macro. + * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define + macro. + (SET_MANTISSA): Remove macro. + * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro. + (SET_MANTISSA): Remove macro. + * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration. + * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise. + * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise. + + [BZ #19266] + * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for + upper case and lower case letters inside NAN(), not using TOLOWER. + * stdlib/tst-strtod-nan-locale-main.c: New file. + * stdlib/tst-strtod-nan-locale.c: Likewise. + * stdlib/Makefile (tests): Add tst-strtod-nan-locale. + [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out): + Depend on $(gen-locales). + ($(objpfx)tst-strtod-nan-locale): Depend on $(libm). + * wcsmbs/tst-wcstod-nan-locale.c: New file. + * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale. + [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out): + Depend on $(gen-locales). + ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm). + +2015-11-24 Chris Metcalf <cmetcalf@ezchip.com> + + * misc/tst-tsearch.c (TIMEOUT): Set to 10. + + * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add + __finitel, __isinfl, and __isnanl. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: + Likewise. + * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add + __finitel. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise. + +2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org> + + * malloc/memusage.c (me): Remove redundant getenv call. + +2015-10-24 Florian Weimer <fweimer@redhat.com> + + [BZ #19143] + [BZ #19164] + * nptl/check-cpuset.h: Remove. + * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new): + Remove CPU set size check. + * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np): + Likewise. + * sysdeps/unix/sysv/linux/check-cpuset.h: Remove. + * sysdeps/unix/sysv/linux/pthread_setaffinity.c + (__kernel_cpumask_size, __determine_cpumask_size): Remove. + (__pthread_setaffinity_new): Remove CPU set size check. + * sysdeps/unix/sysv/linux/sched_setaffinity.c + (__kernel_cpumask_size): Remove. + (__sched_setaffinity_new): Remove CPU set size check. + * manual/threads.texi (Default Thread Attributes): Remove stale + reference to check_cpuset_attr, determine_cpumask_size in comment. + * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests): + Remove tst-getcpu. Add tst-affinity, tst-affinity-pid. + [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread, + tst-thread-affinity-pthread2, tst-thread-affinity-sched. + * sysdeps/unix/sysv/linux/tst-affinity.c: New file. + * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file. + * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file. + * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file. + * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file. + * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file. + * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New + skeleton test file. + * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by + tst-affinity-pid. + +2015-11-24 Florian Weimer <fweimer@redhat.com> + + * scripts/update-abilist.sh: New file. + * Makefile (+subdir_targets): Add subdir_update-all-abi. + * Makerules (update-all-abi-%, update-all-abi) + (subdir_update-all-abi): New targets. + * elf/Makefile (update-all-abi): New target. + +2015-11-24 Florian Weimer <fweimer@redhat.com> + + Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code. + * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define. + (__libc_lock_define_initialized): Use it. + * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define. + * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER. + * malloc/malloc.c (main_arena): Likewise. + * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove. + * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove. + +2015-11-23 Joseph Myers <joseph@codesourcery.com> + + * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h + (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions. + (PTRACE_O_SUSPEND_SECCOMP): Likewise. + (PTRACE_O_MASK): Update value. + * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL): + New value in enum __ptrace_setoptions. + (PTRACE_O_SUSPEND_SECCOMP): Likewise. + (PTRACE_O_MASK): Update value. + * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h + (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions. + (PTRACE_O_MASK): Update value. + * sysdeps/unix/sysv/linux/s390/sys/ptrace.h + (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions. + (PTRACE_O_MASK): Update value. + * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h + (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions. + (PTRACE_O_MASK): Update value. + * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP): + New value in enum __ptrace_setoptions. + (PTRACE_O_MASK): Update value. + * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL): + New value in enum __ptrace_setoptions. + (PTRACE_O_SUSPEND_SECCOMP): Likewise. + (PTRACE_O_MASK): Update value. + + * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH): + New macro. + (PACKET_AUXDATA): Likewise. + (PACKET_ORIGDEV): Likewise. + (PACKET_VERSION): Likewise. + (PACKET_HDRLEN): Likewise. + (PACKET_RESERVE): Likewise. + (PACKET_TX_RING): Likewise. + (PACKET_LOSS): Likewise. + (PACKET_VNET_HDR): Likewise. + (PACKET_TX_TIMESTAMP): Likewise. + (PACKET_TIMESTAMP): Likewise. + (PACKET_FANOUT): Likewise. + (PACKET_TX_HAS_OFF): Likewise. + (PACKET_QDISC_BYPASS): Likewise. + (PACKET_ROLLOVER_STATS): Likewise. + (PACKET_FANOUT_DATA): Likewise. + (PACKET_MR_UNICAST): Likewise. + + [BZ #19242] + * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale. + (TOUPPER): Likewise. + * stdlib/tst-strtol-locale-main.c: New file. + * stdlib/tst-strtol-locale.c: Likewise. + * stdlib/Makefile (tests): Add tst-strtol-locale. + [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9. + [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out): + Depend on $(gen-locales). + * wcsmbs/tst-wcstol-locale.c: New file. + * wcsmbs/Makefile (tests): Add tst-wcstol-locale. + [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and + tr_TR.ISO-8859-9. + [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out): + Depend on $(gen-locales). + +2015-11-20 Roland McGrath <roland@hack.frob.com> + + * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use + __glibc_likely instead of __builtin_expect. After falling back to + dyncode_create in a non-ET_DYN case, use the allocate_code_data + system interface to register the code pages as occupied. + +2015-11-20 Joseph Myers <joseph@codesourcery.com> + + * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to + [!ARM_MATH_PRIVATE_H]. + [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro. + * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to + [!HPPA_MATH_PRIVATE_H]. + [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro. + * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard + to [!I386_MATH_PRIVATE_H]. + [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro. + * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]: + Change guard to [!M68K_MATH_PRIVATE_H]. + [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro. + * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change + guard to [!MICROBLAZE_MATH_PRIVATE_H]. + [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define + macro. + * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to + [!MIPS_MATH_PRIVATE_H]. + [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro. + * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to + [!NIO2_MATH_PRIVATE_H]. + [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro. + * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to + [!TILE_MATH_PRIVATE_H]. + [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro. + + [BZ #15421] + * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam, + initialize with 0 and define as weak alias of __signgam. + * include/math.h [!_ISOMAC] (__signgam): Declare. + * math/Makefile (libm-calls): Add w_lgamma_compat. + (tests): Add test-signgam-uchar, test-signgam-uchar-init, + test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and + test-signgam-ullong-init. + (tests-static): Add test-signgam-uchar-static, + test-signgam-uchar-init-static, test-signgam-uint-static, + test-signgam-uint-init-static, test-signgam-ullong-static and + test-signgam-ullong-init-static. + (CFLAGS-test-signgam-uchar.c): New variable. + (CFLAGS-test-signgam-uchar-init.c): Likewise. + (CFLAGS-test-signgam-uchar-static.c): Likewise. + (CFLAGS-test-signgam-uchar-init-static.c): Likewise. + (CFLAGS-test-signgam-uint.c): Likewise. + (CFLAGS-test-signgam-uint-init.c): Likewise. + (CFLAGS-test-signgam-uint-static.c): Likewise. + (CFLAGS-test-signgam-uint-init-static.c): Likewise. + (CFLAGS-test-signgam-ullong.c): Likewise. + (CFLAGS-test-signgam-ullong-init.c): Likewise. + (CFLAGS-test-signgam-ullong-static.c): Likewise. + (CFLAGS-test-signgam-ullong-init-static.c): Likewise. + * math/Versions (libm): Add GLIBC_2.23. + * math/lgamma-compat.h: New file. + * math/test-signgam-main.c: Likewise. + * math/test-signgam-uchar-init-static.c: Likewise. + * math/test-signgam-uchar-init.c: Likewise. + * math/test-signgam-uchar-static.c: Likewise. + * math/test-signgam-uchar.c: Likewise. + * math/test-signgam-uint-init-static.c: Likewise. + * math/test-signgam-uint-init.c: Likewise. + * math/test-signgam-uint-static.c: Likewise. + * math/test-signgam-uint.c: Likewise. + * math/test-signgam-ullong-init-static.c: Likewise. + * math/test-signgam-ullong-init.c: Likewise. + * math/test-signgam-ullong-static.c: Likewise. + * math/test-signgam-ullong.c: Likewise. + * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by + wrapper of w_lgamma_main.c. + * math/w_lgamma_compat.c: New file. + * math/w_lgamma_compatf.c: Likewise. + * math/w_lgamma_compatl.c: Likewise. + * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include + <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support + defining compatibility symbols. + (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA. + * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by + wrapper of w_lgammaf_main.c. + * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include + <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support + defining compatibility symbols. + (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA. + * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by + wrapper of w_lgammal_main.c. + * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include + <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support + defining compatibility symbols. + (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA. + * sysdeps/ia64/fpu/lgamma-compat.h: New file. + * sysdeps/ia64/fpu/w_lgamma.c: Move to .... + * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include + <lgamma-compat.h>. + (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA. + (__ieee754_gamma): Define as alias. + * sysdeps/ia64/fpu/w_lgammaf.c: Move to .... + * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include + <lgamma-compat.h>. + (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA. + (__ieee754_gammaf): Define as alias. + * sysdeps/ia64/fpu/w_lgammal.c: Move to .... + * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include + <lgamma-compat.h>. + (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA. + (__ieee754_gammal): Define as alias. + * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to .... + * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include + <math/w_lgamma_compat.c>. + [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat): + Define as alias of __lgamma_compat and use in defining lgammal. + * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to .... + * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include + <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>. + (USE_AS_COMPAT): New macro. + (LGAMMA_OLD_VER): Undefine and redefine. + (lgammal): Do not define here. + (gammal): Only define here if [GAMMA_ALIAS]. + * conform/linknamespace.pl (@whitelist): Remove signgam. + * sysdeps/nacl/libm.abilist: Update. + * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise. + +2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org> + + [BZ #16364] + * sysdeps/unix/sysv/linux/sleep.c: Remove file. + * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling. + +2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com> + + * sysdeps/s390/fpu/bits/mathinline.h: + Use __asm__ [__volatile__] instead of asm [volatile]. + * sysdeps/s390/abort-instr.h: Likewise. + * sysdeps/s390/atomic-machine.h: Likewise. + * sysdeps/s390/bits/string.h: Likewise. + * sysdeps/s390/dl-tls.h: Likewise. + * sysdeps/s390/fpu/e_sqrt.c: Likewise. + * sysdeps/s390/fpu/e_sqrtf.c: Likewise. + * sysdeps/s390/fpu/e_sqrtl.c: Likewise. + * sysdeps/s390/fpu/fesetround.c: Likewise. + * sysdeps/s390/fpu/fpu_control.h: Likewise. + * sysdeps/s390/fpu/s_fma.c: Likewise. + * sysdeps/s390/fpu/s_fmaf.c: Likewise. + * sysdeps/s390/memusage.h: Likewise. + * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise. + * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise. + * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise. + * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise. + * sysdeps/s390/nptl/tls.h: Likewise. + * sysdeps/s390/s390-32/__longjmp.c: Likewise. + * sysdeps/s390/s390-32/backtrace.c: Likewise. + * sysdeps/s390/s390-32/dl-machine.h: Likewise. + * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise. + * sysdeps/s390/s390-32/stackguard-macros.h: Likewise. + * sysdeps/s390/s390-32/tls-macros.h: Likewise. + * sysdeps/s390/s390-64/__longjmp.c: Likewise. + * sysdeps/s390/s390-64/backtrace.c: Likewise. + * sysdeps/s390/s390-64/dl-machine.h: Likewise. + * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise. + * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise. + * sysdeps/s390/s390-64/stackguard-macros.h: Likewise. + * sysdeps/s390/s390-64/tls-macros.h: Likewise. + * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise. + * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise. + * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise. + * sysdeps/unix/sysv/linux/s390/brk.c: Likewise. + * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise. + +2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com> + Paul E. Murphy <murphyp@linux.vnet.ibm.com> + + * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock): + Add lwarx hint, and use macro for acquire instruction. + * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock): + Likewise. + * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ... + * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and + update to use new atomic macros. + +2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com> + + * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c + (__lll_trylock_elision): Fix setting of adapt_count. + * sysdeps/unix/sysv/linux/powerpc/htm.h + (_ABORT_PERSISTENT): Define to clarify persistent aborts. + (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent. + (_ABORT_SYSCALL): Renumber, and clarify definition. + (_ABORT_LOCK_BUSY): Renumber, make non-persistent. + +2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com> + + * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers + after system headers to prevent MIN/MAX redefinition. Define + HAVE_ALLOCA to preserve builtin alloca usage. + +2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org> + + * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function + static and don't set or restore rounding. + (__cos)[IN_SINCOS]: Likewise. + * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c. + (__sincos): Set and restore rounding mode. Remove check for infinite + or NaN input. + + * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses. + + * benchtests/scripts/bench.py (_print_arg_data): Mark output variables + as used. + +2015-11-16 Florian Weimer <fweimer@redhat.com> + + * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine. + +2015-11-14 H.J. Lu <hongjiu.lu@intel.com> + + * config.make.in (have-glob-dat-reloc): New. + * configure.ac (libc_cv_has_glob_dat): New. Set to yes if + target supports GLOB_DAT relocaton. AC_SUBST. + * configure: Regenerated. + * elf/Makefile (tests): Add tst-prelink. + (tests-special): Add $(objpfx)tst-prelink-cmp.out. + (tst-prelink-ENV): New. + ($(objpfx)tst-prelink-conflict.out): Likewise. + ($(objpfx)tst-prelink-cmp.out): Likewise. + * sysdeps/x86/tst-prelink.c: Moved to ... + * elf/tst-prelink.c: Here. + * sysdeps/x86/tst-prelink.exp: Moved to ... + * elf/tst-prelink.exp: Here. + * sysdeps/x86/Makefile (tests): Don't add tst-prelink. + (tst-prelink-ENV): Removed. + ($(objpfx)tst-prelink-conflict.out): Likewise. + ($(objpfx)tst-prelink-cmp.out): Likewise. + (tests-special): Don't add $(objpfx)tst-prelink-cmp.out. + +2015-11-13 Joseph Myers <joseph@codesourcery.com> + + [BZ #14551] + * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>. + (__mpn_construct_long_double): If high part overflows to infinity, + set errno and recompute overflowed result of the correct sign. + * sysdeps/ieee754/ldbl-128ibm/Makefile + [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm. + [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on + $(libm). + * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file. + +2015-11-12 Joseph Myers <joseph@codesourcery.com> + + [BZ #15479] + [BZ #19238] + * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save + floating-point state after first operation on input. Restore full + state rather than just rounding mode. + * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise. + + [BZ #19235] + * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not + add 0.5 to integer arguments. + * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf): + Likewise. + (.LC2): New object. + +2015-11-11 Mike Frysinger <vapier@gentoo.org> + + * scripts/pylintrc (reports): Set to no. + +2015-11-10 Roland McGrath <roland@hack.frob.com> + + * elf/dl-load.c (open_verify): Take new argument FD. + Skip __open call if passed FD is not -1. + (_dl_map_object, open_path): Update callers. + * elf/dl-sysdep-open.h: New file. + * elf/dl-load.c: Include it. + (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache. + * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function. + * sysdeps/nacl/dl-sysdep-open.h: New file. + * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open + from libc to rtld. + +2015-11-10 Joseph Myers <joseph@codesourcery.com> + + [BZ #19228] + * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save + and restore full floating-point state. + * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf): + Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint): + Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf): + Likewise. + * math/test-nearbyint-except-2.c: New file. + * math/Makefile (tests): Add test-nearbyint-except-2. + +2015-11-10 H.J. Lu <hongjiu.lu@intel.com> + + [BZ #19178] + * sysdeps/x86/Makefile (tests): Add tst-prelink. + (tst-prelink-ENV): New. + ($(objpfx)tst-prelink-conflict.out): Likewise. + ($(objpfx)tst-prelink-cmp.out): Likewise. + (tests-special): Add $(objpfx)tst-prelink-cmp.out. + * sysdeps/x86/tst-prelink.c: New file. + * sysdeps/x86/tst-prelink.exp: Likewise. + +2015-11-10 Joseph Myers <joseph@codesourcery.com> + + * math/auto-libm-test-in: Add another test of pow. + * math/auto-libm-test-out: Regenerated. + * math/libm-test.inc (pow_test_data): Add another test. + +2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org> + + [BZ #19219] + * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and + weak_alias to nearbyintl. + +2015-11-10 Wilco Dijkstra <wdijkstr@arm.com> + + * sysdeps/aarch64/bits/string.h: New file. + (_STRING_ARCH_unaligned): Define. + +2015-11-10 Wilco Dijkstra <wdijkstr@arm.com> + + * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*. + * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise. + * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise. + * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise. + +2015-11-09 Ulrich Drepper <drepper@gmail.com> + + * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter + for original name of the DSO. Add it to the name list of the DSO + if it is actually given. + (_dl_map_object): Keep track of whether an audit module rewrote + the file name. If yes, pass the original name to + _dl_map_object_from_fd in a new parameter, otherwise NULL. When + debugging is enabled, log the change of the file name. + * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to + _dl_map_object_from_fd. + * elf/Makefile: Build and run tst-audit11 and tst-audit12. + * elf/tst-audit11.c: New file + * elf/tst-auditmod11.c: New file. + * elf/tst-audit11mod1.c: New file. + * elf/tst-audit11mod2.c: New file. + * elf/tst-audit11mod2.map: New file. + * elf/tst-audit12.c: New file + * elf/tst-auditmod12.c: New file. + * elf/tst-audit12mod1.c: New file. + * elf/tst-audit12mod2.c: New file. + * elf/tst-audit12mod2.map: New file. + * elf/tst-audit12mod3.c: New file. + +2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com> + + * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp): + Don't create weak aliases, + because versioned symbols are created later. + * sysdeps/s390/s390-32/setjmp.S + (setjmp, _setjmp): Remove weak and rename to an unique name + in SHARED case due to existing versioned symbols. + * sysdeps/s390/s390-64/setjmp.S: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S + (getcontext): Create weak alias only in non SHARED case. + * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise. + +2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com> + + * sysdeps/unix/sysv/linux/s390/kernel-features.h: + (__ASSUME_*_SYSCALL) Define new macros. + * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: + Remove socketcall syscalls. + * sysdeps/unix/sysv/linux/accept.c (__libc_accept): + Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL. + * sysdeps/unix/sysv/linux/recv.c (__libc_recv): + Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL. + * sysdeps/unix/sysv/linux/send.c (__libc_send): + Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL. + +2015-11-09 Florian Weimer <fweimer@redhat.com> + + [BZ #12926] + Terminate process on invalid netlink response. + * sysdeps/unix/sysv/linux/netlinkaccess.h + (__netlink_assert_response): Declare. + * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file. + * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet] + (sysdep_routines): Add netlink_assert_response. + * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call + __netlink_assert_response. + * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise. + * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise. + * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add + __netlink_assert_response. + +2015-11-07 H.J. Lu <hongjiu.lu@intel.com> + + [BZ #19178] + * elf/dl-lookup.c (RTYPE_CLASS_VALID): New. + (RTYPE_CLASS_PLT): Likewise. + (RTYPE_CLASS_COPY): Likewise. + (RTYPE_CLASS_TLS): Likewise. + (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID + to set relocation type class for DL_DEBUG_PRELINK. Keep only + ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for + DL_DEBUG_PRELINK. + +2015-11-06 Joseph Myers <joseph@codesourcery.com> + + * math/test-signgam-finite.c (RUN_TESTS): Correct messages about + calls with argument -0.5. + * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise. + + * configure.ac (libc_cv_z_nodelete): Remove configure test. + (libc_cv_z_nodlopen): Likewise. + (libc_cv_z_initfirst): Likewise. + * configure: Regenerated. + +2015-11-06 Florian Weimer <fweimer@redhat.com> + + Simplify abilist format to be line-based. + * scripts/abilist.awk: Collect descriptors in the descs variable. + (emit): Write descs variable and sort it + externally, with sort. + * sysdeps/**/*.abilist: Convert to new format. + +2015-11-06 Mark Wielaard <mjw@redhat.com> + + [BZ #11460] + * io/Makefile (routines): Add fts64. + (tests): Add tst-fts and tst-fts-lfs. + (CFLAGS-fts64.c): New. + * io/Versions (GLIBC_2.23): New. + * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use + function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and + FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE, + FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary. + * io/fts.h (FTS64): New if _USE_LARGEFILE64. + (FTSENT64): Likewise. + (fts64_children): Likewise. + (fts64_close): Likewise. + (fts64_open): Likewise. + (fts64_read): Likewise. + (fts64_set): Likewise. + * io/fts64.c: New file. + * io/tst-fts.c: New test. + * io/tst-fts-lfs.c: Likewise. + * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add + GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and + fts64_set. + * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise. + * sysdeps/wordsize-64/fts.c: New file. + * sysdeps/wordsize-64/fts64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise. + +2015-11-05 Joseph Myers <joseph@codesourcery.com> + + * math/libm-test.inc (NON_FINITE): New macro. + (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE. + * math/gen-libm-test.pl (show_exceptions): Add argument + $non_finite. + (parse_args): Update call to show_exceptions. + * math/test-math-finite.h: New file. + * math/test-math-no-finite.h: Likewise. + * math/test-double-finite.c: Likewise. + * math/test-float-finite.c: Likewise. + * math/test-ldouble-finite.c: Likewise. + * math/test-double.c: Include "test-math-no-finite.h". + * math/test-float.c: Include "test-math-no-finite.h". + * math/test-ldouble.c: Include "test-math-no-finite.h". + * math/test-math-inline.h (TEST_FINITE): New macro. + * math/test-math-vector.h (TEST_FINITE): Likewise. + * math/Makefile (test-longdouble-yes): Add test-ldouble-finite. + (libm-tests): Add test-float-finite and test-double-finite. + ($(objpfx)test-float-finite.o): New dependency on + $(objpfx)libm-test.stmp. + ($(objpfx)test-double-finite.o): Likewise. + ($(objpfx)test-ldouble-finite.o): Likewise. + (libm-test-no-inline-cflags): New variable. + (libm-test-finite-cflags): Likewise. + (CFLAGS-test-float-finite.c): Likewise. + (CFLAGS-test-double-finite.c): Likewise. + (CFLAGS-test-ldouble-finite.c): Likewise. + (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags). + (CFLAGS-test-double.c): Likewise. + (CFLAGS-test-ldouble.c): Likewise. + +2015-11-05 Roland McGrath <roland@hack.frob.com> + + * io/fcntl.c (__fcntl): Add ... to prototype. + * misc/ioctl.c (__ioctl): Likewise. + * misc/syscall.c (syscall): Likewise. + +2015-11-05 Joseph Myers <joseph@codesourcery.com> + + * scripts/list-fixed-bugs.py: New file. + + [BZ #19213] + * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always + returned for argument 1. + * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise. + * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise. + * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise. + * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise. + * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise. + * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise. + + [BZ #19211] + * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC || + __USE_XOPEN], not if [!__USE_ISOC99]. + (lgammaf): Likewise. + (lgammal): Likewise. + (gamma): Set signgam unconditionally, not if [!__USE_ISOC99]. + (gammaf): Likewise. + (gammal): Likewise. + * math/test-signgam-finite-c11.c: New file. + * math/test-signgam-finite-c99.c: Likewise. + * math/test-signgam-finite.c: Likewise. + * math/Makefile (tests): Add test-signgam-finite, + test-signgam-finite-c99 and test-signgam-finite-c11. + (CFLAGS-test-signgam-finite.c): New variable. + (CFLAGS-test-signgam-finite-c99.c): Likewise. + (CFLAGS-test-signgam-finite-c11.c): Likewise. + + [BZ #19212] + * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change + conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >= + 500]. + [_POSIX_C_SOURCE >= 1]: Change conditional to [defined + _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1]. + [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined + _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L]. + [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined + _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L]. + [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined + _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L]. + [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined + _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L]. + + [BZ #19209] + * math/bits/math-finite.h (ldexp): Remove declaration. + (ldexpf): Likewise. + (ldexpl): Likewise. + + [BZ #19205] + * math/bits/math-finite.h (acosf): Condition declaration on + [__USE_ISOC99]. + (acosl): Likewise. + (acoshf): Likewise. + (acoshl): Likewise. + (asinf): Likewise. + (asinl): Likewise. + (atan2f): Likewise. + (atan2l): Likewise. + (atanhf): Likewise. + (atanhl): Likewise. + (coshf): Likewise. + (coshl): Likewise. + (expf): Likewise. + (expl): Likewise. + (fmodf): Likewise. + (fmodl): Likewise. + (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99]. + (j0f): Change condition to [__USE_MISC && __USE_ISOC99]. + (j0l): Likewise. + (y0f): Likewise. + (y0l): Likewise. + (j1f): Likewise. + (j1l): Likewise. + (y1f): Likewise. + (y1l): Likewise. + (jnf): Likewise. + (jnl): Likewise. + (ynf): Likewise. + (ynl): Likewise. + (lgammaf_r): Condition declaration on [__USE_ISOC99]. + (lgammal_r): Likewise. + (__lgamma_r_finite): New declaration. + (__lgammaf_r_finite): Likewise. + (__lgammal_r_finite): Likewise. + (lgamma): Use __lgamma_r_finite. + (lgammaf): Condition definition on [__USE_ISOC99]. Use + __lgammaf_r_finite. + (lgammal): Condition definition on [__USE_ISOC99]. Use + __lgammal_r_finite. + (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use + __lgamma_r_finite. + (gammaf): Condition definition on [__USE_ISOC99]. Use + __lgammaf_r_finite. + (gammal): Condition definition on [__USE_ISOC99]. Use + __lgammal_r_finite. + (logf): Condition declaration on [__USE_ISOC99]. + (logl): Likewise. + (log10f): Likewise. + (log10l): Likewise. + (ldexpf): Likewise. + (ldexpl): Likewise. + (powf): Likewise. + (powl): Likewise. + (remainder): Condition declaration on [__USE_XOPEN_EXTENDED || + __USE_ISOC99]. + (remainderf): Condition declaration on [__USE_ISOC99]. + (remainderl): Likewise. + (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8]. + (scalbf): Change condition to [__USE_MISC && __USE_ISOC99]. + (scalbl): Likewise. + (sinhf): Condition declaration on [__USE_ISOC99]. + (sinhl): Likewise. + (sqrtf): Likewise. + (sqrtl): Likewise. + +2015-11-04 Joseph Myers <joseph@codesourcery.com> + + * sysdeps/arm/atomic-machine.h + [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]: + Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]. + [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]: + Remove conditional code. + [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]: + Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]. + * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: + Change conditional to [__ASSEMBLER__]. + [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code. + [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to + [!__ASSEMBLER__]. + [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional + code. + * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove + conditional macro definitions. + (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP. + (__arch_compare_and_exchange_val_16_acq): Likewise. + (__arch_compare_and_exchange_val_32_acq): Likewise. + (atomic_exchange_and_add): Likewise. + (atomic_add): Likewise. + (atomic_add_negative): Likewise. + (atomic_add_zero): Likewise. + (atomic_bit_set): Likewise. + (atomic_bit_test_set): Likewise. + * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make + code unconditional. + [!__GNUC_PREREQ (4, 7)]: Remove conditional code. + + * math/test-math-errno.h: New file. + * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of + empty. + (TEST_ERRNO): New macro. + (TEST_EXCEPTIONS): Likewise. + * math/test-math-no-inline.h (TEST_INLINE): Likewise. + (TEST_EXCEPTIONS): Likewise. + * math/test-math-vector.h (TEST_ERRNO): Likewise. + * math/test-double.c: Include "test-math-errno.h". + * math/test-float.c: Likewise. + * math/test-ldouble.c: Likewise. + * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make + code unconditional. + (test_exceptions): Only run code if TEST_EXCEPTIONS. + (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code + unconditional. + (test_errno): Only run code if TEST_ERRNO. + (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef. + +2015-11-04 Florian Weimer <fweimer@redhat.com> + + * nptl/tst-once5.cc: Remove attribution. + +2015-11-04 Joseph Myers <joseph@codesourcery.com> + + * math/auto-libm-test-in: Add more tests of sin, sincos, sinh, + sqrt, tan, tanh, y0, y1 and yn. + * math/auto-libm-test-out: Regenerated. + * math/libm-test.inc (scalb_test_data): Add more tests. + (scalbn_test_data): Likewise. + (scalbln_test_data): Likewise. + (signbit_test_data): Likewise. + (sin_test_data): Likewise. + (sincos_test_data): Likewise. + (sinh_test_data): Likewise. + (sqrt_test_data): Likewise. + (tan_test_data): Likewise. + (tanh_test_data): Likewise. + (tgamma_test_data): Likewise. + (y0_test_data): Likewise. + (y1_test_data): Likewise. + (yn_test_data): Likewise. + (significand_test_data): Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Update. + +2015-11-03 David Kastrup <dak@gnu.org> + + [BZ #18604] + * assert/assert.h (assert): Don't macro-expand failed assertion + expression in error message. + * malloc/malloc.c (assert): Likewise. + +2015-11-03 Joseph Myers <joseph@codesourcery.com> + + * configure.ac (libc_cv_ld_no_whole_archive): Remove configure + test. + * configure: Regenerated. + +2015-11-02 Joseph Myers <joseph@codesourcery.com> + + * math/libm-test.inc (modf_test_data): Add more tests. + (nearbyint_test_data): Likewise. + (nextafter_test_data): Likewise. + (nexttoward_test_data): Likewise. + (pow_test_data): Likewise. + (remainder_test_data): Likewise. + (remquo_test_data): Likewise. + (rint_test_data): Likewise. + + [BZ #19201] + * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): + Check for zero remainder in case of large exponents and ensure + correct sign of result in that case. + * math/libm-test.inc (remainder_test_data): Add more tests. + + [BZ #6799] + * math/s_nextafter.c: Include <errno.h>. + (__nextafter): Set errno on overflow and underflow. + * math/s_nexttowardf.c: Include <errno.h>. + (__nexttowardf): Set errno on overflow and underflow. + * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>. + (__nextafterl): Set errno on overflow and underflow. + * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>. + (__nexttoward): Set errno on overflow and underflow. + * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>. + (__nexttowardf): Set errno on overflow and underflow. + * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>. + (__nextafterf): Set errno on overflow and underflow. + * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>. + (__nextafterl): Set errno on overflow and underflow. + * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>. + (__nexttoward): Set errno on overflow and underflow. + * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>. + (__nexttowardf): Set errno on overflow and underflow. + * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>. + (__nextafterl): Set errno on overflow and underflow. + * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>. + (__nexttoward): Set errno on overflow and underflow. + * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>. + (__nexttowardf): Set errno on overflow and underflow. + * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>. + (__nexttoward): Set errno on overflow and underflow. + * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>. + (__nexttowardf): Set errno on overflow and underflow. + * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>. + (__nldbl_nexttowardf): Set errno on overflow and underflow. + * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>. + (__nextafterl): Set errno on overflow and underflow. + * math/libm-test.inc (nextafter_test_data): Do not allow errno + setting to be missing on overflow. Add more tests. + (nexttoward_test_data): Likewise. + + * configure.ac (libc_cv_initfini_array): Remove configure test. + * configure: Regenerated. + +2015-10-29 Joseph Myers <joseph@codesourcery.com> + + [BZ #19189] + * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for + non-finite argument handle arguments with negative sign. + + * math/libm-test.inc (j0_test_data): Do not test sign of zero + result from infinite argument. + (j1_test_data): Likewise. + (jn_test_data): Likewise. + (y0_test_data): Likewise. + (y1_test_data): Likewise. + (yn_test_data): Likewise. + + [BZ #16171] + * math/w_remainder.c (drem): Define as weak alias of __remainder. + [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder. + * math/w_remainderf.c (dremf): Define as weak alias of + __remainderf. + * math/w_remainderl.c (dreml): Define as weak alias of + __remainderl. + * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of + __remainder. + * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of + __remainderf. + * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of + __remainderl. + * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as + weak alias of remainderl. + * sysdeps/ieee754/ldbl-opt/w_remainder.c + [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong + alias of __remainder. + [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol. + * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as + strong alias of __remainderl. + (dreml): Use long_double_symbol. + * math/Makefile (libm-calls): Remove w_drem. + * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem. + (CFLAGS-nldbl-drem.c): Remove variable. + (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml. + * math/w_drem.c: Remove file. + * math/w_dremf.c: Likewise. + * math/w_dreml.c: Likewise. + * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise. + * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise. + + * sysdeps/i386/configure.ac (cpuid.h): Do not test for header. + * sysdeps/i386/configure: Regenerated. + * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header. + * sysdeps/x86_64/configure: Regenerated. + + * configure.ac (libc_cv_asm_protected_directive): Remove configure + test. + (libc_cv_visibility_attribute): Likewise. + (libc_cv_protected_data): Test unconditionally. + (libc_cv_broken_visibility_attribute): Remove configure test. + (libc_cv_have_sdata_section): Test unconditionally. + * configure: Regenerated. + + * include/libc-internal.h (libc_max_align_t): Remove typedef. + * include/scratch_buffer.h: Include <stddef.h> instead of + <libc-internal.h>. + (struct scratch_buffer): Use max_align_t instead of + libc_max_align_t. + +2015-10-29 Florian Weimer <fweimer@redhat.com> + + * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array + instead of extend_alloca. Change control flow to avoid a goto. + Remove assert which is trivially always true. + +2015-10-28 Joseph Myers <joseph@codesourcery.com> + + [BZ #16068] + * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>. + (FE_ALL_EXCEPT_X86): New macro. + (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of + FE_ALL_EXCEPT. Ensure precision control is included in + floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV + handle "denormal operand exception" and clear FZ and DAZ bits. + * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>. + (FE_ALL_EXCEPT_X86): New macro. + (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of + FE_ALL_EXCEPT. Ensure precision control is included in + floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV + handle "denormal operand exception" and clear FZ and DAZ bits. + * sysdeps/x86/fpu/test-fenv-sse-2.c: New file. + * sysdeps/x86/fpu/test-fenv-x87.c: Likewise. + * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add + test-fenv-x87 and test-fenv-sse-2. + [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable. + + * math/libm-test.inc (BUILD_COMPLEX): Remove macro. + * math/test-double.h (BUILD_COMPLEX): New macro. + * math/test-float.h (BUILD_COMPLEX): Likewise. + * math/test-ldouble.h (BUILD_COMPLEX): Likewise. + + * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN, + DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__, + __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__. + * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN + instead of DBL_DENORM_MIN in comment. + * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to + LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment. + * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>. + (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__. + * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to + LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment. + +2015-10-28 Florian Weimer <fweimer@redhat.com> + + [BZ# 19048] + * malloc/malloc.c (struct malloc_state): Update comment. Add + attached_threads member. + (main_arena): Initialize attached_threads. + * malloc/arena.c (list_lock): Update comment. + (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise. + (ptmalloc_unlock_all2): Reinitialize arena reference counts. + (deattach_arena): New function. + (_int_new_arena): Initialize arena reference count and deattach + replaced arena. + (get_free_list, reused_arena): Update reference count and deattach + replaced arena. + (arena_thread_freeres): Update arena reference count and only put + unreferenced arenas on the free list. + +2015-10-28 Joseph Myers <joseph@codesourcery.com> + + [BZ #19181] + * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised + SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV. + * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise. + * math/test-fenv-clear-main.c: New file. + * math/test-fenv-clear.c: Likewise. + * math/Makefile (tests): Add test-fenv-clear. + * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file. + * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add + test-fenv-clear-sse. + [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable. + + * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG, + DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__, + __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__. + +2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> + + * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in + static libc. + +2015-10-28 Joseph Myers <joseph@codesourcery.com> + + * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure + test. + * sysdeps/i386/configure: Regenerated. + * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure + test. + * sysdeps/x86_64/configure: Regenerated. + * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef. + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add + memset-avx2 unconditionally instead of conditionally on + [$(config-cflags-avx2) = yes]. + * sysdeps/x86_64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code + unconditional. + * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise. + * sysdeps/x86_64/multiarch/memset_chk.S + [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional + to [IS_IN (libc) && SHARED]. + +2015-10-27 Joseph Myers <joseph@codesourcery.com> + + * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove + configure test. + * sysdeps/arm/configure: Regenerated. + * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc): + Define variable if not already defined. + + [BZ #17404] + * sysdeps/mips/atomic-machine.h + [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]: + Change conditional to [__GNUC_PREREQ (4, 8) || __mips16]. + [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code. + + * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code + unconditional. + * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise. + [!__GNUC_PREREQ (4, 7)]: Remove conditional code. + * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code + unconditional. + [!__GNUC_PREREQ (4, 7)]: Remove conditional code. + * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code + unconditional. + [!__GNUC_PREREQ (4, 7)]: Remove conditional code. + * stdlib/setenv.c + [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make + code unconditional. + [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]: + Remove conditional code. + * sysdeps/ieee754/dbl-64/e_lgamma_r.c + (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code + unconditional. + (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional + code. + * sysdeps/ieee754/flt-32/e_lgammaf_r.c + (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code + unconditional. + (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional + code. + * sysdeps/ieee754/ldbl-128/k_tanl.c + (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional. + (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code. + * sysdeps/ieee754/ldbl-128ibm/k_tanl.c + (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional. + (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code. + * sysdeps/ieee754/ldbl-96/e_lgammal_r.c + (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code + unconditional. + (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional + code. + * sysdeps/ieee754/ldbl-96/k_tanl.c + (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional. + (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code. + + * nptl/tst-initializers1-c11.c: New file. + * nptl/tst-initializers1-gnu11.c: Likewise. + * nptl/Makefile (tests): Add these new tests. + (CFLAGS-tst-initializers1-c11.c): New variable. + (CFLAGS-tst-initializers1-gnu11.c): Likewise. + + * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99. + * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11 + instead of -std=gnu99. + * configure.ac (systemtap): Test with -std=gnu11 instead of + -std=gnu99. + * configure: Regenerated. + * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99 + in compilation command in comment. + + * sysdeps/nptl/configure.ac: Remove file. + * sysdeps/nptl/configure: Remove generated file. + * configure.ac (libc_cv_forced_unwind): Do not substitute. + * configure: Regenerated. + * config.h.in (HAVE_FORCED_UNWIND): Remove #undef. + * config.make.in (have-forced-unwind): Remove variable. + * nptl/Makefile [$(have-forced-unwind) = yes]: Make code + unconditional. + * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise. + * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise. + (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code. + * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional. + * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code + unconditional. + +2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com> + + [BZ #19174] + * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of + .skip_lock_out_of_tbegin_retries. + * sysdeps/unix/sysv/linux/powerpc/elision-lock.c + (__lll_lock_elision): Likewise, and respect a value of + try_tbegin <= 0. + +2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> + + * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case + statement. + +2015-10-27 Joseph Myers <joseph@codesourcery.com> + + * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove + variable. + (test-xfail-ISO11/stdalign.h/conform): Likewise. + (test-xfail-ISO11/stdnoreturn.h/conform): Likewise. + + * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead + of -std=c1x -D_ISOC11_SOURCE. + + * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later. + * configure: Regenerated. + * manual/install.texi (Tools for Compilation): Document + requirement for GCC 4.7 or later. + * INSTALL: Regenerated. + +2015-10-27 Ludovic Courtès <ludo@gnu.org> + + * locale/loadlocale.c (_nl_intern_locale_data): Change assertion + on CNT to a conditional jump to 'puntdata'. + +2015-10-27 Joseph Myers <joseph@codesourcery.com> + + * configure.ac (libc_cv_gcc___thread): Remove configure test. + (libc_cv_gcc_tls_model_attr): Likewise. + * configure: Regenerated. + + * configure.ac (libc_cv_need_minus_P): Remove configure test. + * configure: Regenerated. + * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment. + +2015-10-26 Joseph Myers <joseph@codesourcery.com> + + * configure.ac (old_glibc_headers): Remove configure test. + * configure: Regenerated. + * config.make.in (old-glibc-headers): Remove variable. + * Makefile [!$(install_root) && $(old-glibc-headers) = yes] + (install): Remove dependency on remove-old-headers. + (headers2_0): Remove variable. + (remove-old-headers): Remove rule. + + * configure.ac (libc_cv_dot_text): Remove configure test. + (libc_cv_asm_set_directive): Use .text instead of + ${libc_cv_dot_text} in configure test. + * configure: Regenerated. + +2015-10-26 Florian Weimer <fweimer@redhat.com> + + [BZ #19168] + * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated. + +2015-10-26 Florian Weimer <fweimer@redhat.com> + + * configure.ac (CXX): Clear the variable if the C++ toolchain does + not support static linking. + * configure: Regenerate. + +2015-10-23 Joseph Myers <joseph@codesourcery.com> + + * math/libm-test.inc (check_float_internal): Do not special-case + errors up to 0.5 ulp. + + * math/auto-libm-test-in: Add more tests of log, log10, log1p and + log2. + * math/auto-libm-test-out: Regenerated. + * math/libm-test.inc (MAX_EXP): New macro. + (ilogb_test_data): Add more tests. + (isfinite_test_data): Likewise. + (isgreater_test_data): Likewise. + (isgreaterequal_test_data): Likewise. + (isinf_test_data): Likewise. + (isless_test_data): Likewise. + (islessequal_test_data): Likewise. + (islessgreater_test_data): Likewise. + (isnan_test_data): Likewise. + (isnormal_test_data): Likewise. + (issignaling_test_data): Likewise. + (isunordered_test_data): Likewise. + (j0_test_data): Likewise. + (j1_test_data): Likewise. + (jn_test_data): Likewise. + (lgamma_test_data): Likewise. + (log_test_data): Likewise. + (log10_test_data): Likewise. + (log1p_test_data): Likewise. + (log2_test_data): Likewise. + (logb_test_data): Likewise. + * sysdeps/x86_64/fpu/libm-test-ulps: Update. + + [BZ #18611] + * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and + avoid excess range and precision on underflow. + * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise. + * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise. + * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise. + * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on + underflow. + * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise. + * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise. + * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise. + * math/auto-libm-test-in: Do not allow missing errno setting for + tests of j1 and jn. + * math/auto-libm-test-out: Regenerated. + +2015-10-22 Joseph Myers <joseph@codesourcery.com> + + [BZ #15491] + * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore + floating-point environment instead of clearing all exceptions. + * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise. + * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise, + merging in "invalid" exceptions from frndint. + * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise. + * math/test-nearbyint-except.c: New file. + * math/Makefile (tests): Add test-nearbyint-except. + +2015-10-22 Chris Metcalf <cmetcalf@ezchip.com> + + * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0. + + * sysdeps/tile/libm-test-ulps: Regenerated. + +2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org> + + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c + (__NR_sync_file_range2): Assume it is always defined. + * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c + (__NR_sync_file_range): Assume it is always defined. + +2015-10-22 Andreas Schwab <schwab@suse.de> + + * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use + INTERNAL_SYSCALL_ERRNO. + * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise. + * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise. + * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise. + * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): + Likewise. + * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise. + +2015-10-21 Joseph Myers <joseph@codesourcery.com> + + * io/tst-fcntl.c (fd): New static variable. + (do_prepare): Open temporary file here.... + (do_test): ...not here. + + * io/ftwtest-sh: Also trap on exit to remove temporary files. + +2015-10-21 H.J. Lu <hongjiu.lu@intel.com> + + * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace + __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5. + * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5): + Moved before "#ifdef __ASSEMBLER__". + +2015-10-21 Joseph Myers <joseph@codesourcery.com> + + [BZ #19156] + * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for + arguments very close to 0. + +2015-10-21 Chris Metcalf <cmetcalf@ezchip.com> + + * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END) + (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining. + +2015-10-21 H.J. Lu <hongjiu.lu@intel.com> + + * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5): + New. Defined for GCC 5 and above when not compiling for + profiling. + Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5. + + * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c): + Renamed to ... + (CFLAGS-epoll_pwait.o): This. + (CFLAGS-mmap.c): Renamed to ... + (CFLAGS-mmap.o): This. + (CFLAGS-mmap64.c): Renamed to ... + (CFLAGS-mmap64.o): This. + (CFLAGS-epoll_pwait.os): New. + (CFLAGS-mmap.os): Likewise. + (CFLAGS-mmap64.os): Likewise. + (CFLAGS-semtimedop.os): Likewise. + (CFLAGS-semtimedop.c): Renamed to ... + (CFLAGS-semtimedop.o): This. + +2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com> + + * debug/tst-backtrace4.c (handle_signal): Fix a comment and + warning message. + +2015-10-21 Joseph Myers <joseph@codesourcery.com> + + * Makeconfig (+gccwarn-c): Add -Wold-style-definition. + * Makefile ($(objpfx)c++-types-check.out): Filter out + $(+gccwarn-c) instead of -Wstrict-prototypes. + + * io/fts.c (fts_open): Convert to prototype-style function + definition. + * malloc/mcheck.c (mcheck): Likewise. + (mcheck_pedantic): Likewise. + * posix/regexec.c (re_search_2_stub): Likewise. Use + internal_function. + (re_search_internal): Likewise. + * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to + prototype-style function definition. + * sunrpc/clnt_udp.c (clntudp_call): Likewise. + * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise. + * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise. + (xdr_utmpptr): Likewise. + (xdr_utmparr): Likewise. + (xdr_utmpidle): Likewise. + (xdr_utmpidleptr): Likewise. + (xdr_utmpidlearr): Likewise. + + * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn, + log, log10 and log2. + * math/auto-libm-test-out: Regenerated. + * math/libm-test.inc (fmod_test_data): Add more tests. + (fpclassify_test_data): Likewise. + (frexp_test_data): Likewise. + (hypot_test_data): Likewise. + (ilogb_test_data): Likewise. + +2015-10-20 Joseph Myers <joseph@codesourcery.com> + + * debug/fortify_fail.c (__fortify_fail): Convert to + prototype-style function definition. Use internal_function. + * libio/genops.c (save_for_backup): Convert to prototype-style + function definition. + * libio/wgenops.c (save_for_wbackup): Likewise. + * login/grantpt.c (grantpt): Likewise. + * login/ptsname.c (ptsname): Likewise. + (__ptsname_r): Likewise. + * login/unlockpt.c (unlockpt): Likewise. + * mach/msgserver.c (__mach_msg_server): Likewise. + * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise. + (__APPEND (FUNC_PREFIX, ecvt)): Likewise. + (__APPEND (FUNC_PREFIX, gcvt)): Likewise. + * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise. + (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise. + * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise. + * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer): + Likewise. + * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use + internal_function. + * nptl/pthread_atfork.c (__pthread_atfork): Convert to + prototype-style function definition. + * nptl/pthread_create.c (__pthread_create_2_1): Likewise. + [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)] + (__pthread_create_2_0): Likewise. + * nptl/pthread_key_create.c (__pthread_key_create): Likewise. + * nptl/register-atfork.c (__register_atfork): Likewise. + * posix/glob.c (glob): Likewise. + * posix/regcomp.c (re_comp): Likewise. + * posix/regexec.c (re_exec): Likewise. + * stdlib/add_n.c [__STDC__]: Make code unconditional. + [!__STDC__]: Remove conditional code. + * stdlib/cmp.c [__STDC__]: Make code unconditional. + [!__STDC__]: Remove conditional code. + * stdlib/divmod_1.c [__STDC__]: Make code unconditional. + [!__STDC__]: Remove conditional code. + * stdlib/divrem.c [__STDC__]: Make code unconditional. + [!__STDC__]: Remove conditional code. + * stdlib/lshift.c [__STDC__]: Make code unconditional. + [!__STDC__]: Remove conditional code. + * stdlib/mod_1.c [__STDC__]: Make code unconditional. + [!__STDC__]: Remove conditional code. + * stdlib/mul.c [__STDC__]: Make code unconditional. + [!__STDC__]: Remove conditional code. + * stdlib/mul_n.c [__STDC__]: Make code unconditional. + [!__STDC__]: Remove conditional code. + * stdlib/rshift.c [__STDC__]: Make code unconditional. + [!__STDC__]: Remove conditional code. + * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style + function definition. + (STRTOF): Likewise. + * stdlib/strtod_l.c (__STRTOF): Likewise. + * stdlib/strtol.c (INTERNAL (strtol)): Likewise. + * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise. + (__strtol_l): Likewise. + * stdlib/sub_n.c [__STDC__]: Make code unconditional. + [!__STDC__]: Remove conditional code. + * string/memrchr.c (MEMRCHR): Convert to prototype-style function + definition. + * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro. + [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument + type. + (__strcasecmp): Convert to prototype-style function definition. + * string/strncase.c (LOCALE_PARAM_DECL): Remove macro. + [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument + type. + (__strncasecmp): Convert to prototype-style function definition. + * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise. + * sunrpc/xdr.c (xdr_union): Likewise. + * sunrpc/xdr_array.c (xdr_array): Likewise. + * sunrpc/xdr_ref.c (xdr_reference): Likewise. + * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise. + * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)): + Likewise. + * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix): + Likewise. + * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise. + * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): + Likewise. + * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro. + (LOCALE_PARAM_PROTO): Likewise. + [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include + argument type. + (ut_argument_spec): Remove macro. + (ut_argument_spec_iso): Rename to ut_argument_spec. + (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to + prototype-style function definition. + (memcpy_uppcase): Likewise. + (__strftime_internal): Likewise. + (my_strftime): Likewise. + * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro. + (LOCALE_PARAM_DECL): Likewise. + [_LIBC] (LOCALE_PARAM): Include argument type. + (__strptime_internal): Convert to prototype-style function + definition. + (strptime): Likewise. + * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro. + [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument + type. + (__wcscasecmp): Convert to prototype-style function definition. + * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro. + [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument + type. + (__wcsncasecmp): Convert to prototype-style function definition. + + * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style + function definition. + * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise. + * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise. + * debug/backtracesyms.c (__backtrace_symbols): Likewise. + * elf/dl-minimal.c (_itoa): Likewise. + * hurd/hurdmalloc.c (malloc): Likewise. + (free): Likewise. + (realloc): Likewise. + * inet/inet6_option.c (inet6_option_space): Likewise. + (inet6_option_init): Likewise. + (inet6_option_append): Likewise. + (inet6_option_alloc): Likewise. + (inet6_option_next): Likewise. + (inet6_option_find): Likewise. + * io/ftw.c (FTW_NAME): Likewise. + (NFTW_NAME): Likewise. + (NFTW_NEW_NAME): Likewise. + (NFTW_OLD_NAME): Likewise. + * libio/iofwide.c (_IO_fwide): Likewise. + * libio/strops.c (_IO_str_init_static_internal): Likewise. + (_IO_str_init_static): Likewise. + (_IO_str_init_readonly): Likewise. + (_IO_str_overflow): Likewise. + (_IO_str_underflow): Likewise. + (_IO_str_count): Likewise. + (_IO_str_seekoff): Likewise. + (_IO_str_pbackfail): Likewise. + (_IO_str_finish): Likewise. + * libio/wstrops.c (_IO_wstr_init_static): Likewise. + (_IO_wstr_overflow): Likewise. + (_IO_wstr_underflow): Likewise. + (_IO_wstr_count): Likewise. + (_IO_wstr_seekoff): Likewise. + (_IO_wstr_pbackfail): Likewise. + (_IO_wstr_finish): Likewise. + * locale/programs/localedef.c (normalize_codeset): Likewise. + * locale/programs/locarchive.c (add_locale_to_archive): Likewise. + (add_locales_to_archive): Likewise. + (delete_locales_from_archive): Likewise. + * malloc/malloc.c (__libc_mallinfo): Likewise. + * math/gen-auto-libm-tests.c (init_fp_formats): Likewise. + * misc/tsearch.c (__tfind): Likewise. + * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise. + * nptl/pthread_attr_getdetachstate.c + (__pthread_attr_getdetachstate): Likewise. + * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize): + Likewise. + * nptl/pthread_attr_getinheritsched.c + (__pthread_attr_getinheritsched): Likewise. + * nptl/pthread_attr_getschedparam.c + (__pthread_attr_getschedparam): Likewise. + * nptl/pthread_attr_getschedpolicy.c + (__pthread_attr_getschedpolicy): Likewise. + * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): + Likewise. + * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): + Likewise. + * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr): + Likewise. + * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize): + Likewise. + * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise. + (__pthread_attr_init_2_0): Likewise. + * nptl/pthread_attr_setdetachstate.c + (__pthread_attr_setdetachstate): Likewise. + * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize): + Likewise. + * nptl/pthread_attr_setinheritsched.c + (__pthread_attr_setinheritsched): Likewise. + * nptl/pthread_attr_setschedparam.c + (__pthread_attr_setschedparam): Likewise. + * nptl/pthread_attr_setschedpolicy.c + (__pthread_attr_setschedpolicy): Likewise. + * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): + Likewise. + * nptl/pthread_attr_setstack.c (__pthread_attr_setstack): + Likewise. + * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr): + Likewise. + * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize): + Likewise. + * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock): + Likewise. + * nptl/pthread_create.c (__find_in_stack_list): Likewise. + * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise. + * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to + use internal_function. + * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to + prototype-style function definition. + * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise. + (__pthread_mutex_cond_lock_adjust): Likewise. Use + internal_function. + * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): + Convert to prototype-style function definition. + * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): + Likewise. + * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt): + Likewise. + (__pthread_mutex_unlock): Likewise. + * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise. + * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise. + * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise. + * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise. + * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise. + * nss/makedb.c (process_input): Likewise. + * posix/fnmatch.c (__strchrnul): Likewise. + (__wcschrnul): Likewise. + (fnmatch): Likewise. + * posix/fnmatch_loop.c (FCT): Likewise. + * posix/glob.c (globfree): Likewise. + (__glob_pattern_type): Likewise. + (__glob_pattern_p): Likewise. + * posix/regcomp.c (re_compile_pattern): Likewise. + (re_set_syntax): Likewise. + (re_compile_fastmap): Likewise. + (regcomp): Likewise. + (regerror): Likewise. + (regfree): Likewise. + * posix/regexec.c (regexec): Likewise. + (re_match): Likewise. + (re_search): Likewise. + (re_match_2): Likewise. + (re_search_2): Likewise. + (re_search_stub): Likewise. Use internal_function + (re_copy_regs): Likewise. + (re_set_registers): Convert to prototype-style function + definition. + (prune_impossible_nodes): Likewise. Use internal_function. + * resolv/inet_net_pton.c (inet_net_pton): Convert to + prototype-style function definition. + (inet_net_pton_ipv4): Likewise. + * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise. + * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise. + * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise. + * sysdeps/pthread/timer_delete.c (timer_delete): Likewise. + * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise. + Make variadic. + * time/strptime_l.c (localtime_r): Convert to prototype-style + function definition. + * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise. + * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise. + * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise. + * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise. + + * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function + definition. + (_ufc_doit_r): Likewise. + * crypt/crypt_util.c (_ufc_copymem): Likewise. + (_ufc_output_conversion_r): Likewise. + * inet/inet_mkadr.c (__inet_makeaddr): Likewise. + * inet/rcmd.c (rcmd_af): Likewise. + (rcmd): Likewise. + (ruserok_af): Likewise. + (ruserok): Likewise. + (ruserok2_sa): Likewise. + (ruserok_sa): Likewise. + (iruserok_af): Likewise. + (iruserok): Likewise. + (__ivaliduser): Likewise. + (__validuser2_sa): Likewise. + * inet/rexec.c (rexec_af): Likewise. + (rexec): Likewise. + * inet/ruserpass.c (ruserpass): Likewise. + * locale/programs/xmalloc.c (xcalloc): Likewise. + * manual/examples/timeval_subtract.c (timeval_subtract): Likewise. + * math/w_drem.c (__drem): Likewise. + * math/w_dremf.c (__dremf): Likewise. + * math/w_dreml.c (__dreml): Likewise. + * misc/daemon.c (daemon): Likewise. + * resolv/res_debug.c (p_fqnname): Likewise. + * stdlib/div.c (div): Likewise. + * string/memcmp.c (memcmp_bytes): Likewise. + * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise. + * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise. + + * crypt/cert.c (main): Convert to prototype-style function + definition. + * io/pipe.c (__pipe): Likewise. + * io/pipe2.c (__pipe2): Likewise. + * misc/futimesat.c (futimesat): Likewise. + * misc/utimes.c (__utimes): Likewise. + * posix/execve.c (__execve): Likewise. + * posix/execvp.c (execvp): Likewise. + * posix/execvpe.c (__execvpe): Likewise. + * posix/fexecve.c (fexecve): Likewise. + * socket/socketpair.c (socketpair): Likewise. + * stdlib/drand48-iter.c (__drand48_iterate): Likewise. + * stdlib/erand48.c (erand48): Likewise. + * stdlib/erand48_r.c (__erand48_r): Likewise. + * stdlib/jrand48.c (jrand48): Likewise. + * stdlib/jrand48_r.c (__jrand48_r): Likewise. + * stdlib/lcong48.c (lcong48): Likewise. + * stdlib/lcong48_r.c (__lcong48_r): Likewise. + * stdlib/nrand48.c (nrand48): Likewise. + * stdlib/nrand48_r.c (__nrand48_r): Likewise. + * stdlib/seed48.c (seed48): Likewise. + * stdlib/seed48_r.c (__seed48_r): Likewise. + * sysdeps/mach/hurd/execve.c (__execve): Likewise. + * sysdeps/mach/hurd/utimes.c (__utimes): Likewise. + * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise. + +2015-10-19 Joseph Myers <joseph@codesourcery.com> + + * configure.ac (libc_cv_asm_unique_object): Remove configure test. + * configure: Regenerated. + * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef. + * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code + unconditional. + * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise. + * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise. + * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise. + (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code. + * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code + unconditional. + * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise. + + * posix/Makefile (CFLAGS-regex.c): Remove variable. + * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes. + + * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style + function definition. + * crypt/crypt_util.c (__encrypt_r): Likewise. + * libio/genops.c (_IO_no_init): Likewise. + * libio/iofopncook.c (_IO_fopencookie): Likewise. + (_IO_old_fopencookie): Likewise. + * libio/iofwrite_u.c (fwrite_unlocked): Likewise. + * libio/iogetline.c (_IO_getline): Likewise. + (_IO_getline_info): Likewise. + * libio/iogetwline.c (_IO_getwline): Likewise. + (_IO_getwline_info): Likewise. + * libio/vsnprintf.c (_IO_vsnprintf): Likewise. + * libio/vswprintf.c (_IO_vswprintf): Likewise. + * locale/programs/simple-hash.c (insert_entry_2): Likewise. + (find_entry): Likewise. + (iterate_table): Likewise. + (lookup): Likewise. + * login/forkpty.c (forkpty): Likewise. + * misc/hsearch_r.c (__hsearch_r): Likewise. + * misc/select.c (__select): Likewise. + * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore): + Likewise. + * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0): + Likewise. + * nptl/old_pthread_cond_timedwait.c + (__pthread_cond_timedwait_2_0): Likewise. + * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise. + * nptl/pthread_barrierattr_getpshared.c + (pthread_barrierattr_getpshared): Likewise. + * nptl/pthread_getschedparam.c (__pthread_getschedparam): + Likewise. + * nptl/pthread_mutex_setprioceiling.c + (pthread_mutex_setprioceiling): Likewise. + * nptl/pthread_mutexattr_getprioceiling.c + (pthread_mutexattr_getprioceiling): Likewise. + * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise. + * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock): + Likewise. + * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): + Likewise. + * nptl/pthread_setschedparam.c (__pthread_setschedparam): + Likewise. + * socket/recvfrom.c (__recvfrom): Likewise. + * socket/sendto.c (__sendto): Likewise. + * socket/setsockopt.c (__setsockopt): Likewise. + * stdio-common/_itoa.c (_itoa): Likewise. + * stdio-common/_itowa.c (_itowa): Likewise. + * stdio-common/reg-printf.c (__register_printf_specifier): + Likewise. + (__register_printf_function): Likewise. + * stdio-common/tempname.c (__path_search): Likewise. + * stdlib/addmul_1.c (mpn_addmul_1): Likewise. + * stdlib/mul_1.c (mpn_mul_1): Likewise. + * stdlib/random_r.c (__initstate_r): Likewise. + * stdlib/setenv.c (__add_to_environ): Likewise. + * stdlib/submul_1.c (mpn_submul_1): Likewise. + * streams/getpmsg.c (getpmsg): Likewise. + * streams/putmsg.c (putmsg): Likewise. + * streams/putpmsg.c (putpmsg): Likewise. + * sunrpc/clnt_raw.c (clntraw_call): Likewise. + * sunrpc/clnt_tcp.c (clnttcp_call): Likewise. + * sunrpc/clnt_udp.c (clntudp_create): Likewise. + * sunrpc/clnt_unix.c (clntunix_call): Likewise. + * sunrpc/pm_getport.c (pmap_getport): Likewise. + * sunrpc/svc_udp.c (cache_get): Likewise. + * sunrpc/xdr_array.c (xdr_vector): Likewise. + * sysdeps/mach/hurd/getcwd.c + (__canonicalize_directory_name_internal): Likewise. + * sysdeps/mach/hurd/pselect.c (__pselect): Likewise. + * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise. + * sysdeps/mach/hurd/select.c (__select): Likewise. + * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise. + * sysdeps/pthread/timer_settime.c (timer_settime): Likewise. + * sysdeps/sparc/nptl/pthread_barrier_init.c + (__pthread_barrier_init): Likewise. + * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c + (__pthread_cond_timedwait): Likewise. + * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise. + * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop): + Likewise. + * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise. + * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime): + Likewise. + * sysvipc/semtimedop.c (semtimedop): Likewise. + * time/setitimer.c (__setitimer): Likewise. + * time/strftime_l.c (emacs_strftime): Likewise. + +2015-10-19 Mike Frysinger <vapier@gentoo.org> + + * config.make.in (have-ssp): Delete. + (stack-protector): New variable. + * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong + cache test for -fstack-protector-strong. Export stack_protector to + the best ssp flag. + * configure: Regenerated. + * login/Makefile (pt_chown-cflags): Always add $(stack-protector). + * nscd/Makefile (CFLAGS-nscd): Likewise. + * resolv/Makefile (CFLAGS-libresolv): Likewise. + +2015-10-16 H.J. Lu <hongjiu.lu@intel.com> + + [BZ #19122] + * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add + attribute_hidden. + +2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com> + + [BZ #18743] + * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this + code to... + (ELIDE_LOCK): ...here. + (__get_new_count): New function with part of the code from + __elide_lock that updates the value of adapt_count after a + transaction abort. + (__elided_trylock): Moved this code to... + (ELIDE_TRYLOCK): ...here. + +2015-10-19 Mike Frysinger <vapier@gentoo.org> + + * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing. + * configure: Regenerate. + * INSTALL: Regenerate. + * manual/install.texi (--disable-timezone-tools): Use @theglibc{} + and tweak grammar. + +2015-10-19 Geoffrey Thomas <geofft@ldpreload.com> + + * login/programs/pt_chown.c: Include signal.h + (main): Clear any signal mask from the parent process. + +2015-10-19 Joseph Myers <joseph@codesourcery.com> + + * configure.ac (libc_cv_gnu89_inline): Remove configure test. + * configure: Regenerated. + * config.make.in (gnu89-inline-CFLAGS): Remove variable. + * Makeconfig (CFLAGS): Use -fgnu89-inline instead of + $(gnu89-inline-CFLAGS). + + * configure.ac (libc_cv_asm_weak_directive): Remove configure + test. + (libc_cv_asm_weakext_directive): Likewise. + * configure: Regenerated. + * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef. + (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise. + * include/libc-symbols.h + [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove + #error. + [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code. + [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional. + + * sysdeps/arm/backtrace.c (__backtrace): Convert to + prototype-style function definition. + * sysdeps/i386/backtrace.c (__backtrace): Likewise. + * sysdeps/i386/ffs.c (__ffs): Likewise. + * sysdeps/i386/i686/ffs.c (__ffs): Likewise. + * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock): + Likewise. + * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock): + Likewise. + * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): + Likewise. + * sysdeps/m68k/ffs.c (__ffs): Likewise. + * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise. + * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise. + * sysdeps/mach/adjtime.c (__adjtime): Likewise. + * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise. + * sysdeps/mach/hurd/_exit.c (_exit): Likewise. + * sysdeps/mach/hurd/access.c (__access): Likewise. + * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise. + * sysdeps/mach/hurd/chdir.c (__chdir): Likewise. + * sysdeps/mach/hurd/chmod.c (__chmod): Likewise. + * sysdeps/mach/hurd/chown.c (__chown): Likewise. + * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise. + (cthread_getspecific): Likewise. + (cthread_setspecific): Likewise. + (__libc_getspecific): Likewise. + * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise. + * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise. + * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise. + * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise. + * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise. + * sysdeps/mach/hurd/fchown.c (__fchown): Likewise. + * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise. + * sysdeps/mach/hurd/flock.c (__flock): Likewise. + * sysdeps/mach/hurd/fsync.c (fsync): Likewise. + * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise. + * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise. + * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise. + * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise. + * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise. + * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise. + * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise. + * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise. + * sysdeps/mach/hurd/group_member.c (__group_member): Likewise. + * sysdeps/mach/hurd/isatty.c (__isatty): Likewise. + * sysdeps/mach/hurd/lchown.c (__lchown): Likewise. + * sysdeps/mach/hurd/link.c (__link): Likewise. + * sysdeps/mach/hurd/linkat.c (linkat): Likewise. + * sysdeps/mach/hurd/listen.c (__listen): Likewise. + * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise. + * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise. + * sysdeps/mach/hurd/openat.c (__openat): Likewise. + * sysdeps/mach/hurd/poll.c (__poll): Likewise. + * sysdeps/mach/hurd/readlink.c (__readlink): Likewise. + * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise. + * sysdeps/mach/hurd/recv.c (__recv): Likewise. + * sysdeps/mach/hurd/rename.c (rename): Likewise. + * sysdeps/mach/hurd/renameat.c (renameat): Likewise. + * sysdeps/mach/hurd/revoke.c (revoke): Likewise. + * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise. + * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise. + * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise. + * sysdeps/mach/hurd/send.c (__send): Likewise. + * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise. + * sysdeps/mach/hurd/setegid.c (setegid): Likewise. + * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise. + * sysdeps/mach/hurd/setgid.c (__setgid): Likewise. + * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise. + * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise. + * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise. + * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise. + * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise. + * sysdeps/mach/hurd/setregid.c (__setregid): Likewise. + * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise. + * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise. + * sysdeps/mach/hurd/setuid.c (__setuid): Likewise. + * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise. + * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise. + * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise. + * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise. + * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise. + * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise. + * sysdeps/mach/hurd/socket.c (__socket): Likewise. + * sysdeps/mach/hurd/symlink.c (__symlink): Likewise. + * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise. + * sysdeps/mach/hurd/telldir.c (telldir): Likewise. + * sysdeps/mach/hurd/truncate.c (__truncate): Likewise. + * sysdeps/mach/hurd/umask.c (__umask): Likewise. + * sysdeps/mach/hurd/unlink.c (__unlink): Likewise. + * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise. + * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise. + * sysdeps/posix/alarm.c (alarm): Likewise. + * sysdeps/posix/cuserid.c (cuserid): Likewise. + * sysdeps/posix/dirfd.c (dirfd): Likewise. + * sysdeps/posix/dup.c (__dup): Likewise. + * sysdeps/posix/dup2.c (__dup2): Likewise. + * sysdeps/posix/euidaccess.c (euidaccess): Likewise. + (main): Likewise. + * sysdeps/posix/flock.c (__flock): Likewise. + * sysdeps/posix/fpathconf.c (__fpathconf): Likewise. + * sysdeps/posix/getcwd.c (__getcwd): Likewise. + * sysdeps/posix/gethostname.c (__gethostname): Likewise. + * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise. + * sysdeps/posix/isatty.c (__isatty): Likewise. + * sysdeps/posix/killpg.c (killpg): Likewise. + * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise. + * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise. + * sysdeps/posix/raise.c (raise): Likewise. + * sysdeps/posix/remove.c (remove): Likewise. + * sysdeps/posix/rename.c (rename): Likewise. + * sysdeps/posix/rewinddir.c (__rewinddir): Likewise. + * sysdeps/posix/seekdir.c (seekdir): Likewise. + * sysdeps/posix/sigblock.c (__sigblock): Likewise. + * sysdeps/posix/sigignore.c (sigignore): Likewise. + * sysdeps/posix/sigintr.c (siginterrupt): Likewise. + * sysdeps/posix/signal.c (__bsd_signal): Likewise. + * sysdeps/posix/sigset.c (sigset): Likewise. + * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise. + * sysdeps/posix/sysconf.c (__sysconf): Likewise. + * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise. + * sysdeps/posix/time.c (time): Likewise. + * sysdeps/posix/ttyname.c (getttyname): Likewise. + (ttyname): Likewise. + * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise. + * sysdeps/posix/utime.c (utime): Likewise. + * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise. + * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock): + Likewise. + * sysdeps/powerpc/nptl/pthread_spin_trylock.c + (pthread_spin_trylock): Likewise. + * sysdeps/pthread/aio_error.c (aio_error): Likewise. + * sysdeps/pthread/aio_read.c (aio_read): Likewise. + * sysdeps/pthread/aio_read64.c (aio_read64): Likewise. + * sysdeps/pthread/aio_write.c (aio_write): Likewise. + * sysdeps/pthread/aio_write64.c (aio_write64): Likewise. + * sysdeps/pthread/flockfile.c (__flockfile): Likewise. + * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise. + * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise. + * sysdeps/pthread/timer_create.c (timer_create): Likewise. + * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise. + * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise. + * sysdeps/s390/ffs.c (__ffs): Likewise. + * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock): + Likewise. + * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock): + Likewise. + * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock): + Likewise. + * sysdeps/sparc/nptl/pthread_barrier_destroy.c + (pthread_barrier_destroy): Likewise. + * sysdeps/sparc/nptl/pthread_barrier_wait.c + (__pthread_barrier_wait): Likewise. + * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise. + * sysdeps/sparc/sparc32/pthread_barrier_wait.c + (__pthread_barrier_wait): Likewise. + * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise. + * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise. + (memcmp_not_common_alignment): Likewise. + (MEMCMP): Likewise. + * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise. + (_wordcopy_fwd_dest_aligned): Likewise. + (_wordcopy_bwd_aligned): Likewise. + (_wordcopy_bwd_dest_aligned): Likewise. + * sysdeps/unix/bsd/ftime.c (ftime): Likewise. + * sysdeps/unix/bsd/gtty.c (gtty): Likewise. + * sysdeps/unix/bsd/stty.c (stty): Likewise. + * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise. + * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise. + * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise. + * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise. + * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise. + * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise. + * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise. + * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise. + * sysdeps/unix/bsd/wait3.c (__wait3): Likewise. + * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise. + * sysdeps/unix/sockatmark.c (sockatmark): Likewise. + * sysdeps/unix/stime.c (stime): Likewise. + * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise. + * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): + Likewise. Use internal_function. + * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction): + Convert to prototype-style function definition. + * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise. + * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise. + * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise. + * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue): + Likewise. Use internal_function. + * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to + prototype-style function definition + * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): + Likewise. + (__getlogin_r): Likewise. + * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise. + * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c + (__pthread_cond_broadcast): Likewise. + * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c + (__pthread_cond_destroy): Likewise. + * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c + (__pthread_cond_init): Likewise. + * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c + (__pthread_cond_signal): Likewise. + * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c + (__pthread_cond_wait): Likewise. + * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise. + * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise. + * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction): + Likewise. + * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending): + Likewise. + * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask): + Likewise. + * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction): + Likewise. + * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c + (__ftruncate64): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c + (truncate64): Likewise. + * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise. + * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c + (pthread_getcpuclockid): Likewise. + * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np): + Likewise. + * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np): + Likewise. + * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask): + Likewise. + * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue): + Likewise. + * sysdeps/unix/sysv/linux/raise.c (raise): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c + (__libc_sigaction): Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending): + Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c + (__sigprocmask): Likewise. + * sysdeps/unix/sysv/linux/semget.c (semget): Likewise. + * sysdeps/unix/sysv/linux/semop.c (semop): Likewise. + * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise. + * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise. + * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise. + * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise. + * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction): + Likewise. + * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise. + * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise. + * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise. + * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending): + Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c + (__sigprocmask): Likewise. + * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise. + (cfgetispeed): Likewise. + (cfsetospeed): Likewise. + (cfsetispeed): Likewise. + * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise. + * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise. + * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise. + * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise. + * sysdeps/unix/sysv/linux/time.c (time): Likewise. + * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise. + * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise. + * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun): + Likewise. + * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime): + Likewise. + * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending): + Likewise. + * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask): + Likewise. + * sysdeps/x86_64/backtrace.c (__backtrace): Likewise. + +2015-10-17 Florian Weimer <fweimer@redhat.com> + + sunrpc: Rewrite with explicit TLS access using __thread. + * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable. + (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars + directly. + (__rpc_thread_variables): Access thread_rpc_vars directly. + Eliminate redundant assignment of the tvp variable. + +2015-10-17 Florian Weimer <fweimer@redhat.com> + + malloc: Rewrite with explicit TLS access using __thread. + * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create) + (tsd_setspecific, tsd_getspecific): Remove. + * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create) + (tsd_setspecific, tsd_getspecific): Likewise. + * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create) + (tsd_setspecific, tsd_getspecific): Likewise. + * malloc/arena.c (thread_arena): New TLS variable. + (arena_key): Remove variable. + (arena_get): Use thread_arena. + (arena_lookup): Remove macro. + (malloc_atfork, free_atfork, ptmalloc_lock_all) + (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init) + (_int_new_arena, get_free_list, reused_arena) + (arena_thread_freeres): Use thread_arena. + * manual/memory.texi (Basic Allocation): Remove arena_lookup, + tsd_getspecific, tsd_setspecific from safety annotations. + (Allocating Cleared Space): Remove arena_lookup from safety + annotations. + +2015-10-17 Florian Weimer <fweimer@redhat.com> + + * stdio-common/vfprintf.c (printf_positional): Rewrite to use + struct scratch_buffer instead of extend_alloca. + +2015-10-17 Florian Weimer <fweimer@redhat.com> + + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_SOCK_CLOEXEC): Remove. + * include/sys/socket.h (__have_sock_cloexec): Remove declaration. + (__have_paccept): Remove unused macro. + * include/unistd.h (__have_sock_cloexec): Remove declaration. + * misc/syslog.c (openlog_internal): Remove fallback code for + !__ASSUME_SOCK_CLOEXEC. + * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for + missing SOCK_CLOEXEC. + * nscd/connections.c (have_sock_cloexec): Remove definition. + (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC. + * nscd/nscd_helper.c (open_socket): Remove fallback code for + !__ASSUME_SOCK_CLOEXEC. + * resolv/res_send.c (__have_o_nonblock): Remove definition. + (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC. + * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove + definition. + * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback + code for !__ASSUME_SOCK_CLOEXEC. + +2015-10-17 Florian Weimer <fweimer@redhat.com> + + [BZ #18982] + * manual/stdio.texi (Variable Arguments Output): Add portability + note, explaining that vfprintf clobbers the va_list pointer. + +2015-10-16 Joseph Myers <joseph@codesourcery.com> + + * math/libm-test.inc (fabs_test_data): Add more tests. + (fdim_test_data): Likewise. + (fma_test_data): Likewise. + (fmax_test_data): Likewise. + (fmin_test_data): Likewise. + (fmod_test_data): Likewise. + +2015-10-16 Steve Ellcey <sellcey@imgtec.com> + + * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned + data. + +2015-10-16 Joseph Myers <joseph@codesourcery.com> + + * math/libm-test.inc (ceil_test_data): Add more tests and more + expectations for "inexact". + (floor_test_data): Add more tests. + (round_test_data): Likewise. + (trunc_test_data): Likewise. + + * crypt/cert.c (good_bye): Convert to prototype-style function + definition. + (get8): Likewise. + (put8): Likewise. + * crypt/crypt-entry.c (crypt): Likewise. + (__fcrypt): Likewise. + * crypt/crypt_util.c (_ufc_prbits): Likewise. + (_ufc_set_bits): Likewise. + (_ufc_clearmem): Likewise. + (__init_des_r): Likewise. + (shuffle_sb): Likewise. + (shuffle_sb): Likewise. + (_ufc_setup_salt_r): Likewise. + (_ufc_mk_keytab_r): Likewise. + (_ufc_dofinalperm_r): Likewise. + (encrypt): Likewise. + (__setkey_r): Likewise. + (setkey): Likewise. + * crypt/md5.c (md5_init_ctx): Likewise. + (md5_read_ctx): Likewise. + (md5_finish_ctx): Likewise. + (md5_stream): Likewise. + (md5_buffer): Likewise. + (md5_process_bytes): Likewise. + * crypt/sha256.c (__sha256_init_ctx): Likewise. + (__sha256_finish_ctx): Likewise. + (__sha256_process_bytes): Likewise. + * crypt/sha512.c (__sha512_init_ctx): Likewise. + (__sha512_finish_ctx): Likewise. + (__sha512_process_bytes): Likewise. + * ctype/isctype.c (__isctype): Likewise. + * debug/backtrace.c (__backtrace): Likewise. + * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise. + * debug/fgets_chk.c (__fgets_chk): Likewise. + * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise. + * debug/memcpy_chk.c (__memcpy_chk): Likewise. + * debug/memmove_chk.c (MEMMOVE_CHK): Likewise. + * debug/mempcpy_chk.c (__mempcpy_chk): Likewise. + * debug/memset_chk.c (__memset_chk): Likewise. + * debug/strcat_chk.c (__strcat_chk): Likewise. + * debug/strncat_chk.c (__strncat_chk): Likewise. + * debug/strncpy_chk.c (__strncpy_chk): Likewise. + * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise. + * dirent/dirfd.c (dirfd): Likewise. + * dirent/getdents.c (__getdirentries): Likewise. + * dirent/getdents64.c (getdirentries64): Likewise. + * dirent/rewinddir.c (__rewinddir): Likewise. + * dirent/seekdir.c (seekdir): Likewise. + * dirent/telldir.c (telldir): Likewise. + * elf/sln.c (makesymlinks): Likewise. + (makesymlink): Likewise. + * gmon/gmon.c (__moncontrol): Likewise. + (__monstartup): Likewise. + (write_hist): Likewise. + (write_call_graph): Likewise. + (write_bb_counts): Likewise. + * grp/setgroups.c (setgroups): Likewise. + * inet/inet_lnaof.c (inet_lnaof): Likewise. + * inet/inet_net.c (inet_network): Likewise. + * inet/inet_netof.c (inet_netof): Likewise. + * inet/rcmd.c (rresvport_af): Likewise. + (rresvport): Likewise. + * io/access.c (__access): Likewise. + * io/chdir.c (__chdir): Likewise. + * io/chmod.c (__chmod): Likewise. + * io/chown.c (__chown): Likewise. + * io/close.c (__close): Likewise. + * io/creat.c (creat): Likewise. + * io/creat64.c (creat64): Likewise. + * io/dup.c (__dup): Likewise. + * io/dup2.c (__dup2): Likewise. + * io/dup3.c (__dup3): Likewise. + * io/euidaccess.c (__euidaccess): Likewise. + * io/faccessat.c (faccessat): Likewise. + * io/fchmod.c (__fchmod): Likewise. + * io/fchmodat.c (fchmodat): Likewise. + * io/fchown.c (__fchown): Likewise. + * io/fchownat.c (fchownat): Likewise. + * io/fcntl.c (__fcntl): Likewise. + * io/flock.c (__flock): Likewise. + * io/fts.c (fts_load): Likewise. + (fts_close): Likewise. + (fts_read): Likewise. + (fts_set): Likewise. + (fts_children): Likewise. + (fts_build): Likewise. + (fts_stat): Likewise. + (fts_sort): Likewise. + (fts_alloc): Likewise. + (fts_lfree): Likewise. + (fts_palloc): Likewise. + (fts_padjust): Likewise. + (fts_maxarglen): Likewise. + (fts_safe_changedir): Likewise. + * io/getwd.c (getwd): Likewise. + * io/isatty.c (__isatty): Likewise. + * io/lchown.c (__lchown): Likewise. + * io/link.c (__link): Likewise. + * io/linkat.c (linkat): Likewise. + * io/lseek.c (__libc_lseek): Likewise. + * io/mkdir.c (__mkdir): Likewise. + * io/mkdirat.c (mkdirat): Likewise. + * io/mkfifo.c (mkfifo): Likewise. + * io/mkfifoat.c (mkfifoat): Likewise. + * io/open.c (__libc_open): Likewise. + * io/open64.c (__libc_open64): Likewise. + * io/readlink.c (__readlink): Likewise. + * io/readlinkat.c (readlinkat): Likewise. + * io/rmdir.c (__rmdir): Likewise. + * io/symlink.c (__symlink): Likewise. + * io/symlinkat.c (symlinkat): Likewise. + * io/ttyname.c (ttyname): Likewise. + * io/ttyname_r.c (__ttyname_r): Likewise. + * io/umask.c (__umask): Likewise. + * io/unlink.c (__unlink): Likewise. + * io/unlinkat.c (unlinkat): Likewise. + * io/utime.c (utime): Likewise. + * libio/clearerr.c (clearerr): Likewise. + * libio/clearerr_u.c (clearerr_unlocked): Likewise. + * libio/feof.c (_IO_feof): Likewise. + * libio/feof_u.c (feof_unlocked): Likewise. + * libio/ferror.c (_IO_ferror): Likewise. + * libio/ferror_u.c (ferror_unlocked): Likewise. + * libio/filedoalloc.c (_IO_file_doallocate): Likewise. + * libio/fileno.c (__fileno): Likewise. + * libio/fputc.c (fputc): Likewise. + * libio/fputc_u.c (fputc_unlocked): Likewise. + * libio/fputwc.c (fputwc): Likewise. + * libio/fputwc_u.c (fputwc_unlocked): Likewise. + * libio/freopen.c (freopen): Likewise. + * libio/freopen64.c (freopen64): Likewise. + * libio/fseek.c (fseek): Likewise. + * libio/fseeko.c (fseeko): Likewise. + * libio/fseeko64.c (fseeko64): Likewise. + * libio/ftello.c (__ftello): Likewise. + * libio/ftello64.c (ftello64): Likewise. + * libio/fwide.c (fwide): Likewise. + * libio/genops.c (_IO_un_link): Likewise. + (_IO_link_in): Likewise. + (_IO_least_marker): Likewise. + (_IO_switch_to_main_get_area): Likewise. + (_IO_switch_to_backup_area): Likewise. + (_IO_switch_to_get_mode): Likewise. + (_IO_free_backup_area): Likewise. + (_IO_switch_to_put_mode): Likewise. + (__overflow): Likewise. + (__underflow): Likewise. + (__uflow): Likewise. + (_IO_setb): Likewise. + (_IO_doallocbuf): Likewise. + (_IO_default_underflow): Likewise. + (_IO_default_uflow): Likewise. + (_IO_default_xsputn): Likewise. + (_IO_sgetn): Likewise. + (_IO_default_xsgetn): Likewise. + (_IO_sync): Likewise. + (_IO_default_setbuf): Likewise. + (_IO_default_seekpos): Likewise. + (_IO_default_doallocate): Likewise. + (_IO_init): Likewise. + (_IO_old_init): Likewise. + (_IO_default_sync): Likewise. + (_IO_default_finish): Likewise. + (_IO_default_seekoff): Likewise. + (_IO_sputbackc): Likewise. + (_IO_sungetc): Likewise. + (_IO_set_column): Likewise. + (_IO_set_column): Likewise. + (_IO_adjust_column): Likewise. + (_IO_get_column): Likewise. + (_IO_init_marker): Likewise. + (_IO_remove_marker): Likewise. + (_IO_marker_difference): Likewise. + (_IO_marker_delta): Likewise. + (_IO_seekmark): Likewise. + (_IO_unsave_markers): Likewise. + (_IO_nobackup_pbackfail): Likewise. + (_IO_default_pbackfail): Likewise. + (_IO_default_seek): Likewise. + (_IO_default_stat): Likewise. + (_IO_default_read): Likewise. + (_IO_default_write): Likewise. + (_IO_default_showmanyc): Likewise. + (_IO_default_imbue): Likewise. + (_IO_iter_next): Likewise. + (_IO_iter_file): Likewise. + * libio/getc.c (_IO_getc): Likewise. + * libio/getwc.c (_IO_getwc): Likewise. + * libio/iofclose.c (_IO_new_fclose): Likewise. + * libio/iofdopen.c (_IO_new_fdopen): Likewise. + * libio/iofflush.c (_IO_fflush): Likewise. + * libio/iofflush_u.c (__fflush_unlocked): Likewise. + * libio/iofgetpos.c (_IO_new_fgetpos): Likewise. + * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise. + * libio/iofgets.c (_IO_fgets): Likewise. + * libio/iofgets_u.c (__fgets_unlocked): Likewise. + * libio/iofgetws.c (fgetws): Likewise. + * libio/iofgetws_u.c (fgetws_unlocked): Likewise. + * libio/iofopen64.c (_IO_fopen64): Likewise. + * libio/iofopncook.c (_IO_cookie_read): Likewise. + (_IO_cookie_write): Likewise. + (_IO_cookie_seek): Likewise. + (_IO_cookie_close): Likewise. + (_IO_cookie_seekoff): Likewise. + (_IO_old_cookie_seek): Likewise. + * libio/iofputs.c (_IO_fputs): Likewise. + * libio/iofputs_u.c (__fputs_unlocked): Likewise. + * libio/iofputws.c (fputws): Likewise. + * libio/iofputws_u.c (fputws_unlocked): Likewise. + * libio/iofread.c (_IO_fread): Likewise. + * libio/iofread_u.c (__fread_unlocked): Likewise. + * libio/iofsetpos.c (_IO_new_fsetpos): Likewise. + * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise. + * libio/ioftell.c (_IO_ftell): Likewise. + * libio/iofwrite.c (_IO_fwrite): Likewise. + * libio/iogetdelim.c (_IO_getdelim): Likewise. + * libio/iogets.c (_IO_gets): Likewise. + * libio/iopadn.c (_IO_padn): Likewise. + * libio/iopopen.c (_IO_new_proc_open): Likewise. + (_IO_new_popen): Likewise. + (_IO_new_proc_close): Likewise. + * libio/ioputs.c (_IO_puts): Likewise. + * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise. + (_IO_seekoff): Likewise. + * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise. + (_IO_seekpos): Likewise. + * libio/iosetbuffer.c (_IO_setbuffer): Likewise. + * libio/iosetvbuf.c (_IO_setvbuf): Likewise. + * libio/ioungetc.c (_IO_ungetc): Likewise. + * libio/ioungetwc.c (ungetwc): Likewise. + * libio/iovdprintf.c (_IO_vdprintf): Likewise. + * libio/iovsscanf.c (_IO_vsscanf): Likewise. + * libio/iowpadn.c (_IO_wpadn): Likewise. + * libio/libc_fatal.c (__libc_fatal): Likewise. + * libio/memstream.c (__open_memstream): Likewise. + (_IO_mem_sync): Likewise. + (_IO_mem_finish): Likewise. + * libio/oldfileops.c (_IO_old_file_init): Likewise. + (_IO_old_file_close_it): Likewise. + (_IO_old_file_finish): Likewise. + (_IO_old_file_fopen): Likewise. + (_IO_old_file_attach): Likewise. + (_IO_old_file_setbuf): Likewise. + (_IO_old_do_write): Likewise. + (old_do_write): Likewise. + (_IO_old_file_underflow): Likewise. + (_IO_old_file_overflow): Likewise. + (_IO_old_file_sync): Likewise. + (_IO_old_file_seekoff): Likewise. + (_IO_old_file_write): Likewise. + (_IO_old_file_xsputn): Likewise. + * libio/oldiofclose.c (_IO_old_fclose): Likewise. + * libio/oldiofdopen.c (_IO_old_fdopen): Likewise. + * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise. + * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise. + * libio/oldiofopen.c (_IO_old_fopen): Likewise. + * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise. + * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise. + * libio/oldiopopen.c (_IO_old_proc_open): Likewise. + (_IO_old_popen): Likewise. + (_IO_old_proc_close): Likewise. + * libio/oldpclose.c (__old_pclose): Likewise. + * libio/pclose.c (__new_pclose): Likewise. + * libio/peekc.c (_IO_peekc_locked): Likewise. + * libio/putc.c (_IO_putc): Likewise. + * libio/putc_u.c (putc_unlocked): Likewise. + * libio/putchar.c (putchar): Likewise. + * libio/putchar_u.c (putchar_unlocked): Likewise. + * libio/putwc.c (putwc): Likewise. + * libio/putwc_u.c (putwc_unlocked): Likewise. + * libio/putwchar.c (putwchar): Likewise. + * libio/putwchar_u.c (putwchar_unlocked): Likewise. + * libio/rewind.c (rewind): Likewise. + * libio/setbuf.c (setbuf): Likewise. + * libio/setlinebuf.c (setlinebuf): Likewise. + * libio/vasprintf.c (_IO_vasprintf): Likewise. + * libio/vscanf.c (_IO_vscanf): Likewise. + * libio/vsnprintf.c (_IO_strn_overflow): Likewise. + * libio/vswprintf.c (_IO_wstrn_overflow): Likewise. + * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise. + * libio/wgenops.c (_IO_least_wmarker): Likewise. + (_IO_switch_to_main_wget_area): Likewise. + (_IO_switch_to_wbackup_area): Likewise. + (_IO_wsetb): Likewise. + (_IO_wdefault_pbackfail): Likewise. + (_IO_wdefault_finish): Likewise. + (_IO_wdefault_uflow): Likewise. + (__woverflow): Likewise. + (__wuflow): Likewise. + (__wunderflow): Likewise. + (_IO_wdefault_xsputn): Likewise. + (_IO_wdefault_xsgetn): Likewise. + (_IO_wdoallocbuf): Likewise. + (_IO_wdefault_doallocate): Likewise. + (_IO_switch_to_wget_mode): Likewise. + (_IO_free_wbackup_area): Likewise. + (_IO_switch_to_wput_mode): Likewise. + (_IO_sputbackwc): Likewise. + (_IO_sungetwc): Likewise. + (_IO_adjust_wcolumn): Likewise. + (_IO_init_wmarker): Likewise. + (_IO_wmarker_delta): Likewise. + (_IO_seekwmark): Likewise. + (_IO_unsave_wmarkers): Likewise. + * libio/wmemstream.c (open_wmemstream): Likewise. + (_IO_wmem_sync): Likewise. + (_IO_wmem_finish): Likewise. + * locale/nl_langinfo.c (nl_langinfo): Likewise. + * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise. + * locale/programs/simple-hash.c (init_hash): Likewise. + (delete_hash): Likewise. + (insert_entry): Likewise. + (set_entry): Likewise. + (next_prime): Likewise. + (is_prime): Likewise. + * locale/programs/xmalloc.c (fixup_null_alloc): Likewise. + (xmalloc): Likewise. + (xrealloc): Likewise. + * locale/programs/xstrdup.c (xstrdup): Likewise. + * localedata/collate-test.c (xstrcoll): Likewise. + * localedata/xfrm-test.c (xstrcmp): Likewise. + * login/getlogin_r.c (__getlogin_r): Likewise. + * login/getpt.c (__posix_openpt): Likewise. + * login/login_tty.c (login_tty): Likewise. + * login/setlogin.c (setlogin): Likewise. + * mach/msg-destroy.c (__mach_msg_destroy): Likewise. + (mach_msg_destroy_port): Likewise. + (mach_msg_destroy_memory): Likewise. + * malloc/mcheck.c (flood): Likewise. + * misc/acct.c (acct): Likewise. + * misc/brk.c (__brk): Likewise. + * misc/chflags.c (chflags): Likewise. + * misc/chroot.c (chroot): Likewise. + * misc/fchflags.c (fchflags): Likewise. + * misc/fstab.c (getfsspec): Likewise. + (getfsfile): Likewise. + * misc/fsync.c (fsync): Likewise. + * misc/ftruncate.c (__ftruncate): Likewise. + * misc/ftruncate64.c (__ftruncate64): Likewise. + * misc/getdomain.c (getdomainname): Likewise. + (getdomainname): Likewise. + * misc/gethostname.c (__gethostname): Likewise. + * misc/getpass.c (getpass): Likewise. + * misc/getttyent.c (skip): Likewise. + (value): Likewise. + * misc/gtty.c (gtty): Likewise. + * misc/hsearch.c (hsearch): Likewise. + (hcreate): Likewise. + * misc/hsearch_r.c (__hcreate_r): Likewise. + (__hdestroy_r): Likewise. + * misc/ioctl.c (__ioctl): Likewise. + * misc/mkdtemp.c (mkdtemp): Likewise. + * misc/mkostemp.c (mkostemp): Likewise. + * misc/mkostemp64.c (mkostemp64): Likewise. + * misc/mkostemps.c (mkostemps): Likewise. + * misc/mkostemps64.c (mkostemps64): Likewise. + * misc/mkstemp.c (mkstemp): Likewise. + * misc/mkstemp64.c (mkstemp64): Likewise. + * misc/mkstemps.c (mkstemps): Likewise. + * misc/mkstemps64.c (mkstemps64): Likewise. + * misc/mktemp.c (__mktemp): Likewise. + * misc/preadv.c (preadv): Likewise. + * misc/preadv64.c (preadv64): Likewise. + * misc/pwritev.c (pwritev): Likewise. + * misc/pwritev64.c (pwritev64): Likewise. + * misc/readv.c (__readv): Likewise. + * misc/revoke.c (revoke): Likewise. + * misc/setdomain.c (setdomainname): Likewise. + * misc/setegid.c (setegid): Likewise. + * misc/seteuid.c (seteuid): Likewise. + * misc/sethostid.c (sethostid): Likewise. + * misc/sethostname.c (sethostname): Likewise. + * misc/setregid.c (__setregid): Likewise. + * misc/setreuid.c (__setreuid): Likewise. + * misc/sstk.c (sstk): Likewise. + * misc/stty.c (stty): Likewise. + * misc/syscall.c (syscall): Likewise. + * misc/syslog.c (setlogmask): Likewise. + * misc/truncate.c (__truncate): Likewise. + * misc/truncate64.c (truncate64): Likewise. + * misc/ualarm.c (ualarm): Likewise. + * misc/usleep.c (usleep): Likewise. + * misc/ustat.c (ustat): Likewise. + * misc/writev.c (__writev): Likewise. + * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise. + * nptl/old_pthread_cond_broadcast.c + (__pthread_cond_broadcast_2_0): Likewise. + * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0): + Likewise. + * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): + Likewise. + * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): + Likewise. + * nptl/pt-raise.c (raise): Likewise. + * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): + Likewise. + * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise. + * nptl/pthread_barrierattr_destroy.c + (pthread_barrierattr_destroy): Likewise. + * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init): + Likewise. + * nptl/pthread_barrierattr_setpshared.c + (pthread_barrierattr_setpshared): Likewise. + * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): + Likewise. + * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise. + * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise. + * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise. + * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy): + Likewise. + * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock): + Likewise. + * nptl/pthread_condattr_getpshared.c + (pthread_condattr_getpshared): Likewise. + * nptl/pthread_condattr_init.c (__pthread_condattr_init): + Likewise. + * nptl/pthread_condattr_setpshared.c + (pthread_condattr_setpshared): Likewise. + * nptl/pthread_detach.c (pthread_detach): Likewise. + * nptl/pthread_equal.c (__pthread_equal): Likewise. + * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise. + * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise. + * nptl/pthread_key_delete.c (pthread_key_delete): Likewise. + * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): + Likewise. + * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy): + Likewise. + * nptl/pthread_mutex_getprioceiling.c + (pthread_mutex_getprioceiling): Likewise. + * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy): + Likewise. + * nptl/pthread_mutexattr_getprotocol.c + (pthread_mutexattr_getprotocol): Likewise. + * nptl/pthread_mutexattr_getpshared.c + (pthread_mutexattr_getpshared): Likewise. + * nptl/pthread_mutexattr_getrobust.c + (pthread_mutexattr_getrobust): Likewise. + * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype): + Likewise. + * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): + Likewise. + * nptl/pthread_mutexattr_setprioceiling.c + (pthread_mutexattr_setprioceiling): Likewise. + * nptl/pthread_mutexattr_setprotocol.c + (pthread_mutexattr_setprotocol): Likewise. + * nptl/pthread_mutexattr_setpshared.c + (pthread_mutexattr_setpshared): Likewise. + * nptl/pthread_mutexattr_setrobust.c + (pthread_mutexattr_setrobust): Likewise. + * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype): + Likewise. + * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy): + Likewise. + * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy): + Likewise. + * nptl/pthread_rwlockattr_getkind_np.c + (pthread_rwlockattr_getkind_np): Likewise. + * nptl/pthread_rwlockattr_getpshared.c + (pthread_rwlockattr_getpshared): Likewise. + * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): + Likewise. + * nptl/pthread_rwlockattr_setkind_np.c + (pthread_rwlockattr_setkind_np): Likewise. + * nptl/pthread_rwlockattr_setpshared.c + (pthread_rwlockattr_setpshared): Likewise. + * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): + Likewise. + * nptl/pthread_setcanceltype.c (__pthread_setcanceltype): + Likewise. + * nptl/pthread_setconcurrency.c (pthread_setconcurrency): + Likewise. + * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise. + * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise. + * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise. + * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise. + * nptl/sem_close.c (sem_close): Likewise. + * nptl/sem_destroy.c (__new_sem_destroy): Likewise. + * nptl/sem_init.c (__old_sem_init): Likewise. + * nptl/sigaction.c (__sigaction): Likewise. + * nptl/unregister-atfork.c (__unregister_atfork): Likewise. + * posix/_exit.c (_exit): Likewise. + * posix/alarm.c (alarm): Likewise. + * posix/confstr.c (confstr): Likewise. + * posix/fpathconf.c (__fpathconf): Likewise. + * posix/getgroups.c (__getgroups): Likewise. + * posix/getpgid.c (__getpgid): Likewise. + * posix/group_member.c (__group_member): Likewise. + * posix/pathconf.c (__pathconf): Likewise. + * posix/sched_getaffinity.c (sched_getaffinity): Likewise. + * posix/sched_setaffinity.c (sched_setaffinity): Likewise. + * posix/setgid.c (__setgid): Likewise. + * posix/setpgid.c (__setpgid): Likewise. + * posix/setuid.c (__setuid): Likewise. + * posix/sleep.c (__sleep): Likewise. + * posix/sysconf.c (__sysconf): Likewise. + * posix/times.c (__times): Likewise. + * posix/uname.c (__uname): Likewise. + * posix/waitid.c (__waitid): Likewise. + * pwd/getpw.c (__getpw): Likewise. + * resolv/base64.c (b64_pton): Likewise. + * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise. + * resolv/gethnamaddr.c (Dprintf): Likewise. + (gethostbyname): Likewise. + (gethostbyname2): Likewise. + (gethostbyaddr): Likewise. + (_sethtent): Likewise. + (_gethtbyname): Likewise. + (_gethtbyname2): Likewise. + (_gethtbyaddr): Likewise. + (map_v4v6_address): Likewise. + (map_v4v6_hostent): Likewise. + (addrsort): Likewise. + (ht_sethostent): Likewise. + (ht_gethostbyname): Likewise. + (ht_gethostbyaddr): Likewise. + * resolv/inet_net_ntop.c (inet_net_ntop): Likewise. + (inet_net_ntop_ipv4): Likewise. + * resolv/inet_neta.c (inet_neta): Likewise. + * resolv/inet_ntop.c (inet_ntop): Likewise. + (inet_ntop4): Likewise. + (inet_ntop6): Likewise. + * resolv/inet_pton.c (__inet_pton): Likewise. + (inet_pton4): Likewise. + (inet_pton6): Likewise. + * resolv/res_debug.c (loc_aton): Likewise. + (loc_ntoa): Likewise. + * resource/getpriority.c (__getpriority): Likewise. + * resource/getrusage.c (__getrusage): Likewise. + * resource/nice.c (nice): Likewise. + * resource/setpriority.c (__setpriority): Likewise. + * resource/setrlimit64.c (setrlimit64): Likewise. + * resource/vlimit.c (vlimit): Likewise. + * resource/vtimes.c (vtimes): Likewise. + * rt/aio_error.c (aio_error): Likewise. + * rt/aio_return.c (aio_return): Likewise. + * rt/aio_sigqueue.c (__aio_sigqueue): Likewise. + * signal/kill.c (__kill): Likewise. + * signal/killpg.c (killpg): Likewise. + * signal/raise.c (raise): Likewise. + * signal/sigaction.c (__sigaction): Likewise. + * signal/sigaddset.c (sigaddset): Likewise. + * signal/sigaltstack.c (sigaltstack): Likewise. + * signal/sigandset.c (sigandset): Likewise. + * signal/sigblock.c (__sigblock): Likewise. + * signal/sigdelset.c (sigdelset): Likewise. + * signal/sigempty.c (sigemptyset): Likewise. + * signal/sigfillset.c (sigfillset): Likewise. + * signal/sighold.c (sighold): Likewise. + * signal/sigignore.c (sigignore): Likewise. + * signal/sigintr.c (siginterrupt): Likewise. + * signal/sigisempty.c (sigisemptyset): Likewise. + * signal/sigismem.c (sigismember): Likewise. + * signal/signal.c (signal): Likewise. + * signal/sigorset.c (sigorset): Likewise. + * signal/sigpause.c (__sigpause): Likewise. + * signal/sigpending.c (sigpending): Likewise. + * signal/sigprocmask.c (__sigprocmask): Likewise. + * signal/sigrelse.c (sigrelse): Likewise. + * signal/sigreturn.c (__sigreturn): Likewise. + * signal/sigset.c (sigset): Likewise. + * signal/sigsetmask.c (__sigsetmask): Likewise. + * signal/sigstack.c (sigstack): Likewise. + * signal/sigsuspend.c (__sigsuspend): Likewise. + * signal/sigvec.c (sigvec_wrapper_handler): Likewise. + * signal/sysv_signal.c (__sysv_signal): Likewise. + * socket/accept.c (accept): Likewise. + * socket/accept4.c (__libc_accept4): Likewise. + * socket/bind.c (__bind): Likewise. + * socket/connect.c (__connect): Likewise. + * socket/getpeername.c (getpeername): Likewise. + * socket/getsockname.c (__getsockname): Likewise. + * socket/getsockopt.c (getsockopt): Likewise. + * socket/listen.c (__listen): Likewise. + * socket/recv.c (__recv): Likewise. + * socket/recvmsg.c (__recvmsg): Likewise. + * socket/send.c (__send): Likewise. + * socket/sendmsg.c (__sendmsg): Likewise. + * socket/shutdown.c (shutdown): Likewise. + * socket/sockatmark.c (sockatmark): Likewise. + * socket/socket.c (__socket): Likewise. + * stdio-common/ctermid.c (ctermid): Likewise. + * stdio-common/cuserid.c (cuserid): Likewise. + * stdio-common/printf-prs.c (parse_printf_format): Likewise. + * stdio-common/remove.c (remove): Likewise. + * stdio-common/rename.c (rename): Likewise. + * stdio-common/renameat.c (renameat): Likewise. + * stdio-common/tempname.c (__gen_tempname): Likewise. + * stdio-common/xbug.c (InitBuffer): Likewise. + (AppendToBuffer): Likewise. + (ReadFile): Likewise. + * stdlib/a64l.c (a64l): Likewise. + * stdlib/drand48_r.c (drand48_r): Likewise. + * stdlib/getcontext.c (getcontext): Likewise. + * stdlib/getenv.c (getenv): Likewise. + * stdlib/l64a.c (l64a): Likewise. + * stdlib/llabs.c (llabs): Likewise. + * stdlib/lldiv.c (lldiv): Likewise. + * stdlib/lrand48_r.c (lrand48_r): Likewise. + * stdlib/mrand48_r.c (mrand48_r): Likewise. + * stdlib/putenv.c (putenv): Likewise. + * stdlib/random.c (__srandom): Likewise. + (__initstate): Likewise. + (__setstate): Likewise. + * stdlib/random_r.c (__srandom_r): Likewise. + (__setstate_r): Likewise. + (__random_r): Likewise. + * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise. + * stdlib/setcontext.c (setcontext): Likewise. + * stdlib/setenv.c (setenv): Likewise. + (unsetenv): Likewise. + * stdlib/srand48.c (srand48): Likewise. + * stdlib/srand48_r.c (__srand48_r): Likewise. + * stdlib/swapcontext.c (swapcontext): Likewise. + * stdlib/system.c (__libc_system): Likewise. + * stdlib/tst-strtod.c (expand): Likewise. + * stdlib/tst-strtol.c (expand): Likewise. + * stdlib/tst-strtoll.c (expand): Likewise. + * streams/fattach.c (fattach): Likewise. + * streams/fdetach.c (fdetach): Likewise. + * streams/getmsg.c (getmsg): Likewise. + * streams/isastream.c (isastream): Likewise. + * string/ffs.c (__ffs): Likewise. + * string/ffsll.c (ffsll): Likewise. + * string/memcmp.c (memcmp_common_alignment): Likewise. + (memcmp_not_common_alignment): Likewise. + (MEMCMP): Likewise. + * string/memcpy.c (memcpy): Likewise. + * string/memmove.c (MEMMOVE): Likewise. + * string/memset.c (memset): Likewise. + * string/rawmemchr.c (RAWMEMCHR): Likewise. + * string/strchrnul.c (STRCHRNUL): Likewise. + * string/strerror.c (strerror): Likewise. + * string/strndup.c (__strndup): Likewise. + * string/strverscmp.c (__strverscmp): Likewise. + * sunrpc/clnt_raw.c (clntraw_freeres): Likewise. + * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise. + (clnttcp_freeres): Likewise. + * sunrpc/clnt_unix.c (clntunix_freeres): Likewise. + * sunrpc/pmap_prot.c (xdr_pmap): Likewise. + * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise. + * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise. + * sunrpc/rpc_prot.c (xdr_replymsg): Likewise. + (xdr_callhdr): Likewise. + * sunrpc/rpcinfo.c (udpping): Likewise. + (tcpping): Likewise. + (pstatus): Likewise. + (pmapdump): Likewise. + (brdcst): Likewise. + (deletereg): Likewise. + (getprognum): Likewise. + (getvers): Likewise. + (get_inet_address): Likewise. + * sunrpc/svc_raw.c (svcraw_recv): Likewise. + * sunrpc/svc_udp.c (svcudp_create): Likewise. + (svcudp_stat): Likewise. + (svcudp_recv): Likewise. + (svcudp_reply): Likewise. + (svcudp_getargs): Likewise. + (svcudp_freeargs): Likewise. + (svcudp_destroy): Likewise. + * sunrpc/xdr.c (xdr_bytes): Likewise. + (xdr_netobj): Likewise. + (xdr_string): Likewise. + (xdr_wrapstring): Likewise. + * sunrpc/xdr_float.c (xdr_float): Likewise. + (xdr_double): Likewise. + * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise. + * sunrpc/xdr_ref.c (xdr_pointer): Likewise. + * sysvipc/ftok.c (ftok): Likewise. + * sysvipc/msgctl.c (msgctl): Likewise. + * sysvipc/msgget.c (msgget): Likewise. + * sysvipc/msgrcv.c (msgrcv): Likewise. + * sysvipc/msgsnd.c (msgsnd): Likewise. + * sysvipc/semget.c (semget): Likewise. + * sysvipc/semop.c (semop): Likewise. + * sysvipc/shmat.c (shmat): Likewise. + * sysvipc/shmctl.c (shmctl): Likewise. + * sysvipc/shmdt.c (shmdt): Likewise. + * sysvipc/shmget.c (shmget): Likewise. + * termios/cfmakeraw.c (cfmakeraw): Likewise. + * termios/speed.c (cfgetospeed): Likewise. + (cfgetispeed): Likewise. + (cfsetospeed): Likewise. + (cfsetispeed): Likewise. + * termios/tcflow.c (tcflow): Likewise. + * termios/tcflush.c (tcflush): Likewise. + * termios/tcgetattr.c (__tcgetattr): Likewise. + * termios/tcgetpgrp.c (tcgetpgrp): Likewise. + * termios/tcgetsid.c (tcgetsid): Likewise. + * termios/tcsendbrk.c (tcsendbreak): Likewise. + * termios/tcsetpgrp.c (tcsetpgrp): Likewise. + * time/adjtime.c (__adjtime): Likewise. + * time/dysize.c (dysize): Likewise. + * time/ftime.c (ftime): Likewise. + * time/getitimer.c (__getitimer): Likewise. + * time/gettimeofday.c (__gettimeofday): Likewise. + * time/gmtime.c (__gmtime_r): Likewise. + (gmtime): Likewise. + * time/localtime.c (__localtime_r): Likewise. + (localtime): Likewise. + * time/offtime.c (__offtime): Likewise. + * time/settimeofday.c (__settimeofday): Likewise. + * time/stime.c (stime): Likewise. + * time/strftime_l.c (tm_diff): Likewise. + (iso_week_days): Likewise. + * time/strptime.c (strptime): Likewise. + * time/time.c (time): Likewise. + * time/timespec_get.c (timespec_get): Likewise. + * time/tzset.c (tzset_internal): Likewise. + (compute_change): Likewise. + (__tz_compute): Likewise. + * wcsmbs/btowc.c (__btowc): Likewise. + * wcsmbs/mbrlen.c (__mbrlen): Likewise. + * wcsmbs/mbsinit.c (__mbsinit): Likewise. + * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise. + * wcsmbs/wcpcpy.c (__wcpcpy): Likewise. + * wcsmbs/wcpncpy.c (__wcpncpy): Likewise. + * wcsmbs/wcscat.c (__wcscat): Likewise. + * wcsmbs/wcschrnul.c (__wcschrnul): Likewise. + * wcsmbs/wcscmp.c (WCSCMP): Likewise. + * wcsmbs/wcscpy.c (WCSCPY): Likewise. + * wcsmbs/wcscspn.c (wcscspn): Likewise. + * wcsmbs/wcsdup.c (wcsdup): Likewise. + * wcsmbs/wcslen.c (__wcslen): Likewise. + * wcsmbs/wcsncat.c (WCSNCAT): Likewise. + * wcsmbs/wcsncmp.c (WCSNCMP): Likewise. + * wcsmbs/wcsncpy.c (__wcsncpy): Likewise. + * wcsmbs/wcsnlen.c (__wcsnlen): Likewise. + * wcsmbs/wcspbrk.c (wcspbrk): Likewise. + * wcsmbs/wcsrchr.c (WCSRCHR): Likewise. + * wcsmbs/wcsspn.c (wcsspn): Likewise. + * wcsmbs/wcsstr.c (wcsstr): Likewise. + * wcsmbs/wcstok.c (wcstok): Likewise. + * wcsmbs/wctob.c (wctob): Likewise. + * wcsmbs/wmemchr.c (__wmemchr): Likewise. + * wcsmbs/wmemcmp.c (WMEMCMP): Likewise. + * wcsmbs/wmemcpy.c (__wmemcpy): Likewise. + * wcsmbs/wmemmove.c (__wmemmove): Likewise. + * wcsmbs/wmempcpy.c (__wmempcpy): Likewise. + * wcsmbs/wmemset.c (__wmemset): Likewise. + * wctype/wcfuncs.c (__towlower): Likewise. + (__towupper): Likewise. + + * sysdeps/unix/sysv/linux/i386/lowlevellock.h + (lll_unlock_elision): Add adapt_count parameter. + +2015-10-15 Joseph Myers <joseph@codesourcery.com> + + * sysdeps/nptl/configure.ac: Do not give errors based on the + results of top-level configure tests. + * sysdeps/nptl/configure: Regenerated. + + * configure.ac (libc_cv_Bgroup): Remove configure test. + * configure: Regenerated. + * config.make.in (have-Bgroup): Remove variable. + + * configure.ac (sizeof_long_double): Remove configure test. + * configure: Regenerated. + * config.make.in (sizeof-long-double): Remove variable. + + * configure.ac (libc_cv_gcc_exceptions): Remove configure test. + * configure: Regenerated. + * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set + variable. + (exceptions): Likewise. + * sysdeps/arm/configure: Regenerated. + * config.make.in (exceptions): Remove variable. + * Makeconfig (uses-callbacks): Use -fexceptions instead of + $(exceptions). + * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise. + (CFLAGS-vdprintf_chk.c): Likewise. + (CFLAGS-printf_chk.c): Likewise. + (CFLAGS-fprintf_chk.c): Likewise. + (CFLAGS-vprintf_chk.c): Likewise. + (CFLAGS-vfprintf_chk.c): Likewise. + (CFLAGS-gets_chk.c): Likewise. + (CFLAGS-fgets_chk.c): Likewise. + (CFLAGS-fgets_u_chk.c): Likewise. + (CFLAGS-fread_chk.c): Likewise. + (CFLAGS-fread_u_chk.c): Likewise. + (CFLAGS-wprintf_chk.c): Likewise. + (CFLAGS-fwprintf_chk.c): Likewise. + (CFLAGS-vwprintf_chk.c): Likewise. + (CFLAGS-vfwprintf_chk.c): Likewise. + (CFLAGS-fgetws_chk.c): Likewise. + (CFLAGS-fgetws_u_chk.c): Likewise. + * libio/Makefile (CFLAGS-fileops.c): Likewise. + (CFLAGS-fputc.c): Likewise. + (CFLAGS-fputwc.c): Likewise. + (CFLAGS-freopen64.c): Likewise. + (CFLAGS-freopen.c): Likewise. + (CFLAGS-fseek.c): Likewise. + (CFLAGS-fseeko64.c): Likewise. + (CFLAGS-fseeko.c): Likewise. + (CFLAGS-ftello64.c): Likewise. + (CFLAGS-ftello.c): Likewise. + (CFLAGS-fwide.c): Likewise. + (CFLAGS-genops.c): Likewise. + (CFLAGS-getc.c): Likewise. + (CFLAGS-getchar.c): Likewise. + (CFLAGS-getwc.c): Likewise. + (CFLAGS-getwchar.c): Likewise. + (CFLAGS-iofclose.c): Likewise. + (CFLAGS-iofflush.c): Likewise. + (CFLAGS-iofgetpos64.c): Likewise. + (CFLAGS-iofgetpos.c): Likewise. + (CFLAGS-iofgets.c): Likewise. + (CFLAGS-iofgetws.c): Likewise. + (CFLAGS-iofputs.c): Likewise. + (CFLAGS-iofputws.c): Likewise. + (CFLAGS-iofread.c): Likewise. + (CFLAGS-iofsetpos64.c): Likewise. + (CFLAGS-iofsetpos.c): Likewise. + (CFLAGS-ioftell.c): Likewise. + (CFLAGS-iofwrite.c): Likewise. + (CFLAGS-iogetdelim.c): Likewise. + (CFLAGS-iogetline.c): Likewise. + (CFLAGS-iogets.c): Likewise. + (CFLAGS-iogetwline.c): Likewise. + (CFLAGS-ioputs.c): Likewise. + (CFLAGS-ioseekoff.c): Likewise. + (CFLAGS-ioseekpos.c): Likewise. + (CFLAGS-iosetbuffer.c): Likewise. + (CFLAGS-iosetvbuf.c): Likewise. + (CFLAGS-ioungetc.c): Likewise. + (CFLAGS-ioungetwc.c): Likewise. + (CFLAGS-oldfileops.c): Likewise. + (CFLAGS-oldiofclose.c): Likewise. + (CFLAGS-oldiofgetpos64.c): Likewise. + (CFLAGS-oldiofgetpos.c): Likewise. + (CFLAGS-oldiofsetpos64.c): Likewise. + (CFLAGS-oldiofsetpos.c): Likewise. + (CFLAGS-peekc.c): Likewise. + (CFLAGS-putc.c): Likewise. + (CFLAGS-putchar.c): Likewise. + (CFLAGS-putwc.c): Likewise. + (CFLAGS-putwchar.c): Likewise. + (CFLAGS-rewind.c): Likewise. + (CFLAGS-wfileops.c): Likewise. + (CFLAGS-wgenops.c): Likewise. + (CFLAGS-oldiofopen.c): Likewise. + (CFLAGS-iofopen.c): Likewise. + (CFLAGS-iofopen64.c): Likewise. + (CFLAGS-oldtmpfile.c): Likewise. + * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise. + (CFLAGS-fprintf.c): Likewise. + (CFLAGS-printf.c): Likewise. + (CFLAGS-vfwprintf.c): Likewise. + (CFLAGS-vfscanf.c): Likewise. + (CFLAGS-vfwscanf.c): Likewise. + (CFLAGS-fscanf.c): Likewise. + (CFLAGS-scanf.c): Likewise. + (CFLAGS-isoc99_vfscanf.c): Likewise. + (CFLAGS-isoc99_vscanf.c): Likewise. + (CFLAGS-isoc99_fscanf.c): Likewise. + (CFLAGS-isoc99_scanf.c): Likewise. + * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise. + (CFLAGS-isoc99_fwscanf.c): Likewise. + (CFLAGS-isoc99_vwscanf.c): Likewise. + (CFLAGS-isoc99_vfwscanf.c): Likewise. + + * io/test-lfs.c (do_prepare): Do not call add_temp_file until + after mkstemp64. + * login/tst-utmp.c (do_prepare): Likewise. + * rt/tst-aio.c (do_prepare): Likewise. + * rt/tst-aio64.c (do_prepare): Likewise. + +2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com> + + * sysdeps/unix/sysv/linux/powerpc/elision-lock.c + (__lll_lock_elision): Remove adapt_count decrement... + * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c + (__lll_trylock_elision): Likewise. + * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c + (__lll_unlock_elision): ... to here. And utilize + new adapt_count parameter. + * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h + (__lll_unlock_elision): Update to include adapt_count + parameter. + (lll_unlock_elision): Pass pointer to adapt_count + variable. + +2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com> + + * nptl/pthread_mutex_unlock.c (lll_unlock_elision): + Add elision adapt_count parameter to list of arguments. + * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h + (lll_unlock_elision): Update with new parameter list + * sysdeps/unix/sysv/linux/s390/lowlevellock.h + (lll_unlock_elision): Likewise + * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h + (lll_unlock_elision): Likewise + +2015-10-15 H.J. Lu <hongjiu.lu@intel.com> + + [BZ #19122] + * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add + attribute_hidden. + + * include/string.h [IS_IN (rtld)] (__stpcpy): Add + attribute_hidden. + [IS_IN (rtld)] (__strdup): Likewise. + [IS_IN (rtld)] (__strerror_r): Likewise. + [IS_IN (rtld)] (__strsep_g): Likewise. + [IS_IN (rtld)] (memchr): Likewise. + [IS_IN (rtld)] (memcmp): Likewise. + [IS_IN (rtld)] (memcpy): Likewise. + [IS_IN (rtld)] (memmove): Likewise. + [IS_IN (rtld)] (memset): Likewise. + [IS_IN (rtld)] (rawmemchr): Likewise. + [IS_IN (rtld)] (stpcpy): Likewise. + [IS_IN (rtld)] (strchr): Likewise. + [IS_IN (rtld)] (strcmp): Likewise. + [IS_IN (rtld)] (strlen): Likewise. + [IS_IN (rtld)] (strnlen): Likewise. + [IS_IN (rtld)] (strsep): Likewise. + + * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add + attribute_hidden. + [IS_IN (rtld)] (__strtoul_internal): Likewise. + + * include/signal.h [IS_IN (rtld)] (__sigaction): Add + attribute_hidden. + [IS_IN (rtld)] (__libc_sigaction): Likewise. + + * include/setjmp.h (__longjmp): Add attribute_hidden. + [IS_IN (rtld)] (__sigsetjmp): Likewise. + + * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency): + Add attribute_hidden. + + * include/fcntl.h (__libc_fcntl): Add attribute_hidden. + [IS_IN (rtld)] (__open): Likewise. + [IS_IN (rtld)] (__fcntl): Likewise. + + * include/dirent.h (__opendirat): Add attribute_hidden. + (__getdents): Likewise. + (__getdents64): Likewise. + (__alloc_dir): Likewise. + [IS_IN (rtld)] (__closedir): Likewise. + [IS_IN (rtld)] (__fdopendir): Likewise. + [IS_IN (rtld)] (__readdir): Likewise. + [IS_IN (rtld)] (__readdir64): Likewise. + [IS_IN (rtld)] (__rewinddir): Likewise. + + * include/dlfcn.h (_dl_catch_error): Moved to ... + * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add + attribute_hidden. + + * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden. + (_itoa_word): Likewise. + + * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden. + * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise. + * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise. + * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise. + (_dl_higher_prime_number): Likewise. + (_dl_debug_printf_c): Likewise. + (_dl_signal_cerror): Likewise. + (_dl_receive_error): Likewise. + (_dl_reloc_bad_type): Likewise. + (_dl_resolve_conflicts): Likewise. + (_dl_check_all_versions): Likewise. + (_dl_check_map_versions): Likewise. + (_dl_sort_fini): Likewise. + (_dl_debug_initialize): Likewise. + (_dl_init_paths): Likewise. + (_dl_show_auxv): Likewise. + (_dl_next_ld_env_entry): Likewise. + (_dl_important_hwcaps): Likewise. + (_dl_load_cache_lookup): Likewise. + (_dl_update_slotinfo): Likewise. + (_dl_show_scope): Likewise. + + * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add + attribute_hidden. + (_wordcopy_fwd_dest_aligned): Likewise. + (_wordcopy_bwd_aligned): Likewise. + (_wordcopy_bwd_dest_aligned): Likewise. + + * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden. + * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): + Likewise. + * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): + Likewise. + * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise. + +2015-10-15 H.J. Lu <hongjiu.lu@intel.com> + + * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for + GCC 5 requirement. + +2015-10-15 Joseph Myers <joseph@codesourcery.com> + + * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure + test. + * sysdeps/i386/configure: Regenerated. + * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make + code unconditional. + + * configure.ac (libc_cv_asm_previous_directive): Remove configure + test. + (libc_cv_asm_popsection_directive): Likewise. + * configure: Regenerated. + * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef. + (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise. + * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE] + (__make_section_unallocated): Make definition unconditional. + [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated): + Remove conditional definition. + [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE] + (__make_section_unallocated): Likewise. + + * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test. + * configure: Regenerated. + * config.make.in (static-libgcc): Remove variable. + * Makerules (build-shlib-helper): Use -static-libgcc instead of + $(static-libgcc). + (build-module-helper): Likewise. + + * configure.ac (libc_cv_friendly_stddef): Remove configure test. + * configure: Regenerated. + +2015-10-15 Florian Weimer <fweimer@redhat.com> + + * stdio-common/vfscanf.c (MEMCPY): Remove macro. + (struct char_buffer): New type. + (char_buffer_start, char_buffer_size, char_buffer_error) + (char_buffer_rewind, char_buffer_add): New functions. + (ADDW): Remove macro, replaced by the char_buffer_add function. + (_IO_vfscanf_internal): Rewrite using struct char_buffer instead + of extend_alloca. Make control flow more explicit. + +2015-10-15 H.J. Lu <hongjiu.lu@intel.com> + + [BZ #19137] + * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c): + Add -fomit-frame-pointer. + * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file. + +2015-10-15 H.J. Lu <hongjiu.lu@intel.com> + + * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S + (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0). + * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros + only if !__GNUC_PREREQ (5,0). + (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5. + (INTERNAL_SYSCALL_MAIN_INLINE): Likewise. + (INTERNAL_SYSCALL_NCS): Likewise. + (LOADREGS_0): New macro for GCC 5. + (ASMARGS_0): Likewise. + (LOADREGS_1): Likewise. + (ASMARGS_1): Likewise. + (LOADREGS_2): Likewise. + (ASMARGS_2): Likewise. + (LOADREGS_3): Likewise. + (ASMARGS_3): Likewise. + (LOADREGS_4): Likewise. + (ASMARGS_4): Likewise. + (LOADREGS_5): Likewise. + (ASMARGS_5): Likewise. + (LOADREGS_6): Likewise. + (ASMARGS_6): Likewise. + +2015-10-15 H.J. Lu <hongjiu.lu@intel.com> + + * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add + -fomit-frame-pointer. + (CFLAGS-mmap64.c): Likewise. + (CFLAGS-semtimedop.c): Likewise. + * sysdeps/unix/sysv/linux/i386/mmap.c: New file. + * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file. + * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise. + * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise. + +2015-10-15 Florian Weimer <fweimer@redhat.com> + + [BZ #18928] + * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove + _dl_pointer_guard member. + * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard + initializer. + (security_init): Always set up pointer guard. + (process_envvars): Do not process LD_POINTER_GUARD. + +2015-10-14 Joseph Myers <joseph@codesourcery.com> + + [BZ #19134] + * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object. + (.LC2): Likewise. + (.LC3): Likewise. + (__lround): Do not add 0.5 to integer or out-of-range arguments. + +2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com> + + [BZ #19129] + * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore + r0 and r1. + +2015-10-14 Namhyung Kim <namhyung@gmail.com> + + * manaual/argp.texi (Specifying Argp Parsers): Fix typo. + +2015-10-14 Carlos O'Donell <carlos@redhat.com> + + * include/stap-probe.h: Fix macro definition formatting. + +2015-10-14 Florian Weimer <fweimer@redhat.com> + + [BZ #19074] + * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to + load and store num_ifs. + +2015-10-14 H.J. Lu <hongjiu.lu@intel.com> + + [BZ #18822] + * sysdeps/unix/sysv/linux/sched_getaffinity.c + (__sched_getaffinity_new): Add libc_hidden_proto and + libc_hidden_def. + +2015-10-14 H.J. Lu <hongjiu.lu@intel.com> + + [BZ #19007] + * scripts/localplt.awk: Also allow GOT references. + * sysdeps/unix/sysv/linux/i386/localplt.data: Mark + _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign + with "+ REL R_386_GLOB_DAT". + * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc + and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT". + +2015-10-14 H.J. Lu <hongjiu.lu@intel.com> + + * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use + INLINE_SYSCALL_ERROR_RETURN_VALUE. + * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): + Likewise. + * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise. + * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise. + * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use + INTERNAL_SYSCALLINTERNAL_SYSCALL and + INLINE_SYSCALL_ERROR_RETURN_VALUE. + * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise. + * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise. + * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): + Likewise. + * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise. + +2015-10-13 Joseph Myers <joseph@codesourcery.com> + + [BZ #19125] + * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>, + <math_private.h> and <stdint.h>. + (__llround): Avoid conversions to and from long long int, and + subtractions, where those might raise spurious exceptions. + * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include + <math_private.h> and <stdint.h>. + (__llroundf): Avoid conversions to and from long long int, and + subtractions, where those might raise spurious exceptions. + +2015-10-13 H.J. Lu <hongjiu.lu@intel.com> + + * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use + INLINE_SYSCALL_ERROR_RETURN_VALUE. + * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise. + * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise. + * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise. + * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise. + * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise. + * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise. + * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise. + * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise. + * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise. + * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise. + * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise. + * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise. + * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise. + * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise. + * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise. + * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise. + * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise. + * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise. + * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise. + * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise. + * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise. + * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise. + * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise. + * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise. + * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise. + * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise. + * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise. + * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise. + (__xstat64_conv): Likewise. + (__xstat32_conv): Likewise. + +2015-10-13 H.J. Lu <hongjiu.lu@intel.com> + + * sysdeps/unix/sysv/linux/sysdep.h: New file. + * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise. + * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include + <sysdeps/unix/sysv/linux/sysdep.h>. + * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. + * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu] + (sysdep-dl-routines): Add sysdep. + [$(subdir) == nptl] (libpthread-routines): Likewise. + [$(subdir) == rt] (librt-routines): Likewise. + * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check + PIC when branching to SYSCALL_ERROR_LABEL. + * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed. + * sysdeps/unix/sysv/linux/i386/sysdep.h: Include + <sysdeps/unix/sysv/linux/sysdep.h>. + (SYSCALL_ERROR_LABEL): Changed to __syscall_error. + (SYSCALL_ERROR_ERRNO): Removed. + (SYSCALL_ERROR_HANDLER): Changed to empty. + (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise. + (__syscall_error): New prototype. + [IS_IN (libc)] (INLINE_SYSCALL): New macro. + (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise. + +2015-10-13 H.J. Lu <hongjiu.lu@intel.com> + + [BZ #19124] + * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT] + (_dl_runtime_resolve_avx512): Make it a hidden alias of + _dl_runtime_resolve_avx. + (_dl_runtime_profile_avx512): Make it a hidden alias of + _dl_runtime_profile_avx. + +2015-10-13 Joseph Myers <joseph@codesourcery.com> + + * sysdeps/powerpc/fpu/s_llround.c: Move to .... + * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here. + * sysdeps/powerpc/fpu/s_llroundf.c: Move to .... + * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here. + + [BZ #16422] + * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz): + New configure test. + * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated. + * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro. + * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>, + <math_private.h> and <stdint.h>. + (__llrint): Avoid conversions to long long int where those might + raise spurious exceptions. + * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include + <math_private.h> and <stdint.h>. + (__llrintf): Avoid conversions to long long int where those might + raise spurious exceptions. + +2015-10-12 Andreas Schwab <schwab@suse.de> + + [BZ #18969] + * debug/Makefile (LOCALES): Define. Include gen-locales.mk. + ($(objpfx)tst-chk1.out): Depend on $(gen-locales). + * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk. + ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on + $(gen-locales). + * intl/Makefile (LOCALES): Define. Include gen-locales.mk. + ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out) + ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out) + ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out) + ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on + $(gen-locales). + * libio/Makefile (LOCALES): Define. Include gen-locales.mk. + ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out) + ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out) + ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out) + ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out) + ($(objpfx)tst-ftell-active-handler.out) + ($(objpfx)tst-ftell-append.out) + ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out) + ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out) + ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out) + ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales). + * posix/Makefile (LOCALES): Define. Include gen-locales.mk. + ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out) + ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out) + ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out) + ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out) + ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out) + ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out) + ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out) + ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out) + ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out) + ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out) + ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out) + ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out) + ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales). + * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk. + ($(objpfx)bug14.out, $(objpfx)scanf13.out) + ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out) + ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out) + ($(objpfx)tst-swprintf.out): Depend on $(gen-locales). + * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk. + ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out) + ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out) + ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on + $(gen-locales). + * time/Makefile (LOCALES): Define. Include gen-locales.mk. + ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on + $(gen-locales). + * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk. + ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out) + ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out) + ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on + $(gen-locales). + * libio/tst_wprintf2.c (main): Use explicit locale. + * wcsmbs/wcsmbs-tst1.c (main): Likewise. + +2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org> + + * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by + __msg_sig_post. + * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type. + +2015-10-09 Joseph Myers <joseph@codesourcery.com> + + * sysdeps/mips/mips32/libm-test-ulps: Regenerated. + * sysdeps/mips/mips64/libm-test-ulps: Likewise. + + * sysdeps/arm/libm-test-ulps: Regenerated. + + [BZ #15470] + * sysdeps/arm/fix-fp-int-convert-overflow.h: New file. + + [BZ #16399] + * sysdeps/generic/fix-fp-int-convert-overflow.h: New file. + * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h> + and <fix-fp-int-convert-overflow.h>. + (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if + FIX_DBL_LLONG_CONVERT_OVERFLOW. + * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h> + and <fix-fp-int-convert-overflow.h>. + (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if + FIX_DBL_LLONG_CONVERT_OVERFLOW. + * sysdeps/ieee754/dbl-64/s_lrint.c: Include + <fix-fp-int-convert-overflow.h>. + (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if + FIX_DBL_LLONG_CONVERT_OVERFLOW. + * sysdeps/ieee754/dbl-64/s_lround.c: Include + <fix-fp-int-convert-overflow.h>. + (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if + FIX_DBL_LLONG_CONVERT_OVERFLOW. + * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h> + and <fix-fp-int-convert-overflow.h>. + (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if + FIX_DBL_LLONG_CONVERT_OVERFLOW. + * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>, + <limits.h> and <fix-fp-int-convert-overflow.h>. + (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if + FIX_DBL_LLONG_CONVERT_OVERFLOW. + * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h> + and <fix-fp-int-convert-overflow.h>. + (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if + FIX_DBL_LLONG_CONVERT_OVERFLOW. + * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h> + and <fix-fp-int-convert-overflow.h>. + (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if + FIX_DBL_LLONG_CONVERT_OVERFLOW. + * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file. + +2015-10-09 Carlos O'Donell <carlos@redhat.com> + + [BZ #18589] + * string/bug-strcoll2.c: Adjust copyright, and remove contributed by. + * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on + $(gen-locales). + +2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org> + Phil Blundell <pb@pbcl.net> + + * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c. + * nptl/tst-cancel26.c: New file. + * nptl/tst-cancel27.c: Likewise. + +2015-10-09 H.J. Lu <hongjiu.lu@intel.com> + + * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if + __ILP32__ isn't defined. + (lrint): Likewise. + * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise. + (lrintf): Likewise. + * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise. + (lrintl): Likewise. + * sysdeps/x86_64/x32/fpu/s_lrint.S: New file. + * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise. + * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise. + +2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org> + + * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S + * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S + + * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove + file. + * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise. + * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise. + +2015-10-09 Joseph Myers <joseph@codesourcery.com> + + * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove + configure test. + * sysdeps/i386/configure: Regenerated. + * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove + configure test. + * sysdeps/x86_64/configure: Regenerated. + * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]: + Make code unconditional. + + * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure + test. + * sysdeps/i386/configure: Regenerated. + * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure + test. + * sysdeps/x86_64/configure: Regenerated. + * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]: + Make code unconditional. + * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]: + Likewise. + * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]: + Likewise. + [!HAVE_FMA4_SUPPORT]: Remove conditional code. + * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make + code unconditional. + [!HAVE_FMA4_SUPPORT]: Remove conditional code. + * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make + code unconditional. + [!HAVE_FMA4_SUPPORT]: Remove conditional code. + * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make + code unconditional. + * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make + code unconditional. + [!HAVE_FMA4_SUPPORT]: Remove conditional code. + * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make + code unconditional. + [!HAVE_FMA4_SUPPORT]: Remove conditional code. + * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make + code unconditional. + [!HAVE_FMA4_SUPPORT]: Remove conditional code. + * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make + code unconditional. + [!HAVE_FMA4_SUPPORT]: Remove conditional code. + * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make + code unconditional. + [!HAVE_FMA4_SUPPORT]: Remove conditional code. + * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef. + + [BZ #19095] + * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of + mantissa to long int before shifting left. + +2015-10-08 Joseph Myers <joseph@codesourcery.com> + + [BZ #19094] + * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and + <limits.h>. + (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception + when result overflows but exception would not result from cast. + * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and + <limits.h>. + (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception + when result overflows but exception would not result from cast. + * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and + <limits.h>. + (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception + when result overflows but exception would not result from cast. + * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and + <limits.h>. + (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception + when result overflows but exception would not result from cast. + * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and + <limits.h>. + (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception + when result overflows but exception would not result from cast. + * math/libm-test.inc (lrint_test_data): Add more tests. + (llrint_test_data): Likewise. + +2015-10-08 Roland McGrath <roland@hack.frob.com> + + [BZ #18872] + * stdio-common/Makefile ($(objpfx)tst-unbputc.out): + Move out from under [$(run-built-tests) = yes] conditional. + ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise. + ($(objpfx)tst-printf-bz18872-mem.out): Likewise. + +2015-10-08 Carlos O'Donell <carlos@redhat.com> + + [BZ #18589] + * string/Makefile (tests): Add bug-strcoll2. + (LOCALES): Add cs_CZ.UTF-8. + * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string. + + [BZ #18589] + * string/bug-strcoll2.c: New file. + * locale/categories.def: Revert commit + f13c2a8dff2329c6692a80176262ceaaf8a6f74e. + * locale/langinfo.h: Likewise. + * locale/localeinfo.h: Likewise. + * locale/C-collate.c: Likewise. + * locale/programs/ld-collate.c (collate_output): Likewise. + * string/strcoll_l.c (STRDIFF): Likewise. + (STRCOLL): Likewise. + * wcsmbs/wcscoll_l.c: Likewise. + +2015-10-08 Joseph Myers <joseph@codesourcery.com> + + * math/libm-test.inc (lround_test_data): Do not expect the absence + of "inexact" for some tests with non-integer arguments. + (llround_test_data): Likewise. + + * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure + test. + (libc_cv_cc_sse2avx): Likewise. + * sysdeps/i386/configure: Regenerated. + * sysdeps/i386/i686/multiarch/Makefile + [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to + [$(subdir) = math]. + * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make + code unconditional. + * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]: + Likewise. + * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]: + Likewise. + * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]: + Likewise. + * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure + test. + (libc_cv_cc_sse2avx): Likewise. + * sysdeps/x86_64/configure: Regenerated. + * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code + unconditional. + * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile) + [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code + unconditional. + (_dl_runtime_profile) + [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove + conditional code. + * sysdeps/x86_64/fpu/multiarch/Makefile + [$(config-cflags-sse2avx) = yes]: Make code unconditional. + * sysdeps/x86_64/fpu/multiarch/e_atan2.c + [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise. + * sysdeps/x86_64/fpu/multiarch/e_exp.c + [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise. + * sysdeps/x86_64/fpu/multiarch/e_log.c + [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_atan.c + [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]: + Likewise. + * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]: + Likewise. + * sysdeps/x86_64/fpu/multiarch/s_sin.c + [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_tan.c + [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise. + * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise. + * config.h.in (HAVE_AVX_SUPPORT): Remove #undef. + (HAVE_SSE2AVX_SUPPORT): Likewise. + +2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com> + + * stdio-common/tst-printf-bz18872.sh: Use attribute optimize + instead of #pragma optimize. + +2015-10-07 Carlos O'Donell <carlos@redhat.com> + + [BZ #17195] + * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size, + as is similarly done in systrim and _int_free already. + +2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org> + + * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify. + +2015-10-07 Joseph Myers <joseph@codesourcery.com> + + [BZ #19088] + * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and + <limits.h>. + (__lround) [FE_INVALID]: Force FE_INVALID exception when result + overflows but exception would not result from cast. + * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h> + and <limits.h>. + (__lround) [FE_INVALID]: Force FE_INVALID exception when result + overflows but exception would not result from cast. + * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and + <limits.h>. + (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result + overflows but exception would not result from cast. + * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and + <limits.h>. + (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result + overflows but exception would not result from cast. + * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and + <limits.h>. + (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result + overflows but exception would not result from cast. + * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and + <limits.h>. + (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result + overflows but exception would not result from cast. + * math/libm-test.inc (lround_test_data): Add more tests. + (llround_test_data): Likewise. + +2015-10-07 Steve Ellcey <sellcey@imgtec.com> + + * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable. + (CFLAGS-ialloc.c): Ditto. + (CFLAGS-scheck.c): Ditto. + +2015-10-07 Carlos O'Donell <carlos@redhat.com> + + [BZ #19086] + * manual/filesys.texi (Storage Allocation): Fix argument order for + posix_fallocate64. + +2015-10-07 Joseph Myers <joseph@codesourcery.com> + + [BZ #19085] + * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for + exponent below 48 inside case for non-overflowing exponent. + * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise. + +2015-10-07 Florian Weimer <fweimer@redhat.com> + + * iconvdata/cp737.h (from_idx): Add const. + * iconvdata/cp775.h (from_idx): Likewise. + +2015-10-07 Joseph Myers <joseph@codesourcery.com> + + * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64. + * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c + (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error. + + [BZ #19079] + * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous + file, conditioned on [!_LP64]. + * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c + [!_LP64] (__lround): Do not define as function or alias. + [!_LP64] (lround): Likewise. + [!_LP64] (__lroundl): Likewise. + [!_LP64] (lroundl): Likewise. + * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove + macro. + * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64): + Likewise. + +2015-10-06 Joseph Myers <joseph@codesourcery.com> + + * math/libm-test.inc (lrint_test_data): Add more tests. + (llrint_test_data): Likewise. + (lround_test_data): Likewise. + (llround_test_data): Likewise. + + * math/libm-test.inc (lrint_test_data): Add tests used for llrint. + (llrint_test_data): Add tests used for lrint. + + * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure + test. + * sysdeps/i386/configure: Regenerated. + * sysdeps/i386/i686/multiarch/Makefile + [$(config-cflags-sse4) = yes]: Make code unconditional. + * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]: + Likewise. + * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: + Likewise. + * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure + test. + * sysdeps/x86_64/configure: Regenerated. + * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]: + Make code unconditional. + * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]: + Likewise. + * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise. + * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef. + + * scripts/rpm2dynsym.sh: Remove file. + +2015-10-06 Florian Weimer <fweimer@redhat.com> + + * configure.ac (libc_cv_cxx_thread_local): Define. + * configure: Regenerate. + * config.make.in (have-cxx-thread_local): Define. + * nptl/Makefile (CFLAGS-tst-thread_local1.o): + (LDLIBS-tst-thread_local1): Define. + (tests): Add tst-thread_local1. + [have-cxx-thread_local != yes] (tests-unsupported): Add + tst-thread_local1. + * nptl/tst-thread_local1.cc: New file. + +2015-10-06 Joseph Myers <joseph@codesourcery.com> + + [BZ #19078] + * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable. + (u_thres): Likewise. + (__expl): Determine whether to call __kernel_standard_l based on + value of result, not argument. + + * math/libm-test.inc (scalb_test_data): Add more expectations for + the "inexact" exception. + + [BZ #19077] + * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return + 0.0L for argument 1.0L. + + [BZ #19076] + * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by + constant 0.0L when computing infinite result. + +2015-10-06 Florian Weimer <fweimer@redhat.com> + + [BZ #10432] + * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to + malloc_usable_size. + +2015-10-06 Florian Weimer <fweimer@redhat.com> + + [BZ #19018] + * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): + Mangle function pointer before storing it. + (__call_tls_dtors): Demangle function pointer before calling it. + +2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com> + + [BZ #19012] + * iconv/gconv_db.c (gen_steps): Check for additional errors. + Clean up on failure. + +2015-10-05 Joseph Myers <joseph@codesourcery.com> + + [BZ #19071] + * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned + long int variable to store possibly incremented high part of + mantissa. + * math/libm-test.inc (lround_test_data): Add tests used for + llround. Use [LONG_MAX > 0x7fffffff] consistently as condition + for tests requiring 64-bit long. Do not condition tests on + [TEST_FLOAT] unnecessarily. + (llround_test_data): Add tests used for lround. Add another + expectation for the "inexact" exception. Do not condition tests + on [TEST_FLOAT] unnecessarily. + + [BZ #887] + [BZ #19049] + [BZ #19050] + * sysdeps/generic/fix-int-fp-convert-zero.h: New file. + * sysdeps/ieee754/dbl-64/e_log10.c: Include + <fix-int-fp-convert-zero.h>. + (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO. + * sysdeps/ieee754/dbl-64/e_log2.c: Include + <fix-int-fp-convert-zero.h>. + (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO. + * sysdeps/ieee754/dbl-64/s_erf.c: Include + <fix-int-fp-convert-zero.h>. + (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO. + * sysdeps/ieee754/dbl-64/s_logb.c: Include + <fix-int-fp-convert-zero.h>. + (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO. + * sysdeps/ieee754/flt-32/e_log10f.c: Include + <fix-int-fp-convert-zero.h>. + (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO. + * sysdeps/ieee754/flt-32/e_log2f.c: Include + <fix-int-fp-convert-zero.h>. + (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO. + * sysdeps/ieee754/flt-32/s_erff.c: Include + <fix-int-fp-convert-zero.h>. + (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO. + * sysdeps/ieee754/flt-32/s_logbf.c: Include + <fix-int-fp-convert-zero.h>. + (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO. + * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include + <fix-int-fp-convert-zero.h>. + (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO. + * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include + <fix-int-fp-convert-zero.h>. + (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO. + * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file. + * sysdeps/powerpc/powerpc32/fpu/configure: New generated file. + * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New + file. + * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro. + +2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com> + + * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated. + +2015-10-02 Joseph Myers <joseph@codesourcery.com> + + [BZ #19059] + * math/s_nexttowardf.c (__nexttowardf): Do not return value from + overflowing computation. + * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise. + * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise. + * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): + Likewise. + * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf): + Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): + Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf): + Likewise. + * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise. + * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): + Likewise. + * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf): + Likewise. + * math/libm-test.inc (nexttoward_test_data): Add more tests. + + * nss/rewrite_field.c (__nss_rewrite_field): Use + internal_function. + * nss/valid_field.c (__nss_valid_field): Likewise. + * nss/valid_list_field.c (__nss_valid_list_field): Likewise. + +2015-10-02 Florian Weimer <fweimer@redhat.com> + + [BZ #18724] + * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define. + (__nss_invalid_field_characters, __nss_valid_field) + (__nss_valid_list_field, __nss_rewrite_field): Declare. + * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c, + tst-field.c: New file. + * nss/Makefile (routines): Add valid_field, rewrite_field. + (tests-static): Define unconditionally. + (tests): Include tests-static. + [build-static-nss] (tests-static): Use append. + [build-static-nss] (tests): Remove modification. + * nss/getent.c (print_group): Call putgrent. Report error. + (print_gshadow): Call putsgent. Report error. + (print_passwd): Call putpwent. Report error. + (print_shadow): Call putspent. Report error. + * include/pwd.h: Include <nss.h> instead of <nss/nss.h>. + * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute. + * pwd/putpwent.c (putpwent): Use ISO function definition. Check + name, password, directory, shell fields for valid syntax. Rewrite + GECOS field to match syntax. + * pwd/Makefile (tests): Add tst-putpwent. + * pwd/tst-putpwent.c: New file. + * grp/putgrent.c (putgrent): Convert to ISO function definition. + Check grName, grpasswd, gr_mem fields for valid syntax. + Change loop variable i to size_t. + * grp/Makefile (tests): Add tst-putgrent. + * grp/tst-putgrent.c: New file. + * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for + valid syntax. + * shadow/Makefile (tests): Add tst-putspent. + * shadow/tst-putspent.c: New file. + * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm, + sg_mem fields for valid syntax. + * gshadow/Makefile (tests): Add tst-putsgent. + * gshadow/tst-putsgent.c: New file. + +2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com> + + * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some + assembly instructions. + +2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com> + + * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register + prefix from operands. + +2015-10-01 Joseph Myers <joseph@codesourcery.com> + + [BZ #16347] + [BZ #19046] + * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include + <libc-internal.h>. + (MAXLGM): Do not use diagnostic control macros. + [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow + threshold for ldbl-128ibm. + (__ieee754_lgammal_r): For large arguments, multiply by log - 1 + instead of multiplying by log then subtracting. + * math/auto-libm-test-in: Add more tests of lgamma. + * math/auto-libm-test-out: Regenerated. + + * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro. + (TYPE_HEX_DIG): Likewise. + (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as + precisions when printing floating-point numbers. + (check_float_internal): Likewise. + +2015-09-30 Joseph Myers <joseph@codesourcery.com> + + [BZ #16620] + * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value + of log (10) rounded downward to 48 bits. + (log10_low): Use corresponding low part of log (10). + + [BZ #19032] + * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1, + compute result as (x - x) / (x - x) not as 0 / 0. + * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise. + * math/libm-test.inc (acosh_test_data): Add another test of acosh. + + * math/auto-libm-test-in: Add more tests of acos, acosh, asin, + atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2 + and expm1. + * math/auto-libm-test-out: Regenerated. + * math/libm-test.inc (acos_test_data): Add more tests. + (asin_test_data): Likewise. + (asinh_test_data): Likewise. + (atan_test_data): Likewise. + (atanh_test_data): Likewise. + (atan2_test_data): Likewise. + (cbrt_test_data): Likewise. + (ceil_test_data): Likewise. + (copysign_test_data): Likewise. + (cos_test_data): Likewise. + (cosh_test_data): Likewise. + (erf_test_data): Likewise. + (erfc_test_data): Likewise. + (exp_test_data): Likewise. + (exp10_test_data): Likewise. + (exp2_test_data): Likewise. + (expm1_test_data): Likewise. + * sysdeps/x86_64/fpu/libm-test-ulps: Update. + +2015-09-30 H.J. Lu <hongjiu.lu@intel.com> + + [BZ #19006] + * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved + to ... + * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here. + * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved + to ... + * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here. + * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved + to ... + * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here. + * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ... + * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here. + * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved + to ... + * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here. + * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: + Moved to ... + * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here. + * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: + Moved to ... + * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here. + * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved + to ... + * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here. + * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: + Moved to ... + * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here. + * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved + to ... + * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here. + * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: + Removed. + * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: + Likewise. + * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: + Likewise. + * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise. + * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: + Likewise. + * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: + Likewise. + * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: + Likewise. + * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: + Likewise. + * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: + Likewise. + * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: + Likewise. + * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: + Likewise. + * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: + Likewise. + * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: + Likewise. + * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise. + * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: + Likewise. + * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: + Likewise. + * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: + Likewise. + * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: + Likewise. + * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: + Likewise. + * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: + Replace ../i486/pthread_cond_timedwait.S with + ../pthread_cond_timedwait.S. + +2015-09-30 Joseph Myers <joseph@codesourcery.com> + + * math/libm-test.inc (acos_test_data): Refine expectations for + errno and "inexact" exceptions. + (acosh_test_data): Likewise. + (asin_test_data): Likewise. + (asinh_test_data): Likewise. + (atan_test_data): Likewise. + (atanh_test_data): Likewise. + (atan2_test_data): Likewise. + (cbrt_test_data): Likewise. + (ceil_test_data): Likewise. + (copysign_test_data): Likewise. + (cosh_test_data): Likewise. + (erf_test_data): Likewise. + (erfc_test_data): Likewise. + (exp_test_data): Likewise. + (exp10_test_data): Likewise. + (exp2_test_data): Likewise. + (expm1_test_data): Likewise. + (fabs_test_data): Likewise. + (floor_test_data): Likewise. + (fma_test_data): Likewise. + (fmax_test_data): Likewise. + (fmin_test_data): Likewise. + (fmod_test_data): Likewise. + (fpclassify_test_data): Likewise. + (frexp_test_data): Likewise. + (hypot_test_data): Likewise. + (ilogb_test_data): Likewise. + (isgreater_test_data): Likewise. + (isgreaterequal_test_data): Likewise. + (isinf_test_data): Likewise. + (isless_test_data): Likewise. + (islessequal_test_data): Likewise. + (islessgreater_test_data): Likewise. + (isnan_test_data): Likewise. + (isnormal_test_data): Likewise. + (issignaling_test_data): Likewise. + (isunordered_test_data): Likewise. + (j0_test_data): Likewise. + (j1_test_data): Likewise. + (jn_test_data): Likewise. + (lgamma_test_data): Likewise. + (lrint_test_data): Likewise. + (llrint_test_data): Likewise. + (log_test_data): Likewise. + (log10_test_data): Likewise. + (log1p_test_data): Likewise. + (log2_test_data): Likewise. + (logb_test_data): Likewise. + (lround_test_data): Likewise. + (llround_test_data): Likewise. + (modf_test_data): Likewise. + (nearbyint_test_data): Likewise. + (nextafter_test_data): Likewise. + (nexttoward_test_data): Likewise. + (pow_test_data): Likewise. + (remainder_test_data): Likewise. + (remquo_test_data): Likewise. + (rint_test_data): Likewise. + (round_test_data): Likewise. + (signbit_test_data): Likewise. + (sinh_test_data): Likewise. + (sqrt_test_data): Likewise. + (tanh_test_data): Likewise. + (tgamma_test_data): Likewise. + (trunc_test_data): Likewise. + (y0_test_data): Likewise. + (y1_test_data): Likewise. + (yn_test_data): Likewise. + (significand_test_data): Likewise. + +2015-09-29 Carlos O'Donell <carlos@redhat.com> + + * manual/filesys.texi (Storage Allocation): Document that + posix_fallocate emulation fails when fd is open with O_WRONLY. + +2015-09-28 Joseph Myers <joseph@codesourcery.com> + + [BZ #19016] + * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to + allow more cases with X^2 + Y^2 >= 0.5. + * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as + normal element in sum instead of special-casing based on values of + arguments. + * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment. + * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add + -1 as normal element in sum instead of special-casing based on + values of arguments. + * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise. + * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0] + (__x2y2m1): Update comment. + * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1 + as normal element in sum instead of special-casing based on values + of arguments. + * math/s_clog.c (__clog): Handle more cases using log1p without + hypot. + * math/s_clog10.c (__clog10): Likewise. + * math/s_clog10f.c (__clog10f): Likewise. + * math/s_clog10l.c (__clog10l): Likewise. + * math/s_clogf.c (__clogf): Likewise. + * math/s_clogl.c (__clogl): Likewise. + * math/auto-libm-test-in: Add more tests of clog and clog10. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2015-09-28 Martin Sebor <msebor@redhat.com> + + [BZ #18969] + * string/Makefile (LOCALES): Define. + (gen-locales.mk): Include. + (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out) + (tst-strxfrm2.out): Add deppendency on $(gen-locales). + * string/tst-strxfrm2.c (do_test): Print the name of the locale + on setlocale failure. + +2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com> + + [BZ #18985] + * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check. + (__strftime_internal): Likewise. + * time/tst-strftime.c (do_bz18985): New test. + (do_test): Call it. + +2015-09-26 Joseph Myers <joseph@codesourcery.com> + + [BZ #18956] + * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000 + not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when + extracting high part. + * math/auto-libm-test-in: Add another test of pow. + * math/auto-libm-test-out: Regenerated. + * sysdeps/x86_64/fpu/libm-test-ulps: Update. + +2015-09-25 Joseph Myers <joseph@codesourcery.com> + + [BZ #18825] + * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN): + New macro. + (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise. + (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise. + * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN. + (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of + DBL_NARROW_EVAL, reloading the PIC register as needed. + * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN. + (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of + FLT_NARROW_EVAL. Use separate return path for case when first + argument is NaN. + * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use + DEFINE_LDBL_MIN. + (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the + PIC register. + * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use + math_check_force_underflow_nonneg. + * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force + underflow for subnormal result. + * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use + math_check_force_underflow_nonneg. + * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use + math_check_force_underflow. + * sysdeps/x86_64/fpu/x86_64-math-asm.h + (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro. + * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use + DEFINE_LDBL_MIN. + (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN. + * math/auto-libm-test-in: Add more tests of pow. + * math/auto-libm-test-out: Regenerated. + +2015-09-25 Florian Weimer <fweimer@redhat.com> + + * nss/bug17079.c (init_test_items): Add diagnostic for + inconsistent entries. + (test_buffer_size): Skip inconsistent entries. + +2015-09-25 Joseph Myers <joseph@codesourcery.com> + + [BZ #13304] + * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file. + * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise. + * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise. + + [BZ #13304] + * sysdeps/microblaze/s_fma.c: New file. + * sysdeps/microblaze/s_fmaf.c: Likewise. + * sysdeps/microblaze/sfp-machine.h: Likewise. + +2015-09-25 Maciej W. Rozycki <macro@imgtec.com> + + [BZ #17250] + * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1 + member. + +2015-09-24 Joseph Myers <joseph@codesourcery.com> + + [BZ #18803] + * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN. + (MO): New macro. + (__ieee754_hypot) [PIC]: Load PIC register. + (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of + DBL_NARROW_EVAL. + * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use + math_check_force_underflow_nonneg in case where result might be + tiny. + * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): + Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): + Likewise. + * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise. + * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise. + * math/auto-libm-test-in: Add more tests of hypot. + * math/auto-libm-test-out: Regenerated. + +2015-09-24 Steve Ellcey <sellcey@imgtec.com> + + * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused. + +2015-09-24 Joseph Myers <joseph@codesourcery.com> + + * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file. + * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>. + (ldbl_min): Replace with use of DEFINE_LDBL_MIN. + (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN. + * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>. + [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN. + (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG. + + * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use + LOAD_PIC_REG. + + * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro. + (FLT_CHECK_FORCE_UFLOW): Likewise. + (DBL_CHECK_FORCE_UFLOW): Likewise. + (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise. + (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise. + (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise. + (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise. + (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise. + (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise. + (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise. + (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise. + * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>. + (dbl_min): Replace with use of DEFINE_DBL_MIN. + (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW. + * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>. + (flt_min): Replace with use of DEFINE_FLT_MIN. + (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW. + * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>. + (dbl_min): Replace with use of DEFINE_DBL_MIN. + (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW. + * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>. + (flt_min): Replace with use of DEFINE_FLT_MIN. + (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW. + * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>. + (dbl_min): Replace with use of DEFINE_DBL_MIN. + (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG. + * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>. + (flt_min): Replace with use of DEFINE_FLT_MIN. + (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG. + * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>. + (ldbl_min): Replace with use of DEFINE_LDBL_MIN. + (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN. + * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>. + [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN. + (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG. + * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>. + (dbl_min): Replace with use of DEFINE_DBL_MIN. + (__atan): Use DBL_CHECK_FORCE_UFLOW. + * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>. + (flt_min): Replace with use of DEFINE_FLT_MIN. + (__atanf): Use FLT_CHECK_FORCE_UFLOW. + * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>. + (dbl_min): Replace with use of DEFINE_DBL_MIN. + (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after + main computation. + * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>. + (flt_min): Replace with use of DEFINE_FLT_MIN. + (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after + main computation. + * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>. + (dbl_min): Replace with use of DEFINE_DBL_MIN. + (MO): New macro. + (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN. + * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>. + (flt_min): Replace with use of DEFINE_FLT_MIN. + (MO): New macro. + (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN. + * sysdeps/i386/fpu/s_log1pl.S (MO): New macro. + (__log1pl): Use MO. + + [BZ #19003] + * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add + $(config-cflags-nofma). + +2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com> + + * sysdeps/aarch64/libm-test-ulps: Regenerated. + +2015-09-23 Joseph Myers <joseph@codesourcery.com> + + * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile. + (TWO127): Likewise. + + * sysdeps/generic/math_private.h (fabs_tg): New macro. + (min_of_type): Likewise. + (math_check_force_underflow): Likewise. + (math_check_force_underflow_nonneg): Likewise. + (math_check_force_underflow_complex): Likewise. + * math/e_exp2l.c (__ieee754_exp2l): Use + math_check_force_underflow_nonneg. + * math/k_casinh.c (__kernel_casinh): Likewise. + * math/k_casinhf.c (__kernel_casinhf): Likewise. + * math/k_casinhl.c (__kernel_casinhl): Likewise. + * math/s_catan.c (__catan): Use + math_check_force_underflow_complex. + * math/s_catanf.c (__catanf): Likewise. + * math/s_catanh.c (__catanh): Likewise. + * math/s_catanhf.c (__catanhf): Likewise. + * math/s_catanhl.c (__catanhl): Likewise. + * math/s_catanl.c (__catanl): Likewise. + * math/s_ccosh.c (__ccosh): Likewise. + * math/s_ccoshf.c (__ccoshf): Likewise. + * math/s_ccoshl.c (__ccoshl): Likewise. + * math/s_cexp.c (__cexp): Likewise. + * math/s_cexpf.c (__cexpf): Likewise. + * math/s_cexpl.c (__cexpl): Likewise. + * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg. + * math/s_clog10.c (__clog10): Likewise. + * math/s_clog10f.c (__clog10f): Likewise. + * math/s_clog10l.c (__clog10l): Likewise. + * math/s_clogf.c (__clogf): Likewise. + * math/s_clogl.c (__clogl): Likewise. + * math/s_csin.c (__csin): Use math_check_force_underflow_complex. + * math/s_csinf.c (__csinf): Likewise. + * math/s_csinh.c (__csinh): Likewise. + * math/s_csinhf.c (__csinhf): Likewise. + * math/s_csinhl.c (__csinhl): Likewise. + * math/s_csinl.c (__csinl): Likewise. + * math/s_csqrt.c (__csqrt): Use math_check_force_underflow. + * math/s_csqrtf.c (__csqrtf): Likewise. + * math/s_csqrtl.c (__csqrtl): Likewise. + * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex. + * math/s_ctanf.c (__ctanf): Likewise. + * math/s_ctanh.c (__ctanh): Likewise. + * math/s_ctanhf.c (__ctanhf): Likewise. + * math/s_ctanhl.c (__ctanhl): Likewise. + * math/s_ctanl.c (__ctanl): Likewise. + * stdlib/strtod_l.c (round_and_return): Use math_force_eval + instead of volatile. + * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use + math_check_force_underflow. + * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise. + * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use + volatile when forcing underflow. + * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use + math_check_force_underflow_nonneg. + * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): + Likewise. + * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use + math_check_force_underflow. + * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise. + * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise. + * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise. + * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use + math_check_force_underflow_nonneg. + * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use + math_check_force_underflow. + * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise. + * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval + instead of volatile. + * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use + math_check_force_underflow. + * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise. + * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use + math_check_force_underflow_nonneg. + * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use + math_check_force_underflow. + * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise. + * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise. + * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use + math_check_force_underflow_nonneg. + * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): + Likewise. + * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use + math_check_force_underflow. + * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise. + * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise. + * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise. + * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise. + * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise. + * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise. + * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise. + * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise. + * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise. + * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise. + * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise. + * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl): + Likewise. + * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use + math_check_force_underflow_nonneg. + * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r): + Likewise. + * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use + math_check_force_underflow. + * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise. + * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise. + * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl): + Likewise. + * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise. + * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise. + * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise. + * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise. + * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise. + * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise. + * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval + instead of volatile. + * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use + math_check_force_underflow. + * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use + math_check_force_underflow. + * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): + Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r): + Use math_check_force_underflow_nonneg. + * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use + math_check_force_underflow. + * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): + Likewise. + * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): + Likewise. + * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise. + * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise. + * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise. + * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use + math_check_force_underflow_nonneg. + * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use + math_check_force_underflow. + * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise. + * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise. + * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise. + * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use + math_check_force_underflow_nonneg. + * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use + math_check_force_underflow. + * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise. + * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval + instead of volatile. + * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use + math_check_force_underflow. + + * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval. + * stdlib/strtod_l.c: Include <math_private.h>. + (overflow_value): Use math_narrow_eval. + (underflow_value): Likewise. + * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise. + * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise. + * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise. + (__ieee754_gamma_r): Likewise. + * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf): + Likewise. + * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): + Likewise. + * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise. + * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise. + * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise. + * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise. + * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise. + (__ieee754_gammaf_r): Likewise. + * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): + Likewise. + * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise. + * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise. + * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise. + * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise. + * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use + volatile. + * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise. + * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use + math_narrow_eval. + * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): + Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf): + Likewise. + * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product): + Likewise. + * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use + volatile. + * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise. + * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use + math_narrow_eval. + * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): + Likewise. + * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf): + Likewise. + +2015-09-22 H.J. Lu <hongjiu.lu@intel.com> + + * nptl/Versions: Remove ignored symbols. + +2015-09-22 Florian Weimer <fweimer@redhat.com> + + * nss/bug17079.c: Renamed from nss/bug18287.c. Add description. + * nss/Makefile (tests): Update. + +2015-09-22 Florian Weimer <fweimer@redhat.com> + + * nss/bug18287.c: New file. + * nss/Makefile (tests): Add bug18287. + +2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org> + + * mach/Versions (__mach_host_self_): Add symbol. + +2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org> + + * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of + vm_page_size. + +2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org> + + Really fix sysdeps/i386/fpu/s_scalbn.S build + + * math/Versions (libc: GLIBC_2_20): New (empty) version set. + (libc: GLIBC_2_22): Remove unused version set. + +2015-09-18 Mike Frysinger <vapier@gentoo.org> + + * config.make.in (enable-timezone-tools): New variable. + * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag. + (enable_timezone_tools): Export to generated files. + * configure: Regenerate. + * INSTALL: Regenerate. + * manual/install.texi (--disable-timezone-tools): Document new flag. + * timezone/Makefile (install-sbin, install-bin-script): Wrap in a + ifeq ($(enable-timezone-tools),yes) check. + +2015-09-18 Joseph Myers <joseph@codesourcery.com> + + * timezone/Makefile: Revert previous change. + + [BZ #18980] + * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro. + (DEFINE_DBL_MIN): Likewise. + (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise. + (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise. + (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise. + (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise. + * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>. + (dbl_min): Replace with use of DEFINE_DBL_MIN. + (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN. + (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG. + * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>. + (dbl_min): Replace with use of DEFINE_DBL_MIN. + (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN. + * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>. + (flt_min): Replace with use of DEFINE_FLT_MIN. + (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN. + * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>. + (dbl_min): Replace with use of DEFINE_DBL_MIN. + (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN. + * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>. + (flt_min): Replace with use of DEFINE_FLT_MIN. + (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN. + * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>. + (flt_min): Replace with use of DEFINE_FLT_MIN. + (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN. + (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG. + * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>. + (__ieee754_hypot): Use DBL_NARROW_EVAL. + * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>. + (__ieee754_hypotf): Use FLT_NARROW_EVAL. + * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>. + (__ieee754_pow): Use DBL_NARROW_EVAL. + * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>. + (__ieee754_powf): Use FLT_NARROW_EVAL. + * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S + (__ieee754_expf_sse2): Convert double-precision result to single + precision. + * sysdeps/i386/fpu/libm-test-ulps: Update. + +2015-09-18 Wilco Dijkstra <wdijkstr@arm.com> + + * timezone/Makefile: Ignore unused variable errors due to private.h + (time_t_min) and (time_t_max). + * timezone/private.h (time_t_min): Revert removal. (time_t_max): + Likewise. + +2015-09-18 Joseph Myers <joseph@codesourcery.com> + + [BZ #18981] + * sysdeps/i386/fpu/i386-math-asm.h: New file. + * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>. + (__ieee754_scalb): Use DBL_NARROW_EVAL. + * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>. + (__ieee754_scalbf): Use FLT_NARROW_EVAL. + * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>. + (__scalbn): Use DBL_NARROW_EVAL. + * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>. + (__scalbnf): Use FLT_NARROW_EVAL. + +2015-09-18 Wilco Dijkstra <wdijkstr@arm.com> + + * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check. + * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise. + * math/w_tgammal.c (__ieee754_gammal_r): Likewise. + * stdio-common/printf_fp.c (___printf_fp): + Use signbit to get the sign. Use isinf macro to allow inlining. + * stdio-common/printf_fphex.c (__printf_fphex): Likewise. + * stdio-common/printf_size.c (__printf_size): Likewise. + +2015-09-18 Mike Frysinger <vapier@gentoo.org> + + * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory). + +2015-09-18 Joseph Myers <joseph@codesourcery.com> + + [BZ #18980] + * sysdeps/generic/math_private.h: Include <float.h>. + (math_narrow_eval): New macro. + [FLT_EVAL_METHOD != 0] (excess_precision): Likewise. + * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use + math_narrow_eval on overflowing return value. + * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): + Likewise. + * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise. + * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise. + * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): + Likewise. + * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise. + +2015-09-18 Wilco Dijkstra <wdijkstr@arm.com> + + * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl. + * math/Makefile: Remove isinf_ns.c. + * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf. + * math/multc3.c (__multc3): Likewise. + * math/s_casin.c (__casin): Likewise. + * math/s_casinf.c (__casinf): Likewise. + * math/s_casinl.c (__casinl): Likewise. + * math/s_cproj.c (__cproj): Likewise. + * math/s_cprojf.c (__cprojf): Likewise. + * math/s_cprojl.c (__cprofl): Likewise. + * math/s_ctan.c (__ctan): Likewise. + * math/s_ctanf.c (__ctanf): Likewise. + * math/s_ctanh.c (__ctanh): Likewise. + * math/s_ctanhf.c (__ctanhf): Likewise. + * math/s_ctanhl.c (__ctanhl): Likewise. + * math/s_ctanl.c (__ctanl): Likewise. + * math/w_fmod.c (__fmod): Likewise. + * math/w_fmodf.c (__fmodf): Likewise. + * math/w_fmodl.c (_fmodl): Likewise. + * math/w_remainder.c (__remainder): Likewise. + * math/w_remainderf.c (__remainderf): Likewise. + * math/w_remainderl.c (__remainderl): Likewise. + * math/w_scalb.c (__scalb): Likewise. + * math/w_scalbf.c (__scalbf): Likewise. + * math/w_scalbl.c (__scalbl): Likewise. + * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file. + * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns + with isinf. + * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file. + * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file. + * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace + __isinf_nsf with isinf. + * sysdeps/ieee754/flt-32/math_private.h: Deleted file. + * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file. + * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file. + * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl + with isinf. + * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace + __isinf_nsl with isinf. + * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl + with isinf. + * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file. + * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace + __isinf_nsl with isinf. + * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file. + * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl + with isinf. + +2015-09-18 Wilco Dijkstra <wdijkstr@arm.com> + + * resolv/base64.c (rcsid): Remove unused static. + * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused + static. (tqpi1): Likewise. + * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise. + * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise. + * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise. + * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise. + * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise. + * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise. + * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise. + * timezone/private.h (time_t_min): Likewise. (time_t_max): + Likewise. + +2015-09-18 H.J. Lu <hongjiu.lu@intel.com> + + * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of + <nptl/pthreadP.h>. + (_longjmp_unwind): Use __libc_ptf_call. + * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise. + +2015-09-18 David Lamparter <equinox-gentoo@diac24.net> + + * sysdeps/arm/setjmp.S: Change PIC to SHARED. + * sysdeps/arm/__longjmp.S: Likewise + +2015-09-18 Wilco Dijkstra <wdijkstr@arm.com> + + * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit): + Use __builtin_signbit. + * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf): + Use __builtin_signbitf. + * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl): + Use __builtin_signbitl. + * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise. + * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise. + +2015-09-18 Wilco Dijkstra <wdijkstr@arm.com> + + [BZ #15367] + [BZ #17441] + + * math/Makefile: Build test-snan.c with -fsignaling-nans. + * math/math.h (fpclassify): Use __builtin_fpclassify when + available. (signbit): Use __builtin_signbit(f/l). + (isfinite): Use__builtin_isfinite. (isnormal): Use + __builtin_isnormal. (isnan): Use __builtin_isnan. + (isinf): Use __builtin_isinf_sign. + +2015-09-18 Wilco Dijkstra <wdijkstr@arm.com> + + * benchtests/Makefile: Add bench-math-inlines, link with libm. + * benchtests/bench-math-inlines.c: New benchmark. + * benchtests/bench-util.h: New file. + * benchtests/bench-util.c: New file. + * benchtests/bench-skeleton.c: Add include of bench-util.c/h. + +2015-09-18 Carlos O'Donell <carlos@redhat.com> + + * elf/tst-dlmopen1.c: Define TEST_SO. + (do_test): Use TEST_SO. + + * elf/dl-load.c: Include libc-internal.h. + (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN. + +2015-09-18 Vincent Bernat <vincent@bernat.im> + + [BZ #17887] + * time/strptime_l.c (__strptime_internal): Make %z accept + [+-]HH:MM time zones. + +2015-09-18 Vincent Bernat <vincent@bernat.im> + + [BZ #17886] + * time/strptime_l.c (__strptime_internal): Make %z accept Z as a + valid time zone. + +2015-09-17 Mike Frysinger <vapier@gentoo.org> + + * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete. + * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete. + * sysdeps/unix/sysv/linux/alpha/kernel-features.h + (__ASSUME_FDATASYNC): Delete. + +2015-09-17 Joseph Myers <joseph@codesourcery.com> + + * conform/linknamespace.pl: Require weak undefined symbols to be + in the standard namespace. + (%strong_syms): Rename to %seen_syms. + (%strong_seen): Rename to %seen_where. + +2015-09-17 H.J. Lu <hongjiu.lu@intel.com> + + [BZ #18970] + * misc/error.c (error): Replace pthread_setcancelstate with + __pthread_setcancelstate. + (error_at_line): Likewise. + * posix/wordexp.c (parse_comm): Likewise. + * stdlib/fmtmsg.c (fmtmsg): Likewise. + * nptl/forward.c (pthread_setcancelstate): Renamed to ... + (__pthread_setcancelstate): This. + (pthread_setcancelstate): Add an alias. + * nptl/nptl-init.c (pthread_functions): Replace + ptr_pthread_setcancelstate with ptr___pthread_setcancelstate. + * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise. + * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with + hidden_proto. + * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark + it with hidden_def. + * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New. + (pthread_setcancelstate): Renamed to ... + (__pthread_setcancelstate): This. + * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use + __libc_ptf_call with __pthread_setcancelstate. + +2015-09-17 Joseph Myers <joseph@codesourcery.com> + Andreas Schwab <schwab@suse.de> + + [BZ #17118] + * math/s_ctan.c (__ctan): Determine sign of zero real part of + result when imaginary part of argument is infinite using sine and + cosine. + * math/s_ctanf.c (__ctanf): Likewise. + * math/s_ctanl.c (__ctanl): Likewise. + * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part + of result when real part of argument is infinite using sine and + cosine. + * math/s_ctanhf.c (__ctanhf): Likewise. + * math/s_ctanhl.c (__ctanhl): Likewise. + * math/libm-test.inc (ctan_test_data): Add more tests of ctan. + (ctanh_test_data): Add more tests of ctanh. + +2015-09-17 Joseph Myers <joseph@codesourcery.com> + + [BZ #15384] + * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as + bit-mask as in subtraction. + * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite): + Likewise. + * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise. + * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise. + + [BZ #18951] + * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force + underflow exception for small results. + * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): + Likewise. + * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r): + Likewise. + * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r): + Likewise. + * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): + Likewise. + * math/auto-libm-test-in: Add more tests of tgamma. + * math/auto-libm-test-out: Regenerated. + +2015-09-17 Andreas Schwab <schwab@suse.de> + + * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd. + +2015-09-16 Joseph Myers <joseph@codesourcery.com> + + [BZ #18977] + * math/bits/mathcalls.h + [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do + not declare. + [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1): + Likewise. + [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn): + Likewise. + [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0): + Likewise. + [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1): + Likewise. + [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn): + Likewise. + * conform/data/math.h-data + [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect + function. + [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise. + [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise. + [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise. + [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise. + [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise. + [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise. + [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise. + [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise. + [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise. + [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise. + [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise. + + [BZ #6803] + * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp. + [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp. + * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf. + * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl. + * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias. + * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise. + * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise. + * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise. + [NO_LONG_DOUBLE] (scalbnl): Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn): + Likewise. + [NO_LONG_DOUBLE] (scalbnl): Likewise. + * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise. + * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove + long_double_symbol calls. + * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise. + * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as + strong alias of __ldexpl. + (scalbnl): Define using long_double_symbol. + * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)): + Remove alias. + * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise. + * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise. + * math/libm-test.inc (scalbn_test_data): Add errno expectations. + (scalbln_test_data): Add more errno expectations. + +2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de> + + Cache the host port like we cache the task port. This way we do not + need to call the kernel just to get the port. Furthermore, we no + longer increase the reference count on every invocation of + `mach_host_self'. + + * mach/mach/mach_traps.h (__mach_host_self, mach_host_self): + Protect declarations against the macro expansion. + * mach/mach_init.c (__mach_host_self_): New variable. + (mach_init): Initialize `__mach_host_self_'. + * mach/mach_init.h (__mach_host_self_): New declaration. + (__mach_host_self, mach_host_self): New macros. + * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): + Release reference. + +2015-09-16 Joseph Myers <joseph@codesourcery.com> + + [BZ #4404] + * po/de.po: Update from Translation Project. + + [BZ #16415] + * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable. + (__expm1l): Remove code to handle positive infinity and overflow. + * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove + variable. + (__expm1l): Remove code to handle positive infinity and overflow. + +2015-09-16 Paul Eggert <eggert@cs.ucla.edu> + Paul Pluzhnikov <ppluzhnikov@google.com> + + [BZ #18872] + * stdio-common/Makefile (tst-printf-bz18872): New test. + (tst-printf-bz18872-mem.out): Likewise. + * stdio-common/tst-printf-bz18872.sh: Generate new test. + * stdio-common/vfprintf.c: Fix memory leaks. + +2015-09-16 Andreas Schwab <schwab@suse.de> + + [BZ #17244] + * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl): + Remove extra va_start/va_end calls. + + [BZ #17243] + * posix/execl.c (execl): Add missing va_end. + * posix/execle.c (execle): Likewise. + * posix/execlp.c (execlp): Likewise. + +2015-09-15 Roland McGrath <roland@hack.frob.com> + + * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX] + (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX. + +2015-09-15 Joseph Myers <joseph@codesourcery.com> + + [BZ #18967] + * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and + undefine around includes of <bits/mathcalls.h>. + * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do + not declare function. + [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise. + [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)] + (scalb): Likewise. + * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do + not define macro. + * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove + variable. + (test-xfail-XOPEN2K/tgmath.h/conform): Likewise. + (test-xfail-XOPEN2K8/math.h/conform): Likewise. + (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise. + + [BZ #18857] + * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just + return non-finite argument without doing ordered comparisons on + it. + + [BZ #16296] + * math/fenv.h (fegetround): Use __attribute_pure__. + * include/fenv.h (__fegetround): Likewise. + + [BZ #18595] + * math/s_ctan.c (__ctan): Force underflow exception for results + whose real or imaginary part has small absolute value. + * math/s_ctanf.c (__ctanf): Likewise. + * math/s_ctanh.c (__ctanh): Likewise. + * math/s_ctanhf.c (__ctanhf): Likewise. + * math/s_ctanhl.c (__ctanhl): Likewise. + * math/s_ctanl.c (__ctanl): Likewise. + * math/auto-libm-test-in: Do not allow missing underflow for ctan + and ctanh. Add more tests of ctan and ctanh. + + [BZ #15918] + * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify + handling of cases where one argument is an infinity. + + [BZ #18875] + [BZ #18966] + * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object. + (MO): New macro. + (__ieee754_exp10): For small results, force underflow exception + and remove excess range and precision from return value. + * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object. + (MO): New macro. + (__ieee754_exp10f): For small results, force underflow exception + and remove excess range and precision from return value. + * math/auto-libm-test-in: Add more tests of exp10. + * math/auto-libm-test-out: Regenerated. + +2015-09-14 Joseph Myers <joseph@codesourcery.com> + + [BZ #18875] + [BZ #18961] + * sysdeps/i386/fpu/e_exp.S (dbl_min): New object. + (MO): New macro. + (__ieee754_exp): For small results, force underflow exception and + remove excess range and precision from return value. + (__exp_finite): Likewise. + * sysdeps/i386/fpu/e_expf.S (flt_min): New object. + (MO): New macro. + (__ieee754_expf): For small results, force underflow exception and + remove excess range and precision from return value. + (__expf_finite): Likewise. + * math/auto-libm-test-in: Add more tests of exp. + * math/auto-libm-test-out: Regenerated. + + [BZ #16521] + [BZ #18875] + * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for + small results. + * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object. + (MO): New macro. + (__ieee754_exp2): For small results, force underflow exception and + remove excess range and precision from return value. + * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object. + (MO): New macro. + (__ieee754_exp2f): For small results, force underflow exception + and remove excess range and precision from return value. + * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object. + (MO): New macro. + (__ieee754_exp2l): Force underflow exception for small results. + * 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 (ldbl_min): New object. + (MO): New macro. + (__ieee754_exp2l): Force underflow exception for small results. + * math/auto-libm-test-in: Add more tests or exp2. + * math/auto-libm-test-out: Regenerated. + +2015-09-14 Carlos O'Donell <carlos@redhat.com> + + * malloc/malloc.c (systrim): Use ALIGN_DOWN. + + * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from + /dev/null. + +2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org> + + * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth + io fs process)): Drop spurious backslash. + +2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk> + + * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages): + Use sysinfo system call instead of parsing /proc/meminfo. + * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages): + Likewise. + +2015-09-11 Mike Frysinger <vapier@gentoo.org> + + [BZ #16985] + * programs/localedef.c (main): Display argv[remaining] when + output_path is NULL. + +2015-09-11 Joseph Myers <joseph@codesourcery.com> + + * math/auto-libm-test-in: Add more tests of acos, acosh, asin, + asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp, + exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and + tanh. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/mips/mips32/libm-test-ulps: Likewise. + * sysdeps/mips/mips64/libm-test-ulps: Likewise. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2015-09-11 Roland McGrath <roland@hack.frob.com> + + * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers): + Use 'override' keyword to freeze the value here, preventing + the addition of sys/mtio.h by sysdeps/gnu/Makefile. + +2015-09-11 Joseph Myers <joseph@codesourcery.com> + + [BZ #14912] + * sysdeps/aarch64/bits/atomic.h: Move to ... + * sysdeps/aarch64/atomic-machine.h: ...here. + (_AARCH64_BITS_ATOMIC_H): Rename macro to + _AARCH64_ATOMIC_MACHINE_H. + * sysdeps/alpha/bits/atomic.h: Move to ... + * sysdeps/alpha/atomic-machine.h: ...here. + * sysdeps/arm/bits/atomic.h: Move to ... + * sysdeps/arm/atomic-machine.h: ...here. Update comments. + * bits/atomic.h: Move to ... + * sysdeps/generic/atomic-machine.h: ...here. + (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H. + * sysdeps/i386/bits/atomic.h: Move to ... + * sysdeps/i386/atomic-machine.h: ...here. + * sysdeps/ia64/bits/atomic.h: Move to ... + * sysdeps/ia64/atomic-machine.h: ...here. + * sysdeps/m68k/coldfire/bits/atomic.h: Move to ... + * sysdeps/m68k/coldfire/atomic-machine.h: ...here. + (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H. + * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ... + * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here. + * sysdeps/microblaze/bits/atomic.h: Move to ... + * sysdeps/microblaze/atomic-machine.h: ...here. + * sysdeps/mips/bits/atomic.h: Move to ... + * sysdeps/mips/atomic-machine.h: ...here. + (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H. + * sysdeps/powerpc/bits/atomic.h: Move to ... + * sysdeps/powerpc/atomic-machine.h: ...here. Update comments. + * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ... + * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update + comments. Include <atomic-machine.h> instead of <bits/atomic.h>. + * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ... + * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include + <atomic-machine.h> instead of <bits/atomic.h>. + * sysdeps/s390/bits/atomic.h: Move to ... + * sysdeps/s390/atomic-machine.h: ...here. + * sysdeps/sparc/sparc32/bits/atomic.h: Move to ... + * sysdeps/sparc/sparc32/atomic-machine.h: ...here. + (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H. + * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ... + * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here. + * sysdeps/sparc/sparc64/bits/atomic.h: Move to ... + * sysdeps/sparc/sparc64/atomic-machine.h: ...here. + * sysdeps/tile/bits/atomic.h: Move to ... + * sysdeps/tile/atomic-machine.h: ...here. + * sysdeps/tile/tilegx/bits/atomic.h: Move to ... + * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include + <sysdeps/tile/atomic-machine.h> instead of + <sysdeps/tile/bits/atomic.h>. + (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H. + * sysdeps/tile/tilepro/bits/atomic.h: Move to ... + * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include + <sysdeps/tile/atomic-machine.h> instead of + <sysdeps/tile/bits/atomic.h>. + (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H. + * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ... + * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include + <sysdeps/arm/atomic-machine.h> instead of + <sysdeps/arm/bits/atomic.h>. + * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ... + * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here. + (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H. + * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ... + * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here. + (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H. + * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ... + * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here. + (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H. + * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ... + * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here. + * sysdeps/x86_64/bits/atomic.h: Move to ... + * sysdeps/x86_64/atomic-machine.h: ...here. + * include/atomic.h: Include <atomic-machine.h> instead of + <bits/atomic.h>. + + * sysdeps/mips/mips32/libm-test-ulps: Update. + * sysdeps/mips/mips64/libm-test-ulps: Likewise. + + [BZ #18952] + * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do + not convert non-integer negative arguments to int to determine the + value of signgam. + * math/auto-libm-test-in: Add more tests of lgamma. + * math/auto-libm-test-out: Regenerated. + + * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt, + cosh, csqrt, erfc, expm1 and lgamma. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2015-09-10 Joseph Myers <joseph@codesourcery.com> + + [BZ #2542] + [BZ #2543] + [BZ #2558] + * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call + __lgamma_neg for arguments from -28.0 to -2.0. + * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call + __lgamma_negf for arguments from -15.0 to -2.0. + * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): + Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0. + * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r): + Call __lgamma_negl for arguments from -33.0 to -2.0. + * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file. + * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise. + * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise. + * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise. + * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise. + * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise. + * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise. + * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise. + * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise. + * sysdeps/generic/math_private.h (__lgamma_negf): New prototype. + (__lgamma_neg): Likewise. + (__lgamma_negl): Likewise. + (__lgamma_product): Likewise. + (__lgamma_productl): Likewise. + * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product. + * math/auto-libm-test-in: Add more tests of lgamma. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2015-09-09 Justin Maggard <jmaggard@netgear.com> + + [BZ #18675] + * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64. + +2015-09-08 Joseph Myers <joseph@codesourcery.com> + + [BZ #14912] + * bits/libc-lock.h: Move to ... + * sysdeps/generic/libc-lock.h: ...here. + (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H. + * sysdeps/mach/hurd/bits/libc-lock.h: Move to ... + * sysdeps/mach/hurd/libc-lock.h: ...here. + (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H. + [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>. + * sysdeps/mach/bits/libc-lock.h: Move to ... + * sysdeps/mach/libc-lock.h: ...here. + (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H. + * sysdeps/nptl/bits/libc-lock.h: Move to ... + * sysdeps/nptl/libc-lock.h: ...here. + (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H. + * sysdeps/nptl/bits/libc-lockP.h: Move to ... + * sysdeps/nptl/libc-lockP.h: ...here. + (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H. + * crypt/crypt_util.c: Include <libc-lock.h> instead of + <bits/libc-lock.h>. + * dirent/scandir-tail.c: Likewise. + * dlfcn/dlerror.c: Likewise. + * elf/dl-close.c: Likewise. + * elf/dl-iteratephdr.c: Likewise. + * elf/dl-lookup.c: Likewise. + * elf/dl-open.c: Likewise. + * elf/dl-support.c: Likewise. + * elf/dl-writev.h: Likewise. + * elf/rtld.c: Likewise. + * grp/fgetgrent.c: Likewise. + * gshadow/fgetsgent.c: Likewise. + * gshadow/sgetsgent.c: Likewise. + * iconv/gconv_conf.c: Likewise. + * iconv/gconv_db.c: Likewise. + * iconv/gconv_dl.c: Likewise. + * iconv/gconv_int.h: Likewise. + * iconv/gconv_trans.c: Likewise. + * include/link.h: Likewise. + * inet/getnameinfo.c: Likewise. + * inet/getnetgrent.c: Likewise. + * inet/getnetgrent_r.c: Likewise. + * intl/bindtextdom.c: Likewise. + * intl/dcigettext.c: Likewise. + * intl/finddomain.c: Likewise. + * intl/gettextP.h: Likewise. + * intl/loadmsgcat.c: Likewise. + * intl/localealias.c: Likewise. + * intl/textdomain.c: Likewise. + * libidn/idn-stub.c: Likewise. + * libio/libioP.h: Likewise. + * locale/duplocale.c: Likewise. + * locale/freelocale.c: Likewise. + * locale/newlocale.c: Likewise. + * locale/setlocale.c: Likewise. + * login/getutent_r.c: Likewise. + * login/getutid_r.c: Likewise. + * login/getutline_r.c: Likewise. + * login/utmp-private.h: Likewise. + * login/utmpname.c: Likewise. + * malloc/mtrace.c: Likewise. + * misc/efgcvt.c: Likewise. + * misc/error.c: Likewise. + * misc/fstab.c: Likewise. + * misc/getpass.c: Likewise. + * misc/mntent.c: Likewise. + * misc/syslog.c: Likewise. + * nis/nis_call.c: Likewise. + * nis/nis_callback.c: Likewise. + * nis/nss-default.c: Likewise. + * nis/nss_compat/compat-grp.c: Likewise. + * nis/nss_compat/compat-initgroups.c: Likewise. + * nis/nss_compat/compat-pwd.c: Likewise. + * nis/nss_compat/compat-spwd.c: Likewise. + * nis/nss_nis/nis-alias.c: Likewise. + * nis/nss_nis/nis-ethers.c: Likewise. + * nis/nss_nis/nis-grp.c: Likewise. + * nis/nss_nis/nis-hosts.c: Likewise. + * nis/nss_nis/nis-network.c: Likewise. + * nis/nss_nis/nis-proto.c: Likewise. + * nis/nss_nis/nis-pwd.c: Likewise. + * nis/nss_nis/nis-rpc.c: Likewise. + * nis/nss_nis/nis-service.c: Likewise. + * nis/nss_nis/nis-spwd.c: Likewise. + * nis/nss_nisplus/nisplus-alias.c: Likewise. + * nis/nss_nisplus/nisplus-ethers.c: Likewise. + * nis/nss_nisplus/nisplus-grp.c: Likewise. + * nis/nss_nisplus/nisplus-hosts.c: Likewise. + * nis/nss_nisplus/nisplus-initgroups.c: Likewise. + * nis/nss_nisplus/nisplus-network.c: Likewise. + * nis/nss_nisplus/nisplus-proto.c: Likewise. + * nis/nss_nisplus/nisplus-pwd.c: Likewise. + * nis/nss_nisplus/nisplus-rpc.c: Likewise. + * nis/nss_nisplus/nisplus-service.c: Likewise. + * nis/nss_nisplus/nisplus-spwd.c: Likewise. + * nis/ypclnt.c: Likewise. + * nptl/libc_pthread_init.c: Likewise. + * nss/getXXbyYY.c: Likewise. + * nss/getXXent.c: Likewise. + * nss/getXXent_r.c: Likewise. + * nss/nss_db/db-XXX.c: Likewise. + * nss/nss_db/db-netgrp.c: Likewise. + * nss/nss_db/nss_db.h: Likewise. + * nss/nss_files/files-XXX.c: Likewise. + * nss/nss_files/files-alias.c: Likewise. + * nss/nsswitch.c: Likewise. + * posix/regex_internal.h: Likewise. + * posix/wordexp.c: Likewise. + * pwd/fgetpwent.c: Likewise. + * resolv/res_hconf.c: Likewise. + * resolv/res_libc.c: Likewise. + * shadow/fgetspent.c: Likewise. + * shadow/lckpwdf.c: Likewise. + * shadow/sgetspent.c: Likewise. + * socket/opensock.c: Likewise. + * stdio-common/reg-modifier.c: Likewise. + * stdio-common/reg-printf.c: Likewise. + * stdio-common/reg-type.c: Likewise. + * stdio-common/vfprintf.c: Likewise. + * stdio-common/vfscanf.c: Likewise. + * stdlib/abort.c: Likewise. + * stdlib/cxa_atexit.c: Likewise. + * stdlib/fmtmsg.c: Likewise. + * stdlib/random.c: Likewise. + * stdlib/setenv.c: Likewise. + * string/strsignal.c: Likewise. + * sunrpc/auth_none.c: Likewise. + * sunrpc/bindrsvprt.c: Likewise. + * sunrpc/create_xid.c: Likewise. + * sunrpc/key_call.c: Likewise. + * sunrpc/rpc_thread.c: Likewise. + * sysdeps/arm/backtrace.c: Likewise. + * sysdeps/generic/ldsodefs.h: Likewise. + * sysdeps/generic/stdio-lock.h: Likewise. + * sysdeps/generic/unwind-dw2-fde.c: Likewise. + * sysdeps/i386/backtrace.c: Likewise. + * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise. + * sysdeps/m68k/backtrace.c: Likewise. + * sysdeps/mach/hurd/cthreads.c: Likewise. + * sysdeps/mach/hurd/dirstream.h: Likewise. + * sysdeps/mach/hurd/malloc-machine.h: Likewise. + * sysdeps/nptl/malloc-machine.h: Likewise. + * sysdeps/nptl/stdio-lock.h: Likewise. + * sysdeps/posix/dirstream.h: Likewise. + * sysdeps/posix/getaddrinfo.c: Likewise. + * sysdeps/posix/system.c: Likewise. + * sysdeps/pthread/aio_suspend.c: Likewise. + * sysdeps/s390/s390-32/backtrace.c: Likewise. + * sysdeps/s390/s390-64/backtrace.c: Likewise. + * sysdeps/unix/sysv/linux/check_pf.c: Likewise. + * sysdeps/unix/sysv/linux/if_index.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise. + * sysdeps/unix/sysv/linux/shm-directory.c: Likewise. + * sysdeps/unix/sysv/linux/system.c: Likewise. + * sysdeps/x86_64/backtrace.c: Likewise. + * time/alt_digit.c: Likewise. + * time/era.c: Likewise. + * time/tzset.c: Likewise. + * wcsmbs/wcsmbsload.c: Likewise. + * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h> + instead of <bits/libc-lock.h> in comment. + +2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com> + + * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2): + Only use .set mips2 if the current ISA is below mips2. + * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set): + Likewise. + * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set + mips32r2 if the current ISA is below mips32r2. + * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define. + (TLS_IE): Updated to use the TLD_RDHWR macro. + (TLS_LE): Likewise. + * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef + __ASSEMBLER__ condition. + +2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org> + + Fix parallel build of before-compile targets. + + * sysdeps/mach/Makefile ($(patsubst + mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated + mach-before-compile target. + * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth + io fs process)): Move rule to dedicated hurd-before-compile target. + +2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org> + + Fix rules generating headers in hurd/ and mach/ when initial make call + has subdir= explicitly set. + + * sysdeps/mach/Makefile ($(patsubst + mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when + calling $(MAKE). + * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth + io fs process)): Force subdir to hurd when calling $(MAKE). + ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force + subdir to mach when calling $(MAKE). + +2015-09-06 Manolis Ragkousis <manolis837@gmail.com> + + Check sysheaders when looking for Mach and Hurd headers + + * sysdeps/mach/configure.ac: Add sysheaders check. + * sysdeps/mach/configure: Regenerate. + * sysdeps/mach/hurd/configure.ac: Add sysheaders check. + * sysdeps/mach/hurd/configure: Regenerate. + +2015-09-04 Roland McGrath <roland@hack.frob.com> + + [BZ #18921] + * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]: + Fix inverted sense of test of 'o_directory_works' value. + Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by + Bernhard Voelker <mail@bernhard-voelker.de>. + +2015-09-04 Joseph Myers <joseph@codesourcery.com> + + [BZ #14912] + * bits/linkmap.h: Move to ... + * sysdeps/generic/linkmap.h: ...here. + * sysdeps/aarch64/bits/linkmap.h: Move to ... + * sysdeps/aarch64/linkmap.h: ...here. + * sysdeps/arm/bits/linkmap.h: Move to ... + * sysdeps/arm/linkmap.h: ...here. + * sysdeps/hppa/bits/linkmap.h: Move to ... + * sysdeps/hppa/linkmap.h: ...here. + * sysdeps/ia64/bits/linkmap.h: Move to ... + * sysdeps/ia64/linkmap.h: ...here. + * sysdeps/mips/bits/linkmap.h: Move to ... + * sysdeps/mips/linkmap.h: ...here. + * sysdeps/s390/bits/linkmap.h: Move to ... + * sysdeps/s390/linkmap.h: ...here. + * sysdeps/sh/bits/linkmap.h: Move to ... + * sysdeps/sh/linkmap.h: ...here. + * sysdeps/x86/bits/linkmap.h: Move to ... + * sysdeps/x86/linkmap.h: ...here. + * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>. + +2015-09-04 Andreas Schwab <schwab@suse.de> + + [BZ #18635] + * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S + (__makecontext): Terminate FDE before return label. + (__novec_makecontext): Likewise. + +2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> + + * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the + first member of struct sv in syscall macro. + +2015-09-04 Joseph Myers <joseph@codesourcery.com> + + [BZ #14912] + * bits/stdio-lock.h: Move to ... + * sysdeps/generic/stdio-lock.h: ...here. + (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H. + * sysdeps/nptl/bits/stdio-lock.h: Move to ... + * sysdeps/nptl/stdio-lock.h: ...here. + (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H. + * include/libio.h: Include <stdio-lock.h> instead of + <bits/stdio-lock.h>. + * sysdeps/nptl/fork.c: Likewise. + * sysdeps/pthread/flockfile.c: Likewise. + * sysdeps/pthread/ftrylockfile.c: Likewise. + * sysdeps/pthread/funlockfile.c: Likewise. + + [BZ #14912] + * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ... + * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here. + * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include + <m68k-vdso.h> instead of <bits/m68k-vdso.h>. + * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise. + * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise. + +2015-09-03 Roland McGrath <roland@hack.frob.com> + + * elf/Makefile (test-xfail-tst-protected1a): New variable. + (test-xfail-tst-protected1b): New variable. + +2015-09-03 Joseph Myers <joseph@codesourcery.com> + + [BZ #14912] + * bits/libc-tsd.h: Move to ... + * sysdeps/generic/libc-tsd.h: ...here. + (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H. + * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ... + * sysdeps/mach/hurd/libc-tsd.h: ...here. + (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H. + * include/ctype.h: Include <libc-tsd.h> instead of + <bits/libc-tsd.h>. + * include/rpc/rpc.h: Likewise. + * locale/localeinfo.h: Likewise. + * sunrpc/rpc_thread.c: Likewise. + * sysdeps/mach/hurd/malloc-machine.h: Likewise. + * sysdeps/nptl/malloc-machine.h: Likewise. + + * Makefile (headers): Remove bits/libc-lock.h. + * libio/Makefile (headers): Remove bits/stdio-lock.h. + + * libio/libio.h [_IO_MTSAFE_IO]: Remove include of + <bits/stdio-lock.h> and commented-out include of <comthread.h>. + * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include + <bits/stdio-lock.h>. + * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine. + * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise. + +2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com> + + [BZ #18757] + * libio/iofopncook.c (_IO_fopencookie): Set errno on failure. + * libio/test-fmemopen.c (do_bz18820): Extend the test to cover + BZ #18757. + +2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com> + + * malloc/mtrace.pl: Filter out NULL entries. + +2015-09-01 Joseph Myers <joseph@codesourcery.com> + + * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro. + * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New + macro. + + * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro. + (TCP_CC_INFO): Likewise. + (TCP_SAVE_SYN): Likewise. + (TCP_SAVED_SYN): Likewise. + +2015-08-31 Brett Neumeier <brett@neumeier.us> + + [BZ #18870] + * sysdeps/sparc/sparc32/sem_open.c: Add missing #include + +2015-08-31 Paul Eggert <eggert@cs.ucla.edu> + + [BZ #18873] + Fix broken overflow check in posix_fallocate + * sysdeps/posix/posix_fallocate.c (posix_fallocate): + * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64): + Fix parenthesization typo. + +2015-08-28 Mike Frysinger <vapier@gentoo.org> + + [BZ #18887] + * misc/Makefile (tests): Add tst-mntent-blank-corrupt and + tst-mntent-blank-passno. + * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0]. + * misc/tst-mntent-blank-corrupt.c: New test. + * misc/tst-mntent-blank-passno.c: New test ripped from ... + * misc/tst-mntent.c (do_test): ... here. + +2015-08-29 Mike Frysinger <vapier@gentoo.org> + + [BZ #4404] + * po/de.po: Fix SIGALRM typo. + +2015-08-28 James Perkins <james@loowit.net> + + * time/tst-strptime2.c (tests): Replace short list of test + strings for strptime %z specifier with code which exhaustively + tests every combination of sign and 0 to 5 digits. Tests for + rejection of invalid strings. + +2015-08-28 James Perkins <james@loowit.net> + + [BZ #16141] + * time/strptime_l.c (__strptime_internal): Fix %z minutes + calculation, removing incorrect decimal time rounding, so that + all minute values result in a valid seconds value. + * time/strptime_l.c (__strptime_internal): Extend %z time zone + offset range limits to UTC-99:59 through UTC+99:59 to parse + current and historical use cases. + * time/tst-strptime2.c (tests): Modify and add tests for the + strptime %z input field descriptor, specifically conversion of + minutes to seconds and validating an offset range of -9959 to + +9959. + +2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org> + Dmitry V. Levin <ldv@altlinux.org> + + [BZ #18877] + * posix/Makefile (tests): Add tst-mmap-offset. + * posix/tst-mmap.c: New file. + * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix + offset calculation for negative values. + +2015-08-27 H.J. Lu <hongjiu.lu@intel.com> + + * sysdeps/i386/init-arch.h: New file. + * sysdeps/i386/i586/init-arch.h: Likewise. + * sysdeps/i386/i686/init-arch.h: Likewise. + * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586 + bit if CX8 is available. Set bit_I686 bit if CMOV is available. + * sysdeps/x86/cpu-features.h (bit_I586): New. + (bit_I686): Likewise. + (bit_CX8): Likewise. + (bit_CMOV): Likewise. + (index_CX8): Likewise. + (index_CMOV): Likewise. + (index_I586): Likewise. + (index_I686): Likewise. + (reg_CX8): Likewise. + (reg_CMOV): Likewise. + (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't + available at compile-time. + (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't + available at compile-time. + * sysdeps/x86/init-arch.h (USE_I586): New macro. + (USE_I686): Likewise. + +2015-08-27 H.J. Lu <hongjiu.lu@intel.com> + + * sysdeps/i386/bcopy.S: New file. + * sysdeps/i386/bzero.S: Likewise. + * sysdeps/i386/memcpy.S: Likewise. + * sysdeps/i386/memmove.S: Likewise. + * sysdeps/i386/mempcpy.S: Likewise. + * sysdeps/i386/memset.S: Likewise. + * sysdeps/i386/bzero.c: Removed. + * sysdeps/i386/memset.c: Likewise. + * sysdeps/i386/i586/memcpy_chk.S: Likewise. + * sysdeps/i386/i586/mempcpy_chk.S: Likewise. + * sysdeps/i386/i586/memset_chk.S: Likewise. + * sysdeps/i386/i686/memcpy_chk.S: Moved to ... + * sysdeps/i386/memcpy_chk.S: Here. + * sysdeps/i386/i686/memmove_chk.S: Moved to ... + * sysdeps/i386/memmove_chk.S: Here. + * sysdeps/i386/i686/mempcpy_chk.S: Moved to ... + * sysdeps/i386/mempcpy_chk.S: Likewise. + * sysdeps/i386/i686/memset_chk.S: Moved to ... + * sysdeps/i386/memset_chk.S: Likewise. + +2015-08-27 Steve Ellcey <sellcey@imgtec.com> + + * soft-fp/fmasf4.c: Add include of sys/cdefs.h. + Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of + file, move DIAG_POP_NEEDS_COMMENT to end of file. + * soft-fp/fmadf4.c: Ditto. + * soft-fp/fmatf4.c: Ditto. + +2015-08-27 H.J. Lu <hongjiu.lu@intel.com> + + * sysdeps/i386/i586/Implies: Removed. + * sysdeps/i386/i686/Implies: Likewise. + +2015-08-27 H.J. Lu <hongjiu.lu@intel.com> + + * sysdeps/i386/i486/strlen.S: Moved to ... + * sysdeps/i386/strlen.S: Here. + +2015-08-27 H.J. Lu <hongjiu.lu@intel.com> + + * sysdeps/i386/i486/strcat.S: Moved to ... + * sysdeps/i386/strcat.S: Here. + +2015-08-27 H.J. Lu <hongjiu.lu@intel.com> + + * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ... + * sysdeps/i386/pthread_spin_trylock.S: Here. + * sysdeps/i386/i586/pthread_spin_trylock.S: Removed. + * sysdeps/i386/i686/pthread_spin_trylock.S: Updated. + +2015-08-27 H.J. Lu <hongjiu.lu@intel.com> + + * sysdeps/i386/i486/string-inlines.c: Moved to ... + * sysdeps/i386/string-inlines.c: Here. + +2015-08-27 H.J. Lu <hongjiu.lu@intel.com> + + * sysdeps/i386/i486/htonl.S: Moved ... + * sysdeps/i386/htonl.S: here. + +2015-08-27 H.J. Lu <hongjiu.lu@intel.com> + + * sysdeps/i386/i486/bits/atomic.h: Moved to ... + * sysdeps/i386/bits/atomic.h: Here. + +2015-08-27 H.J. Lu <hongjiu.lu@intel.com> + + * sysdeps/i386/i486/Versions: Removed. + +2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org> + + [BZ #2898] + * misc/mktemp.c: Add mkdtemp to the link_warning message. + Based on patch by Aurelien Jarno. + +2015-08-26 Stan Shebs <stanshebs@google.com> + + * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>. + (__kernel_tanl): Ignore uninitialized warnings around use of SIGN. + +2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> + + * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC. + * sysdeps/powerpc/dl-procinfo.c: + (_dl_powerpc_cap_flags): Added descriptor for this hwcap + feature so it shows when LD_SHOW_AUXV=1. + +2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com> + + * sysdeps/unix/sysv/linux/powerpc/elision-lock.c + (__arch_compare_and_exchange_val_32_acq): Remove and use common + definition. ISA 2.07B no longer requires full sync. + +2015-08-26 Mike Frysinger <vapier@gentoo.org> + + [BZ #18863] + * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys. + (si_call_addr): Define. + (si_syscall): Define. + (si_arch): Define. + +2015-08-26 H.J. Lu <hongjiu.lu@intel.com> + + * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New. + * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise. + * sysdeps/i386/i586/memset.S (BZERO_P): Removed. + Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC. + (__memset_zero_constant_len_parameter): New. + * sysdeps/i386/i686/memset.S (BZERO_P): Removed. + Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC. + (__memset_zero_constant_len_parameter): Don't define if + __memset_chk or USE_AS_BZERO are defined. + + * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed. + Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC. + * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New. + + * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os, + tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ... + * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os, + tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update + comments. + * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add + -mno-mmx for $(all-rtld-routines). + * sysdeps/x86/tst-ld-sse-use.sh: Moved to ... + * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with + i386. + +2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com> + + * sysdeps/generic/unwind.h + (_Unwind_Word): Use __mode__(__unwind_word__) + instead of __mode__(__word__). + (_Unwind_Sword): Likewise. + + * sysdeps/s390/s390-64/utf8-utf16-z9.c + (MAX_NEEDED_INPUT): New define. + (MAX_NEEDED_OUTPUT): New define. + + * NEWS: New item for IBM z13 string optimizations. + + * sysdeps/s390/multiarch/memrchr-c.c: New File. + * sysdeps/s390/multiarch/memrchr-vx.S: Likewise. + * sysdeps/s390/multiarch/memrchr.c: Likewise. + * sysdeps/s390/multiarch/Makefile + (sysdep_routines): Add memrchr functions. + * sysdeps/s390/multiarch/ifunc-impl-list-common.c + (__libc_ifunc_impl_list_common): Add ifunc test for memrchr. + + * sysdeps/s390/multiarch/wmemcmp-c.c: New File. + * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise. + * sysdeps/s390/multiarch/wmemcmp.c: Likewise. + * sysdeps/s390/multiarch/Makefile + (sysdep_routines): Add wmemcmp functions. + * sysdeps/s390/multiarch/ifunc-impl-list-common.c + (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp. + * benchtests/bench-wmemcmp.c: New File. + * benchtests/Makefile (wcsmbs-bench): Add wmemcmp. + + * sysdeps/s390/multiarch/wmemset-c.c: New File. + * sysdeps/s390/multiarch/wmemset-vx.S: Likewise. + * sysdeps/s390/multiarch/wmemset.c: Likewise. + * sysdeps/s390/multiarch/Makefile + (sysdep_routines): Add wmemset functions. + * sysdeps/s390/multiarch/ifunc-impl-list-common.c + (__libc_ifunc_impl_list_common): Add ifunc test for wmemset. + * wcsmbs/wmemset.c: Use WMEMSET if defined. + * string/test-memset.c: Add wmemset support. + * wcsmbs/test-wmemset.c: New File. + * wcsmbs/Makefile (strop-tests): Add wmemset. + * benchtests/bench-memset.c: Add wmemset support. + * benchtests/bench-wmemset.c: New File. + * benchtests/Makefile (wcsmbs-bench): Add wmemset. + + * sysdeps/s390/multiarch/memccpy-c.c: New File. + * sysdeps/s390/multiarch/memccpy-vx.S: Likewise. + * sysdeps/s390/multiarch/memccpy.c: Likewise. + * sysdeps/s390/multiarch/Makefile + (sysdep_routines): Add memccpy functions. + * sysdeps/s390/multiarch/ifunc-impl-list-common.c + (__libc_ifunc_impl_list_common): Add ifunc test for memccpy. + * string/memccpy.c: Use MEMCCPY if defined. + + * sysdeps/s390/multiarch/memchr-vx.S: New File. + * sysdeps/s390/multiarch/memchr.c: Likewise. + * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise. + * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise. + * sysdeps/s390/multiarch/rawmemchr.c: Likewise. + * sysdeps/s390/multiarch/wmemchr-c.c: Likewise. + * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise. + * sysdeps/s390/multiarch/wmemchr.c: Likewise. + * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise. + * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise. + * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr + and rawmemchr functions. + * sysdeps/s390/multiarch/ifunc-impl-list-common.c + (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr + and wmemchr. + * wcsmbs/wmemchr.c: Use WMEMCHR if defined. + * string/test-memchr.c: Add wmemchr support. + * wcsmbs/test-wmemchr.c: New File. + * wcsmbs/Makefile (strop-tests): Add wmemchr. + * benchtests/bench-memchr.c: Add wmemchr support. + * benchtests/bench-wmemchr.c: New File. + * benchtests/Makefile (wcsmbs-bench): wmemchr. + + * sysdeps/s390/multiarch/strcspn-c.c: New File. + * sysdeps/s390/multiarch/strcspn-vx.S: Likewise. + * sysdeps/s390/multiarch/strcspn.c: Likewise. + * sysdeps/s390/multiarch/wcscspn-c.c: Likewise. + * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise. + * sysdeps/s390/multiarch/wcscspn.c: Likewise. + * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and + wcscspn functions. + * sysdeps/s390/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn. + * wcsmbs/wcscspn.c: Use WCSCSPN if defined. + * string/test-strcspn.c: Add wcscspn support. + * wcsmbs/test-wcscspn.c: New File. + * wcsmbs/Makefile (strop-tests): Add wcscspn. + * benchtests/bench-strcspn.c: Add wcscspn support. + * benchtests/bench-wcscspn.c: New File. + * benchtests/Makefile (wcsmbs-bench): Add wcscspn. + + * sysdeps/s390/multiarch/strpbrk-c.c: New File. + * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise. + * sysdeps/s390/multiarch/strpbrk.c: Likewise. + * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise. + * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise. + * sysdeps/s390/multiarch/wcspbrk.c: Likewise. + * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and + wcspbrk functions. + * sysdeps/s390/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk. + * wcsmbs/wcspbrk.c: Use WCSPBRK if defined. + * string/test-strpbrk.c: Add wcspbrk support. + * wcsmbs/test-wcspbrk.c: New File. + * wcsmbs/Makefile (strop-tests): Add wcspbrk. + * benchtests/bench-strpbrk.c: Add wcspbrk support. + * benchtests/bench-wcspbrk.c: New File. + * benchtests/Makefile (wcsmbs-bench): Add wcspbrk. + + * sysdeps/s390/multiarch/strspn-c.c: New File. + * sysdeps/s390/multiarch/strspn-vx.S: Likewise. + * sysdeps/s390/multiarch/strspn.c: Likewise. + * sysdeps/s390/multiarch/wcsspn-c.c: Likewise. + * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise. + * sysdeps/s390/multiarch/wcsspn.c: Likewise. + * wcsmbs/wcsspn.c: Use WCSSPN if defined. + * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and + wcsspn functions. + * sysdeps/s390/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn. + * string/test-strspn.c: Add wcsspn support. + * wcsmbs/test-wcsspn.c: New File. + * wcsmbs/Makefile (strop-tests): Add wcsspn. + * benchtests/bench-strspn.c: Add wcsspn support. + * benchtests/bench-wcsspn.c: New File. + * benchtests/Makefile (wcsmbs-bench): Add wcsspn. + + * sysdeps/s390/multiarch/strrchr-c.c: New File. + * sysdeps/s390/multiarch/strrchr-vx.S: Likewise. + * sysdeps/s390/multiarch/strrchr.c: Likewise. + * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise. + * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise. + * sysdeps/s390/multiarch/wcsrchr.c: Likewise. + * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and + wcsrchr functions. + * sysdeps/s390/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr. + * benchtests/bench-wcsrchr.c: New File. + * benchtests/Makefile (wcsmbs-bench): Add wcsrchr. + + * sysdeps/s390/multiarch/strchrnul-c.c: New File. + * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise. + * sysdeps/s390/multiarch/strchrnul.c: Likewise. + * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise. + * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise. + * sysdeps/s390/multiarch/wcschrnul.c: Likewise. + * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and + wcschrnul functions. + * sysdeps/s390/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul. + * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined. + * string/test-strchr.c: Add wcschrnul support. + * wcsmbs/test-wcschrnul.c: New File. + * wcsmbs/Makefile (strop-tests): Add wcschrnul. + * benchtests/bench-strchr.c: Add wcschrnul support. + * benchtests/bench-wcschrnul.c: New File. + * benchtests/Makefile (wcsmbs-bench): Add wcschrnul. + + * sysdeps/s390/multiarch/strchr-c.c: New File. + * sysdeps/s390/multiarch/strchr-vx.S: Likewise. + * sysdeps/s390/multiarch/strchr.c: Likewise. + * sysdeps/s390/multiarch/wcschr-c.c: Likewise. + * sysdeps/s390/multiarch/wcschr-vx.S: Likewise. + * sysdeps/s390/multiarch/wcschr.c: Likewise. + * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and + wcschr functions. + * sysdeps/s390/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr. + * string/strchr.c (STRCHR): Define and use macro. + * benchtests/bench-wcschr.c: New File. + * benchtests/Makefile (wcsmbs-bench): Add wcschr. + + * sysdeps/s390/multiarch/strncmp-c.c: New File. + * sysdeps/s390/multiarch/strncmp-vx.S: Likewise. + * sysdeps/s390/multiarch/strncmp.c: Likewise. + * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise. + * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise. + * sysdeps/s390/multiarch/wcsncmp.c: Likewise. + * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and + wcsncmp functions. + * sysdeps/s390/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp. + * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro. + * benchtests/bench-strncmp.c: Add wcsncmp support. + * benchtests/bench-wcsncmp.c: New File. + * benchtests/Makefile (wcsmbs-bench): Add wcsncmp. + + * sysdeps/s390/multiarch/strcmp-vx.S: New File. + * sysdeps/s390/multiarch/strcmp.c: Likewise. + * sysdeps/s390/multiarch/wcscmp-c.c: Likewise. + * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise. + * sysdeps/s390/multiarch/wcscmp.c: Likewise. + * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise. + * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise. + * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and + wcscmp functions. + * sysdeps/s390/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp. + * string/strcmp.c (STRCMP): Define and use macro. + * benchtests/bench-wcscmp.c: New File. + * benchtests/Makefile (wcsmbs-bench): Add wcscmp. + * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp + instead of _HAVE_STRING_ARCH_memchr. + + * sysdeps/s390/multiarch/strncat-c.c: New File. + * sysdeps/s390/multiarch/strncat-vx.S: Likewise. + * sysdeps/s390/multiarch/strncat.c: Likewise. + * sysdeps/s390/multiarch/wcsncat-c.c: Likewise. + * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise. + * sysdeps/s390/multiarch/wcsncat.c: Likewise. + * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and + wcsncat functions. + * sysdeps/s390/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat. + * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro. + * string/test-strncat.c: Add wcsncat support. + * wcsmbs/test-wcsncat.c: New File. + * wcsmbs/Makefile (strop-tests): Add wcsncat. + * benchtests/bench-strncat.c: Add wcsncat support. + * benchtests/bench-wcsncat.c: New File. + * benchtests/Makefile (wcsmbs-bench): Add wcsncat. + + * sysdeps/s390/multiarch/strcat-c.c: New File. + * sysdeps/s390/multiarch/strcat-vx.S: Likewise. + * sysdeps/s390/multiarch/strcat.c: Likewise. + * sysdeps/s390/multiarch/wcscat-c.c: Likewise. + * sysdeps/s390/multiarch/wcscat-vx.S: Likewise. + * sysdeps/s390/multiarch/wcscat.c: Likewise. + * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and + wcscat functions. + * sysdeps/s390/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat. + * string/strcat.c (STRCAT): Define and use macro. + * wcsmbs/wcscat.c: Use WCSCAT if defined. + * string/test-strcat.c: Add wcscat support. + * wcsmbs/test-wcscat.c: New File. + * wcsmbs/Makefile (strop-tests): Add wcscat. + * benchtests/bench-strcat.c: Add wcscat support. + * benchtests/bench-wcscat.c: New File. + * benchtests/Makefile (wcsmbs-bench): Add wcscat. + + * sysdeps/s390/multiarch/stpncpy-c.c: New File. + * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise. + * sysdeps/s390/multiarch/stpncpy.c: Likewise. + * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise. + * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise. + * sysdeps/s390/multiarch/wcpncpy.c: Likewise. + * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and + wcpncpy functions. + * sysdeps/s390/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy. + * wcsmbs/wcpncpy.c: Use WCPNCPY if defined. + * string/test-stpncpy.c: Add wcpncpy support. + * wcsmbs/test-wcpncpy.c: New File. + * wcsmbs/Makefile (strop-tests): Add wcpncpy. + * benchtests/bench-stpncpy.c: Add wcpncpy support. + * benchtests/bench-wcpncpy.c: New File. + * benchtests/Makefile (wcsmbs-bench): Add wcpncpy. + + * sysdeps/s390/multiarch/strncpy-vx.S: New File. + * sysdeps/s390/multiarch/strncpy.c: Likewise. + * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise. + * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise. + * sysdeps/s390/multiarch/wcsncpy.c: Likewise. + * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise. + * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise. + * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and + wcsncpy functions. + * wcsmbs/wcsncpy.c: Use WCSNCPY if defined. + * sysdeps/s390/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy. + * string/test-strncpy.c: Add wcsncpy support. + * wcsmbs/test-wcsncpy.c: New File. + * wcsmbs/Makefile (strop-tests): Add wcsncpy. + * benchtests/bench-strncpy.c: Add wcsncpy support. + * benchtests/bench-wcsncpy.c: New File. + * benchtests/Makefile (wcsmbs-bench): Add wcsncpy + + * sysdeps/s390/multiarch/stpcpy-c.c: New File. + * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise. + * sysdeps/s390/multiarch/stpcpy.c: Likewise. + * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise. + * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise. + * sysdeps/s390/multiarch/wcpcpy.c: Likewise. + * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and + wcpcpy functions. + * string/stpcpy.c: Use STPCPY if defined. + * wcsmbs/wcpcpy.c: Use WCPCPY if defined. + * sysdeps/s390/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy. + * string/test-stpcpy.c: Add wcpcpy support. + * wcsmbs/test-wcpcpy.c: New File. + * wcsmbs/Makefile (strop-tests): Add wcpcpy. + * benchtests/bench-stpcpy.c: Add wcpcpy support. + * benchtests/bench-wcpcpy.c: New File. + * benchtests/Makefile (wcsmbs-bench): Add wcpcpy. + + * sysdeps/s390/multiarch/strcpy-vx.S: New File. + * sysdeps/s390/multiarch/strcpy.c: Likewise. + * sysdeps/s390/multiarch/wcscpy-c.c: Likewise. + * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise. + * sysdeps/s390/multiarch/wcscpy.c: Likewise. + * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise. + * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise. + * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and + wcscpy functions. + * sysdeps/s390/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy. + * benchtests/bench-wcscpy.c: New File. + * benchtests/Makefile (wcsmbs-bench): Add wcscpy. + + * sysdeps/s390/multiarch/strnlen-c.c: New File. + * sysdeps/s390/multiarch/strnlen-vx.S: Likewise. + * sysdeps/s390/multiarch/strnlen.c: Likewise. + * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise. + * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise. + * sysdeps/s390/multiarch/wcsnlen.c: Likewise. + * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and + wcsnlen functions. + * sysdeps/s390/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen. + * wcsmbs/wcsnlen.c: Use WCSNLEN if defined. + * string/test-strnlen.c: Add wcsnlen support. + * wcsmbs/test-wcsnlen.c: New File. + * wcsmbs/Makefile (strop-tests): Add wcsnlen. + * benchtests/bench-strnlen.c: Add wcsnlen support. + * benchtests/bench-wcsnlen.c: New File. + * benchtests/Makefile (wcsmbs-bench): Add wcsnlen. + + * sysdeps/s390/multiarch/Makefile: New File. + * sysdeps/s390/multiarch/strlen-c.c: Likewise. + * sysdeps/s390/multiarch/strlen-vx.S: Likewise. + * sysdeps/s390/multiarch/strlen.c: Likewise. + * sysdeps/s390/multiarch/wcslen-c.c: Likewise. + * sysdeps/s390/multiarch/wcslen-vx.S: Likewise. + * sysdeps/s390/multiarch/wcslen.c: Likewise. + * string/strlen.c (STRLEN): Define and use macro. + * sysdeps/s390/multiarch/ifunc-impl-list.c + (IFUNC_VX_IMPL): New macro function. + (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen. + * benchtests/Makefile (wcsmbs-bench): New variable. + (string-bench-all): Added wcsmbs-bench. + * benchtests/bench-wcslen.c: New File. + + * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc, + s390_vx_libc_ifunc2): New macro function. + + * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine. + * sysdeps/s390/configure.ac: Add test for S390 vector instruction + assembler support. + * sysdeps/s390/configure: Regenerated. + + * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13. + * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased. + + * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag. + * sysdeps/s390/dl-procinfo.h: Add vector capability. + * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define. + + * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines): + Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390. + * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File. + * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ... + * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here. + (memcmp, bcmp): Use __memcmp_default as alias source. + * sysdeps/s390/s390-32/multiarch/memcmp.c: New File. + * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5): + Rename to __memcmp_default. + * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ... + * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here. + (memcpy): Use __memcpy_default as alias source. + * sysdeps/s390/s390-32/multiarch/memcpy.c: New File. + * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5): + Rename to __memcpy_default. + * sysdeps/s390/s390-32/multiarch/memset.S: Move to ... + * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here. + (memset): Use __memset_default as alias source. + * sysdeps/s390/s390-32/multiarch/memset.c: New File. + * sysdeps/s390/s390-32/memset.S (__memset_g5): + Rename to __memset_default. + * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines): + Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x. + * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File. + * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ... + * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here. + (memcmp, bcmp): Use __memcmp_default as alias source. + * sysdeps/s390/s390-64/multiarch/memcmp.c: New File. + * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900): + Rename to __memcmp_default. + * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ... + * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here. + (memcpy): Use __memcpy_default as alias source. + * sysdeps/s390/s390-64/multiarch/memcpy.c: New File. + * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900): + Rename to __memcpy_default. + * sysdeps/s390/s390-64/multiarch/memset.S: Move to ... + * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here. + (memset): Use __memset_default as alias source. + * sysdeps/s390/s390-64/multiarch/memset.c: New File. + * sysdeps/s390/s390-64/memset.S (__memset_z900): + Rename to __memset_default. + * sysdeps/s390/multiarch/ifunc-resolve.h: New File. + * sysdeps/s390/multiarch/ifunc-impl-list.c: New File. + + [BZ #18610] + * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename + __ieee_instruction_pointer to __unused. + * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of + __ieee_instruction_pointer. + * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling. + * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise. + * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise. + * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise. + * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED): + Mark dxc-field as reserved. + +2015-08-25 Roland McGrath <roland@hack.frob.com> + + * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main + if the weak reference is not null. + +2015-08-25 H.J. Lu <hongjiu.lu@intel.com> + + * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)". + + [BZ #11214] + * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed. + +2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com> + + * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros. + * sysdeps/unix/sysv/linux/accept.c: Call direct system call. + * sysdeps/unix/sysv/linux/bind.c: Call direct system call. + * sysdeps/unix/sysv/linux/connect.c: Call direct system call. + * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call. + * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call. + * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call. + * sysdeps/unix/sysv/linux/listen.c: Call direct system call. + * sysdeps/unix/sysv/linux/recv.c: Call direct system call. + * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call. + * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call. + * sysdeps/unix/sysv/linux/send.c: Call direct system call. + * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call. + * sysdeps/unix/sysv/linux/sendto.c: Call direct system call. + * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call. + * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call. + * sysdeps/unix/sysv/linux/socket.c: Call direct system call. + * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call. + +2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com> + + * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use + register other than r0 for tabort, it has special meaning. + * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise + * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort + transaction before starting syscall. + +2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com> + + * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case. + +2015-08-25 H.J. Lu <hongjiu.lu@intel.com> + + * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4]. + + * sysdeps/x86_64/rtld-memcmp.c: Removed. + * sysdeps/x86_64/rtld-memset.S: Likewise. + * sysdeps/x86_64/rtld-strchr.S: Likewise. + * sysdeps/x86_64/rtld-strlen.S: Likewise. + * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise. + * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise. + + * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0. + +2015-08-25 Ondřej Bílka <neleai@seznam.cz> + + * debug/strcpy_chk.c: Improve performance. + * debug/stpcpy_chk.c: Likewise. + * sysdeps/x86_64/strcpy_chk.S: Remove. + * sysdeps/x86_64/stpcpy_chk.S: Remove. + + [BZ #18240] + * misc/hsearch_r.c (__hcreate_r): Handle overflow. + +2015-08-25 H.J. Lu <hongjiu.lu@intel.com> + + [BZ #15128] + * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add + ifuncmain8. + (modules-names): Add ifuncmod8. + ($(objpfx)ifuncmain8): New rule. + * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and + <cpuid.h>. + (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse, + _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512, + _dl_runtime_profile_sse, _dl_runtime_profile_avx, or + _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE. + * sysdeps/x86_64/dl-trampoline.S: Rewrite. + * sysdeps/x86_64/dl-trampoline.h: Likewise. + * sysdeps/x86_64/ifuncmain8.c: New file. + * sysdeps/x86_64/ifuncmod8.c: Likewise. + * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE): + Removed. + * sysdeps/x86_64/nptl/tls.h (__128bits): Removed. + (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1. + Change rtld_savespace_sse to __glibc_unused2. + (RTLD_CHECK_FOREIGN_CALL): Removed. + (RTLD_ENABLE_FOREIGN_CALL): Likewise. + (RTLD_PREPARE_FOREIGN_CALL): Likewise. + (RTLD_FINALIZE_FOREIGN_CALL): Likewise. + +2015-08-24 Wilco Dijkstra <wdijkstr@arm.com> + + * sysdeps/aarch64/bzero.S (__bzero): Remove. + +2015-08-24 Wilco Dijkstra <wdijkstr@arm.com> + + * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx): + Unconditionally set __fpcr to avoid uninialized warning. + (libc_feholdsetround_noex_aarch64_ctx): Likewise. + +2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com> + + * malloc/arena.c (arena_get_retry): Don't use main_arena if it + is corrupt. + + * malloc/arena.c (arena_get2): Drop unused argument. + (arena_lock): Adjust. + (arena_get_retry): Likewise. + +2015-08-24 Andreas Schwab <schwab@suse.de> + + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64): + Don't define. + * sysdeps/unix/sysv/linux/powerpc/kernel-features.h + (__ASSUME_IPC64): Don't undef. + * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64. + * sysdeps/unix/sysv/linux/semctl.c: Likewise. + * sysdeps/unix/sysv/linux/shmctl.c: Likewise. + * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove. + * sysdeps/unix/sysv/linux/i386/semctl.c: Remove. + * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove. + * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove. + * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove. + * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove. + * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove. + * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove. + * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove. + * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove. + * sysdeps/unix/sysv/linux/sh/semctl.c: Remove. + * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove. + * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove. + * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove. + * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove. + * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove. + * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove. + * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove. + +2015-08-21 Mike Frysinger <vapier@gentoo.org> + + * manual/Makefile (install): Only build manual when perl is available. + +2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> + + * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace + '#undef memcpy' by '#undef memchr'. + +2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> + + * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make + memchr not point to the internal __GI_memchr implementation. + +2015-08-20 Joseph Myers <joseph@codesourcery.com> + + * timezone/Makefile (CFLAGS-zdump.c): Remove + -Wno-strict-prototypes. + (CFLAGS-zic.c): Likewise. + (CFLAGS-ialloc.c): Likewise. + (CFLAGS-scheck.c): Likewise. + + * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add + -Wno-error=undef. + +2015-08-20 H.J. Lu <hongjiu.lu@intel.com> + + * i386/i686/multiarch/strcasestr-c.c: Removed. + * x86_64/multiarch/strcasestr.c: Likewise. + * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list): + Remove strcasestr. + +2015-08-20 Joseph Myers <joseph@codesourcery.com> + + * math/Makefile (CFLAGS): Don't add -Wno-uninitialized. + + * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize + variables for high and low parts before possibly modifying them. + +2015-08-20 H.J. Lu <hongjiu.lu@intel.com> + + * sysdeps/i386/i686/multiarch/init-arch.h: Removed. + * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise. + * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead + of "multiarch/init-arch.h". + * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ... + * sysdeps/x86/init-arch.h: This. + +2015-08-20 H.J. Lu <hongjiu.lu@intel.com> + + * sysdeps/i386/i686/multiarch/init-arch.c: Removed. + * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise. + +2015-08-20 Ondřej Bílka <neleai@seznam.cz> + + [BZ #17787] + * manual/macros.texi: Add twoexp macro. + * manual/filesys.texi: Fix exponents. + * manual/llio.texi: Likewise. + * manual/stdio.texi: Likewise. + +2015-08-20 Florian Weimer <fweimer@redhat.com> + + * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to + incorrect use. + +2015-08-19 Joseph Myers <joseph@codesourcery.com> + + [BZ #18370] + * math/s_csqrt.c (__csqrt): Force underflow exception for results + whose real or imaginary part has small absolute value. + * math/s_csqrtf.c (__csqrtf): Likewise. + * math/s_csqrtl.c (__csqrtl): Likewise. + * math/auto-libm-test-in: Add more tests of csqrt. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + +2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com> + + * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high, + __ppc_set_ppr_very_low): New functions. + * manual/platform.texi: Add documentation about + __ppc_set_ppr_med_high and __ppc_set_ppr_very_low. + +2015-08-19 Wilco Dijkstra <wdijkstr@arm.com> + + * string/stpncpy.c (stpncpy): Improve performance using + __strnlen/memcpy/memset. + +2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com> + + [BZ #18796] + * scripts/test-installation.pl: Don't add -lmvec to build options if + libmvec wasn't built. + +2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com> + + [BZ #14341] + * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the + case when there is a gap between DT_REL and DT_JMPREL sections. + * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc. + (LDFLAGS-tst-split-dynreloc): New. + (tst-split-dynreloc-ENV): Likewise. + * sysdeps/x86_64/tst-split-dynreloc.c: New file. + * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise. + +2015-08-19 H.J. Lu <hongjiu.lu@intel.com> + + [BZ #18822] + * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add + attribute_hidden. + (__xstat64_conv): Likewise. + (__xstat32_conv): Likewise. + +2015-08-19 H.J. Lu <hongjiu.lu@intel.com> + + [BZ #18822] + * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext): + Don't load %ebx when calling __setcontext. Call __setcontext + with HIDDEN_JUMPTARGET. + * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add + libc_hidden_def. + +2015-08-19 H.J. Lu <hongjiu.lu@intel.com> + + * sysdeps/i386/i686/Makefile + [$(subdir) == string] (sysdep_routines): Moved to ... + * sysdeps/i386/Makefile: Here. + * sysdeps/i386/i686/cacheinfo.c: Moved to ... + * sysdeps/i386/cacheinfo.c: Here. + * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed. + * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ... + * sysdeps/unix/sysv/linux/x86/sysconf.c: Here. + +2015-08-19 H.J. Lu <hongjiu.lu@intel.com> + + * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if + __i586__ is defined. + (HAS_I686): Defined to 1 if __i686__ is defined. + +2015-08-19 Joseph Myers <joseph@codesourcery.com> + + * elf/Makefile [$(have-z-execstack) = yes] + (CPPFLAGS-tst-execstack.c): New variable. + + * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change + conditional to [defined UTMPX || _HAVE_UT_TYPE]. + [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined + UTMPX || _HAVE_UT_TV]. + [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined + UTMPX || _HAVE_UT_TV - 0]. + +2015-08-18 Joseph Myers <joseph@codesourcery.com> + + * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change + conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6]. + * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise. + +2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> + + * sysdeps/powerpc/dl-procinfo.c: + (_dl_powerpc_cap_flags): Added missing strings for some + hwcap features. + * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count. + +2015-08-18 Paul Eggert <eggert@cs.ucla.edu> + + Port the 0x7efe...feff pattern to GCC 6. + See Steve Ellcey's bug report in: + https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html + * string/memrchr.c (MEMRCHR): + * string/rawmemchr.c (RAWMEMCHR): + * string/strchr.c (strchr): + * string/strchrnul.c (STRCHRNUL): + Rewrite code to avoid issues with signed shift overflow. + +2015-08-18 H.J. Lu <hongjiu.lu@intel.com> + + * sysdeps/x86/cpu-features.c (init_cpu_features): Check + whether cpuid is available only if HAS_CPUID is 0. + * sysdeps/x86/cpu-features.h (HAS_CPUID): New. + (HAS_I586): Likewise. + (HAS_I686): Likewise. + +2015-08-18 Zack Weinberg <zackw@panix.com> + + * misc/Versions (libc): Add GLIBC_2.23. + +2015-08-18 Alan Modra <amodra@gmail.com> + + [BZ #18421] + * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define + .Lp__global. + (_start): Load %dp via .Lp__global. + [!SHARED]: Use .section .rodata. + +2015-08-18 Mike Frysinger <vapier@gentoo.org> + + * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file. + * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete. + +2015-08-18 Mike Frysinger <vapier@gentoo.org> + + * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file. + * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete. + +2015-08-18 Mike Frysinger <vapier@gentoo.org> + + * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file. + * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete. + +2015-08-18 Mike Frysinger <vapier@gentoo.org> + + * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file. + * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete. + +2015-08-18 Mike Frysinger <vapier@gentoo.org> + + * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file. + * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete. + +2015-08-18 Mike Frysinger <vapier@gentoo.org> + + * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND, + SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined. + +2015-08-18 Mike Frysinger <vapier@gentoo.org> + + * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define. + +2015-08-18 Mike Frysinger <vapier@gentoo.org> + + * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete + kernel-features.h include. Delete __ASSUME_LWS_CAS checks. + * sysdeps/unix/sysv/linux/hppa/kernel-features.h + (__ASSUME_LWS_CAS): Delete. + +2015-08-18 Mike Frysinger <vapier@gentoo.org> + + * sysdeps/hppa/configure.ac: Delete binutils tls checks. + * sysdeps/hppa/configure: Regenerated. + * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks. + * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks. + * sysdeps/hppa/nptl/tls.h: Likewise. + +2015-08-17 Joseph Myers <joseph@codesourcery.com> + + [BZ #18823] + * math/s_csqrt.c (__csqrt): Increase threshold and scale factor + for scaling up small arguments. + * math/s_csqrtf.c (__csqrtf): Likewise. + * math/s_csqrtl.c (__csqrtl): Likewise. + * math/auto-libm-test-in: Add more tests of csqrt. + * math/auto-libm-test-out: Regenerated. + +2015-08-17 Andreas Schwab <schwab@suse.de> + + * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty + version set GLIBC_2.19. + +2015-08-16 Zack Weinberg <zackw@panix.com> + + [BZ #18681] + * misc/regexp.h: This interface is no longer supported. + Remove all contents, leaving only an #error directive. + * misc/regexp.c (loc1, loc2, locs, step, advance): + Demote to compatibility symbols. + +2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com> + + [BZ #18084] + * debug/tst-backtrace2.c (do_test): Add test for BZ #18084. + * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0. + * sysdeps/i386/backtrace.c (__backtrace): Likewise. + * sysdeps/m68k/backtrace.c (__backtrace): Likewise. + * sysdeps/microblaze/backtrace.c (__backtrace): Likewise. + * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise. + * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise. + * sysdeps/sparc/backtrace.c (__backtrace): Likewise. + * sysdeps/x86_64/backtrace.c (__backtrace): Likewise. + +2015-08-15 Zack Weinberg <zackw@panix.com> + + [BZ #18795] + * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the + buffer length is known to be too large, not if it's known to be + small enough. + * debug/tst-chk1.c (do_test): Do all tests for catching a buffer + overflow at runtime, involving a length parameter, twice: once + with a compile-time constant length parameter, once without. + +2015-08-14 Joseph Myers <joseph@codesourcery.com> + + [BZ #18824] + * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for + scaling x * y up instead of down. + * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise. + * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise. + * math/auto-libm-test-in: Add more tests of fma. + * math/auto-libm-test-out: Regenerated. + +2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com> + + * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated. + +2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com> + + * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove + unnecessary movq. + * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint): + Likewise. + +2015-08-13 Joseph Myers <joseph@codesourcery.com> + + * math/auto-libm-test-in: Add more tests of acos, acosh, asin, + asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc, + exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh + and tgamma. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + [BZ #16520] + * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>. + (__tanh): Force underflow exception for arguments with small + absolute value. + * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>. + (__tanhf): Force underflow exception for arguments with small + absolute value. + * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>. + (__tanhl): Force underflow exception for arguments with small + absolute value. + * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>. + (__tanhl): Force underflow exception for arguments with small + absolute value. + * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>. + (__tanhl): Force underflow exception for arguments with small + absolute value. + * math/auto-libm-test-in: Add more tests of tanh. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + +2015-08-13 H.J. Lu <hongjiu.lu@intel.com> + + * sysdeps/x86/cpu-features.c (init_cpu_features): Call + __get_cpuid_max if not compiling for i586, i686 nor x86-64. + +2015-08-13 H.J. Lu <hongjiu.lu@intel.com> + + * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include + <cpuid.h>. + +2015-08-13 H.J. Lu <hongjiu.lu@intel.com> + + * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init): + Replace HAS_RTM with HAS_CPU_FEATURE (RTM). + +2015-08-13 H.J. Lu <hongjiu.lu@intel.com> + + * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))): + Remove $(objpfx)init-arch.o. + * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove + init-arch. + * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed. + (INIT_ARCH_EXT): Defined as empty. + (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX). + * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove + __init_cpu_features call. Replace HAS_XXX with + HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX). + * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise. + +2015-08-13 H.J. Lu <hongjiu.lu@intel.com> + + * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX + with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX). + * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise. + * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise. + * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise. + * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise. + * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise. + * sysdeps/i386/i686/multiarch/s_fma.c: Likewise. + * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise. + * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features + call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO. + Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX + with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX). + * sysdeps/i386/i686/multiarch/bzero.S: Likewise. + * sysdeps/i386/i686/multiarch/memchr.S: Likewise. + * sysdeps/i386/i686/multiarch/memcmp.S: Likewise. + * sysdeps/i386/i686/multiarch/memcpy.S: Likewise. + * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise. + * sysdeps/i386/i686/multiarch/memmove.S: Likewise. + * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise. + * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise. + * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise. + * sysdeps/i386/i686/multiarch/memrchr.S: Likewise. + * sysdeps/i386/i686/multiarch/memset.S: Likewise. + * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise. + * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise. + * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise. + * sysdeps/i386/i686/multiarch/strcat.S: Likewise. + * sysdeps/i386/i686/multiarch/strchr.S: Likewise. + * sysdeps/i386/i686/multiarch/strcmp.S: Likewise. + * sysdeps/i386/i686/multiarch/strcpy.S: Likewise. + * sysdeps/i386/i686/multiarch/strcspn.S: Likewise. + * sysdeps/i386/i686/multiarch/strlen.S: Likewise. + * sysdeps/i386/i686/multiarch/strncase.S: Likewise. + * sysdeps/i386/i686/multiarch/strnlen.S: Likewise. + * sysdeps/i386/i686/multiarch/strrchr.S: Likewise. + * sysdeps/i386/i686/multiarch/strspn.S: Likewise. + * sysdeps/i386/i686/multiarch/wcschr.S: Likewise. + * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise. + * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise. + * sysdeps/i386/i686/multiarch/wcslen.S: Likewise. + * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise. + * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise. + +2015-08-13 H.J. Lu <hongjiu.lu@intel.com> + + * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with + HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX). + * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use + LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1). + * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise. + * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise. + * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise. + * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise. + * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise. + * sysdeps/x86_64/multiarch/strstr.c: Likewise. + * sysdeps/x86_64/multiarch/memmove.c: Likewise. + * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise. + * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise. + * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features + call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with + HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX). + * sysdeps/x86_64/multiarch/memcpy.S: Likewise. + * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise. + * sysdeps/x86_64/multiarch/mempcpy.S: Likewise. + * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise. + * sysdeps/x86_64/multiarch/memset.S: Likewise. + * sysdeps/x86_64/multiarch/memset_chk.S: Likewise. + * sysdeps/x86_64/multiarch/strcat.S: Likewise. + * sysdeps/x86_64/multiarch/strchr.S: Likewise. + * sysdeps/x86_64/multiarch/strcmp.S: Likewise. + * sysdeps/x86_64/multiarch/strcpy.S: Likewise. + * sysdeps/x86_64/multiarch/strcspn.S: Likewise. + * sysdeps/x86_64/multiarch/strspn.S: Likewise. + * sysdeps/x86_64/multiarch/wcscpy.S: Likewise. + * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise. + +2015-08-13 H.J. Lu <hongjiu.lu@intel.com> + + * sysdeps/i386/dl-machine.h: Include <cpu-features.c>. + (dl_platform_init): Call init_cpu_features. + * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New. + * sysdeps/i386/i686/cacheinfo.c + (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed. + * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch. + * sysdeps/i386/i686/multiarch/Versions: Removed. + * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET): + Removed. + * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>. + * sysdeps/unix/sysv/linux/x86/Makefile + (libpthread-sysdep_routines): Remove init-arch. + * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include + <sysdeps/x86_64/dl-procinfo.c> instead of + sysdeps/generic/dl-procinfo.c>. + * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers): + Add cpu-features-offsets.sym and rtld-global-offsets.sym. + [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features. + [$(subdir) == elf] (tests): Add tst-get-cpu-features. + [$(subdir) == elf] (tests-static): Add + tst-get-cpu-features-static. + * sysdeps/x86/Versions: New file. + * sysdeps/x86/cpu-features-offsets.sym: Likewise. + * sysdeps/x86/cpu-features.c: Likewise. + * sysdeps/x86/cpu-features.h: Likewise. + * sysdeps/x86/dl-get-cpu-features.c: Likewise. + * sysdeps/x86/libc-start.c: Likewise. + * sysdeps/x86/rtld-global-offsets.sym: Likewise. + * sysdeps/x86/tst-get-cpu-features-static.c: Likewise. + * sysdeps/x86/tst-get-cpu-features.c: Likewise. + * sysdeps/x86_64/dl-procinfo.c: Likewise. + * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed. + Assume USE_MULTIARCH is defined and don't check it. + (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features). + (is_amd): Likewise. + (max_cpuid): Likewise. + (intel_check_word): Likewise. + (__cache_sysconf): Don't call __init_cpu_features. + (__x86_preferred_memory_instruction): Removed. + (init_cacheinfo): Don't call __init_cpu_features. Replace + __cpu_features with GLRO(dl_x86_cpu_features). + * sysdeps/x86_64/dl-machine.h: <cpu-features.c>. + (dl_platform_init): Call init_cpu_features. + * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>. + * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch. + * sysdeps/x86_64/multiarch/Versions: Removed. + * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise. + * sysdeps/x86_64/multiarch/init-arch.c: Likewise. + * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET): + Removed. + * sysdeps/x86_64/multiarch/init-arch.h: Rewrite. + +2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com> + + [BZ #18820] + * libio/Makefile (test-fmemopen-mem): New test. + * libio/test-fmemopen.c (do_bz18820): New test. + * libio/fmemopen.c (__fmemopen): Fix memory leak. + * libio/oldfmemopen.c (__old_fmemopen): Likewise. + +2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com> + + [BZ #16734] + * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete. + (FREE_BUF): Delete. + * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size. + * libio/genops.c (_IO_setb): Use malloc and free directly. + (_IO_default_doallocate, _IO_default_finish): Likewise. + ( _IO_unbuffer_all): Likewise. + ( libc_freeres_fn): Likewise. + * libio/filedoalloc.c (_IO_file_doallocate): Likewise. + * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise. + * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise. + (_IO_wdefault_doallocate): Likewise. + +2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com> + + [BZ #18086] + * sysdeps/posix/nice.c (nice): Restore old errno. + * posix/tst-nice.c (do_test): Add test for BZ #18086. + +2015-08-10 Ondrej Bilka <neleai@seznam.cz> + + * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc. + +2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org> + + * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to + __bcopy and add a weak_alias to bcopy. + * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen + for static build. + + * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and + cleanup macro usage. + * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name. + * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file. + * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise. + * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise. + * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise. + * sysdeps/powerpc/powerpc64/strcpy.S: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c + [SHARED && IS_IN (libc)]: Include <string/strcpy.c>. + * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c + [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>. + * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file. + * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise. + * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise. + * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise. + + * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add + libc_hidden_def. + (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def. + + * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string] + (sysdep_routines): Add strstr-ppc64. + * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file. + +2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com> + + [BZ #18778] + * elf/Makefile (tests): Add Add tst-nodelete2. + (modules-names): Add tst-nodelete2mod. + (tst-nodelete2mod.so-no-z-defs): New. + ($(objpfx)tst-nodelete2): Likewise. + ($(objpfx)tst-nodelete2.out): Likewise. + (LDFLAGS-tst-nodelete2): Likewise. + * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing + out of loop through all loaded libraries. + * elf/tst-nodelete2.c: New file. + * elf/tst-nodelete2mod.c: Likewise. + * elf/tst-znodelete-zlib.cc: Delete. + +2015-08-11 Andreas Schwab <schwab@suse.de> + + * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define. + * sysdeps/unix/sysv/linux/wordsize-64/openat.c + (__openat64_nocancel): Likewise. + +2015-08-11 Joseph Myers <joseph@codesourcery.com> + + * math/auto-libm-test-in: Add more tests of acosh, asin, asinh, + atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10, + expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2015-08-10 Joseph Myers <joseph@codesourcery.com> + + [BZ #18790] + * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase + threshold for returning +/- 1. + * math/auto-libm-test-in: Add more tests of tanh. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + +2015-08-10 Andreas Schwab <schwab@suse.de> + + [BZ #18781] + * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add + MORE_OFLAGS to oflag. + * io/test-lfs.c (do_test): Test openat64. + +2015-08-10 Joseph Myers <joseph@codesourcery.com> + + [BZ #18789] + * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use + smaller threshold for returning the argument. + * math/auto-libm-test-in: Add more tests of sinh. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + +2015-08-09 H.J. Lu <hongjiu.lu@intel.com> + + [BZ #18674] + * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing + break. + +2015-08-09 Andreas Schwab <schwab@linux-m68k.org> + + * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define. + (generated): Don't add $(addprefix z.,$(tzfiles)). + +2015-08-09 Mike Frysinger <vapier@gentoo.org> + + * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1. + * scripts/sysd-rules.awk: Likewise. + +2015-08-09 Mike Frysinger <vapier@gentoo.org> + + * iconvdata/tst-tables.sh: Change echo -n to printf. + * nss/db-Makefile: Likewise. + * posix/tst-getconf.sh: Likewise. + * stdio-common/tst-unbputc.sh: Likewise. + +2015-08-09 Mike Frysinger <vapier@gentoo.org> + + * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all + MADV_*_PAGES defines behind this feature check. + +2015-08-09 John David Anglin <danglin@gcc.gnu.org> + + [BZ #18480] + * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1, + LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6): + Define. + (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4, + LOAD_REGS_5, LOAD_REGS_6): Update. + (INTERNAL_SYSCALL): Update using new LOAD defines. + (INTERNAL_SYSCALL_NCS): Likewise. + * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise. + +2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com> + + [BZ #16734] + * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well. + +2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com> + + [BZ #17905] + * catgets/Makefile (tst-catgets-mem): New test. + * catgets/catgets.c (catopen): Don't use unbounded alloca. + * catgets/open_catalog.c (__open_catalog): Likewise. + * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca. + +2015-08-08 John David Anglin <danglin@gcc.gnu.org> + + [BZ #18787] + * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise + clobber registers. + (atomic_compare_and_exchange_val_acq): Use register asms to assign + operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks. + Cast return to __typeof (oldval). + +2015-08-08 Mike Frysinger <vapier@gentoo.org> + + * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file + in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h + and delete sys/syscall.h include. + +2015-08-07 Joseph Myers <joseph@codesourcery.com> + + [BZ #16517] + * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>. + (tan): Force underflow exception for arguments with small absolute + value. + * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>. + (__kernel_tanf): Force underflow exception for arguments with + small absolute value. + * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>. + (__kernel_tanl): Force underflow exception for arguments with + small absolute value. + * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>. + (__kernel_tanl): Force underflow exception for arguments with + small absolute value. + * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>. + (__kernel_tanl): Force underflow exception for arguments with + small absolute value. + * math/auto-libm-test-in: Add more tests of tan. + * math/auto-libm-test-out: Regenerated. + +2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org> + + Fix sysdeps/i386/fpu/s_scalbn.S build + + * math/Versions (libc: GLIBC_2_22): New (empty) version set. + +2015-08-07 Mike Frysinger <vapier@gentoo.org> + + * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def. + +2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org> + + Fix gcrt0.o compilation + + When static-start-installed-name is different from + start-installed-name, we must not use the shared objects. + + * csu/Makefile + (extra-objs): Add gmon-start.o when building shared library and + $(static-start-installed-name) is different from + $(start-installed-name). + $(objpfx)g$(static-start-installed-name): When building shared + library and $(static-start-installed-name) is different from + $(static-start-installed-name), revert to non-shared rule, + i.e. using $(objpfx)% and gmon-start.o. + +2015-08-06 Joseph Myers <joseph@codesourcery.com> + + [BZ #16519] + * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>. + (__ieee754_sinh): Force underflow exception for arguments with + small absolute value. + * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>. + (__ieee754_sinhf): Force underflow exception for arguments with + small absolute value. + * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>. + (__ieee754_sinhl): Force underflow exception for arguments with + small absolute value. + * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>. + (__ieee754_sinhl): Force underflow exception for arguments with + small absolute value. + * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>. + (__ieee754_sinhl): Force underflow exception for arguments with + small absolute value. + * math/auto-libm-test-in: Add more tests of sinh. + * math/auto-libm-test-out: Regenerated. + * sysdeps/i386/fpu/libm-test-ulps: Update. + +2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com> + + * libio/oldfileops.c: Include unistd.h. + +2015-08-06 Mike Frysinger <vapier@gentoo.org> + + * stdlib/isomac.c: Include ctype.h. + +2015-08-06 Arjun Shankar <arjun.is@lostca.se> + + * dirent/tst-seekdir.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + * elf/tst-dlmodcount.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + * elf/tst-order-main.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + * elf/tst-pie2.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + * inet/tst-ether_aton.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + * misc/tst-mntent.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + * misc/tst-tsearch.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + * posix/tst-regexloc.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + * resolv/tst-aton.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + * stdio-common/test-fwrite.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + * stdio-common/tst-ferror.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + * stdio-common/tst-printf.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + * stdio-common/tst-printfsz.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + * stdlib/tst-strtod.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + * string/tst-strlen.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + * string/tst-svc.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + * time/tst-strptime.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + * timezone/tst-timezone.c (main): Converted to ... + (do_test): ... this. + (TEST_FUNCTION): New macro. + Include test-skeleton.c. + +2015-08-05 Zack Weinberg <zackw@panix.com> + + * misc/regexp.h: Update comments. + +2015-08-05 Andreas Schwab <schwab@linux-m68k.org> + + [BZ #18635] + * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop + before return label. + +2015-08-05 H.J. Lu <hongjiu.lu@intel.com> + + [BZ #18661] + * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes + when calling __errno_location. + * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise. + * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise. + +2015-08-05 H.J. Lu <hongjiu.lu@intel.com> + + [BZ #18661] + * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S + (__lll_timedwait_tid): Align stack to 16 bytes when calling + __gettimeofday. + +2015-08-05 H.J. Lu <hongjiu.lu@intel.com> + + [BZ #18661] + * sysdeps/unix/sysv/linux/x86_64/__start_context.S + (__start_context): Don't use pop to restore %rdi so that stack + is aligned to 16 bytes when calling __setcontext. + +2015-08-05 H.J. Lu <hongjiu.lu@intel.com> + + * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile + only for libc. + * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise. + +2015-08-05 Wilco Dijkstra <wdijkstr@arm.com> + + * string/string.h: (mempcpy): Redirect to __mempcpy_inline. + (__mempcpy): Likewise. (__mempcpy_inline): New inline function. + * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define. + +2015-08-05 Wilco Dijkstra <wdijkstr@arm.com> + + * string/memccpy.c (memccpy): + Improve performance by using memchr/memcpy/__mempcpy. + +2015-08-05 Wilco Dijkstra <wdijkstr@arm.com> + + * string/strncpy.c (strncpy): + Improve performance by using __strnlen/memcpy. + +2015-08-05 Wilco Dijkstra <wdijkstr@arm.com> + + * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): + Optimize to avoid an unnecessary FPCR read. + +2015-08-05 Wilco Dijkstra <wdijkstr@arm.com> + + * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): + Optimize to reduce FPCR/FPSR accesses. + +2015-08-05 H.J. Lu <hongjiu.lu@intel.com> + + * locale/loadarchive.c (_nl_archive_subfreeres): Also check + dead->data[category] != NULL. + +2015-08-05 Joseph Myers <joseph@codesourcery.com> + + [BZ #18647] + * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y + and |x| close to 1, use absolute value of x when computing log. + * math/auto-libm-test-in: Add more tests of pow. + * math/auto-libm-test-out: Regenerated. + +2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org> + + * sysdeps/unix/sysv/linux/arm/mmap.c: Add file. + * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file. + * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise. + +2015-08-05 Marko Myllynen <myllynen@redhat.com> + + [BZ #18525] + * locales/km_KH: Remove timezone definition. + * locales/lo_LA: Likewise. + * locales/my_MM: Likewise. + * locales/nan_TW@latin: Likewise. + * locales/th_TH: Likewise. + * locales/uk_UA: Likewise. + +2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se> + + [BZ #18265] + * wcsmbs/wchar.h (wcscat): Add __nonnull attribute. + (wcsncat): Likewise. + (wcscmp): Likewise. + (wcsncmp): Likewise. + +2015-08-05 Mike Frysinger <vapier@gentoo.org> + + * test-skeleton.c (usage): New function. + (main): Call usage when opt is '?'. + +2015-08-05 Mike Frysinger <vapier@gentoo.org> + + * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define + before first use. + +2015-08-05 Mike Frysinger <vapier@gentoo.org> + + * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to + bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment + in there too. + 2015-08-05 Carlos O'Donell <carlos@systemhalted.org> + * version.h (RELEASE): Set to "development". + (VERSION): Set to "2.22.90" + * version.h (RELEASE): Set to "stable". (VERSION): Set to "2.22" * include/features.h (__GLIBC_MINOR__): Set to 22. @@ -38598,6 +47869,7 @@ 2013-01-11 Roland McGrath <roland@hack.frob.com> + [BZ #14941] * configure.in (sysnames): Use $multi_arch_d in setting up $mach list, not in the main loop. * configure: Regenerated. @@ -48055,6 +57327,7 @@ * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead of _rtld_global, and rtld_progname instead of _dl_argv[0]. + [BZ #10882] * sysdeps/powerpc/powerpc32/dl-machine.c (__elf_machine_runtime_setup) [PROF]: Don't reference _dl_prof_resolve. @@ -60158,7 +69431,7 @@ 2011-05-20 Ulrich Drepper <drepper@gmail.com> - [BZ #11869] + [BZ #11884] * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use alloca. * include/alloca.h (extend_alloca_account): Define. |