+2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
+
+ * mach/Makefile (headers): Add mach/param.h.
+ * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
+ * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
+
+2018-02-17 John David Anglin <danglin@gcc.gnu.org>
+
+ * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
+ idouble to 1 ULP.
+
+2018-02-16 Rical Jasan <ricaljasan@pacific.net>
+
+ * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
+ syntax.
+
+2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
+
+ * nptl/Makefile (tst-mutex8-ENV): Delete.
+ * nptl/tst-mutex8.c (check_type):
+ Add runtime check if mutex will be elided.
+
+2018-02-15 Joseph Myers <joseph@codesourcery.com>
+
+ [BZ #20980]
+ [BZ #21234]
+ * manual/install.texi (Configuring and compiling): Describe
+ passing CC and CFLAGS on configure command line, not as
+ environment variables. Use @code markup on those variables.
+ Specify what options go in CC and what go in CFLAGS. Note the
+ requirement to compile with optimization.
+ * INSTALL: Regenerated.
+
+ [BZ #18124]
+ * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
+ (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
+ * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
+ __sigprocmask instead of sigprocmask.
+ * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
+ Likewise.
+ * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
+ __sigsetjmp and sigprocmask.
+
+ [BZ #15105]
+ * include/argz.h (argz_next): Use libc_hidden_proto.
+ (__argz_next): Likewise.
+ * string-argz-next.c (__argz_next): Use libc_hidden_def.
+ (argz_next): Use libc_hidden_weak.
+
+ [BZ #15105]
+ * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
+ libc_hidden_proto.
+ * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
+ libc_hidden_def.
+
+ [BZ #15105]
+ * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
+ libc_hidden_proto.
+ * libio/iofputs.c (fputs): Use libc_hidden_weak.
+
+ [BZ #15105]
+ [BZ #19463]
+ * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
+ define as weak alias of __feof_unlocked. Use libc_hidden_weak.
+ * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
+ (__feof_unlocked): New declaration, and inline function if
+ [__USE_EXTERN_INLINES].
+ * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
+ instead of feof_unlocked.
+ * intl/localealias.c [_LIBC] (FEOF): Likewise.
+ * nss/nsswitch.c (nss_parse_file): Likewise.
+ * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
+ Likewise.
+ * time/getdate.c (__getdate_r): Likewise.
+ * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
+ Define as macro to call __feof_unlocked.
+
+2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
+
+ * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
+
+2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
+
+ * math/Makefile: Remove mpexp.c and mplog.c
+ * sysdeps/i386/fpu/mpexp.c: Delete file.
+ * sysdeps/i386/fpu/mplog.c: Likewise.
+ * sysdeps/ia64/fpu/mpexp.c: Likewise.
+ * sysdeps/ia64/fpu/mplog.c: Likewise.
+ * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
+ * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
+ * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
+ * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
+ * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
+ * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
+ * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
+ * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
+ * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
+ * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
+ * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
+ * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
+ * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
+ * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
+ * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
+ * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
+
+2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
+
+ * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
+
+2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
+
+ * sysdeps/sh/libm-test-ulps: Update.
+
+2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
+
+ * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
+ idouble to 1 ULP.
+
+2018-02-12 Zack Weinberg <zackw@panix.com>
+
+ [BZ #19239]
+ * posix/sys/types.h: Don't include sys/sysmacros.h.
+ * misc/sys/sysmacros.h: Remove the conditional deprecation
+ warnings for the macros defined by this header.
+
+2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
+
+ * manual/probes.texi: Remove slowexp probes.
+ * math/Makefile: Remove slowexp.
+ * sysdeps/generic/math_private.h (__slowexp): Remove.
+ * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
+ document error bounds.
+ * sysdeps/i386/fpu/slowexp.c: Remove.
+ * sysdeps/ia64/fpu/slowexp.c: Remove.
+ * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
+ * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
+ * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
+ * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
+ * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
+ * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
+ * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
+ * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
+ * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
+ * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
+ * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
+
+2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
+
+ [BZ #13932]
+ * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
+ * benchtests/pow-inputs: Update comment for slow path cases.
+ * manual/probes.texi (slowpow_p10): Delete removed probe.
+ (slowpow_p10): Likewise.
+ * math/Makefile: Remove halfulp.c and slowpow.c.
+ * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
+ * sysdeps/generic/math_private.h (__exp1): Remove error argument.
+ (__halfulp): Remove.
+ (__slowpow): Remove.
+ * sysdeps/i386/fpu/halfulp.c: Delete file.
+ * sysdeps/i386/fpu/slowpow.c: Likewise.
+ * sysdeps/ia64/fpu/halfulp.c: Likewise.
+ * sysdeps/ia64/fpu/slowpow.c: Likewise.
+ * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
+ improve comments and add error analysis.
+ * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
+ (power1): Remove function:
+ (log1): Remove error argument, add error analysis.
+ (my_log2): Remove function.
+ * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
+ * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
+ * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
+ * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
+ * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
+ * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
+ * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
+ slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
+ * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
+ * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
+ * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
+ * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
+ * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
+ * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
+
+2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
+
+ * nscd/connections.c (RWLOCK_INITIALIZER): Define to
+ PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
+
+2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
+
+ [BZ #22433]
+ * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
+ Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
+ and PTRACE_SETHBPREGS.
+
+2018-02-10 Zack Weinberg <zackw@panix.com>
+
+ [BZ #22830]
+ * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
+ correctly.
+ * malloc/tst-malloc-stats-cancellation.c: New test case.
+ * malloc/Makefile: Add new test case.
+
+2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
+
+ * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
+
+2018-02-10 Joseph Myers <joseph@codesourcery.com>
+
+ * math/Makefile (libm-narrow-fns): Add add.
+ (libm-test-funcs-narrow): Likewise.
+ * math/Versions (GLIBC_2.28): Add narrowing add functions.
+ * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
+ * math/gen-auto-libm-tests.c (test_functions): Add add.
+ * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
+ (NARROW_ADD_ROUND_TO_ODD): Likewise.
+ (NARROW_ADD_TRIVIAL): Likewise.
+ * sysdeps/ieee754/float128/float128_private.h (__faddl): New
+ macro.
+ (__daddl): Likewise.
+ * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
+ dadd.
+ (CFLAGS-nldbl-dadd.c): New variable.
+ (CFLAGS-nldbl-fadd.c): Likewise.
+ * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
+ __nldbl_daddl.
+ * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
+ prototype.
+ * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
+ daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
+ * math/auto-libm-test-in: Add tests of add.
+ * math/auto-libm-test-out-narrow-add: New generated file.
+ * math/libm-test-narrow-add.inc: New file.
+ * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
+ * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
+ * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
+ * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
+ * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
+ * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
+ * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
+ * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
+ * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
+ * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
+ * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
+ * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
+ * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
+ * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
+ * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
+ * sysdeps/powerpc/fpu/libm-test-ulps: Update.
+ * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
+ * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
+ * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
+ * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
+ * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
+ * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
+ * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
+ * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
+ * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
+ * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
+ * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
+ * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
+ * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
+ * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
+ * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
+ * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
+ * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
+ * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
+ * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
+ * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
+ * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
+ * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
+ * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
+
+ * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
+ (f128-pairs): New variable.
+ [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
+ pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
+ to CFLAGS.
+ [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
+ Also make tests add $(f128-loader-link) to gnulib-tests.
+
+2018-02-09 DJ Delorie <dj@redhat.com>
+
+ [BZ #22827]
+ * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
+ 64-bit ELF type for 64-bit ELF objects.
+
+2018-02-09 Joseph Myers <joseph@codesourcery.com>
+
+ * math/libm-test-driver.c (snan_tests_arg): New variable.
+ * math/libm-test-support.h (snan_tests_arg): New declaration.
+ * math/libm-test-support.c (enable_test): Check snan_tests_arg.
+
+ * math/Makefile (test-type-pairs): New variable.
+ (test-type-pairs-f64xf128-yes): Likewise.
+ (tests): Add test-narrow-macros.
+ (libm-test-funcs-narrow): New variable.
+ (libm-test-c-narrow): Likewise.
+ (generated): Add $(libm-test-c-narrow).
+ (libm-tests-base-narrow): New variable.
+ (libm-tests-narrow): Likewise.
+ (libm-tests): Add $(libm-tests-narrow).
+ (libm-tests-for-type): Handle $(libm-tests-narrow).
+ (libm-test-c-narrow-obj): New variable.
+ ($(libm-test-c-narrow-obj)): New rule.
+ ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
+ ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
+ $(o-iterator) to set dependencies and CFLAGS.
+ * math/gen-auto-libm-tests.c: Document use for narrowing
+ functions.
+ (output_for_one_input_case): Take argument NARROW.
+ (generate_output): Likewise. Update call to
+ output_for_one_input_case.
+ (main): Take --narrow option. Update call to generate_output.
+ * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
+ (apply_lit): Update call to _apply_lit.
+ (apply_arglit): New function.
+ (parse_args): Handle "a" arguments.
+ (parse_auto_input): Handle format names using ":".
+ * math/README.libm-test: Document "a" parameter type.
+ * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
+ (ARG_TYPE_TRUE_MIN): Likewise.
+ (ARG_TYPE_MAX): Likwise.
+ (ARG_MIN_EXP): Likewise.
+ (ARG_MAX_EXP): Likewise.
+ (ARG_MANT_DIG): Likewise.
+ (TEST_COND_arg_ibm128): Likewise.
+ (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
+ (TEST_COND_arg_fmt): New macro.
+ (init_max_error): Update prototype.
+ * math/libm-test-support.c (test_ibm128): New variable.
+ (init_max_error): Take argument testing_ibm128 and set test_ibm128
+ instead of using [TEST_COND_ibm128] conditional.
+ (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
+ * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
+ [TEST_NARROW] (TEST_MSG): New definition.
+ (arg_plus_zero): New macro.
+ (arg_minus_zero): Likewise.
+ (arg_plus_infty): Likewise.
+ (arg_minus_infty): Likewise.
+ (arg_qnan_value_pl): Likewise.
+ (arg_qnan_value): Likewise.
+ (arg_snan_value_pl): Likewise.
+ (arg_snan_value): Likewise.
+ (arg_max_value): Likewise.
+ (arg_min_value): Likewise.
+ (arg_min_subnorm_value): Likewise.
+ [ARG_FLOAT] (struct test_aa_f_data): New struct type.
+ (RUN_TEST_LOOP_aa_f): New macro.
+ (TEST_SUFF): New macro.
+ (TEST_SUFF_STR): Likewise.
+ [!TEST_MATHVEC] (VEC_SUFF): Don't define.
+ (TEST_COND_any_ibm128): New macro.
+ (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
+ this_func. Update call to init_max_error.
+ * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
+ * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
+ * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
+ * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
+ * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
+ * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
+ * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
+ * math/test-math-scalar.h (TEST_NARROW): Likewise.
+ * math/test-math-vector.h (TEST_NARROW): Likewise.
+ * math/test-arg-double.h: New file.
+ * math/test-arg-float128.h: Likewise.
+ * math/test-arg-float32x.h: Likewise.
+ * math/test-arg-float64.h: Likewise.
+ * math/test-arg-float64x.h: Likewise.
+ * math/test-arg-ldouble.h: Likewise.
+ * math/test-math-narrow.h: Likewise.
+ * math/test-narrow-macros.c: Likewise.
+ * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
+ * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
+ test-narrow-macros-ldbl-64.
+ (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
+
+ * math/bits/mathcalls-narrow.h: New file.
+ * include/bits/mathcalls-narrow.h: Likewise.
+ * math/math-narrow.h: Likewise.
+ * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
+ (__MATHCALL_NARROW_ARGS_2): Likewise.
+ (__MATHCALL_NARROW_ARGS_3): Likewise.
+ (__MATHCALL_NARROW_NORMAL): Likewise.
+ (__MATHCALL_NARROW_REDIR): Likewise.
+ (__MATHCALL_NARROW): Likewise.
+ [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
+ <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
+ defined.
+ [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
+ * math/Makefile (headers): Add bits/mathcalls-narrow.h.
+ (libm-narrow-fns): New variable.
+ (libm-narrow-types-basic): Likewise.
+ (libm-narrow-types-ldouble-yes): Likewise.
+ (libm-narrow-types-float128-yes): Likewise.
+ (libm-narrow-types-float128-alias-yes): Likewise.
+ (libm-narrow-types): Likewise.
+ (libm-routines): Add narrowing functions.
+ * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
+ (libc_feholdexcept_setroundf128): New macro.
+ [__x86_64__] (libc_feupdateenv_testf128): Likewise.
+ * sysdeps/ieee754/float128/float128_private.h: Include
+ <math/math-narrow.h>.
+ [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
+ Undefine and redefine.
+ [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
+ (libm_alias_float_ldouble): Undefine and redefine.
+ (libm_alias_double_ldouble): Likewise.
+
+ * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
+
+2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
+
+ * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
+ FPCR/FPSR.
+
+2018-02-09 Rical Jasan <ricaljasan@pacific.net>
+
+ * manual/creature.texi: Convert references to gcc.info to gcc.
+ * manual/stdio.texi: Likewise.
+ * manual/string.texi: Likewise.
+
+2018-02-07 Joseph Myers <joseph@codesourcery.com>
+
+ [BZ #17979]
+ * posix/bits/types.h (__int_least8_t): New typedef.
+ (__uint_least8_t): Likewise.
+ (__int_least16_t): Likewise.
+ (__uint_least16_t): Likewise.
+ (__int_least32_t): Likewise.
+ (__uint_least32_t): Likewise.
+ (__int_least64_t): Likewise.
+ (__uint_least64_t): Likewise.
+ * sysdeps/generic/stdint.h (int_least8_t): Define using
+ __int_least8_t.
+ (int_least16_t): Define using __int_least16_t.
+ (int_least32_t): Define using __int_least32_t.
+ (int_least64_t): Define using __int_least64_t.
+ (uint_least8_t): Define using __uint_least8_t.
+ (uint_least16_t): Define using __uint_least16_t.
+ (uint_least32_t): Define using __uint_least32_t.
+ (uint_least64_t): Define using __uint_least64_t.
+ * wcsmbs/uchar.h: Include <bits/types.h>.
+ (char16_t): Define using __uint_least16_t conditional only on
+ [!__USE_ISOCXX11].
+ (char32_t): Define using __uint_least32_t conditional only on
+ [!__USE_ISOCXX11].
+ * wcsmbs/test-char-types.c: New file.
+ * wcsmbs/Makefile (tests): Add test-char-types.
+
+ * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
+ version to 4.0.1.
+
+2018-02-07 Zack Weinberg <zackw@panix.com>
+
+ * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
+ Delete all contents except for definitions of _G_HAVE_MMAP and
+ _G_HAVE_MREMAP. Add commentary explaining those two symbols.
+ * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
+ sysdeps/unix/sysv/linux/_G_config.h. Make same content
+ change as above.
+
+ * libio/libio.h: Don't include bits/_G_config.h here.
+ Include stddef.h with __need_wchar_t defined. Include
+ bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
+ Define _IO_iconv_t here, directly.
+ Don't define _IO_HAVE_ST_BLKSIZE.
+ * libio/libioP.h: Include _G_config.h here. Move include of
+ shlib-compat.h up with rest of includes. Simplify conditionals
+ controlling definition of _IO_JUMPS_OFFSET.
+
+ * csu/init.c: Remove always-true #if around entire file.
+ Don't include stdio.h. Set _IO_stdin_used to hardwired
+ constant 0x20001, and update commentary.
+ * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
+ Replace all uses of _G_va_list with __gnuc_va_list.
+ * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
+ instead of #if _IO_HAVE_ST_BLKSIZE.
+ * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
+ * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
+ not #ifdef.
+
+ * libio/bits/libio.h: Move back to libio/libio.h and adjust
+ multiple-include guard to match.
+ Merge contents of libio/bits/libio-ldbl.h and include/libio.h
+ into this file.
+ Remove preprocessor conditionals that are always true and/or
+ redundant to other preprocessor conditionals in the same nest.
+ Include shlib-compat.h unconditionally.
+ Error out if _LIBC is not defined, or if _ISOMAC is defined,
+ or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
+ defined after including stdio.h.
+ Use __BEGIN_DECLS/__END_DECLS.
+
+ * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
+ * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
+ libio.h as <libio/libio.h> rather than as <bits/libio.h>.
+
+2018-02-07 Zack Weinberg <zackw@panix.com>
+
+ * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
+ New single-type headers split from _G_config.h.
+ * libio/bits/types/cookie_io_functions_t.h
+ * libio/bits/types/struct_FILE.h
+ New single-type headers split from libio.h.
+
+ * libio/Makefile: Install the above new headers. Don't install
+ libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
+ bits/libio-ldbl.h.
+ * libio/_G_config.h, libio/libio.h: Delete file.
+
+ * libio/bits/libio.h: Remove improper-inclusion guard.
+ Include stdio.h and don't repeat anything that it does.
+ Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
+ _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
+ __io_read_fn as cookie_read_function_t,
+ __io_write_fn as cookie_write_function_t,
+ __io_seek_fn as cookie_seek_function_t,
+ __io_close_fn as cookie_close_function_t,
+ and _IO_cookie_io_functions_t as cookie_io_functions_t.
+ Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
+ here, in the "compatibility defines" section. Remove an #if 0
+ block. Use the "body" macros from bits/types/struct_FILE.h to
+ define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
+ and _IO_ferror_unlocked.
+ Move prototypes of __uflow and __overflow...
+
+ * libio/stdio.h: ...here. Don't include bits/libio.h.
+ Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
+ directly from stdarg.h. Include bits/types/__fpos_t.h,
+ bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
+ and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
+ Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
+ __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
+ cookie_io_functions_t, not _IO_cookie_io_functions_t;
+ __ssize_t, not _IO_ssize_t. Unconditionally define
+ BUFSIZ as 8192 and EOF as (-1).
+
+ * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
+ macros from bits/types/struct_FILE.h instead of _IO_* macros
+ from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
+ instead of _IO_ssize_t.
+ * libio/bits/stdio2.h: Similarly.
+
+ * libio/iolibio.h: Add multiple-include guard.
+ Include bits/libio.h after stdio.h.
+ * libio/libioP.h: Add multiple-include guard.
+ Include stdio.h and bits/libio.h before iolibio.h.
+
+ * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
+ * include/bits/types/cookie_io_functions_t.h
+ * include/bits/types/struct_FILE.h: New wrappers.
+
+ * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
+ Get definitions of _G_fpos_t and _G_fpos64_t from
+ bits/types/__fpos_t.h and bits/types/__fpos64_t.h
+ respectively. Remove improper-inclusion guards.
+
+ * conform/data/stdio.h-data: Update expectations of va_list.
+ * scripts/check-installed-headers.sh: Remove special case for
+ libio.h and _G_config.h.
+
+2018-02-07 Joseph Myers <joseph@codesourcery.com>
+
+ [BZ #15105]
+ [BZ #19463]
+ * include/sys/sysmacros.h [!_ISOMAC]
+ (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
+ [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
+ (_SYS_SYSMACROS_H_WRAPPER): Likewise.
+ [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
+ libc_hidden_proto.
+ [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
+ [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
+ Likewise.
+ [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
+ Undefine and redefine to add use __gnu_dev_ prefix.
+ [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
+ Likewise.
+ [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
+ and define as hidden inline function.
+ [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
+ Likewise.
+ [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
+ Likewise.
+ * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
+ (gnu_dev_major): Use weak_alias and libc_hidden_weak.
+ (gnu_dev_minor): Likewise.
+ (gnu_dev_makedev): Likewise.
+ * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
+ makedev.
+ * posix/wordexp.c (exec_comm_child): Likewise.
+ * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
+ instead of minor and __gnu_dev_major instead of major.
+ * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
+ __gnu_dev_major instead of major.
+ * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
+ __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
+ instead of gnu_dev_minor.
+ * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
+ (SLAVE_P): Likewise.
+ (__ptsname_internal): Use __gnu_dev_minor instead of minor.
+ * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
+ instead of major.
+
+ [BZ #21313]
+ * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
+ in another place.
+ * locale/weightwc.h (findidx): Likewise.
+
+2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
+
+ * manual/probes.texi (slowlog): Delete documentation of removed probe.
+ (slowlog_inexact): Likewise
+ * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
+ * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
+
+2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
+
+ [BZ #22797]
+ * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
+ missing second underscore to parameter name.
+
+2018-02-06 Joseph Myers <joseph@codesourcery.com>
+
+ [BZ #14508]
+ [BZ #15512]
+ [BZ #17082]
+ [BZ #20530]
+ * bits/byteswap.h: Update file comment. Do not include
+ <bits/byteswap-16.h>.
+ (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
+ constant.
+ (__bswap_16): Define as inline function.
+ (__bswap_constant_32): Reformat definition.
+ (__bswap_32): Always define as inline function, not macro, using
+ __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
+ otherwise __bswap_constant_32.
+ (__bswap_constant_64): Reformat definition. Do not use
+ __extension__ here.
+ (__bswap_64): Always define as inline function, not macro. Use
+ __extension__ on function definition. Use __builtin_bswap64 if
+ [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
+ * string/test-endian-file-scope.c: New file.
+ * string/test-endian-sign-conversion.c: Likewise.
+ * string/Makefile (headers): Remove bits/byteswap-16.h.
+ (tests): Add test-endian-file-scope and
+ test-endian-sign-conversion.
+ (CFLAGS-test-endian-sign-conversion.c): New variable.
+ * bits/byteswap-16.h: Remove file.
+ * sysdeps/ia64/bits/byteswap-16.h: Likewise.
+ * sysdeps/ia64/bits/byteswap.h: Likewise.
+ * sysdeps/m68k/bits/byteswap.h: Likewise.
+ * sysdeps/s390/bits/byteswap-16.h: Likewise.
+ * sysdeps/s390/bits/byteswap.h: Likewise.
+ * sysdeps/tile/bits/byteswap.h: Likewise.
+ * sysdeps/x86/bits/byteswap-16.h: Likewise.
+ * sysdeps/x86/bits/byteswap.h: Likewise.
+
+ [BZ #17721]
+ * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
+ && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
+ [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
+ 199901L] (__restrict): Define to restrict.
+
+ [BZ #19667]
+ * string/testcopy.c: Include <support/support.h>. Do not include
+ <malloc.h>. Use <support/test-driver.c>.
+ (main): Rename to do_test. Make static. Use xmalloc instead of
+ malloc.
+
+ [BZ #13575]
+ * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
+ [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
+ (SSIZE_MAX): Define to INT_MAX.
+ * posix/test-ssize-max.c: New file.
+ * posix/Makefile (tests): Add test-ssize-max.
+
+ [BZ #19668]
+ * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
+ <support/support.h>. Do not include <malloc.h>.
+ (query_auxv): Use xmalloc instead of malloc.
+
+ [BZ #14553]
+ * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
+ * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
+ instead of loff_t.
+
+2018-02-06 Florian Weimer <fweimer@redhat.com>
+
+ [BZ #18023]
+ * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
+ Use scratch_buffer instead of extend_alloca.
+
+2018-02-06 Zack Weinberg <zackw@panix.com>
+
+ * libio/stdio.h: Don't define getc or putc as macros.
+ * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
+ not _IO_getc and _IO_putc.
+
+ * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
+ * stdio-common/tstgetln.c: Don't redefine ssize_t.
+
+2018-02-06 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
+ (TCP_FASTOPEN_NO_COOKIE): Likewise.
+
+ * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
+
+ [BZ #14890]
+ * elf/elf.h (NT_PRFPREG): New macro.
+ (NT_S390_VXRS_LOW): Likewise.
+ (NT_S390_VXRS_HIGH): Likewise.
+ (NT_S390_GS_CB): Likewise.
+ (NT_S390_GS_BC): Likewise.
+ (NT_S390_RI_CB): Likewise.
+
+ * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
+ (MAP_SYNC): New macro.
+ * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
+ Likewise.
+ * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
+ (MAP_SYNC): Likewise.
+ * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
+ (MAP_SYNC): Likewise.
+ * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
+ (MAP_SYNC): Likewise.
+ * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
+ (MAP_SYNC): Likewise.
+ * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
+ (MAP_SYNC): Likewise.
+ * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
+ (MAP_SYNC): Likewise.
+ * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
+ Likewise.
+ * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
+ Likewise.
+
+ * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
+ (MAP_SHARED_VALIDATE): New macro.
+ * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
+ (MAP_SHARED_VALIDATE): Likewise.
+
+2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
+ * elf/dl-lookup.c (_dl_setup_hash): Likewise.
+ * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
+
+2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
+ (DT_NUM): Updated to 35.
+
+2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
+
+ * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
+ __builtin_expect with __glibc_likely and __glibc_unlikely.
+ (elf_machine_rela): Likewise.
+ (elf_machine_lazy_rel): Likewise.
+
+2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
+
+ * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
+ __builtin_expect with __glibc_likely and __glibc_unlikely.
+ (elf_machine_lazy_rel): Likewise.
+
+2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
+
+ [BZ #22638]
+ * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
+ SHARED.
+ * sysdeps/sparc/sparc64/start.S (_start): Likewise.
+
+2018-02-05 Andreas Schwab <schwab@suse.de>
+
+ [BZ #22761]
+ * assert/assert-perr.c (__assert_perror_fail): Append %n to format
+ string.
+
+2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
+
+ * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
+ not check against PTHREAD_STACK_MIN.
+
+2018-02-02 Sean McKean <smckean83@gmail.com>
+
+ [BZ #22735]
+ * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
+
+2018-02-02 Florian Weimer <fweimer@redhat.com>
+
+ [BZ #22753]
+ * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
+ * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
+ * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
+ * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
+ * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
+ * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
+ * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
+ * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
+ * manual/llio.texi (Scatter-Gather): Mention offset -1.
+ * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
+ * misc/tst-preadvwritev2.c (do_test): Call it.
+ * misc/tst-preadvwritev64v2.c (do_test): Likewise.
+
+2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
+
+ * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
+
+ * benchtests/bench-memcmp.c: Print json instead of plain text.
+
+ * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
+ every test run.
+
+2018-02-01 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
+ version to 4.15.
+ (s390_sthyi): New syscall.
+
+ * sysdeps/generic/ldbl-classify-compat.h: New file.
+ * sysdeps/arm/ldbl-classify-compat.h: Likewise.
+ * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
+ * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
+ * sysdeps/mips/ldbl-classify-compat.h: Likewise.
+ * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
+ * sysdeps/sh/ldbl-classify-compat.h: Likewise.
+ * sysdeps/ieee754/dbl-64/s_finite.c: Include
+ <ldbl-classify-compat.h>.
+ [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
+ * sysdeps/ieee754/dbl-64/s_isinf.c: Include
+ <ldbl-classify-compat.h>.
+ [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
+ * sysdeps/ieee754/dbl-64/s_isnan.c: Include
+ <ldbl-classify-compat.h>.
+ [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
+ * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
+ <ldbl-classify-compat.h>.
+ [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
+ * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
+ <ldbl-classify-compat.h>.
+ [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
+ * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
+ <ldbl-classify-compat.h>.
+ [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
+ * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
+ * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
+ * sysdeps/m68k/coldfire/math_private.h: Remove file.
+ * sysdeps/microblaze/math_private.h: Likewise.
+ * sysdeps/nios2/math_private.h: Likewise.
+ * sysdeps/sh/math_private.h: Likewise.
+
+ * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
+ * sysdeps/m68k/coldfire/math_private.h: ... here.
+ * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
+ * sysdeps/tile/math_private.h: Likewise.
+ * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
+ Remove macro.
+ * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
+ Likewise.
+
+ * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
+ Remove macro.
+ (libc_fetestexcept): Likewise.
+ (libc_feupdateenv_test): Likewise.
+ * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
+ (libc_fetestexcept): Likewise.
+ (libc_feupdateenv_test): Likewise.
+ * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
+ (libc_fetestexcept): Likewise.
+ (libc_feupdateenv_test): Likewise.
+ * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
+ (libc_fetestexcept): Likewise.
+ (libc_feupdateenv_test): Likewise.
+
+ * sysdeps/generic/math_private.h
+ [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
+ New inline function.
+ [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
+ Likewise.
+
+ * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
+ [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
+ * sysdeps/generic/math_private.h
+ [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
+ inline function.
+ [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
+ Likewise.
+ [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
+ Likewise.
+ [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
+ Likewise.
+ [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
+ Likewise.
+ [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
+ Likewise.
+ [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
+ [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
+ [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
+ [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
+ * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
+ (__fegetenv): Likewise.
+ (fesetenv): Likewise.
+ (__fesetenv): Likewise.
+ (feupdateenv): Likewise.
+ (__feupdateenv): Likewise.
+ (fegetround): Likewise.
+ (__fegetround): Likewise.
+ (fesetround): Likewise.
+ (__fesetround): Likewise.
+
+ * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
+ (feraiseexcept): New macro.
+ [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
+ * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
+ Remove macro.
+ (__feraiseexcept): Likewise.
+ (feclearexcept): Likewise.
+ * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
+ (__feraiseexcept): Likewise.
+ (feclearexcept): Likewise.
+ * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
+ (__feraiseexcept): Likewise.
+ (feclearexcept): Likewise.
+ * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
+ (__feraiseexcept): Likewise.
+ (feclearexcept): Likewise.
+ (fetestexcept): Likewise.
+
+ * sysdeps/m68k/coldfire/math-tests.h: New file.
+
+ * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
+ * sysdeps/m68k/bits/fenv.h: ... here.
+ [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
+ not define.
+ [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
+ Likewise.
+ [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
+ Likewise.
+ [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
+ Likewise.
+ [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
+ Likewise.
+ [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
+ Define to 0.
+ [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
+ (__FE_UNDEFINED): New enum constant.
+ [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
+ Do not define.
+ [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
+ Likewise.
+ [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
+ Likewise.
+ [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
+ to match generic bits/fenv.h.
+ [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
+ Do not define.
+
+ * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
+ packed on bits.
+ * soft-fp/extended.h (union _FP_UNION_E): Likewise.
+ * soft-fp/half.h (union _FP_UNION_H): Likewise.
+ * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
+ * soft-fp/single.h (union _FP_UNION_S): Likewise.
+
+2018-02-01 Carlos O'Donell <carlos@redhat.com>
+ Ramin Seyed-Moussavi <lordrasmus@gmail.com>
+ Joseph Myers <joseph@codesourcery.com>
+
+ [BZ #21314]
+ * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
+ (__log1p): Disable -Wmaybe-uninitialized for -Os around
+ computation using c.
+ * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
+ (__log1pf): Disable -Wmaybe-uninitialized for -Os around
+ computation using c.
+
+2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
+
+ * version.h (RELEASE): Set to "development".
+ (VERSION): Set to "2.27.9000".
+ * NEWS (2.28): New section.
+
+ * version.h (RELEASE): Set to "stable".
+ (VERSION): Set to "2.27".
+ * include/features.h (__GLIBC_MINOR__): Set to 2.27.
+
+ * NEWS: Add the list of bugs fixed in 2.27.
+
+2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
+
+ * stdlib/test-atexit-race-common.c (do_test): Check stack size
+ against PTHREAD_STACK_MIN.
+
+2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
+
+ * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
+ New entries.
+ (Rafal Luzynski, Andreas Schwab): Update.
+
2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
[BZ #10871]
versions of gcc, binutils, texinfo, gawk, bison, and sed.
* INSTALL: Regenerated.
-2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org
+2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
* sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
instead of __builtin_expect.
2018-01-18 Arjun Shankar <arjun@redhat.com>
[BZ #22343]
+ [BZ #22774]
+ CVE-2018-6485
+ CVE-2018-6551
* malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
after padding.
(_int_memalign): check for integer overflow before calling
* misc/tst-pselect.c: Add copyright header.
-2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
+2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
* sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
comment.
* stdlib/getrandom.c (getrandom): Fix comment.
* sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
-2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
+2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
[BZ #21161]
* manual/arith.texi (strtoul): Fix a typo.
* sysdeps/ieee754/flt-32/s_sincosf.h:
New file.
-2017-12-12 Carlos O'Donell <carlos@redhat.com>
+2017-12-12 Carlos O'Donell <carlos@redhat.com>
[BZ #14681]
* elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
* sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
time whenever possible.
-2017-12-12 Carlos O'Donell <carlos@redhat.com>
+2017-12-12 Carlos O'Donell <carlos@redhat.com>
* elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
(CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
* sysdeps/ia64/fpu/libm-test-ulps: Update.
-2017-12-12 James Clarke <jrtc27@jrtc27.com>
+2017-12-12 James Clarke <jrtc27@jrtc27.com>
* sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
__IPC_64 to 0 to avoid IPC_64 being set.
* manual/locale.texi (nl_langinfo): Fix a typo.
-2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
+2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
[BZ #22588]
* manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
* sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
Likewise.
-2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
+2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
[BZ #22577]
* elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
[__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
(__builtin_nansf64): Use __builtin_nansl.
-2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>,
- Paul E. Murphy <murphyp@linux.vnet.ibm.com>,
+2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
+ Paul E. Murphy <murphyp@linux.vnet.ibm.com>
Carlos O'Donnell <carlos@redhat.com>
* elf/dl-tunables.list: Add elision parameters.
* stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
-2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
+2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
* localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
the list of locales to built for testing.
* localedata/hr_HR.UTF-8.in: New file.
-2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
+2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
[BZ #10580]
* localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
[BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
* sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
-2017-11-28 Mike FABIAN <mfabian@redhat.com>, Alexandre Oliva <aoliva@redhat.com>
+2017-11-28 Mike FABIAN <mfabian@redhat.com>
+ Alexandre Oliva <aoliva@redhat.com>
[BZ #17750]
* Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
(Scatter-Gather): ... to here. Remove misleading comment.
-2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
+2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
* support/support_become_root.c (setup_uid_gid_mapping): Fix comment
style.
* string/bug-strncat1.c: Include <libc-diag.h>.
(main): Disable -Wstringop-truncation for strncat call for GCC 8.
-2017-11-13 Claude Paroz <claude@2xlibre.net>
+2017-11-13 Claude Paroz <claude@2xlibre.net>
[BZ #22387]
* localedata/locales/aa_DJ: Improved readibility by replacing
* localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
to be escaped.
-2017-11-07 Claude Paroz <claude@2xlibre.net>
+2017-11-07 Claude Paroz <claude@2xlibre.net>
[BZ #22403]
* localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
* posix/tst-gnuglob64.c: Likewise.
* posix/Makefile (tests): Add tst-gnuglob64.
-2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
+2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
[BZ #19485]
* localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
fil but not for tl. As tl and fil are very similar, using fil
is probably better than using English.
-2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
+2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
[BZ #21706]
* localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
[__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
(HUGE_VAL_F128X): Likewise.
-2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
+2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
* localedata/locales/br_FR (LC_IDENTIFICATON): Add
Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
for the br_FR locale.
-2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
+2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
[BZ #21706]
* localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
(__expf): New.
Include <sysdeps/ieee754/flt-32/e_expf.c>.
-2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
+2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
[BZ #22332]
* posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
(_dl_runtime_resolve_xsave): Likewise.
(_dl_runtime_resolve_xsavec): Likewise.
-2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
+2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
[BZ #22320]
CVE-2017-15670
* malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
-2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
+2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
H.J. Lu <hongjiu.lu@intel.com>
[BZ #22299]