+2019-03-04 Florian Weimer <fweimer@redhat.com>
+
+ * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
+ declaration.
+ * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
+ defined.
+
+2019-03-04 Stefan Liebler <stli@linux.ibm.com>
+
+ * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
+ * sysdeps/s390/s390-32/sysdep.h: Likewise.
+
+2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
+
+ [BZ #24162]
+ * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
+ gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
+
+2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
+
+ * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
+ tests.
+ (do_test): Likewise.
+ * misc/tst-ldbl-warn.c (do_one_test): Likewise.
+ (do_test_call_varg): Likewise.
+ (do_test_call_rarg): Likewise.
+ * sysdeps/ieee754/ldbl-opt/Makefile
+ [subdir == misc] (tests-internal): Add tst-nldbl-warn,
+ tst-nldbl-error.
+ ($(objpfx)tst-nldbl-warn.c): New rule.
+ ($(objpfx)tst-nldbl-error.c): Likewise.
+ (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
+ New variables.
+
+2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
+
+ [BZ #23984]
+ * include/bits/error-ldbl.h: New file.
+ * include/error.h: Include stdarg.h. Declare internal functions
+ __error_internal and __error_at_line_internal.
+ * misc/Makefile (headers): Add bits/error-ldbl.h.
+ * misc/bits/error-ldbl.h: New file.
+ * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
+ avoid the inclusion of bits/error.h.
+ * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
+ and __nldbl_error_at_line.
+ * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
+ (__nldbl_error, __ndlbl_error_at_line): New functions.
+ * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
+ Redirect error and error_at_line.
+ * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
+ Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
+ Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
+ Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
+ Likewise.
+ * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
+ * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
+ * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
+
+2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
+
+ [BZ #23984]
+ * include/bits/err-ldbl.h: New file.
+ * include/err.h: Add prototypes for the internal functions:
+ __vwarnx_internal and __vwarn_internal.
+ * misc/Makefile (headers): Add bits/err-ldbl.h.
+ * misc/bits/err-ldbl.h: New file.
+ * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
+ defined, i.e.: when -mlong-double-64 is in use.
+ * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
+ __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
+ __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
+ * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
+ (VA_CALL): New macro.
+ (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
+ (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
+ functions.
+ * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
+ declare prototypes for the new functions.
+ * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
+ Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
+ Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
+ Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
+ Likewise.
+ * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
+ * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
+ * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
+
+2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
+
+ * sysdeps/ieee754/ldbl-opt/Makefile
+ [subdir == argp] (tests-internal): Add tst-nldbl-argp.
+ [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
+ [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
+
+2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
+
+ [BZ #23983]
+ * argp/Makefile (headers): Add bits/argp-ldbl.h.
+ * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
+ * argp/bits/argp-ldbl.h: New file.
+ * include/argp.h: Include stdarg.h. Add prototypes for internal
+ functions: __argp_error_internal and __argp_failure_internal.
+ * include/bits/argp-ldbl.h: New file.
+ * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
+ __nldbl_argp_error and __nldbl_argp_failure.
+ * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
+ (__nldbl_argp_error, __nldbl_argp_failure): New functions.
+ * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
+ Redirect argp_error and argp_failure calls.
+ * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
+ Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
+ Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
+ Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
+ Likewise.
+ * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
+ * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
+ * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
+
+2019-03-01 Florian Weimer <fweimer@redhat.com>
+
+ [BZ #20419]
+ * elf/tst-big-note-lib.S: Create a syntactically valid note.
+ * elf/Makefile (tst-big-note-lib.so): Do not link with startup
+ code, to avoid creating an ABI tag note.
+ (modules-names-nobuild): Add tst-big-note-lib.
+
+2019-03-01 Stefan Liebler <stli@linux.ibm.com>
+
+ * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
+ __wcscpy, __GI___wcscpy and weak alias to wcscpy.
+
+2019-03-01 Florian Weimer <fweimer@redhat.com>
+
+ [BZ #20271]
+ * sysdeps/unix/sysv/linux/netlink_assert_response.c
+ (__netlink_assert_response): Add additional missing newlines.
+
+2019-02-28 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/powerpc/powerpc32/dl-machine.c
+ (__elf_machine_fixup_plt): Use space before '('.
+ (__process_machine_rela): Likewise.
+ * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
+ Likewise.
+ * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
+ Likewise.
+ * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
+ Likewise.
+ * sysdeps/powerpc/test-arith.c (union_t): Likewise.
+ (pattern): Likewise.
+ (delta): Likewise.
+ (check_result): Likewise.
+ (check_excepts): Likewise.
+ (check_op): Likewise.
+ (fail_xr): Likewise.
+ * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
+ * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
+ (SCNHSZ): Likewise.
+ * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
+ Likewise.
+ (ARGS): Likewise.
+ (__makecontext): Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
+ Likewise.
+
+2019-02-28 Florian Weimer <fweimer@redhat.com>
+
+ [BZ #23937]
+ elf: Add test with a local IFUNC resolver.
+ * elf/ifuncmain9.c: New file.
+ * elf/ifuncmain9pic.c: Likewise.
+ * elf/ifuncmain9picstatic.c: Likewise.
+ * elf/ifuncmain9pie.c: Likewise.
+ * elf/ifuncmain9static.c: Likewise.
+ * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
+ ifuncmain9static, ifuncmain9picstatic.
+ * elf/Makefile [multi-arch && build-shared] (tests-internal):
+ Add ifuncmain9, ifuncmain9pic.
+ * elf/Makefile [multi-arch && build-shared && have-fpie]
+ (ifunc-pie-tests): Add ifuncmain9pie.
+ (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
+ (CFLAGS-ifuncmain9picstatic.c): Likewise.
+ (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
+
+2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
+
+ * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
+ * configure: Regenerated.
+ * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
+
+2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
+
+ * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
+ symbol as __wcspcy instead of wcscpy.
+
+2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
+
+ * include/stdio.h (__renameat2): New hidden prototype.
+ * stdio-common/renameat2.c (__renameat2): Add hidden definition.
+ * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
+ * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
+ * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
+
+2019-02-27 Joseph Myers <joseph@codesourcery.com>
+
+ * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
+ if statement.
+
+ * benchtests/bench-strcpy.c (do_test): Use space before '('.
+ * benchtests/bench-string.h (cmdline_process_function): Likewise.
+ * benchtests/bench-strlen.c (do_test): Likewise.
+ (test_main): Likewise.
+ * catgets/gencat.c (read_old): Likewise.
+ * elf/cache.c (load_aux_cache): Likewise.
+ * iconvdata/bug-iconv8.c (do_test): Likewise.
+ * math/test-tgmath-ret.c (do_test): Likewise.
+ * nis/nis_call.c (rec_dirsearch): Likewise.
+ * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
+ * nptl/tst-audit-threads.c (do_test): Likewise.
+ * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
+ * nss/nss_test1.c (init): Likewise.
+ * nss/test-netdb.c (test_hosts): Likewise.
+ * posix/execvpe.c (maybe_script_execute): Likewise.
+ * stdio-common/tst-fmemopen4.c (do_test): Likewise.
+ * stdio-common/tst-printf.c (do_test): Likewise.
+ * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
+ * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
+ * stdlib/qsort.c (STACK_SIZE): Likewise.
+ * stdlib/test-canon.c (do_test): Likewise.
+ * stdlib/tst-swapcontext1.c (do_test): Likewise.
+ * string/memcmp.c (OPSIZ): Likewise.
+ * string/test-strcpy.c (do_test): Likewise.
+ (do_random_tests): Likewise.
+ * string/test-strlen.c (do_test): Likewise.
+ (test_main): Likewise.
+ * string/test-strrchr.c (do_test): Likewise.
+ (do_random_tests): Likewise.
+ * string/tester.c (test_memrchr): Likewise.
+ (test_memchr): Likewise.
+ * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
+ * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
+ * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
+ (read_encoded_value_with_base): Likewise.
+ * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
+ * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
+ * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
+ * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
+ * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
+ * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
+ Likewise.
+ * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
+ Likewise.
+ * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
+ * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
+ * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
+ Likewise.
+ * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
+ Likewise.
+ * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
+ Likewise.
+ * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
+ Likewise.
+ * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
+ * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
+ (FP_XSTATE_MAGIC2_SIZE): Likewise.
+ * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
+ * time/test_time.c (main): Likewise.
+
+2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
+
+ * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
+
+ * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
+ wmemcpy.
+
+ * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
+ wmemcpy.
+
+ * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
+
+ * include/wchar.h (__wcscpy): New prototype.
+ * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
+ (__wcscpy): Route internal symbol to generic implementation.
+ * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
+ Add internal __wcscpy alias.
+ * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
+ * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
+ * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
+ * wcsmbs/wcscpy.c (wcscpy): Add
+ * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
+ use generic implementation.
+ * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
+
+ * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
+ wmemset.
+
+ * sysdeps/m68k/wcpcpy.c: Remove file.
+ * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
+
2019-02-26 Joseph Myers <joseph@codesourcery.com>
+ * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
+ than after operators.
+ * sysdeps/mach/hurd/fork.c (__fork): Likewise.
+ * sysdeps/mach/hurd/getcwd.c
+ (__hurd_canonicalize_directory_name_internal): Likewise.
+ * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
+ (pthread_mutex_consistent): Likewise.
+ * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
+ Likewise.
+ * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
+ (__pthread_mutex_transfer_np): Likewise.
+ * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
+ (__pthread_mutex_unlock): Likewise.
+ * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
+ (mtx_owned_p): Likewise.
+ * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
+ (pthread_mutexattr_getrobust): Likewise.
+ * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
+ * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
+ Likewise.
+ * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
+ * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
+ * sysdeps/mach/hurd/kill.c (__kill): Likewise.
+ * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
+ * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
+ * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
+ * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
+ Likewise.
+ * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
+ Likewise.
+ * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
+ * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
+ * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
+ (____longjmp_chk): Likewise.
+ * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
+ Likewise.
+ * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
+ (INTERNAL_SYSCALL): Likewise.
+ * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
+ (INTERNAL_SYSCALL): Likewise.
+ * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
+ (__get_clockfreq_via_cpuinfo): Likewise.
+
* sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
comments.
* sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.