]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - ChangeLog
powerpc: Fix adapt_count update in __lll_unlock_elision
[thirdparty/glibc.git] / ChangeLog
index 1e2e4785806659d50c38f79fecf81d6f24ee9bee..d90569fd6987c3fcec407d33395f95b423531683 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,263 @@
+2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
+
+       * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
+       (__lll_unlock_elision): Fix adapt_count decrement.
+
+2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
+
+       * README.pretty-printers (Known issues): Warn about printers not
+       always covering everything.
+       * nptl/nptl-printers.py (MutexPrinter): Change output.
+       * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
+
+2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
+
+       * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
+       * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
+       * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
+       (__lll_lock_elision): Do not test futex before starting a
+       transaction.  Use __glibc_likely instead of __builtin_expect.
+       * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
+       (__lll_trylock_elision): Do not test futex before starting a
+       transaction.  Use __glibc_likely instead of __builtin_expect.
+
+2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
+
+       * po/Makefile (update-translations): New target.
+
+2017-01-19  Joseph Myers  <joseph@codesourcery.com>
+
+       [BZ #21061]
+       * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
+
+2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
+
+       * elf/dl-tunables (get_next_env): Always advance envp.
+       * stdlib/tst-empty-env.c: New test case.
+       * stdlib/Makefile (tests): Use it.
+
+2017-01-19  Joseph Myers  <joseph@codesourcery.com>
+
+       [BZ #21047]
+       * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
+       name for instruction.
+       [!__SOFTFP__] (_FPU_SETCW): Likewise.
+
+2017-01-18  Joseph Myers  <joseph@codesourcery.com>
+
+       * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
+       for make install.
+
+2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
+
+       * po/bg.po: Merge from Translation Project.
+       * po/fr.po: Likewise.
+       * po/ko.po: Likewise.
+       * po/nl.po: Likewise.
+       * po/sv.po: Likewise.
+
+2017-01-18  Joseph Myers  <joseph@codesourcery.com>
+
+       * manual/install.texi (Tools for Compilation): Update GCC version
+       known to work to build glibc.
+       * INSTALL: Regenerated.
+
+2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
+
+       [BZ #21006]
+       * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
+
+2017-01-16  Joseph Myers  <joseph@codesourcery.com>
+
+       [BZ #21045]
+       * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
+       (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
+       to __sigprocmask.
+
+2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
+
+       * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
+       wrap-around.
+       * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
+
+       * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
+
+2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
+
+       * NEWS: Fix typo.
+
+2016-01-13  Torvald Riegel  <triegel@redhat.com>
+
+       * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
+       barriers and comments.
+       * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
+       * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
+       * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
+
+2016-01-13  Torvald Riegel  <triegel@redhat.com>
+
+       [BZ #19402]
+       * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
+       mutexes.
+
+2016-01-13  Torvald Riegel  <triegel@redhat.com>
+
+       [BZ #20985]
+       * nptl/Makefile: Adapt.
+       * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
+       (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
+       * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
+       (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
+       (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
+       * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
+       lll_robust* functions and adapt.
+       * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
+       * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
+       __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
+       __lll_robust_timedlock, __lll_robust_unlock): Remove.
+       * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
+       lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
+       * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
+       lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
+       * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
+       __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
+       __lll_robust_timedlock, __lll_robust_unlock): Remove.
+       * nptl/lowlevelrobustlock.c: Remove file.
+       * nptl/lowlevelrobustlock.sym: Likewise.
+       * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
+       * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
+
+2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
+
+       * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
+
+2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
+
+       * po/cs.po: Merge translations from the Translation Project.
+       * po/de.po: Likewise.
+       * po/pl.po: Likewise.
+       * po/ru.po: Likewise.
+       * po/tr.po: Likewise.
+       * po/uk.po: Likewise.
+       * po/vi.po: Likewise.
+       * po/zh_CN.po: Likewise.
+
+2017-01-12  Joseph Myers  <joseph@codesourcery.com>
+
+       * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
+
+       * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
+       object.
+
+2017-01-11  Joseph Myers  <joseph@codesourcery.com>
+
+       [BZ #16458]
+       * bits/uintn-identity.h: New file.
+       * inet/netinet/in.h: Include <bits/uintn-identity.h>.
+       [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
+       [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
+       [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
+       [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
+       * string/endian.h: Include <bits/uintn-identity.h>.
+       [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
+       __uint16_identity.
+       [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
+       [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
+       __uint32_identity.
+       [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
+       [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
+       __uint64_identity.
+       [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
+       [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
+       __uint16_identity.
+       [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
+       [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
+       __uint32_identity.
+       [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
+       [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
+       __uint64_identity.
+       [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
+       * string/Makefile (headers): Add bits/uintn-identity.h.
+       (tests): Add test-endian-types.
+       * string/test-endian-types.c: New file.
+       * inet/Makefile (tests): Add test-hnto-types.
+       * inet/test-hnto-types.c: New file.
+
+2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
+
+       * po/be.po: Update from Translation Project.
+       * po/bg.po: Likewise.
+       * po/ca.po: Likewise.
+       * po/cs.po: Likewise.
+       * po/da.po: Likewise.
+       * po/de.po: Likewise.
+       * po/el.po: Likewise.
+       * po/eo.po: Likewise.
+       * po/es.po: Likewise.
+       * po/fi.po: Likewise.
+       * po/fr.po: Likewise.
+       * po/gl.po: Likewise.
+       * po/hr.po: Likewise.
+       * po/hu.po: Likewise.
+       * po/ia.po: Likewise.
+       * po/id.po: Likewise.
+       * po/it.po: Likewise.
+       * po/ja.po: Likewise.
+       * po/ko.po: Likewise.
+       * po/lt.po: Likewise.
+       * po/nb.po: Likewise.
+       * po/nl.po: Likewise.
+       * po/pl.po: Likewise.
+       * po/pt_BR.po: Likewise.
+       * po/ru.po: Likewise.
+       * po/rw.po: Likewise.
+       * po/sk.po: Likewise.
+       * po/sl.po: Likewise.
+       * po/sv.po: Likewise.
+       * po/tr.po: Likewise.
+       * po/uk.po: Likewise.
+       * po/vi.po: Likewise.
+       * po/zh_CN.po: Likewise.
+       * po/zh_TW.po: Likewise.
+
+2017-01-11  Joseph Myers  <joseph@codesourcery.com>
+
+       * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
+       -Wformat-truncation instead of -Wformat-length.
+       * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
+       * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
+       GCC 7.
+       * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
+       (do_test): Ignore -Wformat-truncation for GCC 7.
+
+       * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
+       buffer used to print long int value.
+
+       * elf/sotruss-lib.c (init): Increase space allocated for pid by
+       one byte.  Print it with %ld, cast to long int.
+
+2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
+
+       * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
+       (re.fullmatch, subprocess.run): Likewise.
+
+2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
+
+       * po/libc.pot: Regenerate.
+
+2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
+
+       * elf/dl-tunables.c (tunables_unsetenv): Remove function.
+       (min_strlen): Likewise.
+       (disable_tunable): Likewise.
+       (maybe_disable_malloc_check): Rename to
+       maybe_enable_malloc_check.
+       (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
+       if /etc/suid-debug file exists.
+       (__tunables_init): Update caller.
+       * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
+       secure.
+
 2016-01-10  Torvald Riegel  <triegel@redhat.com>
 
        * nptl/DESIGN-rwlock.txt: Remove.