]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - ChangeLog
hurd: Define EXEC_PAGESIZE
[thirdparty/glibc.git] / ChangeLog
index a30eeead7e01f8afbbc26364798908642cd701b8..fdf0e469bb0f0c92b688ae066510acfecc8e854d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,698 @@
+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]