+2015-01-31 David S. Miller <davem@davemloft.net>
+
+ * sysdeps/sparc/sparc32/bits/atomic.h
+ (__sparc32_atomic_do_unlock24): Put the memory barrier before the
+ unlock not after it.
+ (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
+ volatile register usage warnings from the compiler.
+
+ * sysdeps/sparc/nptl/sem_init.c: Delete.
+ * sysdeps/sparc/nptl/sem_post.c: Delete.
+ * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
+ * sysdeps/sparc/nptl/sem_wait.c: Delete.
+ * sysdeps/sparc/sparc32/sem_init.c: New file.
+ * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
+ * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
+ padding explicitly initialized.
+ * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
+ padding for in-semaphore spinlock.
+ * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
+ * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
+ * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
+ * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
+ * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
+ * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
+ * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
+ * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
+ version.
+ * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
+ * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
+
+2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
+
+ [BZ #17801]
+ * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
+ Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
+ * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
+ New.
+ (index_AVX_Fast_Unaligned_Load): Likewise.
+ (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
+ * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
+ bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
+ * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
+ * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
+ * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
+ * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
+ HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
+ * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
+
+2015-01-29 Andreas Schwab <schwab@suse.de>
+
+ * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
+
+2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
+
+ [BZ #17892]
+ * nscd/nscd_stat.c (send_stats): Initialize DATA.
+
+2015-01-28 Martin Sebor <msebor@redhat.com>
+
+ * math/README.libm-test: Clarify. Add "How to read the test output."
+
+2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
+
+ * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
+ Define to 0.
+
+2015-01-28 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
+ (__HAVE_64B_ATOMICS): Define to 0.
+
+2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
+
+ [BZ #17885]
+ * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
+ value to set as new flag.
+
+ [BZ #16576]
+ * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
+ and use _ARCH_PPCSQ instead.
+ (__ieee754_sqrt): Likewise.
+ (__ieee754_sqrtf): Likewise.
+ * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
+ _ARCH_PPCSQ is defined.
+ (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
+ fsqrt instruction.
+ * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
+ _ARCH_PPCSQ is defined.
+ (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
+ fsqrts instruction.
+ * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
+
+2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
+
+ * iconv/loop.c: Suppress array out of bound warning caused by GCC
+ bug (GCC BZ #64739).
+
+2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
+
+ * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
+ Mark _retval as used.
+ (lll_futex_wake_unlock): Likewise.
+ (lll_futex_timed_wait_requeue_pi): Likewise.
+
+ * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
+ (atomic_compare_and_exchange_val_acq): Use uint32_t for the
+ register variables.
+
+ * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
+ libm_hidden_def.
+
+ * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
+ (__bswap_64): Mark as __always_inline.
+
+2015-01-25 Bram <bug_rh@spam.wizbit.be>
+
+ [BZ #15378]
+ * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
+ when none of the search directories exist.
+
+2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
+
+ [BZ #17869]
+ * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
+ power8 in .machine directive.
+
+ [BZ #17868]
+ * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
+ set dependency from opd value.
+
+2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
+
+ * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
+ Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
+ architecture.
+
+2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
+
+ [BZ #17870]
+ * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
+ with uint64_t.
+ * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
+ (uint64_t) 1.
+ (__new_sem_wait_fast): Replace unsigned long with uint64_t.
+ (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
+ Replace 1UL with (uint64_t) 1.
+ * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
+ int with uint64_t.
+
+2015-01-23 Roland McGrath <roland@hack.frob.com>
+
+ * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
+ (if_freenameindex): Likewise.
+
+ * resource/getrlimit64.c: Add missing libc_hidden_def.
+
+2015-01-22 Joseph Myers <joseph@codesourcery.com>
+
+ * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
+ __label__.
+ (_FP_FMA): Likewise.
+ (_FP_TO_INT_ROUND): Likewise.
+ (_FP_FROM_INT): Likewise.
+
+2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
+
+ [BZ #16418]
+ * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
+ Make code racy and cancel safe.
+
+2015-01-21 Carlos O'Donell <carlos@redhat.com>
+
+ * sysdeps/arm/unwind-resume.h: Fix copyright year.
+ * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
+ attribution.
+
+ * pwd/tst-getpw.c: Rewrite.
+
+ [BZ #17702]
+ * dlfcn/Makefile (tests): Add tst-rec-dlopen.
+ (modules-names): Add moddummy1 and moddummy2.
+ ($(objpfx)tst-rec-dlopen): Define.
+ * dlfcn/moddummy1.c: New file.
+ * dlfcn/moddummy2.c: New file.
+ * dlfcn/tst-rec-dlopen.c: New file.
+ * elf/dl-cache.c (_dl_load_cache_lookup):
+ Return char*. Copy result with alloca/strcpy/strdup.
+ * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
+ returns char*. Free cached. If not saving realname
+ free cached.
+ * elf/dl-open.c (dl_open_worker): Do not assert that
+ _r_debug->r_state is RT_CONSISTENT.
+ * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
+ returns char*.
+
+2015-01-21 Torvald Riegel <triegel@redhat.com>
+ Carlos O'Donell <carlos@redhat.com>
+
+ [BZ #12674]
+ * nptl/sem_waitcommon.c: New file.
+ * nptl/sem_wait.c: Include sem_waitcommon.c.
+ (__sem_wait_cleanup, do_futex_wait): Remove.
+ (__new_sem_wait): Adapt.
+ (__new_sem_trywait): New function.
+ (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
+ * nptl/sem_timedwait.c: Include sem_waitcommon.c.
+ (__sem_wait_cleanup, do_futex_timed_wait): Remove.
+ (sem_timedwait): Adapt.
+ * nptl/sem_post.c (__new_sem_post): Adapt.
+ (futex_wake): New function.
+ (__old_sem_post): Add release MO fence.
+ * nptl/sem_open.c (sem_open): Adapt.
+ * nptl/sem_init.c (__new_sem_init): Adapt.
+ (futex_private_if_supported): New function.
+ * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
+ (__old_sem_getvalue): Add using previous code.
+ * sysdeps/nptl/internaltypes.h: Adapt.
+ * nptl/tst-sem13.c (do_test): Adapt.
+ * nptl/tst-sem11.c (main): Adapt.
+ * nptl/sem_trywait.c: Remove.
+ * nptl/DESIGN-sem.txt: Remove.
+ * nptl/Makefile (libpthread-routines): Remove sem_trywait.
+ (gen-as-const-headers): Remove structsem.sym.
+ * nptl/structsem.sym: Remove.
+ * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
+ * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
+ * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
+ * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
+ * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
+ * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
+ * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
+ * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
+ * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
+ * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
+ * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
+ * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
+ * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
+ * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
+ * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
+ * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
+ * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
+ * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
+ * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
+ * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
+ * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
+ * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
+
+2015-01-20 Carlos O'Donell <carlos@redhat.com>
+
+ * INSTALL: Regenerated.
+
+ * po/libc.pot: Regenerated.
+
+2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
+ Sandra Loosemore <sandra@codesourcery.com>
+ Andrew Jenner <andrew@codesourcery.com>
+ Joseph Myers <joseph@codesourcery.com>
+ Nathan Sidwell <nathan@codesourcery.com>
+
+ * NEWS: Mention new Nios II port.
+ * sysdeps/nios2/Implies: New file.
+ * sysdeps/nios2/Makefile: New file.
+ * sysdeps/nios2/Subdirs: New file.
+ * sysdeps/nios2/Versions: New file.
+ * sysdeps/nios2/__longjmp.S: New file.
+ * sysdeps/nios2/abort-instr.h: New file.
+ * sysdeps/nios2/backtrace.c: New file.
+ * sysdeps/nios2/bits/endian.h: New file.
+ * sysdeps/nios2/bits/fenv.h: New file.
+ * sysdeps/nios2/bits/link.h: New file.
+ * sysdeps/nios2/bits/setjmp.h: New file.
+ * sysdeps/nios2/bsd-_setjmp.S: New file.
+ * sysdeps/nios2/bsd-setjmp.S: New file.
+ * sysdeps/nios2/configure: New generated file.
+ * sysdeps/nios2/configure.ac: New file.
+ * sysdeps/nios2/crti.S: New file.
+ * sysdeps/nios2/crtn.S: New file.
+ * sysdeps/nios2/dl-init.c: New file.
+ * sysdeps/nios2/dl-machine.h: New file.
+ * sysdeps/nios2/dl-sysdep.h: New file.
+ * sysdeps/nios2/dl-tls.h: New file.
+ * sysdeps/nios2/dl-trampoline.S: New file.
+ * sysdeps/nios2/gccframe.h: New file.
+ * sysdeps/nios2/gmp-mparam.h: New file.
+ * sysdeps/nios2/jmpbuf-offsets.h: New file.
+ * sysdeps/nios2/jmpbuf-unwind.h: New file.
+ * sysdeps/nios2/ldsodefs.h: New file.
+ * sysdeps/nios2/libc-tls.c: New file.
+ * sysdeps/nios2/libm-test-ulps: New file.
+ * sysdeps/nios2/machine-gmon.h: New file.
+ * sysdeps/nios2/math-tests.h: New file.
+ * sysdeps/nios2/math_private.h: New file.
+ * sysdeps/nios2/memusage.h: New file.
+ * sysdeps/nios2/nptl/Makefile: New file.
+ * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
+ * sysdeps/nios2/nptl/bits/semaphore.h: New file.
+ * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
+ * sysdeps/nios2/nptl/pthreaddef.h: New file.
+ * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
+ * sysdeps/nios2/nptl/tls.h: New file.
+ * sysdeps/nios2/preconfigure: New file.
+ * sysdeps/nios2/s_fma.c: New file.
+ * sysdeps/nios2/s_fmaf.c: New file.
+ * sysdeps/nios2/setjmp.S: New file.
+ * sysdeps/nios2/sfp-machine.h: New file.
+ * sysdeps/nios2/sotruss-lib.c: New file.
+ * sysdeps/nios2/stackguard-macros.h: New file.
+ * sysdeps/nios2/stackinfo.h: New file.
+ * sysdeps/nios2/start.S: New file.
+ * sysdeps/nios2/sysdep.h: New file.
+ * sysdeps/nios2/tls-macros.h: New file.
+ * sysdeps/nios2/tst-audit.h: New file.
+ * sysdeps/unix/sysv/linux/nios2/Implies: New file.
+ * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
+ * sysdeps/unix/sysv/linux/nios2/Versions: New file.
+ * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
+ * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
+ * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
+ * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
+ * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
+ * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
+ * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
+ * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
+ * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
+ * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
+ * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
+ * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
+ * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
+ * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
+ * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
+ * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
+ * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
+ * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
+ * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
+ * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
+ * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
+ * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
+ * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
+ * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
+ * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
+ * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
+ * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
+ * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
+ * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
+ * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
+ * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
+ * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
+ * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
+ * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
+ * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
+ * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
+ * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
+ * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
+ * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
+ * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
+ * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
+
+2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
+
+ [BZ #17844]
+ * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
+ (getutent): Use weak_alias in non SHARED case
+ and default_symbol_version in SHARED case.
+ * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
+ (getutent_r, pututline): Likewise.
+ * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
+ (getutid): Likewise.
+ * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
+ (getutid_r): Likewise.
+ * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
+ (getutline): Likewise.
+ * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
+ (getutline_r): Likewise.
+ * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
+ (updwtmp): Likewise.
+
+2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
+
+ [BZ #17848]
+ * sysdeps/s390/s390-32/memcmp.S
+ (memcmp_g5): Rename to __memcmp_g5.
+ * sysdeps/s390/s390-32/memcpy.S
+ (memcpy_g5): Rename to __memcpy_g5.
+ Jump to __memcpy_mvcle instead of memcpy_mvcle.
+ (memcpy_mvcle) Rename to __memcpy_mvcle.
+ * sysdeps/s390/s390-32/memset.S
+ (memset_g5): Rename to __memset_g5.
+ * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
+ (IFUNC_RESOLVE): Prefix ifunc-resolve function
+ and use prefixed functions.
+ * sysdeps/s390/s390-32/multiarch/memcmp.S
+ (memcmp_z196): Rename to __memcmp_z196.
+ (memcmp_z10): Rename to __memcmp_z10.
+ (memcmp): Set alias to __memcmp_g5.
+ (bcmp): Set alias to __memcmp_g5.
+ * sysdeps/s390/s390-32/multiarch/memcpy.S
+ (memcpy_z196): Rename to __memcpy_z196.
+ Jump to __memcpy_mvcle instead of memcpy_mvcle.
+ (memcpy_z10): Rename to __memcpy_z10.
+ Jump to __memcpy_mvcle instead of memcpy_mvcle.
+ (memcpy): Set alias to __memcpy_g5.
+ * sysdeps/s390/s390-32/multiarch/memset.S
+ (memset_z196): Rename to __memset_z196.
+ Jump to __memset_mvcle instead of memset_mvcle.
+ (memset_z10): Rename to __memset_z10.
+ Jump to __memset_mvcle instead of memset_mvcle.
+ (memset_mvcle) Rename to __memset_mvcle.
+ (memset): Set alias to __memset_g5.
+ * sysdeps/s390/s390-64/memcmp.S
+ (memcmp_z900): Rename to __memcmp_z900.
+ * sysdeps/s390/s390-64/memcpy.S
+ (memcpy_z900): Rename to __memcpy_z900.
+ Jump to __memcpy_mvcle instead of memcpy_mvcle.
+ (memcpy_mvcle) Rename to __memcpy_mvcle.
+ * sysdeps/s390/s390-64/memset.S
+ (memset_z900): Rename to __memset_z900.
+ * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
+ (IFUNC_RESOLVE): Prefix ifunc-resolve function
+ and use prefixed functions.
+ * sysdeps/s390/s390-64/multiarch/memcmp.S
+ (memcmp_z196): Rename to __memcmp_z196.
+ (memcmp_z10): Rename to __memcmp_z10.
+ (memcmp): Set alias to __memcmp_z900.
+ (bcmp): Set alias to __memcmp_z900.
+ * sysdeps/s390/s390-64/multiarch/memcpy.S
+ (memcpy_z196): Rename to __memcpy_z196.
+ Jump to __memcpy_mvcle instead of memcpy_mvcle.
+ (memcpy_z10): Rename to __memcpy_z10.
+ Jump to __memcpy_mvcle instead of memcpy_mvcle.
+ (memcpy): Set alias to __memcpy_z900.
+ * sysdeps/s390/s390-64/multiarch/memset.S
+ (memset_z196): Rename to __memset_z196.
+ Jump to __memset_mvcle instead of memset_mvcle.
+ (memset_z10): Rename to __memset_z10.
+ Jump to __memset_mvcle instead of memset_mvcle.
+ (memset_mvcle) Rename to __memset_mvcle.
+ (memset): Set alias to __memset_z900.
+
+2015-01-14 Joseph Myers <joseph@codesourcery.com>
+
+ [BZ #17748]
+ * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
+ __fesetenv instead of fesetenv.
+
+2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
+
+ * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
+ macro.
+
+2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
+
+ * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
+ regression on LE.
+
+ * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
+ * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
+ * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
+ strncmp-power8 object.
+ * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
+ (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
+ * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
+ * NEWS: Update.
+
+2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
+ Adhemerval Zanella <azanella@linux.vnet.ibm.com>
+
+ * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
+ trailing byte check.
+
+2015-01-13 David S. Miller <davem@davemloft.net>
+
+ * include/signal.h (__sigreturn): Guard with __USE_MISC.
+
+2015-01-13 Roland McGrath <roland@hack.frob.com>
+
+ * login/logout.c (logout): Use memset rather than bzero.
+ * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
+ * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
+ * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
+ (_gethtbyaddr): Likewise.
+ * locale/programs/simple-hash.c (bcopy): Macro removed.
+
+2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
+
+ * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
+ Add strcmp-power8 object.
+ * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
+ (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
+ * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
+ * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
+ __strcmp_power8 implementation.
+ * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
+ * NEWS: Update.
+
+ * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
+ Add strncpy-power8 and stpncpy-power8 objects.
+ * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
+ (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
+ implementations.
+ * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
+ * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
+ __stpncpy_power8 implementation.
+ * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
+ * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
+ __strncpy_power8 implementation.
+ * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
+ * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
+ * NEWS: Update.
+
+ * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
+ * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
+ * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
+
+ * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
+ strncat-power8 object.
+ * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
+ __strcat_power8 implementation.
+ * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
+ (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
+ * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
+ optimized strcat for power8.
+
+ * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
+ strcpy-power8 and stpcpy-power8 objects.
+ * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
+ (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
+ implementations.
+ * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
+ multiarch stpcpy implementation for POWER8.
+ * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
+ multiarch strcpy implementation for POWER8.
+ * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
+ __strcpy_power8 function.
+ * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
+ stpcpy for POWER8.
+ * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
+ strcpy for POWER8.
+ * NEWS: Update.
+
+2015-01-13 Leonhard Holz <leonhard.holz@web.de>
+
+ [BZ #16009]
+ * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
+ weights and rules. Use do_xfrm_cached if data fits in cache,
+ do_xfrm otherwise. Moved former main loop to...
+ * (do_xfrm_cached): New function.
+ * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
+ find_idx, find_position and stack_push.
+ * (find_idx): New function.
+ * (find_position): Likewise.
+ * localedata/sort-test.sh: Added test run for do_xfrm.
+ * localedata/xfrm-test.c (main): Added command line option
+ -nocache to run the test with strings that are too large for
+ the STRXFRM cache.
+
+2015-01-13 Torvald Riegel <triegel@redhat.com>
+
+ * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
+ variable to lll_futex_wake call, not the value itself.
+
+2015-01-12 Joseph Myers <joseph@codesourcery.com>
+
+ [BZ #17803]
+ * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
+ twom64. Adjust value to 0x1p-64L.
+ (__scalblnl): Only return standard underflowing result for K <=
+ -64 not K <= -63; adjust exponent for underflowing result by 64
+ not 63.
+ * math/libm-test.inc (scalbn_test_data): Add more tests.
+ (scalbln_test_data): Likewise.
+
+ [BZ #17834]
+ * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
+ 0x1p63L.
+ (__scalblnl): Get new exponent of adjusted subnormal value from ES
+ not HX.
+ * math/libm-test.inc (scalbn_test_data): Add more tests.
+ (scalbln_test_data): Likewise.
+
+2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
+ Stefani Seibold <stefani@seibold.net>
+
+ * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
+ (sysdep_routines): Add dl-vdso here, ...
+ * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
+ (sysdep_routines): ... not here.
+ * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
+ fallback when vDSO is not presented.
+ * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
+ Define with libc_hidden_proto/libc_hidden_data_def definitions.
+ (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
+ * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
+ * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
+ * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
+ * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
+ * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
+ * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
+ * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
+ * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
+ fallback configurable symbol when vDSO is not available.
+ * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
+ * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
+ be able to redefine fallback symbol when vDSO is not available.
+ * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
+ * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
+
+2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
+
+ * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
+ (TLS_INIT_TP): Add tm_capable initialization.
+ (TLS_DEFINE_INIT_TP): Likewise.
+ (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
+ TCB.
+ (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
+ * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
+ calculation.
+ * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
+ transactoion is lock elision is built and TCB tm_capable is set.
+ * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
+ (INTERNAL_SYSCALL_NCS): Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
+ (INTERNAL_SYSCALL_NCS): Likewise.
+ * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
+
+ * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
+ for powerpc.
+ * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
+ [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
+ and remove it for 32 bits case.
+ [pthread_rwlock_t] (__rwelision): New field for lock elision.
+ (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
+ initialization.
+ * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
+ Disable lock elision with rdlocks if elision is not available.
+
+ * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
+ (sysdep_routines): Add lock elision objects.
+ * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
+ [pthread_mutex_t] (__spins): Rework to add lock elision field.
+ [pthread_mutex_t] (__elision): Add field.
+ [__PTHREAD_SPINS]: Adjust to init lock elision field.
+ * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
+ elision definitions for powerpc.
+ * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
+ implementation of lock elision for powerpc.
+ * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
+ implementation of timed lock elision for powerpc.
+ * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
+ implementation of trylock with lock elision for powerpc.
+ * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
+ implementaion of unlock for lock elision for powerpc.
+ * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
+ automatic enable lock elision for mutexes.
+ * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
+ transaction execution definitions for powerpc.
+ * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
+ definitions.
+ * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
+ * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
+ * NEWS: Update.
+
+2015-01-09 Roland McGrath <roland@hack.frob.com>
+
+ * sysdeps/posix/shm-directory.c: Use <> rather than ""
+ for #include of <shm-directory.h>.
+
+2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
+
+ * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
+ assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
+
+2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
+
+ [BZ #17791]
+ * NEWS: Mention bug fix.
+ * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
+ (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
+ (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
+
+2015-01-09 Torvald Riegel <triegel@redhat.com>
+
+ * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
+
+2015-01-09 Torvald Riegel <triegel@redhat.com>
+
+ * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
+
+2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
+
+ * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
+ pointer and cast to uintptr_t.
+
+2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
+
+ * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
+ removed.
+ (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
+
+2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
+
+ * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
+ of 0.
+
2015-01-08 Roland McGrath <roland@hack.frob.com>
+ * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
+ <nptl/pthreadP.h> instead.
+ * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
+
* signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
already defined.
[__SIGRTMIN] (init): Function removed.
(R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
(R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
(R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
- (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
- (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
- (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
- (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
- (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
- (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
+ (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
+ (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
+ (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
+ (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
+ (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
+ (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
(R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
(R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
(R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
- * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
- for __vdso_* functions in declarations.
- * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
- definitions.
- * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
- INTERNAL_VSYSCALL): Use struct return types to check for error.
+ * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
+ for __vdso_* functions in declarations.
+ * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
+ definitions.
+ * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
+ INTERNAL_VSYSCALL): Use struct return types to check for error.
* sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
&& REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()