[s390] Define a __tls_get_addr macro to avoid declaring it again
[platform/upstream/glibc.git] / ChangeLog
index 829c7ec..33e232c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,194 @@
-2014-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
+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.