+2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
+
+ Fix mktime localtime offset confusion
+ [BZ #23603]
+ * include/time.h (__mktime_internal): The localtime offset is now
+ of type long int instead of time_t. This is the longstanding type
+ in glibc, and it is more than enough to represent difference
+ between localtime and gmtime even if it is 32 bits and time_t is
+ 64. Changing it now will let us avoid an unnecessary change when
+ time_t is widened to 64 bits on 32-bit platforms.
+ * time/mktime-internal.h (mktime_offset_t): Now long int.
+
+ Merge mktime, timegm from upstream Gnulib
+ [BZ #23603][BZ #16346]
+ This fixes some obscure problems with integer overflow.
+ Although it looks scary, it is almost all a byte-for-byte copy
+ from Gnulib, and the Gnulib code has been tested reasonably well.
+ * include/intprops.h: New file, copied from Gnulib.
+ * include/verify.h, time/mktime-internal.h:
+ New tiny files, simplified from Gnulib.
+ * time/mktime.c: Copy from Gnulib. This has the following changes:
+ Do not include config.h if DEBUG_MKTIME is nonzero.
+ Include stdbool.h, intprops.h, verify.h.
+ Include string.h only if needed.
+ Include stdlib.h on MS-Windows.
+ Include mktime-internal.h.
+ (DEBUG_MKTIME): Default to 0, and simplify later uses.
+ (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
+ (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
+ which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
+ simplify later conditionals; default the others to zero. Use
+ these conditionals to express only the code needed on the current
+ platform. In uses of these conditionals, explicitly spell out how
+ _LIBC affects things, so it’s easier to review from a glibc
+ viewpoint.
+ (WRAPV): Remove; no longer needed now that we have
+ systematic overflow checking.
+ (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
+ compartmentalize tzset issues. Move system-dependent tzsettish
+ code here from mktime.
+ (verify): Remove; now done by verify.h. All uses changed.
+ (long_int): Use a more-conservative definition, to avoid
+ integer overflow.
+ (SHR): Remove, replacing with ...
+ (shr): New function, which means we needn’t worry about side
+ effects in args, and conversion analysis is simpler.
+ (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
+ (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
+ (time_t_avg, time_t_add_ok): Remove.
+ (mktime_min, mktime_max): New constants.
+ (leapyear, isdst_differ): Use bool for booleans.
+ (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
+ Use long_int, not time_t, for mktime differences.
+ (long_int_avg): New function, replacing time_t_avg.
+ INT_ADD_WRAPV replaces time_t_add_ok.
+ (guess_time_tm): 6th arg is now long_int, not time_t const *.
+ All uses changed.
+ (convert_time): New function.
+ (ranged_convert): Use it.
+ (__mktime_internal): Last arg now points to mktime_offset_t, not
+ time_t. All uses changed. This is a no-op on glibc, where
+ mktime_offset_t is always time_t. Use int, not time_t, for UTC
+ offset guess. Directly check for integer overflow instead of
+ using a heuristic that works only 99.9...% of the time.
+ Access *OFFSET only once, to avoid an unlikely race if the
+ compiler delays a load and if this cascades into a signed integer
+ overflow.
+ (mktime): Move tzsettish code to my_tzset, and move
+ localtime_offset to within mktime so that it doesn’t
+ need a separate ifdef.
+ (main) [DEBUG_MKTIME]: Speed up by using localtime_r
+ instead of localtime.
+ * time/timegm.c: Copy from Gnulib. This has the following changes:
+ Include mktime-internal.h.
+ [!_LIBC]: Include config.h and time.h. Do not include
+ timegm.h or time_r.h. Make __mktime_internal a macro,
+ and include mktime-internal.h to get its declaration.
+ (timegm): Temporary is now mktime_offset_t, not time_t.
+ This affects only Gnulib.
+
+2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
+
+ [BZ #23637]
+ * string/test-strstr.c (pr23637): New function.
+ (test_main): Add tests with longer needles.
+ * string/strcasestr.c (AVAILABLE): Fix readahead distance.
+ * string/strstr.c (AVAILABLE): Likewise.
+
+2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
+
+ * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
+
+2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
+
+ * NEWS: Mention pow improvements.
+ * math/Makefile (type-double-routines): Add e_pow_log_data.
+ * sysdeps/generic/math_private.h (__exp1): Remove.
+ * sysdeps/i386/fpu/e_pow_log_data.c: New file.
+ * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
+ * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
+ contraction.
+ * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
+ (exp_inline): Remove.
+ (__ieee754_exp): Only single double input is handled.
+ * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
+ * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
+ * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
+ (__pow_log_data): Define.
+ * sysdeps/ieee754/dbl-64/upow.h: Remove.
+ * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
+ * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
+ * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
+ contraction.
+ (CFLAGS-e_pow-fma4.c): Likewise.
+
+2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
+
+ Simplify tzfile fstat failure code
+ [BZ #21716]
+ * time/tzfile.c (__tzfile_read): Simplify slightly.
+
+ Fix tzfile low-memory assertion failure
+ [BZ #21716]
+ * time/tzfile.c (__tzfile_read): Check for memory exhaustion
+ when registering time zone abbreviations.
+
+2018-09-18 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/unix/sysv/linux/bits/mman.h: New file.
+ * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
+ * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
+ * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
+ * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
+ * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
+ * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
+ * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
+ * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
+
+ * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
+ __ceil.
+ (__ceill): Call ceil instead of __ceil.
+ * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
+ __floor.
+ (__floorl): Call floor instead of __floor.
+
+2018-09-17 Joseph Myers <joseph@codesourcery.com>
+
+ * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
+ __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
+ using MATH_REDIRECT.
+ * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
+ header inclusion.
+ * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
+ * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
+ * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
+ * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
+ * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
+ * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
+ * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
+ * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
+ * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
+ * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
+ * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
+ * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
+ * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
+ * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
+ * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
+ * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
+ * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
+ * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
+ * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
+ Remove macro.
+ * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
+ functions instead of __ceil variants.
+ * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
+ * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
+ Likewise.
+ * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
+ Likewise.
+ * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
+ * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
+ Likewise.
+ * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
+ * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
+
+ [BZ #21286]
+ * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
+ constant.
+ [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
+ [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
+ [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
+ [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
+ [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
+ [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
+ [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
+ [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
+ [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
+ * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
+ (ILL_BADIADDR): Remove constant.
+ (TRAP_BRANCH): Likewise.
+ (TRAP_HWBKPT): Likewise.
+
+2018-09-14 Joseph Myers <joseph@codesourcery.com>
+
+ [BZ #23656]
+ * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
+ Remove [_MIPS_SIM = _ABIN32] conditional case.
+ (struct elf_prpsinfo): Likewise.
+
+ [BZ #23649]
+ * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
+ elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
+ * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
+ Likewise.
+ * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
+ elf_prpsinfo): Likewise.
+ * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
+ elf_prpsinfo): Likewise.
+ * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
+ Likewise.
+
+ * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
+ __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
+ using MATH_REDIRECT.
+ * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
+ header inclusion.
+ * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
+ * sysdeps/alpha/fpu/s_rint.c: Likewise.
+ * sysdeps/alpha/fpu/s_rintf.c: Likewise.
+ * sysdeps/i386/fpu/s_rintl.c: Likewise.
+ * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
+ * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
+ * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
+ * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
+ * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
+ * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
+ * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
+ * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
+ * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
+ * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
+ * sysdeps/powerpc/fpu/s_rint.c: Likewise.
+ * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
+ * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
+ * sysdeps/riscv/rvf/s_rintf.c: Likewise.
+ * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
+ * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
+ * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
+ * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
+ * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
+ * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
+ * sysdeps/x86_64/fpu/math_private.h: Remove file.
+ * math/e_scalb.c (invalid_fn): Use rint functions instead of
+ __rint variants.
+ * math/e_scalbf.c (invalid_fn): Likewise.
+ * math/e_scalbl.c (invalid_fn): Likewise.
+ * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
+ Likewise.
+ * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
+ Likewise.
+ * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
+ * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): 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.
+ * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
+ * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
+
+ * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
+ __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
+ New macro.
+ [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
+ && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
+ [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
+ && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
+ [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
+ && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
+ [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
+ && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
+ [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
+ && !NO_MATH_REDIRECT] (floor): Likewise.
+ * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
+ header inclusion.
+ * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
+ * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
+ * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
+ * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
+ * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
+ * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
+ * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
+ * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
+ * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
+ * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
+ * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
+ * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
+ * sysdeps/riscv/rvf/s_floorf.c: Likewise.
+ * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
+ * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
+ * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
+ * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
+ * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
+ Remove macro.
+ [_ARCH_PWR5X] (__floorf): Likewise.
+ * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
+ inline function.
+ [__SSE4_1__] (__floorf): Likewise.
+ * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
+ instead of __floor variants.
+ * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
+ * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
+ * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
+ * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
+ * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
+ * math/w_tgamma_compat.c (__tgamma): Likewise.
+ * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
+ * math/w_tgammaf_compat.c (__tgammaf): Likewise.
+ * math/w_tgammal_compat.c (__tgammal): Likewise.
+ * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): 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/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
+ * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
+ * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
+ Likewise.
+ * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
+ * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
+ Likewise.
+ * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
+ * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
+ Likewise.
+ * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
+ * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
+ Likewise.
+ * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
+ * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
+ * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
+ * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
+ * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
+ * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
+
+2018-09-12 Joseph Myers <joseph@codesourcery.com>
+
+ * elf/Makefile (modules-names-tests): New variable.
+
+2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
+
+ * NEWS: Mention log2 improvements.
+ * math/Makefile (type-double-routines): Add e_log2_data.
+ * sysdeps/i386/fpu/e_log2_data.c: New file.
+ * sysdeps/ia64/fpu/e_log2_data.c: New file.
+ * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
+ * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
+ * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
+ * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
+ * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
+
+2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
+
+ * NEWS: Mention log improvement.
+ * math/Makefile (type-double-routines): Add e_log_data.
+ * sysdeps/i386/fpu/e_log_data.c: New file.
+ * sysdeps/ia64/fpu/e_log_data.c: New file.
+ * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
+ * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
+ * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
+ * sysdeps/ieee754/dbl-64/ulog.h: Remove.
+ * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
+ * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
+
+2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
+ Xuepeng Guo <xuepeng.guo@intel.com>
+
+ [BZ #23606]
+ * sysdeps/i386/start.S: Include <sysdep.h>
+ (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
+ enabled. Add cfi_undefined (eip).
+
+2018-09-11 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
+ (MOVQ): Likewise.
+ (EXTRACT_WORDS64): Likewise.
+ (INSERT_WORDS64): Likewise.
+ (GET_FLOAT_WORD): Likewise.
+ (SET_FLOAT_WORD): Likewise.
+
+ * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
+ argument.
+ (Config.build_gcc): Use --disable-libsanitizer for first GCC
+ build, but not for second build if --full-gcc. Use
+ --enable-languages=all for second build if --full-gcc.
+ (get_parser): Add --full-gcc option.
+ (main): Update call to Context.
+
+2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
+
+ [BZ #10797]
+ * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
+ Single Quotation Mark).
+ (thousands_sep): Likewise.
+ * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
+ * localedata/locales/it_IT (thousands_sep): Use ".".
+ (grouping): Use "3;3".
+
+2018-09-10 Joseph Myers <joseph@codesourcery.com>
+
+ * scripts/build-many-glibcs.py (Context.add_all_configs): Add
+ x86_64 and i686 configs using --enable-obsolete-rpc
+ --enable-obsolete-nsl.
+
+2018-09-06 Stefan Liebler <stli@linux.ibm.com>
+
+ * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
+
+2018-09-06 Stefan Liebler <stli@linux.ibm.com>
+
+ * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
+ Increment size of new_argv by one.
+
+2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
+
+ [BZ #17426]
+ * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
+ * localedata/locales/ar_IN (d_fmt): Likewise.
+ * localedata/locales/bhb_IN (d_fmt): Likewise.
+ * localedata/locales/bho_IN (d_fmt): Likewise.
+ * localedata/locales/bn_BD (d_fmt): Likewise.
+ * localedata/locales/bn_IN (d_fmt): Likewise.
+ * localedata/locales/doi_IN (d_fmt): Likewise.
+ * localedata/locales/gu_IN (d_fmt): Likewise.
+ * localedata/locales/hi_IN (d_fmt): Likewise.
+ * localedata/locales/hne_IN (d_fmt): Likewise.
+ * localedata/locales/kn_IN (d_fmt): Likewise.
+ * localedata/locales/mag_IN (d_fmt): Likewise.
+ * localedata/locales/mai_IN (d_fmt): Likewise.
+ * localedata/locales/mjw_IN (d_fmt): Likewise.
+ * localedata/locales/ml_IN (d_fmt): Likewise.
+ * localedata/locales/mni_IN (d_fmt): Likewise.
+ * localedata/locales/mr_IN (d_fmt): Likewise.
+ * localedata/locales/pa_IN (d_fmt): Likewise.
+ * localedata/locales/raj_IN (d_fmt): Likewise.
+ * localedata/locales/sat_IN (d_fmt): Likewise.
+ * localedata/locales/sd_IN (d_fmt): Likewise.
+ * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
+ * localedata/locales/ta_IN (d_fmt): Likewise.
+ * localedata/locales/ta_LK (d_fmt): Likewise.
+ * localedata/locales/tcy_IN (d_fmt): Likewise.
+ * localedata/locales/ur_IN (d_fmt): Likewise.
+
+ * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
+ * localedata/locales/ks_IN (d_fmt): Likewise.
+ * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
+
+ * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
+ * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
+ * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
+ * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
+
+2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
+
+ * NEWS: Mention exp and exp2 improvements.
+ * math/Makefile (libm-support): Remove t_exp.
+ (type-double-routines): Add math_err and e_exp_data.
+ * sysdeps/aarch64/libm-test-ulps: Update.
+ * sysdeps/arm/libm-test-ulps: Update.
+ * sysdeps/i386/fpu/e_exp_data.c: New file.
+ * sysdeps/i386/fpu/math_err.c: New file.
+ * sysdeps/i386/fpu/t_exp.c: Remove.
+ * sysdeps/ia64/fpu/e_exp_data.c: New file.
+ * sysdeps/ia64/fpu/math_err.c: New file.
+ * sysdeps/ia64/fpu/t_exp.c: Remove.
+ * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
+ * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
+ * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
+ * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
+ * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
+ * sysdeps/ieee754/dbl-64/math_config.h: New file.
+ * sysdeps/ieee754/dbl-64/math_err.c: New file.
+ * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
+ * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
+ * sysdeps/ieee754/dbl-64/uexp.h: Remove.
+ * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
+ * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
+ * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
+ * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
+ * sysdeps/powerpc/fpu/libm-test-ulps: Update.
+ * sysdeps/x86_64/fpu/libm-test-ulps: Update.
+
+2018-09-05 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/alpha/fpu/math_private.h: Remove.
+
+ * sysdeps/generic/math_private.h
+ [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
+ Move this inline function ....
+ [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
+ * include/math.h [!_ISOMAC]: To here....
+
+2018-09-04 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
+ code ....
+ [!FE_HAVE_ROUNDING_MODES]: And this code ....
+ * include/fenv.h [!_ISOMAC]: ... to here.
+ * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
+ (feraiseexcept): Likewise.
+ * math/fromfp.h: Do not include <fenv_private.h>.
+ * math/s_cexp_template.c: Likewise.
+ * math/s_csin_template.c: Likewise.
+ * math/s_csinh_template.c: Likewise.
+ * math/s_ctan_template.c: Likewise.
+ * math/s_ctanh_template.c: Likewise.
+ * math/s_iseqsig_template.c: Likewise.
+ * math/w_acos_compat.c: Likewise.
+ * math/w_acosf_compat.c: Likewise.
+ * math/w_acosl_compat.c: Likewise.
+ * math/w_asin_compat.c: Likewise.
+ * math/w_asinf_compat.c: Likewise.
+ * math/w_asinl_compat.c: Likewise.
+ * math/w_j0_compat.c: Likewise.
+ * math/w_j0f_compat.c: Likewise.
+ * math/w_j0l_compat.c: Likewise.
+ * math/w_j1_compat.c: Likewise.
+ * math/w_j1f_compat.c: Likewise.
+ * math/w_j1l_compat.c: Likewise.
+ * math/w_jn_compat.c: Likewise.
+ * math/w_jnf_compat.c: Likewise.
+ * math/w_log10_compat.c: Likewise.
+ * math/w_log10f_compat.c: Likewise.
+ * math/w_log10l_compat.c: Likewise.
+ * math/w_log2_compat.c: Likewise.
+ * math/w_log2f_compat.c: Likewise.
+ * math/w_log2l_compat.c: Likewise.
+ * math/w_log_compat.c: Likewise.
+ * math/w_logf_compat.c: Likewise.
+ * math/w_logl_compat.c: Likewise.
+ * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
+ * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
+ * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
+ * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
+ * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
+ * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
+ * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
+ * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
+ * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
+ * sysdeps/ieee754/k_standardl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
+ * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
+ * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
+ * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
+ * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
+ * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
+ * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
+ * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
+ * math/w_ilogb_template.c: Include <fenv.h> instead of
+ <fenv_private.h>.
+ * math/w_llogb_template.c: Likewise.
+ * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
+ * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
+
+2018-09-03 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
+ * math/fromfp.h: Include <fenv_private.h>.
+ * math/math-narrow.h: Likewise.
+ * math/s_cexp_template.c: Likewise.
+ * math/s_csin_template.c: Likewise.
+ * math/s_csinh_template.c: Likewise.
+ * math/s_ctan_template.c: Likewise.
+ * math/s_ctanh_template.c: Likewise.
+ * math/s_iseqsig_template.c: Likewise.
+ * math/w_acos_compat.c: Likewise.
+ * math/w_acosf_compat.c: Likewise.
+ * math/w_acosl_compat.c: Likewise.
+ * math/w_asin_compat.c: Likewise.
+ * math/w_asinf_compat.c: Likewise.
+ * math/w_asinl_compat.c: Likewise.
+ * math/w_ilogb_template.c: Likewise.
+ * math/w_j0_compat.c: Likewise.
+ * math/w_j0f_compat.c: Likewise.
+ * math/w_j0l_compat.c: Likewise.
+ * math/w_j1_compat.c: Likewise.
+ * math/w_j1f_compat.c: Likewise.
+ * math/w_j1l_compat.c: Likewise.
+ * math/w_jn_compat.c: Likewise.
+ * math/w_jnf_compat.c: Likewise.
+ * math/w_llogb_template.c: Likewise.
+ * math/w_log10_compat.c: Likewise.
+ * math/w_log10f_compat.c: Likewise.
+ * math/w_log10l_compat.c: Likewise.
+ * math/w_log2_compat.c: Likewise.
+ * math/w_log2f_compat.c: Likewise.
+ * math/w_log2l_compat.c: Likewise.
+ * math/w_log_compat.c: Likewise.
+ * math/w_logf_compat.c: Likewise.
+ * math/w_logl_compat.c: Likewise.
+ * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
+ * sysdeps/aarch64/fpu/fesetround.c: Likewise.
+ * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
+ * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
+ * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
+ * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
+ * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
+ * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
+ * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
+ * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
+ * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
+ * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
+ * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
+ * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
+ * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
+ * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
+ * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
+ * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
+ * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
+ * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
+ * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
+ * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
+ * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
+ * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
+ * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
+ * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
+ * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
+ * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
+ * sysdeps/ieee754/float128/float128_private.h: Likewise.
+ * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
+ * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
+ * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
+ * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
+ * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
+ * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
+ * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
+ * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
+ * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
+ * sysdeps/ieee754/k_standardl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
+ * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
+ * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
+ * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
+ * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
+ * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
+ * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
+ * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
+ * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
+ * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
+ * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
+ * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
+ * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
+ * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
+ * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
+ * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
+ * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
+ * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
+ * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
+ * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
+ * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
+ * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
+ * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
+ * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
+ * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
+ * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
+ * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
+ * sysdeps/riscv/rvd/s_finite.c: Likewise.
+ * sysdeps/riscv/rvd/s_fmax.c: Likewise.
+ * sysdeps/riscv/rvd/s_fmin.c: Likewise.
+ * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
+ * sysdeps/riscv/rvd/s_isinf.c: Likewise.
+ * sysdeps/riscv/rvd/s_isnan.c: Likewise.
+ * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
+ * sysdeps/riscv/rvf/fegetround.c: Likewise.
+ * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
+ * sysdeps/riscv/rvf/fesetenv.c: Likewise.
+ * sysdeps/riscv/rvf/fesetround.c: Likewise.
+ * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
+ * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
+ * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
+ * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
+ * sysdeps/riscv/rvf/s_finitef.c: Likewise.
+ * sysdeps/riscv/rvf/s_floorf.c: Likewise.
+ * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
+ * sysdeps/riscv/rvf/s_fminf.c: Likewise.
+ * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
+ * sysdeps/riscv/rvf/s_isinff.c: Likewise.
+ * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
+ * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
+ * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
+ * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
+ * sysdeps/riscv/rvf/s_roundf.c: Likewise.
+ * sysdeps/riscv/rvf/s_truncf.c: Likewise.
+
+2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
+
+ [BZ #20271]
+ * include/stdio.h (__libc_fatal): Mention newline in comment.
+ * grp/initgroups.c (internal_getgrouplist): Add missing newline.
+ * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
+ * nscd/initgrcache.c (addinitgroupsX): Likewise.
+ * nss/nsswitch.c (__nss_next2): Likewise.
+ * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
+ * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
+ * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
+ * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
+ * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
+ * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
+ * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
+ * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
+ * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
+ * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
+ * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
+ * sysdeps/unix/sysv/linux/netlink_assert_response.c
+ (__netlink_assert_response): Likewise.
+
+2018-08-31 Joseph Myers <joseph@codesourcery.com>
+
+ * conform/glibcconform.py: New file.
+ * conform/list-header-symbols.py: Likewise.
+ * conform/list-header-symbols.pl: Remove.
+ * conform/Makefile (tests-special): Only add linknamespace tests
+ if [PYTHON].
+ ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
+
+2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
+
+ [BZ #23597]
+ * support/Makefile (libsupport-routines): Add
+ support_copy_file_range and xcopy_file_range.
+ * support/support.h: Include <sys/types.h>.
+ (support_copy_file_range): New prototype.
+ * support/support_copy_file_range.c: New file. Copied and
+ modified from io/copy_file_range-compat.c.
+ * support/test-container.c (copy_one_file): Call xcopy_file_rang
+ instead of copy_file_range.
+ * support/xcopy_file_range.c: New file.
+ * support/xunistd.h (xcopy_file_range): New prototype.
+
+2018-08-30 Carlos O'Donell <carlos@redhat.com>
+
+ * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
+ xpthread_create and xpthread_join.
+
+2018-08-30 Florian Weimer <fweimer@redhat.com>
+
+ * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
+
+2018-08-30 Stefan Liebler <stli@linux.ibm.com>
+
+ * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
+ if malloc fails.
+
+2018-08-29 Joseph Myers <joseph@codesourcery.com>
+
+ * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
+ and minus_oflow as non-finite.
+
+2018-08-28 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
+ * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
+ moved to fenv_private.h except for ...
+ (TOINT_INTRINSICS): Kept in math_private.h.
+ (roundtoint): Likewise.
+ (converttoint): Likewise.
+ * sysdeps/arm/fenv_private.h: Change multiple-include guard to
+ [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
+ * sysdeps/arm/math_private.h: Remove.
+ * sysdeps/generic/fenv_private.h: New file. Contents moved from
+ ....
+ * sysdeps/generic/math_private.h: ... this file. Include
+ <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
+ Include <fenv_private.h>. Remove functions and macros moved to
+ fenv_private.h.
+ * sysdeps/i386/fpu/math_private.h: Remove.
+ * sysdeps/mips/math_private.h: Move to ....
+ * sysdeps/mips/fpu/fenv_private.h: ... here. Change
+ multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
+ [__mips_hard_float] conditional. Include next <fenv_private.h>.
+ * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
+ guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
+ * sysdeps/powerpc/fpu/math_private.h: Do not include
+ <fenv_private.h>.
+ * sysdeps/riscv/rvf/math_private.h: Move to ....
+ * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
+ multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
+ <fenv_private.h>.
+ * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
+ to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
+ * sysdeps/sparc/fpu/math_private.h: Remove.
+ * sysdeps/i386/fpu/fenv_private.h: Move to ....
+ * sysdeps/x86/fpu/fenv_private.h: ... here. Change
+ multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
+ <fenv_private.h>.
+ * sysdeps/x86_64/fpu/math_private.h: Do not include
+ <sysdeps/i386/fpu/fenv_private.h>.
+
+2018-08-28 Florian Weimer <fweimer@redhat.com>
+
+ [BZ #23578]
+ * posix/tst-regcomp-truncated.c: New file.
+ * posix/Makefile (tests): Add it.
+ (tst-regcomp-truncated.out): Depend on generated locales.
+
+2018-08-28 Florian Weimer <fweimer@redhat.com>
+
+ * support/test-container.c (main): Treat unshare failure with
+ EPERM as an unsupported test.
+
+2018-08-28 Florian Weimer <fweimer@redhat.com>
+
+ [BZ #23520]
+ nscd: Fix use-after-free in addgetnetgrentX and its callers.
+ * nscd/netgroupcache.c
+ (addgetnetgrentX): Add tofreep parameter. Do not free
+ heap-allocated buffer.
+ (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
+ (addgetnetgrentX_ignore): New function.
+ (addgetnetgrent): Call it.
+ (readdgetnetgrent): Likewise.
+
+2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
+
+ * string/memmem.c: Use memcmp for first match.
+
+2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
+
+ [BZ #17426]
+ * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
+
+2018-08-27 DJ Delorie <dj@redhat.com>
+
+ * support/Makefile (others): Don't list programs explicitly as a
+ dependency of "others".
+
+2018-08-27 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/generic/math-tests-trap-force.h: New file.
+ * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
+ (EXCEPTION_SET_FORCES_TRAP): Do not define here.
+ * sysdeps/powerpc/math-tests.h: Remove file.
+ * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
+
+2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
+ Torvald Riegel <triegel@redhat.com>
+
+ [BZ #23538]
+ * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
+ Update r to include the set wake-request flag if waiters are
+ remaining after spinning.
+
+2018-08-27 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
+
+2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
+
+ [BZ #23578]
+ regex: fix uninitialized memory access
+ I introduced this bug into gnulib in commit
+ 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
+ eventually it was merged into glibc. The bug was found by
+ project-repo <bugs@feusi.co> and reported here:
+ https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
+ Diagnosis and draft fix reported by Assaf Gordon here:
+ https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
+ https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
+ * posix/regex_internal.c (build_wcs_upper_buffer):
+ Fix bug when mbrtowc returns 0.
+
+2018-08-24 Carlos O'Donell <carlos@redhat.com>
+
+ * po/be.po: Update translation.
+
+2018-08-24 DJ Delorie <dj@delorie.com>
+
+ * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
+ $(libunwind).
+
+2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
+
+ [BZ #23400]
+ * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
+ create temporary files in source tree.
+
+2018-08-24 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/generic/math-tests-trap.h: New file.
+ * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
+ (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
+ * sysdeps/aarch64/math-tests.h: Remove file.
+ * sysdeps/arm/math-tests.h: Likewise.
+ * sysdeps/riscv/math-tests.h: Likewise.
+ * sysdeps/aarch64/math-tests-trap.h: New file.
+ * sysdeps/arm/math-tests-trap.h: Likewise.
+ * sysdeps/riscv/math-tests-trap.h: Likewise.
+
+2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
+
+ * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
+ Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
+ * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
+ * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
+ * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
+ * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
+ * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
+ * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
+ * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
+ * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
+ * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
+ * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
+ * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
+ * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
+ * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
+ * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
+ * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
+ * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
+
+2018-08-23 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/generic/math-tests-exceptions.h: New file.
+ * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
+ (EXCEPTION_TESTS_float): Do not define here.
+ (EXCEPTION_TESTS_double): Likewise.
+ (EXCEPTION_TESTS_long_double): Likewise.
+ (EXCEPTION_TESTS_float128): Likewise.
+ * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
+ Likewise.
+ [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
+ [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
+ * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
+ * sysdeps/m68k/coldfire/math-tests.h: Remove file.
+ * sysdeps/mips/math-tests.h: Likewise.
+ * sysdeps/nios2/math-tests.h: Likewise.
+ * sysdeps/riscv/math-tests.h [!__riscv_flen]
+ (EXCEPTION_TESTS_float): Do not define here.
+ [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
+ [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
+ * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
+
+2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
+
+ * NEWS: Move optimized sinf entry to 2.29.
+
+2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
+
+ * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
+
+2018-08-22 DJ Delorie <dj@redhat.com>
+
+ * Makefile (testroot.pristine): New rules to initialize the
+ test-in-container "testroot".
+ * Makerules (all-testsuite): Add tests-container.
+ * Rules (tests-expected): Add tests-container.
+ (binaries-all-tests): Likewise.
+ (tests-container): New, run these tests in the testroot container.
+ * support/Makefile (others): Add *-container, support_paths.c,
+ xmkdirp, and links-dso-program.
+ * support/links-dso-program-c.c: New.
+ * support/links-dso-program.cc: New.
+ * support/test-container.c: New.
+ * support/shell-container.c: New.
+ * support/echo-container.c: New.
+ * support/true-container.c: New.
+ * support/xmkdirp.c: New.
+ * support/xsymlink.c: New.
+ * support/support_paths.c: New.
+ * support/support.h: Add support paths prototypes.
+ * support/xunistd.h: Add xmkdirp () and xsymlink ().
+
+ * nss/tst-nss-test3.c: Convert to test-in-container.
+ * nss/tst-nss-test3.root/: New.
+
+2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
+
+ regex: port Gnulib code to z/OS POSIX environment
+ Problem reported by Arnold Robbins in:
+ https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
+ * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
+ Undef.
+
+2018-08-22 Joseph Myers <joseph@codesourcery.com>
+
+ * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
+ (ROUNDING_TESTS_double): Remove.
+ * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
+ (ROUNDING_TESTS_double): Remove.
+ * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
+ (ROUNDING_TESTS_double): Remove.
+ * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
+ (ROUNDING_TESTS_float): Remove.
+ * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
+ (ROUNDING_TESTS_float): Remove.
+ * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
+ (ROUNDING_TESTS_float): Remove.
+ * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
+ !TEST_MATHVEC here.
+ (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
+ (IF_ROUND_INIT_FE_UPWARD): Likewise.
+
+ * sysdeps/generic/math-tests-rounding.h: New file.
+ * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
+ (ROUNDING_TESTS_float): Do not define here.
+ (ROUNDING_TESTS_double): Likewise.
+ (ROUNDING_TESTS_long_double): Likewise.
+ (ROUNDING_TESTS_float128): Likewise.
+ * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
+ (ROUNDING_TESTS_double): Undefine before defining.
+ * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
+ (ROUNDING_TESTS_double): Undefine before defining.
+ * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
+ (ROUNDING_TESTS_double): Undefine before defining.
+ * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
+ (ROUNDING_TESTS_float): Undefine before defining.
+ * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
+ (ROUNDING_TESTS_float): Undefine before defining.
+ * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
+ (ROUNDING_TESTS_float): Undefine before defining.
+ * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
+ * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
+ not define here.
+ [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
+ [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
+ * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
+ * sysdeps/riscv/math-tests.h [!__riscv_flen]
+ (ROUNDING_TESTS_float): Do not define here.
+ [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
+ [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
+ * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
+ (ROUNDING_TESTS_float): Likewise.
+ [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
+ [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
+ * sysdeps/mips/math-tests.h [__mips_soft_float]
+ (ROUNDING_TESTS_float): Likewise.
+ [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
+ [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
+ * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
+ (ROUNDING_TESTS_double): Likewise.
+ (ROUNDING_TESTS_long_double): Likewise.
+
+2018-08-21 Tobias Klauser <tklauser@distanz.ch>
+
+ * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
+ (PF_XDP): New macro.
+ (AF_XDP): New macro.
+ (SOL_XDP): New macro.
+
+2018-08-21 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
+ (TCP_INQ): Likewise.
+ (TCP_CM_INQ): Likewise.
+ (TCP_REPAIR_ON): Likewise.
+ (TCP_REPAIR_OFF): Likewise.
+ (TCP_REPAIR_OFF_NO_WP): Likewise.
+ (struct tcp_zerocopy_receive): New type.
+
+2018-08-21 Florian Weimer <fweimer@redhat.com>
+
+ * support/support.h (support_descriptor_supports_holes): Declare.
+ * support/Makefile (libsupport-routines): Add
+ support_descriptor_supports_holes.
+ * support/support_descriptor_supports_holes.c: New file.
+ * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
+ and stop testing if holes are not supported.
+ * io/test-lfs.c (do_prepare): Likewise.
+ * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
+ Likewise.
+ * timezone/tst-tzset.c (create_tz_file): Likewise.
+ * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
+ variable.
+ (do_prepare): Set it.
+ * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
+
+2018-08-21 Florian Weimer <fweimer@redhat.com>
+
+ [BZ #17248]
+ * Makeconfig (+cflags): Do not sort (and deduplicate).
+
+2018-08-21 Florian Weimer <fweimer@redhat.com>
+
+ * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
+ * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
+
+2018-08-20 Florian Weimer <fweimer@redhat.com>
+
+ * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
+ HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
+
+2018-08-20 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
+ signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
+ and ssi_arch members.
+
+ * elf/elf.c (NT_VMCOREDD): New macro.
+ (AT_MINSIGSTKSZ): Likewise.
+
+2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
+
+ * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
+ (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
+ s_cosf-ppc64 and s_cosf-power8.
+ * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
+ * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
+ * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
+ * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
+ * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
+ * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
+ * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
+ * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
+ * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
+ * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
+ * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
+ * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
+
+2018-08-17 Florian Weimer <fweimer@redhat.com>
+
+ * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
+
+2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
+
+ * malloc/malloc.c (_int_malloc): Additional binning code checks.
+
+2018-08-16 Florian Weimer <fweimer@redhat.com>
+
+ * configure.ac: Add --with-nonshared-cflags option.
+ * config.make.in (extra-nonshared-cflags): Set variable.
+ * Makeconfig (CFLAGS-.oS): Use it.
+ * manual/install.texi (Configuring and compiling): Document
+ --with-nonshared-cflags.
+ * configure: Regenerate.
+ * INSTALL: Likewise.
+
2018-08-16 Florian Weimer <fweimer@redhat.com>
* Makeconfig (ASFLAGS): Always append required assembler flags.