]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - ChangeLog
Add Reiwa era tests to time/tst-strftime3.c
[thirdparty/glibc.git] / ChangeLog
index ba9b6151ed0c9a558aee28fcac16d92414efba71..9eb0afd1ca6888da3b16cf829b2fa60d67bf29ee 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,269 @@
+2019-04-02  DJ Delorie  <dj@redhat.com>
+
+       * time/tst-strftime3.c: Add new Japanese era tests.  Fix printf
+       warning.
+
+2019-04-02  TAMUKI Shoichi  <tamuki@linet.gr.jp>
+
+       [BZ #22964]
+       * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
+       era.
+       * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
+       (mkreftable): Add rules for the new Japanese era and the new dates.
+
+2019-04-02  TAMUKI Shoichi  <tamuki@linet.gr.jp>
+           Rafal Luzynski  <digitalfreak@lingonborough.com>
+
+       * time/tst-strftime2.c (date_t): Explicitly define the type.
+       (dates): Use natural month and year numbers to express a date.
+       (is_before): New function to compare dates.
+       (mkreftable): Minor improvements to simplify maintenance.
+       (do_test): Reflect the changes in dates array.
+
+       [BZ #24293]
+       * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
+       hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
+       * time/tst-strftime2.c (locales): Likewise.
+       (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
+       2010-04-01, and 2011-04-01.
+       (mkreftable): Add rules for the new locales and the new dates.
+
+2019-04-01  Carlos O'Donell  <carlos@redhat.com>
+
+       * localedata/locales/ja_JP: Add comments to era entries.
+
+2019-04-01  DJ Delorie  <dj@redhat.com>
+
+       [BZ #24394]
+       * time/strptime_l.c (%Ey): Fix fencepost error.
+       * time/tst-strftime3.c: New.
+       * time/Makefile (tests): Add tst-strftime3.
+
+2019-04-01  Uros Bizjak <ubizjak@gmail.com>
+
+       * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
+       conditional branch to DIVBYZERO.  Fix unwind info.
+       * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
+       excb after conditional branch to $powerof2.  Add missing unop
+       instructions and .align directives and reorder instructions to
+       match __divqu.
+
+2019-04-01  Richard Henderson  <rth@twiddle.net>
+
+       * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
+       Do not redefine.
+       * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
+       Do not redefine.
+
+2019-03-30  Maciej W. Rozycki  <macro@wdc.com>
+
+       * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
+       $libc_cv_riscv_float_abi in `test' invocation.
+       * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
+
+2019-03-29  Paul A. Clarke  <pc@us.ibm.com>
+
+       * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
+       asm with builtin.
+       * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
+       Likewise.
+       * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
+       (_GET_SI_FPSCR): Likewise.
+       (_SET_SI_FPSCR): Likewise.
+
+2019-03-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
+
+       * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
+       clang 2.8.
+       (signbit): Use builtin for clang 3.3.
+       (isinf): Use builtin for clang 3.7.
+
+2019-03-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
+
+       * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
+
+2019-03-25  Andreas K. Hüttel  <dilfridge@gentoo.org>
+
+       * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
+       quote in printf.
+
+2019-03-25  Mike Crowe  <mac@mcrowe.com>
+
+       * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
+       pthread_rwlock_timedrdlock with calls to
+       pthread_rwlock_timedwrlock to ensure that the latter is tested
+       too. Use new function name in diagnostic messages too.
+
+       * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
+       (do_test) Use libsupport test macros rather than hand-coded
+       conditionals and error messages. Ensure that sem_init returns zero
+       rather than not -1. Use <support/test-driver.c> rather than
+       test-skeleton.c.
+
+       * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
+       test macros rather than hand-coded conditionals and error messages.
+       Use <support/test-driver.c> rather than test-skeleton.c.
+
+2019-03-25  Joseph Myers  <joseph@codesourcery.com>
+
+       * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
+
+       * elf/elf.h (NT_ARM_PAC_MASK): New macro.
+       (NT_MIPS_MSA): Likewise.
+
+2019-03-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
+
+       * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
+       * benchtests/README: Update description.
+       * benchtests/bench-timing.h: Default to hp-timing.
+       * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
+       HP_TIMING_PRINT): Remove.
+       (HP_TIMING_NOW): Add generic implementation.
+       (hp_timing_t): Change to uint64_t.
+
+       * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
+       HP_TIMING_INLINE.
+       * nptl/descr.h: Likewise.
+       * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
+       RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
+       (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
+       Abstract hp-timing usage with RTLD_* macros.
+       * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
+       (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
+       * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
+       HP_TIMING_NONAVAIL): Likewise.
+       * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
+       Likewise.
+       * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
+       HP_SMALL_TIMING_AVAIL): Likewise.
+       * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
+       HP_SMALL_TIMING_AVAIL): Likewise.
+       * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
+       HP_SMALL_TIMING_AVAIL): Likewise.
+       * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
+       HP_SMALL_TIMING_AVAIL): Likewise.
+       * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
+       Likewise.
+       * sysdeps/generic/hp-timing-common.h: Update comment with
+       HP_TIMING_AVAIL removal.
+
+       * include/random-bits.h: New file.
+       * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
+       (__res_context_mkquery): Remove usage hp-timing usage and replace with
+       random_bits.
+       * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
+       * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
+       Likewise.
+
+       * include/libc-internal.h (__get_clockfreq): Remove prototype.
+       * rt/Makefile (clock-routines): Remove get_clockfreq.
+       * rt/get_clockfreq.c: Remove file.
+       * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
+       * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
+       * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
+       * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
+
+       * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
+       * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
+       * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
+       (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
+       _SC_CPUTIME, and _SC_THREAD_CPUTIME.
+
+       * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
+       pthread_clock_settime.
+       * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
+       * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
+       (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
+       * elf/rtld.c (_dl_start_final): Likewise.
+       * nptl/allocatestack.c (__find_thread_by_id): Remove function.
+       * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
+       Remove.
+       * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
+       (_dl_cpuclock_offset): Remove.
+       * nptl/descr.h (struct pthread): Rename cpuclock_offset to
+       cpuclock_offset_ununsed.
+       * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
+       cpuclock_offset set.
+       * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
+       * sysdeps/nptl/fork.c (__libc_fork): Likewise.
+       * nptl/pthread_clock_gettime.c: Remove file.
+       * nptl/pthread_clock_settime.c: Likewise.
+       * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
+       [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
+       and CLOCK_PROCESS_CPUTIME_ID support.
+       * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
+       [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
+       * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
+       [HP_TIMING_AVAIL] (__clock_getres): Likewise.
+       * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
+       Likewise.
+       (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
+
+2019-03-22  Stefan Liebler  <stli@linux.ibm.com>
+
+       * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
+       * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
+       MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
+       New defines.
+       * sysdeps/s390/memmem-arch13.S: New file.
+       * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
+       if it is only used as fallback.
+       * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
+       * sysdeps/s390/multiarch/ifunc-impl-list.c
+       (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
+
+2019-03-22  Stefan Liebler  <stli@linux.ibm.com>
+
+       * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
+       * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
+       STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
+       New defines.
+       * sysdeps/s390/multiarch/ifunc-impl-list.c
+       (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
+       * sysdeps/s390/strstr-arch13.S: New file.
+       * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
+       if it is only used as fallback.
+       * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
+
+2019-03-22  Stefan Liebler  <stli@linux.ibm.com>
+
+       * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
+       HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
+       * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
+       * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
+       ifunc selector.
+       * sysdeps/s390/multiarch/ifunc-impl-list.c
+       (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
+       * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
+       S390_IS_ARCH13_MIE3): New defines.
+
+2019-03-22  Stefan Liebler  <stli@linux.ibm.com>
+
+       * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
+       HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
+       * sysdeps/s390/configure.ac: Add checks for arch13 support.
+       * sysdeps/s390/configure: Regenerated.
+
+2019-03-22  Stefan Liebler  <stli@linux.ibm.com>
+
+       * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
+       Add vxe2, vxp, dflt, sort flags.
+       * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
+       HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
+       capabilities.
+       (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
+       * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
+       (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
+       HWCAP_S390_DFLT): Define.
+
+2019-03-21  Gabriel F. T. Gomes  <gabriel@inconstante.eti.br>
+
+       [BZ #24372]
+       * iconv/iconvconfig.c (write_output): Add parentheses to get rid
+       of compiler warning.
+       * locale/programs/ld-collate.c (collate_output): Likewise.
+
 2019-03-21  DJ Delorie  <dj@redhat.com>
 
        [BZ #24372]
        (wait_tid): Adjust arguments and call futex_wait with ctid_val
        as assumed current value of ctid_ptr.
 
-2019-02-15  Florian Weimer  <fweimer@redhat.com>
+2019-02-16  Florian Weimer  <fweimer@redhat.com>
 
        Check that non-sysdeps headers have wrapper headers.
        * scripts/check-wrapper-headers.py: New file.
        * Rules (tests-special): Add check-wrapper-headers.out.
        (check-wrapper-headers.out): New target.
 
-2019-02-15  Florian Weimer  <fweimer@redhat.com>
+2019-02-16  Florian Weimer  <fweimer@redhat.com>
 
        Add missing header wrappers under include/.
        * include/ar.h: New file.
        * include/sys/vfs.h: Likewise.
        * include/wait.h: Likewise.
 
-2019-02-15  Florian Weimer  <fweimer@redhat.com>
+2019-02-16  Florian Weimer  <fweimer@redhat.com>
 
        * nptl_db/proc_service.h: Move to ...
        * sysdeps/nptl/proc_service.h: ... here.
        Likewise.
        * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
 
-2019-02-07  Florian Weimer  <fweimer@redhat.com>
+2019-02-08  Florian Weimer  <fweimer@redhat.com>
 
        * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
        compatibility symbols.