1 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
4 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
5 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
6 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
8 * sysdeps/s390/multiarch/ifunc-impl-list.c
9 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
10 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
11 S390_IS_ARCH13_MIE3): New defines.
13 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
15 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
16 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
17 * sysdeps/s390/configure.ac: Add checks for arch13 support.
18 * sysdeps/s390/configure: Regenerated.
20 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
22 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
23 Add vxe2, vxp, dflt, sort flags.
24 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
25 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
27 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
28 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
29 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
30 HWCAP_S390_DFLT): Define.
32 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
35 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
37 * locale/programs/ld-collate.c (collate_output): Likewise.
39 2019-03-21 DJ Delorie <dj@redhat.com>
42 * iconv/iconvconfig.c (write_output): Replace floating point math
43 with integer math to avoid imprecise results.
44 * locale/programs/ld-collate.c (collate_output): Likewise.
46 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
48 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
49 Add HWCAP_S390_VX and HWCAP_S390_VXE.
51 2019-03-20 mansayk <6688000@gmail.com>
54 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
55 (abday): Likewise, but remove the trailing dots.
57 2019-03-19 Joseph Myers <joseph@codesourcery.com>
59 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
61 (HWCAP_PACA): Likewise.
62 (HWCAP_PACG): Likewise.
63 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
65 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
67 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
69 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
72 2019-03-15 Joseph Myers <joseph@codesourcery.com>
74 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
76 (old_getpagesize): New syscall.
78 2019-03-15 Felix Yan <felixonmars@archlinux.org>
81 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
82 * localedata/locales/cmn_TW (era): Likewise.
83 * localedata/locales/hak_TW (era): Likewise.
84 * localedata/locales/lzh_TW (era): Likewise.
85 * localedata/locales/nan_TW (era): Likewise.
87 2019-03-14 Florian Weimer <fweimer@redhat.com>
89 Remove obsolete, never-implemented XSI STREAMS declarations.
90 * manual/terminal.texi (Allocation): Remove portability note and
92 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
94 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
95 * sysdeps/unix/inet/Subdirs (streams): Remove.
96 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
97 (conformtest-headers-UNIX98): Likewise.
98 (conformtest-headers-XOPEN2K): Likewise.
99 (conformtest-headers-POSIX2008): Likewise.
100 * posix/compat-streams.c: New file.
101 * posix/Makefile (routines): Add it.
102 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
103 getpmsg, isastream, putmsg, putpmsg.
104 (GLIBC_2.30): New section.
105 * bits/stropts.h: Remove file.
106 * bits/xtitypes.h: Likewise.
107 * conform/data/stropts.h-data: Likewise.
108 * include/stropts.h: Likewise.
109 * include/sys/stropts.h: Likewise.
110 * include/xtitypes.h: Likewise.
111 * streams/Makefile: Likewise.
112 * streams/fattach.c: Likewise.
113 * streams/fdetach.c: Likewise.
114 * streams/getmsg.c: Likewise.
115 * streams/getpmsg.c: Likewise.
116 * streams/isastream.c: Likewise.
117 * streams/putmsg.c: Likewise.
118 * streams/putpmsg.c: Likewise.
119 * streams/stropts.h: Likewise.
120 * streams/sys/stropts.h: Likewise.
121 * sysdeps/ia64/bits/xtitypes.h: Likewise.
122 * sysdeps/s390/bits/xtitypes.h: Likewise.
123 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
124 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
125 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
126 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
127 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
128 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
129 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
130 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
131 * sysdeps/x86/bits/xtitypes.h: Likewise.
133 2019-03-14 Florian Weimer <fweimer@redhat.com>
135 * nss/tst-nss-files-alias-truncated.c (do_test): Load
137 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
138 but not with libnss_files.
139 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
141 2019-03-14 Zack Weinberg <zackw@panix.com>
143 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
144 Specify encoding="utf-8" when opening headers to check.
146 2019-03-13 Joseph Myers <joseph@codesourcery.com>
148 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
150 (Context.checkout_tar): Handle variable major version for Linux
153 2019-03-13 Florian Weimer <fweimer@redhat.com>
156 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
158 2019-03-13 Zack Weinberg <zackw@panix.com>
160 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
162 * include/inttypes.h: Adjust to match.
163 * include/stdint.h: New wrapper.
165 2019-03-13 Zack Weinberg <zackw@panix.com>
167 * scripts/check-obsolete-constructs.py: New test script.
168 * scripts/check-installed-headers.sh: Remove tests for
169 obsolete typedefs, superseded by check-obsolete-constructs.py.
170 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
171 as a special test. Update commentary.
172 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
173 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
175 * posix/sys/types.h (__u_intN_t): Remove.
176 (u_int8_t): Typedef using __uint8_t.
177 (u_int16_t): Typedef using __uint16_t.
178 (u_int32_t): Typedef using __uint32_t.
179 (u_int64_t): Typedef using __uint64_t.
181 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
183 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
185 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
186 Ignore types other than AT_HWCAP.
187 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
188 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
190 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
191 in the case of falling back to generic output mechanism.
192 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
195 2019-03-12 Florian Weimer <fweimer@redhat.com>
197 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
199 2019-03-12 Florian Weimer <fweimer@redhat.com>
202 resolv: Enable full ICMP errors for UDP DNS sockets
203 * resolv/res_enable_icmp.c: New file.
204 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
205 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
206 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
209 2019-03-11 Mao Han <han_mao@c-sky.com>
211 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
212 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
214 2019-03-11 Mao Han <han_mao@c-sky.com>
216 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
217 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
218 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
220 2019-03-11 Mao Han <han_mao@c-sky.com>
222 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
224 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
227 2019-03-11 Mao Han <han_mao@c-sky.com>
229 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
230 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
233 2019-03-08 Mike FABIAN <mfabian@redhat.com>
236 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
237 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
239 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
240 * localedata/unicode-gen/PropList.txt: Likewise.
241 * localedata/unicode-gen/UnicodeData.txt: Likewise.
242 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
243 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
244 * localedata/charmaps/UTF-8: Regenerate.
245 * localedata/locales/i18n_ctype: Likewise.
246 * localedata/locales/tr_TR: Likewise.
247 * localedata/locales/translit_circle: Likewise.
248 * localedata/locales/translit_cjk_compat: Likewise.
249 * localedata/locales/translit_combining: Likewise.
250 * localedata/locales/translit_compat: Likewise.
251 * localedata/locales/translit_font: Likewise.
252 * localedata/locales/translit_fraction: Likewise.
254 2019-03-07 Joseph Myers <joseph@codesourcery.com>
256 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
257 than after operators.
258 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
259 (setitimer_locked): Likewise.
260 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
261 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
262 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
263 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
264 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
265 (PPC_CPU_SUPPORTED): Likewise.
266 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
267 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
268 (stat_overflow): Likewise.
269 (statfs_overflow): Likewise.
270 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
271 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
272 (eq_ttyname_r): Likewise.
273 (run_chroot_tests): Likewise.
275 2019-03-07 Florian Weimer <fweimer@redhat.com>
277 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
280 2019-03-07 Martin Liska <mliska@suse.cz>
282 * math/Makefile: Change location where math-vector-fortran.h is
284 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
285 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
286 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
287 * scripts/check-installed-headers.sh: Skip Fortran header files.
288 * scripts/check-wrapper-headers.py: Likewise.
290 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
292 * nptl/nptl-init.c (__have_futex_clock_realtime,
293 __have_futex_clock_realtime): Remove definition.
294 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
295 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
296 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
297 __ASSUME_FUTEX_CLOCK_REALTIME support.
298 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
299 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
300 * sysdeps/unix/sysv/linux/kernel-features.h
301 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
302 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
305 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
307 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
308 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
309 __GI___wcscpy and wcscpy.
311 2019-03-04 Florian Weimer <fweimer@redhat.com>
313 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
315 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
318 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
320 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
321 * sysdeps/s390/s390-32/sysdep.h: Likewise.
323 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
326 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
327 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
329 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
331 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
334 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
335 (do_test_call_varg): Likewise.
336 (do_test_call_rarg): Likewise.
337 * sysdeps/ieee754/ldbl-opt/Makefile
338 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
340 ($(objpfx)tst-nldbl-warn.c): New rule.
341 ($(objpfx)tst-nldbl-error.c): Likewise.
342 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
345 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
348 * include/bits/error-ldbl.h: New file.
349 * include/error.h: Include stdarg.h. Declare internal functions
350 __error_internal and __error_at_line_internal.
351 * misc/Makefile (headers): Add bits/error-ldbl.h.
352 * misc/bits/error-ldbl.h: New file.
353 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
354 avoid the inclusion of bits/error.h.
355 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
356 and __nldbl_error_at_line.
357 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
358 (__nldbl_error, __ndlbl_error_at_line): New functions.
359 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
360 Redirect error and error_at_line.
361 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
370 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
371 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
372 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
374 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
377 * include/bits/err-ldbl.h: New file.
378 * include/err.h: Add prototypes for the internal functions:
379 __vwarnx_internal and __vwarn_internal.
380 * misc/Makefile (headers): Add bits/err-ldbl.h.
381 * misc/bits/err-ldbl.h: New file.
382 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
383 defined, i.e.: when -mlong-double-64 is in use.
384 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
385 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
386 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
387 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
388 (VA_CALL): New macro.
389 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
390 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
392 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
393 declare prototypes for the new functions.
394 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
403 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
404 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
405 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
407 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
409 * sysdeps/ieee754/ldbl-opt/Makefile
410 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
411 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
412 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
414 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
417 * argp/Makefile (headers): Add bits/argp-ldbl.h.
418 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
419 * argp/bits/argp-ldbl.h: New file.
420 * include/argp.h: Include stdarg.h. Add prototypes for internal
421 functions: __argp_error_internal and __argp_failure_internal.
422 * include/bits/argp-ldbl.h: New file.
423 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
424 __nldbl_argp_error and __nldbl_argp_failure.
425 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
426 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
427 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
428 Redirect argp_error and argp_failure calls.
429 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
438 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
439 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
440 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
442 2019-03-01 Florian Weimer <fweimer@redhat.com>
445 * elf/tst-big-note-lib.S: Create a syntactically valid note.
446 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
447 code, to avoid creating an ABI tag note.
448 (modules-names-nobuild): Add tst-big-note-lib.
450 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
452 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
453 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
455 2019-03-01 Florian Weimer <fweimer@redhat.com>
458 * sysdeps/unix/sysv/linux/netlink_assert_response.c
459 (__netlink_assert_response): Add additional missing newlines.
461 2019-02-28 Joseph Myers <joseph@codesourcery.com>
463 * sysdeps/powerpc/powerpc32/dl-machine.c
464 (__elf_machine_fixup_plt): Use space before '('.
465 (__process_machine_rela): Likewise.
466 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
468 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
470 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
472 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
475 (check_result): Likewise.
476 (check_excepts): Likewise.
477 (check_op): Likewise.
479 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
480 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
482 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
485 (__makecontext): Likewise.
486 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
489 2019-02-28 Florian Weimer <fweimer@redhat.com>
492 elf: Add test with a local IFUNC resolver.
493 * elf/ifuncmain9.c: New file.
494 * elf/ifuncmain9pic.c: Likewise.
495 * elf/ifuncmain9picstatic.c: Likewise.
496 * elf/ifuncmain9pie.c: Likewise.
497 * elf/ifuncmain9static.c: Likewise.
498 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
499 ifuncmain9static, ifuncmain9picstatic.
500 * elf/Makefile [multi-arch && build-shared] (tests-internal):
501 Add ifuncmain9, ifuncmain9pic.
502 * elf/Makefile [multi-arch && build-shared && have-fpie]
503 (ifunc-pie-tests): Add ifuncmain9pie.
504 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
505 (CFLAGS-ifuncmain9picstatic.c): Likewise.
506 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
508 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
510 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
511 * configure: Regenerated.
512 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
514 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
516 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
517 symbol as __wcspcy instead of wcscpy.
519 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
521 * include/stdio.h (__renameat2): New hidden prototype.
522 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
523 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
524 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
525 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
527 2019-02-27 Joseph Myers <joseph@codesourcery.com>
529 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
532 * benchtests/bench-strcpy.c (do_test): Use space before '('.
533 * benchtests/bench-string.h (cmdline_process_function): Likewise.
534 * benchtests/bench-strlen.c (do_test): Likewise.
535 (test_main): Likewise.
536 * catgets/gencat.c (read_old): Likewise.
537 * elf/cache.c (load_aux_cache): Likewise.
538 * iconvdata/bug-iconv8.c (do_test): Likewise.
539 * math/test-tgmath-ret.c (do_test): Likewise.
540 * nis/nis_call.c (rec_dirsearch): Likewise.
541 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
542 * nptl/tst-audit-threads.c (do_test): Likewise.
543 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
544 * nss/nss_test1.c (init): Likewise.
545 * nss/test-netdb.c (test_hosts): Likewise.
546 * posix/execvpe.c (maybe_script_execute): Likewise.
547 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
548 * stdio-common/tst-printf.c (do_test): Likewise.
549 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
550 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
551 * stdlib/qsort.c (STACK_SIZE): Likewise.
552 * stdlib/test-canon.c (do_test): Likewise.
553 * stdlib/tst-swapcontext1.c (do_test): Likewise.
554 * string/memcmp.c (OPSIZ): Likewise.
555 * string/test-strcpy.c (do_test): Likewise.
556 (do_random_tests): Likewise.
557 * string/test-strlen.c (do_test): Likewise.
558 (test_main): Likewise.
559 * string/test-strrchr.c (do_test): Likewise.
560 (do_random_tests): Likewise.
561 * string/tester.c (test_memrchr): Likewise.
562 (test_memchr): Likewise.
563 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
564 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
565 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
566 (read_encoded_value_with_base): Likewise.
567 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
568 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
569 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
570 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
571 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
572 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
574 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
576 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
577 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
578 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
580 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
582 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
584 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
586 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
587 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
588 (FP_XSTATE_MAGIC2_SIZE): Likewise.
589 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
590 * time/test_time.c (main): Likewise.
592 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
594 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
596 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
599 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
602 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
604 * include/wchar.h (__wcscpy): New prototype.
605 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
606 (__wcscpy): Route internal symbol to generic implementation.
607 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
608 Add internal __wcscpy alias.
609 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
610 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
611 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
612 * wcsmbs/wcscpy.c (wcscpy): Add
613 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
614 use generic implementation.
615 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
617 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
620 * sysdeps/m68k/wcpcpy.c: Remove file.
621 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
623 2019-02-26 Joseph Myers <joseph@codesourcery.com>
625 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
626 than after operators.
627 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
628 * sysdeps/mach/hurd/getcwd.c
629 (__hurd_canonicalize_directory_name_internal): Likewise.
630 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
631 (pthread_mutex_consistent): Likewise.
632 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
634 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
635 (__pthread_mutex_transfer_np): Likewise.
636 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
637 (__pthread_mutex_unlock): Likewise.
638 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
639 (mtx_owned_p): Likewise.
640 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
641 (pthread_mutexattr_getrobust): Likewise.
642 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
643 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
645 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
646 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
647 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
648 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
649 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
650 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
651 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
653 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
655 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
656 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
657 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
658 (____longjmp_chk): Likewise.
659 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
661 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
662 (INTERNAL_SYSCALL): Likewise.
663 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
664 (INTERNAL_SYSCALL): Likewise.
665 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
666 (__get_clockfreq_via_cpuinfo): Likewise.
668 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
670 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
671 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
672 (WORD_COPY_BWD): Likewise.
673 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
674 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
676 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
677 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
679 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
681 2019-02-25 Joseph Myers <joseph@codesourcery.com>
683 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
684 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
685 rather than after operators.
686 * elf/cache.c (print_cache): Likewise.
687 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
688 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
689 * hurd/hurdinit.c (_hurd_setproc): Likewise.
690 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
691 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
692 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
693 (reauth_proc): Likewise.
694 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
695 (__file_name_split_at): Likewise.
696 (__directory_name_split_at): Likewise.
697 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
698 * hurd/port2fd.c (_hurd_port2fd): Likewise.
699 * iconv/gconv_dl.c (do_print): Likewise.
700 * inet/netinet/in.h (struct sockaddr_in): Likewise.
701 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
702 * locale/setlocale.c (new_composite_name): Likewise.
703 * malloc/memusagestat.c (main): Likewise.
704 * misc/fstab.c (fstab_convert): Likewise.
705 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
707 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
708 (getgrent_next_file): Likewise.
709 (internal_getgrnam_r): Likewise.
710 (internal_getgrgid_r): Likewise.
711 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
713 (internal_getgrent_r): Likewise.
714 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
715 (getpwent_next_nss): Likewise.
716 (getpwent_next_file): Likewise.
717 (internal_getpwnam_r): Likewise.
718 (internal_getpwuid_r): Likewise.
719 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
721 (getspent_next_nss): Likewise.
722 (internal_getspnam_r): Likewise.
723 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
724 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
725 * string/strchr.c (STRCHR): Likewise.
726 * string/strchrnul.c (STRCHRNUL): Likewise.
727 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
728 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
729 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
730 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
731 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
733 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
734 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
735 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
736 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
737 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
738 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
739 (open_file): Likewise.
740 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
741 (pthread_mutexattr_setprotocol): Likewise.
742 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
743 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
744 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
745 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
746 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
748 (elf_machine_rela): Likewise.
749 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
750 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
751 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
752 * sysdeps/posix/rename.c (rename): Likewise.
753 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
754 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
755 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
756 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
757 * sysdeps/unix/grantpt.c (grantpt): Likewise.
758 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
759 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
761 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
763 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
764 * time/tzfile.c (__tzfile_compute): Likewise.
766 2019-02-22 Joseph Myers <joseph@codesourcery.com>
768 * benchtests/bench-memmem.c (simple_memmem): Break lines before
769 rather than after operators.
770 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
771 * crypt/md5.c (md5_finish_ctx): Likewise.
772 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
773 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
774 * elf/cache.c (load_aux_cache): Likewise.
775 * elf/dl-load.c (open_verify): Likewise.
776 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
777 * elf/readelflib.c (process_elf_file): Likewise.
778 * elf/rtld.c (dl_main): Likewise.
779 * elf/sprof.c (generate_call_graph): Likewise.
780 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
781 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
782 * hurd/dtable.c (reauth_dtable): Likewise.
783 * hurd/getdport.c (__getdport): Likewise.
784 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
785 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
786 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
788 * hurd/hurdioctl.c (fioctl): Likewise.
789 * hurd/hurdselect.c (_hurd_select): Likewise.
790 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
791 (STOPSIGS): Likewise.
792 * hurd/hurdstartup.c (_hurd_startup): Likewise.
793 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
794 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
795 * hurd/msgportdemux.c (msgport_server): Likewise.
796 * hurd/setauth.c (_hurd_setauth): Likewise.
797 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
798 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
799 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
800 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
801 * login/tst-utmp.c (do_check): Likewise.
802 (simulate_login): Likewise.
803 * mach/lowlevellock.h (lll_lock): Likewise.
804 (lll_trylock): Likewise.
805 * math/test-fenv.c (ALL_EXC): Likewise.
806 * math/test-fenvinline.c (ALL_EXC): Likewise.
807 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
808 * nis/nis_call.c (__do_niscall3): Likewise.
809 * nis/nis_callback.c (cb_prog_1): Likewise.
810 * nis/nis_defaults.c (searchaccess): Likewise.
811 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
812 * nis/nis_ismember.c (internal_ismember): Likewise.
813 * nis/nis_local_names.c (nis_local_principal): Likewise.
814 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
815 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
817 * nis/ypclnt.c (yp_match): Likewise.
818 (yp_first): Likewise.
820 (yp_master): Likewise.
821 (yp_order): Likewise.
822 * nscd/hstcache.c (cache_addhst): Likewise.
823 * nscd/initgrcache.c (addinitgroupsX): Likewise.
824 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
825 (internal_getpwuid_r): Likewise.
826 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
827 * posix/glob.h (__GLOB_FLAGS): Likewise.
828 * posix/regcomp.c (peek_token): Likewise.
829 (peek_token_bracket): Likewise.
830 (parse_expression): Likewise.
831 * posix/regexec.c (sift_states_iter_mb): Likewise.
832 (check_node_accept_bytes): Likewise.
833 * posix/tst-spawn3.c (do_test): Likewise.
834 * posix/wordexp-test.c (testit): Likewise.
835 * posix/wordexp.c (parse_tilde): Likewise.
836 (exec_comm): Likewise.
837 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
838 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
839 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
840 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
841 * stdio-common/tst-fileno.c (do_test): Likewise.
842 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
843 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
844 * stdlib/strtod_l.c (round_and_return): Likewise.
845 (____STRTOF_INTERNAL): Likewise.
846 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
847 * string/strcspn.c (STRCSPN): Likewise.
848 * string/test-memmem.c (simple_memmem): Likewise.
849 * termios/tcsetattr.c (tcsetattr): Likewise.
850 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
851 * time/asctime.c (asctime_internal): Likewise.
852 * time/strptime_l.c (__strptime_internal): Likewise.
853 * time/sys/time.h (timercmp): Likewise.
854 * time/tzfile.c (__tzfile_compute): Likewise.
856 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
859 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
861 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
863 * argp/argp-help.c (__argp_error_internal): New function,
864 renamed from __argp_error, but that takes a 'mode_flags'
865 parameter to control the format of long double parameters.
866 (__argp_error): Converted into a call __argp_error_internal.
867 (__argp_failure_internal): New function, renamed from
868 __argp_failure, but that takes a 'mode_flags' parameter.
869 (__argp_failure): Converted into a call __argp_failure_internal.
870 * misc/err.c (__vwarnx_internal): New function, renamed from
871 vwarnx, but that takes a 'mode_flags' parameter.
872 (vwarnx): Converted into a call to __vwarnx_internal.
873 (__vwarn_internal): New function, renamed from vwarn, but that
874 takes a 'mode_flags' parameter.
875 (vwarn): Converted into a call to __vwarn_internal.
876 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
877 call to __vfxprintf with 'mode_flags'.
878 (__error_internal): New function, renamed from error, but that
879 takes a 'mode_flags' parameter.
880 (error): Converted into a call to __error_internal.
881 (__error_at_line_internal): New function, renamed from
882 error_at_line, but that takes a 'mode_flags' parameter.
883 (error_at_line): Converted into a call to
884 __error_at_line_internal.
885 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
886 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
889 2019-02-20 Martin Liska <mliska@suse.cz>
891 * math/Makefile: Install math-vector-fortran.h.
892 * bits/math-vector-fortran.h: New file.
893 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
895 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
897 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
898 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
900 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
902 * nptl/pthread_mutex_trylock.c: Fix comment.
904 2019-02-19 Carlos O'Donell <carlos@redhat.com>
906 * nptl/pthread_tryjoin.c: Fix comment.
908 2019-02-18 Joseph Myers <joseph@codesourcery.com>
911 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
912 after R_SPARC_H34 case.
914 2019-02-18 Florian Weimer <fweimer@redhat.com>
916 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
917 (getanswer): Do not call Dprintf.
918 (res_gethostbyname2_context): Likewise.
919 (res_gethostbyaddr_context): Likewise.
921 2019-02-18 Florian Weimer <fweimer@redhat.com>
923 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
925 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
927 * libio/stdfiles.c: Update comment.
928 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
929 set _IO_stdin, _IO_stdout, _IO_stderr.
930 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
931 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
933 (_IO_deallocate_file): New inline function.
934 * libio/iolibio.h (_IO_vprintf): Remove definition.
935 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
936 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
937 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
939 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
940 __builtin_expect. Use _IO_legacy_file.
942 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
944 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
945 Initialize ctid with a known value and remove update of ctid
947 (wait_tid): Adjust arguments and call futex_wait with ctid_val
948 as assumed current value of ctid_ptr.
950 2019-02-15 Florian Weimer <fweimer@redhat.com>
952 Check that non-sysdeps headers have wrapper headers.
953 * scripts/check-wrapper-headers.py: New file.
954 * Makefile (tests-special): Add check-wrapper-headers.out.
955 (check-wrapper-headers.out): New target.
956 * Rules (tests-special): Add check-wrapper-headers.out.
957 (check-wrapper-headers.out): New target.
959 2019-02-15 Florian Weimer <fweimer@redhat.com>
961 Add missing header wrappers under include/.
962 * include/ar.h: New file.
963 * include/bits/mqueue2.h: Likewise.
964 * include/bits/stdio.h: Likewise.
965 * include/bits/stdio2.h: Likewise.
966 * include/fstab.h: Likewise.
967 * include/fts.h: Likewise.
968 * include/lastlog.h: Likewise.
969 * include/netinet/icmp6.h: Likewise.
970 * include/netinet/igmp.h: Likewise.
971 * include/netinet/ip6.h: Likewise.
972 * include/re_comp.h: Likewise.
973 * include/regexp.h: Likewise.
974 * include/rpcsvc/bootparam.h: Likewise.
975 * include/rpcsvc/yp_prot.h: Likewise.
976 * include/sys/random.h: Likewise.
977 * include/sys/stropts.h: Likewise.
978 * include/sys/ttychars.h: Likewise.
979 * include/sys/vfs.h: Likewise.
980 * include/wait.h: Likewise.
982 2019-02-15 Florian Weimer <fweimer@redhat.com>
984 * nptl_db/proc_service.h: Move to ...
985 * sysdeps/nptl/proc_service.h: ... here.
986 * nptl_db/thread_db.h: Move to ...
987 * sysdeps/nptl/thread_db.h: ... here.
988 * nptl/descr.h: Include <thread_db.h>.
990 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
992 * io/Makefile (tests): Add tst-lockf.
993 * io/lockf.c (lockf): Use __fcntl and only define for
994 !__OFF_T_MATCHES_OFF64_T.
995 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
996 __OFF_T_MATCHES_OFF64_T case.
997 * io/tst-lockf.c: New file.
998 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
999 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
1000 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
1001 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
1002 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
1003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
1004 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
1005 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
1006 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
1008 2019-02-15 Florian Weimer <fweimer@redhat.com>
1011 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
1012 pd->result after the thread descriptor has been freed.
1014 2019-02-15 Joseph Myers <joseph@codesourcery.com>
1016 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
1017 from function return type.
1019 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
1021 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1023 * scripts/test_printers_common.py: Set TERM to a known harmless
1026 2019-02-14 Joseph Myers <joseph@codesourcery.com>
1028 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
1029 (xdr_u_int): Likewise.
1030 (xdr_enum): Likewise.
1031 (xdr_bytes): Reword fall-through comment.
1032 (xdr_string): Likewise.
1034 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1037 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
1038 (tests): Add tst-join8 tst-join9.
1039 * nptl/lll_timedwait_tid.c: Remove file.
1040 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
1041 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
1042 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
1043 * nptl/pthread_join_common.c (timedwait_tid): New function.
1044 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
1046 * nptl/tst-join5.c (thread_join): New function.
1047 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
1049 * nptl/tst-join8.c: New file.
1050 * nptl/tst-join9.c: Likewise.
1051 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
1052 lll_futex_timed_wait_cancel): Add generic macros.
1053 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
1055 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1056 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1057 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1058 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
1060 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
1062 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1063 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
1064 (lll_futex_timed_wait_cancel): New macro.
1066 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
1068 * benchtests/Makefile: Add malloc-simple benchmark.
1069 * benchtests/bench-malloc-simple.c: New benchmark.
1071 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
1073 * benchtests/bench-memmove.c (do_one_test): Remove unused
1076 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
1080 2019-01-13 Jim Wilson <jimw@sifive.com>
1083 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
1084 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
1086 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
1088 * nptl/Makefile (tests): Add tst-unwind-thread.
1089 (CFLAGS-tst-unwind-thread.c): Define.
1090 * nptl/tst-unwind-thread.c: New file.
1091 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
1094 2019-02-13 Joseph Myers <joseph@codesourcery.com>
1096 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
1098 * nis/nis_call.c (__do_niscall3): Likewise.
1100 * catgets/gencat.c (normalize_line): Use braces around empty
1102 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1103 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
1104 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
1105 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
1106 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
1107 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
1108 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
1111 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
1114 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
1116 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
1117 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
1118 * benchtests/bench-strchr.c (stupid_strchr): Remove.
1119 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
1120 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
1121 * benchtests/bench-strlen.c (builtin_strlen): Remove.
1122 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
1123 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
1124 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
1125 * benchtests/bench-strspn.c (stupid_strspn): Remove.
1126 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
1127 * benchtests/bench-bcopy.c: Delete file.
1128 * benchtests/bench-bzero.c: Likewise.
1129 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
1130 (simple_memccpy): Remove.
1131 (generic_memccpy): Add function.
1132 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
1133 * benchtests/bench-memmove.c (simple_bcopy): Remove.
1134 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
1135 (generic_mempcpy): Add new function.
1136 * benchtests/bench-memset.c (simple_bzero): Remove.
1137 (builtin_bzero): Remove.
1138 (builtin_memset): Remove.
1139 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
1140 (generic_rawmemchr): Add new function.
1142 2019-02-12 Florian Weimer <fweimer@redhat.com>
1144 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
1146 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1149 * elf/Makefile (tests): Add tst-audit13.
1150 (modules-names): Add tst-audit13mod1.
1151 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1153 * elf/tst-audit13.c: New file.
1154 * elf/tst-audit13mod1.c: Likewise.
1156 2019-02-12 Florian Weimer <fweimer@redhat.com>
1159 * elf/rtld.c (unload_audit_module): New function.
1160 (report_audit_module_load_error): Likewise.
1161 (load_audit_module): Likewise. Extracted from dl_main. Call
1162 _dl_close if the laversion symbol cannot be found. Use early
1163 returns for error handling. Add malloc error check. Check for a
1164 zero return value from la_version. Remove spurious comment about
1165 static TLS initialization. Remove useless casts.
1166 (notify_audit_modules_of_loaded_object): New function. Extracted
1168 (load_audit_module): Likewise.
1169 (dl_main): Call load_audit_modules.
1171 2019-02-12 Joseph Myers <joseph@codesourcery.com>
1173 * elf/dl-exception.c (_dl_exception_create_format): Add
1174 fall-through comments.
1175 * elf/ldconfig.c (parse_conf_include): Likewise.
1176 * elf/rtld.c (print_statistics): Likewise.
1177 * locale/programs/charmap.c (parse_charmap): Likewise.
1178 * misc/mntent_r.c (__getmntent_r): Likewise.
1179 * posix/wordexp.c (parse_arith): Likewise.
1180 (parse_backtick): Likewise.
1181 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
1182 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
1183 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1185 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
1187 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
1188 Use float instead of double.
1190 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
1192 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
1194 2019-02-08 Joseph Myers <joseph@codesourcery.com>
1196 * sysdeps/powerpc/bits/mathinline.h: Remove.
1198 2019-02-08 Florian Weimer <fweimer@redhat.com>
1200 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
1201 * math/bits/math-finite.h: Move to ...
1202 * bits/math-finite.h: ... here.
1204 2019-02-08 Florian Weimer <fweimer@redhat.com>
1206 * sysdeps/generic/bits/unistd_ext.h: Move to ...
1207 * bits/unistd_ext.h: here.
1209 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
1212 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
1213 * nss/tst-nss-files-hosts-long.c: New file.
1214 * nss/tst-nss-files-hosts-long.root: New directory.
1215 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
1216 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
1218 2019-02-08 Florian Weimer <fweimer@redhat.com>
1220 * include/bits/unistd_ext.h: Remove file.
1221 * posix/bits/unistd_ext.h: Move to ...
1222 * sysdeps/generic/bits/unistd_ext.h: ... here.
1224 2019-02-08 Florian Weimer <fweimer@redhat.com>
1226 * include/bits/unistd_ext.h: New file.
1228 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
1230 * time/tst-strftime2.c: Use array_length macros instead of magic
1233 2019-02-08 Florian Weimer <fweimer@redhat.com>
1236 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
1238 * nptl/register-atfork.c (__run_fork_handlers): Only perform
1239 locking if the new do_locking argument is true.
1240 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
1241 __run_fork_handlers.
1243 2019-02-08 Florian Weimer <fweimer@redhat.com>
1246 Linux: Add gettid system call wrapper.
1247 * posix/Makefile (headers): Add bits/unistd_ext.h.
1248 * posix/bits/unistd_ext.h: New file.
1249 * posix/unistd.h: Include it.
1250 * manual/process.texi (Process Identification): Document gettid.
1251 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
1252 tst-gettid, tst-gettid-kill.
1253 (tst-gettid): Link with $(shared-thread-library).
1254 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
1255 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
1256 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
1257 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
1258 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
1259 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
1261 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1263 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1264 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
1266 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
1268 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
1270 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
1272 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1274 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1276 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1278 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1279 (GLIBC_2.30): Likewise.
1280 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1281 (GLIBC_2.30): Likewise.
1282 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1283 (GLIBC_2.30): Likewise.
1284 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1285 (GLIBC_2.30): Likewise.
1286 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1289 (GLIBC_2.30): Likewise.
1290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1291 (GLIBC_2.30): Likewise.
1292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1293 (GLIBC_2.30): Likewise.
1294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1295 (GLIBC_2.30): Likewise.
1296 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1298 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1300 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1302 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1303 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1305 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1307 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1309 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1311 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
1313 2019-02-07 Florian Weimer <fweimer@redhat.com>
1315 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
1316 compatibility symbols.
1318 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
1321 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1322 Add compiler barriers and comments.
1324 2019-02-07 Florian Weimer <fweimer@redhat.com>
1326 * include/array_length.h (array_length): Do not use a statement
1327 expression and _Static_assert, so that array_length can be used at
1328 file scope and as a constant expression.
1330 2019-02-07 Florian Weimer <fweimer@redhat.com>
1332 * support/xdlfcn.h (xdlmopen): Declare.
1333 * support/xdlmopen.c: New file.
1334 * support/Makefile (libsupport-routines): Add xdlmopen.
1336 2019-02-06 Joseph Myers <joseph@codesourcery.com>
1338 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
1339 before return type, without separate inline.
1340 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
1341 * elf/dl-tunables.h (tunable_is_name): Likewise.
1342 * malloc/malloc.c (do_set_trim_threshold): Likewise.
1343 (do_set_top_pad): Likewise.
1344 (do_set_mmap_threshold): Likewise.
1345 (do_set_mmaps_max): Likewise.
1346 (do_set_mallopt_check): Likewise.
1347 (do_set_perturb_byte): Likewise.
1348 (do_set_arena_test): Likewise.
1349 (do_set_arena_max): Likewise.
1350 (do_set_tcache_max): Likewise.
1351 (do_set_tcache_count): Likewise.
1352 (do_set_tcache_unsorted_limit): Likewise.
1353 * nis/nis_subr.c (count_dots): Likewise.
1354 * nptl/allocatestack.c (advise_stack_range): Likewise.
1355 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
1357 (reduce_sincos): Likewise.
1358 (do_sincos): Likewise.
1359 * sysdeps/unix/sysv/linux/x86/elision-conf.c
1360 (do_set_elision_enable): Likewise.
1361 (TUNABLE_CALLBACK_FNDECL): Likewise.
1363 2019-02-06 Florian Weimer <fweimer@redhat.com>
1365 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
1366 (xdlsym): Use dlerror to detect a NULL symbol.
1368 2019-02-06 Florian Weimer <fweimer@redhat.com>
1370 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
1372 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1374 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1376 * libio/tst-bz24153.c (wide): Use wide char format specifier.
1378 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1380 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
1381 __wmemcmp and weak alias to wmemcmp.
1383 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1386 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
1387 TLS_TCB_AT_TP tls variant.
1388 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
1389 Add alignment checks.
1390 * support/Makefile (libsupport-routines): Add xposix_memalign and
1392 * support/support.h: Add xposix_memalign.
1393 * support/xthread.h: Add xpthread_attr_setstack.
1394 * support/xposix_memalign.c: New File.
1395 * support/xpthread_attr_setstack.c: Likewise.
1397 2019-02-05 Florian Weimer <fweimer@redhat.com>
1400 arm: Use "nr" constraint for Systemtap probes, to avoid the
1401 compiler using memory operands for constants, due to the "o"
1402 alternative in the default "nor" constraint.
1403 * include/stap-probe.h [USE_STAP_PROBE]: Include
1404 <stap-probe-machine.h>
1405 * sysdeps/generic/stap-probe-machine.h: New file.
1406 * sysdeps/arm/stap-probe-machine.h: Likewise.
1408 2019-02-04 Joseph Myers <joseph@codesourcery.com>
1410 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
1411 with 0, not tcache->entries[tc_idx].
1413 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
1416 2019-02-04 Andreas Schwab <schwab@suse.de>
1420 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
1421 looking up collating elements match against (wide) character
1422 sequence instead of name. Correct alignment adjustment.
1423 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
1424 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
1425 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
1426 (LOCALES): Add cs_CZ.ISO-8859-2.
1427 * posix/tst-fnmatch4.c: New file.
1428 * posix/tst-fnmatch5.c: New file.
1429 * include/wchar.h (__wmemcmp): Declare.
1430 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
1431 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
1432 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
1433 * sysdeps/s390/wmemcmp.c: Likewise.
1435 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
1439 * NEWS: Updated for CVE-2019-7309.
1440 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
1441 upper 32 bits of RDX register for x32. Use unsigned Jcc
1442 instructions, instead of signed.
1443 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
1444 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
1446 2019-02-04 Florian Weimer <fweimer@redhat.com>
1448 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
1449 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
1450 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
1452 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
1453 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
1454 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
1455 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
1457 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
1459 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
1461 (posix_spawn_file_actions_addopen): Likewise.
1462 (posix_spawn_file_actions_addclose): Likewise.
1463 (posix_spawn_file_actions_adddup2): Likewise.
1464 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
1466 (posix_spawn_file_actions_addfchdir_np): Likewise.
1468 2019-02-04 David Newall <glibc@davidnewall.com>
1470 elf: Implement --preload option for the dynamic linker.
1471 * elf/rtld.c (preloadarg): New variable.
1472 (handle_preload_list): Pass through “where” argument to
1474 (dl_main): Handle "--preload" and add second call to
1475 handle_preload_list.
1476 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
1477 (tst-rtld-preload-OBJS): Set variable.
1478 (tst-rtld-preload.out): New target.
1479 * elf/tst-rtld-preload.sh: New file.
1481 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
1483 * Makefile (testrun.sh): Exit in case of incorrect argument.
1485 2019-02-04 Florian Weimer <fweimer@redhat.com>
1487 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
1490 2019-02-03 Florian Weimer <fweimer@redhat.com>
1492 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
1493 implicit overflow checks.
1495 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
1497 * stdlib/isomac.c: Include <unistd.h>.
1499 2019-02-03 Florian Weimer <fweimer@redhat.com>
1501 * include/time.h (__tzfile_default): Use int, not long int, for
1503 * time/tzfile.c (struct ttinfo): Change type of the offset member
1505 (__tzfile_read): Remove useless cast.
1506 (__tzfile_default): Adjust prototype.
1507 * time/tzset.c (tz_rule): Change type of the offset member to int.
1508 (parse_offset): Change the type of the sign variable to int.
1510 2019-02-03 Florian Weimer <fweimer@redhat.com>
1513 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
1514 * libio/getchar.c (getchar): Likewise.
1515 * libio/getchar_u.c (getchar_unlocked): Likewise.
1516 * libio/getwchar.c (getwchar): Likewise.
1517 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1518 * libio/iogets.c (_IO_gets): Likewise.
1519 * libio/vscanf.c (_IO_vscanf): Likewise.
1520 * libio/vwscanf.c (__vwscanf): Likewise.
1521 * libio/tst-bz24153.c: New file.
1522 * libio/Makefile (tests): Add it.
1524 2019-02-02 Florian Weimer <fweimer@redhat.com>
1527 * manual/resource.texi (Basic Scheduling Functions): Add
1528 portability note. Change process to task throughout the section.
1529 Remove incorrect comment about sched_yield as it affects
1530 tasks/threads, not entire processes.
1531 * sysdeps/unix/sysv/linux/bits/posix_opt.h
1532 (_POSIX_PRIORITY_SCHEDULING): Update comment.
1534 2019-02-01 Joseph Myers <joseph@codesourcery.com>
1536 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
1537 * configure: Regenerated.
1538 * manual/install.texi (Tools for Compilation): Update minimum GCC
1540 * INSTALL: Regenerated.
1542 2019-02-01 Florian Weimer <fweimer@redhat.com>
1544 * support/support_test_compare_string.c
1545 (support_test_compare_string): Use "string" in error message.
1546 * support/tst-test_compare_string.c (do_test): Adjust.
1548 2019-02-01 Florian Weimer <fweimer@redhat.com>
1550 * support/support_format_address_family.c
1551 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
1553 2019-02-01 Florian Weimer <fweimer@redhat.com>
1555 * manual/socket.texi (Internet Address Formats): Clarify the byte
1556 order of struct sockaddr_in, struct sockaddr_in6. Document
1557 sin6_flowinfo and sin6_scope_id.
1559 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
1561 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
1562 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
1563 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
1564 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
1565 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
1566 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
1568 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1570 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
1571 [!MEMCHR](MEMCHR): Set to __memchr.
1572 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1573 Add memchr_generic and memchr_nosimd.
1574 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1575 (__libc_ifunc_impl_list): Add memchr ifuncs.
1576 * sysdeps/aarch64/multiarch/memchr.c: New file.
1577 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
1578 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
1580 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1582 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1584 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1585 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
1586 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
1587 Add IS_EMAG check for ifunc dispatch.
1588 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
1589 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
1591 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1593 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
1594 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1596 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
1599 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
1601 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
1603 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
1605 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
1606 syscall-template file.
1608 2019-01-31 Carlos O'Donell <carlos@redhat.com>
1609 Torvald Riegel <triegel@redhat.com>
1610 Rik Prohaska <prohaska7@gmail.com>
1613 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
1614 tst-rwlock-trywrlock-stall.
1615 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1616 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
1617 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
1618 Set __wrphase_fute to 1 only if we started the write phase.
1619 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
1620 * nptl/tst-rwlock-trywrlock-stall.c: New file.
1621 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
1622 * support/xpthread_rwlock_destroy.c: New file.
1623 * support/xthread.h: Declare xpthread_rwlock_destroy.
1625 2019-02-01 Joseph Myers <joseph@codesourcery.com>
1627 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
1630 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1633 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
1634 * libio/fileops.c (_IO_new_file_underflow): Likewise
1635 * libio/wfileops.c (_IO_wfile_underflow): Likewise
1636 * libio/putchar.c (putchar): Likewise.
1637 * libio/putchar_u.c (putchar_unlocked): Likewise.
1638 * libio/putwchar.c (putchar): Likewise.
1639 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
1640 * libio/tst-bz24051.c: New test.
1641 * libio/Makefile (tests): Add tst-bz24051
1643 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
1646 regex: fix read overrun [BZ #24114]
1647 Problem found by AddressSanitizer, reported by Hongxu Chen in:
1648 https://debbugs.gnu.org/34140
1649 * posix/regexec.c (proceed_next_node):
1650 Do not read past end of input buffer.
1652 2019-01-31 Florian Weimer <fweimer@redhat.com>
1655 * nss/nss_files/files-alias.c (get_next_alias): Handle
1656 continuation line without newline at the end.
1657 * nss/tst-nss-files-alias-truncated.c: New file.
1658 * nss/Makefile [$(build-shared)] (tests): Add
1659 tst-nss-files-alias-truncated.
1660 (tst-nss-files-alias-truncated): Link with libnss_files.so.
1661 * support/namespace.h (struct support_chroot_configuration): Add
1663 (struct support_chroot): Add path_aliases member.
1664 * support/support_chroot.c (support_chroot_create): Handle
1666 (support_chroot_free): Free path_aliases.
1668 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
1670 * version.h (RELEASE): Set to "development".
1671 (VERSION): Set to "2.29.9000".
1672 * NEWS: Add section for 2.30.
1674 * version.h (RELEASE): Set to "stable".
1675 (VERSION): Set to "2.29".
1676 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
1678 * NEWS: Add the list of bugs fixed in 2.29.
1679 * manual/contrib.texi: Update contributors list with some more
1681 * manual/install.texi: Update latest versions of packages
1683 * INSTALL: Regenerated.
1685 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
1687 * po/be.po: Update translations.
1688 * po/bg.po: Likewise.
1689 * po/ca.po: Likewise.
1690 * po/cs.po: Likewise.
1691 * po/da.po: Likewise.
1692 * po/de.po: Likewise.
1693 * po/el.po: Likewise.
1694 * po/eo.po: Likewise.
1695 * po/es.po: Likewise.
1696 * po/fi.po: Likewise.
1697 * po/fr.po: Likewise.
1698 * po/gl.po: Likewise.
1699 * po/hr.po: Likewise.
1700 * po/hu.po: Likewise.
1701 * po/ia.po: Likewise.
1702 * po/id.po: Likewise.
1703 * po/it.po: Likewise.
1704 * po/ja.po: Likewise.
1705 * po/ko.po: Likewise.
1706 * po/lt.po: Likewise.
1707 * po/nb.po: Likewise.
1708 * po/nl.po: Likewise.
1709 * po/pl.po: Likewise.
1710 * po/pt_BR.po: Likewise.
1711 * po/ru.po: Likewise.
1712 * po/rw.po: Likewise.
1713 * po/sk.po: Likewise.
1714 * po/sl.po: Likewise.
1715 * po/sv.po: Likewise.
1716 * po/tr.po: Likewise.
1717 * po/uk.po: Likewise.
1718 * po/vi.po: Likewise.
1719 * po/zh_CN.po: Likewise.
1720 * po/zh_TW.po: Likewise.
1722 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
1725 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
1726 of $f3 register on $y_is_neg path.
1728 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
1731 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
1732 sigaltstack.ss_flags.
1734 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
1737 * manual/time.texi (strftime): Document "%Ey".
1738 * time/strftime_l.c (__strftime_internal): Set the default width
1739 padding with zero of "%Ey" to 2.
1742 * manual/time.texi (strftime): Document "%EC" and "%EY".
1743 * time/Makefile (tests): Add tst-strftime2.
1744 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
1745 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
1746 override padding for "%Ey".
1747 If an optional flag ('_' or '-') is specified to "%EY", interpret the
1748 "%Ey" in the subformat as if decorated with that flag.
1749 * time/tst-strftime2.c: New file.
1751 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1753 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
1757 * elf/Makefile (tests): Add tst-audit13.
1758 (modules-names): Add tst-audit13mod1.
1759 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1761 * elf/rtld.c (dl_main): Handle invalid audit module version.
1762 * elf/tst-audit13.c: New file.
1763 * elf/tst-audit13mod1.c: Likewise.
1765 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
1767 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
1768 returned by __hurd_at_flags.
1769 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
1770 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
1771 directly instead of __hurd_file_name_lookup.
1773 2019-01-21 Joseph Myers <joseph@codesourcery.com>
1775 * scripts/build-many-glibcs.py (Context.checkout): Default
1776 binutils version to 2.32 branch.
1778 2019-01-21 Florian Weimer <fweimer@redhat.com>
1782 resolv: Reject trailing characters in host names
1783 * include/arpa/inet.h (__inet_aton_exact): Declare.
1784 (inet_aton): Remove hidden prototype. No longer used internally.
1785 * nscd/gai.c (__inet_aton): Do not define.
1786 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
1787 * nss/digits_dots.c (__inet_aton): Likewise.
1788 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
1789 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
1790 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
1791 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
1792 (tst-resolv-trailing): Likewise.
1793 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
1795 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
1796 Make static. Add endp parameter.
1797 (__inet_aton_exact): New function.
1798 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
1799 (__inet_addr): Call inet_aton_end.
1800 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
1801 not just IPv6. Call __inet_aton_exact.
1802 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
1803 (tests): Make const. Add additional test cases with trailing
1805 (do_test): Use array_length.
1806 * resolv/tst-inet_aton_exact.c: New file.
1807 * resolv/tst-resolv-trailing.c: Likewise.
1808 * resolv/tst-resolv-nondecimal.c: Likewise.
1809 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
1811 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1815 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
1816 Clear the upper 32 bits of RSI register.
1817 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
1818 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
1819 and tst-size_t-wcsnlen.
1820 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
1821 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
1823 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1827 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
1828 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1829 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1830 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
1831 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
1833 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1837 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
1838 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1839 * sysdeps/x86_64/strcmp.S: Likewise.
1840 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
1841 tst-size_t-strncmp and tst-size_t-wcsncmp.
1842 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
1843 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
1844 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
1846 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1850 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
1851 RDX_LP for length. Clear the upper 32 bits of RDX register.
1852 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
1853 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
1854 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
1855 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
1857 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1861 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
1862 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
1863 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
1864 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
1866 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1870 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
1871 length. Clear the upper 32 bits of RDX register.
1872 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1873 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
1875 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1877 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
1879 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
1881 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1885 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
1886 length. Clear the upper 32 bits of RDX register.
1887 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1888 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1889 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
1891 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
1892 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
1894 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1898 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
1899 upper 32 bits of RDX register.
1900 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
1901 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
1903 * sysdeps/x86_64/x32/test-size_t.h: New file.
1904 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
1905 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
1907 2019-01-18 Florian Weimer <fweimer@redhat.com>
1910 resolv: Do not send queries for non-host-names in nss_dns.
1911 * resolv/nss_dns/dns-host.c (check_name): New function.
1912 (_nss_dns_gethostbyname2_r): Use it.
1913 (_nss_dns_gethostbyname_r): Likewise.
1914 (_nss_dns_gethostbyname4_r): Likewise.
1916 2019-01-21 Florian Weimer <fweimer@redhat.com>
1918 * resolv/inet_addr.c: Reformat to GNU style.
1919 (__inet_addr, __inet_aton): Update comment.
1921 2019-01-18 Florian Weimer <fweimer@redhat.com>
1923 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
1924 ("malloc: Use current (C11-style) atomics for fastbin access").
1925 This commit introduces a substantial performance regression on
1927 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
1928 (REMOVE_FB): Define.
1929 (_int_malloc): Use it and reindent.
1930 (_int_free): Use CAS loop with
1931 catomic_compare_and_exchange_val_rel.
1932 (malloc_consolidate): Use atomic_exchange_acq.
1935 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
1937 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
1939 (LDFLAGS-tst-minsigstksz-2): Likewise.
1940 (LDFLAGS-tst-minsigstksz-3): Likewise.
1941 (LDFLAGS-tst-minsigstksz-3a): Likewise.
1942 (LDFLAGS-tst-minsigstksz-4): Likewise.
1944 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
1946 * manual/time.texi (strftime): Fix the wording to "alternative" rather
1949 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
1951 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
1953 2019-01-16 Zack Weinberg <zackw@panix.com>
1955 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
1956 (xget_sigstack_location): New test support functions.
1957 * support/xsigstack.c: New file, implementing them.
1958 * support/tst-xsigstack.c: New test for them.
1959 * support/Makefile: Update.
1961 * signal/tst-minsigstksz-1.c
1962 * signal/tst-minsigstksz-2.c
1963 * signal/tst-minsigstksz-3.c
1964 * signal/tst-minsigstksz-3a.c
1965 * signal/tst-minsigstksz-4.c: New tests.
1966 * signal/Makefile: Run them.
1968 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
1970 * po/libc.pot: Regenerate.
1972 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1974 * math/libm-test-fma.inc (fma_test_data): Set
1975 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
1977 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1979 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
1980 (do_test): Changed __vector __int128_t to __vector unsigned int.
1982 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
1984 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1985 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
1986 stpcpy-avx2 and stpncpy-avx2.
1987 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
1988 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
1989 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
1991 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
1992 ifunc-strcpy.h}: rename header for a more generic name.
1993 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
1994 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
1995 AVX unaligned load is fast and vzeroupper is preferred.
1996 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
1997 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
1998 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
1999 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
2000 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
2001 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
2003 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
2005 * argp/argp-help.c: Fix typo in comment.
2006 * misc/sys/cdefs.h: Likewise.
2007 * posix/regexec.c (sift_states_iter_mb): Likewise.
2008 * socket/sockatmark.c: Likewise.
2009 * socket/sys/socket.h: Likewise.
2010 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
2011 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
2012 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
2013 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2014 * sysdeps/unix/sockatmark.c: Likewise.
2015 * time/strptime_l.c: Likewise.
2017 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2019 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
2020 missing space after the cast of "_NL_CURRENT".
2022 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2024 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
2025 ifdef to fix read of VSCR.
2026 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
2027 tst-ucontext-ppc64-vscr.c to test list.
2028 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
2030 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
2032 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
2035 2019-01-09 Jim Wilson <jimw@sifive.com>
2037 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
2039 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
2041 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
2042 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
2043 __memcpy_falkor for ares.
2044 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
2046 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2049 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
2052 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
2053 4_FP_W_TYPEs are used for IEEE quad precision.
2054 * soft-fp/extendhftf2.c: Likewise.
2055 * soft-fp/extendsftf2.c: Likewise.
2056 * soft-fp/extendxftf2.c: Likewise.
2057 * soft-fp/trunctfdf2.c: Likewise.
2058 * soft-fp/trunctfhf2.c: Likewise.
2059 * soft-fp/trunctfsf2.c: Likewise.
2060 * soft-fp/trunctfxf2.c: Likewise.
2061 * sysdeps/alpha/ots_cvttx.c: Likewise.
2062 * sysdeps/alpha/ots_cvtxt.c: Likewise.
2063 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
2064 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
2065 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
2066 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
2067 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
2068 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
2069 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
2070 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
2071 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
2072 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
2073 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
2074 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
2075 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
2076 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
2077 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
2078 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
2080 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2083 * Makeconfig: Build libm with -fno-math-errno but build the remaining
2084 code with -fmath-errno.
2085 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
2086 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
2087 * string/test-strerror-errno.c: New file.
2089 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2092 * localedata/locales/en_US (date_fmt): Add, set to
2093 "%a %d %b %Y %r %Z".
2095 2019-01-07 Florian Weimer <fweimer@redhat.com>
2098 * manual/arith.texi (Math Error Reporting): Use @code{errno}
2099 instead of @var{errno}.
2100 (Parsing of Integers): Likewise.
2101 (Parsing of Floats): Likewise.
2102 * manual/filesys.texi (Working with Directory Trees): Likewise.
2103 (Temporary Files): Likewise.
2104 * manual/job.texi (Terminal Access Functions): Likewise.
2105 * manual/llio.texi (Synchronizing I/O): Likewise.
2106 * manual/math.texi (SVID Random): Likewise.
2107 * manual/message.texi (The catgets Functions): Likewise.
2108 (Translation with gettext): Likewise.
2109 (Locating gettext catalog): Likewise.
2110 (Charset conversion in gettext): Likewise.
2111 * manual/nss.texi (NSS Module Function Internals): Likewise.
2112 * manual/search.texi (Hash Search Function): Likewise.
2113 * manual/setjmp.texi (System V contexts): Likewise.
2114 * manual/time.texi (Sleeping): Likewise.
2115 * manual/users.texi (Lookup User): Likewise.
2116 (Lookup Group): Likewise.
2118 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2120 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
2123 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
2126 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
2127 __builtin_unreachable for default case in switch.
2128 (__ieee754_yn): Likewise.
2129 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2130 (__ieee754_ynl): Likewise.
2131 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2132 (__ieee754_ynl): Likewise.
2133 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2134 (__ieee754_ynl): Likewise.
2136 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2138 * manual/maint.texi: Use @{ and @}.
2140 2019-01-04 Florian Weimer <fweimer@redhat.com>
2142 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
2144 (do_in_chroot_1): Call it.
2146 Improve error reporting in case it is not possible to create a
2147 collision for the PTY name required by the test.
2149 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2151 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
2152 lll_wait_tid with timeout.
2153 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
2154 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
2155 futex_reltimed_wait_cancelable for cancelabla mode.
2156 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
2157 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
2159 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
2160 * sysdeps/posix/waitid.c (__sigwait): Likewise.
2161 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
2162 SYSCALL_CANCEL_NCS): New macro.
2163 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
2164 (lll_timedwait_tid): Remove macro.
2165 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
2167 (lll_timedwait_tid): Likewise.
2168 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
2170 (lll_timedwait_tid): Likewise.
2171 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
2173 (lll_timedwait_tid): Likewise.
2174 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
2175 Use INTERNAL_SYSCALL_CANCEL.
2176 * sysdeps/unix/sysv/linux/futex-internal.h
2177 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
2178 instead of __pthread_{enable,disable}_asynccancel.
2179 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
2180 (lll_futex_wait_cancel): New macro.
2182 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
2183 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
2185 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
2186 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
2188 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
2189 in backtrace analysis.
2190 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
2192 (tf_send): Likewise.
2194 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
2195 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
2196 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
2197 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
2198 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
2199 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
2200 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
2201 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
2202 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
2203 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
2204 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
2205 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
2207 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
2208 tst-cancel-wrappers.sh.
2209 (generated): Remove tst-cancel-wrappers.out.
2210 (tst-cancel-wrappers.out): Remove rule.
2211 * nptl/tst-cancel-wrappers.sh: Remove file.
2213 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
2215 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
2216 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
2219 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2222 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
2223 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
2224 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
2225 close-on-exec reset for adddup2 file action.
2226 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
2228 2019-01-03 Zack Weinberg <zackw@panix.com>
2230 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
2231 parameter. Only use deprecated scanf when __USE_GNU is defined
2232 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
2233 than 201103L, whichever is relevant for the language being compiled.
2235 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
2236 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
2237 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
2238 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
2239 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
2243 * libio/iovswscanf.c
2248 * stdio-common/fscanf.c
2249 * stdio-common/scanf.c
2250 * stdio-common/vfscanf.c
2251 * stdio-common/vfwscanf.c
2252 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2253 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
2254 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
2255 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
2256 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
2257 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
2258 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
2259 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
2260 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
2261 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
2262 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
2263 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
2264 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
2265 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
2266 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
2268 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
2269 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
2270 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
2272 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
2273 with a preprocessor macro.
2275 * stdio-common/bug21.c, stdio-common/scanf14.c:
2276 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
2277 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2278 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
2279 to xscanf, xfscanf, xsscanf.
2281 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
2282 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2283 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
2284 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
2286 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
2287 override feature selection macros or provide definitions of u_char etc.
2288 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
2289 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
2290 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
2293 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2295 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2296 bits/termios-misc.h.
2297 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
2298 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2299 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2300 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2301 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
2302 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
2304 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
2305 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2306 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
2307 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
2308 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
2309 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
2311 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
2312 (sysdep_headers): Add termios-misc.h.
2314 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
2315 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2316 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2318 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2320 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
2321 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
2322 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
2323 TCSAFLUSH): Move to termios-tcflow.h.
2324 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2325 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2326 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2327 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2329 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2331 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
2332 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
2333 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
2334 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
2335 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
2336 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
2337 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
2338 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
2340 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2341 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2342 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2343 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2345 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2347 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
2348 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
2349 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
2350 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
2351 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
2353 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2354 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2355 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2356 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2359 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2361 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
2362 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
2363 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
2364 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
2365 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
2366 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
2367 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
2368 __MAX_BAUD): Move to termios-baud.h.
2369 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
2370 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
2371 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2372 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2373 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2375 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2377 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
2378 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
2379 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
2380 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
2381 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
2382 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
2384 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
2385 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
2387 [USE_MISC] (XTABS): Likewise.
2388 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2389 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2390 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2391 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
2393 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2395 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
2396 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
2397 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
2398 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
2399 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
2400 IUTF8): Move to termios-c_iflag.h.
2401 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2402 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2403 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2404 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2406 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2408 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
2409 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
2410 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
2411 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
2412 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
2413 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
2414 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
2415 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
2416 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2417 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2418 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2419 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2421 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
2422 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
2423 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
2424 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
2425 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2427 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
2429 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
2431 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
2433 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
2435 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
2437 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
2438 _HAVE_C_OSPEED): Define.
2439 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
2440 _HAVE_C_OSPEED): Likewise.
2441 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
2442 _HAVE_C_OSPEED): Likewise.
2443 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
2444 (cfsetospeed): Check for define value instead of existence.
2445 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
2446 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2447 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
2448 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2449 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
2452 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
2454 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2455 (TIOCSER_TEMT): Likewise.
2456 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
2457 (TEOCSER_TEMT): Likewise.
2459 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
2462 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
2464 2019-01-02 Joseph Myers <joseph@codesourcery.com>
2466 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
2468 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2470 * sysdeps/htl/pt-barrierattr-setpshared.c
2471 (pthread_barrierattr_setpshared): Add stub warning.
2472 * sysdeps/htl/pt-condattr-setpshared.c
2473 (pthread_condattr_setpshared): Likewise.
2474 * sysdeps/htl/pt-mutexattr-setpshared.c
2475 (pthread_mutexattr_setpshared): Likewise.
2476 * sysdeps/htl/pt-rwlockattr-setpshared.c
2477 (pthread_rwlockattr_setpshared): Likewise.
2478 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
2479 (pthread_mutexattr_setpshared): Likewise.
2481 2019-01-02 Joseph Myers <joseph@codesourcery.com>
2483 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
2484 constants to match with Linux 4.20.
2486 * sysdeps/mips/mips32/libm-test-ulps: Update.
2487 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2489 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
2492 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
2493 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
2494 than __typeof (...) for the a_ptr variable.
2496 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2498 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
2499 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
2500 * libio/Makefile (tests): Add tst-sprintf-ub and
2502 (CFLAGS-tst-sprintf-ub.c): New variable.
2503 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
2504 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
2505 destination buffer and check for overflows in fortified mode.
2506 * libio/libioP.h (PRINTF_CHK): New macro.
2507 * libio/tst-sprintf-chk-ub.c: New file.
2508 * libio/tst-sprintf-ub.c: Likewise.
2510 2019-01-02 Florian Weimer <fweimer@redhat.com>
2513 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
2516 2019-01-02 Florian Weimer <fweimer@redhat.com>
2518 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
2520 2019-01-01 Joseph Myers <joseph@codesourcery.com>
2522 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
2525 * sysdeps/unix/sysv/linux/netpacket/packet.h
2526 (PACKET_IGNORE_OUTGOING): New macro.
2528 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
2531 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2533 (riscv_flush_icache): New syscall.
2535 * manual/texinfo.tex: Update to version 2018-12-28.17 with
2536 trailing whitespace removed.
2537 * scripts/config.guess: Update to version 2019-01-01.
2538 * scripts/config.sub: Update to version 2019-01-01.
2539 * scripts/move-if-change: Update from gnulib.
2541 * NEWS: Update copyright dates.
2542 * catgets/gencat.c (print_version): Likewise.
2543 * csu/version.c (banner): Likewise.
2544 * debug/catchsegv.sh: Likewise.
2545 * debug/pcprofiledump.c (print_version): Likewise.
2546 * debug/xtrace.sh (do_version): Likewise.
2547 * elf/ldconfig.c (print_version): Likewise.
2548 * elf/ldd.bash.in: Likewise.
2549 * elf/pldd.c (print_version): Likewise.
2550 * elf/sotruss.sh: Likewise.
2551 * elf/sprof.c (print_version): Likewise.
2552 * iconv/iconv_prog.c (print_version): Likewise.
2553 * iconv/iconvconfig.c (print_version): Likewise.
2554 * locale/programs/locale.c (print_version): Likewise.
2555 * locale/programs/localedef.c (print_version): Likewise.
2556 * login/programs/pt_chown.c (print_version): Likewise.
2557 * malloc/memusage.sh (do_version): Likewise.
2558 * malloc/memusagestat.c (print_version): Likewise.
2559 * malloc/mtrace.pl: Likewise.
2560 * manual/libc.texinfo: Likewise.
2561 * nptl/version.c (banner): Likewise.
2562 * nscd/nscd.c (print_version): Likewise.
2563 * nss/getent.c (print_version): Likewise.
2564 * nss/makedb.c (print_version): Likewise.
2565 * posix/getconf.c (main): Likewise.
2566 * scripts/test-installation.pl: Likewise.
2567 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2569 * All files with FSF copyright notices: Update copyright dates
2570 using scripts/update-copyrights.
2571 * locale/programs/charmap-kw.h: Regenerated.
2572 * locale/programs/locfile-kw.h: Likewise.
2574 2018-12-31 Joseph Myers <joseph@codesourcery.com>
2576 * timezone/zdump.c: Update from tzcode 2018i.
2577 * timezone/zic.c: Likewise.
2579 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
2581 regex: improve Gnulib port to AIX
2582 From the glibc point of view, this removes duplicate macro
2583 definitions and is obviously safe.
2584 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
2585 * posix/regex_internal.h:
2586 (__attribute__, __attribute_warn_unused_result__):
2587 Remove; already defined elsewhere.
2589 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
2592 * malloc/malloc.c (_int_realloc): Always call memcpy for the
2593 copying operation. (ncopies had the wrong type, resulting in an
2594 integer wraparound and too few elements being copied.)
2596 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
2599 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
2600 <asm/syscalls.h> exists with __has_include__ before including it.
2602 2018-12-31 Joseph Myers <joseph@codesourcery.com>
2604 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2607 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
2609 * hurd/lookup-retry: Include <unistd.h>.
2610 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
2611 Release it on return. Handle "pid" magical lookup retry.
2613 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2616 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
2617 (t_fmt_ampm): Likewise.
2618 * localedata/locales/aa_ER (t_fmt): Likewise.
2619 (t_fmt_ampm): Likewise.
2620 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
2621 (t_fmt_ampm): Likewise.
2622 * localedata/locales/aa_ET (t_fmt): Likewise.
2623 (t_fmt_ampm): Likewise.
2624 * localedata/locales/am_ET (t_fmt): Likewise.
2625 (t_fmt_ampm): Likewise.
2626 * localedata/locales/byn_ER (t_fmt): Likewise.
2627 (t_fmt_ampm): Likewise.
2628 * localedata/locales/om_ET (t_fmt): Likewise.
2629 (t_fmt_ampm): Likewise.
2630 * localedata/locales/sid_ET (t_fmt): Likewise.
2631 (t_fmt_ampm): Likewise.
2632 * localedata/locales/so_DJ (t_fmt): Likewise.
2633 (t_fmt_ampm): Likewise.
2634 * localedata/locales/so_ET (t_fmt): Likewise.
2635 (t_fmt_ampm): Likewise.
2636 * localedata/locales/so_SO (t_fmt): Likewise.
2637 (t_fmt_ampm): Likewise.
2638 * localedata/locales/ti_ER (t_fmt): Likewise.
2639 (t_fmt_ampm): Likewise.
2640 * localedata/locales/ti_ET (t_fmt): Likewise.
2641 (t_fmt_ampm): Likewise.
2642 * localedata/locales/tig_ER (t_fmt): Likewise.
2643 (t_fmt_ampm): Likewise.
2644 * localedata/locales/wal_ET (t_fmt): Likewise.
2645 (t_fmt_ampm): Likewise.
2647 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
2648 * localedata/locales/ar_IN (t_fmt): Likewise.
2649 * localedata/locales/bhb_IN (t_fmt): Likewise.
2650 * localedata/locales/bho_IN (t_fmt): Likewise.
2651 * localedata/locales/bi_VU (t_fmt): Likewise.
2652 * localedata/locales/bn_BD (t_fmt): Likewise.
2653 * localedata/locales/bn_IN (t_fmt): Likewise.
2654 * localedata/locales/brx_IN (t_fmt): Likewise.
2655 * localedata/locales/doi_IN (t_fmt): Likewise.
2656 * localedata/locales/en_HK (t_fmt): Likewise.
2657 (t_fmt_ampm): Likewise.
2658 * localedata/locales/en_IN (t_fmt): Likewise.
2659 * localedata/locales/en_PH (t_fmt): Likewise.
2660 * localedata/locales/gu_IN (t_fmt): Likewise.
2661 * localedata/locales/hi_IN (t_fmt): Likewise.
2662 * localedata/locales/hif_FJ (t_fmt): Likewise.
2663 * localedata/locales/hne_IN (t_fmt): Likewise.
2664 * localedata/locales/kn_IN (t_fmt): Likewise.
2665 * localedata/locales/kok_IN (t_fmt): Likewise.
2666 * localedata/locales/ks_IN (t_fmt): Likewise.
2667 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
2668 * localedata/locales/mag_IN (t_fmt): Likewise.
2669 * localedata/locales/mai_IN (t_fmt): Likewise.
2670 * localedata/locales/mjw_IN (t_fmt): Likewise.
2671 * localedata/locales/ml_IN (t_fmt): Likewise.
2672 * localedata/locales/mni_IN (t_fmt): Likewise.
2673 * localedata/locales/mr_IN (t_fmt): Likewise.
2674 * localedata/locales/ms_MY (t_fmt): Likewise.
2675 * localedata/locales/pa_IN (t_fmt): Likewise.
2676 * localedata/locales/raj_IN (t_fmt): Likewise.
2677 * localedata/locales/sa_IN (t_fmt): Likewise.
2678 * localedata/locales/sat_IN (t_fmt): Likewise.
2679 * localedata/locales/sd_IN (t_fmt): Likewise.
2680 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
2681 * localedata/locales/tcy_IN (t_fmt): Likewise.
2682 * localedata/locales/the_NP (t_fmt): Likewise.
2683 * localedata/locales/to_TO (t_fmt): Likewise.
2684 * localedata/locales/ur_IN (t_fmt): Likewise.
2686 * localedata/locales/hif_FJ (d_t_fmt): Set to
2687 "%A %d %b %Y %I:%M:%S %p".
2688 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
2690 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
2691 * localedata/locales/ar_BH (t_fmt): Likewise.
2692 * localedata/locales/ar_DZ (t_fmt): Likewise.
2693 * localedata/locales/ar_EG (t_fmt): Likewise.
2694 * localedata/locales/ar_IQ (t_fmt): Likewise.
2695 * localedata/locales/ar_JO (t_fmt): Likewise.
2696 * localedata/locales/ar_KW (t_fmt): Likewise.
2697 * localedata/locales/ar_LB (t_fmt): Likewise.
2698 * localedata/locales/ar_LY (t_fmt): Likewise.
2699 * localedata/locales/ar_OM (t_fmt): Likewise.
2700 * localedata/locales/ar_QA (t_fmt): Likewise.
2701 * localedata/locales/ar_SD (t_fmt): Likewise.
2702 * localedata/locales/ar_SS (t_fmt): Likewise.
2703 * localedata/locales/ar_SY (t_fmt): Likewise.
2704 * localedata/locales/ar_TN (t_fmt): Likewise.
2705 * localedata/locales/ar_YE (t_fmt): Likewise.
2707 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
2708 (t_fmt_ampm): Likewise.
2709 * localedata/locales/gez_ET (t_fmt): Likewise.
2710 (t_fmt_ampm): Likewise.
2712 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
2713 (t_fmt_ampm): Likewise.
2714 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
2716 * localedata/locales/zh_HK (t_fmt):
2717 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
2719 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
2720 because this locale does not use the 12-hour clock.
2721 (t_fmt): Set to "%Z %H:%M:%S".
2722 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
2724 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
2725 because this locale does not use the 12-hour clock.
2726 (t_fmt): Set to "%H:%M:%S %Z".
2727 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
2729 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
2730 because this locale does not use the 12-hour clock.
2731 (t_fmt): Set to "%T".
2732 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
2733 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
2735 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
2736 because this locale does not use the 12-hour clock.
2737 (t_fmt): Set to "%H:%M:%S %Z".
2738 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
2740 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
2741 because this locale does not use the 12-hour clock.
2742 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
2743 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
2745 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2749 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
2750 (t_fmt_ampm): Likewise.
2751 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
2752 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
2753 (d_fmt): Set to "%-d.%-m.%y".
2755 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2757 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
2758 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
2759 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
2761 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
2762 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
2763 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
2765 * support/blob_repeat.c (check_mul_overflow_size_t,
2766 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
2768 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
2770 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
2772 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
2774 regex: simplify Gnulib port
2775 This simplifies the code, by removing stuff intended for porting
2776 to Gnulib but no longer needed there.
2777 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
2778 uses of libc_hidden_def, weak_alias.
2779 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
2780 _Restrict_ except for public-facing headers.
2781 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
2782 Remove; already defined elsewhere.
2783 * posix/regex.c, posix/regex_internal.h:
2784 Use __GNUC_PREREQ instead of rolling our own.
2785 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
2787 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
2789 * benchtests/bench-strlen.c (generic_strlen): New function.
2790 (memchr_strlen): New function.
2792 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2794 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
2795 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
2796 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
2798 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2800 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2802 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2804 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
2805 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
2806 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
2807 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
2808 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
2809 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
2810 <sysdeps/ieee754/flt-32/s_sincosf.c>.
2812 2018-12-21 Joseph Myers <joseph@codesourcery.com>
2815 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
2816 PLT reference in libc.so.
2817 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
2818 _Q_lltoq and _Q_qtod PLT references in libc.so.
2820 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
2822 * benchtests/bench-memchr.c: Cleanup defines.
2823 * benchtests/bench-memcmp.c: Likewise.
2824 * benchtests/bench-memset.c: Likewise.
2825 * benchtests/bench-memset-large.c: Likewise.
2826 * benchtests/bench-memset-walk.c: Likewise.
2827 * benchtests/bench-stpcpy.c: Likewise.
2828 * benchtests/bench-stpncpy.c: Likewise.
2829 * benchtests/bench-strcat.c: Likewise.
2830 * benchtests/bench-strchr.c: Likewise.
2831 * benchtests/bench-strcmp.c: Likewise.
2832 * benchtests/bench-strcpy.c: Likewise.
2833 * benchtests/bench-strcspn.c: Likewise.
2834 * benchtests/bench-string.h: Likewise.
2835 * benchtests/bench-strlen.c: Likewise.
2836 * benchtests/bench-strncat.c: Likewise.
2837 * benchtests/bench-strncmp.c: Likewise.
2838 * benchtests/bench-strncpy.c: Likewise.
2839 * benchtests/bench-strnlen.c: Likewise.
2840 * benchtests/bench-strpbrk.c: Likewise.
2841 * benchtests/bench-strrchr.c: Likewise.
2842 * benchtests/bench-strspn.c: Likewise.
2844 2018-12-21 Joseph Myers <joseph@codesourcery.com>
2846 * stdlib/longlong.h: Update from GCC.
2849 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
2850 * configure: Regenerated.
2851 * manual/install.texi (Tools for Compilation): Update minimum GCC
2853 * INSTALL: Regenerated.
2855 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
2857 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
2859 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
2861 * malloc/malloc.c (mremap_chunk): Additional checks.
2863 2018-12-21 Mao Han <han_mao@c-sky.com>
2865 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
2866 * scripts/build-many-glibcs.py: Add C-SKY targets.
2867 * sysdeps/csky/Implies: New file.
2868 * sysdeps/csky/Makefile: Likewise.
2869 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
2870 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
2871 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
2872 * sysdeps/csky/abiv2/memcmp.S: Likewise.
2873 * sysdeps/csky/abiv2/memcpy.S: Likewise.
2874 * sysdeps/csky/abiv2/memmove.S: Likewise.
2875 * sysdeps/csky/abiv2/memset.S: Likewise.
2876 * sysdeps/csky/abiv2/setjmp.S: Likewise.
2877 * sysdeps/csky/abiv2/start.S: Likewise.
2878 * sysdeps/csky/abiv2/strcmp.S: Likewise.
2879 * sysdeps/csky/abiv2/strcpy.S: Likewise.
2880 * sysdeps/csky/abiv2/strlen.S: Likewise.
2881 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
2882 * sysdeps/csky/abort-instr.h: Likewise.
2883 * sysdeps/csky/atomic-machine.h: Likewise.
2884 * sysdeps/csky/bits/endian.h: Likewise.
2885 * sysdeps/csky/bits/fenv.h: Likewise.
2886 * sysdeps/csky/bits/link.h: Likewise.
2887 * sysdeps/csky/bits/setjmp.h: Likewise.
2888 * sysdeps/csky/bsd-_setjmp.S: Likewise.
2889 * sysdeps/csky/bsd-setjmp.S: Likewise.
2890 * sysdeps/csky/configure: Likewise.
2891 * sysdeps/csky/configure.ac: Likewise.
2892 * sysdeps/csky/dl-machine.h: Likewise.
2893 * sysdeps/csky/dl-procinfo.c: Likewise.
2894 * sysdeps/csky/dl-procinfo.h: Likewise.
2895 * sysdeps/csky/dl-sysdep.h: Likewise.
2896 * sysdeps/csky/dl-tls.h: Likewise.
2897 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
2898 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
2899 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
2900 * sysdeps/csky/fpu/fegetenv.c: Likewise.
2901 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
2902 * sysdeps/csky/fpu/fegetmode.c: Likewise.
2903 * sysdeps/csky/fpu/fegetround.c: Likewise.
2904 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
2905 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
2906 * sysdeps/csky/fpu/fenv_private.h: Likewise.
2907 * sysdeps/csky/fpu/fesetenv.c: Likewise.
2908 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
2909 * sysdeps/csky/fpu/fesetmode.c: Likewise.
2910 * sysdeps/csky/fpu/fesetround.c: Likewise.
2911 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
2912 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
2913 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
2914 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
2915 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
2916 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
2917 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
2918 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
2919 * sysdeps/csky/fpu_control.h: Likewise.
2920 * sysdeps/csky/gccframe.h: Likewise.
2921 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
2922 * sysdeps/csky/ldsodefs.h: Likewise.
2923 * sysdeps/csky/libc-tls.c: Likewise.
2924 * sysdeps/csky/linkmap.h: Likewise.
2925 * sysdeps/csky/machine-gmon.h: Likewise.
2926 * sysdeps/csky/memusage.h: Likewise.
2927 * sysdeps/csky/nofpu/Implies: Likewise.
2928 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
2929 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
2930 * sysdeps/csky/nptl/Makefile: Likewise.
2931 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
2932 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
2933 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
2934 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
2935 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
2936 * sysdeps/csky/nptl/tls.h: Likewise.
2937 * sysdeps/csky/preconfigure: Likewise.
2938 * sysdeps/csky/sfp-machine.h: Likewise.
2939 * sysdeps/csky/sotruss-lib.c: Likewise.
2940 * sysdeps/csky/stackinfo.h: Likewise.
2941 * sysdeps/csky/sysdep.h: Likewise.
2942 * sysdeps/csky/tininess.h: Likewise.
2943 * sysdeps/csky/tst-audit.h: Likewise.
2944 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
2945 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
2946 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
2947 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
2948 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
2949 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
2950 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
2951 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
2952 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
2953 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
2954 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
2955 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
2956 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
2957 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
2958 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
2959 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
2960 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
2961 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
2962 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
2963 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
2964 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
2965 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
2966 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
2967 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
2968 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
2969 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
2970 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
2971 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
2972 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
2973 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
2974 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
2975 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
2976 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
2977 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
2978 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
2979 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
2980 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
2981 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
2982 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
2983 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
2984 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
2985 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
2986 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
2987 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
2989 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
2991 * include/time.h (__difftime64): Add.
2992 * time/difftime.c (subtract): convert to 64-bit time.
2993 * time/difftime.c (__difftime64): Add.
2994 * time/difftime.c (__difftime): Wrap around __difftime64.
2996 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
2998 * manual/examples/add.c: Remove redundant "if not".
2999 * manual/examples/argp-ex1.c: Likewise.
3000 * manual/examples/argp-ex2.c: Likewise.
3001 * manual/examples/argp-ex3.c: Likewise.
3002 * manual/examples/argp-ex4.c: Likewise.
3003 * manual/examples/atexit.c: Likewise.
3004 * manual/examples/db.c: Likewise.
3005 * manual/examples/dir.c: Likewise.
3006 * manual/examples/dir2.c: Likewise.
3007 * manual/examples/execinfo.c: Likewise.
3008 * manual/examples/filecli.c: Likewise.
3009 * manual/examples/filesrv.c: Likewise.
3010 * manual/examples/fmtmsgexpl.c: Likewise.
3011 * manual/examples/genpass.c: Likewise.
3012 * manual/examples/inetcli.c: Likewise.
3013 * manual/examples/inetsrv.c: Likewise.
3014 * manual/examples/isockad.c: Likewise.
3015 * manual/examples/longopt.c: Likewise.
3016 * manual/examples/memopen.c: Likewise.
3017 * manual/examples/memstrm.c: Likewise.
3018 * manual/examples/mkdirent.c: Likewise.
3019 * manual/examples/mkfsock.c: Likewise.
3020 * manual/examples/mkisock.c: Likewise.
3021 * manual/examples/mygetpass.c: Likewise.
3022 * manual/examples/pipe.c: Likewise.
3023 * manual/examples/popen.c: Likewise.
3024 * manual/examples/rprintf.c: Likewise.
3025 * manual/examples/search.c: Likewise.
3026 * manual/examples/select.c: Likewise.
3027 * manual/examples/setjmp.c: Likewise.
3028 * manual/examples/sigh1.c: Likewise.
3029 * manual/examples/sigusr.c: Likewise.
3030 * manual/examples/stpcpy.c: Likewise.
3031 * manual/examples/strdupa.c: Likewise.
3032 * manual/examples/strftim.c: Likewise.
3033 * manual/examples/subopt.c: Likewise.
3034 * manual/examples/swapcontext.c: Likewise.
3035 * manual/examples/termios.c: Likewise.
3036 * manual/examples/testopt.c: Likewise.
3037 * manual/examples/testpass.c: Likewise.
3038 * manual/examples/timeval_subtract.c: Likewise.
3040 2018-12-19 Joseph Myers <joseph@codesourcery.com>
3042 * sysdeps/x86/fpu/math_private.h: New file.
3043 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
3045 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
3050 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3052 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
3053 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
3054 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
3055 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
3057 (_dl_show_auxv): Give a special treatment to
3058 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
3059 and AT_L3_CACHEGEOMETRY.
3060 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
3061 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
3062 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
3063 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
3065 2018-12-19 Andreas Schwab <schwab@suse.de>
3067 * nscd/connections.c (check_use): Don't abort on invalid len.
3069 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
3071 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
3072 values in the 64bit value cases.
3074 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
3080 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
3086 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
3089 (__gmtime64_r): Add.
3091 (__gmtime64_r): Add.
3092 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3098 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3101 (__localtime64_r): Add.
3103 (__localtime64_r): Add.
3104 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
3106 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3108 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
3109 kernel_sigction definition.
3111 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
3113 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
3115 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
3116 __syscall_rt_sigaction.
3117 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
3118 (kernel_sigaction): Use Linux generic defintion.
3120 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
3121 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
3122 (__syscall_rt_sigaction): Remove implementation.
3123 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
3125 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
3126 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
3127 INTERNAL_SYSCALL): Remove definitions.
3128 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
3129 action and signal set size.
3130 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
3131 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
3133 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3134 James Clarke <jrtc27@jrtc27.com>
3137 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
3138 Define if SA_RESTORER is defined.
3139 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
3140 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
3142 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
3143 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
3145 (HAS_SA_RESTORER): Define.
3146 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
3147 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
3148 (HAS_SA_RESTORER): Define.
3149 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
3150 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
3151 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
3152 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
3153 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3155 2018-12-18 Joseph Myers <joseph@codesourcery.com>
3157 * sysdeps/unix/sysv/linux/kernel-features.h
3158 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
3159 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3160 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
3161 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3162 (__ASSUME_ST_INO_64_BIT): Likewise.
3163 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3164 <kernel-features.h>.
3165 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3166 Remove conditional code.
3167 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3168 <kernel-features.h>.
3169 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3170 Remove conditional code.
3171 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
3172 <kernel-features.h>.
3173 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3174 Remove conditional code.
3175 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
3176 <kernel-features.h>.
3177 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
3178 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
3180 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3182 * sysdeps/s390/multiarch/ifunc-resolve.h
3183 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
3184 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
3185 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
3186 Delete macro definition.
3187 (s390_libc_ifunc_init): Rename to
3188 s390_libc_ifunc_expr_stfle_init.
3189 * sysdeps/s390/bzero: Use
3190 s390_libc_ifunc_expr_stfle_init instead of
3191 s390_libc_ifunc_init.
3192 * sysdeps/s390/memcmp.c: Likewise.
3193 * sysdeps/s390/memcpy.c: Likewise.
3194 * sysdeps/s390/mempcpy.c: Likewise.
3195 * sysdeps/s390/memset.c: Likewise.
3197 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3199 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
3200 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
3202 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3204 * sysdeps/s390/multiarch/Makefile
3205 (sysdep_routines): Remove wmemcmp variants.
3206 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
3207 * sysdeps/s390/multiarch/ifunc-impl-list.c
3208 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
3209 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
3210 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
3211 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
3212 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
3213 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
3214 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
3215 * sysdeps/s390/ifunc-wmemcmp.h: New file.
3217 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3219 * sysdeps/s390/multiarch/Makefile
3220 (sysdep_routines): Remove wmemset variants.
3221 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
3222 * sysdeps/s390/multiarch/ifunc-impl-list.c
3223 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
3224 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
3225 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
3226 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
3227 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
3228 * sysdeps/s390/multiarch/wmemset.c: Move to ...
3229 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
3230 * sysdeps/s390/ifunc-wmemset.h: New file.
3232 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3234 * sysdeps/s390/multiarch/Makefile
3235 (sysdep_routines): Remove wmemchr variants.
3236 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
3237 * sysdeps/s390/multiarch/ifunc-impl-list.c
3238 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
3239 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
3240 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
3241 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
3242 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
3243 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
3244 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
3245 * sysdeps/s390/ifunc-wmemchr.h: New file.
3247 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3249 * sysdeps/s390/multiarch/Makefile
3250 (sysdep_routines): Remove wcscspn variants.
3251 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
3252 * sysdeps/s390/multiarch/ifunc-impl-list.c
3253 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
3254 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
3255 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
3256 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
3257 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
3258 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
3259 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
3260 * sysdeps/s390/ifunc-wcscspn.h: New file.
3262 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3264 * sysdeps/s390/multiarch/Makefile
3265 (sysdep_routines): Remove wcspbrk variants.
3266 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
3267 * sysdeps/s390/multiarch/ifunc-impl-list.c
3268 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
3269 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
3270 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
3271 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
3272 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
3273 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
3274 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
3275 * sysdeps/s390/ifunc-wcspbrk.h: New file.
3277 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3279 * sysdeps/s390/multiarch/Makefile
3280 (sysdep_routines): Remove wcsspn variants.
3281 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
3282 * sysdeps/s390/multiarch/ifunc-impl-list.c
3283 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
3284 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
3285 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
3286 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
3287 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
3288 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
3289 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
3290 * sysdeps/s390/ifunc-wcsspn.h: New file.
3292 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3294 * sysdeps/s390/multiarch/Makefile
3295 (sysdep_routines): Remove wcsrchr variants.
3296 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
3297 * sysdeps/s390/multiarch/ifunc-impl-list.c
3298 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
3299 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
3300 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
3301 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
3302 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
3303 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
3304 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
3305 * sysdeps/s390/ifunc-wcsrchr.h: New file.
3307 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3309 * sysdeps/s390/multiarch/Makefile
3310 (sysdep_routines): Remove wcschrnul variants.
3311 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
3312 * sysdeps/s390/multiarch/ifunc-impl-list.c
3313 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
3314 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
3315 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
3316 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
3317 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
3318 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
3319 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
3320 * sysdeps/s390/ifunc-wcschrnul.h: New file.
3322 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3324 * sysdeps/s390/multiarch/Makefile
3325 (sysdep_routines): Remove wcschr variants.
3326 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
3327 * sysdeps/s390/multiarch/ifunc-impl-list.c
3328 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
3329 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
3330 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
3331 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
3332 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
3333 * sysdeps/s390/multiarch/wcschr.c: Move to ...
3334 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
3335 * sysdeps/s390/ifunc-wcschr.h: New file.
3337 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3339 * sysdeps/s390/multiarch/Makefile
3340 (sysdep_routines): Remove wcsncmp variants.
3341 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
3342 * sysdeps/s390/multiarch/ifunc-impl-list.c
3343 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
3344 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
3345 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
3346 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
3347 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
3348 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
3349 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
3350 * sysdeps/s390/ifunc-wcsncmp.h: New file.
3352 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3354 * sysdeps/s390/multiarch/Makefile
3355 (sysdep_routines): Remove wcscmp variants.
3356 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
3357 * sysdeps/s390/multiarch/ifunc-impl-list.c
3358 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
3359 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
3360 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
3361 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
3362 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
3363 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
3364 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
3365 * sysdeps/s390/ifunc-wcscmp.h: New file.
3367 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3369 * sysdeps/s390/multiarch/Makefile
3370 (sysdep_routines): Remove wcsncat variants.
3371 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
3372 * sysdeps/s390/multiarch/ifunc-impl-list.c
3373 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
3374 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
3375 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
3376 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
3377 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
3378 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
3379 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
3380 * sysdeps/s390/ifunc-wcsncat.h: New file.
3382 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3384 * sysdeps/s390/multiarch/Makefile
3385 (sysdep_routines): Remove wcscat variants.
3386 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
3387 * sysdeps/s390/multiarch/ifunc-impl-list.c
3388 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
3389 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
3390 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
3391 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
3392 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
3393 * sysdeps/s390/multiarch/wcscat.c: Move to ...
3394 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
3395 * sysdeps/s390/ifunc-wcscat.h: New file.
3397 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3399 * sysdeps/s390/multiarch/Makefile
3400 (sysdep_routines): Remove wcpncpy variants.
3401 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
3402 * sysdeps/s390/multiarch/ifunc-impl-list.c
3403 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
3404 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
3405 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
3406 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
3407 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
3408 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
3409 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
3410 * sysdeps/s390/ifunc-wcpncpy.h: New file.
3412 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3414 * sysdeps/s390/multiarch/Makefile
3415 (sysdep_routines): Remove wcsncpy variants.
3416 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
3417 * sysdeps/s390/multiarch/ifunc-impl-list.c
3418 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
3419 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
3420 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
3421 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
3422 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
3423 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
3424 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
3425 * sysdeps/s390/ifunc-wcsncpy.h: New file.
3427 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3429 * sysdeps/s390/multiarch/Makefile
3430 (sysdep_routines): Remove wcpcpy variants.
3431 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
3432 * sysdeps/s390/multiarch/ifunc-impl-list.c
3433 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
3434 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
3435 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
3436 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
3437 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
3438 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
3439 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
3440 * sysdeps/s390/ifunc-wcpcpy.h: New file.
3442 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3444 * sysdeps/s390/multiarch/Makefile
3445 (sysdep_routines): Remove wcscpy variants.
3446 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
3447 * sysdeps/s390/multiarch/ifunc-impl-list.c
3448 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
3449 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
3450 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
3451 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
3452 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
3453 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
3454 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
3455 * sysdeps/s390/ifunc-wcscpy.h: New file.
3457 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3459 * sysdeps/s390/multiarch/Makefile
3460 (sysdep_routines): Remove wcsnlen variants.
3461 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
3462 * sysdeps/s390/multiarch/ifunc-impl-list.c
3463 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
3464 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
3465 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
3466 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
3467 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
3468 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
3469 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
3470 * sysdeps/s390/ifunc-wcsnlen.h: New file.
3472 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3474 * sysdeps/s390/multiarch/Makefile
3475 (sysdep_routines): Remove wcslen variants.
3476 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
3477 * sysdeps/s390/multiarch/ifunc-impl-list.c
3478 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
3479 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
3480 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
3481 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
3482 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
3483 * sysdeps/s390/multiarch/wcslen.c: Move to ...
3484 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
3485 * sysdeps/s390/ifunc-wcslen.h: New file.
3487 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3489 * sysdeps/s390/multiarch/Makefile
3490 (sysdep_routines): Remove memrchr variants.
3491 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
3492 * sysdeps/s390/multiarch/ifunc-impl-list.c
3493 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
3494 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
3495 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
3496 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
3497 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
3498 * sysdeps/s390/multiarch/memrchr.c: Move to ...
3499 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
3500 * sysdeps/s390/ifunc-memrchr.h: New file.
3502 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3504 * sysdeps/s390/multiarch/Makefile
3505 (sysdep_routines): Remove memccpy variants.
3506 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
3507 * sysdeps/s390/multiarch/ifunc-impl-list.c
3508 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
3509 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
3510 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
3511 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
3512 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
3513 * sysdeps/s390/multiarch/memccpy.c: Move to ...
3514 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
3515 * sysdeps/s390/ifunc-memccpy.h: New file.
3517 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3519 * sysdeps/s390/multiarch/Makefile
3520 (sysdep_routines): Remove rawmemchr variants.
3521 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
3522 * sysdeps/s390/multiarch/ifunc-impl-list.c
3523 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
3524 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
3525 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
3526 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
3527 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
3528 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
3529 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
3530 * sysdeps/s390/ifunc-rawmemchr.h: New file.
3532 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3534 * sysdeps/s390/multiarch/Makefile
3535 (sysdep_routines): Remove memchr variants.
3536 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
3537 * sysdeps/s390/multiarch/ifunc-impl-list.c
3538 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
3539 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
3540 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
3541 * sysdeps/s390/multiarch/memchr.c: Move to ...
3542 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
3543 * sysdeps/s390/ifunc-memchr.h: New file.
3544 * sysdeps/s390/s390-64/memchr.S: Move to ...
3545 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
3546 for 31/64bit and ifunc handling.
3547 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
3548 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
3549 * sysdeps/s390/s390-32/memchr.S: Likewise.
3551 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3553 * sysdeps/s390/multiarch/Makefile
3554 (sysdep_routines): Remove strcspn variants.
3555 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
3556 * sysdeps/s390/multiarch/ifunc-impl-list.c
3557 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
3558 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
3559 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
3560 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
3561 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
3562 * sysdeps/s390/multiarch/strcspn.c: Move to ...
3563 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
3564 * sysdeps/s390/ifunc-strcspn.h: New file.
3566 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3568 * sysdeps/s390/multiarch/Makefile
3569 (sysdep_routines): Remove strpbrk variants.
3570 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
3571 * sysdeps/s390/multiarch/ifunc-impl-list.c
3572 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
3573 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
3574 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
3575 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
3576 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
3577 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
3578 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
3579 * sysdeps/s390/ifunc-strpbrk.h: New file.
3581 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3583 * sysdeps/s390/multiarch/Makefile
3584 (sysdep_routines): Remove strspn variants.
3585 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
3586 * sysdeps/s390/multiarch/ifunc-impl-list.c
3587 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
3588 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
3589 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
3590 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
3591 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
3592 * sysdeps/s390/multiarch/strspn.c: Move to ...
3593 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
3594 * sysdeps/s390/ifunc-strspn.h: New file.
3596 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3598 * sysdeps/s390/multiarch/Makefile
3599 (sysdep_routines): Remove strrchr variants.
3600 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
3601 * sysdeps/s390/multiarch/ifunc-impl-list.c
3602 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
3603 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
3604 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
3605 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
3606 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
3607 * sysdeps/s390/multiarch/strrchr.c: Move to ...
3608 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
3609 * sysdeps/s390/ifunc-strrchr.h: New file.
3611 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3613 * sysdeps/s390/multiarch/Makefile
3614 (sysdep_routines): Remove strchrnul variants.
3615 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
3616 * sysdeps/s390/multiarch/ifunc-impl-list.c
3617 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
3618 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
3619 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
3620 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
3621 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
3622 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
3623 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
3624 * sysdeps/s390/ifunc-strchrnul.h: New file.
3626 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3628 * sysdeps/s390/multiarch/Makefile
3629 (sysdep_routines): Remove strchr variants.
3630 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
3631 * sysdeps/s390/multiarch/ifunc-impl-list.c
3632 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
3633 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
3634 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
3635 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
3636 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
3637 * sysdeps/s390/multiarch/strchr.c: Move to ...
3638 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
3639 * sysdeps/s390/ifunc-strchr.h: New file.
3641 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3643 * sysdeps/s390/multiarch/Makefile
3644 (sysdep_routines): Remove strncmp variants.
3645 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
3646 * sysdeps/s390/multiarch/ifunc-impl-list.c
3647 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
3648 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
3649 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
3650 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
3651 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
3652 * sysdeps/s390/multiarch/strncmp.c: Move to ...
3653 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
3654 * sysdeps/s390/ifunc-strncmp.h: New file.
3656 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3658 * sysdeps/s390/multiarch/Makefile
3659 (sysdep_routines): Remove strcmp variants.
3660 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
3661 * sysdeps/s390/multiarch/ifunc-impl-list.c
3662 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
3663 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
3664 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
3665 * sysdeps/s390/multiarch/strcmp.c: Move to ...
3666 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
3667 * sysdeps/s390/ifunc-strcmp.h: New file.
3668 * sysdeps/s390/s390-64/strcmp.S: Move to ...
3669 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
3670 for 31/64bit and ifunc handling.
3671 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
3672 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
3673 * sysdeps/s390/s390-32/strcmp.S: Likewise.
3675 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3677 * sysdeps/s390/multiarch/Makefile
3678 (sysdep_routines): Remove strncat variants.
3679 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
3680 * sysdeps/s390/multiarch/ifunc-impl-list.c
3681 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
3682 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
3683 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
3684 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
3685 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
3686 * sysdeps/s390/multiarch/strncat.c: Move to ...
3687 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
3688 * sysdeps/s390/ifunc-strncat.h: New file.
3690 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3692 * sysdeps/s390/multiarch/Makefile
3693 (sysdep_routines): Remove strcat variants.
3694 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
3695 * sysdeps/s390/multiarch/ifunc-impl-list.c
3696 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
3697 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
3698 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
3699 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
3700 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
3701 * sysdeps/s390/multiarch/strcat.c: Move to ...
3702 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
3703 * sysdeps/s390/ifunc-strcat.h: New file.
3705 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3707 * sysdeps/s390/multiarch/Makefile
3708 (sysdep_routines): Remove stpncpy variants.
3709 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
3710 * sysdeps/s390/multiarch/ifunc-impl-list.c
3711 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
3712 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
3713 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
3714 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
3715 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
3716 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
3717 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
3718 * sysdeps/s390/ifunc-stpncpy.h: New file.
3720 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3722 * sysdeps/s390/multiarch/Makefile
3723 (sysdep_routines): Remove strncpy variants.
3724 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
3725 * sysdeps/s390/multiarch/ifunc-impl-list.c
3726 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
3727 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
3728 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
3729 * sysdeps/s390/multiarch/strncpy.c: Move to ...
3730 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
3731 * sysdeps/s390/ifunc-strncpy.h: New file.
3732 * sysdeps/s390/s390-64/strncpy.S: Move to ...
3733 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
3734 and adjust ifunc handling.
3735 * sysdeps/s390/s390-32/strncpy.S: Move to ...
3736 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
3737 and adjust ifunc handling.
3738 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
3739 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
3741 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3743 * sysdeps/s390/multiarch/Makefile
3744 (sysdep_routines): Remove stpcpy variants.
3745 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
3746 * sysdeps/s390/multiarch/ifunc-impl-list.c
3747 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
3748 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
3749 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
3750 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
3751 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
3752 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
3753 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
3754 * sysdeps/s390/ifunc-stpcpy.h: New file.
3756 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3758 * sysdeps/s390/multiarch/Makefile
3759 (sysdep_routines): Remove strcpy variants.
3760 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
3761 * sysdeps/s390/multiarch/ifunc-impl-list.c
3762 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
3763 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
3764 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
3765 * sysdeps/s390/multiarch/strcpy.c: Move to ...
3766 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
3767 * sysdeps/s390/ifunc-strcpy.h: New file.
3768 * sysdeps/s390/s390-64/strcpy.S: Move to ...
3769 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
3770 for 31/64bit and ifunc handling.
3771 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
3772 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
3773 * sysdeps/s390/s390-32/strcpy.S: Likewise.
3775 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3777 * sysdeps/s390/multiarch/Makefile
3778 (sysdep_routines): Remove strnlen variants.
3779 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
3780 * sysdeps/s390/multiarch/ifunc-impl-list.c
3781 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
3782 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
3783 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
3784 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
3785 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
3786 * sysdeps/s390/multiarch/strnlen.c: Move to ...
3787 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
3788 * sysdeps/s390/ifunc-strnlen.h: New file.
3790 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3792 * sysdeps/s390/multiarch/Makefile
3793 (sysdep_routines): Remove strlen variants.
3794 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
3795 * sysdeps/s390/multiarch/ifunc-impl-list.c
3796 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
3797 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
3798 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
3799 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
3800 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
3801 * sysdeps/s390/multiarch/strlen.c: Move to ...
3802 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
3803 * sysdeps/s390/ifunc-strlen.h: New file.
3805 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3807 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
3808 * sysdeps/s390/multiarch/ifunc-impl-list.c
3809 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
3810 * sysdeps/s390/ifunc-memmem.h: New file.
3811 * sysdeps/s390/memmem.c: Likewise.
3812 * sysdeps/s390/memmem-c.c: Likewise.
3813 * sysdeps/s390/memmem-vx.c: Likewise.
3815 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3817 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
3818 * sysdeps/s390/multiarch/ifunc-impl-list.c
3819 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
3820 * sysdeps/s390/ifunc-strstr.h: New file.
3821 * sysdeps/s390/strstr.c: Likewise.
3822 * sysdeps/s390/strstr-c.c: Likewise.
3823 * sysdeps/s390/strstr-vx.c: Likewise.
3825 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3827 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
3828 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
3829 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
3830 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
3832 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
3833 * sysdeps/s390/memmove-c.c: New file.
3834 * sysdeps/s390/memmove.c: Likewise.
3835 * sysdeps/s390/multiarch/ifunc-impl-list.c
3836 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
3838 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3840 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
3841 * sysdeps/s390/configure.ac: Add check for z13 support.
3842 * sysdeps/s390/configure: Regenerated.
3844 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3846 * sysdeps/s390/memcopy.h: New file.
3848 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3850 * sysdeps/s390/s390-32/bcopy.S: Remove.
3851 * sysdeps/s390/s390-64/bcopy.S: Likewise.
3853 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3855 * sysdeps/s390/ifunc-memcpy.h: New File.
3856 * sysdeps/s390/memcpy.S: Move to ...
3857 * sysdeps/s390/memcpy-z900.S ... here.
3858 Move implementations from memcpy-s390x.s to here.
3859 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
3860 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3861 Remove memcpy/mempcpy variants.
3862 * sysdeps/s390/Makefile (sysdep_routines):
3863 Add memcpy/mempcpy variants.
3864 * sysdeps/s390/multiarch/ifunc-impl-list.c
3865 (__libc_ifunc_impl_list): Adjust ifunc variants for
3867 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
3869 * sysdeps/s390/memcpy.c: ... here.
3870 Adjust ifunc variants for memcpy.
3871 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
3872 * sysdeps/s390/mempcpy.c: ... here.
3873 Adjust ifunc variants for mempcpy.
3874 * sysdeps/s390/mempcpy.S: Delete file.
3876 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3878 * sysdeps/s390/s390-64/memcpy.S: Move to ...
3879 * sysdeps/s390/memcpy.S: ... here.
3880 Adjust to be usable for 31/64bit.
3881 * sysdeps/s390/s390-32/memcpy.S: Delete File.
3882 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
3883 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
3884 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3885 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
3886 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
3887 Adjust to be usable for 31/64bit.
3888 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
3889 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
3890 * sysdeps/s390/multiarch/memcpy.c: ... here.
3891 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
3893 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3895 * sysdeps/s390/ifunc-memcmp.h: New File.
3896 * sysdeps/s390/memcmp.S: Move to ...
3897 * sysdeps/s390/memcmp-z900.S ... here.
3898 Move implementations from memcmp-s390x.s to here.
3899 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
3900 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3901 Remove memcmp variants.
3902 * sysdeps/s390/Makefile (sysdep_routines):
3903 Add memcmp variants.
3904 * sysdeps/s390/multiarch/ifunc-impl-list.c
3905 (__libc_ifunc_impl_list): Adjust ifunc variants for
3907 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
3909 * sysdeps/s390/memcmp.c: ... here.
3910 Adjust ifunc variants for memcmp.
3912 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3914 * sysdeps/s390/s390-64/memcmp.S: Move to ...
3915 * sysdeps/s390/memcmp.S: ... here.
3916 Adjust to be usable for 31/64bit.
3917 * sysdeps/s390/s390-32/memcmp.S: Delete File.
3918 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
3919 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3921 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3922 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
3923 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
3924 Adjust to be usable for 31/64bit.
3925 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
3926 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
3927 * sysdeps/s390/multiarch/memcmp.c: ... here.
3928 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
3930 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3932 * sysdeps/s390/s390-32/bzero.S: Delete file.
3933 * sysdeps/s390/s390-64/bzero.S: Likewise.
3934 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
3935 * sysdeps/s390/bzero.c: New file.
3936 * sysdeps/s390/memset-z900.S: Add bzero entry points.
3937 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
3938 * sysdeps/s390/multiarch/ifunc-impl-list.c
3939 (__libc_ifunc_impl_list): Add bzero ifunc variants.
3941 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3943 * sysdeps/s390/ifunc-memset.h: New File.
3944 * sysdeps/s390/memset.S: Move to ...
3945 * sysdeps/s390/memset-z900.S ... here.
3946 Move implementations from memset-s390x.s to here.
3947 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
3948 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3949 Remove memset variants.
3950 * sysdeps/s390/Makefile (sysdep_routines):
3951 Add memset variants.
3952 * sysdeps/s390/multiarch/ifunc-impl-list.c
3953 (__libc_ifunc_impl_list): Adjust ifunc variants for
3955 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
3957 * sysdeps/s390/memset.c: ... here.
3958 Adjust ifunc variants for memset.
3960 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3962 * sysdeps/s390/s390-64/memset.S: Move to ...
3963 * sysdeps/s390/memset.S: ... here.
3964 Adjust to be usable for 31/64bit.
3965 * sysdeps/s390/s390-32/memset.S: Delete File.
3966 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
3967 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3969 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3970 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
3971 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
3972 Adjust to be usable for 31/64bit.
3973 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
3974 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
3975 * sysdeps/s390/multiarch/memset.c: ... here.
3976 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
3978 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3980 * sysdeps/s390/multiarch/ifunc-resolve.h
3981 (s390_libc_ifunc_init, s390_libc_ifunc,
3982 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
3984 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3986 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
3987 * sysdeps/s390/configure.ac: Add check for z10 support.
3988 * sysdeps/s390/configure: Regenerated.
3990 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
3992 * sysdeps/i386/atomic-machine.h: Merged with ...
3993 * sysdeps/x86_64/atomic-machine.h: To ...
3994 * sysdeps/x86/atomic-machine.h: This. New file.
3996 2018-12-18 Florian Weimer <fweimer@redhat.com>
3998 Rewrite locale/gen-translit.pl in Python.
3999 * locale/Makefile (generated): Add C-translit.h.
4000 (before-compile): Add $(objpfx)C-translit.h.
4001 (C-translit.h): Move to $(objpfx). Create target directory.
4002 Build using Python script.
4003 * locale/gen-translit.py: New file.
4004 * locale/gen-translit.pl: Remove file.
4005 * locale/C-translit.h.in: Change comment character to '#' for
4006 easier parsing without a C preprocessor.
4007 * locale/C-translit.h: Remove generated file.
4008 * manual/install.texi (Tools for Compilation): Do not mention
4010 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
4011 Remove locale/C-translit.h.
4012 * scripts/update-copyrights: Likewise.
4013 * INSTALL: Regenerate.
4015 2018-12-18 Florian Weimer <fweimer@redhat.com>
4018 * localedata/locales/bi_VU: Remove executable bit from file.
4020 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
4023 (__localtime64): Add.
4024 * manual/maint.texi: Document Y2038 symbol handling.
4026 (__localtime64): Add.
4027 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
4029 2018-12-17 Joseph Myers <joseph@codesourcery.com>
4031 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
4034 * scripts/glibcextract.py (compare_macro_consts): Take parameters
4035 to allow extra macros from first or second sources.
4036 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
4037 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4038 (tests-special): Add $(objpfx)tst-mman-consts.out.
4039 ($(objpfx)tst-mman-consts.out): New makefile target.
4041 2018-12-17 Mao Han <han_mao@c-sky.com>
4043 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
4044 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
4045 without stat64 system call support.
4046 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
4047 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
4048 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4049 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
4050 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
4051 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
4052 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
4053 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
4054 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
4055 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
4056 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
4058 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
4060 regex: fix storage-exhaustion error
4062 * posix/regexec.c (get_subexp):
4063 Do not continue if storage is exhausted.
4065 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
4067 regex: fix heap-use-after-free error
4069 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
4070 https://debbugs.gnu.org/32592
4071 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
4072 call extend_buffers which reallocates the re_string_t internal buffer.
4073 Local variable 'buf' was not updated in such case, resulting in
4075 * posix/regexec.c (get_subexp): Update 'buf' after call to
4078 2018-12-15 Florian Weimer <fweimer@redhat.com>
4080 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
4081 (minimum_stride_size): Use it.
4082 (support_blob_repeat_allocate): Likewise.
4084 2018-12-14 Joseph Myers <joseph@codesourcery.com>
4086 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
4091 2018-12-14 Florian Weimer <fweimer@redhat.com>
4093 * manual/process.texi (Process Creation Concepts): Remove
4094 documentation of process (ID) lifetime. List more process
4095 creation functions. Reference Process Identification section.
4096 (Process Identification): Add information about process ID
4097 lifetime. Describe Linux thread/task IDs.
4098 * manual/signal.texi (Signaling Another Process): Mention that the
4099 signal is always sent to the process.
4101 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4103 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
4104 and tst-ldbl-efgcvt.
4105 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
4106 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
4107 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
4108 (fcvt_tests, output_error, output_r_error, do_test): Use the
4109 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
4110 select the type of floating-point variables and arguments; to
4111 produce extra tests for double and conversion specifiers for
4112 printf; and to set the names of called functions.
4113 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
4114 in tst-efgcvt-template.c.
4115 * misc/tst-ldbl-efgcvt.c: Likewise.
4117 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
4119 * nss/Makefile (tst-nss-test3.out): New rule.
4121 2018-12-13 Joseph Myers <joseph@codesourcery.com>
4123 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
4126 2018-12-13 fanjinke <fanjinke@hygon.cn>
4128 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
4131 2018-12-13 Andreas Schwab <schwab@suse.de>
4134 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
4135 (__pthread_rwlock_rdlock_full): Update expected value for
4136 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
4137 * nptl/tst-rwlock-pwn.c: New file.
4138 * nptl/Makefile (tests): Add tst-rwlock-pwn.
4140 2018-12-12 Joseph Myers <joseph@codesourcery.com>
4142 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
4145 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4147 * benchtests/scripts/compare_bench.py (do_compare): write to
4148 stderr in casestat is not present.
4149 * benchtests/scripts/compare_bench.py (plot_graphs): write to
4150 stderr in case timings field is not present. Also string showing
4151 the output filename goes into the stderr.
4153 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4155 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
4156 and ZeroDivisorError exceptions.
4157 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
4158 argument to loop through user provided statistics.
4159 * benchtests/scripts/compare_bench.py (main): Include the --stats
4162 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4164 * benchtests/scripts/compare_bench.py (compare_runs): Continue
4167 2018-12-12 Florian Weimer <fweimer@redhat.com>
4169 * sysdeps/posix/timespec_get.c: Add missing “any later version”
4170 clause to copyright header.
4172 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4175 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
4176 registers saved in the stack frame.
4177 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
4178 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
4180 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4182 * include/bits/monetary-ldbl.h: New file.
4183 * include/bits/printf-ldbl.h: Likewise.
4184 * include/bits/stdio-ldbl.h: Likewise.
4185 * include/bits/stdlib-ldbl.h: Likewise.
4186 * include/bits/syslog-ldbl.h: Likewise.
4187 * include/bits/wchar-ldbl.h: Likewise.
4189 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4191 * libio/libio.h: Remove redirection for _IO_vfprintf.
4193 2018-12-11 Andreas Schwab <schwab@suse.de>
4195 * Makerules: Remove all references to abilist-pattern.
4196 (update-all-abi): Simplify find expression.
4198 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
4201 * math/auto-libm-test-in: Add new test case.
4202 * math/auto-libm-test-out-pow: Regenerated.
4203 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
4205 2018-12-10 DJ Delorie <dj@redhat.com>
4208 * support/test-container.c: Move postclean step to before we
4211 2018-12-10 Joseph Myers <joseph@codesourcery.com>
4213 * scripts/gen-as-const.py (main): Handle --python option.
4214 * scripts/gen-py-const.awk: Remove.
4215 * Makerules (py-const-script): Use gen-as-const.py.
4216 ($(py-const)): Likewise.
4217 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
4218 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
4219 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
4220 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
4221 ~PTHREAD_MUTEX_NO_ELISION_NP.
4222 * manual/README.pretty-printers: Update reference to
4225 * scripts/glibcextract.py: New file.
4226 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
4227 or tempfile. Import glibcexctract.
4228 (compute_c_consts): Remove. Moved to glibcextract.py.
4229 (gen_test): Update reference to compute_c_consts.
4231 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
4232 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
4233 * sysdeps/unix/sysv/linux/Makefile
4234 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
4235 Redirect stderr as well as stdout.
4237 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
4240 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
4241 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
4242 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
4243 ALWAYS_USE_VSYSCALL.
4244 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
4245 ALWAYS_USE_VSYSCALL.
4246 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
4247 ALWAYS_USE_VSYSCALL.
4249 2018-12-10 Florian Weimer <fweimer@redhat.com>
4252 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
4253 offset instead of count for clarity. Fix typo in comment.
4254 (__old_getdents64): Keep track of previous offset. Use it to call
4256 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
4257 that d_off is never zero.
4259 2018-12-10 Andreas Schwab <schwab@suse.de>
4261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
4262 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
4263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
4264 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
4265 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
4267 2018-12-10 Joseph Myers <joseph@codesourcery.com>
4269 * timezone/private.h: Update from tzcode 2018g.
4270 * timezone/tzfile.h: Likewise.
4271 * timezone/tzselect.ksh: Likewise.
4272 * timezone/zdump.c: Likewise.
4273 * timezone/zic.c: Likewise.
4275 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4278 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
4279 (do_test): Adjust buffer size and fix format.
4281 2018-12-07 DJ Delorie <dj@redhat.com>
4284 * malloc/tst-tcfree3.c: New.
4285 * malloc/Makefile: Add it.
4287 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4289 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
4291 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4293 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
4294 used as a mask for the mode argument of __vfscanf_internal and
4295 __vfwscanf_internal.
4296 * stdio-common/vfscanf-internal.c
4297 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
4298 (__strtof128_internal): Define to __wcstof128_internal.
4299 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
4300 __strtof128_internal or __wcstof128_internal when the format of
4301 long double is the same as _Float128.
4303 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
4305 * include/unistd.h (__confstr): Add prototype and hidden prototype.
4306 * posix/confstr.c (confstr): Rename to __confstr.
4307 (__confstr): Add hidden def.
4308 (confstr): Add weak alias for __confstr.
4309 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
4312 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4314 * NEWS: Mention getcpu.
4315 * include/sched.h (__getcpu): New libc_hidden_proto.
4316 * manual/resource.texi: Document getcpu.
4317 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
4318 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
4319 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
4320 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4321 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4322 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4323 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4324 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4325 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4326 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4327 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4328 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4329 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4331 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4332 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4333 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4342 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4343 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4344 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4345 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4346 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4347 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4348 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4349 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4350 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
4351 * sysdeps/unix/sysv/linux/getcpu.c: New file.
4352 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
4355 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
4357 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
4359 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
4361 2018-12-07 Florian Weimer <fweimer@redhat.com>
4364 * posix/Makefile (routines): Add spawn_faction_addfchdir.
4365 * posix/Versions (GLIBC_2.29): Export
4366 posix_spawn_file_actions_addfchdir_np.
4367 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
4368 * posix/spawn_faction_destroy.c
4369 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
4370 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
4371 and the field action.fchdir_action.
4372 * posix/tst-spawn-chdir.c (add_chdir): New function.
4373 (do_test): Add do_fchdir loop. Call add_chdir.
4374 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
4375 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4376 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
4377 posix_spawn_file_actions_addfchdir_np.
4378 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
4380 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
4382 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
4383 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
4385 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
4387 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
4389 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
4391 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
4393 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
4395 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4396 (GLIBC_2.29): Likewise.
4397 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4398 (GLIBC_2.29): Likewise.
4399 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4400 (GLIBC_2.29): Likewise.
4401 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4402 (GLIBC_2.29): Likewise.
4403 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
4405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4406 (GLIBC_2.29): Likewise.
4407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4408 (GLIBC_2.29): Likewise.
4409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4410 (GLIBC_2.29): Likewise.
4411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4412 (GLIBC_2.29): Likewise.
4413 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
4415 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
4417 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
4419 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
4420 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
4422 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
4424 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
4426 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
4429 2018-12-06 Joseph Myers <joseph@codesourcery.com>
4431 * manual/texinfo.tex: Update to version 2018-09-21.20 with
4432 trailing whitespace removed.
4433 * scripts/config.guess: Update to version 2018-11-28.
4434 * scripts/config.sub: Update to version 2018-11-28.
4435 * scripts/install-sh: Update to version 2018-03-11.20.
4436 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
4437 * scripts/move-if-change: Update to version 2018-03-07 03:47.
4439 2018-12-07 Florian Weimer <fweimer@redhat.com>
4443 * inet/tst-if_index-long.c: New file.
4444 * inet/Makefile (tests): Add tst-if_index-long.
4446 2018-12-07 Florian Weimer <fweimer@redhat.com>
4448 * support/check.h (support_record_failure_is_failed): Declare.
4449 * support/descriptors.h: New file.
4450 * support/support_descriptors.c: Likewise.
4451 * support/tst-support_descriptors.c: Likewise.
4452 * support/support_record_failure.c
4453 (support_record_failure_is_failed): New function.
4454 * support/Makefile (libsupport-routines): Add support_descriptors.
4455 (tests): Add tst-support_descriptors.
4457 2018-12-05 Zack Weinberg <zackw@panix.com>
4458 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4460 * stdio-common/vfprintf-internal.c
4461 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
4462 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
4463 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
4464 and __no_long_double.
4465 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
4466 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
4467 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
4468 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
4469 and __nldbl_*syslog* functions.
4470 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
4471 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
4472 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
4473 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
4474 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
4475 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
4476 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
4477 (__nldbl_vwprintf, __nldbl_wprintf):
4478 Directly call the appropriate __v*printf_internal routine, passing
4479 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
4481 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
4482 (__nldbl___printf_chk, __nldbl___snprintf_chk)
4483 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
4484 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
4485 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
4486 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4487 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
4488 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
4489 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
4490 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
4491 Likewise, and also pass PRINTF_FORTIFY when appropriate.
4492 (__nldbl_syslog, __nldbl_vsyslog):
4493 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
4494 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4496 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4499 2018-12-05 Zack Weinberg <zackw@panix.com>
4500 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4503 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
4504 Moved here from debug/vsprintf_chk.c.
4505 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
4506 and completion logic for the strfile to match exactly what
4507 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
4508 _IO_str_init_static_internal instead of maxlen-1.
4509 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4510 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
4511 __vsprintf_internal.
4513 * debug/vsprintf_chk.c (__vsprintf_chk)
4514 * debug/sprintf_chk.c (__sprintf_chk):
4515 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
4516 'flags' argument is positive, and slen as maxlen. No need to lock
4517 the FILE and/or construct a temporary FILE. Minimize and normalize
4518 header inclusions and variable names. Do not libc_hidden_def anything.
4520 * debug/asprintf_chk.c (__asprintf_chk)
4521 * debug/dprintf_chk.c (__dprintf_chk)
4522 * debug/fprintf_chk.c (__fprintf_chk)
4523 * debug/fwprintf_chk.c (__fwprintf_chk)
4524 * debug/printf_chk.c (__printf_chk)
4525 * debug/snprintf_chk.c (__snprintf_chk)
4526 * debug/swprintf_chk.c (__swprintf_chk)
4527 * debug/vasprintf_chk.c (__vasprintf_chk)
4528 * debug/vdprintf_chk.c (__vdprintf_chk)
4529 * debug/vfprintf_chk.c (__vfprintf_chk)
4530 * debug/vfwprintf_chk.c (__vfwprintf_chk)
4531 * debug/vprintf_chk.c (__vprintf_chk)
4532 * debug/vsnprintf_chk.c (__vsnprintf_chk)
4533 * debug/vswprintf_chk.c (__vswprintf_chk)
4534 * debug/vwprintf_chk.c (__vwprintf_chk)
4535 * debug/wprintf_chk.c (__wprintf_chk):
4536 Directly call the corresponding vxxprintf_internal function, passing
4537 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
4538 the FILE and/or construct a temporary FILE. Minimize and normalize
4539 header inclusions and variable names. Do not libc_hidden_def anything.
4541 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
4542 __obstack_vprintf_internal.
4543 (__obstack_vprintf_chk): Convert into a wrapper that calls
4544 __obstack_vprintf_internal (these two functions already had the
4545 same code) and move to new file...
4546 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
4548 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
4549 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
4550 * debug/Makefile (routines): Add vobprintf_chk.
4552 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4553 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4554 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
4555 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4556 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
4557 (__nldbl___obstack_vfprintf_chk):
4558 Directly call the corresponding vxxprintf_internal function,
4559 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
4560 duplicate comparison of slen with 0 or maxlen from the corresponding
4561 non-__nldbl function.
4563 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
4564 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
4565 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
4566 Remove libc_hidden_proto.
4568 * stdio-common/vfprintf-internal.c
4569 (__vfprintf_internal, __vfwprintf_internal):
4570 Do not check _IO_FLAGS2_FORTIFY.
4571 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
4572 * libio/libioP.h: Update prototype of __vsprintf_internal and add
4573 a comment explaining why it has the maxlen argument.
4574 (_IO_acquire_lock_clear_flags2_fct): Remove.
4575 (_IO_acquire_lock_clear_flags2): Remove.
4576 (_IO_release_lock): Remove conditional statement which will
4578 (_IO_acquire_lock): Remove variable which is now unused.
4579 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4580 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4582 * stdio-common/Makefile (tests): Add tst-bz11319 and
4583 tst-bz11319-fortify2.
4584 (CFLAGS-tst-bz11319-fortify2.c): New macro.
4585 * stdio-common/tst-bz11319-fortify2.c: New file.
4586 * stdio-common/tst-bz11319.c: Likewise.
4588 2018-12-05 Zack Weinberg <zackw@panix.com>
4589 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4591 * misc/syslog.c: Include libioP.h, not iolibio.h.
4592 (__vsyslog_internal): New function with the former body of
4593 __vsyslog_chk; takes mode_flags argument same as
4594 __v*printf_internal. Call __vfprintf_internal directly.
4596 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
4597 Remove libc_hidden_def.
4598 (__syslog, __syslog_chk): Use __vsyslog_internal.
4599 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
4601 * include/sys/syslog.h: Add multiple inclusion guard.
4602 Add prototype for __vsyslog_internal.
4603 Remove declaration and libc_hidden_proto for __vsyslog_chk.
4605 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
4606 Use __vsyslog_internal.
4608 2018-12-05 Zack Weinberg <zackw@panix.com>
4609 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4611 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
4612 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
4613 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
4615 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
4616 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
4618 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
4619 Include wctype.h here if COMPILE_WPRINTF is defined.
4620 Define __vfprintf_internal or __vfwprintf_internal, depending
4622 Temporarily, on entry to this function, update mode_flags
4623 according to the environmental settings corresponding to
4624 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
4625 Throughout, check mode_flags instead of __ldbl_is_dbl and
4626 _IO_FLAGS2_FORTIFY on the destination FILE.
4627 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
4628 Include vfprintf-internal.c. Don't include wctype.h.
4629 * stdio-common/vfprintf.c: New file. Just define __vfprintf
4630 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
4632 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
4633 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
4635 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
4637 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
4638 and add mode_flags argument; use __vfprintf_internal.
4639 (__vdprintf): New function. Alias vdprintf to this.
4640 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
4641 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
4642 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
4643 (__obstack_printf): Use __obstack_printf_internal.
4644 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
4645 public aliases __vsnprintf and vsnprintf.
4646 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
4648 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
4649 public aliases _IO_vsprintf and vsprintf.
4650 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
4651 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
4652 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
4653 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
4654 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
4656 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
4657 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
4658 * stdio-common/fprintf.c, stdio-common/fxprintf.c
4659 * stdio-common/printf.c: Use __vfprintf_internal.
4661 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
4662 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
4663 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
4665 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
4666 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
4667 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
4668 __vfwprintf_internal.
4670 * libio/libio.h: Remove libc_hidden_proto and declaration for
4672 Remove declaration of _IO_vfwprintf.
4673 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
4675 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
4677 * include/stdio.h: Add prototype for __vasprintf.
4678 (__vsnprintf): Remove declaration, because there are no more
4680 * include/wchar.h (__vfwprintf, __vswprintf): Remove
4681 declaration, because there are no more internal calls.
4683 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
4684 __vsnprintf_internal, instead of _IO_vsnprintf.
4685 * argp/argp-help.c (__argp_error, __argp_failure): Use
4686 __vasprintf_internal, instead of _IO_vasprintf.
4687 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
4688 redefine, because there are no more internal calls.
4690 2018-12-05 Zack Weinberg <zackw@panix.com>
4691 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4693 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
4694 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
4695 Include libio/strfile.h instead of libioP.h.
4696 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
4697 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
4698 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
4699 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
4700 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
4701 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
4702 necessary. Do not set __no_long_double. Normalize variable names.
4703 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
4704 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
4705 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
4706 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
4707 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
4708 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
4709 Call __vfscanf_internal / __vfwscanf_internal directly, passing
4710 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
4711 Do not set __no_long_double. Normalize variable names.
4713 2018-12-05 Zack Weinberg <zackw@panix.com>
4714 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4716 * stdio-common/isoc99_scanf.c
4717 * stdio-common/isoc99_fscanf.c
4718 * stdio-common/isoc99_sscanf.c
4719 * stdio-common/isoc99_vscanf.c
4720 * stdio-common/isoc99_vfscanf.c
4721 * stdio-common/isoc99_vsscanf.c
4722 * wcsmbs/isoc99_wscanf.c
4723 * wcsmbs/isoc99_fwscanf.c
4724 * wcsmbs/isoc99_swscanf.c
4725 * wcsmbs/isoc99_vwscanf.c
4726 * wcsmbs/isoc99_vfwscanf.c
4727 * wcsmbs/isoc99_vswscanf.c:
4728 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
4729 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
4730 No need to lock and unlock the FILE passed to that function.
4732 * stdio-common/vfscanf-internal.c
4733 (__vfscanf_internal, __vfwscanf_internal):
4734 Don't look at _IO_FLAGS2_SCANF_STD.
4735 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
4736 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
4737 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
4739 2018-12-05 Zack Weinberg <zackw@panix.com>
4740 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4742 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
4743 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
4744 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
4745 * libio/strfile.h: Add multiple inclusion guard.
4746 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
4748 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
4749 consistency with the other version of this file.
4750 (ldbl_compat_symbol): New macro.
4751 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
4754 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
4755 Define __vfscanf_internal or __vfwscanf_internal, depending on
4756 COMPILE_WSCANF; don't define any other public symbols.
4757 Remove errval and code to set errp.
4758 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
4759 as the mode_flags argument.
4760 (encode_error, conv_error, input_error): Don't set errval.
4761 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
4762 Include vfscanf-internal.c.
4763 * stdio-common/vfscanf.c: New file defining the public entry
4764 point vfscanf, which calls __vfscanf_internal.
4765 * stdio-common/vfwscanf.c: New file defining the public entry
4766 point vfwscanf, which calls __vfwscanf_internal.
4768 * stdio-common/iovfscanf.c: New file.
4769 * stdio-common/iovfwscanf.c: Likewise.
4771 * stdio-common/Makefile (routines): Add vfscanf-internal,
4772 vfwscanf-internal, iovfscanf, iovfwscanf.
4773 * stdio-common/Versions: Mention GLIBC_2.29, so that
4774 it can be used in SHLIB_COMPAT expressions.
4775 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
4776 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
4777 Call __vfscanf_internal, instead of _IO_vfscanf.
4778 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
4780 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
4783 * libio/iovsscanf.c: Clean up includes, when possible. Use
4784 _IO_strfile_read or _IO_strfile_readw, when needed. Call
4785 __vfscanf_internal or __vfwscanf_internal directly.
4786 * libio/iovswscanf.c: Likewise.
4787 * libio/swscanf.c: Likewise.
4788 * libio/vscanf.c: Likewise.
4789 * libio/vwscanf.c: Likewise.
4790 * libio/wscanf.c: Likewise.
4791 * stdio-common/isoc99_fscanf.c: Likewise.
4792 * stdio-common/isoc99_scanf.c: Likewise.
4793 * stdio-common/isoc99_sscanf.c: Likewise.
4794 * stdio-common/isoc99_vfscanf.c: Likewise.
4795 * stdio-common/isoc99_vscanf.c: Likewise.
4796 * stdio-common/isoc99_vsscanf.c: Likewise.
4797 * stdio-common/scanf.c: Likewise.
4798 * stdio-common/sscanf.c: Likewise.
4799 * wcsmbs/isoc99_fwscanf.c: Likewise.
4800 * wcsmbs/isoc99_swscanf.c: Likewise.
4801 * wcsmbs/isoc99_vfwscanf.c: Likewise.
4802 * wcsmbs/isoc99_vswscanf.c: Likewise.
4803 * wcsmbs/isoc99_vwscanf.c: Likewise.
4804 * wcsmbs/isoc99_wscanf.c: Likewise.
4806 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
4809 (__tz_compute): Replace time_t with __time64_t.
4810 (__tz_convert): Replace time_t* with __time64_t.
4811 (__offtime): Replace time_t* with __time64_t.
4813 (__gmtime_r): Adjust call to __tz_convert.
4816 (__localtime_r): Likewise.
4817 (localtime): Likewise.
4818 * time/offtime.c: Replace time_t with __time64_t.
4819 * time/tzset.c: Likewise.
4821 2018-12-04 Joseph Myers <joseph@codesourcery.com>
4823 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
4824 dynamic linker unless [$(run-built-tests) = yes].
4826 2018-12-03 DJ Delorie <dj@delorie.com>
4828 * support/test-container.c (check_for_unshare_hints): New.
4829 (main): Call it if unshare fails. Add support for "su" scriptlet
4832 2018-12-03 Joseph Myers <joseph@codesourcery.com>
4834 * scripts/gen-as-const.py (compute_c_consts): Take an argument
4835 'START' to indicate that start text should be output.
4836 (gen_test): Likewise.
4837 (main): Generate 'START' for first symbol or '--' line, or at end
4838 of input if not previously generated.
4840 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
4843 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
4844 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
4845 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
4846 ALWAYS_USE_VSYSCALL.
4848 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4851 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
4854 2018-12-03 Carlos O'Donell <carlos@redhat.com>
4857 * locale/programs/localedef.c: Declare boolean hard_links default true.
4858 (options): Add --no-hard-links option.
4859 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
4860 * locale/programs/localedef.h: Declare prototype for hard_links.
4861 * locale/programs/locfile.c (write_locale_data): Don't use hard
4862 links if hard_links is false.
4864 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
4866 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
4868 (__cache_sysconf): Likewise.
4869 (init_cacheinfo): Likewise.
4870 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
4871 populate COMMON_CPUID_INDEX_80000007 and
4872 COMMON_CPUID_INDEX_80000008.
4873 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
4874 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
4875 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
4876 (init_cpu_features): Use _Static_assert on
4877 index_arch_Fast_Unaligned_Load.
4878 __get_cpuid_registers and __get_arch_feature. Updated for
4879 cpu_features_basic. Set stepping in cpu_features.
4880 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
4881 (FEATURE_INDEX_2): New.
4882 (FEATURE_INDEX_MAX): Changed to enum.
4883 (COMMON_CPUID_INDEX_D_ECX_1): New.
4884 (COMMON_CPUID_INDEX_80000007): Likewise.
4885 (COMMON_CPUID_INDEX_80000008): Likewise.
4886 (cpuid_registers): Likewise.
4887 (cpu_features_basic): Likewise.
4888 (CPU_FEATURE_USABLE): Likewise.
4889 (bit_arch_XXX_Usable): Likewise.
4890 (cpu_features): Use cpuid_registers and cpu_features_basic.
4891 (bit_arch_XXX): Reweritten.
4892 (bit_cpu_XXX): Likewise.
4893 (index_cpu_XXX): Likewise.
4894 (reg_XXX): Likewise.
4895 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
4897 (CHECK_CPU_FEATURE): New.
4898 (CHECK_CPU_FEATURE_USABLE): Likewise.
4899 (cpu_kinds): Likewise.
4900 (do_test): Print vendor, family, model and stepping. Check
4901 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
4902 (TEST_FUNCTION): Removed.
4903 Include <support/test-driver.c> instead of
4904 "../../test-skeleton.c".
4905 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
4906 Check POPCNT instead of POPCOUNT.
4907 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
4909 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4911 * scripts/gen-as-const.py (main): Avoid emitting empty line when
4912 there is no element in `consts'.
4914 2018-12-01 Florian Weimer <fweimer@redhat.com>
4916 * support/support_capture_subprocess.c
4917 (support_capture_subprocess): Check that pipe descriptors have
4918 expected values. Close original pipe descriptors in subprocess.
4920 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
4923 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
4924 attr with __pthread_default_barrierattr.
4925 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
4926 attr with __pthread_default_condattr.
4927 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
4928 attr with __pthread_default_mutexattr.
4929 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
4930 attr with __pthread_default_rwlockattr.
4932 2018-12-01 Kemi Wang <kemi.wang@intel.com>
4934 * manual/tunables.texi (POSIX Thread Tunables): New node.
4935 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
4936 * nptl/nptl-init.c: Include pthread_mutex_conf.h
4937 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
4938 __pthread_tunables_init.
4939 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
4940 (max_adaptive_count): Define.
4941 * nptl/pthread_mutex_conf.c: New file.
4942 * nptl/pthread_mutex_conf.h: New file.
4943 * sysdeps/generic/adaptive_spin_count.h: New file.
4944 * sysdeps/nptl/dl-tunables.list: New file.
4945 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
4946 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
4947 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
4950 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
4953 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
4954 * stdlib/on_exit.c (__on_exit): Likewise.
4955 * stdlib/Makefile (tests): Add tst-bz20544.
4956 * stdlib/tst-bz20544.c: New test.
4958 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
4961 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
4962 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
4965 2018-11-30 Florian Weimer <fweimer@redhat.com>
4967 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
4968 Extend error logging.
4969 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
4972 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4974 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
4975 __sigismember instead of sigismember.
4976 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
4977 cancel_handler): New definitions.
4978 (do_system): Use posix_spawn instead of fork and execl and remove
4980 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
4981 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
4982 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
4983 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4984 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4985 * sysdeps/unix/sysv/linux/system.c: Likewise.
4989 * NEWS: Add new semantic for atfork with popen and system.
4990 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
4993 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4996 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
4997 modification order when accessing reloc_result->addr.
4998 * include/link.h (reloc_result): Add field init.
4999 * nptl/Makefile (tests): Add tst-audit-threads.
5000 (modules-names): Add tst-audit-threads-mod1 and
5001 tst-audit-threads-mod2.
5002 Add rules to build tst-audit-threads.
5003 * nptl/tst-audit-threads-mod1.c: New file.
5004 * nptl/tst-audit-threads-mod2.c: Likewise.
5005 * nptl/tst-audit-threads.c: Likewise.
5006 * nptl/tst-audit-threads.h: Likewise.
5008 2018-11-30 Joseph Myers <joseph@codesourcery.com>
5010 * scripts/gen-as-const.py: New file.
5011 * scripts/gen-as-const.awk: Remove.
5012 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
5014 ($(objpfx)test-as-const-%.c): Likewise.
5016 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5018 * elf/dl-exception.c: Include <_itoa.h>.
5020 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
5022 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
5023 returned by __f_setlk.
5025 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5026 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5028 * elf/Makefile (tests-internal): Add tst-create_format1.
5029 * elf/dl-exception.c (_dl_exception_create_format): Support
5031 * elf/tst-create_format1.c: New file.
5033 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
5035 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
5036 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
5038 * argp/argp-help.c (__argp_failure): Likewise.
5040 2018-11-29 Mao Han <han_mao@c-sky.com>
5042 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
5043 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
5044 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
5045 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
5046 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
5047 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
5048 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
5049 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
5050 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
5051 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
5052 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
5053 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
5054 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
5055 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
5056 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
5057 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
5058 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
5059 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
5060 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
5061 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
5062 (R_CKCORE_TLS_TPOFF32): New defines.
5064 2018-11-29 Florian Weimer <fweimer@redhat.com>
5066 * posix/Makefile (before-compile): Remove testcases.h and
5068 (generated): Add testcases.h and ptestcases.h.
5069 (testcases.h, ptestcases.h): Move to $(objpfx).
5070 (runtests.o): Add dependency on testcases.h.
5071 (runptests.o): Add dependency on ptestcases.h.
5072 * posix/testcases.h, posix/ptestcases.h: Remove files.
5073 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
5074 not touch posix/testcases.h and posix/ptestcases.h.
5076 2018-11-28 Florian Weimer <fweimer@redhat.com>
5078 support: Add signal support to support_capture_subprocess_check.
5079 * support/capture_subprocess.h (support_capture_subprocess_check):
5080 Adjust comment and rename parameter.
5081 * support/support_capture_subprocess_check.c
5082 (print_actual_status): New function.
5083 (support_capture_subprocess_check): Support negative
5084 status_or_signal. Call print_actual_status.
5085 * support/tst-support_capture_subprocess.c (do_test): Call
5086 support_capture_subprocess_check.
5087 * libio/tst-vtables-common.c (termination_status)
5088 (init_termination_status): Remove.
5089 (check_for_termination): Adjust support_capture_subprocess_check
5091 (do_test): Remove call to init_termination_status.
5093 2018-11-28 Joseph Myers <joseph@codesourcery.com>
5095 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
5096 source directory instead of a copy.
5097 (CommandList.create_copy_dir): Remove.
5099 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
5101 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5103 2018-11-28 Florian Weimer <fweimer@redhat.com>
5105 * support/support.h (support_quote_string): Do not use str
5108 2018-11-27 Joseph Myers <joseph@codesourcery.com>
5110 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
5111 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
5113 2018-11-27 Florian Weimer <fweimer@redhat.com>
5115 * support/support.h (support_quote_string): Declare.
5116 * support/support_quote_string.c: New file.
5117 * support/tst-support_quote_string.c: Likewise.
5118 * support/Makefile (libsupport-routines): Add
5119 support_quote_string.
5120 (tests): Add tst-support_quote_string.
5122 2018-11-27 Florian Weimer <fweimer@redhat.com>
5126 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
5127 descriptor leak in case of ENODEV error.
5129 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
5132 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
5133 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
5134 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
5136 2018-11-26 Carlos O'Donell <carlos@redhat.com>
5138 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
5139 Error for unknown lines.
5141 2018-11-26 Joseph Myers <joseph@codesourcery.com>
5143 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5144 Touch additional files.
5146 2018-11-26 Florian Weimer <fweimer@redhat.com>
5149 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
5152 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
5155 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
5156 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
5157 SHARED. Include sysdep.h.
5158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
5159 ALWAYS_USE_VSYSCALL.
5160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
5161 ALWAYS_USE_VSYSCALL.
5163 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
5166 * nptl/Makefile (tests-static): Add tst-cond11-static.
5168 * nptl/tst-cond11-static.c: New File.
5169 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
5170 tst-affinity-static.
5172 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
5174 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
5175 (USE_VSYSCALL): Likewise.
5176 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
5177 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
5179 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
5181 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
5184 2018-11-23 Joseph Myers <joseph@codesourcery.com>
5187 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5188 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
5191 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
5193 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
5194 (tst-cet-legacy-1a-ARGS): New.
5195 ($(objpfx)tst-cet-legacy-1a): New target.
5196 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
5198 2018-11-22 Joseph Myers <joseph@codesourcery.com>
5200 * conform/conformtest.py (CompileSubTest.__init__): Set
5201 self.run_early to False.
5202 (ExecuteSubTest.__init__): Likewise.
5203 (HeaderTests.run): Try running all non-optional, non-XFAILed
5204 compilation tests in a single execution of the compiler.
5206 * conform/conformtest.py (CompileSubTest): New class.
5207 (ExecuteSubTest): Likewise.
5208 (ElementTest.run): Rename to gen_subtests. Append tests to
5209 self.subtests instead of running them.
5210 (ConstantTest.run): Likewise.
5211 (SymbolTest.run): Likewise.
5212 (TypeTest.run): Likewise.
5213 (TagTest.run): Likewise.
5214 (FunctionTest.run): Likewise.
5215 (VariableTest.run): Likewise.
5216 (MacroFunctionTest.run): Likewise.
5217 (MacroStrTest.run): Likewise.
5218 (HeaderTests.handle_test_line): Generate subtests for tests.
5219 (HeaderTests.run): Run subtests for tests.
5221 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5223 * math/Versions (GLIBC_2.29): Add pow.
5224 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
5226 * math/w_pow.c: New file.
5227 * sysdeps/i386/fpu/w_pow.c: New file.
5228 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
5229 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
5230 and add necessary aliases.
5231 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
5232 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
5233 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5234 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5235 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5236 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5237 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5238 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5239 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5240 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5241 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5242 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5243 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5244 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5245 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5250 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5251 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5252 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5253 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5254 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5255 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5256 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5257 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
5259 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
5260 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
5261 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
5263 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5265 * math/Versions (GLIBC_2.29): Add log2.
5266 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
5268 * math/w_log2.c: New file.
5269 * sysdeps/i386/fpu/w_log2.c: New file.
5270 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
5271 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
5272 and add necessary aliases.
5273 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
5274 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
5275 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5276 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5277 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5278 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5279 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5280 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5281 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5282 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5283 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5284 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5285 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5286 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5287 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5292 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5293 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5294 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5295 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5296 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5297 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5298 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5300 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5302 * math/Versions (GLIBC_2.29): Add log.
5303 * math/w_log_compat.c (__log_compat): Change to versioned compat
5305 * math/w_log.c: New file.
5306 * sysdeps/i386/fpu/w_log.c: New file.
5307 * sysdeps/ia64/fpu/e_log.S: Update.
5308 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
5309 and add necessary aliases.
5310 * sysdeps/ieee754/dbl-64/w_log.c: New file.
5311 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
5312 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5313 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5314 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5315 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5316 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5317 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5318 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5319 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5320 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5321 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5322 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5323 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5324 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5329 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5330 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5331 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5332 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5333 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5334 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5335 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5336 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
5338 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
5339 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
5340 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
5341 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
5343 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5345 * math/Versions (GLIBC_2.29): Add exp and exp2.
5346 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
5347 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
5348 * math/w_exp_compat.c (__exp_compat): Likewise.
5349 * math/w_exp.c: New file.
5350 * math/w_exp2.c: New file.
5351 * sysdeps/i386/fpu/w_exp.c: New file.
5352 * sysdeps/i386/fpu/w_exp2.c: New file.
5353 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
5354 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
5355 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
5356 and add necessary aliases.
5357 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
5358 and add necessary aliases.
5359 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
5360 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
5361 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
5362 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
5363 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5364 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5365 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5366 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5367 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5368 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5369 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5370 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5371 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5372 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5373 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5374 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5375 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5380 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5381 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5382 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5383 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5384 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5385 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5386 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5387 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
5388 (__ieee754_exp): Rename to __exp.
5389 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
5390 (__ieee754_exp): Rename to __exp.
5391 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
5392 (__ieee754_exp): Rename to __exp.
5393 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
5395 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
5397 2018-11-20 DJ Delorie <dj@redhat.com>
5399 * malloc/malloc.c (tcache_entry): Add key field.
5400 (tcache_put): Set it.
5401 (tcache_get): Likewise.
5402 (_int_free): Check for double free in tcache.
5403 * malloc/tst-tcfree1.c: New.
5404 * malloc/tst-tcfree2.c: New.
5405 * malloc/Makefile: Run the new tests.
5406 * manual/probes.texi: Document memory_tcache_double_free probe.
5408 * dlfcn/dlerror.c (check_free): Prevent double frees.
5410 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
5412 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
5414 2018-11-20 Joseph Myers <joseph@codesourcery.com>
5416 * conform/conformtest.py (ElementTest.run): Use unique identifiers
5417 in tests. Use names for format arguments.
5418 (ConstantTest.run): Likewise.
5419 (SymbolTest.run): Likewise.
5420 (TypeTest.run): Likewise.
5421 (TagTest.run): Likewise.
5422 (FunctionTest.run): Likewise.
5423 (VariableTest.run): Likewise.
5424 (MacroFunctionTest.run): Likewise.
5425 (MacroStrTest.run): Likewise.
5426 (HeaderTests.__init__): Set self.num_tests.
5427 (HeaderTests.handle_test_line): Set test.num. Increment
5430 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
5432 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
5433 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
5436 2018-11-19 Mao Han <han_mao@c-sky.com>
5438 * scripts/config.guess: Update to version 2018-08-29.
5439 * scripts/config.sub: Update to version 2018-08-29.
5441 2018-11-19 Florian Weimer <fweimer@redhat.com>
5443 support: Print timestamps in timeout handler.
5444 * support/support_test_main.c (print_timestamp): New function.
5445 (signal_handler): Use it to print the termination time and the
5446 time of the last write to standard output.
5448 2018-11-16 Zack Weinberg <zackw@panix.com>
5449 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5451 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
5452 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
5454 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
5455 and add flags argument. Check flags instead of __ldbl_is_dbl when
5456 deciding whether to set is_long_double.
5457 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
5458 passing zero for flags argument.
5459 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
5461 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5462 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
5463 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
5464 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
5465 variable names. Remove libc_hidden_def/libc_hidden_proto from
5466 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
5467 longer called from within the library.
5468 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
5469 for __nldbl___vstrfmon_l, declare it explicitly.
5471 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
5473 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
5475 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
5477 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
5478 F_SETLK64, F_SETLKW64, respectively.
5479 * sysdeps/mach/hurd/f_setlk.c: New file.
5480 * sysdeps/mach/hurd/f_setlk.h: New file.
5481 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
5483 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
5484 (__libc_fcntl): Move non-flock operations to...
5485 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
5486 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
5488 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
5490 mktime: DEBUG_MKTIME cleanup
5491 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
5492 And it’s no longer needed now that glibc and Gnulib both have
5493 their own testing mechanisms for mktime.
5494 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
5496 mktime: fix non-EOVERFLOW errno handling
5498 mktime was not properly reporting failures when the underlying
5499 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
5500 them like EOVERFLOW failures, and set errno to EOVERFLOW.
5501 The problem could happen on non-glibc platforms, with Gnulib.
5502 * time/mktime.c (guess_time_tm): Remove, replacing with ...
5503 (tm_diff): ... this simpler function, which does not change errno.
5504 All callers changed to deal with errno themselves.
5505 (ranged_convert, __mktime_internal): Return failure immediately if
5506 the underlying function reports any failure other than EOVERFLOW.
5507 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
5510 mktime: fix bug with Y2038 DST transition
5512 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
5513 mishandle a DST transition that jumps over the Y2038 boundary.
5514 No such DST transitions are known so this is only a theoretical
5515 bug, but we might as well do things right.
5517 mktime: make more room for overflow
5519 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
5520 This is so that we can add tm_diff results to a previous guess,
5521 which will be useful in a later patch.
5523 mktime: simplify offset guess
5525 * time/mktime.c (__mktime_internal): Omit excess precision.
5527 mktime: new test for mktime failure
5529 Based on a test suggested by Albert Aribaud in:
5530 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
5531 * time/Makefile (tests): Add bug-mktime4.
5532 * time/bug-mktime4.c: New file.
5534 mktime: fix EOVERFLOW bug
5536 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
5537 Include libc-config.h, not config.h, for __set_errno.
5538 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
5540 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
5542 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
5543 __attribute_copy__ to copy attributes from name. Drop static qualifier
5544 to avoid warnings about leaf attribute not having effect on static
5547 2018-11-13 Florian Weimer <fweimer@redhat.com>
5549 * malloc/malloc.c (fastbin_push_entry): New function.
5550 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
5551 (REMOVE_FB): Remove macro.
5552 (_int_malloc): Use fastbin_pop_entry and reindent.
5553 (_int_free): Use fastbin_push_entry.
5554 (malloc_consolidate): Use atomic_exchange_acquire.
5556 2018-11-13 Joseph Myers <joseph@codesourcery.com>
5558 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
5559 alias attribute, not with strong_alias.
5561 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
5562 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
5563 with additional parameter thread.
5564 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
5565 in terms of __hidden_ver2.
5566 (hidden_tls_def): New macro.
5567 (libc_hidden_tls_def): Likewise.
5568 (rtld_hidden_tls_def): Likewise.
5569 (libm_hidden_tls_def): Likewise.
5570 (libmvec_hidden_tls_def): Likewise.
5571 (libresolv_hidden_tls_def): Likewise.
5572 (librt_hidden_tls_def): Likewise.
5573 (libdl_hidden_tls_def): Likewise.
5574 (libnss_files_hidden_tls_def): Likewise.
5575 (libnsl_hidden_tls_def): Likewise.
5576 (libnss_nisplus_hidden_tls_def): Likewise.
5577 (libutil_hidden_tls_def): Likewise.
5578 (libutil_hidden_tls_def): Likweise.
5579 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
5580 libc_hidden_tls_def.
5581 (__sim_disabled_exceptions_thread): Likewise.
5582 (__sim_round_mode_thread): Likewise.
5584 * sysdeps/sparc/sparc-ifunc.h [SHARED]
5585 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
5586 copy attributes from name.
5588 2018-11-12 Joseph Myers <joseph@codesourcery.com>
5590 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
5591 Use __attribute_copy__ to copy attributes from name.
5593 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
5594 with __hidden_ver1 call.
5595 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
5596 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
5597 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
5598 (__cosf): Do not declare here.
5599 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
5600 (__sincosf): Do not declare here.
5601 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
5602 (__sinf): Do not declare here.
5604 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
5605 (__BIG_ENDIAN): Likewise.
5606 (__BYTE_ORDER): Likewise.
5607 (strong_alias): Likewise.
5608 (_strong_alias): Likewise.
5610 2018-11-12 Florian Weimer <fweimer@redhat.com>
5612 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
5613 function. Move after the definition of in_smallbin_range. Do not
5614 use __builtin_expect for paths that lead to a noreturn function.
5615 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
5616 because it is unclear whether this is in fact an unlikely
5618 (_int_malloc, _int_free): Adjust.
5619 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
5621 * malloc/arena.c (heap_trim): Likewise.
5623 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5625 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
5626 it, free it if needed.
5627 (reauthenticate): Test and use ccwdir.
5628 (child_init_port): In non-resetids case, test and use ccwdir.
5629 (child_chdir): New nested function to set ccwdir.
5630 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
5631 * hurd/hurd/port.h (_hurd_port_move): New function.
5632 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
5633 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
5634 * hurd/Versions (_hurd_port_move): Export function.
5635 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
5637 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
5638 of dtablesize for allocating dtable_cloexec.
5640 2018-11-09 Martin Sebor <msebor@redhat.com>
5642 * include/libc-symbols.h (__attribute_copy__): Define macro unless
5643 it's already defined.
5644 (_strong_alias): Use __attribute_copy__.
5645 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
5646 * misc/sys/cdefs.h (__attribute_copy__): New macro.
5647 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
5648 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
5649 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
5650 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
5651 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
5652 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
5653 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
5654 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
5655 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
5656 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
5657 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
5658 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
5659 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
5660 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
5661 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
5662 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
5663 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
5665 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5667 * misc/tst-efgcvt.c: Include support/check.h and
5668 support/test-driver.c. Do not include test-skeleton.c.
5669 (error_count): Remove.
5670 (output_error): Replace increments to error_count with calls to
5671 support_record_failure.
5672 (output_r_error): Likewise.
5673 (special): Likewise.
5674 (do_test): Unconditionally return zero.
5675 (TEST_FUNCTION): Remove.
5677 2018-11-09 Joseph Myers <joseph@codesourcery.com>
5679 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
5681 ($(linknamespace-header-tests)): Likewise.
5683 * conform/conformtest.py: New file.
5684 * conform/conformtest.pl: Remove.
5685 * conform/GlibcConform.pm: Likewise.
5686 * conform/glibcconform.py (KEYWORDS_C90): New constant.
5687 (KEYWORDS_C99): Likewise.
5688 (KEYWORDS): Likewise.
5689 * conform/Makefile ($(conformtest-header-tests)): Use
5690 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
5691 option. Use --header instead of --headers.
5692 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
5694 * conform/data/spawn.h-data: Likewise.
5695 * conform/data/fcntl.h-data (openat): Add space after function
5697 * conform/data/wchar.h-data (wcscasecmp): Likewise.
5698 (wcscasecmp_l): Likewise.
5699 * conform/data/termios.h-data (c_cc): Add space after element
5702 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5704 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
5705 instead of manually comparing and reporting mismatching strings.
5706 * misc/tst-ldbl-error.c (do_one_test): Likewise.
5707 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5709 2018-11-08 Joseph Myers <joseph@codesourcery.com>
5711 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
5712 __ASSUME_SOCKETCALL.
5713 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5714 (__ASSUME_SOCKETCALL): Remove.
5715 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5716 (__ASSUME_SOCKETCALL): Likewise.
5717 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5718 (__ASSUME_SOCKETCALL): Likewise.
5719 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5720 (__ASSUME_SOCKETCALL): Likewise.
5721 * sysdeps/unix/sysv/linux/s390/kernel-features.h
5722 (__ASSUME_SOCKETCALL): Likewise.
5723 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5724 (__ASSUME_SOCKETCALL): Likewise.
5725 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5726 (__ASSUME_SOCKETCALL): Likewise.
5728 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
5731 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
5732 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
5733 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
5734 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
5735 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
5738 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
5741 * resolv/tst-resolv-network.c: Add test for getnetbyname.
5743 2018-11-07 Joseph Myers <joseph@codesourcery.com>
5746 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5747 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5748 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5749 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5751 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5753 * support/support_test_compare_string.c
5754 (support_test_compare_string): Fix printf format.
5756 2018-11-07 Florian Weimer <fweimer@redhat.com>
5758 Implement TEST_COMPARE_STRING.
5759 * support/check.h (TEST_COMPARE_STRING): Define.
5760 (support_test_compare_string): Declare.
5761 * support/Makefile (libsupport-routines): Add
5762 support_test_compare_string.
5763 (tests): Add tst-test_compare_string.
5764 * support/support_test_compare_string.c: New file.
5765 * support/tst-test_compare_string.c: Likewise.
5767 2018-11-07 Andreas Schwab <schwab@suse.de>
5770 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
5771 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
5774 2018-11-06 Joseph Myers <joseph@codesourcery.com>
5777 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5778 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
5779 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
5780 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
5783 2018-11-06 Florian Weimer <fweimer@redhat.com>
5786 * posix/Makefile (routines): Add spawn_faction_addchdir.
5787 (tests): Add tst-spawn-chdir.
5788 * posix/Versions (GLIBC_2.29): Add
5789 posix_spawn_file_actions_addchdir_np.
5790 * posix/spawn_faction_addchdir.c: New file.
5791 * posix/spawn_faction_destroy.c
5792 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
5793 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
5794 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
5796 * posix/tst-spawn-chdir.c: New file.
5797 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
5798 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5799 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5800 posix_spawn_file_actions_addchdir_np.
5801 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5803 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5805 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5806 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5808 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5810 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5812 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5814 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5816 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5818 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5819 (GLIBC_2.29): Likewise.
5820 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5821 (GLIBC_2.29): Likewise.
5822 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5823 (GLIBC_2.29): Likewise.
5824 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5825 (GLIBC_2.29): Likewise.
5826 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5829 (GLIBC_2.29): Likewise.
5830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5831 (GLIBC_2.29): Likewise.
5832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5833 (GLIBC_2.29): Likewise.
5834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5835 (GLIBC_2.29): Likewise.
5836 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5838 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5840 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5842 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5843 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5845 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5847 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5849 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5852 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5854 * misc/Makefile (tests): Add tst-ldbl-error.
5855 * misc/tst-ldbl-error.c: New file.
5857 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5859 * misc/Makefile (tests): Add tst-ldbl-warn.
5860 * misc/tst-ldbl-warn.c: New file.
5862 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5864 * argp/Makefile (tests): Add tst-ldbl-argp.
5865 * argp/tst-ldbl-argp.c: New file.
5867 2018-11-05 Arjun Shankar <arjun@redhat.com>
5869 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
5870 __gconv_path_elem and call __gconv_get_path unconditionally.
5872 2018-11-05 Andreas Schwab <schwab@suse.de>
5875 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
5876 creating the first helper thread failed.
5878 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5880 * sysdeps/mach/hurd/msync.c: New file.
5882 2018-11-02 Florian Weimer <fweimer@redhat.com>
5884 * support/shell-container.c (copy_func): Call
5885 support_copy_file_range instead of copy_file_range to support
5886 cross-device copies.
5888 2018-11-02 Florian Weimer <fweimer@redhat.com>
5890 * support/test-container.c: Include <libc-pointer-arith.h> for
5893 2018-11-01 Zong Li <zong@andestech.com>
5895 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
5896 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
5897 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
5898 (__FP_FRAC_SET_8): Add implementation for RV32 use.
5900 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
5901 variable to avoid overlap arguments.
5903 2018-11-01 Joseph Myers <joseph@codesourcery.com>
5905 * posix/bug-regex22.c (main): Use puts with distinct error
5906 messages for unexpected success of re_compile_pattern, not printf
5907 with NULL argument to %s.
5909 * stdio-common/bug22.c: Include <libc-diag.h>.
5910 (do_test): Disable -Wformat-overflow= warnings around fprintf
5911 calls outputting more than INT_MAX characters.
5912 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
5913 around printf call with NULL %s argument.
5916 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
5917 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
5919 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5920 (__ASSUME_RECVMSG_SYSCALL): Likewise.
5921 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5922 (__ASSUME_SENDTO_SYSCALL): Likewise.
5923 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5924 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
5926 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5927 (__ASSUME_CONNECT_SYSCALL): Likewise.
5928 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5929 (__ASSUME_RECVFROM_SYSCALL): Likewise.
5930 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
5932 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
5934 [__LINUX_KERNEL_VERSION >= 0x040400]
5935 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5936 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
5939 (setsockopt): Likewise.
5941 2018-11-01 Fredrik Noring <noring@nocrew.org>
5943 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
5944 with the ISA override.
5946 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
5948 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
5951 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
5953 * manual/errno.texi (EIEIO): Document how translators should
5954 translate the error message.
5955 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
5956 printing trailing whitespaces refused by git.
5957 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
5958 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5959 * hurd/Makefile (user-interfaces): Add pci.
5961 2018-10-30 Joseph Myers <joseph@codesourcery.com>
5963 * conform/linknamespace.py: New file.
5964 * conform/linknamespace.pl: Remove file.
5965 * conform/Makefile ($(linknamespace-header-tests)): Use
5966 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
5969 2018-10-30 Florian Weimer <fweimer@redhat.com>
5971 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
5974 2018-10-30 Florian Weimer <fweimer@redhat.com>
5976 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
5978 2018-10-30 Florian Weimer <fweimer@redhat.com>
5980 * stdlib/tst-strtod-overflow.c (do_test): Switch to
5981 support_blob_repeat.
5983 2018-10-30 Florian Weimer <fweimer@redhat.com>
5985 Avoid spurious test failures in stdlib/test-bz22786.
5986 * support/Makefile (libsupport-routines): Add blob_repeat.
5987 (tests): Add tst-support_blob_repeat.
5988 * support/blob_repeat.h: New file.
5989 * support/blob_repeat.c: Likewise.
5990 * support/tst-support_blob_repeat.c: Likewise.
5991 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
5992 support_blob_repeat_allocate.
5994 2018-10-30 Andreas Schwab <schwab@suse.de>
5997 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
5998 Don't use tail call.
5999 * elf/tst-unwind-main.c: New file.
6000 * elf/Makefile (tests): Add tst-unwind-main.
6001 (CFLAGS-tst-unwind-main.c): Define.
6003 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
6006 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
6008 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
6010 2018-10-29 Joseph Myers <joseph@codesourcery.com>
6012 * conform/glibcconform.py: Do not import shutil.
6013 (list_exported_functions): Use tempfile.TemporaryDirectory instead
6016 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
6017 critic_missing for versions before 3.4.
6018 * configure: Regenerated.
6019 * manual/install.texi (Tools for Compilation): Document
6020 requirement for Python to build glibc.
6021 * INSTALL: Regenerated.
6022 * Rules [PYTHON]: Make code unconditional.
6023 * benchtests/Makefile [PYTHON]: Likewise.
6024 * conform/Makefile [PYTHON]: Likewise.
6025 * manual/Makefile [PYTHON]: Likewise.
6026 * math/Makefile [PYTHON]: Likewise.
6028 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6030 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
6031 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
6032 answer to interrupt_operation, return EIEIO instead of EINTR.
6033 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
6034 _hurd_intr_rpc_msg_about_to global point to start of controlled
6035 assembly snippet. Make it check canceled flag.
6036 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
6037 the _hurd_intr_rpc_msg_about_to point.
6038 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
6039 issue, remove cancel flag check.
6041 2018-10-26 Joseph Myers <joseph@codesourcery.com>
6043 * scripts/build-many-glibcs.py: Remove compatibility for missing
6044 os.cpu_count and re.fullmatch.
6046 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
6049 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
6050 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
6051 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
6053 2018-10-25 Joseph Myers <joseph@codesourcery.com>
6055 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
6058 2018-10-25 Florian Weimer <fweimer@redhat.com>
6062 XFAIL siginfo_t si_band conform test on sparc64.
6063 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
6064 (__SI_BAND_TYPE): Only override long int default type on sparc64.
6065 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6066 (conformtest-xfail-conds): Add sparc64-linux.
6067 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
6069 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
6071 2018-10-25 Joseph Myers <joseph@codesourcery.com>
6073 * elf/elf.h (NT_MIPS_DSP): New macro.
6074 (NT_MIPS_FP_MODE): Likewise.
6076 2018-10-25 Zong Li <zong@andestech.com>
6078 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
6079 name by adding the file extension (.so).
6081 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
6083 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
6084 (test-xfail-ISO11/threads.h/linknamespace,
6085 test-xfail-ISO11/threads.h/conform): Add.
6087 2018-10-24 Joseph Myers <joseph@codesourcery.com>
6089 * math/gen-libm-test.py: Import os.
6090 (ALL_FLOATS_MANUAL): New constant.
6091 (ALL_FLOATS_SUFFIX): Likewise.
6092 (Ulps.all_functions): New function.
6093 (real_all_ulps): Likewise.
6094 (generate_err_table_sub): Likewise.
6095 (generate_err_table): Likewise.
6096 (main): Handle -s and -m options.
6097 * manual/libm-err-tab.pl: Remove.
6098 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
6099 instead of libm-err-tab.pl.
6100 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
6102 * manual/install.texi (Tools for Compilation): Document
6103 requirement for Python to build manual.
6104 * INSTALL: Regenerated.
6106 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
6108 * bits/time64.h: New file.
6109 * include/time.h: Replace internal_time_t with __time64_t.
6110 * posix/bits/types (__time64_t): Add.
6111 * stdlib/Makefile: Add bits/time64.h to includes.
6112 * time/tzfile.c: Replace internal_time_t with __time64_t.
6114 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6116 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
6117 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
6118 __posix_spawn_file_actions_init, __posix_spawnattr_init,
6119 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
6120 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
6122 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
6123 * posix/spawn_faction_addclose.c
6124 (__posix_spawn_file_actions_addclose): Add hidden definition.
6125 * posix/spawn_faction_adddup2.c
6126 (__posix_spawn_file_actions_adddup2): Likewise.
6127 * posix/spawn_faction_destroy.c
6128 (__posix_spawn_file_actions_destroy): Likewise.
6129 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
6131 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
6132 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
6133 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
6135 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
6136 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
6139 2018-10-24 Andreas Schwab <schwab@suse.de>
6142 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
6144 * elf/cache.c (print_cache): Likewise.
6146 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
6148 * bits/timesize.h: New file.
6149 * stdlib/Makefile (headers): Add bits/timesize.h.
6150 * sysdeps/unix/sysv/linux/bits/msq-pad.h
6151 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
6152 * sysdeps/unix/sysv/linux/bits/sem-pad.h
6153 (__SEM_PAD_AFTER_TIME): Likewise.
6154 * sysdeps/unix/sysv/linux/bits/shm-pad.h
6155 (__SHM_PAD_AFTER_TIME): Likewise.
6156 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
6157 (__MSQ_PAD_BEFORE_TIME): Likewise.
6158 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
6159 (__SEM_PAD_BEFORE_TIME): Likewise.
6160 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
6161 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
6162 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
6163 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
6164 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
6165 (__MSQ_PAD_BEFORE_TIME): Likewise.
6166 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
6167 (__SEM_PAD_BEFORE_TIME): Likewise.
6168 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
6169 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
6170 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
6171 (__MSQ_PAD_BEFORE_TIME): Likewise.
6172 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
6173 (__SEM_PAD_BEFORE_TIME): Likewise.
6174 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
6175 (__SHM_PAD_BEFORE_TIME): Likewise.
6176 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
6177 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6178 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
6180 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
6182 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
6183 USE_RDTSCP is defined.
6184 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
6185 USE_RDTSCP is defined.
6187 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6189 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
6193 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
6194 independently of other flags.
6196 2018-10-23 Florian Weimer <fweimer@redhat.com>
6198 * time/tst-mktime2.c (N_STRINGS): Remove.
6199 (set_timezone): New function.
6200 (spring_forward_gap): Call it. Use FAIL_EXIT1.
6201 (mktime_test1): Report localtime failure and check errno value.
6203 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
6204 (do_test): Remove alarm call. Use set_timezone and array_length.
6206 2018-10-23 Andreas Schwab <schwab@suse.de>
6208 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
6209 (__start_context): Use END instead of PSEUDO_END.
6211 2018-10-22 Joseph Myers <joseph@codesourcery.com>
6213 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
6216 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6220 * wcsmbs/c32rtomb.c: New file.
6221 * wcsmbs/mbrtoc32.c: Likewise.
6222 * wcsmbs/tst-c32-state.c: Likewise.
6223 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
6224 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
6225 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
6226 (tests): Add tst-c32-state.
6227 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
6230 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
6232 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
6233 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
6235 2018-10-19 Joseph Myers <joseph@codesourcery.com>
6238 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
6239 pair and return 0 in that case, and use saved character to
6240 interpret following character.
6241 * wcsmbs/tst-c16-surrogate.c: New file.
6242 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
6243 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
6244 Depend on $(gen-locales)
6246 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
6249 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
6250 (struct siginfo_t): Use correct type for si_band.
6252 2018-10-19 Florian Weimer <fweimer@redhat.com>
6255 * resource/bits/types/struct_rusage.h (struct rusage): Update
6256 comment on struct. Remove extraneous field comment.
6258 2018-10-18 David S. Miller <davem@davemloft.net>
6260 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
6261 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
6262 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
6263 sysdep_routines in subdir elf.
6264 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
6265 version for __vdso_clock_gettime.
6266 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
6268 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
6269 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6271 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
6273 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
6275 * sysdeps/i386/init-arch.h: Removed.
6276 * sysdeps/i386/i586/init-arch.h: Likewise.
6277 * sysdeps/i386/i686/init-arch.h: Likewise.
6278 * sysdeps/i386/i686/hp-timing.h: Likewise.
6279 * sysdeps/x86_64/hp-timing.h: Likewise.
6280 * sysdeps/i386/isa.h: New file.
6281 * sysdeps/i386/i586/isa.h: Likewise.
6282 * sysdeps/i386/i686/isa.h: Likewise.
6283 * sysdeps/x86_64/isa.h: Likewise.
6284 * sysdeps/x86/hp-timing.h: New file.
6285 * sysdeps/x86/init-arch.h: Include <isa.h>.
6287 2018-10-17 Joseph Myers <joseph@codesourcery.com>
6289 * math/libm-test-pow.inc (pow_test_data): Do not allow
6290 divide-by-zero exception for pow(+/- 0, -Inf).
6292 2018-10-17 Zack Weinberg <zackw@panix.com>
6294 * manual/job.texi (Job Control is Optional): Remove node, as
6295 job control has not been optional in quite some time.
6296 (Job Control): Mention briefly that systems older than
6297 POSIX.1-2001 might not support job control.
6298 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
6299 defined on systems conforming to POSIX.1-2001.
6301 2018-10-17 Arjun Shankar <arjun@redhat.com>
6304 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
6306 * (__gconv_read_conf): Mark function static.
6307 * (once): New static variable.
6308 * (__gconv_load_conf): New function.
6309 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
6310 * iconv/gconv_db.c (once): Remove static variable.
6311 * (__gconv_compare_alias): Use __gconv_load_conf instead of
6313 * (__gconv_find_transform): Likewise.
6314 * iconv/tst-iconv-mt.c: New test.
6315 * iconv/Makefile: Add tst-iconv_mt.
6317 2018-10-17 Joseph Myers <joseph@codesourcery.com>
6319 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6321 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
6322 (shmatt_t): Define as __syscall_ulong_t.
6323 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
6324 and [__SHM_PAD_AFTER_TIME].
6325 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
6326 Define shm_segsz and associated padding based on
6327 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
6328 Use __syscall_ulong_t instead of unsigned long int.
6329 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
6331 [__USE_MISC] (struct shm_info): Likewise.
6332 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
6333 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
6334 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
6335 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
6336 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
6337 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6338 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
6339 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
6340 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
6341 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
6342 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
6344 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6346 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
6347 (SHMLBA): Remove macro.
6348 (__getpagesize): Remove function declaration.
6349 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
6351 (SHMLBA): Remove macro.
6352 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
6354 (SHMLBA): Remove macro.
6355 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
6357 (SHMLBA): Remove macro.
6358 (__getpagesize): Remove function declaration.
6359 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
6361 (SHMLBA): Remove macro.
6362 (__getshmlba): Remove function declaration.
6363 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
6364 (SHMLBA): Remove macro.
6365 (__getpagesize): Remove function declaration.
6366 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
6367 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
6368 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
6369 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
6370 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
6371 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
6372 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
6373 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
6374 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
6375 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
6377 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
6380 * nptl/tst-mutex10.c: New File.
6381 * nptl/Makefile (tests): Add tst-mutex10.
6382 (tst-mutex10-ENV): New variable.
6383 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
6384 Ensure that elision path is used if elision is available.
6385 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
6387 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
6389 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
6390 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
6391 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
6392 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
6394 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
6395 (__pthread_mutex_cond_lock_adjust): Likewise.
6396 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
6398 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
6399 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6400 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6401 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
6403 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
6404 Use atomic_load_relaxed and atomic_store_relaxed.
6405 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
6406 Use atomic_store_relaxed.
6408 2018-10-17 Andreas Schwab <schwab@suse.de>
6410 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
6411 * crypt/badsalttest.c (TIMEOUT): Likewise.
6412 * crypt/sha256c-test.c (TIMEOUT): Likewise.
6413 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
6414 * io/test-lfs.c (TIMEOUT): Likewise.
6415 * libio/tst-atime.c (TIMEOUT): Likewise.
6416 * localedata/tst-leaks.c (TIMEOUT): Likewise.
6417 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
6418 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
6419 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
6420 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
6421 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
6422 * nptl/tst-cond11.c (TIMEOUT): Likewise.
6423 * nptl/tst-cond14.c (TIMEOUT): Likewise.
6424 * nptl/tst-cond15.c (TIMEOUT): Likewise.
6425 * nptl/tst-cond24.c (TIMEOUT): Likewise.
6426 * nptl/tst-cond25.c (TIMEOUT): Likewise.
6427 * nptl/tst-kill2.c (TIMEOUT): Likewise.
6428 * nptl/tst-kill3.c (TIMEOUT): Likewise.
6429 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
6430 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
6431 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
6432 * nptl/tst-once2.c (TIMEOUT): Likewise.
6433 * nptl/tst-once3.c (TIMEOUT): Likewise.
6434 * nptl/tst-once4.c (TIMEOUT): Likewise.
6435 * nptl/tst-robust8.c (TIMEOUT): Likewise.
6436 * nptl/tst-robust9.c (TIMEOUT): Likewise.
6437 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
6438 * nptl/tst-sem14.c (TIMEOUT): Likewise.
6439 * nptl/tst-sem6.c (TIMEOUT): Likewise.
6440 * nptl/tst-signal3.c (TIMEOUT): Likewise.
6441 * nptl/tst-spin4.c (TIMEOUT): Likewise.
6442 * nptl/tst-tls3.c (TIMEOUT): Likewise.
6443 * nptl/tst-tls4.c (TIMEOUT): Likewise.
6444 * posix/tst-chmod.c (TIMEOUT): Likewise.
6445 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
6446 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
6447 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
6448 * posix/tst-regex2.c (TIMEOUT): Likewise.
6449 * posix/tst-waitid.c (TIMEOUT): Likewise.
6450 * rt/tst-aio.c (TIMEOUT): Likewise.
6451 * rt/tst-aio10.c (TIMEOUT): Likewise.
6452 * rt/tst-aio4.c (TIMEOUT): Likewise.
6453 * rt/tst-aio5.c (TIMEOUT): Likewise.
6454 * rt/tst-aio6.c (TIMEOUT): Likewise.
6455 * rt/tst-aio64.c (TIMEOUT): Likewise.
6456 * rt/tst-aio7.c (TIMEOUT): Likewise.
6457 * rt/tst-aio9.c (TIMEOUT): Likewise.
6458 * rt/tst-clock.c (TIMEOUT): Likewise.
6459 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
6460 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
6461 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
6462 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
6463 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
6464 * rt/tst-timer4.c (TIMEOUT): Likewise.
6465 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
6466 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
6467 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
6468 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
6469 * time/tst-ftime.c (TIMEOUT): Likewise.
6470 * timezone/tst-tzset.c (TIMEOUT): Likewise.
6472 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
6474 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
6475 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
6478 2018-10-15 Joseph Myers <joseph@codesourcery.com>
6480 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6482 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
6483 instead of <bits/wordsize.h>.
6484 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
6485 and [__SEM_PAD_AFTER_TIME].
6486 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
6487 __syscall_ulong_t instead of unsigned long int.
6488 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
6489 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
6490 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
6491 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
6492 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
6493 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
6494 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
6495 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
6496 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6497 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6498 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6500 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
6502 regex: simplify by using intprops.h
6504 * posix/regex_internal.h [_LIBC]: Include intprops.h.
6505 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
6506 intprops.h defines them.
6508 regex: __builtin_expect → __glibc_unlikely
6510 This refactoring was prompted by a problem when the regex code is
6511 used as part of Gnulib and when the builder’s compiler does not grok
6512 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
6513 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
6514 Although this refactoring does not fix the problem directly,
6515 we might as well have Gawk use the now-preferred glibc style for when
6516 __builtin_expect is unavailable.
6517 * posix/regex_internal.h (BE): Remove.
6518 All uses replaced by __glibc_unlikely or __glibc_likely.
6520 2018-10-11 Joseph Myers <joseph@codesourcery.com>
6522 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6524 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
6525 instead of <bits/wordsize.h>.
6526 (msgqnum_t): Define as __syscall_ulong_t.
6527 (msglen_t): Likewise.
6528 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
6529 and [__MSQ_PAD_AFTER_TIME].
6530 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
6531 __syscall_ulong_t instead of unsigned long int.
6532 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
6533 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
6534 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
6535 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
6536 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
6537 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
6538 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
6539 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
6540 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
6541 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
6542 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6544 2018-10-10 Joseph Myers <joseph@codesourcery.com>
6546 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
6547 (struct shmid_ds): Condition padding after time fields on
6549 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
6550 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
6551 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
6553 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
6554 (struct semid_ds): Condition padding after time fields on
6556 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
6557 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
6558 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
6559 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
6561 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
6562 (struct msqid_ds): Condition padding after time fields on
6564 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
6565 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
6566 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
6567 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
6569 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6571 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
6573 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6575 * libio/tst-readline.c (TIMEOUT): Define.
6577 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
6579 mktime fix for Gnulib + coreutils
6581 This fix affects only Gnulib. Problem discovered when
6582 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
6584 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
6585 Do not define since it is not used. Defining an unused static
6586 function prompts a warning from GCC when Coreutils is configured
6587 with --enable-gcc-warnings.
6589 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6591 * benchtests/scripts/compare_bench.py (main): set float type on
6594 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
6597 * localedata/locales/kl_GL (mon): Update, the relative case.
6598 (alt_mon): Add, fill with month names in the nominative case.
6599 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
6600 (d_fmt): Set to "%b %d %Y".
6602 2018-10-04 Joseph Myers <joseph@codesourcery.com>
6604 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
6605 <bits/mman-linux.h>.
6606 (PROT_READ): Don't define here.
6607 (PROT_WRITE): Likewise.
6608 (PROT_EXEC): Likewise.
6609 (PROT_NONE): Likewise.
6610 (PROT_GROWSDOWN): Likewise.
6611 (PROT_GROWSUP): Likewise.
6612 (MAP_SHARED): Likewise.
6613 (MAP_PRIVATE): Likewise.
6614 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
6615 [__USE_MISC] (MAP_FILE): Likewise.
6616 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
6617 [__USE_MISC] (MAP_ANON): Likewise.
6618 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
6619 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
6620 (MCL_CURRENT): Likewise.
6621 (MCL_FUTURE): Likewise.
6622 (MCL_ONFAULT): Likewise.
6623 [__USE_MISC] (MADV_NORMAL): Likewise.
6624 [__USE_MISC] (MADV_RANDOM): Likewise.
6625 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
6626 [__USE_MISC] (MADV_WILLNEED): Likewise.
6627 [__USE_MISC] (MADV_DONTNEED): Likewise.
6628 [__USE_MISC] (MADV_FREE): Likewise.
6629 [__USE_MISC] (MADV_REMOVE): Likewise.
6630 [__USE_MISC] (MADV_DONTFORK): Likewise.
6631 [__USE_MISC] (MADV_DOFORK): Likewise.
6632 [__USE_MISC] (MADV_HWPOISON): Likewise.
6633 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
6634 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
6635 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
6636 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
6637 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
6638 (__MAP_ANONYMOUS): New macro.
6639 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
6640 <bits/mman-linux.h> inclusion.
6641 (MAP_FIXED): Likewise.
6642 (MS_SYNC): Likewise.
6643 (MS_ASYNC): Likewise.
6644 (MS_INVALIDATE): Likewise.
6645 [__USE_MISC] (MADV_MERGEABLE): Likewise.
6646 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
6647 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
6648 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
6649 [__USE_MISC] (MADV_DONTDUMP): Likewise.
6650 [__USE_MISC] (MADV_DODUMP): Likewise.
6651 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
6652 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
6655 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
6657 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
6658 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
6659 Add test-nldbl-redirect.
6660 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
6661 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
6662 $(objpfx)libnldbl_nonshared.a.
6664 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
6666 * support/support.h (support_objdir_elf_ldso): New variable.
6667 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
6668 * support/Makefile (CFLAGS-support_paths.c): Add definition
6669 for OBJDIR_ELF_LDSO_PATH.
6670 * support/test-container.c (main): Search for the ld.so
6671 which is also used by the testsuite.
6673 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
6676 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
6677 should be "sap" rather than "sab".
6678 (day): Fix spelling of Sunday, should be "sapaat" rather than
6681 2018-10-02 Joseph Myers <joseph@codesourcery.com>
6683 * math/libm-test-fma.inc (fma_test_data): Add more tests.
6685 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
6688 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
6689 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
6690 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
6692 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6694 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
6696 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
6698 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
6700 (CFLAGS-elision-unlock.c): Likewise.
6701 (CFLAGS-elision-timed.c): Likewise.
6702 (CFLAGS-elision-trylock.c): Likewise.
6703 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
6705 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6708 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
6709 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
6710 new fd_to_filename interface.
6711 * libio/freopen64.c (freopen64): Likewise.
6712 * libio/tst-memstream.h: New file.
6713 * libio/tst-memstream4.c: Likewise.
6714 * libio/tst-wmemstream4.c: Likewise.
6715 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
6716 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
6717 and remove internal dynamic allocation.
6719 2018-10-01 Joseph Myers <joseph@codesourcery.com>
6721 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
6722 (MREMAP_MAYMOVE): Do not define here.
6723 [__USE_GNU] (MREMAP_FIXED): Likewise.
6724 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
6725 (MREMAP_MAYMOVE): Define here instead.
6726 [__USE_GNU] (MREMAP_FIXED): Likewise.
6727 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
6728 (MREMAP_MAYMOVE): Remove.
6729 [__USE_GNU] (MREMAP_FIXED): Likewise.
6731 2018-09-28 Joseph Myers <joseph@codesourcery.com>
6733 * math/fromfp.h: Do not include <math_private.h>.
6734 * math/s_cacosh_template.c: Likewise.
6735 * math/s_casin_template.c: Likewise.
6736 * math/s_casinh_template.c: Likewise.
6737 * math/s_ccos_template.c: Likewise.
6738 * math/s_cproj_template.c: Likewise.
6739 * math/s_fdim_template.c: Likewise.
6740 * math/s_fmaxmag_template.c: Likewise.
6741 * math/s_fminmag_template.c: Likewise.
6742 * math/s_iseqsig_template.c: Likewise.
6743 * math/s_ldexp_template.c: Likewise.
6744 * math/s_nextdown_template.c: Likewise.
6745 * math/w_log1p_template.c: Likewise.
6746 * math/w_scalbln_template.c: Likewise.
6747 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
6748 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
6749 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
6750 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
6751 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
6752 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
6753 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
6754 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
6755 * sysdeps/i386/fpu/s_atanl.c: Likewise.
6756 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
6757 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
6758 * sysdeps/i386/fpu/s_fdim.c: Likewise.
6759 * sysdeps/i386/fpu/s_logbl.c: Likewise.
6760 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6761 * sysdeps/i386/fpu/s_significandl.c: Likewise.
6762 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
6763 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
6764 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6765 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6766 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
6767 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6768 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6769 * sysdeps/ieee754/k_standardf.c: Likewise.
6770 * sysdeps/ieee754/k_standardl.c: Likewise.
6771 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6772 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
6773 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
6774 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
6775 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
6776 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
6777 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6778 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6779 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6780 * sysdeps/ieee754/s_signgam.c: Likewise.
6781 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
6782 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
6783 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
6784 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6785 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6786 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
6787 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6788 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
6789 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6790 * sysdeps/riscv/rvd/s_finite.c: Likewise.
6791 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
6792 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
6793 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
6794 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
6795 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
6796 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
6797 * sysdeps/riscv/rvf/fegetround.c: Likewise.
6798 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
6799 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
6800 * sysdeps/riscv/rvf/fesetround.c: Likewise.
6801 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
6802 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
6803 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
6804 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6805 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
6806 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6807 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
6808 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
6809 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
6810 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
6811 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
6812 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
6813 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
6814 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
6815 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6816 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6817 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
6819 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
6821 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
6824 * sysdeps/i386/dl-cet.c: Removed.
6825 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
6827 (_dl_runtime_profile_shstk): Likewise.
6828 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
6829 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
6831 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6834 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
6835 do_test_with_invalid_iov): New tests.
6836 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
6837 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
6838 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
6840 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
6841 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
6842 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
6844 2018-09-27 Joseph Myers <joseph@codesourcery.com>
6846 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6847 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
6848 (MATH_REDIRECT_BINARY_ARGS): New macro.
6849 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6850 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
6851 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
6853 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
6854 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6855 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
6856 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6857 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6858 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6859 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
6862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
6864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
6865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
6866 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
6867 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
6868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
6870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
6872 * sysdeps/generic/math_private_calls.h
6873 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
6874 Do not declare and define as an inline function.
6875 * math/divtc3.c (__divtc3): Use copysign functions instead of
6876 __copysign variants.
6877 * math/multc3.c (__multc3): Likewise.
6878 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
6879 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
6880 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6881 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6883 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6884 (__ieee754_yn): Likewise.
6885 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6886 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
6887 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6888 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6889 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
6891 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
6892 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6894 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6896 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6898 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6899 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6901 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6902 (__ieee754_ynf): Likewise.
6903 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
6904 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6905 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
6906 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6908 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6909 (__ieee754_ynl): Likewise.
6910 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6911 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6912 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6914 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6915 (__ieee754_ynl): Likewise.
6916 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
6917 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6918 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6919 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6921 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6923 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
6924 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6925 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
6926 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6927 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6929 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6930 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
6931 using MATH_REDIRECT.
6932 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
6934 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
6935 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6936 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6937 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
6938 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6939 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6940 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
6942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
6943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
6944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
6945 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6946 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6947 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6948 (round): Redirect to __round.
6949 (__roundl): Call round instead of __round.
6950 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
6952 [_ARCH_PWR5X] (__roundf): Likewise.
6953 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
6954 functions instead of __round variants.
6955 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6956 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
6958 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
6960 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
6962 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
6963 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
6965 (__ieee754_expl): Call roundl instead of __roundl.
6967 2018-09-27 Andreas Schwab <schwab@suse.de>
6970 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
6971 (do_test): Make st1 static.
6973 2018-09-26 Andreas Schwab <schwab@suse.de>
6976 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
6977 * elf/Makefile (tests): Add tst-unwind-ctor.
6978 (modules-names): Add tst-unwind-ctor-lib.
6979 ($(objpfx)tst-unwind-ctor): Depend on
6980 $(objpfx)tst-unwind-ctor-lib.so.
6982 2018-09-26 Joseph Myers <joseph@codesourcery.com>
6984 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
6985 file. Most contents moved from ....
6986 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
6987 and include <bits/mman-map-flags-generic.h>.
6988 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6989 (sysdep_headers): Add bits/mman-map-flags-generic.h.
6990 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
6991 <bits/mman-map-flags-generic.h>.
6992 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
6993 macros defined in <bits/mman-map-flags-generic.h>.
6994 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
6995 <bits/mman-map-flags-generic.h>.
6996 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
6997 defined in <bits/mman-map-flags-generic.h>.
6999 2018-09-26 Andreas Schwab <schwab@suse.de>
7001 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
7004 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
7005 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7006 Fangrui Song <maskray@google.com>
7009 * config.make.in (have-textrel_ifunc): New define.
7010 * configure.ac: Add check if linker supports textrel relocation with
7012 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
7014 (CFLAGS-tst-ifunc-textrel.c): New rule.
7015 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
7016 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
7017 * elf/tst-ifunc-textrel.c: New file.
7019 2018-09-25 Joseph Myers <joseph@codesourcery.com>
7021 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7022 <bits/procfs-prregset.h>.
7023 (prgregset_t): Define using __prgregset_t.
7024 (prfpregset_t): Define using __prfpregset_t.
7025 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7026 (sysdep_headers): Add bits/procfs-prregset.h.
7027 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
7028 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
7029 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
7030 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
7032 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7033 <bits/procfs-id.h> and <bits/procfs-extra.h>.
7034 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
7036 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7037 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
7038 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
7039 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
7040 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
7041 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
7042 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
7043 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
7044 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
7045 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
7046 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
7047 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
7048 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
7049 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
7050 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
7051 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
7052 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
7053 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
7054 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
7055 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
7056 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
7057 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
7058 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7059 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
7061 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
7062 AArch64 version. Include <bits/procfs.h>.
7063 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7064 (sysdep_headers): Add bits/procfs.h.
7065 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
7066 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
7067 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
7068 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
7069 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
7070 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
7071 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
7072 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
7073 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
7074 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
7075 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
7076 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
7077 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
7078 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
7079 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
7080 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7081 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
7083 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7085 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
7088 2018-09-25 Arjun Shankar <arjun@redhat.com>
7090 * iconv/gconv_int.h (__gconv_path_elem): Remove.
7091 (__gconv_max_path_elem_len): Likewise.
7092 (__gconv_nmodules): Likewise.
7093 (__gconv_get_path): Likewise.
7094 (path_elem): Move to ...
7095 * iconv/gconv_conf.c: ... here.
7096 (__gconv_get_path): Mark function static.
7097 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
7098 * iconv/gconv_open.c: ... here.
7100 2018-09-24 Andreas Schwab <schwab@suse.de>
7102 * scripts/haveversions.awk: New file.
7103 * Makerules ($(common-objpfx)Versions.def)
7104 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7105 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7107 * Makeconfig ($(common-objpfx)Versions.def)
7108 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7109 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7111 ($(common-objpfx)Versions.mk): New rule. Include it.
7112 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
7113 Emit error if build-obsolete-nsl = yes.
7114 * manual/install.texi (Configuring and compiling): Describe
7115 --enable-obsolete-nsl as unavaiable after version 2.28.
7116 * INSTALL: Regenerate.
7118 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7120 * NEWS: Add note about new TLE support on powerpc64le.
7121 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
7122 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
7124 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
7125 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
7126 * sysdeps/powerpc/powerpc32/sysdep.h,
7127 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
7128 ABORT_TRANSACTION): Remove macros.
7129 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
7130 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
7131 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
7132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
7133 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7134 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
7136 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
7138 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
7141 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
7142 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
7143 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
7144 which is the same as in it_IT.
7145 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
7146 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
7148 2018-09-20 Joseph Myers <joseph@codesourcery.com>
7150 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7151 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
7152 using MATH_REDIRECT.
7153 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
7155 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
7156 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7157 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
7158 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7159 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7160 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
7162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
7163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
7164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
7165 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7166 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7167 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
7168 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
7169 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
7170 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
7171 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
7172 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7173 (ceil): Redirect to __ceil.
7174 (floor): Redirect to __floor.
7175 (trunc): Redirect to __trunc.
7176 (__truncl): Call trunc instead of __trunc.
7177 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
7179 [_ARCH_PWR5X] (__truncf): Likewise.
7180 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
7181 trunc functions instead of __trunc variants.
7182 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7184 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7186 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7188 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7191 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
7192 [__i586__ || __pentium__].
7193 [__i486__]: Handle explicitly.
7194 (HAS_CPUID): Define to 1 if above macros are undefined.
7195 (HAS_I586): Likewise.
7196 (HAS_I686): Likewise.
7198 2018-09-20 Florian Weimer <fweimer@redhat.com>
7200 * misc/tst-gethostid.c: New file.
7201 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
7202 (tst-gethostid): Link with -ldl.
7204 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
7206 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
7207 value from gethostbyname_r.
7209 2018-09-19 Carlos O'Donell <carlos@redhat.com>
7211 * stdlib/tst-setcontext9.c (f1): Rename to...
7213 (f1b): New function implementing lower half of f1 in alternate stack.
7215 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
7217 Fix mktime localtime offset confusion
7219 * include/time.h (__mktime_internal): The localtime offset is now
7220 of type long int instead of time_t. This is the longstanding type
7221 in glibc, and it is more than enough to represent difference
7222 between localtime and gmtime even if it is 32 bits and time_t is
7223 64. Changing it now will let us avoid an unnecessary change when
7224 time_t is widened to 64 bits on 32-bit platforms.
7225 * time/mktime-internal.h (mktime_offset_t): Now long int.
7227 Merge mktime, timegm from upstream Gnulib
7228 [BZ #23603][BZ #16346]
7229 This fixes some obscure problems with integer overflow.
7230 Although it looks scary, it is almost all a byte-for-byte copy
7231 from Gnulib, and the Gnulib code has been tested reasonably well.
7232 * include/intprops.h: New file, copied from Gnulib.
7233 * include/verify.h, time/mktime-internal.h:
7234 New tiny files, simplified from Gnulib.
7235 * time/mktime.c: Copy from Gnulib. This has the following changes:
7236 Do not include config.h if DEBUG_MKTIME is nonzero.
7237 Include stdbool.h, intprops.h, verify.h.
7238 Include string.h only if needed.
7239 Include stdlib.h on MS-Windows.
7240 Include mktime-internal.h.
7241 (DEBUG_MKTIME): Default to 0, and simplify later uses.
7242 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
7243 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
7244 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
7245 simplify later conditionals; default the others to zero. Use
7246 these conditionals to express only the code needed on the current
7247 platform. In uses of these conditionals, explicitly spell out how
7248 _LIBC affects things, so it’s easier to review from a glibc
7250 (WRAPV): Remove; no longer needed now that we have
7251 systematic overflow checking.
7252 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
7253 compartmentalize tzset issues. Move system-dependent tzsettish
7254 code here from mktime.
7255 (verify): Remove; now done by verify.h. All uses changed.
7256 (long_int): Use a more-conservative definition, to avoid
7258 (SHR): Remove, replacing with ...
7259 (shr): New function, which means we needn’t worry about side
7260 effects in args, and conversion analysis is simpler.
7261 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
7262 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
7263 (time_t_avg, time_t_add_ok): Remove.
7264 (mktime_min, mktime_max): New constants.
7265 (leapyear, isdst_differ): Use bool for booleans.
7266 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
7267 Use long_int, not time_t, for mktime differences.
7268 (long_int_avg): New function, replacing time_t_avg.
7269 INT_ADD_WRAPV replaces time_t_add_ok.
7270 (guess_time_tm): 6th arg is now long_int, not time_t const *.
7272 (convert_time): New function.
7273 (ranged_convert): Use it.
7274 (__mktime_internal): Last arg now points to mktime_offset_t, not
7275 time_t. All uses changed. This is a no-op on glibc, where
7276 mktime_offset_t is always time_t. Use int, not time_t, for UTC
7277 offset guess. Directly check for integer overflow instead of
7278 using a heuristic that works only 99.9...% of the time.
7279 Access *OFFSET only once, to avoid an unlikely race if the
7280 compiler delays a load and if this cascades into a signed integer
7282 (mktime): Move tzsettish code to my_tzset, and move
7283 localtime_offset to within mktime so that it doesn’t
7284 need a separate ifdef.
7285 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
7286 instead of localtime.
7287 * time/timegm.c: Copy from Gnulib. This has the following changes:
7288 Include mktime-internal.h.
7289 [!_LIBC]: Include config.h and time.h. Do not include
7290 timegm.h or time_r.h. Make __mktime_internal a macro,
7291 and include mktime-internal.h to get its declaration.
7292 (timegm): Temporary is now mktime_offset_t, not time_t.
7293 This affects only Gnulib.
7295 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
7298 * string/test-strstr.c (pr23637): New function.
7299 (test_main): Add tests with longer needles.
7300 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
7301 * string/strstr.c (AVAILABLE): Likewise.
7303 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7305 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
7307 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7309 * NEWS: Mention pow improvements.
7310 * math/Makefile (type-double-routines): Add e_pow_log_data.
7311 * sysdeps/generic/math_private.h (__exp1): Remove.
7312 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
7313 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
7314 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
7316 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
7317 (exp_inline): Remove.
7318 (__ieee754_exp): Only single double input is handled.
7319 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
7320 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
7321 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
7322 (__pow_log_data): Define.
7323 * sysdeps/ieee754/dbl-64/upow.h: Remove.
7324 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
7325 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
7326 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
7328 (CFLAGS-e_pow-fma4.c): Likewise.
7330 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
7332 Simplify tzfile fstat failure code
7334 * time/tzfile.c (__tzfile_read): Simplify slightly.
7336 Fix tzfile low-memory assertion failure
7338 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
7339 when registering time zone abbreviations.
7341 2018-09-18 Joseph Myers <joseph@codesourcery.com>
7343 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
7344 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
7345 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
7346 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
7347 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
7348 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
7349 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
7350 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7351 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7353 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
7355 (__ceill): Call ceil instead of __ceil.
7356 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
7358 (__floorl): Call floor instead of __floor.
7360 2018-09-17 Joseph Myers <joseph@codesourcery.com>
7362 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7363 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
7364 using MATH_REDIRECT.
7365 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
7367 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
7368 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7369 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7370 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
7371 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7372 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7373 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7374 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
7375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
7376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
7377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
7378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
7379 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7380 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7381 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
7382 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
7383 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
7384 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
7385 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
7387 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
7388 functions instead of __ceil variants.
7389 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7390 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
7392 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
7394 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7395 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
7397 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7398 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7401 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
7403 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
7404 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
7405 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
7406 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
7407 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
7408 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
7409 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
7410 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
7411 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
7412 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
7413 (ILL_BADIADDR): Remove constant.
7414 (TRAP_BRANCH): Likewise.
7415 (TRAP_HWBKPT): Likewise.
7417 2018-09-14 Joseph Myers <joseph@codesourcery.com>
7420 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
7421 Remove [_MIPS_SIM = _ABIN32] conditional case.
7422 (struct elf_prpsinfo): Likewise.
7425 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
7426 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
7427 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
7429 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
7430 elf_prpsinfo): Likewise.
7431 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
7432 elf_prpsinfo): Likewise.
7433 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
7436 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7437 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
7438 using MATH_REDIRECT.
7439 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
7441 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
7442 * sysdeps/alpha/fpu/s_rint.c: Likewise.
7443 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
7444 * sysdeps/i386/fpu/s_rintl.c: Likewise.
7445 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7446 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7447 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
7448 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7449 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7450 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7451 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
7452 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
7453 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
7454 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
7455 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
7456 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7457 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7458 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
7459 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
7460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
7461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
7462 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
7463 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
7464 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
7465 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
7466 * sysdeps/x86_64/fpu/math_private.h: Remove file.
7467 * math/e_scalb.c (invalid_fn): Use rint functions instead of
7469 * math/e_scalbf.c (invalid_fn): Likewise.
7470 * math/e_scalbl.c (invalid_fn): Likewise.
7471 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7473 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7475 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
7476 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
7477 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7479 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7481 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7483 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
7484 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
7486 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7487 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
7489 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7490 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
7491 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7492 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
7493 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7494 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
7495 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7496 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
7497 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7498 && !NO_MATH_REDIRECT] (floor): Likewise.
7499 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
7501 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
7502 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7503 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7504 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
7505 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7506 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7507 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7508 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
7509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
7510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
7511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
7512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
7513 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7514 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7515 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
7516 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
7517 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
7518 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
7519 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
7521 [_ARCH_PWR5X] (__floorf): Likewise.
7522 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
7524 [__SSE4_1__] (__floorf): Likewise.
7525 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
7526 instead of __floor variants.
7527 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
7528 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
7529 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
7530 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
7531 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
7532 * math/w_tgamma_compat.c (__tgamma): Likewise.
7533 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
7534 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
7535 * math/w_tgammal_compat.c (__tgammal): Likewise.
7536 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
7537 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7539 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
7540 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
7541 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
7542 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7544 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7545 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
7547 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
7548 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
7550 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7551 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
7553 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
7554 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7555 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
7556 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
7557 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7558 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7560 2018-09-12 Joseph Myers <joseph@codesourcery.com>
7562 * elf/Makefile (modules-names-tests): New variable.
7564 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7566 * NEWS: Mention log2 improvements.
7567 * math/Makefile (type-double-routines): Add e_log2_data.
7568 * sysdeps/i386/fpu/e_log2_data.c: New file.
7569 * sysdeps/ia64/fpu/e_log2_data.c: New file.
7570 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
7571 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
7572 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
7573 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
7574 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
7576 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7578 * NEWS: Mention log improvement.
7579 * math/Makefile (type-double-routines): Add e_log_data.
7580 * sysdeps/i386/fpu/e_log_data.c: New file.
7581 * sysdeps/ia64/fpu/e_log_data.c: New file.
7582 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
7583 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
7584 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
7585 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
7586 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
7587 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
7589 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
7590 Xuepeng Guo <xuepeng.guo@intel.com>
7593 * sysdeps/i386/start.S: Include <sysdep.h>
7594 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
7595 enabled. Add cfi_undefined (eip).
7597 2018-09-11 Joseph Myers <joseph@codesourcery.com>
7599 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
7601 (EXTRACT_WORDS64): Likewise.
7602 (INSERT_WORDS64): Likewise.
7603 (GET_FLOAT_WORD): Likewise.
7604 (SET_FLOAT_WORD): Likewise.
7606 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
7608 (Config.build_gcc): Use --disable-libsanitizer for first GCC
7609 build, but not for second build if --full-gcc. Use
7610 --enable-languages=all for second build if --full-gcc.
7611 (get_parser): Add --full-gcc option.
7612 (main): Update call to Context.
7614 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
7617 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
7618 Single Quotation Mark).
7619 (thousands_sep): Likewise.
7620 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
7621 * localedata/locales/it_IT (thousands_sep): Use ".".
7622 (grouping): Use "3;3".
7624 2018-09-10 Joseph Myers <joseph@codesourcery.com>
7626 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
7627 x86_64 and i686 configs using --enable-obsolete-rpc
7628 --enable-obsolete-nsl.
7630 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
7632 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7634 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
7636 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
7637 Increment size of new_argv by one.
7639 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
7642 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
7643 * localedata/locales/ar_IN (d_fmt): Likewise.
7644 * localedata/locales/bhb_IN (d_fmt): Likewise.
7645 * localedata/locales/bho_IN (d_fmt): Likewise.
7646 * localedata/locales/bn_BD (d_fmt): Likewise.
7647 * localedata/locales/bn_IN (d_fmt): Likewise.
7648 * localedata/locales/doi_IN (d_fmt): Likewise.
7649 * localedata/locales/gu_IN (d_fmt): Likewise.
7650 * localedata/locales/hi_IN (d_fmt): Likewise.
7651 * localedata/locales/hne_IN (d_fmt): Likewise.
7652 * localedata/locales/kn_IN (d_fmt): Likewise.
7653 * localedata/locales/mag_IN (d_fmt): Likewise.
7654 * localedata/locales/mai_IN (d_fmt): Likewise.
7655 * localedata/locales/mjw_IN (d_fmt): Likewise.
7656 * localedata/locales/ml_IN (d_fmt): Likewise.
7657 * localedata/locales/mni_IN (d_fmt): Likewise.
7658 * localedata/locales/mr_IN (d_fmt): Likewise.
7659 * localedata/locales/pa_IN (d_fmt): Likewise.
7660 * localedata/locales/raj_IN (d_fmt): Likewise.
7661 * localedata/locales/sat_IN (d_fmt): Likewise.
7662 * localedata/locales/sd_IN (d_fmt): Likewise.
7663 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
7664 * localedata/locales/ta_IN (d_fmt): Likewise.
7665 * localedata/locales/ta_LK (d_fmt): Likewise.
7666 * localedata/locales/tcy_IN (d_fmt): Likewise.
7667 * localedata/locales/ur_IN (d_fmt): Likewise.
7669 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
7670 * localedata/locales/ks_IN (d_fmt): Likewise.
7671 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
7673 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
7674 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
7675 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
7676 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
7678 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
7680 * NEWS: Mention exp and exp2 improvements.
7681 * math/Makefile (libm-support): Remove t_exp.
7682 (type-double-routines): Add math_err and e_exp_data.
7683 * sysdeps/aarch64/libm-test-ulps: Update.
7684 * sysdeps/arm/libm-test-ulps: Update.
7685 * sysdeps/i386/fpu/e_exp_data.c: New file.
7686 * sysdeps/i386/fpu/math_err.c: New file.
7687 * sysdeps/i386/fpu/t_exp.c: Remove.
7688 * sysdeps/ia64/fpu/e_exp_data.c: New file.
7689 * sysdeps/ia64/fpu/math_err.c: New file.
7690 * sysdeps/ia64/fpu/t_exp.c: Remove.
7691 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
7692 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
7693 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
7694 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
7695 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
7696 * sysdeps/ieee754/dbl-64/math_config.h: New file.
7697 * sysdeps/ieee754/dbl-64/math_err.c: New file.
7698 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
7699 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
7700 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
7701 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
7702 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
7703 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
7704 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
7705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7706 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7708 2018-09-05 Joseph Myers <joseph@codesourcery.com>
7710 * sysdeps/alpha/fpu/math_private.h: Remove.
7712 * sysdeps/generic/math_private.h
7713 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
7714 Move this inline function ....
7715 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
7716 * include/math.h [!_ISOMAC]: To here....
7718 2018-09-04 Joseph Myers <joseph@codesourcery.com>
7720 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
7722 [!FE_HAVE_ROUNDING_MODES]: And this code ....
7723 * include/fenv.h [!_ISOMAC]: ... to here.
7724 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
7725 (feraiseexcept): Likewise.
7726 * math/fromfp.h: Do not include <fenv_private.h>.
7727 * math/s_cexp_template.c: Likewise.
7728 * math/s_csin_template.c: Likewise.
7729 * math/s_csinh_template.c: Likewise.
7730 * math/s_ctan_template.c: Likewise.
7731 * math/s_ctanh_template.c: Likewise.
7732 * math/s_iseqsig_template.c: Likewise.
7733 * math/w_acos_compat.c: Likewise.
7734 * math/w_acosf_compat.c: Likewise.
7735 * math/w_acosl_compat.c: Likewise.
7736 * math/w_asin_compat.c: Likewise.
7737 * math/w_asinf_compat.c: Likewise.
7738 * math/w_asinl_compat.c: Likewise.
7739 * math/w_j0_compat.c: Likewise.
7740 * math/w_j0f_compat.c: Likewise.
7741 * math/w_j0l_compat.c: Likewise.
7742 * math/w_j1_compat.c: Likewise.
7743 * math/w_j1f_compat.c: Likewise.
7744 * math/w_j1l_compat.c: Likewise.
7745 * math/w_jn_compat.c: Likewise.
7746 * math/w_jnf_compat.c: Likewise.
7747 * math/w_log10_compat.c: Likewise.
7748 * math/w_log10f_compat.c: Likewise.
7749 * math/w_log10l_compat.c: Likewise.
7750 * math/w_log2_compat.c: Likewise.
7751 * math/w_log2f_compat.c: Likewise.
7752 * math/w_log2l_compat.c: Likewise.
7753 * math/w_log_compat.c: Likewise.
7754 * math/w_logf_compat.c: Likewise.
7755 * math/w_logl_compat.c: Likewise.
7756 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7757 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7758 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7759 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7760 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7761 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7762 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7763 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7764 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7765 * sysdeps/ieee754/k_standardl.c: Likewise.
7766 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7767 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7768 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7769 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7770 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7771 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7772 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7773 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7774 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7775 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7776 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7777 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7778 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7779 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7780 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7781 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7782 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7783 * math/w_ilogb_template.c: Include <fenv.h> instead of
7785 * math/w_llogb_template.c: Likewise.
7786 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7787 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7789 2018-09-03 Joseph Myers <joseph@codesourcery.com>
7791 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
7792 * math/fromfp.h: Include <fenv_private.h>.
7793 * math/math-narrow.h: Likewise.
7794 * math/s_cexp_template.c: Likewise.
7795 * math/s_csin_template.c: Likewise.
7796 * math/s_csinh_template.c: Likewise.
7797 * math/s_ctan_template.c: Likewise.
7798 * math/s_ctanh_template.c: Likewise.
7799 * math/s_iseqsig_template.c: Likewise.
7800 * math/w_acos_compat.c: Likewise.
7801 * math/w_acosf_compat.c: Likewise.
7802 * math/w_acosl_compat.c: Likewise.
7803 * math/w_asin_compat.c: Likewise.
7804 * math/w_asinf_compat.c: Likewise.
7805 * math/w_asinl_compat.c: Likewise.
7806 * math/w_ilogb_template.c: Likewise.
7807 * math/w_j0_compat.c: Likewise.
7808 * math/w_j0f_compat.c: Likewise.
7809 * math/w_j0l_compat.c: Likewise.
7810 * math/w_j1_compat.c: Likewise.
7811 * math/w_j1f_compat.c: Likewise.
7812 * math/w_j1l_compat.c: Likewise.
7813 * math/w_jn_compat.c: Likewise.
7814 * math/w_jnf_compat.c: Likewise.
7815 * math/w_llogb_template.c: Likewise.
7816 * math/w_log10_compat.c: Likewise.
7817 * math/w_log10f_compat.c: Likewise.
7818 * math/w_log10l_compat.c: Likewise.
7819 * math/w_log2_compat.c: Likewise.
7820 * math/w_log2f_compat.c: Likewise.
7821 * math/w_log2l_compat.c: Likewise.
7822 * math/w_log_compat.c: Likewise.
7823 * math/w_logf_compat.c: Likewise.
7824 * math/w_logl_compat.c: Likewise.
7825 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
7826 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
7827 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
7828 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
7829 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7830 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7831 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7832 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7833 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7834 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7835 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7836 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7837 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
7838 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
7839 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7840 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
7841 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7842 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7843 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7844 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7845 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7846 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7847 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7848 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7849 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7850 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7851 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7852 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
7853 * sysdeps/ieee754/float128/float128_private.h: Likewise.
7854 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7855 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7856 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7857 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
7858 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7859 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7860 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7861 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7862 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7863 * sysdeps/ieee754/k_standardl.c: Likewise.
7864 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7865 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7866 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7867 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7868 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7869 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7870 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7871 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7872 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7873 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7874 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7875 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7876 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7877 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7878 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7879 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
7880 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7881 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
7882 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7883 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7884 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7885 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7886 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7887 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7888 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7889 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7890 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7891 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7892 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
7893 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7894 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7895 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7896 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7897 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7898 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7899 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7900 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7901 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7902 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7903 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7904 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
7905 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7906 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
7907 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7908 * sysdeps/riscv/rvd/s_finite.c: Likewise.
7909 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
7910 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
7911 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
7912 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
7913 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
7914 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
7915 * sysdeps/riscv/rvf/fegetround.c: Likewise.
7916 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
7917 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
7918 * sysdeps/riscv/rvf/fesetround.c: Likewise.
7919 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
7920 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
7921 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
7922 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7923 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
7924 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7925 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
7926 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
7927 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
7928 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
7929 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
7930 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
7931 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
7932 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
7933 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7934 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7936 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7939 * include/stdio.h (__libc_fatal): Mention newline in comment.
7940 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
7941 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
7942 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7943 * nss/nsswitch.c (__nss_next2): Likewise.
7944 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
7945 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
7946 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
7947 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7948 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
7949 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
7950 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
7951 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
7952 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
7953 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
7954 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
7955 * sysdeps/unix/sysv/linux/netlink_assert_response.c
7956 (__netlink_assert_response): Likewise.
7958 2018-08-31 Joseph Myers <joseph@codesourcery.com>
7960 * conform/glibcconform.py: New file.
7961 * conform/list-header-symbols.py: Likewise.
7962 * conform/list-header-symbols.pl: Remove.
7963 * conform/Makefile (tests-special): Only add linknamespace tests
7965 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
7967 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
7970 * support/Makefile (libsupport-routines): Add
7971 support_copy_file_range and xcopy_file_range.
7972 * support/support.h: Include <sys/types.h>.
7973 (support_copy_file_range): New prototype.
7974 * support/support_copy_file_range.c: New file. Copied and
7975 modified from io/copy_file_range-compat.c.
7976 * support/test-container.c (copy_one_file): Call xcopy_file_rang
7977 instead of copy_file_range.
7978 * support/xcopy_file_range.c: New file.
7979 * support/xunistd.h (xcopy_file_range): New prototype.
7981 2018-08-30 Carlos O'Donell <carlos@redhat.com>
7983 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
7984 xpthread_create and xpthread_join.
7986 2018-08-30 Florian Weimer <fweimer@redhat.com>
7988 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
7990 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
7992 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
7995 2018-08-29 Joseph Myers <joseph@codesourcery.com>
7997 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
7998 and minus_oflow as non-finite.
8000 2018-08-28 Joseph Myers <joseph@codesourcery.com>
8002 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
8003 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
8004 moved to fenv_private.h except for ...
8005 (TOINT_INTRINSICS): Kept in math_private.h.
8006 (roundtoint): Likewise.
8007 (converttoint): Likewise.
8008 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
8009 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8010 * sysdeps/arm/math_private.h: Remove.
8011 * sysdeps/generic/fenv_private.h: New file. Contents moved from
8013 * sysdeps/generic/math_private.h: ... this file. Include
8014 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
8015 Include <fenv_private.h>. Remove functions and macros moved to
8017 * sysdeps/i386/fpu/math_private.h: Remove.
8018 * sysdeps/mips/math_private.h: Move to ....
8019 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
8020 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
8021 [__mips_hard_float] conditional. Include next <fenv_private.h>.
8022 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
8023 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8024 * sysdeps/powerpc/fpu/math_private.h: Do not include
8026 * sysdeps/riscv/rvf/math_private.h: Move to ....
8027 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
8028 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
8030 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
8031 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8032 * sysdeps/sparc/fpu/math_private.h: Remove.
8033 * sysdeps/i386/fpu/fenv_private.h: Move to ....
8034 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
8035 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
8037 * sysdeps/x86_64/fpu/math_private.h: Do not include
8038 <sysdeps/i386/fpu/fenv_private.h>.
8040 2018-08-28 Florian Weimer <fweimer@redhat.com>
8043 * posix/tst-regcomp-truncated.c: New file.
8044 * posix/Makefile (tests): Add it.
8045 (tst-regcomp-truncated.out): Depend on generated locales.
8047 2018-08-28 Florian Weimer <fweimer@redhat.com>
8049 * support/test-container.c (main): Treat unshare failure with
8050 EPERM as an unsupported test.
8052 2018-08-28 Florian Weimer <fweimer@redhat.com>
8055 nscd: Fix use-after-free in addgetnetgrentX and its callers.
8056 * nscd/netgroupcache.c
8057 (addgetnetgrentX): Add tofreep parameter. Do not free
8058 heap-allocated buffer.
8059 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
8060 (addgetnetgrentX_ignore): New function.
8061 (addgetnetgrent): Call it.
8062 (readdgetnetgrent): Likewise.
8064 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8066 * string/memmem.c: Use memcmp for first match.
8068 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
8071 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
8073 2018-08-27 DJ Delorie <dj@redhat.com>
8075 * support/Makefile (others): Don't list programs explicitly as a
8076 dependency of "others".
8078 2018-08-27 Joseph Myers <joseph@codesourcery.com>
8080 * sysdeps/generic/math-tests-trap-force.h: New file.
8081 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
8082 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
8083 * sysdeps/powerpc/math-tests.h: Remove file.
8084 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
8086 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
8087 Torvald Riegel <triegel@redhat.com>
8090 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
8091 Update r to include the set wake-request flag if waiters are
8092 remaining after spinning.
8094 2018-08-27 Joseph Myers <joseph@codesourcery.com>
8096 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
8098 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
8101 regex: fix uninitialized memory access
8102 I introduced this bug into gnulib in commit
8103 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
8104 eventually it was merged into glibc. The bug was found by
8105 project-repo <bugs@feusi.co> and reported here:
8106 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
8107 Diagnosis and draft fix reported by Assaf Gordon here:
8108 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
8109 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
8110 * posix/regex_internal.c (build_wcs_upper_buffer):
8111 Fix bug when mbrtowc returns 0.
8113 2018-08-24 Carlos O'Donell <carlos@redhat.com>
8115 * po/be.po: Update translation.
8117 2018-08-24 DJ Delorie <dj@delorie.com>
8119 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
8122 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8125 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
8126 create temporary files in source tree.
8128 2018-08-24 Joseph Myers <joseph@codesourcery.com>
8130 * sysdeps/generic/math-tests-trap.h: New file.
8131 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
8132 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
8133 * sysdeps/aarch64/math-tests.h: Remove file.
8134 * sysdeps/arm/math-tests.h: Likewise.
8135 * sysdeps/riscv/math-tests.h: Likewise.
8136 * sysdeps/aarch64/math-tests-trap.h: New file.
8137 * sysdeps/arm/math-tests-trap.h: Likewise.
8138 * sysdeps/riscv/math-tests-trap.h: Likewise.
8140 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
8142 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
8143 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
8144 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
8145 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
8146 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
8147 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
8148 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8149 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
8150 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
8151 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8152 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8153 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8154 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8155 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
8156 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
8157 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
8158 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8159 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8161 2018-08-23 Joseph Myers <joseph@codesourcery.com>
8163 * sysdeps/generic/math-tests-exceptions.h: New file.
8164 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
8165 (EXCEPTION_TESTS_float): Do not define here.
8166 (EXCEPTION_TESTS_double): Likewise.
8167 (EXCEPTION_TESTS_long_double): Likewise.
8168 (EXCEPTION_TESTS_float128): Likewise.
8169 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
8171 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
8172 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
8173 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
8174 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
8175 * sysdeps/mips/math-tests.h: Likewise.
8176 * sysdeps/nios2/math-tests.h: Likewise.
8177 * sysdeps/riscv/math-tests.h [!__riscv_flen]
8178 (EXCEPTION_TESTS_float): Do not define here.
8179 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
8180 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
8181 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
8183 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
8185 * NEWS: Move optimized sinf entry to 2.29.
8187 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
8189 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
8191 2018-08-22 DJ Delorie <dj@redhat.com>
8193 * Makefile (testroot.pristine): New rules to initialize the
8194 test-in-container "testroot".
8195 * Makerules (all-testsuite): Add tests-container.
8196 * Rules (tests-expected): Add tests-container.
8197 (binaries-all-tests): Likewise.
8198 (tests-container): New, run these tests in the testroot container.
8199 * support/Makefile (others): Add *-container, support_paths.c,
8200 xmkdirp, and links-dso-program.
8201 * support/links-dso-program-c.c: New.
8202 * support/links-dso-program.cc: New.
8203 * support/test-container.c: New.
8204 * support/shell-container.c: New.
8205 * support/echo-container.c: New.
8206 * support/true-container.c: New.
8207 * support/xmkdirp.c: New.
8208 * support/xsymlink.c: New.
8209 * support/support_paths.c: New.
8210 * support/support.h: Add support paths prototypes.
8211 * support/xunistd.h: Add xmkdirp () and xsymlink ().
8213 * nss/tst-nss-test3.c: Convert to test-in-container.
8214 * nss/tst-nss-test3.root/: New.
8216 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
8218 regex: port Gnulib code to z/OS POSIX environment
8219 Problem reported by Arnold Robbins in:
8220 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
8221 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
8224 2018-08-22 Joseph Myers <joseph@codesourcery.com>
8226 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
8227 (ROUNDING_TESTS_double): Remove.
8228 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
8229 (ROUNDING_TESTS_double): Remove.
8230 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
8231 (ROUNDING_TESTS_double): Remove.
8232 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
8233 (ROUNDING_TESTS_float): Remove.
8234 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
8235 (ROUNDING_TESTS_float): Remove.
8236 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
8237 (ROUNDING_TESTS_float): Remove.
8238 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
8240 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8241 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8243 * sysdeps/generic/math-tests-rounding.h: New file.
8244 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
8245 (ROUNDING_TESTS_float): Do not define here.
8246 (ROUNDING_TESTS_double): Likewise.
8247 (ROUNDING_TESTS_long_double): Likewise.
8248 (ROUNDING_TESTS_float128): Likewise.
8249 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
8250 (ROUNDING_TESTS_double): Undefine before defining.
8251 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
8252 (ROUNDING_TESTS_double): Undefine before defining.
8253 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
8254 (ROUNDING_TESTS_double): Undefine before defining.
8255 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
8256 (ROUNDING_TESTS_float): Undefine before defining.
8257 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
8258 (ROUNDING_TESTS_float): Undefine before defining.
8259 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
8260 (ROUNDING_TESTS_float): Undefine before defining.
8261 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
8262 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
8264 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
8265 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
8266 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
8267 * sysdeps/riscv/math-tests.h [!__riscv_flen]
8268 (ROUNDING_TESTS_float): Do not define here.
8269 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
8270 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
8271 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
8272 (ROUNDING_TESTS_float): Likewise.
8273 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
8274 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
8275 * sysdeps/mips/math-tests.h [__mips_soft_float]
8276 (ROUNDING_TESTS_float): Likewise.
8277 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
8278 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
8279 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
8280 (ROUNDING_TESTS_double): Likewise.
8281 (ROUNDING_TESTS_long_double): Likewise.
8283 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
8285 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
8286 (PF_XDP): New macro.
8287 (AF_XDP): New macro.
8288 (SOL_XDP): New macro.
8290 2018-08-21 Joseph Myers <joseph@codesourcery.com>
8292 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
8293 (TCP_INQ): Likewise.
8294 (TCP_CM_INQ): Likewise.
8295 (TCP_REPAIR_ON): Likewise.
8296 (TCP_REPAIR_OFF): Likewise.
8297 (TCP_REPAIR_OFF_NO_WP): Likewise.
8298 (struct tcp_zerocopy_receive): New type.
8300 2018-08-21 Florian Weimer <fweimer@redhat.com>
8302 * support/support.h (support_descriptor_supports_holes): Declare.
8303 * support/Makefile (libsupport-routines): Add
8304 support_descriptor_supports_holes.
8305 * support/support_descriptor_supports_holes.c: New file.
8306 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
8307 and stop testing if holes are not supported.
8308 * io/test-lfs.c (do_prepare): Likewise.
8309 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
8311 * timezone/tst-tzset.c (create_tz_file): Likewise.
8312 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
8314 (do_prepare): Set it.
8315 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
8317 2018-08-21 Florian Weimer <fweimer@redhat.com>
8320 * Makeconfig (+cflags): Do not sort (and deduplicate).
8322 2018-08-21 Florian Weimer <fweimer@redhat.com>
8324 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
8325 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
8327 2018-08-20 Florian Weimer <fweimer@redhat.com>
8329 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
8330 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
8332 2018-08-20 Joseph Myers <joseph@codesourcery.com>
8334 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
8335 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
8336 and ssi_arch members.
8338 * elf/elf.c (NT_VMCOREDD): New macro.
8339 (AT_MINSIGSTKSZ): Likewise.
8341 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8343 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8344 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
8345 s_cosf-ppc64 and s_cosf-power8.
8346 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
8347 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8348 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8349 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
8351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
8352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
8353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
8354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8356 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
8357 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8359 2018-08-17 Florian Weimer <fweimer@redhat.com>
8361 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8363 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
8365 * malloc/malloc.c (_int_malloc): Additional binning code checks.
8367 2018-08-16 Florian Weimer <fweimer@redhat.com>
8369 * configure.ac: Add --with-nonshared-cflags option.
8370 * config.make.in (extra-nonshared-cflags): Set variable.
8371 * Makeconfig (CFLAGS-.oS): Use it.
8372 * manual/install.texi (Configuring and compiling): Document
8373 --with-nonshared-cflags.
8374 * configure: Regenerate.
8375 * INSTALL: Likewise.
8377 2018-08-16 Florian Weimer <fweimer@redhat.com>
8379 * Makeconfig (ASFLAGS): Always append required assembler flags.
8381 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
8383 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
8384 (malloc_consolidate): Likewise.
8386 2018-08-16 Pochang Chen <johnchen902@gmail.com>
8388 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
8390 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
8392 * benchtests/bench-strlen.c (do_test): Allocate buffers before
8395 * benchtests/bench-strlen.c: Print performance numbers in json.
8397 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8399 * sysdeps/powerpc/powerpc64/multiarch/Makefile
8400 (sysdep_routines): Build strcmp-power9 and strncmp-power9
8401 only for little endian.
8402 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8403 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
8404 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
8405 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
8406 Add check for little endian.
8407 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
8408 (__strcmp_power9): Add check for little endian.
8409 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
8410 Add check for little endian.
8411 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
8412 (__strncmp_power9): Add check for little endian.
8413 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
8414 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
8415 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
8416 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
8417 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
8419 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
8421 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
8422 [!STRLEN](STRLEN): Set to __strlen.
8423 * sysdeps/aarch64/multiarch/strlen.c: New file.
8424 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
8425 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
8426 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
8427 (__libc_ifunc_impl_list): Add strlen.
8428 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
8429 strlen_generic and strlen_asimd.
8431 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8433 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
8434 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
8435 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
8437 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8439 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
8441 2018-08-14 Florian Weimer <fweimer@redhat.com>
8444 * include/stdio.h (__vfxprintf): Declare.
8445 * stdio-common/fxprintf.c (__vfxprintf): New function.
8446 (__fxprintf): Call it.
8447 * misc/err.c (convert_and_print): Remove function.
8448 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
8449 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
8450 * misc/Makefile (tests): Add tst-warn-wide.
8451 * misc/tst-warn-wide.c: New file.
8453 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
8454 Szabolcs Nagy <szabolcs.nagy@arm.com>
8456 * NEWS: Mention sinf, cosf, sincosf.
8457 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
8458 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
8459 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
8460 constants rather than including generic sincosf.h.
8461 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
8462 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
8463 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
8464 (reduced_cos): Remove.
8465 (sinf_poly): New function.
8466 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
8468 2018-08-14 Florian Weimer <fweimer@redhat.com>
8472 * nss/nss_files/files-alias.c (get_next_alias): During :include:
8473 processing, bail out if no room, and close the stream before
8475 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
8476 (tst-nss-files-alias-leak): Link with libdl.
8477 (tst-nss-files-alias-leak.out): Depend on nss_files.
8479 * nss/tst-nss-files-alias-leak.c: New file.
8481 2018-08-14 Florian Weimer <fweimer@redhat.com>
8483 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
8484 server_user, stat_user.
8486 2018-08-13 Joseph Myers <joseph@codesourcery.com>
8488 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8490 (io_pgetevents): New syscall.
8493 * manual/install.texi (Configuring and compiling): Do not list
8494 tools used for testing pretty printers here.
8495 (Tools for Compilation): List Python, PExpect and GDB here.
8496 Update descriptions of uses of Perl and Python.
8497 * INSTALL: Regenerate.
8499 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8502 2018-08-13 Florian Weimer <fweimer@redhat.com>
8504 * misc/error.c (error): Add missing va_end call.
8505 (error_at_line): Likewise.
8507 2018-08-13 Florian Weimer <fweimer@redhat.com>
8509 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
8511 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
8513 * benchtests/scripts/benchout.schema.json (properties): Add
8516 * benchtests/bench-skeleton.c (main): Add duration and
8517 iterations attributes.
8519 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
8521 regex: Gnulib unibyte RRI uses bytes not chars
8522 Adjust the non-glibc code to agree with what Gawk needs for
8523 rational range interpretation (RRI) for regular expression ranges.
8524 In unibyte locales, Gawk wants ranges to use the underlying byte
8525 rather than the character code point. This change does not affect
8527 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
8528 In unibyte locales, use the byte value rather than
8529 running it through btowc.
8531 2018-08-10 Joseph Myers <joseph@codesourcery.com>
8533 * sysdeps/generic/math-tests-snan.h: New file.
8534 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
8535 (SNAN_TESTS_float): Do not define here.
8536 (SNAN_TESTS_double): Likewise.
8537 (SNAN_TESTS_long_double): Likewise.
8538 (SNAN_TESTS_float128): Likewise.
8539 * sysdeps/i386/fpu/math-tests-snan.h: New file.
8540 * sysdeps/i386/fpu/math-tests.h: Remove file.
8541 * sysdeps/ia64/math-tests-snan.h: New file.
8542 * sysdeps/ia64/math-tests.h: Remove file.
8543 * sysdeps/x86/math-tests.h: Likewise.
8544 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
8546 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8547 Szabolcs Nagy <szabolcs.nagy@arm.com>
8549 * math/Makefile: Add s_sincosf_data.c.
8550 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
8551 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
8552 (sincosf_poly): Likewise.
8553 (reduce_small): Likewise.
8554 (reduce_large): Likewise.
8555 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
8556 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
8557 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
8558 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
8560 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8561 Szabolcs Nagy <szabolcs.nagy@arm.com>
8563 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
8564 (converttoint): Use lround.
8565 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
8566 document the semantics when TOINT_INTRINSICS is set.
8567 (converttoint): Likewise.
8568 (TOINT_RINT): Remove.
8569 (TOINT_SHIFT): Remove.
8570 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
8573 2018-08-10 Florian Weimer <fweimer@redhat.com>
8576 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
8578 (__old_getdents64): Use getdents64. Convert entries without
8580 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
8581 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
8582 tst-readdir64-compat.
8584 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8586 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
8589 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8591 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
8592 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
8593 code to s390x-mcount.h and #include it.
8594 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
8595 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
8598 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8600 * stdlib/Versions: Remove __fentry__.
8601 * sysdeps/i386/Versions: Add __fentry__.
8602 * sysdeps/x86_64/Versions: Add __fentry__.
8604 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8606 * sysdeps/s390/Makefile: Register the new tests.
8607 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
8608 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
8609 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
8610 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
8611 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
8612 * sysdeps/s390/tst-dl-runtime.c: New file.
8614 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8616 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8619 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8621 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8624 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8626 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8629 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8631 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8634 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8636 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8637 Use symbolic offsets for stack variables.
8639 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8641 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8642 Use symbolic offsets for stack variables.
8644 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8646 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8647 Use symbolic offsets for stack variables.
8649 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8651 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8652 Use symbolic offsets for stack variables.
8654 2018-08-09 Joseph Myers <joseph@codesourcery.com>
8656 * math/gen-libm-test.py: New file.
8657 * math/gen-libm-test.pl: Remove.
8658 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
8659 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
8661 ($(libm-test-c-noauto-obj)): Likewise.
8662 ($(libm-test-c-auto-obj)): Likewise.
8663 ($(libm-test-c-narrow-obj)): Likewise.
8664 (regen-ulps): Likewise.
8665 * math/README.libm-test: Update references to gen-libm-test.pl.
8666 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
8667 referencing gen-libm-test.pl.
8668 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
8669 * math/libm-test-support.c: Likewise.
8670 * math/libm-test-support.h: Likewise.
8671 * sysdeps/generic/libm-test-ulps: Likewise.
8673 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
8675 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
8678 2018-08-08 Joseph Myers <joseph@codesourcery.com>
8680 * math/libm-test-nextdown.inc (do_test): Move comment to ....
8681 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
8683 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8685 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
8687 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
8688 __pthread_setspecific): Add hidden proto.
8689 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
8690 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
8692 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
8694 * benchtests/bench-string.h (buf1_size, buf2_size): New
8696 (init_sizes): New function.
8697 (test_init): Use it.
8698 (alloc_buf, exit_error): New functions.
8699 (alloc_bufs): Use ALLOC_BUF.
8700 (realloc_bufs): Remove.
8701 * benchtests/bench-memcmp.c (do_test): Adjust.
8702 * benchtests/bench-memset-large.c (do_test): Likewise.
8703 * benchtests/bench-memset-walk.c (do_test): Likewise.
8704 * benchtests/bench-memset.c (do_test): Likewise.
8705 * benchtests/bench-strncmp.c (do_test): Likewise.
8707 2018-08-06 Andreas Schwab <schwab@suse.de>
8709 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
8710 of CONST_THREAD_AREA.
8712 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
8714 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
8715 (STATE_SAVE_MASK): Likewise.
8716 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
8717 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
8718 (STATE_SAVE_MASK): Likewise.
8719 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
8720 instead of <cpu-features.h>.
8722 2018-08-03 DJ Delorie <dj@redhat.com>
8724 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
8725 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
8727 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
8729 2018-08-03 Joseph Myers <joseph@codesourcery.com>
8731 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
8733 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
8734 * math/libm-test-logb.inc (logb_test_data): Likewise.
8736 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
8738 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
8739 * string/strstr.c (AVAILABLE): Likewise.
8741 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8743 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
8745 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
8746 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
8747 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
8749 2018-08-03 Carlos O'Donell <carlos@redhat.com>
8751 * po/be.po: Update translation.
8753 * po/be.po: Update translation.
8755 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8757 * sysdeps/x86/cpu-features-offsets.sym
8758 (rtld_global_ro_offsetof): Removed.
8759 (CPU_FEATURES_SIZE): Likewise.
8760 (CPUID_OFFSET): Likewise.
8761 (CPUID_SIZE): Likewise.
8762 (CPUID_EAX_OFFSET): Likewise.
8763 (CPUID_EBX_OFFSET): Likewise.
8764 (CPUID_ECX_OFFSET): Likewise.
8765 (CPUID_EDX_OFFSET): Likewise.
8766 (FAMILY_OFFSET): Likewise.
8767 (MODEL_OFFSET): Likewise.
8768 (FEATURE_OFFSET): Likewise.
8769 (FEATURE_SIZ): Likewise.
8770 (COMMON_CPUID_INDEX_1): Likewise.
8771 (COMMON_CPUID_INDEX_7): Likewise.
8772 (FEATURE_INDEX_1): Likewise.
8773 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
8775 2018-08-02 Carlos O'Donell <carlos@redhat.com>
8777 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
8778 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
8779 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
8780 (install-locales): Depend on install-locale-archive.
8781 (install-locale-archive): Define.
8782 (install-locale-files): Define.
8783 (build-one-locale): Define macro.
8784 * manual/install.texi (Running make install): Document.
8785 * manual/INSTALL: Regenerate.
8787 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
8789 * benchtests/scripts/compare_strings.py: Import traceback.
8790 (parse_file): Pretty-print error.
8792 * NEWS: Mention the change.
8793 * elf/dl-tunables.list: Rename tune namespace to cpu.
8794 * sysdeps/powerpc/dl-tunables.list: Likewise.
8795 * sysdeps/x86/dl-tunables.list: Likewise.
8796 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
8798 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
8799 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
8800 * manual/README.tunables: Likewise.
8801 * manual/tunables.texi: Likewise.
8802 * sysdeps/powerpc/cpu-features.c: Likewise.
8803 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
8804 (init_cpu_features): Likewise.
8805 * sysdeps/x86/cpu-features.c: Likewise.
8806 * sysdeps/x86/cpu-features.h: Likewise.
8807 * sysdeps/x86/cpu-tunables.c: Likewise.
8808 * sysdeps/x86_64/Makefile: Likewise.
8809 * sysdeps/x86/dl-cet.c: Likewise.
8811 2018-08-02 Joseph Myers <joseph@codesourcery.com>
8814 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
8815 [__mips_hard_float].
8816 (FE_UNDERFLOW): Likewise.
8817 (FE_OVERFLOW): Likewise.
8818 (FE_DIVBYZERO): Likewise.
8819 (FE_INVALID): Likewise.
8820 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
8821 (FE_TOWARDZERO): Define only if [__mips_hard_float].
8822 (FE_UPWARD): Likewise.
8823 (FE_DOWNWARD): Likewise.
8824 (__FE_UNDEFINED): Define if [!__mips_hard_float]
8825 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
8826 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
8827 [__mips_hard_float].
8828 (FP_ROUNDMODE): Likewise.
8829 (FP_RND_NEAREST): Likewise.
8830 (FP_RND_ZERO): Likewise.
8831 (FP_RND_PINF): Likewise.
8832 (FP_RND_MINF): Likewise.
8833 (FP_EX_INVALID): Likewise.
8834 (FP_EX_OVERFLOW): Likewise.
8835 (FP_EX_UNDERFLOW): Likewise.
8836 (FP_EX_DIVZERO): Likewise.
8837 (FP_EX_INEXACT): Likewise.
8838 (FP_INIT_ROUNDMODE): Likewise.
8839 * sysdeps/mips/nofpu/fesetenv.c: New file.
8840 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
8842 2018-08-01 Joseph Myers <joseph@codesourcery.com>
8844 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
8845 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
8846 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
8847 conditional on [FE_UPWARD].
8849 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
8851 regex: fix memory leak in Gnulib
8852 Problem and fix reported by Assaf Gordon in:
8853 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
8854 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
8855 range_ends members too, as they are defined in 'struct
8856 re_charset_t' even if not _LIBC. This affects only Gnulib.
8858 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
8860 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
8862 (get_common_indices): This.
8863 (init_cpu_features): Updated.
8865 2018-08-01 Joseph Myers <joseph@codesourcery.com>
8867 * sysdeps/generic/math-tests-snan-payload.h: New file.
8868 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
8869 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
8870 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
8871 * sysdeps/generic/math-tests.h: Include
8872 <math-tests-snan-payload.h>.
8873 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8874 * sysdeps/hppa/math-tests.h: Remove file.
8875 * sysdeps/mips/math-tests.h [!__mips_nan2008]
8876 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8877 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
8880 * sysdeps/generic/math-tests-snan-cast.h: New file.
8881 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
8882 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
8883 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
8884 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
8886 2018-08-01 Carlos O'Donel <carlos@redhat.com>
8888 * version.h (RELEASE): Set to "development".
8889 (VERSION): Set to "2.28.9000".
8890 * NEWS (2.29): New section.
8892 * version.h (RELEASE): Set to "stable".
8893 (VERSION): Set to "2.28".
8894 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
8895 * NEWS: Add the list of bugs fixed in 2.28.
8897 * po/ca.po: Update to latest version.
8898 * po/cs.po: Likewise
8899 * po/da.po: Likewise
8900 * po/el.po: Likewise
8901 * po/eo.po: Likewise
8902 * po/es.po: Likewise
8903 * po/fi.po: Likewise
8904 * po/fr.po: Likewise
8905 * po/gl.po: Likewise
8906 * po/hu.po: Likewise
8907 * po/ia.po: Likewise
8908 * po/id.po: Likewise
8909 * po/it.po: Likewise
8910 * po/ja.po: Likewise
8911 * po/ko.po: Likewise
8912 * po/lt.po: Likewise
8913 * po/nb.po: Likewise
8914 * po/nl.po: Likewise
8915 * po/pt_BR.po: Likewise
8916 * po/ru.po: Likewise
8917 * po/rw.po: Likewise
8918 * po/sk.po: Likewise
8919 * po/sl.po: Likewise
8920 * po/tr.po: Likewise
8921 * po/zh_CN.po: Likewise
8922 * po/zh_TW.po: Likewise
8924 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8926 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
8928 (init): ... before initializing libpthread.
8930 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
8931 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
8932 (__mach_setup_tls): ... new function.
8933 (mach_setup_tls): New alias.
8934 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
8935 __mach_setup_thread.
8936 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
8937 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
8938 * mach/Versions [libc] (mach_setup_tls): Add symbol.
8939 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
8941 2018-07-31 Carlos O'Donell <carlos@redhat.com>
8943 * manual/install.texi: Update versions.
8944 * INSTALL: Regenerate.
8946 * manual/contrib.texi (Contributors): Update contributions.
8948 2018-07-31 Carlos O'Donell <carlos@redhat.com>
8950 * po/be.po: Update translations.
8952 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8954 * sysdeps/sh/libm-test-ulps: Update.
8956 2018-07-30 Carlos O'Donell <carlos@redhat.com>
8958 * po/bg.po: Update translations.
8959 * po/de.po: Likewise.
8960 * po/hr.po: Likewise.
8961 * po/pt_BR.po: Likewise.
8962 * po/sv.po: Likewise.
8963 * po/vi.po: Likewise.
8965 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
8968 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
8969 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
8970 (CFLAGS-tst-cet-property-1.o): New.
8971 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
8972 ($(objpfx)tst-cet-property-2): Likewise.
8973 ($(objpfx)tst-cet-property-2.out): Likewise.
8974 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
8975 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
8976 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
8977 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
8978 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
8980 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
8983 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
8985 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8987 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
8988 __sbrk): Do not set attribute_hidden.
8989 * sysdeps/mach/hurd/not-errno.h: New file.
8990 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
8991 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
8993 2018-07-27 Carlos O'Donell <carlos@redhat.com>
8995 * po/uk.po: Update translations.
8996 * po/cs.po: Likewise.
8997 * po/pl.po: Likewise.
8999 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
9001 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
9002 parse beyond the note end.
9004 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9006 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
9007 kernel does not support OFD locks.
9008 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
9010 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9012 * sysdeps/mach/hurd/Versions (libc): Make __access and
9013 __access_noerrno external so they can override the ld symbols.
9014 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
9015 __writev, __open64, __access_noerrno extern so they can be overrided.
9016 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
9017 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
9019 2018-07-26 Carlos O'Donell <carlos@redhat.com>
9021 * po/libc.pot: Regenerate.
9023 2018-07-26 Joseph Myers <joseph@codesourcery.com>
9025 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
9027 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9030 * sysdeps/x86/cpu-features.c (get_extended_indices): New
9032 (init_cpu_features): Call get_extended_indices for both Intel
9034 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
9035 Remove "for AMD" comment.
9037 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9040 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
9041 COMMON_CPUID_INDEX_80000001.
9043 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
9045 * string/tst-xbzero-opt.c (use_test_buffer): New function.
9046 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
9048 2018-07-26 Florian Weimer <fweimer@redhat.com>
9050 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
9051 aliases for symbols not in the implementation namespace.
9053 2018-07-25 Carlos O'Donell <carlos@redhat.com>
9056 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
9057 lowercase in LATIN script.
9058 * localedata/Makefile (test-input): Add en_US.UTF-8.
9059 * localedata/en_US.UTF-8.in: New file.
9060 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
9061 and restore old tests.
9062 * posix/tst-regexloc.c (do_test): Add back range expression test.
9064 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9066 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
9068 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9070 * nptl/threads.h: Move to ...
9071 * sysdeps/nptl/threads.h: ... here.
9072 * sysdeps/hurd/stdc-predef.h: New file.
9074 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9076 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
9077 tst-cet-setcontext-1 if CET is enabled.
9078 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
9079 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
9081 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9083 * include/threads.h: Move to ...
9084 * sysdeps/nptl/threads.h: ... here.
9085 * sysdeps/htl/threads.h: New file.
9086 * conform/Makefile (linknamespace-libs-ISO11): Use
9087 static-thread-library instead of linking libpthread.
9088 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
9090 2018-07-25 Florian Weimer <fweimer@redhat.com>
9092 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
9093 nanoseconds into seconds.
9094 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
9095 (do_test): Likewise.
9096 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
9097 (do_test): Likewise. Avoid nanosecond overflow and spurious
9098 timeouts due to system load.
9099 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
9100 (child_wait): Increment it.
9101 (do_test): Wait as long as necessary until all expected threads
9104 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
9105 H.J. Lu <hongjiu.lu@intel.com>
9107 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
9109 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
9110 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
9111 (__push___start_context): New.
9112 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
9114 (__getcontext): Record the current shadow stack base. Save the
9115 caller's shadow stack pointer and base.
9116 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
9117 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
9118 (__push___start_context): New prototype.
9119 (__makecontext): Call __push___start_context to allocate a new
9120 shadow stack, push __start_context onto the new stack as well
9121 as the new shadow stack.
9122 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
9124 (__setcontext): Restore the target shadow stack.
9125 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
9127 (__swapcontext): Record the current shadow stack base. Save
9128 the caller's shadow stack pointer and base. Restore the target
9130 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9131 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
9132 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
9134 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9136 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
9137 tst-setcontext8 and tst-setcontext9.
9138 * stdlib/tst-setcontext6.c: New file.
9139 * stdlib/tst-setcontext7.c: Likewise.
9140 * stdlib/tst-setcontext8.c: Likewise.
9141 * stdlib/tst-setcontext9.c: Likewise.
9143 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9145 * stdlib/Makefile ((tests): Add tst-setcontext5.
9146 * stdlib/tst-setcontext5.c: New file.
9148 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9150 * stdlib/Makefile (tests): Add tst-setcontext4.
9151 * stdlib/tst-setcontext4.c: New file.
9153 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9155 * stdlib/Makefile (tests): Add tst-swapcontext1.
9156 * stdlib/tst-swapcontext1.c: New test.
9158 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9160 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
9161 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
9162 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
9163 and tst-cet-legacy-4c.
9164 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
9165 and tst-cet-legacy-mod-4.
9166 (CFLAGS-tst-cet-legacy-2.c): New.
9167 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
9168 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
9169 (CFLAGS-tst-cet-legacy-3.c): Likewise.
9170 (CFLAGS-tst-cet-legacy-4.c): Likewise.
9171 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
9172 ($(objpfx)tst-cet-legacy-1): Likewise.
9173 ($(objpfx)tst-cet-legacy-2): Likewise.
9174 ($(objpfx)tst-cet-legacy-2.out): Likewise.
9175 ($(objpfx)tst-cet-legacy-2a): Likewise.
9176 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
9177 ($(objpfx)tst-cet-legacy-4): Likewise.
9178 ($(objpfx)tst-cet-legacy-4.out): Likewise.
9179 ($(objpfx)tst-cet-legacy-4a): Likewise.
9180 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
9181 (tst-cet-legacy-4a-ENV): Likewise.
9182 ($(objpfx)tst-cet-legacy-4b): Likewise.
9183 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
9184 (tst-cet-legacy-4b-ENV): Likewise.
9185 ($(objpfx)tst-cet-legacy-4c): Likewise.
9186 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
9187 (tst-cet-legacy-4c-ENV): Likewise.
9188 * sysdeps/x86/tst-cet-legacy-1.c: New file.
9189 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
9190 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
9191 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
9192 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
9193 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
9194 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
9195 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
9196 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
9197 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
9198 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
9200 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9202 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
9203 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
9205 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
9206 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
9209 2018-07-25 Andreas Schwab <schwab@suse.de>
9212 * locale/weightwc.h (findidx): Handle the case where usrc is a
9213 prefix of cp but one character too short.
9215 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9217 * NEWS: Add ISO C threads addition.
9219 2018-07-24 Florian Weimer <fweimer@redhat.com>
9221 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9222 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
9223 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
9226 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9228 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
9229 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
9230 <sys/prctl.h> and <asm/prctl.h>.
9231 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
9232 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
9234 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
9235 ARCH_CET_LEGACY_BITMAP.
9236 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
9237 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
9238 * sysdeps/x86/libc-start.c: Include <startup.h>.
9240 2018-07-24 Florian Weimer <fweimer@redhat.com>
9242 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
9243 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
9245 2018-07-24 Rical Jasan <rj@2c3t.io>
9246 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9247 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9250 * manual/debug.texi: Update adjacent chapter name.
9251 * manual/probes.texi: Likewise.
9252 * manual/threads.texi (ISO C Threads): New section.
9253 (POSIX Threads): Convert to a section.
9255 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9256 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9259 * nptl/Makefile (tests): Add new test files.
9260 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
9261 * nptl/tst-cnd-basic.c: Likewise.
9262 * nptl/tst-cnd-broadcast.c: Likewise.
9263 * nptl/tst-cnd-timedwait.c: Likewise.
9264 * nptl/tst-mtx-basic.c: Likewise.
9265 * nptl/tst-mtx-recursive.c: Likewise.
9266 * nptl/tst-mtx-timedlock.c: Likewise.
9267 * nptl/tst-mtx-trylock.c: Likewise.
9268 * nptl/tst-thrd-basic.c: Likewise.
9269 * nptl/tst-thrd-detach.c: Likewise.
9270 * nptl/tst-thrd-sleep.c: Likewise.
9271 * nptl/tst-tss-basic.c: Likewise.
9273 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9276 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
9277 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
9279 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9280 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9281 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9282 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9283 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9284 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9285 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9286 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9287 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9288 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9289 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9290 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9298 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9299 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9300 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9301 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9302 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9303 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9304 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9305 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9306 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
9307 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
9308 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
9309 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
9310 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
9312 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
9313 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
9314 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
9315 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
9316 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
9317 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
9318 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
9319 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
9320 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
9321 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
9322 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
9323 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
9325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
9326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9330 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
9331 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
9332 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
9333 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
9334 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
9335 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
9336 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
9337 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
9340 * conform/data/threads.h-data (thread_local): New macro.
9341 (TSS_DTOR_ITERATIONS): Likewise.
9343 (tss_dtor_t): Likewise.
9344 (tss_create): New function.
9345 (tss_get): Likewise.
9346 (tss_set): Likewise.
9347 (tss_delete): Likewise.
9348 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
9349 tss_get, and tss_set objects.
9350 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9351 * nptl/tss_create.c: New file.
9352 * nptl/tss_delete.c: Likewise.
9353 * nptl/tss_get.c: Likewise.
9354 * nptl/tss_set.c: Likewise.
9355 * sysdeps/nptl/threads.h (thread_local): New define.
9356 (TSS_DTOR_ITERATIONS): Likewise.
9357 (tss_t): New typedef.
9358 (tss_dtor_t): Likewise.
9359 (tss_create): New prototype.
9360 (tss_get): Likewise.
9361 (tss_set): Likewise.
9362 (tss_delete): Likewise.
9365 * conform/data/threads.h-data (cnd_t): New type.
9366 (cnd_init): New function.
9367 (cnd_signal): Likewise.
9368 (cnd_broadcast): Likewise.
9369 (cnd_wait): Likewise.
9370 (cnd_timedwait): Likewise.
9371 (cnd_destroy): Likewise.
9372 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
9373 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
9375 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9376 * nptl/cnd_broadcast.c: New file.
9377 * nptl/cnd_destroy.c: Likewise.
9378 * nptl/cnd_init.c: Likewise.
9379 * nptl/cnd_signal.c: Likewise.
9380 * nptl/cnd_timedwait.c: Likewise.
9381 * nptl/cnd_wait.c: Likewise.
9382 * sysdeps/nptl/threads.h (cnd_t): New type.
9383 (cnd_init): New prototype.
9384 (cnd_signa): Likewise.
9385 (cnd_broadcast): Likewise.
9386 (cnd_wait): Likewise.
9387 (cnd_timedwait): Likewise.
9388 (cnd_destroy): Likewise.
9391 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
9392 (once_flag): New type.
9393 (call_once): New function.
9394 * nptl/Makefile (libpthread-routines): Add call_once object.
9395 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
9396 * nptl/call_once.c: New file.
9397 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
9398 (once_flag): New type.
9399 (call_once): New prototype.
9402 * conform/data/threads.h-data (mtx_plain): New constant.
9403 (mtx_recursive): Likewise.
9404 (mtx_timed): Likewise.
9406 (mtx_init): New function.
9407 (mtx_lock): Likewise.
9408 (mtx_timedlock): Likewise.
9409 (mtx_trylock): Likewise.
9410 (mtx_unlock): Likewise.
9411 (mtx_destroy): Likewise.
9412 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
9413 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
9414 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
9415 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
9416 * nptl/mtx_destroy.c: New file.
9417 * nptl/mtx_init.c: Likewise.
9418 * nptl/mtx_lock.c: Likewise.
9419 * nptl/mtx_timedlock.c: Likewise.
9420 * nptl/mtx_trylock.c: Likewise.
9421 * nptl/mtx_unlock.c: Likewise.
9422 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
9423 (mtx_recursive): Likewise.
9424 (mtx_timed): Likewise.
9426 (mtx_init): New prototype.
9427 (mtx_lock): Likewise.
9428 (mtx_timedlock): Likewise.
9429 (mtx_trylock): Likewise.
9430 (mtx_unlock): Likewise.
9431 (mtx_destroy): Likewise.
9434 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
9435 (linknamespace-libs-ISO11): Add libpthread.a.
9436 * conform/data/threads.h-data: New file: add C11 thrd_* types and
9438 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
9439 * nptl/Makefile (headers): Add threads.h.
9440 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
9441 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
9443 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
9444 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
9445 thrd_join, thrd_sleep, and thrd_yield symbols.
9446 * nptl/descr.h (struct pthread): Add c11 field.
9447 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
9448 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
9449 routine with expected function prototype.
9450 (__pthread_create_2_1): Add C11 threads check based on attribute
9452 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
9453 * nptl/thrd_create.c: New file.
9454 * nptl/thrd_current.c: Likewise.
9455 * nptl/thrd_detach.c: Likewise.
9456 * nptl/thrd_equal.c: Likewise.
9457 * nptl/thrd_exit.c: Likewise.
9458 * nptl/thrd_join.c: Likewise.
9459 * nptl/thrd_priv.h: Likewise.
9460 * nptl/thrd_sleep.c: Likewise.
9461 * nptl/thrd_yield.c: Likewise.
9462 * include/threads.h: Likewise.
9464 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9466 * bits/indirect-return.h: New file.
9467 * misc/sys/cdefs.h (__glibc_has_attribute): New.
9468 * sysdeps/x86/bits/indirect-return.h: Likewise.
9469 * stdlib/Makefile (headers): Add bits/indirect-return.h.
9470 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
9471 (swapcontext): Add __INDIRECT_RETURN.
9472 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
9473 (prepare_test_buffer): Use it.
9475 2018-07-24 Andreas Schwab <schwab@suse.de>
9478 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
9479 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
9481 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9483 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
9484 Redefine if shadow stack is enabled.
9485 (SYSCALL_ERROR_LABEL): Likewise.
9486 (__vfork): Pop shadow stack and jump back to to caller directly
9487 when shadow stack is in use.
9488 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
9489 Redefine if shadow stack is enabled.
9490 (SYSCALL_ERROR_LABEL): Likewise.
9491 (__vfork): Pop shadow stack and jump back to to caller directly
9492 when shadow stack is in use.
9494 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9496 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
9499 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
9502 2018-07-20 Joseph Myers <joseph@codesourcery.com>
9504 * scripts/build-many-glibcs.py (Context.checkout): Default
9505 binutils version to 2.31 branch.
9507 2018-07-20 Zong Li <zong@andestech.com>
9509 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
9510 URL of gcc's tarball.
9512 2018-07-20 Florian Weimer <fweimer@redhat.com>
9515 * posix/regcomp.c (build_equiv_class): When comparing weights, do
9516 not compare an extra byte after the end of the weights.
9518 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
9520 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
9522 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
9524 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
9525 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
9526 * scripts/check-execstack.awk: Consider `xfail' variable containing a
9527 list of libraries whose stack executability is expected.
9528 * elf/Makefile ($(objpfx)check-execstack.out): Pass
9529 $(check-execstack-xfail) to check-execstack.awk through `xfail'
9531 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
9532 libc.so libpthread.so.
9534 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
9536 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
9538 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
9540 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
9542 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
9544 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9546 * benchtests/scripts/compare_bench.py (__main__): use the argparse
9547 library to improve command line parsing.
9548 (__main__): make schema file as optional parameter (--schema),
9549 defaulting to benchtests/scripts/benchout.schema.json.
9550 (main): move out of the parsing stuff to __main_ and leave it
9551 only as caller of main comparison functions.
9553 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
9555 * NEWS: Add a note for Intel CET status.
9556 * manual/install.texi: Likewise.
9557 * INSTALL: Regenerated.
9559 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
9562 * localedata/locales/oc_FR (mon): Rename to...
9563 (alt_mon): This, then update October (typo fix).
9564 (mon): New content (genitive case, month names preceded by
9568 * localedata/locales/oc_FR (abday): Update all items.
9569 (day): Update Wednesday and Saturday (typo fixes).
9570 (abmon): Update all items, except May.
9571 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
9572 (LC_IDENTIFICATION): Bump the revision number and date.
9573 Keep the "category" entries in alphabetic order.
9574 (LC_ADDRESS): Remove no longer needed comment.
9575 (LC_COLLATE): Use “copy "ca_ES"”.
9576 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
9579 2018-07-18 Joseph Myers <joseph@codesourcery.com>
9581 * grp/tst_fgetgrent.c: Include <unistd.h>.
9582 (main): Use mkstemp instead of tmpnam.
9583 * io/test-utime.c (main): Likewise.
9584 * posix/annexc.c (macrofile): Change to modifiable array.
9585 (main): Remove macrofile here.
9586 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9588 (check_header): Do not remove macrofile here.
9589 * posix/bug-getopt1.c: Include <stdlib.h>.
9590 (do_test): Use mkstemp instead of tmpnam.
9591 * posix/bug-getopt2.c: Include <stdlib.h>.
9592 (do_test): Use mkstemp instead of tmpnam.
9593 * posix/bug-getopt3.c: Include <stdlib.h>.
9594 (do_test): Use mkstemp instead of tmpnam.
9595 * posix/bug-getopt4.c: Include <stdlib.h>.
9596 (do_test): Use mkstemp instead of tmpnam.
9597 * posix/bug-getopt5.c: Include <stdlib.h>.
9598 (do_test): Use mkstemp instead of tmpnam.
9599 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
9600 (main): Use mkstemp instead of tmpnam.
9601 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
9602 (main): Use mkstemp instead of tmpnam.
9603 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
9604 (main): use mkstemp instead of tmpnam.
9605 * stdlib/isomac.c (macrofile): Change to modifiable array.
9606 (main): Remove macrofile here.
9607 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9609 (check_header): Do not remove macrofile here.
9611 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9613 * manual/tunables.texi: Document glibc.tune.x86_ibt and
9614 glibc.tune.x86_shstk.
9616 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9618 * NEWS: Mention --enable-cet.
9619 * manual/install.texi: Document --enable-cet.
9620 * INSTALL: Regenerated.
9622 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9624 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
9625 Add _CET_NOTRACK before indirect jump to jump table.
9627 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9629 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
9630 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9633 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9635 * sysdeps/i386/i686/multiarch/strcat-sse2.S
9636 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9639 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9641 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
9642 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9645 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9647 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
9648 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9651 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9653 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
9654 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9656 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
9658 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9660 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
9661 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9664 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9666 * sysdeps/i386/i686/multiarch/memset-sse2.S
9667 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9670 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9672 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
9673 indirect jump to jump table.
9675 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9677 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
9678 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9682 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9684 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
9685 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9689 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9691 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9692 _CET_NOTRACK before indirect jump to jump table.
9694 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9696 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
9697 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9700 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9702 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
9703 indirect jump to jump table.
9705 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
9708 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
9709 (LOCALES): Likewise.
9710 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
9711 * localedata/locales/sah_RU: New file.
9712 * localedata/sah_RU.UTF-8.in: New file.
9714 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9716 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
9718 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9719 _CET_ENDBR to indirect jump targets and adjust jump destination
9721 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
9723 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9724 _CET_ENDBR to indirect jump targets and adjust jump destination
9726 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
9728 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
9729 _CET_ENDBR to indirect jump targets and adjust jump destination
9732 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9734 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9737 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9739 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
9741 (_dl_tlsdesc_undefweak): Likewise.
9742 (_dl_tlsdesc_dynamic): Likewise.
9743 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
9744 (_dl_tlsdesc_resolve_rel): Likewise.
9745 (_dl_tlsdesc_resolve_rela): Likewise.
9746 (_dl_tlsdesc_resolve_hold): Likewise.
9747 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
9748 (_dl_tlsdesc_undefweak): Likewise.
9749 (_dl_tlsdesc_dynamic): Likewise.
9750 (_dl_tlsdesc_resolve_rela): Likewise.
9751 (_dl_tlsdesc_resolve_hold): Likewise.
9753 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9755 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
9757 * sysdeps/x86_64/crti.S (_init): Likewise.
9760 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
9763 * localedata/locales/os_RU (mon): Rename to...
9765 (mon): Import from CLDR (genitive case).
9767 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9769 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
9770 cet-tunables.h> when CET is enabled.
9772 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
9775 * configure.ac: Add --enable-cet.
9776 * configure: Regenerated.
9777 * elf/Makefille (all-built-dso): Add a comment.
9778 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
9779 Include <dl-prop.h>.
9780 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
9782 * elf/dl-open.c: Include <dl-prop.h>.
9783 (dl_open_worker): Call _dl_open_check.
9784 * elf/rtld.c: Include <dl-prop.h>.
9785 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
9787 * sysdeps/generic/dl-prop.h: New file.
9788 * sysdeps/i386/dl-cet.c: Likewise.
9789 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
9790 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
9791 * sysdeps/x86/cet-tunables.h: Likewise.
9792 * sysdeps/x86/check-cet.awk: Likewise.
9793 * sysdeps/x86/configure: Likewise.
9794 * sysdeps/x86/configure.ac: Likewise.
9795 * sysdeps/x86/dl-cet.c: Likewise.
9796 * sysdeps/x86/dl-procruntime.c: Likewise.
9797 * sysdeps/x86/dl-prop.h: Likewise.
9798 * sysdeps/x86/libc-start.h: Likewise.
9799 * sysdeps/x86/link_map.h: Likewise.
9800 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
9802 (_dl_runtime_profile): Likewise.
9803 (_dl_runtime_resolve_shstk): New.
9804 (_dl_runtime_profile_shstk): Likewise.
9805 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
9807 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
9808 (CFLAGS-.os): Likewise.
9809 (CFLAGS-.op): Likewise.
9810 (CFLAGS-.oS): Likewise.
9811 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
9813 (tests-special): Add $(objpfx)check-cet.out.
9814 (cet-built-dso): New.
9815 (+$(cet-built-dso:=.note)): Likewise.
9816 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
9817 ($(objpfx)check-cet.out): New.
9818 (generated): Add check-cet.out.
9819 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
9821 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
9822 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9823 (init_cpu_features): Call get_cet_status to check CET status
9824 and update dl_x86_feature_1 with CET status. Call
9825 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
9826 (set_x86_shstk). Disable and lock CET in libc.a.
9827 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
9828 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
9829 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9830 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
9831 (_CET_ENDBR): Define if not defined.
9832 (ENTRY): Add _CET_ENDBR.
9833 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
9835 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
9837 (_dl_runtime_profile): Likewise.
9839 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
9842 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
9843 restore r2 on longjmp.
9844 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
9846 Added rules to build test tst-setjmp-bug21895-static.
9847 Added module setjmp-bug21895 and rules to build a shared object from it.
9848 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
9849 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
9851 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
9853 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
9854 * benchtests/bench-strstr.c: Likewise.
9855 * string/memmem.c (FASTSEARCH): Define.
9856 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
9857 Add support for FASTSEARCH.
9858 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
9859 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
9860 (FASTSEARCH): Define.
9861 * string/test-strcasestr.c: Rename __strnlen to strnlen.
9862 * string/test-strstr.c: Likewise.
9864 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
9866 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
9867 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
9869 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
9870 H.J. Lu <hongjiu.lu@intel.com>
9872 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
9873 (__longjmp): Restore shadow stack pointer if shadow stack is
9874 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9875 isn't defined for __longjmp_cancel.
9876 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
9877 (_setjmp): Save shadow stack pointer if shadow stack is enabled
9878 and SHADOW_STACK_POINTER_OFFSET is defined.
9879 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
9880 (setjmp): Save shadow stack pointer if shadow stack is enabled
9881 and SHADOW_STACK_POINTER_OFFSET is defined.
9882 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
9883 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9884 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9885 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
9887 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9888 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9889 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
9890 Remove jmp_buf-ssp.sym.
9891 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9893 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9894 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9895 * sysdeps/x86/Makefile (gen-as-const-headers): Add
9897 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
9898 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
9899 (__longjmp): Restore shadow stack pointer if shadow stack is
9900 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9901 isn't defined for __longjmp_cancel.
9902 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
9903 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9904 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9906 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
9909 * nptl/pthread_create.c: Include <tls-setup.h>.
9910 (__pthread_create_2_1): Call tls_setup_tcbhead.
9911 * sysdeps/generic/tls-setup.h: New file.
9912 * sysdeps/x86/nptl/tls-setup.h: Likewise.
9913 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
9914 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
9916 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
9918 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
9919 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
9920 (X86_FEATURE_1_SHSTK): Likewise.
9921 (CET_ENABLED): Likewise.
9922 (IBT_ENABLED): Likewise.
9923 (SHSTK_ENABLED): Likewise.
9925 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
9928 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
9929 (LOCALES): Likewise.
9930 * localedata/dsb_DE.UTF-8.in: New file.
9931 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
9933 2018-07-12 Florian Weimer <fweimer@redhat.com>
9935 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
9936 __mprotect, not mprotect.
9938 2018-07-11 Florian Weimer <fweimer@redhat.com>
9940 * io/Makefile (headers): Add bits/statx.h.
9942 2018-07-10 Mike FABIAN <mfabian@redhat.com>
9944 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
9945 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
9947 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
9948 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
9951 2018-07-10 Florian Weimer <fweimer@redhat.com>
9953 * io/Makefile (routines): Add statx.
9954 (tests-internal): Add tst-statx.
9955 * io/Versions (GLIBC_2.28): Export statx.
9956 * io/bits/statx.h: New file.
9957 * io/sys/stat.h [__USE_GNU]: Include it.
9958 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
9959 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
9961 * io/statx.c: New file.
9962 * io/statx_generic.: Likewise.
9963 * io/tst-statx.: Likewise.
9964 * include/bits/statx.h: Likewise.
9965 * sysdeps/unix/sysv/linux/kernel-features.h
9966 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
9967 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9968 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
9969 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
9971 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9972 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
9973 * sysdeps/unix/sysv/linux/statx.c: New file.
9974 * manual/filesys.texi: Note that statx is undocumented.
9975 * sysdeps/**/libc*.abilist: Update.
9977 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9979 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
9980 a kernel issue which lead to test failure in some cases.
9982 2018-07-10 Florian Weimer <fweimer@redhat.com>
9985 * posix/regexec.c (check_node_accept_bytes): When comparing
9986 weights, do not compare an extra byte after the end of the
9989 2018-07-10 Florian Weimer <fweimer@redhat.com>
9991 * libio/readline.c: Fix copyright year.
9992 * libio/tst-readline.c Likewise.
9993 * nss/tst-nss-files-hosts-getent.c: Likewise.
9995 2018-07-06 Florian Weimer <fweimer@redhat.com>
9998 * nss/nss_files/files-XXX.c (internal_getent): Use
9999 __libc_readline_unlocked. Seek back to the start of the line if
10000 parsing failes with ERANGE.
10001 (get_contents_ret, get_contents): Remove.
10002 * nss/tst-nss-files-hosts-getent.c: New file.
10003 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
10004 (tst-nss-files-hosts-getent): Link with -ldl.
10006 2018-07-06 Florian Weimer <fweimer@redhat.com>
10008 * include/stdio.h (__libc_readline_unlocked): Declare.
10009 (__ftello64, __fseeko64): Declare aliases.
10010 * libio/readline.c: New file.
10011 * libio/tst-readline.c: Likewise.
10012 (routines): Add readline.
10013 (tests-internal): Add tst-readlime.
10014 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
10015 __libc_readline_unlocked.
10016 * libio/fseeko.c (__fseeko): Rename from fseeko.
10017 (fseeko): Add alias.
10018 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
10019 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
10020 (fseeko64): Add alias.
10021 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
10022 * libio/ftello64.c (__ftello64): Rename from ftello64.
10023 (ftello64): Add alias.
10025 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10027 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
10030 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10032 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
10033 Use dl_hwcap without masking.
10034 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
10035 Remove HWCAP_CPUID.
10037 2018-07-06 Florian Weimer <fweimer@redhat.com>
10039 * conform/conformtest.pl (checknamespace): Escape literal braces
10040 in regular expressions.
10042 2018-07-06 Amit Pawar <amit.pawar@amd.com>
10044 * sysdeps/x86/cpu-features.c (get_common_indeces):
10045 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
10046 * sysdeps/x86/cpu-features.c (init_cpu_features):
10047 AVX_Fast_Unaligned_Load is disabled for Excavator core.
10049 2018-07-05 Florian Weimer <fweimer@redhat.com>
10051 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
10053 (CFLAGS-elf-init.oS): Likewise.
10055 2018-07-05 Florian Weimer <fweimer@redhat.com>
10056 Carlos O'Donell <carlos@redhat.com>
10058 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
10059 $(no-stack-protector). stack_chk_fail_local.c can be compiled
10060 with stack protector enabled because there is no risk of infinite
10063 2018-07-05 Maciej W. Rozycki <macro@mips.com>
10067 * libc-abis (ABSOLUTE): New ABI.
10068 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
10069 * NEWS: Mention the new ABI.
10071 2018-07-05 Florian Weimer <fweimer@redhat.com>
10074 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
10075 (RENAME_WHITEOUT): Define.
10076 [__USE_GNU] (renameat2): Declare.
10077 * stdio-common/Makefile (routines): Add renameat2.
10078 (tests): Add tst-renameat2.
10079 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
10080 * stdio-common/renameat2.c: New file.
10081 * stdio-common/tst-renameat2.c: Likewise.
10082 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
10083 * manual/filesys.texi (Temporary Files): Note that renameat2 is
10085 * sysdeps/unix/sysv/linux/kernel-features.h
10086 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
10087 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10088 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10089 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10090 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10091 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10092 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
10093 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10094 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
10095 * include/stdio.h (__renameat): Add alias for renameat.
10096 * stdio-common/renameat.c (__renameat): Rename from renameat.
10097 Add hidden definition and alias.
10098 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
10099 * sysdeps/mach/hurd/renameat.c: Likewise.
10100 * sysdeps/**/libc*.abilist: Add renameat2.
10102 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10104 * posix/bug-regex33.c: Fix build after regex sync.
10106 2018-07-04 Carlos O'Donell <carlos@redhat.com>
10109 * localedata/tst-langinfo-setlocale.c: New file.
10110 * localedata/tst-langinfo-setlocale-static.c: New file.
10111 * localedata/tst-langinfo-newlocale.c: New file.
10112 * localedata/tst-langinfo-newlocale-static.c: New file.
10113 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
10114 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
10115 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
10116 (tests-static): Remove tst-langinfo-static. Add
10117 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
10118 (tests-special): Remove $(objpfx)tst-langinfo.out,
10119 $(objpfx)tst-langinfo-static.out. Add
10120 $(objpfx)tst-langinfo-setlocale.out,
10121 $(objpfx)tst-langinfo-newlocale.out,
10122 $(objpfx)tst-langinfo-setlocale-static.out,
10123 $(objpfx)tst-langinfo-newlocale-static.out.
10124 ($(objpfx)tst-langinfo.out): Remove.
10125 ($(objpfx)tst-langinfo-static.out): Remove.
10126 ($(objpfx)tst-langinfo-newlocale.out): New target.
10127 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
10128 (test-xfail-tst-langinfo-newlocale-static): Add.
10129 ($(objpfx)tst-langinfo-setlocale.out): New target.
10130 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
10131 * localedata/tst-langinfo.c: Call test_locale.
10132 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
10135 2018-07-04 Florian Weimer <fweimer@redhat.com>
10137 testrun.sh: Implement --tool=strace, --tool=valgrind
10138 * Makefile (testrun-script): Define variable.
10139 (testrun.sh): Use variable.
10140 * manual/install.texi (Tools for Compilation): make 4.0 or later
10142 * configure.ac: Check for make 4.0 or later.
10143 * INSTALL: Regenerate.
10144 * configure: Likewise.
10146 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10152 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
10153 * posix/PCRE.tests: Remove invalid test.
10154 * posix/bug-regex28.c: Fix expected values for used syntax.
10155 * posix/bug-regex37.c: New file.
10156 * posix/bug-regex38.c: Likewise.
10157 * posix/regcomp.c: Sync with gnulib.
10158 * posix/regex.c: Likewise.
10159 * posix/regex.h: Likewise.
10160 * posix/regex_internal.c: Likewise.
10161 * posix/regex_internal.h: Likewise.
10162 * posix/regexec.c: Likewise.
10164 2018-06-26 Mike FABIAN <mfabian@redhat.com>
10167 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
10168 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
10169 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
10170 * localedata/unicode-gen/PropList.txt: likewise.
10171 * localedata/unicode-gen/UnicodeData.txt: likewise.
10172 * localedata/charmaps/UTF-8: Regenerate.
10173 * localedata/locales/i18n_ctype: likewise.
10174 * localedata/locales/tr_TR: likewise.
10175 * localedata/locales/translit_circle: likewise.
10176 * localedata/locales/translit_cjk_compat: likewise.
10177 * localedata/locales/translit_combining: likewise.
10178 * localedata/locales/translit_compat: likewise.
10179 * localedata/locales/translit_font: likewise.
10180 * localedata/locales/translit_fraction: likewise.
10182 2018-07-03 Florian Weimer <fweimer@redhat.com>
10185 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
10186 * stdio-common/tst-printf.sh: Adjust expected output.
10187 * LICENSES: Update.
10189 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10191 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
10194 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10196 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
10197 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
10198 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
10199 * stdio-common/tst-printfsz-islongdouble.c: New file.
10200 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
10201 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
10202 [subdir == stdio-common] (routines): Add ieee128-printf_size.
10203 [subdir == stdio-common] (tests-internal): Add
10204 test-printf-size-ieee128, and test-printf-size-ibm128.
10205 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
10206 (CFLAGS-test-printf-size-ibm128.c): New variables.
10207 [subdir == stdio-common] (tests-special): Add
10208 $(objpfx)test-printf-size-ieee128.out and
10209 $(objpfx)test-printf-size-ibm128.out.
10210 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
10211 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
10212 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
10213 __printf_sizeieee128.
10214 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
10216 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
10218 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
10221 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
10223 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
10224 (exp2f_inline): Likewise.
10225 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
10226 (__math_uflowf): Likewise.
10227 (__math_may_uflowf): Likewise.
10228 (__math_divzerof): Likewise.
10229 (__math_invalidf): Likewise.
10230 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
10231 (__math_oflowf): Likewise.
10232 (__math_uflowf): Likewise.
10233 (__math_may_uflowf): Likewise.
10234 (__math_divzerof): Likewise.
10235 (__math_invalidf): Likewise.
10237 2018-06-29 DJ Delorie <dj@redhat.com>
10238 Carlos O'Donell <carlos@redhat.com>
10241 * include/libc-symbols.h: Comment the freeres framework.
10242 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
10243 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
10244 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
10245 * dlfcn/dlerror.c: Include libc-symbols.h
10246 (__dlerror_main_freeres): New function.
10247 * dlfcn/dlfreeres.c: New file.
10248 * dlfcn/sdlfreeres.c: New file.
10249 * include/dlfcn.h: Declare __dlerror_main_freeres.
10250 * malloc/set-freeres.c: Declare __libdl_freeres, and
10251 __libpthread_freeres.
10252 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
10253 the releavant libraries are loaded.
10254 * malloc/thread-freeres.c: Add comments.
10255 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
10256 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
10257 * nptl/allocatestack.c (__nptl_free_stacks): New function.
10258 (__free_stacks): Rename to...
10259 (free_stacks): ...this. Mark static.
10260 (queue_stack): Call free_stacks.
10261 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
10262 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
10263 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
10264 ptr_freeres element from struct.
10265 (pthread_functions): Remove .ptr_freeres from struct initializer.
10266 [SHARED] (nptl_freeres): Remove.
10267 * nptl/nptlfreeres.c: New file.
10269 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
10270 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
10272 (__free_stacks): Rename to...
10273 (__nptl_stacks_freeres): ...this.
10274 (__shm_directory_freeres): Declare.
10275 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
10276 (__nptl_unwind_freeres): ...this.
10277 * resolv/res-close.c: Add comment.
10278 * resolv/resolv_conf.c: Include libc-symbols.h.
10279 * string/strerror_l.c: Include libc-symbols.h.
10280 * sunrpc/rpc_thread.c: Include libc-symbols.h.
10281 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
10282 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
10283 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
10285 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10287 * stdlib/tst-strfmon_l.c: Add tests for long double.
10289 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
10292 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
10293 * localedata/locales/dsb_DE: New file.
10295 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10298 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
10300 (alt_mon): New entry, import from CLDR (nominative case).
10302 2018-06-29 Sylvain Lesage <severo@rednegra.net>
10305 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
10307 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
10309 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
10310 Use vector registers.
10312 * sysdeps/aarch64/multiarch/memmove_falkor.S
10313 (__memcpy_falkor): Use vector registers.
10315 2018-06-29 Martin Sebor <msebor@redhat.com>
10317 * manual/stdio.texi (Customizing Printf): Mention interaction
10318 with GCC built-ins.
10320 2018-06-29 Maciej W. Rozycki <macro@mips.com>
10323 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
10324 `st_value' is 0 if `st_shndx' is SHN_ABS.
10325 * elf/tst-absolute-zero.c: New file.
10326 * elf/tst-absolute-zero-lib.c: New file.
10327 * elf/tst-absolute-zero-lib.lds: New file.
10328 * elf/Makefile (tests): Add `tst-absolute-zero'.
10329 (modules-names): Add `tst-absolute-zero-lib'.
10330 (LDLIBS-tst-absolute-zero-lib.so): New variable.
10331 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
10332 ($(objpfx)tst-absolute-zero: New dependency.
10334 2018-06-29 Zack Weinberg <zackw@panix.com>
10336 * configure.ac: New command-line option --disable-crypt.
10337 Force --disable-nss-crypt when --disable-crypt is given, with a
10338 warning if it was explicitly enabled.
10339 * configure: Regenerate.
10340 * config.make.in: New boolean substitution variable $(build-crypt).
10341 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
10342 when $(build-crypt).
10343 * manual/install.texi: Document --disable-crypt.
10344 * INSTALL: Regenerate.
10346 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
10347 which is never set.
10348 * conform/Makefile: Only include libcrypt.a in
10349 linknamespace-libs-xsi and linknamespace-libs-XPG4
10350 when $(build-crypt).
10351 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
10352 USE_CRYPT to 1 when $(build-crypt).
10353 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
10354 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
10355 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
10357 2018-06-29 Zack Weinberg <zackw@panix.com>
10359 * crypt/crypt.h, posix/unistd.h: Update comments and
10360 prototypes for crypt and crypt_r.
10362 * manual/crypt.texi (Cryptographic Functions): New initial
10364 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
10365 (Unpredictable Bytes): Improve initial exposition. Clarify error
10366 behavior of getentropy and getrandom.
10367 * manual/examples/genpass.c: Generate a salt using getentropy
10368 instead of the current time. Use hash $5$ (SHA-2-256).
10369 * manual/examples/testpass.c: Demonstrate validation against
10370 hashes generated with three different one-way functions.
10372 * manual/intro.texi: crypt.texi does not need an overview
10375 * manual/nss.texi, manual/memory.texi, manual/socket.texi
10376 * manual/terminal.texi: Consistently refer to "passphrases"
10377 * instead of "passwords", and to the "user database" instead
10378 * of the "password database".
10379 * manual/users.texi: Similarly. Add notes about how actual
10380 passphrase hashes are now stored in the shadow database.
10381 Remove 20-year-old junk todo note.
10383 2018-06-29 Zack Weinberg <zackw@panix.com>
10385 * manual/crypt.texi: Use a normal top-level @node declaration.
10386 Move most of the introductory text to the 'crypt' section.
10387 Move the example programs below the @deftypefun for 'crypt_r'.
10388 Move the 'getpass' section...
10389 * manual/terminal.texi: ...here.
10391 2018-06-29 Zack Weinberg <zackw@panix.com>
10392 Florian Weimer <fweimer@redhat.com>
10394 * posix/unistd.h: Do not declare encrypt.
10395 (_XOPEN_CRYPT): Remove macro definition.
10396 (crypt): Declare only for _USE_MISC.
10397 * stdlib/stdlib.h: Do not declare setkey.
10398 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
10399 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
10401 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
10402 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
10403 into compat symbols. Don't define initial_perm if it's not
10405 * crypt/cert.c: Link explicitly with the expected versions for
10406 setkey and encrypt. If they are not available at all, mark
10407 the test as unsupported.
10409 * sunrpc/des_crypt.c: Unconditionally block linkage with
10410 cbc_crypt and ecb_crypt for new binaries.
10411 * sunrpc/des_soft.c: Unconditionally block linkage with
10412 des_setparity for new binaries.
10414 * manual/crypt.texi: Remove the entire "DES Encryption"
10415 section. Also remove the paragraph talking about FIPS 140-2
10416 from the introduction.
10417 * manual/string.texi (strfry, memfrob): Revise. Recommend use
10418 of libgcrypt for "real" encryption, not DES.
10419 * manual/conf.texi (Constants for Sysconf): Mention that
10420 _XOPEN_CRYPT is no longer impelemented.
10422 * conform/data/unistd.h-data: Remove crypt function declaration.
10424 2018-06-29 Florian Weimer <fweimer@redhat.com>
10427 * malloc/hooks.c: Update comments on restoring of dumped heaps.
10428 (disallow_malloc_check): Remove variable.
10429 (__malloc_check_init): Adjust.
10430 (malloc_set_state): Update comment.
10431 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
10434 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10437 * localedata/locales/ast_ES (mon): Rename to...
10439 (mon): Import from CLDR (genitive case).
10441 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
10442 Jakub Sitnicki <jkbs@redhat.com>
10445 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
10446 on NLM_F_DUMP_INTR.
10448 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
10450 * manual/llio.texi: Remove spurious space.
10452 2018-06-28 Florian Weimer <fweimer@redhat.com>
10455 * time/bits/types/struct_timespec.h: Change header inclusion guard to
10458 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10460 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
10461 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
10462 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
10463 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
10464 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
10465 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
10466 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
10468 2018-06-27 Maciej W. Rozycki <macro@mips.com>
10471 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
10472 Copy and null-terminate entries that are not terminated, in
10473 addition to empty ones.
10475 2018-06-27 Florian Weimer <fweimer@redhat.com>
10478 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
10479 (extend_alloca_account): Remove.
10480 * manual/stdio.texi (Variable Arguments Output): Update comment.
10482 2018-06-27 Joseph Myers <joseph@codesourcery.com>
10484 * nptl/sockperf.c: Remove file.
10486 2018-06-27 Florian Weimer <fweimer@redhat.com>
10489 * elf/dl-deps.c (_dl_map_object_deps): Use struct
10490 scratch_buffer instead of extend_alloca.
10492 2018-06-27 Florian Weimer <fweimer@redhat.com>
10495 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
10496 scratch_buffer instead of extend_alloca. Update comments.
10498 2018-06-27 Florian Weimer <fweimer@redhat.com>
10501 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
10502 instead of extend_alloca.
10504 2018-06-26 Joseph Myers <joseph@codesourcery.com>
10507 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
10508 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
10510 * scripts/test-installation.pl: Put temporary files in build
10511 directory, not /tmp.
10512 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
10513 (CFLAGS-bug4.c): Likewise.
10514 (CFLAGS-bug5.c): Likewise.
10515 (CFLAGS-test-fseek.c): Likewise.
10516 (CFLAGS-test-popen.c): Likewise.
10517 (CFLAGS-test_rdwr.c): Likewise.
10518 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
10520 * stdio-common/bug4.c (main): Likewise.
10521 * stdio-common/bug5.c (main): Likewise.
10522 * stdio-common/test-fseek.c (TESTFILE): Likewise.
10523 * stdio-common/test-popen.c (do_test): Likewise.
10524 * stdio-common/test_rdwr.c (main): Likewise.
10526 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
10528 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
10529 (sem_open): Set sem.newsem.pad to zero for valgrind.
10531 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10534 * NEWS: Mention fcntl64 addition.
10535 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
10536 * login/utmp_file.c: Likewise.
10537 * sysdeps/posix/fdopendir.c: Likewise.
10538 * sysdeps/posix/opendir.c: Likewise.
10539 * sysdeps/unix/pt-fcntl.c: Likewise.
10540 * include/fcntl.h (__libc_fcntl64, __fcntl64,
10541 __fcntl64_nocancel_adjusted): New prototype.
10542 (__fcntl_nocancel_adjusted): Remove prototype.
10543 * io/Makefile (routines): Add fcntl64.
10544 (CFLAGS-fcntl64.c): New rule.
10545 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
10546 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
10547 * io/fcntl.h (fcntl64): Add prototype and redirect if
10548 __USE_FILE_OFFSET64 is defined.
10549 * io/fcntl64.c: New file.
10550 * manual/llio.text: Add a note for which commands fcntl acts a
10551 cancellation point.
10552 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
10553 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
10554 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
10556 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
10557 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
10559 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
10560 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
10561 to __fcntl64_nocancel.
10562 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
10563 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
10564 to __fcntl64_nocancel.
10565 * sysdeps/generic/not-cancel.h: Likewise.
10566 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
10567 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
10568 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10569 (fcntl64): New symbol.
10570 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10571 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10572 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10575 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10576 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10577 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10578 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10579 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10580 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
10581 fcntl64): Likewise.
10582 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10583 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
10584 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10585 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10586 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10587 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10588 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10589 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10590 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10595 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10596 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10597 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10599 2018-06-26 Florian Weimer <fweimer@redhat.com>
10601 Run thread shutdown functions in an explicit order.
10602 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
10604 (__libc_thread_freeres): Call thread shutdown functions
10606 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
10607 * include/string.h (__strerror_thread_freeres): Declare.
10608 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
10609 arena_thread_freeres. No longer static. Remove thread shutdown
10611 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
10613 * resolv/res-close.c (__res_thread_freeres): Renamed from
10614 res_thread_freeres. No longer static. Remove thread shutdown
10616 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
10617 * resolv/resolv_conf.c (freeres): Remove incorrect section
10618 attribute and use libc_freeres_fn.
10619 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
10620 strerror_thread_freeres. No longer static. Remove thread
10621 shutdown hook registration.
10622 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
10623 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
10624 shutdown hook registration.
10625 * Makerules (shlib.lds): Do not provide section boundary symbols
10626 for __libc_thread_subfreeres.
10627 * manual/memory.texi (Basic Allocation): Update comment.
10629 2018-06-26 Florian Weimer <fweimer@redhat.com>
10631 Remove always-defined _RPC_THREAD_SAFE_ macro.
10632 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
10633 Do not define _RPC_THREAD_SAFE_.
10634 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
10636 * sunrpc/clnt_perr.c: Likewise.
10637 * sunrpc/clnt_raw.c: Likewise.
10638 * sunrpc/clnt_simp.c: Likewise.
10639 * sunrpc/key_call.c: Likewise.
10640 * sunrpc/rpc_common.c: Likewise.
10641 * sunrpc/rpc_main.c: Likewise.
10642 * sunrpc/rpc_thread.c: Likewise.
10643 * sunrpc/svc.c: Likewise.
10644 * sunrpc/svc_raw.c: Likewise.
10645 * sunrpc/svc_simple.c: Likewise.
10646 * sumrpc/svcauth_des.c: Likewise.
10648 2018-06-26 Florian Weimer <fweimer@redhat.com>
10650 * libio/Makefile (tests-internal): Add tst-vtables,
10651 tst-vtables-interposed.
10652 * libio/tst-vtables.c: New file.
10653 * libio/tst-vtables-common.c: Likewise.
10654 * libio/tst-vtables-interposed.c: Likewise.
10656 2018-06-26 Florian Weimer <fweimer@redhat.com>
10658 * support/support_test_main.c (support_test_main): Only call
10659 setvbuf if not disables.
10660 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
10661 * support/test-driver.h (struct test_config): Add no_setvbuf member.
10663 2018-06-26 Florian Weimer <fweimer@redhat.com>
10666 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
10668 2018-06-25 Florian Weimer <fweimer@redhat.com>
10671 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10672 Use struct scratch_buffer instead of extend_alloca.
10674 2018-06-25 Florian Weimer <fweimer@redhat.com>
10677 * nss/getent.c (initgroups_keys): Use dynarray instead of
10680 2018-06-25 Florian Weimer <fweimer@redhat.com>
10683 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
10684 Use struct scratch_buffer instead of extend_alloca.
10686 2018-06-25 Florian Weimer <fweimer@redhat.com>
10689 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
10690 back to malloc directly, without stack allocations.
10692 2018-06-25 Florian Weimer <fweimer@redhat.com>
10695 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
10698 2018-06-25 Florian Weimer <fweimer@redhat.com>
10701 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
10703 * nscd/hstcache.c (addhstbyX): Likewise.
10704 * nscd/pwdcache.c (addpwbyX): Likewise.
10705 * nscd/servicescache.c (addservbyX): Likewise.
10707 2018-06-25 Florian Weimer <fweimer@redhat.com>
10710 * nscd/connections.c (read_cmdline): New function.
10711 (restart): Use it. Update comment.
10713 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10716 * localedata/locales/csb_PL (mon): Rename to...
10718 (abmon): Rename to...
10719 (ab_alt_mon): This.
10720 (mon): Add with proper genitive forms, copy from Wikipedia.
10723 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10726 * localedata/locales/csb_PL (mon): Fix typos:
10727 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
10728 (yesstr): Add, value is "jo".
10729 (nostr): Add, value is "nié".
10731 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10733 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
10734 all log1p and significand functions on m680x0.
10735 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
10736 of s_significand.c..
10737 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
10738 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
10739 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
10740 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
10741 s_log1p.c and include it..
10743 2018-06-21 Vincent Chen <vincentc@andestech.com>
10745 * elf/elf.h (R_NDS32_NONE): New define.
10746 (R_NDS32_32_RELA): Likewise.
10747 (R_NDS32_COPY): Likewise.
10748 (R_NDS32_GLOB_DAT): Likewise.
10749 (R_NDS32_JUMP_SLOT): Likewise.
10750 (R_NDS32_RELATIVE): Likewise.
10751 (R_NDS32_TLS_TPOFF): Likewise.
10752 (R_NDS32_TLS_DESC): Likewise.
10754 2018-06-21 Mark Wielaard <mark@klomp.org>
10756 * elf/elf.h (R_BPF_MAP_FD): Removed.
10757 (R_BPF_64_64, R_BPF_64_32): New.
10759 2018-06-21 Florian Weimer <fweimer@redhat.com>
10762 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
10763 Renamed from libc_feholdsetround_ctx.
10764 (default_libc_feresetround_ctx): Renamed from
10765 libc_feresetround_ctx.
10766 (default_libc_feholdsetround_noex_ctx): Renamed from
10767 libc_feholdsetround_noex_ctx.
10768 (default_libc_feresetround_noex_ctx): Renamed from
10769 libc_feresetround_noex_ctx.
10770 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
10771 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
10772 forwardning to the old implementations under the new names.
10773 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
10774 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
10775 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
10776 (libc_feresetround_ctx): Forward to default implements for i386
10777 and MATH_SET_BOTH_ROUNDING_MODES.
10778 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
10779 Add -DMATH_SET_BOTH_ROUNDING_MODES.
10781 2018-06-20 Joseph Myers <joseph@codesourcery.com>
10783 * string/tst-cmp.c: Include <libc-diag.h>.
10784 (strncmp_max): Disable -Wstringop-overflow= around call to
10786 (strncasecmp_max): Disable -Wstringop-overflow= around call to
10789 * string/bug-strpbrk1.c: Include <libc-diag.h>.
10790 (main): Disable -Wunused-value around call to strpbrk.
10791 * string/bug-strspn1.c: Include <libc-diag.h>.
10792 (main): Disable -Wunused-value around call to strspn.
10794 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10795 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10797 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
10798 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
10800 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10802 * math/Makefile (libm-calls): Move s_significandF to...
10803 (gen-libm-calls): ... here.
10804 * math/s_significand_template.c: New file.
10805 * math/s_significand.c: Removed.
10806 * math/s_significandf.c: Removed.
10807 * math/s_significandl.c: Removed.
10808 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
10809 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
10811 * math/e_exp2_template.c (declare_mgen_finite_alias,
10812 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
10813 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
10814 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
10816 2018-06-20 Florian Weimer <fweimer@redhat.com>
10818 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
10820 2018-06-19 Joseph Myers <joseph@codesourcery.com>
10823 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
10824 floating-point number to strtod functions rather than possibly
10825 negating result of those functions.
10826 * stdio-common/tst-scanf-round.c: New file.
10827 * stdio-common/Makefile (tests): Add tst-scanf-round.
10828 ($(objpfx)tst-scanf-round): Depend on $(libm).
10830 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
10832 * sysdeps/mach/hurd/localplt.data: Move to...
10833 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
10834 R_386_GLOB_DAT like on Linux i386.
10836 2018-06-18 Joseph Myers <joseph@codesourcery.com>
10838 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
10839 (SHM_STAT_ANY): New macro.
10840 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
10841 (SHM_STAT_ANY): Likewise.
10842 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
10843 (SHM_STAT_ANY): Likewise.
10844 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
10845 (SHM_STAT_ANY): Likewise.
10846 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
10847 (SHM_STAT_ANY): Likewise.
10848 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
10849 (SHM_STAT_ANY): Likewise.
10850 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
10851 (SHM_STAT_ANY): Likewise.
10852 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
10853 (SHM_STAT_ANY): Likewise.
10854 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
10855 (SHM_STAT_ANY): Likewise.
10856 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
10857 (SHM_STAT_ANY): Likewise.
10858 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
10859 (SHM_STAT_ANY): Likewise.
10860 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
10861 (SHM_STAT_ANY): Likewise.
10863 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
10864 (SEM_STAT_ANY): New macro.
10865 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
10866 (SEM_STAT_ANY): Likewise.
10867 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
10868 (SEM_STAT_ANY): Likewise.
10869 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
10870 (SEM_STAT_ANY): Likewise.
10871 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
10872 (SEM_STAT_ANY): Likewise.
10873 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
10874 (SEM_STAT_ANY): Likewise.
10875 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
10876 (SEM_STAT_ANY): Likewise.
10877 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
10878 (SEM_STAT_ANY): Likewise.
10879 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
10880 (SEM_STAT_ANY): Likewise.
10881 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
10882 (SEM_STAT_ANY): Likewise.
10884 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
10885 (MSG_STAT_ANY): New macro.
10886 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
10887 (MSG_STAT_ANY): Likewise.
10888 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
10889 (MSG_STAT_ANY): Likewise.
10890 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
10891 (MSG_STAT_ANY): Likewise.
10892 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
10893 (MSG_STAT_ANY): Likewise.
10894 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
10895 (MSG_STAT_ANY): Likewise.
10896 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
10897 (MSG_STAT_ANY): Likewise.
10898 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
10899 (MSG_STAT_ANY): Likewise.
10900 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
10901 (MSG_STAT_ANY): Likewise.
10902 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
10903 (MSG_STAT_ANY): Likewise.
10905 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10906 (MAP_TYPE): Change value to 0x2b.
10908 2018-06-18 Florian Weimer <fweimer@redhat.com>
10911 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
10912 socket with SOCK_CLOEXEC.
10914 2018-06-18 Joseph Myers <joseph@codesourcery.com>
10917 * sysdeps/powerpc/powerpc64/le/Makefile
10918 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
10919 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
10920 (gnulib-tests): Also add $(f128-loader-link) for
10921 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
10923 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
10925 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
10926 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
10928 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
10929 (sendfile64): New strong alias.
10930 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
10931 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
10932 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
10933 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
10935 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
10936 ___pthread_get_cleanup_stack.
10937 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
10938 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
10939 * mach/shortcut.awk: Make syscall stubs include
10940 <mach-shortcuts-hidden.h> and add hidden definition.
10941 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
10942 (__mach_msg): Add hidden prototype.
10943 * mach/msg.c: Include <mach.h>.
10944 (__mach_msg): Add hidden definition.
10945 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
10946 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
10947 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
10948 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
10949 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
10950 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
10951 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
10952 prototype and definition.
10953 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
10954 hidden target for _hurd_self_sigstate.
10956 2018-06-15 Joseph Myers <joseph@codesourcery.com>
10959 * stdlib/tst-strtod-nan-sign-main.c: New file.
10960 * stdlib/tst-strtod-nan-sign.c: Likewise.
10961 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
10962 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
10963 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
10964 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
10965 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
10967 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
10970 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
10973 2018-06-14 Florian Weimer <fweimer@redhat.com>
10976 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
10977 that the result stays within the ISO-8859-1 range.
10978 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
10979 characters are defined in IBM273.
10981 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
10983 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
10984 __mach_task_self): Remove attribute_hidden.
10986 2018-06-14 Joseph Myers <joseph@codesourcery.com>
10988 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
10989 ignore -Wrestrict for one test.
10991 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
10992 Szabolcs Nagy <szabolcs.nagy@arm.com>
10994 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
10996 2018-06-14 Florian Weimer <fweimer@redhat.com>
10998 * scripts/update-abilist.sh: Accept empty list of files to patch.
11000 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
11002 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
11003 test-xfail-check-abi-libmachuser): Add.
11004 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
11005 __libc_read and __libc_write to __read and __write.
11006 * sysdeps/hurd/include/hurd/port.h: New file.
11007 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
11008 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
11009 __thread_switch, __evc_wait): Move declarations to...
11010 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
11012 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
11013 use PLT to call _hurd_self_sigstate.
11015 2018-06-13 Joseph Myers <joseph@codesourcery.com>
11018 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
11019 MAX_EXP as overflowing.
11020 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
11022 (round_str): Output also whether result overflows in each rounding
11024 * stdlib/tst-strtod-round-data: Add more tests.
11025 * stdlib/tst-strtod-round-data.h: Regenerated.
11026 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
11027 (TEST): Handle extra arguments for overflow flags.
11028 (struct test_overflow): New type.
11029 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
11030 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
11031 (test_in_one_mode): Take argument with overflow information.
11032 (do_test): Update calls to test_in_one_mode.
11034 2018-06-12 Carlos O'Donell <carlos@redhat.com>
11036 * elf/dl-load (_dl_dst_substitute): Correct comment.
11037 (_dl_dst_count): Likewise.
11039 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
11040 lll_futex_timed_wait.
11042 2018-06-12 Joseph Myers <joseph@codesourcery.com>
11045 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
11047 * math/test-nan-const.c: New file.
11048 * math/Makefile (tests): Add test-nan-const.
11049 (CFLAGS-test-nan-const.c): New variable.
11051 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
11053 * benchtests/scripts/compare_strings.py (process_results): Add
11054 funcs argument. Compare only functions which are selected.
11055 (main): Check if base function is among selected functions.
11056 Pass selected functions to process_results.
11057 (__main__): Add -f/--functions argument.
11059 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
11060 Hongbo Zhang <hongbo.zhang@linaro.org>
11062 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
11063 __memcpy_falkor for phecda core.
11064 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
11065 __memmove_falkor for phecda core.
11066 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
11067 __memset_falkor for phecda core.
11068 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
11070 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
11071 macro to identify phecda core.
11073 2018-06-12 Carlos O'Donell <carlos@redhat.com>
11074 Andreas Schwab <schwab@suse.de>
11075 Dmitry V. Levin <ldv@altlinux.org>
11076 Florian Weimer <fweimer@redhat.com>
11083 * elf/dl-dst.h: Remove DL_DST_COUNT.
11084 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
11085 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
11086 (is_dst): Comment. Support ELF gABI.
11087 (_dl_dst_count): Comment. Simplify and count DSTs.
11088 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
11089 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
11092 2018-06-12 Zack Weinberg <zackw@panix.com>
11094 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
11095 * sysdeps/unix/sysv/linux/dl-sysdep.c
11096 Include not-cancel.h. Use __close_nocancel instead of __close,
11097 __open64_nocancel instead of __open, __read_nocancel instead of
11098 __libc_read, and __write_nocancel instead of __libc_write.
11100 * csu/check_fds.c (check_one_fd)
11101 * sysdeps/posix/fdopendir.c (__fdopendir)
11102 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
11103 instead of __fcntl and/or __libc_fcntl.
11105 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
11106 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
11107 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
11108 Use __open64_nocancel instead of __open_nocancel.
11110 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
11111 hidden_proto declarations to the end and issue them if either
11112 IS_IN(libc) or IS_IN(rtld).
11113 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
11114 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
11115 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
11116 read_nocancel, waitpid_nocancel, write_nocancel.
11118 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
11119 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
11120 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
11122 * nptl/pt-fcntl.c: New file.
11123 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
11124 (libpthread-routines): Add pt-fcntl.
11125 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
11126 (__libc_fcntl): Remove attribute_hidden.
11127 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
11128 __fcntl_nocancel_adjusted, not fcntl_common.
11129 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
11130 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
11131 to fcntl_nocancel.c.
11132 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
11133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
11134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11135 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
11137 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
11138 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
11139 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
11140 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
11141 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
11142 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
11143 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
11144 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
11145 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
11146 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
11147 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
11148 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
11149 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
11150 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
11151 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
11152 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
11153 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
11154 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
11155 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
11156 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
11158 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
11159 libpthread-routines.
11160 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
11163 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
11164 __libc_read, and __write instead of __libc_write. Define
11165 __open64 in addition to __open.
11167 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
11171 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
11172 to _private_tm[3] and add __glibc_reserved2.
11173 Add _Static_assert of offset of __private_ss == 0x30.
11174 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
11175 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
11177 2018-06-12 Florian Weimer <fweimer@redhat.com>
11179 x86: Make strncmp usable from rtld.
11180 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
11181 __strncmp_ia32 if in libc (and not in rtld).
11182 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
11183 strncmp if not in libc (and not to __strncmp_sse2).
11185 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
11188 * localedata/locales/gd_GB (mon): Rename to...
11190 (mon): Import from CLDR (genitive case).
11191 * localedata/locales/hsb_DE (mon): Rename to...
11193 (mon): Import from CLDR (genitive case).
11194 * localedata/locales/wa_BE (mon): Rename to...
11196 (mon): Add, fill with the proper genitive forms, but CLDR data
11197 is incomplete; completed according to the comments in this file.
11198 (d_t_fmt): Do not use "di" before the month name, no longer needed.
11200 * localedata/locales/wa_BE (country_name): Reword
11201 "Beljike" -> "Beldjike".
11203 2018-06-11 Joseph Myers <joseph@codesourcery.com>
11206 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
11207 cases of non-finite arguments.
11208 * math/libm-test-fma.inc (fma_test_data): Add more tests.
11210 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
11213 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
11215 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11218 * include/unistd.h (__execvpex): New prototype.
11219 * posix/Makefile (tests): Add tst-spawn4.
11220 (tests-internal): Add tst-spawn4-compat.
11221 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
11222 * posix/tst-spawn4-compat.c: New file.
11223 * posix/tst-spawn4.c: Likewise.
11224 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
11225 binaries as shell scripts.
11226 * sysdeps/posix/spawni.c (__spawni): Likewise.
11228 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
11231 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
11232 ($(all-built-dso:=.dynsym): New target.
11233 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
11234 ($(objpfx)check-initfini.out): New target.
11235 (generated): Add check-initfini.out.
11236 * scripts/check-initfini.awk: New file.
11237 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
11239 * sysdeps/alpha/crti.S (_init): Mark as hidden.
11241 * sysdeps/arm/crti.S (_init): Mark as hidden.
11243 * sysdeps/hppa/crti.S (_init): Mark as hidden.
11245 * sysdeps/i386/crti.S (_init): Mark as hidden.
11247 * sysdeps/ia64/crti.S (_init): Mark as hidden.
11249 * sysdeps/m68k/crti.S (_init): Mark as hidden.
11251 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
11253 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
11255 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
11257 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
11259 * sysdeps/nios2/crti.S (_init): Mark as hidden.
11261 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
11263 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
11265 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
11267 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
11269 * sysdeps/sh/crti.S (_init): Mark as hidden.
11271 * sysdeps/sparc/crti.S (_init): Mark as hidden.
11273 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
11276 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11278 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
11279 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
11280 and TF redirection to KFtype and KF only when the default
11281 long double type is not the IEEE 128-bit floating point type.
11283 2018-06-05 Joseph Myers <joseph@codesourcery.com>
11285 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
11287 (HWCAP_USCAT): Likewise.
11288 (HWCAP_ILRCPC): Likewise.
11289 (HWCAP_FLAGM): Likewise.
11290 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
11292 (_dl_aarch64_cap_flags): Add new flag names.
11294 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
11295 (MAP_FIXED_NOREPLACE): New macro.
11296 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
11297 (MAP_FIXED_NOREPLACE): Likewise.
11298 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
11299 (MAP_FIXED_NOREPLACE): Likewise.
11300 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11301 (MAP_FIXED_NOREPLACE): Likewise.
11302 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
11303 (MAP_FIXED_NOREPLACE): Likewise.
11304 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
11305 (MAP_FIXED_NOREPLACE): Likewise.
11306 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
11307 (MAP_FIXED_NOREPLACE): Likewise.
11308 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
11309 (MAP_FIXED_NOREPLACE): Likewise.
11310 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
11311 (MAP_FIXED_NOREPLACE): Likewise.
11312 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
11313 (MAP_FIXED_NOREPLACE): Likewise.
11314 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
11315 (MAP_FIXED_NOREPLACE): Likewise.
11316 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
11317 (MAP_FIXED_NOREPLACE): Likewise.
11318 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
11319 (MAP_FIXED_NOREPLACE): Likewise.
11320 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
11321 (MAP_FIXED_NOREPLACE): Likewise.
11322 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
11323 (MAP_FIXED_NOREPLACE): Likewise.
11325 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11328 2018-06-04 Joseph Myers <joseph@codesourcery.com>
11330 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11333 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11335 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
11337 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
11339 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11341 * benchtests/scripts/compare_string.py: (process_results) Catch
11342 exception in non-existent base_func and catch exception in
11343 non-existent attribute.
11344 (parse_file) Catch exception if input file does not exist.
11346 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11348 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
11349 options to avoid diff calculation and omit header, respectively.
11350 (main): process --no-diff and --no-header
11352 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11353 H.J. Lu <hongjiu.lu@intel.com>
11355 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11356 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
11358 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11359 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
11360 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
11361 and __wcsncmp_sse2.
11362 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
11363 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
11364 AVX unaligned load is fast and vzeroupper is preferred.
11365 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
11366 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
11367 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
11368 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
11369 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
11370 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
11371 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
11372 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
11373 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
11374 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
11377 2018-06-01 Florian Weimer <fweimer@redhat.com>
11379 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
11380 configuring with --disable-multi-arch, building with
11381 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
11384 2018-06-01 Florian Weimer <fweimer@redhat.com>
11386 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
11387 results from building with “-march=x86-64 -mtune=generic
11388 -mfpmath=sse” and running on a Haswell-era CPU.
11390 2018-06-01 Joseph Myers <joseph@codesourcery.com>
11393 * soft-fp/sqrttf2.c: Remove file.
11394 * soft-fp/sqrtdf2.c: Move to ....
11395 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
11397 (__sqrtdf2): Make conditional on
11398 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11400 * soft-fp/sqrtsf2.c: Move to ....
11401 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
11403 (__sqrtsf2): Make conditional on
11404 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11406 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
11407 (gcc-double-routines): Remove sqrtdf2.
11408 (gcc-quad-routines): Remove sqrttf2.
11409 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11410 Do not filter out sqrtsf2 and sqrtdf2.
11411 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11412 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
11414 2018-06-01 Florian Weimer <fweimer@redhat.com>
11416 * sysdeps/generic/libcidn.abilist: Remove file.
11418 2018-06-01 Florian Weimer <fweimer@redhat.com>
11421 * libio/strfile.h (struct _IO_str_fields): Rename members to
11422 discourage their use and add comment.
11423 (_IO_STR_DYNAMIC): Remove unused macro.
11424 * libio/strops.c (_IO_str_init_static_internal): Do not use
11425 callback pointers. Call malloc and free.
11426 (_IO_str_overflow): Do not use callback pointers. Call malloc
11428 (enlarge_userbuf): Likewise.
11429 (_IO_str_finish): Call free.
11430 * libio/wstrops.c (_IO_wstr_init_static): Initialize
11431 _allocate_buffer_unused.
11432 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
11434 (enlarge_userbuf): Likewise.
11435 (_IO_wstr_finish): Call free.
11436 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
11437 _allocate_buffer_unused, _free_buffer_unused.
11438 * libio/memstream.c (__open_memstream): Likewise.
11439 * libio/vasprintf.c (_IO_vasprintf): Likewise.
11440 * libio/wmemstream.c (open_wmemstream): Likewise.
11442 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
11444 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
11447 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11449 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
11450 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
11451 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
11453 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
11455 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
11457 2018-05-29 Florian Weimer <fweimer@redhat.com>
11459 * support/Makefile (libsupport-routines): Add
11460 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
11461 xpthread_barrierattr_setpshared.
11462 * support/xpthread_barrierattr_destroy.c: New file.
11463 * support/xpthread_barrierattr_init.c: Likewise.
11464 * support/xpthread_barrierattr_setpshared.c: Likewise.
11466 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
11469 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
11470 _r_debug and update DT_DEBUG for debugger.
11472 2018-05-29 Florian Weimer <fweimer@redhat.com>
11474 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
11475 (tst-strtod5i.out): Likewise.
11477 2018-05-25 Joseph Myers <joseph@codesourcery.com>
11479 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
11480 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
11481 (sparc64-quad-routines): New variable. Moved from ....
11482 [$(subdir) = soft-fp] (sysdep_routines): Add
11483 $(sparc64-quad-routines). Moved from ....
11484 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
11485 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
11486 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
11488 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
11489 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
11490 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
11491 * sysdeps/sparc/sparc64/qp_add.c: ... here.
11492 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
11493 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
11494 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
11495 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
11496 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
11497 * sysdeps/sparc/sparc64/qp_div.c: ... here.
11498 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
11499 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
11500 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
11501 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
11502 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
11503 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
11504 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
11505 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
11506 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
11507 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
11508 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
11509 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
11510 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
11511 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
11512 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
11513 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
11514 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
11515 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
11516 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
11517 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
11518 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
11519 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
11520 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
11521 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
11522 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
11523 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
11524 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
11525 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
11526 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
11527 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
11528 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
11529 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
11530 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
11531 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
11532 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
11533 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
11534 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
11535 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
11536 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
11537 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
11538 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
11539 * sysdeps/sparc/sparc64/qp_util.c: ... here.
11540 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
11541 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
11542 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
11543 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
11544 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
11545 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
11547 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
11548 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
11549 (sparc32-quad-routines): New variable. Moved from ....
11550 [$(subdir) = soft-fp] (sysdep_routines): Add
11551 $(sparc32-quad-routines). Moved from ....
11552 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
11553 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
11555 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
11556 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
11557 * sysdeps/sparc/sparc32/q_add.c: ... here.
11558 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
11559 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
11560 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
11561 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
11562 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
11563 * sysdeps/sparc/sparc32/q_div.c: ... here.
11564 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
11565 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
11566 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
11567 * sysdeps/sparc/sparc32/q_feq.c: ... here.
11568 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
11569 * sysdeps/sparc/sparc32/q_fge.c: ... here.
11570 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
11571 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
11572 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
11573 * sysdeps/sparc/sparc32/q_fle.c: ... here.
11574 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
11575 * sysdeps/sparc/sparc32/q_flt.c: ... here.
11576 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
11577 * sysdeps/sparc/sparc32/q_fne.c: ... here.
11578 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
11579 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
11580 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
11581 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
11582 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
11583 * sysdeps/sparc/sparc32/q_mul.c: ... here.
11584 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
11585 * sysdeps/sparc/sparc32/q_neg.c: ... here.
11586 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
11587 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
11588 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
11589 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
11590 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
11591 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
11592 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
11593 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
11594 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
11595 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
11596 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
11597 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
11598 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
11599 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
11600 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
11601 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
11602 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
11603 * sysdeps/sparc/sparc32/q_sub.c: ... here.
11604 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
11605 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
11606 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
11607 * sysdeps/sparc/sparc32/q_util.c: ... here.
11608 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
11609 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
11610 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
11611 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
11613 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11614 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11616 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
11617 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
11618 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
11619 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
11621 2018-05-24 Joseph Myers <joseph@codesourcery.com>
11623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
11625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11627 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
11628 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
11630 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11633 * math/math.h [C++] (iseqsig): Fix parameter type for the long
11636 2018-05-23 Joseph Myers <joseph@codesourcery.com>
11638 * sysdeps/sh/Implies: Remove sh/soft-fp.
11639 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
11640 * sysdeps/sh/sfp-machine.h: ... here.
11642 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11644 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11645 (__mempcpy_erms): Skip zero length.
11646 (__memmove_erms): Likewise.
11647 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11648 (__memset_erms): Likewise.
11650 2018-05-23 Joseph Myers <joseph@codesourcery.com>
11652 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
11653 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11654 Add functions moved from ....
11655 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
11656 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
11657 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
11659 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
11660 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
11661 * sysdeps/alpha/e_sqrtl.c: ... here.
11662 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
11663 * sysdeps/alpha/local-soft-fp.h: ... here.
11664 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
11665 * sysdeps/alpha/ots_add.c: ... here.
11666 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
11667 * sysdeps/alpha/ots_cmp.c: ... here.
11668 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
11669 * sysdeps/alpha/ots_cmpe.c: ... here.
11670 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
11671 * sysdeps/alpha/ots_cvtqux.c: ... here.
11672 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
11673 * sysdeps/alpha/ots_cvtqx.c: ... here.
11674 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
11675 * sysdeps/alpha/ots_cvttx.c: ... here.
11676 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
11677 * sysdeps/alpha/ots_cvtxq.c: ... here.
11678 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
11679 * sysdeps/alpha/ots_cvtxt.c: ... here.
11680 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
11681 * sysdeps/alpha/ots_div.c: ... here.
11682 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
11683 * sysdeps/alpha/ots_mul.c: ... here.
11684 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
11685 * sysdeps/alpha/ots_nintxq.c: ... here.
11686 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
11687 * sysdeps/alpha/ots_sub.c: ... here.
11688 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
11689 * sysdeps/alpha/sfp-machine.h: ... here.
11691 2018-05-23 Florian Weimer <fweimer@redhat.com>
11699 Switch to extern IDNA implementation (libidn2).
11700 * libidn: Remove subdirectory.
11701 * LICENSES: Do not mention licensing conditions for the removed
11703 * config.h.in (HAVE_LIBIDN): Remove.
11704 * include/dlfcn.h (__libc_dlopen): Update comment.
11705 * include/idna.h: Remove file.
11706 * inet/Makefile (routines): Add idna.
11707 (tests-static, tests-internal): Add tst-idna_name_classify.
11708 (LOCALES): Generate locales for tests.
11709 (tst-idna_name_classify.out): Depend on generated locales.
11710 * inet/idna_name_classify.c: New file.
11711 * inet/tst-idna_name_classify.c: Likewise.
11712 * inet/net-internal.h (__idna_to_dns_encoding)
11713 (__idna_from_dns_encoding): Declare.
11714 * inet/net-internal.h (enum idna_name_classification): Define.
11715 (__idna_name_classify): Declare.
11716 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
11717 __idna_from_dns_encoding.
11718 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
11719 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
11720 name as a fallback in case of encoding errors.
11721 (getnameinfo): Use DEPRECATED_NI_IDN.
11722 * inet/idna.c: New file.
11723 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
11724 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
11725 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
11726 (modules-names): Add tst-no-libidn2.
11727 (extra-test-objs): Add tst-no-libidn2.os.
11728 (LDFLAGS-tst-no-libidn2.so): Set soname.
11729 (LOCALES): Set, and generate locales.
11730 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
11731 (tst-resolv-ai_idn-latin1): Likewise.
11732 (tst-resolv-ai_idn-nolibidn2): Likewise.
11733 (tst-resolv-ai_idn.out): Depend on locales.
11734 (tst-resolv-ai_idn-latin1.out): Depend on locales.
11735 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
11737 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
11738 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
11739 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
11740 * resolv/tst-resolv-ai_idn.c: New file.
11741 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
11742 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
11743 * resolv/tst-no-libidn2.c: Likewise.
11744 * support/support_format_addrinfo.c (format_ai_flags): Do not
11745 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
11746 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
11747 (gaih_inet): Call __idna_to_dns_encoding and
11748 __idna_from_dns_encoding, and use the original (punycode) name if
11749 __idna_from_dns_encoding fails due to an encoding error.
11750 (getaddrinfo): Use DEPRECATED_AI_IDN.
11751 * sysdeps/unix/inet/Subdirs (libidn): Remove.
11752 * sysdeps/unix/inet/configure: Remove file.
11753 * sysdeps/unix/inet/configure.ac: Likewise.
11755 2018-05-23 Florian Weimer <fweimer@redhat.com>
11757 Implement allocate_once.
11758 * include/allocate_once.h: New file.
11759 * misc/allocate_once.c: Likewise.
11760 * misc/tst-allocate_once.c: Likewise.
11761 * misc/Makefile (routines): Add allocate_once.
11762 (tests-internal): Add tst-allocate_once.
11763 (generated): Add tst-allocate_once.mtrace,
11764 tst-allocate_once-mem.out.
11765 (tests-special): Add tst-allocate_once-mem.out.
11766 (tst-allocate_once-ENV): Set MALLOC_TRACE.
11767 (tst-allocate_once-mem.out): Call mtrace.
11768 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
11770 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11773 * string/test-memcpy.c (do_test1): New function.
11774 (test_main): Call it.
11776 2018-05-23 Andreas Schwab <schwab@suse.de>
11780 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
11781 (L(preloop_large)): Save initial destination pointer in %r11 and
11782 use it instead of %rax after the loop.
11783 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
11785 2018-05-22 Joseph Myers <joseph@codesourcery.com>
11787 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
11788 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
11789 -I../soft-fp. Moved from ....
11790 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
11791 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
11792 * sysdeps/aarch64/e_sqrtl.c: ... here.
11793 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
11794 * sysdeps/aarch64/sfp-machine.h: ... here.
11796 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
11797 -Wmaybe-uninitialized around access to fq[0].
11798 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11802 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
11803 aliases for non-libc case of versioned symbols.
11804 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
11805 (llseek): Define as compat symbol if
11806 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
11808 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
11809 Make into a compat symbol, disabled for minimum symbol version
11810 GLIBC_2.28 and later.
11811 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
11813 2018-05-22 Florian Weimer <fweimer@redhat.com>
11815 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
11816 not add -mpreferred-stack-boundary=4.
11817 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
11818 (stack-align-test-flags): Likewise.
11819 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
11821 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
11822 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
11823 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
11824 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
11825 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
11826 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
11827 (CFLAGS-tst-align2.c): Likewise.
11829 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11831 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
11832 (index_arch_Prefer_FSRM): Likewise.
11833 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
11834 Also check Prefer_FSRM.
11835 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
11836 Also return OPTIMIZE (erms) for Prefer_FSRM.
11838 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11840 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
11841 (index_cpu_FSRM): Likewise.
11842 (reg_FSRM): Likewise.
11844 2018-05-18 Joseph Myers <joseph@codesourcery.com>
11846 * math/gen-tgmath-tests.py: Import sys.
11847 (Tests.__init__): Initialize macros_seen.
11848 (Tests.add_tests): Add macro to macros_seen. Only generate tests
11849 if requested to do so for this macro.
11850 (Tests.add_all_tests): Take argument for macro for which to
11852 (Tests.check_macro_list): New function.
11853 (main): Handle check-list argument and argument specifying macro
11854 for which to generate tests.
11855 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
11856 [PYTHON] (tgmath3-macro-tests): Likewise.
11857 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
11858 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
11859 not test-tgmath3.c.
11860 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
11861 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
11863 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
11864 [PYTHON] ($(foreach
11865 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
11867 [PYTHON] (tests-special): Add
11868 $(objpfx)test-tgmath3-macro-list.out.
11869 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
11871 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
11872 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
11876 * time/tzset.c (SECSPERDAY): Cast to time_t.
11877 * time/tst-y2039.c: New file.
11878 * time/Makefile (tests): Add tst-y2039.
11880 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11882 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11883 (PREFETCH_ONE_SET): Remove duplicate line.
11885 2018-05-17 Florian Weimer <fweimer@redhat.com>
11887 * sysdeps/generic/math-type-macros-double.h: Include
11888 <math-nan-payload-double.h> after <libm-alias-double.h>.
11889 * sysdeps/generic/math-type-macros-float.h: Include
11890 <math-nan-payload-float.h> after <libm-alias-float.h>.
11891 * sysdeps/generic/math-type-macros-float128.h: Include
11892 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
11893 * sysdeps/generic/math-type-macros-ldouble.h: Include
11894 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
11896 2018-05-17 Andreas Schwab <schwab@suse.de>
11898 * resolv/res_send.c (__res_context_send): Don't set errno when
11899 returing error after malloc failure.
11901 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
11903 * nptl/allocatestack.c (allocate_stack): Remove the
11904 !__ASSUME_PRIVATE_FUTEX paths.
11905 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
11906 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11908 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
11909 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11910 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11911 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11912 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
11913 !__ASSUME_PRIVATE_FUTEX path.
11914 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
11915 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
11916 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11917 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
11918 !__ASSUME_PRIVATE_FUTEX macros.
11919 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11920 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11921 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
11922 * sysdeps/unix/sysv/linux/kernel-features.h
11923 (__ASSUME_PRIVATE_FUTEX): Removed.
11925 2018-05-17 Joseph Myers <joseph@codesourcery.com>
11927 * math/Makefile (libm-narrow-fns): Add div.
11928 (libm-test-funcs-narrow): Likewise.
11929 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
11930 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
11931 * math/gen-auto-libm-tests.c (test_functions): Add div.
11932 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
11933 (NARROW_DIV_ROUND_TO_ODD): Likewise.
11934 (NARROW_DIV_TRIVIAL): Likewise.
11935 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
11937 (__ddivl): Likewise.
11938 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
11940 (CFLAGS-nldbl-ddiv.c): New variable.
11941 (CFLAGS-nldbl-fdiv.c): Likewise.
11942 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11944 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
11946 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
11947 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
11948 * math/auto-libm-test-in: Add tests of div.
11949 * math/auto-libm-test-out-narrow-div: New generated file.
11950 * math/libm-test-narrow-div.inc: New file.
11951 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
11952 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
11953 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
11954 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
11955 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
11956 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
11957 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
11958 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
11959 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
11960 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
11961 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
11962 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
11963 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
11964 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
11965 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
11966 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
11967 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
11968 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
11969 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11970 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11971 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11972 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11973 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11974 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11975 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11976 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11977 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11978 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11979 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11980 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11981 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11982 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
11985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11987 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11988 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11989 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11990 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11991 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11992 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11993 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11994 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11996 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11999 * nscd/nscd-client.h (sendfileall): Remove prototype.
12000 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
12001 (handle_request): Use writeall instead of sendfileall.
12002 * nscd/aicache.c (addhstaiX): Likewise.
12003 * nscd/grpcache.c (cache_addgr): Likewise.
12004 * nscd/hstcache.c (cache_addhst): Likewise.
12005 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12006 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
12007 * nscd/pwdcache.c (cache_addpw): Likewise.
12008 * nscd/servicescache.c (cache_addserv): Likewise.
12009 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
12010 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
12011 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
12014 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
12016 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
12017 Include <string/strncat.c>.
12018 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
12020 (__GI___strncat): New hidden alias.
12022 2018-05-16 Joseph Myers <joseph@codesourcery.com>
12024 * sysdeps/mips/mips32/libm-test-ulps: Update.
12025 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12027 2018-05-16 Florian Weimer <fweimer@redhat.com>
12029 * support/Makefile (libsupport-routines): Add support_quote_blob,
12030 support_test_compare_blob.
12031 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
12032 * support/check.h (TEST_COMPARE_BLOB): Define.
12033 (support_test_compare_blob): Declare.
12034 * support/support.h (support_quote_blob): Declare.
12035 * support/support_quote_blob.c: New file.
12036 * support/support_test_compare_blob.c: Likewise.
12037 * support/tst-support_quote_blob.c: Likewise.
12038 * support/tst-test_compare_blob.c: Likewise.
12040 2018-05-16 Florian Weimer <fweimer@redhat.com>
12042 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
12043 of <strtod_nan_double.h>.
12044 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
12045 instead of SET_MANTISSA.
12046 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
12047 of include <strtod_nan_float.h>.
12048 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
12049 instead of <strtod_nan_ldouble.h>.
12050 * stdlib/strtod_nan_double.h: Move to ...
12051 * sysdeps/generic/math-nan-payload-double.h: ... here.
12052 (FLOAT): Remove definition.
12053 (SET_MANTISSA): Rename to ...
12054 (SET_NAN_PAYLOAD): ... this.
12055 * stdlib/strtod_nan_float.h: Move to ...
12056 * sysdeps/generic/math-nan-payload-float.h: ... here.
12057 (FLOAT): Remove definition.
12058 (SET_MANTISSA): Rename to ...
12059 (SET_NAN_PAYLOAD): ... this.
12060 * sysdeps/generic/math-type-macros-double.h: Include
12061 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
12062 instead of <math-svid-compat.h>.
12063 * sysdeps/generic/math-type-macros-float.h: Include
12064 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
12065 instead of <math-svid-compat.h>.
12066 * sysdeps/generic/math-type-macros-float128.h: Include
12067 <math-nan-payload-float128.h>.
12068 * sysdeps/generic/math-type-macros-ldouble.h: Include
12069 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
12070 instead of <math-svid-compat.h>.
12071 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
12072 check for definition.
12073 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
12074 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
12075 Include <ieee754_float128.h>.
12076 (FLOAT): Remove definition.
12077 (SET_MANTISSA): Rename to ...
12078 (SET_NAN_PAYLOAD): ... this.
12079 * sysdeps/ieee754/float128/strtof128_nan.c: Include
12080 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
12081 Do not include <float128_private.h>.
12082 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
12083 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
12084 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
12085 (FLOAT): Remove definition.
12086 (SET_MANTISSA): Rename to ...
12087 (SET_NAN_PAYLOAD): ... this.
12088 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
12089 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
12090 (FLOAT): Remove definition.
12091 (SET_MANTISSA): Rename to ...
12092 (SET_NAN_PAYLOAD): ... this.
12093 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
12094 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
12095 (FLOAT): Remove definition.
12096 (SET_MANTISSA): Rename to ...
12097 (SET_NAN_PAYLOAD): ... this.
12098 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
12099 of "../stdlib/strtod_nan_double.h".
12100 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
12101 of "../stdlib/strtod_nan_float.h".
12102 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
12103 instead of "../stdlib/strtod_nan_ldouble.h".
12104 * manual/arith.texi (Parsing of Floats): Adjust comment.
12106 2018-05-16 Joseph Myers <joseph@codesourcery.com>
12108 * math/Makefile (libm-narrow-fns): Add mul.
12109 (libm-test-funcs-narrow): Likewise.
12110 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
12111 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
12112 * math/gen-auto-libm-tests.c (test_functions): Add mul.
12113 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
12114 (NARROW_MUL_ROUND_TO_ODD): Likewise.
12115 (NARROW_MUL_TRIVIAL): Likewise.
12116 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
12117 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
12119 (__dmull): Likewise.
12120 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
12122 (CFLAGS-nldbl-dmul.c): New variable.
12123 (CFLAGS-nldbl-fmul.c): Likewise.
12124 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12126 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
12128 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
12129 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
12130 * math/auto-libm-test-in: Add tests of mul.
12131 * math/auto-libm-test-out-narrow-mul: New generated file.
12132 * math/libm-test-narrow-mul.inc: New file.
12133 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
12134 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
12135 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
12136 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
12137 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
12138 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
12139 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
12140 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
12141 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
12142 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
12143 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
12144 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
12145 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
12146 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
12147 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
12148 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
12149 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
12150 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
12151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12152 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12153 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12154 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12155 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12156 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12157 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12158 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12159 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12160 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12161 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12162 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12163 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12164 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12169 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12170 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12171 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12172 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12173 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12174 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12175 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12176 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12178 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12180 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
12181 with *%eax in call.
12183 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12185 * sysdeps/i386/ldsodefs.h: Removed.
12186 * sysdeps/x86_64/ldsodefs.h: Moved to ...
12187 * sysdeps/x86/ldsodefs.h: This.
12188 (La_i86_regs): New.
12189 (La_i86_retval): Likewise.
12190 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
12191 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
12193 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12195 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
12198 2018-05-13 Alan Modra <amodra@gmail.com>
12200 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
12201 R_PARISC_TLS_DTPOFF32 reloc addend.
12203 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12205 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
12206 * math/math.h: Restrict the prototype definition for the functions
12207 issignaling(_Float128) and iszero(_Float128); and template
12208 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
12209 __HAVE_FLOAT128_UNLIKE_LDBL.
12210 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
12211 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
12212 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
12213 __f128() constants; define the type _Float128 as long double;
12214 and reuse long double in __CFLOAT128.
12216 2018-05-11 Joseph Myers <joseph@codesourcery.com>
12218 * sysdeps/generic/math_private.h: Do not include
12220 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
12222 * math/fromfp.h: Include <math-barriers.h>.
12223 * math/math-narrow.h: Likewise.
12224 * math/s_nextafter.c: Likewise.
12225 * math/s_nexttowardf.c: Likewise.
12226 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
12227 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
12228 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
12229 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
12230 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12231 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12232 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12233 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12234 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12235 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12236 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12237 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12238 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12239 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12240 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12241 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12242 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12243 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12244 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12245 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12246 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12247 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12248 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12249 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12250 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12251 * sysdeps/ieee754/k_standardl.c: Likewise.
12252 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12253 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12254 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12255 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12256 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12257 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12258 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12259 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12260 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12261 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12262 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12263 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12264 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12265 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12266 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12267 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12268 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12269 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12270 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12271 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12272 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
12273 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
12275 2018-05-11 Florian Weimer <fweimer@redhat.com>
12277 Use 64-bit epoch values in the time zone file parser.
12278 * include/time.h (internal_time_t): Define.
12279 (__tzfile_compute): Use it.
12280 * time/tzfile.c (struct leap): Use internal_time_t for epoch
12282 (transitions): Switch to internal_time_t.
12283 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
12285 (__tzfile_compute): Use internal_time_t for timer argument. Check
12286 for truncation before calling __offtime.
12288 2018-05-11 Florian Weimer <fweimer@redhat.com>
12291 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
12292 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
12294 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
12295 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
12296 export without --enable-obsolete-rpc.
12297 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
12298 symbol. This should not have been exported, ever.
12300 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
12303 * localedata/locales/gd_GB (abmon): Fix typo in May:
12304 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
12306 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
12308 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12309 Use multiple registers to copy data in loop tail.
12311 * sysdeps/aarch64/multiarch/memmove_falkor.S
12312 (__memmove_falkor): Use multiple registers to move data in
12315 2018-05-10 Joseph Myers <joseph@codesourcery.com>
12317 * math/math-underflow.h: New file.
12318 * sysdeps/generic/math_private.h: Do not include <float.h>.
12319 (fabs_tg): Remove macro. Moved to math-underflow.h.
12320 (min_of_type_f): Likewise.
12321 (min_of_type_): Likewise.
12322 (min_of_type_l): Likewise.
12323 (min_of_type_f128): Likewise.
12324 (min_of_type): Likewise.
12325 (math_check_force_underflow): Likewise.
12326 (math_check_force_underflow_nonneg): Likewise.
12327 (math_check_force_underflow_complex): Likewise.
12328 * math/e_exp2_template.c: Include <math-underflow.h>.
12329 * math/k_casinh_template.c: Likewise.
12330 * math/s_catan_template.c: Likewise.
12331 * math/s_catanh_template.c: Likewise.
12332 * math/s_ccosh_template.c: Likewise.
12333 * math/s_cexp_template.c: Likewise.
12334 * math/s_clog10_template.c: Likewise.
12335 * math/s_clog_template.c: Likewise.
12336 * math/s_csin_template.c: Likewise.
12337 * math/s_csinh_template.c: Likewise.
12338 * math/s_csqrt_template.c: Likewise.
12339 * math/s_ctan_template.c: Likewise.
12340 * math/s_ctanh_template.c: Likewise.
12341 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12342 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12343 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12344 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12345 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12346 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12347 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12348 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12349 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12350 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12351 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12352 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12353 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12354 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12355 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12356 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12357 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12358 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12359 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12360 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12361 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12362 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12363 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12364 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12365 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12366 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12367 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12368 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12369 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12370 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12371 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12372 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12373 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12374 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12375 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12376 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12377 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12378 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12379 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12380 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12381 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12382 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12383 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12384 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12385 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12386 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12387 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12388 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12389 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12390 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12391 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12392 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12393 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12394 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12395 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12396 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12397 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12398 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12399 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12400 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12401 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12402 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12403 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12404 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12405 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12406 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12407 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12408 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12409 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12410 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12411 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12412 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12413 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12414 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
12415 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12416 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12417 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12418 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12419 * sysdeps/x86/fpu/powl_helper.c: Likewise.
12420 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
12421 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
12422 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
12423 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
12424 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
12426 2018-05-09 Joseph Myers <joseph@codesourcery.com>
12428 * sysdeps/generic/math-barriers.h: New file.
12429 * sysdeps/generic/math_private.h [!math_opt_barrier]
12430 (math_opt_barrier): Move to math-barriers.h.
12431 [!math_opt_barrier] (math_force_eval): Likewise.
12432 * sysdeps/aarch64/fpu/math-barriers.h: New file.
12433 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
12435 (math_force_eval): Likewise.
12436 * sysdeps/alpha/fpu/math-barriers.h: New file.
12437 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
12439 (math_force_eval): Likewise.
12440 * sysdeps/x86/fpu/math-barriers.h: New file.
12441 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
12443 (math_force_eval): Likewise.
12444 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
12445 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
12446 multiple-include guard for rename.
12447 * sysdeps/powerpc/fpu/math-barriers.h: New file.
12448 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
12450 (math_force_eval): Likewise.
12452 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
12456 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
12458 * stdlib/Makefile (test-bz22786): New test.
12459 * stdlib/test-bz22786.c: New test.
12461 2018-05-09 Joseph Myers <joseph@codesourcery.com>
12463 * include/math-narrow-eval.h: New file. Contents moved from ....
12464 * sysdeps/generic/math_private.h: ... here.
12465 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
12466 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
12467 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
12468 * stdlib/strtod_l.c: Likewise.
12469 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12470 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12471 * sysdeps/i386/fpu/s_fdim.c: Likewise.
12472 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12473 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12474 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12475 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12476 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12477 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12478 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
12479 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12480 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
12481 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12482 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12483 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12484 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12485 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12486 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12487 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12488 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12489 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12490 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12491 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12492 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12493 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12494 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12495 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12496 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12497 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12499 2018-05-08 Andreas Schwab <schwab@suse.de>
12501 * sysdeps/nptl/internaltypes.h: Fix comment.
12503 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
12505 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12506 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
12509 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
12511 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
12512 of I into loop header.
12513 * benchtests/bench-memmove-walk.c
12514 (test_main): Likewise.
12516 2018-05-07 Alexandre Oliva <oliva@gnu.org>
12519 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
12520 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12522 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12525 * elf/dl-load.c (open_verify): Fix stack overflow.
12526 * elf/Makefile (tst-big-note): New test.
12527 * elf/tst-big-note-lib.S: New.
12528 * elf/tst-big-note.c: New.
12530 2018-05-04 Joseph Myers <joseph@codesourcery.com>
12532 * scripts/abilist.awk: Ignore absolute symbols.
12533 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
12534 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
12535 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
12536 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
12537 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
12538 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
12539 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12540 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
12541 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
12542 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
12543 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
12544 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
12545 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
12546 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
12547 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
12548 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
12549 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
12550 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
12551 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12552 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
12553 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
12554 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
12555 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
12556 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
12557 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
12558 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
12559 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
12560 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
12561 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12562 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
12563 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
12564 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12565 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
12566 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
12567 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
12568 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
12569 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
12570 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
12571 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
12572 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
12573 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
12574 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12575 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
12576 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
12577 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12578 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
12579 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
12580 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
12581 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
12582 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
12583 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
12584 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
12585 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
12586 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
12587 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12588 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
12589 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
12590 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12591 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
12592 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
12593 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
12594 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
12595 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
12596 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
12597 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
12598 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
12599 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
12600 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12601 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
12602 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
12603 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12604 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
12605 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
12606 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
12607 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
12608 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
12609 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
12610 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
12611 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
12612 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
12613 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12614 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
12615 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
12616 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12617 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
12618 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
12619 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
12620 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
12621 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
12622 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
12623 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
12624 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
12626 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
12627 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12628 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
12629 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
12630 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12631 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
12632 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
12633 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
12634 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
12635 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
12636 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
12637 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
12638 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
12640 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
12641 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12642 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
12643 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
12644 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12645 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
12646 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
12647 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
12648 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
12649 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
12650 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
12651 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
12652 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
12653 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
12654 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12655 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
12656 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
12657 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12658 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
12659 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
12660 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
12661 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
12662 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
12663 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
12664 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12665 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
12666 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12668 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
12669 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
12670 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
12671 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
12672 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12673 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
12674 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
12675 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
12676 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
12677 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
12678 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
12679 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
12680 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
12681 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
12682 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
12683 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
12684 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
12685 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
12686 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12687 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12689 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
12690 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
12691 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
12692 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12693 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
12694 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
12695 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
12696 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
12697 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
12698 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
12699 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12700 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
12701 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
12702 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12703 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
12704 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
12705 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
12706 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
12707 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12708 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
12709 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
12710 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12711 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
12712 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
12713 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
12714 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
12715 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
12716 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
12717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
12718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
12720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
12722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
12723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
12724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
12725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
12726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
12728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
12730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
12731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
12733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
12734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
12742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
12744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
12746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
12747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
12751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
12752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
12753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
12754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
12758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
12759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
12765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
12767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
12768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
12769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
12771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
12773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
12775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
12776 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
12777 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
12779 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
12780 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12781 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
12782 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
12783 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12784 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
12785 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
12786 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
12787 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
12788 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
12789 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
12790 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
12791 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
12792 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12794 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12795 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
12796 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
12797 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12798 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
12799 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
12800 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
12801 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
12802 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
12803 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
12804 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
12805 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12807 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12808 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
12809 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
12810 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12811 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
12812 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
12813 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
12814 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
12815 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
12816 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
12817 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
12818 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
12819 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
12820 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12821 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
12822 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
12823 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12824 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
12825 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
12826 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
12827 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
12828 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
12829 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
12830 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
12831 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12833 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
12834 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12835 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
12836 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
12837 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12838 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
12839 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
12840 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
12841 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
12842 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
12843 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
12844 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
12845 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12847 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
12848 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12849 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
12850 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
12851 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12852 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
12853 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
12854 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
12855 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
12856 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
12857 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
12858 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
12859 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
12860 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
12861 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12862 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
12863 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
12864 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12865 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
12866 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
12867 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
12868 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
12869 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
12870 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
12871 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
12872 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
12873 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
12874 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
12875 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12876 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
12877 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
12878 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12879 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
12880 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
12881 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
12882 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
12883 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
12884 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
12886 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
12889 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
12890 Use atomic_load_acquire to load __tid.
12892 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12894 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
12895 Restore the pointer into %rdx, after syscall and use %rdx,
12896 instead of %rsi, to restore context.
12898 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12900 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
12901 Pop the pointer into %rdx after syscall and use %rdx, instead
12902 of %rsi, to restore context.
12904 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12906 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
12907 handlers after setjmp.
12908 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
12910 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
12911 <libc-pointer-arith.h>.
12912 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
12913 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
12914 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
12915 _JUMP_BUF_SIGSET_BITS_PER_WORD.
12916 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
12917 * sysdeps/x86/__longjmp_cancel.S: New file.
12918 * sysdeps/x86/longjmp.c: Likewise.
12919 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
12921 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12923 * NEWS: Add ustat.h deprecation entry.
12924 * bits/ustat.h: Remove file.
12925 * misc/sys/ustat.h: Likewise.
12926 * misc/ustat.h: Likewise.
12927 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
12928 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
12929 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
12930 compatibility mode.
12931 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
12932 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
12933 generic Linux implementation.
12935 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12937 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
12938 * math/w_expl_compat.c: Likewise.
12939 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
12941 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
12943 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12945 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12947 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
12948 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
12949 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
12951 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
12952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12953 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12954 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
12955 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
12958 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12960 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
12962 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
12963 * math/w_asin_template.c: Likewise.
12964 * math/w_atanh_template.c: Likewise.
12966 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12968 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
12969 to powerpc/powerpc64/be for big-endian.
12970 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
12973 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
12974 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
12975 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
12976 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
12977 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
12978 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
12979 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
12980 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
12981 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
12982 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12983 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
12984 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
12985 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
12986 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
12987 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
12988 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
12989 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
12990 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
12991 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
12992 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
12993 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
12994 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12995 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
12996 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
12997 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
12998 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12999 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
13000 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
13001 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
13002 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
13003 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
13004 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
13006 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
13007 adjusted to imply powerpc64 and older processors on powerpc64/be.
13008 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
13009 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
13010 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
13011 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
13012 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
13013 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
13014 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
13015 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
13016 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
13017 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
13018 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
13019 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
13020 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
13021 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
13022 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
13023 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
13024 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
13025 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
13026 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
13027 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
13028 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
13029 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
13030 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
13031 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
13032 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
13033 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
13034 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
13035 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
13036 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
13037 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
13038 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
13040 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
13041 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
13042 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
13043 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
13045 * sysdeps/powerpc/powerpc64/be/Implies: New file.
13046 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
13047 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
13048 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
13050 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
13051 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
13052 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
13053 * sysdeps/powerpc/powerpc64le/configure: Likewise.
13054 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
13055 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
13056 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
13057 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
13058 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
13059 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
13060 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
13062 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
13063 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
13064 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
13065 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
13066 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
13067 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
13068 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
13069 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
13070 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
13071 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
13072 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
13074 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
13075 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
13076 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
13077 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
13078 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
13079 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
13080 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
13081 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
13082 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
13083 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
13084 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
13085 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
13087 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
13088 and adjusted to imply olders processors.
13089 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
13090 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
13091 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
13092 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
13093 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
13094 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
13095 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
13096 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
13097 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
13098 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
13099 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
13101 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
13103 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
13104 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
13106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
13108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
13109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
13111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
13113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
13115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
13117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
13118 powerpc64 and adjusted.
13119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
13120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
13121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
13124 2018-04-27 Joseph Myers <joseph@codesourcery.com>
13126 * sysdeps/tile: Remove.
13127 * sysdeps/unix/sysv/linux/tile: Likewise.
13128 * README (tilegx-*-linux-gnu): Remove from list of supported
13130 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
13131 contribution of support for generic Linux kernel syscall
13133 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
13134 tilegx configurations.
13135 (Config.install_linux_headers): Do not handle tile.
13136 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
13138 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
13139 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
13140 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13141 conditional undefine and redefine.
13142 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
13144 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13145 conditional undefine and redefine.
13147 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
13149 * signal/tst-sigaction.c: New file to test BZ #23069.
13150 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
13152 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13155 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
13156 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
13157 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
13158 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
13160 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13162 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
13163 _DIRENT_MATCHES_DIRENT64 is not defined.
13164 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
13165 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
13167 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
13168 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
13170 2018-04-25 Joseph Myers <joseph@codesourcery.com>
13172 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
13173 version to GCC 8 branch.
13175 2018-04-24 Joseph Myers <joseph@codesourcery.com>
13177 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
13178 (check_no_hidden): Use type of original function when declaring
13181 * sysdeps/unix/sysv/linux/sys/ptrace.h
13182 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
13183 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
13184 (struct __ptrace_seccomp_metadata): New type.
13185 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
13186 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13187 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
13188 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13189 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
13190 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13191 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
13192 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13193 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
13194 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13195 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
13196 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13197 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
13198 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13199 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
13200 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13202 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13204 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
13206 * dirent/versionsort.c (versionsort): Likewise.
13207 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
13208 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
13209 * dirent/versionsort64.c (versionsort64): Likewise.
13210 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
13211 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
13212 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
13213 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
13214 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
13215 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
13216 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
13217 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
13218 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
13219 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
13220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
13221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
13222 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
13223 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
13225 2018-04-23 Joseph Myers <joseph@codesourcery.com>
13227 * elf/elf.h (NT_PPC_PKEY): New macro.
13229 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
13232 * localedata/locales/hr_HR: fix thousands_sep and
13235 2018-04-20 Joseph Myers <joseph@codesourcery.com>
13237 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
13238 (XTABS): Define to TAB3.
13240 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13242 * sysdeps/hppa/fpu/libm-test-ulps: Update.
13244 * dirent/scandir-tail-common.c: New file.
13245 * dirent/scandir-tail.c: Use scandir-tail-common.c.
13246 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
13247 * dirent/scandir.c: Use scandir-tail-common.c.
13248 * dirent/scandirat.c: Likewise.
13249 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
13250 * dirent/scandir64.c (scandir64): Always build and alias to scandir
13251 if _DIRENT_MATCHES_DIRENT64 is defined.
13252 * dirent/scandirat64.c (scandirat64): Likewise.
13253 * include/dirent.h (__scandir_tail): Only define iff
13254 _DIRENT_MATCHES_DIRENT64 is not defined.
13255 (__scandir64_tail): Define regardless.
13256 (__scandirat, scandirat64): Remove libc_hidden_proto.
13257 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
13258 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
13259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
13260 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
13261 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13262 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
13263 * sysdeps/unix/sysv/linux/scandir64.c: New file.
13265 2018-04-20 Joseph Myers <joseph@codesourcery.com>
13267 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
13269 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13271 (_dl_aarch64_cap_flags): Add asimdfhm.
13273 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
13275 * sysdeps/nios2/libm-test-ulps: Update.
13277 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13279 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
13280 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
13282 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
13284 (_DIRENT_MATCHES_DIRENT64): Undef
13285 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
13286 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
13287 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
13288 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
13289 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
13290 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
13291 use getdents64 syscalls as base.
13292 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
13293 symbol if required.
13294 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
13295 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
13296 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
13297 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
13298 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
13299 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
13300 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
13301 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
13302 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13303 (__get_clockfreq_via_proc_openprom): Use __getdents64.
13304 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
13306 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13308 * scripts/test_printers_common.py (init_test): Disable lock elision.
13310 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13312 * math/test-tgmath.c (count_double, count_float,
13313 count_ldouble, count_cdouble, count_cfloat,
13314 count_cldouble): Use volatile int.
13316 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
13318 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
13319 (conformtest-xfail-conds): Add i386-gnu.
13320 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
13322 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
13323 ipc_perm.cuid, ipc_perm.cgid): Likewise.
13324 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
13325 msqid_ds.msg_lrpid): Likewise.
13326 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
13328 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
13329 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
13330 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
13331 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
13333 (struct statvfs64): Likewise.
13334 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
13336 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
13337 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
13338 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
13339 instead of wait_queue.
13340 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
13341 instead of vm_area_struct.
13342 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
13343 struct sched_param definition to it.
13344 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13345 * bits/types/struct_sched_param.h: New file.
13346 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
13347 <bits/types/struct_sched_param.h> instead of <sched.h>.
13348 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
13349 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
13350 generic version but include <bits/pthreadtypes.h> to make struct
13351 sigevent's sigev_notify_attributes field a pthread_attr_t*.
13352 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
13354 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
13355 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
13356 [__USE_XOPEN] (OFDEL): New macro.
13357 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
13358 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
13359 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
13361 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
13362 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
13363 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
13365 * sysdeps/i386/sys/ucontext.h: Likewise.
13366 * sysdeps/m68k/sys/ucontext.h: Likewise.
13367 * sysdeps/mips/sys/ucontext.h: Likewise.
13368 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
13369 * sysdeps/mach/hurd/i386/Makefile
13370 (test-xfail-POSIX/fcntl.h/conform): Add.
13371 (test-xfail-POSIX/signal.h/conform): Add.
13372 (test-xfail-POSIX/semaphore.h/conform): Add.
13373 (test-xfail-POSIX/regex.h/conform): Add.
13374 (test-xfail-POSIX/aio.h/conform): Add.
13375 (test-xfail-POSIX/mqueue.h/conform): Add.
13376 (test-xfail-POSIX/sys/types.h/conform): Add.
13377 (test-xfail-UNIX98/fcntl.h/conform): Add.
13378 (test-xfail-UNIX98/netdb.h/conform): Add.
13379 (test-xfail-UNIX98/signal.h/conform): Add.
13380 (test-xfail-UNIX98/semaphore.h/conform): Add.
13381 (test-xfail-UNIX98/regex.h/conform): Add.
13382 (test-xfail-UNIX98/aio.h/conform): Add.
13383 (test-xfail-UNIX98/ftw.h/conform): Add.
13384 (test-xfail-UNIX98/mqueue.h/conform): Add.
13385 (test-xfail-UNIX98/netinet/in.h/conform): Add.
13386 (test-xfail-UNIX98/sys/wait.h/conform): Add.
13387 (test-xfail-UNIX98/sys/sem.h/conform): Add.
13388 (test-xfail-UNIX98/sys/uio.h/conform): Add.
13389 (test-xfail-UNIX98/sys/socket.h/conform): Add.
13390 (test-xfail-UNIX98/sys/types.h/conform): Add.
13391 (test-xfail-UNIX98/stdlib.h/conform): Add.
13392 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
13393 (test-xfail-POSIX2008/fcntl.h/conform): Add.
13394 (test-xfail-POSIX2008/netdb.h/conform): Add.
13395 (test-xfail-POSIX2008/signal.h/conform): Add.
13396 (test-xfail-POSIX2008/semaphore.h/conform): Add.
13397 (test-xfail-POSIX2008/regex.h/conform): Add.
13398 (test-xfail-POSIX2008/aio.h/conform): Add.
13399 (test-xfail-POSIX2008/mqueue.h/conform): Add.
13400 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
13401 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
13402 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
13403 (test-xfail-POSIX2008/sys/types.h/conform): Add.
13404 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
13405 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
13406 (test-xfail-XOPEN2K/netdb.h/conform): Add.
13407 (test-xfail-XOPEN2K/signal.h/conform): Add.
13408 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
13409 (test-xfail-XOPEN2K/regex.h/conform): Add.
13410 (test-xfail-XOPEN2K/aio.h/conform): Add.
13411 (test-xfail-XOPEN2K/ftw.h/conform): Add.
13412 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
13413 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
13414 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
13415 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
13416 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
13417 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
13418 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
13419 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
13420 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
13421 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
13422 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
13423 (test-xfail-XOPEN2K8/signal.h/conform): Add.
13424 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
13425 (test-xfail-XOPEN2K8/regex.h/conform): Add.
13426 (test-xfail-XOPEN2K8/aio.h/conform): Add.
13427 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
13428 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
13429 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
13430 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
13431 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
13432 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
13433 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
13434 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
13435 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
13436 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
13437 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
13439 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
13440 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
13442 2018-04-18 Joseph Myers <joseph@codesourcery.com>
13444 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
13445 --enable-obsolete for powerpc-linux-gnuspe.
13447 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13449 * conform/data/sys/un.h-data: Allow sun_ prefix.
13450 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
13452 * sysdeps/mach/include/mach.h: Likewise.
13453 * sysdeps/mach/include/mach/mig_support.h: Likewise.
13454 * sysdeps/mach/include/mach_error.h: Likewise.
13456 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13458 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
13459 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
13460 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
13461 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
13463 2018-04-16 Andreas Schwab <schwab@suse.de>
13466 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
13468 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
13470 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
13471 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
13473 2018-04-12 DJ Delorie <dj@redhat.com>
13475 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13478 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
13480 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
13481 (struct kernel_sigaction): Use the same definition on 31bit as is used
13484 2018-04-09 Florian Weimer <fweimer@redhat.com>
13487 * resolv/res_send.c (send_dg): Use designated initializers instead
13488 of assignment to zero-initialize other fields of struct mmsghdr.
13490 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13492 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
13493 __READDIR_ALIAS): Undefine after usage.
13494 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
13495 __READDIR_R_ALIAS): Likewise.
13496 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
13497 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
13498 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
13499 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
13500 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
13501 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
13502 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13503 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13504 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
13505 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
13506 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
13507 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
13508 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13509 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
13510 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
13511 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
13512 * sysdeps/unix/sysv/linux/readdir.c: New file.
13513 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
13514 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
13515 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
13517 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
13519 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
13521 * manual/charset.texi (Converting a Character): Fix typo.
13523 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13527 * sysdeps/arm/libm-test-ulps: Update.
13529 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
13530 as base implementation.
13531 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13532 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13533 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13534 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13535 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13536 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
13537 remove unrequired definitions and update comments.
13538 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
13539 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
13540 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
13541 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
13542 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
13543 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
13544 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
13545 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
13546 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
13547 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
13548 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
13549 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13550 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13551 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
13552 and RESET_SA_RESTORER hooks.
13554 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
13556 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13558 2018-04-05 Florian Weimer <fweimer@redhat.com>
13560 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
13561 integer overflow, memory leak on error, and indeterminate errno
13562 value. Add a null wide character to terminate the result string.
13563 * manual/charset.texi (Converting a Character): Mention embedded
13564 null bytes in the mbrtowc input string. Explain what happens in
13565 the -2 result case. Do not claim that mbrtowc is simple or
13566 obvious to use. Adjust the description of the code example. Use
13567 @code, not @var, for concrete variables.
13569 2018-04-05 Florian Weimer <fweimer@redhat.com>
13571 * manual/examples/mbstouwcs.c: New file.
13572 * manual/charset.texi (Converting a Character): Include it.
13574 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13576 * include/dirent.h (dirfd): Add hidden proto.
13577 * dirent/dirfd.c (dirfd): Add hidden def.
13578 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
13579 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
13581 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13583 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
13584 sin, cos and sincos to 1 ULP.
13586 2018-04-04 Maciej W. Rozycki <macro@mips.com>
13589 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
13591 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
13592 * elf/tst-absolute-sym.c: New file.
13593 * elf/tst-absolute-sym-lib.c: New file.
13594 * elf/tst-absolute-sym-lib.lds: New file.
13595 * elf/Makefile (tests): Add `tst-absolute-sym'.
13596 (modules-names): Add `tst-absolute-sym-lib'.
13597 (LDLIBS-tst-absolute-sym-lib.so): New variable.
13598 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
13599 ($(objpfx)tst-absolute-sym): New dependency.
13602 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
13604 (SYMBOL_ADDRESS): New macro.
13605 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
13606 SYMBOL_ADDRESS for symbol address calculation.
13607 * elf/dl-runtime.c (_dl_fixup): Likewise.
13608 (_dl_profile_fixup): Likewise.
13609 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
13610 * elf/rtld.c (dl_main): Likewise.
13611 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
13612 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
13613 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
13614 (elf_machine_rela): Likewise.
13615 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
13616 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
13617 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13618 (elf_machine_rela): Likewise.
13619 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13620 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
13621 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
13622 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
13624 (elf_machine_reloc): Likewise.
13625 (elf_machine_got_rel): Likewise.
13626 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
13627 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
13628 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13630 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13632 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
13633 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13635 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13637 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13638 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13640 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13642 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
13643 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13645 2018-04-04 Zack Weinberg <zackw@panix.com>
13647 * sysdeps/generic/internal-signals.h: Include signal.h,
13648 sigsetops.h, and stdbool.h.
13649 (__libc_signal_block_all): Actually block all signals.
13650 (__libc_signal_block_app): Likewise.
13651 (__libc_signal_restore_set): Actually restore the signal mask.
13653 2018-04-04 Florian Weimer <fweimer@redhat.com>
13655 inet: Actually build and run tst-deadline.
13656 * inet/Makefile (tests-internal): Add tst-deadline and do not
13657 overwrite the variable.
13658 (tests-static-internal): Remove variable.
13660 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
13663 * bits/uio-ext.h (RWF_APPEND): New.
13664 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
13665 * manual/llio.texi: Document RWF_APPEND.
13666 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
13667 (RWF_SUPPORTED): Add RWF_APPEND.
13669 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13672 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
13673 check for internal nptl signals.
13674 * nptl/sigaction.c (__sigaction): Likewise.
13675 * signal/sigaddset.c (sigaddset): Likewise.
13676 * signal/sigdelset.c (sigdelset): Likewise.
13677 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
13678 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
13680 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
13681 to filter out internal nptl signals.
13682 * signal/tst-sigset.c (do_test): Check ech signal indidually and
13683 also check realtime signals using standard macros.
13684 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
13685 __is_internal_signal, __libc_signal_block_all,
13686 __libc_signal_block_app, __libc_signal_restore_set): New functions.
13687 * sysdeps/nptl/sigfillset.c: Remove file.
13688 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
13689 Change return to bool.
13690 (__clear_internal_signals): Remove SIGTIMER clean since it is
13691 equal to SIGCANEL on Linux.
13692 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
13693 signal set was constructed using standard functions.
13695 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13697 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
13698 ifname is too long.
13699 * hurd/hurdsig.c (interrupted_reply_port_location): Use
13700 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
13701 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
13703 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
13704 * signal/sigaddset.c: Include <sigsetopts.h>.
13705 * signal/sigdelset.c: Likewise.
13707 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13709 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
13711 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
13712 logic as sin and cos.
13714 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13716 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
13717 inputs. Return correct sign.
13718 (do_sincos): Remove small input check before do_sin, let do_sin set
13723 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13725 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
13726 (do_cos_slow): Likewise.
13727 (do_sin_slow): Likewise.
13728 (reduce_and_compute): Likewise.
13733 (sloww1): Likewise.
13734 (sloww2): Likewise.
13736 (bslow1): Likewise.
13737 (bslow2): Likewise.
13738 (cslow2): Likewise.
13740 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13742 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
13743 (do_cos): Remove corp parameter and calculations.
13744 (do_sin): Likewise.
13745 (do_sincos): Remove cor variable.
13746 (__sin): Use do_sincos for huge inputs.
13748 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13749 (reduce_and_compute_sincos): Remove unused function.
13751 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13753 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
13754 reduce_sincos, improve accuracy to 136 bits.
13755 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
13756 (__sin): Use improved reduction and simplified do_sincos calculation.
13758 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13760 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13762 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
13763 (do_sincos_2): Likewise.
13764 (__sin): Remove middle range reduction case.
13766 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
13769 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13771 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
13772 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
13775 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
13777 2018-04-03 Joseph Myers <joseph@codesourcery.com>
13779 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13782 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13784 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
13785 Remove definitions.
13786 (opendir_oflags): Use O_DIRECTORY regardless.
13787 (__opendir, __opendirat): Remove need_isdir_precheck usage.
13788 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
13790 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13792 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
13793 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
13795 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
13796 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
13797 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
13798 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
13799 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
13800 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
13802 * htl/Makefile: Bump licence to LGPL 2.1+.
13803 * htl/alloca_cutoff.c: Likewise.
13804 * htl/cthreads-compat.c: Likewise.
13805 * htl/lockfile.c: Likewise.
13806 * htl/pt-alloc.c: Likewise.
13807 * htl/pt-cancel.c: Likewise.
13808 * htl/pt-cleanup.c: Likewise.
13809 * htl/pt-create.c: Likewise.
13810 * htl/pt-dealloc.c: Likewise.
13811 * htl/pt-detach.c: Likewise.
13812 * htl/pt-exit.c: Likewise.
13813 * htl/pt-getattr.c: Likewise.
13814 * htl/pt-initialize.c: Likewise.
13815 * htl/pt-internal.h: Likewise.
13816 * htl/pt-join.c: Likewise.
13817 * htl/pt-self.c: Likewise.
13818 * htl/pt-setcancelstate.c: Likewise.
13819 * htl/pt-setcanceltype.c: Likewise.
13820 * htl/pt-sigmask.c: Likewise.
13821 * htl/pt-spin-inlines.c: Likewise.
13822 * htl/pt-testcancel.c: Likewise.
13823 * htl/pt-yield.c: Likewise.
13824 * htl/tests/test-1.c: Likewise.
13825 * htl/tests/test-10.c: Likewise.
13826 * htl/tests/test-11.c: Likewise.
13827 * htl/tests/test-12.c: Likewise.
13828 * htl/tests/test-13.c: Likewise.
13829 * htl/tests/test-14.c: Likewise.
13830 * htl/tests/test-15.c: Likewise.
13831 * htl/tests/test-16.c: Likewise.
13832 * htl/tests/test-17.c: Likewise.
13833 * htl/tests/test-2.c: Likewise.
13834 * htl/tests/test-3.c: Likewise.
13835 * htl/tests/test-4.c: Likewise.
13836 * htl/tests/test-5.c: Likewise.
13837 * htl/tests/test-6.c: Likewise.
13838 * htl/tests/test-7.c: Likewise.
13839 * htl/tests/test-8.c: Likewise.
13840 * htl/tests/test-9.c: Likewise.
13841 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
13842 * sysdeps/htl/bits/cancelation.h: Likewise.
13843 * sysdeps/htl/bits/pthread-np.h: Likewise.
13844 * sysdeps/htl/bits/pthread.h: Likewise.
13845 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
13846 * sysdeps/htl/bits/semaphore.h: Likewise.
13847 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
13848 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
13849 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
13850 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
13851 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
13852 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
13853 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
13854 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
13855 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
13856 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
13857 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
13858 * sysdeps/htl/old_pt-atfork.c: Likewise.
13859 * sysdeps/htl/pt-atfork.c: Likewise.
13860 * sysdeps/htl/pt-attr-destroy.c: Likewise.
13861 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
13862 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
13863 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
13864 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
13865 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
13866 * sysdeps/htl/pt-attr-getscope.c: Likewise.
13867 * sysdeps/htl/pt-attr-getstack.c: Likewise.
13868 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
13869 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
13870 * sysdeps/htl/pt-attr-init.c: Likewise.
13871 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
13872 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
13873 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
13874 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
13875 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
13876 * sysdeps/htl/pt-attr-setscope.c: Likewise.
13877 * sysdeps/htl/pt-attr-setstack.c: Likewise.
13878 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
13879 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
13880 * sysdeps/htl/pt-attr.c: Likewise.
13881 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
13882 * sysdeps/htl/pt-barrier-init.c: Likewise.
13883 * sysdeps/htl/pt-barrier-wait.c: Likewise.
13884 * sysdeps/htl/pt-barrier.c: Likewise.
13885 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
13886 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
13887 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
13888 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
13889 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
13890 * sysdeps/htl/pt-cond-destroy.c: Likewise.
13891 * sysdeps/htl/pt-cond-init.c: Likewise.
13892 * sysdeps/htl/pt-cond-signal.c: Likewise.
13893 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
13894 * sysdeps/htl/pt-cond-wait.c: Likewise.
13895 * sysdeps/htl/pt-cond.c: Likewise.
13896 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
13897 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
13898 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
13899 * sysdeps/htl/pt-condattr-init.c: Likewise.
13900 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
13901 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
13902 * sysdeps/htl/pt-destroy-specific.c: Likewise.
13903 * sysdeps/htl/pt-equal.c: Likewise.
13904 * sysdeps/htl/pt-getconcurrency.c: Likewise.
13905 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
13906 * sysdeps/htl/pt-getschedparam.c: Likewise.
13907 * sysdeps/htl/pt-getspecific.c: Likewise.
13908 * sysdeps/htl/pt-init-specific.c: Likewise.
13909 * sysdeps/htl/pt-key-create.c: Likewise.
13910 * sysdeps/htl/pt-key-delete.c: Likewise.
13911 * sysdeps/htl/pt-key.h: Likewise.
13912 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
13913 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
13914 * sysdeps/htl/pt-mutex-init.c: Likewise.
13915 * sysdeps/htl/pt-mutex-lock.c: Likewise.
13916 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
13917 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
13918 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
13919 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
13920 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
13921 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
13922 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
13923 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
13924 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
13925 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
13926 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
13927 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
13928 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
13929 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
13930 * sysdeps/htl/pt-mutexattr.c: Likewise.
13931 * sysdeps/htl/pt-once.c: Likewise.
13932 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
13933 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
13934 * sysdeps/htl/pt-rwlock-init.c: Likewise.
13935 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
13936 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
13937 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
13938 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
13939 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
13940 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
13941 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
13942 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
13943 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
13944 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
13945 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
13946 * sysdeps/htl/pt-setconcurrency.c: Likewise.
13947 * sysdeps/htl/pt-setschedparam.c: Likewise.
13948 * sysdeps/htl/pt-setschedprio.c: Likewise.
13949 * sysdeps/htl/pt-setspecific.c: Likewise.
13950 * sysdeps/htl/pt-spin.c: Likewise.
13951 * sysdeps/htl/pt-startup.c: Likewise.
13952 * sysdeps/htl/pthread.h: Likewise.
13953 * sysdeps/htl/sem-close.c: Likewise.
13954 * sysdeps/htl/sem-destroy.c: Likewise.
13955 * sysdeps/htl/sem-getvalue.c: Likewise.
13956 * sysdeps/htl/sem-init.c: Likewise.
13957 * sysdeps/htl/sem-open.c: Likewise.
13958 * sysdeps/htl/sem-post.c: Likewise.
13959 * sysdeps/htl/sem-timedwait.c: Likewise.
13960 * sysdeps/htl/sem-trywait.c: Likewise.
13961 * sysdeps/htl/sem-unlink.c: Likewise.
13962 * sysdeps/htl/sem-wait.c: Likewise.
13963 * sysdeps/hurd/htl/pt-kill.c: Likewise.
13964 * sysdeps/i386/htl/pt-machdep.h: Likewise.
13965 * sysdeps/mach/htl/pt-block.c: Likewise.
13966 * sysdeps/mach/htl/pt-spin.c: Likewise.
13967 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
13968 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
13969 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
13970 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
13971 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
13972 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
13973 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
13974 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
13975 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
13976 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
13977 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
13978 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
13979 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
13980 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
13981 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
13982 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
13983 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
13984 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
13985 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
13986 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
13987 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
13988 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
13989 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
13990 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
13991 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
13992 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
13993 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
13994 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
13995 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
13996 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
13997 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
13998 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
13999 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
14000 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
14001 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
14002 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
14003 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
14004 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
14005 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
14006 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
14007 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
14008 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
14009 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
14011 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
14012 * README: Remove the mention of out-of-tree patches needed for
14015 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
14016 (UTIME_NOW, UTIME_OMIT): Define macros.
14018 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
14019 instead of pthread_detach.
14020 (__cthread_fork): Call __pthread_create instead of pthread_create.
14021 (__cthread_keycreate): Call __pthread_key_create instead of
14022 pthread_key_create.
14023 (__cthread_getspecific): Call __pthread_getspecific instead of
14024 pthread_getspecific.
14025 (__cthread_setspecific): Call __pthread_setspecific instead of
14026 pthread_setspecific.
14027 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
14028 __pthread_mutex_unlock instead of pthread_mutex_lock and
14029 pthread_mutex_unlock.
14030 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
14031 ___pthread_get_cleanup_stack.
14032 (__pthread_get_cleanup_stack): New strong alias.
14033 * htl/pt-create.c: Include <pthreadP.h>.
14034 (entry_point): Call __pthread_exit instead of pthread_exit.
14035 (pthread_create): Rename to __pthread_create.
14036 (pthread_create): New strong alias.
14037 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
14038 (pthread_detach): New strong alias.
14039 (__pthread_detach): Call __pthread_cond_broadcast instead of
14040 pthread_cond_broadcast.
14041 * htl/pt-exit.c: Include <pthreadP.h>.
14042 (__pthread_exit): Call __pthread_setcancelstate and
14043 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
14044 __pthread_get_cleanup_stack.
14045 * htl/pt-testcancel.c: Include <pthreadP.h>.
14046 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
14047 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
14048 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
14049 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
14050 pthread_attr_getstacksize.
14051 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
14052 Rename to __pthread_attr_getstackaddr.
14053 (pthread_attr_getstackaddr): New strong alias.
14054 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
14055 Rename to __pthread_attr_getstacksize.
14056 (pthread_attr_getstacksize): New strong alias.
14057 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
14058 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
14059 (pthread_attr_setstack): New strong alias.
14060 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
14061 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
14062 pthread_attr_getstacksize, pthread_attr_setstacksize and
14063 pthread_attr_setstackaddr.
14064 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
14065 Rename to __pthread_attr_setstackaddr.
14066 (pthread_attr_setstackaddr): New strong alias.
14067 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
14068 Rename to __pthread_attr_setstacksize.
14069 (pthread_attr_setstacksize): New strong alias.
14070 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
14071 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
14073 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
14074 (__pthread_key_create): New hidden def.
14075 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
14076 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
14077 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
14078 __pthread_exit, __pthread_key_create, __pthread_getspecific,
14079 __pthread_setspecific, __pthread_setcancelstate,
14080 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
14081 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
14082 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
14084 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
14085 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
14086 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
14087 (pthread_attr_setstackaddr): New strong alias.
14088 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
14089 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
14090 (pthread_attr_setstacksize): New strong alias.
14091 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
14092 (call_exit): Call __pthread_exit instead of pthread_exit.
14093 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
14094 (_pthread_mutex_init): New hidden definition.
14095 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
14096 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
14097 instead of pthread_attr_init and pthread_attr_setstack.
14099 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
14100 __vm_deallocate instead of vm_allocate and vm_deallocate.
14101 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
14103 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
14105 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
14107 * hurd/siginfo.c: Include <libioP.h>.
14108 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
14109 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
14111 * mach/devstream.c: Include <libioP.h>.
14112 (dealloc_ref): Call __mach_port_deallocate instead of
14113 mach_port_deallocate.
14114 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
14115 Call __mach_port_deallocate instead of mach_port_deallocate.
14116 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
14118 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
14120 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
14121 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
14122 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
14124 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
14126 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
14127 instead of sysconf.
14128 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
14129 __clock_gettime instead of clock_gettime.
14130 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
14131 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
14132 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
14133 * sysdeps/unix/bsd/stty.c (stty): Likewise.
14134 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
14136 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
14137 __clock_gettime and __nanosleep instead of clock_gettime and
14139 * hurd/catch-signal.c (hurd_catch_signal): Rename to
14140 __hurd_catch_signal.
14141 (hurd_catch_signal): New strong alias.
14142 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
14143 __hurd_catch_signal instead of hurd_catch_signal.
14144 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
14145 * hurd/hurdexec.c (_hurd_init): Add hidden def.
14146 * hurd/hurdinit.c (_hurd_init): Add hidden def.
14147 * hurd/hurdsig.c: Include <mach/mig_support.h>.
14148 (_hurd_thread_sigstate): Add hidden def.
14149 (_hurd_internal_post_signal): Use __mutex_unlock instead of
14151 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
14152 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
14153 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
14154 __hurd_file_name_path_lookup.
14155 (hurd_file_name_path_lookup): New strong alias.
14156 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
14157 hurd_file_name_path_lookup.
14158 * mach/errstring.c (mach_error_type): Add hidden def.
14159 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
14160 * mach/mutex-init.c (__mutex_init): Add hidden def.
14161 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
14162 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
14163 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
14164 * sysdeps/mach/hurd/getcwd.c
14165 (_hurd_canonicalize_directory_name_internal): Rename to
14166 __hurd_canonicalize_directory_name_internal.
14167 (_hurd_canonicalize_directory_name_internal): New strong alias.
14168 (__canonicalize_directory_name_internal, __getcwd): Call
14169 __hurd_canonicalize_directory_name_internal instead of
14170 _hurd_canonicalize_directory_name_internal.
14171 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
14172 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
14174 * sysdeps/hurd/include/hurd.h: New file.
14175 * sysdeps/hurd/include/hurd/fd.h: New file.
14176 * sysdeps/hurd/include/hurd/signal.h: New file.
14177 * sysdeps/mach/include/lock-intern.h: New file.
14178 * sysdeps/mach/include/mach.h: New file.
14179 * sysdeps/mach/include/mach/mig_support.h: New file.
14180 * sysdeps/mach/include/mach_error.h: New file.
14181 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
14183 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
14184 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
14185 _HEADER_H_HIDDEN_DEF macro.
14186 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
14187 _hurd_fd_error_signal): Add hidden prototype.
14188 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
14190 * libio/iolibio.h (_IO_puts): New hidden prototype.
14191 * libio/ioputs.c (_IO_puts): New hidden def.
14192 * sysdeps/mach/hurd/localplt.data: New file.
14194 2018-04-02 Agustina Arzille <avarzille@riseup.net>
14195 Amos Jeffries <squid3@treenet.co.nz>
14196 David Michael <fedora.dm0@gmail.com>
14197 Marco Gerards <marco@gnu.org>
14198 Marcus Brinkmann <marcus@gnu.org>
14199 Neal H. Walfield <neal@gnu.org>
14200 Pino Toscano <toscano.pino@tiscali.it>
14201 Richard Braun <rbraun@sceen.net>
14202 Roland McGrath <roland@gnu.org>
14203 Samuel Thibault <samuel.thibault@ens-lyon.org>
14204 Thomas DiModica <ricinwich@yahoo.com>
14205 Thomas Schwinge <tschwinge@gnu.org>
14207 * htl: New directory.
14208 * sysdeps/htl: New directory.
14209 * sysdeps/hurd/htl: New directory.
14210 * sysdeps/i386/htl: New directory.
14211 * sysdeps/mach/htl: New directory.
14212 * sysdeps/mach/hurd/htl: New directory.
14213 * sysdeps/mach/hurd/i386/htl: New directory.
14214 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
14215 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
14216 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
14218 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14220 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
14221 signals in thread created for runing timers.
14223 2018-04-01 Florian Weimer <fweimer@redhat.com>
14225 * support/support_format_addrinfo.c (support_format_addrinfo):
14226 Include unknown error number in formatted result.
14228 2018-03-29 Florian Weimer <fweimer@redhat.com>
14230 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
14233 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14235 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
14236 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
14237 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14238 (__ASSUME_CLONE_BACKWARDS): Define.
14240 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
14243 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
14244 early when linux sentinel value is set.
14246 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14248 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
14250 2018-03-27 Andreas Schwab <schwab@suse.de>
14253 * resolv/res_send.c (__res_context_send): Return ENOMEM if
14254 allocation of private copy of nsaddr_list fails.
14256 2018-03-26 Joseph Myers <joseph@codesourcery.com>
14259 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
14260 * sysdeps/unix/sysv/linux/umount.c: ... here.
14261 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
14262 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
14263 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
14264 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
14265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
14266 * sysdeps/unix/sysv/linux/umount.S: Likewise.
14267 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
14269 2018-03-26 Andreas Schwab <schwab@suse.de>
14271 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
14272 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
14273 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
14274 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
14275 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
14276 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
14277 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
14278 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
14279 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
14280 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
14281 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
14282 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
14283 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
14284 (R_RISCV_NUM): Define.
14286 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
14288 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
14289 TLS declaration of errno.
14290 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
14292 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
14293 (ARCH_SETUP_TLS): Likewise.
14294 * sysdeps/mach/hurd/libc-start.h: New file copied from
14295 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
14296 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
14297 instead of __libc_setup_tls.
14298 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
14299 __libc_setup_tls before initializing libpthread and running _hurd_init
14300 which starts the signal thread.
14301 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
14303 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14305 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
14308 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
14309 after it is defined.
14311 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
14312 Max Horn <max@quendi.de>
14316 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
14318 * string/test-memmove.c (do_test2): New testcase.
14320 2018-03-22 Joseph Myers <joseph@codesourcery.com>
14322 * sysdeps/generic/frame.h: Remove file.
14323 * sysdeps/arm/frame.h: Likewise.
14324 * sysdeps/hppa/frame.h: Likewise.
14325 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
14327 (GET_FRAME): Likewise.
14328 (GET_STACK): Likewise.
14329 (CALL_SIGHANDLER): Likewise.
14330 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
14332 (GET_FRAME): Likewise.
14333 (GET_STACK): Likewise.
14334 (CALL_SIGHANDLER): Likewise.
14335 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
14336 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14337 (GET_FRAME): Likewise.
14338 (GET_STACK): Likewise.
14339 (CALL_SIGHANDLER): Likewise.
14340 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
14341 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14342 (GET_FRAME): Likewise.
14343 (GET_STACK): Likewise.
14344 (ADVANCE_STACK_FRAME): Likewise.
14345 (CALL_SIGHANDLER): Likewise.
14346 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
14347 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14348 (GET_FRAME): Likewise.
14349 (GET_STACK): Likewise.
14350 (CALL_SIGHANDLER): Likewise.
14351 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
14352 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14353 (GET_FRAME): Likewise.
14354 (GET_STACK): Likewise.
14355 (CALL_SIGHANDLER): Likewise.
14356 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
14357 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14358 (GET_FRAME): Likewise.
14359 (GET_STACK): Likewise.
14360 (CALL_SIGHANDLER): Likewise.
14361 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
14362 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14363 (GET_FRAME): Likewise.
14364 (GET_STACK): Likewise.
14365 (CALL_SIGHANDLER): Likewise.
14366 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
14367 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14368 (GET_FRAME): Likewise.
14369 (GET_STACK): Likewise.
14370 (CALL_SIGHANDLER): Likewise.
14371 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
14372 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14373 (GET_FRAME): Likewise.
14374 (GET_STACK): Likewise.
14375 (CALL_SIGHANDLER): Likewise.
14376 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
14377 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14378 (GET_FRAME): Likewise.
14379 (GET_STACK): Likewise.
14380 (CALL_SIGHANDLER): Likewise.
14381 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
14382 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14383 (GET_FRAME): Likewise.
14384 (GET_STACK): Likewise.
14385 (CALL_SIGHANDLER): Likewise.
14386 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
14387 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14388 (GET_FRAME): Likewise.
14389 (GET_STACK): Likewise.
14390 (CALL_SIGHANDLER): Likewise.
14391 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
14392 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14393 (FIRST_FRAME_POINTER): Likewise.
14394 (ADVANCE_STACK_FRAME): Likewise.
14395 (GET_STACK): Likewise.
14396 (GET_FRAME): Likewise.
14397 (CALL_SIGHANDLER): Likewise.
14398 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
14399 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14400 (ADVANCE_STACK_FRAME): Likewise.
14401 (GET_STACK): Likewise.
14402 (GET_FRAME): Likewise.
14403 (CALL_SIGHANDLER): Likewise.
14404 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
14405 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14406 (GET_FRAME): Likewise.
14407 (GET_STACK): Likewise.
14408 (CALL_SIGHANDLER): Likewise.
14409 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
14410 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14411 (GET_FRAME): Likewise.
14412 (GET_STACK): Likewise.
14413 (CALL_SIGHANDLER): Likewise.
14415 2018-03-21 Joseph Myers <joseph@codesourcery.com>
14417 * sysdeps/x86_64/backtrace.c: Move to ....
14418 * debug/backtrace.c: ... here.
14419 * sysdeps/aarch64/backtrace.c: Remove file.
14420 * sysdeps/alpha/backtrace.c: Likewise.
14421 * sysdeps/hppa/backtrace.c: Likewise.
14422 * sysdeps/ia64/backtrace.c: Likewise.
14423 * sysdeps/mips/backtrace.c: Likewise.
14424 * sysdeps/nios2/backtrace.c: Likewise.
14425 * sysdeps/riscv/backtrace.c: Likewise.
14426 * sysdeps/sh/backtrace.c: Likewise.
14427 * sysdeps/tile/backtrace.c: Likewise.
14429 2018-03-20 Joseph Myers <joseph@codesourcery.com>
14432 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
14435 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
14438 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
14439 possibly overflowing computations.
14441 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14443 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
14444 values from Linux-specific section now that it is in the GNU section.
14445 * sysdeps/gnu/errlist.c: Regenerate.
14447 2018-03-20 Joseph Myers <joseph@codesourcery.com>
14449 * math/Makefile (libm-narrow-fns): Add sub.
14450 (libm-test-funcs-narrow): Likewise.
14451 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
14452 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
14453 * math/gen-auto-libm-tests.c (test_functions): Add sub.
14454 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
14455 (NARROW_SUB_ROUND_TO_ODD): Likewise.
14456 (NARROW_SUB_TRIVIAL): Likewise.
14457 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
14459 (__dsubl): Likewise.
14460 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
14462 (CFLAGS-nldbl-dsub.c): New variable.
14463 (CFLAGS-nldbl-fsub.c): Likewise.
14464 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14466 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
14468 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
14469 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
14470 * math/auto-libm-test-in: Add tests of sub.
14471 * math/auto-libm-test-out-narrow-sub: New generated file.
14472 * math/libm-test-narrow-sub.inc: New file.
14473 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14474 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
14475 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
14476 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
14477 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
14478 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
14479 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
14480 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
14481 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
14482 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
14483 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
14484 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
14485 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
14486 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
14487 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
14488 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
14489 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
14490 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
14491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14492 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14493 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14494 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14495 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14496 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14497 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14498 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14499 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14500 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14501 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14502 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14503 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14504 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14509 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14510 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14511 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14512 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14513 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14514 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14515 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
14516 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
14517 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14518 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14520 2018-03-19 Joseph Myers <joseph@codesourcery.com>
14523 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
14525 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
14527 * benchtests/bench-timing.h (attribute_hidden): Undefine.
14529 2018-03-18 Richard Braun <rbraun@sceen.net>
14531 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
14534 2018-03-18 Agustina Arzille <avarzille@riseup.net>
14536 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
14537 (__libc_cleanup_fct): Define function.
14538 (__libc_cleanup_region_start, __libc_cleanup_region_end,
14539 __libc_cleanup_end): Rewrite implementation using
14540 __attribute__ ((__cleanup__)).
14541 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
14542 * hurd/Makefile (routines): Add hurdlock.
14543 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
14545 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
14546 * hurd/hurdpid.c: Include <lowlevellock.h>
14547 (_S_msg_proc_newids): Use lll_wait to synchronize.
14548 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
14549 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
14550 * mach/Makefile (lock-headers): Remove machine-lock.h.
14551 * mach/lock-intern.h: Include <lowlevellock.h> instead of
14553 (__spin_lock_t): New type.
14554 (__SPIN_LOCK_INITIALIZER): New macro.
14555 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
14556 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
14557 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
14558 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
14559 (__mutex_init): Initialize with lll.
14560 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
14561 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
14563 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14564 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
14565 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
14566 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
14567 (__setpgid): Use lll for synchronization.
14568 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
14569 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
14570 instead of <cthreads.h>.
14571 (_IO_lock_inexpensive): New macro
14572 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
14573 (__libc_lock_self0): New declaration.
14574 (__libc_lock_owner_self): New macro.
14575 (__libc_key_t): Remove type.
14576 (_LIBC_LOCK_INITIALIZER): New macro.
14577 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
14578 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
14579 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
14580 __libc_lock_define_initialized_recursive,
14581 __rtld_lock_define_initialized_recursive,
14582 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
14583 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
14584 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
14585 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
14586 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
14587 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
14588 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
14590 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
14591 * hurd/hurdlock.c: New file.
14592 * hurd/hurdlock.h: New file.
14593 * mach/lowlevellock.h: New file
14595 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14597 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
14598 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
14599 when opening a symlink with O_NOFOLLOW.
14600 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
14601 path when flags contains O_NOFOLLOW.
14602 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
14603 if flags contains O_DIRECTORY and the result is a directory.
14604 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
14605 oneself when the pointer given in D is nul (as set by ext2fs).
14606 * sysdeps/mach/hurd/mlockall.c: New file.
14607 * sysdeps/mach/hurd/munlockall.c: New file.
14609 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14611 * hurd/hurdsig.c: Include <pthread.h>.
14612 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
14613 get the signal thread stack layout.
14614 * hurd/Makefile (headers): Remove threadvar.h.
14615 (inline-headers): Remove threadvar.h.
14616 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
14617 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
14618 __hurd_threadvar_max, __hurd_errno_location.
14619 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
14620 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
14621 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
14622 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
14623 unless TLS is not initialized yet, in which case we do not need a
14624 critical section yet anyway.
14625 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
14627 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
14629 (__hurd_threadvar_index): Remove enum.
14630 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
14631 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
14633 (__hurd_reply_port0): New variable declaration.
14634 (__hurd_local_reply_port): New macro.
14635 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
14636 (interrupted_reply_port_location): Add thread_t parameter. Use it
14637 with THREAD_TCB to access thread-local variables.
14638 (_hurdsig_abort_rpcs): Pass ss->thread to
14639 interrupted_reply_port_location.
14640 (_hurd_internal_post_signal): Likewise.
14641 (_hurdsig_init): Use presence of cthread_fork instead of
14642 __hurd_threadvar_stack_mask to start signal thread by hand.
14643 Remove signal thread threadvar initialization.
14644 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
14645 * hurd/sigunwind.c: Include <hurd/threadvar.h>
14646 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
14648 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
14650 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
14651 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
14652 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
14653 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
14654 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
14655 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
14656 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
14658 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
14659 <hurd/threadvar.h>.
14660 [IS_IN(rtld)] (rtld_errno): New variable.
14661 [IS_IN(rtld)] (__errno_location): New weak function.
14662 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
14663 * sysdeps/mach/hurd/errno.c: Remove file.
14664 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
14665 (__fork): Remove THREADVAR_SPACE macro and its use.
14666 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
14668 (init): Do not initialize threadvar.
14669 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
14671 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
14672 __hurd_local_reply_port instead of threadvar.
14673 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
14674 _hurd_sigstate fields.
14675 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
14676 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
14677 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
14678 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
14679 instead of threadvar.
14680 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
14681 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
14682 (use_threadvar, global_reply_port): Remove variables.
14683 (__hurd_reply_port0): New variable.
14684 (__mig_get_reply_port): Use __hurd_local_reply_port and
14685 __hurd_reply_port0 instead of threadvar.
14686 (__mig_dealloc_reply_port): Likewise.
14687 (__mig_init): Do not initialize threadvar.
14688 * sysdeps/mach/hurd/profil.c: Fix comment.
14689 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
14690 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
14691 cthread_keycreate, cthread_getspecific, cthread_setspecific to
14692 __cthread_fork, __cthread_detach, __pthread_getattr_np,
14693 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
14694 __cthread_setspecific.
14695 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
14696 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
14697 __cthread_t instead of cthread_fork, cthread_detach,
14698 pthread_getattr_np, pthread_attr_getstack.
14699 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
14700 __cthread_keycreate.
14701 (cthread_getspecific): Rename to __cthread_getspecific.
14702 (cthread_setspecific): Rename to __cthread_setspecific.
14703 (__libc_getspecific): Use __cthread_getspecific instead of
14704 cthread_getspecific.
14705 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
14706 __cthread_keycreate instead of cthread_keycreate.
14707 (__libc_setspecific): Use __cthread_setspecific instead of
14708 cthread_setspecific.
14709 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
14711 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
14712 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
14713 testing whether it is defined.
14715 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14717 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
14719 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
14720 * sysdeps/mach/i386/thread_state.h
14721 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
14723 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
14725 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
14727 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
14728 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
14730 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
14732 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
14733 descriptor instead of creating a new one.
14734 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
14736 * mach/setup-thread.c: Include <ldsodefs.h>.
14737 (__mach_setup_thread): Call _dl_allocate_tls, pass
14738 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
14739 MACHINE_THREAD_STATE_FLAVOR, before getting
14740 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
14741 MACHINE_THREAD_STATE_FLAVOR with the result.
14742 * hurd/hurdfault.c (_hurdsig_fault_init): Call
14743 MACHINE_THREAD_STATE_FIX_NEW.
14744 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
14745 too. Add original thread parameter.
14747 2018-03-16 Joseph Myers <joseph@codesourcery.com>
14749 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
14750 Remove inline function.
14752 * sysdeps/i386/fpu/libm-test-ulps: Update.
14753 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
14755 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
14757 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
14760 2018-03-15 Joseph Myers <joseph@codesourcery.com>
14762 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
14763 (__sincos_code): Remove define and undefine.
14764 [__FAST_MATH__] (__sincos): Remove inline function.
14765 [__FAST_MATH__] (__sincosf): Remove inline function.
14766 [__FAST_MATH__] (__sincosl): Remove inline function.
14767 (__atan2l): Remove inline functions.
14768 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
14769 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
14771 (floor): Remove inline function.
14773 [__FAST_MATH__] (__ldexp_code): Remove macro.
14774 [__FAST_MATH__] (ldexp): Remove inline function.
14775 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
14776 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
14777 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
14778 [__USE_ISOC99] (__lrint_code): Remove macro.
14779 [__USE_ISOC99] (__llrint_code): Likewise.
14780 [__USE_ISOC99] (lrintf): Remove inline function.
14781 [__USE_ISOC99] (lrint): Likewise.
14782 [__USE_ISOC99] (lrintl): Likewise.
14783 [__USE_ISOC99] (llrint): Likewise.
14784 [__USE_ISOC99] (llrintf): Likewise.
14785 [__USE_ISOC99] (llrintl): Likewise.
14787 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14789 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
14790 (__ieee754_sqrtf): Remove.
14791 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
14792 (__ieee754_sqrtf): Remove.
14793 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
14794 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14795 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
14796 (__ieee754_sqrtf): Remove.
14797 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
14798 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
14801 (__ieee754_sqrt): Remove.
14802 (__ieee754_sqrtf): Remove.
14803 (__ieee754_sqrtl): Remove.
14804 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14805 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
14806 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
14807 (__ieee754_sqrtf): Remove.
14808 (__ieee754_sqrtl): Remove.
14810 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14812 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
14813 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
14814 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14815 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
14816 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
14817 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14818 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14819 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14821 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
14822 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
14823 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14824 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
14825 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
14826 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
14827 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
14828 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
14829 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
14830 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14831 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
14832 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
14833 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
14834 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
14835 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
14836 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14837 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14838 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14839 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
14840 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
14841 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14842 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14843 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
14844 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
14845 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
14846 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
14847 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14848 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14849 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
14850 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14851 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14852 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
14853 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14854 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
14855 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14856 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14857 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
14858 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
14859 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14860 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
14862 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14864 * include/math.h (sqrt): Declare with asm redirect.
14867 (sqrtf128): Likewise.
14868 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
14869 nonlib and libnldbl with -fmath-errno.
14870 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
14871 * math/w_sqrt_template.c: Likewise.
14872 * math/w_sqrtf_compat.c: Likewise.
14873 * math/w_sqrtl_compat.c: Likewise.
14874 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
14875 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
14876 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
14879 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14881 * benchtests/Makefile: Define _ISOMAC.
14882 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
14883 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
14884 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
14885 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
14886 * benchtests/bench-timing.h: Define attribute_hidden.
14888 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
14890 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
14893 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14896 * localedata/locales/cs_CZ (mon): Rename to...
14898 (mon): Import from CLDR (genitive case).
14900 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14903 * localedata/locales/el_CY (abmon): Rename to...
14904 (ab_alt_mon): This.
14905 (abmon): Import from CLDR (abbreviated genitive case).
14906 * localedata/locales/el_GR (abmon): Rename to...
14907 (ab_alt_mon): This.
14908 (abmon): Import from CLDR (abbreviated genitive case).
14910 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14913 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
14915 2018-03-15 Robert Buj <robert.buj@gmail.com>
14918 * localedata/locales/ca_ES (abmon): Rename to...
14919 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
14920 (mon): Rename to...
14922 (abmon): Import from CLDR (genitive case, month names preceded by
14925 (abday): Synchronize with CLDR.
14926 (d_t_fmt): Likewise.
14930 (LC_TIME): Improve indentation.
14931 (LC_TELEPHONE): Likewise.
14932 (LC_NAME): Likewise.
14933 (LC_ADDRESS): Likewise.
14935 2018-03-14 Joseph Myers <joseph@codesourcery.com>
14937 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
14938 (lrintf): Remove definitions used only with old GCC.
14939 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
14940 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
14941 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
14942 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
14943 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
14944 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
14945 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
14946 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
14947 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
14948 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
14949 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
14950 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
14951 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
14952 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
14953 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
14954 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
14955 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
14956 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
14957 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
14958 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
14959 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
14960 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
14961 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
14962 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
14963 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
14964 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
14965 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
14966 [__FAST_MATH__] (__M_SQRT2): Remove macro.
14968 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
14970 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
14971 instruction to unbreak builds with binutils 2.26 and older.
14973 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
14975 * sysdeps/aarch64/strncmp.S (count): New macro.
14976 (strncmp): Store misaligned length in SRC1 in COUNT.
14977 (mutual_align): Adjust.
14978 (misaligned8): Load dword at a time when it is safe.
14980 2018-03-12 Zack Weinberg <zackw@panix.com>
14984 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
14985 if the _IO_EOF_SEEN bit is already set; update commentary.
14986 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
14987 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
14989 * support/support_openpty.c, support/tty.h: New files.
14990 * support/Makefile (libsupport-routines): Add support_openpty.
14992 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
14994 * libio/Makefile (tests): Add tst-fgetc-after-eof.
14995 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
14997 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
14999 * po/pt_BR.po: Update translations.
15001 2018-03-12 David Michael <fedora.dm0@gmail.com>
15003 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
15004 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
15005 get a port to the startup server.
15007 2018-03-11 Zack Weinberg <zackw@panix.com>
15009 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
15010 before nldbl-compat.h.
15012 2018-03-10 Zack Weinberg <zackw@panix.com>
15014 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
15015 math.h or math_private.h.
15017 * sysdeps/alpha/fpu/s_isnan.c
15018 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
15019 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
15020 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
15021 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
15022 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
15023 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
15024 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
15025 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
15026 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
15027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
15028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
15029 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
15030 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
15031 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
15032 Include math_private.h.
15034 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
15035 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
15036 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
15037 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
15038 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
15039 * sysdeps/powerpc/power7/fpu/s_logb.c:
15040 Include math.h and math_private.h.
15042 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
15043 uses of $at in .set noat / .set at.
15045 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
15047 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
15048 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
15049 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
15050 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
15053 2018-03-09 Florian Weimer <fweimer@redhat.com>
15055 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
15058 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
15061 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
15062 Add nop before __startcontext, add explaining comments.
15064 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15067 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
15069 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
15070 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
15071 Do not build hardware transactional code for __SPE__.
15072 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15073 (__lll_trylock_elision): Likewise.
15074 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
15075 (__lll_unlock_elision): Likewise.
15077 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
15078 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
15079 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
15080 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
15081 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
15082 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
15083 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
15084 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
15085 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
15086 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
15087 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
15088 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
15089 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
15090 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
15091 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
15092 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
15093 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
15094 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
15095 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
15096 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
15097 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
15098 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15099 (__ASSUME_CLONE_BACKWARDS): Define.
15100 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
15101 __clone2 if __NR_clone2 is defined.
15102 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15103 (__ASSUME_CLONE_BACKWARDS): Likewise.
15104 * sysdeps/unix/sysv/linux/i386/kernel-features.h
15105 (__ASSUME_CLONE_BACKWARDS): Likewise.
15106 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15107 (__ASSUME_CLONE2): Likewise.
15108 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15109 (__ASSUME_CLONE_BACKWARDS3): Likewise.
15110 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
15111 variants and the define architecture can use.
15112 (__ASSUME_CLONE_DEFAULT): Define as default.
15113 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15114 (__ASSUME_CLONE_BACKWARDS): Likewise.
15115 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15116 (__ASSUME_CLONE_BACKWARDS): Likewise.
15117 * sysdeps/unix/sysv/linux/s390/kernel-features.h
15118 (__ASSUME_CLONE_BACKWARDS2): Likewise.
15120 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
15122 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
15124 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
15127 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
15128 (do_test_limit): Likewise.
15130 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
15131 for every implementation.
15132 (do_test): Likewise.
15134 * benchtests/bench-strncmp.c: Convert output to json.
15136 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15138 * io/futimens.c: Add missing start-of-file descriptive comment.
15139 * io/utime.c: Likewise.
15140 * misc/futimesat.c: Likewise.
15141 * misc/utimes.c: Likewise.
15142 * sysdeps/mach/hurd/futimesat.c: Likewise.
15143 * sysdeps/mach/hurd/utimes.c: Likewise.
15144 * sysdeps/posix/utime.c: Likewise.
15145 * sysdeps/posix/utimes.c: Likewise.
15146 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
15147 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15148 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
15149 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
15151 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15153 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
15155 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
15156 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
15157 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
15158 (__futimens): Move implementation to...
15159 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
15160 utime_tvalue_from_tspec): ... new helper functions.
15161 (hurd_futimens): New function.
15162 * sysdeps/mach/hurd/futimesat.c: New file.
15163 * sysdeps/mach/hurd/utimensat.c: New file.
15165 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
15167 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
15168 UTIME_OMIT): New macros.
15169 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
15170 before reverting to converting time spec to time value and calling
15172 * sysdeps/mach/hurd/utime-helper.c: New file.
15173 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
15174 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
15175 reverting to utime_tvalue_from_tval and __file_utimes.
15176 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
15177 (__lutimes): Just call hurd_futimens after lookup.
15178 * sysdeps/mach/hurd/utimes.c: Likewise.
15180 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15182 * bits/sigaction.h: Add include guard.
15183 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
15184 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
15185 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
15186 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
15187 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
15188 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
15189 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
15190 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
15191 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
15193 2018-03-05 Joseph Myers <joseph@codesourcery.com>
15195 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
15196 -Wmaybe-uninitialized for -Os.
15197 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
15200 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15202 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
15203 __INO_T_MATCHES_INO64_T is defined.
15204 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
15205 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
15207 * dirent/alphasort64.c: Likewise.
15208 * dirent/scandir.c: Likewise.
15209 * dirent/scandir64-tail.c: Likewise.
15210 * dirent/scandir64.c: Likewise.
15211 * dirent/scandirat.c: Likewise.
15212 * dirent/scandirat64.c: Likewise.
15213 * dirent/versionsort.c: Likewise.
15214 * dirent/versionsort64.c: Likewise.
15215 * include/dirent.h: Likewise.
15217 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
15218 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
15219 for socketpair endpoint.
15220 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
15221 WRITE_BUFFER_SIZE as buffer size for sending socket.
15222 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
15223 issue on system where send is implemented with sendto syscall.
15224 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
15225 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
15226 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
15227 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
15230 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
15231 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
15232 sa_restorer for vDSO case.
15233 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
15235 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15237 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
15238 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
15239 * hurd/hurd/ioctl.h: Include <mach/port.h>
15240 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
15241 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
15242 <mach/mach_types.h> and <mach/message.h>.
15243 (headers): Move mach/param.h to bits/mach/param.h.
15244 * sysdeps/mach/i386/mach/param.h: Move file to ...
15245 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
15246 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
15248 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
15249 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
15250 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
15251 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
15252 trivial, for C++ conformity.
15253 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
15254 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
15255 Process mig output through $(migheadersed).
15256 * hurd/Makefile (migheadersed): Define variable.
15257 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
15258 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
15260 * hurd/hurd.h: Include <bits/types/sigset_t.h>
15261 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
15262 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
15263 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
15264 <bits/types/sigset_t.h>.
15265 [!defined __USE_GNU]: Do not #error out.
15266 (struct hurd_sigstate): Use _NSIG instead of NSIG.
15267 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
15268 Include <stddef.h> and <bits/types/sigset_t.h>
15269 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
15270 instead of sighandler_t.
15271 * stdlib/errno.h (error_t): Move definition to...
15272 * bits/types/error_t.h: ... new header.
15273 * stdlib/Makefile (headers): Add bits/types/error_t.h.
15274 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
15275 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
15276 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
15277 * hurd/hurd.h: Include <bits/types/error_t.h>
15278 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
15279 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
15280 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
15281 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
15282 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
15283 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
15284 * sysdeps/mach/hurd/futimens.c: New file.
15286 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
15289 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
15290 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
15291 * nscd/gai.c (__nss_hosts_database): Readd definition.
15292 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
15293 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
15294 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
15296 2018-03-02 Joseph Myers <joseph@codesourcery.com>
15298 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
15299 (ifunc_one): Likewise.
15301 2018-03-01 DJ Delorie <dj@delorie.com>
15304 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
15307 2018-03-01 Maciej W. Rozycki <macro@mips.com>
15309 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
15310 `match_pid' parameter.
15311 (td_ta_thr_iter): Update accordingly.
15313 2018-03-01 Florian Weimer <fweimer@redhat.com>
15315 * nptl/Makefile (install-lib-ldscripts): Remove.
15316 (install): Remove rule.
15317 ($(inst_libdir)/libpthread.so): Likewise.
15319 2018-03-01 Mike FABIAN <mfabian@redhat.com>
15322 * localedata/locales/an_ES: update month and day names,
15323 improve d_fmt, improve postal_fmt, add country_post,
15326 2018-03-01 Mike FABIAN <mfabian@redhat.com>
15328 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
15329 Ukrainian instead of Bulgarian.
15331 2018-03-01 Florian Weimer <fweimer@redhat.com>
15333 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
15336 2018-03-01 Florian Weimer <fweimer@redhat.com>
15338 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
15339 * nptl/Makefile (routines): Add pthread_atfork.
15340 (static-only-routines): Set to pthread_atfork.
15341 (libpthread-routines): Remove pthread_atfork.
15342 (libpthread-static-only-routines): Remove.
15343 (install): Update comment.
15344 (libpthread.so): Do not install libpthread_nonshared.a.
15345 (tests): Do not link with libpthread_nonshared.a.
15346 (generated): Remove libpthread_nonshared.a.
15347 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
15348 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
15349 with libpthread_nonshared.a.
15351 2018-02-28 Joseph Myers <joseph@codesourcery.com>
15354 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
15355 (libc_feholdexcept_setroundf128): New macro.
15356 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
15359 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
15361 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
15362 * include/inttypes.h: New file.
15364 2018-02-27 Joseph Myers <joseph@codesourcery.com>
15366 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
15367 -Os in two more places.
15369 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15371 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
15372 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
15373 be sorted correctly at the moment because of a bug.
15375 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15377 [BZ #22550] - es_ES locale (and other es_* locales): collation should
15378 treat ñ as a primary different character, sync the collation
15379 for Spanish with CLDR.
15380 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
15381 * localedata/Makefile: Add new test files.
15382 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
15383 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
15385 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
15386 * localedata/am_ET.UTF-8.in: New test file.
15387 * localedata/az_AZ.UTF-8.in: Likewise.
15388 * localedata/be_BY.UTF-8.in: Likewise.
15389 * localedata/ber_DZ.UTF-8.in: Likewise.
15390 * localedata/ber_MA.UTF-8.in: Likewise.
15391 * localedata/bg_BG.UTF-8.in: Likewise.
15392 * localedata/br_FR.UTF-8.in: Likewise.
15393 * localedata/cmn_TW.UTF-8.in: Likewise.
15394 * localedata/crh_UA.UTF-8.in: Likewise.
15395 * localedata/csb_PL.UTF-8.in: Likewise.
15396 * localedata/cv_RU.UTF-8.in: Likewise.
15397 * localedata/cy_GB.UTF-8.in: Likewise.
15398 * localedata/dz_BT.UTF-8.in: Likewise.
15399 * localedata/eo.UTF-8.in: Likewise.
15400 * localedata/es_ES.UTF-8.in: Likewise.
15401 * localedata/fa_IR.UTF-8.in: Likewise.
15402 * localedata/fi_FI.UTF-8.in: Likewise.
15403 * localedata/fil_PH.UTF-8.in: Likewise.
15404 * localedata/fur_IT.UTF-8.in: Likewise.
15405 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
15406 * localedata/ha_NG.UTF-8.in: Likewise.
15407 * localedata/ig_NG.UTF-8.in: Likewise.
15408 * localedata/ik_CA.UTF-8.in: Likewise.
15409 * localedata/kk_KZ.UTF-8.in: Likewise.
15410 * localedata/ku_TR.UTF-8.in: Likewise.
15411 * localedata/ky_KG.UTF-8.in: Likewise.
15412 * localedata/ln_CD.UTF-8.in: Likewise.
15413 * localedata/mi_NZ.UTF-8.in: Likewise.
15414 * localedata/ml_IN.UTF-8.in: Likewise.
15415 * localedata/mn_MN.UTF-8.in: Likewise.
15416 * localedata/mr_IN.UTF-8.in: Likewise.
15417 * localedata/mt_MT.UTF-8.in: Likewise.
15418 * localedata/nb_NO.UTF-8.in: Likewise.
15419 * localedata/om_KE.UTF-8.in: Likewise.
15420 * localedata/os_RU.UTF-8.in: Likewise.
15421 * localedata/ps_AF.UTF-8.in: Likewise.
15422 * localedata/ro_RO.UTF-8.in: Likewise.
15423 * localedata/ru_RU.UTF-8.in: Likewise.
15424 * localedata/sc_IT.UTF-8.in: Likewise.
15425 * localedata/se_NO.UTF-8.in: Likewise.
15426 * localedata/sq_AL.UTF-8.in: Likewise.
15427 * localedata/sv_SE.UTF-8.in: Likewise.
15428 * localedata/szl_PL.UTF-8.in: Likewise.
15429 * localedata/tg_TJ.UTF-8.in: Likewise.
15430 * localedata/tk_TM.UTF-8.in: Likewise.
15431 * localedata/tt_RU.UTF-8.in: Likewise.
15432 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
15433 * localedata/ug_CN.UTF-8.in: Likewise.
15434 * localedata/uz_UZ.UTF-8.in: Likewise.
15435 * localedata/vi_VN.UTF-8.in: Likewise.
15436 * localedata/yi_US.UTF-8.in: Likewise.
15437 * localedata/yo_NG.UTF-8.in: Likewise.
15438 * localedata/zh_CN.UTF-8.in: Likewise.
15439 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
15440 file and fix bugs in the collation.
15441 * localedata/locales/az_AZ: Likewise.
15442 * localedata/locales/be_BY: Likewise.
15443 * localedata/locales/ber_DZ: Likewise.
15444 * localedata/locales/ber_MA: Likewise.
15445 * localedata/locales/bg_BG: Likewise.
15446 * localedata/locales/br_FR: Likewise.
15447 * localedata/locales/br_FR@euro: Likewise.
15448 * localedata/locales/ca_ES: Likewise.
15449 * localedata/locales/cns11643_stroke: Likewise.
15450 * localedata/locales/crh_UA: Likewise.
15451 * localedata/locales/cs_CZ: Likewise.
15452 * localedata/locales/csb_PL: Likewise.
15453 * localedata/locales/cv_RU: Likewise.
15454 * localedata/locales/cy_GB: Likewise.
15455 * localedata/locales/da_DK: Likewise.
15456 * localedata/locales/dz_BT: Likewise.
15457 * localedata/locales/en_CA: Likewise.
15458 * localedata/locales/eo: Likewise.
15459 * localedata/locales/es_CU: Likewise.
15460 * localedata/locales/es_EC: Likewise.
15461 * localedata/locales/es_ES: Likewise.
15462 * localedata/locales/es_US: Likewise.
15463 * localedata/locales/et_EE: Likewise.
15464 * localedata/locales/fa_IR: Likewise.
15465 * localedata/locales/fi_FI: Likewise.
15466 * localedata/locales/fil_PH: Likewise.
15467 * localedata/locales/fur_IT: Likewise.
15468 * localedata/locales/gez_ER@abegede: Likewise.
15469 * localedata/locales/ha_NG: Likewise.
15470 * localedata/locales/hr_HR: Likewise.
15471 * localedata/locales/hsb_DE: Likewise.
15472 * localedata/locales/hu_HU: Likewise.
15473 * localedata/locales/ig_NG: Likewise.
15474 * localedata/locales/ik_CA: Likewise.
15475 * localedata/locales/is_IS: Likewise.
15476 * localedata/locales/iso14651_t1_pinyin: Likewise.
15477 * localedata/locales/kk_KZ: Likewise.
15478 * localedata/locales/ku_TR: Likewise.
15479 * localedata/locales/ky_KG: Likewise.
15480 * localedata/locales/ln_CD: Likewise.
15481 * localedata/locales/lt_LT: Likewise.
15482 * localedata/locales/lv_LV: Likewise.
15483 * localedata/locales/mi_NZ: Likewise.
15484 * localedata/locales/ml_IN: Likewise.
15485 * localedata/locales/mn_MN: Likewise.
15486 * localedata/locales/mr_IN: Likewise.
15487 * localedata/locales/mt_MT: Likewise.
15488 * localedata/locales/nb_NO: Likewise.
15489 * localedata/locales/om_KE: Likewise.
15490 * localedata/locales/os_RU: Likewise.
15491 * localedata/locales/pl_PL: Likewise.
15492 * localedata/locales/ps_AF: Likewise.
15493 * localedata/locales/ro_RO: Likewise.
15494 * localedata/locales/ru_RU: Likewise.
15495 * localedata/locales/ru_UA: Likewise.
15496 * localedata/locales/sc_IT: Likewise.
15497 * localedata/locales/se_NO: Likewise.
15498 * localedata/locales/si_LK: Likewise.
15499 * localedata/locales/sq_AL: Likewise.
15500 * localedata/locales/sv_FI: Likewise.
15501 * localedata/locales/sv_FI@euro: Likewise.
15502 * localedata/locales/sv_SE: Likewise.
15503 * localedata/locales/szl_PL: Likewise.
15504 * localedata/locales/tg_TJ: Likewise.
15505 * localedata/locales/ti_ER: Likewise.
15506 * localedata/locales/tk_TM: Likewise.
15507 * localedata/locales/tl_PH: Likewise.
15508 * localedata/locales/tr_TR: Likewise.
15509 * localedata/locales/tt_RU: Likewise.
15510 * localedata/locales/tt_RU@iqtelif: Likewise.
15511 * localedata/locales/ug_CN: Likewise.
15512 * localedata/locales/uk_UA: Likewise.
15513 * localedata/locales/uz_UZ: Likewise.
15514 * localedata/locales/uz_UZ@cyrillic: Likewise.
15515 * localedata/locales/vi_VN: Likewise.
15516 * localedata/locales/yi_US: Likewise.
15517 * localedata/locales/yo_NG: Likewise.
15519 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15521 * gen-locales.mk: Make test files which contain @ modifiers in their
15523 * localedata/gen-locale.sh: Likewise.
15525 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15527 * posix/tst-fnmatch.input: Fix results for range expressions
15529 * posix/tst-regexloc.c: Do not use a range expression for
15530 de_DE.ISO-8859-1 locale.
15532 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15534 * posix/bug-regex5.c: Fix test case because with the new
15535 iso14651_t1_common file, the da_DK locale now has 6 collating elements
15536 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
15539 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15541 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
15542 downloaded from ISO, the collation order of @-. and space has changed.
15543 Therefore, this test file needed to be adapted.
15544 * localedata/fr_CA.UTF-8.in: Likewise.
15545 * localedata/fr_FR.UTF-8.in: Likewise.
15546 * localedata/uk_UA.UTF-8.in: Likewise.
15548 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15550 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
15551 order of ȥ in the new iso14651_t1_common file.
15552 * localedata/pl_PL.UTF-8.in: Likewise.
15554 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15556 * localedata/locales/iso14651_t1_common: Add sections for various
15557 scripts to the iso14651_t1_common file.
15559 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15561 * localedata/locales/iso14651_t1_common: Use the code point of a
15562 character in the fourth collation level instead of IGNORE for all
15563 entries which have IGNORE on all 4 levels.
15565 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15567 * localedata/locales/iso14651_t1_common: Add some convenient collation
15568 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
15569 rules similar to those in CLDR.
15571 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15573 * localedata/locales/iso14651_t1_common: The new version of this
15574 file downloaded from ISO contained several syntax errors which
15575 are fixed by this patch.
15577 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15579 * localedata/locales/iso14651_t1_common: replace all <U.....>
15580 with <U000.....> because glibc understands only 4 digit or 8 digit
15582 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15584 * localedata/locales/iso14651_t1_common: Necessary changes
15585 to make the file downloaded from ISO usable by glibc.
15587 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15590 * localedata/locales/iso14651_t1_common: Update file to
15591 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
15593 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15595 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
15596 of <nptl/pthreadP.h>
15597 (thread_attr_compare): Move function to...
15598 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
15599 * sysdeps/nptl/timer_routines.h: ... new header.
15600 * sysdeps/mach/hurd/gai_misc.h: New file.
15602 2018-02-26 Joseph Myers <joseph@codesourcery.com>
15604 * string/strcoll_l.c: Include <libc-diag.h>.
15605 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
15606 declarations of seq1 and seq2.
15609 * stdlib/atoi.c (atoi): Use libc_hidden_def.
15610 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
15612 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
15616 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
15617 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
15618 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
15619 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
15620 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
15621 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
15623 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15625 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
15626 macros used in __ptrace_request.
15628 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
15631 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
15633 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
15634 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
15635 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
15638 2018-02-23 Joseph Myers <joseph@codesourcery.com>
15641 * ctype/ctype.c (tolower): Use libc_hidden_def.
15642 (toupper): Likewise.
15643 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
15644 [!_ISOMAC] (toupper): Likewise.
15646 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15648 * localedata/Makefile: Remove --quiet argument when
15651 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15654 * localedata/locales/pt_BR (LC_TIME): use / instead of -
15656 * localedata/locales/pt_PT (LC_TIME): likewise
15658 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15661 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
15662 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
15663 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
15665 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15667 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15669 * nptl/Makefile (routines): Remove unregister-atfork.
15670 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
15671 (fork_handler_alloc): Remove function.
15672 (fork_handlers, fork_handler_init): New variables.
15673 (__fork_lock): Rename to atfork_lock.
15674 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
15675 to use a dynamic array to add/remove atfork handlers.
15676 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15677 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
15678 Remove declaration.
15679 (fork_handler): Remove next, refcntr, and need_signal member.
15680 (__run_fork_handler_type): New enum.
15681 (__run_fork_handlers): New prototype.
15682 * nptl/register-atfork.c: Remove file.
15683 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
15685 * sysdeps/nptl/nptl-signals.h: Move to ...
15686 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
15688 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
15689 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
15690 unnecessary check for SIGTIMER.
15691 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
15692 remove unnecessary removal of SIGTIMER.
15693 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
15694 include-signals.h rename.
15695 * nptl/pthreadP.h: Likewise.
15696 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
15697 __is_internal_signal instead of __nptl_is_internal_signal.
15699 2018-02-22 Andrew Waterman <andrew@sifive.com>
15702 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
15703 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
15704 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
15705 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
15707 2018-02-22 DJ Delorie <dj@delorie.com>
15709 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
15711 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
15713 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
15714 do_misaligned, not misaligned8.
15716 2018-02-22 Steve Ellcey <sellcey@cavium.com>
15718 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
15719 Add memcpy_thunderx2.
15720 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
15722 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
15723 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
15724 and IS_THUNDERX2PA checks.
15725 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
15726 Use macro to set name appropriately.
15727 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
15728 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
15729 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
15731 (IS_THUNDERX2): New macro.
15733 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
15735 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15737 2018-02-21 Zack Weinberg <zackw@panix.com>
15739 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
15740 Define here, unconditionally.
15741 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
15742 * libio/libioP.h: Remove #if 0 blocks.
15743 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
15744 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
15745 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
15747 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
15748 Assume weak_alias is always defined.
15750 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
15751 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
15752 Remove #if 0 and #ifdef TODO blocks.
15753 Assume text_set_element is always defined.
15755 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
15756 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
15757 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
15759 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
15760 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
15761 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
15762 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
15763 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
15764 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
15765 Reformat bit flags for _flags field to make occupancy clearer.
15767 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
15768 Keep definitions consistent with those in libio/libio.h.
15770 * libio/libio.h (_IO_file_flags): Remove macro.
15771 All uses changed to _flags.
15773 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
15774 (__HAVE_COLUMN, _IO_BE): Don't define.
15775 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
15776 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
15777 * libio/libioP.h (EOF): Don't define.
15778 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
15779 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
15780 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
15781 testing _IO_UNIFIED_JUMPTABLES.
15783 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
15784 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
15785 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
15786 (_IO_size_t): Delete; all uses changed to size_t.
15787 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
15788 (_IO_off_t): Delete; all uses changed to off_t.
15789 (_IO_off64_t): Delete; all uses changed to off64_t.
15790 (_IO_pid_t): Delete; all uses changed to pid_t.
15791 (_IO_uid_t): Delete; all uses changed to uid_t.
15792 (_IO_wint_t): Delete; all uses changed to wint_t.
15793 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
15794 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
15795 (_IO_cookie_io_functions_t): Delete; all uses changed to
15796 cookie_io_functions_t.
15797 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
15798 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
15799 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
15800 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
15802 * libio/iofopncook.c: Remove unnecessary forward declarations.
15803 * libio/iolibio.h: Correct outdated commentary.
15804 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
15805 * stdio-common/fxprintf.c (__fxprintf_nocancel):
15806 Remove unnecessary casts.
15807 * stdio-common/getline.c: Use _IO_getdelim directly.
15808 Don't redefine ssize_t.
15809 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
15810 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
15811 Remove outdated comments.
15812 * stdio-common/vfscanf.c: Don't redefine va_list.
15814 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
15815 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
15816 Remove preprocessor conditionals on _LIBC and __USE_GNU,
15817 which are always true, and __cplusplus, which is always false.
15819 2018-02-21 Joseph Myers <joseph@codesourcery.com>
15823 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
15824 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
15825 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
15826 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
15828 [!_ISOMAC] (putc_unlocked): Likewise.
15829 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
15830 define inline if [__USE_EXTERN_INLINES].
15831 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
15836 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
15837 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
15838 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
15839 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
15840 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
15842 * time/tzfile.c (__tzfile_read): Likewise.
15844 2018-02-21 Mike FABIAN <mfabian@redhat.com>
15847 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
15849 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
15851 * io/fcntl.h: Fix a typo in a comment.
15853 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
15856 * include/features.h: Add _ISOC11_SOURCE to test for whether to
15857 define _DEFAULT_SOURCE.
15858 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
15860 2018-02-21 Florian Weimer <fweimer@redhat.com>
15863 * elf/cache.c (save_cache): Call fsync on temporary file before
15865 (save_aux_cache): Call fdatasync on temporary file before renaming
15868 2018-02-21 Florian Weimer <fweimer@redhat.com>
15871 * include/caller.h: Remove file.
15872 * elf/dl-caller.c: Likewise.
15873 * elf/Makefile (dl-routines): Remove dl-caller.
15874 (shared-only-routines): Do not add dl-caller.
15875 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
15877 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
15879 (dl_open_worker): Do not call __check_caller.
15880 (_dl_open): Do not set caller_dl_open member.
15881 * elf/rtld.c (_rtld_global_ro): Do not initialize
15882 _dl_check_caller member.
15883 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
15884 _dl_check_caller member.
15885 (_dl_check_caller): Remove declaration.
15886 * sysdeps/unix/sysv/linux/dl-execstack.c
15887 (_dl_make_stack_executable): Do not call __check_caller.
15889 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
15891 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
15892 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
15894 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
15896 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
15899 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
15902 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
15903 of 199606L, 200112L, and 200809L.
15904 (_XOPEN_SOURCE): Document special values of 600 and 700.
15905 (_ISOC11_SOURCE): Document macro.
15906 (_ATFILE_SOURCE): Likewise.
15907 (_FORTIFY_SOURCE): Likewise.
15909 2018-02-19 Joseph Myers <joseph@codesourcery.com>
15913 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
15914 and define as weak alias of __ferror_unlocked. Use
15916 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
15918 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
15919 function if [__USE_EXTERN_INLINES].
15920 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
15923 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
15926 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
15928 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
15931 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
15932 the GLIBC_2.1 version.
15934 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
15937 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
15938 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
15939 intl/tst-gettext-de.po from po/de.po by removing the
15940 POT-Creation-Date line.
15941 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
15943 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
15946 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
15948 * mach/Makefile (headers): Add mach/param.h.
15949 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
15950 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
15951 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
15952 (__ptsname_r): Move implementation to...
15953 (__ptsname_internal): ... new function. Add filling the STP
15956 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
15958 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
15961 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
15963 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
15966 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15968 * nptl/Makefile (tst-mutex8-ENV): Delete.
15969 * nptl/tst-mutex8.c (check_type):
15970 Add runtime check if mutex will be elided.
15972 2018-02-15 Joseph Myers <joseph@codesourcery.com>
15976 * manual/install.texi (Configuring and compiling): Describe
15977 passing CC and CFLAGS on configure command line, not as
15978 environment variables. Use @code markup on those variables.
15979 Specify what options go in CC and what go in CFLAGS. Note the
15980 requirement to compile with optimization.
15981 * INSTALL: Regenerated.
15984 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
15985 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
15986 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
15987 __sigprocmask instead of sigprocmask.
15988 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
15990 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
15991 __sigsetjmp and sigprocmask.
15994 * include/argz.h (argz_next): Use libc_hidden_proto.
15995 (__argz_next): Likewise.
15996 * string-argz-next.c (__argz_next): Use libc_hidden_def.
15997 (argz_next): Use libc_hidden_weak.
16000 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
16002 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
16006 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
16008 * libio/iofputs.c (fputs): Use libc_hidden_weak.
16012 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
16013 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
16014 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
16015 (__feof_unlocked): New declaration, and inline function if
16016 [__USE_EXTERN_INLINES].
16017 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
16018 instead of feof_unlocked.
16019 * intl/localealias.c [_LIBC] (FEOF): Likewise.
16020 * nss/nsswitch.c (nss_parse_file): Likewise.
16021 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
16023 * time/getdate.c (__getdate_r): Likewise.
16024 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
16025 Define as macro to call __feof_unlocked.
16027 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16029 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
16031 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16033 * math/Makefile: Remove mpexp.c and mplog.c
16034 * sysdeps/i386/fpu/mpexp.c: Delete file.
16035 * sysdeps/i386/fpu/mplog.c: Likewise.
16036 * sysdeps/ia64/fpu/mpexp.c: Likewise.
16037 * sysdeps/ia64/fpu/mplog.c: Likewise.
16038 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
16039 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
16040 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
16041 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16042 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
16043 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
16044 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
16045 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
16046 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
16047 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16048 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
16049 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
16050 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16051 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
16052 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
16053 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16055 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
16057 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16059 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16061 * sysdeps/sh/libm-test-ulps: Update.
16063 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16065 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
16068 2018-02-12 Zack Weinberg <zackw@panix.com>
16071 * posix/sys/types.h: Don't include sys/sysmacros.h.
16072 * misc/sys/sysmacros.h: Remove the conditional deprecation
16073 warnings for the macros defined by this header.
16075 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16077 * manual/probes.texi: Remove slowexp probes.
16078 * math/Makefile: Remove slowexp.
16079 * sysdeps/generic/math_private.h (__slowexp): Remove.
16080 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
16081 document error bounds.
16082 * sysdeps/i386/fpu/slowexp.c: Remove.
16083 * sysdeps/ia64/fpu/slowexp.c: Remove.
16084 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
16085 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
16086 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
16087 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
16088 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
16089 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
16090 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
16091 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
16092 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
16093 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
16094 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
16096 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
16099 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
16100 * benchtests/pow-inputs: Update comment for slow path cases.
16101 * manual/probes.texi (slowpow_p10): Delete removed probe.
16102 (slowpow_p10): Likewise.
16103 * math/Makefile: Remove halfulp.c and slowpow.c.
16104 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
16105 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
16106 (__halfulp): Remove.
16107 (__slowpow): Remove.
16108 * sysdeps/i386/fpu/halfulp.c: Delete file.
16109 * sysdeps/i386/fpu/slowpow.c: Likewise.
16110 * sysdeps/ia64/fpu/halfulp.c: Likewise.
16111 * sysdeps/ia64/fpu/slowpow.c: Likewise.
16112 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
16113 improve comments and add error analysis.
16114 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
16115 (power1): Remove function:
16116 (log1): Remove error argument, add error analysis.
16117 (my_log2): Remove function.
16118 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
16119 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16120 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
16121 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
16122 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
16123 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
16124 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
16125 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
16126 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
16127 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
16128 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
16129 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16130 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
16131 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16133 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
16135 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
16136 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
16138 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
16141 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
16142 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
16143 and PTRACE_SETHBPREGS.
16145 2018-02-10 Zack Weinberg <zackw@panix.com>
16148 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
16150 * malloc/tst-malloc-stats-cancellation.c: New test case.
16151 * malloc/Makefile: Add new test case.
16153 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
16155 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
16157 2018-02-10 Joseph Myers <joseph@codesourcery.com>
16159 * math/Makefile (libm-narrow-fns): Add add.
16160 (libm-test-funcs-narrow): Likewise.
16161 * math/Versions (GLIBC_2.28): Add narrowing add functions.
16162 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
16163 * math/gen-auto-libm-tests.c (test_functions): Add add.
16164 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
16165 (NARROW_ADD_ROUND_TO_ODD): Likewise.
16166 (NARROW_ADD_TRIVIAL): Likewise.
16167 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
16169 (__daddl): Likewise.
16170 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
16172 (CFLAGS-nldbl-dadd.c): New variable.
16173 (CFLAGS-nldbl-fadd.c): Likewise.
16174 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16176 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
16178 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
16179 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
16180 * math/auto-libm-test-in: Add tests of add.
16181 * math/auto-libm-test-out-narrow-add: New generated file.
16182 * math/libm-test-narrow-add.inc: New file.
16183 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
16184 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
16185 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
16186 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
16187 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
16188 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
16189 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
16190 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
16191 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
16192 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
16193 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
16194 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
16195 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
16196 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
16197 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
16198 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
16199 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
16200 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
16201 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16202 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16203 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16204 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16205 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16206 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16207 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16208 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16209 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16210 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16211 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16212 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16213 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16214 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16219 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16220 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16221 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16222 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16223 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16224 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16225 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16226 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16227 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16228 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16230 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
16231 (f128-pairs): New variable.
16232 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
16233 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
16235 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
16236 Also make tests add $(f128-loader-link) to gnulib-tests.
16238 2018-02-09 DJ Delorie <dj@redhat.com>
16241 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
16242 64-bit ELF type for 64-bit ELF objects.
16244 2018-02-09 Joseph Myers <joseph@codesourcery.com>
16246 * math/libm-test-driver.c (snan_tests_arg): New variable.
16247 * math/libm-test-support.h (snan_tests_arg): New declaration.
16248 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
16250 * math/Makefile (test-type-pairs): New variable.
16251 (test-type-pairs-f64xf128-yes): Likewise.
16252 (tests): Add test-narrow-macros.
16253 (libm-test-funcs-narrow): New variable.
16254 (libm-test-c-narrow): Likewise.
16255 (generated): Add $(libm-test-c-narrow).
16256 (libm-tests-base-narrow): New variable.
16257 (libm-tests-narrow): Likewise.
16258 (libm-tests): Add $(libm-tests-narrow).
16259 (libm-tests-for-type): Handle $(libm-tests-narrow).
16260 (libm-test-c-narrow-obj): New variable.
16261 ($(libm-test-c-narrow-obj)): New rule.
16262 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
16263 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
16264 $(o-iterator) to set dependencies and CFLAGS.
16265 * math/gen-auto-libm-tests.c: Document use for narrowing
16267 (output_for_one_input_case): Take argument NARROW.
16268 (generate_output): Likewise. Update call to
16269 output_for_one_input_case.
16270 (main): Take --narrow option. Update call to generate_output.
16271 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
16272 (apply_lit): Update call to _apply_lit.
16273 (apply_arglit): New function.
16274 (parse_args): Handle "a" arguments.
16275 (parse_auto_input): Handle format names using ":".
16276 * math/README.libm-test: Document "a" parameter type.
16277 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
16278 (ARG_TYPE_TRUE_MIN): Likewise.
16279 (ARG_TYPE_MAX): Likwise.
16280 (ARG_MIN_EXP): Likewise.
16281 (ARG_MAX_EXP): Likewise.
16282 (ARG_MANT_DIG): Likewise.
16283 (TEST_COND_arg_ibm128): Likewise.
16284 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
16285 (TEST_COND_arg_fmt): New macro.
16286 (init_max_error): Update prototype.
16287 * math/libm-test-support.c (test_ibm128): New variable.
16288 (init_max_error): Take argument testing_ibm128 and set test_ibm128
16289 instead of using [TEST_COND_ibm128] conditional.
16290 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
16291 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
16292 [TEST_NARROW] (TEST_MSG): New definition.
16293 (arg_plus_zero): New macro.
16294 (arg_minus_zero): Likewise.
16295 (arg_plus_infty): Likewise.
16296 (arg_minus_infty): Likewise.
16297 (arg_qnan_value_pl): Likewise.
16298 (arg_qnan_value): Likewise.
16299 (arg_snan_value_pl): Likewise.
16300 (arg_snan_value): Likewise.
16301 (arg_max_value): Likewise.
16302 (arg_min_value): Likewise.
16303 (arg_min_subnorm_value): Likewise.
16304 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
16305 (RUN_TEST_LOOP_aa_f): New macro.
16306 (TEST_SUFF): New macro.
16307 (TEST_SUFF_STR): Likewise.
16308 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
16309 (TEST_COND_any_ibm128): New macro.
16310 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
16311 this_func. Update call to init_max_error.
16312 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
16313 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
16314 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
16315 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
16316 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
16317 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
16318 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
16319 * math/test-math-scalar.h (TEST_NARROW): Likewise.
16320 * math/test-math-vector.h (TEST_NARROW): Likewise.
16321 * math/test-arg-double.h: New file.
16322 * math/test-arg-float128.h: Likewise.
16323 * math/test-arg-float32x.h: Likewise.
16324 * math/test-arg-float64.h: Likewise.
16325 * math/test-arg-float64x.h: Likewise.
16326 * math/test-arg-ldouble.h: Likewise.
16327 * math/test-math-narrow.h: Likewise.
16328 * math/test-narrow-macros.c: Likewise.
16329 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
16330 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
16331 test-narrow-macros-ldbl-64.
16332 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
16334 * math/bits/mathcalls-narrow.h: New file.
16335 * include/bits/mathcalls-narrow.h: Likewise.
16336 * math/math-narrow.h: Likewise.
16337 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
16338 (__MATHCALL_NARROW_ARGS_2): Likewise.
16339 (__MATHCALL_NARROW_ARGS_3): Likewise.
16340 (__MATHCALL_NARROW_NORMAL): Likewise.
16341 (__MATHCALL_NARROW_REDIR): Likewise.
16342 (__MATHCALL_NARROW): Likewise.
16343 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
16344 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
16346 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
16347 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
16348 (libm-narrow-fns): New variable.
16349 (libm-narrow-types-basic): Likewise.
16350 (libm-narrow-types-ldouble-yes): Likewise.
16351 (libm-narrow-types-float128-yes): Likewise.
16352 (libm-narrow-types-float128-alias-yes): Likewise.
16353 (libm-narrow-types): Likewise.
16354 (libm-routines): Add narrowing functions.
16355 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
16356 (libc_feholdexcept_setroundf128): New macro.
16357 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
16358 * sysdeps/ieee754/float128/float128_private.h: Include
16359 <math/math-narrow.h>.
16360 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
16361 Undefine and redefine.
16362 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
16363 (libm_alias_float_ldouble): Undefine and redefine.
16364 (libm_alias_double_ldouble): Likewise.
16366 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
16368 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
16370 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
16373 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
16375 * manual/creature.texi: Convert references to gcc.info to gcc.
16376 * manual/stdio.texi: Likewise.
16377 * manual/string.texi: Likewise.
16379 2018-02-07 Joseph Myers <joseph@codesourcery.com>
16382 * posix/bits/types.h (__int_least8_t): New typedef.
16383 (__uint_least8_t): Likewise.
16384 (__int_least16_t): Likewise.
16385 (__uint_least16_t): Likewise.
16386 (__int_least32_t): Likewise.
16387 (__uint_least32_t): Likewise.
16388 (__int_least64_t): Likewise.
16389 (__uint_least64_t): Likewise.
16390 * sysdeps/generic/stdint.h (int_least8_t): Define using
16392 (int_least16_t): Define using __int_least16_t.
16393 (int_least32_t): Define using __int_least32_t.
16394 (int_least64_t): Define using __int_least64_t.
16395 (uint_least8_t): Define using __uint_least8_t.
16396 (uint_least16_t): Define using __uint_least16_t.
16397 (uint_least32_t): Define using __uint_least32_t.
16398 (uint_least64_t): Define using __uint_least64_t.
16399 * wcsmbs/uchar.h: Include <bits/types.h>.
16400 (char16_t): Define using __uint_least16_t conditional only on
16402 (char32_t): Define using __uint_least32_t conditional only on
16404 * wcsmbs/test-char-types.c: New file.
16405 * wcsmbs/Makefile (tests): Add test-char-types.
16407 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
16410 2018-02-07 Zack Weinberg <zackw@panix.com>
16412 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
16413 Delete all contents except for definitions of _G_HAVE_MMAP and
16414 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
16415 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
16416 sysdeps/unix/sysv/linux/_G_config.h. Make same content
16419 * libio/libio.h: Don't include bits/_G_config.h here.
16420 Include stddef.h with __need_wchar_t defined. Include
16421 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
16422 Define _IO_iconv_t here, directly.
16423 Don't define _IO_HAVE_ST_BLKSIZE.
16424 * libio/libioP.h: Include _G_config.h here. Move include of
16425 shlib-compat.h up with rest of includes. Simplify conditionals
16426 controlling definition of _IO_JUMPS_OFFSET.
16428 * csu/init.c: Remove always-true #if around entire file.
16429 Don't include stdio.h. Set _IO_stdin_used to hardwired
16430 constant 0x20001, and update commentary.
16431 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
16432 Replace all uses of _G_va_list with __gnuc_va_list.
16433 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
16434 instead of #if _IO_HAVE_ST_BLKSIZE.
16435 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
16436 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
16439 * libio/bits/libio.h: Move back to libio/libio.h and adjust
16440 multiple-include guard to match.
16441 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
16443 Remove preprocessor conditionals that are always true and/or
16444 redundant to other preprocessor conditionals in the same nest.
16445 Include shlib-compat.h unconditionally.
16446 Error out if _LIBC is not defined, or if _ISOMAC is defined,
16447 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
16448 defined after including stdio.h.
16449 Use __BEGIN_DECLS/__END_DECLS.
16451 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
16452 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
16453 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
16455 2018-02-07 Zack Weinberg <zackw@panix.com>
16457 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
16458 New single-type headers split from _G_config.h.
16459 * libio/bits/types/cookie_io_functions_t.h
16460 * libio/bits/types/struct_FILE.h
16461 New single-type headers split from libio.h.
16463 * libio/Makefile: Install the above new headers. Don't install
16464 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
16466 * libio/_G_config.h, libio/libio.h: Delete file.
16468 * libio/bits/libio.h: Remove improper-inclusion guard.
16469 Include stdio.h and don't repeat anything that it does.
16470 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
16471 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
16472 __io_read_fn as cookie_read_function_t,
16473 __io_write_fn as cookie_write_function_t,
16474 __io_seek_fn as cookie_seek_function_t,
16475 __io_close_fn as cookie_close_function_t,
16476 and _IO_cookie_io_functions_t as cookie_io_functions_t.
16477 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
16478 here, in the "compatibility defines" section. Remove an #if 0
16479 block. Use the "body" macros from bits/types/struct_FILE.h to
16480 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
16481 and _IO_ferror_unlocked.
16482 Move prototypes of __uflow and __overflow...
16484 * libio/stdio.h: ...here. Don't include bits/libio.h.
16485 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
16486 directly from stdarg.h. Include bits/types/__fpos_t.h,
16487 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
16488 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
16489 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
16490 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
16491 cookie_io_functions_t, not _IO_cookie_io_functions_t;
16492 __ssize_t, not _IO_ssize_t. Unconditionally define
16493 BUFSIZ as 8192 and EOF as (-1).
16495 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
16496 macros from bits/types/struct_FILE.h instead of _IO_* macros
16497 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
16498 instead of _IO_ssize_t.
16499 * libio/bits/stdio2.h: Similarly.
16501 * libio/iolibio.h: Add multiple-include guard.
16502 Include bits/libio.h after stdio.h.
16503 * libio/libioP.h: Add multiple-include guard.
16504 Include stdio.h and bits/libio.h before iolibio.h.
16506 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
16507 * include/bits/types/cookie_io_functions_t.h
16508 * include/bits/types/struct_FILE.h: New wrappers.
16510 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
16511 Get definitions of _G_fpos_t and _G_fpos64_t from
16512 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
16513 respectively. Remove improper-inclusion guards.
16515 * conform/data/stdio.h-data: Update expectations of va_list.
16516 * scripts/check-installed-headers.sh: Remove special case for
16517 libio.h and _G_config.h.
16519 2018-02-07 Joseph Myers <joseph@codesourcery.com>
16523 * include/sys/sysmacros.h [!_ISOMAC]
16524 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
16525 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
16526 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
16527 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
16529 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
16530 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
16532 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
16533 Undefine and redefine to add use __gnu_dev_ prefix.
16534 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
16536 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
16537 and define as hidden inline function.
16538 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
16540 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
16542 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
16543 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
16544 (gnu_dev_minor): Likewise.
16545 (gnu_dev_makedev): Likewise.
16546 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
16548 * posix/wordexp.c (exec_comm_child): Likewise.
16549 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
16550 instead of minor and __gnu_dev_major instead of major.
16551 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
16552 __gnu_dev_major instead of major.
16553 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
16554 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
16555 instead of gnu_dev_minor.
16556 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
16557 (SLAVE_P): Likewise.
16558 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
16559 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
16563 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
16565 * locale/weightwc.h (findidx): Likewise.
16567 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
16569 * manual/probes.texi (slowlog): Delete documentation of removed probe.
16570 (slowlog_inexact): Likewise
16571 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
16572 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
16574 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
16577 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
16578 missing second underscore to parameter name.
16580 2018-02-06 Joseph Myers <joseph@codesourcery.com>
16586 * bits/byteswap.h: Update file comment. Do not include
16587 <bits/byteswap-16.h>.
16588 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
16590 (__bswap_16): Define as inline function.
16591 (__bswap_constant_32): Reformat definition.
16592 (__bswap_32): Always define as inline function, not macro, using
16593 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
16594 otherwise __bswap_constant_32.
16595 (__bswap_constant_64): Reformat definition. Do not use
16596 __extension__ here.
16597 (__bswap_64): Always define as inline function, not macro. Use
16598 __extension__ on function definition. Use __builtin_bswap64 if
16599 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
16600 * string/test-endian-file-scope.c: New file.
16601 * string/test-endian-sign-conversion.c: Likewise.
16602 * string/Makefile (headers): Remove bits/byteswap-16.h.
16603 (tests): Add test-endian-file-scope and
16604 test-endian-sign-conversion.
16605 (CFLAGS-test-endian-sign-conversion.c): New variable.
16606 * bits/byteswap-16.h: Remove file.
16607 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
16608 * sysdeps/ia64/bits/byteswap.h: Likewise.
16609 * sysdeps/m68k/bits/byteswap.h: Likewise.
16610 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16611 * sysdeps/s390/bits/byteswap.h: Likewise.
16612 * sysdeps/tile/bits/byteswap.h: Likewise.
16613 * sysdeps/x86/bits/byteswap-16.h: Likewise.
16614 * sysdeps/x86/bits/byteswap.h: Likewise.
16617 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
16618 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
16619 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
16620 199901L] (__restrict): Define to restrict.
16623 * string/testcopy.c: Include <support/support.h>. Do not include
16624 <malloc.h>. Use <support/test-driver.c>.
16625 (main): Rename to do_test. Make static. Use xmalloc instead of
16629 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
16630 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
16631 (SSIZE_MAX): Define to INT_MAX.
16632 * posix/test-ssize-max.c: New file.
16633 * posix/Makefile (tests): Add test-ssize-max.
16636 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
16637 <support/support.h>. Do not include <malloc.h>.
16638 (query_auxv): Use xmalloc instead of malloc.
16641 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
16642 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
16645 2018-02-06 Florian Weimer <fweimer@redhat.com>
16648 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16649 Use scratch_buffer instead of extend_alloca.
16651 2018-02-06 Zack Weinberg <zackw@panix.com>
16653 * libio/stdio.h: Don't define getc or putc as macros.
16654 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
16655 not _IO_getc and _IO_putc.
16657 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
16658 * stdio-common/tstgetln.c: Don't redefine ssize_t.
16660 2018-02-06 Joseph Myers <joseph@codesourcery.com>
16662 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
16663 (TCP_FASTOPEN_NO_COOKIE): Likewise.
16665 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
16668 * elf/elf.h (NT_PRFPREG): New macro.
16669 (NT_S390_VXRS_LOW): Likewise.
16670 (NT_S390_VXRS_HIGH): Likewise.
16671 (NT_S390_GS_CB): Likewise.
16672 (NT_S390_GS_BC): Likewise.
16673 (NT_S390_RI_CB): Likewise.
16675 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16676 (MAP_SYNC): New macro.
16677 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
16679 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16680 (MAP_SYNC): Likewise.
16681 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16682 (MAP_SYNC): Likewise.
16683 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16684 (MAP_SYNC): Likewise.
16685 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16686 (MAP_SYNC): Likewise.
16687 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16688 (MAP_SYNC): Likewise.
16689 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16690 (MAP_SYNC): Likewise.
16691 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
16693 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
16696 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
16697 (MAP_SHARED_VALIDATE): New macro.
16698 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16699 (MAP_SHARED_VALIDATE): Likewise.
16701 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16703 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
16704 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
16705 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
16707 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16709 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
16710 (DT_NUM): Updated to 35.
16712 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16714 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
16715 __builtin_expect with __glibc_likely and __glibc_unlikely.
16716 (elf_machine_rela): Likewise.
16717 (elf_machine_lazy_rel): Likewise.
16719 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16721 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
16722 __builtin_expect with __glibc_likely and __glibc_unlikely.
16723 (elf_machine_lazy_rel): Likewise.
16725 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16728 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
16730 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
16732 2018-02-05 Andreas Schwab <schwab@suse.de>
16735 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
16738 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16740 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
16741 not check against PTHREAD_STACK_MIN.
16743 2018-02-02 Sean McKean <smckean83@gmail.com>
16746 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
16748 2018-02-02 Florian Weimer <fweimer@redhat.com>
16751 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
16752 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
16753 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
16754 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
16755 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
16756 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
16757 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
16758 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
16759 * manual/llio.texi (Scatter-Gather): Mention offset -1.
16760 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
16761 * misc/tst-preadvwritev2.c (do_test): Call it.
16762 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
16764 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
16766 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
16768 * benchtests/bench-memcmp.c: Print json instead of plain text.
16770 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
16773 2018-02-01 Joseph Myers <joseph@codesourcery.com>
16775 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16777 (s390_sthyi): New syscall.
16779 * sysdeps/generic/ldbl-classify-compat.h: New file.
16780 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
16781 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
16782 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
16783 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
16784 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
16785 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
16786 * sysdeps/ieee754/dbl-64/s_finite.c: Include
16787 <ldbl-classify-compat.h>.
16788 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16789 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
16790 <ldbl-classify-compat.h>.
16791 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16792 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
16793 <ldbl-classify-compat.h>.
16794 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16795 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
16796 <ldbl-classify-compat.h>.
16797 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16798 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
16799 <ldbl-classify-compat.h>.
16800 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16801 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
16802 <ldbl-classify-compat.h>.
16803 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16804 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
16805 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
16806 * sysdeps/m68k/coldfire/math_private.h: Remove file.
16807 * sysdeps/microblaze/math_private.h: Likewise.
16808 * sysdeps/nios2/math_private.h: Likewise.
16809 * sysdeps/sh/math_private.h: Likewise.
16811 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
16812 * sysdeps/m68k/coldfire/math_private.h: ... here.
16813 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
16814 * sysdeps/tile/math_private.h: Likewise.
16815 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
16817 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
16820 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
16822 (libc_fetestexcept): Likewise.
16823 (libc_feupdateenv_test): Likewise.
16824 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
16825 (libc_fetestexcept): Likewise.
16826 (libc_feupdateenv_test): Likewise.
16827 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
16828 (libc_fetestexcept): Likewise.
16829 (libc_feupdateenv_test): Likewise.
16830 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
16831 (libc_fetestexcept): Likewise.
16832 (libc_feupdateenv_test): Likewise.
16834 * sysdeps/generic/math_private.h
16835 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
16836 New inline function.
16837 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
16840 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
16841 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
16842 * sysdeps/generic/math_private.h
16843 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
16845 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
16847 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
16849 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
16851 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
16853 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
16855 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
16856 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
16857 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
16858 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
16859 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
16860 (__fegetenv): Likewise.
16861 (fesetenv): Likewise.
16862 (__fesetenv): Likewise.
16863 (feupdateenv): Likewise.
16864 (__feupdateenv): Likewise.
16865 (fegetround): Likewise.
16866 (__fegetround): Likewise.
16867 (fesetround): Likewise.
16868 (__fesetround): Likewise.
16870 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
16871 (feraiseexcept): New macro.
16872 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
16873 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
16875 (__feraiseexcept): Likewise.
16876 (feclearexcept): Likewise.
16877 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
16878 (__feraiseexcept): Likewise.
16879 (feclearexcept): Likewise.
16880 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
16881 (__feraiseexcept): Likewise.
16882 (feclearexcept): Likewise.
16883 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
16884 (__feraiseexcept): Likewise.
16885 (feclearexcept): Likewise.
16886 (fetestexcept): Likewise.
16888 * sysdeps/m68k/coldfire/math-tests.h: New file.
16890 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
16891 * sysdeps/m68k/bits/fenv.h: ... here.
16892 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
16894 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
16896 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
16898 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
16900 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
16902 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
16904 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
16905 (__FE_UNDEFINED): New enum constant.
16906 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
16908 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
16910 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
16912 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
16913 to match generic bits/fenv.h.
16914 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
16917 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
16919 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
16920 * soft-fp/half.h (union _FP_UNION_H): Likewise.
16921 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
16922 * soft-fp/single.h (union _FP_UNION_S): Likewise.
16924 2018-02-01 Carlos O'Donell <carlos@redhat.com>
16925 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
16926 Joseph Myers <joseph@codesourcery.com>
16929 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
16930 (__log1p): Disable -Wmaybe-uninitialized for -Os around
16931 computation using c.
16932 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
16933 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
16934 computation using c.
16936 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
16938 * version.h (RELEASE): Set to "development".
16939 (VERSION): Set to "2.27.9000".
16940 * NEWS (2.28): New section.
16942 * version.h (RELEASE): Set to "stable".
16943 (VERSION): Set to "2.27".
16944 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
16946 * NEWS: Add the list of bugs fixed in 2.27.
16948 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16950 * stdlib/test-atexit-race-common.c (do_test): Check stack size
16951 against PTHREAD_STACK_MIN.
16953 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
16955 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
16957 (Rafal Luzynski, Andreas Schwab): Update.
16959 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
16962 * NEWS: List the languages which actually use the alternative
16963 months feature in this release. Also explain that "alt_mon" and
16964 "ab_alt_mon" are optional.
16966 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
16969 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
16971 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
16973 * manual/install.texi (Tools for Compilation): Update the newest
16974 versions of gcc, binutils, texinfo, gawk, bison, and sed.
16975 * INSTALL: Regenerated.
16977 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16979 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
16980 instead of __builtin_expect.
16982 2018-01-30 Florian Weimer <fweimer@redhat.com>
16984 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
16986 * nss/tst-nss-getpwent.c (do_test): Likewise.
16988 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
16991 * localedata/locales/hr_HR (mon): Rename to...
16993 (mon): Import from CLDR (genitive case).
16994 (d_t_fmt): Update the comment.
16996 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
16998 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
16999 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
17000 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
17002 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17004 * mach/Versions: Fix version when __mach_host_self_ was added.
17005 * hurd/Versions: Fix version when _hurd_exec_paths was added.
17006 * sysdeps/mach/hurd/i386/ld.abilist: New file.
17007 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
17008 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
17009 * sysdeps/mach/hurd/i386/libc.abilist: New file.
17010 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
17011 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
17012 * sysdeps/mach/hurd/i386/libm.abilist: New file.
17013 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
17014 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
17015 * sysdeps/mach/hurd/i386/librt.abilist: New file.
17016 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
17017 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
17018 || to respect codestyle.
17019 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
17020 (do_test_bz20181): Rename accordingly.
17021 * malloc/malloc.c: Include <assert.h>.
17022 (assert): Do not define.
17023 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
17024 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
17025 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
17026 * sysdeps/mach/hurd/hp-timing.h: New file.
17027 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
17029 2018-01-29 Darius Rad <darius@bluespec.com>
17031 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
17033 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
17035 * sysdeps/init_array/crti.S (.section .init_array): Add
17036 PREINIT_FUNCTION when defined.
17037 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
17038 * config.h.in: Regenerate.
17039 * manual/platform.texi: Add RISC-V documenation for
17040 __riscv_flush_icache.
17041 * sysdeps/riscv/__longjmp.S: New file.
17042 * sysdeps/riscv/backtrace.c: Likewise.
17043 * sysdeps/riscv/bits/endian.h: Likewise.
17044 * sysdeps/riscv/bits/setjmp.h: Likewise.
17045 * sysdeps/riscv/bits/wordsize.h: Likewise.
17046 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
17047 * sysdeps/riscv/bsd-setjmp.c: Likewise.
17048 * sysdeps/riscv/dl-trampoline.S: Likewise.
17049 * sysdeps/riscv/gccframe.h: Likewise.
17050 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
17051 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
17052 * sysdeps/riscv/machine-gmon.h: Likewise.
17053 * sysdeps/riscv/memusage.h: Likewise.
17054 * sysdeps/riscv/setjmp.S: Likewise.
17055 * sysdeps/riscv/sys/asm.h: Likewise.
17056 * sysdeps/riscv/tls-macros.h: Likewise.
17057 * sysdeps/riscv/dl-tls.h: New file.
17058 * sysdeps/riscv/libc-tls.c: Likewise.
17059 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
17060 * sysdeps/riscv/nptl/tls.h: Likewise.
17061 * sysdeps/riscv/stackinfo.h: Likewise.
17062 * sysdeps/riscv/bits/fenv.h: New file.
17063 * sysdeps/riscv/e_sqrtl.c: Likewise.
17064 * sysdeps/riscv/fpu_control.h: Likewise.
17065 * sysdeps/riscv/math-tests.h: Likewise.
17066 * sysdeps/riscv/nofpu/Implies: Likewise.
17067 * sysdeps/riscv/sfp-machine.h: Likewise.
17068 * sysdeps/riscv/tininess.h: Likewise.
17069 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
17070 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
17071 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
17072 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
17073 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
17074 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
17075 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
17076 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
17077 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
17078 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
17079 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
17080 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
17081 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
17082 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
17083 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
17084 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
17085 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
17086 * sysdeps/riscv/rvd/s_finite.c: Likewise.
17087 * sysdeps/riscv/rvd/s_fma.c: Likewise.
17088 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
17089 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
17090 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
17091 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
17092 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
17093 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
17094 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
17095 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
17096 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
17097 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
17098 * sysdeps/riscv/rvf/fegetround.c: Likewise.
17099 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
17100 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
17101 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
17102 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
17103 * sysdeps/riscv/rvf/fesetround.c: Likewise.
17104 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
17105 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
17106 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
17107 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
17108 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
17109 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
17110 * sysdeps/riscv/rvf/math_private.h: Likewise.
17111 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
17112 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
17113 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
17114 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
17115 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
17116 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
17117 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
17118 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
17119 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
17120 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
17121 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
17122 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
17123 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
17124 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
17125 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
17126 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
17127 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
17128 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
17129 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
17130 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
17131 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
17132 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
17133 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
17134 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
17135 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
17136 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
17137 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
17138 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
17139 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
17140 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
17141 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
17142 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
17143 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
17144 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
17145 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
17146 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
17147 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
17148 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
17149 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
17150 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
17151 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
17152 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
17153 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
17154 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
17155 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
17156 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
17157 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
17158 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
17159 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
17160 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
17161 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
17162 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
17163 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
17164 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
17165 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
17166 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
17167 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
17168 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
17169 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
17170 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
17171 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
17172 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
17173 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
17174 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
17175 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17176 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
17177 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
17178 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
17179 * sysdeps/riscv/Implies: New file.
17180 * sysdeps/riscv/Makefile: Likewise.
17181 * sysdeps/riscv/configure: Likewise.
17182 * sysdeps/riscv/configure.ac: Likewise.
17183 * sysdeps/riscv/nptl/Makefile: Likewise.
17184 * sysdeps/riscv/preconfigure: Likewise.
17185 * sysdeps/riscv/rv64/Implies-after: Likewise.
17186 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
17187 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
17188 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
17189 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
17190 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
17191 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
17192 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
17193 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
17194 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
17195 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
17196 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
17197 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
17198 (Config): Likewise.
17200 2018-01-29 Florian Weimer <fweimer@redhat.com>
17203 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
17204 libnsl_hidden_proto.
17205 * include/rpcsvc/yp.h (yp_xdrall): Declare with
17206 libnsl_hidden_proto.
17207 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
17208 * nis/Makefile (libnsl-routines): Add nss-default only for
17209 build-obsolete-nsl.
17210 * nis/nis_defaults.c (__nis_default_ttl): Add
17211 libnsl_hidden_nolink_def.
17212 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
17214 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
17215 * nis/ypclnt.c (yp_maplist): Likewise.
17217 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
17219 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17220 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
17222 2018-01-29 Joseph Myers <joseph@codesourcery.com>
17224 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
17225 clean -dxfq for git updates when replacing sources.
17227 * scripts/build-many-glibcs.py (Config.build_gcc): Use
17228 --disable-libcilkrts unconditionally, not just for the final GCC
17231 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
17234 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17237 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
17240 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17243 * localedata/locales/be_BY (mon): Rename to...
17244 (alt_mon): This, then synchronize with CLDR (nominative case).
17245 (abmon): Rename to...
17246 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
17247 (mon): Import from CLDR (genitive case).
17249 * localedata/locales/be_BY@latin (mon): Rename to...
17251 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
17253 * localedata/locales/be_BY@latin (lang_name): Reworded to
17254 "biełaruskaja mova".
17256 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17259 * localedata/locales/el_CY (mon): Renamed to...
17261 (mon): Import from CLDR (genitive case).
17262 * localedata/locales/el_GR: Likewise.
17264 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17267 * localedata/locales/ru_RU (mon): Rename to...
17269 (abmon): Rename to...
17270 (ab_alt_mon): This.
17271 (mon): Import from CLDR (genitive case).
17272 (abmon): Copy from the old content except the 5th month which is
17273 now in the genitive case, even when abbreviated.
17274 * localedata/locales/ru_UA: Likewise.
17275 * time/tst-strptime.c (day_tests): Add an actual example of
17276 a difference between %b and %Ob in Russian.
17278 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17280 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
17281 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
17283 * resolv/res-close.c: Include <stdlib.h>.
17284 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
17285 <sys/wait.h>, <time.h>, <sys/uio.h>.
17286 (NOT_CANCEL_H): Add inclusion guard.
17287 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
17288 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
17289 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
17291 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
17292 vm_address_t * to ElfW(Addr) * for dl_main parameter.
17293 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
17295 * sysdeps/pthread/timer_create.c (timer_create): Do not use
17296 timer_ptr2id to cast struct timer_node * to void *.
17297 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
17298 --disable-libcilkrts to gcc configure.
17299 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
17300 and make them the default for now.
17301 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
17302 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
17303 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
17304 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
17305 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
17307 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
17308 __task_terminate would ever return successfully.
17309 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
17311 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
17312 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
17313 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
17314 critical section to make code simpler and avoid warning.
17315 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
17316 critical section to make code simpler and avoid warning.
17317 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
17318 const char * instead of char *.
17319 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
17320 __hurd_file_name_split, hurd_file_name_split,
17321 __hurd_directory_name_split, hurd_directory_name_split,
17322 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
17323 hurd_file_name_path_lookup): Make lookup function parameter take a
17324 const char *name instead of char *name.
17325 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
17326 __hurd_directory_name_split): Likewise.
17327 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
17328 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
17329 * sysdeps/mach/hurd/check_native.c: New file.
17330 * sysdeps/mach/hurd/check_pf.c: New file.
17331 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
17332 (__freeifaddrs): Define macro to freeifaddrs.
17333 * sysdeps/mach/hurd/libhurduser.abilist: New file.
17334 * sysdeps/mach/libmachuser.abilist: New file.
17335 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
17336 (do_test_bz20181): Rename accordingly.
17337 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
17338 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
17340 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
17341 version only if __USE_EXTERN_INLINES is defined.
17342 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
17343 __hurd_sockfail): Likewise.
17344 (_hurd_fd_get): Always declare functions, and provide inline versions
17345 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
17346 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
17347 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
17348 _hurd_port_set): Always declare functions, and provide inline versions
17349 only if __USE_EXTERN_INLINES and _LIBC are defined and
17351 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
17352 _hurd_critical_section_unlock): Likewise.
17353 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
17354 * __hurd_threadvar_location): Likewise.
17355 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
17356 _hurd_userlink_clear): Likewise.
17357 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
17358 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
17359 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
17360 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
17361 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
17362 __spin_lock_locked): Likewise.
17363 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
17364 __spin_lock_locked): Likewise.
17365 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
17366 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
17367 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
17368 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
17369 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
17370 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
17371 _POSIX_NO_TRUNC): Define to 0.
17372 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
17373 check size against PTHREAD_STACK_MIN.
17374 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
17375 IS_IN(libpthread)]: Include <sigsetops.h>.
17376 * mach/Makefile (user-interfaces): Add mach/gnumach.
17377 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
17378 * sysdeps/mach/configure (mach_interface_list): Regenerate.
17379 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
17380 instead of invalid -1.
17381 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
17382 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
17383 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
17386 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
17388 * hurd/fcntl-internal.h: New file.
17390 2018-01-27 James Clarke <jrtc27@jrtc27.com>
17392 * sysdeps/hppa/fpu/libm-test-ulps: Update.
17394 * sysdeps/alpha/fpu/libm-test-ulps: Update.
17396 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
17399 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
17400 Build only shared objects.
17402 2018-01-26 Carlos O'Donell <carlos@redhat.com>
17404 * README: Update for hppa.
17406 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17408 * sysdeps/sparc/fpu/libm-test-ulps: Update
17409 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
17411 2018-01-26 Carlos O'Donell <carlos@redhat.com>
17415 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17418 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17419 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
17420 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17421 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
17424 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17427 * bits/types/__cancel_jmp_buf_tag.h: New file.
17428 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
17429 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
17430 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
17431 * nptl/Makefile (headers): Add
17432 bits/types/__cancel_jmp_buf_tag.h.
17433 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
17434 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
17435 * sysdeps/nptl/pthread.h: Include
17436 <bits/types/__cancel_jmp_buf_tag.h>.
17437 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
17439 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
17441 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
17444 * localedata/locales/uk_UA (mon): Renamed to...
17446 (alt_digits): "0" removed and then renamed to...
17448 (date_fmt): Definition changed not to use the alternative
17451 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
17453 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
17454 FLAG_RISCV_FLOAT_ABI_DOUBLE.
17455 * elf/elf.h (EF_RISCV_RVC): New define.
17456 (EF_RISCV_FLOAT_ABI): Likewise.
17457 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
17458 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
17459 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17460 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
17461 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
17463 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17465 2018-01-25 Andreas Schwab <schwab@suse.de>
17467 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
17469 * sysdeps/gnu/configure: Regenerate.
17470 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
17471 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17473 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
17474 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
17475 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
17476 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
17477 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
17479 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
17481 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
17482 URL, and run autoconf, make it the default for now.
17484 2018-01-24 Joseph Myers <joseph@codesourcery.com>
17486 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17487 soft-float ColdFire configuration.
17489 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
17490 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
17491 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
17493 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
17496 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
17498 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
17500 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
17503 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
17504 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
17505 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
17508 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
17511 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
17512 Rename to __reserved and add comment.
17513 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
17514 Rename to __reserved.
17516 2018-01-24 Joseph Myers <joseph@codesourcery.com>
17518 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17519 i686-gnu configurations.
17520 (Context.run_builds): Include mig, gnumach and hurd in components
17522 (Context.checkout): Add mig, gnumach and hurd to components.
17523 (Context.checkout_tar): Add URL mappings for mig, gnumach and
17525 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
17526 (Config.build): Install gnumach headers, build mig and install
17527 hurd headers for 'gnu' OS.
17528 (Config.install_gnumach_headers): New function.
17529 (Config.install_hurd_headers): Likewise.
17530 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
17531 when building for 'gnu' OS.
17533 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
17535 * manual/tunables.texi (Hardware Capability Tunables): Fix
17538 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
17540 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
17541 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
17542 (ALTMON_11, ALTMON_12): Improve documentation.
17543 * manual/time.texi (strftime): Likewise.
17545 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17548 * localedata/locales/pl_PL: Alternative month names added,
17549 primary month names are genitive now.
17550 * time/tst-strptime.c (day_tests): Actually use a genitive case
17551 of a month name in Polish language.
17553 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17556 * manual/locale.texi: Document ALTMON_1..12 constants for
17557 nl_langinfo. Specify when to use ALTMON instead of MON.
17558 * manual/time.texi (strftime, strptime): Document GNU extension
17559 permitting O modifier with %B and %b. Specify when to use
17562 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17565 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
17566 names, define them as the same as abbreviated month names explicitly.
17567 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
17568 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
17569 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
17570 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
17571 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
17572 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
17573 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
17574 _NL_WABALTMON_12): New enum constants.
17575 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
17576 wab_alt_mon, and ab_alt_mon_defined members.
17577 (time_output): Output ab_alt_mon and wab_alt_mon members.
17578 (time_read): Read them, initialize them as copies of abmon and wabmon
17579 respectively if they are missing, initialize ab_alt_mon_defined.
17580 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
17581 * locale/programs/locfile-kw.h: Regenerate.
17582 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
17583 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
17585 * time/strftime_l.c (a_altmonth, aam_len): New macros.
17586 [!COMPILE_WIDE] (ABALTMON_1): New macro.
17587 (__strftime_internal): Handle %Ob and %Oh formats.
17588 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
17589 (__strptime_internal): Handle %Ob and %Oh formats.
17590 * time/tst-strptime.c (day_tests): Add more tests to parse different
17591 forms of month names including the new %Ob format specifier.
17593 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17596 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
17597 define them as the same as primary full month names explicitly.
17598 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
17599 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
17600 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
17601 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
17602 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
17603 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
17604 _NL_WALTMON_12): New enum constants.
17605 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
17606 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
17608 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
17609 walt_mon, and alt_mon_defined members.
17610 (time_output): Output alt_mon and walt_mon members.
17611 (time_read): Read them, initialize them as copies of mon and wmon
17612 respectively if they are missing, initialize alt_mon_defined.
17613 * locale/programs/locfile-kw.gperf (alt_mon): Define.
17614 * locale/programs/locfile-kw.h: Regenerate.
17615 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
17616 * localedata/tst-langinfo.c (map): Add tests for the new constants
17617 ALTMON_1 .. ALTMON_12.
17618 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
17620 * time/strftime_l.c (f_altmonth): New macro.
17621 (__strftime_internal): Handle %OB format.
17622 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
17623 (__strptime_internal): Handle %OB format.
17624 * time/tst-strptime.c (day_tests): Add tests to parse different forms
17625 of month names including the new %OB format specifier.
17627 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17630 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
17631 from ABORT_TRANSACTION.
17632 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
17633 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
17634 ABORT_TRANSACTION_IMPL): Likewise.
17635 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
17636 Linux code, but remove the code that aborts transactions.
17638 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
17640 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
17642 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
17644 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
17645 in date: "2004-14-09" should be "2004-09-14".
17646 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
17647 "2003-15-09" should be "2003-09-15".
17649 2018-01-18 Arjun Shankar <arjun@redhat.com>
17655 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
17657 (_int_memalign): check for integer overflow before calling
17659 * malloc/tst-malloc-too-large.c: New test.
17660 * malloc/Makefile: Add tst-malloc-too-large.
17662 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
17664 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
17665 in date: "2017-24-07" should be "2017-07-24".
17666 * localedata/locales/mai_IN: Likewise.
17667 * localedata/locales/mai_NP: Likewise.
17669 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
17671 * po/ru.po: Update translations.
17673 2018-01-17 Joseph Myers <joseph@codesourcery.com>
17676 * sysdeps/hppa/backtrace.c: New file.
17678 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
17681 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
17682 align La_x86_64_retval to VEC_SIZE.
17684 2018-01-16 Joseph Myers <joseph@codesourcery.com>
17686 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
17687 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
17689 2018-01-16 Florian Weimer <fweimer@redhat.com>
17691 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
17692 Move tst-thread-exit-clobber ...
17693 [$(CXX)] (tests-unsupported): ... to here.
17695 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17697 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
17698 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
17699 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17700 (_dl_aarch64_cap_flags): Update.
17701 (_DL_HWCAP_COUNT): Update.
17703 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17705 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
17706 (_DL_HWCAP_LAST): Remove.
17707 (_DL_HWCAP_COUNT): Move to ...
17708 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17709 (_DL_HWCAP_COUNT): ... here.
17711 2018-01-16 Florian Weimer <fweimer@redhat.com>
17713 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
17714 mode with GNU extensions.
17716 2018-01-15 Alan Hayward <alan.hayward@arm.com>
17718 * elf/elf.h (NT_ARM_SVE): Define.
17720 2018-01-15 Florian Weimer <fweimer@redhat.com>
17723 * nptl/tst-minstack-throw.cc: New file.
17724 * nptl/Makefile (tests): Add tst-minstack-throw.
17725 (LDLIBS-tst-minstack-throw): Link with libstdc++.
17726 [!CXX] (tests-unsupported): Add tst-minstack-throw.
17728 2018-01-15 Joseph Myers <joseph@codesourcery.com>
17730 * scripts/build-many-glibcs.py (Context.checkout): Default
17731 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
17734 2018-01-13 Carlos O'Donell <carlos@redhat.com>
17737 * elf/elf.h (DF_1_STUB): Define.
17738 (DF_1_PIE): Define.
17740 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17743 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
17744 Do not add 0.5 to integer or out-of-range arguments.
17746 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17748 * po/bg.po: Update translations.
17749 * po/cs.po: Likewise.
17750 * po/de.po: Likewise.
17751 * po/ko.po: Likewise.
17752 * po/pl.po: Likewise.
17753 * po/sv.po: Likewise.
17754 * po/uk.po: Likewise.
17755 * po/vi.po: Likewise.
17757 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17759 * aarch64/start.S (_start): Use __wrap_main.
17760 (__wrap_main): New local symbol.
17762 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17766 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
17767 generic_getcwd if the path returned by getcwd syscall is not absolute.
17768 * io/tst-getcwd-abspath.c: New test.
17769 * io/Makefile (tests): Add tst-getcwd-abspath.
17771 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
17773 * malloc/malloc.c (malloc_consolidate): Add size check.
17775 2018-01-12 Florian Weimer <fweimer@redhat.com>
17777 * support/write_message.c (write_message): Preserve errno.
17778 * support/check.c (print_failure): Likewise.
17779 * support/support_test_verify_impl.c (support_test_verify_impl):
17781 * support/support_test_compare_failure.c
17782 (support_test_compare_failure): Likewise.
17784 2018-01-12 Florian Weimer <fweimer@redhat.com>
17787 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
17788 Prevent installation of libnsl.so.
17789 (libnsl-inhibit-o): Do not build (or install) static libraries.
17791 2018-01-12 Egmont Koblinger <egmont@gmail.com>
17794 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
17795 before the day number which may produce a double space.
17796 (date_fmt): Likewise.
17798 2018-01-12 Joseph Myers <joseph@codesourcery.com>
17800 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
17801 instead of fegetenv.
17803 2018-01-11 Joseph Myers <joseph@codesourcery.com>
17806 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
17807 comment to say exceptions are discarded.
17808 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
17810 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
17813 2018-01-11 Florian Weimer <fweimer@redhat.com>
17815 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
17818 2018-01-11 Florian Weimer <fweimer@redhat.com>
17821 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
17822 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
17824 2018-01-10 Joseph Myers <joseph@codesourcery.com>
17827 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
17828 negative arguments in test for NaN or infinity argument.
17830 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
17832 * po/libc.pot: Regenerate.
17834 2018-01-10 Florian Weimer <fweimer@redhat.com>
17837 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
17838 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
17840 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17842 * hurd/hurd/fd.h: Include <fcntl.h>
17843 (__hurd_at_flags): New function.
17844 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
17845 with call to __hurd_at_flags.
17846 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
17847 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
17849 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
17850 (__access_noerrno): Use __faccessat_common instead of access_common.
17851 (__access): Likewise.
17852 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
17853 with a call to __faccessat.
17854 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
17855 (__faccessat_common): ... this. Move implementation of __access into it when
17856 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
17857 reauthenticate_cwdir_at helper to implement AT mechanism.
17858 (__faccessat_noerrno): New function, just calls __faccessat_common.
17859 (__faccessat): New function, just calls __faccessat_common.
17860 (faccessat): Define weak alias.
17862 2018-01-10 Joseph Myers <joseph@codesourcery.com>
17865 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17866 (CFLAGS-s_fmaxmagl.c): New variable.
17867 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
17870 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
17871 long int for arguments of possibly overflowing addition or
17873 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17875 2018-01-09 Joseph Myers <joseph@codesourcery.com>
17878 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17879 (CFLAGS-e_remainderl.c): New variable.
17882 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
17884 (CFLAGS-s_cacoshl.c): Likewise.
17885 (CFLAGS-s_casinhl.c): Likewise.
17886 (CFLAGS-s_catanl.c): Likewise.
17887 (CFLAGS-s_catanhl.c): Likewise.
17888 (CFLAGS-s_cexpl.c): Likewise.
17889 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
17890 (CFLAGS-s_csinhl.c): Likewise.
17891 (CFLAGS-s_clogl.c): Likewise.
17892 (CFLAGS-s_clog10l.c): Likewise.
17893 (CFLAGS-s_csinl.c): Likewise.
17894 (CFLAGS-s_csqrtl.c): Likewise.
17896 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
17897 2017-01-09 Svante Signell <svante.signell@gmail.com>
17899 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
17900 (_hurd_exec_paths): New function.
17901 * hurd/hurd.h (_hurd_exec): Deprecate function.
17902 (_hurd_exec_paths): Declare function.
17903 * hurd/Versions: Export _hurd_exec_paths.
17904 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
17905 (__execve): Use __getcwd to build absolute path, and use
17906 _hurd_exec_paths instead of _hurd_exec.
17907 * sysdeps/mach/hurd/spawni.c: Likewise.
17908 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
17911 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
17913 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
17914 test instead of failing in case of ENOENT returned by posix_openpt.
17916 2018-01-08 Florian Weimer <fweimer@redhat.com>
17918 resolv: Support binary labels in test framework.
17919 * support/resolv_test.c (struct to_be_freed): Remove.
17920 (struct compressed_name): New.
17921 (allocate_compressed_name, ascii_tolower)
17922 (compare_compressed_name): New functions.
17923 (struct resolv_response_builder): Update type of
17924 compression_offsets for use with tsearch. Rempve to_be_freed.
17925 (response_push_pointer_to_free): Remove function.
17926 (resolv_response_add_name): Rewrite using struct compressed_name
17927 and tsearch instead of hsearch_r.
17928 (response_builder_allocate): Remove initialization of
17929 compression_offsets.
17930 (response_builder_free): Update for removal of to_be_freed. Use
17931 tdestroy instead of hdestroy_r.
17932 * resolv/Makefile (tests): Add tst-resolv-binary.
17933 (tst-resolv-binary): Link with -lresolv -lpthread.
17935 2018-01-08 Florian Weimer <fweimer@redhat.com>
17937 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
17938 time. Pass positive flag instead of negative flag to
17939 support_test_compare_failure.
17940 (support_test_compare_failure): Change negative parameter to
17942 * support/support_test_compare_failure.c (report)
17943 (support_test_compare_failure): Likewise.
17944 * support/tst-test_compare.c (return_ssize_t, return_int): New.
17945 (do_test): Check int/size_t, ssize_t/size_t comparisons.
17947 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
17950 * nptl/descr.h (stackblock, stackblock_size): Update comments.
17951 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
17952 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
17954 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
17956 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
17958 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17959 Add s_sincosf-sse2 and s_sincosf-fma.
17960 (CFLAGS-s_sincosf-fma.c): New.
17961 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
17962 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
17963 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
17964 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
17965 __sincosf is defined.
17967 2018-01-08 Florian Weimer <fweimer@redhat.com>
17969 * nptl/tst-thread-exit-clobber.cc: New file.
17970 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
17972 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
17973 (tests): Add tst-thread-exit-clobber.
17974 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
17976 2018-01-08 Florian Weimer <fweimer@redhat.com>
17978 * support/check.h (support_static_assert): Define.
17979 (TEST_COMPARE): Use it.
17981 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
17983 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
17984 [!__RLIM_T_MATCHES_RLIM64_T]
17985 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
17986 __getrlimit64. Add libc_hidden_weak.
17988 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
17990 * elf/elf.h (R_RISCV_NONE): New define.
17991 (R_RISCV_32): Likewise.
17992 (R_RISCV_64): Likewise.
17993 (R_RISCV_RELATIVE): Likewise.
17994 (R_RISCV_COPY): Likewise.
17995 (R_RISCV_JUMP_SLOT): Likewise.
17996 (R_RISCV_TLS_DTPMOD32): Likewise.
17997 (R_RISCV_TLS_DTPMOD64): Likewise.
17998 (R_RISCV_TLS_DTPREL32): Likewise.
17999 (R_RISCV_TLS_DTPREL64): Likewise.
18000 (R_RISCV_TLS_TPREL32): Likewise.
18001 (R_RISCV_TLS_TPREL64): Likewise.
18002 * Makerules (make-link-multidir): Make directories before linking into
18004 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
18006 (VDSO_HASH_LINUX_4_15): Likewise.
18007 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
18008 in subdirectories of lib.
18009 * nptl/Makefile (/librt.so): Always depend on
18010 "$(shared-thread-library)".
18012 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18014 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
18015 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
18016 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
18018 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
18019 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
18021 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
18022 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
18023 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
18024 * sysdeps/gnu/glob-lstat-compat.c: New file.
18025 * sysdeps/gnu/glob64-lstat-compat.c: New file.
18026 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
18028 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18030 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
18031 Reserve 16 chars to reloc_addr before calling _itoa_word.
18033 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18036 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
18037 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
18039 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
18040 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
18042 * resource/tst-getrlimit.c: Add copyright header.
18044 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18045 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18047 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18048 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
18049 Define __GI_getrlimit64 as weak alias of __getrlimit64.
18050 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
18052 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18053 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
18054 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
18055 RLIM64_INFINITY): Fix values to match the kernel ones.
18056 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
18057 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
18058 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
18059 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
18060 getrlimit64@@GLIBC_2_27.
18061 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
18063 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
18064 getrlimit, setrlimit, getrlimit64 and setrlimit64.
18065 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
18066 setrlimit, getrlimit64 and setrlimit64.
18068 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18071 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
18072 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
18074 2018-01-04 Joseph Myers <joseph@codesourcery.com>
18076 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
18077 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
18078 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
18080 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18084 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
18085 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
18089 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
18090 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
18091 * sysdeps/alpha/fpu/s_floor.c: Likewise.
18092 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
18094 2018-01-04 Florian Weimer <fweimer@redhat.com>
18097 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
18098 Align the stack before calling exit.
18099 * stdlib/tst-makecontext-align.c: New file.
18100 * stdlib/Makefile (tests): Add tst-makecontext-align.
18102 2018-01-04 Florian Weimer <fweimer@redhat.com>
18104 Add support for calling dlvsym from libc.so.
18105 * include/dlfcn.h (__libc_dlvsym): Declare.
18106 * elf/Makefile (tests-static-internal): Add
18107 tst-libc_dlvsym-static.
18108 (tests-internal): Add tst-libc_dlvsym.
18109 (modules-names): Add tst-libc_dlvsym-dso.
18110 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
18111 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
18112 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
18113 object tst-libc_dlvsym-dso.so needs to be built before running
18115 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
18116 * elf/Versions: Export __libc_dlvsym.
18117 * elf/dl-libc.c (struct do_dlvsym_args): New.
18118 (do_dlvsym, __libc_dlvsym): New functions.
18119 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
18120 (_dl_open_hook2): New variable.
18121 (__libc_register_dl_open_hook): Set it.
18122 * elf/tst-libc_dlvsym-dso.c: New file.
18123 * elf/tst-libc_dlvsym-static.c: Likewise.
18124 * elf/tst-libc_dlvsym.c: Likewise.
18125 * elf/tst-libc_dlvsym.h: Likewise.
18127 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18129 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
18130 include <sys/mount.h>.
18132 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
18134 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
18135 Add __NO_MATH_ERRNO__ check.
18137 2018-01-02 Joseph Myers <joseph@codesourcery.com>
18139 * sysdeps/mips/mips32/libm-test-ulps: Update.
18140 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18142 2018-01-02 Florian Weimer <fweimer@redhat.com>
18144 * misc/tst-pselect.c: Add copyright header.
18146 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
18148 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
18150 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
18152 (settrlimit): Rename into setrlimit.
18153 (__sttrlimit): Rename into __setrlimit.
18155 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
18156 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
18157 never defined in that case.
18159 2018-01-02 Joseph Myers <joseph@codesourcery.com>
18161 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
18163 * sysdeps/arm/libm-test-ulps: Update.
18165 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
18166 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
18168 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18170 * NEWS: Add cosf and sincosf to list of optimized functions.
18172 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
18175 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
18176 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
18177 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
18178 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
18180 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
18183 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
18185 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
18186 making a copy of it.
18188 2018-01-01 Joseph Myers <joseph@codesourcery.com>
18190 * manual/texinfo.tex: Update to version 2017-12-26.21 with
18191 trailing whitespace removed.
18192 * scripts/config.guess: Update to version 2018-01-01.
18193 * scripts/config.sub: Update to version 2018-01-01.
18194 * scripts/move-if-change: Update from gnulib.
18196 * NEWS: Update copyright dates.
18197 * catgets/gencat.c (print_version): Likewise.
18198 * csu/version.c (banner): Likewise.
18199 * debug/catchsegv.sh: Likewise.
18200 * debug/pcprofiledump.c (print_version): Likewise.
18201 * debug/xtrace.sh (do_version): Likewise.
18202 * elf/ldconfig.c (print_version): Likewise.
18203 * elf/ldd.bash.in: Likewise.
18204 * elf/pldd.c (print_version): Likewise.
18205 * elf/sotruss.sh: Likewise.
18206 * elf/sprof.c (print_version): Likewise.
18207 * iconv/iconv_prog.c (print_version): Likewise.
18208 * iconv/iconvconfig.c (print_version): Likewise.
18209 * locale/programs/locale.c (print_version): Likewise.
18210 * locale/programs/localedef.c (print_version): Likewise.
18211 * login/programs/pt_chown.c (print_version): Likewise.
18212 * malloc/memusage.sh (do_version): Likewise.
18213 * malloc/memusagestat.c (print_version): Likewise.
18214 * malloc/mtrace.pl: Likewise.
18215 * manual/libc.texinfo: Likewise.
18216 * nptl/version.c (banner): Likewise.
18217 * nscd/nscd.c (print_version): Likewise.
18218 * nss/getent.c (print_version): Likewise.
18219 * nss/makedb.c (print_version): Likewise.
18220 * posix/getconf.c (main): Likewise.
18221 * scripts/test-installation.pl: Likewise.
18222 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18224 * All files with FSF copyright notices: Update copyright dates
18225 using scripts/update-copyrights.
18226 * locale/programs/charmap-kw.h: Regenerated.
18227 * locale/programs/locfile-kw.h: Likewise.
18229 2017-12-31 Zack Weinberg <zackw@panix.com>
18231 * libio/bits/libio-ldbl.h: Correct check for improper
18232 inclusion. Add own multiple include guard.
18234 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
18235 Dmitry V. Levin <ldv@altlinux.org>
18239 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
18240 string token expansion. Check for NULL pointer or empty string possibly
18241 returned by expand_dynamic_string_token.
18242 (decompose_rpath): Check for empty path after dynamic string
18245 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
18248 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
18250 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
18251 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
18252 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
18253 and PTRACE_SYSCALL.
18254 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
18255 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18256 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18257 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18258 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18259 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18261 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
18262 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18263 __ptrace_peeksiginfo_flags, ptrace): Move to ...
18264 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
18265 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18266 bits/ptrace-shared.h.
18267 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
18268 <bits/ptrace-shared.h>.
18269 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18270 __ptrace_peeksiginfo_flags, ptrace): Remove.
18271 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18272 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18273 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18274 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18275 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18277 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18280 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
18281 end of the loop. Improve comments.
18283 2017-12-29 Zack Weinberg <zackw@panix.com>
18286 * manual/errno.texi (Checking for Errors): Explicitly say that errno
18287 might be set on success.
18289 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18292 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
18293 is unchanged on success.
18295 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
18297 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
18299 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
18300 expand_dynamic_string_token): Likewise.
18301 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
18304 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
18307 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
18308 is set and name contains ':', and all code depending on these checks.
18310 2017-12-24 Zack Weinberg <zackw@panix.com>
18312 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
18313 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
18315 * libio/libio.h: Rename the original version of this file to
18316 libio/bits/libio.h. Error out if not included by stdio.h or the
18318 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
18319 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
18320 if not included by bits/libio.h or the stub _G_config.h.
18321 * sysdeps/unix/sysv/linux/_G_config.h: Move to
18322 sysdeps/unix/sysv/linux/bits. Error out if not included by
18323 bits/libio.h or the stub _G_config.h.
18324 * libio/stdio.h: Include bits/libio.h, not libio.h.
18325 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
18326 well as libio.h and _G_config.h.
18328 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
18329 * libio/strfile.h, stdio-common/vfscanf.c
18330 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
18331 Include stdio.h, not _G_config.h nor libio.h.
18332 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
18333 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
18335 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
18337 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
18340 * stdlib/getrandom.c (getrandom): Fix comment.
18341 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
18343 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
18346 * manual/arith.texi (strtoul): Fix a typo.
18349 * manual/arith.texi (finite): Fix the description of the return
18352 2017-12-22 Eric Blake <ebb9@byu.net>
18354 Avoid gcc warnings on cygwin
18355 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
18356 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
18357 Avoid unused variable.
18359 2017-12-22 Florian Weimer <fweimer@redhat.com>
18361 * io/Makefile (routines): Add copy_file_range.
18362 (tests): Add tst-copy_file_range.
18363 (tests-static, tests-internal): Add tst-copy_file_range-compat.
18364 * io/Versions (GLIBC_2.27): Export copy_file_range.
18365 * io/copy_file_range-compat.c: New file.
18366 * io/copy_file_range.c: Likewise.
18367 * io/tst-copy_file_range-compat.c: Likewise.
18368 * io/tst-copy_file_range.c: Likewise.
18369 * manual/llio.texi (Copying File Data): New section.
18370 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
18371 * support/Makefile (libsupport-routines): Add support-xfstat,
18372 xftruncate, xlseek.
18373 * support/support-xfstat.c: New file.
18374 * support/xftruncate.c: Likewise.
18375 * support/xlseek.c: Likewise.
18376 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
18377 * sysdeps/unix/sysv/linux/**.abilist: Update.
18378 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
18380 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
18382 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18383 disable-multi-arch variant to aarch64-linux-gnu.
18385 2017-12-20 Joseph Myers <joseph@codesourcery.com>
18387 * manual/texinfo.tex: Update to version 2017-12-18.20 with
18388 trailing whitespace removed.
18389 * scripts/config.guess: Update to version 2017-12-17.
18390 * scripts/config.sub: Update to version 2017-11-23.
18391 * scripts/install-sh: Update to version 2017-09-23.17.
18392 * scripts/move-if-change: Update to version 2017-09-13 06:45.
18394 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18396 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
18397 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18398 * sysdeps/tile/_mcount.S (__mcount): Likewise.
18399 * sysdeps/tile/crti.S (_init, _fini): Likewise.
18400 * sysdeps/tile/crtn.S: Likewise.
18401 * sysdeps/tile/dl-start.S (_start): Likewise.
18402 * sysdeps/tile/dl-trampoline.S: Likewise.
18403 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
18404 * sysdeps/tile/start.S (_start): Likewise.
18405 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
18406 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
18407 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
18408 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
18409 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
18410 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
18411 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
18413 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
18415 * sysdeps/tile/preconfigure: Remove tilegx folder.
18416 * sysdeps/tile/tilegx/Implies: Move definitions to ...
18417 * sysdeps/tile/Implies: ... here.
18418 * sysdeps/tile/tilegx/Makefile: Move rules to ...
18419 * sysdeps/tile/Makefile: ... here.
18420 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
18421 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
18422 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
18423 * sysdeps/tile/bits/wordsize.h: ... here.
18424 * sysdeps/tile/tilegx/*: Move to ...
18425 * sysdeps/tile/*: ... here.
18426 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
18427 * sysdeps/tile/tilegx32/Implies: ... here.
18428 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
18429 * sysdeps/tile/tilegx64/Implies: ... here.
18430 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
18432 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18433 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
18434 * sysdeps/unix/sysv/linux/tile/*: ... here.
18435 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
18436 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
18437 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
18438 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
18440 * README: Remove tilepro-*-linux-gnu from supported architecture.
18441 * scripts/build-many-glibcs.py: Likewise.
18442 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18443 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
18444 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
18445 elf_machine_matches_host, elf_machine_dynamic,
18446 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
18447 howto, elf_machine_rela): Likewise.
18448 * sysdeps/tile/dl-start.S (_start): Likewise.
18449 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
18450 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
18451 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
18452 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
18453 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
18454 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
18456 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
18457 * sysdeps/tile/preconfigure: Likewise.
18458 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
18459 POINTER_CHK_GUARD): Likewise.
18460 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
18461 * sysdeps/tile/start.S (_start): Likewise.
18462 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
18464 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
18465 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
18467 * sysdeps/unix/sysv/linux/tile/bits/environments.h
18468 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
18469 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
18471 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
18472 * sysdeps/tile/tilepro/Implies: Remove file.
18473 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
18474 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
18475 * sysdeps/tile/tilepro/memchr.c: Likewise.
18476 * sysdeps/tile/tilepro/memcpy.S: Likewise.
18477 * sysdeps/tile/tilepro/memset.c: Likewise.
18478 * sysdeps/tile/tilepro/memusage.h: Likewise.
18479 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
18480 * sysdeps/tile/tilepro/strchr.c: Likewise.
18481 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
18482 * sysdeps/tile/tilepro/strlen.c: Likewise.
18483 * sysdeps/tile/tilepro/strrchr.c: Likewise.
18484 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
18485 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
18486 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
18487 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
18488 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
18489 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18491 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
18492 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18493 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
18494 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
18495 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18496 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
18497 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
18498 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
18499 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
18500 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
18501 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
18502 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
18503 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
18504 tilepro mention in comment.
18506 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
18507 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
18508 * nptl/pthread_join_common.c: New file: common function used on
18509 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
18510 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
18511 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
18512 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
18513 (cleanup): Move definition to pthread_join_common.c.
18514 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
18515 Remove superflous checks.
18516 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
18519 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
18521 * sysdeps/aarch64/libm-test-ulps: Update.
18523 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18525 * sysdeps/aarch64/memset.S (MEMSET): Define.
18527 2017-12-20 Florian Weimer <fweimer@redhat.com>
18530 nptl: Provide full implementation of pthread_self in libc.so.
18531 * nptl/Makefile (routines): Add pthread_self.
18532 (libpthread-routines): Replace pthread_self with
18533 compat-pthread_self.
18534 * nptl/forward.c (pthread_self): Remove.
18535 * nptl/nptl-init.c (pthread_functions): Do not initialize
18537 * nptl/pthread_self.c (pthread_self): Remove weak alias.
18538 * nptl/compat-pthread_self.c: New file.
18539 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
18540 Remove ptr_pthread_self.
18542 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
18544 * posix/regcomp.c: Fix spelling in comments.
18545 * posix/regex.h: Likewise.
18546 * posix/regex_internal.c: Likewise.
18547 * posix/regexec.c: Likewise.
18549 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18552 * math/Makefile [C++] (tests): Add test for iseqsig.
18553 * math/math.h [C++] (iseqsig): New implementation, which does
18554 not rely on __MATH_TG/__builtin_types_compatible_p.
18555 * math/test-math-iseqsig.cc: New file.
18556 * sysdeps/powerpc/powerpc64le/Makefile
18557 (CFLAGS-test-math-iseqsig.cc): New variable.
18559 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
18561 * elf/dl-load.c (is_trusted_path): Remove.
18562 (fillin_rpath): Remove check_trusted argument and its use,
18563 all callers changed.
18565 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18568 * Makeconfig (link-pie-before-libc): Replace -pie with
18569 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
18570 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
18571 (tst-dlopen-aout-no-pie): New.
18572 (LDFLAGS-tst-prelink): Removed.
18573 (tst-prelink-no-pie): New.
18574 (LDFLAGS-tst-main1): Removed.
18575 (tst-main1-no-pie): New.
18576 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
18577 (tst-gmon-no-pie): New.
18579 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18581 * manual/install.texi: Document that --enable-static-pie
18583 * INSTALL: Regenerated.
18585 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
18588 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
18591 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18595 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18597 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18599 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18601 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18602 <errno.h>. Include "eexp.tbl".
18603 (half): New constant.
18605 (__ieee754_exp): Rewrite.
18606 (__slowexp): Remove prototype.
18607 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18608 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18609 * sysdeps/i386/fpu/slowexp.c: Likewise.
18610 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18611 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18612 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18613 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18614 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18615 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18616 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18618 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18619 (CPPFLAGS-slowexp.c): Remove variable.
18620 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18621 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18622 (CFLAGS-slowexp-fma.c): Remove variable.
18623 (CFLAGS-slowexp-fma4.c): Likewise.
18624 (CFLAGS-slowexp-avx.c): Likewise.
18625 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18627 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18628 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18629 * math/Makefile (type-double-routines): Remove slowexp.
18630 * manual/probes.texi (slowexp_p6): Remove.
18631 (slowexp_p32): Likewise.
18633 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18635 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
18638 * lib/glob.c (glob): Do not pass NULL to mempcpy.
18640 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18642 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18644 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18646 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18647 <errno.h>. Include "eexp.tbl".
18648 (half): New constant.
18650 (__ieee754_exp): Rewrite.
18651 (__slowexp): Remove prototype.
18652 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18653 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18654 * sysdeps/i386/fpu/slowexp.c: Likewise.
18655 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18656 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18657 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18658 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18659 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18660 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18661 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18663 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18664 (CPPFLAGS-slowexp.c): Remove variable.
18665 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18666 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18667 (CFLAGS-slowexp-fma.c): Remove variable.
18668 (CFLAGS-slowexp-fma4.c): Likewise.
18669 (CFLAGS-slowexp-avx.c): Likewise.
18670 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18672 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18673 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18674 * math/Makefile (type-double-routines): Remove slowexp.
18675 * manual/probes.texi (slowexp_p6): Remove.
18676 (slowexp_p32): Likewise.
18678 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18679 James Clarke <jrtc27@jrtc27.com>
18682 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
18685 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18688 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
18691 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18694 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18695 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18696 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18697 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18700 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18703 * bits/types/__cancel_jmp_buf_tag.h: New file.
18704 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18705 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18706 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18707 * nptl/Makefile (headers): Add
18708 bits/types/__cancel_jmp_buf_tag.h.
18709 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18710 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18711 * sysdeps/nptl/pthread.h: Include
18712 <bits/types/__cancel_jmp_buf_tag.h>.
18713 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18715 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18717 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18719 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18720 --enable-static-pie variants to x86_64, x32 and i686.
18722 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18725 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
18726 argument for attrubutes. All callers changed.
18727 (__inline_mathop1): Likewise. All callers changed.
18728 (__inline_mathop): Likewise. All callers changed.
18729 [__USE_MISC] (scalbn): Use __inline_forward instead of
18730 __inline_forward_c.
18731 [__USE_ISOC99] (scalbln): Likewise.
18732 [__USE_ISOC99] (nearbyint): Likewise.
18733 [__USE_ISOC99] (lrint): Likewise.
18734 [__USE_MISC] (scalbnf): Likewise.
18735 [__USE_ISOC99] (scalblnf): Likewise.
18736 [__USE_ISOC99] (nearbyintf): Likewise.
18737 [__USE_ISOC99] (lrintf): Likewise.
18738 [__USE_MISC] (scalbnl): Likewise.
18739 [__USE_ISOC99] (scalblnl): Likewise.
18740 [__USE_ISOC99] (nearbyintl): Likewise.
18741 [__USE_ISOC99] (lrintl): Likewise.
18742 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
18743 __inline_mathop and __m81_defun changed.
18745 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
18746 CPU or FPU for ARM hard-float configurations.
18748 2017-12-18 Joseph Myers <joseph@codesourcery.com>
18750 * nptl/tst-attr3.c: Include <libc-diag.h>.
18751 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
18753 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
18755 * string/tester.c (test_strncat): Also disable -Warray-bounds
18756 warnings for two tests.
18758 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18761 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
18762 $(cc-pie-default) == yes.
18763 * config.make.in (cc-pie-default): New.
18764 * configure.ac (libc_cv_pie_default): Renamed to ...
18765 (libc_cv_cc_pie_default): This.
18766 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
18767 * configure: Regenerated.
18769 2017-12-18 Florian Weimer <fweimer@redhat.com>
18772 ld.so: Harden dl-libc/libdl hooks.
18773 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
18774 (rtld_active): New function.
18775 * dlfcn/dladdr.c (__dladdr): Call it.
18776 * dlfcn/dladdr1.c (__dladdr1): Likewise.
18777 * dlfcn/dlclose.c (__dlcose): Likewise.
18778 * dlfcn/dlerror.c (__dlerror): Likewise.
18779 * dlfcn/dlinfo.c (__dlinfo): Likewise.
18780 * dlfcn/dlmopen.c (__dlmopen): Likewise.
18781 * dlfcn/dlopen.c (__dlopen): Likewise.
18782 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18783 * dlfcn/dlsym.c (__dlsym): Likewise.
18784 * dlfcn/dlvsym.c (__dlvsym): Likewise.
18785 * libio/vtables.c (_IO_vtable_check): Likewise.
18786 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
18787 (__libc_dlclose): Likewise.
18788 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
18791 2017-12-18 Joseph Myers <joseph@codesourcery.com>
18794 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
18795 buffers for readlink input and output.
18797 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
18800 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
18801 inhibit_stack_protector.
18804 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
18805 inhibit_stack_protector.
18807 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
18810 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
18811 code and invocation.
18813 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
18815 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
18817 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
18820 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
18822 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18824 * sysdeps/s390/fpu/libm-test-ulps: Update.
18826 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18830 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18832 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
18833 constants to s_sincosf.h file.
18834 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18835 * sysdeps/ieee754/flt-32/s_sincosf.c: New
18837 * sysdeps/ieee754/flt-32/s_sincosf.h:
18840 2017-12-12 Carlos O'Donell <carlos@redhat.com>
18843 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
18846 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
18849 * INSTALL: Regenerated.
18850 * Makeconfig (real-static-start-installed-name): New.
18851 (pic-default): Updated for --enable-static-pie.
18852 (pie-default): New for --enable-static-pie.
18853 (default-pie-ldflag): Likewise.
18854 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
18855 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
18856 Replace $(static-start-installed-name) with
18857 $(real-static-start-installed-name).
18858 (+prectorT): Updated for --enable-static-pie.
18859 (+postctorT): Likewise.
18860 (CFLAGS-.o): Add $(pie-default).
18861 (CFLAGS-.op): Likewise.
18862 * NEWS: Mention --enable-static-pie.
18863 * config.h.in (ENABLE_STATIC_PIE): New.
18864 * configure.ac (--enable-static-pie): New configure option.
18865 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
18866 (have-static-pie): Likewise.
18867 Enable static PIE if linker supports --no-dynamic-linker.
18868 (ENABLE_STATIC_PIE): New AC_DEFINE.
18869 (enable-static-pie): New LIBC_CONFIG_VAR.
18870 * configure: Regenerated.
18871 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
18872 gr$(start-installed-name) for --enable-static-pie.
18873 (extra-objs): Likewise.
18874 (install-lib): Likewise.
18875 (extra-objs): Add static-reloc.o and static-reloc.os
18876 ($(objpfx)$(start-installed-name)): Also depend on
18877 $(objpfx)static-reloc.o.
18878 ($(objpfx)r$(start-installed-name)): New.
18879 ($(objpfx)g$(start-installed-name)): Also depend on
18880 $(objpfx)static-reloc.os.
18881 ($(objpfx)gr$(start-installed-name)): New.
18882 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
18884 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
18886 * csu/static-reloc.c: New file.
18887 * elf/Makefile (routines): Add dl-reloc-static-pie.
18888 (elide-routines.os): Likewise.
18889 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
18890 (tst-tls1-static-non-pie-no-pie): New.
18891 * elf/dl-reloc-static-pie.c: New file.
18892 * elf/dl-support.c (_dl_get_dl_main_map): New function.
18893 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
18894 STATIC_PIE_BOOTSTRAP.
18895 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18896 * gmon/Makefile (tests): Add tst-gmon-static-pie.
18897 (tests-static): Likewise.
18898 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
18899 (tst-gmon-static-no-pie): New.
18900 (CFLAGS-tst-gmon-static-pie.c): Likewise.
18901 (CRT-tst-gmon-static-pie): Likewise.
18902 (tst-gmon-static-pie-ENV): Likewise.
18903 (tests-special): Likewise.
18904 ($(objpfx)tst-gmon-static-pie.out): Likewise.
18905 (clean-tst-gmon-static-pie-data): Likewise.
18906 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
18907 * gmon/tst-gmon-static-pie.c: New file.
18908 * manual/install.texi: Document --enable-static-pie.
18909 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
18910 (_dl_get_dl_main_map): Likewise.
18911 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
18912 * sysdeps/x86_64/configure.ac: Likewise.
18913 * sysdeps/i386/configure: Regenerated.
18914 * sysdeps/x86_64/configure: Likewise.
18915 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
18916 (ASFLAGS-.op): Likewise.
18918 2017-12-15 Joseph Myers <joseph@codesourcery.com>
18920 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
18921 * posix/tst-mmap-offset.c (fname): Use /tmp.
18922 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
18924 2017-12-15 Steve Ellcey <sellcey@cavium.com>
18926 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
18928 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
18930 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
18933 2017-12-15 Joseph Myers <joseph@codesourcery.com>
18935 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
18936 --with-float=hard for arm-linux-gnueabihf configurations.
18939 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
18940 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
18941 ($(mo-installed)): Use $(objpfx)%.mo.
18942 (realclean): Remove rule.
18944 * po/Makefile (linguas): Remove rule and dependencies.
18945 (linguas.mo): Likewise.
18946 (.PHONY): Do not depend on linguas and linguas.mo.
18947 (podir): Remove variable.
18948 (pofiles): Likewise.
18949 [$(pofiles)] (%.po): Remove rule.
18951 * sysdeps/sparc/sparc32/Makefile
18952 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
18953 start-of-line whitespace in argument of echo.
18954 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
18955 with whitespace. Generate __wrap_.udiv alias.
18956 * sysdeps/sparc/sparc32/rem.S: Regenerated.
18957 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18958 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18959 * sysdeps/sparc/sparc32/urem.S: Likewise.
18961 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18963 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
18964 for aligned inputs.
18966 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
18968 * benchtests/bench-strcmp.c: Print output in JSON format.
18970 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
18972 2017-12-14 Florian Weimer <fweimer@redhat.com>
18976 * elf/dl-load.c (_dl_init_paths): Compute number of components in
18977 the expanded path string.
18979 2017-12-14 Florian Weimer <fweimer@redhat.com>
18983 * elf/dl-load.c (system_dirs): Update comment.
18984 (nsystem_dirs_len): Use array_length.
18985 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
18987 2017-12-14 Florian Weimer <fweimer@redhat.com>
18989 Simplify compiling most of support/ outside of glibc.
18990 * support/check_addrinfo.c: Include <string.h>.
18991 * support/check_dns_packet.c: Likewise.
18992 * support/check_hostent.c: Likewise.
18993 * support/support_can_chroot.c: Include <support/xunistd.h>.
18994 * support/support_format_addrinfo.c: Include <stdlib.h>
18995 * support/support_format_dns_packet.c: Include <stdbool.h>.
18996 * support/support_format_hostent.c: Include <stdlib.h>.
18997 * support/support_format_netent.c: Likewise.
18998 * support/support_write_string.c: Include <support/xunistd.h>.
18999 * support/xdlfcn.c: Include <stddef.h>.
19001 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
19003 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
19005 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19006 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19008 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19009 (sysdeps_routines): Add memset-niagara7.
19010 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
19012 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
19014 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
19015 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19016 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
19017 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
19018 Add niagara7 option.
19019 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
19022 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19023 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
19024 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
19026 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
19028 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
19029 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
19030 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19031 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
19032 and __memmove_niagara7.
19033 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
19034 Add niagara7 option.
19035 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
19036 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
19037 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
19038 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
19039 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
19041 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
19043 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
19044 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
19045 * sysdeps/sparc/sparc64/memmove.S: Likewise.
19046 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
19048 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
19049 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
19050 _dl_sparc_cap_flags array.
19051 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
19053 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
19055 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
19056 time whenever possible.
19058 2017-12-12 Carlos O'Donell <carlos@redhat.com>
19060 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
19061 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
19063 2017-12-12 Joseph Myers <joseph@codesourcery.com>
19065 * soft-fp/fmadf4.c: Move to ....
19066 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
19067 * soft-fp/fmasf4.c: Move to ....
19068 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
19069 * soft-fp/fmatf4.c: Move to ....
19070 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
19071 * sysdeps/ieee754/soft-fp/Makefile: New file.
19072 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
19073 * sysdeps/arm/preconfigure: Regenerated.
19074 * sysdeps/arm/nofpu/Implies: New file.
19075 * sysdeps/arm/s_fma.c: Remove file.
19076 * sysdeps/arm/s_fmaf.c: Likewise.
19077 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
19078 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
19079 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
19080 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
19081 * sysdeps/microblaze/s_fma.c: Remove file.
19082 * sysdeps/microblaze/s_fmaf.c: Likewise.
19083 * sysdeps/mips/mips32/nofpu/Implies: New file.
19084 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
19085 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
19086 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
19087 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
19088 * sysdeps/mips/ieee754/s_fma.c: Remove file.
19089 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
19090 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
19092 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
19093 * sysdeps/nios2/s_fma.c: Remove file.
19094 * sysdeps/nios2/s_fmaf.c: Likewise.
19095 * sysdeps/sh/nofpu/Implies: New file.
19096 * sysdeps/sh/s_fma.c: Remove file.
19097 * sysdeps/sh/s_fmaf.c: Likewise.
19098 * sysdeps/tile/Implies: Add ieee754/soft-fp.
19099 * sysdeps/tile/s_fma.c: Remove file.
19100 * sysdeps/tile/s_fmaf.c: Likewise.
19102 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
19104 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19105 Add s_cosf-sse2 and s_cosf-fma.
19106 (CFLAGS-s_cosf-fma.c): New.
19107 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
19108 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
19109 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
19111 2017-12-12 Steve Ellcey <sellcey@cavium.com>
19113 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
19115 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19117 * libio/Makefile (tests): Add tst-bz22415.
19118 (tst-bz22415-ENV): New rule.
19119 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
19120 (tests-special): Add tst-bz22415-mem.out.
19121 ($(objpfx)tst-bz22415-mem.out): New rule.
19122 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
19123 in case of a successful seek operation.
19124 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19125 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
19126 buffer is required.
19127 * libio/tst-bz22415.c: New test.
19129 * sysdeps/ia64/fpu/libm-test-ulps: Update.
19131 2017-12-12 James Clarke <jrtc27@jrtc27.com>
19133 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
19134 __IPC_64 to 0 to avoid IPC_64 being set.
19136 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19139 * math/bits/mathcalls.h (nextafter): Remove const.
19140 (nexttoward): Likewise.
19142 2017-12-12 Joseph Myers <joseph@codesourcery.com>
19144 * configure.ac (--with-fp): Remove configure option.
19145 (with_fp_cond): New variable.
19146 (libc_cv_with_fp): New configure test. Use this variable instead
19148 * configure: Regenerated.
19149 * config.make.in (with-fp): Use @libc_cv_with_fp@.
19150 * manual/install.texi (Configuring and compiling): Remove
19152 * INSTALL: Regenerated.
19153 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
19154 * sysdeps/mips/preconfigure (with_fp_cond): Define.
19155 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
19156 * sysdeps/sh/preconfigure (with_fp_cond): Define.
19157 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
19158 use --without-fp to configure glibc.
19160 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
19162 * manual/locale.texi (nl_langinfo): Fix a typo.
19164 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
19167 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
19169 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19171 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
19172 (CFLAGS-argp-parse.c): Likewise.
19173 (CFLAGS-argp-fmtstream.c): Likewise.
19174 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
19175 (CPPFLAGS-sha512-crypt.c): Likewise.
19176 (CPPFLAGS-md5-crypt.c): Likewise.
19177 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
19178 (CFLAGS-stack_chk_fail_local.c): Likewise.
19179 (CFLAGS-backtrace.c): Likewise.
19180 (CFLAGS-sprintf_chk.c): Likewise.
19181 (CFLAGS-snprintf_chk.c): Likewise.
19182 (CFLAGS-vsprintf_chk.c): Likewise.
19183 (CFLAGS-vsnprintf_chk.c): Likewise.
19184 (CFLAGS-asprintf_chk.c): Likewise.
19185 (CFLAGS-vasprintf_chk.c): Likewise.
19186 (CFLAGS-obprintf_chk.c): Likewise.
19187 (CFLAGS-dprintf_chk.c): Likewise.
19188 (CFLAGS-vdprintf_chk.c): Likewise.
19189 (CFLAGS-printf_chk.c): Likewise.
19190 (CFLAGS-fprintf_chk.c): Likewise.
19191 (CFLAGS-vprintf_chk.c): Likewise.
19192 (CFLAGS-vfprintf_chk.c): Likewise.
19193 (CFLAGS-gets_chk.c): Likewise.
19194 (CFLAGS-fgets_chk.c): Likewise.
19195 (CFLAGS-fgets_u_chk.c): Likewise.
19196 (CFLAGS-fread_chk.c): Likewise.
19197 (CFLAGS-fread_u_chk.c): Likewise.
19198 (CFLAGS-swprintf_chk.c): Likewise.
19199 (CFLAGS-vswprintf_chk.c): Likewise.
19200 (CFLAGS-wprintf_chk.c): Likewise.
19201 (CFLAGS-fwprintf_chk.c): Likewise.
19202 (CFLAGS-vwprintf_chk.c): Likewise.
19203 (CFLAGS-vfwprintf_chk.c): Likewise.
19204 (CFLAGS-fgetws_chk.c): Likewise.
19205 (CFLAGS-fgetws_u_chk.c): Likewise.
19206 (CFLAGS-read_chk.c): Likewise.
19207 (CFLAGS-pread_chk.c): Likewise.
19208 (CFLAGS-pread64_chk.c): Likewise.
19209 (CFLAGS-recv_chk.c): Likewise.
19210 (CFLAGS-recvfrom_chk.c): Likewise.
19211 (CFLAGS-tst-longjmp_chk.c): Likewise.
19212 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
19213 (CFLAGS-tst-longjmp_chk2.c): Likewise.
19214 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
19215 (CFLAGS-tst-longjmp_chk3.c): Likewise.
19216 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19217 (CFLAGS-tst-chk1.c): Likewise.
19218 (CFLAGS-tst-chk2.c): Likewise.
19219 (CFLAGS-tst-chk3.c): Likewise.
19220 (CFLAGS-tst-chk4.cc): Likewise.
19221 (CFLAGS-tst-chk5.cc): Likewise.
19222 (CFLAGS-tst-chk6.cc): Likewise.
19223 (CFLAGS-tst-lfschk1.c): Likewise.
19224 (CFLAGS-tst-lfschk2.c): Likewise.
19225 (CFLAGS-tst-lfschk3.c): Likewise.
19226 (CFLAGS-tst-lfschk4.cc): Likewise.
19227 (CFLAGS-tst-lfschk5.cc): Likewise.
19228 (CFLAGS-tst-lfschk6.cc): Likewise.
19229 (CFLAGS-tst-ssp-1.c): Likewise.
19230 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
19231 (CFLAGS-scandir64.c): Likewise.
19232 (CFLAGS-scandir-tail.c): Likewise.
19233 (CFLAGS-scandir64-tail.c): Likewise.
19234 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
19235 (CFLAGS-dl-tunables.c): Likewise.
19236 (CFLAGS-dl-runtime.c): Likewise.
19237 (CFLAGS-dl-lookup.c): Likewise.
19238 (CFLAGS-dl-iterate-phdr.c): Likewise.
19239 (CFLAGS-vismain.c): Likewise.
19240 (CFLAGS-tst-linkall-static.c): Likewise.
19241 (CFLAGS-tst-linkall-static.c): Likewise.
19242 (CPPFLAGS-dl-load.c): Likewise.
19243 (CFLAGS-ldconfig.c): Likewise.
19244 (CFLAGS-dl-cache.c): Likewise.
19245 (CFLAGS-cache.c): Likewise.
19246 (CFLAGS-rtld.c): Likewise.
19247 (CFLAGS-multiload.c): Likewise.
19248 (CFLAGS-filtmod1.c): Likewise.
19249 (CFLAGS-tst-align.c): Likewise.
19250 (CFLAGS-tst-align2.c): Likewise.
19251 (CFLAGS-tst-alignmod.c): Likewise.
19252 (CFLAGS-tst-alignmod2.c): Likewise.
19253 (CPPFLAGS-tst-execstack.c): Likewise.
19254 (CFLAGS-tst-ptrguard1-static.c): Likewise.
19255 (CFLAGS-tst-latepthreadmod.c): Likewise.
19256 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
19257 (CFLAGS-getgrnam_r.c): Likewise.
19258 (CFLAGS-getgrent_r.c): Likewise.
19259 (CFLAGS-getgrent.c): Likewise.
19260 (CFLAGS-fgetgrent.c): Likewise.
19261 (CFLAGS-fgetgrent_r.c): Likewise.
19262 (CFLAGS-putgrent.c): Likewise.
19263 (CFLAGS-initgroups.c): Likewise.
19264 (CFLAGS-getgrgid.c): Likewise.
19265 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
19266 (CFLAGS-getsgent.c): Likewise.
19267 (CFLAGS-fgetsgent.c): Likewise.
19268 (CFLAGS-fgetsgent_r.c): Likewise.
19269 (CFLAGS-putsgent.c): Likewise.
19270 (CFLAGS-getsgnam.c): Likewise.
19271 (CFLAGS-getsgnam_r.c): Likewise.
19272 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
19273 (CFLAGS-iconv_charmap.c): Likewise.
19274 (CFLAGS-dummy-repertoire.c): Likewise.
19275 (CFLAGS-charmap.c): Likewise.
19276 (CFLAGS-linereader.c): Likewise.
19277 (CFLAGS-simple-hash.c): Likewise.
19278 (CFLAGS-gconv_conf.c): Likewise.
19279 (CFLAGS-iconvconfig.c): Likewise.
19280 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19281 (CFLAGS-gethstbyad.c): Likewise.
19282 (CFLAGS-gethstbynm_r.c): Likewise.
19283 (CFLAGS-gethstbynm.c): Likewise.
19284 (CFLAGS-gethstbynm2_r.c): Likewise.
19285 (CFLAGS-gethstbynm2.c): Likewise.
19286 (CFLAGS-gethstent_r.c): Likewise.
19287 (CFLAGS-gethstent.c): Likewise.
19288 (CFLAGS-rcmd.c): Likewise.
19289 (CFLAGS-getnetbynm_r.c): Likewise.
19290 (CFLAGS-getnetbynm.c): Likewise.
19291 (CFLAGS-getnetbyad_r.c): Likewise.
19292 (CFLAGS-getnetbyad.c): Likewise.
19293 (CFLAGS-getnetent_r.c): Likewise.
19294 (CFLAGS-getnetent.c): Likewise.
19295 (CFLAGS-getaliasent_r.c): Likewise.
19296 (CFLAGS-getaliasent.c): Likewise.
19297 (CFLAGS-getrpcent_r.c): Likewise.
19298 (CFLAGS-getrpcent.c): Likewise.
19299 (CFLAGS-getservent_r.c): Likewise.
19300 (CFLAGS-getservent.c): Likewise.
19301 (CFLAGS-getprtent_r.c): Likewise.
19302 (CFLAGS-getprtent.c): Likewise.
19303 (CFLAGS-either_ntoh.c): Likewise.
19304 (CFLAGS-either_hton.c): Likewise.
19305 (CFLAGS-getnetgrent.c): Likewise.
19306 (CFLAGS-getnetgrent_r.c): Likewise.
19307 (CFLAGS-tst-checks-posix.c): Likewise.
19308 (CFLAGS-tst-sockaddr.c): Likewise.
19309 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
19310 (CFLAGS-tst-translit.c): Likewise.
19311 (CFLAGS-tst-gettext2.c): Likewise.
19312 (CFLAGS-tst-codeset.c): Likewise.
19313 (CFLAGS-tst-gettext3.c): Likewise.
19314 (CFLAGS-tst-gettext4.c): Likewise.
19315 (CFLAGS-tst-gettext5.c): Likewise.
19316 (CFLAGS-tst-gettext6.c): Likewise.
19317 * io/Makefile (CFLAGS-open.c): Likewise.
19318 (CFLAGS-open64.c): Likewise.
19319 (CFLAGS-creat.c): Likewise.
19320 (CFLAGS-creat64.c): Likewise.
19321 (CFLAGS-fcntl.c): Likewise.
19322 (CFLAGS-poll.c): Likewise.
19323 (CFLAGS-ppoll.c): Likewise.
19324 (CFLAGS-lockf.c): Likewise.
19325 (CFLAGS-statfs.c): Likewise.
19326 (CFLAGS-fstatfs.c): Likewise.
19327 (CFLAGS-statvfs.c): Likewise.
19328 (CFLAGS-fstatvfs.c): Likewise.
19329 (CFLAGS-fts.c): Likewise.
19330 (CFLAGS-fts64.c): Likewise.
19331 (CFLAGS-ftw.c): Likewise.
19332 (CFLAGS-ftw64.c): Likewise.
19333 (CFLAGS-lockf.c): Likewise.
19334 (CFLAGS-posix_fallocate.c): Likewise.
19335 (CFLAGS-posix_fallocate64.c): Likewise.
19336 (CFLAGS-fallocate.c): Likewise.
19337 (CFLAGS-fallocate64.c): Likewise.
19338 (CFLAGS-read.c): Likewise.
19339 (CFLAGS-write.c): Likewise.
19340 (CFLAGS-test-stat.c): Likewise.
19341 (CFLAGS-test-lfs.c): Likewise.
19342 * libio/Makefile (CFLAGS-fileops.c): Likewise.
19343 (CFLAGS-fputc.c): Likewise.
19344 (CFLAGS-fputwc.c): Likewise.
19345 (CFLAGS-freopen64.c): Likewise.
19346 (CFLAGS-freopen.c): Likewise.
19347 (CFLAGS-fseek.c): Likewise.
19348 (CFLAGS-fseeko64.c): Likewise.
19349 (CFLAGS-fseeko.c): Likewise.
19350 (CFLAGS-ftello64.c): Likewise.
19351 (CFLAGS-ftello.c): Likewise.
19352 (CFLAGS-fwide.c): Likewise.
19353 (CFLAGS-genops.c): Likewise.
19354 (CFLAGS-getc.c): Likewise.
19355 (CFLAGS-getchar.c): Likewise.
19356 (CFLAGS-getwc.c): Likewise.
19357 (CFLAGS-getwchar.c): Likewise.
19358 (CFLAGS-iofclose.c): Likewise.
19359 (CFLAGS-iofflush.c): Likewise.
19360 (CFLAGS-iofgetpos64.c): Likewise.
19361 (CFLAGS-iofgetpos.c): Likewise.
19362 (CFLAGS-iofgets.c): Likewise.
19363 (CFLAGS-iofgetws.c): Likewise.
19364 (CFLAGS-iofputs.c): Likewise.
19365 (CFLAGS-iofputws.c): Likewise.
19366 (CFLAGS-iofread.c): Likewise.
19367 (CFLAGS-iofsetpos64.c): Likewise.
19368 (CFLAGS-iofsetpos.c): Likewise.
19369 (CFLAGS-ioftell.c): Likewise.
19370 (CFLAGS-iofwrite.c): Likewise.
19371 (CFLAGS-iogetdelim.c): Likewise.
19372 (CFLAGS-iogetline.c): Likewise.
19373 (CFLAGS-iogets.c): Likewise.
19374 (CFLAGS-iogetwline.c): Likewise.
19375 (CFLAGS-ioputs.c): Likewise.
19376 (CFLAGS-ioseekoff.c): Likewise.
19377 (CFLAGS-ioseekpos.c): Likewise.
19378 (CFLAGS-iosetbuffer.c): Likewise.
19379 (CFLAGS-iosetvbuf.c): Likewise.
19380 (CFLAGS-ioungetc.c): Likewise.
19381 (CFLAGS-ioungetwc.c): Likewise.
19382 (CFLAGS-oldfileops.c): Likewise.
19383 (CFLAGS-oldiofclose.c): Likewise.
19384 (CFLAGS-oldiofgetpos64.c): Likewise.
19385 (CFLAGS-oldiofgetpos.c): Likewise.
19386 (CFLAGS-oldiofsetpos64.c): Likewise.
19387 (CFLAGS-oldiofsetpos.c): Likewise.
19388 (CFLAGS-peekc.c): Likewise.
19389 (CFLAGS-putc.c): Likewise.
19390 (CFLAGS-putchar.c): Likewise.
19391 (CFLAGS-putwc.c): Likewise.
19392 (CFLAGS-putwchar.c): Likewise.
19393 (CFLAGS-rewind.c): Likewise.
19394 (CFLAGS-wfileops.c): Likewise.
19395 (CFLAGS-wgenops.c): Likewise.
19396 (CFLAGS-oldiofopen.c): Likewise.
19397 (CFLAGS-iofopen.c): Likewise.
19398 (CFLAGS-iofopen64.c): Likewise.
19399 (CFLAGS-oldtmpfile.c): Likewise.
19400 (CFLAGS-tst_putwc.c): Likewise.
19401 * locale/Makefile (CFLAGS-md5.c): Likewise.
19402 (CFLAGS-charmap.c): Likewise.
19403 (CFLAGS-locfile.c): Likewise.
19404 (CFLAGS-charmap-dir.c): Likewise.
19405 * login/Makefile (CFLAGS-grantpt.c): Likewise.
19406 (CFLAGS-getpt.c): Likewise.
19407 (CFLAGS-pt_chown.c): Likewise.
19408 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
19409 (CFLAGS-obstack.c): Likewise.
19410 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
19411 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
19412 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
19413 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
19414 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
19415 (CFLAGS-test-tgmath.c): Likewise.
19416 (CFLAGS-test-tgmath2.c): Likewise.
19417 (CFLAGS-test-tgmath-ret.c): Likewise.
19418 (CFLAGS-test-powl.c): Likewise.
19419 (CFLAGS-test-snan.c): Likewise.
19420 (CFLAGS-test-signgam-finite.c): Likewise.
19421 (CFLAGS-test-signgam-finite-c99.c): Likewise.
19422 (CFLAGS-test-signgam-finite-c11.c): Likewise.
19423 (CFLAGS-test-signgam-uchar.c): Likewise.
19424 (CFLAGS-test-signgam-uchar-init.c): Likewise.
19425 (CFLAGS-test-signgam-uchar-static.c): Likewise.
19426 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
19427 (CFLAGS-test-signgam-uint.c): Likewise.
19428 (CFLAGS-test-signgam-uint-init.c): Likewise.
19429 (CFLAGS-test-signgam-uint-static.c): Likewise.
19430 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
19431 (CFLAGS-test-signgam-ullong.c): Likewise.
19432 (CFLAGS-test-signgam-ullong-init.c): Likewise.
19433 (CFLAGS-test-signgam-ullong-static.c): Likewise.
19434 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
19435 (CFLAGS-test-math-cxx11.cc): Likewise.
19436 (CFLAGS-test-math-isinff.cc): Likewise.
19437 (CFLAGS-test-math-iszero.cc): Likewise.
19438 (CFLAGS-test-math-issignaling.cc): Likewise.
19439 (CFLAGS-test-math-iscanonical.cc): Likewise.
19440 (CFLAGS-test-iszero-excess-precision.c): Likewise.
19441 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
19442 (CFLAGS-test-flt-eval-method.c): Likewise.
19443 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
19444 (CFLAGS-test-finite-macros.c): Likewise.
19445 * misc/Makefile (CFLAGS-select.c): Likewise.
19446 (CFLAGS-tsearch.c): Likewise.
19447 (CFLAGS-lsearch.c): Likewise.
19448 (CFLAGS-pselect.c): Likewise.
19449 (CFLAGS-readv.c): Likewise.
19450 (CFLAGS-writev.c): Likewise.
19451 (CFLAGS-preadv.c): Likewise.
19452 (CFLAGS-preadv64.c): Likewise.
19453 (CFLAGS-pwritev.c): Likewise.
19454 (CFLAGS-pwritev64.c): Likewise.
19455 (CFLAGS-preadv2.c): Likewise.
19456 (CFLAGS-preadv64v2.c): Likewise.
19457 (CFLAGS-pwritev2.c): Likewise.
19458 (CFLAGS-pwritev64v2.c): Likewise.
19459 (CFLAGS-usleep.c): Likewise.
19460 (CFLAGS-syslog.c): Likewise.
19461 (CFLAGS-error.c): Likewise.
19462 (CFLAGS-getpass.c): Likewise.
19463 (CFLAGS-mkstemp.c): Likewise.
19464 (CFLAGS-mkstemp64.c): Likewise.
19465 (CFLAGS-getsysstats.c): Likewise.
19466 (CFLAGS-getusershell.c): Likewise.
19467 (CFLAGS-err.c): Likewise.
19468 (CFLAGS-tst-tsearch.c): Likewise.
19469 (CFLAGS-msync.c): Likewise.
19470 (CFLAGS-fdatasync.c): Likewise.
19471 (CFLAGS-fsync.c): Likewise.
19472 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
19473 (CFLAGS-unwind.c): Likewise.
19474 (CFLAGS-unwind-forcedunwind.c): Likewise.
19475 (CFLAGS-pthread_cancel.c): Likewise.
19476 (CFLAGS-pthread_setcancelstate.c): Likewise.
19477 (CFLAGS-pthread_setcanceltype.c): Likewise.
19478 (CFLAGS-cancellation.c): Likewise.
19479 (CFLAGS-libc-cancellation.c): Likewise.
19480 (CFLAGS-pthread_exit.c): Likewise.
19481 (CFLAGS-forward.c): Likewise.
19482 (CFLAGS-pthread_testcancel.c): Likewise.
19483 (CFLAGS-pthread_join.c): Likewise.
19484 (CFLAGS-pthread_timedjoin.c): Likewise.
19485 (CFLAGS-pthread_once.c): Likewise.
19486 (CFLAGS-pthread_cond_wait.c): Likewise.
19487 (CFLAGS-sem_wait.c): Likewise.
19488 (CFLAGS-sem_timedwait.c): Likewise.
19489 (CFLAGS-fcntl.c): Likewise.
19490 (CFLAGS-lockf.c): Likewise.
19491 (CFLAGS-pread.c): Likewise.
19492 (CFLAGS-pread64.c): Likewise.
19493 (CFLAGS-pwrite.c): Likewise.
19494 (CFLAGS-pwrite64.c): Likewise.
19495 (CFLAGS-wait.c): Likewise.
19496 (CFLAGS-waitpid.c): Likewise.
19497 (CFLAGS-sigwait.c): Likewise.
19498 (CFLAGS-msgrcv.c): Likewise.
19499 (CFLAGS-msgsnd.c): Likewise.
19500 (CFLAGS-tcdrain.c): Likewise.
19501 (CFLAGS-open.c): Likewise.
19502 (CFLAGS-open64.c): Likewise.
19503 (CFLAGS-pause.c): Likewise.
19504 (CFLAGS-recv.c): Likewise.
19505 (CFLAGS-send.c): Likewise.
19506 (CFLAGS-accept.c): Likewise.
19507 (CFLAGS-sendto.c): Likewise.
19508 (CFLAGS-connect.c): Likewise.
19509 (CFLAGS-recvfrom.c): Likewise.
19510 (CFLAGS-recvmsg.c): Likewise.
19511 (CFLAGS-sendmsg.c): Likewise.
19512 (CFLAGS-close.c): Likewise.
19513 (CFLAGS-read.c): Likewise.
19514 (CFLAGS-write.c): Likewise.
19515 (CFLAGS-nanosleep.c): Likewise.
19516 (CFLAGS-sigsuspend.c): Likewise.
19517 (CFLAGS-msync.c): Likewise.
19518 (CFLAGS-fdatasync.c): Likewise.
19519 (CFLAGS-fsync.c): Likewise.
19520 (CFLAGS-pt-system.c): Likewise.
19521 (CFLAGS-tst-cleanup2.c): Likewise.
19522 (CFLAGS-tst-cleanupx2.c): Likewise.
19523 (CFLAGS-flockfile.c): Likewise.
19524 (CFLAGS-ftrylockfile.c): Likewise.
19525 (CFLAGS-funlockfile.c): Likewise.
19526 (CFLAGS-tst-initializers1.c): Likewise.
19527 (CFLAGS-tst-initializers1-c89.c): Likewise.
19528 (CFLAGS-tst-initializers1-c99.c): Likewise.
19529 (CFLAGS-tst-initializers1-c11.c): Likewise.
19530 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
19531 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
19532 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
19533 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
19534 (CFLAGS-nscd_getgr_r.c): Likewise.
19535 (CFLAGS-nscd_gethst_r.c): Likewise.
19536 (CFLAGS-nscd_getai.c): Likewise.
19537 (CFLAGS-nscd_initgroups.c): Likewise.
19538 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
19539 (CFLAGS-pause.c): Likewise.
19540 (CFLAGS-pread.c): Likewise.
19541 (CFLAGS-pread64.c): Likewise.
19542 (CFLAGS-pwrite.c): Likewise.
19543 (CFLAGS-pwrite64.c): Likewise.
19544 (CFLAGS-sleep.c): Likewise.
19545 (CFLAGS-wait.c): Likewise.
19546 (CFLAGS-waitid.c): Likewise.
19547 (CFLAGS-waitpid.c): Likewise.
19548 (CFLAGS-getopt.c): Likewise.
19549 (CFLAGS-wordexp.c): Likewise.
19550 (CFLAGS-sysconf.c): Likewise.
19551 (CFLAGS-pathconf.c): Likewise.
19552 (CFLAGS-fpathconf.c): Likewise.
19553 (CFLAGS-spawn.c): Likewise.
19554 (CFLAGS-spawnp.c): Likewise.
19555 (CFLAGS-spawni.c): Likewise.
19556 (CFLAGS-glob.c): Likewise.
19557 (CFLAGS-glob64.c): Likewise.
19558 (CFLAGS-getconf.c): Likewise.
19559 (CFLAGS-nanosleep.c): Likewise.
19560 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
19561 (CFLAGS-getpwent.c): Likewise.
19562 (CFLAGS-getpw.c): Likewise.
19563 (CFLAGS-fgetpwent_r.c): Likewise.
19564 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
19565 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
19566 (CFLAGS-mq_timedreceive.c): Likewise.
19567 (CFLAGS-mq_timedsend.c): Likewise.
19568 (CFLAGS-clock_nanosleep.c): Likewise.
19569 (CFLAGS-librt-cancellation.c): Likewise.
19570 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
19571 (CFLAGS-getspent.c): Likewise.
19572 (CFLAGS-fgetspent.c): Likewise.
19573 (CFLAGS-fgetspent_r.c): Likewise.
19574 (CFLAGS-putspent.c): Likewise.
19575 (CFLAGS-getspnam.c): Likewise.
19576 (CFLAGS-getspnam_r.c): Likewise.
19577 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
19578 (CFLAGS-sigsuspend.c): Likewise.
19579 (CFLAGS-sigtimedwait.c): Likewise.
19580 (CFLAGS-sigwait.c): Likewise.
19581 (CFLAGS-sigwaitinfo.c): Likewise.
19582 (CFLAGS-sigreturn.c): Likewise.
19583 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
19584 (CFLAGS-vfwprintf.c): Likewise.
19585 (CFLAGS-tmpfile.c): Likewise.
19586 (CFLAGS-tmpfile64.c): Likewise.
19587 (CFLAGS-tempname.c): Likewise.
19588 (CFLAGS-psignal.c): Likewise.
19589 (CFLAGS-vprintf.c): Likewise.
19590 (CFLAGS-cuserid.c): Likewise.
19591 (CFLAGS-errlist.c): Likewise.
19592 (CFLAGS-siglist.c): Likewise.
19593 (CFLAGS-scanf15.c): Likewise.
19594 (CFLAGS-scanf17.c): Likewise.
19595 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
19596 (CFLAGS-msort.c): Likewise.
19597 (CFLAGS-qsort.c): Likewise.
19598 (CFLAGS-system.c): Likewise.
19599 (CFLAGS-fmtmsg.c): Likewise.
19600 (CFLAGS-strfmon.c): Likewise.
19601 (CFLAGS-strfmon_l.c): Likewise.
19602 (CFLAGS-strfromd.c): Likewise.
19603 (CFLAGS-strfromf.c): Likewise.
19604 (CFLAGS-strfroml.c): Likewise.
19605 (CFLAGS-tst-bsearch.c): Likewise.
19606 (CFLAGS-tst-qsort.c): Likewise.
19607 (CFLAGS-tst-makecontext2.c): Likewise.
19608 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
19609 (CFLAGS-xnlm_prot.c): Likewise.
19610 (CFLAGS-xrstat.c): Likewise.
19611 (CFLAGS-xyppasswd.c): Likewise.
19612 (CFLAGS-xklm_prot.c): Likewise.
19613 (CFLAGS-xrex.c): Likewise.
19614 (CFLAGS-xsm_inter.c): Likewise.
19615 (CFLAGS-xmount.c): Likewise.
19616 (CFLAGS-xrusers.c): Likewise.
19617 (CFLAGS-xspray.c): Likewise.
19618 (CFLAGS-xnfs_prot.c): Likewise.
19619 (CFLAGS-xrquota.c): Likewise.
19620 (CFLAGS-xkey_prot.c): Likewise.
19621 (CFLAGS-auth_unix.c): Likewise.
19622 (CFLAGS-key_call.c): Likewise.
19623 (CFLAGS-pmap_rmt.c): Likewise.
19624 (CFLAGS-clnt_perr.c): Likewise.
19625 (CFLAGS-openchild.c): Likewise.
19626 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
19627 (CFLAGS-msgsnd.c): Likewise.
19628 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
19629 * time/Makefile (CFLAGS-tzfile.c): Likewise.
19630 (CFLAGS-tzset.c): Likewise.
19631 (CFLAGS-getdate.c): Likewise.
19632 (CFLAGS-test_time.c): Likewise.
19633 (CPPFLAGS-tst-tzname.c): Likewise.
19634 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
19635 (CFLAGS-zic.c): Likewise.
19636 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
19637 (CFLAGS-wcswidth.c): Likewise.
19638 (CFLAGS-wcstol.c): Likewise.
19639 (CFLAGS-wcstoul.c): Likewise.
19640 (CFLAGS-wcstoll.c): Likewise.
19641 (CFLAGS-wcstoull.c): Likewise.
19642 (CFLAGS-wcstod.c): Likewise.
19643 (CFLAGS-wcstold.c): Likewise.
19644 (CFLAGS-wcstof128.c): Likewise.
19645 (CFLAGS-wcstof.c): Likewise.
19646 (CFLAGS-wcstol_l.c): Likewise.
19647 (CFLAGS-wcstoul_l.c): Likewise.
19648 (CFLAGS-wcstoll_l.c): Likewise.
19649 (CFLAGS-wcstoull_l.c): Likewise.
19650 (CFLAGS-wcstod_l.c): Likewise.
19651 (CFLAGS-wcstold_l.c): Likewise.
19652 (CFLAGS-wcstof128_l.c): Likewise.
19653 (CFLAGS-wcstof_l.c): Likewise.
19654 (CPPFLAGS-tst-wchar-h.c): Likewise.
19655 (CPPFLAGS-wcstold_l.c): Likewise.
19657 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
19659 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
19661 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19662 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19664 * manual/tunables.texi (Hardware Capability Tunables): Document
19665 glibc.tune.cached_memopt.
19666 * sysdeps/powerpc/cpu-features.c: New file.
19667 * sysdeps/powerpc/cpu-features.h: New file.
19668 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
19669 _dl_powerpc_cpu_features.
19670 * sysdeps/powerpc/dl-tunables.list: New file.
19671 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
19672 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
19673 (INIT_ARCH): Initialize use_aligned_memopt.
19674 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
19675 IS_IN(rtld))]: Restrict dl_platform_init availability and
19676 initialize CPU features used by tunables.
19677 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
19678 Add memcpy-power8-cached.
19679 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
19680 __memcpy_power8_cached.
19681 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
19682 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
19685 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19687 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
19688 (CFLAGS-noinl-tester.c): Likewise.
19689 (CFLAGS-tst-strlen.c): Likewise.
19690 (CFLAGS-stratcliff.c): Likewise.
19691 (CFLAGS-test-ffs.c): Likewise.
19692 (CFLAGS-tst-inlcall.c): Likewise.
19693 (CFLAGS-tst-xbzero-opt.c): Likewise.
19694 (CFLAGS-memcpy.c): Likewise.
19695 (CFLAGS-wordcopy.c): Likewise.
19697 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19699 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
19700 Store r15 on stack and add cfi rule.
19701 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
19704 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
19707 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
19710 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19712 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19713 Add s_sinf-sse2 and s_sinf-fma.
19714 (CFLAGS-s_sinf-fma.c): New.
19715 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
19716 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
19717 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
19719 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19721 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
19723 2017-12-07 Joseph Myers <joseph@codesourcery.com>
19726 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
19727 part of result to imaginary part of argument if it is zero and the
19728 real part of the argument is not finite.
19729 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
19730 of result to real part of argument if it is zero and the imaginary
19731 part of the argument is not finite.
19733 2017-12-07 Mike FABIAN <mfabian@redhat.com>
19736 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
19737 and to the list of locales to be built for testing.
19738 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
19739 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
19740 and build the collation rules upon that.
19742 2017-12-07 Joseph Myers <joseph@codesourcery.com>
19744 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
19745 * manual/math.texi (Mathematics): Document support for _Float32.
19746 * math/Makefile (test-types): Add float32.
19747 * math/Versions (GLIBC_2.27): Add _Float32 functions.
19748 * stdlib/Versions (GLIBC_2.27): Likewise.
19749 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19750 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19751 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19752 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19753 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19754 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19755 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19756 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19757 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19758 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19759 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19760 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19761 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19762 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19763 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19764 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19765 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19766 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19767 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19768 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19769 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19770 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19772 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19773 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19774 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19775 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19776 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19794 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19795 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19796 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19797 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19798 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19799 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19800 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19801 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19802 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19803 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19804 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19806 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19808 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19810 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19812 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19813 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19814 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19815 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19816 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19817 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19818 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19819 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19821 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19823 * stdlib/strtof.c: Include <bits/floatn.h>
19824 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
19825 and later undefine as macro. Define as weak alias if
19827 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
19828 and later undefine as macro. Define as weak alias if
19830 * stdlib/strtof_l.c: Include <bits/floatn.h>
19831 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
19832 and later undefine as macro. Define as weak alias if
19834 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
19835 and later undefine as macro. Define as weak alias if
19838 * stdlib/strfromf.c: Include <bits/floatn.h>.
19839 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
19840 and later undefine as macro and define as weak alias.
19842 * math/test-float32.h: New file.
19844 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
19845 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
19846 (libm_alias_float_other_r): Create f32 alias.
19847 (libm_alias_float_r): Use semicolon before call to
19848 libm_alias_float_other_r.
19850 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
19851 second argument to libm_alias_float_other.
19852 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
19853 second argument to libm_alias_float_other.
19854 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
19855 argument to libm_alias_float_other.
19858 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
19859 real part of result for argument 0 + i * NaN.
19860 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
19861 results for tests of 0 + i * NaN.
19863 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19865 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19867 2017-12-06 David S. Miller <davem@davemloft.net>
19869 * sysdeps/sparc/fpu/libm-test-ulps: Update
19870 exp_{downward,towardzero,upward} ulps.
19872 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19874 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
19877 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
19879 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
19881 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
19883 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
19886 2017-12-06 Mike FABIAN <mfabian@redhat.com>
19889 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
19890 and to the list of locales to be built for testing.
19891 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
19892 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
19893 and build the collation rules upon that.
19895 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19897 * NEWS: Add sinf to list of optimized functions.
19899 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19901 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
19902 (__HAVE_FLOAT32X): Likewise.
19903 * manual/math.texi (Mathematics): Document support for _Float64
19905 * math/Makefile (test-types): Add float64 and float32x.
19906 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
19908 * stdlib/Versions (GLIBC_2.27): Likewise.
19909 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19910 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19911 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19912 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19913 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19914 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19915 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19916 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19917 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19918 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19919 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19920 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19921 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19922 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19923 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19924 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19925 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19926 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19927 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19928 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19929 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19930 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19932 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19933 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19934 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19935 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19936 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19953 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19954 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19955 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19956 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19957 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19958 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19959 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19960 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19961 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19962 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19963 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19965 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19967 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19969 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19971 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19972 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19973 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19974 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19975 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19976 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19977 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19978 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19980 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19982 * bits/floatn-common.h: Include <bits/long-double.h>.
19983 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19984 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
19985 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19986 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
19987 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19988 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
19989 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19990 (__builtin_huge_valf64): Use __builtin_huge_vall.
19991 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19992 (__builtin_inff64): Use __builtin_infl.
19993 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19994 (__builtin_nanf64): Use __builtin_nanl.
19995 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19996 (__builtin_nansf64): Use __builtin_nansl.
19998 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
19999 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20000 Carlos O'Donnell <carlos@redhat.com>
20002 * elf/dl-tunables.list: Add elision parameters.
20003 * manual/tunables.texi: Add entries about elision tunable.
20004 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
20005 Add callback functions to dynamically enable/disable elision.
20006 Add multiple callbacks functions to set elision parameters.
20007 Deleted __libc_enable_secure check.
20008 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
20009 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
20010 * configure: Regenerated.
20011 * configure.ac: Option enable_lock_elision was deleted.
20012 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
20013 * config.make.in: Remove references to enable_lock_elision.
20014 * manual/install.texi: Elision configure option was removed.
20015 * INSTALL: Regenerated to remove enable_lock_elision.
20017 Disable elision so it can verify error case for destroying a mutex.
20018 * sysdeps/powerpc/nptl/elide.h:
20019 Cleanup ENABLE_LOCK_ELISION check.
20020 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
20021 * sysdeps/s390/configure: Regenerated.
20022 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
20023 * nptl/tst-mutex8.c:
20024 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
20025 * sysdeps/powerpc/powerpc32/sysdep.h:
20026 Deleted all ENABLE_LOCK_ELISION checks.
20027 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20028 * sysdeps/powerpc/sysdep.h: Likewise.
20029 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
20030 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
20031 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20032 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20033 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20034 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
20035 enable-lock-elision.
20037 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20039 * stdlib/strtod.c: Include <bits/floatn.h>.
20040 (BUILD_DOUBLE): New macro.
20041 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20042 (strtof64): Define and later undefine as macro. Define as weak
20043 alias if [!USE_WIDE_CHAR].
20044 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20045 (wcstof64): Define and later undefine as macro. Define as weak
20046 alias if [USE_WIDE_CHAR].
20047 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20048 (strtof32x): Define and later undefine as macro. Define as weak
20049 alias if [!USE_WIDE_CHAR].
20050 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20051 (wcstof32x): Define and later undefine as macro. Define as weak
20052 alias if [USE_WIDE_CHAR].
20053 * stdlib/strtod_l.c: Include <bits/floatn.h>.
20054 (BUILD_DOUBLE): New macro.
20055 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20056 (strtof64_l): Define and later undefine as macro. Define as weak
20057 alias if [!USE_WIDE_CHAR].
20058 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20059 (wcstof64_l): Define and later undefine as macro. Define as weak
20060 alias if [USE_WIDE_CHAR].
20061 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20062 (strtof32x_l): Define and later undefine as macro. Define as weak
20063 alias if [!USE_WIDE_CHAR].
20064 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20065 (wcstof32x_l): Define and later undefine as macro. Define as weak
20066 alias if [USE_WIDE_CHAR].
20068 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20070 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
20071 (reduced): Use ones as double instead of integer.
20073 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
20075 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
20077 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20079 * stdlib/strfromd.c: Include <bits/floatn.h>.
20080 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
20081 and later undefine as macro and define as weak alias.
20082 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
20085 * math/test-float32x.h: New file.
20086 * math/test-float64.h: Likewise.
20088 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
20089 (libm_alias_double_other_r_f64): New macro.
20090 (libm_alias_double_other_r_f32x): Likewise.
20091 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20092 libm_alias_double_other_r_f32x.
20093 (libm_alias_double_r): Use semicolon before call to
20094 libm_alias_double_other_r.
20095 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
20097 (libm_alias_double_other_r_f64): New macro.
20098 (libm_alias_double_other_r_f32x): Likewise.
20099 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20100 libm_alias_double_other_r_f32x.
20102 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
20104 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
20106 (SINF_FUNC): Likewise. Replace floor with simple casts.
20108 2017-12-05 Mike FABIAN <mfabian@redhat.com>
20111 * localedata/Makefile: Add et_EE.UTF-8 to test-input
20112 and to the list of locales to be built for testing.
20113 * localedata/et_EE.UTF-8.in: New file for testing the collation.
20114 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
20115 and build the collation rules upon that.
20117 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
20119 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
20120 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
20121 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
20122 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
20123 instead of __insn__xxx.
20124 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
20125 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
20126 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
20127 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
20128 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
20129 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
20131 2017-12-05 Florian Weimer <fweimer@redhat.com>
20133 Linux: Implement interfaces for memory protection keys
20134 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
20136 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
20137 * support/xunistd.h (xsysconf): Declare.
20138 * support/xraise.c: New file.
20139 * support/xsigaction.c: Likewise.
20140 * support/xsignal.c: Likewise.
20141 * support/xsysconf.c: Likewise.
20142 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
20143 pkey_set, pkey_get, pkey_mprotect.
20144 [misc] (tests): Add tst-pkey.
20145 (tst-pkey): Link with -lpthread.
20146 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
20147 pkey_free, pkey_set, pkey_get, pkey_mprotect.
20148 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
20149 (PKEY_DISABLE_WRITE): Define.
20150 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
20152 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
20153 (SEGV_PKUERR): Add.
20154 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
20155 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
20156 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
20157 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
20159 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
20160 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
20161 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
20162 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
20163 * sysdeps/unix/sysv/linux/**.abilist: Update.
20165 2017-12-05 Florian Weimer <fweimer@redhat.com>
20167 * support/tst-test_compare.c (subprocess): Use long long instead
20168 of long argument for consistent type width across 32-bit and
20169 64-bit architectures.
20170 (do_test): Adjust expected output.
20172 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20174 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
20175 (cosf): Define using libm_alias_float.
20176 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
20177 (fabsf): Define using libm_alias_float.
20178 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
20179 (fmaf): Define using libm_alias_float.
20180 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
20181 (rintf): Define using libm_alias_float.
20182 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
20183 (sinf): Define using libm_alias_float.
20184 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
20185 <libm-alias-float.h>.
20186 (modff): Define using libm_alias_float.
20187 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
20188 <libm-alias-float.h>.
20189 (logbf): Define using libm_alias_float.
20190 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
20191 <libm-alias-float.h>.
20192 (ceilf): Define using libm_alias_float.
20193 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20194 <libm-alias-float.h>.
20195 (copysignf): Define using libm_alias_float.
20196 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
20197 <libm-alias-float.h>.
20198 (floorf): Define using libm_alias_float.
20199 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
20200 <libm-alias-float.h>.
20201 (llrintf): Define using libm_alias_float.
20202 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
20203 <libm-alias-float.h>.
20204 (llroundf): Define using libm_alias_float.
20205 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20206 <libm-alias-float.h>.
20207 (lrintf): Define using libm_alias_float.
20208 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20209 <libm-alias-float.h>.
20210 (lroundf): Define using libm_alias_float.
20211 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
20212 <libm-alias-float.h>.
20213 (nearbyintf): Define using libm_alias_float.
20214 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
20215 <libm-alias-float.h>.
20216 (rintf): Define using libm_alias_float.
20217 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
20218 <libm-alias-float.h>.
20219 (roundf): Define using libm_alias_float.
20220 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
20221 <libm-alias-float.h>.
20222 (truncf): Define using libm_alias_float.
20223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
20224 Include <libm-alias-float.h>.
20225 (ceilf): Define using libm_alias_float.
20226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
20227 Include <libm-alias-float.h>.
20228 (copysignf): Define using libm_alias_float.
20229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
20230 Include <libm-alias-float.h>.
20231 (floorf): Define using libm_alias_float.
20232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
20233 Include <libm-alias-float.h>.
20234 (llrintf): Define using libm_alias_float.
20235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
20236 Include <libm-alias-float.h>.
20237 (llroundf): Define using libm_alias_float.
20238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
20239 Include <libm-alias-float.h>.
20240 (logbf): Define using libm_alias_float.
20241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
20242 Include <libm-alias-float.h>.
20243 (lrintf): Define using libm_alias_float.
20244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
20245 Include <libm-alias-float.h>.
20246 (lroundf): Define using libm_alias_float.
20247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
20248 Include <libm-alias-float.h>.
20249 (modff): Define using libm_alias_float.
20250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
20251 Include <libm-alias-float.h>.
20252 (roundf): Define using libm_alias_float.
20253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
20254 Include <libm-alias-float.h>.
20255 (truncf): Define using libm_alias_float.
20256 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
20257 <libm-alias-float.h>.
20258 (llrintf): Define using libm_alias_float.
20259 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20260 <libm-alias-float.h>.
20261 (llroundf): Define using libm_alias_float.
20262 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
20263 <libm-alias-float.h>.
20264 (ceilf): Define using libm_alias_float.
20265 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
20266 <libm-alias-float.h>.
20267 (floorf): Define using libm_alias_float.
20268 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20269 <libm-alias-float.h>.
20270 (llroundf): Define using libm_alias_float.
20271 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20272 <libm-alias-float.h>.
20273 (lroundf): Define using libm_alias_float.
20274 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
20275 <libm-alias-float.h>.
20276 (roundf): Define using libm_alias_float.
20277 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
20278 <libm-alias-float.h>.
20279 (truncf): Define using libm_alias_float.
20280 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20281 <libm-alias-float.h>.
20282 (copysignf): Define using libm_alias_float.
20283 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
20284 <libm-alias-float.h>.
20285 (llrintf): Define using libm_alias_float.
20286 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20287 <libm-alias-float.h>.
20288 (llroundf): Define using libm_alias_float.
20289 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20290 <libm-alias-float.h>.
20291 (lrintf): Define using libm_alias_float.
20292 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20293 <libm-alias-float.h>.
20294 (lroundf): Define using libm_alias_float.
20295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
20296 <libm-alias-float.h>.
20297 (ceilf): Define using libm_alias_float.
20298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
20299 <libm-alias-float.h>.
20300 (copysignf): Define using libm_alias_float.
20301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
20302 <libm-alias-float.h>.
20303 (cosf): Define using libm_alias_float.
20304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
20305 <libm-alias-float.h>.
20306 (floorf): Define using libm_alias_float.
20307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
20308 <libm-alias-float.h>.
20309 (llrintf): Define using libm_alias_float.
20310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
20311 <libm-alias-float.h>.
20312 (llroundf): Define using libm_alias_float.
20313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
20314 <libm-alias-float.h>.
20315 (logbf): Define using libm_alias_float.
20316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
20317 <libm-alias-float.h>.
20318 (modff): Define using libm_alias_float.
20319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
20320 <libm-alias-float.h>.
20321 (roundf): Define using libm_alias_float.
20322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
20323 <libm-alias-float.h>.
20324 (sinf): Define using libm_alias_float.
20325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
20326 <libm-alias-float.h>.
20327 (truncf): Define using libm_alias_float.
20328 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
20329 <libm-alias-float.h>.
20330 (ceilf): Define using libm_alias_float.
20331 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20332 <libm-alias-float.h>.
20333 (copysignf): Define using libm_alias_float.
20334 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
20335 <libm-alias-float.h>.
20336 (floorf): Define using libm_alias_float.
20337 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20338 <libm-alias-float.h>.
20339 (llrintf): Define using libm_alias_float.
20340 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
20341 <libm-alias-float.h>.
20342 (llroundf): Define using libm_alias_float.
20343 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
20344 <libm-alias-float.h>.
20345 (nearbyintf): Define using libm_alias_float.
20346 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
20347 <libm-alias-float.h>.
20348 (rintf): Define using libm_alias_float.
20349 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
20350 <libm-alias-float.h>.
20351 (roundf): Define using libm_alias_float.
20352 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
20353 <libm-alias-float.h>.
20354 (truncf): Define using libm_alias_float.
20355 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
20356 <libm-alias-float.h>.
20357 (ceilf): Define using libm_alias_float.
20358 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
20359 <libm-alias-float.h>.
20360 (floorf): Define using libm_alias_float.
20361 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20362 <libm-alias-float.h>.
20363 (llroundf): Define using libm_alias_float.
20364 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
20365 <libm-alias-float.h>.
20366 (roundf): Define using libm_alias_float.
20367 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
20368 <libm-alias-float.h>.
20369 (truncf): Define using libm_alias_float.
20370 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20371 <libm-alias-float.h>.
20372 (copysignf): Define using libm_alias_float.
20373 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20374 <libm-alias-float.h>.
20375 (llrintf): Define using libm_alias_float.
20376 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20377 <libm-alias-float.h>.
20378 (llroundf): Define using libm_alias_float.
20379 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
20380 <libm-alias-float.h>.
20381 (cosf): Define using libm_alias_float.
20382 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20383 <libm-alias-float.h>.
20384 (llrintf): Define using libm_alias_float.
20385 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20386 <libm-alias-float.h>.
20387 (llroundf): Define using libm_alias_float.
20388 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
20389 <libm-alias-float.h>.
20390 (sinf): Define using libm_alias_float.
20392 2017-12-04 Florian Weimer <fweimer@redhat.com>
20394 * support/check.h (TEST_COMPARE): Define.
20395 (support_test_compare_failure): Declare.
20396 * support/Makefile (libsupport-routines): Add
20397 support_test_compare_failure.
20398 (tests): Add tst-test_compare.
20399 * support /support_test_compare_failure.c: New file.
20400 * support/tst-test_compare.c: Likewise.
20402 2017-12-04 Mike FABIAN <mfabian@redhat.com>
20405 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
20406 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
20407 available, this rewrite of the collation rules does reproduce
20408 the test file in the same order.
20410 2017-12-04 Mike FABIAN <mfabian@redhat.com>
20413 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
20414 digraphs in the month and day names. Using single code points for
20415 digraphs is deprecated. While there are dedicated Unicode
20416 codepoints, for the digraphs, these are included for backwards
20417 compatibility and modern texts use a sequence of Basic Latin
20418 characters. See: https://www.unicode.org/faq/ligature_digraph.html
20419 This makes the month and day names agree exactly with CLDR now,
20420 CLDR does not use the single code points for the digraphs either.
20422 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
20424 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
20426 2017-12-04 Joseph Myers <joseph@codesourcery.com>
20428 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
20431 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
20433 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
20434 Define only for libc.so.
20436 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
20438 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20439 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
20440 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
20441 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
20442 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20444 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20447 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
20449 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
20452 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
20453 PREINIT_FUNCTION_WEAK is nonzero.
20454 (gmon_initializer): New function. Put procedure label for it in
20455 .init_array section.
20456 (_init): Don't call PREINIT_FUNCTION.
20457 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
20458 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
20459 value when map argument is null.
20461 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
20462 depi instruction from PIC pc-relative sequence.
20463 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
20464 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
20465 (elf_machine_load_address): Likewise.
20466 (elf_machine_runtime_setup): Likewise.
20468 2017-12-02 Joseph Myers <joseph@codesourcery.com>
20470 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
20471 <libm-alias-double.h>.
20472 (logb): Define using libm_alias_double.
20473 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20474 <libm-alias-double.h>.
20475 (copysign): Define using libm_alias_double.
20476 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
20477 <libm-alias-double.h>.
20478 (llrint): Define using libm_alias_double.
20479 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
20480 <libm-alias-double.h>.
20481 (llround): Define using libm_alias_double.
20482 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20483 <libm-alias-double.h>.
20484 (lrint): Define using libm_alias_double.
20485 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20486 <libm-alias-double.h>.
20487 (lround): Define using libm_alias_double.
20488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
20489 Include <libm-alias-double.h>.
20490 (copysign): Define using libm_alias_double.
20491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
20492 Include <libm-alias-double.h>.
20493 (llrint): Define using libm_alias_double.
20494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
20495 Include <libm-alias-double.h>.
20496 (llround): Define using libm_alias_double.
20497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
20498 <libm-alias-double.h>.
20499 (logb): Define using libm_alias_double.
20500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
20501 Include <libm-alias-double.h>.
20502 (lrint): Define using libm_alias_double.
20503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
20504 Include <libm-alias-double.h>.
20505 (lround): Define using libm_alias_double.
20506 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
20507 <libm-alias-double.h>.
20508 (llrint): Define using libm_alias_double.
20509 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20510 <libm-alias-double.h>.
20511 (llround): Define using libm_alias_double.
20512 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20513 <libm-alias-double.h>.
20514 (llround): Define using libm_alias_double.
20515 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20516 <libm-alias-double.h>.
20517 (lround): Define using libm_alias_double.
20518 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20519 <libm-alias-double.h>.
20520 (copysign): Define using libm_alias_double.
20521 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
20522 <libm-alias-double.h>.
20523 (llrint): Define using libm_alias_double.
20524 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20525 <libm-alias-double.h>.
20526 (llround): Define using libm_alias_double.
20527 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20528 <libm-alias-double.h>.
20529 (lrint): Define using libm_alias_double.
20530 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20531 <libm-alias-double.h>.
20532 (lround): Define using libm_alias_double.
20533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
20534 <libm-alias-double.h>.
20535 (copysign): Define using libm_alias_double.
20536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
20537 <libm-alias-double.h>.
20538 (llrint): Define using libm_alias_double.
20540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
20541 <libm-alias-double.h>.
20542 (llround): Define using libm_alias_double.
20543 (lround): Likewise.
20544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
20545 <libm-alias-double.h>.
20546 (logb): Define using libm_alias_double.
20547 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20548 <libm-alias-double.h>.
20549 (copysign): Define using libm_alias_double.
20550 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20551 <libm-alias-double.h>.
20552 (llrint): Define using libm_alias_double.
20554 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
20555 <libm-alias-double.h>.
20556 (llround): Define using libm_alias_double.
20557 (lround): Likewise.
20558 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20559 <libm-alias-double.h>.
20560 (llround): Define using libm_alias_double.
20561 (lround): Likewise.
20562 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20563 <libm-alias-double.h>.
20564 (copysign): Define using libm_alias_double.
20565 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20566 <libm-alias-double.h>.
20567 (llrint): Define using libm_alias_double.
20569 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20570 <libm-alias-double.h>.
20571 (llround): Define using libm_alias_double.
20572 (lround): Likewise.
20573 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20574 <libm-alias-double.h>.
20575 (llrint): Define using libm_alias_double.
20577 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20578 <libm-alias-double.h>.
20579 (llround): Define using libm_alias_double.
20580 (lround): Likewise.
20582 2017-12-01 Joseph Myers <joseph@codesourcery.com>
20584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
20585 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
20586 compat symbol based on llround.
20588 * sysdeps/powerpc/power7/fpu/s_logb.c
20589 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
20590 symbol based on __logb, not on logb.
20591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
20592 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
20594 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20596 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
20597 (rint): Define using libm_alias_double.
20598 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
20599 <libm-alias-double.h>.
20600 (modf): Define using libm_alias_double.
20601 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
20602 <libm-alias-double.h>.
20603 (ceil): Define using libm_alias_double.
20604 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
20605 <libm-alias-double.h>.
20606 (floor): Define using libm_alias_double.
20607 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
20608 <libm-alias-double.h>.
20609 (nearbyint): Define using libm_alias_double.
20610 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
20611 <libm-alias-double.h>.
20612 (rint): Define using libm_alias_double.
20613 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
20614 <libm-alias-double.h>.
20615 (round): Define using libm_alias_double.
20616 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
20617 <libm-alias-double.h>.
20618 (trunc): Define using libm_alias_double.
20619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
20620 <libm-alias-double.h>.
20621 (ceil): Define using libm_alias_double.
20622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
20623 Include <libm-alias-double.h>.
20624 (floor): Define using libm_alias_double.
20625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
20626 <libm-alias-double.h>.
20627 (modf): Define using libm_alias_double.
20628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
20629 Include <libm-alias-double.h>.
20630 (round): Define using libm_alias_double.
20631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
20632 Include <libm-alias-double.h>.
20633 (trunc): Define using libm_alias_double.
20634 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
20635 <libm-alias-double.h>.
20636 (ceil): Define using libm_alias_double.
20637 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
20638 <libm-alias-double.h>.
20639 (floor): Define using libm_alias_double.
20640 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
20641 <libm-alias-double.h>.
20642 (round): Define using libm_alias_double.
20643 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
20644 <libm-alias-double.h>.
20645 (trunc): Define using libm_alias_double.
20646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
20647 <libm-alias-double.h>.
20648 (ceil): Define using libm_alias_double.
20649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
20650 <libm-alias-double.h>.
20651 (floor): Define using libm_alias_double.
20652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
20653 <libm-alias-double.h>.
20654 (modf): Define using libm_alias_double.
20655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
20656 <libm-alias-double.h>.
20657 (round): Define using libm_alias_double.
20658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
20659 <libm-alias-double.h>.
20660 (trunc): Define using libm_alias_double.
20661 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
20662 <libm-alias-double.h>.
20663 (ceil): Define using libm_alias_double.
20664 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
20665 <libm-alias-double.h>.
20666 (floor): Define using libm_alias_double.
20667 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
20668 <libm-alias-double.h>.
20669 (nearbyint): Define using libm_alias_double.
20670 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
20671 <libm-alias-double.h>.
20672 (rint): Define using libm_alias_double.
20673 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
20674 <libm-alias-double.h>.
20675 (round): Define using libm_alias_double.
20676 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
20677 <libm-alias-double.h>.
20678 (trunc): Define using libm_alias_double.
20679 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
20680 <libm-alias-double.h>.
20681 (ceil): Define using libm_alias_double.
20682 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
20683 <libm-alias-double.h>.
20684 (floor): Define using libm_alias_double.
20685 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
20686 <libm-alias-double.h>.
20687 (round): Define using libm_alias_double.
20688 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
20689 <libm-alias-double.h>.
20690 (trunc): Define using libm_alias_double.
20692 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
20693 (fabs): Define using libm_alias_double.
20694 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
20695 (fma): Define using libm_alias_double.
20696 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
20697 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
20698 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
20699 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
20701 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20703 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
20705 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
20706 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
20707 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
20709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
20710 due redirect macro.
20712 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
20714 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
20716 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20718 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
20719 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
20720 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
20721 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
20723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20724 (libm-sysdep_routines): Add s_nearbyintf-generic and
20725 s_nearbyint-generic.
20726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
20728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
20729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
20731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
20733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
20735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
20738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20739 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
20740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
20742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
20743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
20745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
20746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
20747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
20749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20750 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
20751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
20753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
20754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
20756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
20757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
20758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
20760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20761 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
20762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
20764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
20765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
20767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
20768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
20769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
20771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20772 (sysdep_calls): New rule.
20773 (sysdep_routines): Use sysdep_calls as base.
20774 (libm-sysdep_routines): Add generic rule for symbols shared with
20775 libc. Add s_copysign-generic and s_copysign-generic objects.
20776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
20778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
20779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
20781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
20782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
20783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
20785 2017-12-01 Mike FABIAN <mfabian@redhat.com>
20788 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
20789 the list of locales to be built for testing.
20790 * localedata/is_IS.UTF-8.in: New file.
20791 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
20794 2017-12-01 Joseph Myers <joseph@codesourcery.com>
20796 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
20797 <libm-alias-float.h>.
20798 (fabsf): Define using libm_alias_float.
20800 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
20802 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
20804 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20806 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
20807 <libm-alias-float.h>.
20808 (fabsf): Define using libm_alias_float.
20809 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
20810 <libm-alias-float.h>.
20811 (lrintf): Define using libm_alias_float.
20812 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
20813 <libm-alias-float.h>.
20814 (rintf): Define using libm_alias_float.
20816 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
20817 <libm-alias-double.h>.
20818 (fabs): Define using libm_alias_double.
20819 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
20820 <libm-alias-double.h>.
20821 (lrint): Define using libm_alias_double.
20822 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
20823 <libm-alias-double.h>.
20824 (rint): Define using libm_alias_double.
20826 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
20827 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
20828 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
20829 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
20830 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
20831 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
20832 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
20833 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
20834 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
20835 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
20836 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
20837 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
20838 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
20839 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
20840 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
20841 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
20842 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
20843 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
20845 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
20846 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
20847 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
20849 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
20850 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
20851 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
20853 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
20854 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
20855 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
20856 s_expm1_template.c.
20857 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
20858 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
20859 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
20861 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
20862 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
20863 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
20864 s_floor_template.c.
20865 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
20866 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
20867 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
20868 s_frexp_template.c.
20869 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
20870 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
20871 s_lrint_template.c.
20872 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
20873 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
20874 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
20876 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
20877 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
20878 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
20879 s_nearbyint_template.c.
20880 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
20881 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
20882 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
20883 s_remquo_template.c.
20884 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
20885 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
20886 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
20888 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
20889 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
20890 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
20892 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
20893 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
20894 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
20895 s_sincos_template.c.
20896 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
20897 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
20898 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
20900 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
20901 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
20902 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
20904 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
20905 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
20906 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
20907 s_trunc_template.c.
20908 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
20909 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
20910 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
20911 s_atan.c instead of including s_atan.c.
20912 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
20913 s_atanf.c instead of including s_atanf.c.
20914 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
20915 s_atanl.c instead of including s_atanl.c.
20916 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
20917 instead of s_atan.c.
20918 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
20919 instead of s_atanf.c.
20920 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
20921 instead of s_atanl.c.
20923 * scripts/update-copyrights: Do not handle intl/plural.c
20926 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
20929 * configure.ac (BISON): Require to be present.
20930 * configure: Regenerated.
20931 * intl/Makefile (generated): Add plural.c.
20932 [$(BISON) != no]: Make code unconditional.
20933 (plural.c): Change rule to $(objpfx)plural.c.
20934 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
20935 * intl/plural.c: Remove.
20936 * manual/install.texi (Tools for Compilation): Document bison as
20938 * INSTALL: Regenerated.
20940 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20942 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
20943 <libm-alias-double.h>.
20944 (llrint): Define using libm_alias_double.
20945 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
20946 <libm-alias-float.h>.
20947 (llrintf): Define using libm_alias_float.
20948 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
20949 <libm-alias-ldouble.h>.
20950 (llrintl): Define using libm_alias_ldouble.
20952 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
20953 declare_mgen_alias instead of weak_alias.
20954 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
20955 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
20956 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
20958 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20960 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20962 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
20963 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
20964 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
20966 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20967 Add submul_1-generic.
20968 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
20969 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
20970 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
20972 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20973 Add addmul_1-generic.
20974 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
20975 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
20976 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
20978 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20980 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
20981 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
20982 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
20984 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20986 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
20987 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
20988 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
20990 2017-11-30 Mike FABIAN <mfabian@redhat.com>
20992 According to CLDR, collation rules for Serbian and Bosnian
20993 should be the same as for Croatian.
20996 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
20997 and to the list of locales to be built for testing.
20998 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
20999 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
21000 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
21001 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
21003 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21005 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
21006 to make test case pass.
21007 * localedata/hr_HR.UTF-8.in: Add more test strings.
21009 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21011 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
21013 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
21015 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
21016 the list of locales to built for testing.
21017 * localedata/hr_HR.UTF-8.in: New file.
21019 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
21022 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
21024 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
21025 CLDR (except use ligatures for the digraphs, CLDR does not use
21026 the ligatures), add first_workday, some fixes in the date and time
21028 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
21030 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
21031 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
21032 Add int_p_cs_precedes and int_n_cs_precedes.
21033 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
21034 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
21036 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
21037 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
21039 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
21040 and lang_lib. Change postal_fmt.
21042 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
21044 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
21046 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21047 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
21048 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21049 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
21050 * sysdeps/generic/setjmpP.h: New file.
21051 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
21052 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
21053 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
21054 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
21055 Add jmp_buf-ssp.sym.
21056 (tests): Add tst-saved_mask-1.
21058 2017-11-30 Arjun Shankar <arjun@redhat.com>
21062 * malloc/malloc.c (__libc_malloc): Use checked_request2size
21063 instead of request2size.
21065 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
21068 (__lllrint): Remove alias.
21069 (lllrint): Likewise.
21070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
21071 (__lllrintf): Likewise.
21072 (lllrintf): Likewise.
21074 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
21075 <libm-alias-float.h>.
21076 (copysignf): Define using libm_alias_float.
21077 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
21078 <libm-alias-float.h>.
21079 (fabsf): Define using libm_alias_float.
21080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21081 Include <libm-alias-float.h>.
21082 (copysignf): Define using libm_alias_float.
21083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
21084 <libm-alias-float.h>.
21085 (fabsf): Define using libm_alias_float.
21086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
21087 <libm-alias-float.h>.
21088 (fdimf): Define using libm_alias_float.
21089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
21090 <libm-alias-float.h>.
21091 (fmaf): Define using libm_alias_float.
21092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
21093 <libm-alias-float.h>.
21094 (llrintf): Define using libm_alias_float.
21095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
21096 Include <libm-alias-float.h>.
21097 (nearbyintf): Define using libm_alias_float.
21098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
21099 <libm-alias-float.h>.
21100 (rintf): Define using libm_alias_float.
21101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
21102 <libm-alias-float.h>.
21103 (llrintf): Define using libm_alias_float.
21104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
21105 <libm-alias-float.h>.
21106 (lrintf): Define using libm_alias_float.
21107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
21108 <libm-alias-float.h>.
21109 (nearbyintf): Define using libm_alias_float.
21110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
21111 <libm-alias-float.h>.
21112 (rintf): Define using libm_alias_float.
21113 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
21114 <libm-alias-float.h>.
21115 (ceilf): Define using libm_alias_float.
21116 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
21117 <libm-alias-float.h>.
21118 (floorf): Define using libm_alias_float.
21119 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
21120 <libm-alias-float.h>.
21121 (fmaf): Define using libm_alias_float.
21122 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
21123 <libm-alias-float.h>.
21124 (lrintf): Define using libm_alias_float.
21125 (llrintf): Likewise.
21126 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
21127 <libm-alias-float.h>.
21128 (nearbyintf): Define using libm_alias_float.
21129 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
21130 <libm-alias-float.h>.
21131 (rintf): Define using libm_alias_float.
21132 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
21133 <libm-alias-float.h>.
21134 (truncf): Define using libm_alias_float.
21135 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
21136 <libm-alias-float.h>.
21137 (copysignf): Define using libm_alias_float.
21138 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
21139 <libm-alias-float.h>.
21140 (fabsf): Define using libm_alias_float.
21141 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
21142 <libm-alias-float.h>.
21143 (lrintf): Define using libm_alias_float.
21144 (llrintf): Likewise.
21145 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
21146 <libm-alias-float.h>.
21147 (nearbyintf): Define using libm_alias_float.
21148 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
21149 <libm-alias-float.h>.
21150 (rintf): Define using libm_alias_float.
21152 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21154 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
21155 <libm-alias-double.h>.
21156 (copysign): Define using libm_alias_double.
21157 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
21158 <libm-alias-double.h>.
21159 (fabs): Define using libm_alias_double.
21160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21161 Include <libm-alias-double.h>.
21162 (copysign): Define using libm_alias_double.
21163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
21164 <libm-alias-double.h>.
21165 (fabs): Define using libm_alias_double.
21166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
21167 <libm-alias-double.h>.
21168 (fdim): Define using libm_alias_double.
21169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
21170 <libm-alias-double.h>.
21171 (fma): Define using libm_alias_double.
21172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
21173 <libm-alias-double.h>.
21174 (llrint): Define using libm_alias_double.
21175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
21176 Include <libm-alias-double.h>.
21177 (nearbyint): Define using libm_alias_double.
21178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
21179 <libm-alias-double.h>.
21180 (rint): Define using libm_alias_double.
21181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
21182 <libm-alias-double.h>.
21183 (fabs): Define using libm_alias_double.
21184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
21185 <libm-alias-double.h>.
21186 (llrint): Define using libm_alias_double.
21187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
21188 <libm-alias-double.h>.
21189 (nearbyint): Define using libm_alias_double.
21190 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
21191 <libm-alias-double.h>.
21192 (rint): Define using libm_alias_double.
21193 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
21194 <libm-alias-double.h>.
21195 (ceil): Define using libm_alias_double.
21196 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
21197 <libm-alias-double.h>.
21198 (floor): Define using libm_alias_double.
21199 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
21200 <libm-alias-double.h>.
21201 (fma): Define using libm_alias_double.
21202 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
21203 <libm-alias-double.h>.
21204 (lrint): Define using libm_alias_double.
21205 (llrint): Likewise.
21206 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
21207 <libm-alias-double.h>.
21208 (nearbyint): Define using libm_alias_double.
21209 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
21210 <libm-alias-double.h>.
21211 (rint): Define using libm_alias_double.
21212 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
21213 <libm-alias-double.h>.
21214 (trunc): Define using libm_alias_double.
21215 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
21216 <libm-alias-double.h>.
21217 (copysign): Define using libm_alias_double.
21218 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
21219 <libm-alias-double.h>.
21220 (fabs): Define using libm_alias_double.
21221 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
21222 <libm-alias-double.h>.
21223 (lrint): Define using libm_alias_double.
21224 (llrint): Likewise.
21225 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
21226 <libm-alias-double.h>.
21227 (nearbyint): Define using libm_alias_double.
21228 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
21229 <libm-alias-double.h>.
21230 (rint): Define using libm_alias_double.
21233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
21235 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
21237 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21238 SPARC --disable-multi-arch glibc variants.
21240 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
21241 <libm-alias-float.h>.
21242 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21244 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
21245 <libm-alias-float.h>.
21246 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21248 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
21249 <libm-alias-float.h>.
21250 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21252 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
21253 <libm-alias-float.h>.
21254 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21256 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
21257 <libm-alias-float.h>.
21258 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21260 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
21261 <libm-alias-float.h>.
21262 (ceilf): Define using libm_alias_float.
21263 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
21264 <libm-alias-float.h>.
21265 (floorf): Define using libm_alias_float.
21266 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
21267 <libm-alias-float.h>.
21268 (fmaf): Define using libm_alias_float.
21269 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
21270 <libm-alias-float.h>.
21271 (nearbyintf): Define using libm_alias_float.
21272 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
21273 <libm-alias-float.h>.
21274 (rintf): Define using libm_alias_float.
21275 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
21276 <libm-alias-float.h>.
21277 (truncf): Define using libm_alias_float.
21278 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21279 (copysignf): Define using libm_alias_float.
21280 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
21281 (cosf): Define using libm_alias_float.
21282 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21283 (fabsf): Define using libm_alias_float.
21284 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21285 (fmaxf): Define using libm_alias_float.
21286 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
21287 (fminf): Define using libm_alias_float.
21288 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21289 (llrintf): Define using libm_alias_float.
21290 [!__ILP32__] (lrintf): Likewise.
21291 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
21292 (sincosf): Define using libm_alias_float.
21293 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
21294 (sinf): Define using libm_alias_float.
21295 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21296 (lrintf): Define using libm_alias_float.
21298 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
21299 <libm-alias-double.h>.
21300 (atan): Define using libm_alias_double.
21301 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
21302 <libm-alias-double.h>.
21303 (ceil): Define using libm_alias_double.
21304 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
21305 <libm-alias-double.h>.
21306 (floor): Define using libm_alias_double.
21307 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
21308 <libm-alias-double.h>.
21309 (fma): Define using libm_alias_double.
21310 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
21311 <libm-alias-double.h>.
21312 (nearbyint): Define using libm_alias_double.
21313 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
21314 <libm-alias-double.h>.
21315 (rint): Define using libm_alias_double.
21316 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
21317 <libm-alias-double.h>.
21318 (sin): Define using libm_alias_double.
21320 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
21321 <libm-alias-double.h>.
21322 (tan): Define using libm_alias_double.
21323 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
21324 <libm-alias-double.h>.
21325 (trunc): Define using libm_alias_double.
21326 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
21327 (copysign): Define using libm_alias_double.
21328 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
21329 (fabs): Define using libm_alias_double.
21330 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
21331 (fmax): Define using libm_alias_double.
21332 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
21333 (fmin): Define using libm_alias_double.
21334 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
21335 (llrint): Define using libm_alias_double.
21336 [!__ILP32__] (lrint): Likewise.
21337 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
21338 (lrint): Define using libm_alias_double.
21340 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21342 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21343 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
21345 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
21346 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
21347 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
21348 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
21349 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
21350 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21352 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21353 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
21355 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
21356 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
21357 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
21358 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
21359 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
21360 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21362 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21363 (libm-sysdep_routines): Add s_nearbyint-generic and
21364 s_nearbyintf-generic objects.
21365 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
21366 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
21367 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
21368 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
21369 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
21370 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
21372 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21373 Add s_finitef-generic and s_finite-generic objects.
21374 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
21375 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
21376 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
21377 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
21378 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
21379 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
21381 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21382 Add s_isinff-generic and s_isinf-generic objects.
21383 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
21384 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
21385 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
21386 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
21387 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
21388 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21390 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21391 Add s_isnanf-generic and s_isnan-generic objects.
21392 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
21393 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
21394 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
21395 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
21396 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
21397 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21399 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
21401 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
21403 (sysdep_routines): Use sysdep_calls as base.
21404 (libm-sysdep_routines): Add generic rule for symbols shared with
21405 libc. Add s_signbit-generic and s_signbitf-generic objects.
21406 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
21407 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
21408 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
21409 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
21410 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
21411 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21413 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21415 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
21416 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
21417 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
21418 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
21419 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
21420 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
21421 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
21422 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
21423 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
21424 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
21425 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
21426 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
21427 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
21428 libm_alias_float_r.
21429 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
21430 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
21432 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
21433 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
21434 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
21435 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
21436 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
21437 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
21438 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
21439 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
21440 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
21441 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
21443 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
21445 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
21446 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
21447 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
21448 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
21449 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
21450 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
21451 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
21452 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
21453 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
21454 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
21455 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
21456 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
21457 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
21458 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
21459 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
21460 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
21461 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
21462 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
21463 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
21465 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
21466 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
21467 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
21468 * sysdeps/ia64/fpu/w_lgammaf_main.c
21469 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
21470 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
21472 2017-11-28 Mike FABIAN <mfabian@redhat.com>
21473 Alexandre Oliva <aoliva@redhat.com>
21476 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
21477 * localedata/fr_CA.UTF-8.in: New file with test data for backward
21479 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
21481 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
21482 * localedata/locales/de_DE (LC_COLLATE): Likewise.
21483 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
21484 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
21485 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
21486 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
21487 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
21488 instead of “ifdef DIACRIT_BACKWARD”.
21490 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21492 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
21493 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
21494 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
21495 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
21496 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
21497 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
21498 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
21499 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
21500 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
21501 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
21502 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
21503 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
21504 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
21505 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
21506 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
21507 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21508 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
21509 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
21510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21511 ($(have-as-vis3) == yes): Remove conditional.
21512 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
21514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
21516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
21518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
21520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
21522 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
21523 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
21524 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
21525 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
21526 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
21527 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
21528 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
21529 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
21531 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21533 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
21534 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
21535 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
21536 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
21537 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
21538 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
21539 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
21540 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
21541 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
21542 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
21543 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
21544 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
21545 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
21546 libm_alias_double_r.
21547 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
21549 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
21550 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
21551 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
21552 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
21553 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
21554 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
21555 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
21556 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
21557 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
21558 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
21559 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
21561 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
21563 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
21564 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
21565 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
21566 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
21567 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
21568 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
21569 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
21570 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
21571 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
21572 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
21573 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
21574 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
21575 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
21576 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
21577 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
21578 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
21579 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
21580 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
21582 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
21583 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
21584 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
21585 * sysdeps/ia64/fpu/w_lgamma_main.c
21586 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
21587 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
21589 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
21591 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
21592 address of $global$ into %dp register earlier. Use pc-relative
21593 instruction sequence for PIC case.
21595 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21597 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
21598 (asinhf): Define using libm_alias_float.
21599 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
21600 (atanf): Define using libm_alias_float.
21601 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
21602 (cbrtf): Define using libm_alias_float.
21603 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
21604 (ceilf): Define using libm_alias_float.
21605 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21606 (copysignf): Define using libm_alias_float.
21607 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
21608 (expm1f): Define using libm_alias_float.
21609 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
21610 (fabsf): Define using libm_alias_float.
21611 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
21612 (floorf): Define using libm_alias_float.
21613 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21614 (fmaxf): Define using libm_alias_float.
21615 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
21616 (fminf): Define using libm_alias_float.
21617 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
21618 (frexpf): Define using libm_alias_float.
21619 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21620 (llrintf): Define using libm_alias_float.
21621 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
21622 (logbf): Define using libm_alias_float.
21623 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21624 (lrintf): Define using libm_alias_float.
21625 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
21626 (nearbyintf): Define using libm_alias_float.
21627 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
21628 (remquof): Define using libm_alias_float.
21629 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
21630 (rintf): Define using libm_alias_float.
21631 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
21632 (truncf): Define using libm_alias_float.
21633 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
21634 <libm-alias-float.h>.
21635 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21637 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
21638 <libm-alias-float.h>.
21639 (expf): Define using libm_alias_float, or libm_alias_float_other
21641 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
21642 <libm-alias-float.h>.
21643 (log2f): Define using libm_alias_float, or libm_alias_float_other
21645 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
21646 <libm-alias-float.h>.
21647 (logf): Define using libm_alias_float, or libm_alias_float_other
21649 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
21650 <libm-alias-float.h>.
21651 (powf): Define using libm_alias_float, or libm_alias_float_other
21653 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
21654 <libm-alias-float.h>.
21655 (cosf): Define using libm_alias_float.
21656 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
21657 <libm-alias-float.h>.
21658 (sincosf): Define using libm_alias_float.
21659 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
21660 <libm-alias-float.h>.
21661 (sinf): Define using libm_alias_float.
21662 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21663 (fmaxf): Define using libm_alias_float.
21664 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
21665 (fminf): Define using libm_alias_float.
21666 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21667 <libm-alias-float.h>.
21668 (fmaf): Define using libm_alias_float.
21670 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
21671 (asinh): Define using libm_alias_double.
21672 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
21673 (atan): Define using libm_alias_double.
21674 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
21675 (cbrt): Define using libm_alias_double.
21676 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
21677 (ceil): Define using libm_alias_double.
21678 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
21679 (copysign): Define using libm_alias_double.
21680 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
21681 (expm1): Define using libm_alias_double.
21682 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
21683 (fabs): Define using libm_alias_double.
21684 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
21685 (fdim): Define using libm_alias_double.
21686 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
21687 (floor): Define using libm_alias_double.
21688 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
21689 (fmax): Define using libm_alias_double.
21690 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
21691 (fmin): Define using libm_alias_double.
21692 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
21693 (frexp): Define using libm_alias_double.
21694 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
21695 (llrint): Define using libm_alias_double.
21696 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
21697 (logb): Define using libm_alias_double.
21698 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
21699 (lrint): Define using libm_alias_double.
21700 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
21701 (nearbyint): Define using libm_alias_double.
21702 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
21703 (remquo): Define using libm_alias_double.
21704 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
21705 (rint): Define using libm_alias_double.
21706 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
21707 (trunc): Define using libm_alias_double.
21708 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
21709 (fmax): Define using libm_alias_double.
21710 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
21711 (fmin): Define using libm_alias_double.
21712 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
21713 (fma): Define using libm_alias_double.
21715 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
21718 * elf/dl-hwcaps.c (ROUND): Removed.
21719 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
21720 and ELF_NOTE_NEXT_OFFSET.
21721 * elf/dl-load.c (ROUND): Removed.
21722 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21723 * elf/readelflib.c (ROUND): Removed.
21724 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21725 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
21726 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
21727 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
21729 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21731 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21732 [!__fmaf] (fmaf): Define using libm_alias_float.
21734 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
21735 [!__fma] (fma): Define using libm_alias_double.
21736 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
21738 2017-11-28 Mike FABIAN <mfabian@redhat.com>
21741 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
21742 and implement the collation rules for cs from CLDR on top of that.
21743 * Makefile: Add cs_CZ.UTF-8 to test-input.
21744 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
21746 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
21748 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
21750 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21751 Icarus Sparry <icarus.w.sparry@intel.com>
21753 * benchtests/Makefile:Add BENCHSET to allow subsets of
21754 benchmarks to be run.
21755 * benchtests/README: Add documentation for: Running subsets of
21758 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21760 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
21761 range of tests names.
21763 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
21764 result from property and remove "max", min" and "mean" from
21765 required properties based on benchtests/bench-skeleton.c.
21767 2017-11-28 Florian Weimer <fweimer@redhat.com>
21770 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
21771 due to Internet requirement.
21772 * posix/Makefile (tests): Remove tst-getaddrinfo4,
21774 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
21776 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21778 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21779 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
21780 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21781 (sysdep_routines): Add memset-ultra1.
21782 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
21784 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
21785 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
21786 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
21787 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
21788 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
21789 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
21790 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
21791 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21793 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
21795 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
21796 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
21797 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
21798 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
21799 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
21800 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
21801 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
21803 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21804 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
21805 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21806 (sysdep_routines): Add memcpy-ultra1.
21807 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
21808 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
21810 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21812 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
21813 (cfloat_versions): Take function argument without trailing 'f'.
21814 Call libm_alias_float_other.
21815 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
21816 * sysdeps/alpha/fpu/cargf.c: Likewise.
21817 * sysdeps/alpha/fpu/cimagf.c: Likewise.
21818 * sysdeps/alpha/fpu/conjf.c: Likewise.
21819 * sysdeps/alpha/fpu/crealf.c: Likewise.
21820 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
21821 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
21822 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
21823 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
21824 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
21825 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
21826 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
21827 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
21828 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
21829 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
21830 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
21831 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
21832 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
21833 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
21834 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
21835 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
21836 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
21837 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
21838 (clog10f): Use libm_alias_float_other.
21839 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21840 (ceilf): Define using libm_alias_float.
21841 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
21842 (copysignf): Define using libm_alias_float.
21843 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21844 (fabsf): Define using libm_alias_float.
21845 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
21846 (floorf): Define using libm_alias_float.
21847 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
21848 (fmaxf): Define using libm_alias_float.
21849 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
21850 (fminf): Define using libm_alias_float.
21851 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21852 (lrintf): Define using libm_alias_float.
21853 (llrintf): Likewise.
21854 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21855 (lroundf): Define using libm_alias_float.
21856 (llroundf): Likewise.
21857 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
21858 (rintf): Define using libm_alias_float.
21859 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
21860 (truncf): Define using libm_alias_float.
21862 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21863 (ceilf): Define using libm_alias_float.
21864 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
21865 (floorf): Define using libm_alias_float.
21866 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21867 (fmaf): Define using libm_alias_float.
21868 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
21869 (fmaxf): Define using libm_alias_float.
21870 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
21871 (fminf): Define using libm_alias_float.
21872 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
21873 (llrintf): Define using libm_alias_float.
21874 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
21875 (llroundf): Define using libm_alias_float.
21876 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21877 (lrintf): Define using libm_alias_float.
21878 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21879 (lroundf): Define using libm_alias_float.
21880 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
21881 <libm-alias-float.h>.
21882 (nearbyintf): Define using libm_alias_float.
21883 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
21884 (rintf): Define using libm_alias_float.
21885 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
21886 (roundf): Define using libm_alias_float.
21887 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
21888 (truncf): Define using libm_alias_float.
21890 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
21891 (ceil): Define using libm_alias_double.
21892 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
21893 (copysign): Define using libm_alias_double.
21894 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
21895 (fabs): Define using libm_alias_double.
21896 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
21897 (floor): Define using libm_alias_double.
21898 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
21899 (fmax): Define using libm_alias_double.
21900 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
21901 (fmin): Define using libm_alias_double.
21902 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
21903 (lrint): Define using libm_alias_double.
21904 (llrint): Likewise.
21905 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
21906 (lround): Define using libm_alias_double.
21907 (llround): Likewise.
21908 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
21909 (rint): Define using libm_alias_double.
21910 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
21911 (trunc): Define using libm_alias_double.
21913 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
21914 (libm_alias_double_r): Add semicolon after weak_alias call.
21916 2017-11-27 Joseph Myers <joseph@codesourcery.com>
21918 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
21919 (ceil): Define using libm_alias_double.
21920 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
21921 (floor): Define using libm_alias_double.
21922 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
21923 (fma): Define using libm_alias_double.
21924 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
21925 (fmax): Define using libm_alias_double.
21926 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
21927 (fmin): Define using libm_alias_double.
21928 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
21929 (llrint): Define using libm_alias_double.
21930 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
21931 (llround): Define using libm_alias_double.
21932 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
21933 (lrint): Define using libm_alias_double.
21934 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
21935 (lround): Define using libm_alias_double.
21936 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
21937 (nearbyint): Define using libm_alias_double.
21938 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
21939 (rint): Define using libm_alias_double.
21940 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
21941 (round): Define using libm_alias_double.
21942 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
21943 (trunc): Define using libm_alias_double.
21945 2017-11-27 Florian Weimer <fweimer@redhat.com>
21947 * sysdeps/unix/sysv/linux/mlock2.c: New file.
21948 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
21949 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
21950 (tests): Add tst-mlock2.
21951 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
21952 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
21953 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
21954 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
21955 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
21956 for mlock. Document mlock2.
21958 2017-11-27 Joseph Myers <joseph@codesourcery.com>
21960 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
21961 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
21963 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
21965 * sysdeps/x86/Makeconfig: New file.
21966 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
21967 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21968 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
21969 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21970 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21971 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21972 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
21974 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21975 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21976 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21977 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21978 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21979 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21980 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21981 * manual/math.texi (Mathematics): Document support for _Float64x.
21982 * math/Versions (GLIBC_2.27): Add _Float64x functions.
21983 * stdlib/Versions (GLIBC_2.27): Likewise.
21984 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21985 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21986 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21987 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21988 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21989 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21990 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21991 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21992 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21993 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21994 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21995 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22000 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22001 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22002 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22003 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22004 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22005 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22006 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22007 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22008 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22009 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22010 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22011 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22012 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22013 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22015 2017-11-27 Andreas Schwab <schwab@suse.de>
22017 * elf/Makefile (dl-routines): Add dl-sort-maps.
22018 * elf/dl-sort-maps.c: New file.
22019 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
22020 (_dl_sort_maps): Declare.
22021 * elf/dl-fini.c (_dl_sort_fini): Remove.
22022 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
22023 * elf/dl-close.c (_dl_close_worker): Likewise.
22024 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
22026 * elf/dl-open.c (dl_open_worker): Likewise.
22028 2017-11-24 Joseph Myers <joseph@codesourcery.com>
22030 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
22031 using libm_alias_float128.
22032 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
22034 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
22036 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
22037 (setpayloadsigf128): Likewise.
22038 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
22040 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
22043 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
22044 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
22045 -mfloat128 to CFLAGS.
22047 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
22049 (CFLAGS-libm-test-support-float64x.c): New variable.
22050 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
22051 $(f128-loader-link) to gnulib-tests.
22053 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
22054 (libm_alias_float128_other_r): If
22055 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
22057 (libm_alias_float128_r): Add semicolon after weak_alias call.
22058 * sysdeps/generic/libm-alias-ldouble.h
22059 (libm_alias_ldouble_other_r_f128): New macro.
22060 (libm_alias_ldouble_other_r_f64x): Likewise.
22061 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22062 and libm_alias_ldouble_other_r_f64x.
22063 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
22064 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
22065 (libm_alias_ldouble_other_r_f128): New macro.
22066 (libm_alias_ldouble_other_r_f64x): Likewise.
22067 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22068 and libm_alias_ldouble_other_r_f64x.
22070 * stdlib/strfroml.c: Always include <stdlib.h>.
22071 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
22072 undefine as macro and define as weak alias.
22073 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
22074 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
22076 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
22077 Define and later undefine as macro and define as weak alias.
22079 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22080 Define and later undefine as macro. Define as weak alias if
22082 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
22083 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22084 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
22085 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22086 Define and later undefine as macro. Define as weak alias if
22088 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
22089 Define and later undefine as macro. Define as weak alias if
22091 * sysdeps/ieee754/float128/strtof128_l.c
22092 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
22093 Define and later undefine as macro. Define as weak alias if
22095 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
22096 Define and later undefine as macro. Define as weak alias if
22098 * sysdeps/ieee754/ldbl-128/strtold_l.c
22099 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22100 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22101 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22102 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22103 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
22104 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22105 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22106 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22107 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22108 * sysdeps/ieee754/ldbl-96/strtold_l.c
22109 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22110 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22111 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22112 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22114 * math/test-float64x.h: New file.
22115 * math/Makefile (type-float64x-yes): New variable.
22116 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
22118 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
22119 function-like macro.
22120 (min_of_type_): Likewise.
22121 (min_of_type_l): Likewise.
22122 (min_of_type_f128): Likewise.
22123 (min_of_type): Pass () as last argument of __MATH_TG.
22125 * stdlib/tst-strtod-round-skeleton.c
22126 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
22129 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
22130 for combinations of long double with _Float64 and _Float64x.
22132 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
22133 (__DECL_SIMD_cosf32): Likewise.
22134 (__DECL_SIMD_cosf64): Likewise.
22135 (__DECL_SIMD_cosf32x): Likewise.
22136 (__DECL_SIMD_cosf64x): Likewise.
22137 (__DECL_SIMD_cosf128x): Likewise.
22138 (__DECL_SIMD_sinf16): Likewise.
22139 (__DECL_SIMD_sinf32): Likewise.
22140 (__DECL_SIMD_sinf64): Likewise.
22141 (__DECL_SIMD_sinf32x): Likewise.
22142 (__DECL_SIMD_sinf64x): Likewise.
22143 (__DECL_SIMD_sinf128x): Likewise.
22144 (__DECL_SIMD_sincosf16): Likewise.
22145 (__DECL_SIMD_sincosf32): Likewise.
22146 (__DECL_SIMD_sincosf64): Likewise.
22147 (__DECL_SIMD_sincosf32x): Likewise.
22148 (__DECL_SIMD_sincosf64x): Likewise.
22149 (__DECL_SIMD_sincosf128x): Likewise.
22150 (__DECL_SIMD_logf16): Likewise.
22151 (__DECL_SIMD_logf32): Likewise.
22152 (__DECL_SIMD_logf64): Likewise.
22153 (__DECL_SIMD_logf32x): Likewise.
22154 (__DECL_SIMD_logf64x): Likewise.
22155 (__DECL_SIMD_logf128x): Likewise.
22156 (__DECL_SIMD_expf16): Likewise.
22157 (__DECL_SIMD_expf32): Likewise.
22158 (__DECL_SIMD_expf64): Likewise.
22159 (__DECL_SIMD_expf32x): Likewise.
22160 (__DECL_SIMD_expf64x): Likewise.
22161 (__DECL_SIMD_expf128x): Likewise.
22162 (__DECL_SIMD_powf16): Likewise.
22163 (__DECL_SIMD_powf32): Likewise.
22164 (__DECL_SIMD_powf64): Likewise.
22165 (__DECL_SIMD_powf32x): Likewise.
22166 (__DECL_SIMD_powf64x): Likewise.
22167 (__DECL_SIMD_powf128x): Likewise.
22169 * stdlib/Versions (libc): Move entries for wcstof128 and
22170 wcstof128_l to ....
22171 * wcsmbs/Versions (libc): ... here.
22172 Include <float128-abi.h>.
22174 2017-11-24 Florian Weimer <fweimer@redhat.com>
22176 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22177 bits/mman-shared.h.
22178 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
22179 <bits/mman-shared.h>.
22180 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
22182 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
22183 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
22184 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
22185 <bits/mman-shared.h>.
22187 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22190 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
22191 posix_memalign/free.
22192 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
22194 2017-11-22 Mike FABIAN <mfabian@redhat.com>
22197 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
22198 and implement the collation rules for pl from CLDR on top of that.
22199 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
22200 of locales to be built for testing.
22201 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
22203 2017-11-23 Joseph Myers <joseph@codesourcery.com>
22205 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
22206 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
22207 libm_alias_ldouble_other.
22208 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
22209 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
22210 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
22211 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
22212 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
22213 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
22214 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
22215 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
22216 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
22217 libm_alias_ldouble_r.
22218 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
22219 libm_alias_ldouble_other.
22220 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
22221 (log10l): Likewise.
22222 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
22223 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
22224 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
22225 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
22226 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
22227 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
22228 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
22229 (atan2l): Likewise.
22230 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
22231 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
22232 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
22233 libm_alias_ldouble.
22234 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
22236 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
22237 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
22238 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
22240 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
22241 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
22242 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
22243 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
22244 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
22245 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
22246 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
22247 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
22248 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
22249 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
22250 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
22251 libm_alias_ldouble.
22252 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
22253 libm_alias_ldouble_other.
22254 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
22255 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
22256 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
22257 libm_alias_ldouble.
22258 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
22259 libm_alias_ldouble_other.
22260 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
22261 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
22262 * sysdeps/ia64/fpu/w_lgammal_main.c
22263 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
22264 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
22266 2017-11-23 Florian Weimer <fweimer@redhat.com>
22268 * malloc/malloc.c (tcache_thread_shutdown): Rename from
22269 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
22270 alike. Remove freeres marker.
22271 * malloc/arena.c (arena_thread_freeres): Call
22272 tcache_thread_shutdown.
22274 2017-11-23 Florian Weimer <fweimer@redhat.com>
22277 Export nscd hash function as __nss_hash.
22278 * include/nss.h (__nss_hash): Declare.
22279 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
22281 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
22282 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
22284 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
22285 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
22286 * nss/Makefiles (routines): Add nss_hash.
22287 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
22288 * nss/nss_hash.c: Rename from nis/nis_hash.c.
22289 (__nss_hash): Rename from __nis_hash. Define hidden alias.
22290 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
22292 2017-11-23 Florian Weimer <fweimer@redhat.com>
22295 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
22296 Return error code, not -1.
22297 * signal/tst-sigwait-eintr.c: New file.
22298 * signal/Makefile (tests): Add tst-sigwait-eintr.
22300 2017-11-23 Florian Weimer <fweimer@redhat.com>
22302 Linux: Add memfd_create system call wrapper
22303 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
22305 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
22306 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
22307 [__USE_GNU] (memfd_create): Declare.
22308 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
22309 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
22310 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
22311 * sysdeps/unix/sysv/linux/**.abilist: Update.
22312 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
22314 2017-11-22 Joseph Myers <joseph@codesourcery.com>
22316 * localedata/gen-locale.sh: Fix typo in variable name.
22318 * resolv/res_debug.c (p_secstodate): Condition definition on
22319 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
22320 directly as __p_secstodate, and as a compat symbol. Do not use
22321 libresolv_hidden_def.
22322 * resolv/resolv.h (p_secstodate): Remove macro and function
22324 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
22325 using p_secstodate.
22326 * include/resolv.h (__p_secstodate): Do not use
22327 libresolv_hidden_proto.
22328 * resolv/Makefile (tests): Move tst-p_secstodate to ....
22329 (tests-internal): ... here.
22330 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
22331 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
22332 and declare and use __p_secstodate and use compat_symbol_reference
22334 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
22335 implementation returning 77.
22338 * resolv/res_debug.c: Include <libc-diag.h>.
22339 (p_secstodate): Assert time_t at least as wide as u_long. On
22340 overflow, use integer seconds since the epoch as output, or use
22341 "<overflow>" as output and set errno to EOVERFLOW if integer
22342 seconds since the epoch would be 14 or more characters.
22343 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
22345 * resolv/tst-p_secstodate.c: New file.
22346 * resolv/Makefile (tests): Add tst-p_secstodate.
22347 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
22349 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
22350 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
22351 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
22353 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
22355 * posix/regcomp.c (init_word_char): Add comments.
22357 2017-11-22 Joseph Myers <joseph@codesourcery.com>
22360 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
22361 strlen to compute length of ut_user and set trailing NUL byte of
22364 2017-11-21 Mike FABIAN <mfabian@redhat.com>
22367 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
22368 using “copy "iso14651_t1"” and then implementing the
22369 collation rules for lv from CLDR on top of that.
22370 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
22371 of locales to be built for testing.
22372 * lv_LV.UTF-8.in: New file with test data to test the Latvian
22375 2017-11-21 Joseph Myers <joseph@codesourcery.com>
22377 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22378 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
22379 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
22380 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
22381 [__USE_MISC] (MADV_HWPOISON): New macro.
22382 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
22384 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22386 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
22387 -Wmissing-braces on GCC 4.9.
22389 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22391 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
22392 * sysdeps/s390/s390-32/start.S (_start): Likewise
22393 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
22394 (thread_start): Likewise.
22395 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
22396 (thread_start): Likewise.
22397 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
22398 (__makecontext_ret): Likewise.
22399 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
22400 (__makecontext_ret): Likewise.
22402 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22404 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
22405 __wcschrnul): Remove attribute_hidden.
22407 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
22409 regex: don't assume uint64_t or uint32_t
22410 This avoids -Werror=overflow errors for 32-bit systems in
22411 the 64-bit case. Problem reported by Joseph Myers in:
22412 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
22413 Also, when this code is used in Gnulib it ports to platforms
22414 that lack uint64_t and uint32_t. The C standard doesn't guarantee
22415 them, and on some 32-bit compilers there is no uint64_t.
22416 Problem reported by Gianluigi Tiesi in:
22417 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
22418 * posix/regcomp.c (init_word_char): Don't assume that the types
22419 uint64_t and uint32_t exist. Adapted from Gnulib patch
22420 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
22421 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
22423 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
22425 * sysdeps/aarch64/memset-reg.h: New file.
22426 * sysdeps/aarch64/memset.S: Use it.
22427 (__memset): Rename to MEMSET macro.
22428 [ZVA_MACRO]: Use zva_macro.
22429 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
22430 Add memset_generic and memset_falkor.
22431 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
22432 (__libc_ifunc_impl_list): Add memset ifuncs.
22433 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
22434 local variable zva_size.
22435 * sysdeps/aarch64/multiarch/memset.c: New file.
22436 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
22437 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
22438 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
22439 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
22440 (DCZID_DZP_MASK): New macro.
22441 (DCZID_BS_MASK): Likewise.
22442 (init_cpu_features): Read and set zva_size.
22443 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
22444 (struct cpu_features): New member zva_size.
22446 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
22447 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
22448 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
22450 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
22451 backwards. Fix timing computation.
22452 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
22453 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
22454 on memset by N at a time. Fix timing computation.
22456 2017-11-20 Florian Weimer <fweimer@redhat.com>
22458 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
22459 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
22461 2017-11-19 Florian Weimer <fweimer@redhat.com>
22463 manual: Document mprotect
22464 * manual/memory.texi (Memory Protection): New section.
22465 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
22466 documentation of PROT_* flags and reference the Memory Protection
22469 2017-11-19 Florian Weimer <fweimer@redhat.com>
22471 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
22472 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
22473 (Scatter-Gather): ... to here. Remove misleading comment.
22475 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
22477 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
22480 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
22481 when /proc/<pid>/setgroups does not exist.
22483 2017-11-18 Florian Weimer <fweimer@redhat.com>
22485 * sysdeps/unix/sysv/linux/tst-ttyname.c
22486 (become_root_in_mount_ns): Remove.
22487 (do_in_chroot_1): Call support_enter_mount_namespace.
22488 (do_in_chroot_2): Likewise.
22489 (do_test): Call support_become_root early.
22491 2017-11-18 Florian Weimer <fweimer@redhat.com>
22493 * support/namespace.h (support_enter_mount_namespace): Declare.
22494 * support/support_enter_mount_namespace.c: New file.
22495 * support/Makefile (libsupport-routines): Add
22496 support_enter_mount_namespace.
22498 2017-11-18 Florian Weimer <fweimer@redhat.com>
22500 * support/temp_file.c (support_create_temp_directory): Use
22501 test_dir and do not rely on the presence of the XXXXXX suffix.
22502 * support/temp_file.h (support_create_temp_directory): Update
22504 * support/tst-xreadlink.c (do_test): Adjust.
22505 * support/support_chroot.c (support_chroot_create): Likewise.
22507 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22509 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
22511 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
22514 2017-11-17 Joseph Myers <joseph@codesourcery.com>
22516 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22517 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22518 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22519 (ceill): Define using libm_alias_ldouble.
22520 * sysdeps/x86_64/fpu/s_copysignl.S: Include
22521 <libm-alias-ldouble.h>.
22522 (copysignl): Define using libm_alias_ldouble.
22523 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22524 (fabsl): Define using libm_alias_ldouble.
22525 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22526 (floorl): Define using libm_alias_ldouble.
22527 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22528 (fmaxl): Define using libm_alias_ldouble.
22529 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22530 (fminl): Define using libm_alias_ldouble.
22531 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22532 (llrintl): Define using libm_alias_ldouble.
22533 (lrintl): Likewise.
22534 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
22535 <libm-alias-ldouble.h>.
22536 (nearbyintl): Define using libm_alias_ldouble.
22537 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22538 (truncl): Define using libm_alias_ldouble.
22539 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
22540 <libm-alias-ldouble.h>.
22541 (lrintl): Define using libm_alias_ldouble.
22543 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22544 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22545 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
22546 (asinhl): Define using libm_alias_ldouble.
22547 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
22548 (atanl): Define using libm_alias_ldouble.
22549 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
22550 (cbrtl): Define using libm_alias_ldouble.
22551 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22552 (ceill): Define using libm_alias_ldouble.
22553 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
22554 (copysignl): Define using libm_alias_ldouble.
22555 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22556 (fabsl): Define using libm_alias_ldouble.
22557 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22558 (floorl): Define using libm_alias_ldouble.
22559 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22560 (fmaxl): Define using libm_alias_ldouble.
22561 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22562 (fminl): Define using libm_alias_ldouble.
22563 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
22564 (frexpl): Define using libm_alias_ldouble.
22565 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22566 (llrintl): Define using libm_alias_ldouble.
22567 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
22568 (logbl): Define using libm_alias_ldouble.
22569 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
22570 (lrintl): Define using libm_alias_ldouble.
22571 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
22572 (nearbyintl): Define using libm_alias_ldouble.
22573 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
22574 (nextafterl): Define using libm_alias_ldouble.
22575 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
22576 (remquol): Define using libm_alias_ldouble.
22577 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
22578 (rintl): Define using libm_alias_ldouble.
22579 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22580 (truncl): Define using libm_alias_ldouble.
22581 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22582 (fmaxl): Define using libm_alias_ldouble.
22583 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22584 (fminl): Define using libm_alias_ldouble.
22586 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
22587 to C syntax instead of availability and properties of types.
22588 * bits/floatn.h [!__ASSEMBLER]: Likewise.
22589 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
22590 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
22591 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
22592 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
22593 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
22595 2017-11-17 Florian Weimer <fweimer@redhat.com>
22597 support_become_root: Enable file creation in namespaces.
22598 * support/support_become_root.c (setup_mapping): New function.
22599 (support_become_root): Call it.
22601 2017-11-17 Joseph Myers <joseph@codesourcery.com>
22603 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
22606 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22608 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
22609 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
22611 2017-11-16 Joseph Myers <joseph@codesourcery.com>
22613 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
22615 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
22618 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
22620 * INSTALL: Fix botched up regeneration.
22622 * NEWS: Update sourceare link to https.
22623 * configure.ac: Likewise.
22624 * crypt/md5test-giant.c: Likewise.
22625 * dlfcn/bug-atexit1.c: Likewise.
22626 * dlfcn/bug-atexit2.c: Likewise.
22627 * localedata/README: Likewise.
22628 * malloc/tst-mallocfork.c: Likewise.
22629 * manual/install.texi: Likewise.
22630 * nptl/tst-pthread-getattr.c: Likewise.
22631 * stdio-common/tst-fgets.c: Likewise.
22632 * stdio-common/tst-fwrite.c: Likewise.
22633 * sunrpc/Makefile: Likewise.
22634 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
22635 * wcsmbs/tst-mbrtowc2.c: Likewise.
22636 * configure: Regenerate.
22637 * INSTALL: Regenerate.
22639 2017-11-15 Martin Sebor <msebor@redhat.com>
22641 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
22642 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
22643 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
22645 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22648 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
22649 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
22652 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
22653 Defer is_pty check until end of the function.
22654 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22657 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
22658 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
22659 (ttyname): Likewise.
22660 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
22661 (__ttyname_r): Likewise.
22663 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
22666 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
22668 * manual/terminal.texi (Is It a Terminal):
22669 Mention ENODEV for ttyname and ttyname_r.
22671 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22673 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
22674 constant and macro.
22676 * sysdeps/unix/sysv/linux/bits/mman-linux.h
22677 [__USE_MISC] (MADV_WIPEONFORK): New macro.
22678 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22679 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22680 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
22681 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22683 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22685 * signal/sigrelse.c (sigrelse): Optimize implementation.
22687 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
22688 (__sigpause): Rely on __sigsuspend to implement single thread
22689 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
22691 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22693 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22694 kernel version to 4.14.
22696 2017-11-15 Steve Ellcey <sellcey@cavium.com>
22699 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
22700 Check if ifname is too long.
22702 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22704 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
22706 2017-11-15 Mike FABIAN <mfabian@redhat.com>
22708 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
22709 was accidentally lost.
22711 2017-11-15 Mike FABIAN <mfabian@redhat.com>
22713 * localedata/locales/az_IR: Add standard copyright header.
22715 2017-11-15 Florian Weimer <fweimer@redhat.com>
22718 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
22719 not just the top one. Output a new "subheaps" statistic.
22721 2017-11-15 Florian Weimer <fweimer@redhat.com>
22724 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
22725 under the per-arena lock.
22726 * malloc/Makefile (tests): Add tst-malloc_info.
22727 (tst-malloc_info): Link with libpthread.
22728 * malloc/tst-malloc_info.c: New file.
22730 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22733 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
22734 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
22735 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
22736 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
22737 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
22738 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
22739 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
22740 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
22741 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
22742 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
22743 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
22744 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
22745 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
22746 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
22747 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
22748 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
22749 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
22750 (__floating_type): Likewise.
22751 (__real_integer_type): Likewise.
22752 (__complex_integer_type): Likewise.
22753 (__expr_is_real): Likewise.
22754 (__tgmath_real_type_sub): Likewise.
22755 (__tgmath_real_type): Likewise.
22756 (__tgmath_complex_type_sub): Likewise.
22757 (__tgmath_complex_type): Likewise.
22758 (__TGMATH_F128): Likewise.
22759 (__TGMATH_CF128): Likewise.
22760 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
22762 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
22763 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
22765 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
22767 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
22768 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
22769 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
22770 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
22772 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
22773 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
22775 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
22776 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
22777 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
22779 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
22780 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
22781 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
22785 2017-11-14 Joseph Myers <joseph@codesourcery.com>
22787 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
22788 for stpncpy calls for GCC 8.
22789 (test_strncat): Disable -Wstringop-truncation warning for strncat
22790 calls for GCC 8. Disable -Wstringop-overflow= warning for one
22791 strncat call for GCC 7.
22792 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
22794 (test_memcmp): Use memcpy instead of strncpy for calls not copying
22797 * string/bug-strncat1.c: Include <libc-diag.h>.
22798 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
22800 2017-11-13 Claude Paroz <claude@2xlibre.net>
22803 * localedata/locales/aa_DJ: Improved readibility by replacing
22804 <Uxxxx> sequences in the ASCII printable range by their ASCII
22805 character equivalents.
22806 * localedata/locales/aa_ER: Likewise.
22807 * localedata/locales/aa_ER@saaho: Likewise.
22808 * localedata/locales/aa_ET: Likewise.
22809 * localedata/locales/af_ZA: Likewise.
22810 * localedata/locales/agr_PE: Likewise.
22811 * localedata/locales/ak_GH: Likewise.
22812 * localedata/locales/am_ET: Likewise.
22813 * localedata/locales/anp_IN: Likewise.
22814 * localedata/locales/ar_AE: Likewise.
22815 * localedata/locales/ar_BH: Likewise.
22816 * localedata/locales/ar_DZ: Likewise.
22817 * localedata/locales/ar_EG: Likewise.
22818 * localedata/locales/ar_IN: Likewise.
22819 * localedata/locales/ar_IQ: Likewise.
22820 * localedata/locales/ar_JO: Likewise.
22821 * localedata/locales/ar_KW: Likewise.
22822 * localedata/locales/ar_LB: Likewise.
22823 * localedata/locales/ar_LY: Likewise.
22824 * localedata/locales/ar_MA: Likewise.
22825 * localedata/locales/ar_OM: Likewise.
22826 * localedata/locales/ar_QA: Likewise.
22827 * localedata/locales/ar_SA: Likewise.
22828 * localedata/locales/ar_SD: Likewise.
22829 * localedata/locales/ar_SS: Likewise.
22830 * localedata/locales/ar_SY: Likewise.
22831 * localedata/locales/ar_TN: Likewise.
22832 * localedata/locales/ar_YE: Likewise.
22833 * localedata/locales/as_IN: Likewise.
22834 * localedata/locales/ast_ES: Likewise.
22835 * localedata/locales/ayc_PE: Likewise.
22836 * localedata/locales/az_AZ: Likewise.
22837 * localedata/locales/az_IR: Likewise.
22838 * localedata/locales/be_BY: Likewise.
22839 * localedata/locales/be_BY@latin: Likewise.
22840 * localedata/locales/bem_ZM: Likewise.
22841 * localedata/locales/ber_DZ: Likewise.
22842 * localedata/locales/ber_MA: Likewise.
22843 * localedata/locales/bg_BG: Likewise.
22844 * localedata/locales/bhb_IN: Likewise.
22845 * localedata/locales/bho_IN: Likewise.
22846 * localedata/locales/bi_VU: Likewise.
22847 * localedata/locales/bn_BD: Likewise.
22848 * localedata/locales/bn_IN: Likewise.
22849 * localedata/locales/bo_CN: Likewise.
22850 * localedata/locales/bo_IN: Likewise.
22851 * localedata/locales/br_FR: Likewise.
22852 * localedata/locales/brx_IN: Likewise.
22853 * localedata/locales/bs_BA: Likewise.
22854 * localedata/locales/byn_ER: Likewise.
22855 * localedata/locales/ca_AD: Likewise.
22856 * localedata/locales/ca_ES: Likewise.
22857 * localedata/locales/ca_FR: Likewise.
22858 * localedata/locales/ca_IT: Likewise.
22859 * localedata/locales/ce_RU: Likewise.
22860 * localedata/locales/chr_US: Likewise.
22861 * localedata/locales/cmn_TW: Likewise.
22862 * localedata/locales/crh_UA: Likewise.
22863 * localedata/locales/cs_CZ: Likewise.
22864 * localedata/locales/csb_PL: Likewise.
22865 * localedata/locales/cv_RU: Likewise.
22866 * localedata/locales/cy_GB: Likewise.
22867 * localedata/locales/da_DK: Likewise.
22868 * localedata/locales/de_AT: Likewise.
22869 * localedata/locales/de_BE: Likewise.
22870 * localedata/locales/de_CH: Likewise.
22871 * localedata/locales/de_DE: Likewise.
22872 * localedata/locales/de_IT: Likewise.
22873 * localedata/locales/de_LI: Likewise.
22874 * localedata/locales/de_LU: Likewise.
22875 * localedata/locales/doi_IN: Likewise.
22876 * localedata/locales/dv_MV: Likewise.
22877 * localedata/locales/dz_BT: Likewise.
22878 * localedata/locales/el_CY: Likewise.
22879 * localedata/locales/el_GR: Likewise.
22880 * localedata/locales/en_AG: Likewise.
22881 * localedata/locales/en_AU: Likewise.
22882 * localedata/locales/en_BW: Likewise.
22883 * localedata/locales/en_CA: Likewise.
22884 * localedata/locales/en_DK: Likewise.
22885 * localedata/locales/en_GB: Likewise.
22886 * localedata/locales/en_HK: Likewise.
22887 * localedata/locales/en_IE: Likewise.
22888 * localedata/locales/en_IL: Likewise.
22889 * localedata/locales/en_IN: Likewise.
22890 * localedata/locales/en_NG: Likewise.
22891 * localedata/locales/en_NZ: Likewise.
22892 * localedata/locales/en_PH: Likewise.
22893 * localedata/locales/en_SG: Likewise.
22894 * localedata/locales/en_US: Likewise.
22895 * localedata/locales/en_ZA: Likewise.
22896 * localedata/locales/en_ZM: Likewise.
22897 * localedata/locales/en_ZW: Likewise.
22898 * localedata/locales/eo: Likewise.
22899 * localedata/locales/es_AR: Likewise.
22900 * localedata/locales/es_BO: Likewise.
22901 * localedata/locales/es_CL: Likewise.
22902 * localedata/locales/es_CO: Likewise.
22903 * localedata/locales/es_CR: Likewise.
22904 * localedata/locales/es_CU: Likewise.
22905 * localedata/locales/es_DO: Likewise.
22906 * localedata/locales/es_EC: Likewise.
22907 * localedata/locales/es_ES: Likewise.
22908 * localedata/locales/es_GT: Likewise.
22909 * localedata/locales/es_HN: Likewise.
22910 * localedata/locales/es_MX: Likewise.
22911 * localedata/locales/es_NI: Likewise.
22912 * localedata/locales/es_PA: Likewise.
22913 * localedata/locales/es_PE: Likewise.
22914 * localedata/locales/es_PR: Likewise.
22915 * localedata/locales/es_PY: Likewise.
22916 * localedata/locales/es_SV: Likewise.
22917 * localedata/locales/es_US: Likewise.
22918 * localedata/locales/es_UY: Likewise.
22919 * localedata/locales/es_VE: Likewise.
22920 * localedata/locales/et_EE: Likewise.
22921 * localedata/locales/eu_ES: Likewise.
22922 * localedata/locales/eu_ES@euro: Likewise.
22923 * localedata/locales/fa_IR: Likewise.
22924 * localedata/locales/ff_SN: Likewise.
22925 * localedata/locales/fi_FI: Likewise.
22926 * localedata/locales/fil_PH: Likewise.
22927 * localedata/locales/fo_FO: Likewise.
22928 * localedata/locales/fr_BE: Likewise.
22929 * localedata/locales/fr_CA: Likewise.
22930 * localedata/locales/fr_CH: Likewise.
22931 * localedata/locales/fr_FR: Likewise.
22932 * localedata/locales/fr_LU: Likewise.
22933 * localedata/locales/fur_IT: Likewise.
22934 * localedata/locales/fy_DE: Likewise.
22935 * localedata/locales/fy_NL: Likewise.
22936 * localedata/locales/ga_IE: Likewise.
22937 * localedata/locales/gd_GB: Likewise.
22938 * localedata/locales/gez_ER: Likewise.
22939 * localedata/locales/gez_ET: Likewise.
22940 * localedata/locales/gl_ES: Likewise.
22941 * localedata/locales/gu_IN: Likewise.
22942 * localedata/locales/gv_GB: Likewise.
22943 * localedata/locales/ha_NG: Likewise.
22944 * localedata/locales/hak_TW: Likewise.
22945 * localedata/locales/he_IL: Likewise.
22946 * localedata/locales/hi_IN: Likewise.
22947 * localedata/locales/hif_FJ: Likewise.
22948 * localedata/locales/hne_IN: Likewise.
22949 * localedata/locales/hr_HR: Likewise.
22950 * localedata/locales/hsb_DE: Likewise.
22951 * localedata/locales/ht_HT: Likewise.
22952 * localedata/locales/hu_HU: Likewise.
22953 * localedata/locales/hy_AM: Likewise.
22954 * localedata/locales/i18n: Likewise.
22955 * localedata/locales/ia_FR: Likewise.
22956 * localedata/locales/id_ID: Likewise.
22957 * localedata/locales/ig_NG: Likewise.
22958 * localedata/locales/ik_CA: Likewise.
22959 * localedata/locales/is_IS: Likewise.
22960 * localedata/locales/it_CH: Likewise.
22961 * localedata/locales/it_IT: Likewise.
22962 * localedata/locales/iu_CA: Likewise.
22963 * localedata/locales/ja_JP: Likewise.
22964 * localedata/locales/ka_GE: Likewise.
22965 * localedata/locales/kk_KZ: Likewise.
22966 * localedata/locales/kl_GL: Likewise.
22967 * localedata/locales/kn_IN: Likewise.
22968 * localedata/locales/ko_KR: Likewise.
22969 * localedata/locales/kok_IN: Likewise.
22970 * localedata/locales/ks_IN: Likewise.
22971 * localedata/locales/ks_IN@devanagari: Likewise.
22972 * localedata/locales/ku_TR: Likewise.
22973 * localedata/locales/kw_GB: Likewise.
22974 * localedata/locales/ky_KG: Likewise.
22975 * localedata/locales/lb_LU: Likewise.
22976 * localedata/locales/lg_UG: Likewise.
22977 * localedata/locales/li_BE: Likewise.
22978 * localedata/locales/li_NL: Likewise.
22979 * localedata/locales/lij_IT: Likewise.
22980 * localedata/locales/ln_CD: Likewise.
22981 * localedata/locales/lo_LA: Likewise.
22982 * localedata/locales/lt_LT: Likewise.
22983 * localedata/locales/lv_LV: Likewise.
22984 * localedata/locales/lzh_TW: Likewise.
22985 * localedata/locales/mag_IN: Likewise.
22986 * localedata/locales/mai_IN: Likewise.
22987 * localedata/locales/mg_MG: Likewise.
22988 * localedata/locales/mhr_RU: Likewise.
22989 * localedata/locales/mi_NZ: Likewise.
22990 * localedata/locales/mk_MK: Likewise.
22991 * localedata/locales/ml_IN: Likewise.
22992 * localedata/locales/mn_MN: Likewise.
22993 * localedata/locales/mni_IN: Likewise.
22994 * localedata/locales/mr_IN: Likewise.
22995 * localedata/locales/ms_MY: Likewise.
22996 * localedata/locales/mt_MT: Likewise.
22997 * localedata/locales/my_MM: Likewise.
22998 * localedata/locales/nan_TW: Likewise.
22999 * localedata/locales/nan_TW@latin: Likewise.
23000 * localedata/locales/nb_NO: Likewise.
23001 * localedata/locales/nds_DE: Likewise.
23002 * localedata/locales/nds_NL: Likewise.
23003 * localedata/locales/ne_NP: Likewise.
23004 * localedata/locales/nhn_MX: Likewise.
23005 * localedata/locales/niu_NU: Likewise.
23006 * localedata/locales/niu_NZ: Likewise.
23007 * localedata/locales/nl_AW: Likewise.
23008 * localedata/locales/nl_BE: Likewise.
23009 * localedata/locales/nl_NL: Likewise.
23010 * localedata/locales/nn_NO: Likewise.
23011 * localedata/locales/nr_ZA: Likewise.
23012 * localedata/locales/nso_ZA: Likewise.
23013 * localedata/locales/oc_FR: Likewise.
23014 * localedata/locales/om_ET: Likewise.
23015 * localedata/locales/om_KE: Likewise.
23016 * localedata/locales/or_IN: Likewise.
23017 * localedata/locales/os_RU: Likewise.
23018 * localedata/locales/pa_IN: Likewise.
23019 * localedata/locales/pa_PK: Likewise.
23020 * localedata/locales/pap_AW: Likewise.
23021 * localedata/locales/pap_CW: Likewise.
23022 * localedata/locales/pl_PL: Likewise.
23023 * localedata/locales/ps_AF: Likewise.
23024 * localedata/locales/pt_BR: Likewise.
23025 * localedata/locales/pt_PT: Likewise.
23026 * localedata/locales/quz_PE: Likewise.
23027 * localedata/locales/raj_IN: Likewise.
23028 * localedata/locales/ro_RO: Likewise.
23029 * localedata/locales/ru_RU: Likewise.
23030 * localedata/locales/ru_UA: Likewise.
23031 * localedata/locales/rw_RW: Likewise.
23032 * localedata/locales/sa_IN: Likewise.
23033 * localedata/locales/sat_IN: Likewise.
23034 * localedata/locales/sc_IT: Likewise.
23035 * localedata/locales/sd_IN: Likewise.
23036 * localedata/locales/sd_IN@devanagari: Likewise.
23037 * localedata/locales/se_NO: Likewise.
23038 * localedata/locales/sgs_LT: Likewise.
23039 * localedata/locales/shs_CA: Likewise.
23040 * localedata/locales/si_LK: Likewise.
23041 * localedata/locales/sid_ET: Likewise.
23042 * localedata/locales/sk_SK: Likewise.
23043 * localedata/locales/sl_SI: Likewise.
23044 * localedata/locales/sm_WS: Likewise.
23045 * localedata/locales/so_DJ: Likewise.
23046 * localedata/locales/so_ET: Likewise.
23047 * localedata/locales/so_KE: Likewise.
23048 * localedata/locales/so_SO: Likewise.
23049 * localedata/locales/sq_AL: Likewise.
23050 * localedata/locales/sq_MK: Likewise.
23051 * localedata/locales/sr_ME: Likewise.
23052 * localedata/locales/sr_RS: Likewise.
23053 * localedata/locales/sr_RS@latin: Likewise.
23054 * localedata/locales/ss_ZA: Likewise.
23055 * localedata/locales/st_ZA: Likewise.
23056 * localedata/locales/sv_FI: Likewise.
23057 * localedata/locales/sv_SE: Likewise.
23058 * localedata/locales/sw_KE: Likewise.
23059 * localedata/locales/sw_TZ: Likewise.
23060 * localedata/locales/szl_PL: Likewise.
23061 * localedata/locales/ta_IN: Likewise.
23062 * localedata/locales/ta_LK: Likewise.
23063 * localedata/locales/tcy_IN: Likewise.
23064 * localedata/locales/te_IN: Likewise.
23065 * localedata/locales/tg_TJ: Likewise.
23066 * localedata/locales/th_TH: Likewise.
23067 * localedata/locales/the_NP: Likewise.
23068 * localedata/locales/ti_ER: Likewise.
23069 * localedata/locales/ti_ET: Likewise.
23070 * localedata/locales/tig_ER: Likewise.
23071 * localedata/locales/tk_TM: Likewise.
23072 * localedata/locales/tl_PH: Likewise.
23073 * localedata/locales/tn_ZA: Likewise.
23074 * localedata/locales/to_TO: Likewise.
23075 * localedata/locales/tpi_PG: Likewise.
23076 * localedata/locales/tr_CY: Likewise.
23077 * localedata/locales/tr_TR: Likewise.
23078 * localedata/locales/ts_ZA: Likewise.
23079 * localedata/locales/tt_RU: Likewise.
23080 * localedata/locales/tt_RU@iqtelif: Likewise.
23081 * localedata/locales/ug_CN: Likewise.
23082 * localedata/locales/uk_UA: Likewise.
23083 * localedata/locales/unm_US: Likewise.
23084 * localedata/locales/ur_IN: Likewise.
23085 * localedata/locales/ur_PK: Likewise.
23086 * localedata/locales/uz_UZ: Likewise.
23087 * localedata/locales/uz_UZ@cyrillic: Likewise.
23088 * localedata/locales/ve_ZA: Likewise.
23089 * localedata/locales/vi_VN: Likewise.
23090 * localedata/locales/wa_BE: Likewise.
23091 * localedata/locales/wae_CH: Likewise.
23092 * localedata/locales/wal_ET: Likewise.
23093 * localedata/locales/wo_SN: Likewise.
23094 * localedata/locales/xh_ZA: Likewise.
23095 * localedata/locales/yi_US: Likewise.
23096 * localedata/locales/yo_NG: Likewise.
23097 * localedata/locales/yue_HK: Likewise.
23098 * localedata/locales/yuw_PG: Likewise.
23099 * localedata/locales/zh_CN: Likewise.
23100 * localedata/locales/zh_HK: Likewise.
23101 * localedata/locales/zh_SG: Likewise.
23102 * localedata/locales/zh_TW: Likewise.
23103 * localedata/locales/zu_ZA: Likewise.
23105 2017-11-13 Florian Weimer <fweimer@redhat.com>
23107 * support/next_to_fault.h, support/next_to_fault.c: New files.
23108 * support/Makefile (libsupport-routines): Add next_to_fault.
23109 * resolv/tst-inet_pton.c (struct next_to_fault)
23110 (next_to_fault_allocate, next_to_fault_free): Remove.
23111 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
23113 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
23115 * elf/dl-support.c: Include <dl-procruntime.c>.
23116 * include/link.h: Include <link_map.h>.
23117 * sysdeps/generic/dl-procruntime.c: New file.
23118 * sysdeps/generic/link_map.h: Likewise.
23119 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
23120 the writable ld.so namespace.
23122 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
23124 timezone: pacify GCC -Wstringop-truncation
23125 Problem reported by Martin Sebor in:
23126 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
23127 * timezone/zic.c (writezone): Use memcpy, not strncpy.
23129 2017-11-12 Florian Weimer <fweimer@redhat.com>
23131 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
23133 (tests): Add tst-xreadlink.
23134 * support/support.h (xstrndup): Declare.
23135 * support/xunistd.h (xunlink, xreadlink): Declare.
23136 * support/temp_file.h (support_create_temp_directory): Declare.
23137 * support/temp_file.c (support_create_temp_directory): New function.
23138 * support/support_chroot.c (support_chroot_create): Use it.
23139 * support/xreadlink.c: New file.
23140 * support/xstrndup.c: Likewise.
23141 * support/xunlink.c: Likewise.
23142 * support/tst-xreadlink.c: Likewise.
23144 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
23146 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
23148 2017-11-11 Florian Weimer <fweimer@redhat.com>
23152 * resolv/res_comp.c (printable_string, binary_hnok)
23153 (binary_leading_dash): New functions.
23154 (res_hnok): Reimplement using these functions and ns_name_pton.
23155 (res_ownok): Likewise.
23156 (res_mailok): Reimplement using printable_string, ns_name_pton and
23158 (res_dnok): Reimplement using printable_string and ns_name_pton.
23159 * resolv/tst-res_hnok.c (tests): Add additional tests.
23160 (LETTERDIGITS, PRINTABLE): Define.
23161 (do_test): Adjust one_char results.
23163 2017-11-11 Florian Weimer <fweimer@redhat.com>
23166 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
23167 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
23169 2017-11-11 Florian Weimer <fweimer@redhat.com>
23171 * resolv/tst-ns_name_pton.c: New file.
23172 * resolv/Makefile (tests): Add tst-ns_name_pton.
23173 (tst-ns_name_pton): Link against libresolv.
23175 2017-11-11 Florian Weimer <fweimer@redhat.com>
23177 * resolv/tst-res_hnok.c: New file.
23178 * resolv/Makefile (tests): Add tst-res_hnok.
23179 (tst-res_hnok): Link against libresolv.
23181 2017-11-11 Florian Weimer <fweimer@redhat.com>
23183 * resolv/tst-resolv-network.c: Use test framework instead explicit
23186 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
23188 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
23189 <jmp_buf-macros.h>.
23190 [!_ISOMAC] (STR_HELPER): New.
23191 [!_ISOMAC] (STR): Likewise.
23192 [!_ISOMAC] (TEST_SIZE): Likewise.
23193 [!_ISOMAC] (TEST_ALIGN): Likewise.
23194 [!_ISOMAC] (TEST_OFFSET): Likewise.
23195 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
23196 field offsets of jmp_buf as well as sigjmp_buf.
23197 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
23198 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
23199 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
23200 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
23201 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
23202 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
23203 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
23204 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
23205 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
23206 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
23208 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
23210 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
23211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
23213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
23215 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
23216 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
23217 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
23218 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
23219 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
23220 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
23222 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
23224 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
23225 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
23226 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
23228 2017-11-07 Joseph Myers <joseph@codesourcery.com>
23231 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23232 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
23233 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23234 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
23235 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23236 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
23237 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23238 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
23239 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23240 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
23241 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23242 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
23243 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23244 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
23245 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23246 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
23247 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23248 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
23249 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23250 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
23251 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23252 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
23253 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23254 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
23255 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23256 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
23257 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23258 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
23259 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23260 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
23261 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23262 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
23263 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23264 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
23265 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23266 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
23267 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23268 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
23269 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23270 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
23271 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23272 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
23273 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23274 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
23275 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23276 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
23277 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23278 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
23279 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23280 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
23281 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23282 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
23283 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23284 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
23285 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23286 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
23287 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23288 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
23289 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23290 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
23291 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23292 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
23293 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23294 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
23295 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23296 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
23297 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23298 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
23299 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23300 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
23301 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23302 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
23303 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23304 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
23305 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23306 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
23307 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23308 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
23309 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23310 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
23311 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23312 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
23313 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23314 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
23315 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23316 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
23317 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23318 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
23320 * stdlib/tst-strtod.h (F16): New macro.
23326 (IF_FLOAT16): Likewise.
23327 (IF_FLOAT32): Likewise.
23328 (IF_FLOAT64): Likewise.
23329 (IF_FLOAT32X): Likewise.
23330 (IF_FLOAT64X): Likewise.
23331 (IF_FLOAT128X): Likewise.
23332 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
23333 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
23334 (STRTOD_TEST_FOREACH): Likewise.
23335 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
23336 (CHOOSE_f64): Likewise.
23337 (CHOOSE_f32x): Likewise.
23338 (CHOOSE_f64x): Likewise.
23340 2017-11-07 Andreas Schwab <schwab@suse.de>
23342 * nptl/Makefile (tests-internal): Remove tst-typesizes.
23344 2017-11-07 Mike FABIAN <mfabian@redhat.com>
23347 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
23349 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
23352 2017-11-07 Claude Paroz <claude@2xlibre.net>
23355 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
23357 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
23359 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
23362 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23365 * nptl/allocatestack.c (allocate_stack): Check if
23366 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
23367 __PTHREAD_MUTEX_HAVE_PREV is defined.
23368 * nptl/descr.h (pthread): Likewise.
23369 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
23371 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
23372 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23373 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
23374 * sysdeps/nptl/bits/thread-shared-types.h
23375 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23377 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
23378 of __WORDSIZE for internal layout.
23379 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
23380 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
23381 instead of __WORDSIZE whether to use an union for __spins and __list
23383 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
23385 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
23386 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23388 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
23389 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23391 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
23392 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23394 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
23395 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23397 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
23398 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23400 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
23401 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23403 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
23404 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23406 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
23407 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23409 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
23410 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23412 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
23413 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23415 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
23416 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23418 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
23419 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23421 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
23422 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23424 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
23425 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23427 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
23428 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23431 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
23433 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
23434 checks for expected input type size.
23435 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
23436 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
23438 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
23439 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
23440 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
23441 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
23442 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
23443 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
23444 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
23445 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
23446 superflous runtime assert check.
23447 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
23449 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
23451 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
23453 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
23455 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
23457 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
23459 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
23460 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
23461 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
23463 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
23465 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
23467 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
23469 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
23471 * nptl/pthread_attr_setinheritsched.c
23472 (__pthread_attr_setinheritsched): Likewise.
23473 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
23475 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
23477 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
23478 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
23479 __old_pthread_attr_setstack): Likewise.
23480 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
23482 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
23484 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
23486 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
23487 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
23489 * nptl/tst-typesizes.c: Remove file.
23491 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
23492 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
23493 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
23494 checks for internal pthread_mutex_t offsets.
23495 * sysdeps/aarch64/nptl/pthread-offsets.h
23496 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
23497 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
23498 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
23499 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
23500 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
23501 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
23502 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
23503 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
23504 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
23505 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
23506 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
23507 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
23508 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
23509 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
23510 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
23511 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
23512 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
23513 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
23515 2017-11-07 Florian Weimer <fweimer@redhat.com>
23517 * bits/mman-linux.h: Move ...
23518 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
23520 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
23523 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23525 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
23526 Redefine STRNLEN as __strnlen_power8.
23528 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23530 * signal/sighold.c (sighold): Optimize implementation.
23532 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
23533 __NR_rt_sigqueueinfo.
23535 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
23537 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
23538 assume __NR_rt_sigtimedwait.
23539 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
23540 and add LIBC_CANCEL_HANDLED for cancellation marking.
23541 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23543 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23544 (sysdeps_routines): Add memchr_noneon.
23545 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
23546 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
23547 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
23548 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
23549 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
23550 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
23551 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
23553 * sysdeps/arm/arm-ifunc.h: New file.
23554 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
23555 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
23556 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
23557 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
23558 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
23559 (__memcpy_neon): Avoid create hidden alias.
23560 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
23561 (__memcpy_vfp): Likewise.
23562 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23563 (sysdep_routines): Add memcpy_arm.
23564 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
23566 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
23569 * Makerules (make-link-multidir): New.
23570 * config.make.in (multidir): New.
23571 * configure.ac (libc_cv_multidir): New. AC_SUBST.
23572 * configure: Regenerated.
23573 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
23574 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
23575 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
23578 2017-11-06 Joseph Myers <joseph@codesourcery.com>
23581 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
23582 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
23584 2017-11-04 Mike FABIAN <mfabian@redhat.com>
23586 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
23589 2017-11-04 Florian Weimer <fweimer@redhat.com>
23591 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
23593 2017-11-03 Joseph Myers <joseph@codesourcery.com>
23595 * math/math.h [__HAVE_DISTINCT_FLOAT16
23596 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23597 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23598 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23599 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
23600 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
23601 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
23602 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23603 (__MATH_TG_F32): New macro.
23604 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23605 (__MATH_TG_F64X): Likewise.
23606 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23607 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
23609 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
23611 * po/de.po: Update translations.
23612 * po/ru.po: Likewise.
23614 2017-11-03 Florian Weimer <fweimer@redhat.com>
23616 * manual/filesys.texi (Hard Links): Document linkat.
23618 2017-11-03 Joseph Myers <joseph@codesourcery.com>
23620 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
23621 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23622 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23623 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23624 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23625 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23626 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
23627 the same as _Float128.
23628 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23629 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23630 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
23633 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
23635 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
23637 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
23639 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23640 (strtof32x): Likewise.
23641 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23642 (strtof64x): Likewise.
23643 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23644 (strtof128x): Likewise.
23645 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23646 (strfromf16): Likewise.
23647 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23648 (strfromf32): Likewise.
23649 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23650 (strfromf64): Likewise.
23651 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23652 (strfromf32x): Likewise.
23653 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23654 (strfromf64x): Likewise.
23655 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23656 (strfromf128x): Likewise.
23657 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
23658 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
23659 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
23660 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
23661 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
23662 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
23664 2017-11-03 Richard Henderson <rth@twiddle.net>
23666 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
23668 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23670 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
23672 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23674 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
23675 DT_TLSDESC_GOT initialization.
23676 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
23677 (_dl_tlsdesc_resolve_hold): Likewise.
23678 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
23679 (_dl_tlsdesc_resolve_hold): Likewise.
23680 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
23681 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23683 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23685 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
23687 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23690 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
23691 non-lazily for R_ARM_TLS_DESC.
23693 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23696 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
23697 R_ARM_TLS_DESC case.
23698 (elf_machine_lazy_rel): Remove the prelink check.
23700 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23702 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
23703 DT_TLSDESC_GOT initialization.
23704 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
23705 (_dl_tlsdesc_resolve_rela): Likewise.
23706 (_dl_tlsdesc_resolve_hold): Likewise.
23707 (_dl_tlsdesc_undefweak): Remove ldar.
23708 (_dl_tlsdesc_dynamic): Likewise.
23709 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
23710 (_dl_tlsdesc_resolve_rela): Likewise.
23711 (_dl_tlsdesc_resolve_hold): Likewise.
23712 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
23713 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23714 (_dl_tlsdesc_resolve_rela): Likewise.
23715 (_dl_tlsdesc_resolve_hold): Likewise.
23717 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23719 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
23720 binding and initialization non-lazily for R_AARCH64_TLSDESC.
23722 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23724 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
23725 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23727 2017-11-02 Joseph Myers <joseph@codesourcery.com>
23729 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
23731 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
23732 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
23733 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
23734 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
23735 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
23736 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
23737 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
23738 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
23739 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
23740 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
23741 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
23743 2017-11-02 Mike FABIAN <mfabian@redhat.com>
23746 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
23747 * localedata/locales/tpi_PG: Add standard header.
23749 2017-11-02 Florian Weimer <fweimer@redhat.com>
23751 test-errno-linux: quotactl can fail with EPERM in containers.
23752 * sysdeps/unix/sysv/linux/test-errno-linux.c
23753 (LIST, LIST_FORWARD): New macros.
23754 (check_error_in_list): New function.
23755 (test_wrp_rv): Accept list of permitted error codes.
23756 (test_wrp_rv2): Remove.
23757 (test_wrp): Call test_wrp_rv with list of error codes.
23758 (test_wrp2): Accept list of error codes.
23759 (do_test): Adjust. Allow EPERM for quotactl.
23761 2017-11-02 Florian Weimer <fweimer@redhat.com>
23763 * stdio-common/bug16.c (do_test): Use array_length.
23764 * stdio-common/errlist.c (_sys_nerr): Likewise.
23765 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
23766 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
23767 * stdio-common/psiginfo.c (psiginfo): Use array_length.
23768 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
23769 (do_test): Use array_length.
23770 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
23771 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
23772 * stdio-common/tst-printf-round.c (do_test): Likewise.
23773 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
23774 (CHECK): Use array_length.
23775 * stdio-common/tstdiomisc.c (t3, F): Likewise.
23776 * stdio-common/tstscanf.c (main): Likewise.
23777 * stdio-common/vfprintf.c (process_string_arg): Likewise.
23779 2017-11-02 Florian Weimer <fweimer@redhat.com>
23781 Add array_length and array_end macros.
23782 * include/array_length.h: New file.
23784 2017-11-02 Florian Weimer <fweimer@redhat.com>
23787 * posix/tst-glob-tilde.c (do_noescape): New variable.
23788 (one_test): Process it.
23789 (do_test): Set do_noescape. Add unescaping test case.
23791 2017-11-01 Joseph Myers <joseph@codesourcery.com>
23794 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
23795 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
23796 with appropriate macros defined and undefined.
23797 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
23798 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23799 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
23800 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23801 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
23802 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23803 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
23804 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23805 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
23806 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23809 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
23810 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
23811 that for long double. Do not condition define and undefine of
23812 _Mdouble_complex_ on [__CFLOAT128].
23814 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
23816 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23817 of <sysdeps/generic/sysdep.h>.
23818 (ALIGNARG): Removed.
23819 (ASM_SIZE_DIRECTIVE): Likewise.
23822 (ENTRY_CHK): Likewise.
23823 (END_CHK): Likewise.
23824 (syscall_error): Likewise.
23825 (mcount): Likewise.
23826 (PSEUDO_END): Likewise.
23828 (atom_text_section): Likewise.
23829 * sysdeps/x86/sysdep.h: New file.
23830 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23831 of <sysdeps/generic/sysdep.h>.
23832 (ALIGNARG): Removed.
23833 (ASM_SIZE_DIRECTIVE): Likewise.
23836 (ENTRY_CHK): Likewise.
23837 (END_CHK): Likewise.
23838 (syscall_error): Likewise.
23839 (mcount): Likewise.
23840 (PSEUDO_END): Likewise.
23842 (atom_text_section): Likewise.
23844 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
23846 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
23847 category of LC_CTYPE set to "i18n:2012".
23848 * localedata/locales/i18n_ctype: Regenerate.
23850 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
23852 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
23853 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
23854 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
23855 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
23857 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
23858 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
23859 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
23860 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
23862 2017-10-31 Joseph Myers <joseph@codesourcery.com>
23865 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
23867 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
23869 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
23871 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23872 (CMPLXF32X): Likewise.
23873 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23874 (CMPLXF64X): Likewise.
23875 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23876 (CMPLXF128X): Likewise.
23879 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
23880 (__MATH_EVAL_FMT2): Define to add 0.0f.
23882 2017-10-31 Alan Modra <amodra@gmail.com>
23884 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
23886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
23887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
23888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
23889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
23890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
23891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
23892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
23893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
23894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
23895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
23896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
23897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
23898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
23899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
23900 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
23901 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
23902 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
23903 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
23904 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
23905 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
23906 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
23907 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
23908 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
23909 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
23910 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
23911 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
23912 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
23913 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
23914 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
23915 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
23916 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
23917 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
23918 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
23919 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
23920 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
23921 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
23922 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
23923 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
23924 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
23925 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23926 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
23927 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
23928 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
23929 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
23930 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
23931 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
23932 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
23933 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
23934 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
23935 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
23936 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
23937 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
23938 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
23939 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
23940 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
23941 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
23942 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
23943 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
23944 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
23945 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
23946 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
23947 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
23948 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
23949 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23950 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
23951 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
23952 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
23953 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
23954 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
23956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
23957 include sysdep.h and math_ldbl_opt.h.
23959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
23960 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
23961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
23962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
23963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
23964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
23965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
23966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
23967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
23968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
23969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
23970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
23971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
23972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
23973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
23974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
23975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
23976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
23977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
23978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
23979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
23980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
23981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
23982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
23983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
23984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
23986 2017-10-31 Alan Modra <amodra@gmail.com>
23988 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
23989 string/strncase_l.c, not string/strncase.c.
23990 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
23991 (libc_hidden_def): Redefine.
23993 2017-10-31 Alan Modra <amodra@gmail.com>
23995 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
23996 (__STRCMP, STRCMP, __strcasecmp_l): Define.
23997 (__strcasecmp): Don't define.
23999 2017-10-31 Alan Modra <amodra@gmail.com>
24001 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
24003 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
24004 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
24005 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
24007 2017-10-31 Alan Modra <amodra@gmail.com>
24009 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
24012 2017-10-31 Alan Modra <amodra@gmail.com>
24014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
24015 Redefine only when SHARED.
24017 2017-10-30 Joseph Myers <joseph@codesourcery.com>
24019 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
24020 Include <bits/math-finite.h> with appropriate macros defined and
24022 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
24023 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
24024 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
24025 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
24026 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
24028 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
24029 [!_Mlong_double_] (_Mlong_double_): Likewise.
24030 [!_Mfloat16_] (_Mfloat16_): Likewise.
24031 [!_Mfloat32_] (_Mfloat32_): Likewise.
24032 [!_Mfloat64_] (_Mfloat64_): Likewise.
24033 [!_Mfloat128_] (_Mfloat128_): Likewise.
24034 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
24035 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
24036 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
24037 (_Mdouble_): Define without indirection through those macros.
24038 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
24039 [!_Mfloat128_] (_Mfloat128_): Likewise.
24040 [_Mlong_double_] (_Mlong_double_): Likewise.
24041 (_Mdouble_): Define without indirection through those macros.
24042 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
24043 not add -D_Mlong_double_=double.
24044 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
24045 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
24047 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24049 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
24051 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24053 * sysdeps/x86/libc-start.c: Reformat.
24055 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24058 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
24059 (1): Renamed to ...
24062 (L(Src2)): Likewise.
24063 (L(1)): Renamed to ...
24066 2017-10-30 Joseph Myers <joseph@codesourcery.com>
24068 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
24069 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
24070 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
24071 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
24072 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
24073 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
24074 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
24075 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
24076 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
24077 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
24078 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
24079 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
24080 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
24081 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
24082 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
24083 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
24084 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
24085 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
24086 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
24087 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
24088 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
24089 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
24090 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
24091 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
24092 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
24093 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
24094 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
24095 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
24096 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
24097 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
24098 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
24099 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
24100 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
24101 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
24102 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
24103 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
24104 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
24105 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
24106 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
24107 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
24108 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
24109 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
24110 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
24111 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
24112 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
24113 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
24114 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
24115 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
24116 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
24117 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
24118 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
24119 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
24120 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
24121 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
24122 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
24123 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
24124 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
24125 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
24126 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
24127 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
24128 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
24129 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
24130 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
24131 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
24132 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
24133 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
24135 2017-10-30 Florian Weimer <fweimer@redhat.com>
24137 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
24139 * io/tst-mkdirat.c (do_test): Likewise.
24140 * io/tst-mkfifoat.c (do_test): Likewise.
24141 * io/tst-mknodat.c (do_test): Likewise.
24142 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
24143 * locale/programs/locale.c (select_dirs): Likewise.
24144 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
24145 * posix/bug-glob2.c (my_readdir): Likewise.
24146 * posix/tst-dir.c (main): Likewise.
24147 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
24148 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
24150 2017-10-30 Florian Weimer <fweimer@redhat.com>
24152 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
24155 2017-10-30 Florian Weimer <fweimer@redhat.com>
24157 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
24158 Convert to support/test-driver.c.
24159 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
24160 New macro parameters.
24161 (PRINTF): Remove macro. Use test_verbose conditionals instead.
24162 * posix/tst-gnuglob.c: New file.
24163 * posix/tst-gnuglob64.c: Likewise.
24164 * posix/Makefile (tests): Add tst-gnuglob64.
24166 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
24169 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
24170 and use a better translation for March in “mon”.
24171 * localedata/locales/csb_PL: Use more ASCII to improve the
24172 readability of the source.
24174 2017-10-30 Mike FABIAN <mfabian@redhat.com>
24177 * localedata/locales/km_KH: Use ASCII as much
24178 as possible for better readability of the source and
24179 remove useless comments.
24180 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
24181 was commented out and apparently wrong anyway because it was
24182 using Lao characters. If Buddhist era should be used
24183 for km_KH, a native speaker should write the correct formaat
24185 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
24186 (According to CLDR, the first weekday for Cambodia is Sunday).
24187 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
24188 (These were using Lao characters which must be wrong. If we get
24189 the correct data from a native speaker, we could add it back, until
24190 then it is better not to have name_mr and name_mrs at all than
24193 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
24195 * locale/loadlocale.c: Correct size of
24196 _nl_value_type_LC_<category> arrays.
24198 2017-10-27 Joseph Myers <joseph@codesourcery.com>
24200 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
24201 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
24202 with appropriate macros defined and undefined.
24203 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
24204 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
24205 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
24206 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
24207 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
24209 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
24211 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
24214 2017-10-27 Mike FABIAN <mfabian@redhat.com>
24216 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
24217 with lowercase letters to make it agree with CLDR.
24219 2017-10-27 Mike FABIAN <mfabian@redhat.com>
24222 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
24223 first letters of yesstr and nostr in yesexpr and noexpr,
24224 not for the full words.
24225 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24226 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
24227 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
24228 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
24229 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
24230 first letters of yesstr and nostr in yesexpr and noexpr,
24231 until now only English was matched in yesexpr and noexpr.
24232 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
24233 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
24234 fil but not for tl. As tl and fil are very similar, using fil
24235 is probably better than using English.
24237 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
24240 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
24241 in yesstr and nostr.
24243 2017-10-26 Joseph Myers <joseph@codesourcery.com>
24245 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24246 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
24247 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
24249 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
24251 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
24253 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
24255 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24256 (SNANF128X): Likewise.
24258 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24259 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
24260 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24261 (HUGE_VAL_F32): Likewise.
24262 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24263 (HUGE_VAL_F64): Likewise.
24264 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24265 (HUGE_VAL_F32X): Likewise.
24266 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24267 (HUGE_VAL_F64X): Likewise.
24268 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24269 (HUGE_VAL_F128X): Likewise.
24271 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
24273 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
24274 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
24275 for the br_FR locale.
24277 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
24280 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
24282 2017-10-25 Carlos O'Donell <carlos@redhat.com>
24284 * locale/programs/record-status.h: Define globals, and function
24285 prototypes. Move function bodies...
24286 * locale/programs/record-status.c: ... to here. New file.
24287 * iconv/Makefile (iconv_prog-modules): Add record-status.
24288 * locale/Makefile (lib-modules): Likewise.
24289 * iconv/iconv_prog.c: Remove verbose.
24290 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
24291 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
24292 record a warning about ASCII compatibility.
24293 * locale/programs/ld-monetary.c (monetary_finish): If
24294 warn_int_curr_symbol is true then record a warning about the symbol
24295 not being in our ISO 4217 list.
24296 * locale/programs/locale.c: Include record-status.h. Remove verbose.
24297 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
24298 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
24299 (OPT_NO_WARN): Define.
24300 (OPT_WARN): Define.
24301 (options): Add entry for --no-warnings, and --warnings.
24302 (set_warnings): New function to enable/disable warnings.
24303 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
24304 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
24305 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
24306 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
24307 Pass flags to generate_locale.
24308 (generate_locale): Accept new flag argument and pass it to localedef
24310 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
24311 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
24313 * localedata/Makefile (test-input-data): Use full file name.
24314 * localedata/da_DK.in: Rename to...
24315 * localedata/da_DK.ISO-8859-1.in: ...this.
24316 * localedata/de_DE.in: Rename to...
24317 * localedata/de_DE.ISO-8859-1.in: ...this.
24318 * localedata/en_US.in: Rename to...
24319 * localedata/en_US.ISO-8859-1.in: ...this.
24320 * localedata/fr_FR.in: Rename to...
24321 * localedata/fr_FR.UTF-8.in: ... this.
24322 * localedata/hr_HR.in: Rename to...
24323 * localedata/hr_HR.ISO-8859-2.in: ...this.
24324 * localedata/hu_HU.in: Rename to...
24325 * localedata/hu_HU.UTF-8.in: ...this.
24326 * localedata/si_LK.in: Rename to...
24327 * localedata/si_LK.UTF-8.in: ...this.
24328 * localedata/sv_SE.in: Rename to...
24329 * localedata/sv_SE.ISO-8859-1.in: ...this.
24330 * localedata/tr_TR.in: Rename to...
24331 * localedata/tr_TR.UTF-8.in: ...this.
24332 * localedata/uk_UA.in: Rename to...
24333 * localedata/uk_UA.UTF-8.in: ...this.
24334 * localedata/sort-test.sh: Test file is locale name with the
24337 * localedata/unicode-gen/Makefile (check_i18n): Rename to
24338 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
24340 * localedata/locales/i18n_ctype: Regenerate.
24341 * localedata/locales/tr_TR: Likewise.
24342 * localedata/locales/translit_circle: Likewise.
24343 * localedata/locales/translit_cjk_compat: Likewise.
24344 * localedata/locales/translit_combining: Likewise.
24345 * localedata/locales/translit_compat: Likewise.
24346 * localedata/locales/translit_font: Likewise.
24347 * localedata/locales/translit_fraction: Likewise.
24349 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24351 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
24352 lxvd2x/stxvd2x with lvx/stvx.
24353 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
24355 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
24357 * include/alloc_buffer.h: Replace "if if " with "if " in
24359 * sysdeps/mips/memcpy.S: Likkewise.
24360 * sysdeps/mips/memset.S: Likewise.
24361 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
24363 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
24365 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
24368 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24371 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
24372 yesexpr and noexpr.
24373 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24374 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24375 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24376 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24377 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24378 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24379 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24381 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24383 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
24384 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24385 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24386 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24387 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24388 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
24389 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24390 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24391 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24392 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24393 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24394 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24396 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24398 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
24399 as possible for better readability of the source.
24400 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
24401 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
24402 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
24403 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
24404 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
24405 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
24406 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
24407 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
24408 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24409 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
24410 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
24411 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
24412 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
24413 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
24414 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
24415 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
24416 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
24417 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
24418 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
24419 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
24420 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
24421 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
24422 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
24423 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
24424 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
24425 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
24426 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
24427 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
24428 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
24429 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
24430 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
24431 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24432 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
24433 * localedata/locales/en_US (LC_MESSAGES): Likewise.
24434 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
24435 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
24436 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
24437 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
24438 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
24439 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
24440 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
24441 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
24442 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
24443 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
24444 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
24445 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
24446 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
24447 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
24448 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
24449 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
24450 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
24451 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
24452 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
24453 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24454 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24455 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
24456 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
24457 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24458 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
24459 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
24460 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
24461 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
24462 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
24463 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
24464 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
24465 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
24466 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
24467 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
24468 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
24469 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
24470 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
24471 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
24472 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
24473 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
24474 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24475 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
24476 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
24477 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
24478 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
24479 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
24480 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
24481 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
24482 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
24483 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24484 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
24485 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
24486 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
24487 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24488 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
24489 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
24490 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
24491 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
24492 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24493 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
24494 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
24495 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24496 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
24497 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24498 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
24499 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
24500 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
24501 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
24502 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
24503 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
24504 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
24505 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
24506 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
24507 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
24508 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
24509 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
24510 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
24511 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
24512 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24513 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
24514 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
24515 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
24516 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
24517 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
24518 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
24519 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
24520 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
24521 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
24522 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
24523 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
24524 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
24525 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
24526 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
24527 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
24528 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
24529 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
24530 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
24531 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
24532 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
24533 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
24534 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
24535 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
24536 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
24537 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
24538 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
24539 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
24540 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
24541 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
24542 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
24543 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
24544 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
24545 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24546 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
24547 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
24548 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
24549 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
24550 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
24551 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
24552 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
24553 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
24554 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24555 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
24556 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
24557 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
24558 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
24559 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
24560 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
24561 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
24562 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
24563 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
24564 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
24565 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24566 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
24567 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
24568 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
24569 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
24570 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24571 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24572 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24573 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
24575 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24577 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
24578 (Use first letters of yesstr and nostr correctly instead of using
24581 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24583 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
24584 (Use first letters of yesstr and nostr correctly).
24586 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24588 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
24589 also check for the first characters of yesstr and nostr.
24590 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
24591 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
24593 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24595 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
24596 also check for Chinese characters.
24598 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24600 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
24601 match also for the contents of yesstr and nostr. As the first letter
24602 of yesstr and nostr is equal, checking only for the first letter
24605 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24607 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
24608 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
24610 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24612 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
24613 of main contributor.
24615 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24617 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
24618 instead of using English.
24620 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24622 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
24623 by including the first letters of nostr and yesexpr in the regexp.
24624 Also make it more readable by using ASCII where possible.
24626 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24628 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
24629 the first letter of nostr in the regexp. It agrees with CLDR now.
24630 Also make it more readable by using ASCII where possible.
24632 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24634 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
24635 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
24636 these strings contain a U+17D6 (which somewhat looks like a colon)
24637 instead of a real colon to separate the full words for “yes”
24638 and “no” from the single letter responses.
24640 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24642 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
24643 it agree with CLDR (include the first letter of yesstr).
24644 Also make it more readable by using ASCII where possible.
24646 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24648 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
24649 and improve yesexpr and noexpr. The yesstr and nostr apparently
24650 came from CLDR. And CLDR has a bug there: these strings contain
24651 a U+0903 (which looks like a colon) instead of a real colon
24652 to separate the full words for “yes” and “no” from the single
24655 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24657 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
24658 letters of the full yesstr and nostr in yesexpr and noexpr.
24660 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24662 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
24663 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
24664 * localedata/locales/an_ES: Make source more readable by using ASCII
24667 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24670 * localedata/locales/yuw_PG: New file.
24671 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
24672 * locale/iso-639.def: Add Yau (Uruwa).
24674 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24676 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
24678 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24680 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
24681 (__libc_realloc): Likewise.
24682 (_mid_memalign): Likewise.
24683 (__libc_calloc): Likewise.
24685 2017-10-23 Mike FABIAN <mfabian@redhat.com>
24687 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
24688 by adding the generic +1 and -0 as in all other locales.
24689 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
24690 day names and make it more readable by using ASCII where possible.
24692 2017-10-24 Joseph Myers <joseph@codesourcery.com>
24694 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
24695 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
24697 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24699 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
24700 WNOHANG in waitpid call.
24702 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
24704 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
24705 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
24707 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
24708 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
24709 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
24710 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
24711 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
24712 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
24713 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
24714 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
24717 2017-10-23 Michael Collison <michael.collison@arm.com>
24719 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
24720 with __builtin_sqrt.
24721 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
24722 with __builtin_sqrtf.
24723 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
24724 with __builtin_ceil.
24725 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
24726 with __builtin_ceilf.
24727 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
24728 with __builtin_floor.
24729 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
24730 with __builtin_floorf.
24731 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
24732 with __builtin_fma.
24733 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
24734 with __builtin_fmaf.
24735 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
24736 with __builtin_fmax.
24737 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
24738 with __builtin_fmaxf.
24739 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
24740 with __builtin_fmin.
24741 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
24742 with __builtin_fminf.
24743 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
24744 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
24745 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
24746 with builtin_rint and conversion to int.
24747 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
24748 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
24749 with builtin_llround.
24750 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
24751 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
24752 with builtin_rint and conversion to long int.
24753 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
24754 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
24755 with builtin_lround.
24756 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
24757 with builtin_lroundf.
24758 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
24759 statements with __builtin_nearbyint.
24760 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
24761 statements with __builtin_nearbyintf.
24762 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
24763 with __builtin_rint.
24764 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
24765 with __builtin_rintf.
24766 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
24767 with __builtin_round.
24768 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
24769 with __builtin_roundf.
24770 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
24771 with __builtin_trunc.
24772 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
24773 with __builtin_truncf.
24774 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
24775 and s_l[l]round[f].c too.
24777 2017-10-23 Alan Modra <amodra@gmail.com>
24779 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
24780 Adjust stack after restoring regs. Add missing LR cfi_restore.
24782 2017-10-23 Alan Modra <amodra@gmail.com>
24784 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
24785 Move LR save and frame setup/teardown and LR restore to
24786 immediately around memset call. Provide cfi.
24788 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24790 * sysdeps/i386/fpu/e_powf.S: Removed.
24791 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
24792 * sysdeps/i386/fpu/w_powf.c: Likewise.
24793 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
24794 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24795 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24797 (CFLAGS-e_powf-sse2.c): New.
24798 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
24799 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
24801 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24803 * sysdeps/i386/fpu/e_log2f.S: Removed.
24804 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
24805 * sysdeps/i386/fpu/w_log2f.c: Likewise.
24806 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
24807 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24808 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24810 (CFLAGS-e_log2f-sse2.c): New.
24811 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
24812 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
24814 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24816 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24818 (CFLAGS-e_powf-fma.c): New.
24819 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
24820 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
24822 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24824 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24826 (CFLAGS-e_log2f-fma.c): New.
24827 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
24828 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
24830 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24832 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24834 (CFLAGS-e_logf-fma.c): New.
24835 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
24836 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
24838 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24840 * sysdeps/i386/fpu/e_logf.S: Removed.
24841 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
24842 * sysdeps/i386/fpu/w_logf.c: Likewise.
24843 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
24844 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
24845 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24846 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24848 (CFLAGS-e_logf-sse2.c): New.
24849 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
24850 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
24852 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24854 * sysdeps/i386/fpu/e_exp2f.S: Removed.
24855 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
24856 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
24857 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24858 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24860 (CFLAGS-e_exp2f-sse2.c): New.
24861 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
24862 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
24864 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24866 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24868 (CFLAGS-e_exp2f-fma.c): New.
24869 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
24870 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
24872 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24874 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
24875 * sysdeps/i386/fpu/e_expf.S: Likewise.
24876 * sysdeps/i386/fpu/math_errf.c: Likewise.
24877 * sysdeps/i386/fpu/w_expf.c: Likewise.
24878 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
24879 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24880 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
24881 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
24882 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24883 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24884 Remove e_expf-ia32.
24885 (CFLAGS-e_expf-sse2.c): New.
24886 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
24887 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
24889 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24891 * sysdeps/x86_64/fpu/e_expf.S: Removed.
24892 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
24893 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
24894 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
24896 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
24898 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
24899 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
24901 (__redirect_expf): This.
24902 (SYMBOL_NAME): Changed to expf.
24903 (__ieee754_expf): Renamed to ...
24905 (__GI___expf): This.
24906 (__ieee754_expf): Add strong_alias.
24907 (__expf_finite): Likewise.
24909 Include <sysdeps/ieee754/flt-32/e_expf.c>.
24911 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
24914 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
24917 2017-10-21 Florian Weimer <fweimer@redhat.com>
24919 * posix/Makefile (tests): Add tst-glob-tilde.
24920 (tests-special): Add tst-glob-tilde-mem.out
24921 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
24922 (tst-glob-tilde-mem.out): Add mtrace check.
24923 * posix/tst-glob-tilde.c: New file.
24925 2017-10-20 Joseph Myers <joseph@codesourcery.com>
24927 * bits/floatn-common.h: New file.
24928 * math/Makefile (headers): Add bits/floatn-common.h.
24929 * bits/floatn.h: Include <bits/floatn-common.h>.
24930 * sysdeps/ia64/bits/floatn.h: Likewise.
24931 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
24932 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
24933 * sysdeps/powerpc/bits/floatn.h: Likewise.
24934 * sysdeps/x86/bits/floatn.h: Likewise.
24936 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24938 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
24939 indicates whether compiler emits an warning for alias for
24940 functions with incompatible types.
24943 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
24944 the auxiliary process is terminated by a signal before calling _exit
24947 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24950 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
24952 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
24953 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
24954 and bit_arch_XSAVEC_Usable if needed.
24955 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
24956 and bit_arch_Use_dl_runtime_resolve_opt.
24957 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
24959 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
24960 (bit_arch_Prefer_No_AVX512): Updated.
24961 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
24962 (bit_arch_XSAVEC_Usable): New.
24963 (STATE_SAVE_OFFSET): Likewise.
24964 (STATE_SAVE_MASK): Likewise.
24965 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
24966 (cpu_features): Add xsave_state_size and xsave_state_full_size.
24967 (index_arch_Use_dl_runtime_resolve_opt): Removed.
24968 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
24969 (index_arch_XSAVEC_Usable): New.
24970 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
24971 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
24972 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
24974 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
24975 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
24976 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
24977 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
24978 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
24979 _dl_runtime_resolve_xsavec.
24980 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
24982 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
24983 instead of VEC_SIZE.
24984 (REGISTER_SAVE_BND0): Removed.
24985 (REGISTER_SAVE_BND1): Likewise.
24986 (REGISTER_SAVE_BND3): Likewise.
24987 (REGISTER_SAVE_RAX): Always defined to 0.
24989 (_dl_runtime_resolve_avx): Likewise.
24990 (_dl_runtime_resolve_avx_slow): Likewise.
24991 (_dl_runtime_resolve_avx_opt): Likewise.
24992 (_dl_runtime_resolve_avx512): Likewise.
24993 (_dl_runtime_resolve_avx512_opt): Likewise.
24994 (_dl_runtime_resolve_sse): Likewise.
24995 (_dl_runtime_resolve_sse_vex): Likewise.
24997 (_dl_runtime_resolve_fxsave): Likewise.
24998 (USE_XSAVE): Likewise.
24999 (_dl_runtime_resolve_xsave): Likewise.
25000 (USE_XSAVEC): Likewise.
25001 (_dl_runtime_resolve_xsavec): Likewise.
25002 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
25004 (_dl_runtime_resolve_avx512_opt): Likewise.
25005 (_dl_runtime_resolve_avx): Likewise.
25006 (_dl_runtime_resolve_avx_opt): Likewise.
25007 (_dl_runtime_resolve_sse): Likewise.
25008 (_dl_runtime_resolve_sse_vex): Likewise.
25009 (_dl_runtime_resolve_fxsave): New.
25010 (_dl_runtime_resolve_xsave): Likewise.
25011 (_dl_runtime_resolve_xsavec): Likewise.
25013 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
25017 * posix/glob.c (__glob): Fix one-byte overflow.
25019 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25021 * malloc/malloc.c (sysdep-cancel.h): Add include.
25023 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25025 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
25027 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
25029 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
25030 (tests): Remove $(objpfx)ga_test depdendency.
25031 * resolv/ga_test.c: Remove file.
25033 2017-10-20 Mike FABIAN <mfabian@redhat.com>
25036 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
25037 * localedata/locales/kab_DZ: New file.
25039 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25041 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
25042 _dl_relocate_static_pie instead of _dl_start to compute load
25043 address in static PIE.
25045 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25047 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
25049 2017-10-20 Mike FABIAN <mfabian@redhat.com>
25052 * localedata/SUPPORTED: Add shn_MM/UTF-8.
25053 * localedata/locales/shn_MM: New file.
25055 2017-10-20 Florian Weimer <fweimer@redhat.com>
25058 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
25059 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
25060 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
25061 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
25062 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
25063 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
25065 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
25067 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25069 2017-10-19 Joseph Myers <joseph@codesourcery.com>
25071 * sysdeps/mips/ieee754/bits/floatn.h: New file.
25074 * sysdeps/mips/bits/long-double.h: Move to ....
25075 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
25077 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
25079 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
25081 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
25082 H.J. Lu <hongjiu.lu@intel.com>
25085 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
25086 GLRO(dl_platform) to NULL.
25087 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
25088 (modules-names): Add tst-platformmod-1 and
25089 x86_64/tst-platformmod-2.
25090 (CFLAGS-tst-platform-1.c): New.
25091 (CFLAGS-tst-platformmod-1.c): Likewise.
25092 (CFLAGS-tst-platformmod-2.c): Likewise.
25093 (LDFLAGS-tst-platformmod-2.so): Likewise.
25094 ($(objpfx)tst-platform-1): Likewise.
25095 ($(objpfx)tst-platform-1.out): Likewise.
25096 (tst-platform-1-ENV): Likewise.
25097 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
25098 * sysdeps/x86_64/tst-platform-1.c: New file.
25099 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
25100 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
25102 2017-10-19 Mike FABIAN <mfabian@redhat.com>
25105 * locale/iso-639.def: Add Karbi.
25106 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
25107 * localedata/locales/mjw_IN: New file.
25109 2017-10-18 Joseph Myers <joseph@codesourcery.com>
25111 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
25112 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
25113 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
25114 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
25115 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25116 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25117 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
25119 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25120 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25121 * manual/math.texi (Mathematics): Document additional architecture
25122 support for _Float128.
25123 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25124 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25125 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25126 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25127 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25128 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25129 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25130 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25131 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25132 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25133 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25134 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25135 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25136 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25137 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25139 2017-10-18 Renlin Li <renlin.li@arm.com>
25141 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
25142 _DYNAMIC symbol to calculate load address.
25144 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
25146 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
25147 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
25149 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
25150 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
25152 2017-10-18 Mike FABIAN <mfabian@redhat.com>
25155 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
25156 and improve readability by using more ASCII.
25157 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
25158 and improve readability by using more ASCII.
25160 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
25162 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
25163 not all targets support atomics on bool.
25165 2017-10-17 Joseph Myers <joseph@codesourcery.com>
25167 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
25168 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
25170 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25171 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
25172 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25173 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
25174 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25175 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
25177 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25179 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
25182 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25185 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
25186 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
25187 (do_check_remalloced_chunk): Fix build bug.
25188 (do_check_malloc_state): Add assert that checks arena->top.
25189 (malloc_consolidate): Remove initialization.
25190 (int_mallinfo): Remove call to malloc_consolidate.
25191 (__libc_mallopt): Clarify why malloc_consolidate is needed.
25193 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25195 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
25196 (have_fastchunks): Remove.
25197 (clear_fastchunks): Remove.
25198 (set_fastchunks): Remove.
25199 (malloc_state): Add have_fastchunks.
25200 (malloc_init_state): Use have_fastchunks.
25201 (do_check_malloc_state): Remove incorrect invariant checks.
25202 (_int_malloc): Use have_fastchunks.
25203 (_int_free): Likewise.
25204 (malloc_consolidate): Likewise.
25206 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25208 * malloc/malloc.c (tcache_put): Inline.
25209 (tcache_get): Inline.
25211 2017-10-17 Jordi Mallach <jordi@gnu.org>
25213 Aurelien Jarno <aurelien@aurel32.net>
25215 * localedata/locales/ca_ES@valencia: New file.
25216 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
25218 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
25221 * math/math.h: Let signbit use the builtin in C++ mode with gcc
25224 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25226 * scripts/build-many-glibcs.py (Context.add_all_configs):
25227 Add arm-linux-gnueabihf multiarch extra_glibcs.
25229 * sysdeps/generic/ifunc-init.h: New file.
25230 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
25232 2017-10-17 Mike FABIAN <mfabian@redhat.com>
25235 * localedata/locales/el_GR: Set n_cs_precedes to 0.
25236 * localedata/locales/el_CY: copy "el_GR" because it is identical.
25237 * stdlib/tst-strfmon_l.c: adapt test case.
25239 2017-10-16 Joseph Myers <joseph@codesourcery.com>
25241 * sysdeps/generic/float128-abi.h: New file.
25242 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
25243 non-__prefixed symbols to ....
25244 * math/Versions: ... here. Include <float128-abi.h>.
25245 * stdlib/Versions ... and here. Include <float128-abi.h>
25247 2017-10-16 Florian Weimer <fweimer@redhat.com>
25249 * version.h (VERSION): Switch to ".9000" as the development
25252 2017-10-16 Florian Weimer <fweimer@redhat.com>
25255 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
25256 compat_symbol_reference to access non-default version.
25258 2017-10-16 Florian Weimer <fweimer@redhat.com>
25260 * malloc/Makefile (others-extras): Set to mcheck-init.o.
25262 2017-10-16 Carlos O'Donell <carlos@redhat.com>
25264 * include/shlib-compat.h (compat_symbol_reference): Update
25267 2017-10-16 Joseph Myers <joseph@codesourcery.com>
25269 * math/Makefile (test-types): Add
25270 $(type-float128-$(float128-alias-fcts)).
25271 * math/test-float128.h (TYPE_STR): Define conditional on
25272 [FLT128_MANT_DIG == LDBL_MANT_DIG].
25273 (ULP_IDX): Likewise.
25274 (ULP_I_IDX): Likewise.
25276 * stdlib/strtold.c: Include <bits/floatn.h>
25277 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
25278 and later undefine as macro. Define as weak alias if
25280 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
25281 and later undefine as macro. Define as weak alias if
25283 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
25284 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
25285 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25286 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25287 Define and later undefine as macro. Define as weak alias if
25289 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
25291 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
25292 Define and later undefine as macro. Define as weak alias if
25294 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25295 Define and later undefine as macro. Define as weak alias if
25298 2017-10-15 Carlos O'Donell <carlos@redhat.com>
25300 * localedata/collate-test.c (allocate_arrays): Don't use \n in
25301 record_verbose messages.
25303 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
25306 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
25307 to silence -O3 -Wall warning with GCC 7.
25309 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
25311 * Makeconfig (+link-static-before-libc): Use the first of
25312 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
25313 * gmon/Makefile (tests): Add tst-gmon-static.
25314 (tests-static): Likewise.
25315 (CFLAGS-tst-gmon-static.c): New.
25316 (CRT-tst-gmon-static): Likewise.
25317 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
25318 (tst-gmon-static-ENV): Likewise.
25319 (tests-special): Likewise.
25320 ($(objpfx)tst-gmon-static.out): Likewise.
25321 (clean-tst-gmon-static-data): Likewise.
25322 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
25323 * gmon/tst-gmon-static-gprof.sh: New file.
25324 * gmon/tst-gmon-static.c: Likewise.
25326 2017-10-13 Carlos O'Donell <carlos@redhat.com>
25329 * locale/programs/linereader.c (get_string): Don't warn on
25330 non-symbolic character.
25333 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
25337 * locale/programs/record-status.h: New file
25338 * locale/programs/locale.c: Add comment.
25339 * locale/programs/charmap-dir.c: Don't include error.h.
25340 (charmap_opendir): Use record_error.
25341 * locale/programs/charmap.c: Don't include error.h.
25342 (charmap_read): Use record_error, and record_warning.
25343 (parse_charmap): Likewise.
25344 * locale/programs/ld-address.c: Don't include error.h.
25345 (address_finish): Use record_error, and record_warning.
25346 * locale/programs/ld-collate.c: Don't include error.h.
25347 (collate_finish): Use record_error, and record_error_at_line.
25348 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
25349 (ctype_class_new): Likewise.
25350 (ctype_map_new): Likewise.
25351 (set_one_default): Likewise.
25352 (set_class_defaults): Likewise.
25353 (translit_flatten): Likewise.
25354 (allocate_arrays): Use record_error, and record_verbose.
25355 * locale/programs/ld-identification.c: Don't include error.h.
25356 (indentation_finish): Use record_error and record_warning.
25357 * locale/programs/ld-measurement.c: Don't include error.h.
25358 (measurement_finish): Use record_error.
25359 * locale/programs/ld-messages.c
25360 (message_finish): Likewise.
25361 * locale/programs/ld-monetary.c
25362 (monetary_finish): Likewise.
25363 * locale/programs/ld-name.c (name_finish): Use record_error
25364 and record_warning.
25365 * locale/programs/ld-numeric.c
25366 (numeric_finish): Use record_error.
25367 * locale/programs/ld-paper.c: Don't include error.h.
25368 (paper_finish): Use record_error.
25369 * locale/programs/ld-telephone.c: Don't include error.h.
25370 (telephone_finish): Use record_error.
25371 * locale/programs/ld-time.c (time_finish): Likewise.
25372 * locale/programs/linereader.h (lr_error): Make inline func.
25373 * locale/programs/localedef.c: Define recorded_warning_count,
25374 and recorded_error_count.
25375 (main): Use record_error. Use recorded_error_count and
25376 recorded_warning_count to issue correct error returns.
25377 (add_to_readlist): Use record_error.
25378 (find_locale): Likewise.
25379 (load_locale): Likewise.
25380 * locale/programs/localedef.h: Remove be_quiet
25381 and WITH_CUR_LOCALE.
25382 * locale/programs/locarchive.c (compare_from_file): Use
25384 * locale/programs/locfile.c (write_locale_data): Use
25386 * locale/programs/repertoire.c: Dont include error.h.
25387 (repertoire_complain): Use record_error.
25388 * localedata/tst-fmon.sh: Expect failures from localedef.
25389 * localedata/tst-locale.sh: Likewise.
25390 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
25392 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
25393 (REPORTS): Likewise.
25395 (i18n): Rename to...
25396 (i18n_ctype): ...this.
25397 (i18n-report): Rename to...
25398 (i18n_ctype-report): ...this.
25399 * localedata/locales/i18n_ctype: Regenerate.
25400 * localedata/locales/i18n: copy i18n_ctype.
25402 2017-10-13 Joseph Myers <joseph@codesourcery.com>
25404 * stdlib/strfroml.c: Include <bits/floatn.h>.
25405 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
25406 Define before include of <stdlib.h> and undefine afterwards, then
25407 define as weak alias.
25409 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
25410 Undefine and restore default definition. Use
25411 libm_alias_ldouble_other.
25413 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
25416 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
25419 2017-10-13 James Clarke <jrtc27@jrtc27.com>
25421 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
25422 Assign sym_map to be map for local symbols, as TLS relocations
25423 use sym_map to determine whether the symbol is defined and to
25424 extract the TLS information.
25425 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
25426 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25428 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25431 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
25432 (math_force_eval): Add powerpc version.
25435 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
25437 (do_test): Likewise.
25438 * stdio-common/tst-printf.sh: Likewise.
25439 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
25440 ifdef clause in order to set the carry bit right. Replace r0 by
25441 0 without changing the behavior.
25443 2017-10-13 Joseph Myers <joseph@codesourcery.com>
25445 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
25446 <libm-alias-ldouble.h>.
25447 (fabsl): Define using libm_alias_ldouble.
25448 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
25449 <libm-alias-ldouble.h>.
25450 (fabsl): Define using libm_alias_ldouble.
25452 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
25453 Remove conditional code.
25455 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
25456 Rename to __clog10_internal_l.
25457 (__clog10_internal_l): Define aliases using
25458 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
25461 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25463 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
25464 * benchtests/sincosf-inputs: New file.
25465 * benchtests/cosf-inputs: New file.
25466 * benchtests/sinf-inputs: New file.
25468 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
25470 * posix/tst-spawn.c (do_test): Wait for both children.
25472 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
25475 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
25476 tests-pie): Add tst-gmon-pie.
25477 (CFLAGS-tst-gmon-pie.c): New.
25478 (CRT-tst-gmon-pie): Likewise.
25479 (tst-gmon-pie-ENV): Likewise.
25480 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
25481 ($(objpfx)tst-gmon-pie.out): Likewise.
25482 (clean-tst-gmon-pie-data): Likewise.
25483 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
25484 * gmon/gmon.c [PIC]: Include <link.h>.
25485 [PIC] (callback): New function.
25486 (write_hist): Add an argument for load address. Subtract load
25488 (write_call_graph): Likewise.
25489 (write_gmon): Call __dl_iterate_phdr to get load address, pass
25490 it to write_hist and write_call_graph.
25491 * gmon/tst-gmon-pie.c: New file.
25493 2017-10-11 Joseph Myers <joseph@codesourcery.com>
25495 * math/Makefile (test-types-basic): New variable.
25496 (test-types): Likewise.
25497 (libm-test-support): Use $(test-types) instead of $(types).
25498 (libm-tests-base-normal): Likewise.
25499 (libm-tests-base-finite): Likewise.
25500 (libm-tests-base-inline): Likewise.
25501 (generated): Likewise.
25502 ($(objpfx)libm-test-support-$(t).c): Likewise.
25503 (libm-tests-for-type iterator): Likewise.
25504 (libm-test-support iterator): Likewise.
25505 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
25506 (ulp_idx): Use ULP_IDX.
25507 * math/test-ldouble.h: Include <float.h>.
25508 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
25509 (ULP_IDX): New macro.
25510 (ULP_I_IDX): Likewise.
25511 * math/test-double.h (ULP_IDX): Likewise.
25512 (ULP_I_IDX): Likewise.
25513 * math/test-float.h (ULP_IDX): Likewise.
25514 (ULP_I_IDX): Likewise.
25515 * math/test-float128.h (ULP_IDX): Likewise.
25516 (ULP_I_IDX): Likewise.
25518 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25520 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
25521 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25522 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25523 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
25524 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25525 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
25526 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
25527 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25528 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25529 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25530 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
25531 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25532 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25533 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25534 (SINGLE_THREAD_BY_GLOBAL): Define.
25535 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25537 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25539 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25541 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25543 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
25544 (SINGLE_THREAD_BY_GLOBAL): Likewise.
25545 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25548 2017-10-11 Andreas Schwab <schwab@suse.de>
25550 * nis/Makefile (aux): Remove.
25551 * nscd/Makefile (aux): Add nscd_hash.
25552 (nscd-modules): Likewise.
25553 ($(objpfx)nscd): Don't depend on libnsl.
25554 * nscd/nscd_hash.c: New file.
25555 * nscd/nscd_hash.h: Likewise.
25556 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
25557 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
25558 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
25559 instead of <nis/rpcsvc/nis.h>.
25560 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
25562 2017-10-11 Florian Weimer <fweimer@redhat.com>
25565 Avoid large NSS buffers with many addresses, aliases.
25566 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
25567 using dynarrays and struct alloc_buffer.
25568 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
25569 (tst-nss-files-hosts-multi): Link with -ldl.
25570 * nss/tst-nss-files-hosts-multi.c: New file.
25572 2017-10-11 Florian Weimer <fweimer@redhat.com>
25575 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
25576 scratch_buffer. Eliminate gotos.
25578 2017-10-11 Joseph Myers <joseph@codesourcery.com>
25580 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
25581 libm_alias_ldouble_other.
25582 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
25583 undefine and redefine.
25584 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
25585 (exp10l): Do not define here.
25586 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
25587 (weak_alias): Undefine and redefine.
25588 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
25589 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
25590 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
25591 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
25593 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
25594 [!__fma] (fma): Define using libm_alias_double.
25595 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
25596 [!__fmaf] (fmaf): Define using libm_alias_float.
25597 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
25598 (fmal): Define using libm_alias_ldouble.
25600 2017-10-10 Joseph Myers <joseph@codesourcery.com>
25602 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
25604 (libm_alias_double_other): Likewise.
25605 (libm_alias_double_r): Use libm_alias_double_other_r.
25606 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
25608 (libm_alias_float_other): Likewise.
25609 (libm_alias_float_r): Use libm_alias_float_other_r.
25610 * sysdeps/generic/libm-alias-float128.h
25611 (libm_alias_float128_other_r): New macro.
25612 (libm_alias_float128_other): Likewise.
25613 (libm_alias_float128_r): Use libm_alias_float128_other_r.
25614 * sysdeps/generic/libm-alias-ldouble.h
25615 (libm_alias_ldouble_other_r): New macro.
25616 (libm_alias_ldouble_other): Likewise.
25617 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25618 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
25619 (libm_alias_double_other_r): New macro.
25620 (libm_alias_double_other): Likewise.
25621 (libm_alias_double_r): Use libm_alias_double_other_r.
25622 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
25623 (libm_alias_ldouble_other_r): New macro.
25624 (libm_alias_ldouble_other): Likewise.
25625 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25626 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
25627 [!USE_AS_COMPAT]: Use libm_alias_double_other.
25628 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
25629 [!USE_AS_COMPAT]: Use libm_alias_float_other.
25630 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
25631 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
25632 * math/w_exp2f.c: Use libm_alias_float_other.
25633 * math/w_expf.c: Likewise.
25634 * math/w_log2f.c: Likewise.
25635 * math/w_logf.c: Likewise.
25636 * math/w_powf.c: Likewise.
25637 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
25638 [!__exp2f]: Use libm_alias_float_other.
25639 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
25640 [!__expf]: Use libm_alias_float_other.
25641 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
25642 [!__log2f]: Use libm_alias_float_other.
25643 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
25644 [!__logf]: Use libm_alias_float_other.
25645 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
25646 [!__powf]: Use libm_alias_float_other.
25648 2017-10-10 Florian Weimer <fweimer@redhat.com>
25650 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
25652 (_nss_files_gethostbyname3_r): Call it.
25654 2017-10-09 Joseph Myers <joseph@codesourcery.com>
25656 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
25657 error. Remove default definition of declare_mgen_alias.
25658 [!declare_mgen_alias_r]: Likewise.
25659 * sysdeps/generic/math-type-macros-double.h
25660 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
25661 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
25662 (declare_mgen_alias_r): Likewise.
25663 * sysdeps/generic/math-type-macros-float128.h
25664 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25665 * sysdeps/generic/math-type-macros-ldouble.h
25666 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25667 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
25669 (declare_mgen_alias_r_s): Likewise.
25670 (declare_mgen_alias_r): Likewise.
25671 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
25672 (lgamma_r): Define using libm_alias_double_r.
25673 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
25674 (lgammaf_r): Define using libm_alias_float_r.
25675 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
25676 (lgammal_r): Define using libm_alias_ldouble_r.
25677 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
25678 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
25680 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25682 * lib/glob.c (__glob_pattern_type): Remove now-spurious
25683 extern declaration.
25685 2017-10-09 Joseph Myers <joseph@codesourcery.com>
25687 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
25689 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
25692 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
25693 [__cplusplus >= 201103] (__USE_ISOC99): Define.
25694 * math/Makefile (test-math-cxx11): New test.
25695 * math/test-math-cxx11.cc: New file.
25697 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
25699 * login/openpty.c (openpty): Close slave pty file descriptor on error.
25701 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
25702 call to allocate the slave pty file descriptor.
25704 2017-10-06 Joseph Myers <joseph@codesourcery.com>
25706 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
25707 [!__fma] (fma): Define using libm_alias_double.
25708 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
25709 [!__fma] (fma): Define using libm_alias_double.
25711 * sysdeps/ieee754/float128/float128_private.h: Include
25712 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
25713 (libm_alias_ldouble_r): Undefine and redefine.
25714 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
25715 <libm-alias-ldouble.h>.
25716 (asinhl): Define using libm_alias_ldouble.
25717 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
25718 <libm-alias-ldouble.h>.
25719 (atanl): Define using libm_alias_ldouble.
25720 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
25721 <libm-alias-ldouble.h>.
25722 (cbrtl): Define using libm_alias_ldouble.
25723 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
25724 <libm-alias-ldouble.h>.
25725 (ceill): Define using libm_alias_ldouble.
25726 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
25727 <libm-alias-ldouble.h>.
25728 (copysignl): Define using libm_alias_ldouble.
25729 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
25730 <libm-alias-ldouble.h>.
25731 (cosl): Define using libm_alias_ldouble.
25732 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
25733 <libm-alias-ldouble.h>.
25734 (erfl): Define using libm_alias_ldouble.
25736 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
25737 <libm-alias-ldouble.h>.
25738 (expm1l): Define using libm_alias_ldouble.
25739 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
25740 <libm-alias-ldouble.h>.
25741 (fabsl): Define using libm_alias_ldouble.
25742 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
25743 <libm-alias-ldouble.h>.
25744 (floorl): Define using libm_alias_ldouble.
25745 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
25746 <libm-alias-ldouble.h>.
25747 (fmal): Define using libm_alias_ldouble.
25748 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
25749 <libm-alias-ldouble.h>.
25750 (frexpl): Define using libm_alias_ldouble.
25751 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
25752 libm_alias_ldouble.
25753 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
25754 <libm-alias-ldouble.h>.
25755 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
25756 libm_alias_ldouble.
25757 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
25758 <libm-alias-ldouble.h>.
25759 (getpayloadl): Define using libm_alias_ldouble.
25760 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
25761 <libm-alias-ldouble.h>.
25762 (llrintl): Define using libm_alias_ldouble.
25763 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
25764 <libm-alias-ldouble.h>.
25765 (llroundl): Define using libm_alias_ldouble.
25766 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
25767 <libm-alias-ldouble.h>.
25768 (logbl): Define using libm_alias_ldouble.
25769 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
25770 <libm-alias-ldouble.h>.
25771 (lrintl): Define using libm_alias_ldouble.
25772 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
25773 <libm-alias-ldouble.h>.
25774 (lroundl): Define using libm_alias_ldouble.
25775 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
25776 <libm-alias-ldouble.h>.
25777 (modfl): Define using libm_alias_ldouble.
25778 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
25779 <libm-alias-ldouble.h>.
25780 (nearbyintl): Define using libm_alias_ldouble.
25781 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
25782 <libm-alias-ldouble.h>.
25783 (nextafterl): Define using libm_alias_ldouble.
25784 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
25785 <libm-alias-ldouble.h>.
25786 (nextupl): Define using libm_alias_ldouble.
25787 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
25788 <libm-alias-ldouble.h>.
25789 (remquol): Define using libm_alias_ldouble.
25790 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
25791 <libm-alias-ldouble.h>.
25792 (rintl): Define using libm_alias_ldouble.
25793 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
25794 <libm-alias-ldouble.h>.
25795 (roundevenl): Define using libm_alias_ldouble.
25796 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
25797 <libm-alias-ldouble.h>.
25798 (roundl): Define using libm_alias_ldouble.
25799 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
25800 using libm_alias_ldouble.
25801 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
25802 <libm-alias-ldouble.h>.
25803 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
25804 Define using libm_alias_ldouble.
25805 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
25806 <libm-alias-ldouble.h>.
25807 (sincosl): Define using libm_alias_ldouble.
25808 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
25809 <libm-alias-ldouble.h>.
25810 (sinl): Define using libm_alias_ldouble.
25811 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
25812 <libm-alias-ldouble.h>.
25813 (tanhl): Define using libm_alias_ldouble.
25814 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
25815 <libm-alias-ldouble.h>.
25816 (tanl): Define using libm_alias_ldouble.
25817 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
25818 <libm-alias-ldouble.h>.
25819 (totalorderl): Define using libm_alias_ldouble.
25820 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
25821 <libm-alias-ldouble.h>.
25822 (totalordermagl): Define using libm_alias_ldouble.
25823 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
25824 <libm-alias-ldouble.h>.
25825 (truncl): Define using libm_alias_ldouble.
25826 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
25827 libm_alias_ldouble.
25828 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
25829 libm_alias_ldouble.
25830 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
25831 <libm-alias-ldouble.h>.
25832 (weak_alias): Do not undefine and redefine.
25833 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25834 (copysignl): Define with long_double_symbol only if [IS_IN
25836 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
25837 <libm-alias-ldouble.h>.
25838 (weak_alias): Do not undefine and redefine.
25839 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25840 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
25841 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
25842 <libm-alias-ldouble.h>.
25843 (weak_alias): Do not undefine and redefine.
25844 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25845 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
25846 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
25847 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
25848 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
25849 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
25850 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
25851 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
25852 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
25853 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
25854 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
25855 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
25856 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
25857 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
25858 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
25859 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
25860 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
25861 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
25862 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
25863 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
25864 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
25865 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
25866 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
25867 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
25868 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
25869 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
25871 2017-10-06 Carlos O'Donell <carlos@redhat.com>
25874 * malloc/malloc.c (tcache_shutting_down): Use bool type.
25875 (tcache_thread_freeres): Set tcache_shutting_down before
25876 freeing the tcache.
25877 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
25878 * malloc/tst-malloc-tcache-leak.c: New file.
25880 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25882 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
25883 back to powerpc32 file.
25884 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
25885 (memrchr): Add __memrchr_power8 to ifunc list.
25886 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
25887 extra bytes for unaligned inputs.
25889 2017-10-06 Joseph Myers <joseph@codesourcery.com>
25891 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
25892 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
25893 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
25894 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
25895 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
25897 2017-10-05 Joseph Myers <joseph@codesourcery.com>
25899 * sysdeps/arm/libm-test-ulps: Update.
25901 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
25902 <libm-alias-ldouble.h>.
25903 (asinhl): Define using libm_alias_ldouble.
25904 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
25905 <libm-alias-ldouble.h>.
25906 (cbrtl): Define using libm_alias_ldouble.
25907 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
25908 <libm-alias-ldouble.h>.
25909 (copysignl): Define using libm_alias_ldouble.
25910 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
25911 <libm-alias-ldouble.h>.
25912 (cosl): Define using libm_alias_ldouble.
25913 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
25914 <libm-alias-ldouble.h>.
25915 (erfl): Define using libm_alias_ldouble.
25917 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
25918 <libm-alias-ldouble.h>.
25919 (fmal): Define using libm_alias_ldouble.
25920 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
25921 <libm-alias-ldouble.h>.
25922 (frexpl): Define using libm_alias_ldouble.
25923 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
25924 libm_alias_ldouble.
25925 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
25926 <libm-alias-ldouble.h>.
25927 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
25928 libm_alias_ldouble.
25929 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
25930 <libm-alias-ldouble.h>.
25931 (getpayloadl): Define using libm_alias_ldouble.
25932 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
25933 <libm-alias-ldouble.h>.
25934 (llrintl): Define using libm_alias_ldouble.
25935 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
25936 <libm-alias-ldouble.h>.
25937 (llroundl): Define using libm_alias_ldouble.
25938 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
25939 <libm-alias-ldouble.h>.
25940 (lrintl): Define using libm_alias_ldouble.
25941 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
25942 <libm-alias-ldouble.h>.
25943 (lroundl): Define using libm_alias_ldouble.
25944 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
25945 <libm-alias-ldouble.h>.
25946 (modfl): Define using libm_alias_ldouble.
25947 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
25948 <libm-alias-ldouble.h>.
25949 (nextupl): Define using libm_alias_ldouble.
25950 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
25951 <libm-alias-ldouble.h>.
25952 (remquol): Define using libm_alias_ldouble.
25953 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
25954 <libm-alias-ldouble.h>.
25955 (roundevenl): Define using libm_alias_ldouble.
25956 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
25957 <libm-alias-ldouble.h>.
25958 (roundl): Define using libm_alias_ldouble.
25959 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
25960 using libm_alias_ldouble.
25961 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
25962 <libm-alias-ldouble.h>.
25963 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
25964 <libm-alias-ldouble.h>.
25965 (setpayloadsigl): Define using libm_alias_ldouble.
25966 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
25967 <libm-alias-ldouble.h>.
25968 (sincosl): Define using libm_alias_ldouble.
25969 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
25970 <libm-alias-ldouble.h>.
25971 (sinl): Define using libm_alias_ldouble.
25972 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
25973 <libm-alias-ldouble.h>.
25974 (tanhl): Define using libm_alias_ldouble.
25975 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
25976 <libm-alias-ldouble.h>.
25977 (tanl): Define using libm_alias_ldouble.
25978 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
25979 <libm-alias-ldouble.h>.
25980 (totalorderl): Define using libm_alias_ldouble.
25981 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
25982 <libm-alias-ldouble.h>.
25983 (totalordermagl): Define using libm_alias_ldouble.
25984 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
25985 libm_alias_ldouble.
25986 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
25987 libm_alias_ldouble.
25989 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
25991 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
25993 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
25994 (__libc_ifunc_impl_list): Likewise.
25995 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
25996 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
25998 * benchtests/bench-memmove-walk.c: New file.
25999 * benchtests/Makefile (string-benchset): Add it.
26001 * benchtests/bench-memset-walk.c: New file.
26002 * benchtests/Makefile (string-benchset): Add it.
26004 * benchtests/bench-memcpy-walk.c: New file.
26005 * benchtests/Makefile (string-benchset): Add it.
26007 2017-10-05 Florian Weimer <fweimer@redhat.com>
26009 nscd: Eliminate compilation time dependency in the build output.
26010 * nscd/nscd_stat.c (STATDATA_VERSION)
26011 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
26012 (STATDATA_VERSION_FULL): New macro definitions.
26013 (compilation): Remove.
26014 (struct statdata): Adjust version member.
26015 (send_stats): Set version from STATDATA_VERSION_FULL.
26016 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
26018 2017-10-05 Joseph Myers <joseph@codesourcery.com>
26020 * configure.ac (--enable-add-ons): Remove option.
26021 (machine): Do not mention add-ons in comment.
26022 (LIBC_PRECONFIGURE): Likewise.
26023 (add_ons): Remove variable and sanity checks and logic to locate
26025 (add_ons_automatic): Remove variable.
26026 (configured_add_ons): Likewise.
26027 (add_ons_sfx): Likewise.
26028 (add_ons_pfx): Likewise.
26029 (add_on_subdirs): Likewise.
26030 (sysnames_add_ons): Likewise. Remove loop over add-ons and
26031 consideration of add-ons in Implies handling.
26032 (sysdeps_add_ons): Likewise.
26033 * configure: Regenerated.
26034 * libidn/configure.ac: Remove.
26035 * libidn/configure: Likewise.
26036 * sysdeps/unix/inet/configure.ac: New file.
26037 * sysdeps/unix/inet/configure: New generated file.
26038 * sysdeps/unix/inet/Subdirs: Add libidn.
26039 * Makeconfig (sysdeps-srcdirs): Remove variable.
26040 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
26041 ($(common-objpfx)config.status): Do not depend on add-on files.
26042 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
26044 (all-subdirs): Do not include $(add-on-subdirs).
26045 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
26046 * config.make.in (add-ons): Remove variable.
26047 (add-on-subdirs): Likewise.
26048 (sysdeps-add-ons): Likewise.
26049 * manual/Makefile (add-chapters): Remove.
26050 ($(objpfx)texis): Do not depend on $(add-chapters).
26051 (nonexamples): Do not handle $(add-chapters).
26052 (examples): Do not handle $(add-ons).
26053 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
26055 * manual/install.texi (Installation): Do not mention add-ons.
26056 (--enable-add-ons): Do not document configure option.
26057 * INSTALL: Regenerated.
26058 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
26059 * manual/maint.texi (Hierarchy Conventions): Do not mention
26061 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
26063 * scripts/gen-sorted.awk: Do not handle Subdirs files from
26065 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
26066 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
26068 2017-10-05 Andreas Schwab <schwab@suse.de>
26071 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
26072 (_IO_flush_all_lockp): Always lock list_all_lock.
26073 (_IO_flush_all_linebuffered): Likewise.
26074 (_IO_unbuffer_all): Likewise.
26076 2017-10-05 Florian Weimer <fweimer@redhat.com>
26079 Do not flush stdio streams on abort.
26080 * stdlib/abort.c (fflush): Remove macro definition.
26081 (abort): Remove stages related to stdio flushing.
26083 2017-10-05 Florian Weimer <fweimer@redhat.com>
26085 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
26087 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
26089 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26091 2017-10-05 Florian Weimer <fweimer@redhat.com>
26093 * support/support_format_hostent.c (support_format_hostent): Add
26094 more error information for NETDB_INTERNAL.
26096 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26098 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
26099 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
26100 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
26101 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
26102 AC_DEFINE if multi-arch is enabled.
26103 * sysdeps/i386/configure: Regenerated.
26105 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26107 * Makeconfig (+link-static-before-libc): Use
26108 $(DEFAULT-LDFLAGS-$(@F)).
26109 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
26110 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
26111 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
26113 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26115 * elf/Makefile (tests): Add tst-main1.
26116 (modules-names): Add tst-main1mod.
26117 ($(objpfx)tst-main1): New.
26118 (CRT-tst-main1): Likewise.
26119 (LDFLAGS-tst-main1): Likewise.
26120 (LDLIBS-tst-main1): Likewise.
26121 (tst-main1mod.so-no-z-defs): Likewise.
26122 * elf/tst-main1.c: New file.
26123 * elf/tst-main1mod.c: Likewise.
26125 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26127 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
26129 2017-10-04 Joseph Myers <joseph@codesourcery.com>
26131 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
26132 (fma): Define using libm_alias_double.
26133 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
26134 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
26136 (fmal): Do not define as compat symbol here.
26137 * sysdeps/alpha/fpu/s_fma.c: New file.
26139 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26141 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
26143 2017-10-04 Joseph Myers <joseph@codesourcery.com>
26146 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
26148 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26150 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
26151 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26152 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
26153 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
26154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26155 Include <math_ldbl_opt.h>
26156 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26158 (compat_symbol): Undefine and redefine.
26159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
26161 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26162 (compat_symbol): Undefine and redefine.
26163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
26164 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
26165 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
26166 GLIBC_2_1 for libm.
26167 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
26168 GLIBC_2.0 copysignl symbol.
26169 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
26170 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
26172 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
26174 2017-10-04 Florian Weimer <fweimer@redhat.com>
26176 * scripts/check-local-headers.sh: Ignore nspr4 header file
26177 directory in addition to nspr.
26179 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
26182 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
26183 * configure: Regenerate.
26184 * crypt/Makefile (nss-cpp-flags): New variable.
26185 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
26186 (CPPFLAGS-md5-crypt.c): Use it.
26187 * scripts/check-local-headers.sh: Ignore nspr header file
26190 2017-10-04 Andreas Schwab <schwab@suse.de>
26192 * nis/Makefile (services): Remove compat.
26193 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
26194 ($(objpfx)libnss_compat.so): Remove rule.
26195 * nis/Versions (libnss_compat): Remove.
26196 * nss/Makefile (services): Add compat.
26197 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
26198 * nss/Versions (libnss_compat): Define.
26199 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
26200 Don't include <rpc/types.h>. Replace bool_t by bool.
26201 * nss/nss_compat/compat-initgroups.c: Likewise.
26202 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
26203 instead of <rpcsrv/ypclnt.h>.
26204 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
26205 yp_get_default_domain.
26206 * nss/nss_compat/compat-pwd.c: Likewise.
26207 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
26208 yp_get_default_domain.
26209 * nss/nss_compat/nisdomain.c: New file.
26210 * nss/nss_compat/nisdomain.h: Likewise.
26212 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26215 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
26216 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26218 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26221 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
26222 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
26224 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26226 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
26227 "movl main@GOTOFF(%ebx), %eax".
26229 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26231 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
26232 allow undefined _DYNAMIC in PIE libc.a.
26233 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
26236 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26238 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
26241 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26243 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
26246 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26248 * math/test-math-iscanonical.cc (error): Replace bool with int.
26250 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26252 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
26253 (modf): Define using libm_alias_double, only if [!__modf].
26254 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
26255 <libm-alias-double.h>.
26256 (modf): Define using libm_alias_double, only if [!__modf].
26257 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
26258 compat symbol here.
26259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
26260 (weak_alias): Do not undefine and redefine.
26261 (strong_alias): Likewise.
26262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
26263 (weak_alias): Likewise.
26264 (strong_alias): Likewise.
26266 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
26267 (logb): Define using libm_alias_double, only if [!__logb].
26268 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
26269 <libm-alias-double.h>.
26270 (logb): Define using libm_alias_double, only if [!__logb].
26271 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
26272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
26273 (weak_alias): Do not undefine and redefine.
26274 (strong_alias): Likewise.
26275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
26276 (weak_alias): Likewise.
26277 (strong_alias): Likewise.
26279 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26281 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
26282 Check SHARED instead PIC.
26284 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26286 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
26287 [!__fmaf] (fmaf): Define using libm_alias_float.
26289 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
26290 (frexp): Define using libm_alias_double.
26291 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
26292 <libm-alias-double.h>.
26293 (frexp): Define using libm_alias_double.
26294 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
26295 compat symbol here.
26297 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26300 * math/math.h: Trivial fix for unbalanced parentheses in comment.
26301 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
26302 (CFLAGS-test-math-iscanonical.cc): New variable.
26303 * math/test-math-iscanonical.cc: New file.
26304 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
26305 Provide a C++ implementation based on function overloading,
26306 rather than using __MATH_TG, which uses C-only builtins.
26307 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
26309 * sysdeps/powerpc/powerpc64le/Makefile
26310 (CFLAGS-test-math-iscanonical.cc): New variable.
26312 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26314 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
26315 (ceil): Define using libm_alias_double.
26316 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
26317 (floor): Define using libm_alias_double.
26318 * sysdeps/ieee754/dbl-64/s_llround.c: Include
26319 <libm-alias-double.h>.
26320 (llround): Define using libm_alias_double.
26321 * sysdeps/ieee754/dbl-64/s_lround.c: Include
26322 <libm-alias-double.h>.
26323 (lround): Define using libm_alias_double.
26324 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
26325 <libm-alias-double.h>.
26326 (nearbyint): Define using libm_alias_double.
26327 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
26328 <libm-alias-double.h>.
26329 (remquo): Define using libm_alias_double.
26330 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
26331 (rint): Define using libm_alias_double.
26332 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
26333 (round): Define using libm_alias_double.
26334 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
26335 (trunc): Define using libm_alias_double.
26336 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
26337 <libm-alias-double.h>.
26338 (ceil): Define using libm_alias_double.
26339 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
26340 <libm-alias-double.h>.
26341 (floor): Define using libm_alias_double.
26342 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
26343 <libm-alias-double.h>.
26344 (llround): Define using libm_alias_double.
26345 [_LP64] (lround): Likewise.
26346 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
26347 <libm-alias-double.h>.
26348 [!_LP64] (lround): Define using libm_alias_double.
26349 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
26350 <libm-alias-double.h>.
26351 (nearbyint): Define using libm_alias_double.
26352 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
26353 <libm-alias-double.h>.
26354 (remquo): Define using libm_alias_double.
26355 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
26356 <libm-alias-double.h>.
26357 (rint): Define using libm_alias_double.
26358 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
26359 <libm-alias-double.h>.
26360 (round): Define using libm_alias_double.
26361 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
26362 <libm-alias-double.h>.
26363 (trunc): Define using libm_alias_double.
26364 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
26365 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
26366 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
26367 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
26368 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
26369 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
26370 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
26371 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
26372 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
26374 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26376 * math/w_remainder.c: New file.
26377 * math/w_remainderf.c: New file.
26378 * math/w_remainderl.c: New file.
26380 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26382 * elf/rtld.c (BOOTSTRAP_MAP): New.
26383 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
26384 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26386 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26388 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26391 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
26393 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
26394 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
26395 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
26396 rtld_hidden_data_ver): Define to empty.
26397 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
26398 __assert_perror_fail): Likewise.
26399 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26400 (__rewinddir): Likewise.
26401 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26402 (__profile_frequency): Likewise.
26403 * include/setjmp.h (__sigsetjmp): Likewise.
26404 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
26405 __libc_sigaction): Likewise.
26406 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
26407 not set hidden attribute.
26408 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
26409 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
26410 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
26411 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
26412 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
26413 __fxstatat64): Likewise.
26414 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26415 (__uname): Likewise.
26416 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26417 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
26418 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
26419 (NO_RTLD_HIDDEN): Set.
26420 * sysdeps/mach/hurd/configure: Refresh.
26421 * config.h.in: Refresh.
26423 2017-10-02 Joseph Myers <joseph@codesourcery.com>
26425 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
26426 (atan): Define using libm_alias_double.
26427 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
26428 (tan): Define using libm_alias_double.
26429 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
26430 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
26432 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
26433 define as weak alias of __atan. Do not define any aliases if
26435 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
26436 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
26437 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
26438 as weak alias of __tan. Do not define any aliases if [__tan].
26439 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
26440 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
26441 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
26443 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
26444 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
26445 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
26446 and define as weak alias of __atan.
26447 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
26449 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
26450 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
26451 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
26452 define as weak alias of __tan.
26454 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26456 * math/w_lgamma.c: New file.
26457 * math/w_lgammaf.c: New file.
26458 * math/w_lgammal.c: New file.
26460 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26462 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
26463 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
26464 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
26465 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
26466 * sysdeps/ieee754/flt-32/w_logf.c: New file.
26467 * sysdeps/ieee754/flt-32/w_powf.c: New file.
26468 * sysdeps/i386/fpu/w_log2f.c: New file.
26469 * sysdeps/i386/fpu/w_logf.c: New file.
26470 * sysdeps/i386/fpu/w_powf.c: New file.
26471 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
26472 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
26473 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
26475 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26476 H.J. Lu <hongjiu.lu@intel.com>
26478 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
26479 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
26480 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
26481 * sysdeps/ieee754/flt-32/w_expf.c: New file.
26482 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
26484 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
26485 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
26486 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
26487 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
26488 * sysdeps/i386/fpu/w_exp2f.c: New file.
26489 * sysdeps/i386/fpu/w_expf.c: New file.
26490 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
26491 * sysdeps/x86_64/fpu/w_expf.c: New file.
26493 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26495 * math/Versions (logf): New libm symbol at GLIBC_2.27.
26498 * math/w_log2f.c: New file.
26499 * math/w_logf.c: New file.
26500 * math/w_powf.c: New file.
26501 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
26502 * math/w_logf_compat.c (__logf_compat): Likewise.
26503 * math/w_powf_compat.c (__powf_compat): Likewise.
26504 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
26505 * sysdeps/ia64/fpu/e_logf.S: Likewise.
26506 * sysdeps/ia64/fpu/e_powf.S: Likewise.
26507 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26508 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26509 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26510 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26511 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26512 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26513 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26514 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26515 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26516 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26517 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26518 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26527 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26528 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26529 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26530 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26531 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26532 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26534 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26536 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26537 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26538 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26540 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26542 * sysdeps/powerpc/powerpc64/multiarch/Makefile
26543 (sysdep_routines): Add memrchr_power8.
26544 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26545 (memrchr): Add __memrchr_power8 to list of memrchr functions.
26546 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
26548 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
26549 (memrchr): Add __memrchr_power8 to ifunc list.
26550 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
26552 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26555 * sysdeps/unix/sysv/linux/posix_fadvise64.c
26556 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
26558 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26559 (__posix_fallocate64_l64): Likewise.
26561 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26564 * sysdeps/unix/sysv/linux/sched_setaffinity.c
26565 (__sched_setaffinity_new): Add libc_hidden_proto and
26568 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26571 * include/glob.h (__glob64): Add libc_hidden_proto.
26572 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
26575 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26578 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
26581 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26584 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
26586 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26589 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
26592 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26595 * csu/version.c (__libc_print_version): Add attribute_hidden.
26597 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26600 * include/libc-internal.h (__init_misc): Add attribute_hidden.
26602 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26605 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
26607 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26610 * nscd/nscd_helper.c (__nis_hash): New prototype.
26612 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26615 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
26616 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
26618 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26619 * termios/tcgetattr.c (__tcgetattr): Likewise.
26621 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26624 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
26625 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
26626 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
26627 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
26628 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
26630 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26633 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
26635 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26638 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
26639 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
26641 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26644 * intl/hash-string.h (__hash_string): Add attribute_hidden.
26646 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26649 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
26650 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
26652 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26655 * include/ifreq.h: New file.
26656 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
26657 (__ifreq): Likewise.
26658 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
26659 (__ifreq): Likewise.
26661 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26664 * include/idna.h: New file.
26665 * inet/getnameinfo.c: Include <idna.h> instead of
26667 (__idna_to_unicode_lzlz): Removed.
26668 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
26670 (__idna_to_ascii_lz): Removed.
26671 (__idna_to_unicode_lzlz): Likewise.
26673 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26676 * include/plural-exp.h: New file.
26677 * intl/plural-exp.c: Include <plural-exp.h> instead of
26680 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26683 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
26684 "getsourcefilter.h".
26685 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
26686 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
26687 "getsourcefilter.h".
26688 (__get_sol): Removed.
26690 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26693 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
26695 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
26697 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26700 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
26703 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26706 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
26708 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26711 * include/search.h (__tdestroy): Add libc_hidden_proto.
26712 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
26714 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26717 * include/assert.h (__assert_fail_base): Add attribute_hidden.
26719 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26722 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
26725 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26728 * include/signal.h (__kill): Add libc_hidden_proto.
26729 (__sigblock): Likewise.
26730 (__sigprocmask): Likewise.
26731 (__sigaltstack): Likewise.
26732 * signal/kill.c (__kill): Add libc_hidden_def.
26733 * signal/sigblock.c (__sigblock): Likewise.
26734 * signal/sigprocmask.c (__sigprocmask): Likewise.
26735 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
26736 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
26737 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
26738 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
26739 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
26741 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
26743 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
26744 (__sigprocmask): Likewise.
26745 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
26747 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
26748 (__sigprocmask): Likewise.
26749 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
26752 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26755 * include/string.h (__strsep): Add libc_hidden_proto.
26756 * string/strsep.c (__strsep): Add libc_hidden_def.
26758 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26761 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
26763 (__spawni): Likewise.
26765 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26768 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
26769 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
26772 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26775 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
26777 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26780 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
26781 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
26782 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
26783 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
26784 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
26786 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
26787 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
26789 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26792 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
26793 (__dcigettext): Likewise.
26795 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26798 * include/sys/sysinfo.h (__get_nprocs_conf): Add
26800 (__get_nprocs): Likewise.
26801 (__get_phys_pages): Likewise.
26802 (__get_avphys_pages): Likewise.
26803 (__get_child_max): Add attribute_hidden.
26804 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
26805 (__get_nprocs): Likewise.
26806 (__get_phys_pages): Likewise.
26807 (__get_avphys_pages): Likewise.
26808 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
26810 (__get_nprocs): Likewise.
26811 (__get_phys_pages): Likewise.
26812 (__get_avphys_pages): Likewise.
26813 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
26815 (__get_nprocs_conf): Likewise.
26816 (__get_phys_pages): Likewise.
26817 (__get_avphys_pages): Likewise.
26819 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26822 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
26824 (__netlink_close): Likewise.
26825 (__netlink_free_handle): Likewise.
26826 (__netlink_request): Likewise.
26828 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26831 * include/rpc/rpc.h (__rpc_thread_variables): Add
26833 (__rpc_thread_svc_cleanup): Likewise.
26834 (__rpc_thread_clnt_cleanup): Likewise.
26835 (__rpc_thread_key_cleanup): Likewise.
26837 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26840 * include/sys/uio.h (__readv): Add libc_hidden_proto.
26841 (__writev): Likewise.
26842 * misc/readv.c (__readv): Add libc_hidden_def.
26843 * misc/writev.c (__writev): Likewise.
26844 * sysdeps/posix/readv.c (__readv): Likewise.
26845 * sysdeps/posix/writev.c (__writev): Likewise.
26846 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
26847 (__readv): Likewise.
26848 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
26849 (__writev): Likewise.
26851 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26854 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
26855 (__regcomp): Add libc_hidden_proto.
26856 (__regexec): Likewise.
26857 (__regfree): Likewise.
26858 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
26859 (__regfree): Likewise.
26860 * posix/regexec.c (__regexec): Likewise.
26862 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26865 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
26866 (__getutent): Likewise.
26867 (__getutid): Likewise.
26868 (__getutline): Likewise.
26869 (__pututline): Likewise.
26870 (__getutent_r): Likewise.
26871 (__getutid_r): Likewise.
26872 (__getutline_r): Likewise.
26873 (__utmpname): Add attribute_hidden.
26874 (__setutent): Likewise.
26875 (__endutent): Likewise.
26876 * login/getutent.c (__getutent): Add libc_hidden_def.
26877 * login/getutent_r.c (__getutent_r): Likewise.
26878 (__pututline): Likewise.
26879 * login/getutid.c (__getutid): Likewise.
26880 * login/getutid_r.c (__getutid_r): Likewise.
26881 * login/getutline.c (__getutline): Likewise.
26882 * login/getutline_r.c (__getutline_r): Likewise.
26883 * login/updwtmp.c (__updwtmp): Likewise.
26885 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26888 * include/dirent.h (__opendir): Always add attribute_hidden.
26889 (__fdopendir): Likewise.
26890 (__closedir): Likewise.
26891 (__readdir): Likewise.
26892 (__readdir64): Add libc_hidden_proto.
26893 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
26894 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
26895 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
26896 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
26899 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26902 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
26903 * include/netdb.h (__gethostbyaddr_r): Likewise.
26904 (__gethostbyname_r): Likewise.
26905 (__gethostbyname2_r): Likewise.
26906 (__getnetbyaddr_r): Likewise.
26907 (__getnetbyname_r): Likewise.
26908 (__getservbyname_r): Likewise.
26909 (__getservbyport_r): Likewise.
26910 (__getprotobyname_r): Likewise.
26911 (__getprotobynumber_r): Likewise.
26912 (__getnetgrent_r): Likewise.
26913 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
26914 (__getrpcbynumber_r): Likewise.
26915 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
26917 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26920 * include/stdio.h (__fcloseall): Add attribute_hidden.
26921 (__getline): Likewise.
26922 (__path_search): Likewise.
26923 (__gen_tempname): Likewise.
26924 (__libc_message): Likewise.
26925 (__flockfile): Likewise.
26926 (__funlockfile): Likewise.
26927 (__fxprintf): Likewise.
26928 (__fxprintf_nocancel): Likewise.
26930 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26933 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
26934 (__sgetsgent_r): Likewise.
26936 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26939 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
26940 (__statfs64): Likewise.
26941 (__fstatfs64): Likewise.
26942 * include/sys/statvfs.h (__statvfs64): Likewise.
26943 (__fstatvfs64): Likewise.
26944 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
26945 (__statfs_filesize_max): Likewise.
26946 (__statfs_symlinks): Likewise.
26947 (__statfs_chown_restricted): Likewise.
26949 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26952 * include/time.h (__tzstring): Add attribute_hidden.
26953 (__tzfile_read): Likewise.
26954 (__tzfile_compute): Likewise.
26955 (__tzfile_default): Likewise.
26956 (__tzset_parse_tz): Likewise.
26957 (__offtime): Likewise.
26958 (__asctime_r): Likewise.
26959 (__tzset): Likewise.
26960 (__tz_convert): Likewise.
26961 (__getdate_r): Likewise.
26962 (__getclktck): Likewise.
26964 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26967 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
26968 (__nscd_unmap): Likewise.
26969 (__nscd_cache_search): Likewise.
26970 (__nscd_get_nl_timestamp): Likewise.
26971 (__nscd_getpwnam_r): Likewise.
26972 (__nscd_getpwuid_r): Likewise.
26973 (__nscd_getgrnam_r): Likewise.
26974 (__nscd_getgrgid_r): Likewise.
26975 (__nscd_gethostbyname_r): Likewise.
26976 (__nscd_gethostbyname2_r): Likewise.
26977 (__nscd_gethostbyaddr_r): Likewise.
26978 (__nscd_getai): Likewise.
26979 (__nscd_getgrouplist): Likewise.
26980 (__nscd_getservbyname_r): Likewise.
26981 (__nscd_getservbyport_r): Likewise.
26982 (__nscd_innetgr): Likewise.
26983 (__nscd_setnetgrent): Likewise.
26985 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26988 * include/gmp.h: Declare internal functions only if _ISOMAC is
26990 (__mpn_extract_double): Add attribute_hidden.
26991 (__mpn_extract_long_double): Likewise.
26992 (__mpn_extract_float128): Likewise.
26993 (__mpn_construct_float): Likewise.
26994 (__mpn_construct_double): Likewise.
26995 (__mpn_construct_long_double): Likewise.
26996 (__mpn_construct_float128): Likewise.
26997 (mpn_add_1): Likewise.
26998 (mpn_addmul_1): Likewise.
26999 (mpn_add_n): Likewise.
27000 (mpn_cmp): Likewise.
27001 (mpn_divrem): Likewise.
27002 (mpn_lshift): Likewise.
27003 (mpn_mul): Likewise.
27004 (mpn_mul_1): Likewise.
27005 (mpn_rshift): Likewise.
27006 (mpn_sub_1): Likewise.
27007 (mpn_submul_1): Likewise.
27008 (mpn_sub_n): Likewise.
27010 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27013 * include/wchar.h (__wcsnlen): Add attribute_hidden.
27014 (__wcscat): Likewise.
27015 (__btowc): Likewise.
27016 (__wcrtomb): Likewise.
27017 (__mbsrtowcs): Likewise.
27018 (__wcsrtombs): Likewise.
27019 (__mbsnrtowcs): Likewise.
27020 (__wcsnrtombs): Likewise.
27021 (__wcsncpy): Likewise.
27022 (__wcpncpy): Likewise.
27023 (__wmemcpy): Likewise.
27024 (__wmempcpy): Likewise.
27025 (__wmemmove): Likewise.
27026 (__wcschrnul): Likewise.
27027 (__vfwscanf): Likewise.
27028 (__vswprintf): Likewise.
27029 (__fwprintf): Likewise.
27030 (__vfwprintf): Likewise.
27032 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27035 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
27036 (__getgrgid_r): Likewise.
27037 (__getgrnam_r): Likewise.
27038 * include/pwd.h (__getpwuid_r): Likewise.
27039 (__getpwnam_r): Likewise.
27040 (__fgetpwent_r): Likewise.
27041 * include/shadow.h (__getspnam_r): Likewise.
27042 (__sgetspent_r): Likewise.
27043 (__fgetspent_r): Likewise.
27045 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27048 * include/unistd.h (__access): Add attribute_hidden.
27049 (__lseek64): Likewise.
27050 (__libc_pread64): Likewise.
27051 (__pipe2): Likewise.
27052 (__sleep): Likewise.
27053 (__chdir): Likewise.
27054 (__fchdir): Likewise.
27055 (__getcwd): Likewise.
27056 (__rmdir): Likewise.
27057 (__execvpe): Likewise.
27058 (__execve): Likewise.
27059 (__setsid): Likewise.
27060 (__getuid): Likewise.
27061 (__geteuid): Likewise.
27062 (__getgid): Likewise.
27063 (__getegid): Likewise.
27064 (__getgroups): Likewise.
27065 (__group_member): Likewise.
27066 (__ttyname_r): Likewise.
27067 (__isatty): Likewise.
27068 (__readlink): Likewise.
27069 (__unlink): Likewise.
27070 (__gethostname): Likewise.
27071 (__profil): Likewise.
27072 (__getdtablesize): Likewise.
27074 (__ftruncate): Likewise.
27075 (__ftruncate64): Likewise.
27077 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27080 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
27081 * argp/argp-fs-xinl.c: Likewise.
27082 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
27083 * argp/argp-parse.c: Include <argp.h>.
27084 * argp/argp-xinl.c: Likewise.
27085 * include/argp-fmtstream.h: New file.
27086 * include/argp.h (__argp_error): Add attribute_hidden.
27087 (__argp_failure): Likewise.
27088 (__argp_input): Likewise.
27089 (__argp_state_help): Likewise.
27091 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27094 * include/wchar.h (____wcstof_l_internal): New prototype.
27095 (____wcstod_l_internal): Likewise.
27096 (____wcstold_l_internal): Likewise.
27097 (____wcstol_l_internal): Likewise.
27098 (____wcstoul_l_internal): Likewise.
27099 (____wcstoll_l_internal): Likewise.
27100 (____wcstoull_l_internal): Likewise.
27101 (____wcstof128_l_internal): Likewise.
27102 * sysdeps/ieee754/float128/wcstof128.c
27103 (____wcstof128_l_internal): Removed.
27104 * sysdeps/ieee754/float128/wcstof128_l.c
27105 (____wcstof128_l_internal): Likewise.
27106 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
27107 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
27108 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
27109 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
27110 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
27111 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
27112 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
27113 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
27114 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
27115 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
27117 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27120 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
27121 instead of <sys/statvfs.h>.
27122 (__internal_statvfs): Removed.
27123 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
27124 instead of <sys/statvfs.h>.
27125 (__internal_statvfs64): Removed.
27126 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
27127 "internal_statvfs.h" instead of <sys/statvfs.h>.
27128 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
27129 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
27130 instead of <sys/statvfs.h>.
27131 (__internal_statvfs): Removed.
27132 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
27133 instead of <sys/statvfs.h>.
27134 (__internal_statvfs64): Removed.
27136 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27139 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
27140 (__gconv_close): Likewise.
27141 (__gconv): Likewise.
27142 (__gconv_find_transform): Likewise.
27143 (__gconv_lookup_cache): Likewise.
27144 (__gconv_compare_alias_cache): Likewise.
27145 (__gconv_load_cache): Likewise.
27146 (__gconv_get_path): Likewise.
27147 (__gconv_close_transform): Likewise.
27148 (__gconv_release_cache): Likewise.
27149 (__gconv_find_shlib): Likewise.
27150 (__gconv_release_shlib): Likewise.
27151 (__gconv_get_builtin_trans): Likewise.
27152 (__gconv_compare_alias): Likewise.
27153 * include/dlfcn.h (_dlerror_run): Likewise.
27154 * include/stdio.h (__fortify_fail_abort): Likewise.
27155 * include/time.h (__tz_compute): Likewise.
27156 (__strptime_internal): Likewise.
27157 * intl/gettextP.h (_nl_find_domain): Likewise.
27158 (_nl_load_domain): Likewise.
27159 (_nl_find_msg): Likewise.
27160 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
27161 (EXTRACT_PLURAL_EXPRESSION): Likewise.
27162 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
27163 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
27164 (__gai_find_request): Likewise.
27165 (__gai_remove_request): Likewise.
27166 (__gai_notify): Likewise.
27167 (__gai_notify_only): Likewise.
27168 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
27169 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
27170 (_dl_non_dynamic_init): Likewise.
27171 (_dl_aux_init): Likewise.
27172 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
27173 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
27175 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
27176 (__wcsmbs_clone_conv): Likewise.
27177 (__wcsmbs_named_conv): Likewise.
27179 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27182 * include/stdlib.h (__random): Add attribute_hidden.
27183 (__random_r): Likewise.
27184 (__srandom_r): Likewise.
27185 (__initstate_r): Likewise.
27186 (__setstate_r): Likewise.
27187 (__erand48_r): Likewise.
27188 (__nrand48_r): Likewise.
27189 (__jrand48_r): Likewise.
27190 (__srand48_r): Likewise.
27191 (__seed48_r): Likewise.
27192 (__lcong48_r): Likewise.
27193 (__drand48_iterate): Likewise.
27194 (__setenv): Likewise.
27195 (__unsetenv): Likewise.
27196 (__clearenv): Likewise.
27197 (__ptsname_r): Likewise.
27198 (__posix_openpt): Likewise.
27199 (__add_to_environ): Likewise.
27200 (__realpath): Add libc_hidden_proto.
27201 (__ecvt_r): Likewise.
27202 (__fcvt_r): Likewise.
27203 (__qecvt_r): Likewise.
27204 (__qfcvt_r): Likewise.
27205 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
27206 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
27208 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27211 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
27212 * include/time.h (__mktime_internal): Likewise.
27213 * libio/iolibio.h (__fopen_internal): Likewise.
27215 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
27217 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
27219 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
27220 Correct offset used to restore PIC register.
27222 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
27225 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
27226 code to load address of __getcontext_ret when generating PIC code.
27228 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
27230 * elf/Makefile (tests-static-internal): Add
27231 tst-tls1-static-non-pie.
27232 (LDFLAGS-tst-tls1-static-non-pie): New.
27233 * elf/tst-tls1-static-non-pie.c: New file.
27235 2017-09-29 Joseph Myers <joseph@codesourcery.com>
27237 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
27238 (asinh): Define using libm_alias_double.
27239 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
27240 (cbrt): Define using libm_alias_double.
27241 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
27242 <libm-alias-double.h>.
27243 (copysign): Define using libm_alias_double.
27244 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
27245 (erf): Define using libm_alias_double.
27247 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
27248 (expm1): Define using libm_alias_double.
27249 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
27250 (fabs): Define using libm_alias_double.
27251 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
27253 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
27254 <libm-alias-double.h>.
27255 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
27257 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
27258 <libm-alias-double.h>.
27259 (getpayload): Define using libm_alias_double.
27260 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
27261 <libm-alias-double.h>.
27262 (llrint): Define using libm_alias_double.
27263 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
27264 (lrint): Define using libm_alias_double.
27265 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
27266 <libm-alias-double.h>.
27267 (nextup): Define using libm_alias_double.
27268 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
27269 <libm-alias-double.h>.
27270 (roundeven): Define using libm_alias_double.
27271 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
27273 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
27274 <libm-alias-double.h>.
27275 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
27276 using libm_alias_double.
27277 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
27278 (cos): Define using libm_alias_double.
27280 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
27281 <libm-alias-double.h>.
27282 (sincos): Define using libm_alias_double.
27283 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
27284 (tanh): Define using libm_alias_double.
27285 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
27286 <libm-alias-double.h>.
27287 (totalorder): Define using libm_alias_double.
27288 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
27289 <libm-alias-double.h>.
27290 (totalordermag): Define using libm_alias_double.
27291 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
27293 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
27295 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
27296 <libm-alias-double.h>.
27297 (getpayload): Define using libm_alias_double.
27298 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
27299 <libm-alias-double.h>.
27300 (roundeven): Define using libm_alias_double.
27301 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
27302 <libm-alias-double.h>.
27303 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
27304 <libm-alias-double.h>.
27305 (totalorder): Define using libm_alias_double.
27306 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
27307 <libm-alias-double.h>.
27308 (totalordermag): Define using libm_alias_double.
27309 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
27310 libc compat symbol here.
27311 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
27312 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
27313 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
27314 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
27315 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
27316 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
27317 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
27318 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
27319 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
27320 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
27322 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27324 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
27325 _dl_relocate_static_pie instead of _dl_start to compute load
27326 address in static PIE. Return 0 if _DYNAMIC is undefined for
27329 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27331 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
27332 _DYNAMIC is undefined for static executable.
27334 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27336 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
27338 2017-09-29 Joseph Myers <joseph@codesourcery.com>
27340 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27342 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27344 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
27345 (__ieee754_lgamma_r): Use fabs rather than __fabs.
27346 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
27347 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
27348 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
27349 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
27350 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
27351 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
27352 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
27353 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27354 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
27355 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
27356 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27357 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27358 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
27359 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
27360 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
27362 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27364 * math/bits/cmathcalls.h (cimag): Remove inline.
27365 (creal): Remove inline.
27366 (conj): Remove inline.
27368 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27370 * math/Makefile (type-float-routines): Add e_powf_log2_data.
27371 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
27372 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
27373 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
27374 (issignalingf_inline): Likewise.
27375 (POWF_LOG2_TABLE_BITS): Likewise.
27376 (POWF_LOG2_POLY_ORDER): Likewise.
27377 (POWF_SCALE_BITS): Likewise.
27378 (POWF_SCALE): Likewise.
27379 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
27380 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
27381 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
27383 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27385 * math/Makefile (type-float-routines): Add e_log2f_data.
27386 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
27387 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
27388 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
27389 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
27390 * sysdeps/i386/fpu/e_log2f_data.c: New file.
27391 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
27392 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
27394 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27396 * math/Makefile (type-float-routines): Add e_logf_data.
27397 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
27398 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
27399 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
27400 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
27401 * sysdeps/i386/fpu/e_logf_data.c: New file.
27402 * sysdeps/ia64/fpu/e_logf_data.c: New file.
27403 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
27405 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
27407 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
27408 undefined _DYNAMIC in PIE libc.a.
27409 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27412 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27414 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
27415 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
27416 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
27417 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
27418 (__signbit): Remove.
27419 (__signbitl): Remove.
27420 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
27421 (__signbit): Remove.
27422 (__signbitl): Remove.
27423 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
27424 (__signbit): Remove.
27425 (__signbitl): Remove.
27426 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
27427 (__signbit): Remove.
27428 (__signbitl): Remove.
27429 * sysdeps/tile/bits/mathinline.h: Delete file.
27430 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
27431 (__signbit): Remove.
27432 (__signbitl): Remove.
27434 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27436 * math/math.h: Improve handling of C99 isgreater macros.
27437 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
27438 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
27439 * sysdeps/powerpc/bits/mathinline.h: Likewise.
27440 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27441 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
27443 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
27445 * sysdeps/aarch64/libm-test-ulps: Update.
27447 2017-09-28 Joseph Myers <joseph@codesourcery.com>
27450 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27451 math_opt_barrier on argument when doing arithmetic on it.
27452 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27453 Likewise. Use math_force_eval not math_opt_barrier after
27455 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
27456 math_opt_barrier on argument when doing arithmetic on it.
27457 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27460 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
27462 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
27464 (__freeifaddrs): Likewise.
27466 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
27468 * include/dirent.h (__dirfd): New declaration.
27469 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
27471 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
27472 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
27473 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
27474 * include/unistd.h (__revoke): New declaration.
27475 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
27477 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
27478 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
27480 * include/dirent.h (__seekdir): New declaration.
27481 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
27482 redefine as weak alias.
27483 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
27485 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
27486 and use libc_hidden_def on them.
27487 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
27489 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
27490 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
27491 instead of getifaddrs and freeifaddrs.
27493 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27496 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
27497 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
27498 (__dso_handle): Remove declaration.
27499 * dlfcn/tstatexit.c (__dso_handle): Removed.
27500 (main): Don't check __dso_handle.
27501 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
27502 (main): Don't check __dso_handle.
27503 * include/dso_handle.h: New file.
27504 * malloc/mtrace.c: Include <dso_handle.h>.
27505 (mtrace): Pass __dso_handle directly.
27506 * nptl/pthread_atfork.c: Include <dso_handle.h>.
27507 (__dso_handle): Remove declaration.
27508 (__pthread_atfork): Pass __dso_handle directly.
27509 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
27510 (__dso_handle): Removed.
27511 * posix/wordexp-test.c: Include <dso_handle.h>.
27512 (__dso_handle): Remove declaration.
27513 (__app_register_atfork): Pass __dso_handle directly.
27514 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
27515 (__dso_handle): Remove declaration.
27516 (at_quick_exit): Pass __dso_handle directly.
27517 * stdlib/atexit.c: Include <dso_handle.h>.
27518 (__dso_handle): Remove declaration.
27519 (atexit): Pass __dso_handle directly.
27520 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
27521 (__dso_handle): Removed.
27523 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27525 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
27528 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
27530 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
27531 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
27532 values to correct default value for given type.
27534 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27537 * elf/Makefile (tests): Add tst-debug1.
27538 ($(objpfx)tst-debug1): New.
27539 ($(objpfx)tst-debug1.out): Likewise.
27540 ($(objpfx)tst-debug1mod1.so): Likewise.
27541 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
27542 with p_filesz == 0.
27543 * elf/tst-debug1.c: New file.
27545 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27547 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
27548 Define using __ifunc.
27550 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27552 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
27555 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27558 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
27560 2017-09-26 Florian Weimer <fweimer@redhat.com>
27562 * resolv/Makefile (tests-internal): Fix typo in comment.
27564 2017-09-26 Florian Weimer <fweimer@redhat.com>
27566 * resolv/nss_dns/dns-host.c: Fix typo in comment.
27568 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27570 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
27571 Use an union instead of a max_align_t array for __space,
27572 so that __space is the same size on all platforms.
27573 * malloc/scratch_buffer_grow_preserve.c
27574 (__libc_scratch_buffer_grow_preserve): Likewise.
27577 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
27579 * posix/Makefile (routines): Add glob-lstat-compat and
27580 glob64-lstat-compat.
27581 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
27582 * posix/glob-lstat-compat.c: New file.
27583 * posix/glob64-lstat-compat.c: Likewise.
27584 * posix/tst-glob_lstat_compat.c: Likewise.
27585 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
27586 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
27587 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
27588 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
27590 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
27591 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
27592 * posix/glob.c (glob_lstat): New function.
27593 (glob): Rename to __glob and add versioned symbol to 2.27.
27594 (glob_in_dir): Use glob_lstat.
27595 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
27596 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
27597 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
27599 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
27600 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
27601 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
27602 gl_lstat on glob call.
27603 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
27604 and glob64 symbols.
27605 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27606 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
27607 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27608 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27609 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
27610 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
27611 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
27612 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
27613 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
27614 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27615 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27616 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
27617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
27619 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
27620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
27621 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27622 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27623 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
27624 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27625 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27626 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
27627 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
27628 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
27629 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27630 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27632 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
27634 * configure.ac (AS): Require binutils 2.25 or later.
27635 * configure: Regenerated.
27637 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27640 * stdlib/test-atexit-race-common.c (do_test): Minimize required
27643 2017-09-25 DJ Delorie <dj@redhat.com>
27646 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
27649 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
27651 * sysdeps/ieee754/dbl-64/sincos32.h
27652 [SINCCOS32_H]: Remove define.
27653 [SINCOS32_H]: Define.
27655 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27657 * math/Versions (expf): New libm symbol at GLIBC_2.27.
27659 * math/w_exp2f.c: New file.
27660 * math/w_expf.c: New file.
27661 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
27662 * math/w_expf_compat.c (__expf_compat): Likewise.
27663 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
27664 * sysdeps/ia64/fpu/e_expf.S: Likewise.
27665 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27666 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27667 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27668 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27669 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27670 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27671 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27672 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27673 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27674 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27675 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27676 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
27679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27685 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27686 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27687 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27688 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27689 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27690 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27692 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27694 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27695 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27696 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27698 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27700 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
27701 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
27702 (roundtoint, converttoint): Likewise.
27703 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
27704 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
27705 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
27706 * sysdeps/ieee754/flt-32/math_config.h: New file.
27707 * sysdeps/ieee754/flt-32/math_errf.c: New file.
27708 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
27709 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
27710 * sysdeps/i386/fpu/math_errf.c: New file.
27711 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
27712 * sysdeps/ia64/fpu/math_errf.c: New file.
27713 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
27714 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
27716 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
27718 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
27719 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
27720 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
27721 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
27722 to make sure that these symbols are defined.
27723 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
27725 (__need_NULL): Do not define.
27726 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
27728 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
27729 CMGROUP_MAX, cmsgcred): Do not define.
27730 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
27732 * bits/socket.h: Likewise.
27733 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
27734 __gettimeofday instead of gettimeofday.
27735 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
27736 instead of settimeofday.
27738 2017-09-22 Joseph Myers <joseph@codesourcery.com>
27740 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
27741 (asinhf): Define using libm_alias_float.
27742 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
27743 (atanf): Define using libm_alias_float.
27744 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
27745 (cbrtf): Define using libm_alias_float.
27746 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
27747 (ceilf): Define using libm_alias_float.
27748 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
27749 <libm-alias-float.h>.
27750 (copysignf): Define using libm_alias_float.
27751 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
27752 (cosf): Define using libm_alias_float.
27753 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
27754 (erff): Define using libm_alias_float.
27756 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
27757 (expm1f): Define using libm_alias_float.
27758 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
27759 (fabsf): Define using libm_alias_float.
27760 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
27761 (floorf): Define using libm_alias_float.
27762 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
27763 (frexpf): Define using libm_alias_float.
27764 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
27766 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
27767 <libm-alias-float.h>.
27768 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
27770 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
27771 <libm-alias-float.h>.
27772 (getpayloadf): Define using libm_alias_float.
27773 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
27774 <libm-alias-float.h>.
27775 (llrintf): Define using libm_alias_float.
27776 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
27777 <libm-alias-float.h>.
27778 (llroundf): Define using libm_alias_float.
27779 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
27780 (logbf): Define using libm_alias_float.
27781 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
27782 (lrintf): Define using libm_alias_float.
27783 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
27784 (lroundf): Define using libm_alias_float.
27785 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
27786 (modff): Define using libm_alias_float.
27787 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
27788 <libm-alias-float.h>.
27789 (nearbyintf): Define using libm_alias_float.
27790 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
27791 <libm-alias-float.h>.
27792 (nextafterf): Define using libm_alias_float.
27793 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
27794 <libm-alias-float.h>.
27795 (nextupf): Define using libm_alias_float.
27796 * sysdeps/ieee754/flt-32/s_remquof.c: Include
27797 <libm-alias-float.h>.
27798 (remquof): Define using libm_alias_float.
27799 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
27800 (rintf): Define using libm_alias_float.
27801 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
27802 <libm-alias-float.h>.
27803 (roundevenf): Define using libm_alias_float.
27804 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
27805 (roundf): Define using libm_alias_float.
27806 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
27807 using libm_alias_float.
27808 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
27809 <libm-alias-float.h>.
27810 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
27811 Define using libm_alias_float.
27812 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
27813 <libm-alias-float.h>.
27814 (sincosf): Define using libm_alias_float.
27815 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
27816 (sinf): Define using libm_alias_float.
27817 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
27818 (tanf): Define using libm_alias_float.
27819 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
27820 (tanhf): Define using libm_alias_float.
27821 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
27822 <libm-alias-float.h>.
27823 (totalorderf): Define using libm_alias_float.
27824 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
27825 <libm-alias-float.h>.
27826 (totalordermagf): Define using libm_alias_float.
27827 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
27828 (truncf): Define using libm_alias_float.
27829 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
27831 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
27834 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27837 math/math.h: Let fpclassify use the builtin in C++ mode, even
27838 when optimazing for size.
27840 2017-09-22 Joseph Myers <joseph@codesourcery.com>
27842 * csu/Makefile (generated): Do not add version-info.h.
27843 (before-compile): Likewise.
27844 (all-Banner-files): Remove variable.
27845 ($(objpfx)version-info.h): Remove rule.
27846 * csu/version.c (banner): Do not include "version-info.h".
27847 * libidn/Banner: Remove.
27848 * manual/contrib.texi (Simon Josefsson): New entry.
27850 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27852 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27853 Remove conditionals on LDBL_MANT_DIG.
27854 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27855 (__ieee754_lgammal_r): Likewise.
27857 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27859 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
27861 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
27862 _Float128 and L(). Replace _Float128 with long double and L(x)
27863 with xL, throughout the file.
27864 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27865 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27866 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27867 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27869 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27871 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
27872 sysdeps/ieee754/ldbl-128ibm.
27873 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
27874 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
27875 of including it. Keep _Float128 and L() intact. These will be
27876 reviewed by a separate patch.
27877 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27878 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27879 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27880 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27882 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
27885 (__finitef128): Define to __redirect___finitef128.
27886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
27887 (__isinff128): Define to __redirect___isinff128.
27888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
27889 (__isnanf128): Define to __redirect___isnanf128.
27891 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27893 * sysdeps/powerpc/powerpc64le/Makefile
27894 (CFLAGS-tst-strtod-nan-locale.c): New variable.
27895 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
27897 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
27898 Carlos O'Donell <carlos@redhat.com>
27901 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
27902 * stdlib/test-dlclose-exit-race.c: New file.
27903 * stdlib/test-dlclose-exit-race-helper.c: New file.
27904 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
27906 2017-09-21 Joseph Myers <joseph@codesourcery.com>
27908 * crypt/Banner: Remove file.
27909 * nptl/Banner: Likewise.
27910 * resolv/Banner: Likewise.
27911 * soft-fp/Banner: Likewise.
27912 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
27913 ($(objpfx)version.d): Remove dependency on banner.h.
27914 ($(objpfx)version.os): Likewise.
27915 * nptl/version.c (banner): Do not include banner.h.
27916 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
27917 Jelinek and BIND code.
27919 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
27920 Carlos O'Donell <carlos@redhat.com>
27922 * support/xdlfcn.h: New file.
27923 * support/xdlfcn.c: New file.
27924 * support/Makefile (libsupport-routines): Add xdlfcn.
27925 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
27927 2017-09-20 Joseph Myers <joseph@codesourcery.com>
27930 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27931 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
27932 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
27933 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
27934 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
27935 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
27936 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
27937 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
27939 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
27940 Ricky Zhou <rickyz@google.com>
27941 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
27944 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
27946 (__new_exitfn): Fail registration when we finished at_exit processing.
27947 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
27948 * stdlib/on_exit.c (__on_exit): Likewise.
27949 * stdlib/exit.c (__exit_funcs_done): New variable.
27950 (__run_exit_handlers): Use __exit_funcs_lock.
27951 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
27953 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
27954 (test-cxa_atexit-race, test-on_exit-race): New tests.
27955 * stdlib/test-atexit-race-common.c: New file.
27956 * stdlib/test-atexit-race.c: New file.
27957 * stdlib/test-at_quick_exit-race.c: New file.
27958 * stdlib/test-cxa_atexit-race.c: New file.
27959 * stdlib/test-on_exit-race.c: New file.
27961 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
27963 * benchtests/Makefile: Add exp2f and log2f benchmarks.
27964 * benchtests/exp2f-inputs: Copy of expf-inputs.
27965 * benchtests/log2f-inputs: Copy of logf-inputs.
27967 2017-09-19 Joseph Myers <joseph@codesourcery.com>
27969 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
27970 Explicitly take address of first element of array arguments in
27971 call to INLINE_SYSCALL.
27973 2017-09-19 Andreas Schwab <schwab@suse.de>
27976 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
27978 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
27980 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
27981 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
27982 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27983 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
27984 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27985 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
27986 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27987 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
27988 * posix/Makefile (tests): Add tst-fexecve.
27989 * posix/tst-fexecve.c: New file.
27991 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27993 * benchtests/Makefile: Add logf benchmark.
27994 * benchtests/logf-inputs: Add reduced trace from wrf_r.
27996 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27998 * benchtests/Makefile: Add expf benchmark.
27999 * benchtests/expf-inputs: Add reduced trace from wrf_r.
28001 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28003 * csu/Makefile: Add -funwind-tables to libc-start.c.
28004 * debug/Makefile: Add -funwind-tables to backtrace.c.
28005 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
28006 * sysdeps/arm/Makefile: Likewise.
28007 * sysdeps/i386/Makefile: Likewise.
28008 * sysdeps/m68k/Makefile: Likewise.
28009 * sysdeps/mips/Makefile: Likewise.
28010 * sysdeps/nios2/Makefile: Likewise.
28011 * sysdeps/sh/Makefile: Likewise.
28012 * sysdeps/sparc/Makefile: Likewise.
28014 2017-09-19 Joseph Myers <joseph@codesourcery.com>
28016 * benchtests/Makefile (bench-math): Add trunc and truncf.
28017 (CFLAGS-bench-trunc.c): New variable.
28018 (CFLAGS-bench-truncf.c): Likewise.
28019 * benchtests/trunc-inputs: New file.
28020 * benchtests/truncf-inputs: Likewise.
28022 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28024 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
28026 2017-09-18 Joseph Myers <joseph@codesourcery.com>
28028 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
28029 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
28031 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
28032 (exp10l): Define as weak alias.
28033 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
28034 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
28036 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
28037 (remainderl): Define as weak alias.
28039 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
28040 (fmal): Define using libm_alias_ldouble.
28041 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
28042 (acoshl): Define using libm_alias_ldouble.
28043 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
28044 (acosl): Define using libm_alias_ldouble.
28045 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
28046 (asinl): Define using libm_alias_ldouble.
28047 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
28048 (atan2l): Define using libm_alias_ldouble.
28049 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
28050 (atanhl): Define using libm_alias_ldouble.
28051 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
28052 (coshl): Define using libm_alias_ldouble.
28053 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
28054 (exp10l): Define using libm_alias_ldouble.
28055 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
28056 (exp2l): Define using libm_alias_ldouble.
28057 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
28058 (expl): Define using libm_alias_ldouble.
28059 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
28060 (fmodl): Define using libm_alias_ldouble.
28061 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
28062 (hypotl): Define using libm_alias_ldouble.
28063 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
28064 (j0l): Define using libm_alias_ldouble.
28066 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
28067 (j1l): Define using libm_alias_ldouble.
28069 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
28070 (jnl): Define using libm_alias_ldouble.
28072 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
28073 (log10l): Define using libm_alias_ldouble.
28074 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
28075 (log2l): Define using libm_alias_ldouble.
28076 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
28077 (logl): Define using libm_alias_ldouble.
28078 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
28079 (powl): Define using libm_alias_ldouble.
28080 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
28081 (remainderl): Define using libm_alias_ldouble.
28082 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
28083 (sinhl): Define using libm_alias_ldouble.
28084 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
28085 (sqrtl): Define using libm_alias_ldouble.
28086 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
28087 (tgammal): Define using libm_alias_ldouble.
28088 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
28089 (exp10l): Do not use long_double_symbol here.
28090 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
28091 [LIBM_SVID_COMPAT] (remainderl): Likewise.
28092 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
28093 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
28094 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
28095 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28096 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28097 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28098 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28099 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28100 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
28101 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
28102 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
28103 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
28104 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
28105 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
28106 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
28107 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
28108 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
28109 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
28110 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
28111 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
28113 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
28115 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
28116 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
28118 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
28120 * io/read.c (read): Add libc_hidden_weak.
28121 * sysdeps/mach/hurd/read.c (read): Likewise.
28122 * io/write.c (write): Likewise.
28123 * sysdeps/mach/hurd/write.c (write): Likewise.
28124 * io/pread64.c (__pread64): Likewise.
28125 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
28126 * posix/pread64.c (__pread64): Add libc_hidden_def.
28128 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
28130 * benchtests/scripts/compare_strings.py: New option -g.
28131 (draw_graph): Print a message that a graph is being generated.
28132 (process_results): Generate graph only if -g is passed.
28133 (main): Process option -g.
28135 * benchtests/scripts/compare_strings.py (process_results):
28136 Better spacing for output.
28138 * benchtests/scripts/compare_strings.py: Use argparse.
28139 * benchtests/README: Document existence of compare_strings.py.
28141 2017-09-15 Joseph Myers <joseph@codesourcery.com>
28143 * math/s_fma.c: Include <libm-alias-double.h>.
28144 (fma): Define using libm_alias_double.
28145 * math/s_nextafter.c: Include <libm-alias-double.h>.
28146 (nextafter): Define using libm_alias_double.
28147 * math/w_acos_compat.c: Include <libm-alias-double.h>.
28148 (acos): Define using libm_alias_double.
28149 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
28150 (aocsh): Define using libm_alias_double.
28151 * math/w_asin_compat.c: Include <libm-alias-double.h>.
28152 (asin): Define using libm_alias_double.
28153 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
28154 (atan2): Define using libm_alias_double.
28155 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
28156 (atanh): Define using libm_alias_double.
28157 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
28158 (cosh): Define using libm_alias_double.
28159 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
28160 (exp10): Define using libm_alias_double.
28161 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
28162 (exp2): Define using libm_alias_double.
28163 * math/w_exp_compat.c: Include <libm-alias-double.h>.
28164 (exp): Define using libm_alias_double.
28165 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
28166 (fmod): Define using libm_alias_double.
28167 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
28168 (hypot): Define using libm_alias_double.
28169 * math/w_j0_compat.c: Include <libm-alias-double.h>.
28170 (j0): Define using libm_alias_double.
28172 * math/w_j1_compat.c: Include <libm-alias-double.h>.
28173 (j1): Define using libm_alias_double.
28175 * math/w_jn_compat.c: Include <libm-alias-double.h>.
28176 (jn): Define using libm_alias_double.
28178 * math/w_log10_compat.c: Include <libm-alias-double.h>.
28179 (log10): Define using libm_alias_double.
28180 * math/w_log2_compat.c: Include <libm-alias-double.h>.
28181 (log2): Define using libm_alias_double.
28182 * math/w_log_compat.c: Include <libm-alias-double.h>.
28183 (log): Define using libm_alias_double.
28184 * math/w_pow_compat.c: Include <libm-alias-double.h>.
28185 (pow): Define using libm_alias_double.
28186 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
28187 (remainder): Define using libm_alias_double.
28188 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
28189 (sinh): Define using libm_alias_double.
28190 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
28191 (sqrt): Define using libm_alias_double.
28192 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
28193 (tgamma): Define using libm_alias_double.
28194 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
28195 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
28196 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
28197 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
28198 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
28199 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
28200 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
28201 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
28202 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
28203 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
28204 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
28205 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
28206 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
28207 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
28208 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
28209 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
28210 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
28211 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
28212 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
28213 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
28214 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
28215 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
28216 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
28217 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
28218 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
28220 * math/e_acoshl.c: Remove.
28221 * math/e_acosl.c: Likewise.
28222 * math/e_asinl.c: Likewise.
28223 * math/e_atan2l.c: Likewise.
28224 * math/e_atanhl.c: Likewise.
28225 * math/e_coshl.c: Likewise.
28226 * math/e_expl.c: Likewise.
28227 * math/e_fmodl.c: Likewise.
28228 * math/e_gammal_r.c: Likewise.
28229 * math/e_hypotl.c: Likewise.
28230 * math/e_j0l.c: Likewise.
28231 * math/e_j1l.c: Likewise.
28232 * math/e_jnl.c: Likewise.
28233 * math/e_lgammal_r.c: Likewise.
28234 * math/e_log10l.c: Likewise.
28235 * math/e_log2l.c: Likewise.
28236 * math/e_logl.c: Likewise.
28237 * math/e_powl.c: Likewise.
28238 * math/e_rem_pio2l.c: Likewise.
28239 * math/e_sinhl.c: Likewise.
28240 * math/e_sqrtf128.c: Likewise.
28241 * math/e_sqrtl.c: Likewise.
28242 * math/k_cosl.c: Likewise.
28243 * math/k_sinl.c: Likewise.
28244 * math/k_tanl.c: Likewise.
28245 * math/s_asinhl.c: Likewise.
28246 * math/s_atanl.c: Likewise.
28247 * math/s_cbrtl.c: Likewise.
28248 * math/s_erfl.c: Likewise.
28249 * math/s_expm1l.c: Likewise.
28250 * math/s_log1pl.c: Likewise.
28251 * math/s_tanhl.c: Likewise.
28253 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28256 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
28257 [$(subdir) = math] (sysdep_calls): New variable. Has the
28258 previous contents of sysdep_routines, but re-sorted..
28259 [$(subdir) = math] (sysdep_routines): Re-use the contents from
28261 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
28262 defined in sysdep_calls and replace by the respective m_* names.
28263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
28264 (compat_symbol): Undefine to avoid duplicated compat symbols in
28267 2017-09-15 Joseph Myers <joseph@codesourcery.com>
28269 * math/s_fmaf.c: Include <libm-alias-float.h>.
28270 (fmaf): Define using libm_alias_float.
28271 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
28272 (acosf): Define using libm_alias_float.
28273 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
28274 (acoshf): Define using libm_alias_float.
28275 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
28276 (asinf): Define using libm_alias_float.
28277 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
28278 (atan2f): Define using libm_alias_float.
28279 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
28280 (atanhf): Define using libm_alias_float.
28281 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
28282 (coshf): Define using libm_alias_float.
28283 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
28284 (exp10f): Define using libm_alias_float.
28285 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
28286 (fmodf): Define using libm_alias_float.
28287 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
28288 (hypotf): Define using libm_alias_float.
28289 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
28290 (j0f): Define using libm_alias_float.
28292 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
28293 (j1f): Define using libm_alias_float.
28295 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
28296 (jnf): Define using libm_alias_float.
28298 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
28299 (log10f): Define using libm_alias_float.
28300 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
28301 (log2f): Define using libm_alias_float.
28302 * math/w_logf_compat.c: Include <libm-alias-float.h>.
28303 (logf): Define using libm_alias_float.
28304 * math/w_powf_compat.c: Include <libm-alias-float.h>.
28305 (powf): Define using libm_alias_float.
28306 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
28307 (remainderf): Define using libm_alias_float.
28308 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
28309 (sinhf): Define using libm_alias_float.
28310 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
28311 (sqrtf): Define using libm_alias_float.
28312 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
28313 (tgammaf): Define using libm_alias_float.
28315 2017-09-14 Joseph Myers <joseph@codesourcery.com>
28317 * include/math.h (roundeven): Change hidden_proto call to
28319 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
28321 [NO_LONG_DOUBLE] (__j0l): New strong alias.
28322 (y0): Rename to __y0 and define as weak alias.
28323 [NO_LONG_DOUBLE] (__y0l): New strong alias.
28324 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
28326 (y0f): Rename to __y0f and define as weak alias.
28327 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
28329 [NO_LONG_DOUBLE] (__j1l): New strong alias.
28330 (y1): Rename to __y1 and define as weak alias.
28331 [NO_LONG_DOUBLE] (__y1l): New strong alias.
28332 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
28334 (y1f): Rename to __y1f and define as weak alias.
28335 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
28337 [NO_LONG_DOUBLE] (__jnl): New strong alias.
28338 (yn): Rename to __yn and define as weak alias.
28339 [NO_LONG_DOUBLE] (__ynl): New strong alias.
28340 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
28342 (ynf): Rename to __ynf and define as weak alias.
28343 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
28344 (fromfp): Define as weak alias.
28345 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
28346 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
28347 (fromfpx): Define as weak alias.
28348 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
28349 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
28350 __getpayload and define as weak alias.
28351 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28352 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
28353 __roundeven and define as weak alias.
28354 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28355 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
28357 (setpayload): Define as weak alias.
28358 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
28359 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
28361 (setpayloadsig): Define as weak alias.
28362 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
28363 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
28364 __totalorder and define as weak alias.
28365 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28366 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
28367 to __totalordermag and define as weak alias.
28368 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28369 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
28370 (ufromfp): Define as weak alias.
28371 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
28372 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
28374 (ufromfpx): Define as weak alias.
28375 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
28376 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
28377 Rename to __getpayload and define as weak alias.
28378 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28379 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
28380 Rename to __roundeven and define as weak alias.
28381 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28382 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
28383 Rename to __totalorder and define as weak alias.
28384 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28385 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
28386 (totalordermag): Rename to __totalordermag and define as weak
28388 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28389 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
28391 (__roundevenl): Likewise.
28392 (__totalorderl): Likewise.
28393 (__totalordermagl): Likewise
28394 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
28396 (fromfpf128): Define as weak alias.
28397 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
28399 (fromfpxf128): Define as weak alias.
28400 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
28402 (setpayloadf128): Define as weak alias.
28403 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
28404 __setpayloadsigf128.
28405 (setpayloadsigf128): Define as weak alias.
28406 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
28408 (ufromfpf128): Define as weak alias.
28409 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
28411 (ufromfpxf128): Define as weak alias.
28412 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
28413 (fromfpf): Define as weak alias.
28414 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
28416 (fromfpxf): Define as weak alias.
28417 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
28418 __getpayloadf and define as weak alias.
28419 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
28420 __roundevenf and define as weak alias.
28421 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
28423 (setpayloadf): Define as weak alias.
28424 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
28426 (setpayloadsigf): Define as weak alias.
28427 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
28428 __totalorderf and define as weak alias.
28429 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
28430 Rename to __totalordermagf and define as weak alias.
28431 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
28433 (ufromfpf): Define as weak alias.
28434 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
28436 (ufromfpxf): Define as weak alias.
28437 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
28439 (fromfpl): Define as weak alias.
28440 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
28442 (fromfpxl): Define as weak alias.
28443 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
28444 to __getpayloadl and define as weak alias.
28445 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
28446 __roundevenl and define as weak alias.
28447 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
28449 (setpayloadl): Define as weak alias.
28450 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
28452 (setpayloadsigl): Define as weak alias.
28453 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
28454 to __totalorderl and define as weak alias.
28455 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
28456 Rename to __totalordermagl and define as weak alias.
28457 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
28459 (ufromfpl): Define as weak alias.
28460 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
28462 (ufromfpxl): Define as weak alias.
28463 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
28465 (fromfpl): Define as weak alias.
28466 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
28468 (fromfpxl): Define as weak alias.
28469 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
28470 Rename to __getpayloadl and define as weak alias.
28471 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
28472 to __roundevenl and define as weak alias. Call __roundeven
28473 instead of roundeven.
28474 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
28476 (setpayloadl): Define as weak alias.
28477 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
28479 (setpayloadsigl): Define as weak alias.
28480 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
28481 Rename to __totalorderl and define as weak alias.
28482 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
28483 Rename to __totalordermagl and define as weak alias.
28484 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
28486 (ufromfpl): Define as weak alias.
28487 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
28489 (ufromfpxl): Define as weak alias.
28490 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
28492 (fromfpl): Define as weak alias.
28493 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
28495 (fromfpxl): Define as weak alias.
28496 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
28497 __getpayloadl and define as weak alias.
28498 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
28499 __roundevenl and define as weak alias.
28500 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
28502 (setpayloadl): Define as weak alias.
28503 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
28505 (setpayloadsigl): Define as weak alias.
28506 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
28507 __totalorderl and define as weak alias.
28508 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
28509 Rename to __totalordermagl and define as weak alias.
28510 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
28512 (ufromfpl): Define as weak alias.
28513 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
28515 (ufromfpxl): Define as weak alias.
28517 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
28519 * benchtests/bench-string.h (realloc_bufs): New function.
28520 (test_init): Call it.
28521 * benchtests/bench-memset-large.c (do_test): Likewise.
28522 * benchtests/bench-memset.c (do_test): Likewise.
28524 * benchtests/bench-memset-large.c: Print output in JSON
28526 * benchtests/bench-memset.c: Likewise.
28528 2017-09-14 Mike FABIAN <mfabian@redhat.com>
28531 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
28532 * iconvdata/Makefile: Add IBM858.
28533 * iconvdata/gconv-modules: Likewise.
28534 * iconvdata/tst-tables.sh: Likewise.
28535 * iconvdata/ibm858.c: New file.
28536 * localedata/charmaps/IBM858: Likewise.
28538 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
28541 * locales/niu_NZ (LC_TIME): copy "niu_NU".
28542 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
28544 2017-09-14 Mike FABIAN <mfabian@redhat.com>
28547 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
28548 and add tel_int_fmt.
28550 2017-09-14 Joseph Myers <joseph@codesourcery.com>
28552 * sysdeps/generic/libm-alias-float128.h: New file.
28553 * sysdeps/generic/math-type-macros-float128.h: Include
28554 <libm-alias-float128.h>.
28555 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28557 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28559 * sysdeps/generic/libm-alias-ldouble.h: New file.
28560 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
28561 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
28562 * sysdeps/generic/math-type-macros-ldouble.h: Include
28563 <libm-alias-ldouble.h>.
28564 [!declare_mgen_alias] (declare_mgen_alias): Define to use
28565 libm_alias_ldouble.
28567 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
28569 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
28570 * math/w_exp_compat.c: ... here.
28571 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
28572 * math/w_expf_compat.c: ... here.
28573 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
28574 * math/w_expl_compat.c: ... here.
28575 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
28576 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
28577 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
28578 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28580 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28582 * math/w_scalbln_template.c (strong_alias): Do not undefine and
28584 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
28586 (ldexpl): Only define as compat symbol for libc, not libm.
28587 (scalbnl): Define as compat symbol for libc here.
28588 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
28589 define for [IS_IN (libc)].
28590 (__ldexpl_2): Remove alias.
28591 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
28592 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
28593 name in long_double_symbol call.
28594 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
28595 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
28596 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
28597 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
28598 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
28600 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
28601 Define as compat symbol.
28603 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28605 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
28606 * sysdeps/unix/sysv/linux/alpha/Makefile
28607 [$(subdir) = csu] (sysdep_routines): Remove rule.
28609 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28611 * sysdeps/generic/libm-alias-double.h: New file.
28612 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
28613 * sysdeps/generic/math-type-macros-double.h: Include
28614 <libm-alias-double.h>.
28615 [declare_mgen_alias] (declare_mgen_alias): Define to use
28617 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
28618 (M_LIBM_NEED_COMPAT): Remove macro.
28619 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
28620 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
28621 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
28623 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28624 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28625 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28626 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28627 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28628 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28629 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28630 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28631 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28632 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28633 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28634 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28635 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28636 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28637 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28638 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28639 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28640 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28641 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28642 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28643 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28644 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28645 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28646 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28647 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28648 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28649 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28650 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
28651 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
28653 (declare_mgen_alias): New macro.
28654 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
28655 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
28656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
28657 (M_LIBM_NEED_COMPAT): Remove macro.
28658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
28659 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
28660 <first-versions.h>.
28661 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
28662 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
28664 2017-09-12 Joseph Myers <joseph@codesourcery.com>
28666 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
28667 (declare_mgen_alias_2): Remove.
28668 * sysdeps/generic/math-type-macros-double.h
28669 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
28671 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
28673 (ldexp): Define with declare_mgen_alias.
28674 (scalbn): Likewise.
28676 2017-09-12 Steve Ellcey <sellcey@cavium.com>
28678 * grp/initgroups.c: Include config.h.
28679 (DEFAULT_CONFIG): New macro.
28680 (internal_getgrouplist): Use DEFAULT_CONFIG.
28681 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28682 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
28683 (DEFAULT_DEFCONFIG): New macro.
28684 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
28685 * nss/grp-lookup.c: Include config.h
28686 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
28687 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
28688 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
28689 * manual/nss.texi: Update default values section.
28691 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
28694 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
28696 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
28697 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
28698 Handle MathVec_Prefer_No_AVX512.
28699 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
28700 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
28703 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
28705 * posix/sched_primax.c (__sched_get_priority_max): Add
28707 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
28708 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
28709 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
28710 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
28711 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
28712 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
28713 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
28714 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
28717 2017-09-11 Joseph Myers <joseph@codesourcery.com>
28719 * sysdeps/generic/libm-alias-float.h: New file.
28720 * sysdeps/generic/math-type-macros-float.h: Include
28721 <libm-alias-float.h>.
28722 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28724 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
28727 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
28728 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
28729 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
28730 (HWCAP_IMPORTANT): Likewise.
28731 (HWCAP_X86_64): New enum.
28732 (HWCAP_X86_AVX512_1): Updated.
28733 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
28734 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
28735 (modules-names): Add x86_64/tst-x86_64mod-1.
28736 (LDFLAGS-tst-x86_64mod-1.so): New.
28737 ($(objpfx)tst-x86_64-1): Likewise.
28738 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
28739 (tst-x86_64-1-clean): Likewise.
28740 * sysdeps/x86_64/tst-x86_64-1.c: New file.
28741 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
28743 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
28745 * po/sv.po: Update translations.
28746 * po/fr.po: Likewise.
28748 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28750 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
28752 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
28754 * elf/rtld-Rules: Fix $(error) use.
28756 2017-09-09 Mike FABIAN <mfabian@redhat.com>
28759 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
28760 * locale/iso-639.def: Change “Bengali” to “Bangla”.
28761 * localedata/locales/bn_BD: “Bengali” was still used in some
28762 comments. Change it to “Bangla”.
28764 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
28766 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
28768 2017-09-08 Steve Ellcey <sellcey@cavium.com>
28770 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
28771 thunderx2t99p1 to list of cpu names.
28772 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
28773 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
28775 2017-09-08 Steve Ellcey <sellcey@cavium.com>
28777 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
28778 Use strcmp instead of tunable_is_name.
28780 2017-09-08 Joseph Myers <joseph@codesourcery.com>
28782 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28783 (F_GET_RW_HINT): New macro.
28784 [__USE_GNU] (F_SET_RW_HINT): Likewise.
28785 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
28786 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
28787 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
28788 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
28789 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
28790 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
28791 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
28792 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
28794 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28795 (F_ADD_SEALS): New macro.
28796 [__USE_GNU] (F_GET_SEALS): Likewise.
28797 [__USE_GNU] (F_SEAL_SEAL): Likewise.
28798 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
28799 [__USE_GNU] (F_SEAL_GROW): Likewise.
28800 [__USE_GNU] (F_SEAL_WRITE): Likewise.
28802 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28804 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
28805 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
28806 * posix/glob_internal.h (__glob_pattern_type):
28807 * posix/glob.c (glob):
28808 * posix/glob_pattern_p.c (__glob_pattern_p):
28811 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
28812 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28813 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
28814 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
28815 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
28817 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
28818 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
28819 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28820 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28821 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28822 * sysdeps/wordsize-64/glob.c: Likewise.
28823 * sysdeps/wordsize-64/glob64.c: Likewise.
28824 * sysdeps/wordsize-64/globfree.c: Likewise.
28825 * sysdeps/wordsize-64/globfree64.c: Likewise.
28826 * sysdeps/unix/sysv/linux/glob.c: New file.
28827 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
28828 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
28829 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
28830 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28831 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
28832 adds !GLOB_NO_OLD_VERSION as an extra condition.
28833 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
28834 using relative path instead of absolute one.
28835 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
28836 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28837 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28838 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
28839 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
28840 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
28843 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
28844 (glob): Use the same scratch buffer for both getlogin_r and
28845 getpwnam_r. Don’t require preallocation of the login name. This
28846 simplifies storage allocation, and corrects the handling of
28850 * posix/glob.c (glob): Port recent patches to platforms
28851 lacking getpwnam_r.
28852 (glob): Fix longstanding misuse of errno after getpwnam_r, which
28853 returns an error number rather than setting errno.
28855 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
28856 instead of GCC extension.
28857 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
28858 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
28859 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
28863 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
28864 * posix/bug-glob1.c: Remove file.
28865 * posix/tst-glob_symlinks.c: New file.
28866 * posix/glob.c (__lstat64): New macro.
28867 (is_dir): New function.
28868 (glob, glob_in_dir): Match symlinks even if they are dangling.
28869 (link_stat, link_exists_p): Remove. All uses removed.
28873 * posix/glob.c (struct readdir_result): Remove skip_entry member.
28874 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
28879 * posix/Makefile (routines): Add globfree, globfree64, and
28881 * posix/flexmember.h: New file.
28882 * posix/glob_internal.h: Likewise.
28883 * posix/glob_pattern_p.c: Likewise.
28884 * posix/globfree.c: Likewise.
28885 * posix/globfree64.c: Likewise.
28886 * sysdeps/gnu/globfree64.c: Likewise.
28887 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
28888 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28889 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
28890 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28891 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28892 * sysdeps/wordsize-64/globfree.c: Likewise.
28893 * sysdeps/wordsize-64/globfree64.c: Likewise.
28894 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
28895 [NDEBUG): Remove comments.
28896 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
28897 (dirent_type): New type. Use uint_fast8_t not
28898 uint8_t, as C99 does not require uint8_t.
28899 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
28900 (struct readdir_result): Use dirent_type. Do not define skip_entry
28901 unless it is needed; this saves a byte on platforms lacking d_ino.
28902 (readdir_result_type, readdir_result_skip_entry):
28903 New functions, replacing ...
28904 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
28905 these functions, which were removed. This makes the callers
28906 easier to read. All callers changed.
28907 (D_INO_TO_RESULT): Now empty if there is no d_ino.
28908 (size_add_wrapv, glob_use_alloca): New static functions.
28909 (glob, glob_in_dir): Check for size_t overflow in several places,
28910 and fix some size_t checks that were not quite right.
28911 Remove old code using SHELL since Bash no longer
28913 (glob, prefix_array): Separate MS code better.
28914 (glob_in_dir): Remove old Amiga and VMS code.
28915 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
28917 (glob_in_dir): Do not rely on undefined behavior in accessing
28918 struct members beyond their bounds. Use a flexible array member
28920 (link_stat): Rename from link_exists2_p and return -1/0 instead of
28921 0/1. Caller changed.
28922 (glob): Fix memory leaks.
28923 * posix/glob64 (globfree64): Move to separate file.
28924 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
28925 (globfree64): Remove hidden alias.
28926 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
28928 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
28930 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
28932 Move compat code to separate file.
28933 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
28936 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
28938 * resolv/tst-resolv-qtypes.c (domain): Changed to
28939 "const char domain[] =".
28941 2017-09-07 Joseph Myers <joseph@codesourcery.com>
28943 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
28946 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
28947 (TCP_MD5SIG_EXT): Likewise.
28948 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
28949 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
28950 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
28952 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
28954 2017-09-07 Mike FABIAN <mfabian@redhat.com>
28956 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
28958 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
28961 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
28963 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
28965 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
28966 before assuming that the file is empty. Avoid testing buffer content
28969 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28972 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
28974 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
28976 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
28978 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
28980 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
28982 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
28984 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
28987 2017-09-06 Florian Weimer <fweimer@redhat.com>
28989 * malloc/dynarray_emplace_enlarge.c
28990 (__libc_dynarray_emplace_enlarge): Add missing else.
28992 2017-09-06 Florian Weimer <fweimer@redhat.com>
28995 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
28996 case of failure to obtain the global conf object.
28998 2017-09-06 Florian Weimer <fweimer@redhat.com>
29001 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
29002 dynarray allocation failure.
29004 2017-09-06 Florian Weimer <fweimer@redhat.com>
29006 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
29007 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
29008 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
29010 (response): Call them. Add 'p', '6' flag processing.
29011 (test_reverse): New function.
29012 (test_get2_any): Call it.
29013 (test_no_inet6): Add 'p' test.
29014 (test_inet6): Likewise.
29016 2017-09-06 Florian Weimer <fweimer@redhat.com>
29018 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
29019 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
29021 (test_gai): Adjust query names. Add additional tests.
29022 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
29023 test_get2. Adjust query names. Add additional tests.
29024 (test_no_inet6): New function, extracted from threadfunc.
29025 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
29026 Add additional tests.
29028 2017-09-06 Mike FABIAN <mfabian@redhat.com>
29031 * localedata/unicode-gen/utf8_gen.py: Set the width for
29032 characters with Prepended_Concatenation_Mark property to 1
29033 * localedata/charmaps/UTF-8: Updated using the improved script.
29035 2017-09-06 Mike FABIAN <mfabian@redhat.com>
29038 * localedata/unicode-gen/utf8_gen.py: Improve the script to
29039 use the range notation for all ranges of neighbouring characters
29040 with the same width.
29042 2017-09-05 Joseph Myers <joseph@codesourcery.com>
29044 * sysdeps/generic/math-type-macros-double.h: Include
29045 <math-svid-compat.h>.
29046 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29047 * sysdeps/generic/math-type-macros-float.h: Include
29048 <math-svid-compat.h>.
29049 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29050 * sysdeps/generic/math-type-macros-ldouble.h: Include
29051 <math-svid-compat.h>.
29052 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29053 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
29055 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
29056 * math/w_acosf_compat.c: Likewise.
29057 * math/w_acosh_compat.c: Likewise.
29058 * math/w_acoshf_compat.c: Likewise.
29059 * math/w_acoshl_compat.c: Likewise.
29060 * math/w_acosl_compat.c: Likewise.
29061 * math/w_asin_compat.c: Likewise.
29062 * math/w_asinf_compat.c: Likewise.
29063 * math/w_asinl_compat.c: Likewise.
29064 * math/w_atan2_compat.c: Likewise.
29065 * math/w_atan2f_compat.c: Likewise.
29066 * math/w_atan2l_compat.c: Likewise.
29067 * math/w_atanh_compat.c: Likewise.
29068 * math/w_atanhf_compat.c: Likewise.
29069 * math/w_atanhl_compat.c: Likewise.
29070 * math/w_cosh_compat.c: Likewise.
29071 * math/w_coshf_compat.c: Likewise.
29072 * math/w_coshl_compat.c: Likewise.
29073 * math/w_exp10_compat.c: Likewise.
29074 * math/w_exp10f_compat.c: Likewise.
29075 * math/w_exp10l_compat.c: Likewise.
29076 * math/w_exp2_compat.c: Likewise.
29077 * math/w_exp2f_compat.c: Likewise.
29078 * math/w_exp2l_compat.c: Likewise.
29079 * math/w_fmod_compat.c: Likewise.
29080 * math/w_fmodf_compat.c: Likewise.
29081 * math/w_fmodl_compat.c: Likewise.
29082 * math/w_hypot_compat.c: Likewise.
29083 * math/w_hypotf_compat.c: Likewise.
29084 * math/w_hypotl_compat.c: Likewise.
29085 * math/w_j0_compat.c: Likewise.
29086 * math/w_j0f_compat.c: Likewise.
29087 * math/w_j0l_compat.c: Likewise.
29088 * math/w_j1_compat.c: Likewise.
29089 * math/w_j1f_compat.c: Likewise.
29090 * math/w_j1l_compat.c: Likewise.
29091 * math/w_jn_compat.c: Likewise.
29092 * math/w_jnf_compat.c: Likewise.
29093 * math/w_jnl_compat.c: Likewise.
29094 * math/w_lgamma_r_compat.c: Likewise.
29095 * math/w_lgammaf_r_compat.c: Likewise.
29096 * math/w_lgammal_r_compat.c: Likewise.
29097 * math/w_log10_compat.c: Likewise.
29098 * math/w_log10f_compat.c: Likewise.
29099 * math/w_log10l_compat.c: Likewise.
29100 * math/w_log2_compat.c: Likewise.
29101 * math/w_log2f_compat.c: Likewise.
29102 * math/w_log2l_compat.c: Likewise.
29103 * math/w_log_compat.c: Likewise.
29104 * math/w_logf_compat.c: Likewise.
29105 * math/w_logl_compat.c: Likewise.
29106 * math/w_pow_compat.c: Likewise.
29107 * math/w_powf_compat.c: Likewise.
29108 * math/w_powl_compat.c: Likewise.
29109 * math/w_remainder_compat.c: Likewise.
29110 * math/w_remainderf_compat.c: Likewise.
29111 * math/w_remainderl_compat.c: Likewise.
29112 * math/w_sinh_compat.c: Likewise.
29113 * math/w_sinhf_compat.c: Likewise.
29114 * math/w_sinhl_compat.c: Likewise.
29115 * math/w_sqrt_compat.c: Likewise.
29116 * math/w_sqrtf_compat.c: Likewise.
29117 * math/w_sqrtl_compat.c: Likewise.
29118 * math/w_tgamma_compat.c: Likewise.
29119 * math/w_tgammaf_compat.c: Likewise.
29120 * math/w_tgammal_compat.c: Likewise.
29121 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
29122 [LIBM_SVID_COMPAT].
29123 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
29124 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
29125 [LIBM_SVID_COMPAT].
29126 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
29127 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
29128 [LIBM_SVID_COMPAT].
29129 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
29130 * sysdeps/i386/fpu/w_sqrt.c: New file.
29131 * sysdeps/ia64/fpu/w_acos.c: Likewise.
29132 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
29133 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
29134 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
29135 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
29136 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
29137 * sysdeps/ia64/fpu/w_asin.c: Likewise.
29138 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
29139 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
29140 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
29141 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
29142 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
29143 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
29144 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
29145 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
29146 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
29147 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
29148 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
29149 * sysdeps/ia64/fpu/w_exp.c: Likewise.
29150 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
29151 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
29152 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
29153 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
29154 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
29155 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
29156 * sysdeps/ia64/fpu/w_expf.c: Likewise.
29157 * sysdeps/ia64/fpu/w_expl.c: Likewise.
29158 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
29159 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
29160 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
29161 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
29162 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
29163 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
29164 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
29165 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
29166 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
29167 * sysdeps/ia64/fpu/w_log.c: Likewise.
29168 * sysdeps/ia64/fpu/w_log10.c: Likewise.
29169 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
29170 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
29171 * sysdeps/ia64/fpu/w_log2.c: Likewise.
29172 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
29173 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
29174 * sysdeps/ia64/fpu/w_logf.c: Likewise.
29175 * sysdeps/ia64/fpu/w_logl.c: Likewise.
29176 * sysdeps/ia64/fpu/w_pow.c: Likewise.
29177 * sysdeps/ia64/fpu/w_powf.c: Likewise.
29178 * sysdeps/ia64/fpu/w_powl.c: Likewise.
29179 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
29180 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
29181 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
29182 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
29183 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
29184 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
29185 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
29186 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
29187 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
29188 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
29189 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
29190 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
29191 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
29192 [LIBM_SVID_COMPAT].
29193 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
29194 * sysdeps/ieee754/k_standard.c: Likewise.
29195 * sysdeps/ieee754/k_standardf.c: Likewise.
29196 * sysdeps/ieee754/k_standardl.c: Likewise.
29197 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
29198 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
29199 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
29200 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
29201 long_double_symbol call on [LIBM_SVID_COMPAT].
29202 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
29203 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
29204 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
29205 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
29206 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
29207 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
29208 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
29209 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
29210 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
29211 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
29212 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
29213 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
29214 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
29215 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
29216 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
29217 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
29218 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
29219 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
29220 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
29221 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
29222 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
29223 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
29225 2017-09-05 Steve Ellcey <sellcey@cavium.com>
29227 * include/shlib-compat.h (TEST_COMPAT): New Macro.
29228 * malloc/tst-mallocstate.c: Convert from test-skeleton
29229 to test-driver. Ifdef code using TEST_COMPAT macro.
29230 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
29231 * math/test-matherr.c: Likewise.
29233 2017-09-05 Joseph Myers <joseph@codesourcery.com>
29236 * debug/pcprofiledump.c (main): Use byte-swapped mask when
29237 comparing word with byte-swapped constant.
29239 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
29242 * locale/iso-639.def: add Miskito.
29243 * localedata/SUPPORTED: Add miq_NI/UTF-8.
29244 * localedata/locales/miq_NI: New file.
29246 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
29249 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
29250 (__mkdir): Likewise.
29251 * io/chmod.c (__chmod): Add libc_hidden_def.
29252 * io/mkdir.c (__mkdir): Likewise.
29253 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
29254 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
29255 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
29256 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
29258 2017-09-04 Joseph Myers <joseph@codesourcery.com>
29260 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
29264 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
29265 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
29267 2017-09-04 Florian Weimer <fweimer@redhat.com>
29269 * math/math.h: Issue warning if log is defined.
29271 2017-09-04 Joseph Myers <joseph@codesourcery.com>
29273 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
29274 kernel version to 4.13.
29276 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
29278 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
29279 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
29281 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
29282 just <bits/types.h>.
29283 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
29284 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
29285 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
29286 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
29287 * misc/preadv2.c: Include <errno.h>.
29288 * misc/preadv64v2.c: Include <errno.h>.
29289 * misc/pwritev2.c: Include <errno.h>.
29290 * misc/pwritev64v2.c: Include <errno.h>.
29291 * sysdeps/posix/preadv2.c: Include <errno.h>.
29292 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
29293 Fix <unistd.h> inclusion.
29294 * sysdeps/posix/pwritev2.c: Include <errno.h>.
29295 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
29296 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
29297 __strtoul_internal): New functions.
29298 * sysdeps/posix/pause.c: Include <sigsetops.h>.
29299 * sysdeps/posix/system.c: Include <sigsetops.h>.
29300 * sysdeps/mach/hurd/i386/Makefile
29301 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
29302 [$(subdir) = csu] (sysdep-only-routines): Likewise.
29303 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
29304 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
29305 __feraiseexcept_renamed to feraiseexcept instead of
29306 __GI_feraiseexcept.
29307 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
29308 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
29309 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
29310 RWF_NOWAIT): Define to 0 if undefined already.
29311 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
29313 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
29314 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
29316 2017-09-01 Joseph Myers <joseph@codesourcery.com>
29318 * manual/math.texi (pow10): Do not document.
29319 (pow10f): Likewise.
29320 (pow10l): Likewise.
29321 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
29322 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
29323 * math/libm-test-exp10.inc (pow10_test): Remove.
29324 (do_test): Do not call pow10.
29325 * math/w_exp10_compat.c (pow10): Make into compat symbol.
29326 [NO_LONG_DOUBLE] (pow10l): Likewise.
29327 * math/w_exp10f_compat.c (pow10f): Likewise.
29328 * math/w_exp10l_compat.c (pow10l): Likewise.
29329 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
29330 (pow10): Make into compat symbol.
29331 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
29332 (pow10f): Make into compat symbol.
29333 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
29334 (pow10l): Make into compat symbol.
29335 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
29337 (CFLAGS-nldbl-pow10.c): Remove variable..
29338 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
29339 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
29340 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
29341 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
29342 Undefine and redefine.
29343 (pow10l): Make into compat symbol.
29344 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
29345 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
29346 * sysdeps/arm/libm-test-ulps: Likewise.
29347 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
29348 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
29349 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29350 * sysdeps/microblaze/libm-test-ulps: Likewise.
29351 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
29352 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29353 * sysdeps/nios2/libm-test-ulps: Likewise.
29354 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29355 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
29356 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29357 * sysdeps/sh/libm-test-ulps: Likewise.
29358 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29359 * sysdeps/tile/libm-test-ulps: Likewise.
29360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29362 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29364 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
29366 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29368 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
29369 "../ChangeLog.old/ChangeLog.8".
29370 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
29371 "../ChangeLog.old/ChangeLog.14".
29373 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29375 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
29378 2017-09-01 Joseph Myers <joseph@codesourcery.com>
29380 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
29382 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29384 * csu/version.c (banner): Remove "by Roland McGrath et al.".
29385 * nptl/Banner: Remove "by Ulrich Drepper et al.".
29387 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29389 * stdlib/tst-atexit-common.c (do_test): Test support for at least
29390 32 atexit handlers.
29392 2017-09-01 Zack Weinberg <zackw@panix.com>
29394 * math/math.h (HUGE_VAL): Improve commentary.
29396 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29397 Andreas Schwab <schwab@suse.de>
29400 * include/stdio.h (__gen_tempfd): New function.
29401 * stdio-common/Makefile (routines): Add gentempfd.
29402 * stdio-common/gentempfd.c: New file.
29403 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
29404 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
29405 unnamed file first.
29407 2017-09-01 Florian Weimer <fweimer@redhat.com>
29411 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
29412 result to determine success or failure, not the errno value.
29413 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
29414 (tst-nss-files-hosts-erange): Link with -ldl.
29415 * nss/tst-nss-files-hosts-erange.c: New file.
29416 * nss/tst-resolv-basic.c (response): Handle nodata.example.
29417 (do_test): Add NO_DATA tests.
29418 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
29419 (do_test): Call it.
29421 2017-09-01 Florian Weimer <fweimer@redhat.com>
29424 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
29425 coming from gethostbyname2_r.
29427 2017-09-01 Florian Weimer <fweimer@redhat.com>
29429 * support/namespace.h (struct support_chroot_configuration): Add
29431 (struct support_chroot): Add path_hosts, path_host_conf.
29432 * support/support_chroot.c (write_file): New function.
29433 (support_chroot_create): Call it to process /etc/resolv.conf,
29434 /etc/hosts, /etc/host.conf.
29435 (support_chroot_free): Update.
29437 2017-09-01 Florian Weimer <fweimer@redhat.com>
29439 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
29440 status indicates it is set.
29442 2017-09-01 Florian Weimer <fweimer@redhat.com>
29445 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
29446 function lookup failures more reliable.
29448 2017-09-01 Florian Weimer <fweimer@redhat.com>
29450 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
29451 (getcanonname): Likewise.
29452 (gaih_inet): Likewise.
29454 2017-09-01 Florian Weimer <fweimer@redhat.com>
29456 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
29457 (getcanonname): Likewise.
29458 (gaih_inet): Likewise.
29460 2017-08-31 Steve Ellcey <sellcey@cavium.com>
29461 Richard Henderson <rth@twiddle.net>
29463 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
29464 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
29465 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
29466 (IREG_SIZE, OREG_SIZE): New macros.
29467 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
29468 (IREG_SIZE, OREG_SIZE): New macros.
29469 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
29470 (IREG_SIZE): New macro.
29471 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
29472 (IREG_SIZE): New macro.
29473 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
29475 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
29476 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29477 (__CONCATX): Handle exceptions correctly on large values that may
29479 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
29480 Initialize if not already set.
29481 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29483 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29485 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
29486 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
29488 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
29490 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
29492 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
29494 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
29496 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
29498 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
29500 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
29501 (NO_CANCELLATION): Likewise.
29502 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
29504 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
29506 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
29508 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
29509 (NO_CANCELLATION): Likewise.
29510 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
29511 (NO_CANCELLATION): Likewise.
29512 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
29514 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
29516 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
29518 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
29520 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
29522 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
29523 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
29525 2017-08-31 Steve Ellcey <sellcey@cavium.com>
29527 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
29530 2017-08-31 Florian Weimer <fweimer@redhat.com>
29532 * include/libc-symbols.h (internal_function): Remove.
29534 2017-08-31 Florian Weimer <fweimer@redhat.com>
29536 * stdlib/fmtmsg.c (internal_addseverity): Remove
29539 2017-08-31 Florian Weimer <fweimer@redhat.com>
29541 * stdio-common/printf_fp.c (group_number): Remove
29543 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
29545 2017-08-31 Florian Weimer <fweimer@redhat.com>
29547 * posix/fnmatch.c (internal_function): Remove definition.
29548 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
29549 * posix/regcomp.c (peek_token, init_word_char)
29550 (duplicate_node_closure, fetch_token, peek_token)
29551 (peek_token_bracket, build_range_exp, build_collating_symbol):
29553 * posix/regex_internal.c (re_string_construct_common)
29554 (create_ci_newstate, create_cd_newstate, re_string_allocate)
29555 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
29556 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
29557 (re_string_translate_buffer, re_string_reconstruct)
29558 (re_string_peek_byte_case, re_string_fetch_byte_case)
29559 (re_string_destruct, re_string_context_at, re_node_set_alloc)
29560 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
29561 (re_node_set_add_intersect, re_node_set_init_union)
29562 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
29563 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
29564 (re_dfa_add_node, calc_state_hash, re_acquire_state)
29565 (re_acquire_state_context): Likewise.
29566 * posix/regex_internal.h (internal_function): Remove definition.
29567 (re_string_realloc_buffers, build_wcs_buffer)
29568 (build_wcs_upper_buffer, build_upper_buffer)
29569 (re_string_translate_buffer, re_string_context_at)
29570 (re_string_char_size_at, re_string_wchar_at)
29571 (re_string_elem_size_at): Likewise.
29572 * posix/regexec.c (match_ctx_init, match_ctx_clean)
29573 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
29574 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
29575 (re_search_internal, re_search_2_stub, re_search_stub)
29576 (re_copy_regs, prune_impossible_nodes, check_matching)
29577 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
29578 (free_fail_stack_return, sift_states_iter_mb)
29579 (sift_states_backward, build_sifted_states)
29580 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
29581 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
29582 (check_subexp_limits, sift_states_bkref, merge_state_array)
29583 (find_recover_state, transit_state, merge_state_with_log)
29584 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
29585 (transit_state_mb, transit_state_bkref, get_subexp)
29586 (get_subexp_sub, find_subexp_node, check_arrival)
29587 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
29588 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
29589 (check_node_accept_bytes, find_collation_sequence_value)
29590 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
29591 (acquire_init_state_context, check_halt_node_context)
29592 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
29593 (sub_epsilon_src_nodes): Likewise.
29594 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
29595 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
29596 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
29597 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
29598 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
29599 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
29600 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
29601 * sysdeps/posix/ttyname.c (getttyname): Likewise.
29602 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
29603 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
29604 (PREADV): Likewise.
29605 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
29606 (PREADV): Likewise.
29607 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
29608 (PWRITEV): Likewise.
29609 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
29610 (PWRITEV): Likewise.
29611 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
29612 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
29614 2017-08-31 Florian Weimer <fweimer@redhat.com>
29616 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
29617 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
29618 Remove internal_function.
29619 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
29620 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
29621 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
29622 (__deallocate_stack, __libc_pthread_init)
29623 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
29624 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
29625 (__libc_disable_asynccancel, __librt_disable_asynccancel):
29627 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
29628 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
29629 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
29631 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
29632 (__pthread_mutex_unlock_usercnt): Likewise.
29634 2017-08-31 Florian Weimer <fweimer@redhat.com>
29636 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
29637 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
29638 (fts_safe_changedir): Remove internal_function.
29639 * io/ftw.c (internal_function): Remove definition.
29640 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
29642 2017-08-31 Florian Weimer <fweimer@redhat.com>
29644 * inet/deadline.c (__deadline_current_time)
29645 (__deadline_from_timeval, __deadline_to_ms): Remove
29647 * inet/getnameinfo.c (nrl_domainname): Likewise.
29648 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
29649 * inet/inet6_option.c (add_pad): Likewise.
29650 * inet/net-internal.h (__deadline_current_time)
29651 (__deadline_from_timeval, __deadline_to_ms): Likewise.
29652 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
29653 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
29654 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
29656 2017-08-31 Joseph Myers <joseph@codesourcery.com>
29658 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
29659 include <bits/nan.h>.
29660 * math/Makefile (headers): Remove bits/nan.h.
29661 * bits/nan.h: Remove.
29662 * sysdeps/ieee754/bits/nan.h: Likewise.
29663 * sysdeps/mips/bits/nan.h: Likewise.
29665 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
29666 not include <bits/inf.h>.
29667 * math/Makefile (headers): Remove bits/inf.h.
29668 * bits/inf.h: Remove.
29669 * sysdeps/ieee754/bits/inf.h: Likewise.
29671 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
29672 bits/huge_vall.h or bits/huge_val_flt128.h.
29673 (HUGE_VAL): Define directly here.
29674 [__USE_ISOC99] (HUGE_VALF): Likewise.
29675 [__USE_ISOC99] (HUGE_VALL): Likewise.
29676 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29677 (HUGE_VAL_F128): Likewise.
29678 * math/Makefile (headers): Remove bits/huge_val.h,
29679 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
29680 * bits/huge_val.h: Remove.
29681 * bits/huge_val_flt128.h: Likewise.
29682 * bits/huge_valf.h: Likewise.
29683 * bits/huge_vall.h: Likewise.
29684 * sysdeps/ia64/bits/huge_vall.h: Likewise.
29685 * sysdeps/ieee754/bits/huge_val.h: Likewise.
29686 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
29687 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
29688 * sysdeps/sh/bits/huge_val.h: Likewise.
29689 * sysdeps/sparc/bits/huge_vall.h: Likewise.
29690 * sysdeps/x86/bits/huge_vall.h: Likewise.
29692 2017-08-31 Florian Weimer <fweimer@redhat.com>
29694 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
29696 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
29698 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
29699 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
29700 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
29701 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
29702 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29703 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
29704 * elf/dl-libc.c (dlerror_run): Likewise.
29705 * elf/dl-load.c (add_name_to_object, decompose_rpath)
29706 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
29707 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
29708 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
29710 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
29711 (_dl_higher_prime_number, _dl_strtoul): Likewise.
29712 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
29713 * elf/dl-profile.c (_dl_start_profile): Likewise.
29714 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
29715 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
29717 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
29718 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
29719 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
29720 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
29721 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
29722 (_dl_allocate_tls_storage): Likewise.
29723 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
29724 (_dl_check_all_versions): Likewise.
29725 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29726 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
29727 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
29728 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29729 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
29730 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
29731 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
29732 internal_function from __dl_start.
29733 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
29734 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29735 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
29736 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
29737 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
29738 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
29739 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
29740 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
29741 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
29742 (_dl_next_ld_env_entry, _dl_important_hwcaps)
29743 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
29744 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
29745 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
29746 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
29747 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
29749 (struct rtld_global_ro): Remove internal_function from the
29750 _dl_lookup_symbol_x member.
29751 (_dl_symbol_value): Remove. No longer defined anywhere.
29752 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
29754 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29755 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
29756 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
29757 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
29758 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
29759 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
29760 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
29761 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
29762 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
29763 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29764 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29765 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
29767 2017-08-31 Florian Weimer <fweimer@redhat.com>
29769 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
29770 Remove internal_function.
29771 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29773 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29776 2017-08-31 Florian Weimer <fweimer@redhat.com>
29778 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
29779 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
29780 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
29782 2017-08-31 Florian Weimer <fweimer@redhat.com>
29784 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
29785 (__gai_enqueue_request): Remove internal_function.
29786 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
29787 (__gai_remove_request, __gai_notify, __gai_notify_only)
29788 (__gai_sigqueue): Likewise.
29789 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
29790 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
29791 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
29792 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29795 2017-08-31 Florian Weimer <fweimer@redhat.com>
29797 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
29798 * include/dirent.h (__opendirat, __getdents, __getdents64)
29799 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
29800 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
29801 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29802 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29804 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
29806 2017-08-31 Florian Weimer <fweimer@redhat.com>
29808 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
29810 (GETCWD_RETURN_TYPE): Likewise.
29812 2017-08-31 Florian Weimer <fweimer@redhat.com>
29814 * include/time.h (__tz_compute, __strptime_internal): Remove
29816 * time/strptime_l.c (__strptime_internal): Likewise.
29817 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
29819 2017-08-31 Florian Weimer <fweimer@redhat.com>
29821 * iconv/gconv.c (__gconv): Remove internal_function.
29822 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
29823 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
29824 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
29825 (__gconv_release_cache): Likewise.
29826 * iconv/gconv_close.c (__gconv_close): Likewise.
29827 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
29828 (read_conf_file, __gconv_get_path): Likewise.
29829 * iconv/gconv_db.c (derivation_lookup, add_derivation)
29830 (__gconv_release_step, gen_steps, increment_counter)
29831 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
29832 (__gconv_close_transform, free_modules_db): Likewise.
29833 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
29835 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
29836 (__gconv_find_transform, __gconv_lookup_cache)
29837 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
29838 (__gconv_close_transform, __gconv_release_cache)
29839 (__gconv_loaded_object, __gconv_release_shlib)
29840 (__gconv_compare_alias): Likewise.
29841 * iconv/gconv_open.c (__gconv_open): Likewise.
29842 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
29843 * iconv/iconvconfig.c (add_module): Likewise.
29844 * intl/dcigettext.c (plural_lookup, guess_category_value)
29845 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
29846 * intl/eval-plural.h (plural_eval): Likewise.
29847 * intl/finddomain.c (_nl_find_domain): Likewise.
29848 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
29849 (_nl_load_domain, _nl_find_msg): Likewise.
29850 (internal_function): Remove definition.
29851 * intl/loadinfo.h (internal_function): Likewise.
29852 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
29854 * intl/localealias.c (internal_function): Remove definition.
29855 (read_alias_file): Remove internal_function.
29856 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
29857 * intl/plural-exp.h (internal_function): Remove definition.
29858 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
29860 * intl/plural.c: Regenerate.
29861 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
29862 * locale/coll-lookup.c (__collidx_table_lookup)
29863 (__collseq_table_lookup): Likewise.
29864 * locale/coll-lookup.h (__collidx_table_lookup)
29865 (__collseq_table_lookup): Likewise.
29866 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
29867 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29868 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
29869 (_nl_unload_locale): Likewise.
29870 * locale/localeinfo.h (struct __locale_data): Remove
29871 internal_function from cleanup member.
29872 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
29873 (_nl_remove_locale, _nl_load_locale_from_archive)
29874 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
29875 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
29876 (_nl_cleanup_time): Remove internal_function.
29877 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
29878 (_nl_parse_alt_digit): Likewise.
29879 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
29880 (_nl_select_era_entry): Likewise.
29881 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
29882 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29883 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
29884 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29885 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
29887 2017-08-31 Florian Weimer <fweimer@redhat.com>
29889 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
29890 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
29891 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
29892 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
29894 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
29895 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
29896 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
29897 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
29899 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
29901 2017-08-31 Florian Weimer <fweimer@redhat.com>
29903 * misc/getttyent.c (skip, value): Remove internal_function.
29904 * misc/syslog.c (openlog_internal): Likewise.
29905 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
29907 2017-08-31 Florian Weimer <fweimer@redhat.com>
29909 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
29910 (__nss_rewrite_field): Remove internal_function.
29911 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29912 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
29913 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
29914 * nss/nsswitch.c (nss_parse_file, nss_getline)
29915 (nss_parse_service_list, nss_new_service): Likewise.
29916 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
29917 * nss/valid_field.c (__nss_valid_field): Likewise.
29918 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
29920 2017-08-31 Florian Weimer <fweimer@redhat.com>
29922 * malloc/arena.c (__malloc_fork_lock_parent)
29923 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
29924 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
29925 internal_function from defintions.
29926 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
29927 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
29928 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
29929 internal_function from declarations.
29930 * malloc/malloc.c (internal_function): Do not define.
29931 (mem2mem_check): Remove internal_function from declaration.
29932 (munmap_chunk, mremap_chunk): Remove internal_function.
29933 * malloc/mtrace.c (tr_where): Likewise.
29935 2017-08-31 Florian Weimer <fweimer@redhat.com>
29937 * include/rpc/pmap_clnt.h (__get_socket): Remove
29939 * sunrpc/auth_des.c (synchronize): Likewise.
29940 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
29941 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
29942 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
29943 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
29944 (key_call): Likewise.
29945 * sunrpc/pm_getport.c (__get_socket): Likewise.
29946 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
29947 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
29948 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
29949 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
29950 (invalidate): Likewise.
29951 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
29952 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
29953 (set_input_fragment, get_input_bytes): Likewise.
29955 2017-08-31 Florian Weimer <fweimer@redhat.com>
29957 * malloc/malloc.c (_int_free): Remove locked variable and related
29960 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
29963 * Makerules (build-module-helper-objlist): Filter out
29964 $(elf-objpfx)sofini.os.
29965 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
29968 2017-08-31 Florian Weimer <fweimer@redhat.com>
29970 * libio/fcloseall.c: Assume weak_alias is defined.
29971 * libio/feof.c: Likewise.
29972 * libio/fileno.c: Likewise.
29973 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
29974 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
29976 (_IO_file_open): Call __open directly.
29977 (_IO_new_file_sync): Assume ESPIPE is defined.
29978 (_IO_file_seekoff_maybe_mmap): Call __read directly.
29979 (_IO_new_file_write): Call __write directly.
29980 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
29981 * libio/ftello64.c (__ftello64): Assume EIO is defined.
29982 * libio/genops.c: Assume _LIBC is defined.
29983 (save_for_backup): Remove internal_function.
29984 * libio/getc.c: Assume weak_alias is defined.
29985 * libio/getwc.c: Likewise.
29986 * libio/iofclose.c: Assume _LIBC is defined.
29987 * libio/iofdopen.c: Likewise.
29988 (_IO_fcntl): Remove macro definition.
29989 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
29990 Call __fcntl directly.
29991 * libio/iofflush.c: Assume weak_alias is defined.
29992 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
29994 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
29995 * libio/iofgets.c: Likewise.
29996 * libio/iofopen.c: Assume _LIBC is defined.
29997 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
29998 * libio/iofputs.c: Assume weak_alias is defined.
29999 * libio/iofread.c: Likewise.
30000 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
30001 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
30002 * libio/ioftell.c: Assume weak_alias is defined.
30003 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
30004 * libio/iofwide.c: Assume _LIBC is defined.
30005 (_IO_fwide): Drop SHARED conditional because it is implied by
30007 * libio/iofwrite.c: Assume weak_alias is defined.
30008 * libio/iogetdelim.c: Likewise.
30009 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
30010 * libio/iogetwline.c (wmemcpy): Remove macro definition.
30011 (_IO_getwline): Call __wmemcpy directly.
30012 * libio/iopopen.c: Assume _LIBC is defined.
30013 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30014 (_IO_close): Remove macro definitions.
30015 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
30017 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
30019 * libio/ioputs.c: Assume weak_alias is defined.
30020 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
30021 * libio/iosetbuffer.c: Assume weak_alias is defined.
30022 * libio/iosetvbuf.c: Likewise.
30023 * libio/ioungetc.c: Likewise.
30024 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
30025 libc_hidden_def, libc_hidden_weak, NULL are defined.
30026 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
30027 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
30029 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
30031 (_IO_old_file_init_internal): Drop SHARED conditional because it
30032 is implied by SHLIB_COMPAT.
30033 (_IO_old_file_fopen): Call __open directly.
30034 (_IO_old_file_sync): Assume ESPIPE is defined.
30035 (_IO_old_file_write): Call __write directly.
30036 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
30037 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
30038 Call __fcntl directly.
30039 * libio/oldiofgetpos.c: Assume weak_alias is defined.
30040 (_IO_old_fgetpos): Assume EIO is defined.
30041 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
30042 (_IO_old_fgetpos64): Assume EIO is defined.
30043 * libio/oldiofsetpos.c: Assume weak_alias is defined.
30044 (_IO_old_fsetpos): Assume EIO is defined.
30045 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
30046 (_IO_old_fsetpos64): Assume EIO is defined.
30047 * libio/oldiopopen.c: Assume _LIBC is defined.
30048 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30049 (_IO_close): Remove macro definitions.
30050 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
30052 (_IO_old_proc_close): Call __close, __waitpid directly.
30053 * libio/put.c: Assume weak_alias is defined.
30054 * libio/stdfiles.c: Assume _LIBC is defined.
30055 * libio/stdio.c: Likewise.
30056 * libio/wfileops.c: Likewise.
30057 (_IO_wfile_sync): Assume ESPIPE is defined.
30058 * libio/wgenops.c: Assume _LIBC is defined.
30059 (save_for_wbackup): Remove internal_function.
30061 2017-08-31 Florian Weimer <fweimer@redhat.com>
30063 * malloc/malloc.c (top_check): Change return type to void. Remove
30065 * malloc/hooks.c (top_check): Likewise.
30066 (malloc_check, realloc_check, memalign_check): Adjust.
30068 2017-08-30 Joseph Myers <joseph@codesourcery.com>
30071 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30072 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
30073 sigcontext and namespace requirements.
30074 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30075 * sysdeps/m68k/sys/ucontext.h: Likewise.
30076 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
30077 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
30078 <bits/sigcontext.h>.
30079 (__ctx): Define earlier.
30080 (mcontext_t): Define structure contents rather than using struct
30082 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
30083 __glibc_reserved1 instead of __reserved.
30084 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
30085 <bits/sigcontext.h>.
30086 (__ctx): Define earlier.
30087 (mcontext_t): Define structure contents rather than using struct
30089 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
30090 mcontext_t instead of struct sigcontext.
30091 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
30092 <bits/sigcontext.h>.
30093 (__ctx): Define earlier.
30094 (mcontext_t): Define structure contents rather than using struct
30096 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
30097 <bits/sigcontext.h>.
30098 (__ctx): Define earlier.
30099 (mcontext_t): Define structure contents rather than using struct
30101 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
30102 mcontext_t instead of struct sigcontext.
30103 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
30104 mcontext_t instead of struct sigcontext.
30105 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
30106 <bits/sigcontext.h>.
30107 (__ctx): New macro.
30108 (struct __ia64_fpreg_mcontext): New type.
30109 (mcontext_t): Define structure contents rather than using struct
30111 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
30112 (uc_sigmask): Define using __ctx.
30113 (uc_stack): Likewise.
30114 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
30115 <bits/sigcontext.h>.
30116 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30117 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
30118 <bits/sigcontext.h>.
30119 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
30120 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
30121 <bits/sigcontext.h>.
30122 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
30123 <bits/sigcontext.h>.
30124 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
30125 <bits/sigcontext.h>.
30126 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
30127 <bits/sigcontext.h>.
30128 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
30129 <bits/sigcontext.h>.
30130 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
30131 <bits/sigcontext.h>.
30132 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
30133 <bits/sigcontext.h>.
30134 (__ctx): Define earlier.
30135 (mcontext_t): Define structure contents rather than using struct
30137 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
30138 <bits/sigcontext.h>. Include <bits/types.h>.
30139 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
30140 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
30141 (test-xfail-XPG42/ucontext.h/conform): Likewise.
30142 (test-xfail-UNIX98/signal.h/conform): Likewise.
30143 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
30144 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
30145 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
30146 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
30147 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
30148 (test-xfail-POSIX2008/signal.h/conform): Likewise.
30149 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
30150 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
30151 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
30153 2017-08-30 Florian Weimer <fweimer@redhat.com>
30155 * malloc/dynarray_emplace_enlarge.c
30156 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
30157 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
30158 * malloc/tst-dynarray.c (test_long_overflow): New function.
30159 (do_test): Call it.
30161 2017-08-30 Florian Weimer <fweimer@redhat.com>
30163 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
30164 (set_arena_corrupt): Remove definitions.
30165 (mtrim): Do not check for corrupt arena.
30166 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
30169 2017-08-30 Florian Weimer <fweimer@redhat.com>
30172 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
30174 (ptmalloc_init): Do not set or use check_action.
30175 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
30176 call to malloc_printerr. Remove return statement.
30177 (free_check): Likewise. Remove arena unlock.
30178 (top_check): Update comment. Adjust call to malloc_printerr.
30179 Remove heap repair code.
30180 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
30181 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
30182 (sysmalloc): Adjust call to malloc_printerr.
30183 (munmap_chunk, __libc_realloc): Likewise. Remove return
30185 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
30186 Remove errout label and corresponding gotos.
30187 (_int_free): Likewise. Remove arena unlock.
30188 (do_set_mallopt_check): Do not set check_action.
30189 (malloc_printerr): Adjust parameter list. Do not mark arena as
30191 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
30193 * manual/probes.texi (Memory Allocation Probes): Remove
30194 memory_mallopt_check_action.
30196 2017-08-30 Steve Ellcey <sellcey@cavium.com>
30198 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
30199 Use pointer to uint64_t instead of long int for sp.
30201 2017-08-30 Florian Weimer <fweimer@redhat.com>
30204 * malloc/malloc.c (malloc_printerr): Always terminate the process,
30205 without printing a backtrace. Do not leak any information in the
30207 * manual/memory.texi (Heap Consistency Checking): Update.
30208 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
30210 2017-08-30 Florian Weimer <fweimer@redhat.com>
30212 Do not scale NPTL tests with available number of CPUs.
30213 * nptl/tst-cond16.c (count): Set to constant value of 8.
30214 * nptl/tst-cond18.c (count): Likewise.
30216 2017-08-29 Joseph Myers <joseph@codesourcery.com>
30219 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
30220 Define to take a second argument that is a macro that
30221 concatentates a suffix, not the suffix itself.
30222 (__CONCAT_d): New macro.
30223 (__CONCAT_f): Likewise.
30224 (__CONCAT_l): Likewise.
30226 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
30228 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
30231 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30232 Aurelien Jarno <aurelien@aurel32.net>
30233 Maciej W. Rozycki <macro@imgtec.com>
30236 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
30237 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
30238 `mips16-syscall6' and `mips16-syscall7'.
30239 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
30240 (CFLAGS-mips16-syscall7.c): Remove.
30241 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
30242 Remove `__mips16_syscall5', `__mips16_syscall6' and
30243 `__mips16_syscall7'.
30244 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
30245 (__mips16_syscall0): Rename `__mips16_syscall_return' to
30246 `__mips_syscall_return'.
30247 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
30248 (__mips16_syscall1): Likewise.
30249 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
30250 (__mips16_syscall2): Likewise.
30251 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
30252 (__mips16_syscall3): Likewise.
30253 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
30254 (__mips16_syscall4): Likewise.
30255 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
30257 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
30259 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
30261 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
30262 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
30263 `__mips16_syscall5'. Remove prototype.
30264 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
30265 `__mips16_syscall6'. Remove prototype.
30266 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
30267 `__mips16_syscall7'. Remove prototype.
30268 (__nomips16, __mips16_syscall_return): Move to...
30269 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
30270 (__nomips16, __mips_syscall_return): ... here.
30271 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
30272 `__mips16_syscall_return' to `__mips_syscall_return'.
30273 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
30274 `internal_syscall##nr'.
30275 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
30276 `internal_syscall##nr'.
30277 (FORCE_FRAME_POINTER): Remove.
30278 (__mips_syscall5): New prototype.
30279 (internal_syscall5): Rewrite to call `__mips_syscall5'.
30280 (__mips_syscall6): New prototype.
30281 (internal_syscall6): Rewrite to call `__mips_syscall6'.
30282 (__mips_syscall7): New prototype.
30283 (internal_syscall7): Rewrite to call `__mips_syscall7'.
30284 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
30285 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
30286 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
30287 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
30288 (sysdep_routines): Add libc-do-syscall.
30289 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
30290 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
30292 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30295 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
30296 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
30297 (advise_stack_range): New function.
30298 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
30299 stack non required to advise_stack_range at allocatestack.c
30301 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30303 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
30305 2017-08-29 Florian Weimer <fweimer@redhat.com>
30308 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
30309 __end_fct. Mangle __end_fct after setting it to NULL.
30310 * iconv/Makefile (tests): Add tst-gconv-init-failure.
30311 (modules-names, modules-names-tests): Add
30312 tst-gconv-init-failure-mod.
30313 (gconv-modules): New target.
30314 (tst-gconv-init-failure-mod.so): Link against libsupport.
30315 (tst-gconv-init-failure): Depend on gconv-modules,
30316 tst-gconv-init-failure-mod.so.
30317 * iconv/tst-gconv-init-failure-mod.c: New file.
30318 * iconv/tst-gconv-init-failure.c: Likewise.
30319 * iconv/test-gconv-modules: Likewise.
30321 2017-08-29 Florian Weimer <fweimer@redhat.com>
30324 * iconv/gconv_db.c (free_derivation): Remove redundant
30326 (gen_steps): Unconditionally mangle __btowc_fct after
30328 (increment_counter): Likewise. Do not call init_fct for internal
30331 2017-08-29 Joseph Myers <joseph@codesourcery.com>
30334 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30335 (_MSUF_): Remove macro.
30336 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
30338 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30339 (__REDIRFROM_X): New macro.
30340 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
30342 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
30343 (__REDIRTO_X): Likewise.
30344 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
30346 (__MATH_REDIRCALL_2): Likewise.
30347 (__MATH_REDIRCALL_INTERNAL): Likewise.
30348 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30349 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
30350 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
30351 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30352 * math/test-finite-macros.c: New file.
30353 * math/Makefile (tests): Add test-finite-macros.
30354 (CFLAGS-test-finite-macros.c): New variable.
30356 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
30357 Jeff Law <law@redhat.com>
30360 Mangle NULL pointers in iconv/gconv.
30361 * iconv/gconv_cache.c (find_module): Demangle init_fct before
30362 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
30363 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
30364 is non-NULL before demangling the end_fct. Check for NULL
30365 end_fct after demangling.
30366 (__gconv_release_step): Demangle the end_fct before checking
30367 it for NULL. Remove assert on __shlibc_handle != NULL.
30368 (gen_steps): Don't check btowc_fct for NULL before mangling.
30369 Demangle init_fct before checking for NULL.
30370 (increment_counter): Likewise.
30371 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
30372 end_fct for NULL before mangling.
30373 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
30376 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
30379 * locale/iso-639.def: add Morisyen.
30381 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30384 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
30385 (iszero): New C++ implementation that does not use
30386 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
30387 signaling nans are enabled, since __builtin_types_compatible_p
30388 is a C-only feature.
30389 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
30390 defined, include ieee754_float128.h for access to the union and
30391 member ieee854_float128.ieee.
30392 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
30393 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
30394 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30395 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
30396 options of test-math-zero on powerpc64le.
30398 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
30400 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
30401 Change double to float.
30403 2017-08-28 Joseph Myers <joseph@codesourcery.com>
30405 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
30407 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
30408 conditional code; define contents only for [LIBM_SVID_COMPAT].
30410 2017-08-28 Florian Weimer <fweimer@redhat.com>
30412 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
30413 (abi-lp64_be-options): Remove.
30414 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
30415 (abi-hard-options): Likewise.
30416 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
30417 (abi-o32_hard-options, abi-o32_soft_2008-options)
30418 (abi-o32_hard_2008-options, abi-n32_soft-options)
30419 (abi-n32_hard-options, abi-n32_soft_2008-options)
30420 (abi-n32_hard_2008-options, abi-n64_soft-options)
30421 (abi-n64_hard-options, abi-n64_soft_2008-options)
30422 (abi-n64_hard_2008-options): Likewise.
30423 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
30424 (abi-64-v1-options, abi-64-v2-options): Likewise.
30425 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
30426 (abi-64-options): Likewise.
30427 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
30428 (abi-64-options): Likewise.
30429 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
30430 (abi-64-options): Likewise.
30431 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
30432 (abi-64-options, abi-x32-options): Likewise.
30434 2017-08-28 Florian Weimer <fweimer@redhat.com>
30436 Store supported list of SYS_* system calls in the source tree.
30437 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
30438 (bits/syscall.h): Generate from list file.
30439 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
30440 [$(subdir) = misc] (tests): Add tst-syscall-list.
30441 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
30442 [$(subdir) = misc] (tst-syscall-list-macros.list)
30443 [$(subdir) = misc] (tst-syscall-list-nr.list)
30444 (tst-syscall-list-sys.list): Helper targets for new
30445 tst-syscall-list test.
30446 [$(subdir) = misc] (tst-syscall-list.out): Run test script
30447 tst-syscall-list.sh.
30448 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
30449 target. Do not include bits/syscall.d.
30450 [$(subdir) = misc] (generated): Do not update.
30451 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
30452 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
30453 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
30454 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
30456 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
30458 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
30459 (tst-cxa_atexit, tst-on_exit): Likewise.
30460 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
30461 tst-cxa_atexit, and tst-on_exit.
30462 * stdlib/tst-atexit-common.c: New file.
30463 * stdlib/tst-atexit.c: New file.
30464 * stdlib/tst-at_quick_exit.c: New file.
30465 * stdlib/tst-cxa_atexit.c: New file.
30466 * stdlib/tst-on_exit.c: New file.
30468 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
30470 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
30471 * mach/stack_chk_fail_local.c: New file.
30472 * hurd/stack_chk_fail_local.c: New file.
30473 * mach/Machrules ($(interface-library)-routines): Add
30474 stack_chk_fail_local.
30475 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
30476 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
30477 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
30478 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
30479 * hurd/Makefile (CFLAGS-hurdstartup.o,
30480 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
30482 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
30484 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
30485 (index_cpu_*, index_arch_*): Removed.
30487 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30489 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
30490 Use uint64_t instead of unsigned long.
30492 2017-08-25 Joseph Myers <joseph@codesourcery.com>
30494 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
30495 [__HAVE_DISTINCT_FLOAT128].
30497 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
30498 of <bits/math-finite.h>.
30499 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
30500 inclusion of <bits/math-finite.h>.
30501 * math/bits/math-finite.h (__REDIRTO_X): Do not define
30502 conditionally on [__MATH_DECLARING_LDOUBLE && defined
30503 __NO_LONG_DOUBLE_MATH].
30504 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
30505 (__MATH_REDIRCALL_2): Likewise.
30506 (__MATH_REDIRCALL_INTERNAL): Likewise.
30507 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30508 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
30509 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
30513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
30515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
30517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
30519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
30521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
30523 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30524 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30525 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
30526 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
30527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
30528 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
30529 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
30530 w_sqrtf_compat-ppc32.
30532 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30534 * math/math.h [defined __cplusplus] (issignaling): In the long
30535 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
30536 is not defined. Call __issignaling, otherwise.
30538 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30540 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
30541 syscall definitions and replace __builtin_expect with __glibc_likely.
30542 * sysdeps/unix/syscall-template.S: Update comment about cancellable
30544 (SYSCALL_CANCELLABLE): Removedefinition
30545 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
30547 (PSEUDO_END): Likewise.
30548 [IS_IN (libpthread)] (CENABLE): Likewise.
30549 [IS_IN (libpthread)] (CDISABLE): Likewise.
30550 [IS_IN (libc)] (CENABLE): Likewise.
30551 [IS_IN (libc)] (CENABLE): Likewise.
30552 [IS_IN (librt)] (CDISABLE): Likewise.
30553 [IS_IN (librt)] (CDISABLE): Likewise.
30554 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30555 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
30557 (PSEUDO_END): Likewise.
30558 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
30559 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
30560 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30561 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30562 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30563 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30564 (CENABLE): Likewise.
30565 (CDISABLE): Likewise.
30566 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30567 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
30569 (PSEUDO_END): Likewise.
30570 [IS_IN (libpthread)] (CENABLE): Likewise.
30571 [IS_IN (libpthread)] (CDISABLE): Likewise.
30572 [IS_IN (libc)] (CENABLE): Likewise.
30573 [IS_IN (libc)] (CENABLE): Likewise.
30574 [IS_IN (librt)] (CDISABLE): Likewise.
30575 [IS_IN (librt)] (CDISABLE): Likewise.
30576 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30577 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
30579 (PSEUDO_END): Likewise.
30580 [IS_IN (libpthread)] (CENABLE): Likewise.
30581 [IS_IN (libpthread)] (CDISABLE): Likewise.
30582 [IS_IN (libc)] (CENABLE): Likewise.
30583 [IS_IN (libc)] (CENABLE): Likewise.
30584 [IS_IN (librt)] (CDISABLE): Likewise.
30585 [IS_IN (librt)] (CDISABLE): Likewise.
30586 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30587 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
30589 (PSEUDO_END): Likewise.
30590 [IS_IN (libpthread)] (CENABLE): Likewise.
30591 [IS_IN (libpthread)] (CDISABLE): Likewise.
30592 [IS_IN (libc)] (CENABLE): Likewise.
30593 [IS_IN (libc)] (CENABLE): Likewise.
30594 [IS_IN (librt)] (CDISABLE): Likewise.
30595 [IS_IN (librt)] (CDISABLE): Likewise.
30596 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30597 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
30599 (PSEUDO_END): Likewise.
30600 [IS_IN (libpthread)] (CENABLE): Likewise.
30601 [IS_IN (libpthread)] (CDISABLE): Likewise.
30602 [IS_IN (libc)] (CENABLE): Likewise.
30603 [IS_IN (libc)] (CENABLE): Likewise.
30604 [IS_IN (librt)] (CDISABLE): Likewise.
30605 [IS_IN (librt)] (CDISABLE): Likewise.
30606 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30607 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
30609 (PSEUDO_END): Likewise.
30610 [IS_IN (libpthread)] (CENABLE): Likewise.
30611 [IS_IN (libpthread)] (CDISABLE): Likewise.
30612 [IS_IN (libc)] (CENABLE): Likewise.
30613 [IS_IN (libc)] (CENABLE): Likewise.
30614 [IS_IN (librt)] (CDISABLE): Likewise.
30615 [IS_IN (librt)] (CDISABLE): Likewise.
30616 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30617 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
30619 (PSEUDO_END): Likewise.
30620 [IS_IN (libpthread)] (CENABLE): Likewise.
30621 [IS_IN (libpthread)] (CDISABLE): Likewise.
30622 [IS_IN (libc)] (CENABLE): Likewise.
30623 [IS_IN (libc)] (CENABLE): Likewise.
30624 [IS_IN (librt)] (CDISABLE): Likewise.
30625 [IS_IN (librt)] (CDISABLE): Likewise.
30626 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30627 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
30629 (PSEUDO_END): Likewise.
30630 [IS_IN (libpthread)] (CENABLE): Likewise.
30631 [IS_IN (libpthread)] (CDISABLE): Likewise.
30632 [IS_IN (libc)] (CENABLE): Likewise.
30633 [IS_IN (libc)] (CENABLE): Likewise.
30634 [IS_IN (librt)] (CDISABLE): Likewise.
30635 [IS_IN (librt)] (CDISABLE): Likewise.
30636 (SINGLE_THREAD_P): Likewise.
30637 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
30639 (PSEUDO_END): Likewise.
30640 [IS_IN (libpthread)] (CENABLE): Likewise.
30641 [IS_IN (libpthread)] (CDISABLE): Likewise.
30642 [IS_IN (libc)] (CENABLE): Likewise.
30643 [IS_IN (libc)] (CENABLE): Likewise.
30644 [IS_IN (librt)] (CDISABLE): Likewise.
30645 [IS_IN (librt)] (CDISABLE): Likewise.
30646 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30647 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
30649 (PSEUDO_END): Likewise.
30650 [IS_IN (libpthread)] (CENABLE): Likewise.
30651 [IS_IN (libpthread)] (CDISABLE): Likewise.
30652 [IS_IN (libc)] (CENABLE): Likewise.
30653 [IS_IN (libc)] (CENABLE): Likewise.
30654 [IS_IN (librt)] (CDISABLE): Likewise.
30655 [IS_IN (librt)] (CDISABLE): Likewise.
30656 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30657 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
30658 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30659 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
30660 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
30662 (PSEUDO_END): Likewise.
30663 [IS_IN (libpthread)] (CENABLE): Likewise.
30664 [IS_IN (libpthread)] (CDISABLE): Likewise.
30665 [IS_IN (libc)] (CENABLE): Likewise.
30666 [IS_IN (libc)] (CENABLE): Likewise.
30667 [IS_IN (librt)] (CDISABLE): Likewise.
30668 [IS_IN (librt)] (CDISABLE): Likewise.
30669 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30670 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
30672 (PSEUDO_END): Likewise.
30673 [IS_IN (libpthread)] (CENABLE): Likewise.
30674 [IS_IN (libpthread)] (CDISABLE): Likewise.
30675 [IS_IN (libc)] (CENABLE): Likewise.
30676 [IS_IN (libc)] (CENABLE): Likewise.
30677 [IS_IN (librt)] (CDISABLE): Likewise.
30678 [IS_IN (librt)] (CDISABLE): Likewise.
30679 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30680 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
30682 (PSEUDO_END): Likewise.
30683 [IS_IN (libpthread)] (CENABLE): Likewise.
30684 [IS_IN (libpthread)] (CDISABLE): Likewise.
30685 [IS_IN (libc)] (CENABLE): Likewise.
30686 [IS_IN (libc)] (CENABLE): Likewise.
30687 [IS_IN (librt)] (CDISABLE): Likewise.
30688 [IS_IN (librt)] (CDISABLE): Likewise.
30689 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30690 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
30691 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30692 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
30693 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
30695 (PSEUDO_END): Likewise.
30696 [IS_IN (libpthread)] (CENABLE): Likewise.
30697 [IS_IN (libpthread)] (CDISABLE): Likewise.
30698 [IS_IN (libc)] (CENABLE): Likewise.
30699 [IS_IN (libc)] (CENABLE): Likewise.
30700 [IS_IN (librt)] (CDISABLE): Likewise.
30701 [IS_IN (librt)] (CDISABLE): Likewise.
30702 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30703 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
30705 (PSEUDO_END): Likewise.
30706 [IS_IN (libpthread)] (CENABLE): Likewise.
30707 [IS_IN (libpthread)] (CDISABLE): Likewise.
30708 [IS_IN (libc)] (CENABLE): Likewise.
30709 [IS_IN (libc)] (CENABLE): Likewise.
30710 [IS_IN (librt)] (CDISABLE): Likewise.
30711 [IS_IN (librt)] (CDISABLE): Likewise.
30712 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30714 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
30716 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
30718 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30720 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30722 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30725 * string/stratcliff.c (do_test): Declare size, nchars, inner,
30726 middle and outer with size_t instead of int. Repleace %d and
30727 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
30728 "MAX (outer, nchars - 64)" to support unsigned outer and
30729 nchars. Also exit loop when outer == 0.
30731 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30733 * include/fcntl.h (__fcntl_nocancel): Remove definition.
30734 * include/signal.h (__sigsuspend_nocancel): Likewise.
30735 * include/time.h (__nanosleep_nocancel): Likewise.
30736 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
30737 * login/utmp_file.c: Include non cancellable syscall header.
30738 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
30741 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30743 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
30744 .byte sequences with AVX512F instructions.
30745 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
30746 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
30747 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
30748 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
30750 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
30753 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
30754 Steve Ellcey <sellcey@cavium.com>
30756 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
30757 Use PTR_REG macro in cmp instruction.
30759 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30761 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
30762 Change the return type of the ifunc resolver to match the return
30763 type of the target function.
30765 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30767 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
30768 (preadv64): Likewise.
30769 (pwrite64(: Likewise.
30770 (pwritev64): Likewise.
30772 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
30773 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
30774 (LOAD_ARGS_0): Likewise.
30775 (LOAD_ARGS_1): Likewise.
30776 (LOAD_ARGS_2): Likewise.
30777 (LOAD_ARGS_3): Likewise.
30778 (LOAD_ARGS_4): Likewise.
30779 (LOAD_ARGS_5): Likewise.
30780 (LOAD_ARGS_6): Likewise.
30781 (LOAD_REGS_0): Likewise.
30782 (LOAD_REGS_1): Likewise.
30783 (LOAD_REGS_2): Likewise.
30784 (LOAD_REGS_3): Likewise.
30785 (LOAD_REGS_4): Likewise.
30786 (LOAD_REGS_5): Likewise.
30787 (LOAD_REGS_6): Likewise.
30788 (ASM_ARGS_0): Likewise.
30789 (ASM_ARGS_1): Likewise.
30790 (ASM_ARGS_2): Likewise.
30791 (ASM_ARGS_3): Likewise.
30792 (ASM_ARGS_4): Likewise.
30793 (ASM_ARGS_5): Likewise.
30794 (ASM_ARGS_6): Likewise.
30795 (LOAD_ARGS_TYPES_1): Likewise.
30796 (LOAD_ARGS_TYPES_2): Likewise.
30797 (LOAD_ARGS_TYPES_3): Likewise.
30798 (LOAD_ARGS_TYPES_4): Likewise.
30799 (LOAD_ARGS_TYPES_5): Likewise.
30800 (LOAD_ARGS_TYPES_6): Likewise.
30801 (LOAD_REGS_TYPES_1): Likewise.
30802 (LOAD_REGS_TYPES_2): Likewise.
30803 (LOAD_REGS_TYPES_3): Likewise.
30804 (LOAD_REGS_TYPES_4): Likewise.
30805 (LOAD_REGS_TYPES_5): Likewise.
30806 (LOAD_REGS_TYPES_6): Likewise.
30807 (TYPEFY): New define.
30808 (ARGIFY): Likewise.
30809 (internal_syscall0): Likewise.
30810 (internal_syscall1): Likewise.
30811 (internal_syscall2): Likewise.
30812 (internal_syscall3): Likewise.
30813 (internal_syscall4): Likewise.
30814 (internal_syscall5): Likewise.
30815 (internal_syscall6): Likewise.
30816 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
30817 (INTERNAL_SYSCALL_NCS): Remove define.
30818 (internal_syscall1): Add define.
30820 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30822 * math/w_remainder_compat.c: Remove duplicate inclusion of
30823 math-svid-compat.h.
30824 * math/w_remainderf_compat.c: Likewise.
30825 * math/w_remainderl_compat.c: Likewise.
30827 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30829 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30831 2017-08-22 Joseph Myers <joseph@codesourcery.com>
30834 * math/tgmath.h (__floating_type): Simplify definitions.
30835 (__real_integer_type): New macro.
30836 (__complex_integer_type): Likewise.
30837 (__expr_is_real): Likewise.
30838 (__tgmath_real_type_sub): Update comment to describe handling of
30840 (__tgmath_complex_type_sub): New macro.
30841 (__tgmath_complex_type): Likewise.
30842 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30843 (__TGMATH_CF128): Use __expr_is_real.
30844 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
30846 (__TGMATH_BINARY_REAL_IMAG): Likewise.
30847 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
30848 * math/gen-tgmath-tests.py (Type.create_type): Create complex
30851 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30853 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
30855 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
30857 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
30860 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
30861 nanosleep_not_cancel with __nanosleep_nocancel.
30862 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
30863 (__nanosleep_nocancel): New macro.
30864 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
30866 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
30868 (__nanosleep_nocancel): New prototype.
30870 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
30871 pause_not_cancel with __pause_nocancel.
30872 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
30873 (__pause_nocancel): New macro.
30874 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
30876 (__pause_nocancel): New prototype.
30877 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
30879 2017-08-22 Martin Sebor <msebor@redhat.com>
30881 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
30882 to return a pointer to the same type as the target function.
30884 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30888 * include/printf.h (__printf_fphex): Add attribute_hidden.
30889 (__guess_grouping): New prototype.
30890 * stdio-common/printf_fp.c (__guess_grouping): Removed.
30891 * stdio-common/reg-printf.c (__register_printf_specifier): Add
30892 libc_hidden_proto and libc_hidden_def.
30893 * stdlib/strfmon_l.c (__guess_grouping): Removed.
30894 (__vstrfmon_l): Remove the third argument passed to
30897 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30899 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
30900 definition for issignaling that does not rely on __MATH_TG,
30901 since __MATH_TG uses __builtin_types_compatible_p, which is only
30902 available in C mode.
30903 (CFLAGS-test-math-issignaling.cc): New variable.
30904 * math/Makefile [CXX] (tests): Add test-math-issignaling.
30905 * math/test-math-issignaling.cc: New test for C++ implementation
30906 of type-generic issignaling.
30907 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30908 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
30909 options of test-math-issignaling on powerpc64le.
30911 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30913 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30915 (hidden_proto): Likewise.
30916 (hidden_tls_proto): Likewise.
30917 (__hidden_proto): Likewise.
30919 2017-08-22 Florian Weimer <fweimer@redhat.com>
30921 math: Statically link tests of internal functionality.
30922 * math/Makefile (tests): Remove atest-exp, atest-sincos,
30924 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
30925 (gmp-objs): Remove assignment.
30926 (atest-exp, atest-sincos, atest-exp2): Remove targets.
30928 2017-08-22 Joseph Myers <joseph@codesourcery.com>
30931 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
30933 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
30935 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
30938 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
30939 variable definitions above inclusion of ../Rules.
30941 2017-08-21 Joseph Myers <joseph@codesourcery.com>
30943 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
30944 case calling __builtin_unreachable.
30946 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30948 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
30949 __waitpid_nocancel.
30950 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
30951 (__waitpid_nocancel): New macro.
30952 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
30954 (__waitpid_nocancel): Replace macro with a function.
30955 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
30958 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
30960 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
30961 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
30963 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
30964 __writev_nocancel_nostatus.
30965 (write_call_graph): Likewise.
30966 (write_bb_counts): Likewise.
30967 * resolv/herror.c (herror): Likewise.
30968 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
30970 (__writev_nocancel_nostatus): New macro.
30971 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
30973 (__writev_nocancel_nostatus): New function.
30975 2017-08-21 Joseph Myers <joseph@codesourcery.com>
30978 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30980 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30982 (hidden_proto): Likewise.
30983 (hidden_tls_proto): Likewise.
30984 (__hidden_proto): Likewise.
30987 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
30988 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
30989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
30991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
30993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
30995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
30997 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
30998 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
30999 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
31000 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
31001 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
31002 GLIBC_2.0 sqrtl symbol.
31004 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
31005 [__USE_MISC] (_LIB_VERSION): Likewise.
31006 [__USE_MISC] (struct exception): Likewise.
31007 [__USE_MISC] (matherr): Likewise.
31008 [__USE_MISC] (DOMAIN): Likewise.
31009 [__USE_MISC] (SING): Likewise.
31010 [__USE_MISC] (OVERFLOW): Likewise.
31011 [__USE_MISC] (UNDERFLOW): Likewise.
31012 [__USE_MISC] (TLOSS): Likewise.
31013 [__USE_MISC] (PLOSS): Likewise.
31014 [__USE_MISC] (HUGE): Likewise.
31015 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
31016 * math/math-svid-compat.h: New file.
31017 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
31019 * include/math.h [!_ISOMAC] (__matherr): Remove.
31020 * manual/arith.texi (FP Exceptions): Do not document matherr.
31021 * math/Makefile (tests): Change test-matherr to test-matherr-3.
31022 (tests-internal): New variable.
31023 (install-lib): Do not add libieee.a.
31024 (non-lib.a): Likewise.
31025 (extra-objs): Do not add libieee.a and ieee-math.o.
31026 (CPPFLAGS-s_lib_version.c): Remove variable.
31027 ($(objpfx)libieee.a): Remove rule.
31028 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
31029 * math/ieee-math.c: Remove.
31030 * math/libm-test-support.c (matherr): Remove.
31031 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
31032 and license notices. Include <math-svid-compat.h> and
31034 (matherr): Undefine as macro. Use compat_symbol_reference.
31035 (_LIB_VERSION): Likewise.
31036 * math/test-matherr-2.c: New file.
31037 * math/test-matherr-3.c: Likewise.
31038 * sysdeps/generic/math_private.h (__kernel_standard): Remove
31040 (__kernel_standard_f): Likewise.
31041 (__kernel_standard_l): Likewise.
31042 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
31043 <math_private.h>. Include <math-svid-compat.h>.
31044 (_LIB_VERSION): Undefine as macro.
31045 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
31046 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
31047 [LIBM_SVID_COMPAT], use compat_symbol.
31048 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
31049 <math_private.h>. Include <math-svid-compat.h>.
31050 (matherr): Undefine as macro.
31051 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
31053 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
31054 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
31055 compat_symbol_reference.
31056 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
31057 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
31058 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
31059 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
31060 (MATHERR_D): Remove declaration.
31061 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
31062 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
31063 [LIBM_BUILD] (pmatherrf): Likewise.
31064 [LIBM_BUILD] (pmatherr): Likewise.
31065 [LIBM_BUILD] (pmatherrl): Likewise.
31066 (DOMAIN): Likewise.
31068 (OVERFLOW): Likewise.
31069 (UNDERFLOW): Likewise.
31072 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
31073 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
31075 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
31076 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
31078 * math/lgamma-compat.h: Include <math-svid-compat.h>.
31079 * math/w_acos_compat.c: Likewise.
31080 * math/w_acosf_compat.c: Likewise.
31081 * math/w_acosh_compat.c: Likewise.
31082 * math/w_acoshf_compat.c: Likewise.
31083 * math/w_acoshl_compat.c: Likewise.
31084 * math/w_acosl_compat.c: Likewise.
31085 * math/w_asin_compat.c: Likewise.
31086 * math/w_asinf_compat.c: Likewise.
31087 * math/w_asinl_compat.c: Likewise.
31088 * math/w_atan2_compat.c: Likewise.
31089 * math/w_atan2f_compat.c: Likewise.
31090 * math/w_atan2l_compat.c: Likewise.
31091 * math/w_atanh_compat.c: Likewise.
31092 * math/w_atanhf_compat.c: Likewise.
31093 * math/w_atanhl_compat.c: Likewise.
31094 * math/w_cosh_compat.c: Likewise.
31095 * math/w_coshf_compat.c: Likewise.
31096 * math/w_coshl_compat.c: Likewise.
31097 * math/w_exp10_compat.c: Likewise.
31098 * math/w_exp10f_compat.c: Likewise.
31099 * math/w_exp10l_compat.c: Likewise.
31100 * math/w_exp2_compat.c: Likewise.
31101 * math/w_exp2f_compat.c: Likewise.
31102 * math/w_exp2l_compat.c: Likewise.
31103 * math/w_fmod_compat.c: Likewise.
31104 * math/w_fmodf_compat.c: Likewise.
31105 * math/w_fmodl_compat.c: Likewise.
31106 * math/w_hypot_compat.c: Likewise.
31107 * math/w_hypotf_compat.c: Likewise.
31108 * math/w_hypotl_compat.c: Likewise.
31109 * math/w_j0_compat.c: Likewise.
31110 * math/w_j0f_compat.c: Likewise.
31111 * math/w_j0l_compat.c: Likewise.
31112 * math/w_j1_compat.c: Likewise.
31113 * math/w_j1f_compat.c: Likewise.
31114 * math/w_j1l_compat.c: Likewise.
31115 * math/w_jn_compat.c: Likewise.
31116 * math/w_jnf_compat.c: Likewise.
31117 * math/w_jnl_compat.c: Likewise.
31118 * math/w_lgamma_main.c: Likewise.
31119 * math/w_lgamma_r_compat.c: Likewise.
31120 * math/w_lgammaf_main.c: Likewise.
31121 * math/w_lgammaf_r_compat.c: Likewise.
31122 * math/w_lgammal_main.c: Likewise.
31123 * math/w_lgammal_r_compat.c: Likewise.
31124 * math/w_log10_compat.c: Likewise.
31125 * math/w_log10f_compat.c: Likewise.
31126 * math/w_log10l_compat.c: Likewise.
31127 * math/w_log2_compat.c: Likewise.
31128 * math/w_log2f_compat.c: Likewise.
31129 * math/w_log2l_compat.c: Likewise.
31130 * math/w_log_compat.c: Likewise.
31131 * math/w_logf_compat.c: Likewise.
31132 * math/w_logl_compat.c: Likewise.
31133 * math/w_pow_compat.c: Likewise.
31134 * math/w_powf_compat.c: Likewise.
31135 * math/w_powl_compat.c: Likewise.
31136 * math/w_remainder_compat.c: Likewise.
31137 * math/w_remainderf_compat.c: Likewise.
31138 * math/w_remainderl_compat.c: Likewise.
31139 * math/w_scalb_compat.c: Likewise.
31140 * math/w_scalbf_compat.c: Likewise.
31141 * math/w_scalbl_compat.c: Likewise.
31142 * math/w_sinh_compat.c: Likewise.
31143 * math/w_sinhf_compat.c: Likewise.
31144 * math/w_sinhl_compat.c: Likewise.
31145 * math/w_sqrt_compat.c: Likewise.
31146 * math/w_sqrtf_compat.c: Likewise.
31147 * math/w_sqrtl_compat.c: Likewise.
31148 * math/w_tgamma_compat.c: Likewise.
31149 * math/w_tgammaf_compat.c: Likewise.
31150 * math/w_tgammal_compat.c: Likewise.
31151 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
31152 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
31153 * sysdeps/ieee754/k_standard.c: Likewise.
31154 * sysdeps/ieee754/k_standardf.c: Likewise.
31155 * sysdeps/ieee754/k_standardl.c: Likewise.
31156 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
31157 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
31158 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
31159 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
31160 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
31161 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
31162 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
31163 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
31164 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
31165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
31167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
31169 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
31170 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
31171 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
31172 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
31174 2017-08-21 Florian Weimer <fweimer@redhat.com>
31177 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
31178 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
31179 Move before inclusion of ../Rules.
31181 2017-08-21 Florian Weimer <fweimer@redhat.com>
31184 * assert/assert.h (assert): Use static_cast (bool) for C++.
31185 Use the ternary operator in the warning branch for GNU C.
31186 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
31187 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
31188 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
31189 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
31190 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
31192 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31195 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31196 (__syscall_clock_gettime): Add attribute_hidden.
31197 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
31198 (__start_context): Likewise.
31200 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31202 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31204 (hidden_proto): Likewise.
31205 (hidden_tls_proto): Likewise.
31206 (__hidden_proto): Likewise.
31208 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31210 * include/libc-symbols.h (attribute_hidden): Enable hidden
31211 visibility in libc.a compiled with PIE.
31213 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31216 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
31217 Add attribute_hidden.
31219 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31222 * Makerules (all-nonlib): Add $(others-extras).
31223 * catgets/Makefile (others-extras): New.
31224 * elf/Makefile (others-extras): Likewise.
31225 * nss/Makefile (others-extras): Likewise.
31227 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31230 * csu/libc-start.c (__libc_multiple_libcs): Removed.
31231 * elf/dl-open.c: Include <libc-internal.h>.
31232 (__libc_multiple_libcs): Removed.
31233 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
31235 * include/libc-internal.h (__libc_multiple_libcs): New.
31236 * misc/sbrk.c: Include <libc-internal.h>.
31237 (__libc_multiple_libcs): Removed.
31239 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31242 * grp/initgroups.c (__nss_group_database): Removed.
31243 (__nss_initgroups_database): Likewise.
31244 * nscd/gai.c (__nss_hosts_database): Likewise.
31245 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
31246 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
31247 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
31248 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
31249 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
31250 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
31252 * nss/nsswitch.c (__nss_database_custom): Define only if
31253 USE_NSCD is defined.
31254 (__nss_configure_lookup): Use __nss_database_custom only if
31255 USE_NSCD is defined.
31256 * nss/nsswitch.h (__nss_database_custom): Declare only if
31257 USE_NSCD is defined. Add attribute_hidden.
31258 (__nss_setent): Add attribute_hidden.
31259 (__nss_endent): Likewise.
31260 (__nss_getent_r): Likewise.
31261 (__nss_getent): Likewise.
31262 (DEFINE_DATABASE): Declare __nss_##arg##_database.
31264 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31267 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
31268 libc_hidden_proto and libc_hidden_def.
31270 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31273 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
31274 Add libc_hidden_proto.
31275 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
31276 Add libc_hidden_def.
31278 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31281 * gmon/Makefile (routines): Remove bb_init_func and
31283 (elide-routines.os): Removed.
31284 * gmon/bb_exit_func.c: Likewise.
31285 * gmon/bb_init_func.c: Likewise.
31286 * include/sys/gmon.h (__bb): Likewise.
31287 (__bb_init_func): Likewise.
31288 (__bb_exit_func): Likewise.
31289 * sysdeps/alpha/bb_init_func.S: Likewise.
31291 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31293 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
31294 * include/setjmp.h (____longjmp_chk): Here. Add
31297 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
31300 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
31302 (__strspn_sse2): Likewise.
31304 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31306 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
31307 (close_not_cancel_no_status): Likewise.
31308 (__close_nocancel): New macro.
31309 (__close_nocancel_nostatus): Likewise.
31310 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
31312 (close_not_cancel): Likewise.
31313 (close_not_cancel_no_status): Likewise.
31314 (__close_nocancel): New prototype.
31315 (__close_nocancel_nostatus): New function.
31316 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
31317 * catgets/open_catalog.c (__open_catalog): Replace
31318 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
31319 * gmon/gmon.c (write_gmon): Likewise.
31320 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
31321 * intl/loadmsgcat.c (close): Likewise.
31322 * io/ftw.c (open_dir_stream): Likewise.
31323 (ftw_startup): Likewise.
31324 * libio/fileops.c (_IO_file_open): Likewise.
31325 (_IO_file_close_mmap): Likewise.
31326 (_IO_file_close): Likewise.
31327 * libio/iopopen.c (_IO_dup2): Likewise.
31328 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31329 * locale/loadlocale.c (_nl_load_locale): Likewise.
31330 * login/utmp_file.c (pututline_file): Likewise.
31331 (endutent_file): Likewise.
31332 * misc/daemon.c (daemon): Likewise.
31333 * nscd/nscd_getai.c (__nscd_getai): Likewise.
31334 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31335 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31336 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31337 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31338 * nscd/nscd_helper.c (open_socket): Likewise.
31339 (__nscd_open_socket): Likewise.
31340 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
31341 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
31342 (__nscd_innetgr): Likewise.
31343 * nss/nss_db/db-open.c (internal_setent): Likewise.
31344 * resolv/res-close.c (__res_iclose): Likewise.
31345 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
31346 * sysdeps/posix/closedir.c (__closedir): Likewise.
31347 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
31348 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31349 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31350 (opendir_tail): Likewise.
31351 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31352 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
31353 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
31354 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31355 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31356 (gethostid): Likewise.
31357 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31358 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31360 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31361 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
31362 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31363 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31365 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
31366 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
31367 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31369 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
31370 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31372 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31374 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31375 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31376 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31379 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
31380 (openat_not_cancel_3): Likewise.
31381 (openat64_not_cancel_3): Likewise).
31382 (openat_not_cancel_3): Likewise).
31383 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
31385 (openat_not_cancel_3): Likewise.
31386 (openat64_not_cancel): Likewise.
31387 (openat64_not_cancel_3): Likewise.
31388 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
31389 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
31390 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
31391 __open{64}_nocancel.
31392 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31393 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31394 * sysdeps/posix/opendir.c (__opendirat): Likewise.
31396 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31399 * include/argz.h (__argz_create_sep): New function prototype.
31400 (__argz_append): Likewise.
31401 (__argz_add): Likewise.
31402 (__argz_add_sep): Likewise.
31403 (__argz_delete): Likewise.
31404 (__argz_insert): Likewise.
31405 (__argz_replace): Likewise.
31406 * string/argz.h (__argz_create_sep): Removed.
31407 (__argz_append): Likewise.
31408 (__argz_add): Likewise.
31409 (__argz_add_sep): Likewise.
31410 (__argz_delete): Likewise.
31411 (__argz_insert): Likewise.
31412 (__argz_replace): Likewise.
31414 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31416 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
31417 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
31418 (GNU_PROPERTY_STACK_SIZE): Likewie.
31419 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
31420 (GNU_PROPERTY_LOPROC): Likewise.
31421 (GNU_PROPERTY_HIPROC): Likewise.
31422 (GNU_PROPERTY_LOUSER): Likewise.
31423 (GNU_PROPERTY_HIUSER): Likewise.
31424 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
31425 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
31426 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
31427 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
31428 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
31429 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
31430 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
31431 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
31432 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
31433 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
31434 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
31435 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
31436 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
31437 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
31438 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
31439 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
31440 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
31441 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
31442 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
31443 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
31444 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
31445 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
31446 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
31448 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31450 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
31453 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31456 * math/math.h (isinf): Check if in C or C++ mode before using
31457 __builtin_types_compatible_p, since this is a C mode feature.
31459 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31461 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
31462 (__write_nocancel): New macro.
31463 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
31464 Rewrite as a function prototype.
31465 (write_not_cancel): Remove macro.
31466 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
31467 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
31468 (write_gmon): Likewise.
31469 * libio/fileops.c (_IO_new_file_write): Likewise.
31470 * login/utmp_file.c (pututline_file): Likewise.
31471 (updwtmp_file): Likewise.
31472 * stdio-common/psiginfo.c (psiginfo): Likewise.
31473 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31474 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31475 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31477 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31480 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
31481 (__read_nocancel): New macro.
31482 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31484 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
31486 (__read_nocancel): New prototype.
31487 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
31488 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
31489 with __read_nocancel.
31490 * intl/loadmsgcat.c (read): Likewise.
31491 * libio/fileops.c (_IO_file_read): Likewise.
31492 * locale/loadlocale.c (_nl_load_locale): Likewise.
31493 * login/utmp_file.c (getutent_r_file): Likewise.
31494 (internal_getut_r): Likewise.
31495 (getutline_r_file): Likewise.
31496 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31497 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31498 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31499 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31501 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
31502 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31503 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31505 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31507 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31509 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31511 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31513 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31516 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
31517 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
31520 2017-08-17 DJ Delorie <dj@redhat.com>
31522 * bug17079.c: Update to new test harness.
31523 * test-digits-dots.c: Likewise.
31524 * test-netdb.c: Likewise.
31525 * tst-field.c: Likewise.
31526 * tst-nss-getpwent.c: Likewise.
31527 * tst-nss-static.c: Likewise.
31528 * tst-nss-test1.c: Likewise.
31529 * tst-nss-test2.c: Likewise.
31530 * tst-nss-test3.c: Likewise.
31531 * tst-nss-test4.c: Likewise.
31532 * tst-nss-test5.c: Likewise.
31534 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31536 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
31537 (open_not_cancel_2): Likewise.
31538 (open_nocancel): New macro.
31539 (open64_nocancel): Likewise.
31540 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
31541 (open_not_cancel_2): Likewise.
31542 (__open_nocancel): New prototype.
31543 (__open64_nocancel): Likewise.
31544 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31546 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
31547 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
31548 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
31549 with __open_nocancel.
31550 * csu/check_fds.c (check_one_fd): Likewise.
31551 * gmon/gmon.c (write_gmon): Likewise.
31552 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
31553 * intl/loadmsgcat.c (open): Likewise.
31554 * libio/fileops.c (_IO_file_open): Likewise.
31555 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31556 * locale/loadlocale.c (_nl_load_locale): Likewise.
31557 * login/utmp_file.c (setutent_file): Likewise.
31558 * misc/daemon.c (daemon): Likewise.
31559 * nss/nss_db/db-open.c (internal_setent): Likewise.
31560 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31561 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
31562 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31563 (__opendir): Likewise.
31564 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31565 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31566 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31567 (gethostid): Likewise.
31568 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31569 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31571 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31572 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
31573 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31574 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31576 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31578 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31580 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
31582 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31584 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31586 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31587 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31589 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
31591 * benchtests/bench-skeleton.c (main): Add support for
31592 latency benchmarking.
31593 * benchtests/scripts/bench.py: Add support for latency benchmarking.
31595 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
31597 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
31598 the startup object.
31600 2017-08-17 Florian Weimer <fweimer@redhat.com>
31602 * include/sys/socket.h (__opensock): Remove internal_function.
31603 * socket/opensock.c (__opensock): Likewise.
31604 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
31606 2017-08-16 Joseph Myers <joseph@codesourcery.com>
31609 * signal/bits/types/__sigval_t.h: New file.
31610 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
31611 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
31612 and define sigval_t using __sigval_t.
31613 * include/bits/types/__sigval_t.h: New file.
31614 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
31615 instead of <bits/types/__sigval_t.h>.
31616 (struct sigevent): Use __sigval_t instead of sigval_t.
31617 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
31618 instead of <bits/types/__sigval_t.h>.
31619 (siginfo_t): Use __sigval_t instead of sigval_t.
31620 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
31621 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31622 (struct sigevent): Use __sigval_t instead of sigval_t.
31623 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
31624 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31625 (siginfo_t): Use __sigval_t instead of sigval_t.
31626 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
31628 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31630 * NEWS: Remove "[Add new features here]" for 2.27.
31632 2017-08-16 Joseph Myers <joseph@codesourcery.com>
31634 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
31637 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31639 * NEWS: Mention x86-64 FMA optimization.
31641 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31644 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31646 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
31647 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
31648 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
31650 2017-08-16 Andreas Schwab <schwab@suse.de>
31654 * elf/ldd.bash.in: Never run file directly.
31656 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
31659 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
31660 (L(SP_INF_0)): Likewise.
31662 2017-08-15 Florian Weimer <fweimer@redhat.com>
31664 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
31667 2017-08-15 Florian Weimer <fweimer@redhat.com>
31669 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
31670 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
31671 BROKEN_THREAD_SIGNALS code.
31672 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
31673 request_list): Remove caller_pid member used for
31674 BROKEN_THREAD_SIGNALS.
31675 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
31676 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31677 Remove BROKEN_THREAD_SIGNALS support.
31678 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
31679 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
31681 2017-08-15 Florian Weimer <fweimer@redhat.com>
31683 * gmon/Makefile (tests): Add tst-gmon.
31684 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
31686 (tests-special): Add tst-gmon-prof.out.
31687 (tst-gmon.out): Depend on clean-tst-gmon-data.
31688 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
31689 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
31690 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
31692 * aclocal.m4 (GPROF): Set and substitute.
31693 * config.amke.in (GPROF): Set.
31694 * configure: Regenerate.
31696 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
31698 * elf/elf.h A (NT_PPC_TAR): New macro.
31699 (NT_PPC_PPR): Likewise.
31700 (NT_PPC_DSCR): Likewise.
31701 (NT_PPC_EBB): Likewise.
31702 (NT_PPC_PMU): Likewise.
31703 (NT_PPC_TM_CGPR): Likewise.
31704 (NT_PPC_TM_CFPR): Likewise.
31705 (NT_PPC_TM_CVMX): Likewise.
31706 (NT_PPC_TM_CVSX): Likewise.
31707 (NT_PPC_TM_SPR): Likewise.
31708 (NT_PPC_TM_CTAR): Likewise.
31709 (NT_PPC_TM_CPPR): Likewise.
31710 (NT_PPC_TM_CDSCR): Likewise.
31712 2017-08-15 Florian Weimer <fweimer@redhat.com>
31714 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
31715 regparm (2) instead of internal_function.
31716 (_MCOUNT_DECL): Adjust.
31718 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
31720 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
31721 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
31723 2017-08-14 Joseph Myers <joseph@codesourcery.com>
31725 * conform/data/sys/wait.h-data (si_value): Do not expect for
31728 2017-08-14 Florian Weimer <fweimer@redhat.com>
31731 NSS: Create stubs for accidentally exported lookup functions.
31732 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
31733 Remove declaration.
31734 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
31735 (ether_hostton): Call __nss_ethers_lookup2 instead.
31736 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
31737 (ether_ntohost): Call __nss_ethers_lookup2 instead.
31738 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
31739 (setup): Call __nss_netgroup_lookup2 instead.
31740 * nss/Makefile (routines): Add compat-lookup.
31741 * nss/Versions (GLIBC_2.27): Add symbol version.
31742 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
31743 (DB_COMPAT_FCT): Remove.
31744 * nss/compat-lookup.c: New file.
31745 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
31746 from databases.def.
31747 * nss/service-lookup.c (NO_COMPAT): Remove definition.
31748 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
31749 (netname2user): Call __nss_publickey_lookup2 instead.
31750 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
31751 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
31754 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31755 Sergei Trofimovich <slyfox@inbox.ru>
31758 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
31759 Rename to MMAP2_PAGE_UNIT.
31760 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
31761 __OFF_T_MATCHES_OFF64_T is not defined.
31762 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
31764 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
31765 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
31767 2017-08-14 Florian Weimer <fweimer@redhat.com>
31769 i386: Do not set internal_function.
31770 * config.h.in (USE_REGPARMS, internal_function): Remove.
31771 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
31772 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
31774 2017-08-14 Florian Weimer <fweimer@redhat.com>
31776 * elf/dl-init.c (_dl_init): Remove internal_function.
31777 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
31778 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
31780 2017-08-14 Florian Weimer <fweimer@redhat.com>
31782 * elf/rtld.c (_dl_start): Remove internal_function.
31783 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
31786 2017-08-14 Florian Weimer <fweimer@redhat.com>
31788 * elf/dl-fini.c (_dl_fini): Remove internal_function
31789 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
31791 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
31793 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
31794 (bit_cpu_SHSTK): Likewise.
31795 (index_cpu_IBT): Likewise.
31796 (index_cpu_SHSTK): Likewise.
31797 (reg_IBT): Likewise.
31798 (reg_SHSTK): Likewise.
31799 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
31800 Handle index_cpu_IBT and index_cpu_SHSTK.
31802 2017-08-14 Mike FABIAN <mfabian@redhat.com>
31805 * po/fr.po: Fix spelling mistake.
31807 2017-08-13 Florian Weimer <fweimer@redhat.com>
31809 * elf/dl-addr.c (_dl_addr): Remove internal_function.
31810 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
31811 (_dl_catch_error, _dl_receive_error): Likewise.
31812 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
31813 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
31814 (_dl_deallocate_tls): Likewise.
31815 * include/dlfcn.h (_dl_addr): Likewise.
31816 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
31817 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
31818 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
31821 2017-08-13 Florian Weimer <fweimer@redhat.com>
31823 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
31824 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
31826 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
31828 2017-08-13 Florian Weimer <fweimer@redhat.com>
31830 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
31832 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
31833 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
31834 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
31835 internal_function from _dl_make_stack_executable_hook member.
31836 (_dl_make_stack_executable): Remove internal_function.
31837 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
31839 * sysdeps/unix/sysv/linux/dl-execstack.c
31840 (_dl_make_stack_executable): Likewise.
31842 2017-08-13 Florian Weimer <fweimer@redhat.com>
31844 * sysdeps/unix/sysv/linux/netlinkaccess.h
31845 (__netlink_assert_response): Remove internal_function.
31846 * sysdeps/unix/sysv/linux/netlink_assert_response.c
31847 (__netlink_assert_response): Likewise.
31849 2017-08-13 Florian Weimer <fweimer@redhat.com>
31851 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
31853 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
31855 2017-08-13 Florian Weimer <fweimer@redhat.com>
31857 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
31859 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
31860 * inet/netgroup.h (__internal_setnetgrent)
31861 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31862 * inet/getnetgrent_r.c (__internal_setnetgrent)
31863 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31864 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
31865 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
31866 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
31867 * nss/nsswitch.h (db_lookup_function): Likewise.
31869 2017-08-13 Florian Weimer <fweimer@redhat.com>
31871 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
31872 Remove internal_function.
31873 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
31874 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
31875 message argument on the stack.
31876 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
31879 2017-08-12 Mike FABIAN <mfabian@redhat.com>
31881 Adapt test case data to the changes in the thousands
31885 * localedata/tst-langinfo.sh: Adapt test case data.
31886 * stdlib/tst-strfmon_l.c: Likewise.
31887 * stdlib/tst-strtod4.c: Likewise.
31888 * stdlib/tst-strtod5i.c: Likewise.
31890 2017-08-11 Florian Weimer <fweimer@redhat.com>
31893 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
31894 Suppress pedantic warning resulting from statement expression.
31895 (__ASSERT_FUNCTION): Add missing __extension__.
31897 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
31899 * benchtests/bench-memmove-large.c: Print output in JSON
31901 * benchtests/bench-memmove.c: Likewise.
31903 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
31904 * benchtests/bench-memchr.c (do_one_test): Likewise.
31905 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
31906 * benchtests/bench-memcpy.c (do_one_test): Likewise.
31907 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
31908 * benchtests/bench-memmove.c (do_one_test): Likewise.
31909 * benchtests/bench-memset-large.c (do_one_test): Likewise.
31910 * benchtests/bench-memset.c (do_one_test): Likewise.
31911 * benchtests/bench-string.h (test_init): Remove memsets.
31913 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
31916 (Computing the Width of an Integer Data Type): Rename section to
31917 "Width of an Integer Type". Remove inaccurate statement regarding
31918 lack of C language facilities for determining width of integer
31919 types, and reorder content to improve flow and context of
31922 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
31924 * lang.texi (va_copy): Change standard from ISO to C99.
31925 (__va_copy): Add standard and header annotation.
31926 Update description for clarity of origins and current use.
31928 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31931 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
31932 xssqrtqp requires operands to be in Vector Registers
31933 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
31934 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
31935 (__ieee754_sqrtf128): Likewise.
31937 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
31939 * sysdeps/aarch64/memcmp.S (memcmp):
31940 Rewrite of optimized memcmp.
31942 2017-08-10 Florian Weimer <fweimer@redhat.com>
31944 Introduce ld.so exceptions.
31945 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
31946 (_dl_exception_create, _dl_exception_create_format)
31947 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
31948 (_dl_catch_exception): Declare.
31949 (_dl_catch_error): Update comment.
31950 * elf/dl-error-skeleton.c (struct catch): Replace objname,
31951 errstring, malloced members with exception member.
31952 (_dl_out_of_memory): Remove.
31953 (fatal_error): New function, extracted from _dl_signal_error.
31954 (_dl_signal_exception, _dl_signal_cexception): New functions.
31955 (_dl_signal_error): Call _dl_exception_create to allocate an
31957 (_dl_catch_exception): New function, based on _dl_catch_error.
31958 (_dl_catch_error): Implement using _dl_catch_exception.
31959 * elf/dl-exception.c: New file.
31960 * elf/Makefile (dl-routines): Add dl-exception.
31961 (elide-routines.os): Likewise.
31962 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
31963 _dl_exception_create_format, _dl_exception_free.
31964 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
31965 _dl_signal_exception.
31966 * elf/dl-lookup.c (make_string): Remove.
31967 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
31968 _dl_signal_cexception, _dl_exception_free.
31969 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
31970 _dl_signal_exception.
31971 * elf/dl-sym.c (do_sym): Likewise.
31972 * elf/dl-version.c (make_string): Remove.
31973 (match_symbol): Use _dl_exception_create_format,
31974 _dl_signal_cexception, _dl_exception_free.
31975 (_dl_check_map_versions): Likewise.
31976 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
31977 _dl_catch_exception.
31978 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
31979 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
31980 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
31981 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
31982 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
31983 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
31984 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
31985 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
31987 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
31988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
31990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
31992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
31994 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
31995 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
31996 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
31998 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
32000 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
32002 2017-08-10 Florian Weimer <fweimer@redhat.com>
32004 * inet/net-internal.h (__inet6_scopeid_pton): Remove
32005 attribute_hidden, internal_function.
32006 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
32009 2017-08-10 Florian Weimer <fweimer@redhat.com>
32011 * malloc/malloc.c (get_max_fast): Reimplement as an inline
32012 function which calls __builtin_unreachable.
32014 2017-08-10 Mike FABIAN <mfabian@redhat.com>
32016 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
32017 Indian monetary formatting
32018 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
32021 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
32023 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
32024 Fix typo in comment.
32027 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
32028 PTRACE_SEIZE_DEVEL): Remove.
32029 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
32030 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32031 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32032 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32033 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32035 2017-08-09 Joseph Myers <joseph@codesourcery.com>
32037 * posix/bits/types.h (__qaddr_t): Remove.
32040 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
32041 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32043 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
32044 (ucontext_t): Use __ctx with uc_flags.
32045 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
32046 (__ctxt): Likewise.
32047 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32049 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
32050 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32052 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
32053 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32055 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
32057 (ucontext_t): Use __ctx with uc_flags.
32058 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
32059 (ucontext_t): Use __ctx with uc_flags.
32060 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
32061 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
32062 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
32063 (ucontext_t): Use __ctx with uc_flags.
32064 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
32065 undefine further down.
32066 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32068 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
32069 undefine further down.
32070 (ucontext_t): Use __ctx with uc_flags.
32071 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
32072 undefine further down.
32073 (ucontext_t): Use __ctx with uc_flags.
32074 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
32075 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
32076 Rename uc_pad to __glibc_reserved1.
32077 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
32078 undefine further down.
32079 (ucontext_t): Use __ctx with uc_flags.
32080 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
32082 (ucontext_t): Use __ctx with uc_flags.
32083 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
32084 __ctx with uc_flags.
32085 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
32086 (ucontext_t): Use __ctx with uc_flags.
32087 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
32088 __ctx with uc_flags.
32090 2017-08-09 Florian Weimer <fweimer@redhat.com>
32093 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
32094 before early return.
32096 2017-08-09 Andreas Schwab <schwab@suse.de>
32099 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
32103 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
32104 tst-compat-forwarder.
32105 (modules-names): Add tst-compat-forwarder-mod.
32106 ($(objpfx)tst-compat-forwarder): Depend on
32107 $(objpfx)tst-compat-forwarder-mod.so.
32108 * nptl/tst-compat-forwarder.c: New file.
32109 * nptl/tst-compat-forwarder-mod.c: New file.
32111 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
32113 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
32116 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
32117 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
32119 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
32121 (__libc_ifunc_impl_list): Add __memcpy_falkor.
32122 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
32123 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
32124 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
32126 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
32129 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32132 * manual/setjmp.texi (getcontex): Document uc_stack value
32133 compatibility differences.
32135 2017-08-08 Joseph Myers <joseph@codesourcery.com>
32137 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
32138 (old_malloc_hook): Likewise.
32139 (old_memalign_hook): Likewise.
32140 (old_realloc_hook): Likewise.
32141 (struct hdr): Likewise.
32143 (freehook): Likewise.
32144 (mallochook): Likewise.
32145 (memalignhook): Likewise.
32146 (reallochook): Likewise.
32147 (mprobe): Likewise.
32148 * malloc/mtrace.c (mallwatch): Likewise.
32149 (tr_old_free_hook): Likewise.
32150 (tr_old_malloc_hook): Likewise.
32151 (tr_old_realloc_hook): Likewise.
32152 (tr_old_memalign_hook): Likewise.
32153 (tr_where): Likewise.
32154 (lock_and_info): Likewise.
32155 (tr_freehook): Likewise.
32156 (tr_mallochook): Likewise.
32157 (tr_reallochook): Likewise.
32158 (tr_memalignhook): Likewise.
32159 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
32160 * misc/mmap.c (__mmap): Likewise.
32161 * misc/mmap64.c (__mmap64): Likewise.
32162 * misc/mprotect.c (__mprotect): Likewise.
32163 * misc/msync.c (msync): Likewise.
32164 * misc/munmap.c (__munmap): Likewise.
32165 * posix/posix_madvise.c (posix_madvise): Likewise.
32166 * socket/send.c (__send): Likewise.
32167 * socket/sendto.c (__sendto): Likewise.
32168 * socket/setsockopt.c (__setsockopt): Likewise.
32169 * string/memcmp.c (__ptr_t): Remove macro.
32170 (MEMCMP): Use void * instead of ptr_t.
32171 * string/memrchr.c (__ptr_t): Remove macro.
32172 (__memrchr): Use void * instead of ptr_t.
32173 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
32174 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
32175 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
32176 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
32177 * sysdeps/mach/msync.c (msync): Likewise.
32178 * sysdeps/mach/munmap.c (__munmap): Likewise.
32179 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
32181 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32182 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
32183 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
32184 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
32185 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
32186 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
32187 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
32188 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
32190 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
32191 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
32192 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
32193 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
32194 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
32195 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
32196 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
32197 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
32198 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
32200 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
32201 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
32202 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
32203 (MEMCMP): Use void * instead of ptr_t.
32204 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
32205 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
32207 2017-08-08 Florian Weimer <fweimer@redhat.com>
32209 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
32212 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
32215 * csu/libc-tls.c: Include <startup.h> first.
32216 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
32217 * elf/dl-tunables.c: Include <startup.h> first.
32218 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
32219 * sysdeps/generic/startup.h: New file.
32220 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
32221 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
32222 (I386_USE_SYSENTER): New. Defined to 0.
32224 2017-08-08 Andreas Schwab <schwab@suse.de>
32227 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
32228 * nptl/pt-system.c (system): Likewise.
32230 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32233 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
32235 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
32236 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
32237 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
32238 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
32239 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
32240 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
32241 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
32243 2017-08-07 Joseph Myers <joseph@codesourcery.com>
32246 * bits/sigaction.h (struct sigaction): Define sa_handler and
32247 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
32248 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32249 [__USE_XOPEN_EXTENDED].
32250 (SA_RESTART): Likewise.
32251 (SA_NODEFER): Likewise.
32252 (SA_RESETHAND): Likewise.
32253 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
32254 (struct sigaction): Define sa_handler and sa_sigaction using union
32255 also for [__USE_XOPEN_EXTENDED].
32256 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32257 [__USE_XOPEN_EXTENDED].
32258 (SA_RESTART): Likewise.
32259 (SA_NODEFER): Likewise.
32260 (SA_RESETHAND): Likewise.
32261 * sysdeps/unix/sysv/linux/bits/sigaction.h
32262 (struct sigaction): Define sa_handler and sa_sigaction using union
32263 also for [__USE_XOPEN_EXTENDED].
32264 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32265 [__USE_XOPEN_EXTENDED].
32266 (SA_RESTART): Likewise.
32267 (SA_NODEFER): Likewise.
32268 (SA_RESETHAND): Likewise.
32269 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
32270 (struct sigaction): Define sa_handler and sa_sigaction using union
32271 also for [__USE_XOPEN_EXTENDED].
32272 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32273 [__USE_XOPEN_EXTENDED].
32274 (SA_RESTART): Likewise.
32275 (SA_NODEFER): Likewise.
32276 (SA_RESETHAND): Likewise.
32277 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
32278 (struct sigaction): Define sa_handler and sa_sigaction using union
32279 also for [__USE_XOPEN_EXTENDED].
32280 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32281 [__USE_XOPEN_EXTENDED].
32282 (SA_RESTART): Likewise.
32283 (SA_NODEFER): Likewise.
32284 (SA_RESETHAND): Likewise.
32285 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
32286 (struct sigaction): Define sa_handler and sa_sigaction using union
32287 also for [__USE_XOPEN_EXTENDED].
32288 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32289 [__USE_XOPEN_EXTENDED].
32290 (SA_RESTART): Likewise.
32291 (SA_NODEFER): Likewise.
32292 (SA_RESETHAND): Likewise.
32293 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
32294 (struct sigaction): Define sa_handler and sa_sigaction using union
32295 also for [__USE_XOPEN_EXTENDED].
32296 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32297 [__USE_XOPEN_EXTENDED].
32298 (SA_RESTART): Likewise.
32299 (SA_NODEFER): Likewise.
32300 (SA_RESETHAND): Likewise.
32301 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
32302 (struct sigaction): Define sa_handler and sa_sigaction using union
32303 also for [__USE_XOPEN_EXTENDED].
32304 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32305 [__USE_XOPEN_EXTENDED].
32306 (SA_RESTART): Likewise.
32307 (SA_NODEFER): Likewise. Define directly rather than as alias.
32308 (SA_RESETHAND): Likewise.
32309 (SA_INTERRUPT): Define only for [__USE_MISC].
32310 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
32311 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
32313 (SA_STACK): Define only for [__USE_MISC].
32314 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
32315 (struct sigaction): Define sa_handler and sa_sigaction using union
32316 also for [__USE_XOPEN_EXTENDED].
32317 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32318 [__USE_XOPEN_EXTENDED].
32319 (SA_RESTART): Likewise.
32320 (SA_NODEFER): Likewise.
32321 (SA_RESETHAND): Likewise.
32322 (SA_NOPTRACE): Define only for [__USE_MISC].
32324 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
32325 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
32326 (struct catalog_info): Likewise.
32327 * inet/htontest.c (lo): Likewise.
32329 * inet/inet_lnaof.c (inet_lnaof): Likewise.
32330 * inet/inet_net.c (inet_network): Likewise.
32331 * inet/inet_netof.c (inet_netof): Likewise.
32332 * inet/rcmd.c (__ivaliduser): Likewise.
32333 (iruserok): Likewise.
32334 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
32335 * locale/programs/locale-spec.c (locale_special): Likewise.
32336 * nis/nis_findserv.c (struct findserv_req): Likewise.
32337 (__nis_findfastest_with_timeout): Likewise.
32338 * nss/test-netdb.c (test_network): Likewise.
32339 * resolv/inet_neta.c (inet_neta): Likewise.
32340 * resolv/ns_date.c (ns_datetosecs): Likewise.
32341 (SECS_PER_DAY): Likewise.
32342 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
32344 * resolv/res_comp.c (__putlong): Likewise.
32345 (__putshort): Likewise.
32346 (_getlong): Likewise.
32347 (_getshort): Likewise.
32348 * resolv/res_debug.c (p_time): Likewise.
32349 (precsize_ntoa): Likewise.
32350 (precsize_aton): Likewise.
32351 (latlon2ul): Likewise.
32352 (loc_aton): Likewise.
32353 (loc_ntoa): Likewise.
32354 * resolv/res_hconf.c (struct netaddr): Likewise.
32355 (_res_hconf_reorder_addrs): Likewise.
32356 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
32357 (clnttcp_control): Likewise.
32358 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32359 (clntudp_control): Likewise.
32360 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
32361 (clntunix_control): Likewise.
32362 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
32363 * sunrpc/rpc/auth.h (union des_block): Likewise.
32364 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
32365 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
32366 (xdrrec_create): Likewise.
32367 (xdrrec_endofrecord): Likewise.
32368 (flush_out): Likewise.
32369 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
32370 (xdrstdio_putlong): Likewise.
32371 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
32374 * misc/sys/cdefs.h (__long_double_t): Remove.
32375 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
32376 instead of __long_double_t,
32377 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
32379 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
32381 * benchtests/scripts/compare_strings.py: Avoid display error when
32382 running on a text terminal.
32384 * benchtests/scripts/compare_strings.py (main): Add an
32385 optional -base option.
32386 (process_results): New argument base_func.
32388 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
32390 * benchtests/bench-memcpy-large.c (test_name): Likewise.
32391 * benchtests/bench-memcpy-random.c (test_name): Likewise.
32393 2017-08-07 Andreas Schwab <schwab@suse.de>
32395 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
32396 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
32397 * intl/Makefile ($(objpfx)tst-gettext.out)
32398 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
32399 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
32400 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
32401 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
32402 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
32403 * posix/Makefile ($(objpfx)globtest.out)
32404 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
32405 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
32406 ($(objpfx)tst-printf.out): Likewise.
32407 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
32408 ($(objpfx)tst-setcontext3.out): Likewise.
32410 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
32412 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32413 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
32414 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
32415 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
32416 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
32418 (CFLAGS-doasin-fma.c): New.
32419 (CFLAGS-dosincos-fma.c): Likewise.
32420 (CFLAGS-e_asin-fma.c): Likewise.
32421 (CFLAGS-e_atan2-fma.c): Likewise.
32422 (CFLAGS-e_exp-fma.c): Likewise.
32423 (CFLAGS-e_log-fma.c): Likewise.
32424 (CFLAGS-e_pow-fma.c): Likewise.
32425 (CFLAGS-halfulp-fma.c): Likewise.
32426 (CFLAGS-mpa-fma.c): Likewise.
32427 (CFLAGS-mpatan-fma.c): Likewise.
32428 (CFLAGS-mpatan2-fma.c): Likewise.
32429 (CFLAGS-mpexp-fma.c): Likewise.
32430 (CFLAGS-mplog-fma.c): Likewise.
32431 (CFLAGS-mpsqrt-fma.c): Likewise.
32432 (CFLAGS-mptan-fma.c): Likewise.
32433 (CFLAGS-s_atan-fma.c): Likewise.
32434 (CFLAGS-sincos32-fma.c): Likewise.
32435 (CFLAGS-slowexp-fma.c): Likewise.
32436 (CFLAGS-slowpow-fma.c): Likewise.
32437 (CFLAGS-s_sin-fma.c): Likewise.
32438 (CFLAGS-s_tan-fma.c): Likewise.
32439 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
32440 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
32441 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
32442 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
32443 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
32444 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
32445 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
32446 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
32447 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
32448 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
32449 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
32450 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
32451 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
32452 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
32453 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
32454 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
32455 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
32456 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
32457 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
32458 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
32459 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
32460 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
32461 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
32462 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
32463 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32464 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32465 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32466 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
32467 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32468 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32469 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32471 2017-08-04 Joseph Myers <joseph@codesourcery.com>
32473 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
32474 (min_of_type_f): New macro.
32475 (min_of_type_): Likewise.
32476 (min_of_type_l): Likewise.
32477 (min_of_type_f128): Likewise.
32478 (min_of_type): Define using __MATH_TG and taking an expression
32480 (math_check_force_underflow): Pass expression instead of type to
32482 (math_check_force_underflow_nonneg): Likewise.
32484 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32486 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32487 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
32488 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
32490 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32492 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32493 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
32494 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
32495 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
32496 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
32497 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
32498 memcpy_chk-nonshared, mempcpy_chk-nonshared,
32499 memmove_chk-nonshared and memset_chk-nonshared
32500 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
32501 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
32502 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
32503 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
32504 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
32505 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
32506 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
32507 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
32508 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
32509 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
32510 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
32511 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
32512 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
32513 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
32514 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
32515 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
32516 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
32517 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
32518 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
32519 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
32520 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
32521 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
32522 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
32523 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
32524 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
32525 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
32526 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
32527 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
32528 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
32529 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
32530 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
32531 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
32532 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
32533 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32534 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32535 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
32536 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
32537 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
32538 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
32539 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
32540 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
32541 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
32542 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
32543 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
32544 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
32545 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
32546 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
32547 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
32548 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
32549 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
32550 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
32551 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
32552 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
32553 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
32554 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
32555 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
32556 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
32557 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
32558 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
32559 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
32560 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
32561 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
32562 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
32563 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
32564 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
32565 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
32566 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
32567 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
32568 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
32569 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
32570 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
32571 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32572 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32573 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32574 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32575 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32576 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32577 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32578 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32579 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32580 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32581 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32582 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32583 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32584 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32585 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32586 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32587 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32588 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32589 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32590 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32591 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32592 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32593 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32594 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32595 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32596 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32597 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32598 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32599 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32600 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32601 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32602 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32603 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32604 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32605 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32606 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32607 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32609 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32611 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
32612 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
32613 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
32614 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
32615 svml_d_log2_core-sse2, svml_d_log4_core-sse,
32616 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
32617 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
32618 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
32619 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
32620 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
32621 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
32622 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
32623 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
32624 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
32625 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
32626 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
32627 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
32628 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
32629 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
32630 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
32631 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
32632 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
32633 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
32634 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
32635 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
32636 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
32637 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
32638 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
32639 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
32640 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
32641 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
32642 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
32643 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
32644 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
32645 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
32646 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
32647 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
32648 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
32649 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
32650 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
32651 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
32652 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
32653 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
32654 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
32655 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
32656 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
32657 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
32658 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
32659 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
32660 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
32661 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
32662 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
32663 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
32664 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
32665 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
32666 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
32667 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
32668 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
32669 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
32671 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
32672 Don't include <sysdep.h> nor <init-arch.h>.
32673 (_ZGVbN2v_cos): Removed.
32674 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
32676 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
32677 Don't include <sysdep.h> nor <init-arch.h>.
32678 (_ZGVdN4v_cos): Removed.
32679 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
32681 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
32682 Don't include <sysdep.h> nor <init-arch.h>.
32683 (_ZGVeN8v_cos): Removed.
32684 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
32686 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
32687 Don't include <sysdep.h> nor <init-arch.h>.
32688 (_ZGVbN2v_exp): Removed.
32689 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
32691 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
32692 Don't include <sysdep.h> nor <init-arch.h>.
32693 (_ZGVdN4v_exp): Removed.
32694 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
32696 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
32697 Don't include <sysdep.h> nor <init-arch.h>.
32698 (_ZGVeN8v_exp): Removed.
32699 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
32701 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
32702 Don't include <sysdep.h> nor <init-arch.h>.
32703 (_ZGVbN2v_log): Removed.
32704 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
32706 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
32707 Don't include <sysdep.h> nor <init-arch.h>.
32708 (_ZGVdN4v_log): Removed.
32709 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
32711 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
32712 Don't include <sysdep.h> nor <init-arch.h>.
32713 (_ZGVeN8v_log): Removed.
32714 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
32716 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
32717 Don't include <sysdep.h> nor <init-arch.h>.
32718 (_ZGVbN2vv_pow): Removed.
32719 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
32721 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
32722 Don't include <sysdep.h> nor <init-arch.h>.
32723 (_ZGVdN4vv_pow): Removed.
32724 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
32726 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
32727 Don't include <sysdep.h> nor <init-arch.h>.
32728 (_ZGVeN8vv_pow): Removed.
32729 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
32731 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
32732 Don't include <sysdep.h> nor <init-arch.h>.
32733 (_ZGVbN2v_sin): Removed.
32734 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
32736 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
32737 Don't include <sysdep.h> nor <init-arch.h>.
32738 (_ZGVbN4v_sin): Removed.
32739 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
32741 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
32742 Don't include <sysdep.h> nor <init-arch.h>.
32743 (_ZGVbN8v_sin): Removed.
32744 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
32746 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
32747 Don't include <sysdep.h> nor <init-arch.h>.
32748 (_ZGVbN2vvv_sincos): Removed.
32749 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
32751 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
32752 Don't include <sysdep.h> nor <init-arch.h>.
32753 (_ZGVdN4vvv_sincos): Removed.
32754 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
32756 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
32757 Don't include <sysdep.h> nor <init-arch.h>.
32758 (_ZGVeN8vvv_sincos): Removed.
32759 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
32761 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
32762 Don't include <sysdep.h> nor <init-arch.h>.
32763 (_ZGVeN16v_cosf): Removed.
32764 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
32766 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
32767 Don't include <sysdep.h> nor <init-arch.h>.
32768 (_ZGVbN4v_cosf): Removed.
32769 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
32771 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
32772 Don't include <sysdep.h> nor <init-arch.h>.
32773 (_ZGVdN8v_cosf): Removed.
32774 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
32776 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
32777 Don't include <sysdep.h> nor <init-arch.h>.
32778 (_ZGVeN16v_expf): Removed.
32779 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
32781 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
32782 Don't include <sysdep.h> nor <init-arch.h>.
32783 (_ZGVbN4v_expf): Removed.
32784 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
32786 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
32787 Don't include <sysdep.h> nor <init-arch.h>.
32788 (_ZGVdN8v_expf): Removed.
32789 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
32791 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
32792 Don't include <sysdep.h> nor <init-arch.h>.
32793 (_ZGVeN16v_logf): Removed.
32794 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
32796 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
32797 Don't include <sysdep.h> nor <init-arch.h>.
32798 (_ZGVbN4v_logf): Removed.
32799 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
32801 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
32802 Don't include <sysdep.h> nor <init-arch.h>.
32803 (_ZGVdN8v_logf): Removed.
32804 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
32806 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
32807 Don't include <sysdep.h> nor <init-arch.h>.
32808 (_ZGVeN16vv_powf): Removed.
32809 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
32811 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
32812 Don't include <sysdep.h> nor <init-arch.h>.
32813 (_ZGVbN4vv_powf): Removed.
32814 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
32816 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
32817 Don't include <sysdep.h> nor <init-arch.h>.
32818 (_ZGVdN8vv_powf): Removed.
32819 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
32821 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
32822 Don't include <sysdep.h> nor <init-arch.h>.
32823 (_ZGVeN16vvv_sincosf): Removed.
32824 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
32826 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
32827 Don't include <sysdep.h> nor <init-arch.h>.
32828 (_ZGVbN4vvv_sincosf): Removed.
32829 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
32831 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
32832 Don't include <sysdep.h> nor <init-arch.h>.
32833 (_ZGVdN8vvv_sincosf): Removed.
32834 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
32836 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
32837 Don't include <sysdep.h> nor <init-arch.h>.
32838 (_ZGVeN16v_sinf): Removed.
32839 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
32841 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
32842 Don't include <sysdep.h> nor <init-arch.h>.
32843 (_ZGVbN4v_sinf): Removed.
32844 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
32846 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
32847 Don't include <sysdep.h> nor <init-arch.h>.
32848 (_ZGVdN8v_sinf): Removed.
32850 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32852 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32853 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
32854 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
32855 s_rint-sse4_1 and s_rintf-sse4_1.
32856 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
32857 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
32858 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
32859 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
32860 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
32861 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
32862 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
32863 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
32864 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
32865 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
32866 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
32867 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32869 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
32870 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
32871 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32872 (__ceilf): Removed.
32873 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
32874 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
32875 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32876 (__floor): Removed.
32877 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
32878 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
32879 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32880 (__floorf): Removed.
32881 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
32882 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
32883 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32884 (__nearbyint): Removed.
32885 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
32886 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
32887 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32888 (__nearbyintf): Removed.
32889 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
32890 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
32891 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32893 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
32894 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
32895 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32896 (__rintf): Removed.
32898 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32900 * sysdeps/i386/start.S (_start): Check Check PIC instead of
32901 SHARED. Avoid dynamic relocation against main in static PIE.
32903 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32906 * elf/Makefile (CFLAGS-tst-prelink.c): New.
32907 (LDFLAGS-tst-prelink): Likewise.
32909 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32911 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
32912 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
32913 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
32914 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
32915 (INTERNAL_SYSCALL_NCS): Likewise.
32916 (LOADARGS_1): Likewise.
32917 (LOADARGS_5): Likewise.
32918 (RESTOREARGS_1): Likewise.
32919 (RESTOREARGS_5): Likewise.
32921 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32923 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
32924 (MEMPCPY_SYMBOL): Likewise.
32925 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
32926 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
32927 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
32929 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32930 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
32932 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
32933 (__hidden_ver1): Don't use in libc.a.
32934 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
32935 (__mempcpy): Don't create a weak alias in libc.a.
32936 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
32938 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
32939 (__hidden_ver1): Don't use in libc.a.
32941 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32943 * config.make.in (have-insert): New.
32944 * configure.ac (libc_cv_insert): New. Set to yes if linker
32945 supports INSERT in linker script.
32946 (AC_SUBST(libc_cv_insert): New.
32947 * configure: Regenerated.
32948 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
32949 if $(have-insert) == yes.
32951 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32953 * elf/Makefile (tests): Add vismain only if
32954 $(have-protected-data) == yes.
32955 (tests-pie): Likewise.
32957 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32960 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
32961 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
32963 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32966 * sysdeps/i386/i586/memset.S
32967 (__memset_zero_constant_len_parameter): Removed.
32968 * sysdeps/i386/i686/memset.S
32969 (__memset_zero_constant_len_parameter): Likewise.
32970 * sysdeps/i386/i686/multiarch/memset_chk.S
32971 (__memset_zero_constant_len_parameter): Likewise.
32972 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
32975 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
32977 * stdlib/getentropy.c (getentropy): Change return type to int.
32979 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
32981 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
32983 2017-08-03 Joseph Myers <joseph@codesourcery.com>
32985 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
32987 * math/s_nexttowardf.c (__nexttowardf): Likewise.
32988 * sysdeps/generic/math_private.h (ieee_double_shape_type):
32990 (ieee_float_shape_type): Likewise.
32991 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
32992 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
32993 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
32994 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32995 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
32996 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
32997 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
32998 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
32999 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
33001 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
33002 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
33003 (__ieee754_yn): Likewise.
33004 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
33005 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
33006 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
33008 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
33009 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
33010 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
33011 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
33012 (__erfc): Likewise.
33013 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
33014 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
33015 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
33016 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
33017 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
33018 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
33020 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
33021 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
33022 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
33023 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
33024 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
33025 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
33026 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
33027 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
33028 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
33029 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
33030 (__issignaling): Likewise.
33031 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
33032 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
33033 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
33035 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33036 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
33037 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
33038 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
33040 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
33042 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
33043 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
33044 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
33045 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
33046 (__erfcf): Likewise.
33047 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
33048 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
33049 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
33050 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
33052 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
33053 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
33055 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
33056 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
33057 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
33058 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
33059 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
33060 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33061 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
33062 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
33064 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
33066 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
33068 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
33069 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
33071 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
33073 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
33074 (__ieee754_ynl): Likewise.
33075 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
33076 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
33078 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
33080 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
33081 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
33082 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33084 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
33085 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
33086 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
33087 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
33088 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
33089 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
33090 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
33091 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
33093 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
33094 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
33095 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
33097 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
33098 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
33099 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
33100 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
33101 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
33102 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33104 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
33106 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33108 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33110 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
33111 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33112 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33113 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
33114 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
33115 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
33116 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
33118 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
33120 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
33121 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33123 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
33124 (__ieee754_remainderl): Likewise.
33125 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33126 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33127 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
33128 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
33130 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
33131 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33133 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33134 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
33135 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
33136 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
33137 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
33138 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
33140 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
33141 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
33142 (__ieee754_y0l): Likewise.
33145 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33146 (__ieee754_y1l): Likewise.
33149 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
33150 (__ieee754_ynl): Likewise.
33151 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
33152 (__ieee754_lgammal_r): Likewise.
33153 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
33155 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
33156 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
33157 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
33158 (__erfcl): Likewise.
33159 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
33160 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
33162 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
33163 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
33164 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
33165 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
33166 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
33167 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33168 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33170 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
33171 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33172 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
33173 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
33174 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33176 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
33177 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
33179 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
33180 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
33181 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
33182 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
33183 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
33185 2017-08-03 Florian Weimer <fweimer@redhat.com>
33188 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
33189 on memory allocation failure.
33191 2017-08-03 Alan Modra <amodra@gmail.com>
33193 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
33194 tst-tlsopt-powerpc.c with function name change and no test harness.
33195 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
33196 Call tls_get_addr_opt_test.
33197 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
33198 (modules-names): Add mod-tlsopt-powerpc.
33199 (mod-tlsopt-powerpc.so-no-z-defs): Define.
33200 (tst-tlsopt-powerpc): Depend on .so.
33201 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
33202 define. Expand use in TLS_GD and TLS_LD.
33204 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
33206 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
33208 * sysdeps/posix/shm_open.c: Include <pthread.h>.
33210 2017-08-02 Joseph Myers <joseph@codesourcery.com>
33213 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
33214 comparing size with that of double.
33215 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33216 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33217 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33218 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33219 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33220 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
33221 unsigned __int128 types.
33223 2017-08-02 Steve Ellcey <sellcey@cavium.com>
33225 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
33226 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
33227 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
33228 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
33229 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
33231 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33233 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
33235 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33237 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
33239 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
33240 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
33241 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33242 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33243 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33244 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33245 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33247 2017-08-02 Joseph Myers <joseph@codesourcery.com>
33250 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
33251 bit-field expressions passed to sizeof or typeof.
33252 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33253 (__TGMATH_F128): Likewise.
33254 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33255 (__TGMATH_CF128): Likewise.
33256 (__TGMATH_UNARY_REAL_ONLY): Likewise.
33257 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
33258 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
33259 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
33260 (__TGMATH_BINARY_REAL_ONLY): Likewise.
33261 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33262 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33263 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33264 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33265 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
33266 (__TGMATH_UNARY_REAL_IMAG): Likewise.
33267 (__TGMATH_UNARY_IMAG): Likewise.
33268 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
33269 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33270 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
33272 (define_vars_for_type): Handle bit_field type specially.
33273 (Tests.__init__): Declare structure with bit-field element.
33275 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33278 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
33279 (MEMCPY_CHK): Define only if SHARED is defined.
33280 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
33282 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
33285 See ChangeLog.18 for earlier changes.