1 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
4 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
5 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
7 * sysdeps/s390/multiarch/ifunc-impl-list.c
8 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
9 * sysdeps/s390/strstr-arch13.S: New file.
10 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
11 if it is only used as fallback.
12 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
14 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
16 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
17 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
18 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
19 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
21 * sysdeps/s390/multiarch/ifunc-impl-list.c
22 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
23 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
24 S390_IS_ARCH13_MIE3): New defines.
26 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
28 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
29 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
30 * sysdeps/s390/configure.ac: Add checks for arch13 support.
31 * sysdeps/s390/configure: Regenerated.
33 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
35 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
36 Add vxe2, vxp, dflt, sort flags.
37 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
38 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
40 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
41 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
42 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
43 HWCAP_S390_DFLT): Define.
45 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
48 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
50 * locale/programs/ld-collate.c (collate_output): Likewise.
52 2019-03-21 DJ Delorie <dj@redhat.com>
55 * iconv/iconvconfig.c (write_output): Replace floating point math
56 with integer math to avoid imprecise results.
57 * locale/programs/ld-collate.c (collate_output): Likewise.
59 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
61 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
62 Add HWCAP_S390_VX and HWCAP_S390_VXE.
64 2019-03-20 mansayk <6688000@gmail.com>
67 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
68 (abday): Likewise, but remove the trailing dots.
70 2019-03-19 Joseph Myers <joseph@codesourcery.com>
72 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
74 (HWCAP_PACA): Likewise.
75 (HWCAP_PACG): Likewise.
76 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
78 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
80 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
82 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
85 2019-03-15 Joseph Myers <joseph@codesourcery.com>
87 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
89 (old_getpagesize): New syscall.
91 2019-03-15 Felix Yan <felixonmars@archlinux.org>
94 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
95 * localedata/locales/cmn_TW (era): Likewise.
96 * localedata/locales/hak_TW (era): Likewise.
97 * localedata/locales/lzh_TW (era): Likewise.
98 * localedata/locales/nan_TW (era): Likewise.
100 2019-03-14 Florian Weimer <fweimer@redhat.com>
102 Remove obsolete, never-implemented XSI STREAMS declarations.
103 * manual/terminal.texi (Allocation): Remove portability note and
105 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
107 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
108 * sysdeps/unix/inet/Subdirs (streams): Remove.
109 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
110 (conformtest-headers-UNIX98): Likewise.
111 (conformtest-headers-XOPEN2K): Likewise.
112 (conformtest-headers-POSIX2008): Likewise.
113 * posix/compat-streams.c: New file.
114 * posix/Makefile (routines): Add it.
115 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
116 getpmsg, isastream, putmsg, putpmsg.
117 (GLIBC_2.30): New section.
118 * bits/stropts.h: Remove file.
119 * bits/xtitypes.h: Likewise.
120 * conform/data/stropts.h-data: Likewise.
121 * include/stropts.h: Likewise.
122 * include/sys/stropts.h: Likewise.
123 * include/xtitypes.h: Likewise.
124 * streams/Makefile: Likewise.
125 * streams/fattach.c: Likewise.
126 * streams/fdetach.c: Likewise.
127 * streams/getmsg.c: Likewise.
128 * streams/getpmsg.c: Likewise.
129 * streams/isastream.c: Likewise.
130 * streams/putmsg.c: Likewise.
131 * streams/putpmsg.c: Likewise.
132 * streams/stropts.h: Likewise.
133 * streams/sys/stropts.h: Likewise.
134 * sysdeps/ia64/bits/xtitypes.h: Likewise.
135 * sysdeps/s390/bits/xtitypes.h: Likewise.
136 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
137 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
138 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
139 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
140 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
141 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
142 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
143 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
144 * sysdeps/x86/bits/xtitypes.h: Likewise.
146 2019-03-14 Florian Weimer <fweimer@redhat.com>
148 * nss/tst-nss-files-alias-truncated.c (do_test): Load
150 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
151 but not with libnss_files.
152 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
154 2019-03-14 Zack Weinberg <zackw@panix.com>
156 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
157 Specify encoding="utf-8" when opening headers to check.
159 2019-03-13 Joseph Myers <joseph@codesourcery.com>
161 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
163 (Context.checkout_tar): Handle variable major version for Linux
166 2019-03-13 Florian Weimer <fweimer@redhat.com>
169 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
171 2019-03-13 Zack Weinberg <zackw@panix.com>
173 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
175 * include/inttypes.h: Adjust to match.
176 * include/stdint.h: New wrapper.
178 2019-03-13 Zack Weinberg <zackw@panix.com>
180 * scripts/check-obsolete-constructs.py: New test script.
181 * scripts/check-installed-headers.sh: Remove tests for
182 obsolete typedefs, superseded by check-obsolete-constructs.py.
183 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
184 as a special test. Update commentary.
185 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
186 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
188 * posix/sys/types.h (__u_intN_t): Remove.
189 (u_int8_t): Typedef using __uint8_t.
190 (u_int16_t): Typedef using __uint16_t.
191 (u_int32_t): Typedef using __uint32_t.
192 (u_int64_t): Typedef using __uint64_t.
194 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
196 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
198 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
199 Ignore types other than AT_HWCAP.
200 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
201 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
203 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
204 in the case of falling back to generic output mechanism.
205 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
208 2019-03-12 Florian Weimer <fweimer@redhat.com>
210 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
212 2019-03-12 Florian Weimer <fweimer@redhat.com>
215 resolv: Enable full ICMP errors for UDP DNS sockets
216 * resolv/res_enable_icmp.c: New file.
217 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
218 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
219 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
222 2019-03-11 Mao Han <han_mao@c-sky.com>
224 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
225 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
227 2019-03-11 Mao Han <han_mao@c-sky.com>
229 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
230 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
231 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
233 2019-03-11 Mao Han <han_mao@c-sky.com>
235 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
237 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
240 2019-03-11 Mao Han <han_mao@c-sky.com>
242 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
243 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
246 2019-03-08 Mike FABIAN <mfabian@redhat.com>
249 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
250 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
252 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
253 * localedata/unicode-gen/PropList.txt: Likewise.
254 * localedata/unicode-gen/UnicodeData.txt: Likewise.
255 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
256 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
257 * localedata/charmaps/UTF-8: Regenerate.
258 * localedata/locales/i18n_ctype: Likewise.
259 * localedata/locales/tr_TR: Likewise.
260 * localedata/locales/translit_circle: Likewise.
261 * localedata/locales/translit_cjk_compat: Likewise.
262 * localedata/locales/translit_combining: Likewise.
263 * localedata/locales/translit_compat: Likewise.
264 * localedata/locales/translit_font: Likewise.
265 * localedata/locales/translit_fraction: Likewise.
267 2019-03-07 Joseph Myers <joseph@codesourcery.com>
269 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
270 than after operators.
271 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
272 (setitimer_locked): Likewise.
273 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
274 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
275 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
276 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
277 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
278 (PPC_CPU_SUPPORTED): Likewise.
279 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
280 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
281 (stat_overflow): Likewise.
282 (statfs_overflow): Likewise.
283 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
284 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
285 (eq_ttyname_r): Likewise.
286 (run_chroot_tests): Likewise.
288 2019-03-07 Florian Weimer <fweimer@redhat.com>
290 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
293 2019-03-07 Martin Liska <mliska@suse.cz>
295 * math/Makefile: Change location where math-vector-fortran.h is
297 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
298 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
299 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
300 * scripts/check-installed-headers.sh: Skip Fortran header files.
301 * scripts/check-wrapper-headers.py: Likewise.
303 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
305 * nptl/nptl-init.c (__have_futex_clock_realtime,
306 __have_futex_clock_realtime): Remove definition.
307 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
308 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
309 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
310 __ASSUME_FUTEX_CLOCK_REALTIME support.
311 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
312 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
313 * sysdeps/unix/sysv/linux/kernel-features.h
314 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
315 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
318 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
320 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
321 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
322 __GI___wcscpy and wcscpy.
324 2019-03-04 Florian Weimer <fweimer@redhat.com>
326 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
328 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
331 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
333 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
334 * sysdeps/s390/s390-32/sysdep.h: Likewise.
336 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
339 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
340 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
342 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
344 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
347 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
348 (do_test_call_varg): Likewise.
349 (do_test_call_rarg): Likewise.
350 * sysdeps/ieee754/ldbl-opt/Makefile
351 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
353 ($(objpfx)tst-nldbl-warn.c): New rule.
354 ($(objpfx)tst-nldbl-error.c): Likewise.
355 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
358 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
361 * include/bits/error-ldbl.h: New file.
362 * include/error.h: Include stdarg.h. Declare internal functions
363 __error_internal and __error_at_line_internal.
364 * misc/Makefile (headers): Add bits/error-ldbl.h.
365 * misc/bits/error-ldbl.h: New file.
366 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
367 avoid the inclusion of bits/error.h.
368 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
369 and __nldbl_error_at_line.
370 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
371 (__nldbl_error, __ndlbl_error_at_line): New functions.
372 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
373 Redirect error and error_at_line.
374 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
383 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
384 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
385 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
387 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
390 * include/bits/err-ldbl.h: New file.
391 * include/err.h: Add prototypes for the internal functions:
392 __vwarnx_internal and __vwarn_internal.
393 * misc/Makefile (headers): Add bits/err-ldbl.h.
394 * misc/bits/err-ldbl.h: New file.
395 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
396 defined, i.e.: when -mlong-double-64 is in use.
397 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
398 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
399 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
400 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
401 (VA_CALL): New macro.
402 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
403 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
405 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
406 declare prototypes for the new functions.
407 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
416 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
417 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
418 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
420 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
422 * sysdeps/ieee754/ldbl-opt/Makefile
423 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
424 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
425 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
427 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
430 * argp/Makefile (headers): Add bits/argp-ldbl.h.
431 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
432 * argp/bits/argp-ldbl.h: New file.
433 * include/argp.h: Include stdarg.h. Add prototypes for internal
434 functions: __argp_error_internal and __argp_failure_internal.
435 * include/bits/argp-ldbl.h: New file.
436 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
437 __nldbl_argp_error and __nldbl_argp_failure.
438 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
439 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
440 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
441 Redirect argp_error and argp_failure calls.
442 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
451 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
452 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
453 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
455 2019-03-01 Florian Weimer <fweimer@redhat.com>
458 * elf/tst-big-note-lib.S: Create a syntactically valid note.
459 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
460 code, to avoid creating an ABI tag note.
461 (modules-names-nobuild): Add tst-big-note-lib.
463 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
465 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
466 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
468 2019-03-01 Florian Weimer <fweimer@redhat.com>
471 * sysdeps/unix/sysv/linux/netlink_assert_response.c
472 (__netlink_assert_response): Add additional missing newlines.
474 2019-02-28 Joseph Myers <joseph@codesourcery.com>
476 * sysdeps/powerpc/powerpc32/dl-machine.c
477 (__elf_machine_fixup_plt): Use space before '('.
478 (__process_machine_rela): Likewise.
479 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
481 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
483 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
485 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
488 (check_result): Likewise.
489 (check_excepts): Likewise.
490 (check_op): Likewise.
492 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
493 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
495 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
498 (__makecontext): Likewise.
499 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
502 2019-02-28 Florian Weimer <fweimer@redhat.com>
505 elf: Add test with a local IFUNC resolver.
506 * elf/ifuncmain9.c: New file.
507 * elf/ifuncmain9pic.c: Likewise.
508 * elf/ifuncmain9picstatic.c: Likewise.
509 * elf/ifuncmain9pie.c: Likewise.
510 * elf/ifuncmain9static.c: Likewise.
511 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
512 ifuncmain9static, ifuncmain9picstatic.
513 * elf/Makefile [multi-arch && build-shared] (tests-internal):
514 Add ifuncmain9, ifuncmain9pic.
515 * elf/Makefile [multi-arch && build-shared && have-fpie]
516 (ifunc-pie-tests): Add ifuncmain9pie.
517 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
518 (CFLAGS-ifuncmain9picstatic.c): Likewise.
519 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
521 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
523 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
524 * configure: Regenerated.
525 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
527 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
529 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
530 symbol as __wcspcy instead of wcscpy.
532 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
534 * include/stdio.h (__renameat2): New hidden prototype.
535 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
536 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
537 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
538 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
540 2019-02-27 Joseph Myers <joseph@codesourcery.com>
542 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
545 * benchtests/bench-strcpy.c (do_test): Use space before '('.
546 * benchtests/bench-string.h (cmdline_process_function): Likewise.
547 * benchtests/bench-strlen.c (do_test): Likewise.
548 (test_main): Likewise.
549 * catgets/gencat.c (read_old): Likewise.
550 * elf/cache.c (load_aux_cache): Likewise.
551 * iconvdata/bug-iconv8.c (do_test): Likewise.
552 * math/test-tgmath-ret.c (do_test): Likewise.
553 * nis/nis_call.c (rec_dirsearch): Likewise.
554 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
555 * nptl/tst-audit-threads.c (do_test): Likewise.
556 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
557 * nss/nss_test1.c (init): Likewise.
558 * nss/test-netdb.c (test_hosts): Likewise.
559 * posix/execvpe.c (maybe_script_execute): Likewise.
560 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
561 * stdio-common/tst-printf.c (do_test): Likewise.
562 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
563 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
564 * stdlib/qsort.c (STACK_SIZE): Likewise.
565 * stdlib/test-canon.c (do_test): Likewise.
566 * stdlib/tst-swapcontext1.c (do_test): Likewise.
567 * string/memcmp.c (OPSIZ): Likewise.
568 * string/test-strcpy.c (do_test): Likewise.
569 (do_random_tests): Likewise.
570 * string/test-strlen.c (do_test): Likewise.
571 (test_main): Likewise.
572 * string/test-strrchr.c (do_test): Likewise.
573 (do_random_tests): Likewise.
574 * string/tester.c (test_memrchr): Likewise.
575 (test_memchr): Likewise.
576 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
577 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
578 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
579 (read_encoded_value_with_base): Likewise.
580 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
581 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
582 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
583 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
584 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
585 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
587 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
589 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
590 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
591 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
593 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
595 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
597 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
599 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
600 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
601 (FP_XSTATE_MAGIC2_SIZE): Likewise.
602 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
603 * time/test_time.c (main): Likewise.
605 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
607 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
609 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
612 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
615 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
617 * include/wchar.h (__wcscpy): New prototype.
618 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
619 (__wcscpy): Route internal symbol to generic implementation.
620 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
621 Add internal __wcscpy alias.
622 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
623 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
624 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
625 * wcsmbs/wcscpy.c (wcscpy): Add
626 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
627 use generic implementation.
628 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
630 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
633 * sysdeps/m68k/wcpcpy.c: Remove file.
634 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
636 2019-02-26 Joseph Myers <joseph@codesourcery.com>
638 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
639 than after operators.
640 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
641 * sysdeps/mach/hurd/getcwd.c
642 (__hurd_canonicalize_directory_name_internal): Likewise.
643 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
644 (pthread_mutex_consistent): Likewise.
645 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
647 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
648 (__pthread_mutex_transfer_np): Likewise.
649 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
650 (__pthread_mutex_unlock): Likewise.
651 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
652 (mtx_owned_p): Likewise.
653 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
654 (pthread_mutexattr_getrobust): Likewise.
655 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
656 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
658 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
659 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
660 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
661 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
662 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
663 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
664 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
666 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
668 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
669 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
670 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
671 (____longjmp_chk): Likewise.
672 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
674 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
675 (INTERNAL_SYSCALL): Likewise.
676 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
677 (INTERNAL_SYSCALL): Likewise.
678 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
679 (__get_clockfreq_via_cpuinfo): Likewise.
681 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
683 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
684 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
685 (WORD_COPY_BWD): Likewise.
686 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
687 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
689 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
690 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
692 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
694 2019-02-25 Joseph Myers <joseph@codesourcery.com>
696 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
697 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
698 rather than after operators.
699 * elf/cache.c (print_cache): Likewise.
700 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
701 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
702 * hurd/hurdinit.c (_hurd_setproc): Likewise.
703 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
704 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
705 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
706 (reauth_proc): Likewise.
707 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
708 (__file_name_split_at): Likewise.
709 (__directory_name_split_at): Likewise.
710 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
711 * hurd/port2fd.c (_hurd_port2fd): Likewise.
712 * iconv/gconv_dl.c (do_print): Likewise.
713 * inet/netinet/in.h (struct sockaddr_in): Likewise.
714 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
715 * locale/setlocale.c (new_composite_name): Likewise.
716 * malloc/memusagestat.c (main): Likewise.
717 * misc/fstab.c (fstab_convert): Likewise.
718 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
720 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
721 (getgrent_next_file): Likewise.
722 (internal_getgrnam_r): Likewise.
723 (internal_getgrgid_r): Likewise.
724 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
726 (internal_getgrent_r): Likewise.
727 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
728 (getpwent_next_nss): Likewise.
729 (getpwent_next_file): Likewise.
730 (internal_getpwnam_r): Likewise.
731 (internal_getpwuid_r): Likewise.
732 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
734 (getspent_next_nss): Likewise.
735 (internal_getspnam_r): Likewise.
736 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
737 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
738 * string/strchr.c (STRCHR): Likewise.
739 * string/strchrnul.c (STRCHRNUL): Likewise.
740 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
741 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
742 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
743 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
744 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
746 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
747 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
748 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
749 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
750 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
751 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
752 (open_file): Likewise.
753 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
754 (pthread_mutexattr_setprotocol): Likewise.
755 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
756 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
757 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
758 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
759 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
761 (elf_machine_rela): Likewise.
762 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
763 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
764 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
765 * sysdeps/posix/rename.c (rename): Likewise.
766 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
767 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
768 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
769 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
770 * sysdeps/unix/grantpt.c (grantpt): Likewise.
771 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
772 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
774 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
776 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
777 * time/tzfile.c (__tzfile_compute): Likewise.
779 2019-02-22 Joseph Myers <joseph@codesourcery.com>
781 * benchtests/bench-memmem.c (simple_memmem): Break lines before
782 rather than after operators.
783 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
784 * crypt/md5.c (md5_finish_ctx): Likewise.
785 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
786 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
787 * elf/cache.c (load_aux_cache): Likewise.
788 * elf/dl-load.c (open_verify): Likewise.
789 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
790 * elf/readelflib.c (process_elf_file): Likewise.
791 * elf/rtld.c (dl_main): Likewise.
792 * elf/sprof.c (generate_call_graph): Likewise.
793 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
794 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
795 * hurd/dtable.c (reauth_dtable): Likewise.
796 * hurd/getdport.c (__getdport): Likewise.
797 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
798 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
799 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
801 * hurd/hurdioctl.c (fioctl): Likewise.
802 * hurd/hurdselect.c (_hurd_select): Likewise.
803 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
804 (STOPSIGS): Likewise.
805 * hurd/hurdstartup.c (_hurd_startup): Likewise.
806 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
807 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
808 * hurd/msgportdemux.c (msgport_server): Likewise.
809 * hurd/setauth.c (_hurd_setauth): Likewise.
810 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
811 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
812 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
813 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
814 * login/tst-utmp.c (do_check): Likewise.
815 (simulate_login): Likewise.
816 * mach/lowlevellock.h (lll_lock): Likewise.
817 (lll_trylock): Likewise.
818 * math/test-fenv.c (ALL_EXC): Likewise.
819 * math/test-fenvinline.c (ALL_EXC): Likewise.
820 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
821 * nis/nis_call.c (__do_niscall3): Likewise.
822 * nis/nis_callback.c (cb_prog_1): Likewise.
823 * nis/nis_defaults.c (searchaccess): Likewise.
824 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
825 * nis/nis_ismember.c (internal_ismember): Likewise.
826 * nis/nis_local_names.c (nis_local_principal): Likewise.
827 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
828 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
830 * nis/ypclnt.c (yp_match): Likewise.
831 (yp_first): Likewise.
833 (yp_master): Likewise.
834 (yp_order): Likewise.
835 * nscd/hstcache.c (cache_addhst): Likewise.
836 * nscd/initgrcache.c (addinitgroupsX): Likewise.
837 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
838 (internal_getpwuid_r): Likewise.
839 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
840 * posix/glob.h (__GLOB_FLAGS): Likewise.
841 * posix/regcomp.c (peek_token): Likewise.
842 (peek_token_bracket): Likewise.
843 (parse_expression): Likewise.
844 * posix/regexec.c (sift_states_iter_mb): Likewise.
845 (check_node_accept_bytes): Likewise.
846 * posix/tst-spawn3.c (do_test): Likewise.
847 * posix/wordexp-test.c (testit): Likewise.
848 * posix/wordexp.c (parse_tilde): Likewise.
849 (exec_comm): Likewise.
850 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
851 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
852 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
853 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
854 * stdio-common/tst-fileno.c (do_test): Likewise.
855 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
856 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
857 * stdlib/strtod_l.c (round_and_return): Likewise.
858 (____STRTOF_INTERNAL): Likewise.
859 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
860 * string/strcspn.c (STRCSPN): Likewise.
861 * string/test-memmem.c (simple_memmem): Likewise.
862 * termios/tcsetattr.c (tcsetattr): Likewise.
863 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
864 * time/asctime.c (asctime_internal): Likewise.
865 * time/strptime_l.c (__strptime_internal): Likewise.
866 * time/sys/time.h (timercmp): Likewise.
867 * time/tzfile.c (__tzfile_compute): Likewise.
869 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
872 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
874 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
876 * argp/argp-help.c (__argp_error_internal): New function,
877 renamed from __argp_error, but that takes a 'mode_flags'
878 parameter to control the format of long double parameters.
879 (__argp_error): Converted into a call __argp_error_internal.
880 (__argp_failure_internal): New function, renamed from
881 __argp_failure, but that takes a 'mode_flags' parameter.
882 (__argp_failure): Converted into a call __argp_failure_internal.
883 * misc/err.c (__vwarnx_internal): New function, renamed from
884 vwarnx, but that takes a 'mode_flags' parameter.
885 (vwarnx): Converted into a call to __vwarnx_internal.
886 (__vwarn_internal): New function, renamed from vwarn, but that
887 takes a 'mode_flags' parameter.
888 (vwarn): Converted into a call to __vwarn_internal.
889 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
890 call to __vfxprintf with 'mode_flags'.
891 (__error_internal): New function, renamed from error, but that
892 takes a 'mode_flags' parameter.
893 (error): Converted into a call to __error_internal.
894 (__error_at_line_internal): New function, renamed from
895 error_at_line, but that takes a 'mode_flags' parameter.
896 (error_at_line): Converted into a call to
897 __error_at_line_internal.
898 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
899 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
902 2019-02-20 Martin Liska <mliska@suse.cz>
904 * math/Makefile: Install math-vector-fortran.h.
905 * bits/math-vector-fortran.h: New file.
906 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
908 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
910 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
911 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
913 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
915 * nptl/pthread_mutex_trylock.c: Fix comment.
917 2019-02-19 Carlos O'Donell <carlos@redhat.com>
919 * nptl/pthread_tryjoin.c: Fix comment.
921 2019-02-18 Joseph Myers <joseph@codesourcery.com>
924 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
925 after R_SPARC_H34 case.
927 2019-02-18 Florian Weimer <fweimer@redhat.com>
929 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
930 (getanswer): Do not call Dprintf.
931 (res_gethostbyname2_context): Likewise.
932 (res_gethostbyaddr_context): Likewise.
934 2019-02-18 Florian Weimer <fweimer@redhat.com>
936 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
938 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
940 * libio/stdfiles.c: Update comment.
941 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
942 set _IO_stdin, _IO_stdout, _IO_stderr.
943 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
944 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
946 (_IO_deallocate_file): New inline function.
947 * libio/iolibio.h (_IO_vprintf): Remove definition.
948 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
949 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
950 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
952 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
953 __builtin_expect. Use _IO_legacy_file.
955 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
957 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
958 Initialize ctid with a known value and remove update of ctid
960 (wait_tid): Adjust arguments and call futex_wait with ctid_val
961 as assumed current value of ctid_ptr.
963 2019-02-15 Florian Weimer <fweimer@redhat.com>
965 Check that non-sysdeps headers have wrapper headers.
966 * scripts/check-wrapper-headers.py: New file.
967 * Makefile (tests-special): Add check-wrapper-headers.out.
968 (check-wrapper-headers.out): New target.
969 * Rules (tests-special): Add check-wrapper-headers.out.
970 (check-wrapper-headers.out): New target.
972 2019-02-15 Florian Weimer <fweimer@redhat.com>
974 Add missing header wrappers under include/.
975 * include/ar.h: New file.
976 * include/bits/mqueue2.h: Likewise.
977 * include/bits/stdio.h: Likewise.
978 * include/bits/stdio2.h: Likewise.
979 * include/fstab.h: Likewise.
980 * include/fts.h: Likewise.
981 * include/lastlog.h: Likewise.
982 * include/netinet/icmp6.h: Likewise.
983 * include/netinet/igmp.h: Likewise.
984 * include/netinet/ip6.h: Likewise.
985 * include/re_comp.h: Likewise.
986 * include/regexp.h: Likewise.
987 * include/rpcsvc/bootparam.h: Likewise.
988 * include/rpcsvc/yp_prot.h: Likewise.
989 * include/sys/random.h: Likewise.
990 * include/sys/stropts.h: Likewise.
991 * include/sys/ttychars.h: Likewise.
992 * include/sys/vfs.h: Likewise.
993 * include/wait.h: Likewise.
995 2019-02-15 Florian Weimer <fweimer@redhat.com>
997 * nptl_db/proc_service.h: Move to ...
998 * sysdeps/nptl/proc_service.h: ... here.
999 * nptl_db/thread_db.h: Move to ...
1000 * sysdeps/nptl/thread_db.h: ... here.
1001 * nptl/descr.h: Include <thread_db.h>.
1003 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1005 * io/Makefile (tests): Add tst-lockf.
1006 * io/lockf.c (lockf): Use __fcntl and only define for
1007 !__OFF_T_MATCHES_OFF64_T.
1008 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
1009 __OFF_T_MATCHES_OFF64_T case.
1010 * io/tst-lockf.c: New file.
1011 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
1012 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
1013 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
1014 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
1015 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
1016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
1017 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
1018 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
1019 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
1021 2019-02-15 Florian Weimer <fweimer@redhat.com>
1024 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
1025 pd->result after the thread descriptor has been freed.
1027 2019-02-15 Joseph Myers <joseph@codesourcery.com>
1029 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
1030 from function return type.
1032 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
1034 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1036 * scripts/test_printers_common.py: Set TERM to a known harmless
1039 2019-02-14 Joseph Myers <joseph@codesourcery.com>
1041 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
1042 (xdr_u_int): Likewise.
1043 (xdr_enum): Likewise.
1044 (xdr_bytes): Reword fall-through comment.
1045 (xdr_string): Likewise.
1047 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1050 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
1051 (tests): Add tst-join8 tst-join9.
1052 * nptl/lll_timedwait_tid.c: Remove file.
1053 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
1054 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
1055 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
1056 * nptl/pthread_join_common.c (timedwait_tid): New function.
1057 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
1059 * nptl/tst-join5.c (thread_join): New function.
1060 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
1062 * nptl/tst-join8.c: New file.
1063 * nptl/tst-join9.c: Likewise.
1064 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
1065 lll_futex_timed_wait_cancel): Add generic macros.
1066 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
1068 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1069 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1070 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1071 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
1073 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
1075 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1076 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
1077 (lll_futex_timed_wait_cancel): New macro.
1079 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
1081 * benchtests/Makefile: Add malloc-simple benchmark.
1082 * benchtests/bench-malloc-simple.c: New benchmark.
1084 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
1086 * benchtests/bench-memmove.c (do_one_test): Remove unused
1089 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
1093 2019-01-13 Jim Wilson <jimw@sifive.com>
1096 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
1097 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
1099 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
1101 * nptl/Makefile (tests): Add tst-unwind-thread.
1102 (CFLAGS-tst-unwind-thread.c): Define.
1103 * nptl/tst-unwind-thread.c: New file.
1104 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
1107 2019-02-13 Joseph Myers <joseph@codesourcery.com>
1109 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
1111 * nis/nis_call.c (__do_niscall3): Likewise.
1113 * catgets/gencat.c (normalize_line): Use braces around empty
1115 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1116 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
1117 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
1118 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
1119 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
1120 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
1121 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
1124 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
1127 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
1129 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
1130 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
1131 * benchtests/bench-strchr.c (stupid_strchr): Remove.
1132 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
1133 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
1134 * benchtests/bench-strlen.c (builtin_strlen): Remove.
1135 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
1136 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
1137 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
1138 * benchtests/bench-strspn.c (stupid_strspn): Remove.
1139 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
1140 * benchtests/bench-bcopy.c: Delete file.
1141 * benchtests/bench-bzero.c: Likewise.
1142 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
1143 (simple_memccpy): Remove.
1144 (generic_memccpy): Add function.
1145 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
1146 * benchtests/bench-memmove.c (simple_bcopy): Remove.
1147 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
1148 (generic_mempcpy): Add new function.
1149 * benchtests/bench-memset.c (simple_bzero): Remove.
1150 (builtin_bzero): Remove.
1151 (builtin_memset): Remove.
1152 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
1153 (generic_rawmemchr): Add new function.
1155 2019-02-12 Florian Weimer <fweimer@redhat.com>
1157 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
1159 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1162 * elf/Makefile (tests): Add tst-audit13.
1163 (modules-names): Add tst-audit13mod1.
1164 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1166 * elf/tst-audit13.c: New file.
1167 * elf/tst-audit13mod1.c: Likewise.
1169 2019-02-12 Florian Weimer <fweimer@redhat.com>
1172 * elf/rtld.c (unload_audit_module): New function.
1173 (report_audit_module_load_error): Likewise.
1174 (load_audit_module): Likewise. Extracted from dl_main. Call
1175 _dl_close if the laversion symbol cannot be found. Use early
1176 returns for error handling. Add malloc error check. Check for a
1177 zero return value from la_version. Remove spurious comment about
1178 static TLS initialization. Remove useless casts.
1179 (notify_audit_modules_of_loaded_object): New function. Extracted
1181 (load_audit_module): Likewise.
1182 (dl_main): Call load_audit_modules.
1184 2019-02-12 Joseph Myers <joseph@codesourcery.com>
1186 * elf/dl-exception.c (_dl_exception_create_format): Add
1187 fall-through comments.
1188 * elf/ldconfig.c (parse_conf_include): Likewise.
1189 * elf/rtld.c (print_statistics): Likewise.
1190 * locale/programs/charmap.c (parse_charmap): Likewise.
1191 * misc/mntent_r.c (__getmntent_r): Likewise.
1192 * posix/wordexp.c (parse_arith): Likewise.
1193 (parse_backtick): Likewise.
1194 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
1195 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
1196 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1198 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
1200 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
1201 Use float instead of double.
1203 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
1205 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
1207 2019-02-08 Joseph Myers <joseph@codesourcery.com>
1209 * sysdeps/powerpc/bits/mathinline.h: Remove.
1211 2019-02-08 Florian Weimer <fweimer@redhat.com>
1213 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
1214 * math/bits/math-finite.h: Move to ...
1215 * bits/math-finite.h: ... here.
1217 2019-02-08 Florian Weimer <fweimer@redhat.com>
1219 * sysdeps/generic/bits/unistd_ext.h: Move to ...
1220 * bits/unistd_ext.h: here.
1222 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
1225 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
1226 * nss/tst-nss-files-hosts-long.c: New file.
1227 * nss/tst-nss-files-hosts-long.root: New directory.
1228 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
1229 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
1231 2019-02-08 Florian Weimer <fweimer@redhat.com>
1233 * include/bits/unistd_ext.h: Remove file.
1234 * posix/bits/unistd_ext.h: Move to ...
1235 * sysdeps/generic/bits/unistd_ext.h: ... here.
1237 2019-02-08 Florian Weimer <fweimer@redhat.com>
1239 * include/bits/unistd_ext.h: New file.
1241 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
1243 * time/tst-strftime2.c: Use array_length macros instead of magic
1246 2019-02-08 Florian Weimer <fweimer@redhat.com>
1249 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
1251 * nptl/register-atfork.c (__run_fork_handlers): Only perform
1252 locking if the new do_locking argument is true.
1253 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
1254 __run_fork_handlers.
1256 2019-02-08 Florian Weimer <fweimer@redhat.com>
1259 Linux: Add gettid system call wrapper.
1260 * posix/Makefile (headers): Add bits/unistd_ext.h.
1261 * posix/bits/unistd_ext.h: New file.
1262 * posix/unistd.h: Include it.
1263 * manual/process.texi (Process Identification): Document gettid.
1264 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
1265 tst-gettid, tst-gettid-kill.
1266 (tst-gettid): Link with $(shared-thread-library).
1267 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
1268 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
1269 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
1270 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
1271 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
1272 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
1274 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1276 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1277 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
1279 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
1281 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
1283 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
1285 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1287 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1289 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1291 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1292 (GLIBC_2.30): Likewise.
1293 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1294 (GLIBC_2.30): Likewise.
1295 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1296 (GLIBC_2.30): Likewise.
1297 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1298 (GLIBC_2.30): Likewise.
1299 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1302 (GLIBC_2.30): Likewise.
1303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1304 (GLIBC_2.30): Likewise.
1305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1306 (GLIBC_2.30): Likewise.
1307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1308 (GLIBC_2.30): Likewise.
1309 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1311 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1313 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1315 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1316 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1318 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1320 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1322 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1324 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
1326 2019-02-07 Florian Weimer <fweimer@redhat.com>
1328 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
1329 compatibility symbols.
1331 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
1334 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1335 Add compiler barriers and comments.
1337 2019-02-07 Florian Weimer <fweimer@redhat.com>
1339 * include/array_length.h (array_length): Do not use a statement
1340 expression and _Static_assert, so that array_length can be used at
1341 file scope and as a constant expression.
1343 2019-02-07 Florian Weimer <fweimer@redhat.com>
1345 * support/xdlfcn.h (xdlmopen): Declare.
1346 * support/xdlmopen.c: New file.
1347 * support/Makefile (libsupport-routines): Add xdlmopen.
1349 2019-02-06 Joseph Myers <joseph@codesourcery.com>
1351 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
1352 before return type, without separate inline.
1353 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
1354 * elf/dl-tunables.h (tunable_is_name): Likewise.
1355 * malloc/malloc.c (do_set_trim_threshold): Likewise.
1356 (do_set_top_pad): Likewise.
1357 (do_set_mmap_threshold): Likewise.
1358 (do_set_mmaps_max): Likewise.
1359 (do_set_mallopt_check): Likewise.
1360 (do_set_perturb_byte): Likewise.
1361 (do_set_arena_test): Likewise.
1362 (do_set_arena_max): Likewise.
1363 (do_set_tcache_max): Likewise.
1364 (do_set_tcache_count): Likewise.
1365 (do_set_tcache_unsorted_limit): Likewise.
1366 * nis/nis_subr.c (count_dots): Likewise.
1367 * nptl/allocatestack.c (advise_stack_range): Likewise.
1368 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
1370 (reduce_sincos): Likewise.
1371 (do_sincos): Likewise.
1372 * sysdeps/unix/sysv/linux/x86/elision-conf.c
1373 (do_set_elision_enable): Likewise.
1374 (TUNABLE_CALLBACK_FNDECL): Likewise.
1376 2019-02-06 Florian Weimer <fweimer@redhat.com>
1378 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
1379 (xdlsym): Use dlerror to detect a NULL symbol.
1381 2019-02-06 Florian Weimer <fweimer@redhat.com>
1383 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
1385 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1387 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1389 * libio/tst-bz24153.c (wide): Use wide char format specifier.
1391 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1393 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
1394 __wmemcmp and weak alias to wmemcmp.
1396 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1399 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
1400 TLS_TCB_AT_TP tls variant.
1401 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
1402 Add alignment checks.
1403 * support/Makefile (libsupport-routines): Add xposix_memalign and
1405 * support/support.h: Add xposix_memalign.
1406 * support/xthread.h: Add xpthread_attr_setstack.
1407 * support/xposix_memalign.c: New File.
1408 * support/xpthread_attr_setstack.c: Likewise.
1410 2019-02-05 Florian Weimer <fweimer@redhat.com>
1413 arm: Use "nr" constraint for Systemtap probes, to avoid the
1414 compiler using memory operands for constants, due to the "o"
1415 alternative in the default "nor" constraint.
1416 * include/stap-probe.h [USE_STAP_PROBE]: Include
1417 <stap-probe-machine.h>
1418 * sysdeps/generic/stap-probe-machine.h: New file.
1419 * sysdeps/arm/stap-probe-machine.h: Likewise.
1421 2019-02-04 Joseph Myers <joseph@codesourcery.com>
1423 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
1424 with 0, not tcache->entries[tc_idx].
1426 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
1429 2019-02-04 Andreas Schwab <schwab@suse.de>
1433 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
1434 looking up collating elements match against (wide) character
1435 sequence instead of name. Correct alignment adjustment.
1436 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
1437 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
1438 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
1439 (LOCALES): Add cs_CZ.ISO-8859-2.
1440 * posix/tst-fnmatch4.c: New file.
1441 * posix/tst-fnmatch5.c: New file.
1442 * include/wchar.h (__wmemcmp): Declare.
1443 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
1444 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
1445 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
1446 * sysdeps/s390/wmemcmp.c: Likewise.
1448 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
1452 * NEWS: Updated for CVE-2019-7309.
1453 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
1454 upper 32 bits of RDX register for x32. Use unsigned Jcc
1455 instructions, instead of signed.
1456 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
1457 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
1459 2019-02-04 Florian Weimer <fweimer@redhat.com>
1461 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
1462 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
1463 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
1465 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
1466 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
1467 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
1468 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
1470 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
1472 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
1474 (posix_spawn_file_actions_addopen): Likewise.
1475 (posix_spawn_file_actions_addclose): Likewise.
1476 (posix_spawn_file_actions_adddup2): Likewise.
1477 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
1479 (posix_spawn_file_actions_addfchdir_np): Likewise.
1481 2019-02-04 David Newall <glibc@davidnewall.com>
1483 elf: Implement --preload option for the dynamic linker.
1484 * elf/rtld.c (preloadarg): New variable.
1485 (handle_preload_list): Pass through “where” argument to
1487 (dl_main): Handle "--preload" and add second call to
1488 handle_preload_list.
1489 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
1490 (tst-rtld-preload-OBJS): Set variable.
1491 (tst-rtld-preload.out): New target.
1492 * elf/tst-rtld-preload.sh: New file.
1494 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
1496 * Makefile (testrun.sh): Exit in case of incorrect argument.
1498 2019-02-04 Florian Weimer <fweimer@redhat.com>
1500 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
1503 2019-02-03 Florian Weimer <fweimer@redhat.com>
1505 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
1506 implicit overflow checks.
1508 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
1510 * stdlib/isomac.c: Include <unistd.h>.
1512 2019-02-03 Florian Weimer <fweimer@redhat.com>
1514 * include/time.h (__tzfile_default): Use int, not long int, for
1516 * time/tzfile.c (struct ttinfo): Change type of the offset member
1518 (__tzfile_read): Remove useless cast.
1519 (__tzfile_default): Adjust prototype.
1520 * time/tzset.c (tz_rule): Change type of the offset member to int.
1521 (parse_offset): Change the type of the sign variable to int.
1523 2019-02-03 Florian Weimer <fweimer@redhat.com>
1526 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
1527 * libio/getchar.c (getchar): Likewise.
1528 * libio/getchar_u.c (getchar_unlocked): Likewise.
1529 * libio/getwchar.c (getwchar): Likewise.
1530 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1531 * libio/iogets.c (_IO_gets): Likewise.
1532 * libio/vscanf.c (_IO_vscanf): Likewise.
1533 * libio/vwscanf.c (__vwscanf): Likewise.
1534 * libio/tst-bz24153.c: New file.
1535 * libio/Makefile (tests): Add it.
1537 2019-02-02 Florian Weimer <fweimer@redhat.com>
1540 * manual/resource.texi (Basic Scheduling Functions): Add
1541 portability note. Change process to task throughout the section.
1542 Remove incorrect comment about sched_yield as it affects
1543 tasks/threads, not entire processes.
1544 * sysdeps/unix/sysv/linux/bits/posix_opt.h
1545 (_POSIX_PRIORITY_SCHEDULING): Update comment.
1547 2019-02-01 Joseph Myers <joseph@codesourcery.com>
1549 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
1550 * configure: Regenerated.
1551 * manual/install.texi (Tools for Compilation): Update minimum GCC
1553 * INSTALL: Regenerated.
1555 2019-02-01 Florian Weimer <fweimer@redhat.com>
1557 * support/support_test_compare_string.c
1558 (support_test_compare_string): Use "string" in error message.
1559 * support/tst-test_compare_string.c (do_test): Adjust.
1561 2019-02-01 Florian Weimer <fweimer@redhat.com>
1563 * support/support_format_address_family.c
1564 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
1566 2019-02-01 Florian Weimer <fweimer@redhat.com>
1568 * manual/socket.texi (Internet Address Formats): Clarify the byte
1569 order of struct sockaddr_in, struct sockaddr_in6. Document
1570 sin6_flowinfo and sin6_scope_id.
1572 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
1574 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
1575 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
1576 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
1577 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
1578 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
1579 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
1581 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1583 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
1584 [!MEMCHR](MEMCHR): Set to __memchr.
1585 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1586 Add memchr_generic and memchr_nosimd.
1587 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1588 (__libc_ifunc_impl_list): Add memchr ifuncs.
1589 * sysdeps/aarch64/multiarch/memchr.c: New file.
1590 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
1591 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
1593 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1595 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1597 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1598 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
1599 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
1600 Add IS_EMAG check for ifunc dispatch.
1601 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
1602 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
1604 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1606 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
1607 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1609 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
1612 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
1614 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
1616 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
1618 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
1619 syscall-template file.
1621 2019-01-31 Carlos O'Donell <carlos@redhat.com>
1622 Torvald Riegel <triegel@redhat.com>
1623 Rik Prohaska <prohaska7@gmail.com>
1626 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
1627 tst-rwlock-trywrlock-stall.
1628 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1629 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
1630 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
1631 Set __wrphase_fute to 1 only if we started the write phase.
1632 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
1633 * nptl/tst-rwlock-trywrlock-stall.c: New file.
1634 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
1635 * support/xpthread_rwlock_destroy.c: New file.
1636 * support/xthread.h: Declare xpthread_rwlock_destroy.
1638 2019-02-01 Joseph Myers <joseph@codesourcery.com>
1640 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
1643 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1646 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
1647 * libio/fileops.c (_IO_new_file_underflow): Likewise
1648 * libio/wfileops.c (_IO_wfile_underflow): Likewise
1649 * libio/putchar.c (putchar): Likewise.
1650 * libio/putchar_u.c (putchar_unlocked): Likewise.
1651 * libio/putwchar.c (putchar): Likewise.
1652 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
1653 * libio/tst-bz24051.c: New test.
1654 * libio/Makefile (tests): Add tst-bz24051
1656 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
1659 regex: fix read overrun [BZ #24114]
1660 Problem found by AddressSanitizer, reported by Hongxu Chen in:
1661 https://debbugs.gnu.org/34140
1662 * posix/regexec.c (proceed_next_node):
1663 Do not read past end of input buffer.
1665 2019-01-31 Florian Weimer <fweimer@redhat.com>
1668 * nss/nss_files/files-alias.c (get_next_alias): Handle
1669 continuation line without newline at the end.
1670 * nss/tst-nss-files-alias-truncated.c: New file.
1671 * nss/Makefile [$(build-shared)] (tests): Add
1672 tst-nss-files-alias-truncated.
1673 (tst-nss-files-alias-truncated): Link with libnss_files.so.
1674 * support/namespace.h (struct support_chroot_configuration): Add
1676 (struct support_chroot): Add path_aliases member.
1677 * support/support_chroot.c (support_chroot_create): Handle
1679 (support_chroot_free): Free path_aliases.
1681 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
1683 * version.h (RELEASE): Set to "development".
1684 (VERSION): Set to "2.29.9000".
1685 * NEWS: Add section for 2.30.
1687 * version.h (RELEASE): Set to "stable".
1688 (VERSION): Set to "2.29".
1689 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
1691 * NEWS: Add the list of bugs fixed in 2.29.
1692 * manual/contrib.texi: Update contributors list with some more
1694 * manual/install.texi: Update latest versions of packages
1696 * INSTALL: Regenerated.
1698 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
1700 * po/be.po: Update translations.
1701 * po/bg.po: Likewise.
1702 * po/ca.po: Likewise.
1703 * po/cs.po: Likewise.
1704 * po/da.po: Likewise.
1705 * po/de.po: Likewise.
1706 * po/el.po: Likewise.
1707 * po/eo.po: Likewise.
1708 * po/es.po: Likewise.
1709 * po/fi.po: Likewise.
1710 * po/fr.po: Likewise.
1711 * po/gl.po: Likewise.
1712 * po/hr.po: Likewise.
1713 * po/hu.po: Likewise.
1714 * po/ia.po: Likewise.
1715 * po/id.po: Likewise.
1716 * po/it.po: Likewise.
1717 * po/ja.po: Likewise.
1718 * po/ko.po: Likewise.
1719 * po/lt.po: Likewise.
1720 * po/nb.po: Likewise.
1721 * po/nl.po: Likewise.
1722 * po/pl.po: Likewise.
1723 * po/pt_BR.po: Likewise.
1724 * po/ru.po: Likewise.
1725 * po/rw.po: Likewise.
1726 * po/sk.po: Likewise.
1727 * po/sl.po: Likewise.
1728 * po/sv.po: Likewise.
1729 * po/tr.po: Likewise.
1730 * po/uk.po: Likewise.
1731 * po/vi.po: Likewise.
1732 * po/zh_CN.po: Likewise.
1733 * po/zh_TW.po: Likewise.
1735 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
1738 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
1739 of $f3 register on $y_is_neg path.
1741 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
1744 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
1745 sigaltstack.ss_flags.
1747 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
1750 * manual/time.texi (strftime): Document "%Ey".
1751 * time/strftime_l.c (__strftime_internal): Set the default width
1752 padding with zero of "%Ey" to 2.
1755 * manual/time.texi (strftime): Document "%EC" and "%EY".
1756 * time/Makefile (tests): Add tst-strftime2.
1757 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
1758 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
1759 override padding for "%Ey".
1760 If an optional flag ('_' or '-') is specified to "%EY", interpret the
1761 "%Ey" in the subformat as if decorated with that flag.
1762 * time/tst-strftime2.c: New file.
1764 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1766 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
1770 * elf/Makefile (tests): Add tst-audit13.
1771 (modules-names): Add tst-audit13mod1.
1772 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1774 * elf/rtld.c (dl_main): Handle invalid audit module version.
1775 * elf/tst-audit13.c: New file.
1776 * elf/tst-audit13mod1.c: Likewise.
1778 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
1780 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
1781 returned by __hurd_at_flags.
1782 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
1783 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
1784 directly instead of __hurd_file_name_lookup.
1786 2019-01-21 Joseph Myers <joseph@codesourcery.com>
1788 * scripts/build-many-glibcs.py (Context.checkout): Default
1789 binutils version to 2.32 branch.
1791 2019-01-21 Florian Weimer <fweimer@redhat.com>
1795 resolv: Reject trailing characters in host names
1796 * include/arpa/inet.h (__inet_aton_exact): Declare.
1797 (inet_aton): Remove hidden prototype. No longer used internally.
1798 * nscd/gai.c (__inet_aton): Do not define.
1799 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
1800 * nss/digits_dots.c (__inet_aton): Likewise.
1801 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
1802 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
1803 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
1804 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
1805 (tst-resolv-trailing): Likewise.
1806 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
1808 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
1809 Make static. Add endp parameter.
1810 (__inet_aton_exact): New function.
1811 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
1812 (__inet_addr): Call inet_aton_end.
1813 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
1814 not just IPv6. Call __inet_aton_exact.
1815 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
1816 (tests): Make const. Add additional test cases with trailing
1818 (do_test): Use array_length.
1819 * resolv/tst-inet_aton_exact.c: New file.
1820 * resolv/tst-resolv-trailing.c: Likewise.
1821 * resolv/tst-resolv-nondecimal.c: Likewise.
1822 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
1824 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1828 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
1829 Clear the upper 32 bits of RSI register.
1830 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
1831 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
1832 and tst-size_t-wcsnlen.
1833 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
1834 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
1836 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1840 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
1841 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1842 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1843 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
1844 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
1846 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1850 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
1851 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1852 * sysdeps/x86_64/strcmp.S: Likewise.
1853 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
1854 tst-size_t-strncmp and tst-size_t-wcsncmp.
1855 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
1856 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
1857 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
1859 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1863 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
1864 RDX_LP for length. Clear the upper 32 bits of RDX register.
1865 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
1866 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
1867 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
1868 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
1870 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1874 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
1875 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
1876 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
1877 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
1879 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1883 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
1884 length. Clear the upper 32 bits of RDX register.
1885 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1886 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
1888 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1890 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
1892 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
1894 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1898 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
1899 length. Clear the upper 32 bits of RDX register.
1900 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1901 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1902 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
1904 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
1905 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
1907 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1911 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
1912 upper 32 bits of RDX register.
1913 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
1914 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
1916 * sysdeps/x86_64/x32/test-size_t.h: New file.
1917 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
1918 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
1920 2019-01-18 Florian Weimer <fweimer@redhat.com>
1923 resolv: Do not send queries for non-host-names in nss_dns.
1924 * resolv/nss_dns/dns-host.c (check_name): New function.
1925 (_nss_dns_gethostbyname2_r): Use it.
1926 (_nss_dns_gethostbyname_r): Likewise.
1927 (_nss_dns_gethostbyname4_r): Likewise.
1929 2019-01-21 Florian Weimer <fweimer@redhat.com>
1931 * resolv/inet_addr.c: Reformat to GNU style.
1932 (__inet_addr, __inet_aton): Update comment.
1934 2019-01-18 Florian Weimer <fweimer@redhat.com>
1936 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
1937 ("malloc: Use current (C11-style) atomics for fastbin access").
1938 This commit introduces a substantial performance regression on
1940 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
1941 (REMOVE_FB): Define.
1942 (_int_malloc): Use it and reindent.
1943 (_int_free): Use CAS loop with
1944 catomic_compare_and_exchange_val_rel.
1945 (malloc_consolidate): Use atomic_exchange_acq.
1948 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
1950 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
1952 (LDFLAGS-tst-minsigstksz-2): Likewise.
1953 (LDFLAGS-tst-minsigstksz-3): Likewise.
1954 (LDFLAGS-tst-minsigstksz-3a): Likewise.
1955 (LDFLAGS-tst-minsigstksz-4): Likewise.
1957 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
1959 * manual/time.texi (strftime): Fix the wording to "alternative" rather
1962 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
1964 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
1966 2019-01-16 Zack Weinberg <zackw@panix.com>
1968 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
1969 (xget_sigstack_location): New test support functions.
1970 * support/xsigstack.c: New file, implementing them.
1971 * support/tst-xsigstack.c: New test for them.
1972 * support/Makefile: Update.
1974 * signal/tst-minsigstksz-1.c
1975 * signal/tst-minsigstksz-2.c
1976 * signal/tst-minsigstksz-3.c
1977 * signal/tst-minsigstksz-3a.c
1978 * signal/tst-minsigstksz-4.c: New tests.
1979 * signal/Makefile: Run them.
1981 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
1983 * po/libc.pot: Regenerate.
1985 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1987 * math/libm-test-fma.inc (fma_test_data): Set
1988 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
1990 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1992 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
1993 (do_test): Changed __vector __int128_t to __vector unsigned int.
1995 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
1997 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1998 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
1999 stpcpy-avx2 and stpncpy-avx2.
2000 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
2001 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
2002 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
2004 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
2005 ifunc-strcpy.h}: rename header for a more generic name.
2006 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
2007 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
2008 AVX unaligned load is fast and vzeroupper is preferred.
2009 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
2010 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
2011 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
2012 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
2013 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
2014 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
2016 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
2018 * argp/argp-help.c: Fix typo in comment.
2019 * misc/sys/cdefs.h: Likewise.
2020 * posix/regexec.c (sift_states_iter_mb): Likewise.
2021 * socket/sockatmark.c: Likewise.
2022 * socket/sys/socket.h: Likewise.
2023 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
2024 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
2025 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
2026 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2027 * sysdeps/unix/sockatmark.c: Likewise.
2028 * time/strptime_l.c: Likewise.
2030 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2032 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
2033 missing space after the cast of "_NL_CURRENT".
2035 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2037 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
2038 ifdef to fix read of VSCR.
2039 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
2040 tst-ucontext-ppc64-vscr.c to test list.
2041 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
2043 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
2045 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
2048 2019-01-09 Jim Wilson <jimw@sifive.com>
2050 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
2052 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
2054 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
2055 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
2056 __memcpy_falkor for ares.
2057 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
2059 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2062 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
2065 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
2066 4_FP_W_TYPEs are used for IEEE quad precision.
2067 * soft-fp/extendhftf2.c: Likewise.
2068 * soft-fp/extendsftf2.c: Likewise.
2069 * soft-fp/extendxftf2.c: Likewise.
2070 * soft-fp/trunctfdf2.c: Likewise.
2071 * soft-fp/trunctfhf2.c: Likewise.
2072 * soft-fp/trunctfsf2.c: Likewise.
2073 * soft-fp/trunctfxf2.c: Likewise.
2074 * sysdeps/alpha/ots_cvttx.c: Likewise.
2075 * sysdeps/alpha/ots_cvtxt.c: Likewise.
2076 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
2077 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
2078 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
2079 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
2080 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
2081 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
2082 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
2083 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
2084 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
2085 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
2086 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
2087 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
2088 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
2089 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
2090 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
2091 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
2093 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2096 * Makeconfig: Build libm with -fno-math-errno but build the remaining
2097 code with -fmath-errno.
2098 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
2099 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
2100 * string/test-strerror-errno.c: New file.
2102 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2105 * localedata/locales/en_US (date_fmt): Add, set to
2106 "%a %d %b %Y %r %Z".
2108 2019-01-07 Florian Weimer <fweimer@redhat.com>
2111 * manual/arith.texi (Math Error Reporting): Use @code{errno}
2112 instead of @var{errno}.
2113 (Parsing of Integers): Likewise.
2114 (Parsing of Floats): Likewise.
2115 * manual/filesys.texi (Working with Directory Trees): Likewise.
2116 (Temporary Files): Likewise.
2117 * manual/job.texi (Terminal Access Functions): Likewise.
2118 * manual/llio.texi (Synchronizing I/O): Likewise.
2119 * manual/math.texi (SVID Random): Likewise.
2120 * manual/message.texi (The catgets Functions): Likewise.
2121 (Translation with gettext): Likewise.
2122 (Locating gettext catalog): Likewise.
2123 (Charset conversion in gettext): Likewise.
2124 * manual/nss.texi (NSS Module Function Internals): Likewise.
2125 * manual/search.texi (Hash Search Function): Likewise.
2126 * manual/setjmp.texi (System V contexts): Likewise.
2127 * manual/time.texi (Sleeping): Likewise.
2128 * manual/users.texi (Lookup User): Likewise.
2129 (Lookup Group): Likewise.
2131 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2133 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
2136 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
2139 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
2140 __builtin_unreachable for default case in switch.
2141 (__ieee754_yn): Likewise.
2142 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2143 (__ieee754_ynl): Likewise.
2144 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2145 (__ieee754_ynl): Likewise.
2146 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2147 (__ieee754_ynl): Likewise.
2149 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2151 * manual/maint.texi: Use @{ and @}.
2153 2019-01-04 Florian Weimer <fweimer@redhat.com>
2155 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
2157 (do_in_chroot_1): Call it.
2159 Improve error reporting in case it is not possible to create a
2160 collision for the PTY name required by the test.
2162 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2164 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
2165 lll_wait_tid with timeout.
2166 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
2167 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
2168 futex_reltimed_wait_cancelable for cancelabla mode.
2169 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
2170 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
2172 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
2173 * sysdeps/posix/waitid.c (__sigwait): Likewise.
2174 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
2175 SYSCALL_CANCEL_NCS): New macro.
2176 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
2177 (lll_timedwait_tid): Remove macro.
2178 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
2180 (lll_timedwait_tid): Likewise.
2181 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
2183 (lll_timedwait_tid): Likewise.
2184 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
2186 (lll_timedwait_tid): Likewise.
2187 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
2188 Use INTERNAL_SYSCALL_CANCEL.
2189 * sysdeps/unix/sysv/linux/futex-internal.h
2190 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
2191 instead of __pthread_{enable,disable}_asynccancel.
2192 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
2193 (lll_futex_wait_cancel): New macro.
2195 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
2196 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
2198 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
2199 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
2201 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
2202 in backtrace analysis.
2203 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
2205 (tf_send): Likewise.
2207 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
2208 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
2209 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
2210 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
2211 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
2212 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
2213 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
2214 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
2215 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
2216 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
2217 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
2218 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
2220 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
2221 tst-cancel-wrappers.sh.
2222 (generated): Remove tst-cancel-wrappers.out.
2223 (tst-cancel-wrappers.out): Remove rule.
2224 * nptl/tst-cancel-wrappers.sh: Remove file.
2226 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
2228 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
2229 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
2232 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2235 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
2236 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
2237 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
2238 close-on-exec reset for adddup2 file action.
2239 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
2241 2019-01-03 Zack Weinberg <zackw@panix.com>
2243 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
2244 parameter. Only use deprecated scanf when __USE_GNU is defined
2245 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
2246 than 201103L, whichever is relevant for the language being compiled.
2248 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
2249 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
2250 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
2251 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
2252 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
2256 * libio/iovswscanf.c
2261 * stdio-common/fscanf.c
2262 * stdio-common/scanf.c
2263 * stdio-common/vfscanf.c
2264 * stdio-common/vfwscanf.c
2265 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2266 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
2267 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
2268 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
2269 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
2270 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
2271 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
2272 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
2273 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
2274 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
2275 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
2276 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
2277 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
2278 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
2279 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
2281 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
2282 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
2283 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
2285 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
2286 with a preprocessor macro.
2288 * stdio-common/bug21.c, stdio-common/scanf14.c:
2289 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
2290 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2291 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
2292 to xscanf, xfscanf, xsscanf.
2294 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
2295 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2296 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
2297 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
2299 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
2300 override feature selection macros or provide definitions of u_char etc.
2301 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
2302 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
2303 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
2306 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2308 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2309 bits/termios-misc.h.
2310 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
2311 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2312 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2313 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2314 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
2315 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
2317 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
2318 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2319 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
2320 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
2321 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
2322 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
2324 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
2325 (sysdep_headers): Add termios-misc.h.
2327 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
2328 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2329 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2331 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2333 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
2334 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
2335 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
2336 TCSAFLUSH): Move to termios-tcflow.h.
2337 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2338 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2339 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2340 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2342 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2344 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
2345 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
2346 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
2347 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
2348 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
2349 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
2350 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
2351 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
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.
2358 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2360 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
2361 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
2362 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
2363 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
2364 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
2366 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2367 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2368 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2369 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2372 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2374 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
2375 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
2376 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
2377 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
2378 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
2379 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
2380 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
2381 __MAX_BAUD): Move to termios-baud.h.
2382 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
2383 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
2384 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2385 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2386 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2388 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2390 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
2391 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
2392 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
2393 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
2394 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
2395 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
2397 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
2398 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
2400 [USE_MISC] (XTABS): Likewise.
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_iflag.h: New file.
2409 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
2410 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
2411 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
2412 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
2413 IUTF8): Move to termios-c_iflag.h.
2414 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2415 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2416 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2417 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2419 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2421 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
2422 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
2423 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
2424 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
2425 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
2426 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
2427 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
2428 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
2429 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2430 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2431 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2432 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2434 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
2435 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
2436 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
2437 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
2438 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2440 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
2442 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
2444 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
2446 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
2448 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
2450 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
2451 _HAVE_C_OSPEED): Define.
2452 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
2453 _HAVE_C_OSPEED): Likewise.
2454 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
2455 _HAVE_C_OSPEED): Likewise.
2456 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
2457 (cfsetospeed): Check for define value instead of existence.
2458 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
2459 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2460 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
2461 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2462 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
2465 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
2467 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2468 (TIOCSER_TEMT): Likewise.
2469 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
2470 (TEOCSER_TEMT): Likewise.
2472 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
2475 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
2477 2019-01-02 Joseph Myers <joseph@codesourcery.com>
2479 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
2481 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2483 * sysdeps/htl/pt-barrierattr-setpshared.c
2484 (pthread_barrierattr_setpshared): Add stub warning.
2485 * sysdeps/htl/pt-condattr-setpshared.c
2486 (pthread_condattr_setpshared): Likewise.
2487 * sysdeps/htl/pt-mutexattr-setpshared.c
2488 (pthread_mutexattr_setpshared): Likewise.
2489 * sysdeps/htl/pt-rwlockattr-setpshared.c
2490 (pthread_rwlockattr_setpshared): Likewise.
2491 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
2492 (pthread_mutexattr_setpshared): Likewise.
2494 2019-01-02 Joseph Myers <joseph@codesourcery.com>
2496 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
2497 constants to match with Linux 4.20.
2499 * sysdeps/mips/mips32/libm-test-ulps: Update.
2500 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2502 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
2505 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
2506 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
2507 than __typeof (...) for the a_ptr variable.
2509 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2511 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
2512 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
2513 * libio/Makefile (tests): Add tst-sprintf-ub and
2515 (CFLAGS-tst-sprintf-ub.c): New variable.
2516 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
2517 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
2518 destination buffer and check for overflows in fortified mode.
2519 * libio/libioP.h (PRINTF_CHK): New macro.
2520 * libio/tst-sprintf-chk-ub.c: New file.
2521 * libio/tst-sprintf-ub.c: Likewise.
2523 2019-01-02 Florian Weimer <fweimer@redhat.com>
2526 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
2529 2019-01-02 Florian Weimer <fweimer@redhat.com>
2531 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
2533 2019-01-01 Joseph Myers <joseph@codesourcery.com>
2535 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
2538 * sysdeps/unix/sysv/linux/netpacket/packet.h
2539 (PACKET_IGNORE_OUTGOING): New macro.
2541 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
2544 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2546 (riscv_flush_icache): New syscall.
2548 * manual/texinfo.tex: Update to version 2018-12-28.17 with
2549 trailing whitespace removed.
2550 * scripts/config.guess: Update to version 2019-01-01.
2551 * scripts/config.sub: Update to version 2019-01-01.
2552 * scripts/move-if-change: Update from gnulib.
2554 * NEWS: Update copyright dates.
2555 * catgets/gencat.c (print_version): Likewise.
2556 * csu/version.c (banner): Likewise.
2557 * debug/catchsegv.sh: Likewise.
2558 * debug/pcprofiledump.c (print_version): Likewise.
2559 * debug/xtrace.sh (do_version): Likewise.
2560 * elf/ldconfig.c (print_version): Likewise.
2561 * elf/ldd.bash.in: Likewise.
2562 * elf/pldd.c (print_version): Likewise.
2563 * elf/sotruss.sh: Likewise.
2564 * elf/sprof.c (print_version): Likewise.
2565 * iconv/iconv_prog.c (print_version): Likewise.
2566 * iconv/iconvconfig.c (print_version): Likewise.
2567 * locale/programs/locale.c (print_version): Likewise.
2568 * locale/programs/localedef.c (print_version): Likewise.
2569 * login/programs/pt_chown.c (print_version): Likewise.
2570 * malloc/memusage.sh (do_version): Likewise.
2571 * malloc/memusagestat.c (print_version): Likewise.
2572 * malloc/mtrace.pl: Likewise.
2573 * manual/libc.texinfo: Likewise.
2574 * nptl/version.c (banner): Likewise.
2575 * nscd/nscd.c (print_version): Likewise.
2576 * nss/getent.c (print_version): Likewise.
2577 * nss/makedb.c (print_version): Likewise.
2578 * posix/getconf.c (main): Likewise.
2579 * scripts/test-installation.pl: Likewise.
2580 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2582 * All files with FSF copyright notices: Update copyright dates
2583 using scripts/update-copyrights.
2584 * locale/programs/charmap-kw.h: Regenerated.
2585 * locale/programs/locfile-kw.h: Likewise.
2587 2018-12-31 Joseph Myers <joseph@codesourcery.com>
2589 * timezone/zdump.c: Update from tzcode 2018i.
2590 * timezone/zic.c: Likewise.
2592 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
2594 regex: improve Gnulib port to AIX
2595 From the glibc point of view, this removes duplicate macro
2596 definitions and is obviously safe.
2597 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
2598 * posix/regex_internal.h:
2599 (__attribute__, __attribute_warn_unused_result__):
2600 Remove; already defined elsewhere.
2602 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
2605 * malloc/malloc.c (_int_realloc): Always call memcpy for the
2606 copying operation. (ncopies had the wrong type, resulting in an
2607 integer wraparound and too few elements being copied.)
2609 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
2612 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
2613 <asm/syscalls.h> exists with __has_include__ before including it.
2615 2018-12-31 Joseph Myers <joseph@codesourcery.com>
2617 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2620 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
2622 * hurd/lookup-retry: Include <unistd.h>.
2623 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
2624 Release it on return. Handle "pid" magical lookup retry.
2626 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2629 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
2630 (t_fmt_ampm): Likewise.
2631 * localedata/locales/aa_ER (t_fmt): Likewise.
2632 (t_fmt_ampm): Likewise.
2633 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
2634 (t_fmt_ampm): Likewise.
2635 * localedata/locales/aa_ET (t_fmt): Likewise.
2636 (t_fmt_ampm): Likewise.
2637 * localedata/locales/am_ET (t_fmt): Likewise.
2638 (t_fmt_ampm): Likewise.
2639 * localedata/locales/byn_ER (t_fmt): Likewise.
2640 (t_fmt_ampm): Likewise.
2641 * localedata/locales/om_ET (t_fmt): Likewise.
2642 (t_fmt_ampm): Likewise.
2643 * localedata/locales/sid_ET (t_fmt): Likewise.
2644 (t_fmt_ampm): Likewise.
2645 * localedata/locales/so_DJ (t_fmt): Likewise.
2646 (t_fmt_ampm): Likewise.
2647 * localedata/locales/so_ET (t_fmt): Likewise.
2648 (t_fmt_ampm): Likewise.
2649 * localedata/locales/so_SO (t_fmt): Likewise.
2650 (t_fmt_ampm): Likewise.
2651 * localedata/locales/ti_ER (t_fmt): Likewise.
2652 (t_fmt_ampm): Likewise.
2653 * localedata/locales/ti_ET (t_fmt): Likewise.
2654 (t_fmt_ampm): Likewise.
2655 * localedata/locales/tig_ER (t_fmt): Likewise.
2656 (t_fmt_ampm): Likewise.
2657 * localedata/locales/wal_ET (t_fmt): Likewise.
2658 (t_fmt_ampm): Likewise.
2660 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
2661 * localedata/locales/ar_IN (t_fmt): Likewise.
2662 * localedata/locales/bhb_IN (t_fmt): Likewise.
2663 * localedata/locales/bho_IN (t_fmt): Likewise.
2664 * localedata/locales/bi_VU (t_fmt): Likewise.
2665 * localedata/locales/bn_BD (t_fmt): Likewise.
2666 * localedata/locales/bn_IN (t_fmt): Likewise.
2667 * localedata/locales/brx_IN (t_fmt): Likewise.
2668 * localedata/locales/doi_IN (t_fmt): Likewise.
2669 * localedata/locales/en_HK (t_fmt): Likewise.
2670 (t_fmt_ampm): Likewise.
2671 * localedata/locales/en_IN (t_fmt): Likewise.
2672 * localedata/locales/en_PH (t_fmt): Likewise.
2673 * localedata/locales/gu_IN (t_fmt): Likewise.
2674 * localedata/locales/hi_IN (t_fmt): Likewise.
2675 * localedata/locales/hif_FJ (t_fmt): Likewise.
2676 * localedata/locales/hne_IN (t_fmt): Likewise.
2677 * localedata/locales/kn_IN (t_fmt): Likewise.
2678 * localedata/locales/kok_IN (t_fmt): Likewise.
2679 * localedata/locales/ks_IN (t_fmt): Likewise.
2680 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
2681 * localedata/locales/mag_IN (t_fmt): Likewise.
2682 * localedata/locales/mai_IN (t_fmt): Likewise.
2683 * localedata/locales/mjw_IN (t_fmt): Likewise.
2684 * localedata/locales/ml_IN (t_fmt): Likewise.
2685 * localedata/locales/mni_IN (t_fmt): Likewise.
2686 * localedata/locales/mr_IN (t_fmt): Likewise.
2687 * localedata/locales/ms_MY (t_fmt): Likewise.
2688 * localedata/locales/pa_IN (t_fmt): Likewise.
2689 * localedata/locales/raj_IN (t_fmt): Likewise.
2690 * localedata/locales/sa_IN (t_fmt): Likewise.
2691 * localedata/locales/sat_IN (t_fmt): Likewise.
2692 * localedata/locales/sd_IN (t_fmt): Likewise.
2693 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
2694 * localedata/locales/tcy_IN (t_fmt): Likewise.
2695 * localedata/locales/the_NP (t_fmt): Likewise.
2696 * localedata/locales/to_TO (t_fmt): Likewise.
2697 * localedata/locales/ur_IN (t_fmt): Likewise.
2699 * localedata/locales/hif_FJ (d_t_fmt): Set to
2700 "%A %d %b %Y %I:%M:%S %p".
2701 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
2703 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
2704 * localedata/locales/ar_BH (t_fmt): Likewise.
2705 * localedata/locales/ar_DZ (t_fmt): Likewise.
2706 * localedata/locales/ar_EG (t_fmt): Likewise.
2707 * localedata/locales/ar_IQ (t_fmt): Likewise.
2708 * localedata/locales/ar_JO (t_fmt): Likewise.
2709 * localedata/locales/ar_KW (t_fmt): Likewise.
2710 * localedata/locales/ar_LB (t_fmt): Likewise.
2711 * localedata/locales/ar_LY (t_fmt): Likewise.
2712 * localedata/locales/ar_OM (t_fmt): Likewise.
2713 * localedata/locales/ar_QA (t_fmt): Likewise.
2714 * localedata/locales/ar_SD (t_fmt): Likewise.
2715 * localedata/locales/ar_SS (t_fmt): Likewise.
2716 * localedata/locales/ar_SY (t_fmt): Likewise.
2717 * localedata/locales/ar_TN (t_fmt): Likewise.
2718 * localedata/locales/ar_YE (t_fmt): Likewise.
2720 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
2721 (t_fmt_ampm): Likewise.
2722 * localedata/locales/gez_ET (t_fmt): Likewise.
2723 (t_fmt_ampm): Likewise.
2725 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
2726 (t_fmt_ampm): Likewise.
2727 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
2729 * localedata/locales/zh_HK (t_fmt):
2730 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
2732 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
2733 because this locale does not use the 12-hour clock.
2734 (t_fmt): Set to "%Z %H:%M:%S".
2735 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
2737 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
2738 because this locale does not use the 12-hour clock.
2739 (t_fmt): Set to "%H:%M:%S %Z".
2740 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
2742 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
2743 because this locale does not use the 12-hour clock.
2744 (t_fmt): Set to "%T".
2745 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
2746 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
2748 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
2749 because this locale does not use the 12-hour clock.
2750 (t_fmt): Set to "%H:%M:%S %Z".
2751 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
2753 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
2754 because this locale does not use the 12-hour clock.
2755 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
2756 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
2758 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2762 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
2763 (t_fmt_ampm): Likewise.
2764 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
2765 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
2766 (d_fmt): Set to "%-d.%-m.%y".
2768 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2770 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
2771 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
2772 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
2774 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
2775 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
2776 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
2778 * support/blob_repeat.c (check_mul_overflow_size_t,
2779 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
2781 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
2783 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
2785 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
2787 regex: simplify Gnulib port
2788 This simplifies the code, by removing stuff intended for porting
2789 to Gnulib but no longer needed there.
2790 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
2791 uses of libc_hidden_def, weak_alias.
2792 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
2793 _Restrict_ except for public-facing headers.
2794 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
2795 Remove; already defined elsewhere.
2796 * posix/regex.c, posix/regex_internal.h:
2797 Use __GNUC_PREREQ instead of rolling our own.
2798 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
2800 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
2802 * benchtests/bench-strlen.c (generic_strlen): New function.
2803 (memchr_strlen): New function.
2805 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2807 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
2808 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
2809 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
2811 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2813 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2815 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2817 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
2818 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
2819 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
2820 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
2821 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
2822 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
2823 <sysdeps/ieee754/flt-32/s_sincosf.c>.
2825 2018-12-21 Joseph Myers <joseph@codesourcery.com>
2828 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
2829 PLT reference in libc.so.
2830 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
2831 _Q_lltoq and _Q_qtod PLT references in libc.so.
2833 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
2835 * benchtests/bench-memchr.c: Cleanup defines.
2836 * benchtests/bench-memcmp.c: Likewise.
2837 * benchtests/bench-memset.c: Likewise.
2838 * benchtests/bench-memset-large.c: Likewise.
2839 * benchtests/bench-memset-walk.c: Likewise.
2840 * benchtests/bench-stpcpy.c: Likewise.
2841 * benchtests/bench-stpncpy.c: Likewise.
2842 * benchtests/bench-strcat.c: Likewise.
2843 * benchtests/bench-strchr.c: Likewise.
2844 * benchtests/bench-strcmp.c: Likewise.
2845 * benchtests/bench-strcpy.c: Likewise.
2846 * benchtests/bench-strcspn.c: Likewise.
2847 * benchtests/bench-string.h: Likewise.
2848 * benchtests/bench-strlen.c: Likewise.
2849 * benchtests/bench-strncat.c: Likewise.
2850 * benchtests/bench-strncmp.c: Likewise.
2851 * benchtests/bench-strncpy.c: Likewise.
2852 * benchtests/bench-strnlen.c: Likewise.
2853 * benchtests/bench-strpbrk.c: Likewise.
2854 * benchtests/bench-strrchr.c: Likewise.
2855 * benchtests/bench-strspn.c: Likewise.
2857 2018-12-21 Joseph Myers <joseph@codesourcery.com>
2859 * stdlib/longlong.h: Update from GCC.
2862 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
2863 * configure: Regenerated.
2864 * manual/install.texi (Tools for Compilation): Update minimum GCC
2866 * INSTALL: Regenerated.
2868 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
2870 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
2872 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
2874 * malloc/malloc.c (mremap_chunk): Additional checks.
2876 2018-12-21 Mao Han <han_mao@c-sky.com>
2878 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
2879 * scripts/build-many-glibcs.py: Add C-SKY targets.
2880 * sysdeps/csky/Implies: New file.
2881 * sysdeps/csky/Makefile: Likewise.
2882 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
2883 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
2884 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
2885 * sysdeps/csky/abiv2/memcmp.S: Likewise.
2886 * sysdeps/csky/abiv2/memcpy.S: Likewise.
2887 * sysdeps/csky/abiv2/memmove.S: Likewise.
2888 * sysdeps/csky/abiv2/memset.S: Likewise.
2889 * sysdeps/csky/abiv2/setjmp.S: Likewise.
2890 * sysdeps/csky/abiv2/start.S: Likewise.
2891 * sysdeps/csky/abiv2/strcmp.S: Likewise.
2892 * sysdeps/csky/abiv2/strcpy.S: Likewise.
2893 * sysdeps/csky/abiv2/strlen.S: Likewise.
2894 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
2895 * sysdeps/csky/abort-instr.h: Likewise.
2896 * sysdeps/csky/atomic-machine.h: Likewise.
2897 * sysdeps/csky/bits/endian.h: Likewise.
2898 * sysdeps/csky/bits/fenv.h: Likewise.
2899 * sysdeps/csky/bits/link.h: Likewise.
2900 * sysdeps/csky/bits/setjmp.h: Likewise.
2901 * sysdeps/csky/bsd-_setjmp.S: Likewise.
2902 * sysdeps/csky/bsd-setjmp.S: Likewise.
2903 * sysdeps/csky/configure: Likewise.
2904 * sysdeps/csky/configure.ac: Likewise.
2905 * sysdeps/csky/dl-machine.h: Likewise.
2906 * sysdeps/csky/dl-procinfo.c: Likewise.
2907 * sysdeps/csky/dl-procinfo.h: Likewise.
2908 * sysdeps/csky/dl-sysdep.h: Likewise.
2909 * sysdeps/csky/dl-tls.h: Likewise.
2910 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
2911 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
2912 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
2913 * sysdeps/csky/fpu/fegetenv.c: Likewise.
2914 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
2915 * sysdeps/csky/fpu/fegetmode.c: Likewise.
2916 * sysdeps/csky/fpu/fegetround.c: Likewise.
2917 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
2918 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
2919 * sysdeps/csky/fpu/fenv_private.h: Likewise.
2920 * sysdeps/csky/fpu/fesetenv.c: Likewise.
2921 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
2922 * sysdeps/csky/fpu/fesetmode.c: Likewise.
2923 * sysdeps/csky/fpu/fesetround.c: Likewise.
2924 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
2925 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
2926 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
2927 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
2928 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
2929 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
2930 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
2931 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
2932 * sysdeps/csky/fpu_control.h: Likewise.
2933 * sysdeps/csky/gccframe.h: Likewise.
2934 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
2935 * sysdeps/csky/ldsodefs.h: Likewise.
2936 * sysdeps/csky/libc-tls.c: Likewise.
2937 * sysdeps/csky/linkmap.h: Likewise.
2938 * sysdeps/csky/machine-gmon.h: Likewise.
2939 * sysdeps/csky/memusage.h: Likewise.
2940 * sysdeps/csky/nofpu/Implies: Likewise.
2941 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
2942 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
2943 * sysdeps/csky/nptl/Makefile: Likewise.
2944 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
2945 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
2946 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
2947 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
2948 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
2949 * sysdeps/csky/nptl/tls.h: Likewise.
2950 * sysdeps/csky/preconfigure: Likewise.
2951 * sysdeps/csky/sfp-machine.h: Likewise.
2952 * sysdeps/csky/sotruss-lib.c: Likewise.
2953 * sysdeps/csky/stackinfo.h: Likewise.
2954 * sysdeps/csky/sysdep.h: Likewise.
2955 * sysdeps/csky/tininess.h: Likewise.
2956 * sysdeps/csky/tst-audit.h: Likewise.
2957 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
2958 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
2959 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
2960 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
2961 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
2962 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
2963 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
2964 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
2965 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
2966 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
2967 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
2968 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
2969 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
2970 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
2971 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
2972 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
2973 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
2974 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
2975 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
2976 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
2977 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
2978 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
2979 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
2980 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
2981 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
2982 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
2983 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
2984 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
2985 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
2986 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
2987 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
2988 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
2989 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
2990 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
2991 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
2992 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
2993 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
2994 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
2995 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
2996 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
2997 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
2998 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
2999 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
3000 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
3002 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
3004 * include/time.h (__difftime64): Add.
3005 * time/difftime.c (subtract): convert to 64-bit time.
3006 * time/difftime.c (__difftime64): Add.
3007 * time/difftime.c (__difftime): Wrap around __difftime64.
3009 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
3011 * manual/examples/add.c: Remove redundant "if not".
3012 * manual/examples/argp-ex1.c: Likewise.
3013 * manual/examples/argp-ex2.c: Likewise.
3014 * manual/examples/argp-ex3.c: Likewise.
3015 * manual/examples/argp-ex4.c: Likewise.
3016 * manual/examples/atexit.c: Likewise.
3017 * manual/examples/db.c: Likewise.
3018 * manual/examples/dir.c: Likewise.
3019 * manual/examples/dir2.c: Likewise.
3020 * manual/examples/execinfo.c: Likewise.
3021 * manual/examples/filecli.c: Likewise.
3022 * manual/examples/filesrv.c: Likewise.
3023 * manual/examples/fmtmsgexpl.c: Likewise.
3024 * manual/examples/genpass.c: Likewise.
3025 * manual/examples/inetcli.c: Likewise.
3026 * manual/examples/inetsrv.c: Likewise.
3027 * manual/examples/isockad.c: Likewise.
3028 * manual/examples/longopt.c: Likewise.
3029 * manual/examples/memopen.c: Likewise.
3030 * manual/examples/memstrm.c: Likewise.
3031 * manual/examples/mkdirent.c: Likewise.
3032 * manual/examples/mkfsock.c: Likewise.
3033 * manual/examples/mkisock.c: Likewise.
3034 * manual/examples/mygetpass.c: Likewise.
3035 * manual/examples/pipe.c: Likewise.
3036 * manual/examples/popen.c: Likewise.
3037 * manual/examples/rprintf.c: Likewise.
3038 * manual/examples/search.c: Likewise.
3039 * manual/examples/select.c: Likewise.
3040 * manual/examples/setjmp.c: Likewise.
3041 * manual/examples/sigh1.c: Likewise.
3042 * manual/examples/sigusr.c: Likewise.
3043 * manual/examples/stpcpy.c: Likewise.
3044 * manual/examples/strdupa.c: Likewise.
3045 * manual/examples/strftim.c: Likewise.
3046 * manual/examples/subopt.c: Likewise.
3047 * manual/examples/swapcontext.c: Likewise.
3048 * manual/examples/termios.c: Likewise.
3049 * manual/examples/testopt.c: Likewise.
3050 * manual/examples/testpass.c: Likewise.
3051 * manual/examples/timeval_subtract.c: Likewise.
3053 2018-12-19 Joseph Myers <joseph@codesourcery.com>
3055 * sysdeps/x86/fpu/math_private.h: New file.
3056 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
3058 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
3063 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3065 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
3066 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
3067 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
3068 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
3070 (_dl_show_auxv): Give a special treatment to
3071 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
3072 and AT_L3_CACHEGEOMETRY.
3073 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
3074 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
3075 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
3076 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
3078 2018-12-19 Andreas Schwab <schwab@suse.de>
3080 * nscd/connections.c (check_use): Don't abort on invalid len.
3082 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
3084 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
3085 values in the 64bit value cases.
3087 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
3093 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
3099 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
3102 (__gmtime64_r): Add.
3104 (__gmtime64_r): Add.
3105 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3111 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3114 (__localtime64_r): Add.
3116 (__localtime64_r): Add.
3117 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
3119 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3121 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
3122 kernel_sigction definition.
3124 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
3126 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
3128 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
3129 __syscall_rt_sigaction.
3130 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
3131 (kernel_sigaction): Use Linux generic defintion.
3133 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
3134 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
3135 (__syscall_rt_sigaction): Remove implementation.
3136 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
3138 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
3139 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
3140 INTERNAL_SYSCALL): Remove definitions.
3141 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
3142 action and signal set size.
3143 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
3144 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
3146 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3147 James Clarke <jrtc27@jrtc27.com>
3150 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
3151 Define if SA_RESTORER is defined.
3152 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
3153 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
3155 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
3156 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
3158 (HAS_SA_RESTORER): Define.
3159 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
3160 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
3161 (HAS_SA_RESTORER): Define.
3162 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
3163 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
3164 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
3165 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
3166 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3168 2018-12-18 Joseph Myers <joseph@codesourcery.com>
3170 * sysdeps/unix/sysv/linux/kernel-features.h
3171 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
3172 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3173 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
3174 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3175 (__ASSUME_ST_INO_64_BIT): Likewise.
3176 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3177 <kernel-features.h>.
3178 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3179 Remove conditional code.
3180 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3181 <kernel-features.h>.
3182 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3183 Remove conditional code.
3184 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
3185 <kernel-features.h>.
3186 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3187 Remove conditional code.
3188 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
3189 <kernel-features.h>.
3190 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
3191 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
3193 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3195 * sysdeps/s390/multiarch/ifunc-resolve.h
3196 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
3197 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
3198 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
3199 Delete macro definition.
3200 (s390_libc_ifunc_init): Rename to
3201 s390_libc_ifunc_expr_stfle_init.
3202 * sysdeps/s390/bzero: Use
3203 s390_libc_ifunc_expr_stfle_init instead of
3204 s390_libc_ifunc_init.
3205 * sysdeps/s390/memcmp.c: Likewise.
3206 * sysdeps/s390/memcpy.c: Likewise.
3207 * sysdeps/s390/mempcpy.c: Likewise.
3208 * sysdeps/s390/memset.c: Likewise.
3210 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3212 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
3213 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
3215 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3217 * sysdeps/s390/multiarch/Makefile
3218 (sysdep_routines): Remove wmemcmp variants.
3219 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
3220 * sysdeps/s390/multiarch/ifunc-impl-list.c
3221 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
3222 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
3223 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
3224 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
3225 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
3226 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
3227 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
3228 * sysdeps/s390/ifunc-wmemcmp.h: New file.
3230 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3232 * sysdeps/s390/multiarch/Makefile
3233 (sysdep_routines): Remove wmemset variants.
3234 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
3235 * sysdeps/s390/multiarch/ifunc-impl-list.c
3236 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
3237 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
3238 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
3239 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
3240 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
3241 * sysdeps/s390/multiarch/wmemset.c: Move to ...
3242 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
3243 * sysdeps/s390/ifunc-wmemset.h: New file.
3245 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3247 * sysdeps/s390/multiarch/Makefile
3248 (sysdep_routines): Remove wmemchr variants.
3249 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
3250 * sysdeps/s390/multiarch/ifunc-impl-list.c
3251 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
3252 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
3253 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
3254 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
3255 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
3256 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
3257 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
3258 * sysdeps/s390/ifunc-wmemchr.h: New file.
3260 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3262 * sysdeps/s390/multiarch/Makefile
3263 (sysdep_routines): Remove wcscspn variants.
3264 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
3265 * sysdeps/s390/multiarch/ifunc-impl-list.c
3266 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
3267 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
3268 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
3269 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
3270 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
3271 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
3272 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
3273 * sysdeps/s390/ifunc-wcscspn.h: New file.
3275 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3277 * sysdeps/s390/multiarch/Makefile
3278 (sysdep_routines): Remove wcspbrk variants.
3279 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
3280 * sysdeps/s390/multiarch/ifunc-impl-list.c
3281 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
3282 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
3283 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
3284 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
3285 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
3286 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
3287 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
3288 * sysdeps/s390/ifunc-wcspbrk.h: New file.
3290 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3292 * sysdeps/s390/multiarch/Makefile
3293 (sysdep_routines): Remove wcsspn variants.
3294 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
3295 * sysdeps/s390/multiarch/ifunc-impl-list.c
3296 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
3297 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
3298 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
3299 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
3300 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
3301 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
3302 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
3303 * sysdeps/s390/ifunc-wcsspn.h: New file.
3305 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3307 * sysdeps/s390/multiarch/Makefile
3308 (sysdep_routines): Remove wcsrchr variants.
3309 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
3310 * sysdeps/s390/multiarch/ifunc-impl-list.c
3311 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
3312 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
3313 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
3314 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
3315 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
3316 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
3317 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
3318 * sysdeps/s390/ifunc-wcsrchr.h: New file.
3320 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3322 * sysdeps/s390/multiarch/Makefile
3323 (sysdep_routines): Remove wcschrnul variants.
3324 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
3325 * sysdeps/s390/multiarch/ifunc-impl-list.c
3326 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
3327 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
3328 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
3329 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
3330 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
3331 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
3332 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
3333 * sysdeps/s390/ifunc-wcschrnul.h: New file.
3335 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3337 * sysdeps/s390/multiarch/Makefile
3338 (sysdep_routines): Remove wcschr variants.
3339 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
3340 * sysdeps/s390/multiarch/ifunc-impl-list.c
3341 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
3342 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
3343 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
3344 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
3345 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
3346 * sysdeps/s390/multiarch/wcschr.c: Move to ...
3347 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
3348 * sysdeps/s390/ifunc-wcschr.h: New file.
3350 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3352 * sysdeps/s390/multiarch/Makefile
3353 (sysdep_routines): Remove wcsncmp variants.
3354 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
3355 * sysdeps/s390/multiarch/ifunc-impl-list.c
3356 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
3357 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
3358 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
3359 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
3360 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
3361 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
3362 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
3363 * sysdeps/s390/ifunc-wcsncmp.h: New file.
3365 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3367 * sysdeps/s390/multiarch/Makefile
3368 (sysdep_routines): Remove wcscmp variants.
3369 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
3370 * sysdeps/s390/multiarch/ifunc-impl-list.c
3371 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
3372 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
3373 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
3374 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
3375 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
3376 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
3377 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
3378 * sysdeps/s390/ifunc-wcscmp.h: New file.
3380 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3382 * sysdeps/s390/multiarch/Makefile
3383 (sysdep_routines): Remove wcsncat variants.
3384 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
3385 * sysdeps/s390/multiarch/ifunc-impl-list.c
3386 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
3387 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
3388 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
3389 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
3390 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
3391 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
3392 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
3393 * sysdeps/s390/ifunc-wcsncat.h: New file.
3395 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3397 * sysdeps/s390/multiarch/Makefile
3398 (sysdep_routines): Remove wcscat variants.
3399 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
3400 * sysdeps/s390/multiarch/ifunc-impl-list.c
3401 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
3402 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
3403 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
3404 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
3405 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
3406 * sysdeps/s390/multiarch/wcscat.c: Move to ...
3407 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
3408 * sysdeps/s390/ifunc-wcscat.h: New file.
3410 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3412 * sysdeps/s390/multiarch/Makefile
3413 (sysdep_routines): Remove wcpncpy variants.
3414 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
3415 * sysdeps/s390/multiarch/ifunc-impl-list.c
3416 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
3417 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
3418 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
3419 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
3420 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
3421 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
3422 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
3423 * sysdeps/s390/ifunc-wcpncpy.h: New file.
3425 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3427 * sysdeps/s390/multiarch/Makefile
3428 (sysdep_routines): Remove wcsncpy variants.
3429 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
3430 * sysdeps/s390/multiarch/ifunc-impl-list.c
3431 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
3432 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
3433 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
3434 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
3435 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
3436 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
3437 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
3438 * sysdeps/s390/ifunc-wcsncpy.h: New file.
3440 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3442 * sysdeps/s390/multiarch/Makefile
3443 (sysdep_routines): Remove wcpcpy variants.
3444 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
3445 * sysdeps/s390/multiarch/ifunc-impl-list.c
3446 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
3447 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
3448 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
3449 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
3450 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
3451 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
3452 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
3453 * sysdeps/s390/ifunc-wcpcpy.h: New file.
3455 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3457 * sysdeps/s390/multiarch/Makefile
3458 (sysdep_routines): Remove wcscpy variants.
3459 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
3460 * sysdeps/s390/multiarch/ifunc-impl-list.c
3461 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
3462 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
3463 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
3464 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
3465 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
3466 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
3467 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
3468 * sysdeps/s390/ifunc-wcscpy.h: New file.
3470 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3472 * sysdeps/s390/multiarch/Makefile
3473 (sysdep_routines): Remove wcsnlen variants.
3474 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
3475 * sysdeps/s390/multiarch/ifunc-impl-list.c
3476 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
3477 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
3478 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
3479 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
3480 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
3481 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
3482 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
3483 * sysdeps/s390/ifunc-wcsnlen.h: New file.
3485 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3487 * sysdeps/s390/multiarch/Makefile
3488 (sysdep_routines): Remove wcslen variants.
3489 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
3490 * sysdeps/s390/multiarch/ifunc-impl-list.c
3491 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
3492 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
3493 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
3494 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
3495 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
3496 * sysdeps/s390/multiarch/wcslen.c: Move to ...
3497 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
3498 * sysdeps/s390/ifunc-wcslen.h: New file.
3500 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3502 * sysdeps/s390/multiarch/Makefile
3503 (sysdep_routines): Remove memrchr variants.
3504 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
3505 * sysdeps/s390/multiarch/ifunc-impl-list.c
3506 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
3507 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
3508 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
3509 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
3510 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
3511 * sysdeps/s390/multiarch/memrchr.c: Move to ...
3512 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
3513 * sysdeps/s390/ifunc-memrchr.h: New file.
3515 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3517 * sysdeps/s390/multiarch/Makefile
3518 (sysdep_routines): Remove memccpy variants.
3519 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
3520 * sysdeps/s390/multiarch/ifunc-impl-list.c
3521 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
3522 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
3523 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
3524 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
3525 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
3526 * sysdeps/s390/multiarch/memccpy.c: Move to ...
3527 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
3528 * sysdeps/s390/ifunc-memccpy.h: New file.
3530 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3532 * sysdeps/s390/multiarch/Makefile
3533 (sysdep_routines): Remove rawmemchr variants.
3534 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
3535 * sysdeps/s390/multiarch/ifunc-impl-list.c
3536 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
3537 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
3538 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
3539 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
3540 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
3541 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
3542 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
3543 * sysdeps/s390/ifunc-rawmemchr.h: New file.
3545 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3547 * sysdeps/s390/multiarch/Makefile
3548 (sysdep_routines): Remove memchr variants.
3549 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
3550 * sysdeps/s390/multiarch/ifunc-impl-list.c
3551 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
3552 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
3553 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
3554 * sysdeps/s390/multiarch/memchr.c: Move to ...
3555 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
3556 * sysdeps/s390/ifunc-memchr.h: New file.
3557 * sysdeps/s390/s390-64/memchr.S: Move to ...
3558 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
3559 for 31/64bit and ifunc handling.
3560 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
3561 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
3562 * sysdeps/s390/s390-32/memchr.S: Likewise.
3564 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3566 * sysdeps/s390/multiarch/Makefile
3567 (sysdep_routines): Remove strcspn variants.
3568 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
3569 * sysdeps/s390/multiarch/ifunc-impl-list.c
3570 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
3571 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
3572 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
3573 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
3574 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
3575 * sysdeps/s390/multiarch/strcspn.c: Move to ...
3576 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
3577 * sysdeps/s390/ifunc-strcspn.h: New file.
3579 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3581 * sysdeps/s390/multiarch/Makefile
3582 (sysdep_routines): Remove strpbrk variants.
3583 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
3584 * sysdeps/s390/multiarch/ifunc-impl-list.c
3585 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
3586 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
3587 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
3588 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
3589 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
3590 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
3591 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
3592 * sysdeps/s390/ifunc-strpbrk.h: New file.
3594 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3596 * sysdeps/s390/multiarch/Makefile
3597 (sysdep_routines): Remove strspn variants.
3598 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
3599 * sysdeps/s390/multiarch/ifunc-impl-list.c
3600 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
3601 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
3602 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
3603 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
3604 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
3605 * sysdeps/s390/multiarch/strspn.c: Move to ...
3606 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
3607 * sysdeps/s390/ifunc-strspn.h: New file.
3609 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3611 * sysdeps/s390/multiarch/Makefile
3612 (sysdep_routines): Remove strrchr variants.
3613 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
3614 * sysdeps/s390/multiarch/ifunc-impl-list.c
3615 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
3616 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
3617 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
3618 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
3619 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
3620 * sysdeps/s390/multiarch/strrchr.c: Move to ...
3621 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
3622 * sysdeps/s390/ifunc-strrchr.h: New file.
3624 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3626 * sysdeps/s390/multiarch/Makefile
3627 (sysdep_routines): Remove strchrnul variants.
3628 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
3629 * sysdeps/s390/multiarch/ifunc-impl-list.c
3630 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
3631 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
3632 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
3633 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
3634 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
3635 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
3636 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
3637 * sysdeps/s390/ifunc-strchrnul.h: New file.
3639 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3641 * sysdeps/s390/multiarch/Makefile
3642 (sysdep_routines): Remove strchr variants.
3643 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
3644 * sysdeps/s390/multiarch/ifunc-impl-list.c
3645 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
3646 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
3647 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
3648 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
3649 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
3650 * sysdeps/s390/multiarch/strchr.c: Move to ...
3651 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
3652 * sysdeps/s390/ifunc-strchr.h: New file.
3654 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3656 * sysdeps/s390/multiarch/Makefile
3657 (sysdep_routines): Remove strncmp variants.
3658 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
3659 * sysdeps/s390/multiarch/ifunc-impl-list.c
3660 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
3661 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
3662 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
3663 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
3664 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
3665 * sysdeps/s390/multiarch/strncmp.c: Move to ...
3666 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
3667 * sysdeps/s390/ifunc-strncmp.h: New file.
3669 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3671 * sysdeps/s390/multiarch/Makefile
3672 (sysdep_routines): Remove strcmp variants.
3673 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
3674 * sysdeps/s390/multiarch/ifunc-impl-list.c
3675 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
3676 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
3677 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
3678 * sysdeps/s390/multiarch/strcmp.c: Move to ...
3679 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
3680 * sysdeps/s390/ifunc-strcmp.h: New file.
3681 * sysdeps/s390/s390-64/strcmp.S: Move to ...
3682 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
3683 for 31/64bit and ifunc handling.
3684 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
3685 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
3686 * sysdeps/s390/s390-32/strcmp.S: Likewise.
3688 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3690 * sysdeps/s390/multiarch/Makefile
3691 (sysdep_routines): Remove strncat variants.
3692 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
3693 * sysdeps/s390/multiarch/ifunc-impl-list.c
3694 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
3695 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
3696 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
3697 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
3698 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
3699 * sysdeps/s390/multiarch/strncat.c: Move to ...
3700 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
3701 * sysdeps/s390/ifunc-strncat.h: New file.
3703 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3705 * sysdeps/s390/multiarch/Makefile
3706 (sysdep_routines): Remove strcat variants.
3707 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
3708 * sysdeps/s390/multiarch/ifunc-impl-list.c
3709 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
3710 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
3711 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
3712 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
3713 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
3714 * sysdeps/s390/multiarch/strcat.c: Move to ...
3715 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
3716 * sysdeps/s390/ifunc-strcat.h: New file.
3718 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3720 * sysdeps/s390/multiarch/Makefile
3721 (sysdep_routines): Remove stpncpy variants.
3722 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
3723 * sysdeps/s390/multiarch/ifunc-impl-list.c
3724 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
3725 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
3726 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
3727 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
3728 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
3729 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
3730 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
3731 * sysdeps/s390/ifunc-stpncpy.h: New file.
3733 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3735 * sysdeps/s390/multiarch/Makefile
3736 (sysdep_routines): Remove strncpy variants.
3737 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
3738 * sysdeps/s390/multiarch/ifunc-impl-list.c
3739 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
3740 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
3741 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
3742 * sysdeps/s390/multiarch/strncpy.c: Move to ...
3743 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
3744 * sysdeps/s390/ifunc-strncpy.h: New file.
3745 * sysdeps/s390/s390-64/strncpy.S: Move to ...
3746 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
3747 and adjust ifunc handling.
3748 * sysdeps/s390/s390-32/strncpy.S: Move to ...
3749 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
3750 and adjust ifunc handling.
3751 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
3752 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
3754 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3756 * sysdeps/s390/multiarch/Makefile
3757 (sysdep_routines): Remove stpcpy variants.
3758 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
3759 * sysdeps/s390/multiarch/ifunc-impl-list.c
3760 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
3761 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
3762 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
3763 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
3764 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
3765 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
3766 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
3767 * sysdeps/s390/ifunc-stpcpy.h: New file.
3769 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3771 * sysdeps/s390/multiarch/Makefile
3772 (sysdep_routines): Remove strcpy variants.
3773 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
3774 * sysdeps/s390/multiarch/ifunc-impl-list.c
3775 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
3776 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
3777 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
3778 * sysdeps/s390/multiarch/strcpy.c: Move to ...
3779 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
3780 * sysdeps/s390/ifunc-strcpy.h: New file.
3781 * sysdeps/s390/s390-64/strcpy.S: Move to ...
3782 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
3783 for 31/64bit and ifunc handling.
3784 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
3785 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
3786 * sysdeps/s390/s390-32/strcpy.S: Likewise.
3788 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3790 * sysdeps/s390/multiarch/Makefile
3791 (sysdep_routines): Remove strnlen variants.
3792 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
3793 * sysdeps/s390/multiarch/ifunc-impl-list.c
3794 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
3795 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
3796 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
3797 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
3798 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
3799 * sysdeps/s390/multiarch/strnlen.c: Move to ...
3800 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
3801 * sysdeps/s390/ifunc-strnlen.h: New file.
3803 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3805 * sysdeps/s390/multiarch/Makefile
3806 (sysdep_routines): Remove strlen variants.
3807 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
3808 * sysdeps/s390/multiarch/ifunc-impl-list.c
3809 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
3810 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
3811 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
3812 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
3813 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
3814 * sysdeps/s390/multiarch/strlen.c: Move to ...
3815 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
3816 * sysdeps/s390/ifunc-strlen.h: New file.
3818 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3820 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
3821 * sysdeps/s390/multiarch/ifunc-impl-list.c
3822 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
3823 * sysdeps/s390/ifunc-memmem.h: New file.
3824 * sysdeps/s390/memmem.c: Likewise.
3825 * sysdeps/s390/memmem-c.c: Likewise.
3826 * sysdeps/s390/memmem-vx.c: Likewise.
3828 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3830 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
3831 * sysdeps/s390/multiarch/ifunc-impl-list.c
3832 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
3833 * sysdeps/s390/ifunc-strstr.h: New file.
3834 * sysdeps/s390/strstr.c: Likewise.
3835 * sysdeps/s390/strstr-c.c: Likewise.
3836 * sysdeps/s390/strstr-vx.c: Likewise.
3838 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3840 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
3841 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
3842 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
3843 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
3845 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
3846 * sysdeps/s390/memmove-c.c: New file.
3847 * sysdeps/s390/memmove.c: Likewise.
3848 * sysdeps/s390/multiarch/ifunc-impl-list.c
3849 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
3851 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3853 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
3854 * sysdeps/s390/configure.ac: Add check for z13 support.
3855 * sysdeps/s390/configure: Regenerated.
3857 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3859 * sysdeps/s390/memcopy.h: New file.
3861 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3863 * sysdeps/s390/s390-32/bcopy.S: Remove.
3864 * sysdeps/s390/s390-64/bcopy.S: Likewise.
3866 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3868 * sysdeps/s390/ifunc-memcpy.h: New File.
3869 * sysdeps/s390/memcpy.S: Move to ...
3870 * sysdeps/s390/memcpy-z900.S ... here.
3871 Move implementations from memcpy-s390x.s to here.
3872 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
3873 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3874 Remove memcpy/mempcpy variants.
3875 * sysdeps/s390/Makefile (sysdep_routines):
3876 Add memcpy/mempcpy variants.
3877 * sysdeps/s390/multiarch/ifunc-impl-list.c
3878 (__libc_ifunc_impl_list): Adjust ifunc variants for
3880 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
3882 * sysdeps/s390/memcpy.c: ... here.
3883 Adjust ifunc variants for memcpy.
3884 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
3885 * sysdeps/s390/mempcpy.c: ... here.
3886 Adjust ifunc variants for mempcpy.
3887 * sysdeps/s390/mempcpy.S: Delete file.
3889 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3891 * sysdeps/s390/s390-64/memcpy.S: Move to ...
3892 * sysdeps/s390/memcpy.S: ... here.
3893 Adjust to be usable for 31/64bit.
3894 * sysdeps/s390/s390-32/memcpy.S: Delete File.
3895 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
3896 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
3897 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3898 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
3899 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
3900 Adjust to be usable for 31/64bit.
3901 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
3902 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
3903 * sysdeps/s390/multiarch/memcpy.c: ... here.
3904 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
3906 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3908 * sysdeps/s390/ifunc-memcmp.h: New File.
3909 * sysdeps/s390/memcmp.S: Move to ...
3910 * sysdeps/s390/memcmp-z900.S ... here.
3911 Move implementations from memcmp-s390x.s to here.
3912 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
3913 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3914 Remove memcmp variants.
3915 * sysdeps/s390/Makefile (sysdep_routines):
3916 Add memcmp variants.
3917 * sysdeps/s390/multiarch/ifunc-impl-list.c
3918 (__libc_ifunc_impl_list): Adjust ifunc variants for
3920 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
3922 * sysdeps/s390/memcmp.c: ... here.
3923 Adjust ifunc variants for memcmp.
3925 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3927 * sysdeps/s390/s390-64/memcmp.S: Move to ...
3928 * sysdeps/s390/memcmp.S: ... here.
3929 Adjust to be usable for 31/64bit.
3930 * sysdeps/s390/s390-32/memcmp.S: Delete File.
3931 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
3932 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3934 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3935 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
3936 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
3937 Adjust to be usable for 31/64bit.
3938 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
3939 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
3940 * sysdeps/s390/multiarch/memcmp.c: ... here.
3941 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
3943 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3945 * sysdeps/s390/s390-32/bzero.S: Delete file.
3946 * sysdeps/s390/s390-64/bzero.S: Likewise.
3947 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
3948 * sysdeps/s390/bzero.c: New file.
3949 * sysdeps/s390/memset-z900.S: Add bzero entry points.
3950 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
3951 * sysdeps/s390/multiarch/ifunc-impl-list.c
3952 (__libc_ifunc_impl_list): Add bzero ifunc variants.
3954 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3956 * sysdeps/s390/ifunc-memset.h: New File.
3957 * sysdeps/s390/memset.S: Move to ...
3958 * sysdeps/s390/memset-z900.S ... here.
3959 Move implementations from memset-s390x.s to here.
3960 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
3961 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3962 Remove memset variants.
3963 * sysdeps/s390/Makefile (sysdep_routines):
3964 Add memset variants.
3965 * sysdeps/s390/multiarch/ifunc-impl-list.c
3966 (__libc_ifunc_impl_list): Adjust ifunc variants for
3968 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
3970 * sysdeps/s390/memset.c: ... here.
3971 Adjust ifunc variants for memset.
3973 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3975 * sysdeps/s390/s390-64/memset.S: Move to ...
3976 * sysdeps/s390/memset.S: ... here.
3977 Adjust to be usable for 31/64bit.
3978 * sysdeps/s390/s390-32/memset.S: Delete File.
3979 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
3980 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3982 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3983 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
3984 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
3985 Adjust to be usable for 31/64bit.
3986 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
3987 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
3988 * sysdeps/s390/multiarch/memset.c: ... here.
3989 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
3991 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3993 * sysdeps/s390/multiarch/ifunc-resolve.h
3994 (s390_libc_ifunc_init, s390_libc_ifunc,
3995 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
3997 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3999 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
4000 * sysdeps/s390/configure.ac: Add check for z10 support.
4001 * sysdeps/s390/configure: Regenerated.
4003 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
4005 * sysdeps/i386/atomic-machine.h: Merged with ...
4006 * sysdeps/x86_64/atomic-machine.h: To ...
4007 * sysdeps/x86/atomic-machine.h: This. New file.
4009 2018-12-18 Florian Weimer <fweimer@redhat.com>
4011 Rewrite locale/gen-translit.pl in Python.
4012 * locale/Makefile (generated): Add C-translit.h.
4013 (before-compile): Add $(objpfx)C-translit.h.
4014 (C-translit.h): Move to $(objpfx). Create target directory.
4015 Build using Python script.
4016 * locale/gen-translit.py: New file.
4017 * locale/gen-translit.pl: Remove file.
4018 * locale/C-translit.h.in: Change comment character to '#' for
4019 easier parsing without a C preprocessor.
4020 * locale/C-translit.h: Remove generated file.
4021 * manual/install.texi (Tools for Compilation): Do not mention
4023 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
4024 Remove locale/C-translit.h.
4025 * scripts/update-copyrights: Likewise.
4026 * INSTALL: Regenerate.
4028 2018-12-18 Florian Weimer <fweimer@redhat.com>
4031 * localedata/locales/bi_VU: Remove executable bit from file.
4033 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
4036 (__localtime64): Add.
4037 * manual/maint.texi: Document Y2038 symbol handling.
4039 (__localtime64): Add.
4040 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
4042 2018-12-17 Joseph Myers <joseph@codesourcery.com>
4044 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
4047 * scripts/glibcextract.py (compare_macro_consts): Take parameters
4048 to allow extra macros from first or second sources.
4049 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
4050 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4051 (tests-special): Add $(objpfx)tst-mman-consts.out.
4052 ($(objpfx)tst-mman-consts.out): New makefile target.
4054 2018-12-17 Mao Han <han_mao@c-sky.com>
4056 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
4057 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
4058 without stat64 system call support.
4059 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
4060 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
4061 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4062 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
4063 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
4064 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
4065 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
4066 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
4067 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
4068 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
4069 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
4071 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
4073 regex: fix storage-exhaustion error
4075 * posix/regexec.c (get_subexp):
4076 Do not continue if storage is exhausted.
4078 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
4080 regex: fix heap-use-after-free error
4082 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
4083 https://debbugs.gnu.org/32592
4084 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
4085 call extend_buffers which reallocates the re_string_t internal buffer.
4086 Local variable 'buf' was not updated in such case, resulting in
4088 * posix/regexec.c (get_subexp): Update 'buf' after call to
4091 2018-12-15 Florian Weimer <fweimer@redhat.com>
4093 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
4094 (minimum_stride_size): Use it.
4095 (support_blob_repeat_allocate): Likewise.
4097 2018-12-14 Joseph Myers <joseph@codesourcery.com>
4099 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
4104 2018-12-14 Florian Weimer <fweimer@redhat.com>
4106 * manual/process.texi (Process Creation Concepts): Remove
4107 documentation of process (ID) lifetime. List more process
4108 creation functions. Reference Process Identification section.
4109 (Process Identification): Add information about process ID
4110 lifetime. Describe Linux thread/task IDs.
4111 * manual/signal.texi (Signaling Another Process): Mention that the
4112 signal is always sent to the process.
4114 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4116 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
4117 and tst-ldbl-efgcvt.
4118 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
4119 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
4120 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
4121 (fcvt_tests, output_error, output_r_error, do_test): Use the
4122 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
4123 select the type of floating-point variables and arguments; to
4124 produce extra tests for double and conversion specifiers for
4125 printf; and to set the names of called functions.
4126 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
4127 in tst-efgcvt-template.c.
4128 * misc/tst-ldbl-efgcvt.c: Likewise.
4130 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
4132 * nss/Makefile (tst-nss-test3.out): New rule.
4134 2018-12-13 Joseph Myers <joseph@codesourcery.com>
4136 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
4139 2018-12-13 fanjinke <fanjinke@hygon.cn>
4141 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
4144 2018-12-13 Andreas Schwab <schwab@suse.de>
4147 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
4148 (__pthread_rwlock_rdlock_full): Update expected value for
4149 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
4150 * nptl/tst-rwlock-pwn.c: New file.
4151 * nptl/Makefile (tests): Add tst-rwlock-pwn.
4153 2018-12-12 Joseph Myers <joseph@codesourcery.com>
4155 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
4158 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4160 * benchtests/scripts/compare_bench.py (do_compare): write to
4161 stderr in casestat is not present.
4162 * benchtests/scripts/compare_bench.py (plot_graphs): write to
4163 stderr in case timings field is not present. Also string showing
4164 the output filename goes into the stderr.
4166 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4168 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
4169 and ZeroDivisorError exceptions.
4170 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
4171 argument to loop through user provided statistics.
4172 * benchtests/scripts/compare_bench.py (main): Include the --stats
4175 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4177 * benchtests/scripts/compare_bench.py (compare_runs): Continue
4180 2018-12-12 Florian Weimer <fweimer@redhat.com>
4182 * sysdeps/posix/timespec_get.c: Add missing “any later version”
4183 clause to copyright header.
4185 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4188 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
4189 registers saved in the stack frame.
4190 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
4191 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
4193 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4195 * include/bits/monetary-ldbl.h: New file.
4196 * include/bits/printf-ldbl.h: Likewise.
4197 * include/bits/stdio-ldbl.h: Likewise.
4198 * include/bits/stdlib-ldbl.h: Likewise.
4199 * include/bits/syslog-ldbl.h: Likewise.
4200 * include/bits/wchar-ldbl.h: Likewise.
4202 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4204 * libio/libio.h: Remove redirection for _IO_vfprintf.
4206 2018-12-11 Andreas Schwab <schwab@suse.de>
4208 * Makerules: Remove all references to abilist-pattern.
4209 (update-all-abi): Simplify find expression.
4211 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
4214 * math/auto-libm-test-in: Add new test case.
4215 * math/auto-libm-test-out-pow: Regenerated.
4216 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
4218 2018-12-10 DJ Delorie <dj@redhat.com>
4221 * support/test-container.c: Move postclean step to before we
4224 2018-12-10 Joseph Myers <joseph@codesourcery.com>
4226 * scripts/gen-as-const.py (main): Handle --python option.
4227 * scripts/gen-py-const.awk: Remove.
4228 * Makerules (py-const-script): Use gen-as-const.py.
4229 ($(py-const)): Likewise.
4230 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
4231 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
4232 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
4233 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
4234 ~PTHREAD_MUTEX_NO_ELISION_NP.
4235 * manual/README.pretty-printers: Update reference to
4238 * scripts/glibcextract.py: New file.
4239 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
4240 or tempfile. Import glibcexctract.
4241 (compute_c_consts): Remove. Moved to glibcextract.py.
4242 (gen_test): Update reference to compute_c_consts.
4244 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
4245 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
4246 * sysdeps/unix/sysv/linux/Makefile
4247 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
4248 Redirect stderr as well as stdout.
4250 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
4253 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
4254 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
4255 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
4256 ALWAYS_USE_VSYSCALL.
4257 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
4258 ALWAYS_USE_VSYSCALL.
4259 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
4260 ALWAYS_USE_VSYSCALL.
4262 2018-12-10 Florian Weimer <fweimer@redhat.com>
4265 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
4266 offset instead of count for clarity. Fix typo in comment.
4267 (__old_getdents64): Keep track of previous offset. Use it to call
4269 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
4270 that d_off is never zero.
4272 2018-12-10 Andreas Schwab <schwab@suse.de>
4274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
4275 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
4276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
4277 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
4278 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
4280 2018-12-10 Joseph Myers <joseph@codesourcery.com>
4282 * timezone/private.h: Update from tzcode 2018g.
4283 * timezone/tzfile.h: Likewise.
4284 * timezone/tzselect.ksh: Likewise.
4285 * timezone/zdump.c: Likewise.
4286 * timezone/zic.c: Likewise.
4288 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4291 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
4292 (do_test): Adjust buffer size and fix format.
4294 2018-12-07 DJ Delorie <dj@redhat.com>
4297 * malloc/tst-tcfree3.c: New.
4298 * malloc/Makefile: Add it.
4300 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4302 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
4304 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4306 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
4307 used as a mask for the mode argument of __vfscanf_internal and
4308 __vfwscanf_internal.
4309 * stdio-common/vfscanf-internal.c
4310 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
4311 (__strtof128_internal): Define to __wcstof128_internal.
4312 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
4313 __strtof128_internal or __wcstof128_internal when the format of
4314 long double is the same as _Float128.
4316 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
4318 * include/unistd.h (__confstr): Add prototype and hidden prototype.
4319 * posix/confstr.c (confstr): Rename to __confstr.
4320 (__confstr): Add hidden def.
4321 (confstr): Add weak alias for __confstr.
4322 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
4325 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4327 * NEWS: Mention getcpu.
4328 * include/sched.h (__getcpu): New libc_hidden_proto.
4329 * manual/resource.texi: Document getcpu.
4330 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
4331 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
4332 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
4333 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4334 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4335 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4336 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4337 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4338 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4339 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4340 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4341 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4342 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4344 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4345 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4346 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4355 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4356 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4357 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4358 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4359 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4360 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4361 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4362 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4363 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
4364 * sysdeps/unix/sysv/linux/getcpu.c: New file.
4365 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
4368 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
4370 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
4372 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
4374 2018-12-07 Florian Weimer <fweimer@redhat.com>
4377 * posix/Makefile (routines): Add spawn_faction_addfchdir.
4378 * posix/Versions (GLIBC_2.29): Export
4379 posix_spawn_file_actions_addfchdir_np.
4380 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
4381 * posix/spawn_faction_destroy.c
4382 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
4383 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
4384 and the field action.fchdir_action.
4385 * posix/tst-spawn-chdir.c (add_chdir): New function.
4386 (do_test): Add do_fchdir loop. Call add_chdir.
4387 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
4388 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4389 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
4390 posix_spawn_file_actions_addfchdir_np.
4391 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
4393 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
4395 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
4396 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
4398 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
4400 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
4402 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
4404 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
4406 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
4408 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4409 (GLIBC_2.29): Likewise.
4410 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4411 (GLIBC_2.29): Likewise.
4412 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4413 (GLIBC_2.29): Likewise.
4414 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4415 (GLIBC_2.29): Likewise.
4416 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
4418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4419 (GLIBC_2.29): Likewise.
4420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4421 (GLIBC_2.29): Likewise.
4422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4423 (GLIBC_2.29): Likewise.
4424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4425 (GLIBC_2.29): Likewise.
4426 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
4428 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
4430 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
4432 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
4433 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
4435 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
4437 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
4439 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
4442 2018-12-06 Joseph Myers <joseph@codesourcery.com>
4444 * manual/texinfo.tex: Update to version 2018-09-21.20 with
4445 trailing whitespace removed.
4446 * scripts/config.guess: Update to version 2018-11-28.
4447 * scripts/config.sub: Update to version 2018-11-28.
4448 * scripts/install-sh: Update to version 2018-03-11.20.
4449 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
4450 * scripts/move-if-change: Update to version 2018-03-07 03:47.
4452 2018-12-07 Florian Weimer <fweimer@redhat.com>
4456 * inet/tst-if_index-long.c: New file.
4457 * inet/Makefile (tests): Add tst-if_index-long.
4459 2018-12-07 Florian Weimer <fweimer@redhat.com>
4461 * support/check.h (support_record_failure_is_failed): Declare.
4462 * support/descriptors.h: New file.
4463 * support/support_descriptors.c: Likewise.
4464 * support/tst-support_descriptors.c: Likewise.
4465 * support/support_record_failure.c
4466 (support_record_failure_is_failed): New function.
4467 * support/Makefile (libsupport-routines): Add support_descriptors.
4468 (tests): Add tst-support_descriptors.
4470 2018-12-05 Zack Weinberg <zackw@panix.com>
4471 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4473 * stdio-common/vfprintf-internal.c
4474 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
4475 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
4476 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
4477 and __no_long_double.
4478 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
4479 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
4480 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
4481 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
4482 and __nldbl_*syslog* functions.
4483 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
4484 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
4485 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
4486 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
4487 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
4488 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
4489 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
4490 (__nldbl_vwprintf, __nldbl_wprintf):
4491 Directly call the appropriate __v*printf_internal routine, passing
4492 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
4494 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
4495 (__nldbl___printf_chk, __nldbl___snprintf_chk)
4496 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
4497 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
4498 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
4499 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4500 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
4501 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
4502 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
4503 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
4504 Likewise, and also pass PRINTF_FORTIFY when appropriate.
4505 (__nldbl_syslog, __nldbl_vsyslog):
4506 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
4507 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4509 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4512 2018-12-05 Zack Weinberg <zackw@panix.com>
4513 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4516 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
4517 Moved here from debug/vsprintf_chk.c.
4518 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
4519 and completion logic for the strfile to match exactly what
4520 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
4521 _IO_str_init_static_internal instead of maxlen-1.
4522 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4523 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
4524 __vsprintf_internal.
4526 * debug/vsprintf_chk.c (__vsprintf_chk)
4527 * debug/sprintf_chk.c (__sprintf_chk):
4528 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
4529 'flags' argument is positive, and slen as maxlen. No need to lock
4530 the FILE and/or construct a temporary FILE. Minimize and normalize
4531 header inclusions and variable names. Do not libc_hidden_def anything.
4533 * debug/asprintf_chk.c (__asprintf_chk)
4534 * debug/dprintf_chk.c (__dprintf_chk)
4535 * debug/fprintf_chk.c (__fprintf_chk)
4536 * debug/fwprintf_chk.c (__fwprintf_chk)
4537 * debug/printf_chk.c (__printf_chk)
4538 * debug/snprintf_chk.c (__snprintf_chk)
4539 * debug/swprintf_chk.c (__swprintf_chk)
4540 * debug/vasprintf_chk.c (__vasprintf_chk)
4541 * debug/vdprintf_chk.c (__vdprintf_chk)
4542 * debug/vfprintf_chk.c (__vfprintf_chk)
4543 * debug/vfwprintf_chk.c (__vfwprintf_chk)
4544 * debug/vprintf_chk.c (__vprintf_chk)
4545 * debug/vsnprintf_chk.c (__vsnprintf_chk)
4546 * debug/vswprintf_chk.c (__vswprintf_chk)
4547 * debug/vwprintf_chk.c (__vwprintf_chk)
4548 * debug/wprintf_chk.c (__wprintf_chk):
4549 Directly call the corresponding vxxprintf_internal function, passing
4550 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
4551 the FILE and/or construct a temporary FILE. Minimize and normalize
4552 header inclusions and variable names. Do not libc_hidden_def anything.
4554 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
4555 __obstack_vprintf_internal.
4556 (__obstack_vprintf_chk): Convert into a wrapper that calls
4557 __obstack_vprintf_internal (these two functions already had the
4558 same code) and move to new file...
4559 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
4561 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
4562 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
4563 * debug/Makefile (routines): Add vobprintf_chk.
4565 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4566 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4567 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
4568 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4569 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
4570 (__nldbl___obstack_vfprintf_chk):
4571 Directly call the corresponding vxxprintf_internal function,
4572 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
4573 duplicate comparison of slen with 0 or maxlen from the corresponding
4574 non-__nldbl function.
4576 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
4577 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
4578 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
4579 Remove libc_hidden_proto.
4581 * stdio-common/vfprintf-internal.c
4582 (__vfprintf_internal, __vfwprintf_internal):
4583 Do not check _IO_FLAGS2_FORTIFY.
4584 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
4585 * libio/libioP.h: Update prototype of __vsprintf_internal and add
4586 a comment explaining why it has the maxlen argument.
4587 (_IO_acquire_lock_clear_flags2_fct): Remove.
4588 (_IO_acquire_lock_clear_flags2): Remove.
4589 (_IO_release_lock): Remove conditional statement which will
4591 (_IO_acquire_lock): Remove variable which is now unused.
4592 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4593 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4595 * stdio-common/Makefile (tests): Add tst-bz11319 and
4596 tst-bz11319-fortify2.
4597 (CFLAGS-tst-bz11319-fortify2.c): New macro.
4598 * stdio-common/tst-bz11319-fortify2.c: New file.
4599 * stdio-common/tst-bz11319.c: Likewise.
4601 2018-12-05 Zack Weinberg <zackw@panix.com>
4602 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4604 * misc/syslog.c: Include libioP.h, not iolibio.h.
4605 (__vsyslog_internal): New function with the former body of
4606 __vsyslog_chk; takes mode_flags argument same as
4607 __v*printf_internal. Call __vfprintf_internal directly.
4609 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
4610 Remove libc_hidden_def.
4611 (__syslog, __syslog_chk): Use __vsyslog_internal.
4612 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
4614 * include/sys/syslog.h: Add multiple inclusion guard.
4615 Add prototype for __vsyslog_internal.
4616 Remove declaration and libc_hidden_proto for __vsyslog_chk.
4618 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
4619 Use __vsyslog_internal.
4621 2018-12-05 Zack Weinberg <zackw@panix.com>
4622 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4624 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
4625 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
4626 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
4628 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
4629 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
4631 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
4632 Include wctype.h here if COMPILE_WPRINTF is defined.
4633 Define __vfprintf_internal or __vfwprintf_internal, depending
4635 Temporarily, on entry to this function, update mode_flags
4636 according to the environmental settings corresponding to
4637 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
4638 Throughout, check mode_flags instead of __ldbl_is_dbl and
4639 _IO_FLAGS2_FORTIFY on the destination FILE.
4640 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
4641 Include vfprintf-internal.c. Don't include wctype.h.
4642 * stdio-common/vfprintf.c: New file. Just define __vfprintf
4643 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
4645 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
4646 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
4648 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
4650 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
4651 and add mode_flags argument; use __vfprintf_internal.
4652 (__vdprintf): New function. Alias vdprintf to this.
4653 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
4654 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
4655 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
4656 (__obstack_printf): Use __obstack_printf_internal.
4657 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
4658 public aliases __vsnprintf and vsnprintf.
4659 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
4661 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
4662 public aliases _IO_vsprintf and vsprintf.
4663 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
4664 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
4665 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
4666 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
4667 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
4669 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
4670 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
4671 * stdio-common/fprintf.c, stdio-common/fxprintf.c
4672 * stdio-common/printf.c: Use __vfprintf_internal.
4674 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
4675 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
4676 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
4678 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
4679 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
4680 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
4681 __vfwprintf_internal.
4683 * libio/libio.h: Remove libc_hidden_proto and declaration for
4685 Remove declaration of _IO_vfwprintf.
4686 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
4688 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
4690 * include/stdio.h: Add prototype for __vasprintf.
4691 (__vsnprintf): Remove declaration, because there are no more
4693 * include/wchar.h (__vfwprintf, __vswprintf): Remove
4694 declaration, because there are no more internal calls.
4696 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
4697 __vsnprintf_internal, instead of _IO_vsnprintf.
4698 * argp/argp-help.c (__argp_error, __argp_failure): Use
4699 __vasprintf_internal, instead of _IO_vasprintf.
4700 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
4701 redefine, because there are no more internal calls.
4703 2018-12-05 Zack Weinberg <zackw@panix.com>
4704 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4706 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
4707 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
4708 Include libio/strfile.h instead of libioP.h.
4709 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
4710 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
4711 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
4712 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
4713 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
4714 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
4715 necessary. Do not set __no_long_double. Normalize variable names.
4716 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
4717 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
4718 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
4719 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
4720 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
4721 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
4722 Call __vfscanf_internal / __vfwscanf_internal directly, passing
4723 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
4724 Do not set __no_long_double. Normalize variable names.
4726 2018-12-05 Zack Weinberg <zackw@panix.com>
4727 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4729 * stdio-common/isoc99_scanf.c
4730 * stdio-common/isoc99_fscanf.c
4731 * stdio-common/isoc99_sscanf.c
4732 * stdio-common/isoc99_vscanf.c
4733 * stdio-common/isoc99_vfscanf.c
4734 * stdio-common/isoc99_vsscanf.c
4735 * wcsmbs/isoc99_wscanf.c
4736 * wcsmbs/isoc99_fwscanf.c
4737 * wcsmbs/isoc99_swscanf.c
4738 * wcsmbs/isoc99_vwscanf.c
4739 * wcsmbs/isoc99_vfwscanf.c
4740 * wcsmbs/isoc99_vswscanf.c:
4741 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
4742 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
4743 No need to lock and unlock the FILE passed to that function.
4745 * stdio-common/vfscanf-internal.c
4746 (__vfscanf_internal, __vfwscanf_internal):
4747 Don't look at _IO_FLAGS2_SCANF_STD.
4748 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
4749 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
4750 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
4752 2018-12-05 Zack Weinberg <zackw@panix.com>
4753 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4755 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
4756 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
4757 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
4758 * libio/strfile.h: Add multiple inclusion guard.
4759 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
4761 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
4762 consistency with the other version of this file.
4763 (ldbl_compat_symbol): New macro.
4764 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
4767 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
4768 Define __vfscanf_internal or __vfwscanf_internal, depending on
4769 COMPILE_WSCANF; don't define any other public symbols.
4770 Remove errval and code to set errp.
4771 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
4772 as the mode_flags argument.
4773 (encode_error, conv_error, input_error): Don't set errval.
4774 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
4775 Include vfscanf-internal.c.
4776 * stdio-common/vfscanf.c: New file defining the public entry
4777 point vfscanf, which calls __vfscanf_internal.
4778 * stdio-common/vfwscanf.c: New file defining the public entry
4779 point vfwscanf, which calls __vfwscanf_internal.
4781 * stdio-common/iovfscanf.c: New file.
4782 * stdio-common/iovfwscanf.c: Likewise.
4784 * stdio-common/Makefile (routines): Add vfscanf-internal,
4785 vfwscanf-internal, iovfscanf, iovfwscanf.
4786 * stdio-common/Versions: Mention GLIBC_2.29, so that
4787 it can be used in SHLIB_COMPAT expressions.
4788 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
4789 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
4790 Call __vfscanf_internal, instead of _IO_vfscanf.
4791 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
4793 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
4796 * libio/iovsscanf.c: Clean up includes, when possible. Use
4797 _IO_strfile_read or _IO_strfile_readw, when needed. Call
4798 __vfscanf_internal or __vfwscanf_internal directly.
4799 * libio/iovswscanf.c: Likewise.
4800 * libio/swscanf.c: Likewise.
4801 * libio/vscanf.c: Likewise.
4802 * libio/vwscanf.c: Likewise.
4803 * libio/wscanf.c: Likewise.
4804 * stdio-common/isoc99_fscanf.c: Likewise.
4805 * stdio-common/isoc99_scanf.c: Likewise.
4806 * stdio-common/isoc99_sscanf.c: Likewise.
4807 * stdio-common/isoc99_vfscanf.c: Likewise.
4808 * stdio-common/isoc99_vscanf.c: Likewise.
4809 * stdio-common/isoc99_vsscanf.c: Likewise.
4810 * stdio-common/scanf.c: Likewise.
4811 * stdio-common/sscanf.c: Likewise.
4812 * wcsmbs/isoc99_fwscanf.c: Likewise.
4813 * wcsmbs/isoc99_swscanf.c: Likewise.
4814 * wcsmbs/isoc99_vfwscanf.c: Likewise.
4815 * wcsmbs/isoc99_vswscanf.c: Likewise.
4816 * wcsmbs/isoc99_vwscanf.c: Likewise.
4817 * wcsmbs/isoc99_wscanf.c: Likewise.
4819 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
4822 (__tz_compute): Replace time_t with __time64_t.
4823 (__tz_convert): Replace time_t* with __time64_t.
4824 (__offtime): Replace time_t* with __time64_t.
4826 (__gmtime_r): Adjust call to __tz_convert.
4829 (__localtime_r): Likewise.
4830 (localtime): Likewise.
4831 * time/offtime.c: Replace time_t with __time64_t.
4832 * time/tzset.c: Likewise.
4834 2018-12-04 Joseph Myers <joseph@codesourcery.com>
4836 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
4837 dynamic linker unless [$(run-built-tests) = yes].
4839 2018-12-03 DJ Delorie <dj@delorie.com>
4841 * support/test-container.c (check_for_unshare_hints): New.
4842 (main): Call it if unshare fails. Add support for "su" scriptlet
4845 2018-12-03 Joseph Myers <joseph@codesourcery.com>
4847 * scripts/gen-as-const.py (compute_c_consts): Take an argument
4848 'START' to indicate that start text should be output.
4849 (gen_test): Likewise.
4850 (main): Generate 'START' for first symbol or '--' line, or at end
4851 of input if not previously generated.
4853 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
4856 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
4857 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
4858 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
4859 ALWAYS_USE_VSYSCALL.
4861 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4864 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
4867 2018-12-03 Carlos O'Donell <carlos@redhat.com>
4870 * locale/programs/localedef.c: Declare boolean hard_links default true.
4871 (options): Add --no-hard-links option.
4872 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
4873 * locale/programs/localedef.h: Declare prototype for hard_links.
4874 * locale/programs/locfile.c (write_locale_data): Don't use hard
4875 links if hard_links is false.
4877 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
4879 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
4881 (__cache_sysconf): Likewise.
4882 (init_cacheinfo): Likewise.
4883 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
4884 populate COMMON_CPUID_INDEX_80000007 and
4885 COMMON_CPUID_INDEX_80000008.
4886 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
4887 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
4888 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
4889 (init_cpu_features): Use _Static_assert on
4890 index_arch_Fast_Unaligned_Load.
4891 __get_cpuid_registers and __get_arch_feature. Updated for
4892 cpu_features_basic. Set stepping in cpu_features.
4893 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
4894 (FEATURE_INDEX_2): New.
4895 (FEATURE_INDEX_MAX): Changed to enum.
4896 (COMMON_CPUID_INDEX_D_ECX_1): New.
4897 (COMMON_CPUID_INDEX_80000007): Likewise.
4898 (COMMON_CPUID_INDEX_80000008): Likewise.
4899 (cpuid_registers): Likewise.
4900 (cpu_features_basic): Likewise.
4901 (CPU_FEATURE_USABLE): Likewise.
4902 (bit_arch_XXX_Usable): Likewise.
4903 (cpu_features): Use cpuid_registers and cpu_features_basic.
4904 (bit_arch_XXX): Reweritten.
4905 (bit_cpu_XXX): Likewise.
4906 (index_cpu_XXX): Likewise.
4907 (reg_XXX): Likewise.
4908 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
4910 (CHECK_CPU_FEATURE): New.
4911 (CHECK_CPU_FEATURE_USABLE): Likewise.
4912 (cpu_kinds): Likewise.
4913 (do_test): Print vendor, family, model and stepping. Check
4914 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
4915 (TEST_FUNCTION): Removed.
4916 Include <support/test-driver.c> instead of
4917 "../../test-skeleton.c".
4918 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
4919 Check POPCNT instead of POPCOUNT.
4920 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
4922 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4924 * scripts/gen-as-const.py (main): Avoid emitting empty line when
4925 there is no element in `consts'.
4927 2018-12-01 Florian Weimer <fweimer@redhat.com>
4929 * support/support_capture_subprocess.c
4930 (support_capture_subprocess): Check that pipe descriptors have
4931 expected values. Close original pipe descriptors in subprocess.
4933 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
4936 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
4937 attr with __pthread_default_barrierattr.
4938 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
4939 attr with __pthread_default_condattr.
4940 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
4941 attr with __pthread_default_mutexattr.
4942 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
4943 attr with __pthread_default_rwlockattr.
4945 2018-12-01 Kemi Wang <kemi.wang@intel.com>
4947 * manual/tunables.texi (POSIX Thread Tunables): New node.
4948 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
4949 * nptl/nptl-init.c: Include pthread_mutex_conf.h
4950 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
4951 __pthread_tunables_init.
4952 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
4953 (max_adaptive_count): Define.
4954 * nptl/pthread_mutex_conf.c: New file.
4955 * nptl/pthread_mutex_conf.h: New file.
4956 * sysdeps/generic/adaptive_spin_count.h: New file.
4957 * sysdeps/nptl/dl-tunables.list: New file.
4958 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
4959 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
4960 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
4963 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
4966 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
4967 * stdlib/on_exit.c (__on_exit): Likewise.
4968 * stdlib/Makefile (tests): Add tst-bz20544.
4969 * stdlib/tst-bz20544.c: New test.
4971 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
4974 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
4975 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
4978 2018-11-30 Florian Weimer <fweimer@redhat.com>
4980 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
4981 Extend error logging.
4982 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
4985 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4987 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
4988 __sigismember instead of sigismember.
4989 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
4990 cancel_handler): New definitions.
4991 (do_system): Use posix_spawn instead of fork and execl and remove
4993 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
4994 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
4995 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
4996 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4997 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4998 * sysdeps/unix/sysv/linux/system.c: Likewise.
5002 * NEWS: Add new semantic for atfork with popen and system.
5003 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
5006 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5009 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
5010 modification order when accessing reloc_result->addr.
5011 * include/link.h (reloc_result): Add field init.
5012 * nptl/Makefile (tests): Add tst-audit-threads.
5013 (modules-names): Add tst-audit-threads-mod1 and
5014 tst-audit-threads-mod2.
5015 Add rules to build tst-audit-threads.
5016 * nptl/tst-audit-threads-mod1.c: New file.
5017 * nptl/tst-audit-threads-mod2.c: Likewise.
5018 * nptl/tst-audit-threads.c: Likewise.
5019 * nptl/tst-audit-threads.h: Likewise.
5021 2018-11-30 Joseph Myers <joseph@codesourcery.com>
5023 * scripts/gen-as-const.py: New file.
5024 * scripts/gen-as-const.awk: Remove.
5025 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
5027 ($(objpfx)test-as-const-%.c): Likewise.
5029 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5031 * elf/dl-exception.c: Include <_itoa.h>.
5033 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
5035 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
5036 returned by __f_setlk.
5038 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5039 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5041 * elf/Makefile (tests-internal): Add tst-create_format1.
5042 * elf/dl-exception.c (_dl_exception_create_format): Support
5044 * elf/tst-create_format1.c: New file.
5046 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
5048 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
5049 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
5051 * argp/argp-help.c (__argp_failure): Likewise.
5053 2018-11-29 Mao Han <han_mao@c-sky.com>
5055 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
5056 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
5057 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
5058 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
5059 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
5060 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
5061 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
5062 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
5063 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
5064 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
5065 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
5066 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
5067 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
5068 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
5069 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
5070 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
5071 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
5072 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
5073 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
5074 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
5075 (R_CKCORE_TLS_TPOFF32): New defines.
5077 2018-11-29 Florian Weimer <fweimer@redhat.com>
5079 * posix/Makefile (before-compile): Remove testcases.h and
5081 (generated): Add testcases.h and ptestcases.h.
5082 (testcases.h, ptestcases.h): Move to $(objpfx).
5083 (runtests.o): Add dependency on testcases.h.
5084 (runptests.o): Add dependency on ptestcases.h.
5085 * posix/testcases.h, posix/ptestcases.h: Remove files.
5086 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
5087 not touch posix/testcases.h and posix/ptestcases.h.
5089 2018-11-28 Florian Weimer <fweimer@redhat.com>
5091 support: Add signal support to support_capture_subprocess_check.
5092 * support/capture_subprocess.h (support_capture_subprocess_check):
5093 Adjust comment and rename parameter.
5094 * support/support_capture_subprocess_check.c
5095 (print_actual_status): New function.
5096 (support_capture_subprocess_check): Support negative
5097 status_or_signal. Call print_actual_status.
5098 * support/tst-support_capture_subprocess.c (do_test): Call
5099 support_capture_subprocess_check.
5100 * libio/tst-vtables-common.c (termination_status)
5101 (init_termination_status): Remove.
5102 (check_for_termination): Adjust support_capture_subprocess_check
5104 (do_test): Remove call to init_termination_status.
5106 2018-11-28 Joseph Myers <joseph@codesourcery.com>
5108 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
5109 source directory instead of a copy.
5110 (CommandList.create_copy_dir): Remove.
5112 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
5114 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5116 2018-11-28 Florian Weimer <fweimer@redhat.com>
5118 * support/support.h (support_quote_string): Do not use str
5121 2018-11-27 Joseph Myers <joseph@codesourcery.com>
5123 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
5124 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
5126 2018-11-27 Florian Weimer <fweimer@redhat.com>
5128 * support/support.h (support_quote_string): Declare.
5129 * support/support_quote_string.c: New file.
5130 * support/tst-support_quote_string.c: Likewise.
5131 * support/Makefile (libsupport-routines): Add
5132 support_quote_string.
5133 (tests): Add tst-support_quote_string.
5135 2018-11-27 Florian Weimer <fweimer@redhat.com>
5139 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
5140 descriptor leak in case of ENODEV error.
5142 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
5145 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
5146 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
5147 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
5149 2018-11-26 Carlos O'Donell <carlos@redhat.com>
5151 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
5152 Error for unknown lines.
5154 2018-11-26 Joseph Myers <joseph@codesourcery.com>
5156 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5157 Touch additional files.
5159 2018-11-26 Florian Weimer <fweimer@redhat.com>
5162 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
5165 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
5168 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
5169 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
5170 SHARED. Include sysdep.h.
5171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
5172 ALWAYS_USE_VSYSCALL.
5173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
5174 ALWAYS_USE_VSYSCALL.
5176 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
5179 * nptl/Makefile (tests-static): Add tst-cond11-static.
5181 * nptl/tst-cond11-static.c: New File.
5182 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
5183 tst-affinity-static.
5185 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
5187 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
5188 (USE_VSYSCALL): Likewise.
5189 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
5190 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
5192 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
5194 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
5197 2018-11-23 Joseph Myers <joseph@codesourcery.com>
5200 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5201 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
5204 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
5206 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
5207 (tst-cet-legacy-1a-ARGS): New.
5208 ($(objpfx)tst-cet-legacy-1a): New target.
5209 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
5211 2018-11-22 Joseph Myers <joseph@codesourcery.com>
5213 * conform/conformtest.py (CompileSubTest.__init__): Set
5214 self.run_early to False.
5215 (ExecuteSubTest.__init__): Likewise.
5216 (HeaderTests.run): Try running all non-optional, non-XFAILed
5217 compilation tests in a single execution of the compiler.
5219 * conform/conformtest.py (CompileSubTest): New class.
5220 (ExecuteSubTest): Likewise.
5221 (ElementTest.run): Rename to gen_subtests. Append tests to
5222 self.subtests instead of running them.
5223 (ConstantTest.run): Likewise.
5224 (SymbolTest.run): Likewise.
5225 (TypeTest.run): Likewise.
5226 (TagTest.run): Likewise.
5227 (FunctionTest.run): Likewise.
5228 (VariableTest.run): Likewise.
5229 (MacroFunctionTest.run): Likewise.
5230 (MacroStrTest.run): Likewise.
5231 (HeaderTests.handle_test_line): Generate subtests for tests.
5232 (HeaderTests.run): Run subtests for tests.
5234 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5236 * math/Versions (GLIBC_2.29): Add pow.
5237 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
5239 * math/w_pow.c: New file.
5240 * sysdeps/i386/fpu/w_pow.c: New file.
5241 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
5242 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
5243 and add necessary aliases.
5244 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
5245 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
5246 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5247 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5248 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5249 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5250 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5251 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5252 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5253 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5254 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5255 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5256 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5257 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5258 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5263 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5264 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5265 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5266 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5267 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5268 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5269 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5270 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
5272 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
5273 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
5274 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
5276 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5278 * math/Versions (GLIBC_2.29): Add log2.
5279 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
5281 * math/w_log2.c: New file.
5282 * sysdeps/i386/fpu/w_log2.c: New file.
5283 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
5284 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
5285 and add necessary aliases.
5286 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
5287 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
5288 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5289 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5290 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5291 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5292 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5293 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5294 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5295 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5296 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5297 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5298 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5299 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5300 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5305 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5306 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5307 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5308 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5309 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5310 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5311 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5313 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5315 * math/Versions (GLIBC_2.29): Add log.
5316 * math/w_log_compat.c (__log_compat): Change to versioned compat
5318 * math/w_log.c: New file.
5319 * sysdeps/i386/fpu/w_log.c: New file.
5320 * sysdeps/ia64/fpu/e_log.S: Update.
5321 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
5322 and add necessary aliases.
5323 * sysdeps/ieee754/dbl-64/w_log.c: New file.
5324 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
5325 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5326 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5327 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5328 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5329 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5330 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5331 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5332 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5333 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5334 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5335 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5336 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5337 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5342 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5343 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5344 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5345 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5346 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5347 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5348 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5349 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
5351 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
5352 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
5353 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
5354 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
5356 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5358 * math/Versions (GLIBC_2.29): Add exp and exp2.
5359 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
5360 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
5361 * math/w_exp_compat.c (__exp_compat): Likewise.
5362 * math/w_exp.c: New file.
5363 * math/w_exp2.c: New file.
5364 * sysdeps/i386/fpu/w_exp.c: New file.
5365 * sysdeps/i386/fpu/w_exp2.c: New file.
5366 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
5367 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
5368 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
5369 and add necessary aliases.
5370 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
5371 and add necessary aliases.
5372 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
5373 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
5374 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
5375 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
5376 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5377 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5378 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5379 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5380 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5381 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5382 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5383 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5384 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5385 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5386 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5387 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5388 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5393 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5394 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5395 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5396 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5397 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5398 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5399 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5400 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
5401 (__ieee754_exp): Rename to __exp.
5402 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
5403 (__ieee754_exp): Rename to __exp.
5404 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
5405 (__ieee754_exp): Rename to __exp.
5406 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
5408 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
5410 2018-11-20 DJ Delorie <dj@redhat.com>
5412 * malloc/malloc.c (tcache_entry): Add key field.
5413 (tcache_put): Set it.
5414 (tcache_get): Likewise.
5415 (_int_free): Check for double free in tcache.
5416 * malloc/tst-tcfree1.c: New.
5417 * malloc/tst-tcfree2.c: New.
5418 * malloc/Makefile: Run the new tests.
5419 * manual/probes.texi: Document memory_tcache_double_free probe.
5421 * dlfcn/dlerror.c (check_free): Prevent double frees.
5423 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
5425 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
5427 2018-11-20 Joseph Myers <joseph@codesourcery.com>
5429 * conform/conformtest.py (ElementTest.run): Use unique identifiers
5430 in tests. Use names for format arguments.
5431 (ConstantTest.run): Likewise.
5432 (SymbolTest.run): Likewise.
5433 (TypeTest.run): Likewise.
5434 (TagTest.run): Likewise.
5435 (FunctionTest.run): Likewise.
5436 (VariableTest.run): Likewise.
5437 (MacroFunctionTest.run): Likewise.
5438 (MacroStrTest.run): Likewise.
5439 (HeaderTests.__init__): Set self.num_tests.
5440 (HeaderTests.handle_test_line): Set test.num. Increment
5443 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
5445 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
5446 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
5449 2018-11-19 Mao Han <han_mao@c-sky.com>
5451 * scripts/config.guess: Update to version 2018-08-29.
5452 * scripts/config.sub: Update to version 2018-08-29.
5454 2018-11-19 Florian Weimer <fweimer@redhat.com>
5456 support: Print timestamps in timeout handler.
5457 * support/support_test_main.c (print_timestamp): New function.
5458 (signal_handler): Use it to print the termination time and the
5459 time of the last write to standard output.
5461 2018-11-16 Zack Weinberg <zackw@panix.com>
5462 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5464 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
5465 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
5467 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
5468 and add flags argument. Check flags instead of __ldbl_is_dbl when
5469 deciding whether to set is_long_double.
5470 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
5471 passing zero for flags argument.
5472 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
5474 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5475 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
5476 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
5477 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
5478 variable names. Remove libc_hidden_def/libc_hidden_proto from
5479 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
5480 longer called from within the library.
5481 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
5482 for __nldbl___vstrfmon_l, declare it explicitly.
5484 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
5486 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
5488 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
5490 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
5491 F_SETLK64, F_SETLKW64, respectively.
5492 * sysdeps/mach/hurd/f_setlk.c: New file.
5493 * sysdeps/mach/hurd/f_setlk.h: New file.
5494 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
5496 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
5497 (__libc_fcntl): Move non-flock operations to...
5498 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
5499 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
5501 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
5503 mktime: DEBUG_MKTIME cleanup
5504 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
5505 And it’s no longer needed now that glibc and Gnulib both have
5506 their own testing mechanisms for mktime.
5507 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
5509 mktime: fix non-EOVERFLOW errno handling
5511 mktime was not properly reporting failures when the underlying
5512 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
5513 them like EOVERFLOW failures, and set errno to EOVERFLOW.
5514 The problem could happen on non-glibc platforms, with Gnulib.
5515 * time/mktime.c (guess_time_tm): Remove, replacing with ...
5516 (tm_diff): ... this simpler function, which does not change errno.
5517 All callers changed to deal with errno themselves.
5518 (ranged_convert, __mktime_internal): Return failure immediately if
5519 the underlying function reports any failure other than EOVERFLOW.
5520 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
5523 mktime: fix bug with Y2038 DST transition
5525 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
5526 mishandle a DST transition that jumps over the Y2038 boundary.
5527 No such DST transitions are known so this is only a theoretical
5528 bug, but we might as well do things right.
5530 mktime: make more room for overflow
5532 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
5533 This is so that we can add tm_diff results to a previous guess,
5534 which will be useful in a later patch.
5536 mktime: simplify offset guess
5538 * time/mktime.c (__mktime_internal): Omit excess precision.
5540 mktime: new test for mktime failure
5542 Based on a test suggested by Albert Aribaud in:
5543 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
5544 * time/Makefile (tests): Add bug-mktime4.
5545 * time/bug-mktime4.c: New file.
5547 mktime: fix EOVERFLOW bug
5549 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
5550 Include libc-config.h, not config.h, for __set_errno.
5551 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
5553 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
5555 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
5556 __attribute_copy__ to copy attributes from name. Drop static qualifier
5557 to avoid warnings about leaf attribute not having effect on static
5560 2018-11-13 Florian Weimer <fweimer@redhat.com>
5562 * malloc/malloc.c (fastbin_push_entry): New function.
5563 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
5564 (REMOVE_FB): Remove macro.
5565 (_int_malloc): Use fastbin_pop_entry and reindent.
5566 (_int_free): Use fastbin_push_entry.
5567 (malloc_consolidate): Use atomic_exchange_acquire.
5569 2018-11-13 Joseph Myers <joseph@codesourcery.com>
5571 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
5572 alias attribute, not with strong_alias.
5574 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
5575 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
5576 with additional parameter thread.
5577 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
5578 in terms of __hidden_ver2.
5579 (hidden_tls_def): New macro.
5580 (libc_hidden_tls_def): Likewise.
5581 (rtld_hidden_tls_def): Likewise.
5582 (libm_hidden_tls_def): Likewise.
5583 (libmvec_hidden_tls_def): Likewise.
5584 (libresolv_hidden_tls_def): Likewise.
5585 (librt_hidden_tls_def): Likewise.
5586 (libdl_hidden_tls_def): Likewise.
5587 (libnss_files_hidden_tls_def): Likewise.
5588 (libnsl_hidden_tls_def): Likewise.
5589 (libnss_nisplus_hidden_tls_def): Likewise.
5590 (libutil_hidden_tls_def): Likewise.
5591 (libutil_hidden_tls_def): Likweise.
5592 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
5593 libc_hidden_tls_def.
5594 (__sim_disabled_exceptions_thread): Likewise.
5595 (__sim_round_mode_thread): Likewise.
5597 * sysdeps/sparc/sparc-ifunc.h [SHARED]
5598 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
5599 copy attributes from name.
5601 2018-11-12 Joseph Myers <joseph@codesourcery.com>
5603 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
5604 Use __attribute_copy__ to copy attributes from name.
5606 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
5607 with __hidden_ver1 call.
5608 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
5609 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
5610 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
5611 (__cosf): Do not declare here.
5612 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
5613 (__sincosf): Do not declare here.
5614 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
5615 (__sinf): Do not declare here.
5617 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
5618 (__BIG_ENDIAN): Likewise.
5619 (__BYTE_ORDER): Likewise.
5620 (strong_alias): Likewise.
5621 (_strong_alias): Likewise.
5623 2018-11-12 Florian Weimer <fweimer@redhat.com>
5625 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
5626 function. Move after the definition of in_smallbin_range. Do not
5627 use __builtin_expect for paths that lead to a noreturn function.
5628 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
5629 because it is unclear whether this is in fact an unlikely
5631 (_int_malloc, _int_free): Adjust.
5632 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
5634 * malloc/arena.c (heap_trim): Likewise.
5636 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5638 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
5639 it, free it if needed.
5640 (reauthenticate): Test and use ccwdir.
5641 (child_init_port): In non-resetids case, test and use ccwdir.
5642 (child_chdir): New nested function to set ccwdir.
5643 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
5644 * hurd/hurd/port.h (_hurd_port_move): New function.
5645 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
5646 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
5647 * hurd/Versions (_hurd_port_move): Export function.
5648 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
5650 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
5651 of dtablesize for allocating dtable_cloexec.
5653 2018-11-09 Martin Sebor <msebor@redhat.com>
5655 * include/libc-symbols.h (__attribute_copy__): Define macro unless
5656 it's already defined.
5657 (_strong_alias): Use __attribute_copy__.
5658 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
5659 * misc/sys/cdefs.h (__attribute_copy__): New macro.
5660 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
5661 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
5662 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
5663 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
5664 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
5665 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
5666 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
5667 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
5668 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
5669 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
5670 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
5671 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
5672 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
5673 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
5674 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
5675 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
5676 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
5678 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5680 * misc/tst-efgcvt.c: Include support/check.h and
5681 support/test-driver.c. Do not include test-skeleton.c.
5682 (error_count): Remove.
5683 (output_error): Replace increments to error_count with calls to
5684 support_record_failure.
5685 (output_r_error): Likewise.
5686 (special): Likewise.
5687 (do_test): Unconditionally return zero.
5688 (TEST_FUNCTION): Remove.
5690 2018-11-09 Joseph Myers <joseph@codesourcery.com>
5692 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
5694 ($(linknamespace-header-tests)): Likewise.
5696 * conform/conformtest.py: New file.
5697 * conform/conformtest.pl: Remove.
5698 * conform/GlibcConform.pm: Likewise.
5699 * conform/glibcconform.py (KEYWORDS_C90): New constant.
5700 (KEYWORDS_C99): Likewise.
5701 (KEYWORDS): Likewise.
5702 * conform/Makefile ($(conformtest-header-tests)): Use
5703 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
5704 option. Use --header instead of --headers.
5705 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
5707 * conform/data/spawn.h-data: Likewise.
5708 * conform/data/fcntl.h-data (openat): Add space after function
5710 * conform/data/wchar.h-data (wcscasecmp): Likewise.
5711 (wcscasecmp_l): Likewise.
5712 * conform/data/termios.h-data (c_cc): Add space after element
5715 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5717 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
5718 instead of manually comparing and reporting mismatching strings.
5719 * misc/tst-ldbl-error.c (do_one_test): Likewise.
5720 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5722 2018-11-08 Joseph Myers <joseph@codesourcery.com>
5724 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
5725 __ASSUME_SOCKETCALL.
5726 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5727 (__ASSUME_SOCKETCALL): Remove.
5728 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5729 (__ASSUME_SOCKETCALL): Likewise.
5730 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5731 (__ASSUME_SOCKETCALL): Likewise.
5732 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5733 (__ASSUME_SOCKETCALL): Likewise.
5734 * sysdeps/unix/sysv/linux/s390/kernel-features.h
5735 (__ASSUME_SOCKETCALL): Likewise.
5736 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5737 (__ASSUME_SOCKETCALL): Likewise.
5738 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5739 (__ASSUME_SOCKETCALL): Likewise.
5741 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
5744 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
5745 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
5746 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
5747 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
5748 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
5751 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
5754 * resolv/tst-resolv-network.c: Add test for getnetbyname.
5756 2018-11-07 Joseph Myers <joseph@codesourcery.com>
5759 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5760 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5761 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5762 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5764 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5766 * support/support_test_compare_string.c
5767 (support_test_compare_string): Fix printf format.
5769 2018-11-07 Florian Weimer <fweimer@redhat.com>
5771 Implement TEST_COMPARE_STRING.
5772 * support/check.h (TEST_COMPARE_STRING): Define.
5773 (support_test_compare_string): Declare.
5774 * support/Makefile (libsupport-routines): Add
5775 support_test_compare_string.
5776 (tests): Add tst-test_compare_string.
5777 * support/support_test_compare_string.c: New file.
5778 * support/tst-test_compare_string.c: Likewise.
5780 2018-11-07 Andreas Schwab <schwab@suse.de>
5783 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
5784 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
5787 2018-11-06 Joseph Myers <joseph@codesourcery.com>
5790 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5791 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
5792 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
5793 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
5796 2018-11-06 Florian Weimer <fweimer@redhat.com>
5799 * posix/Makefile (routines): Add spawn_faction_addchdir.
5800 (tests): Add tst-spawn-chdir.
5801 * posix/Versions (GLIBC_2.29): Add
5802 posix_spawn_file_actions_addchdir_np.
5803 * posix/spawn_faction_addchdir.c: New file.
5804 * posix/spawn_faction_destroy.c
5805 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
5806 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
5807 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
5809 * posix/tst-spawn-chdir.c: New file.
5810 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
5811 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5812 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5813 posix_spawn_file_actions_addchdir_np.
5814 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5816 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5818 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5819 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5821 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5823 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5825 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5827 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5829 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5831 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5832 (GLIBC_2.29): Likewise.
5833 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5834 (GLIBC_2.29): Likewise.
5835 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5836 (GLIBC_2.29): Likewise.
5837 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5838 (GLIBC_2.29): Likewise.
5839 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5842 (GLIBC_2.29): Likewise.
5843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5844 (GLIBC_2.29): Likewise.
5845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5846 (GLIBC_2.29): Likewise.
5847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5848 (GLIBC_2.29): Likewise.
5849 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5851 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5853 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5855 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5856 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5858 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5860 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5862 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5865 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5867 * misc/Makefile (tests): Add tst-ldbl-error.
5868 * misc/tst-ldbl-error.c: New file.
5870 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5872 * misc/Makefile (tests): Add tst-ldbl-warn.
5873 * misc/tst-ldbl-warn.c: New file.
5875 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5877 * argp/Makefile (tests): Add tst-ldbl-argp.
5878 * argp/tst-ldbl-argp.c: New file.
5880 2018-11-05 Arjun Shankar <arjun@redhat.com>
5882 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
5883 __gconv_path_elem and call __gconv_get_path unconditionally.
5885 2018-11-05 Andreas Schwab <schwab@suse.de>
5888 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
5889 creating the first helper thread failed.
5891 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5893 * sysdeps/mach/hurd/msync.c: New file.
5895 2018-11-02 Florian Weimer <fweimer@redhat.com>
5897 * support/shell-container.c (copy_func): Call
5898 support_copy_file_range instead of copy_file_range to support
5899 cross-device copies.
5901 2018-11-02 Florian Weimer <fweimer@redhat.com>
5903 * support/test-container.c: Include <libc-pointer-arith.h> for
5906 2018-11-01 Zong Li <zong@andestech.com>
5908 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
5909 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
5910 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
5911 (__FP_FRAC_SET_8): Add implementation for RV32 use.
5913 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
5914 variable to avoid overlap arguments.
5916 2018-11-01 Joseph Myers <joseph@codesourcery.com>
5918 * posix/bug-regex22.c (main): Use puts with distinct error
5919 messages for unexpected success of re_compile_pattern, not printf
5920 with NULL argument to %s.
5922 * stdio-common/bug22.c: Include <libc-diag.h>.
5923 (do_test): Disable -Wformat-overflow= warnings around fprintf
5924 calls outputting more than INT_MAX characters.
5925 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
5926 around printf call with NULL %s argument.
5929 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
5930 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
5932 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5933 (__ASSUME_RECVMSG_SYSCALL): Likewise.
5934 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5935 (__ASSUME_SENDTO_SYSCALL): Likewise.
5936 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5937 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
5939 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5940 (__ASSUME_CONNECT_SYSCALL): Likewise.
5941 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5942 (__ASSUME_RECVFROM_SYSCALL): Likewise.
5943 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
5945 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
5947 [__LINUX_KERNEL_VERSION >= 0x040400]
5948 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5949 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
5952 (setsockopt): Likewise.
5954 2018-11-01 Fredrik Noring <noring@nocrew.org>
5956 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
5957 with the ISA override.
5959 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
5961 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
5964 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
5966 * manual/errno.texi (EIEIO): Document how translators should
5967 translate the error message.
5968 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
5969 printing trailing whitespaces refused by git.
5970 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
5971 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5972 * hurd/Makefile (user-interfaces): Add pci.
5974 2018-10-30 Joseph Myers <joseph@codesourcery.com>
5976 * conform/linknamespace.py: New file.
5977 * conform/linknamespace.pl: Remove file.
5978 * conform/Makefile ($(linknamespace-header-tests)): Use
5979 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
5982 2018-10-30 Florian Weimer <fweimer@redhat.com>
5984 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
5987 2018-10-30 Florian Weimer <fweimer@redhat.com>
5989 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
5991 2018-10-30 Florian Weimer <fweimer@redhat.com>
5993 * stdlib/tst-strtod-overflow.c (do_test): Switch to
5994 support_blob_repeat.
5996 2018-10-30 Florian Weimer <fweimer@redhat.com>
5998 Avoid spurious test failures in stdlib/test-bz22786.
5999 * support/Makefile (libsupport-routines): Add blob_repeat.
6000 (tests): Add tst-support_blob_repeat.
6001 * support/blob_repeat.h: New file.
6002 * support/blob_repeat.c: Likewise.
6003 * support/tst-support_blob_repeat.c: Likewise.
6004 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
6005 support_blob_repeat_allocate.
6007 2018-10-30 Andreas Schwab <schwab@suse.de>
6010 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
6011 Don't use tail call.
6012 * elf/tst-unwind-main.c: New file.
6013 * elf/Makefile (tests): Add tst-unwind-main.
6014 (CFLAGS-tst-unwind-main.c): Define.
6016 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
6019 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
6021 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
6023 2018-10-29 Joseph Myers <joseph@codesourcery.com>
6025 * conform/glibcconform.py: Do not import shutil.
6026 (list_exported_functions): Use tempfile.TemporaryDirectory instead
6029 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
6030 critic_missing for versions before 3.4.
6031 * configure: Regenerated.
6032 * manual/install.texi (Tools for Compilation): Document
6033 requirement for Python to build glibc.
6034 * INSTALL: Regenerated.
6035 * Rules [PYTHON]: Make code unconditional.
6036 * benchtests/Makefile [PYTHON]: Likewise.
6037 * conform/Makefile [PYTHON]: Likewise.
6038 * manual/Makefile [PYTHON]: Likewise.
6039 * math/Makefile [PYTHON]: Likewise.
6041 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6043 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
6044 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
6045 answer to interrupt_operation, return EIEIO instead of EINTR.
6046 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
6047 _hurd_intr_rpc_msg_about_to global point to start of controlled
6048 assembly snippet. Make it check canceled flag.
6049 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
6050 the _hurd_intr_rpc_msg_about_to point.
6051 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
6052 issue, remove cancel flag check.
6054 2018-10-26 Joseph Myers <joseph@codesourcery.com>
6056 * scripts/build-many-glibcs.py: Remove compatibility for missing
6057 os.cpu_count and re.fullmatch.
6059 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
6062 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
6063 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
6064 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
6066 2018-10-25 Joseph Myers <joseph@codesourcery.com>
6068 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
6071 2018-10-25 Florian Weimer <fweimer@redhat.com>
6075 XFAIL siginfo_t si_band conform test on sparc64.
6076 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
6077 (__SI_BAND_TYPE): Only override long int default type on sparc64.
6078 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6079 (conformtest-xfail-conds): Add sparc64-linux.
6080 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
6082 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
6084 2018-10-25 Joseph Myers <joseph@codesourcery.com>
6086 * elf/elf.h (NT_MIPS_DSP): New macro.
6087 (NT_MIPS_FP_MODE): Likewise.
6089 2018-10-25 Zong Li <zong@andestech.com>
6091 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
6092 name by adding the file extension (.so).
6094 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
6096 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
6097 (test-xfail-ISO11/threads.h/linknamespace,
6098 test-xfail-ISO11/threads.h/conform): Add.
6100 2018-10-24 Joseph Myers <joseph@codesourcery.com>
6102 * math/gen-libm-test.py: Import os.
6103 (ALL_FLOATS_MANUAL): New constant.
6104 (ALL_FLOATS_SUFFIX): Likewise.
6105 (Ulps.all_functions): New function.
6106 (real_all_ulps): Likewise.
6107 (generate_err_table_sub): Likewise.
6108 (generate_err_table): Likewise.
6109 (main): Handle -s and -m options.
6110 * manual/libm-err-tab.pl: Remove.
6111 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
6112 instead of libm-err-tab.pl.
6113 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
6115 * manual/install.texi (Tools for Compilation): Document
6116 requirement for Python to build manual.
6117 * INSTALL: Regenerated.
6119 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
6121 * bits/time64.h: New file.
6122 * include/time.h: Replace internal_time_t with __time64_t.
6123 * posix/bits/types (__time64_t): Add.
6124 * stdlib/Makefile: Add bits/time64.h to includes.
6125 * time/tzfile.c: Replace internal_time_t with __time64_t.
6127 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6129 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
6130 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
6131 __posix_spawn_file_actions_init, __posix_spawnattr_init,
6132 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
6133 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
6135 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
6136 * posix/spawn_faction_addclose.c
6137 (__posix_spawn_file_actions_addclose): Add hidden definition.
6138 * posix/spawn_faction_adddup2.c
6139 (__posix_spawn_file_actions_adddup2): Likewise.
6140 * posix/spawn_faction_destroy.c
6141 (__posix_spawn_file_actions_destroy): Likewise.
6142 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
6144 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
6145 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
6146 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
6148 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
6149 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
6152 2018-10-24 Andreas Schwab <schwab@suse.de>
6155 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
6157 * elf/cache.c (print_cache): Likewise.
6159 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
6161 * bits/timesize.h: New file.
6162 * stdlib/Makefile (headers): Add bits/timesize.h.
6163 * sysdeps/unix/sysv/linux/bits/msq-pad.h
6164 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
6165 * sysdeps/unix/sysv/linux/bits/sem-pad.h
6166 (__SEM_PAD_AFTER_TIME): Likewise.
6167 * sysdeps/unix/sysv/linux/bits/shm-pad.h
6168 (__SHM_PAD_AFTER_TIME): Likewise.
6169 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
6170 (__MSQ_PAD_BEFORE_TIME): Likewise.
6171 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
6172 (__SEM_PAD_BEFORE_TIME): Likewise.
6173 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
6174 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
6175 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
6176 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
6177 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
6178 (__MSQ_PAD_BEFORE_TIME): Likewise.
6179 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
6180 (__SEM_PAD_BEFORE_TIME): Likewise.
6181 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
6182 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
6183 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
6184 (__MSQ_PAD_BEFORE_TIME): Likewise.
6185 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
6186 (__SEM_PAD_BEFORE_TIME): Likewise.
6187 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
6188 (__SHM_PAD_BEFORE_TIME): Likewise.
6189 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
6190 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6191 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
6193 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
6195 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
6196 USE_RDTSCP is defined.
6197 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
6198 USE_RDTSCP is defined.
6200 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6202 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
6206 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
6207 independently of other flags.
6209 2018-10-23 Florian Weimer <fweimer@redhat.com>
6211 * time/tst-mktime2.c (N_STRINGS): Remove.
6212 (set_timezone): New function.
6213 (spring_forward_gap): Call it. Use FAIL_EXIT1.
6214 (mktime_test1): Report localtime failure and check errno value.
6216 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
6217 (do_test): Remove alarm call. Use set_timezone and array_length.
6219 2018-10-23 Andreas Schwab <schwab@suse.de>
6221 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
6222 (__start_context): Use END instead of PSEUDO_END.
6224 2018-10-22 Joseph Myers <joseph@codesourcery.com>
6226 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
6229 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6233 * wcsmbs/c32rtomb.c: New file.
6234 * wcsmbs/mbrtoc32.c: Likewise.
6235 * wcsmbs/tst-c32-state.c: Likewise.
6236 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
6237 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
6238 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
6239 (tests): Add tst-c32-state.
6240 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
6243 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
6245 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
6246 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
6248 2018-10-19 Joseph Myers <joseph@codesourcery.com>
6251 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
6252 pair and return 0 in that case, and use saved character to
6253 interpret following character.
6254 * wcsmbs/tst-c16-surrogate.c: New file.
6255 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
6256 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
6257 Depend on $(gen-locales)
6259 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
6262 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
6263 (struct siginfo_t): Use correct type for si_band.
6265 2018-10-19 Florian Weimer <fweimer@redhat.com>
6268 * resource/bits/types/struct_rusage.h (struct rusage): Update
6269 comment on struct. Remove extraneous field comment.
6271 2018-10-18 David S. Miller <davem@davemloft.net>
6273 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
6274 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
6275 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
6276 sysdep_routines in subdir elf.
6277 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
6278 version for __vdso_clock_gettime.
6279 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
6281 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
6282 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6284 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
6286 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
6288 * sysdeps/i386/init-arch.h: Removed.
6289 * sysdeps/i386/i586/init-arch.h: Likewise.
6290 * sysdeps/i386/i686/init-arch.h: Likewise.
6291 * sysdeps/i386/i686/hp-timing.h: Likewise.
6292 * sysdeps/x86_64/hp-timing.h: Likewise.
6293 * sysdeps/i386/isa.h: New file.
6294 * sysdeps/i386/i586/isa.h: Likewise.
6295 * sysdeps/i386/i686/isa.h: Likewise.
6296 * sysdeps/x86_64/isa.h: Likewise.
6297 * sysdeps/x86/hp-timing.h: New file.
6298 * sysdeps/x86/init-arch.h: Include <isa.h>.
6300 2018-10-17 Joseph Myers <joseph@codesourcery.com>
6302 * math/libm-test-pow.inc (pow_test_data): Do not allow
6303 divide-by-zero exception for pow(+/- 0, -Inf).
6305 2018-10-17 Zack Weinberg <zackw@panix.com>
6307 * manual/job.texi (Job Control is Optional): Remove node, as
6308 job control has not been optional in quite some time.
6309 (Job Control): Mention briefly that systems older than
6310 POSIX.1-2001 might not support job control.
6311 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
6312 defined on systems conforming to POSIX.1-2001.
6314 2018-10-17 Arjun Shankar <arjun@redhat.com>
6317 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
6319 * (__gconv_read_conf): Mark function static.
6320 * (once): New static variable.
6321 * (__gconv_load_conf): New function.
6322 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
6323 * iconv/gconv_db.c (once): Remove static variable.
6324 * (__gconv_compare_alias): Use __gconv_load_conf instead of
6326 * (__gconv_find_transform): Likewise.
6327 * iconv/tst-iconv-mt.c: New test.
6328 * iconv/Makefile: Add tst-iconv_mt.
6330 2018-10-17 Joseph Myers <joseph@codesourcery.com>
6332 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6334 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
6335 (shmatt_t): Define as __syscall_ulong_t.
6336 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
6337 and [__SHM_PAD_AFTER_TIME].
6338 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
6339 Define shm_segsz and associated padding based on
6340 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
6341 Use __syscall_ulong_t instead of unsigned long int.
6342 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
6344 [__USE_MISC] (struct shm_info): Likewise.
6345 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
6346 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
6347 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
6348 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
6349 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
6350 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6351 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
6352 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
6353 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
6354 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
6355 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
6357 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6359 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
6360 (SHMLBA): Remove macro.
6361 (__getpagesize): Remove function declaration.
6362 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
6364 (SHMLBA): Remove macro.
6365 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
6367 (SHMLBA): Remove macro.
6368 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
6370 (SHMLBA): Remove macro.
6371 (__getpagesize): Remove function declaration.
6372 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
6374 (SHMLBA): Remove macro.
6375 (__getshmlba): Remove function declaration.
6376 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
6377 (SHMLBA): Remove macro.
6378 (__getpagesize): Remove function declaration.
6379 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
6380 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
6381 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
6382 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
6383 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
6384 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
6385 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
6386 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
6387 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
6388 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
6390 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
6393 * nptl/tst-mutex10.c: New File.
6394 * nptl/Makefile (tests): Add tst-mutex10.
6395 (tst-mutex10-ENV): New variable.
6396 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
6397 Ensure that elision path is used if elision is available.
6398 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
6400 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
6402 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
6403 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
6404 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
6405 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
6407 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
6408 (__pthread_mutex_cond_lock_adjust): Likewise.
6409 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
6411 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
6412 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6413 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6414 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
6416 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
6417 Use atomic_load_relaxed and atomic_store_relaxed.
6418 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
6419 Use atomic_store_relaxed.
6421 2018-10-17 Andreas Schwab <schwab@suse.de>
6423 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
6424 * crypt/badsalttest.c (TIMEOUT): Likewise.
6425 * crypt/sha256c-test.c (TIMEOUT): Likewise.
6426 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
6427 * io/test-lfs.c (TIMEOUT): Likewise.
6428 * libio/tst-atime.c (TIMEOUT): Likewise.
6429 * localedata/tst-leaks.c (TIMEOUT): Likewise.
6430 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
6431 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
6432 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
6433 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
6434 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
6435 * nptl/tst-cond11.c (TIMEOUT): Likewise.
6436 * nptl/tst-cond14.c (TIMEOUT): Likewise.
6437 * nptl/tst-cond15.c (TIMEOUT): Likewise.
6438 * nptl/tst-cond24.c (TIMEOUT): Likewise.
6439 * nptl/tst-cond25.c (TIMEOUT): Likewise.
6440 * nptl/tst-kill2.c (TIMEOUT): Likewise.
6441 * nptl/tst-kill3.c (TIMEOUT): Likewise.
6442 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
6443 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
6444 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
6445 * nptl/tst-once2.c (TIMEOUT): Likewise.
6446 * nptl/tst-once3.c (TIMEOUT): Likewise.
6447 * nptl/tst-once4.c (TIMEOUT): Likewise.
6448 * nptl/tst-robust8.c (TIMEOUT): Likewise.
6449 * nptl/tst-robust9.c (TIMEOUT): Likewise.
6450 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
6451 * nptl/tst-sem14.c (TIMEOUT): Likewise.
6452 * nptl/tst-sem6.c (TIMEOUT): Likewise.
6453 * nptl/tst-signal3.c (TIMEOUT): Likewise.
6454 * nptl/tst-spin4.c (TIMEOUT): Likewise.
6455 * nptl/tst-tls3.c (TIMEOUT): Likewise.
6456 * nptl/tst-tls4.c (TIMEOUT): Likewise.
6457 * posix/tst-chmod.c (TIMEOUT): Likewise.
6458 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
6459 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
6460 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
6461 * posix/tst-regex2.c (TIMEOUT): Likewise.
6462 * posix/tst-waitid.c (TIMEOUT): Likewise.
6463 * rt/tst-aio.c (TIMEOUT): Likewise.
6464 * rt/tst-aio10.c (TIMEOUT): Likewise.
6465 * rt/tst-aio4.c (TIMEOUT): Likewise.
6466 * rt/tst-aio5.c (TIMEOUT): Likewise.
6467 * rt/tst-aio6.c (TIMEOUT): Likewise.
6468 * rt/tst-aio64.c (TIMEOUT): Likewise.
6469 * rt/tst-aio7.c (TIMEOUT): Likewise.
6470 * rt/tst-aio9.c (TIMEOUT): Likewise.
6471 * rt/tst-clock.c (TIMEOUT): Likewise.
6472 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
6473 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
6474 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
6475 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
6476 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
6477 * rt/tst-timer4.c (TIMEOUT): Likewise.
6478 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
6479 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
6480 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
6481 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
6482 * time/tst-ftime.c (TIMEOUT): Likewise.
6483 * timezone/tst-tzset.c (TIMEOUT): Likewise.
6485 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
6487 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
6488 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
6491 2018-10-15 Joseph Myers <joseph@codesourcery.com>
6493 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6495 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
6496 instead of <bits/wordsize.h>.
6497 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
6498 and [__SEM_PAD_AFTER_TIME].
6499 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
6500 __syscall_ulong_t instead of unsigned long int.
6501 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
6502 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
6503 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
6504 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
6505 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
6506 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
6507 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
6508 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
6509 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6510 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6511 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6513 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
6515 regex: simplify by using intprops.h
6517 * posix/regex_internal.h [_LIBC]: Include intprops.h.
6518 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
6519 intprops.h defines them.
6521 regex: __builtin_expect → __glibc_unlikely
6523 This refactoring was prompted by a problem when the regex code is
6524 used as part of Gnulib and when the builder’s compiler does not grok
6525 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
6526 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
6527 Although this refactoring does not fix the problem directly,
6528 we might as well have Gawk use the now-preferred glibc style for when
6529 __builtin_expect is unavailable.
6530 * posix/regex_internal.h (BE): Remove.
6531 All uses replaced by __glibc_unlikely or __glibc_likely.
6533 2018-10-11 Joseph Myers <joseph@codesourcery.com>
6535 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6537 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
6538 instead of <bits/wordsize.h>.
6539 (msgqnum_t): Define as __syscall_ulong_t.
6540 (msglen_t): Likewise.
6541 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
6542 and [__MSQ_PAD_AFTER_TIME].
6543 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
6544 __syscall_ulong_t instead of unsigned long int.
6545 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
6546 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
6547 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
6548 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
6549 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
6550 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
6551 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
6552 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
6553 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
6554 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
6555 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6557 2018-10-10 Joseph Myers <joseph@codesourcery.com>
6559 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
6560 (struct shmid_ds): Condition padding after time fields on
6562 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
6563 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
6564 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
6566 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
6567 (struct semid_ds): Condition padding after time fields on
6569 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
6570 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
6571 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
6572 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
6574 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
6575 (struct msqid_ds): Condition padding after time fields on
6577 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
6578 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
6579 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
6580 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
6582 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6584 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
6586 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6588 * libio/tst-readline.c (TIMEOUT): Define.
6590 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
6592 mktime fix for Gnulib + coreutils
6594 This fix affects only Gnulib. Problem discovered when
6595 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
6597 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
6598 Do not define since it is not used. Defining an unused static
6599 function prompts a warning from GCC when Coreutils is configured
6600 with --enable-gcc-warnings.
6602 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6604 * benchtests/scripts/compare_bench.py (main): set float type on
6607 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
6610 * localedata/locales/kl_GL (mon): Update, the relative case.
6611 (alt_mon): Add, fill with month names in the nominative case.
6612 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
6613 (d_fmt): Set to "%b %d %Y".
6615 2018-10-04 Joseph Myers <joseph@codesourcery.com>
6617 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
6618 <bits/mman-linux.h>.
6619 (PROT_READ): Don't define here.
6620 (PROT_WRITE): Likewise.
6621 (PROT_EXEC): Likewise.
6622 (PROT_NONE): Likewise.
6623 (PROT_GROWSDOWN): Likewise.
6624 (PROT_GROWSUP): Likewise.
6625 (MAP_SHARED): Likewise.
6626 (MAP_PRIVATE): Likewise.
6627 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
6628 [__USE_MISC] (MAP_FILE): Likewise.
6629 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
6630 [__USE_MISC] (MAP_ANON): Likewise.
6631 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
6632 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
6633 (MCL_CURRENT): Likewise.
6634 (MCL_FUTURE): Likewise.
6635 (MCL_ONFAULT): Likewise.
6636 [__USE_MISC] (MADV_NORMAL): Likewise.
6637 [__USE_MISC] (MADV_RANDOM): Likewise.
6638 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
6639 [__USE_MISC] (MADV_WILLNEED): Likewise.
6640 [__USE_MISC] (MADV_DONTNEED): Likewise.
6641 [__USE_MISC] (MADV_FREE): Likewise.
6642 [__USE_MISC] (MADV_REMOVE): Likewise.
6643 [__USE_MISC] (MADV_DONTFORK): Likewise.
6644 [__USE_MISC] (MADV_DOFORK): Likewise.
6645 [__USE_MISC] (MADV_HWPOISON): Likewise.
6646 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
6647 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
6648 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
6649 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
6650 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
6651 (__MAP_ANONYMOUS): New macro.
6652 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
6653 <bits/mman-linux.h> inclusion.
6654 (MAP_FIXED): Likewise.
6655 (MS_SYNC): Likewise.
6656 (MS_ASYNC): Likewise.
6657 (MS_INVALIDATE): Likewise.
6658 [__USE_MISC] (MADV_MERGEABLE): Likewise.
6659 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
6660 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
6661 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
6662 [__USE_MISC] (MADV_DONTDUMP): Likewise.
6663 [__USE_MISC] (MADV_DODUMP): Likewise.
6664 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
6665 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
6668 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
6670 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
6671 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
6672 Add test-nldbl-redirect.
6673 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
6674 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
6675 $(objpfx)libnldbl_nonshared.a.
6677 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
6679 * support/support.h (support_objdir_elf_ldso): New variable.
6680 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
6681 * support/Makefile (CFLAGS-support_paths.c): Add definition
6682 for OBJDIR_ELF_LDSO_PATH.
6683 * support/test-container.c (main): Search for the ld.so
6684 which is also used by the testsuite.
6686 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
6689 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
6690 should be "sap" rather than "sab".
6691 (day): Fix spelling of Sunday, should be "sapaat" rather than
6694 2018-10-02 Joseph Myers <joseph@codesourcery.com>
6696 * math/libm-test-fma.inc (fma_test_data): Add more tests.
6698 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
6701 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
6702 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
6703 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
6705 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6707 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
6709 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
6711 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
6713 (CFLAGS-elision-unlock.c): Likewise.
6714 (CFLAGS-elision-timed.c): Likewise.
6715 (CFLAGS-elision-trylock.c): Likewise.
6716 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
6718 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6721 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
6722 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
6723 new fd_to_filename interface.
6724 * libio/freopen64.c (freopen64): Likewise.
6725 * libio/tst-memstream.h: New file.
6726 * libio/tst-memstream4.c: Likewise.
6727 * libio/tst-wmemstream4.c: Likewise.
6728 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
6729 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
6730 and remove internal dynamic allocation.
6732 2018-10-01 Joseph Myers <joseph@codesourcery.com>
6734 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
6735 (MREMAP_MAYMOVE): Do not define here.
6736 [__USE_GNU] (MREMAP_FIXED): Likewise.
6737 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
6738 (MREMAP_MAYMOVE): Define here instead.
6739 [__USE_GNU] (MREMAP_FIXED): Likewise.
6740 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
6741 (MREMAP_MAYMOVE): Remove.
6742 [__USE_GNU] (MREMAP_FIXED): Likewise.
6744 2018-09-28 Joseph Myers <joseph@codesourcery.com>
6746 * math/fromfp.h: Do not include <math_private.h>.
6747 * math/s_cacosh_template.c: Likewise.
6748 * math/s_casin_template.c: Likewise.
6749 * math/s_casinh_template.c: Likewise.
6750 * math/s_ccos_template.c: Likewise.
6751 * math/s_cproj_template.c: Likewise.
6752 * math/s_fdim_template.c: Likewise.
6753 * math/s_fmaxmag_template.c: Likewise.
6754 * math/s_fminmag_template.c: Likewise.
6755 * math/s_iseqsig_template.c: Likewise.
6756 * math/s_ldexp_template.c: Likewise.
6757 * math/s_nextdown_template.c: Likewise.
6758 * math/w_log1p_template.c: Likewise.
6759 * math/w_scalbln_template.c: Likewise.
6760 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
6761 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
6762 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
6763 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
6764 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
6765 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
6766 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
6767 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
6768 * sysdeps/i386/fpu/s_atanl.c: Likewise.
6769 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
6770 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
6771 * sysdeps/i386/fpu/s_fdim.c: Likewise.
6772 * sysdeps/i386/fpu/s_logbl.c: Likewise.
6773 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6774 * sysdeps/i386/fpu/s_significandl.c: Likewise.
6775 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
6776 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
6777 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6778 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6779 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
6780 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6781 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6782 * sysdeps/ieee754/k_standardf.c: Likewise.
6783 * sysdeps/ieee754/k_standardl.c: Likewise.
6784 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6785 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
6786 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
6787 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
6788 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
6789 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
6790 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6791 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6792 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6793 * sysdeps/ieee754/s_signgam.c: Likewise.
6794 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
6795 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
6796 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
6797 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6798 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6799 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
6800 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6801 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
6802 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6803 * sysdeps/riscv/rvd/s_finite.c: Likewise.
6804 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
6805 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
6806 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
6807 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
6808 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
6809 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
6810 * sysdeps/riscv/rvf/fegetround.c: Likewise.
6811 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
6812 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
6813 * sysdeps/riscv/rvf/fesetround.c: Likewise.
6814 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
6815 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
6816 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
6817 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6818 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
6819 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6820 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
6821 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
6822 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
6823 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
6824 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
6825 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
6826 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
6827 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
6828 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6829 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6830 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
6832 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
6834 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
6837 * sysdeps/i386/dl-cet.c: Removed.
6838 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
6840 (_dl_runtime_profile_shstk): Likewise.
6841 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
6842 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
6844 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6847 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
6848 do_test_with_invalid_iov): New tests.
6849 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
6850 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
6851 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
6853 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
6854 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
6855 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
6857 2018-09-27 Joseph Myers <joseph@codesourcery.com>
6859 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6860 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
6861 (MATH_REDIRECT_BINARY_ARGS): New macro.
6862 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6863 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
6864 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
6866 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
6867 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6868 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
6869 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6870 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6871 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6872 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
6875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
6877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
6878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
6879 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
6880 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
6881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
6883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
6885 * sysdeps/generic/math_private_calls.h
6886 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
6887 Do not declare and define as an inline function.
6888 * math/divtc3.c (__divtc3): Use copysign functions instead of
6889 __copysign variants.
6890 * math/multc3.c (__multc3): Likewise.
6891 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
6892 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
6893 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6894 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6896 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6897 (__ieee754_yn): Likewise.
6898 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6899 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
6900 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6901 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6902 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
6904 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
6905 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6907 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6909 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6911 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6912 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6914 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6915 (__ieee754_ynf): Likewise.
6916 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
6917 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6918 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
6919 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6921 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6922 (__ieee754_ynl): Likewise.
6923 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6924 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6925 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6927 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6928 (__ieee754_ynl): Likewise.
6929 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
6930 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6931 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6932 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6934 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6936 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
6937 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6938 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
6939 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6940 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6942 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6943 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
6944 using MATH_REDIRECT.
6945 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
6947 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
6948 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6949 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6950 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
6951 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6952 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6953 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
6955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
6956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
6957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
6958 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6959 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6960 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6961 (round): Redirect to __round.
6962 (__roundl): Call round instead of __round.
6963 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
6965 [_ARCH_PWR5X] (__roundf): Likewise.
6966 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
6967 functions instead of __round variants.
6968 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6969 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
6971 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
6973 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
6975 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
6976 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
6978 (__ieee754_expl): Call roundl instead of __roundl.
6980 2018-09-27 Andreas Schwab <schwab@suse.de>
6983 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
6984 (do_test): Make st1 static.
6986 2018-09-26 Andreas Schwab <schwab@suse.de>
6989 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
6990 * elf/Makefile (tests): Add tst-unwind-ctor.
6991 (modules-names): Add tst-unwind-ctor-lib.
6992 ($(objpfx)tst-unwind-ctor): Depend on
6993 $(objpfx)tst-unwind-ctor-lib.so.
6995 2018-09-26 Joseph Myers <joseph@codesourcery.com>
6997 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
6998 file. Most contents moved from ....
6999 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
7000 and include <bits/mman-map-flags-generic.h>.
7001 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7002 (sysdep_headers): Add bits/mman-map-flags-generic.h.
7003 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
7004 <bits/mman-map-flags-generic.h>.
7005 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
7006 macros defined in <bits/mman-map-flags-generic.h>.
7007 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
7008 <bits/mman-map-flags-generic.h>.
7009 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
7010 defined in <bits/mman-map-flags-generic.h>.
7012 2018-09-26 Andreas Schwab <schwab@suse.de>
7014 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
7017 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
7018 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7019 Fangrui Song <maskray@google.com>
7022 * config.make.in (have-textrel_ifunc): New define.
7023 * configure.ac: Add check if linker supports textrel relocation with
7025 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
7027 (CFLAGS-tst-ifunc-textrel.c): New rule.
7028 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
7029 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
7030 * elf/tst-ifunc-textrel.c: New file.
7032 2018-09-25 Joseph Myers <joseph@codesourcery.com>
7034 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7035 <bits/procfs-prregset.h>.
7036 (prgregset_t): Define using __prgregset_t.
7037 (prfpregset_t): Define using __prfpregset_t.
7038 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7039 (sysdep_headers): Add bits/procfs-prregset.h.
7040 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
7041 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
7042 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
7043 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
7045 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7046 <bits/procfs-id.h> and <bits/procfs-extra.h>.
7047 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
7049 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7050 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
7051 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
7052 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
7053 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
7054 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
7055 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
7056 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
7057 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
7058 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
7059 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
7060 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
7061 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
7062 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
7063 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
7064 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
7065 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
7066 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
7067 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
7068 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
7069 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
7070 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
7071 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7072 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
7074 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
7075 AArch64 version. Include <bits/procfs.h>.
7076 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7077 (sysdep_headers): Add bits/procfs.h.
7078 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
7079 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
7080 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
7081 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
7082 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
7083 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
7084 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
7085 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
7086 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
7087 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
7088 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
7089 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
7090 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
7091 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
7092 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
7093 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7094 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
7096 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7098 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
7101 2018-09-25 Arjun Shankar <arjun@redhat.com>
7103 * iconv/gconv_int.h (__gconv_path_elem): Remove.
7104 (__gconv_max_path_elem_len): Likewise.
7105 (__gconv_nmodules): Likewise.
7106 (__gconv_get_path): Likewise.
7107 (path_elem): Move to ...
7108 * iconv/gconv_conf.c: ... here.
7109 (__gconv_get_path): Mark function static.
7110 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
7111 * iconv/gconv_open.c: ... here.
7113 2018-09-24 Andreas Schwab <schwab@suse.de>
7115 * scripts/haveversions.awk: New file.
7116 * Makerules ($(common-objpfx)Versions.def)
7117 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7118 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7120 * Makeconfig ($(common-objpfx)Versions.def)
7121 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7122 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7124 ($(common-objpfx)Versions.mk): New rule. Include it.
7125 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
7126 Emit error if build-obsolete-nsl = yes.
7127 * manual/install.texi (Configuring and compiling): Describe
7128 --enable-obsolete-nsl as unavaiable after version 2.28.
7129 * INSTALL: Regenerate.
7131 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7133 * NEWS: Add note about new TLE support on powerpc64le.
7134 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
7135 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
7137 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
7138 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
7139 * sysdeps/powerpc/powerpc32/sysdep.h,
7140 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
7141 ABORT_TRANSACTION): Remove macros.
7142 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
7143 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
7144 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
7145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
7146 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7147 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
7149 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
7151 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
7154 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
7155 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
7156 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
7157 which is the same as in it_IT.
7158 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
7159 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
7161 2018-09-20 Joseph Myers <joseph@codesourcery.com>
7163 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7164 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
7165 using MATH_REDIRECT.
7166 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
7168 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
7169 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7170 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
7171 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7172 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7173 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
7175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
7176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
7177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
7178 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7179 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7180 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
7181 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
7182 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
7183 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
7184 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
7185 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7186 (ceil): Redirect to __ceil.
7187 (floor): Redirect to __floor.
7188 (trunc): Redirect to __trunc.
7189 (__truncl): Call trunc instead of __trunc.
7190 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
7192 [_ARCH_PWR5X] (__truncf): Likewise.
7193 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
7194 trunc functions instead of __trunc variants.
7195 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7197 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7199 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7201 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7204 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
7205 [__i586__ || __pentium__].
7206 [__i486__]: Handle explicitly.
7207 (HAS_CPUID): Define to 1 if above macros are undefined.
7208 (HAS_I586): Likewise.
7209 (HAS_I686): Likewise.
7211 2018-09-20 Florian Weimer <fweimer@redhat.com>
7213 * misc/tst-gethostid.c: New file.
7214 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
7215 (tst-gethostid): Link with -ldl.
7217 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
7219 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
7220 value from gethostbyname_r.
7222 2018-09-19 Carlos O'Donell <carlos@redhat.com>
7224 * stdlib/tst-setcontext9.c (f1): Rename to...
7226 (f1b): New function implementing lower half of f1 in alternate stack.
7228 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
7230 Fix mktime localtime offset confusion
7232 * include/time.h (__mktime_internal): The localtime offset is now
7233 of type long int instead of time_t. This is the longstanding type
7234 in glibc, and it is more than enough to represent difference
7235 between localtime and gmtime even if it is 32 bits and time_t is
7236 64. Changing it now will let us avoid an unnecessary change when
7237 time_t is widened to 64 bits on 32-bit platforms.
7238 * time/mktime-internal.h (mktime_offset_t): Now long int.
7240 Merge mktime, timegm from upstream Gnulib
7241 [BZ #23603][BZ #16346]
7242 This fixes some obscure problems with integer overflow.
7243 Although it looks scary, it is almost all a byte-for-byte copy
7244 from Gnulib, and the Gnulib code has been tested reasonably well.
7245 * include/intprops.h: New file, copied from Gnulib.
7246 * include/verify.h, time/mktime-internal.h:
7247 New tiny files, simplified from Gnulib.
7248 * time/mktime.c: Copy from Gnulib. This has the following changes:
7249 Do not include config.h if DEBUG_MKTIME is nonzero.
7250 Include stdbool.h, intprops.h, verify.h.
7251 Include string.h only if needed.
7252 Include stdlib.h on MS-Windows.
7253 Include mktime-internal.h.
7254 (DEBUG_MKTIME): Default to 0, and simplify later uses.
7255 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
7256 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
7257 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
7258 simplify later conditionals; default the others to zero. Use
7259 these conditionals to express only the code needed on the current
7260 platform. In uses of these conditionals, explicitly spell out how
7261 _LIBC affects things, so it’s easier to review from a glibc
7263 (WRAPV): Remove; no longer needed now that we have
7264 systematic overflow checking.
7265 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
7266 compartmentalize tzset issues. Move system-dependent tzsettish
7267 code here from mktime.
7268 (verify): Remove; now done by verify.h. All uses changed.
7269 (long_int): Use a more-conservative definition, to avoid
7271 (SHR): Remove, replacing with ...
7272 (shr): New function, which means we needn’t worry about side
7273 effects in args, and conversion analysis is simpler.
7274 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
7275 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
7276 (time_t_avg, time_t_add_ok): Remove.
7277 (mktime_min, mktime_max): New constants.
7278 (leapyear, isdst_differ): Use bool for booleans.
7279 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
7280 Use long_int, not time_t, for mktime differences.
7281 (long_int_avg): New function, replacing time_t_avg.
7282 INT_ADD_WRAPV replaces time_t_add_ok.
7283 (guess_time_tm): 6th arg is now long_int, not time_t const *.
7285 (convert_time): New function.
7286 (ranged_convert): Use it.
7287 (__mktime_internal): Last arg now points to mktime_offset_t, not
7288 time_t. All uses changed. This is a no-op on glibc, where
7289 mktime_offset_t is always time_t. Use int, not time_t, for UTC
7290 offset guess. Directly check for integer overflow instead of
7291 using a heuristic that works only 99.9...% of the time.
7292 Access *OFFSET only once, to avoid an unlikely race if the
7293 compiler delays a load and if this cascades into a signed integer
7295 (mktime): Move tzsettish code to my_tzset, and move
7296 localtime_offset to within mktime so that it doesn’t
7297 need a separate ifdef.
7298 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
7299 instead of localtime.
7300 * time/timegm.c: Copy from Gnulib. This has the following changes:
7301 Include mktime-internal.h.
7302 [!_LIBC]: Include config.h and time.h. Do not include
7303 timegm.h or time_r.h. Make __mktime_internal a macro,
7304 and include mktime-internal.h to get its declaration.
7305 (timegm): Temporary is now mktime_offset_t, not time_t.
7306 This affects only Gnulib.
7308 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
7311 * string/test-strstr.c (pr23637): New function.
7312 (test_main): Add tests with longer needles.
7313 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
7314 * string/strstr.c (AVAILABLE): Likewise.
7316 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7318 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
7320 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7322 * NEWS: Mention pow improvements.
7323 * math/Makefile (type-double-routines): Add e_pow_log_data.
7324 * sysdeps/generic/math_private.h (__exp1): Remove.
7325 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
7326 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
7327 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
7329 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
7330 (exp_inline): Remove.
7331 (__ieee754_exp): Only single double input is handled.
7332 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
7333 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
7334 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
7335 (__pow_log_data): Define.
7336 * sysdeps/ieee754/dbl-64/upow.h: Remove.
7337 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
7338 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
7339 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
7341 (CFLAGS-e_pow-fma4.c): Likewise.
7343 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
7345 Simplify tzfile fstat failure code
7347 * time/tzfile.c (__tzfile_read): Simplify slightly.
7349 Fix tzfile low-memory assertion failure
7351 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
7352 when registering time zone abbreviations.
7354 2018-09-18 Joseph Myers <joseph@codesourcery.com>
7356 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
7357 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
7358 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
7359 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
7360 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
7361 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
7362 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
7363 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7364 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7366 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
7368 (__ceill): Call ceil instead of __ceil.
7369 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
7371 (__floorl): Call floor instead of __floor.
7373 2018-09-17 Joseph Myers <joseph@codesourcery.com>
7375 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7376 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
7377 using MATH_REDIRECT.
7378 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
7380 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
7381 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7382 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7383 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
7384 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7385 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7386 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7387 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
7388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
7389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
7390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
7391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
7392 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7393 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7394 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
7395 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
7396 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
7397 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
7398 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
7400 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
7401 functions instead of __ceil variants.
7402 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7403 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
7405 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
7407 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7408 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
7410 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7411 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7414 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
7416 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
7417 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
7418 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
7419 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
7420 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
7421 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
7422 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
7423 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
7424 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
7425 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
7426 (ILL_BADIADDR): Remove constant.
7427 (TRAP_BRANCH): Likewise.
7428 (TRAP_HWBKPT): Likewise.
7430 2018-09-14 Joseph Myers <joseph@codesourcery.com>
7433 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
7434 Remove [_MIPS_SIM = _ABIN32] conditional case.
7435 (struct elf_prpsinfo): Likewise.
7438 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
7439 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
7440 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
7442 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
7443 elf_prpsinfo): Likewise.
7444 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
7445 elf_prpsinfo): Likewise.
7446 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
7449 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7450 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
7451 using MATH_REDIRECT.
7452 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
7454 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
7455 * sysdeps/alpha/fpu/s_rint.c: Likewise.
7456 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
7457 * sysdeps/i386/fpu/s_rintl.c: Likewise.
7458 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7459 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7460 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
7461 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7462 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7463 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7464 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
7465 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
7466 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
7467 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
7468 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
7469 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7470 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7471 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
7472 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
7473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
7474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
7475 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
7476 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
7477 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
7478 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
7479 * sysdeps/x86_64/fpu/math_private.h: Remove file.
7480 * math/e_scalb.c (invalid_fn): Use rint functions instead of
7482 * math/e_scalbf.c (invalid_fn): Likewise.
7483 * math/e_scalbl.c (invalid_fn): Likewise.
7484 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7486 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7488 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
7489 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
7490 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7492 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7494 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7496 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
7497 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
7499 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7500 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
7502 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7503 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
7504 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7505 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
7506 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7507 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
7508 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7509 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
7510 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7511 && !NO_MATH_REDIRECT] (floor): Likewise.
7512 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
7514 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
7515 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7516 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7517 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
7518 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7519 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7520 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7521 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
7522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
7523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
7524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
7525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
7526 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7527 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7528 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
7529 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
7530 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
7531 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
7532 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
7534 [_ARCH_PWR5X] (__floorf): Likewise.
7535 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
7537 [__SSE4_1__] (__floorf): Likewise.
7538 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
7539 instead of __floor variants.
7540 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
7541 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
7542 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
7543 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
7544 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
7545 * math/w_tgamma_compat.c (__tgamma): Likewise.
7546 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
7547 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
7548 * math/w_tgammal_compat.c (__tgammal): Likewise.
7549 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
7550 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7552 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
7553 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
7554 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
7555 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7557 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7558 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
7560 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
7561 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
7563 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7564 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
7566 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
7567 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7568 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
7569 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
7570 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7571 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7573 2018-09-12 Joseph Myers <joseph@codesourcery.com>
7575 * elf/Makefile (modules-names-tests): New variable.
7577 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7579 * NEWS: Mention log2 improvements.
7580 * math/Makefile (type-double-routines): Add e_log2_data.
7581 * sysdeps/i386/fpu/e_log2_data.c: New file.
7582 * sysdeps/ia64/fpu/e_log2_data.c: New file.
7583 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
7584 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
7585 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
7586 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
7587 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
7589 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7591 * NEWS: Mention log improvement.
7592 * math/Makefile (type-double-routines): Add e_log_data.
7593 * sysdeps/i386/fpu/e_log_data.c: New file.
7594 * sysdeps/ia64/fpu/e_log_data.c: New file.
7595 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
7596 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
7597 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
7598 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
7599 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
7600 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
7602 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
7603 Xuepeng Guo <xuepeng.guo@intel.com>
7606 * sysdeps/i386/start.S: Include <sysdep.h>
7607 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
7608 enabled. Add cfi_undefined (eip).
7610 2018-09-11 Joseph Myers <joseph@codesourcery.com>
7612 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
7614 (EXTRACT_WORDS64): Likewise.
7615 (INSERT_WORDS64): Likewise.
7616 (GET_FLOAT_WORD): Likewise.
7617 (SET_FLOAT_WORD): Likewise.
7619 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
7621 (Config.build_gcc): Use --disable-libsanitizer for first GCC
7622 build, but not for second build if --full-gcc. Use
7623 --enable-languages=all for second build if --full-gcc.
7624 (get_parser): Add --full-gcc option.
7625 (main): Update call to Context.
7627 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
7630 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
7631 Single Quotation Mark).
7632 (thousands_sep): Likewise.
7633 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
7634 * localedata/locales/it_IT (thousands_sep): Use ".".
7635 (grouping): Use "3;3".
7637 2018-09-10 Joseph Myers <joseph@codesourcery.com>
7639 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
7640 x86_64 and i686 configs using --enable-obsolete-rpc
7641 --enable-obsolete-nsl.
7643 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
7645 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7647 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
7649 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
7650 Increment size of new_argv by one.
7652 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
7655 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
7656 * localedata/locales/ar_IN (d_fmt): Likewise.
7657 * localedata/locales/bhb_IN (d_fmt): Likewise.
7658 * localedata/locales/bho_IN (d_fmt): Likewise.
7659 * localedata/locales/bn_BD (d_fmt): Likewise.
7660 * localedata/locales/bn_IN (d_fmt): Likewise.
7661 * localedata/locales/doi_IN (d_fmt): Likewise.
7662 * localedata/locales/gu_IN (d_fmt): Likewise.
7663 * localedata/locales/hi_IN (d_fmt): Likewise.
7664 * localedata/locales/hne_IN (d_fmt): Likewise.
7665 * localedata/locales/kn_IN (d_fmt): Likewise.
7666 * localedata/locales/mag_IN (d_fmt): Likewise.
7667 * localedata/locales/mai_IN (d_fmt): Likewise.
7668 * localedata/locales/mjw_IN (d_fmt): Likewise.
7669 * localedata/locales/ml_IN (d_fmt): Likewise.
7670 * localedata/locales/mni_IN (d_fmt): Likewise.
7671 * localedata/locales/mr_IN (d_fmt): Likewise.
7672 * localedata/locales/pa_IN (d_fmt): Likewise.
7673 * localedata/locales/raj_IN (d_fmt): Likewise.
7674 * localedata/locales/sat_IN (d_fmt): Likewise.
7675 * localedata/locales/sd_IN (d_fmt): Likewise.
7676 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
7677 * localedata/locales/ta_IN (d_fmt): Likewise.
7678 * localedata/locales/ta_LK (d_fmt): Likewise.
7679 * localedata/locales/tcy_IN (d_fmt): Likewise.
7680 * localedata/locales/ur_IN (d_fmt): Likewise.
7682 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
7683 * localedata/locales/ks_IN (d_fmt): Likewise.
7684 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
7686 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
7687 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
7688 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
7689 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
7691 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
7693 * NEWS: Mention exp and exp2 improvements.
7694 * math/Makefile (libm-support): Remove t_exp.
7695 (type-double-routines): Add math_err and e_exp_data.
7696 * sysdeps/aarch64/libm-test-ulps: Update.
7697 * sysdeps/arm/libm-test-ulps: Update.
7698 * sysdeps/i386/fpu/e_exp_data.c: New file.
7699 * sysdeps/i386/fpu/math_err.c: New file.
7700 * sysdeps/i386/fpu/t_exp.c: Remove.
7701 * sysdeps/ia64/fpu/e_exp_data.c: New file.
7702 * sysdeps/ia64/fpu/math_err.c: New file.
7703 * sysdeps/ia64/fpu/t_exp.c: Remove.
7704 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
7705 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
7706 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
7707 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
7708 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
7709 * sysdeps/ieee754/dbl-64/math_config.h: New file.
7710 * sysdeps/ieee754/dbl-64/math_err.c: New file.
7711 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
7712 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
7713 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
7714 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
7715 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
7716 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
7717 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
7718 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7719 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7721 2018-09-05 Joseph Myers <joseph@codesourcery.com>
7723 * sysdeps/alpha/fpu/math_private.h: Remove.
7725 * sysdeps/generic/math_private.h
7726 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
7727 Move this inline function ....
7728 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
7729 * include/math.h [!_ISOMAC]: To here....
7731 2018-09-04 Joseph Myers <joseph@codesourcery.com>
7733 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
7735 [!FE_HAVE_ROUNDING_MODES]: And this code ....
7736 * include/fenv.h [!_ISOMAC]: ... to here.
7737 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
7738 (feraiseexcept): Likewise.
7739 * math/fromfp.h: Do not include <fenv_private.h>.
7740 * math/s_cexp_template.c: Likewise.
7741 * math/s_csin_template.c: Likewise.
7742 * math/s_csinh_template.c: Likewise.
7743 * math/s_ctan_template.c: Likewise.
7744 * math/s_ctanh_template.c: Likewise.
7745 * math/s_iseqsig_template.c: Likewise.
7746 * math/w_acos_compat.c: Likewise.
7747 * math/w_acosf_compat.c: Likewise.
7748 * math/w_acosl_compat.c: Likewise.
7749 * math/w_asin_compat.c: Likewise.
7750 * math/w_asinf_compat.c: Likewise.
7751 * math/w_asinl_compat.c: Likewise.
7752 * math/w_j0_compat.c: Likewise.
7753 * math/w_j0f_compat.c: Likewise.
7754 * math/w_j0l_compat.c: Likewise.
7755 * math/w_j1_compat.c: Likewise.
7756 * math/w_j1f_compat.c: Likewise.
7757 * math/w_j1l_compat.c: Likewise.
7758 * math/w_jn_compat.c: Likewise.
7759 * math/w_jnf_compat.c: Likewise.
7760 * math/w_log10_compat.c: Likewise.
7761 * math/w_log10f_compat.c: Likewise.
7762 * math/w_log10l_compat.c: Likewise.
7763 * math/w_log2_compat.c: Likewise.
7764 * math/w_log2f_compat.c: Likewise.
7765 * math/w_log2l_compat.c: Likewise.
7766 * math/w_log_compat.c: Likewise.
7767 * math/w_logf_compat.c: Likewise.
7768 * math/w_logl_compat.c: Likewise.
7769 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7770 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7771 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7772 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7773 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7774 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7775 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7776 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7777 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7778 * sysdeps/ieee754/k_standardl.c: Likewise.
7779 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7780 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7781 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7782 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7783 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7784 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7785 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7786 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7787 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7788 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7789 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7790 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7791 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7792 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7793 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7794 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7795 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7796 * math/w_ilogb_template.c: Include <fenv.h> instead of
7798 * math/w_llogb_template.c: Likewise.
7799 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7800 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7802 2018-09-03 Joseph Myers <joseph@codesourcery.com>
7804 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
7805 * math/fromfp.h: Include <fenv_private.h>.
7806 * math/math-narrow.h: Likewise.
7807 * math/s_cexp_template.c: Likewise.
7808 * math/s_csin_template.c: Likewise.
7809 * math/s_csinh_template.c: Likewise.
7810 * math/s_ctan_template.c: Likewise.
7811 * math/s_ctanh_template.c: Likewise.
7812 * math/s_iseqsig_template.c: Likewise.
7813 * math/w_acos_compat.c: Likewise.
7814 * math/w_acosf_compat.c: Likewise.
7815 * math/w_acosl_compat.c: Likewise.
7816 * math/w_asin_compat.c: Likewise.
7817 * math/w_asinf_compat.c: Likewise.
7818 * math/w_asinl_compat.c: Likewise.
7819 * math/w_ilogb_template.c: Likewise.
7820 * math/w_j0_compat.c: Likewise.
7821 * math/w_j0f_compat.c: Likewise.
7822 * math/w_j0l_compat.c: Likewise.
7823 * math/w_j1_compat.c: Likewise.
7824 * math/w_j1f_compat.c: Likewise.
7825 * math/w_j1l_compat.c: Likewise.
7826 * math/w_jn_compat.c: Likewise.
7827 * math/w_jnf_compat.c: Likewise.
7828 * math/w_llogb_template.c: Likewise.
7829 * math/w_log10_compat.c: Likewise.
7830 * math/w_log10f_compat.c: Likewise.
7831 * math/w_log10l_compat.c: Likewise.
7832 * math/w_log2_compat.c: Likewise.
7833 * math/w_log2f_compat.c: Likewise.
7834 * math/w_log2l_compat.c: Likewise.
7835 * math/w_log_compat.c: Likewise.
7836 * math/w_logf_compat.c: Likewise.
7837 * math/w_logl_compat.c: Likewise.
7838 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
7839 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
7840 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
7841 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
7842 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7843 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7844 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7845 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7846 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7847 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7848 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7849 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7850 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
7851 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
7852 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7853 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
7854 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7855 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7856 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7857 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7858 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7859 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7860 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7861 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7862 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7863 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7864 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7865 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
7866 * sysdeps/ieee754/float128/float128_private.h: Likewise.
7867 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7868 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7869 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7870 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
7871 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7872 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7873 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7874 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7875 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7876 * sysdeps/ieee754/k_standardl.c: Likewise.
7877 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7878 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7879 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7880 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7881 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7882 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7883 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7884 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7885 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7886 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7887 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7888 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7889 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7890 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7891 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7892 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
7893 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7894 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
7895 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7896 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7897 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7898 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7899 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7900 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7901 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7902 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7903 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7904 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7905 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
7906 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7907 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7908 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7909 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7910 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7911 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7912 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7913 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7914 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7915 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7916 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7917 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
7918 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7919 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
7920 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7921 * sysdeps/riscv/rvd/s_finite.c: Likewise.
7922 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
7923 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
7924 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
7925 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
7926 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
7927 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
7928 * sysdeps/riscv/rvf/fegetround.c: Likewise.
7929 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
7930 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
7931 * sysdeps/riscv/rvf/fesetround.c: Likewise.
7932 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
7933 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
7934 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
7935 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7936 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
7937 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7938 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
7939 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
7940 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
7941 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
7942 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
7943 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
7944 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
7945 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
7946 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7947 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7949 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7952 * include/stdio.h (__libc_fatal): Mention newline in comment.
7953 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
7954 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
7955 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7956 * nss/nsswitch.c (__nss_next2): Likewise.
7957 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
7958 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
7959 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
7960 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7961 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
7962 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
7963 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
7964 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
7965 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
7966 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
7967 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
7968 * sysdeps/unix/sysv/linux/netlink_assert_response.c
7969 (__netlink_assert_response): Likewise.
7971 2018-08-31 Joseph Myers <joseph@codesourcery.com>
7973 * conform/glibcconform.py: New file.
7974 * conform/list-header-symbols.py: Likewise.
7975 * conform/list-header-symbols.pl: Remove.
7976 * conform/Makefile (tests-special): Only add linknamespace tests
7978 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
7980 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
7983 * support/Makefile (libsupport-routines): Add
7984 support_copy_file_range and xcopy_file_range.
7985 * support/support.h: Include <sys/types.h>.
7986 (support_copy_file_range): New prototype.
7987 * support/support_copy_file_range.c: New file. Copied and
7988 modified from io/copy_file_range-compat.c.
7989 * support/test-container.c (copy_one_file): Call xcopy_file_rang
7990 instead of copy_file_range.
7991 * support/xcopy_file_range.c: New file.
7992 * support/xunistd.h (xcopy_file_range): New prototype.
7994 2018-08-30 Carlos O'Donell <carlos@redhat.com>
7996 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
7997 xpthread_create and xpthread_join.
7999 2018-08-30 Florian Weimer <fweimer@redhat.com>
8001 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
8003 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
8005 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
8008 2018-08-29 Joseph Myers <joseph@codesourcery.com>
8010 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
8011 and minus_oflow as non-finite.
8013 2018-08-28 Joseph Myers <joseph@codesourcery.com>
8015 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
8016 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
8017 moved to fenv_private.h except for ...
8018 (TOINT_INTRINSICS): Kept in math_private.h.
8019 (roundtoint): Likewise.
8020 (converttoint): Likewise.
8021 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
8022 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8023 * sysdeps/arm/math_private.h: Remove.
8024 * sysdeps/generic/fenv_private.h: New file. Contents moved from
8026 * sysdeps/generic/math_private.h: ... this file. Include
8027 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
8028 Include <fenv_private.h>. Remove functions and macros moved to
8030 * sysdeps/i386/fpu/math_private.h: Remove.
8031 * sysdeps/mips/math_private.h: Move to ....
8032 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
8033 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
8034 [__mips_hard_float] conditional. Include next <fenv_private.h>.
8035 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
8036 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8037 * sysdeps/powerpc/fpu/math_private.h: Do not include
8039 * sysdeps/riscv/rvf/math_private.h: Move to ....
8040 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
8041 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
8043 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
8044 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8045 * sysdeps/sparc/fpu/math_private.h: Remove.
8046 * sysdeps/i386/fpu/fenv_private.h: Move to ....
8047 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
8048 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
8050 * sysdeps/x86_64/fpu/math_private.h: Do not include
8051 <sysdeps/i386/fpu/fenv_private.h>.
8053 2018-08-28 Florian Weimer <fweimer@redhat.com>
8056 * posix/tst-regcomp-truncated.c: New file.
8057 * posix/Makefile (tests): Add it.
8058 (tst-regcomp-truncated.out): Depend on generated locales.
8060 2018-08-28 Florian Weimer <fweimer@redhat.com>
8062 * support/test-container.c (main): Treat unshare failure with
8063 EPERM as an unsupported test.
8065 2018-08-28 Florian Weimer <fweimer@redhat.com>
8068 nscd: Fix use-after-free in addgetnetgrentX and its callers.
8069 * nscd/netgroupcache.c
8070 (addgetnetgrentX): Add tofreep parameter. Do not free
8071 heap-allocated buffer.
8072 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
8073 (addgetnetgrentX_ignore): New function.
8074 (addgetnetgrent): Call it.
8075 (readdgetnetgrent): Likewise.
8077 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8079 * string/memmem.c: Use memcmp for first match.
8081 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
8084 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
8086 2018-08-27 DJ Delorie <dj@redhat.com>
8088 * support/Makefile (others): Don't list programs explicitly as a
8089 dependency of "others".
8091 2018-08-27 Joseph Myers <joseph@codesourcery.com>
8093 * sysdeps/generic/math-tests-trap-force.h: New file.
8094 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
8095 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
8096 * sysdeps/powerpc/math-tests.h: Remove file.
8097 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
8099 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
8100 Torvald Riegel <triegel@redhat.com>
8103 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
8104 Update r to include the set wake-request flag if waiters are
8105 remaining after spinning.
8107 2018-08-27 Joseph Myers <joseph@codesourcery.com>
8109 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
8111 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
8114 regex: fix uninitialized memory access
8115 I introduced this bug into gnulib in commit
8116 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
8117 eventually it was merged into glibc. The bug was found by
8118 project-repo <bugs@feusi.co> and reported here:
8119 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
8120 Diagnosis and draft fix reported by Assaf Gordon here:
8121 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
8122 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
8123 * posix/regex_internal.c (build_wcs_upper_buffer):
8124 Fix bug when mbrtowc returns 0.
8126 2018-08-24 Carlos O'Donell <carlos@redhat.com>
8128 * po/be.po: Update translation.
8130 2018-08-24 DJ Delorie <dj@delorie.com>
8132 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
8135 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8138 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
8139 create temporary files in source tree.
8141 2018-08-24 Joseph Myers <joseph@codesourcery.com>
8143 * sysdeps/generic/math-tests-trap.h: New file.
8144 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
8145 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
8146 * sysdeps/aarch64/math-tests.h: Remove file.
8147 * sysdeps/arm/math-tests.h: Likewise.
8148 * sysdeps/riscv/math-tests.h: Likewise.
8149 * sysdeps/aarch64/math-tests-trap.h: New file.
8150 * sysdeps/arm/math-tests-trap.h: Likewise.
8151 * sysdeps/riscv/math-tests-trap.h: Likewise.
8153 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
8155 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
8156 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
8157 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
8158 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
8159 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
8160 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
8161 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8162 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
8163 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
8164 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8165 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8166 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8167 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8168 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
8169 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
8170 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
8171 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8172 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8174 2018-08-23 Joseph Myers <joseph@codesourcery.com>
8176 * sysdeps/generic/math-tests-exceptions.h: New file.
8177 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
8178 (EXCEPTION_TESTS_float): Do not define here.
8179 (EXCEPTION_TESTS_double): Likewise.
8180 (EXCEPTION_TESTS_long_double): Likewise.
8181 (EXCEPTION_TESTS_float128): Likewise.
8182 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
8184 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
8185 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
8186 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
8187 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
8188 * sysdeps/mips/math-tests.h: Likewise.
8189 * sysdeps/nios2/math-tests.h: Likewise.
8190 * sysdeps/riscv/math-tests.h [!__riscv_flen]
8191 (EXCEPTION_TESTS_float): Do not define here.
8192 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
8193 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
8194 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
8196 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
8198 * NEWS: Move optimized sinf entry to 2.29.
8200 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
8202 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
8204 2018-08-22 DJ Delorie <dj@redhat.com>
8206 * Makefile (testroot.pristine): New rules to initialize the
8207 test-in-container "testroot".
8208 * Makerules (all-testsuite): Add tests-container.
8209 * Rules (tests-expected): Add tests-container.
8210 (binaries-all-tests): Likewise.
8211 (tests-container): New, run these tests in the testroot container.
8212 * support/Makefile (others): Add *-container, support_paths.c,
8213 xmkdirp, and links-dso-program.
8214 * support/links-dso-program-c.c: New.
8215 * support/links-dso-program.cc: New.
8216 * support/test-container.c: New.
8217 * support/shell-container.c: New.
8218 * support/echo-container.c: New.
8219 * support/true-container.c: New.
8220 * support/xmkdirp.c: New.
8221 * support/xsymlink.c: New.
8222 * support/support_paths.c: New.
8223 * support/support.h: Add support paths prototypes.
8224 * support/xunistd.h: Add xmkdirp () and xsymlink ().
8226 * nss/tst-nss-test3.c: Convert to test-in-container.
8227 * nss/tst-nss-test3.root/: New.
8229 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
8231 regex: port Gnulib code to z/OS POSIX environment
8232 Problem reported by Arnold Robbins in:
8233 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
8234 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
8237 2018-08-22 Joseph Myers <joseph@codesourcery.com>
8239 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
8240 (ROUNDING_TESTS_double): Remove.
8241 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
8242 (ROUNDING_TESTS_double): Remove.
8243 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
8244 (ROUNDING_TESTS_double): Remove.
8245 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
8246 (ROUNDING_TESTS_float): Remove.
8247 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
8248 (ROUNDING_TESTS_float): Remove.
8249 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
8250 (ROUNDING_TESTS_float): Remove.
8251 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
8253 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8254 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8256 * sysdeps/generic/math-tests-rounding.h: New file.
8257 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
8258 (ROUNDING_TESTS_float): Do not define here.
8259 (ROUNDING_TESTS_double): Likewise.
8260 (ROUNDING_TESTS_long_double): Likewise.
8261 (ROUNDING_TESTS_float128): Likewise.
8262 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
8263 (ROUNDING_TESTS_double): Undefine before defining.
8264 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
8265 (ROUNDING_TESTS_double): Undefine before defining.
8266 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
8267 (ROUNDING_TESTS_double): Undefine before defining.
8268 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
8269 (ROUNDING_TESTS_float): Undefine before defining.
8270 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
8271 (ROUNDING_TESTS_float): Undefine before defining.
8272 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
8273 (ROUNDING_TESTS_float): Undefine before defining.
8274 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
8275 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
8277 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
8278 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
8279 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
8280 * sysdeps/riscv/math-tests.h [!__riscv_flen]
8281 (ROUNDING_TESTS_float): Do not define here.
8282 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
8283 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
8284 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
8285 (ROUNDING_TESTS_float): Likewise.
8286 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
8287 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
8288 * sysdeps/mips/math-tests.h [__mips_soft_float]
8289 (ROUNDING_TESTS_float): Likewise.
8290 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
8291 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
8292 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
8293 (ROUNDING_TESTS_double): Likewise.
8294 (ROUNDING_TESTS_long_double): Likewise.
8296 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
8298 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
8299 (PF_XDP): New macro.
8300 (AF_XDP): New macro.
8301 (SOL_XDP): New macro.
8303 2018-08-21 Joseph Myers <joseph@codesourcery.com>
8305 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
8306 (TCP_INQ): Likewise.
8307 (TCP_CM_INQ): Likewise.
8308 (TCP_REPAIR_ON): Likewise.
8309 (TCP_REPAIR_OFF): Likewise.
8310 (TCP_REPAIR_OFF_NO_WP): Likewise.
8311 (struct tcp_zerocopy_receive): New type.
8313 2018-08-21 Florian Weimer <fweimer@redhat.com>
8315 * support/support.h (support_descriptor_supports_holes): Declare.
8316 * support/Makefile (libsupport-routines): Add
8317 support_descriptor_supports_holes.
8318 * support/support_descriptor_supports_holes.c: New file.
8319 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
8320 and stop testing if holes are not supported.
8321 * io/test-lfs.c (do_prepare): Likewise.
8322 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
8324 * timezone/tst-tzset.c (create_tz_file): Likewise.
8325 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
8327 (do_prepare): Set it.
8328 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
8330 2018-08-21 Florian Weimer <fweimer@redhat.com>
8333 * Makeconfig (+cflags): Do not sort (and deduplicate).
8335 2018-08-21 Florian Weimer <fweimer@redhat.com>
8337 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
8338 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
8340 2018-08-20 Florian Weimer <fweimer@redhat.com>
8342 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
8343 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
8345 2018-08-20 Joseph Myers <joseph@codesourcery.com>
8347 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
8348 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
8349 and ssi_arch members.
8351 * elf/elf.c (NT_VMCOREDD): New macro.
8352 (AT_MINSIGSTKSZ): Likewise.
8354 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8356 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8357 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
8358 s_cosf-ppc64 and s_cosf-power8.
8359 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
8360 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8361 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8362 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
8364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
8365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
8366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
8367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8369 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
8370 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8372 2018-08-17 Florian Weimer <fweimer@redhat.com>
8374 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8376 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
8378 * malloc/malloc.c (_int_malloc): Additional binning code checks.
8380 2018-08-16 Florian Weimer <fweimer@redhat.com>
8382 * configure.ac: Add --with-nonshared-cflags option.
8383 * config.make.in (extra-nonshared-cflags): Set variable.
8384 * Makeconfig (CFLAGS-.oS): Use it.
8385 * manual/install.texi (Configuring and compiling): Document
8386 --with-nonshared-cflags.
8387 * configure: Regenerate.
8388 * INSTALL: Likewise.
8390 2018-08-16 Florian Weimer <fweimer@redhat.com>
8392 * Makeconfig (ASFLAGS): Always append required assembler flags.
8394 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
8396 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
8397 (malloc_consolidate): Likewise.
8399 2018-08-16 Pochang Chen <johnchen902@gmail.com>
8401 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
8403 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
8405 * benchtests/bench-strlen.c (do_test): Allocate buffers before
8408 * benchtests/bench-strlen.c: Print performance numbers in json.
8410 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8412 * sysdeps/powerpc/powerpc64/multiarch/Makefile
8413 (sysdep_routines): Build strcmp-power9 and strncmp-power9
8414 only for little endian.
8415 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8416 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
8417 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
8418 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
8419 Add check for little endian.
8420 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
8421 (__strcmp_power9): Add check for little endian.
8422 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
8423 Add check for little endian.
8424 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
8425 (__strncmp_power9): Add check for little endian.
8426 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
8427 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
8428 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
8429 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
8430 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
8432 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
8434 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
8435 [!STRLEN](STRLEN): Set to __strlen.
8436 * sysdeps/aarch64/multiarch/strlen.c: New file.
8437 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
8438 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
8439 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
8440 (__libc_ifunc_impl_list): Add strlen.
8441 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
8442 strlen_generic and strlen_asimd.
8444 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8446 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
8447 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
8448 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
8450 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8452 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
8454 2018-08-14 Florian Weimer <fweimer@redhat.com>
8457 * include/stdio.h (__vfxprintf): Declare.
8458 * stdio-common/fxprintf.c (__vfxprintf): New function.
8459 (__fxprintf): Call it.
8460 * misc/err.c (convert_and_print): Remove function.
8461 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
8462 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
8463 * misc/Makefile (tests): Add tst-warn-wide.
8464 * misc/tst-warn-wide.c: New file.
8466 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
8467 Szabolcs Nagy <szabolcs.nagy@arm.com>
8469 * NEWS: Mention sinf, cosf, sincosf.
8470 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
8471 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
8472 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
8473 constants rather than including generic sincosf.h.
8474 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
8475 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
8476 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
8477 (reduced_cos): Remove.
8478 (sinf_poly): New function.
8479 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
8481 2018-08-14 Florian Weimer <fweimer@redhat.com>
8485 * nss/nss_files/files-alias.c (get_next_alias): During :include:
8486 processing, bail out if no room, and close the stream before
8488 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
8489 (tst-nss-files-alias-leak): Link with libdl.
8490 (tst-nss-files-alias-leak.out): Depend on nss_files.
8492 * nss/tst-nss-files-alias-leak.c: New file.
8494 2018-08-14 Florian Weimer <fweimer@redhat.com>
8496 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
8497 server_user, stat_user.
8499 2018-08-13 Joseph Myers <joseph@codesourcery.com>
8501 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8503 (io_pgetevents): New syscall.
8506 * manual/install.texi (Configuring and compiling): Do not list
8507 tools used for testing pretty printers here.
8508 (Tools for Compilation): List Python, PExpect and GDB here.
8509 Update descriptions of uses of Perl and Python.
8510 * INSTALL: Regenerate.
8512 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8515 2018-08-13 Florian Weimer <fweimer@redhat.com>
8517 * misc/error.c (error): Add missing va_end call.
8518 (error_at_line): Likewise.
8520 2018-08-13 Florian Weimer <fweimer@redhat.com>
8522 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
8524 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
8526 * benchtests/scripts/benchout.schema.json (properties): Add
8529 * benchtests/bench-skeleton.c (main): Add duration and
8530 iterations attributes.
8532 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
8534 regex: Gnulib unibyte RRI uses bytes not chars
8535 Adjust the non-glibc code to agree with what Gawk needs for
8536 rational range interpretation (RRI) for regular expression ranges.
8537 In unibyte locales, Gawk wants ranges to use the underlying byte
8538 rather than the character code point. This change does not affect
8540 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
8541 In unibyte locales, use the byte value rather than
8542 running it through btowc.
8544 2018-08-10 Joseph Myers <joseph@codesourcery.com>
8546 * sysdeps/generic/math-tests-snan.h: New file.
8547 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
8548 (SNAN_TESTS_float): Do not define here.
8549 (SNAN_TESTS_double): Likewise.
8550 (SNAN_TESTS_long_double): Likewise.
8551 (SNAN_TESTS_float128): Likewise.
8552 * sysdeps/i386/fpu/math-tests-snan.h: New file.
8553 * sysdeps/i386/fpu/math-tests.h: Remove file.
8554 * sysdeps/ia64/math-tests-snan.h: New file.
8555 * sysdeps/ia64/math-tests.h: Remove file.
8556 * sysdeps/x86/math-tests.h: Likewise.
8557 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
8559 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8560 Szabolcs Nagy <szabolcs.nagy@arm.com>
8562 * math/Makefile: Add s_sincosf_data.c.
8563 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
8564 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
8565 (sincosf_poly): Likewise.
8566 (reduce_small): Likewise.
8567 (reduce_large): Likewise.
8568 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
8569 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
8570 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
8571 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
8573 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8574 Szabolcs Nagy <szabolcs.nagy@arm.com>
8576 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
8577 (converttoint): Use lround.
8578 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
8579 document the semantics when TOINT_INTRINSICS is set.
8580 (converttoint): Likewise.
8581 (TOINT_RINT): Remove.
8582 (TOINT_SHIFT): Remove.
8583 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
8586 2018-08-10 Florian Weimer <fweimer@redhat.com>
8589 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
8591 (__old_getdents64): Use getdents64. Convert entries without
8593 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
8594 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
8595 tst-readdir64-compat.
8597 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8599 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
8602 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8604 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
8605 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
8606 code to s390x-mcount.h and #include it.
8607 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
8608 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
8611 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8613 * stdlib/Versions: Remove __fentry__.
8614 * sysdeps/i386/Versions: Add __fentry__.
8615 * sysdeps/x86_64/Versions: Add __fentry__.
8617 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8619 * sysdeps/s390/Makefile: Register the new tests.
8620 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
8621 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
8622 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
8623 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
8624 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
8625 * sysdeps/s390/tst-dl-runtime.c: New file.
8627 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8629 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8632 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8634 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8637 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8639 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8642 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8644 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8647 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8649 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8650 Use symbolic offsets for stack variables.
8652 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8654 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8655 Use symbolic offsets for stack variables.
8657 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8659 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8660 Use symbolic offsets for stack variables.
8662 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8664 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8665 Use symbolic offsets for stack variables.
8667 2018-08-09 Joseph Myers <joseph@codesourcery.com>
8669 * math/gen-libm-test.py: New file.
8670 * math/gen-libm-test.pl: Remove.
8671 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
8672 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
8674 ($(libm-test-c-noauto-obj)): Likewise.
8675 ($(libm-test-c-auto-obj)): Likewise.
8676 ($(libm-test-c-narrow-obj)): Likewise.
8677 (regen-ulps): Likewise.
8678 * math/README.libm-test: Update references to gen-libm-test.pl.
8679 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
8680 referencing gen-libm-test.pl.
8681 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
8682 * math/libm-test-support.c: Likewise.
8683 * math/libm-test-support.h: Likewise.
8684 * sysdeps/generic/libm-test-ulps: Likewise.
8686 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
8688 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
8691 2018-08-08 Joseph Myers <joseph@codesourcery.com>
8693 * math/libm-test-nextdown.inc (do_test): Move comment to ....
8694 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
8696 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8698 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
8700 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
8701 __pthread_setspecific): Add hidden proto.
8702 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
8703 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
8705 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
8707 * benchtests/bench-string.h (buf1_size, buf2_size): New
8709 (init_sizes): New function.
8710 (test_init): Use it.
8711 (alloc_buf, exit_error): New functions.
8712 (alloc_bufs): Use ALLOC_BUF.
8713 (realloc_bufs): Remove.
8714 * benchtests/bench-memcmp.c (do_test): Adjust.
8715 * benchtests/bench-memset-large.c (do_test): Likewise.
8716 * benchtests/bench-memset-walk.c (do_test): Likewise.
8717 * benchtests/bench-memset.c (do_test): Likewise.
8718 * benchtests/bench-strncmp.c (do_test): Likewise.
8720 2018-08-06 Andreas Schwab <schwab@suse.de>
8722 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
8723 of CONST_THREAD_AREA.
8725 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
8727 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
8728 (STATE_SAVE_MASK): Likewise.
8729 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
8730 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
8731 (STATE_SAVE_MASK): Likewise.
8732 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
8733 instead of <cpu-features.h>.
8735 2018-08-03 DJ Delorie <dj@redhat.com>
8737 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
8738 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
8740 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
8742 2018-08-03 Joseph Myers <joseph@codesourcery.com>
8744 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
8746 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
8747 * math/libm-test-logb.inc (logb_test_data): Likewise.
8749 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
8751 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
8752 * string/strstr.c (AVAILABLE): Likewise.
8754 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8756 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
8758 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
8759 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
8760 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
8762 2018-08-03 Carlos O'Donell <carlos@redhat.com>
8764 * po/be.po: Update translation.
8766 * po/be.po: Update translation.
8768 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8770 * sysdeps/x86/cpu-features-offsets.sym
8771 (rtld_global_ro_offsetof): Removed.
8772 (CPU_FEATURES_SIZE): Likewise.
8773 (CPUID_OFFSET): Likewise.
8774 (CPUID_SIZE): Likewise.
8775 (CPUID_EAX_OFFSET): Likewise.
8776 (CPUID_EBX_OFFSET): Likewise.
8777 (CPUID_ECX_OFFSET): Likewise.
8778 (CPUID_EDX_OFFSET): Likewise.
8779 (FAMILY_OFFSET): Likewise.
8780 (MODEL_OFFSET): Likewise.
8781 (FEATURE_OFFSET): Likewise.
8782 (FEATURE_SIZ): Likewise.
8783 (COMMON_CPUID_INDEX_1): Likewise.
8784 (COMMON_CPUID_INDEX_7): Likewise.
8785 (FEATURE_INDEX_1): Likewise.
8786 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
8788 2018-08-02 Carlos O'Donell <carlos@redhat.com>
8790 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
8791 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
8792 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
8793 (install-locales): Depend on install-locale-archive.
8794 (install-locale-archive): Define.
8795 (install-locale-files): Define.
8796 (build-one-locale): Define macro.
8797 * manual/install.texi (Running make install): Document.
8798 * manual/INSTALL: Regenerate.
8800 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
8802 * benchtests/scripts/compare_strings.py: Import traceback.
8803 (parse_file): Pretty-print error.
8805 * NEWS: Mention the change.
8806 * elf/dl-tunables.list: Rename tune namespace to cpu.
8807 * sysdeps/powerpc/dl-tunables.list: Likewise.
8808 * sysdeps/x86/dl-tunables.list: Likewise.
8809 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
8811 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
8812 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
8813 * manual/README.tunables: Likewise.
8814 * manual/tunables.texi: Likewise.
8815 * sysdeps/powerpc/cpu-features.c: Likewise.
8816 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
8817 (init_cpu_features): Likewise.
8818 * sysdeps/x86/cpu-features.c: Likewise.
8819 * sysdeps/x86/cpu-features.h: Likewise.
8820 * sysdeps/x86/cpu-tunables.c: Likewise.
8821 * sysdeps/x86_64/Makefile: Likewise.
8822 * sysdeps/x86/dl-cet.c: Likewise.
8824 2018-08-02 Joseph Myers <joseph@codesourcery.com>
8827 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
8828 [__mips_hard_float].
8829 (FE_UNDERFLOW): Likewise.
8830 (FE_OVERFLOW): Likewise.
8831 (FE_DIVBYZERO): Likewise.
8832 (FE_INVALID): Likewise.
8833 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
8834 (FE_TOWARDZERO): Define only if [__mips_hard_float].
8835 (FE_UPWARD): Likewise.
8836 (FE_DOWNWARD): Likewise.
8837 (__FE_UNDEFINED): Define if [!__mips_hard_float]
8838 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
8839 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
8840 [__mips_hard_float].
8841 (FP_ROUNDMODE): Likewise.
8842 (FP_RND_NEAREST): Likewise.
8843 (FP_RND_ZERO): Likewise.
8844 (FP_RND_PINF): Likewise.
8845 (FP_RND_MINF): Likewise.
8846 (FP_EX_INVALID): Likewise.
8847 (FP_EX_OVERFLOW): Likewise.
8848 (FP_EX_UNDERFLOW): Likewise.
8849 (FP_EX_DIVZERO): Likewise.
8850 (FP_EX_INEXACT): Likewise.
8851 (FP_INIT_ROUNDMODE): Likewise.
8852 * sysdeps/mips/nofpu/fesetenv.c: New file.
8853 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
8855 2018-08-01 Joseph Myers <joseph@codesourcery.com>
8857 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
8858 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
8859 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
8860 conditional on [FE_UPWARD].
8862 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
8864 regex: fix memory leak in Gnulib
8865 Problem and fix reported by Assaf Gordon in:
8866 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
8867 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
8868 range_ends members too, as they are defined in 'struct
8869 re_charset_t' even if not _LIBC. This affects only Gnulib.
8871 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
8873 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
8875 (get_common_indices): This.
8876 (init_cpu_features): Updated.
8878 2018-08-01 Joseph Myers <joseph@codesourcery.com>
8880 * sysdeps/generic/math-tests-snan-payload.h: New file.
8881 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
8882 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
8883 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
8884 * sysdeps/generic/math-tests.h: Include
8885 <math-tests-snan-payload.h>.
8886 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8887 * sysdeps/hppa/math-tests.h: Remove file.
8888 * sysdeps/mips/math-tests.h [!__mips_nan2008]
8889 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8890 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
8893 * sysdeps/generic/math-tests-snan-cast.h: New file.
8894 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
8895 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
8896 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
8897 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
8899 2018-08-01 Carlos O'Donel <carlos@redhat.com>
8901 * version.h (RELEASE): Set to "development".
8902 (VERSION): Set to "2.28.9000".
8903 * NEWS (2.29): New section.
8905 * version.h (RELEASE): Set to "stable".
8906 (VERSION): Set to "2.28".
8907 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
8908 * NEWS: Add the list of bugs fixed in 2.28.
8910 * po/ca.po: Update to latest version.
8911 * po/cs.po: Likewise
8912 * po/da.po: Likewise
8913 * po/el.po: Likewise
8914 * po/eo.po: Likewise
8915 * po/es.po: Likewise
8916 * po/fi.po: Likewise
8917 * po/fr.po: Likewise
8918 * po/gl.po: Likewise
8919 * po/hu.po: Likewise
8920 * po/ia.po: Likewise
8921 * po/id.po: Likewise
8922 * po/it.po: Likewise
8923 * po/ja.po: Likewise
8924 * po/ko.po: Likewise
8925 * po/lt.po: Likewise
8926 * po/nb.po: Likewise
8927 * po/nl.po: Likewise
8928 * po/pt_BR.po: Likewise
8929 * po/ru.po: Likewise
8930 * po/rw.po: Likewise
8931 * po/sk.po: Likewise
8932 * po/sl.po: Likewise
8933 * po/tr.po: Likewise
8934 * po/zh_CN.po: Likewise
8935 * po/zh_TW.po: Likewise
8937 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8939 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
8941 (init): ... before initializing libpthread.
8943 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
8944 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
8945 (__mach_setup_tls): ... new function.
8946 (mach_setup_tls): New alias.
8947 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
8948 __mach_setup_thread.
8949 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
8950 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
8951 * mach/Versions [libc] (mach_setup_tls): Add symbol.
8952 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
8954 2018-07-31 Carlos O'Donell <carlos@redhat.com>
8956 * manual/install.texi: Update versions.
8957 * INSTALL: Regenerate.
8959 * manual/contrib.texi (Contributors): Update contributions.
8961 2018-07-31 Carlos O'Donell <carlos@redhat.com>
8963 * po/be.po: Update translations.
8965 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8967 * sysdeps/sh/libm-test-ulps: Update.
8969 2018-07-30 Carlos O'Donell <carlos@redhat.com>
8971 * po/bg.po: Update translations.
8972 * po/de.po: Likewise.
8973 * po/hr.po: Likewise.
8974 * po/pt_BR.po: Likewise.
8975 * po/sv.po: Likewise.
8976 * po/vi.po: Likewise.
8978 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
8981 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
8982 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
8983 (CFLAGS-tst-cet-property-1.o): New.
8984 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
8985 ($(objpfx)tst-cet-property-2): Likewise.
8986 ($(objpfx)tst-cet-property-2.out): Likewise.
8987 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
8988 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
8989 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
8990 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
8991 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
8993 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
8996 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
8998 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
9000 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
9001 __sbrk): Do not set attribute_hidden.
9002 * sysdeps/mach/hurd/not-errno.h: New file.
9003 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
9004 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
9006 2018-07-27 Carlos O'Donell <carlos@redhat.com>
9008 * po/uk.po: Update translations.
9009 * po/cs.po: Likewise.
9010 * po/pl.po: Likewise.
9012 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
9014 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
9015 parse beyond the note end.
9017 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9019 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
9020 kernel does not support OFD locks.
9021 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
9023 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9025 * sysdeps/mach/hurd/Versions (libc): Make __access and
9026 __access_noerrno external so they can override the ld symbols.
9027 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
9028 __writev, __open64, __access_noerrno extern so they can be overrided.
9029 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
9030 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
9032 2018-07-26 Carlos O'Donell <carlos@redhat.com>
9034 * po/libc.pot: Regenerate.
9036 2018-07-26 Joseph Myers <joseph@codesourcery.com>
9038 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
9040 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9043 * sysdeps/x86/cpu-features.c (get_extended_indices): New
9045 (init_cpu_features): Call get_extended_indices for both Intel
9047 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
9048 Remove "for AMD" comment.
9050 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9053 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
9054 COMMON_CPUID_INDEX_80000001.
9056 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
9058 * string/tst-xbzero-opt.c (use_test_buffer): New function.
9059 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
9061 2018-07-26 Florian Weimer <fweimer@redhat.com>
9063 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
9064 aliases for symbols not in the implementation namespace.
9066 2018-07-25 Carlos O'Donell <carlos@redhat.com>
9069 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
9070 lowercase in LATIN script.
9071 * localedata/Makefile (test-input): Add en_US.UTF-8.
9072 * localedata/en_US.UTF-8.in: New file.
9073 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
9074 and restore old tests.
9075 * posix/tst-regexloc.c (do_test): Add back range expression test.
9077 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9079 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
9081 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9083 * nptl/threads.h: Move to ...
9084 * sysdeps/nptl/threads.h: ... here.
9085 * sysdeps/hurd/stdc-predef.h: New file.
9087 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9089 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
9090 tst-cet-setcontext-1 if CET is enabled.
9091 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
9092 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
9094 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9096 * include/threads.h: Move to ...
9097 * sysdeps/nptl/threads.h: ... here.
9098 * sysdeps/htl/threads.h: New file.
9099 * conform/Makefile (linknamespace-libs-ISO11): Use
9100 static-thread-library instead of linking libpthread.
9101 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
9103 2018-07-25 Florian Weimer <fweimer@redhat.com>
9105 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
9106 nanoseconds into seconds.
9107 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
9108 (do_test): Likewise.
9109 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
9110 (do_test): Likewise. Avoid nanosecond overflow and spurious
9111 timeouts due to system load.
9112 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
9113 (child_wait): Increment it.
9114 (do_test): Wait as long as necessary until all expected threads
9117 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
9118 H.J. Lu <hongjiu.lu@intel.com>
9120 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
9122 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
9123 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
9124 (__push___start_context): New.
9125 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
9127 (__getcontext): Record the current shadow stack base. Save the
9128 caller's shadow stack pointer and base.
9129 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
9130 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
9131 (__push___start_context): New prototype.
9132 (__makecontext): Call __push___start_context to allocate a new
9133 shadow stack, push __start_context onto the new stack as well
9134 as the new shadow stack.
9135 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
9137 (__setcontext): Restore the target shadow stack.
9138 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
9140 (__swapcontext): Record the current shadow stack base. Save
9141 the caller's shadow stack pointer and base. Restore the target
9143 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9144 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
9145 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
9147 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9149 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
9150 tst-setcontext8 and tst-setcontext9.
9151 * stdlib/tst-setcontext6.c: New file.
9152 * stdlib/tst-setcontext7.c: Likewise.
9153 * stdlib/tst-setcontext8.c: Likewise.
9154 * stdlib/tst-setcontext9.c: Likewise.
9156 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9158 * stdlib/Makefile ((tests): Add tst-setcontext5.
9159 * stdlib/tst-setcontext5.c: New file.
9161 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9163 * stdlib/Makefile (tests): Add tst-setcontext4.
9164 * stdlib/tst-setcontext4.c: New file.
9166 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9168 * stdlib/Makefile (tests): Add tst-swapcontext1.
9169 * stdlib/tst-swapcontext1.c: New test.
9171 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9173 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
9174 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
9175 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
9176 and tst-cet-legacy-4c.
9177 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
9178 and tst-cet-legacy-mod-4.
9179 (CFLAGS-tst-cet-legacy-2.c): New.
9180 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
9181 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
9182 (CFLAGS-tst-cet-legacy-3.c): Likewise.
9183 (CFLAGS-tst-cet-legacy-4.c): Likewise.
9184 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
9185 ($(objpfx)tst-cet-legacy-1): Likewise.
9186 ($(objpfx)tst-cet-legacy-2): Likewise.
9187 ($(objpfx)tst-cet-legacy-2.out): Likewise.
9188 ($(objpfx)tst-cet-legacy-2a): Likewise.
9189 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
9190 ($(objpfx)tst-cet-legacy-4): Likewise.
9191 ($(objpfx)tst-cet-legacy-4.out): Likewise.
9192 ($(objpfx)tst-cet-legacy-4a): Likewise.
9193 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
9194 (tst-cet-legacy-4a-ENV): Likewise.
9195 ($(objpfx)tst-cet-legacy-4b): Likewise.
9196 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
9197 (tst-cet-legacy-4b-ENV): Likewise.
9198 ($(objpfx)tst-cet-legacy-4c): Likewise.
9199 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
9200 (tst-cet-legacy-4c-ENV): Likewise.
9201 * sysdeps/x86/tst-cet-legacy-1.c: New file.
9202 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
9203 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
9204 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
9205 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
9206 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
9207 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
9208 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
9209 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
9210 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
9211 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
9213 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9215 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
9216 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
9218 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
9219 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
9222 2018-07-25 Andreas Schwab <schwab@suse.de>
9225 * locale/weightwc.h (findidx): Handle the case where usrc is a
9226 prefix of cp but one character too short.
9228 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9230 * NEWS: Add ISO C threads addition.
9232 2018-07-24 Florian Weimer <fweimer@redhat.com>
9234 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9235 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
9236 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
9239 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9241 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
9242 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
9243 <sys/prctl.h> and <asm/prctl.h>.
9244 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
9245 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
9247 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
9248 ARCH_CET_LEGACY_BITMAP.
9249 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
9250 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
9251 * sysdeps/x86/libc-start.c: Include <startup.h>.
9253 2018-07-24 Florian Weimer <fweimer@redhat.com>
9255 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
9256 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
9258 2018-07-24 Rical Jasan <rj@2c3t.io>
9259 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9260 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9263 * manual/debug.texi: Update adjacent chapter name.
9264 * manual/probes.texi: Likewise.
9265 * manual/threads.texi (ISO C Threads): New section.
9266 (POSIX Threads): Convert to a section.
9268 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9269 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9272 * nptl/Makefile (tests): Add new test files.
9273 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
9274 * nptl/tst-cnd-basic.c: Likewise.
9275 * nptl/tst-cnd-broadcast.c: Likewise.
9276 * nptl/tst-cnd-timedwait.c: Likewise.
9277 * nptl/tst-mtx-basic.c: Likewise.
9278 * nptl/tst-mtx-recursive.c: Likewise.
9279 * nptl/tst-mtx-timedlock.c: Likewise.
9280 * nptl/tst-mtx-trylock.c: Likewise.
9281 * nptl/tst-thrd-basic.c: Likewise.
9282 * nptl/tst-thrd-detach.c: Likewise.
9283 * nptl/tst-thrd-sleep.c: Likewise.
9284 * nptl/tst-tss-basic.c: Likewise.
9286 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9289 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
9290 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
9292 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9293 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9294 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9295 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9296 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9297 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9298 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9299 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9300 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9301 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9302 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9303 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9311 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9312 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9313 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9314 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9315 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9316 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9317 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9318 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9319 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
9320 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
9321 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
9322 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
9323 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
9325 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
9326 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
9327 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
9328 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
9329 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
9330 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
9331 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
9332 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
9333 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
9334 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
9335 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
9336 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
9338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
9339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9343 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
9344 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
9345 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
9346 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
9347 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
9348 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
9349 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
9350 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
9353 * conform/data/threads.h-data (thread_local): New macro.
9354 (TSS_DTOR_ITERATIONS): Likewise.
9356 (tss_dtor_t): Likewise.
9357 (tss_create): New function.
9358 (tss_get): Likewise.
9359 (tss_set): Likewise.
9360 (tss_delete): Likewise.
9361 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
9362 tss_get, and tss_set objects.
9363 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9364 * nptl/tss_create.c: New file.
9365 * nptl/tss_delete.c: Likewise.
9366 * nptl/tss_get.c: Likewise.
9367 * nptl/tss_set.c: Likewise.
9368 * sysdeps/nptl/threads.h (thread_local): New define.
9369 (TSS_DTOR_ITERATIONS): Likewise.
9370 (tss_t): New typedef.
9371 (tss_dtor_t): Likewise.
9372 (tss_create): New prototype.
9373 (tss_get): Likewise.
9374 (tss_set): Likewise.
9375 (tss_delete): Likewise.
9378 * conform/data/threads.h-data (cnd_t): New type.
9379 (cnd_init): New function.
9380 (cnd_signal): Likewise.
9381 (cnd_broadcast): Likewise.
9382 (cnd_wait): Likewise.
9383 (cnd_timedwait): Likewise.
9384 (cnd_destroy): Likewise.
9385 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
9386 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
9388 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9389 * nptl/cnd_broadcast.c: New file.
9390 * nptl/cnd_destroy.c: Likewise.
9391 * nptl/cnd_init.c: Likewise.
9392 * nptl/cnd_signal.c: Likewise.
9393 * nptl/cnd_timedwait.c: Likewise.
9394 * nptl/cnd_wait.c: Likewise.
9395 * sysdeps/nptl/threads.h (cnd_t): New type.
9396 (cnd_init): New prototype.
9397 (cnd_signa): Likewise.
9398 (cnd_broadcast): Likewise.
9399 (cnd_wait): Likewise.
9400 (cnd_timedwait): Likewise.
9401 (cnd_destroy): Likewise.
9404 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
9405 (once_flag): New type.
9406 (call_once): New function.
9407 * nptl/Makefile (libpthread-routines): Add call_once object.
9408 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
9409 * nptl/call_once.c: New file.
9410 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
9411 (once_flag): New type.
9412 (call_once): New prototype.
9415 * conform/data/threads.h-data (mtx_plain): New constant.
9416 (mtx_recursive): Likewise.
9417 (mtx_timed): Likewise.
9419 (mtx_init): New function.
9420 (mtx_lock): Likewise.
9421 (mtx_timedlock): Likewise.
9422 (mtx_trylock): Likewise.
9423 (mtx_unlock): Likewise.
9424 (mtx_destroy): Likewise.
9425 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
9426 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
9427 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
9428 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
9429 * nptl/mtx_destroy.c: New file.
9430 * nptl/mtx_init.c: Likewise.
9431 * nptl/mtx_lock.c: Likewise.
9432 * nptl/mtx_timedlock.c: Likewise.
9433 * nptl/mtx_trylock.c: Likewise.
9434 * nptl/mtx_unlock.c: Likewise.
9435 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
9436 (mtx_recursive): Likewise.
9437 (mtx_timed): Likewise.
9439 (mtx_init): New prototype.
9440 (mtx_lock): Likewise.
9441 (mtx_timedlock): Likewise.
9442 (mtx_trylock): Likewise.
9443 (mtx_unlock): Likewise.
9444 (mtx_destroy): Likewise.
9447 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
9448 (linknamespace-libs-ISO11): Add libpthread.a.
9449 * conform/data/threads.h-data: New file: add C11 thrd_* types and
9451 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
9452 * nptl/Makefile (headers): Add threads.h.
9453 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
9454 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
9456 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
9457 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
9458 thrd_join, thrd_sleep, and thrd_yield symbols.
9459 * nptl/descr.h (struct pthread): Add c11 field.
9460 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
9461 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
9462 routine with expected function prototype.
9463 (__pthread_create_2_1): Add C11 threads check based on attribute
9465 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
9466 * nptl/thrd_create.c: New file.
9467 * nptl/thrd_current.c: Likewise.
9468 * nptl/thrd_detach.c: Likewise.
9469 * nptl/thrd_equal.c: Likewise.
9470 * nptl/thrd_exit.c: Likewise.
9471 * nptl/thrd_join.c: Likewise.
9472 * nptl/thrd_priv.h: Likewise.
9473 * nptl/thrd_sleep.c: Likewise.
9474 * nptl/thrd_yield.c: Likewise.
9475 * include/threads.h: Likewise.
9477 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9479 * bits/indirect-return.h: New file.
9480 * misc/sys/cdefs.h (__glibc_has_attribute): New.
9481 * sysdeps/x86/bits/indirect-return.h: Likewise.
9482 * stdlib/Makefile (headers): Add bits/indirect-return.h.
9483 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
9484 (swapcontext): Add __INDIRECT_RETURN.
9485 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
9486 (prepare_test_buffer): Use it.
9488 2018-07-24 Andreas Schwab <schwab@suse.de>
9491 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
9492 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
9494 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9496 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
9497 Redefine if shadow stack is enabled.
9498 (SYSCALL_ERROR_LABEL): Likewise.
9499 (__vfork): Pop shadow stack and jump back to to caller directly
9500 when shadow stack is in use.
9501 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
9502 Redefine if shadow stack is enabled.
9503 (SYSCALL_ERROR_LABEL): Likewise.
9504 (__vfork): Pop shadow stack and jump back to to caller directly
9505 when shadow stack is in use.
9507 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9509 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
9512 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
9515 2018-07-20 Joseph Myers <joseph@codesourcery.com>
9517 * scripts/build-many-glibcs.py (Context.checkout): Default
9518 binutils version to 2.31 branch.
9520 2018-07-20 Zong Li <zong@andestech.com>
9522 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
9523 URL of gcc's tarball.
9525 2018-07-20 Florian Weimer <fweimer@redhat.com>
9528 * posix/regcomp.c (build_equiv_class): When comparing weights, do
9529 not compare an extra byte after the end of the weights.
9531 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
9533 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
9535 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
9537 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
9538 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
9539 * scripts/check-execstack.awk: Consider `xfail' variable containing a
9540 list of libraries whose stack executability is expected.
9541 * elf/Makefile ($(objpfx)check-execstack.out): Pass
9542 $(check-execstack-xfail) to check-execstack.awk through `xfail'
9544 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
9545 libc.so libpthread.so.
9547 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
9549 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
9551 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
9553 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
9555 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
9557 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9559 * benchtests/scripts/compare_bench.py (__main__): use the argparse
9560 library to improve command line parsing.
9561 (__main__): make schema file as optional parameter (--schema),
9562 defaulting to benchtests/scripts/benchout.schema.json.
9563 (main): move out of the parsing stuff to __main_ and leave it
9564 only as caller of main comparison functions.
9566 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
9568 * NEWS: Add a note for Intel CET status.
9569 * manual/install.texi: Likewise.
9570 * INSTALL: Regenerated.
9572 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
9575 * localedata/locales/oc_FR (mon): Rename to...
9576 (alt_mon): This, then update October (typo fix).
9577 (mon): New content (genitive case, month names preceded by
9581 * localedata/locales/oc_FR (abday): Update all items.
9582 (day): Update Wednesday and Saturday (typo fixes).
9583 (abmon): Update all items, except May.
9584 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
9585 (LC_IDENTIFICATION): Bump the revision number and date.
9586 Keep the "category" entries in alphabetic order.
9587 (LC_ADDRESS): Remove no longer needed comment.
9588 (LC_COLLATE): Use “copy "ca_ES"”.
9589 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
9592 2018-07-18 Joseph Myers <joseph@codesourcery.com>
9594 * grp/tst_fgetgrent.c: Include <unistd.h>.
9595 (main): Use mkstemp instead of tmpnam.
9596 * io/test-utime.c (main): Likewise.
9597 * posix/annexc.c (macrofile): Change to modifiable array.
9598 (main): Remove macrofile here.
9599 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9601 (check_header): Do not remove macrofile here.
9602 * posix/bug-getopt1.c: Include <stdlib.h>.
9603 (do_test): Use mkstemp instead of tmpnam.
9604 * posix/bug-getopt2.c: Include <stdlib.h>.
9605 (do_test): Use mkstemp instead of tmpnam.
9606 * posix/bug-getopt3.c: Include <stdlib.h>.
9607 (do_test): Use mkstemp instead of tmpnam.
9608 * posix/bug-getopt4.c: Include <stdlib.h>.
9609 (do_test): Use mkstemp instead of tmpnam.
9610 * posix/bug-getopt5.c: Include <stdlib.h>.
9611 (do_test): Use mkstemp instead of tmpnam.
9612 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
9613 (main): Use mkstemp instead of tmpnam.
9614 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
9615 (main): Use mkstemp instead of tmpnam.
9616 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
9617 (main): use mkstemp instead of tmpnam.
9618 * stdlib/isomac.c (macrofile): Change to modifiable array.
9619 (main): Remove macrofile here.
9620 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9622 (check_header): Do not remove macrofile here.
9624 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9626 * manual/tunables.texi: Document glibc.tune.x86_ibt and
9627 glibc.tune.x86_shstk.
9629 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9631 * NEWS: Mention --enable-cet.
9632 * manual/install.texi: Document --enable-cet.
9633 * INSTALL: Regenerated.
9635 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9637 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
9638 Add _CET_NOTRACK before indirect jump to jump table.
9640 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9642 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
9643 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9646 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9648 * sysdeps/i386/i686/multiarch/strcat-sse2.S
9649 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9652 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9654 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
9655 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9658 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9660 * sysdeps/i386/i686/multiarch/memcpy-ssse3.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/memcpy-ssse3-rep.S
9667 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9669 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
9671 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9673 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
9674 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9677 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9679 * sysdeps/i386/i686/multiarch/memset-sse2.S
9680 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9683 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9685 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
9686 indirect jump to jump table.
9688 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9690 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
9691 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9695 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9697 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
9698 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9702 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9704 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9705 _CET_NOTRACK before indirect jump to jump table.
9707 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9709 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
9710 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9713 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9715 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
9716 indirect jump to jump table.
9718 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
9721 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
9722 (LOCALES): Likewise.
9723 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
9724 * localedata/locales/sah_RU: New file.
9725 * localedata/sah_RU.UTF-8.in: New file.
9727 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9729 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
9731 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9732 _CET_ENDBR to indirect jump targets and adjust jump destination
9734 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
9736 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9737 _CET_ENDBR to indirect jump targets and adjust jump destination
9739 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
9741 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
9742 _CET_ENDBR to indirect jump targets and adjust jump destination
9745 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9747 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9750 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9752 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
9754 (_dl_tlsdesc_undefweak): Likewise.
9755 (_dl_tlsdesc_dynamic): Likewise.
9756 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
9757 (_dl_tlsdesc_resolve_rel): Likewise.
9758 (_dl_tlsdesc_resolve_rela): Likewise.
9759 (_dl_tlsdesc_resolve_hold): Likewise.
9760 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
9761 (_dl_tlsdesc_undefweak): Likewise.
9762 (_dl_tlsdesc_dynamic): Likewise.
9763 (_dl_tlsdesc_resolve_rela): Likewise.
9764 (_dl_tlsdesc_resolve_hold): Likewise.
9766 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9768 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
9770 * sysdeps/x86_64/crti.S (_init): Likewise.
9773 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
9776 * localedata/locales/os_RU (mon): Rename to...
9778 (mon): Import from CLDR (genitive case).
9780 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9782 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
9783 cet-tunables.h> when CET is enabled.
9785 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
9788 * configure.ac: Add --enable-cet.
9789 * configure: Regenerated.
9790 * elf/Makefille (all-built-dso): Add a comment.
9791 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
9792 Include <dl-prop.h>.
9793 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
9795 * elf/dl-open.c: Include <dl-prop.h>.
9796 (dl_open_worker): Call _dl_open_check.
9797 * elf/rtld.c: Include <dl-prop.h>.
9798 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
9800 * sysdeps/generic/dl-prop.h: New file.
9801 * sysdeps/i386/dl-cet.c: Likewise.
9802 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
9803 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
9804 * sysdeps/x86/cet-tunables.h: Likewise.
9805 * sysdeps/x86/check-cet.awk: Likewise.
9806 * sysdeps/x86/configure: Likewise.
9807 * sysdeps/x86/configure.ac: Likewise.
9808 * sysdeps/x86/dl-cet.c: Likewise.
9809 * sysdeps/x86/dl-procruntime.c: Likewise.
9810 * sysdeps/x86/dl-prop.h: Likewise.
9811 * sysdeps/x86/libc-start.h: Likewise.
9812 * sysdeps/x86/link_map.h: Likewise.
9813 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
9815 (_dl_runtime_profile): Likewise.
9816 (_dl_runtime_resolve_shstk): New.
9817 (_dl_runtime_profile_shstk): Likewise.
9818 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
9820 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
9821 (CFLAGS-.os): Likewise.
9822 (CFLAGS-.op): Likewise.
9823 (CFLAGS-.oS): Likewise.
9824 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
9826 (tests-special): Add $(objpfx)check-cet.out.
9827 (cet-built-dso): New.
9828 (+$(cet-built-dso:=.note)): Likewise.
9829 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
9830 ($(objpfx)check-cet.out): New.
9831 (generated): Add check-cet.out.
9832 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
9834 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
9835 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9836 (init_cpu_features): Call get_cet_status to check CET status
9837 and update dl_x86_feature_1 with CET status. Call
9838 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
9839 (set_x86_shstk). Disable and lock CET in libc.a.
9840 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
9841 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
9842 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9843 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
9844 (_CET_ENDBR): Define if not defined.
9845 (ENTRY): Add _CET_ENDBR.
9846 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
9848 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
9850 (_dl_runtime_profile): Likewise.
9852 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
9855 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
9856 restore r2 on longjmp.
9857 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
9859 Added rules to build test tst-setjmp-bug21895-static.
9860 Added module setjmp-bug21895 and rules to build a shared object from it.
9861 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
9862 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
9864 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
9866 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
9867 * benchtests/bench-strstr.c: Likewise.
9868 * string/memmem.c (FASTSEARCH): Define.
9869 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
9870 Add support for FASTSEARCH.
9871 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
9872 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
9873 (FASTSEARCH): Define.
9874 * string/test-strcasestr.c: Rename __strnlen to strnlen.
9875 * string/test-strstr.c: Likewise.
9877 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
9879 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
9880 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
9882 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
9883 H.J. Lu <hongjiu.lu@intel.com>
9885 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
9886 (__longjmp): Restore shadow stack pointer if shadow stack is
9887 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9888 isn't defined for __longjmp_cancel.
9889 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
9890 (_setjmp): Save shadow stack pointer if shadow stack is enabled
9891 and SHADOW_STACK_POINTER_OFFSET is defined.
9892 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
9893 (setjmp): Save shadow stack pointer if shadow stack is enabled
9894 and SHADOW_STACK_POINTER_OFFSET is defined.
9895 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
9896 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9897 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9898 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
9900 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9901 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9902 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
9903 Remove jmp_buf-ssp.sym.
9904 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9906 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9907 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9908 * sysdeps/x86/Makefile (gen-as-const-headers): Add
9910 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
9911 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
9912 (__longjmp): Restore shadow stack pointer if shadow stack is
9913 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9914 isn't defined for __longjmp_cancel.
9915 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
9916 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9917 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9919 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
9922 * nptl/pthread_create.c: Include <tls-setup.h>.
9923 (__pthread_create_2_1): Call tls_setup_tcbhead.
9924 * sysdeps/generic/tls-setup.h: New file.
9925 * sysdeps/x86/nptl/tls-setup.h: Likewise.
9926 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
9927 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
9929 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
9931 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
9932 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
9933 (X86_FEATURE_1_SHSTK): Likewise.
9934 (CET_ENABLED): Likewise.
9935 (IBT_ENABLED): Likewise.
9936 (SHSTK_ENABLED): Likewise.
9938 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
9941 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
9942 (LOCALES): Likewise.
9943 * localedata/dsb_DE.UTF-8.in: New file.
9944 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
9946 2018-07-12 Florian Weimer <fweimer@redhat.com>
9948 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
9949 __mprotect, not mprotect.
9951 2018-07-11 Florian Weimer <fweimer@redhat.com>
9953 * io/Makefile (headers): Add bits/statx.h.
9955 2018-07-10 Mike FABIAN <mfabian@redhat.com>
9957 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
9958 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
9960 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
9961 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
9964 2018-07-10 Florian Weimer <fweimer@redhat.com>
9966 * io/Makefile (routines): Add statx.
9967 (tests-internal): Add tst-statx.
9968 * io/Versions (GLIBC_2.28): Export statx.
9969 * io/bits/statx.h: New file.
9970 * io/sys/stat.h [__USE_GNU]: Include it.
9971 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
9972 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
9974 * io/statx.c: New file.
9975 * io/statx_generic.: Likewise.
9976 * io/tst-statx.: Likewise.
9977 * include/bits/statx.h: Likewise.
9978 * sysdeps/unix/sysv/linux/kernel-features.h
9979 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
9980 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9981 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
9982 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
9984 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9985 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
9986 * sysdeps/unix/sysv/linux/statx.c: New file.
9987 * manual/filesys.texi: Note that statx is undocumented.
9988 * sysdeps/**/libc*.abilist: Update.
9990 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9992 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
9993 a kernel issue which lead to test failure in some cases.
9995 2018-07-10 Florian Weimer <fweimer@redhat.com>
9998 * posix/regexec.c (check_node_accept_bytes): When comparing
9999 weights, do not compare an extra byte after the end of the
10002 2018-07-10 Florian Weimer <fweimer@redhat.com>
10004 * libio/readline.c: Fix copyright year.
10005 * libio/tst-readline.c Likewise.
10006 * nss/tst-nss-files-hosts-getent.c: Likewise.
10008 2018-07-06 Florian Weimer <fweimer@redhat.com>
10011 * nss/nss_files/files-XXX.c (internal_getent): Use
10012 __libc_readline_unlocked. Seek back to the start of the line if
10013 parsing failes with ERANGE.
10014 (get_contents_ret, get_contents): Remove.
10015 * nss/tst-nss-files-hosts-getent.c: New file.
10016 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
10017 (tst-nss-files-hosts-getent): Link with -ldl.
10019 2018-07-06 Florian Weimer <fweimer@redhat.com>
10021 * include/stdio.h (__libc_readline_unlocked): Declare.
10022 (__ftello64, __fseeko64): Declare aliases.
10023 * libio/readline.c: New file.
10024 * libio/tst-readline.c: Likewise.
10025 (routines): Add readline.
10026 (tests-internal): Add tst-readlime.
10027 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
10028 __libc_readline_unlocked.
10029 * libio/fseeko.c (__fseeko): Rename from fseeko.
10030 (fseeko): Add alias.
10031 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
10032 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
10033 (fseeko64): Add alias.
10034 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
10035 * libio/ftello64.c (__ftello64): Rename from ftello64.
10036 (ftello64): Add alias.
10038 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10040 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
10043 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10045 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
10046 Use dl_hwcap without masking.
10047 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
10048 Remove HWCAP_CPUID.
10050 2018-07-06 Florian Weimer <fweimer@redhat.com>
10052 * conform/conformtest.pl (checknamespace): Escape literal braces
10053 in regular expressions.
10055 2018-07-06 Amit Pawar <amit.pawar@amd.com>
10057 * sysdeps/x86/cpu-features.c (get_common_indeces):
10058 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
10059 * sysdeps/x86/cpu-features.c (init_cpu_features):
10060 AVX_Fast_Unaligned_Load is disabled for Excavator core.
10062 2018-07-05 Florian Weimer <fweimer@redhat.com>
10064 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
10066 (CFLAGS-elf-init.oS): Likewise.
10068 2018-07-05 Florian Weimer <fweimer@redhat.com>
10069 Carlos O'Donell <carlos@redhat.com>
10071 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
10072 $(no-stack-protector). stack_chk_fail_local.c can be compiled
10073 with stack protector enabled because there is no risk of infinite
10076 2018-07-05 Maciej W. Rozycki <macro@mips.com>
10080 * libc-abis (ABSOLUTE): New ABI.
10081 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
10082 * NEWS: Mention the new ABI.
10084 2018-07-05 Florian Weimer <fweimer@redhat.com>
10087 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
10088 (RENAME_WHITEOUT): Define.
10089 [__USE_GNU] (renameat2): Declare.
10090 * stdio-common/Makefile (routines): Add renameat2.
10091 (tests): Add tst-renameat2.
10092 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
10093 * stdio-common/renameat2.c: New file.
10094 * stdio-common/tst-renameat2.c: Likewise.
10095 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
10096 * manual/filesys.texi (Temporary Files): Note that renameat2 is
10098 * sysdeps/unix/sysv/linux/kernel-features.h
10099 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
10100 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10101 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10102 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10103 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10104 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10105 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
10106 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10107 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
10108 * include/stdio.h (__renameat): Add alias for renameat.
10109 * stdio-common/renameat.c (__renameat): Rename from renameat.
10110 Add hidden definition and alias.
10111 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
10112 * sysdeps/mach/hurd/renameat.c: Likewise.
10113 * sysdeps/**/libc*.abilist: Add renameat2.
10115 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10117 * posix/bug-regex33.c: Fix build after regex sync.
10119 2018-07-04 Carlos O'Donell <carlos@redhat.com>
10122 * localedata/tst-langinfo-setlocale.c: New file.
10123 * localedata/tst-langinfo-setlocale-static.c: New file.
10124 * localedata/tst-langinfo-newlocale.c: New file.
10125 * localedata/tst-langinfo-newlocale-static.c: New file.
10126 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
10127 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
10128 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
10129 (tests-static): Remove tst-langinfo-static. Add
10130 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
10131 (tests-special): Remove $(objpfx)tst-langinfo.out,
10132 $(objpfx)tst-langinfo-static.out. Add
10133 $(objpfx)tst-langinfo-setlocale.out,
10134 $(objpfx)tst-langinfo-newlocale.out,
10135 $(objpfx)tst-langinfo-setlocale-static.out,
10136 $(objpfx)tst-langinfo-newlocale-static.out.
10137 ($(objpfx)tst-langinfo.out): Remove.
10138 ($(objpfx)tst-langinfo-static.out): Remove.
10139 ($(objpfx)tst-langinfo-newlocale.out): New target.
10140 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
10141 (test-xfail-tst-langinfo-newlocale-static): Add.
10142 ($(objpfx)tst-langinfo-setlocale.out): New target.
10143 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
10144 * localedata/tst-langinfo.c: Call test_locale.
10145 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
10148 2018-07-04 Florian Weimer <fweimer@redhat.com>
10150 testrun.sh: Implement --tool=strace, --tool=valgrind
10151 * Makefile (testrun-script): Define variable.
10152 (testrun.sh): Use variable.
10153 * manual/install.texi (Tools for Compilation): make 4.0 or later
10155 * configure.ac: Check for make 4.0 or later.
10156 * INSTALL: Regenerate.
10157 * configure: Likewise.
10159 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10165 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
10166 * posix/PCRE.tests: Remove invalid test.
10167 * posix/bug-regex28.c: Fix expected values for used syntax.
10168 * posix/bug-regex37.c: New file.
10169 * posix/bug-regex38.c: Likewise.
10170 * posix/regcomp.c: Sync with gnulib.
10171 * posix/regex.c: Likewise.
10172 * posix/regex.h: Likewise.
10173 * posix/regex_internal.c: Likewise.
10174 * posix/regex_internal.h: Likewise.
10175 * posix/regexec.c: Likewise.
10177 2018-06-26 Mike FABIAN <mfabian@redhat.com>
10180 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
10181 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
10182 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
10183 * localedata/unicode-gen/PropList.txt: likewise.
10184 * localedata/unicode-gen/UnicodeData.txt: likewise.
10185 * localedata/charmaps/UTF-8: Regenerate.
10186 * localedata/locales/i18n_ctype: likewise.
10187 * localedata/locales/tr_TR: likewise.
10188 * localedata/locales/translit_circle: likewise.
10189 * localedata/locales/translit_cjk_compat: likewise.
10190 * localedata/locales/translit_combining: likewise.
10191 * localedata/locales/translit_compat: likewise.
10192 * localedata/locales/translit_font: likewise.
10193 * localedata/locales/translit_fraction: likewise.
10195 2018-07-03 Florian Weimer <fweimer@redhat.com>
10198 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
10199 * stdio-common/tst-printf.sh: Adjust expected output.
10200 * LICENSES: Update.
10202 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10204 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
10207 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10209 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
10210 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
10211 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
10212 * stdio-common/tst-printfsz-islongdouble.c: New file.
10213 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
10214 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
10215 [subdir == stdio-common] (routines): Add ieee128-printf_size.
10216 [subdir == stdio-common] (tests-internal): Add
10217 test-printf-size-ieee128, and test-printf-size-ibm128.
10218 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
10219 (CFLAGS-test-printf-size-ibm128.c): New variables.
10220 [subdir == stdio-common] (tests-special): Add
10221 $(objpfx)test-printf-size-ieee128.out and
10222 $(objpfx)test-printf-size-ibm128.out.
10223 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
10224 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
10225 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
10226 __printf_sizeieee128.
10227 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
10229 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
10231 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
10234 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
10236 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
10237 (exp2f_inline): Likewise.
10238 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
10239 (__math_uflowf): Likewise.
10240 (__math_may_uflowf): Likewise.
10241 (__math_divzerof): Likewise.
10242 (__math_invalidf): Likewise.
10243 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
10244 (__math_oflowf): Likewise.
10245 (__math_uflowf): Likewise.
10246 (__math_may_uflowf): Likewise.
10247 (__math_divzerof): Likewise.
10248 (__math_invalidf): Likewise.
10250 2018-06-29 DJ Delorie <dj@redhat.com>
10251 Carlos O'Donell <carlos@redhat.com>
10254 * include/libc-symbols.h: Comment the freeres framework.
10255 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
10256 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
10257 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
10258 * dlfcn/dlerror.c: Include libc-symbols.h
10259 (__dlerror_main_freeres): New function.
10260 * dlfcn/dlfreeres.c: New file.
10261 * dlfcn/sdlfreeres.c: New file.
10262 * include/dlfcn.h: Declare __dlerror_main_freeres.
10263 * malloc/set-freeres.c: Declare __libdl_freeres, and
10264 __libpthread_freeres.
10265 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
10266 the releavant libraries are loaded.
10267 * malloc/thread-freeres.c: Add comments.
10268 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
10269 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
10270 * nptl/allocatestack.c (__nptl_free_stacks): New function.
10271 (__free_stacks): Rename to...
10272 (free_stacks): ...this. Mark static.
10273 (queue_stack): Call free_stacks.
10274 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
10275 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
10276 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
10277 ptr_freeres element from struct.
10278 (pthread_functions): Remove .ptr_freeres from struct initializer.
10279 [SHARED] (nptl_freeres): Remove.
10280 * nptl/nptlfreeres.c: New file.
10282 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
10283 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
10285 (__free_stacks): Rename to...
10286 (__nptl_stacks_freeres): ...this.
10287 (__shm_directory_freeres): Declare.
10288 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
10289 (__nptl_unwind_freeres): ...this.
10290 * resolv/res-close.c: Add comment.
10291 * resolv/resolv_conf.c: Include libc-symbols.h.
10292 * string/strerror_l.c: Include libc-symbols.h.
10293 * sunrpc/rpc_thread.c: Include libc-symbols.h.
10294 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
10295 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
10296 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
10298 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10300 * stdlib/tst-strfmon_l.c: Add tests for long double.
10302 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
10305 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
10306 * localedata/locales/dsb_DE: New file.
10308 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10311 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
10313 (alt_mon): New entry, import from CLDR (nominative case).
10315 2018-06-29 Sylvain Lesage <severo@rednegra.net>
10318 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
10320 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
10322 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
10323 Use vector registers.
10325 * sysdeps/aarch64/multiarch/memmove_falkor.S
10326 (__memcpy_falkor): Use vector registers.
10328 2018-06-29 Martin Sebor <msebor@redhat.com>
10330 * manual/stdio.texi (Customizing Printf): Mention interaction
10331 with GCC built-ins.
10333 2018-06-29 Maciej W. Rozycki <macro@mips.com>
10336 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
10337 `st_value' is 0 if `st_shndx' is SHN_ABS.
10338 * elf/tst-absolute-zero.c: New file.
10339 * elf/tst-absolute-zero-lib.c: New file.
10340 * elf/tst-absolute-zero-lib.lds: New file.
10341 * elf/Makefile (tests): Add `tst-absolute-zero'.
10342 (modules-names): Add `tst-absolute-zero-lib'.
10343 (LDLIBS-tst-absolute-zero-lib.so): New variable.
10344 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
10345 ($(objpfx)tst-absolute-zero: New dependency.
10347 2018-06-29 Zack Weinberg <zackw@panix.com>
10349 * configure.ac: New command-line option --disable-crypt.
10350 Force --disable-nss-crypt when --disable-crypt is given, with a
10351 warning if it was explicitly enabled.
10352 * configure: Regenerate.
10353 * config.make.in: New boolean substitution variable $(build-crypt).
10354 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
10355 when $(build-crypt).
10356 * manual/install.texi: Document --disable-crypt.
10357 * INSTALL: Regenerate.
10359 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
10360 which is never set.
10361 * conform/Makefile: Only include libcrypt.a in
10362 linknamespace-libs-xsi and linknamespace-libs-XPG4
10363 when $(build-crypt).
10364 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
10365 USE_CRYPT to 1 when $(build-crypt).
10366 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
10367 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
10368 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
10370 2018-06-29 Zack Weinberg <zackw@panix.com>
10372 * crypt/crypt.h, posix/unistd.h: Update comments and
10373 prototypes for crypt and crypt_r.
10375 * manual/crypt.texi (Cryptographic Functions): New initial
10377 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
10378 (Unpredictable Bytes): Improve initial exposition. Clarify error
10379 behavior of getentropy and getrandom.
10380 * manual/examples/genpass.c: Generate a salt using getentropy
10381 instead of the current time. Use hash $5$ (SHA-2-256).
10382 * manual/examples/testpass.c: Demonstrate validation against
10383 hashes generated with three different one-way functions.
10385 * manual/intro.texi: crypt.texi does not need an overview
10388 * manual/nss.texi, manual/memory.texi, manual/socket.texi
10389 * manual/terminal.texi: Consistently refer to "passphrases"
10390 * instead of "passwords", and to the "user database" instead
10391 * of the "password database".
10392 * manual/users.texi: Similarly. Add notes about how actual
10393 passphrase hashes are now stored in the shadow database.
10394 Remove 20-year-old junk todo note.
10396 2018-06-29 Zack Weinberg <zackw@panix.com>
10398 * manual/crypt.texi: Use a normal top-level @node declaration.
10399 Move most of the introductory text to the 'crypt' section.
10400 Move the example programs below the @deftypefun for 'crypt_r'.
10401 Move the 'getpass' section...
10402 * manual/terminal.texi: ...here.
10404 2018-06-29 Zack Weinberg <zackw@panix.com>
10405 Florian Weimer <fweimer@redhat.com>
10407 * posix/unistd.h: Do not declare encrypt.
10408 (_XOPEN_CRYPT): Remove macro definition.
10409 (crypt): Declare only for _USE_MISC.
10410 * stdlib/stdlib.h: Do not declare setkey.
10411 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
10412 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
10414 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
10415 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
10416 into compat symbols. Don't define initial_perm if it's not
10418 * crypt/cert.c: Link explicitly with the expected versions for
10419 setkey and encrypt. If they are not available at all, mark
10420 the test as unsupported.
10422 * sunrpc/des_crypt.c: Unconditionally block linkage with
10423 cbc_crypt and ecb_crypt for new binaries.
10424 * sunrpc/des_soft.c: Unconditionally block linkage with
10425 des_setparity for new binaries.
10427 * manual/crypt.texi: Remove the entire "DES Encryption"
10428 section. Also remove the paragraph talking about FIPS 140-2
10429 from the introduction.
10430 * manual/string.texi (strfry, memfrob): Revise. Recommend use
10431 of libgcrypt for "real" encryption, not DES.
10432 * manual/conf.texi (Constants for Sysconf): Mention that
10433 _XOPEN_CRYPT is no longer impelemented.
10435 * conform/data/unistd.h-data: Remove crypt function declaration.
10437 2018-06-29 Florian Weimer <fweimer@redhat.com>
10440 * malloc/hooks.c: Update comments on restoring of dumped heaps.
10441 (disallow_malloc_check): Remove variable.
10442 (__malloc_check_init): Adjust.
10443 (malloc_set_state): Update comment.
10444 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
10447 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10450 * localedata/locales/ast_ES (mon): Rename to...
10452 (mon): Import from CLDR (genitive case).
10454 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
10455 Jakub Sitnicki <jkbs@redhat.com>
10458 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
10459 on NLM_F_DUMP_INTR.
10461 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
10463 * manual/llio.texi: Remove spurious space.
10465 2018-06-28 Florian Weimer <fweimer@redhat.com>
10468 * time/bits/types/struct_timespec.h: Change header inclusion guard to
10471 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10473 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
10474 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
10475 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
10476 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
10477 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
10478 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
10479 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
10481 2018-06-27 Maciej W. Rozycki <macro@mips.com>
10484 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
10485 Copy and null-terminate entries that are not terminated, in
10486 addition to empty ones.
10488 2018-06-27 Florian Weimer <fweimer@redhat.com>
10491 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
10492 (extend_alloca_account): Remove.
10493 * manual/stdio.texi (Variable Arguments Output): Update comment.
10495 2018-06-27 Joseph Myers <joseph@codesourcery.com>
10497 * nptl/sockperf.c: Remove file.
10499 2018-06-27 Florian Weimer <fweimer@redhat.com>
10502 * elf/dl-deps.c (_dl_map_object_deps): Use struct
10503 scratch_buffer instead of extend_alloca.
10505 2018-06-27 Florian Weimer <fweimer@redhat.com>
10508 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
10509 scratch_buffer instead of extend_alloca. Update comments.
10511 2018-06-27 Florian Weimer <fweimer@redhat.com>
10514 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
10515 instead of extend_alloca.
10517 2018-06-26 Joseph Myers <joseph@codesourcery.com>
10520 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
10521 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
10523 * scripts/test-installation.pl: Put temporary files in build
10524 directory, not /tmp.
10525 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
10526 (CFLAGS-bug4.c): Likewise.
10527 (CFLAGS-bug5.c): Likewise.
10528 (CFLAGS-test-fseek.c): Likewise.
10529 (CFLAGS-test-popen.c): Likewise.
10530 (CFLAGS-test_rdwr.c): Likewise.
10531 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
10533 * stdio-common/bug4.c (main): Likewise.
10534 * stdio-common/bug5.c (main): Likewise.
10535 * stdio-common/test-fseek.c (TESTFILE): Likewise.
10536 * stdio-common/test-popen.c (do_test): Likewise.
10537 * stdio-common/test_rdwr.c (main): Likewise.
10539 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
10541 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
10542 (sem_open): Set sem.newsem.pad to zero for valgrind.
10544 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10547 * NEWS: Mention fcntl64 addition.
10548 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
10549 * login/utmp_file.c: Likewise.
10550 * sysdeps/posix/fdopendir.c: Likewise.
10551 * sysdeps/posix/opendir.c: Likewise.
10552 * sysdeps/unix/pt-fcntl.c: Likewise.
10553 * include/fcntl.h (__libc_fcntl64, __fcntl64,
10554 __fcntl64_nocancel_adjusted): New prototype.
10555 (__fcntl_nocancel_adjusted): Remove prototype.
10556 * io/Makefile (routines): Add fcntl64.
10557 (CFLAGS-fcntl64.c): New rule.
10558 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
10559 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
10560 * io/fcntl.h (fcntl64): Add prototype and redirect if
10561 __USE_FILE_OFFSET64 is defined.
10562 * io/fcntl64.c: New file.
10563 * manual/llio.text: Add a note for which commands fcntl acts a
10564 cancellation point.
10565 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
10566 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
10567 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
10569 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
10570 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
10572 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
10573 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
10574 to __fcntl64_nocancel.
10575 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
10576 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
10577 to __fcntl64_nocancel.
10578 * sysdeps/generic/not-cancel.h: Likewise.
10579 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
10580 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
10581 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10582 (fcntl64): New symbol.
10583 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10584 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10585 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10588 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10589 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10590 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10591 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10592 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10593 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
10594 fcntl64): Likewise.
10595 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10596 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
10597 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10598 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10599 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10600 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10601 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10602 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10603 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10608 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10609 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10610 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10612 2018-06-26 Florian Weimer <fweimer@redhat.com>
10614 Run thread shutdown functions in an explicit order.
10615 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
10617 (__libc_thread_freeres): Call thread shutdown functions
10619 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
10620 * include/string.h (__strerror_thread_freeres): Declare.
10621 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
10622 arena_thread_freeres. No longer static. Remove thread shutdown
10624 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
10626 * resolv/res-close.c (__res_thread_freeres): Renamed from
10627 res_thread_freeres. No longer static. Remove thread shutdown
10629 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
10630 * resolv/resolv_conf.c (freeres): Remove incorrect section
10631 attribute and use libc_freeres_fn.
10632 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
10633 strerror_thread_freeres. No longer static. Remove thread
10634 shutdown hook registration.
10635 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
10636 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
10637 shutdown hook registration.
10638 * Makerules (shlib.lds): Do not provide section boundary symbols
10639 for __libc_thread_subfreeres.
10640 * manual/memory.texi (Basic Allocation): Update comment.
10642 2018-06-26 Florian Weimer <fweimer@redhat.com>
10644 Remove always-defined _RPC_THREAD_SAFE_ macro.
10645 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
10646 Do not define _RPC_THREAD_SAFE_.
10647 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
10649 * sunrpc/clnt_perr.c: Likewise.
10650 * sunrpc/clnt_raw.c: Likewise.
10651 * sunrpc/clnt_simp.c: Likewise.
10652 * sunrpc/key_call.c: Likewise.
10653 * sunrpc/rpc_common.c: Likewise.
10654 * sunrpc/rpc_main.c: Likewise.
10655 * sunrpc/rpc_thread.c: Likewise.
10656 * sunrpc/svc.c: Likewise.
10657 * sunrpc/svc_raw.c: Likewise.
10658 * sunrpc/svc_simple.c: Likewise.
10659 * sumrpc/svcauth_des.c: Likewise.
10661 2018-06-26 Florian Weimer <fweimer@redhat.com>
10663 * libio/Makefile (tests-internal): Add tst-vtables,
10664 tst-vtables-interposed.
10665 * libio/tst-vtables.c: New file.
10666 * libio/tst-vtables-common.c: Likewise.
10667 * libio/tst-vtables-interposed.c: Likewise.
10669 2018-06-26 Florian Weimer <fweimer@redhat.com>
10671 * support/support_test_main.c (support_test_main): Only call
10672 setvbuf if not disables.
10673 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
10674 * support/test-driver.h (struct test_config): Add no_setvbuf member.
10676 2018-06-26 Florian Weimer <fweimer@redhat.com>
10679 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
10681 2018-06-25 Florian Weimer <fweimer@redhat.com>
10684 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10685 Use struct scratch_buffer instead of extend_alloca.
10687 2018-06-25 Florian Weimer <fweimer@redhat.com>
10690 * nss/getent.c (initgroups_keys): Use dynarray instead of
10693 2018-06-25 Florian Weimer <fweimer@redhat.com>
10696 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
10697 Use struct scratch_buffer instead of extend_alloca.
10699 2018-06-25 Florian Weimer <fweimer@redhat.com>
10702 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
10703 back to malloc directly, without stack allocations.
10705 2018-06-25 Florian Weimer <fweimer@redhat.com>
10708 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
10711 2018-06-25 Florian Weimer <fweimer@redhat.com>
10714 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
10716 * nscd/hstcache.c (addhstbyX): Likewise.
10717 * nscd/pwdcache.c (addpwbyX): Likewise.
10718 * nscd/servicescache.c (addservbyX): Likewise.
10720 2018-06-25 Florian Weimer <fweimer@redhat.com>
10723 * nscd/connections.c (read_cmdline): New function.
10724 (restart): Use it. Update comment.
10726 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10729 * localedata/locales/csb_PL (mon): Rename to...
10731 (abmon): Rename to...
10732 (ab_alt_mon): This.
10733 (mon): Add with proper genitive forms, copy from Wikipedia.
10736 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10739 * localedata/locales/csb_PL (mon): Fix typos:
10740 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
10741 (yesstr): Add, value is "jo".
10742 (nostr): Add, value is "nié".
10744 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10746 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
10747 all log1p and significand functions on m680x0.
10748 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
10749 of s_significand.c..
10750 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
10751 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
10752 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
10753 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
10754 s_log1p.c and include it..
10756 2018-06-21 Vincent Chen <vincentc@andestech.com>
10758 * elf/elf.h (R_NDS32_NONE): New define.
10759 (R_NDS32_32_RELA): Likewise.
10760 (R_NDS32_COPY): Likewise.
10761 (R_NDS32_GLOB_DAT): Likewise.
10762 (R_NDS32_JUMP_SLOT): Likewise.
10763 (R_NDS32_RELATIVE): Likewise.
10764 (R_NDS32_TLS_TPOFF): Likewise.
10765 (R_NDS32_TLS_DESC): Likewise.
10767 2018-06-21 Mark Wielaard <mark@klomp.org>
10769 * elf/elf.h (R_BPF_MAP_FD): Removed.
10770 (R_BPF_64_64, R_BPF_64_32): New.
10772 2018-06-21 Florian Weimer <fweimer@redhat.com>
10775 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
10776 Renamed from libc_feholdsetround_ctx.
10777 (default_libc_feresetround_ctx): Renamed from
10778 libc_feresetround_ctx.
10779 (default_libc_feholdsetround_noex_ctx): Renamed from
10780 libc_feholdsetround_noex_ctx.
10781 (default_libc_feresetround_noex_ctx): Renamed from
10782 libc_feresetround_noex_ctx.
10783 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
10784 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
10785 forwardning to the old implementations under the new names.
10786 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
10787 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
10788 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
10789 (libc_feresetround_ctx): Forward to default implements for i386
10790 and MATH_SET_BOTH_ROUNDING_MODES.
10791 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
10792 Add -DMATH_SET_BOTH_ROUNDING_MODES.
10794 2018-06-20 Joseph Myers <joseph@codesourcery.com>
10796 * string/tst-cmp.c: Include <libc-diag.h>.
10797 (strncmp_max): Disable -Wstringop-overflow= around call to
10799 (strncasecmp_max): Disable -Wstringop-overflow= around call to
10802 * string/bug-strpbrk1.c: Include <libc-diag.h>.
10803 (main): Disable -Wunused-value around call to strpbrk.
10804 * string/bug-strspn1.c: Include <libc-diag.h>.
10805 (main): Disable -Wunused-value around call to strspn.
10807 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10808 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10810 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
10811 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
10813 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10815 * math/Makefile (libm-calls): Move s_significandF to...
10816 (gen-libm-calls): ... here.
10817 * math/s_significand_template.c: New file.
10818 * math/s_significand.c: Removed.
10819 * math/s_significandf.c: Removed.
10820 * math/s_significandl.c: Removed.
10821 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
10822 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
10824 * math/e_exp2_template.c (declare_mgen_finite_alias,
10825 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
10826 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
10827 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
10829 2018-06-20 Florian Weimer <fweimer@redhat.com>
10831 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
10833 2018-06-19 Joseph Myers <joseph@codesourcery.com>
10836 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
10837 floating-point number to strtod functions rather than possibly
10838 negating result of those functions.
10839 * stdio-common/tst-scanf-round.c: New file.
10840 * stdio-common/Makefile (tests): Add tst-scanf-round.
10841 ($(objpfx)tst-scanf-round): Depend on $(libm).
10843 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
10845 * sysdeps/mach/hurd/localplt.data: Move to...
10846 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
10847 R_386_GLOB_DAT like on Linux i386.
10849 2018-06-18 Joseph Myers <joseph@codesourcery.com>
10851 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
10852 (SHM_STAT_ANY): New macro.
10853 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
10854 (SHM_STAT_ANY): Likewise.
10855 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
10856 (SHM_STAT_ANY): Likewise.
10857 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
10858 (SHM_STAT_ANY): Likewise.
10859 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
10860 (SHM_STAT_ANY): Likewise.
10861 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
10862 (SHM_STAT_ANY): Likewise.
10863 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
10864 (SHM_STAT_ANY): Likewise.
10865 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
10866 (SHM_STAT_ANY): Likewise.
10867 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
10868 (SHM_STAT_ANY): Likewise.
10869 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
10870 (SHM_STAT_ANY): Likewise.
10871 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
10872 (SHM_STAT_ANY): Likewise.
10873 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
10874 (SHM_STAT_ANY): Likewise.
10876 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
10877 (SEM_STAT_ANY): New macro.
10878 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
10879 (SEM_STAT_ANY): Likewise.
10880 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
10881 (SEM_STAT_ANY): Likewise.
10882 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
10883 (SEM_STAT_ANY): Likewise.
10884 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
10885 (SEM_STAT_ANY): Likewise.
10886 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
10887 (SEM_STAT_ANY): Likewise.
10888 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
10889 (SEM_STAT_ANY): Likewise.
10890 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
10891 (SEM_STAT_ANY): Likewise.
10892 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
10893 (SEM_STAT_ANY): Likewise.
10894 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
10895 (SEM_STAT_ANY): Likewise.
10897 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
10898 (MSG_STAT_ANY): New macro.
10899 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
10900 (MSG_STAT_ANY): Likewise.
10901 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
10902 (MSG_STAT_ANY): Likewise.
10903 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
10904 (MSG_STAT_ANY): Likewise.
10905 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
10906 (MSG_STAT_ANY): Likewise.
10907 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
10908 (MSG_STAT_ANY): Likewise.
10909 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
10910 (MSG_STAT_ANY): Likewise.
10911 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
10912 (MSG_STAT_ANY): Likewise.
10913 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
10914 (MSG_STAT_ANY): Likewise.
10915 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
10916 (MSG_STAT_ANY): Likewise.
10918 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10919 (MAP_TYPE): Change value to 0x2b.
10921 2018-06-18 Florian Weimer <fweimer@redhat.com>
10924 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
10925 socket with SOCK_CLOEXEC.
10927 2018-06-18 Joseph Myers <joseph@codesourcery.com>
10930 * sysdeps/powerpc/powerpc64/le/Makefile
10931 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
10932 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
10933 (gnulib-tests): Also add $(f128-loader-link) for
10934 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
10936 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
10938 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
10939 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
10941 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
10942 (sendfile64): New strong alias.
10943 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
10944 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
10945 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
10946 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
10948 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
10949 ___pthread_get_cleanup_stack.
10950 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
10951 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
10952 * mach/shortcut.awk: Make syscall stubs include
10953 <mach-shortcuts-hidden.h> and add hidden definition.
10954 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
10955 (__mach_msg): Add hidden prototype.
10956 * mach/msg.c: Include <mach.h>.
10957 (__mach_msg): Add hidden definition.
10958 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
10959 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
10960 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
10961 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
10962 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
10963 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
10964 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
10965 prototype and definition.
10966 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
10967 hidden target for _hurd_self_sigstate.
10969 2018-06-15 Joseph Myers <joseph@codesourcery.com>
10972 * stdlib/tst-strtod-nan-sign-main.c: New file.
10973 * stdlib/tst-strtod-nan-sign.c: Likewise.
10974 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
10975 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
10976 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
10977 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
10978 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
10980 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
10983 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
10986 2018-06-14 Florian Weimer <fweimer@redhat.com>
10989 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
10990 that the result stays within the ISO-8859-1 range.
10991 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
10992 characters are defined in IBM273.
10994 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
10996 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
10997 __mach_task_self): Remove attribute_hidden.
10999 2018-06-14 Joseph Myers <joseph@codesourcery.com>
11001 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
11002 ignore -Wrestrict for one test.
11004 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
11005 Szabolcs Nagy <szabolcs.nagy@arm.com>
11007 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
11009 2018-06-14 Florian Weimer <fweimer@redhat.com>
11011 * scripts/update-abilist.sh: Accept empty list of files to patch.
11013 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
11015 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
11016 test-xfail-check-abi-libmachuser): Add.
11017 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
11018 __libc_read and __libc_write to __read and __write.
11019 * sysdeps/hurd/include/hurd/port.h: New file.
11020 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
11021 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
11022 __thread_switch, __evc_wait): Move declarations to...
11023 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
11025 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
11026 use PLT to call _hurd_self_sigstate.
11028 2018-06-13 Joseph Myers <joseph@codesourcery.com>
11031 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
11032 MAX_EXP as overflowing.
11033 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
11035 (round_str): Output also whether result overflows in each rounding
11037 * stdlib/tst-strtod-round-data: Add more tests.
11038 * stdlib/tst-strtod-round-data.h: Regenerated.
11039 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
11040 (TEST): Handle extra arguments for overflow flags.
11041 (struct test_overflow): New type.
11042 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
11043 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
11044 (test_in_one_mode): Take argument with overflow information.
11045 (do_test): Update calls to test_in_one_mode.
11047 2018-06-12 Carlos O'Donell <carlos@redhat.com>
11049 * elf/dl-load (_dl_dst_substitute): Correct comment.
11050 (_dl_dst_count): Likewise.
11052 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
11053 lll_futex_timed_wait.
11055 2018-06-12 Joseph Myers <joseph@codesourcery.com>
11058 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
11060 * math/test-nan-const.c: New file.
11061 * math/Makefile (tests): Add test-nan-const.
11062 (CFLAGS-test-nan-const.c): New variable.
11064 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
11066 * benchtests/scripts/compare_strings.py (process_results): Add
11067 funcs argument. Compare only functions which are selected.
11068 (main): Check if base function is among selected functions.
11069 Pass selected functions to process_results.
11070 (__main__): Add -f/--functions argument.
11072 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
11073 Hongbo Zhang <hongbo.zhang@linaro.org>
11075 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
11076 __memcpy_falkor for phecda core.
11077 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
11078 __memmove_falkor for phecda core.
11079 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
11080 __memset_falkor for phecda core.
11081 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
11083 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
11084 macro to identify phecda core.
11086 2018-06-12 Carlos O'Donell <carlos@redhat.com>
11087 Andreas Schwab <schwab@suse.de>
11088 Dmitry V. Levin <ldv@altlinux.org>
11089 Florian Weimer <fweimer@redhat.com>
11096 * elf/dl-dst.h: Remove DL_DST_COUNT.
11097 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
11098 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
11099 (is_dst): Comment. Support ELF gABI.
11100 (_dl_dst_count): Comment. Simplify and count DSTs.
11101 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
11102 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
11105 2018-06-12 Zack Weinberg <zackw@panix.com>
11107 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
11108 * sysdeps/unix/sysv/linux/dl-sysdep.c
11109 Include not-cancel.h. Use __close_nocancel instead of __close,
11110 __open64_nocancel instead of __open, __read_nocancel instead of
11111 __libc_read, and __write_nocancel instead of __libc_write.
11113 * csu/check_fds.c (check_one_fd)
11114 * sysdeps/posix/fdopendir.c (__fdopendir)
11115 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
11116 instead of __fcntl and/or __libc_fcntl.
11118 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
11119 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
11120 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
11121 Use __open64_nocancel instead of __open_nocancel.
11123 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
11124 hidden_proto declarations to the end and issue them if either
11125 IS_IN(libc) or IS_IN(rtld).
11126 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
11127 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
11128 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
11129 read_nocancel, waitpid_nocancel, write_nocancel.
11131 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
11132 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
11133 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
11135 * nptl/pt-fcntl.c: New file.
11136 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
11137 (libpthread-routines): Add pt-fcntl.
11138 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
11139 (__libc_fcntl): Remove attribute_hidden.
11140 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
11141 __fcntl_nocancel_adjusted, not fcntl_common.
11142 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
11143 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
11144 to fcntl_nocancel.c.
11145 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
11146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
11147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11148 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
11150 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
11151 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
11152 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
11153 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
11154 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
11155 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
11156 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
11157 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
11158 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
11159 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
11160 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
11161 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
11162 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
11163 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
11164 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
11165 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
11166 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
11167 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
11168 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
11169 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
11171 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
11172 libpthread-routines.
11173 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
11176 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
11177 __libc_read, and __write instead of __libc_write. Define
11178 __open64 in addition to __open.
11180 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
11184 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
11185 to _private_tm[3] and add __glibc_reserved2.
11186 Add _Static_assert of offset of __private_ss == 0x30.
11187 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
11188 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
11190 2018-06-12 Florian Weimer <fweimer@redhat.com>
11192 x86: Make strncmp usable from rtld.
11193 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
11194 __strncmp_ia32 if in libc (and not in rtld).
11195 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
11196 strncmp if not in libc (and not to __strncmp_sse2).
11198 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
11201 * localedata/locales/gd_GB (mon): Rename to...
11203 (mon): Import from CLDR (genitive case).
11204 * localedata/locales/hsb_DE (mon): Rename to...
11206 (mon): Import from CLDR (genitive case).
11207 * localedata/locales/wa_BE (mon): Rename to...
11209 (mon): Add, fill with the proper genitive forms, but CLDR data
11210 is incomplete; completed according to the comments in this file.
11211 (d_t_fmt): Do not use "di" before the month name, no longer needed.
11213 * localedata/locales/wa_BE (country_name): Reword
11214 "Beljike" -> "Beldjike".
11216 2018-06-11 Joseph Myers <joseph@codesourcery.com>
11219 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
11220 cases of non-finite arguments.
11221 * math/libm-test-fma.inc (fma_test_data): Add more tests.
11223 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
11226 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
11228 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11231 * include/unistd.h (__execvpex): New prototype.
11232 * posix/Makefile (tests): Add tst-spawn4.
11233 (tests-internal): Add tst-spawn4-compat.
11234 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
11235 * posix/tst-spawn4-compat.c: New file.
11236 * posix/tst-spawn4.c: Likewise.
11237 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
11238 binaries as shell scripts.
11239 * sysdeps/posix/spawni.c (__spawni): Likewise.
11241 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
11244 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
11245 ($(all-built-dso:=.dynsym): New target.
11246 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
11247 ($(objpfx)check-initfini.out): New target.
11248 (generated): Add check-initfini.out.
11249 * scripts/check-initfini.awk: New file.
11250 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
11252 * sysdeps/alpha/crti.S (_init): Mark as hidden.
11254 * sysdeps/arm/crti.S (_init): Mark as hidden.
11256 * sysdeps/hppa/crti.S (_init): Mark as hidden.
11258 * sysdeps/i386/crti.S (_init): Mark as hidden.
11260 * sysdeps/ia64/crti.S (_init): Mark as hidden.
11262 * sysdeps/m68k/crti.S (_init): Mark as hidden.
11264 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
11266 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
11268 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
11270 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
11272 * sysdeps/nios2/crti.S (_init): Mark as hidden.
11274 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
11276 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
11278 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
11280 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
11282 * sysdeps/sh/crti.S (_init): Mark as hidden.
11284 * sysdeps/sparc/crti.S (_init): Mark as hidden.
11286 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
11289 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11291 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
11292 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
11293 and TF redirection to KFtype and KF only when the default
11294 long double type is not the IEEE 128-bit floating point type.
11296 2018-06-05 Joseph Myers <joseph@codesourcery.com>
11298 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
11300 (HWCAP_USCAT): Likewise.
11301 (HWCAP_ILRCPC): Likewise.
11302 (HWCAP_FLAGM): Likewise.
11303 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
11305 (_dl_aarch64_cap_flags): Add new flag names.
11307 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
11308 (MAP_FIXED_NOREPLACE): New macro.
11309 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
11310 (MAP_FIXED_NOREPLACE): Likewise.
11311 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
11312 (MAP_FIXED_NOREPLACE): Likewise.
11313 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11314 (MAP_FIXED_NOREPLACE): Likewise.
11315 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
11316 (MAP_FIXED_NOREPLACE): Likewise.
11317 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
11318 (MAP_FIXED_NOREPLACE): Likewise.
11319 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
11320 (MAP_FIXED_NOREPLACE): Likewise.
11321 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
11322 (MAP_FIXED_NOREPLACE): Likewise.
11323 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
11324 (MAP_FIXED_NOREPLACE): Likewise.
11325 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
11326 (MAP_FIXED_NOREPLACE): Likewise.
11327 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
11328 (MAP_FIXED_NOREPLACE): Likewise.
11329 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
11330 (MAP_FIXED_NOREPLACE): Likewise.
11331 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
11332 (MAP_FIXED_NOREPLACE): Likewise.
11333 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
11334 (MAP_FIXED_NOREPLACE): Likewise.
11335 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
11336 (MAP_FIXED_NOREPLACE): Likewise.
11338 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11341 2018-06-04 Joseph Myers <joseph@codesourcery.com>
11343 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11346 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11348 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
11350 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
11352 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11354 * benchtests/scripts/compare_string.py: (process_results) Catch
11355 exception in non-existent base_func and catch exception in
11356 non-existent attribute.
11357 (parse_file) Catch exception if input file does not exist.
11359 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11361 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
11362 options to avoid diff calculation and omit header, respectively.
11363 (main): process --no-diff and --no-header
11365 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11366 H.J. Lu <hongjiu.lu@intel.com>
11368 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11369 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
11371 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11372 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
11373 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
11374 and __wcsncmp_sse2.
11375 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
11376 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
11377 AVX unaligned load is fast and vzeroupper is preferred.
11378 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
11379 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
11380 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
11381 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
11382 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
11383 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
11384 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
11385 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
11386 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
11387 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
11390 2018-06-01 Florian Weimer <fweimer@redhat.com>
11392 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
11393 configuring with --disable-multi-arch, building with
11394 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
11397 2018-06-01 Florian Weimer <fweimer@redhat.com>
11399 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
11400 results from building with “-march=x86-64 -mtune=generic
11401 -mfpmath=sse” and running on a Haswell-era CPU.
11403 2018-06-01 Joseph Myers <joseph@codesourcery.com>
11406 * soft-fp/sqrttf2.c: Remove file.
11407 * soft-fp/sqrtdf2.c: Move to ....
11408 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
11410 (__sqrtdf2): Make conditional on
11411 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11413 * soft-fp/sqrtsf2.c: Move to ....
11414 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
11416 (__sqrtsf2): Make conditional on
11417 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11419 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
11420 (gcc-double-routines): Remove sqrtdf2.
11421 (gcc-quad-routines): Remove sqrttf2.
11422 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11423 Do not filter out sqrtsf2 and sqrtdf2.
11424 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11425 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
11427 2018-06-01 Florian Weimer <fweimer@redhat.com>
11429 * sysdeps/generic/libcidn.abilist: Remove file.
11431 2018-06-01 Florian Weimer <fweimer@redhat.com>
11434 * libio/strfile.h (struct _IO_str_fields): Rename members to
11435 discourage their use and add comment.
11436 (_IO_STR_DYNAMIC): Remove unused macro.
11437 * libio/strops.c (_IO_str_init_static_internal): Do not use
11438 callback pointers. Call malloc and free.
11439 (_IO_str_overflow): Do not use callback pointers. Call malloc
11441 (enlarge_userbuf): Likewise.
11442 (_IO_str_finish): Call free.
11443 * libio/wstrops.c (_IO_wstr_init_static): Initialize
11444 _allocate_buffer_unused.
11445 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
11447 (enlarge_userbuf): Likewise.
11448 (_IO_wstr_finish): Call free.
11449 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
11450 _allocate_buffer_unused, _free_buffer_unused.
11451 * libio/memstream.c (__open_memstream): Likewise.
11452 * libio/vasprintf.c (_IO_vasprintf): Likewise.
11453 * libio/wmemstream.c (open_wmemstream): Likewise.
11455 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
11457 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
11460 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11462 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
11463 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
11464 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
11466 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
11468 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
11470 2018-05-29 Florian Weimer <fweimer@redhat.com>
11472 * support/Makefile (libsupport-routines): Add
11473 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
11474 xpthread_barrierattr_setpshared.
11475 * support/xpthread_barrierattr_destroy.c: New file.
11476 * support/xpthread_barrierattr_init.c: Likewise.
11477 * support/xpthread_barrierattr_setpshared.c: Likewise.
11479 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
11482 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
11483 _r_debug and update DT_DEBUG for debugger.
11485 2018-05-29 Florian Weimer <fweimer@redhat.com>
11487 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
11488 (tst-strtod5i.out): Likewise.
11490 2018-05-25 Joseph Myers <joseph@codesourcery.com>
11492 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
11493 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
11494 (sparc64-quad-routines): New variable. Moved from ....
11495 [$(subdir) = soft-fp] (sysdep_routines): Add
11496 $(sparc64-quad-routines). Moved from ....
11497 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
11498 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
11499 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
11501 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
11502 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
11503 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
11504 * sysdeps/sparc/sparc64/qp_add.c: ... here.
11505 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
11506 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
11507 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
11508 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
11509 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
11510 * sysdeps/sparc/sparc64/qp_div.c: ... here.
11511 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
11512 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
11513 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
11514 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
11515 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
11516 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
11517 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
11518 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
11519 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
11520 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
11521 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
11522 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
11523 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
11524 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
11525 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
11526 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
11527 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
11528 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
11529 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
11530 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
11531 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
11532 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
11533 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
11534 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
11535 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
11536 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
11537 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
11538 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
11539 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
11540 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
11541 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
11542 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
11543 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
11544 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
11545 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
11546 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
11547 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
11548 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
11549 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
11550 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
11551 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
11552 * sysdeps/sparc/sparc64/qp_util.c: ... here.
11553 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
11554 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
11555 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
11556 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
11557 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
11558 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
11560 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
11561 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
11562 (sparc32-quad-routines): New variable. Moved from ....
11563 [$(subdir) = soft-fp] (sysdep_routines): Add
11564 $(sparc32-quad-routines). Moved from ....
11565 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
11566 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
11568 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
11569 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
11570 * sysdeps/sparc/sparc32/q_add.c: ... here.
11571 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
11572 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
11573 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
11574 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
11575 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
11576 * sysdeps/sparc/sparc32/q_div.c: ... here.
11577 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
11578 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
11579 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
11580 * sysdeps/sparc/sparc32/q_feq.c: ... here.
11581 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
11582 * sysdeps/sparc/sparc32/q_fge.c: ... here.
11583 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
11584 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
11585 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
11586 * sysdeps/sparc/sparc32/q_fle.c: ... here.
11587 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
11588 * sysdeps/sparc/sparc32/q_flt.c: ... here.
11589 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
11590 * sysdeps/sparc/sparc32/q_fne.c: ... here.
11591 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
11592 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
11593 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
11594 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
11595 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
11596 * sysdeps/sparc/sparc32/q_mul.c: ... here.
11597 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
11598 * sysdeps/sparc/sparc32/q_neg.c: ... here.
11599 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
11600 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
11601 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
11602 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
11603 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
11604 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
11605 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
11606 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
11607 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
11608 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
11609 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
11610 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
11611 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
11612 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
11613 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
11614 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
11615 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
11616 * sysdeps/sparc/sparc32/q_sub.c: ... here.
11617 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
11618 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
11619 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
11620 * sysdeps/sparc/sparc32/q_util.c: ... here.
11621 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
11622 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
11623 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
11624 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
11626 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11627 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11629 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
11630 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
11631 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
11632 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
11634 2018-05-24 Joseph Myers <joseph@codesourcery.com>
11636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
11638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11640 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
11641 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
11643 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11646 * math/math.h [C++] (iseqsig): Fix parameter type for the long
11649 2018-05-23 Joseph Myers <joseph@codesourcery.com>
11651 * sysdeps/sh/Implies: Remove sh/soft-fp.
11652 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
11653 * sysdeps/sh/sfp-machine.h: ... here.
11655 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11657 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11658 (__mempcpy_erms): Skip zero length.
11659 (__memmove_erms): Likewise.
11660 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11661 (__memset_erms): Likewise.
11663 2018-05-23 Joseph Myers <joseph@codesourcery.com>
11665 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
11666 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11667 Add functions moved from ....
11668 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
11669 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
11670 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
11672 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
11673 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
11674 * sysdeps/alpha/e_sqrtl.c: ... here.
11675 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
11676 * sysdeps/alpha/local-soft-fp.h: ... here.
11677 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
11678 * sysdeps/alpha/ots_add.c: ... here.
11679 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
11680 * sysdeps/alpha/ots_cmp.c: ... here.
11681 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
11682 * sysdeps/alpha/ots_cmpe.c: ... here.
11683 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
11684 * sysdeps/alpha/ots_cvtqux.c: ... here.
11685 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
11686 * sysdeps/alpha/ots_cvtqx.c: ... here.
11687 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
11688 * sysdeps/alpha/ots_cvttx.c: ... here.
11689 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
11690 * sysdeps/alpha/ots_cvtxq.c: ... here.
11691 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
11692 * sysdeps/alpha/ots_cvtxt.c: ... here.
11693 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
11694 * sysdeps/alpha/ots_div.c: ... here.
11695 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
11696 * sysdeps/alpha/ots_mul.c: ... here.
11697 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
11698 * sysdeps/alpha/ots_nintxq.c: ... here.
11699 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
11700 * sysdeps/alpha/ots_sub.c: ... here.
11701 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
11702 * sysdeps/alpha/sfp-machine.h: ... here.
11704 2018-05-23 Florian Weimer <fweimer@redhat.com>
11712 Switch to extern IDNA implementation (libidn2).
11713 * libidn: Remove subdirectory.
11714 * LICENSES: Do not mention licensing conditions for the removed
11716 * config.h.in (HAVE_LIBIDN): Remove.
11717 * include/dlfcn.h (__libc_dlopen): Update comment.
11718 * include/idna.h: Remove file.
11719 * inet/Makefile (routines): Add idna.
11720 (tests-static, tests-internal): Add tst-idna_name_classify.
11721 (LOCALES): Generate locales for tests.
11722 (tst-idna_name_classify.out): Depend on generated locales.
11723 * inet/idna_name_classify.c: New file.
11724 * inet/tst-idna_name_classify.c: Likewise.
11725 * inet/net-internal.h (__idna_to_dns_encoding)
11726 (__idna_from_dns_encoding): Declare.
11727 * inet/net-internal.h (enum idna_name_classification): Define.
11728 (__idna_name_classify): Declare.
11729 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
11730 __idna_from_dns_encoding.
11731 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
11732 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
11733 name as a fallback in case of encoding errors.
11734 (getnameinfo): Use DEPRECATED_NI_IDN.
11735 * inet/idna.c: New file.
11736 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
11737 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
11738 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
11739 (modules-names): Add tst-no-libidn2.
11740 (extra-test-objs): Add tst-no-libidn2.os.
11741 (LDFLAGS-tst-no-libidn2.so): Set soname.
11742 (LOCALES): Set, and generate locales.
11743 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
11744 (tst-resolv-ai_idn-latin1): Likewise.
11745 (tst-resolv-ai_idn-nolibidn2): Likewise.
11746 (tst-resolv-ai_idn.out): Depend on locales.
11747 (tst-resolv-ai_idn-latin1.out): Depend on locales.
11748 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
11750 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
11751 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
11752 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
11753 * resolv/tst-resolv-ai_idn.c: New file.
11754 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
11755 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
11756 * resolv/tst-no-libidn2.c: Likewise.
11757 * support/support_format_addrinfo.c (format_ai_flags): Do not
11758 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
11759 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
11760 (gaih_inet): Call __idna_to_dns_encoding and
11761 __idna_from_dns_encoding, and use the original (punycode) name if
11762 __idna_from_dns_encoding fails due to an encoding error.
11763 (getaddrinfo): Use DEPRECATED_AI_IDN.
11764 * sysdeps/unix/inet/Subdirs (libidn): Remove.
11765 * sysdeps/unix/inet/configure: Remove file.
11766 * sysdeps/unix/inet/configure.ac: Likewise.
11768 2018-05-23 Florian Weimer <fweimer@redhat.com>
11770 Implement allocate_once.
11771 * include/allocate_once.h: New file.
11772 * misc/allocate_once.c: Likewise.
11773 * misc/tst-allocate_once.c: Likewise.
11774 * misc/Makefile (routines): Add allocate_once.
11775 (tests-internal): Add tst-allocate_once.
11776 (generated): Add tst-allocate_once.mtrace,
11777 tst-allocate_once-mem.out.
11778 (tests-special): Add tst-allocate_once-mem.out.
11779 (tst-allocate_once-ENV): Set MALLOC_TRACE.
11780 (tst-allocate_once-mem.out): Call mtrace.
11781 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
11783 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11786 * string/test-memcpy.c (do_test1): New function.
11787 (test_main): Call it.
11789 2018-05-23 Andreas Schwab <schwab@suse.de>
11793 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
11794 (L(preloop_large)): Save initial destination pointer in %r11 and
11795 use it instead of %rax after the loop.
11796 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
11798 2018-05-22 Joseph Myers <joseph@codesourcery.com>
11800 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
11801 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
11802 -I../soft-fp. Moved from ....
11803 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
11804 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
11805 * sysdeps/aarch64/e_sqrtl.c: ... here.
11806 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
11807 * sysdeps/aarch64/sfp-machine.h: ... here.
11809 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
11810 -Wmaybe-uninitialized around access to fq[0].
11811 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11815 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
11816 aliases for non-libc case of versioned symbols.
11817 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
11818 (llseek): Define as compat symbol if
11819 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
11821 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
11822 Make into a compat symbol, disabled for minimum symbol version
11823 GLIBC_2.28 and later.
11824 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
11826 2018-05-22 Florian Weimer <fweimer@redhat.com>
11828 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
11829 not add -mpreferred-stack-boundary=4.
11830 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
11831 (stack-align-test-flags): Likewise.
11832 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
11834 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
11835 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
11836 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
11837 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
11838 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
11839 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
11840 (CFLAGS-tst-align2.c): Likewise.
11842 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11844 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
11845 (index_arch_Prefer_FSRM): Likewise.
11846 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
11847 Also check Prefer_FSRM.
11848 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
11849 Also return OPTIMIZE (erms) for Prefer_FSRM.
11851 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11853 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
11854 (index_cpu_FSRM): Likewise.
11855 (reg_FSRM): Likewise.
11857 2018-05-18 Joseph Myers <joseph@codesourcery.com>
11859 * math/gen-tgmath-tests.py: Import sys.
11860 (Tests.__init__): Initialize macros_seen.
11861 (Tests.add_tests): Add macro to macros_seen. Only generate tests
11862 if requested to do so for this macro.
11863 (Tests.add_all_tests): Take argument for macro for which to
11865 (Tests.check_macro_list): New function.
11866 (main): Handle check-list argument and argument specifying macro
11867 for which to generate tests.
11868 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
11869 [PYTHON] (tgmath3-macro-tests): Likewise.
11870 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
11871 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
11872 not test-tgmath3.c.
11873 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
11874 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
11876 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
11877 [PYTHON] ($(foreach
11878 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
11880 [PYTHON] (tests-special): Add
11881 $(objpfx)test-tgmath3-macro-list.out.
11882 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
11884 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
11885 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
11889 * time/tzset.c (SECSPERDAY): Cast to time_t.
11890 * time/tst-y2039.c: New file.
11891 * time/Makefile (tests): Add tst-y2039.
11893 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11895 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11896 (PREFETCH_ONE_SET): Remove duplicate line.
11898 2018-05-17 Florian Weimer <fweimer@redhat.com>
11900 * sysdeps/generic/math-type-macros-double.h: Include
11901 <math-nan-payload-double.h> after <libm-alias-double.h>.
11902 * sysdeps/generic/math-type-macros-float.h: Include
11903 <math-nan-payload-float.h> after <libm-alias-float.h>.
11904 * sysdeps/generic/math-type-macros-float128.h: Include
11905 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
11906 * sysdeps/generic/math-type-macros-ldouble.h: Include
11907 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
11909 2018-05-17 Andreas Schwab <schwab@suse.de>
11911 * resolv/res_send.c (__res_context_send): Don't set errno when
11912 returing error after malloc failure.
11914 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
11916 * nptl/allocatestack.c (allocate_stack): Remove the
11917 !__ASSUME_PRIVATE_FUTEX paths.
11918 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
11919 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11921 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
11922 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11923 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11924 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11925 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
11926 !__ASSUME_PRIVATE_FUTEX path.
11927 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
11928 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
11929 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11930 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
11931 !__ASSUME_PRIVATE_FUTEX macros.
11932 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11933 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11934 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
11935 * sysdeps/unix/sysv/linux/kernel-features.h
11936 (__ASSUME_PRIVATE_FUTEX): Removed.
11938 2018-05-17 Joseph Myers <joseph@codesourcery.com>
11940 * math/Makefile (libm-narrow-fns): Add div.
11941 (libm-test-funcs-narrow): Likewise.
11942 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
11943 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
11944 * math/gen-auto-libm-tests.c (test_functions): Add div.
11945 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
11946 (NARROW_DIV_ROUND_TO_ODD): Likewise.
11947 (NARROW_DIV_TRIVIAL): Likewise.
11948 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
11950 (__ddivl): Likewise.
11951 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
11953 (CFLAGS-nldbl-ddiv.c): New variable.
11954 (CFLAGS-nldbl-fdiv.c): Likewise.
11955 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11957 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
11959 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
11960 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
11961 * math/auto-libm-test-in: Add tests of div.
11962 * math/auto-libm-test-out-narrow-div: New generated file.
11963 * math/libm-test-narrow-div.inc: New file.
11964 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
11965 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
11966 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
11967 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
11968 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
11969 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
11970 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
11971 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
11972 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
11973 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
11974 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
11975 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
11976 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
11977 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
11978 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
11979 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
11980 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
11981 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
11982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11983 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11984 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11985 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11986 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11987 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11988 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11989 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11990 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11991 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11992 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11993 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11994 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11995 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
11998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12000 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12001 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12002 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12003 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12004 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12005 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12006 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12007 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12009 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12012 * nscd/nscd-client.h (sendfileall): Remove prototype.
12013 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
12014 (handle_request): Use writeall instead of sendfileall.
12015 * nscd/aicache.c (addhstaiX): Likewise.
12016 * nscd/grpcache.c (cache_addgr): Likewise.
12017 * nscd/hstcache.c (cache_addhst): Likewise.
12018 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12019 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
12020 * nscd/pwdcache.c (cache_addpw): Likewise.
12021 * nscd/servicescache.c (cache_addserv): Likewise.
12022 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
12023 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
12024 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
12027 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
12029 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
12030 Include <string/strncat.c>.
12031 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
12033 (__GI___strncat): New hidden alias.
12035 2018-05-16 Joseph Myers <joseph@codesourcery.com>
12037 * sysdeps/mips/mips32/libm-test-ulps: Update.
12038 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12040 2018-05-16 Florian Weimer <fweimer@redhat.com>
12042 * support/Makefile (libsupport-routines): Add support_quote_blob,
12043 support_test_compare_blob.
12044 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
12045 * support/check.h (TEST_COMPARE_BLOB): Define.
12046 (support_test_compare_blob): Declare.
12047 * support/support.h (support_quote_blob): Declare.
12048 * support/support_quote_blob.c: New file.
12049 * support/support_test_compare_blob.c: Likewise.
12050 * support/tst-support_quote_blob.c: Likewise.
12051 * support/tst-test_compare_blob.c: Likewise.
12053 2018-05-16 Florian Weimer <fweimer@redhat.com>
12055 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
12056 of <strtod_nan_double.h>.
12057 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
12058 instead of SET_MANTISSA.
12059 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
12060 of include <strtod_nan_float.h>.
12061 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
12062 instead of <strtod_nan_ldouble.h>.
12063 * stdlib/strtod_nan_double.h: Move to ...
12064 * sysdeps/generic/math-nan-payload-double.h: ... here.
12065 (FLOAT): Remove definition.
12066 (SET_MANTISSA): Rename to ...
12067 (SET_NAN_PAYLOAD): ... this.
12068 * stdlib/strtod_nan_float.h: Move to ...
12069 * sysdeps/generic/math-nan-payload-float.h: ... here.
12070 (FLOAT): Remove definition.
12071 (SET_MANTISSA): Rename to ...
12072 (SET_NAN_PAYLOAD): ... this.
12073 * sysdeps/generic/math-type-macros-double.h: Include
12074 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
12075 instead of <math-svid-compat.h>.
12076 * sysdeps/generic/math-type-macros-float.h: Include
12077 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
12078 instead of <math-svid-compat.h>.
12079 * sysdeps/generic/math-type-macros-float128.h: Include
12080 <math-nan-payload-float128.h>.
12081 * sysdeps/generic/math-type-macros-ldouble.h: Include
12082 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
12083 instead of <math-svid-compat.h>.
12084 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
12085 check for definition.
12086 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
12087 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
12088 Include <ieee754_float128.h>.
12089 (FLOAT): Remove definition.
12090 (SET_MANTISSA): Rename to ...
12091 (SET_NAN_PAYLOAD): ... this.
12092 * sysdeps/ieee754/float128/strtof128_nan.c: Include
12093 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
12094 Do not include <float128_private.h>.
12095 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
12096 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
12097 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
12098 (FLOAT): Remove definition.
12099 (SET_MANTISSA): Rename to ...
12100 (SET_NAN_PAYLOAD): ... this.
12101 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
12102 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
12103 (FLOAT): Remove definition.
12104 (SET_MANTISSA): Rename to ...
12105 (SET_NAN_PAYLOAD): ... this.
12106 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
12107 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
12108 (FLOAT): Remove definition.
12109 (SET_MANTISSA): Rename to ...
12110 (SET_NAN_PAYLOAD): ... this.
12111 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
12112 of "../stdlib/strtod_nan_double.h".
12113 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
12114 of "../stdlib/strtod_nan_float.h".
12115 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
12116 instead of "../stdlib/strtod_nan_ldouble.h".
12117 * manual/arith.texi (Parsing of Floats): Adjust comment.
12119 2018-05-16 Joseph Myers <joseph@codesourcery.com>
12121 * math/Makefile (libm-narrow-fns): Add mul.
12122 (libm-test-funcs-narrow): Likewise.
12123 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
12124 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
12125 * math/gen-auto-libm-tests.c (test_functions): Add mul.
12126 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
12127 (NARROW_MUL_ROUND_TO_ODD): Likewise.
12128 (NARROW_MUL_TRIVIAL): Likewise.
12129 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
12130 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
12132 (__dmull): Likewise.
12133 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
12135 (CFLAGS-nldbl-dmul.c): New variable.
12136 (CFLAGS-nldbl-fmul.c): Likewise.
12137 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12139 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
12141 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
12142 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
12143 * math/auto-libm-test-in: Add tests of mul.
12144 * math/auto-libm-test-out-narrow-mul: New generated file.
12145 * math/libm-test-narrow-mul.inc: New file.
12146 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
12147 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
12148 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
12149 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
12150 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
12151 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
12152 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
12153 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
12154 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
12155 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
12156 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
12157 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
12158 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
12159 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
12160 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
12161 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
12162 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
12163 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
12164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12165 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12166 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12167 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12168 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12169 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12170 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12171 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12172 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12173 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12174 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12175 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12176 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12177 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12182 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12183 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12184 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12185 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12186 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12187 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12188 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12189 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12191 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12193 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
12194 with *%eax in call.
12196 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12198 * sysdeps/i386/ldsodefs.h: Removed.
12199 * sysdeps/x86_64/ldsodefs.h: Moved to ...
12200 * sysdeps/x86/ldsodefs.h: This.
12201 (La_i86_regs): New.
12202 (La_i86_retval): Likewise.
12203 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
12204 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
12206 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12208 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
12211 2018-05-13 Alan Modra <amodra@gmail.com>
12213 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
12214 R_PARISC_TLS_DTPOFF32 reloc addend.
12216 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12218 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
12219 * math/math.h: Restrict the prototype definition for the functions
12220 issignaling(_Float128) and iszero(_Float128); and template
12221 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
12222 __HAVE_FLOAT128_UNLIKE_LDBL.
12223 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
12224 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
12225 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
12226 __f128() constants; define the type _Float128 as long double;
12227 and reuse long double in __CFLOAT128.
12229 2018-05-11 Joseph Myers <joseph@codesourcery.com>
12231 * sysdeps/generic/math_private.h: Do not include
12233 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
12235 * math/fromfp.h: Include <math-barriers.h>.
12236 * math/math-narrow.h: Likewise.
12237 * math/s_nextafter.c: Likewise.
12238 * math/s_nexttowardf.c: Likewise.
12239 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
12240 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
12241 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
12242 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
12243 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12244 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12245 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12246 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12247 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12248 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12249 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12250 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12251 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12252 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12253 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12254 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12255 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12256 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12257 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12258 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12259 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12260 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12261 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12262 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12263 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12264 * sysdeps/ieee754/k_standardl.c: Likewise.
12265 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12266 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12267 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12268 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12269 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12270 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12271 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12272 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12273 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12274 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12275 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12276 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12277 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12278 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12279 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12280 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12281 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12282 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12283 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12284 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12285 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
12286 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
12288 2018-05-11 Florian Weimer <fweimer@redhat.com>
12290 Use 64-bit epoch values in the time zone file parser.
12291 * include/time.h (internal_time_t): Define.
12292 (__tzfile_compute): Use it.
12293 * time/tzfile.c (struct leap): Use internal_time_t for epoch
12295 (transitions): Switch to internal_time_t.
12296 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
12298 (__tzfile_compute): Use internal_time_t for timer argument. Check
12299 for truncation before calling __offtime.
12301 2018-05-11 Florian Weimer <fweimer@redhat.com>
12304 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
12305 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
12307 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
12308 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
12309 export without --enable-obsolete-rpc.
12310 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
12311 symbol. This should not have been exported, ever.
12313 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
12316 * localedata/locales/gd_GB (abmon): Fix typo in May:
12317 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
12319 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
12321 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12322 Use multiple registers to copy data in loop tail.
12324 * sysdeps/aarch64/multiarch/memmove_falkor.S
12325 (__memmove_falkor): Use multiple registers to move data in
12328 2018-05-10 Joseph Myers <joseph@codesourcery.com>
12330 * math/math-underflow.h: New file.
12331 * sysdeps/generic/math_private.h: Do not include <float.h>.
12332 (fabs_tg): Remove macro. Moved to math-underflow.h.
12333 (min_of_type_f): Likewise.
12334 (min_of_type_): Likewise.
12335 (min_of_type_l): Likewise.
12336 (min_of_type_f128): Likewise.
12337 (min_of_type): Likewise.
12338 (math_check_force_underflow): Likewise.
12339 (math_check_force_underflow_nonneg): Likewise.
12340 (math_check_force_underflow_complex): Likewise.
12341 * math/e_exp2_template.c: Include <math-underflow.h>.
12342 * math/k_casinh_template.c: Likewise.
12343 * math/s_catan_template.c: Likewise.
12344 * math/s_catanh_template.c: Likewise.
12345 * math/s_ccosh_template.c: Likewise.
12346 * math/s_cexp_template.c: Likewise.
12347 * math/s_clog10_template.c: Likewise.
12348 * math/s_clog_template.c: Likewise.
12349 * math/s_csin_template.c: Likewise.
12350 * math/s_csinh_template.c: Likewise.
12351 * math/s_csqrt_template.c: Likewise.
12352 * math/s_ctan_template.c: Likewise.
12353 * math/s_ctanh_template.c: Likewise.
12354 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12355 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12356 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12357 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12358 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12359 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12360 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12361 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12362 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12363 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12364 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12365 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12366 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12367 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12368 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12369 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12370 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12371 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12372 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12373 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12374 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12375 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12376 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12377 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12378 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12379 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12380 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12381 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12382 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12383 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12384 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12385 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12386 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12387 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12388 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12389 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12390 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12391 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12392 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12393 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12394 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12395 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12396 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12397 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12398 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12399 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12400 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12401 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12402 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12403 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12404 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12405 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12406 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12407 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12408 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12409 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12410 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12411 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12412 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12413 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12414 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12415 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12416 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12417 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12418 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12419 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12420 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12421 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12422 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12423 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12424 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12425 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12426 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12427 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
12428 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12429 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12430 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12431 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12432 * sysdeps/x86/fpu/powl_helper.c: Likewise.
12433 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
12434 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
12435 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
12436 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
12437 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
12439 2018-05-09 Joseph Myers <joseph@codesourcery.com>
12441 * sysdeps/generic/math-barriers.h: New file.
12442 * sysdeps/generic/math_private.h [!math_opt_barrier]
12443 (math_opt_barrier): Move to math-barriers.h.
12444 [!math_opt_barrier] (math_force_eval): Likewise.
12445 * sysdeps/aarch64/fpu/math-barriers.h: New file.
12446 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
12448 (math_force_eval): Likewise.
12449 * sysdeps/alpha/fpu/math-barriers.h: New file.
12450 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
12452 (math_force_eval): Likewise.
12453 * sysdeps/x86/fpu/math-barriers.h: New file.
12454 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
12456 (math_force_eval): Likewise.
12457 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
12458 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
12459 multiple-include guard for rename.
12460 * sysdeps/powerpc/fpu/math-barriers.h: New file.
12461 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
12463 (math_force_eval): Likewise.
12465 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
12469 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
12471 * stdlib/Makefile (test-bz22786): New test.
12472 * stdlib/test-bz22786.c: New test.
12474 2018-05-09 Joseph Myers <joseph@codesourcery.com>
12476 * include/math-narrow-eval.h: New file. Contents moved from ....
12477 * sysdeps/generic/math_private.h: ... here.
12478 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
12479 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
12480 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
12481 * stdlib/strtod_l.c: Likewise.
12482 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12483 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12484 * sysdeps/i386/fpu/s_fdim.c: Likewise.
12485 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12486 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12487 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12488 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12489 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12490 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12491 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
12492 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12493 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
12494 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12495 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12496 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12497 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12498 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12499 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12500 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12501 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12502 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12503 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12504 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12505 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12506 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12507 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12508 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12509 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12510 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12512 2018-05-08 Andreas Schwab <schwab@suse.de>
12514 * sysdeps/nptl/internaltypes.h: Fix comment.
12516 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
12518 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12519 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
12522 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
12524 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
12525 of I into loop header.
12526 * benchtests/bench-memmove-walk.c
12527 (test_main): Likewise.
12529 2018-05-07 Alexandre Oliva <oliva@gnu.org>
12532 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
12533 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12535 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12538 * elf/dl-load.c (open_verify): Fix stack overflow.
12539 * elf/Makefile (tst-big-note): New test.
12540 * elf/tst-big-note-lib.S: New.
12541 * elf/tst-big-note.c: New.
12543 2018-05-04 Joseph Myers <joseph@codesourcery.com>
12545 * scripts/abilist.awk: Ignore absolute symbols.
12546 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
12547 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
12548 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
12549 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
12550 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
12551 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
12552 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12553 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
12554 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
12555 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
12556 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
12557 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
12558 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
12559 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
12560 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
12561 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
12562 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
12563 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
12564 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12565 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
12566 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
12567 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
12568 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
12569 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
12570 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
12571 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
12572 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
12573 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
12574 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12575 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
12576 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
12577 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12578 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
12579 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
12580 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
12581 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
12582 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
12583 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
12584 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
12585 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
12586 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
12587 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12588 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
12589 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
12590 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12591 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
12592 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
12593 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
12594 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
12595 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
12596 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
12597 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
12598 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
12599 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
12600 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12601 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
12602 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
12603 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12604 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
12605 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
12606 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
12607 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
12608 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
12609 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
12610 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
12611 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
12612 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
12613 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12614 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
12615 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
12616 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12617 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
12618 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
12619 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
12620 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
12621 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
12622 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
12623 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
12624 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
12625 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
12626 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12627 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
12628 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
12629 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12630 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
12631 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
12632 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
12633 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
12634 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
12635 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
12636 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
12637 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
12639 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
12640 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12641 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
12642 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
12643 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12644 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
12645 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
12646 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
12647 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
12648 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
12649 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
12650 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
12651 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
12653 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
12654 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12655 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
12656 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
12657 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12658 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
12659 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
12660 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
12661 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
12662 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
12663 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
12664 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
12665 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
12666 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
12667 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12668 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
12669 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
12670 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12671 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
12672 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
12673 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
12674 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
12675 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
12676 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
12677 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12678 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
12679 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12681 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
12682 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
12683 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
12684 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
12685 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12686 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
12687 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
12688 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
12689 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
12690 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
12691 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
12692 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
12693 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
12694 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
12695 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
12696 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
12697 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
12698 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
12699 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12700 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12702 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
12703 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
12704 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
12705 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12706 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
12707 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
12708 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
12709 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
12710 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
12711 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
12712 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12713 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
12714 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
12715 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12716 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
12717 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
12718 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
12719 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
12720 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12721 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
12722 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
12723 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12724 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
12725 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
12726 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
12727 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
12728 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
12729 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
12730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
12731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
12733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
12735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
12736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
12737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
12738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
12739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
12741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
12743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
12744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
12746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
12747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
12755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
12757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
12759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
12760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
12764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
12765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
12766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
12767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
12771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
12772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
12778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
12780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
12781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
12782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
12784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
12786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
12788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
12789 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
12790 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
12792 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
12793 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12794 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
12795 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
12796 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12797 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
12798 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
12799 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
12800 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
12801 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
12802 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
12803 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
12804 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
12805 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12807 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12808 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
12809 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
12810 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12811 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
12812 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
12813 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
12814 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
12815 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
12816 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
12817 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
12818 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12820 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12821 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
12822 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
12823 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12824 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
12825 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
12826 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
12827 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
12828 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
12829 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
12830 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
12831 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
12832 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
12833 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12834 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
12835 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
12836 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12837 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
12838 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
12839 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
12840 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
12841 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
12842 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
12843 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
12844 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12846 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
12847 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12848 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
12849 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
12850 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12851 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
12852 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
12853 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
12854 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
12855 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
12856 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
12857 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
12858 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12860 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
12861 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12862 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
12863 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
12864 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12865 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
12866 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
12867 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
12868 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
12869 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
12870 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
12871 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
12872 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
12873 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
12874 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12875 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
12876 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
12877 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12878 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
12879 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
12880 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
12881 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
12882 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
12883 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
12884 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
12885 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
12886 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
12887 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
12888 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12889 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
12890 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
12891 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12892 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
12893 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
12894 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
12895 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
12896 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
12897 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
12899 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
12902 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
12903 Use atomic_load_acquire to load __tid.
12905 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12907 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
12908 Restore the pointer into %rdx, after syscall and use %rdx,
12909 instead of %rsi, to restore context.
12911 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12913 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
12914 Pop the pointer into %rdx after syscall and use %rdx, instead
12915 of %rsi, to restore context.
12917 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12919 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
12920 handlers after setjmp.
12921 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
12923 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
12924 <libc-pointer-arith.h>.
12925 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
12926 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
12927 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
12928 _JUMP_BUF_SIGSET_BITS_PER_WORD.
12929 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
12930 * sysdeps/x86/__longjmp_cancel.S: New file.
12931 * sysdeps/x86/longjmp.c: Likewise.
12932 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
12934 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12936 * NEWS: Add ustat.h deprecation entry.
12937 * bits/ustat.h: Remove file.
12938 * misc/sys/ustat.h: Likewise.
12939 * misc/ustat.h: Likewise.
12940 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
12941 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
12942 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
12943 compatibility mode.
12944 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
12945 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
12946 generic Linux implementation.
12948 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12950 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
12951 * math/w_expl_compat.c: Likewise.
12952 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
12954 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
12956 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12958 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12960 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
12961 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
12962 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
12964 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
12965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12966 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12967 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
12968 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
12971 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12973 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
12975 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
12976 * math/w_asin_template.c: Likewise.
12977 * math/w_atanh_template.c: Likewise.
12979 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12981 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
12982 to powerpc/powerpc64/be for big-endian.
12983 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
12986 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
12987 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
12988 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
12989 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
12990 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
12991 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
12992 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
12993 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
12994 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
12995 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12996 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
12997 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
12998 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
12999 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
13000 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
13001 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
13002 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
13003 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
13004 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
13005 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
13006 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
13007 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13008 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
13009 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
13010 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
13011 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13012 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
13013 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
13014 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
13015 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
13016 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
13017 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
13019 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
13020 adjusted to imply powerpc64 and older processors on powerpc64/be.
13021 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
13022 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
13023 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
13024 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
13025 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
13026 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
13027 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
13028 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
13029 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
13030 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
13031 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
13032 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
13033 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
13034 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
13035 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
13036 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
13037 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
13038 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
13039 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
13040 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
13041 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
13042 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
13043 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
13044 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
13045 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
13046 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
13047 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
13048 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
13049 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
13050 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
13051 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
13053 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
13054 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
13055 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
13056 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
13058 * sysdeps/powerpc/powerpc64/be/Implies: New file.
13059 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
13060 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
13061 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
13063 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
13064 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
13065 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
13066 * sysdeps/powerpc/powerpc64le/configure: Likewise.
13067 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
13068 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
13069 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
13070 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
13071 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
13072 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
13073 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
13075 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
13076 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
13077 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
13078 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
13079 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
13080 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
13081 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
13082 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
13083 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
13084 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
13085 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
13087 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
13088 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
13089 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
13090 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
13091 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
13092 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
13093 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
13094 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
13095 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
13096 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
13097 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
13098 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
13100 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
13101 and adjusted to imply olders processors.
13102 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
13103 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
13104 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
13105 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
13106 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
13107 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
13108 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
13109 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
13110 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
13111 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
13112 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
13114 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
13116 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
13117 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
13119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
13121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
13122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
13124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
13126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
13128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
13130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
13131 powerpc64 and adjusted.
13132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
13133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
13134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
13137 2018-04-27 Joseph Myers <joseph@codesourcery.com>
13139 * sysdeps/tile: Remove.
13140 * sysdeps/unix/sysv/linux/tile: Likewise.
13141 * README (tilegx-*-linux-gnu): Remove from list of supported
13143 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
13144 contribution of support for generic Linux kernel syscall
13146 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
13147 tilegx configurations.
13148 (Config.install_linux_headers): Do not handle tile.
13149 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
13151 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
13152 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
13153 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13154 conditional undefine and redefine.
13155 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
13157 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13158 conditional undefine and redefine.
13160 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
13162 * signal/tst-sigaction.c: New file to test BZ #23069.
13163 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
13165 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13168 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
13169 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
13170 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
13171 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
13173 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13175 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
13176 _DIRENT_MATCHES_DIRENT64 is not defined.
13177 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
13178 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
13180 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
13181 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
13183 2018-04-25 Joseph Myers <joseph@codesourcery.com>
13185 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
13186 version to GCC 8 branch.
13188 2018-04-24 Joseph Myers <joseph@codesourcery.com>
13190 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
13191 (check_no_hidden): Use type of original function when declaring
13194 * sysdeps/unix/sysv/linux/sys/ptrace.h
13195 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
13196 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
13197 (struct __ptrace_seccomp_metadata): New type.
13198 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
13199 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13200 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
13201 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13202 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
13203 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13204 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
13205 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13206 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
13207 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13208 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
13209 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13210 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
13211 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13212 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
13213 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13215 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13217 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
13219 * dirent/versionsort.c (versionsort): Likewise.
13220 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
13221 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
13222 * dirent/versionsort64.c (versionsort64): Likewise.
13223 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
13224 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
13225 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
13226 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
13227 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
13228 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
13229 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
13230 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
13231 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
13232 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
13233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
13234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
13235 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
13236 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
13238 2018-04-23 Joseph Myers <joseph@codesourcery.com>
13240 * elf/elf.h (NT_PPC_PKEY): New macro.
13242 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
13245 * localedata/locales/hr_HR: fix thousands_sep and
13248 2018-04-20 Joseph Myers <joseph@codesourcery.com>
13250 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
13251 (XTABS): Define to TAB3.
13253 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13255 * sysdeps/hppa/fpu/libm-test-ulps: Update.
13257 * dirent/scandir-tail-common.c: New file.
13258 * dirent/scandir-tail.c: Use scandir-tail-common.c.
13259 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
13260 * dirent/scandir.c: Use scandir-tail-common.c.
13261 * dirent/scandirat.c: Likewise.
13262 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
13263 * dirent/scandir64.c (scandir64): Always build and alias to scandir
13264 if _DIRENT_MATCHES_DIRENT64 is defined.
13265 * dirent/scandirat64.c (scandirat64): Likewise.
13266 * include/dirent.h (__scandir_tail): Only define iff
13267 _DIRENT_MATCHES_DIRENT64 is not defined.
13268 (__scandir64_tail): Define regardless.
13269 (__scandirat, scandirat64): Remove libc_hidden_proto.
13270 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
13271 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
13272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
13273 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
13274 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13275 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
13276 * sysdeps/unix/sysv/linux/scandir64.c: New file.
13278 2018-04-20 Joseph Myers <joseph@codesourcery.com>
13280 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
13282 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13284 (_dl_aarch64_cap_flags): Add asimdfhm.
13286 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
13288 * sysdeps/nios2/libm-test-ulps: Update.
13290 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13292 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
13293 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
13295 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
13297 (_DIRENT_MATCHES_DIRENT64): Undef
13298 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
13299 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
13300 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
13301 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
13302 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
13303 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
13304 use getdents64 syscalls as base.
13305 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
13306 symbol if required.
13307 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
13308 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
13309 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
13310 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
13311 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
13312 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
13313 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
13314 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
13315 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13316 (__get_clockfreq_via_proc_openprom): Use __getdents64.
13317 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
13319 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13321 * scripts/test_printers_common.py (init_test): Disable lock elision.
13323 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13325 * math/test-tgmath.c (count_double, count_float,
13326 count_ldouble, count_cdouble, count_cfloat,
13327 count_cldouble): Use volatile int.
13329 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
13331 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
13332 (conformtest-xfail-conds): Add i386-gnu.
13333 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
13335 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
13336 ipc_perm.cuid, ipc_perm.cgid): Likewise.
13337 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
13338 msqid_ds.msg_lrpid): Likewise.
13339 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
13341 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
13342 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
13343 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
13344 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
13346 (struct statvfs64): Likewise.
13347 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
13349 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
13350 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
13351 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
13352 instead of wait_queue.
13353 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
13354 instead of vm_area_struct.
13355 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
13356 struct sched_param definition to it.
13357 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13358 * bits/types/struct_sched_param.h: New file.
13359 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
13360 <bits/types/struct_sched_param.h> instead of <sched.h>.
13361 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
13362 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
13363 generic version but include <bits/pthreadtypes.h> to make struct
13364 sigevent's sigev_notify_attributes field a pthread_attr_t*.
13365 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
13367 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
13368 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
13369 [__USE_XOPEN] (OFDEL): New macro.
13370 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
13371 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
13372 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
13374 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
13375 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
13376 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
13378 * sysdeps/i386/sys/ucontext.h: Likewise.
13379 * sysdeps/m68k/sys/ucontext.h: Likewise.
13380 * sysdeps/mips/sys/ucontext.h: Likewise.
13381 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
13382 * sysdeps/mach/hurd/i386/Makefile
13383 (test-xfail-POSIX/fcntl.h/conform): Add.
13384 (test-xfail-POSIX/signal.h/conform): Add.
13385 (test-xfail-POSIX/semaphore.h/conform): Add.
13386 (test-xfail-POSIX/regex.h/conform): Add.
13387 (test-xfail-POSIX/aio.h/conform): Add.
13388 (test-xfail-POSIX/mqueue.h/conform): Add.
13389 (test-xfail-POSIX/sys/types.h/conform): Add.
13390 (test-xfail-UNIX98/fcntl.h/conform): Add.
13391 (test-xfail-UNIX98/netdb.h/conform): Add.
13392 (test-xfail-UNIX98/signal.h/conform): Add.
13393 (test-xfail-UNIX98/semaphore.h/conform): Add.
13394 (test-xfail-UNIX98/regex.h/conform): Add.
13395 (test-xfail-UNIX98/aio.h/conform): Add.
13396 (test-xfail-UNIX98/ftw.h/conform): Add.
13397 (test-xfail-UNIX98/mqueue.h/conform): Add.
13398 (test-xfail-UNIX98/netinet/in.h/conform): Add.
13399 (test-xfail-UNIX98/sys/wait.h/conform): Add.
13400 (test-xfail-UNIX98/sys/sem.h/conform): Add.
13401 (test-xfail-UNIX98/sys/uio.h/conform): Add.
13402 (test-xfail-UNIX98/sys/socket.h/conform): Add.
13403 (test-xfail-UNIX98/sys/types.h/conform): Add.
13404 (test-xfail-UNIX98/stdlib.h/conform): Add.
13405 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
13406 (test-xfail-POSIX2008/fcntl.h/conform): Add.
13407 (test-xfail-POSIX2008/netdb.h/conform): Add.
13408 (test-xfail-POSIX2008/signal.h/conform): Add.
13409 (test-xfail-POSIX2008/semaphore.h/conform): Add.
13410 (test-xfail-POSIX2008/regex.h/conform): Add.
13411 (test-xfail-POSIX2008/aio.h/conform): Add.
13412 (test-xfail-POSIX2008/mqueue.h/conform): Add.
13413 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
13414 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
13415 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
13416 (test-xfail-POSIX2008/sys/types.h/conform): Add.
13417 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
13418 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
13419 (test-xfail-XOPEN2K/netdb.h/conform): Add.
13420 (test-xfail-XOPEN2K/signal.h/conform): Add.
13421 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
13422 (test-xfail-XOPEN2K/regex.h/conform): Add.
13423 (test-xfail-XOPEN2K/aio.h/conform): Add.
13424 (test-xfail-XOPEN2K/ftw.h/conform): Add.
13425 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
13426 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
13427 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
13428 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
13429 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
13430 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
13431 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
13432 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
13433 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
13434 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
13435 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
13436 (test-xfail-XOPEN2K8/signal.h/conform): Add.
13437 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
13438 (test-xfail-XOPEN2K8/regex.h/conform): Add.
13439 (test-xfail-XOPEN2K8/aio.h/conform): Add.
13440 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
13441 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
13442 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
13443 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
13444 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
13445 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
13446 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
13447 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
13448 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
13449 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
13450 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
13452 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
13453 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
13455 2018-04-18 Joseph Myers <joseph@codesourcery.com>
13457 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
13458 --enable-obsolete for powerpc-linux-gnuspe.
13460 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13462 * conform/data/sys/un.h-data: Allow sun_ prefix.
13463 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
13465 * sysdeps/mach/include/mach.h: Likewise.
13466 * sysdeps/mach/include/mach/mig_support.h: Likewise.
13467 * sysdeps/mach/include/mach_error.h: Likewise.
13469 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13471 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
13472 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
13473 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
13474 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
13476 2018-04-16 Andreas Schwab <schwab@suse.de>
13479 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
13481 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
13483 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
13484 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
13486 2018-04-12 DJ Delorie <dj@redhat.com>
13488 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13491 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
13493 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
13494 (struct kernel_sigaction): Use the same definition on 31bit as is used
13497 2018-04-09 Florian Weimer <fweimer@redhat.com>
13500 * resolv/res_send.c (send_dg): Use designated initializers instead
13501 of assignment to zero-initialize other fields of struct mmsghdr.
13503 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13505 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
13506 __READDIR_ALIAS): Undefine after usage.
13507 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
13508 __READDIR_R_ALIAS): Likewise.
13509 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
13510 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
13511 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
13512 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
13513 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
13514 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
13515 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13516 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13517 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
13518 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
13519 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
13520 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
13521 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13522 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
13523 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
13524 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
13525 * sysdeps/unix/sysv/linux/readdir.c: New file.
13526 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
13527 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
13528 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
13530 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
13532 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
13534 * manual/charset.texi (Converting a Character): Fix typo.
13536 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13540 * sysdeps/arm/libm-test-ulps: Update.
13542 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
13543 as base implementation.
13544 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13545 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13546 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13547 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13548 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13549 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
13550 remove unrequired definitions and update comments.
13551 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
13552 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
13553 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
13554 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
13555 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
13556 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
13557 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
13558 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
13559 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
13560 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
13561 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
13562 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13563 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13564 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
13565 and RESET_SA_RESTORER hooks.
13567 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
13569 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13571 2018-04-05 Florian Weimer <fweimer@redhat.com>
13573 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
13574 integer overflow, memory leak on error, and indeterminate errno
13575 value. Add a null wide character to terminate the result string.
13576 * manual/charset.texi (Converting a Character): Mention embedded
13577 null bytes in the mbrtowc input string. Explain what happens in
13578 the -2 result case. Do not claim that mbrtowc is simple or
13579 obvious to use. Adjust the description of the code example. Use
13580 @code, not @var, for concrete variables.
13582 2018-04-05 Florian Weimer <fweimer@redhat.com>
13584 * manual/examples/mbstouwcs.c: New file.
13585 * manual/charset.texi (Converting a Character): Include it.
13587 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13589 * include/dirent.h (dirfd): Add hidden proto.
13590 * dirent/dirfd.c (dirfd): Add hidden def.
13591 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
13592 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
13594 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13596 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
13597 sin, cos and sincos to 1 ULP.
13599 2018-04-04 Maciej W. Rozycki <macro@mips.com>
13602 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
13604 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
13605 * elf/tst-absolute-sym.c: New file.
13606 * elf/tst-absolute-sym-lib.c: New file.
13607 * elf/tst-absolute-sym-lib.lds: New file.
13608 * elf/Makefile (tests): Add `tst-absolute-sym'.
13609 (modules-names): Add `tst-absolute-sym-lib'.
13610 (LDLIBS-tst-absolute-sym-lib.so): New variable.
13611 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
13612 ($(objpfx)tst-absolute-sym): New dependency.
13615 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
13617 (SYMBOL_ADDRESS): New macro.
13618 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
13619 SYMBOL_ADDRESS for symbol address calculation.
13620 * elf/dl-runtime.c (_dl_fixup): Likewise.
13621 (_dl_profile_fixup): Likewise.
13622 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
13623 * elf/rtld.c (dl_main): Likewise.
13624 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
13625 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
13626 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
13627 (elf_machine_rela): Likewise.
13628 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
13629 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
13630 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13631 (elf_machine_rela): Likewise.
13632 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13633 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
13634 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
13635 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
13637 (elf_machine_reloc): Likewise.
13638 (elf_machine_got_rel): Likewise.
13639 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
13640 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
13641 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13643 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13645 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
13646 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13648 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13650 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13651 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13653 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13655 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
13656 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13658 2018-04-04 Zack Weinberg <zackw@panix.com>
13660 * sysdeps/generic/internal-signals.h: Include signal.h,
13661 sigsetops.h, and stdbool.h.
13662 (__libc_signal_block_all): Actually block all signals.
13663 (__libc_signal_block_app): Likewise.
13664 (__libc_signal_restore_set): Actually restore the signal mask.
13666 2018-04-04 Florian Weimer <fweimer@redhat.com>
13668 inet: Actually build and run tst-deadline.
13669 * inet/Makefile (tests-internal): Add tst-deadline and do not
13670 overwrite the variable.
13671 (tests-static-internal): Remove variable.
13673 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
13676 * bits/uio-ext.h (RWF_APPEND): New.
13677 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
13678 * manual/llio.texi: Document RWF_APPEND.
13679 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
13680 (RWF_SUPPORTED): Add RWF_APPEND.
13682 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13685 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
13686 check for internal nptl signals.
13687 * nptl/sigaction.c (__sigaction): Likewise.
13688 * signal/sigaddset.c (sigaddset): Likewise.
13689 * signal/sigdelset.c (sigdelset): Likewise.
13690 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
13691 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
13693 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
13694 to filter out internal nptl signals.
13695 * signal/tst-sigset.c (do_test): Check ech signal indidually and
13696 also check realtime signals using standard macros.
13697 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
13698 __is_internal_signal, __libc_signal_block_all,
13699 __libc_signal_block_app, __libc_signal_restore_set): New functions.
13700 * sysdeps/nptl/sigfillset.c: Remove file.
13701 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
13702 Change return to bool.
13703 (__clear_internal_signals): Remove SIGTIMER clean since it is
13704 equal to SIGCANEL on Linux.
13705 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
13706 signal set was constructed using standard functions.
13708 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13710 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
13711 ifname is too long.
13712 * hurd/hurdsig.c (interrupted_reply_port_location): Use
13713 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
13714 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
13716 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
13717 * signal/sigaddset.c: Include <sigsetopts.h>.
13718 * signal/sigdelset.c: Likewise.
13720 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13722 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
13724 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
13725 logic as sin and cos.
13727 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13729 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
13730 inputs. Return correct sign.
13731 (do_sincos): Remove small input check before do_sin, let do_sin set
13736 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13738 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
13739 (do_cos_slow): Likewise.
13740 (do_sin_slow): Likewise.
13741 (reduce_and_compute): Likewise.
13746 (sloww1): Likewise.
13747 (sloww2): Likewise.
13749 (bslow1): Likewise.
13750 (bslow2): Likewise.
13751 (cslow2): Likewise.
13753 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13755 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
13756 (do_cos): Remove corp parameter and calculations.
13757 (do_sin): Likewise.
13758 (do_sincos): Remove cor variable.
13759 (__sin): Use do_sincos for huge inputs.
13761 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13762 (reduce_and_compute_sincos): Remove unused function.
13764 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13766 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
13767 reduce_sincos, improve accuracy to 136 bits.
13768 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
13769 (__sin): Use improved reduction and simplified do_sincos calculation.
13771 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13773 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13775 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
13776 (do_sincos_2): Likewise.
13777 (__sin): Remove middle range reduction case.
13779 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
13782 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13784 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
13785 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
13788 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
13790 2018-04-03 Joseph Myers <joseph@codesourcery.com>
13792 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13795 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13797 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
13798 Remove definitions.
13799 (opendir_oflags): Use O_DIRECTORY regardless.
13800 (__opendir, __opendirat): Remove need_isdir_precheck usage.
13801 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
13803 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13805 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
13806 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
13808 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
13809 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
13810 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
13811 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
13812 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
13813 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
13815 * htl/Makefile: Bump licence to LGPL 2.1+.
13816 * htl/alloca_cutoff.c: Likewise.
13817 * htl/cthreads-compat.c: Likewise.
13818 * htl/lockfile.c: Likewise.
13819 * htl/pt-alloc.c: Likewise.
13820 * htl/pt-cancel.c: Likewise.
13821 * htl/pt-cleanup.c: Likewise.
13822 * htl/pt-create.c: Likewise.
13823 * htl/pt-dealloc.c: Likewise.
13824 * htl/pt-detach.c: Likewise.
13825 * htl/pt-exit.c: Likewise.
13826 * htl/pt-getattr.c: Likewise.
13827 * htl/pt-initialize.c: Likewise.
13828 * htl/pt-internal.h: Likewise.
13829 * htl/pt-join.c: Likewise.
13830 * htl/pt-self.c: Likewise.
13831 * htl/pt-setcancelstate.c: Likewise.
13832 * htl/pt-setcanceltype.c: Likewise.
13833 * htl/pt-sigmask.c: Likewise.
13834 * htl/pt-spin-inlines.c: Likewise.
13835 * htl/pt-testcancel.c: Likewise.
13836 * htl/pt-yield.c: Likewise.
13837 * htl/tests/test-1.c: Likewise.
13838 * htl/tests/test-10.c: Likewise.
13839 * htl/tests/test-11.c: Likewise.
13840 * htl/tests/test-12.c: Likewise.
13841 * htl/tests/test-13.c: Likewise.
13842 * htl/tests/test-14.c: Likewise.
13843 * htl/tests/test-15.c: Likewise.
13844 * htl/tests/test-16.c: Likewise.
13845 * htl/tests/test-17.c: Likewise.
13846 * htl/tests/test-2.c: Likewise.
13847 * htl/tests/test-3.c: Likewise.
13848 * htl/tests/test-4.c: Likewise.
13849 * htl/tests/test-5.c: Likewise.
13850 * htl/tests/test-6.c: Likewise.
13851 * htl/tests/test-7.c: Likewise.
13852 * htl/tests/test-8.c: Likewise.
13853 * htl/tests/test-9.c: Likewise.
13854 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
13855 * sysdeps/htl/bits/cancelation.h: Likewise.
13856 * sysdeps/htl/bits/pthread-np.h: Likewise.
13857 * sysdeps/htl/bits/pthread.h: Likewise.
13858 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
13859 * sysdeps/htl/bits/semaphore.h: Likewise.
13860 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
13861 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
13862 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
13863 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
13864 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
13865 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
13866 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
13867 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
13868 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
13869 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
13870 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
13871 * sysdeps/htl/old_pt-atfork.c: Likewise.
13872 * sysdeps/htl/pt-atfork.c: Likewise.
13873 * sysdeps/htl/pt-attr-destroy.c: Likewise.
13874 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
13875 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
13876 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
13877 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
13878 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
13879 * sysdeps/htl/pt-attr-getscope.c: Likewise.
13880 * sysdeps/htl/pt-attr-getstack.c: Likewise.
13881 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
13882 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
13883 * sysdeps/htl/pt-attr-init.c: Likewise.
13884 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
13885 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
13886 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
13887 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
13888 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
13889 * sysdeps/htl/pt-attr-setscope.c: Likewise.
13890 * sysdeps/htl/pt-attr-setstack.c: Likewise.
13891 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
13892 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
13893 * sysdeps/htl/pt-attr.c: Likewise.
13894 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
13895 * sysdeps/htl/pt-barrier-init.c: Likewise.
13896 * sysdeps/htl/pt-barrier-wait.c: Likewise.
13897 * sysdeps/htl/pt-barrier.c: Likewise.
13898 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
13899 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
13900 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
13901 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
13902 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
13903 * sysdeps/htl/pt-cond-destroy.c: Likewise.
13904 * sysdeps/htl/pt-cond-init.c: Likewise.
13905 * sysdeps/htl/pt-cond-signal.c: Likewise.
13906 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
13907 * sysdeps/htl/pt-cond-wait.c: Likewise.
13908 * sysdeps/htl/pt-cond.c: Likewise.
13909 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
13910 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
13911 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
13912 * sysdeps/htl/pt-condattr-init.c: Likewise.
13913 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
13914 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
13915 * sysdeps/htl/pt-destroy-specific.c: Likewise.
13916 * sysdeps/htl/pt-equal.c: Likewise.
13917 * sysdeps/htl/pt-getconcurrency.c: Likewise.
13918 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
13919 * sysdeps/htl/pt-getschedparam.c: Likewise.
13920 * sysdeps/htl/pt-getspecific.c: Likewise.
13921 * sysdeps/htl/pt-init-specific.c: Likewise.
13922 * sysdeps/htl/pt-key-create.c: Likewise.
13923 * sysdeps/htl/pt-key-delete.c: Likewise.
13924 * sysdeps/htl/pt-key.h: Likewise.
13925 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
13926 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
13927 * sysdeps/htl/pt-mutex-init.c: Likewise.
13928 * sysdeps/htl/pt-mutex-lock.c: Likewise.
13929 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
13930 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
13931 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
13932 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
13933 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
13934 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
13935 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
13936 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
13937 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
13938 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
13939 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
13940 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
13941 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
13942 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
13943 * sysdeps/htl/pt-mutexattr.c: Likewise.
13944 * sysdeps/htl/pt-once.c: Likewise.
13945 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
13946 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
13947 * sysdeps/htl/pt-rwlock-init.c: Likewise.
13948 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
13949 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
13950 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
13951 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
13952 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
13953 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
13954 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
13955 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
13956 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
13957 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
13958 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
13959 * sysdeps/htl/pt-setconcurrency.c: Likewise.
13960 * sysdeps/htl/pt-setschedparam.c: Likewise.
13961 * sysdeps/htl/pt-setschedprio.c: Likewise.
13962 * sysdeps/htl/pt-setspecific.c: Likewise.
13963 * sysdeps/htl/pt-spin.c: Likewise.
13964 * sysdeps/htl/pt-startup.c: Likewise.
13965 * sysdeps/htl/pthread.h: Likewise.
13966 * sysdeps/htl/sem-close.c: Likewise.
13967 * sysdeps/htl/sem-destroy.c: Likewise.
13968 * sysdeps/htl/sem-getvalue.c: Likewise.
13969 * sysdeps/htl/sem-init.c: Likewise.
13970 * sysdeps/htl/sem-open.c: Likewise.
13971 * sysdeps/htl/sem-post.c: Likewise.
13972 * sysdeps/htl/sem-timedwait.c: Likewise.
13973 * sysdeps/htl/sem-trywait.c: Likewise.
13974 * sysdeps/htl/sem-unlink.c: Likewise.
13975 * sysdeps/htl/sem-wait.c: Likewise.
13976 * sysdeps/hurd/htl/pt-kill.c: Likewise.
13977 * sysdeps/i386/htl/pt-machdep.h: Likewise.
13978 * sysdeps/mach/htl/pt-block.c: Likewise.
13979 * sysdeps/mach/htl/pt-spin.c: Likewise.
13980 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
13981 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
13982 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
13983 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
13984 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
13985 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
13986 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
13987 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
13988 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
13989 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
13990 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
13991 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
13992 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
13993 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
13994 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
13995 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
13996 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
13997 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
13998 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
13999 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
14000 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
14001 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
14002 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
14003 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
14004 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
14005 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
14006 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
14007 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
14008 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
14009 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
14010 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
14011 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
14012 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
14013 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
14014 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
14015 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
14016 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
14017 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
14018 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
14019 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
14020 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
14021 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
14022 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
14024 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
14025 * README: Remove the mention of out-of-tree patches needed for
14028 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
14029 (UTIME_NOW, UTIME_OMIT): Define macros.
14031 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
14032 instead of pthread_detach.
14033 (__cthread_fork): Call __pthread_create instead of pthread_create.
14034 (__cthread_keycreate): Call __pthread_key_create instead of
14035 pthread_key_create.
14036 (__cthread_getspecific): Call __pthread_getspecific instead of
14037 pthread_getspecific.
14038 (__cthread_setspecific): Call __pthread_setspecific instead of
14039 pthread_setspecific.
14040 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
14041 __pthread_mutex_unlock instead of pthread_mutex_lock and
14042 pthread_mutex_unlock.
14043 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
14044 ___pthread_get_cleanup_stack.
14045 (__pthread_get_cleanup_stack): New strong alias.
14046 * htl/pt-create.c: Include <pthreadP.h>.
14047 (entry_point): Call __pthread_exit instead of pthread_exit.
14048 (pthread_create): Rename to __pthread_create.
14049 (pthread_create): New strong alias.
14050 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
14051 (pthread_detach): New strong alias.
14052 (__pthread_detach): Call __pthread_cond_broadcast instead of
14053 pthread_cond_broadcast.
14054 * htl/pt-exit.c: Include <pthreadP.h>.
14055 (__pthread_exit): Call __pthread_setcancelstate and
14056 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
14057 __pthread_get_cleanup_stack.
14058 * htl/pt-testcancel.c: Include <pthreadP.h>.
14059 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
14060 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
14061 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
14062 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
14063 pthread_attr_getstacksize.
14064 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
14065 Rename to __pthread_attr_getstackaddr.
14066 (pthread_attr_getstackaddr): New strong alias.
14067 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
14068 Rename to __pthread_attr_getstacksize.
14069 (pthread_attr_getstacksize): New strong alias.
14070 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
14071 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
14072 (pthread_attr_setstack): New strong alias.
14073 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
14074 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
14075 pthread_attr_getstacksize, pthread_attr_setstacksize and
14076 pthread_attr_setstackaddr.
14077 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
14078 Rename to __pthread_attr_setstackaddr.
14079 (pthread_attr_setstackaddr): New strong alias.
14080 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
14081 Rename to __pthread_attr_setstacksize.
14082 (pthread_attr_setstacksize): New strong alias.
14083 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
14084 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
14086 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
14087 (__pthread_key_create): New hidden def.
14088 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
14089 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
14090 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
14091 __pthread_exit, __pthread_key_create, __pthread_getspecific,
14092 __pthread_setspecific, __pthread_setcancelstate,
14093 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
14094 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
14095 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
14097 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
14098 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
14099 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
14100 (pthread_attr_setstackaddr): New strong alias.
14101 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
14102 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
14103 (pthread_attr_setstacksize): New strong alias.
14104 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
14105 (call_exit): Call __pthread_exit instead of pthread_exit.
14106 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
14107 (_pthread_mutex_init): New hidden definition.
14108 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
14109 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
14110 instead of pthread_attr_init and pthread_attr_setstack.
14112 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
14113 __vm_deallocate instead of vm_allocate and vm_deallocate.
14114 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
14116 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
14118 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
14120 * hurd/siginfo.c: Include <libioP.h>.
14121 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
14122 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
14124 * mach/devstream.c: Include <libioP.h>.
14125 (dealloc_ref): Call __mach_port_deallocate instead of
14126 mach_port_deallocate.
14127 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
14128 Call __mach_port_deallocate instead of mach_port_deallocate.
14129 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
14131 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
14133 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
14134 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
14135 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
14137 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
14139 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
14140 instead of sysconf.
14141 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
14142 __clock_gettime instead of clock_gettime.
14143 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
14144 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
14145 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
14146 * sysdeps/unix/bsd/stty.c (stty): Likewise.
14147 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
14149 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
14150 __clock_gettime and __nanosleep instead of clock_gettime and
14152 * hurd/catch-signal.c (hurd_catch_signal): Rename to
14153 __hurd_catch_signal.
14154 (hurd_catch_signal): New strong alias.
14155 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
14156 __hurd_catch_signal instead of hurd_catch_signal.
14157 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
14158 * hurd/hurdexec.c (_hurd_init): Add hidden def.
14159 * hurd/hurdinit.c (_hurd_init): Add hidden def.
14160 * hurd/hurdsig.c: Include <mach/mig_support.h>.
14161 (_hurd_thread_sigstate): Add hidden def.
14162 (_hurd_internal_post_signal): Use __mutex_unlock instead of
14164 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
14165 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
14166 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
14167 __hurd_file_name_path_lookup.
14168 (hurd_file_name_path_lookup): New strong alias.
14169 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
14170 hurd_file_name_path_lookup.
14171 * mach/errstring.c (mach_error_type): Add hidden def.
14172 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
14173 * mach/mutex-init.c (__mutex_init): Add hidden def.
14174 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
14175 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
14176 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
14177 * sysdeps/mach/hurd/getcwd.c
14178 (_hurd_canonicalize_directory_name_internal): Rename to
14179 __hurd_canonicalize_directory_name_internal.
14180 (_hurd_canonicalize_directory_name_internal): New strong alias.
14181 (__canonicalize_directory_name_internal, __getcwd): Call
14182 __hurd_canonicalize_directory_name_internal instead of
14183 _hurd_canonicalize_directory_name_internal.
14184 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
14185 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
14187 * sysdeps/hurd/include/hurd.h: New file.
14188 * sysdeps/hurd/include/hurd/fd.h: New file.
14189 * sysdeps/hurd/include/hurd/signal.h: New file.
14190 * sysdeps/mach/include/lock-intern.h: New file.
14191 * sysdeps/mach/include/mach.h: New file.
14192 * sysdeps/mach/include/mach/mig_support.h: New file.
14193 * sysdeps/mach/include/mach_error.h: New file.
14194 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
14196 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
14197 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
14198 _HEADER_H_HIDDEN_DEF macro.
14199 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
14200 _hurd_fd_error_signal): Add hidden prototype.
14201 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
14203 * libio/iolibio.h (_IO_puts): New hidden prototype.
14204 * libio/ioputs.c (_IO_puts): New hidden def.
14205 * sysdeps/mach/hurd/localplt.data: New file.
14207 2018-04-02 Agustina Arzille <avarzille@riseup.net>
14208 Amos Jeffries <squid3@treenet.co.nz>
14209 David Michael <fedora.dm0@gmail.com>
14210 Marco Gerards <marco@gnu.org>
14211 Marcus Brinkmann <marcus@gnu.org>
14212 Neal H. Walfield <neal@gnu.org>
14213 Pino Toscano <toscano.pino@tiscali.it>
14214 Richard Braun <rbraun@sceen.net>
14215 Roland McGrath <roland@gnu.org>
14216 Samuel Thibault <samuel.thibault@ens-lyon.org>
14217 Thomas DiModica <ricinwich@yahoo.com>
14218 Thomas Schwinge <tschwinge@gnu.org>
14220 * htl: New directory.
14221 * sysdeps/htl: New directory.
14222 * sysdeps/hurd/htl: New directory.
14223 * sysdeps/i386/htl: New directory.
14224 * sysdeps/mach/htl: New directory.
14225 * sysdeps/mach/hurd/htl: New directory.
14226 * sysdeps/mach/hurd/i386/htl: New directory.
14227 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
14228 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
14229 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
14231 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14233 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
14234 signals in thread created for runing timers.
14236 2018-04-01 Florian Weimer <fweimer@redhat.com>
14238 * support/support_format_addrinfo.c (support_format_addrinfo):
14239 Include unknown error number in formatted result.
14241 2018-03-29 Florian Weimer <fweimer@redhat.com>
14243 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
14246 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14248 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
14249 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
14250 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14251 (__ASSUME_CLONE_BACKWARDS): Define.
14253 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
14256 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
14257 early when linux sentinel value is set.
14259 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14261 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
14263 2018-03-27 Andreas Schwab <schwab@suse.de>
14266 * resolv/res_send.c (__res_context_send): Return ENOMEM if
14267 allocation of private copy of nsaddr_list fails.
14269 2018-03-26 Joseph Myers <joseph@codesourcery.com>
14272 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
14273 * sysdeps/unix/sysv/linux/umount.c: ... here.
14274 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
14275 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
14276 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
14277 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
14278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
14279 * sysdeps/unix/sysv/linux/umount.S: Likewise.
14280 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
14282 2018-03-26 Andreas Schwab <schwab@suse.de>
14284 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
14285 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
14286 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
14287 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
14288 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
14289 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
14290 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
14291 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
14292 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
14293 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
14294 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
14295 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
14296 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
14297 (R_RISCV_NUM): Define.
14299 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
14301 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
14302 TLS declaration of errno.
14303 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
14305 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
14306 (ARCH_SETUP_TLS): Likewise.
14307 * sysdeps/mach/hurd/libc-start.h: New file copied from
14308 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
14309 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
14310 instead of __libc_setup_tls.
14311 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
14312 __libc_setup_tls before initializing libpthread and running _hurd_init
14313 which starts the signal thread.
14314 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
14316 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14318 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
14321 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
14322 after it is defined.
14324 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
14325 Max Horn <max@quendi.de>
14329 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
14331 * string/test-memmove.c (do_test2): New testcase.
14333 2018-03-22 Joseph Myers <joseph@codesourcery.com>
14335 * sysdeps/generic/frame.h: Remove file.
14336 * sysdeps/arm/frame.h: Likewise.
14337 * sysdeps/hppa/frame.h: Likewise.
14338 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
14340 (GET_FRAME): Likewise.
14341 (GET_STACK): Likewise.
14342 (CALL_SIGHANDLER): Likewise.
14343 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
14345 (GET_FRAME): Likewise.
14346 (GET_STACK): Likewise.
14347 (CALL_SIGHANDLER): Likewise.
14348 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
14349 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14350 (GET_FRAME): Likewise.
14351 (GET_STACK): Likewise.
14352 (CALL_SIGHANDLER): Likewise.
14353 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
14354 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14355 (GET_FRAME): Likewise.
14356 (GET_STACK): Likewise.
14357 (ADVANCE_STACK_FRAME): Likewise.
14358 (CALL_SIGHANDLER): Likewise.
14359 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
14360 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14361 (GET_FRAME): Likewise.
14362 (GET_STACK): Likewise.
14363 (CALL_SIGHANDLER): Likewise.
14364 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
14365 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14366 (GET_FRAME): Likewise.
14367 (GET_STACK): Likewise.
14368 (CALL_SIGHANDLER): Likewise.
14369 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
14370 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14371 (GET_FRAME): Likewise.
14372 (GET_STACK): Likewise.
14373 (CALL_SIGHANDLER): Likewise.
14374 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
14375 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14376 (GET_FRAME): Likewise.
14377 (GET_STACK): Likewise.
14378 (CALL_SIGHANDLER): Likewise.
14379 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
14380 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14381 (GET_FRAME): Likewise.
14382 (GET_STACK): Likewise.
14383 (CALL_SIGHANDLER): Likewise.
14384 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
14385 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14386 (GET_FRAME): Likewise.
14387 (GET_STACK): Likewise.
14388 (CALL_SIGHANDLER): Likewise.
14389 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
14390 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14391 (GET_FRAME): Likewise.
14392 (GET_STACK): Likewise.
14393 (CALL_SIGHANDLER): Likewise.
14394 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
14395 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14396 (GET_FRAME): Likewise.
14397 (GET_STACK): Likewise.
14398 (CALL_SIGHANDLER): Likewise.
14399 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
14400 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14401 (GET_FRAME): Likewise.
14402 (GET_STACK): Likewise.
14403 (CALL_SIGHANDLER): Likewise.
14404 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
14405 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14406 (FIRST_FRAME_POINTER): Likewise.
14407 (ADVANCE_STACK_FRAME): Likewise.
14408 (GET_STACK): Likewise.
14409 (GET_FRAME): Likewise.
14410 (CALL_SIGHANDLER): Likewise.
14411 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
14412 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14413 (ADVANCE_STACK_FRAME): Likewise.
14414 (GET_STACK): Likewise.
14415 (GET_FRAME): Likewise.
14416 (CALL_SIGHANDLER): Likewise.
14417 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
14418 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14419 (GET_FRAME): Likewise.
14420 (GET_STACK): Likewise.
14421 (CALL_SIGHANDLER): Likewise.
14422 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
14423 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14424 (GET_FRAME): Likewise.
14425 (GET_STACK): Likewise.
14426 (CALL_SIGHANDLER): Likewise.
14428 2018-03-21 Joseph Myers <joseph@codesourcery.com>
14430 * sysdeps/x86_64/backtrace.c: Move to ....
14431 * debug/backtrace.c: ... here.
14432 * sysdeps/aarch64/backtrace.c: Remove file.
14433 * sysdeps/alpha/backtrace.c: Likewise.
14434 * sysdeps/hppa/backtrace.c: Likewise.
14435 * sysdeps/ia64/backtrace.c: Likewise.
14436 * sysdeps/mips/backtrace.c: Likewise.
14437 * sysdeps/nios2/backtrace.c: Likewise.
14438 * sysdeps/riscv/backtrace.c: Likewise.
14439 * sysdeps/sh/backtrace.c: Likewise.
14440 * sysdeps/tile/backtrace.c: Likewise.
14442 2018-03-20 Joseph Myers <joseph@codesourcery.com>
14445 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
14448 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
14451 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
14452 possibly overflowing computations.
14454 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14456 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
14457 values from Linux-specific section now that it is in the GNU section.
14458 * sysdeps/gnu/errlist.c: Regenerate.
14460 2018-03-20 Joseph Myers <joseph@codesourcery.com>
14462 * math/Makefile (libm-narrow-fns): Add sub.
14463 (libm-test-funcs-narrow): Likewise.
14464 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
14465 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
14466 * math/gen-auto-libm-tests.c (test_functions): Add sub.
14467 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
14468 (NARROW_SUB_ROUND_TO_ODD): Likewise.
14469 (NARROW_SUB_TRIVIAL): Likewise.
14470 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
14472 (__dsubl): Likewise.
14473 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
14475 (CFLAGS-nldbl-dsub.c): New variable.
14476 (CFLAGS-nldbl-fsub.c): Likewise.
14477 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14479 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
14481 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
14482 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
14483 * math/auto-libm-test-in: Add tests of sub.
14484 * math/auto-libm-test-out-narrow-sub: New generated file.
14485 * math/libm-test-narrow-sub.inc: New file.
14486 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14487 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
14488 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
14489 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
14490 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
14491 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
14492 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
14493 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
14494 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
14495 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
14496 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
14497 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
14498 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
14499 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
14500 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
14501 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
14502 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
14503 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
14504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14505 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14506 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14507 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14508 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14509 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14510 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14511 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14512 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14513 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14514 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14515 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14516 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14517 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14522 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14523 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14524 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14525 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14526 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14527 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14528 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
14529 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
14530 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14531 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14533 2018-03-19 Joseph Myers <joseph@codesourcery.com>
14536 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
14538 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
14540 * benchtests/bench-timing.h (attribute_hidden): Undefine.
14542 2018-03-18 Richard Braun <rbraun@sceen.net>
14544 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
14547 2018-03-18 Agustina Arzille <avarzille@riseup.net>
14549 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
14550 (__libc_cleanup_fct): Define function.
14551 (__libc_cleanup_region_start, __libc_cleanup_region_end,
14552 __libc_cleanup_end): Rewrite implementation using
14553 __attribute__ ((__cleanup__)).
14554 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
14555 * hurd/Makefile (routines): Add hurdlock.
14556 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
14558 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
14559 * hurd/hurdpid.c: Include <lowlevellock.h>
14560 (_S_msg_proc_newids): Use lll_wait to synchronize.
14561 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
14562 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
14563 * mach/Makefile (lock-headers): Remove machine-lock.h.
14564 * mach/lock-intern.h: Include <lowlevellock.h> instead of
14566 (__spin_lock_t): New type.
14567 (__SPIN_LOCK_INITIALIZER): New macro.
14568 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
14569 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
14570 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
14571 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
14572 (__mutex_init): Initialize with lll.
14573 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
14574 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
14576 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14577 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
14578 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
14579 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
14580 (__setpgid): Use lll for synchronization.
14581 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
14582 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
14583 instead of <cthreads.h>.
14584 (_IO_lock_inexpensive): New macro
14585 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
14586 (__libc_lock_self0): New declaration.
14587 (__libc_lock_owner_self): New macro.
14588 (__libc_key_t): Remove type.
14589 (_LIBC_LOCK_INITIALIZER): New macro.
14590 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
14591 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
14592 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
14593 __libc_lock_define_initialized_recursive,
14594 __rtld_lock_define_initialized_recursive,
14595 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
14596 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
14597 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
14598 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
14599 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
14600 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
14601 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
14603 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
14604 * hurd/hurdlock.c: New file.
14605 * hurd/hurdlock.h: New file.
14606 * mach/lowlevellock.h: New file
14608 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14610 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
14611 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
14612 when opening a symlink with O_NOFOLLOW.
14613 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
14614 path when flags contains O_NOFOLLOW.
14615 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
14616 if flags contains O_DIRECTORY and the result is a directory.
14617 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
14618 oneself when the pointer given in D is nul (as set by ext2fs).
14619 * sysdeps/mach/hurd/mlockall.c: New file.
14620 * sysdeps/mach/hurd/munlockall.c: New file.
14622 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14624 * hurd/hurdsig.c: Include <pthread.h>.
14625 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
14626 get the signal thread stack layout.
14627 * hurd/Makefile (headers): Remove threadvar.h.
14628 (inline-headers): Remove threadvar.h.
14629 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
14630 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
14631 __hurd_threadvar_max, __hurd_errno_location.
14632 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
14633 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
14634 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
14635 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
14636 unless TLS is not initialized yet, in which case we do not need a
14637 critical section yet anyway.
14638 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
14640 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
14642 (__hurd_threadvar_index): Remove enum.
14643 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
14644 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
14646 (__hurd_reply_port0): New variable declaration.
14647 (__hurd_local_reply_port): New macro.
14648 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
14649 (interrupted_reply_port_location): Add thread_t parameter. Use it
14650 with THREAD_TCB to access thread-local variables.
14651 (_hurdsig_abort_rpcs): Pass ss->thread to
14652 interrupted_reply_port_location.
14653 (_hurd_internal_post_signal): Likewise.
14654 (_hurdsig_init): Use presence of cthread_fork instead of
14655 __hurd_threadvar_stack_mask to start signal thread by hand.
14656 Remove signal thread threadvar initialization.
14657 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
14658 * hurd/sigunwind.c: Include <hurd/threadvar.h>
14659 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
14661 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
14663 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
14664 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
14665 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
14666 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
14667 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
14668 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
14669 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
14671 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
14672 <hurd/threadvar.h>.
14673 [IS_IN(rtld)] (rtld_errno): New variable.
14674 [IS_IN(rtld)] (__errno_location): New weak function.
14675 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
14676 * sysdeps/mach/hurd/errno.c: Remove file.
14677 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
14678 (__fork): Remove THREADVAR_SPACE macro and its use.
14679 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
14681 (init): Do not initialize threadvar.
14682 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
14684 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
14685 __hurd_local_reply_port instead of threadvar.
14686 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
14687 _hurd_sigstate fields.
14688 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
14689 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
14690 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
14691 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
14692 instead of threadvar.
14693 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
14694 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
14695 (use_threadvar, global_reply_port): Remove variables.
14696 (__hurd_reply_port0): New variable.
14697 (__mig_get_reply_port): Use __hurd_local_reply_port and
14698 __hurd_reply_port0 instead of threadvar.
14699 (__mig_dealloc_reply_port): Likewise.
14700 (__mig_init): Do not initialize threadvar.
14701 * sysdeps/mach/hurd/profil.c: Fix comment.
14702 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
14703 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
14704 cthread_keycreate, cthread_getspecific, cthread_setspecific to
14705 __cthread_fork, __cthread_detach, __pthread_getattr_np,
14706 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
14707 __cthread_setspecific.
14708 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
14709 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
14710 __cthread_t instead of cthread_fork, cthread_detach,
14711 pthread_getattr_np, pthread_attr_getstack.
14712 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
14713 __cthread_keycreate.
14714 (cthread_getspecific): Rename to __cthread_getspecific.
14715 (cthread_setspecific): Rename to __cthread_setspecific.
14716 (__libc_getspecific): Use __cthread_getspecific instead of
14717 cthread_getspecific.
14718 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
14719 __cthread_keycreate instead of cthread_keycreate.
14720 (__libc_setspecific): Use __cthread_setspecific instead of
14721 cthread_setspecific.
14722 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
14724 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
14725 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
14726 testing whether it is defined.
14728 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14730 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
14732 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
14733 * sysdeps/mach/i386/thread_state.h
14734 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
14736 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
14738 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
14740 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
14741 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
14743 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
14745 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
14746 descriptor instead of creating a new one.
14747 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
14749 * mach/setup-thread.c: Include <ldsodefs.h>.
14750 (__mach_setup_thread): Call _dl_allocate_tls, pass
14751 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
14752 MACHINE_THREAD_STATE_FLAVOR, before getting
14753 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
14754 MACHINE_THREAD_STATE_FLAVOR with the result.
14755 * hurd/hurdfault.c (_hurdsig_fault_init): Call
14756 MACHINE_THREAD_STATE_FIX_NEW.
14757 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
14758 too. Add original thread parameter.
14760 2018-03-16 Joseph Myers <joseph@codesourcery.com>
14762 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
14763 Remove inline function.
14765 * sysdeps/i386/fpu/libm-test-ulps: Update.
14766 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
14768 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
14770 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
14773 2018-03-15 Joseph Myers <joseph@codesourcery.com>
14775 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
14776 (__sincos_code): Remove define and undefine.
14777 [__FAST_MATH__] (__sincos): Remove inline function.
14778 [__FAST_MATH__] (__sincosf): Remove inline function.
14779 [__FAST_MATH__] (__sincosl): Remove inline function.
14780 (__atan2l): Remove inline functions.
14781 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
14782 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
14784 (floor): Remove inline function.
14786 [__FAST_MATH__] (__ldexp_code): Remove macro.
14787 [__FAST_MATH__] (ldexp): Remove inline function.
14788 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
14789 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
14790 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
14791 [__USE_ISOC99] (__lrint_code): Remove macro.
14792 [__USE_ISOC99] (__llrint_code): Likewise.
14793 [__USE_ISOC99] (lrintf): Remove inline function.
14794 [__USE_ISOC99] (lrint): Likewise.
14795 [__USE_ISOC99] (lrintl): Likewise.
14796 [__USE_ISOC99] (llrint): Likewise.
14797 [__USE_ISOC99] (llrintf): Likewise.
14798 [__USE_ISOC99] (llrintl): Likewise.
14800 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14802 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
14803 (__ieee754_sqrtf): Remove.
14804 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
14805 (__ieee754_sqrtf): Remove.
14806 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
14807 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14808 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
14809 (__ieee754_sqrtf): Remove.
14810 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
14811 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
14814 (__ieee754_sqrt): Remove.
14815 (__ieee754_sqrtf): Remove.
14816 (__ieee754_sqrtl): Remove.
14817 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14818 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
14819 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
14820 (__ieee754_sqrtf): Remove.
14821 (__ieee754_sqrtl): Remove.
14823 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14825 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
14826 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
14827 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14828 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
14829 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
14830 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14831 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14832 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14834 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
14835 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
14836 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14837 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
14838 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
14839 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
14840 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
14841 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
14842 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
14843 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14844 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
14845 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
14846 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
14847 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
14848 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
14849 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14850 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14851 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14852 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
14853 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
14854 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14855 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14856 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
14857 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
14858 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
14859 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
14860 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14861 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14862 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
14863 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14864 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14865 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
14866 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14867 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
14868 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14869 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14870 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
14871 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
14872 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14873 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
14875 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14877 * include/math.h (sqrt): Declare with asm redirect.
14880 (sqrtf128): Likewise.
14881 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
14882 nonlib and libnldbl with -fmath-errno.
14883 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
14884 * math/w_sqrt_template.c: Likewise.
14885 * math/w_sqrtf_compat.c: Likewise.
14886 * math/w_sqrtl_compat.c: Likewise.
14887 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
14888 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
14889 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
14892 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14894 * benchtests/Makefile: Define _ISOMAC.
14895 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
14896 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
14897 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
14898 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
14899 * benchtests/bench-timing.h: Define attribute_hidden.
14901 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
14903 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
14906 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14909 * localedata/locales/cs_CZ (mon): Rename to...
14911 (mon): Import from CLDR (genitive case).
14913 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14916 * localedata/locales/el_CY (abmon): Rename to...
14917 (ab_alt_mon): This.
14918 (abmon): Import from CLDR (abbreviated genitive case).
14919 * localedata/locales/el_GR (abmon): Rename to...
14920 (ab_alt_mon): This.
14921 (abmon): Import from CLDR (abbreviated genitive case).
14923 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14926 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
14928 2018-03-15 Robert Buj <robert.buj@gmail.com>
14931 * localedata/locales/ca_ES (abmon): Rename to...
14932 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
14933 (mon): Rename to...
14935 (abmon): Import from CLDR (genitive case, month names preceded by
14938 (abday): Synchronize with CLDR.
14939 (d_t_fmt): Likewise.
14943 (LC_TIME): Improve indentation.
14944 (LC_TELEPHONE): Likewise.
14945 (LC_NAME): Likewise.
14946 (LC_ADDRESS): Likewise.
14948 2018-03-14 Joseph Myers <joseph@codesourcery.com>
14950 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
14951 (lrintf): Remove definitions used only with old GCC.
14952 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
14953 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
14954 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
14955 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
14956 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
14957 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
14958 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
14959 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
14960 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
14961 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
14962 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
14963 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
14964 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
14965 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
14966 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
14967 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
14968 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
14969 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
14970 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
14971 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
14972 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
14973 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
14974 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
14975 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
14976 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
14977 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
14978 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
14979 [__FAST_MATH__] (__M_SQRT2): Remove macro.
14981 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
14983 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
14984 instruction to unbreak builds with binutils 2.26 and older.
14986 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
14988 * sysdeps/aarch64/strncmp.S (count): New macro.
14989 (strncmp): Store misaligned length in SRC1 in COUNT.
14990 (mutual_align): Adjust.
14991 (misaligned8): Load dword at a time when it is safe.
14993 2018-03-12 Zack Weinberg <zackw@panix.com>
14997 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
14998 if the _IO_EOF_SEEN bit is already set; update commentary.
14999 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
15000 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
15002 * support/support_openpty.c, support/tty.h: New files.
15003 * support/Makefile (libsupport-routines): Add support_openpty.
15005 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
15007 * libio/Makefile (tests): Add tst-fgetc-after-eof.
15008 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
15010 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
15012 * po/pt_BR.po: Update translations.
15014 2018-03-12 David Michael <fedora.dm0@gmail.com>
15016 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
15017 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
15018 get a port to the startup server.
15020 2018-03-11 Zack Weinberg <zackw@panix.com>
15022 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
15023 before nldbl-compat.h.
15025 2018-03-10 Zack Weinberg <zackw@panix.com>
15027 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
15028 math.h or math_private.h.
15030 * sysdeps/alpha/fpu/s_isnan.c
15031 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
15032 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
15033 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
15034 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
15035 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
15036 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
15037 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
15038 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
15039 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
15040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
15041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
15042 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
15043 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
15044 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
15045 Include math_private.h.
15047 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
15048 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
15049 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
15050 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
15051 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
15052 * sysdeps/powerpc/power7/fpu/s_logb.c:
15053 Include math.h and math_private.h.
15055 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
15056 uses of $at in .set noat / .set at.
15058 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
15060 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
15061 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
15062 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
15063 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
15066 2018-03-09 Florian Weimer <fweimer@redhat.com>
15068 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
15071 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
15074 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
15075 Add nop before __startcontext, add explaining comments.
15077 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15080 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
15082 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
15083 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
15084 Do not build hardware transactional code for __SPE__.
15085 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15086 (__lll_trylock_elision): Likewise.
15087 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
15088 (__lll_unlock_elision): Likewise.
15090 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
15091 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
15092 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
15093 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
15094 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
15095 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
15096 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
15097 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
15098 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
15099 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
15100 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
15101 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
15102 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
15103 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
15104 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
15105 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
15106 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
15107 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
15108 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
15109 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
15110 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
15111 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15112 (__ASSUME_CLONE_BACKWARDS): Define.
15113 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
15114 __clone2 if __NR_clone2 is defined.
15115 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15116 (__ASSUME_CLONE_BACKWARDS): Likewise.
15117 * sysdeps/unix/sysv/linux/i386/kernel-features.h
15118 (__ASSUME_CLONE_BACKWARDS): Likewise.
15119 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15120 (__ASSUME_CLONE2): Likewise.
15121 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15122 (__ASSUME_CLONE_BACKWARDS3): Likewise.
15123 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
15124 variants and the define architecture can use.
15125 (__ASSUME_CLONE_DEFAULT): Define as default.
15126 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15127 (__ASSUME_CLONE_BACKWARDS): Likewise.
15128 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15129 (__ASSUME_CLONE_BACKWARDS): Likewise.
15130 * sysdeps/unix/sysv/linux/s390/kernel-features.h
15131 (__ASSUME_CLONE_BACKWARDS2): Likewise.
15133 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
15135 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
15137 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
15140 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
15141 (do_test_limit): Likewise.
15143 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
15144 for every implementation.
15145 (do_test): Likewise.
15147 * benchtests/bench-strncmp.c: Convert output to json.
15149 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15151 * io/futimens.c: Add missing start-of-file descriptive comment.
15152 * io/utime.c: Likewise.
15153 * misc/futimesat.c: Likewise.
15154 * misc/utimes.c: Likewise.
15155 * sysdeps/mach/hurd/futimesat.c: Likewise.
15156 * sysdeps/mach/hurd/utimes.c: Likewise.
15157 * sysdeps/posix/utime.c: Likewise.
15158 * sysdeps/posix/utimes.c: Likewise.
15159 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
15160 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15161 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
15162 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
15164 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15166 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
15168 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
15169 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
15170 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
15171 (__futimens): Move implementation to...
15172 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
15173 utime_tvalue_from_tspec): ... new helper functions.
15174 (hurd_futimens): New function.
15175 * sysdeps/mach/hurd/futimesat.c: New file.
15176 * sysdeps/mach/hurd/utimensat.c: New file.
15178 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
15180 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
15181 UTIME_OMIT): New macros.
15182 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
15183 before reverting to converting time spec to time value and calling
15185 * sysdeps/mach/hurd/utime-helper.c: New file.
15186 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
15187 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
15188 reverting to utime_tvalue_from_tval and __file_utimes.
15189 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
15190 (__lutimes): Just call hurd_futimens after lookup.
15191 * sysdeps/mach/hurd/utimes.c: Likewise.
15193 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15195 * bits/sigaction.h: Add include guard.
15196 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
15197 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
15198 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
15199 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
15200 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
15201 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
15202 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
15203 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
15204 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
15206 2018-03-05 Joseph Myers <joseph@codesourcery.com>
15208 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
15209 -Wmaybe-uninitialized for -Os.
15210 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
15213 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15215 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
15216 __INO_T_MATCHES_INO64_T is defined.
15217 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
15218 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
15220 * dirent/alphasort64.c: Likewise.
15221 * dirent/scandir.c: Likewise.
15222 * dirent/scandir64-tail.c: Likewise.
15223 * dirent/scandir64.c: Likewise.
15224 * dirent/scandirat.c: Likewise.
15225 * dirent/scandirat64.c: Likewise.
15226 * dirent/versionsort.c: Likewise.
15227 * dirent/versionsort64.c: Likewise.
15228 * include/dirent.h: Likewise.
15230 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
15231 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
15232 for socketpair endpoint.
15233 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
15234 WRITE_BUFFER_SIZE as buffer size for sending socket.
15235 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
15236 issue on system where send is implemented with sendto syscall.
15237 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
15238 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
15239 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
15240 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
15243 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
15244 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
15245 sa_restorer for vDSO case.
15246 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
15248 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15250 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
15251 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
15252 * hurd/hurd/ioctl.h: Include <mach/port.h>
15253 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
15254 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
15255 <mach/mach_types.h> and <mach/message.h>.
15256 (headers): Move mach/param.h to bits/mach/param.h.
15257 * sysdeps/mach/i386/mach/param.h: Move file to ...
15258 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
15259 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
15261 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
15262 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
15263 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
15264 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
15265 trivial, for C++ conformity.
15266 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
15267 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
15268 Process mig output through $(migheadersed).
15269 * hurd/Makefile (migheadersed): Define variable.
15270 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
15271 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
15273 * hurd/hurd.h: Include <bits/types/sigset_t.h>
15274 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
15275 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
15276 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
15277 <bits/types/sigset_t.h>.
15278 [!defined __USE_GNU]: Do not #error out.
15279 (struct hurd_sigstate): Use _NSIG instead of NSIG.
15280 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
15281 Include <stddef.h> and <bits/types/sigset_t.h>
15282 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
15283 instead of sighandler_t.
15284 * stdlib/errno.h (error_t): Move definition to...
15285 * bits/types/error_t.h: ... new header.
15286 * stdlib/Makefile (headers): Add bits/types/error_t.h.
15287 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
15288 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
15289 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
15290 * hurd/hurd.h: Include <bits/types/error_t.h>
15291 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
15292 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
15293 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
15294 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
15295 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
15296 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
15297 * sysdeps/mach/hurd/futimens.c: New file.
15299 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
15302 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
15303 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
15304 * nscd/gai.c (__nss_hosts_database): Readd definition.
15305 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
15306 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
15307 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
15309 2018-03-02 Joseph Myers <joseph@codesourcery.com>
15311 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
15312 (ifunc_one): Likewise.
15314 2018-03-01 DJ Delorie <dj@delorie.com>
15317 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
15320 2018-03-01 Maciej W. Rozycki <macro@mips.com>
15322 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
15323 `match_pid' parameter.
15324 (td_ta_thr_iter): Update accordingly.
15326 2018-03-01 Florian Weimer <fweimer@redhat.com>
15328 * nptl/Makefile (install-lib-ldscripts): Remove.
15329 (install): Remove rule.
15330 ($(inst_libdir)/libpthread.so): Likewise.
15332 2018-03-01 Mike FABIAN <mfabian@redhat.com>
15335 * localedata/locales/an_ES: update month and day names,
15336 improve d_fmt, improve postal_fmt, add country_post,
15339 2018-03-01 Mike FABIAN <mfabian@redhat.com>
15341 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
15342 Ukrainian instead of Bulgarian.
15344 2018-03-01 Florian Weimer <fweimer@redhat.com>
15346 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
15349 2018-03-01 Florian Weimer <fweimer@redhat.com>
15351 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
15352 * nptl/Makefile (routines): Add pthread_atfork.
15353 (static-only-routines): Set to pthread_atfork.
15354 (libpthread-routines): Remove pthread_atfork.
15355 (libpthread-static-only-routines): Remove.
15356 (install): Update comment.
15357 (libpthread.so): Do not install libpthread_nonshared.a.
15358 (tests): Do not link with libpthread_nonshared.a.
15359 (generated): Remove libpthread_nonshared.a.
15360 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
15361 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
15362 with libpthread_nonshared.a.
15364 2018-02-28 Joseph Myers <joseph@codesourcery.com>
15367 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
15368 (libc_feholdexcept_setroundf128): New macro.
15369 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
15372 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
15374 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
15375 * include/inttypes.h: New file.
15377 2018-02-27 Joseph Myers <joseph@codesourcery.com>
15379 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
15380 -Os in two more places.
15382 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15384 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
15385 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
15386 be sorted correctly at the moment because of a bug.
15388 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15390 [BZ #22550] - es_ES locale (and other es_* locales): collation should
15391 treat ñ as a primary different character, sync the collation
15392 for Spanish with CLDR.
15393 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
15394 * localedata/Makefile: Add new test files.
15395 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
15396 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
15398 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
15399 * localedata/am_ET.UTF-8.in: New test file.
15400 * localedata/az_AZ.UTF-8.in: Likewise.
15401 * localedata/be_BY.UTF-8.in: Likewise.
15402 * localedata/ber_DZ.UTF-8.in: Likewise.
15403 * localedata/ber_MA.UTF-8.in: Likewise.
15404 * localedata/bg_BG.UTF-8.in: Likewise.
15405 * localedata/br_FR.UTF-8.in: Likewise.
15406 * localedata/cmn_TW.UTF-8.in: Likewise.
15407 * localedata/crh_UA.UTF-8.in: Likewise.
15408 * localedata/csb_PL.UTF-8.in: Likewise.
15409 * localedata/cv_RU.UTF-8.in: Likewise.
15410 * localedata/cy_GB.UTF-8.in: Likewise.
15411 * localedata/dz_BT.UTF-8.in: Likewise.
15412 * localedata/eo.UTF-8.in: Likewise.
15413 * localedata/es_ES.UTF-8.in: Likewise.
15414 * localedata/fa_IR.UTF-8.in: Likewise.
15415 * localedata/fi_FI.UTF-8.in: Likewise.
15416 * localedata/fil_PH.UTF-8.in: Likewise.
15417 * localedata/fur_IT.UTF-8.in: Likewise.
15418 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
15419 * localedata/ha_NG.UTF-8.in: Likewise.
15420 * localedata/ig_NG.UTF-8.in: Likewise.
15421 * localedata/ik_CA.UTF-8.in: Likewise.
15422 * localedata/kk_KZ.UTF-8.in: Likewise.
15423 * localedata/ku_TR.UTF-8.in: Likewise.
15424 * localedata/ky_KG.UTF-8.in: Likewise.
15425 * localedata/ln_CD.UTF-8.in: Likewise.
15426 * localedata/mi_NZ.UTF-8.in: Likewise.
15427 * localedata/ml_IN.UTF-8.in: Likewise.
15428 * localedata/mn_MN.UTF-8.in: Likewise.
15429 * localedata/mr_IN.UTF-8.in: Likewise.
15430 * localedata/mt_MT.UTF-8.in: Likewise.
15431 * localedata/nb_NO.UTF-8.in: Likewise.
15432 * localedata/om_KE.UTF-8.in: Likewise.
15433 * localedata/os_RU.UTF-8.in: Likewise.
15434 * localedata/ps_AF.UTF-8.in: Likewise.
15435 * localedata/ro_RO.UTF-8.in: Likewise.
15436 * localedata/ru_RU.UTF-8.in: Likewise.
15437 * localedata/sc_IT.UTF-8.in: Likewise.
15438 * localedata/se_NO.UTF-8.in: Likewise.
15439 * localedata/sq_AL.UTF-8.in: Likewise.
15440 * localedata/sv_SE.UTF-8.in: Likewise.
15441 * localedata/szl_PL.UTF-8.in: Likewise.
15442 * localedata/tg_TJ.UTF-8.in: Likewise.
15443 * localedata/tk_TM.UTF-8.in: Likewise.
15444 * localedata/tt_RU.UTF-8.in: Likewise.
15445 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
15446 * localedata/ug_CN.UTF-8.in: Likewise.
15447 * localedata/uz_UZ.UTF-8.in: Likewise.
15448 * localedata/vi_VN.UTF-8.in: Likewise.
15449 * localedata/yi_US.UTF-8.in: Likewise.
15450 * localedata/yo_NG.UTF-8.in: Likewise.
15451 * localedata/zh_CN.UTF-8.in: Likewise.
15452 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
15453 file and fix bugs in the collation.
15454 * localedata/locales/az_AZ: Likewise.
15455 * localedata/locales/be_BY: Likewise.
15456 * localedata/locales/ber_DZ: Likewise.
15457 * localedata/locales/ber_MA: Likewise.
15458 * localedata/locales/bg_BG: Likewise.
15459 * localedata/locales/br_FR: Likewise.
15460 * localedata/locales/br_FR@euro: Likewise.
15461 * localedata/locales/ca_ES: Likewise.
15462 * localedata/locales/cns11643_stroke: Likewise.
15463 * localedata/locales/crh_UA: Likewise.
15464 * localedata/locales/cs_CZ: Likewise.
15465 * localedata/locales/csb_PL: Likewise.
15466 * localedata/locales/cv_RU: Likewise.
15467 * localedata/locales/cy_GB: Likewise.
15468 * localedata/locales/da_DK: Likewise.
15469 * localedata/locales/dz_BT: Likewise.
15470 * localedata/locales/en_CA: Likewise.
15471 * localedata/locales/eo: Likewise.
15472 * localedata/locales/es_CU: Likewise.
15473 * localedata/locales/es_EC: Likewise.
15474 * localedata/locales/es_ES: Likewise.
15475 * localedata/locales/es_US: Likewise.
15476 * localedata/locales/et_EE: Likewise.
15477 * localedata/locales/fa_IR: Likewise.
15478 * localedata/locales/fi_FI: Likewise.
15479 * localedata/locales/fil_PH: Likewise.
15480 * localedata/locales/fur_IT: Likewise.
15481 * localedata/locales/gez_ER@abegede: Likewise.
15482 * localedata/locales/ha_NG: Likewise.
15483 * localedata/locales/hr_HR: Likewise.
15484 * localedata/locales/hsb_DE: Likewise.
15485 * localedata/locales/hu_HU: Likewise.
15486 * localedata/locales/ig_NG: Likewise.
15487 * localedata/locales/ik_CA: Likewise.
15488 * localedata/locales/is_IS: Likewise.
15489 * localedata/locales/iso14651_t1_pinyin: Likewise.
15490 * localedata/locales/kk_KZ: Likewise.
15491 * localedata/locales/ku_TR: Likewise.
15492 * localedata/locales/ky_KG: Likewise.
15493 * localedata/locales/ln_CD: Likewise.
15494 * localedata/locales/lt_LT: Likewise.
15495 * localedata/locales/lv_LV: Likewise.
15496 * localedata/locales/mi_NZ: Likewise.
15497 * localedata/locales/ml_IN: Likewise.
15498 * localedata/locales/mn_MN: Likewise.
15499 * localedata/locales/mr_IN: Likewise.
15500 * localedata/locales/mt_MT: Likewise.
15501 * localedata/locales/nb_NO: Likewise.
15502 * localedata/locales/om_KE: Likewise.
15503 * localedata/locales/os_RU: Likewise.
15504 * localedata/locales/pl_PL: Likewise.
15505 * localedata/locales/ps_AF: Likewise.
15506 * localedata/locales/ro_RO: Likewise.
15507 * localedata/locales/ru_RU: Likewise.
15508 * localedata/locales/ru_UA: Likewise.
15509 * localedata/locales/sc_IT: Likewise.
15510 * localedata/locales/se_NO: Likewise.
15511 * localedata/locales/si_LK: Likewise.
15512 * localedata/locales/sq_AL: Likewise.
15513 * localedata/locales/sv_FI: Likewise.
15514 * localedata/locales/sv_FI@euro: Likewise.
15515 * localedata/locales/sv_SE: Likewise.
15516 * localedata/locales/szl_PL: Likewise.
15517 * localedata/locales/tg_TJ: Likewise.
15518 * localedata/locales/ti_ER: Likewise.
15519 * localedata/locales/tk_TM: Likewise.
15520 * localedata/locales/tl_PH: Likewise.
15521 * localedata/locales/tr_TR: Likewise.
15522 * localedata/locales/tt_RU: Likewise.
15523 * localedata/locales/tt_RU@iqtelif: Likewise.
15524 * localedata/locales/ug_CN: Likewise.
15525 * localedata/locales/uk_UA: Likewise.
15526 * localedata/locales/uz_UZ: Likewise.
15527 * localedata/locales/uz_UZ@cyrillic: Likewise.
15528 * localedata/locales/vi_VN: Likewise.
15529 * localedata/locales/yi_US: Likewise.
15530 * localedata/locales/yo_NG: Likewise.
15532 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15534 * gen-locales.mk: Make test files which contain @ modifiers in their
15536 * localedata/gen-locale.sh: Likewise.
15538 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15540 * posix/tst-fnmatch.input: Fix results for range expressions
15542 * posix/tst-regexloc.c: Do not use a range expression for
15543 de_DE.ISO-8859-1 locale.
15545 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15547 * posix/bug-regex5.c: Fix test case because with the new
15548 iso14651_t1_common file, the da_DK locale now has 6 collating elements
15549 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
15552 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15554 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
15555 downloaded from ISO, the collation order of @-. and space has changed.
15556 Therefore, this test file needed to be adapted.
15557 * localedata/fr_CA.UTF-8.in: Likewise.
15558 * localedata/fr_FR.UTF-8.in: Likewise.
15559 * localedata/uk_UA.UTF-8.in: Likewise.
15561 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15563 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
15564 order of ȥ in the new iso14651_t1_common file.
15565 * localedata/pl_PL.UTF-8.in: Likewise.
15567 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15569 * localedata/locales/iso14651_t1_common: Add sections for various
15570 scripts to the iso14651_t1_common file.
15572 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15574 * localedata/locales/iso14651_t1_common: Use the code point of a
15575 character in the fourth collation level instead of IGNORE for all
15576 entries which have IGNORE on all 4 levels.
15578 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15580 * localedata/locales/iso14651_t1_common: Add some convenient collation
15581 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
15582 rules similar to those in CLDR.
15584 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15586 * localedata/locales/iso14651_t1_common: The new version of this
15587 file downloaded from ISO contained several syntax errors which
15588 are fixed by this patch.
15590 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15592 * localedata/locales/iso14651_t1_common: replace all <U.....>
15593 with <U000.....> because glibc understands only 4 digit or 8 digit
15595 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15597 * localedata/locales/iso14651_t1_common: Necessary changes
15598 to make the file downloaded from ISO usable by glibc.
15600 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15603 * localedata/locales/iso14651_t1_common: Update file to
15604 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
15606 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15608 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
15609 of <nptl/pthreadP.h>
15610 (thread_attr_compare): Move function to...
15611 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
15612 * sysdeps/nptl/timer_routines.h: ... new header.
15613 * sysdeps/mach/hurd/gai_misc.h: New file.
15615 2018-02-26 Joseph Myers <joseph@codesourcery.com>
15617 * string/strcoll_l.c: Include <libc-diag.h>.
15618 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
15619 declarations of seq1 and seq2.
15622 * stdlib/atoi.c (atoi): Use libc_hidden_def.
15623 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
15625 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
15629 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
15630 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
15631 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
15632 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
15633 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
15634 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
15636 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15638 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
15639 macros used in __ptrace_request.
15641 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
15644 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
15646 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
15647 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
15648 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
15651 2018-02-23 Joseph Myers <joseph@codesourcery.com>
15654 * ctype/ctype.c (tolower): Use libc_hidden_def.
15655 (toupper): Likewise.
15656 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
15657 [!_ISOMAC] (toupper): Likewise.
15659 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15661 * localedata/Makefile: Remove --quiet argument when
15664 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15667 * localedata/locales/pt_BR (LC_TIME): use / instead of -
15669 * localedata/locales/pt_PT (LC_TIME): likewise
15671 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15674 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
15675 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
15676 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
15678 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15682 * nptl/Makefile (routines): Remove unregister-atfork.
15683 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
15684 (fork_handler_alloc): Remove function.
15685 (fork_handlers, fork_handler_init): New variables.
15686 (__fork_lock): Rename to atfork_lock.
15687 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
15688 to use a dynamic array to add/remove atfork handlers.
15689 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15690 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
15691 Remove declaration.
15692 (fork_handler): Remove next, refcntr, and need_signal member.
15693 (__run_fork_handler_type): New enum.
15694 (__run_fork_handlers): New prototype.
15695 * nptl/register-atfork.c: Remove file.
15696 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
15698 * sysdeps/nptl/nptl-signals.h: Move to ...
15699 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
15701 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
15702 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
15703 unnecessary check for SIGTIMER.
15704 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
15705 remove unnecessary removal of SIGTIMER.
15706 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
15707 include-signals.h rename.
15708 * nptl/pthreadP.h: Likewise.
15709 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
15710 __is_internal_signal instead of __nptl_is_internal_signal.
15712 2018-02-22 Andrew Waterman <andrew@sifive.com>
15715 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
15716 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
15717 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
15718 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
15720 2018-02-22 DJ Delorie <dj@delorie.com>
15722 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
15724 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
15726 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
15727 do_misaligned, not misaligned8.
15729 2018-02-22 Steve Ellcey <sellcey@cavium.com>
15731 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
15732 Add memcpy_thunderx2.
15733 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
15735 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
15736 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
15737 and IS_THUNDERX2PA checks.
15738 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
15739 Use macro to set name appropriately.
15740 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
15741 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
15742 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
15744 (IS_THUNDERX2): New macro.
15746 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
15748 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15750 2018-02-21 Zack Weinberg <zackw@panix.com>
15752 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
15753 Define here, unconditionally.
15754 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
15755 * libio/libioP.h: Remove #if 0 blocks.
15756 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
15757 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
15758 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
15760 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
15761 Assume weak_alias is always defined.
15763 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
15764 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
15765 Remove #if 0 and #ifdef TODO blocks.
15766 Assume text_set_element is always defined.
15768 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
15769 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
15770 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
15772 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
15773 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
15774 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
15775 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
15776 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
15777 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
15778 Reformat bit flags for _flags field to make occupancy clearer.
15780 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
15781 Keep definitions consistent with those in libio/libio.h.
15783 * libio/libio.h (_IO_file_flags): Remove macro.
15784 All uses changed to _flags.
15786 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
15787 (__HAVE_COLUMN, _IO_BE): Don't define.
15788 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
15789 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
15790 * libio/libioP.h (EOF): Don't define.
15791 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
15792 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
15793 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
15794 testing _IO_UNIFIED_JUMPTABLES.
15796 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
15797 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
15798 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
15799 (_IO_size_t): Delete; all uses changed to size_t.
15800 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
15801 (_IO_off_t): Delete; all uses changed to off_t.
15802 (_IO_off64_t): Delete; all uses changed to off64_t.
15803 (_IO_pid_t): Delete; all uses changed to pid_t.
15804 (_IO_uid_t): Delete; all uses changed to uid_t.
15805 (_IO_wint_t): Delete; all uses changed to wint_t.
15806 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
15807 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
15808 (_IO_cookie_io_functions_t): Delete; all uses changed to
15809 cookie_io_functions_t.
15810 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
15811 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
15812 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
15813 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
15815 * libio/iofopncook.c: Remove unnecessary forward declarations.
15816 * libio/iolibio.h: Correct outdated commentary.
15817 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
15818 * stdio-common/fxprintf.c (__fxprintf_nocancel):
15819 Remove unnecessary casts.
15820 * stdio-common/getline.c: Use _IO_getdelim directly.
15821 Don't redefine ssize_t.
15822 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
15823 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
15824 Remove outdated comments.
15825 * stdio-common/vfscanf.c: Don't redefine va_list.
15827 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
15828 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
15829 Remove preprocessor conditionals on _LIBC and __USE_GNU,
15830 which are always true, and __cplusplus, which is always false.
15832 2018-02-21 Joseph Myers <joseph@codesourcery.com>
15836 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
15837 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
15838 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
15839 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
15841 [!_ISOMAC] (putc_unlocked): Likewise.
15842 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
15843 define inline if [__USE_EXTERN_INLINES].
15844 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
15849 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
15850 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
15851 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
15852 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
15853 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
15855 * time/tzfile.c (__tzfile_read): Likewise.
15857 2018-02-21 Mike FABIAN <mfabian@redhat.com>
15860 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
15862 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
15864 * io/fcntl.h: Fix a typo in a comment.
15866 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
15869 * include/features.h: Add _ISOC11_SOURCE to test for whether to
15870 define _DEFAULT_SOURCE.
15871 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
15873 2018-02-21 Florian Weimer <fweimer@redhat.com>
15876 * elf/cache.c (save_cache): Call fsync on temporary file before
15878 (save_aux_cache): Call fdatasync on temporary file before renaming
15881 2018-02-21 Florian Weimer <fweimer@redhat.com>
15884 * include/caller.h: Remove file.
15885 * elf/dl-caller.c: Likewise.
15886 * elf/Makefile (dl-routines): Remove dl-caller.
15887 (shared-only-routines): Do not add dl-caller.
15888 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
15890 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
15892 (dl_open_worker): Do not call __check_caller.
15893 (_dl_open): Do not set caller_dl_open member.
15894 * elf/rtld.c (_rtld_global_ro): Do not initialize
15895 _dl_check_caller member.
15896 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
15897 _dl_check_caller member.
15898 (_dl_check_caller): Remove declaration.
15899 * sysdeps/unix/sysv/linux/dl-execstack.c
15900 (_dl_make_stack_executable): Do not call __check_caller.
15902 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
15904 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
15905 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
15907 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
15909 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
15912 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
15915 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
15916 of 199606L, 200112L, and 200809L.
15917 (_XOPEN_SOURCE): Document special values of 600 and 700.
15918 (_ISOC11_SOURCE): Document macro.
15919 (_ATFILE_SOURCE): Likewise.
15920 (_FORTIFY_SOURCE): Likewise.
15922 2018-02-19 Joseph Myers <joseph@codesourcery.com>
15926 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
15927 and define as weak alias of __ferror_unlocked. Use
15929 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
15931 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
15932 function if [__USE_EXTERN_INLINES].
15933 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
15936 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
15939 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
15941 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
15944 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
15945 the GLIBC_2.1 version.
15947 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
15950 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
15951 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
15952 intl/tst-gettext-de.po from po/de.po by removing the
15953 POT-Creation-Date line.
15954 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
15956 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
15959 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
15961 * mach/Makefile (headers): Add mach/param.h.
15962 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
15963 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
15964 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
15965 (__ptsname_r): Move implementation to...
15966 (__ptsname_internal): ... new function. Add filling the STP
15969 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
15971 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
15974 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
15976 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
15979 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15981 * nptl/Makefile (tst-mutex8-ENV): Delete.
15982 * nptl/tst-mutex8.c (check_type):
15983 Add runtime check if mutex will be elided.
15985 2018-02-15 Joseph Myers <joseph@codesourcery.com>
15989 * manual/install.texi (Configuring and compiling): Describe
15990 passing CC and CFLAGS on configure command line, not as
15991 environment variables. Use @code markup on those variables.
15992 Specify what options go in CC and what go in CFLAGS. Note the
15993 requirement to compile with optimization.
15994 * INSTALL: Regenerated.
15997 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
15998 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
15999 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
16000 __sigprocmask instead of sigprocmask.
16001 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
16003 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
16004 __sigsetjmp and sigprocmask.
16007 * include/argz.h (argz_next): Use libc_hidden_proto.
16008 (__argz_next): Likewise.
16009 * string-argz-next.c (__argz_next): Use libc_hidden_def.
16010 (argz_next): Use libc_hidden_weak.
16013 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
16015 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
16019 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
16021 * libio/iofputs.c (fputs): Use libc_hidden_weak.
16025 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
16026 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
16027 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
16028 (__feof_unlocked): New declaration, and inline function if
16029 [__USE_EXTERN_INLINES].
16030 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
16031 instead of feof_unlocked.
16032 * intl/localealias.c [_LIBC] (FEOF): Likewise.
16033 * nss/nsswitch.c (nss_parse_file): Likewise.
16034 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
16036 * time/getdate.c (__getdate_r): Likewise.
16037 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
16038 Define as macro to call __feof_unlocked.
16040 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16042 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
16044 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16046 * math/Makefile: Remove mpexp.c and mplog.c
16047 * sysdeps/i386/fpu/mpexp.c: Delete file.
16048 * sysdeps/i386/fpu/mplog.c: Likewise.
16049 * sysdeps/ia64/fpu/mpexp.c: Likewise.
16050 * sysdeps/ia64/fpu/mplog.c: Likewise.
16051 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
16052 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
16053 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
16054 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16055 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
16056 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
16057 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
16058 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
16059 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
16060 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16061 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
16062 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
16063 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16064 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
16065 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
16066 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16068 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
16070 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16072 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16074 * sysdeps/sh/libm-test-ulps: Update.
16076 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16078 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
16081 2018-02-12 Zack Weinberg <zackw@panix.com>
16084 * posix/sys/types.h: Don't include sys/sysmacros.h.
16085 * misc/sys/sysmacros.h: Remove the conditional deprecation
16086 warnings for the macros defined by this header.
16088 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16090 * manual/probes.texi: Remove slowexp probes.
16091 * math/Makefile: Remove slowexp.
16092 * sysdeps/generic/math_private.h (__slowexp): Remove.
16093 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
16094 document error bounds.
16095 * sysdeps/i386/fpu/slowexp.c: Remove.
16096 * sysdeps/ia64/fpu/slowexp.c: Remove.
16097 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
16098 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
16099 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
16100 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
16101 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
16102 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
16103 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
16104 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
16105 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
16106 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
16107 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
16109 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
16112 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
16113 * benchtests/pow-inputs: Update comment for slow path cases.
16114 * manual/probes.texi (slowpow_p10): Delete removed probe.
16115 (slowpow_p10): Likewise.
16116 * math/Makefile: Remove halfulp.c and slowpow.c.
16117 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
16118 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
16119 (__halfulp): Remove.
16120 (__slowpow): Remove.
16121 * sysdeps/i386/fpu/halfulp.c: Delete file.
16122 * sysdeps/i386/fpu/slowpow.c: Likewise.
16123 * sysdeps/ia64/fpu/halfulp.c: Likewise.
16124 * sysdeps/ia64/fpu/slowpow.c: Likewise.
16125 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
16126 improve comments and add error analysis.
16127 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
16128 (power1): Remove function:
16129 (log1): Remove error argument, add error analysis.
16130 (my_log2): Remove function.
16131 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
16132 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16133 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
16134 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
16135 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
16136 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
16137 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
16138 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
16139 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
16140 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
16141 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
16142 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16143 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
16144 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16146 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
16148 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
16149 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
16151 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
16154 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
16155 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
16156 and PTRACE_SETHBPREGS.
16158 2018-02-10 Zack Weinberg <zackw@panix.com>
16161 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
16163 * malloc/tst-malloc-stats-cancellation.c: New test case.
16164 * malloc/Makefile: Add new test case.
16166 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
16168 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
16170 2018-02-10 Joseph Myers <joseph@codesourcery.com>
16172 * math/Makefile (libm-narrow-fns): Add add.
16173 (libm-test-funcs-narrow): Likewise.
16174 * math/Versions (GLIBC_2.28): Add narrowing add functions.
16175 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
16176 * math/gen-auto-libm-tests.c (test_functions): Add add.
16177 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
16178 (NARROW_ADD_ROUND_TO_ODD): Likewise.
16179 (NARROW_ADD_TRIVIAL): Likewise.
16180 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
16182 (__daddl): Likewise.
16183 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
16185 (CFLAGS-nldbl-dadd.c): New variable.
16186 (CFLAGS-nldbl-fadd.c): Likewise.
16187 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16189 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
16191 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
16192 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
16193 * math/auto-libm-test-in: Add tests of add.
16194 * math/auto-libm-test-out-narrow-add: New generated file.
16195 * math/libm-test-narrow-add.inc: New file.
16196 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
16197 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
16198 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
16199 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
16200 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
16201 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
16202 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
16203 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
16204 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
16205 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
16206 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
16207 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
16208 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
16209 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
16210 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
16211 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
16212 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
16213 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
16214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16215 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16216 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16217 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16218 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16219 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16220 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16221 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16222 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16223 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16224 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16225 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16226 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16227 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16232 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16233 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16234 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16235 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16236 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16237 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16238 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16239 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16240 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16241 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16243 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
16244 (f128-pairs): New variable.
16245 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
16246 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
16248 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
16249 Also make tests add $(f128-loader-link) to gnulib-tests.
16251 2018-02-09 DJ Delorie <dj@redhat.com>
16254 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
16255 64-bit ELF type for 64-bit ELF objects.
16257 2018-02-09 Joseph Myers <joseph@codesourcery.com>
16259 * math/libm-test-driver.c (snan_tests_arg): New variable.
16260 * math/libm-test-support.h (snan_tests_arg): New declaration.
16261 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
16263 * math/Makefile (test-type-pairs): New variable.
16264 (test-type-pairs-f64xf128-yes): Likewise.
16265 (tests): Add test-narrow-macros.
16266 (libm-test-funcs-narrow): New variable.
16267 (libm-test-c-narrow): Likewise.
16268 (generated): Add $(libm-test-c-narrow).
16269 (libm-tests-base-narrow): New variable.
16270 (libm-tests-narrow): Likewise.
16271 (libm-tests): Add $(libm-tests-narrow).
16272 (libm-tests-for-type): Handle $(libm-tests-narrow).
16273 (libm-test-c-narrow-obj): New variable.
16274 ($(libm-test-c-narrow-obj)): New rule.
16275 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
16276 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
16277 $(o-iterator) to set dependencies and CFLAGS.
16278 * math/gen-auto-libm-tests.c: Document use for narrowing
16280 (output_for_one_input_case): Take argument NARROW.
16281 (generate_output): Likewise. Update call to
16282 output_for_one_input_case.
16283 (main): Take --narrow option. Update call to generate_output.
16284 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
16285 (apply_lit): Update call to _apply_lit.
16286 (apply_arglit): New function.
16287 (parse_args): Handle "a" arguments.
16288 (parse_auto_input): Handle format names using ":".
16289 * math/README.libm-test: Document "a" parameter type.
16290 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
16291 (ARG_TYPE_TRUE_MIN): Likewise.
16292 (ARG_TYPE_MAX): Likwise.
16293 (ARG_MIN_EXP): Likewise.
16294 (ARG_MAX_EXP): Likewise.
16295 (ARG_MANT_DIG): Likewise.
16296 (TEST_COND_arg_ibm128): Likewise.
16297 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
16298 (TEST_COND_arg_fmt): New macro.
16299 (init_max_error): Update prototype.
16300 * math/libm-test-support.c (test_ibm128): New variable.
16301 (init_max_error): Take argument testing_ibm128 and set test_ibm128
16302 instead of using [TEST_COND_ibm128] conditional.
16303 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
16304 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
16305 [TEST_NARROW] (TEST_MSG): New definition.
16306 (arg_plus_zero): New macro.
16307 (arg_minus_zero): Likewise.
16308 (arg_plus_infty): Likewise.
16309 (arg_minus_infty): Likewise.
16310 (arg_qnan_value_pl): Likewise.
16311 (arg_qnan_value): Likewise.
16312 (arg_snan_value_pl): Likewise.
16313 (arg_snan_value): Likewise.
16314 (arg_max_value): Likewise.
16315 (arg_min_value): Likewise.
16316 (arg_min_subnorm_value): Likewise.
16317 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
16318 (RUN_TEST_LOOP_aa_f): New macro.
16319 (TEST_SUFF): New macro.
16320 (TEST_SUFF_STR): Likewise.
16321 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
16322 (TEST_COND_any_ibm128): New macro.
16323 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
16324 this_func. Update call to init_max_error.
16325 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
16326 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
16327 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
16328 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
16329 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
16330 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
16331 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
16332 * math/test-math-scalar.h (TEST_NARROW): Likewise.
16333 * math/test-math-vector.h (TEST_NARROW): Likewise.
16334 * math/test-arg-double.h: New file.
16335 * math/test-arg-float128.h: Likewise.
16336 * math/test-arg-float32x.h: Likewise.
16337 * math/test-arg-float64.h: Likewise.
16338 * math/test-arg-float64x.h: Likewise.
16339 * math/test-arg-ldouble.h: Likewise.
16340 * math/test-math-narrow.h: Likewise.
16341 * math/test-narrow-macros.c: Likewise.
16342 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
16343 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
16344 test-narrow-macros-ldbl-64.
16345 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
16347 * math/bits/mathcalls-narrow.h: New file.
16348 * include/bits/mathcalls-narrow.h: Likewise.
16349 * math/math-narrow.h: Likewise.
16350 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
16351 (__MATHCALL_NARROW_ARGS_2): Likewise.
16352 (__MATHCALL_NARROW_ARGS_3): Likewise.
16353 (__MATHCALL_NARROW_NORMAL): Likewise.
16354 (__MATHCALL_NARROW_REDIR): Likewise.
16355 (__MATHCALL_NARROW): Likewise.
16356 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
16357 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
16359 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
16360 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
16361 (libm-narrow-fns): New variable.
16362 (libm-narrow-types-basic): Likewise.
16363 (libm-narrow-types-ldouble-yes): Likewise.
16364 (libm-narrow-types-float128-yes): Likewise.
16365 (libm-narrow-types-float128-alias-yes): Likewise.
16366 (libm-narrow-types): Likewise.
16367 (libm-routines): Add narrowing functions.
16368 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
16369 (libc_feholdexcept_setroundf128): New macro.
16370 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
16371 * sysdeps/ieee754/float128/float128_private.h: Include
16372 <math/math-narrow.h>.
16373 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
16374 Undefine and redefine.
16375 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
16376 (libm_alias_float_ldouble): Undefine and redefine.
16377 (libm_alias_double_ldouble): Likewise.
16379 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
16381 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
16383 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
16386 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
16388 * manual/creature.texi: Convert references to gcc.info to gcc.
16389 * manual/stdio.texi: Likewise.
16390 * manual/string.texi: Likewise.
16392 2018-02-07 Joseph Myers <joseph@codesourcery.com>
16395 * posix/bits/types.h (__int_least8_t): New typedef.
16396 (__uint_least8_t): Likewise.
16397 (__int_least16_t): Likewise.
16398 (__uint_least16_t): Likewise.
16399 (__int_least32_t): Likewise.
16400 (__uint_least32_t): Likewise.
16401 (__int_least64_t): Likewise.
16402 (__uint_least64_t): Likewise.
16403 * sysdeps/generic/stdint.h (int_least8_t): Define using
16405 (int_least16_t): Define using __int_least16_t.
16406 (int_least32_t): Define using __int_least32_t.
16407 (int_least64_t): Define using __int_least64_t.
16408 (uint_least8_t): Define using __uint_least8_t.
16409 (uint_least16_t): Define using __uint_least16_t.
16410 (uint_least32_t): Define using __uint_least32_t.
16411 (uint_least64_t): Define using __uint_least64_t.
16412 * wcsmbs/uchar.h: Include <bits/types.h>.
16413 (char16_t): Define using __uint_least16_t conditional only on
16415 (char32_t): Define using __uint_least32_t conditional only on
16417 * wcsmbs/test-char-types.c: New file.
16418 * wcsmbs/Makefile (tests): Add test-char-types.
16420 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
16423 2018-02-07 Zack Weinberg <zackw@panix.com>
16425 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
16426 Delete all contents except for definitions of _G_HAVE_MMAP and
16427 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
16428 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
16429 sysdeps/unix/sysv/linux/_G_config.h. Make same content
16432 * libio/libio.h: Don't include bits/_G_config.h here.
16433 Include stddef.h with __need_wchar_t defined. Include
16434 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
16435 Define _IO_iconv_t here, directly.
16436 Don't define _IO_HAVE_ST_BLKSIZE.
16437 * libio/libioP.h: Include _G_config.h here. Move include of
16438 shlib-compat.h up with rest of includes. Simplify conditionals
16439 controlling definition of _IO_JUMPS_OFFSET.
16441 * csu/init.c: Remove always-true #if around entire file.
16442 Don't include stdio.h. Set _IO_stdin_used to hardwired
16443 constant 0x20001, and update commentary.
16444 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
16445 Replace all uses of _G_va_list with __gnuc_va_list.
16446 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
16447 instead of #if _IO_HAVE_ST_BLKSIZE.
16448 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
16449 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
16452 * libio/bits/libio.h: Move back to libio/libio.h and adjust
16453 multiple-include guard to match.
16454 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
16456 Remove preprocessor conditionals that are always true and/or
16457 redundant to other preprocessor conditionals in the same nest.
16458 Include shlib-compat.h unconditionally.
16459 Error out if _LIBC is not defined, or if _ISOMAC is defined,
16460 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
16461 defined after including stdio.h.
16462 Use __BEGIN_DECLS/__END_DECLS.
16464 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
16465 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
16466 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
16468 2018-02-07 Zack Weinberg <zackw@panix.com>
16470 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
16471 New single-type headers split from _G_config.h.
16472 * libio/bits/types/cookie_io_functions_t.h
16473 * libio/bits/types/struct_FILE.h
16474 New single-type headers split from libio.h.
16476 * libio/Makefile: Install the above new headers. Don't install
16477 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
16479 * libio/_G_config.h, libio/libio.h: Delete file.
16481 * libio/bits/libio.h: Remove improper-inclusion guard.
16482 Include stdio.h and don't repeat anything that it does.
16483 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
16484 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
16485 __io_read_fn as cookie_read_function_t,
16486 __io_write_fn as cookie_write_function_t,
16487 __io_seek_fn as cookie_seek_function_t,
16488 __io_close_fn as cookie_close_function_t,
16489 and _IO_cookie_io_functions_t as cookie_io_functions_t.
16490 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
16491 here, in the "compatibility defines" section. Remove an #if 0
16492 block. Use the "body" macros from bits/types/struct_FILE.h to
16493 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
16494 and _IO_ferror_unlocked.
16495 Move prototypes of __uflow and __overflow...
16497 * libio/stdio.h: ...here. Don't include bits/libio.h.
16498 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
16499 directly from stdarg.h. Include bits/types/__fpos_t.h,
16500 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
16501 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
16502 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
16503 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
16504 cookie_io_functions_t, not _IO_cookie_io_functions_t;
16505 __ssize_t, not _IO_ssize_t. Unconditionally define
16506 BUFSIZ as 8192 and EOF as (-1).
16508 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
16509 macros from bits/types/struct_FILE.h instead of _IO_* macros
16510 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
16511 instead of _IO_ssize_t.
16512 * libio/bits/stdio2.h: Similarly.
16514 * libio/iolibio.h: Add multiple-include guard.
16515 Include bits/libio.h after stdio.h.
16516 * libio/libioP.h: Add multiple-include guard.
16517 Include stdio.h and bits/libio.h before iolibio.h.
16519 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
16520 * include/bits/types/cookie_io_functions_t.h
16521 * include/bits/types/struct_FILE.h: New wrappers.
16523 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
16524 Get definitions of _G_fpos_t and _G_fpos64_t from
16525 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
16526 respectively. Remove improper-inclusion guards.
16528 * conform/data/stdio.h-data: Update expectations of va_list.
16529 * scripts/check-installed-headers.sh: Remove special case for
16530 libio.h and _G_config.h.
16532 2018-02-07 Joseph Myers <joseph@codesourcery.com>
16536 * include/sys/sysmacros.h [!_ISOMAC]
16537 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
16538 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
16539 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
16540 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
16542 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
16543 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
16545 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
16546 Undefine and redefine to add use __gnu_dev_ prefix.
16547 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
16549 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
16550 and define as hidden inline function.
16551 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
16553 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
16555 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
16556 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
16557 (gnu_dev_minor): Likewise.
16558 (gnu_dev_makedev): Likewise.
16559 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
16561 * posix/wordexp.c (exec_comm_child): Likewise.
16562 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
16563 instead of minor and __gnu_dev_major instead of major.
16564 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
16565 __gnu_dev_major instead of major.
16566 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
16567 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
16568 instead of gnu_dev_minor.
16569 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
16570 (SLAVE_P): Likewise.
16571 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
16572 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
16576 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
16578 * locale/weightwc.h (findidx): Likewise.
16580 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
16582 * manual/probes.texi (slowlog): Delete documentation of removed probe.
16583 (slowlog_inexact): Likewise
16584 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
16585 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
16587 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
16590 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
16591 missing second underscore to parameter name.
16593 2018-02-06 Joseph Myers <joseph@codesourcery.com>
16599 * bits/byteswap.h: Update file comment. Do not include
16600 <bits/byteswap-16.h>.
16601 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
16603 (__bswap_16): Define as inline function.
16604 (__bswap_constant_32): Reformat definition.
16605 (__bswap_32): Always define as inline function, not macro, using
16606 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
16607 otherwise __bswap_constant_32.
16608 (__bswap_constant_64): Reformat definition. Do not use
16609 __extension__ here.
16610 (__bswap_64): Always define as inline function, not macro. Use
16611 __extension__ on function definition. Use __builtin_bswap64 if
16612 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
16613 * string/test-endian-file-scope.c: New file.
16614 * string/test-endian-sign-conversion.c: Likewise.
16615 * string/Makefile (headers): Remove bits/byteswap-16.h.
16616 (tests): Add test-endian-file-scope and
16617 test-endian-sign-conversion.
16618 (CFLAGS-test-endian-sign-conversion.c): New variable.
16619 * bits/byteswap-16.h: Remove file.
16620 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
16621 * sysdeps/ia64/bits/byteswap.h: Likewise.
16622 * sysdeps/m68k/bits/byteswap.h: Likewise.
16623 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16624 * sysdeps/s390/bits/byteswap.h: Likewise.
16625 * sysdeps/tile/bits/byteswap.h: Likewise.
16626 * sysdeps/x86/bits/byteswap-16.h: Likewise.
16627 * sysdeps/x86/bits/byteswap.h: Likewise.
16630 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
16631 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
16632 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
16633 199901L] (__restrict): Define to restrict.
16636 * string/testcopy.c: Include <support/support.h>. Do not include
16637 <malloc.h>. Use <support/test-driver.c>.
16638 (main): Rename to do_test. Make static. Use xmalloc instead of
16642 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
16643 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
16644 (SSIZE_MAX): Define to INT_MAX.
16645 * posix/test-ssize-max.c: New file.
16646 * posix/Makefile (tests): Add test-ssize-max.
16649 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
16650 <support/support.h>. Do not include <malloc.h>.
16651 (query_auxv): Use xmalloc instead of malloc.
16654 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
16655 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
16658 2018-02-06 Florian Weimer <fweimer@redhat.com>
16661 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16662 Use scratch_buffer instead of extend_alloca.
16664 2018-02-06 Zack Weinberg <zackw@panix.com>
16666 * libio/stdio.h: Don't define getc or putc as macros.
16667 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
16668 not _IO_getc and _IO_putc.
16670 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
16671 * stdio-common/tstgetln.c: Don't redefine ssize_t.
16673 2018-02-06 Joseph Myers <joseph@codesourcery.com>
16675 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
16676 (TCP_FASTOPEN_NO_COOKIE): Likewise.
16678 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
16681 * elf/elf.h (NT_PRFPREG): New macro.
16682 (NT_S390_VXRS_LOW): Likewise.
16683 (NT_S390_VXRS_HIGH): Likewise.
16684 (NT_S390_GS_CB): Likewise.
16685 (NT_S390_GS_BC): Likewise.
16686 (NT_S390_RI_CB): Likewise.
16688 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16689 (MAP_SYNC): New macro.
16690 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
16692 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16693 (MAP_SYNC): Likewise.
16694 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16695 (MAP_SYNC): Likewise.
16696 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16697 (MAP_SYNC): Likewise.
16698 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16699 (MAP_SYNC): Likewise.
16700 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16701 (MAP_SYNC): Likewise.
16702 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16703 (MAP_SYNC): Likewise.
16704 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
16706 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
16709 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
16710 (MAP_SHARED_VALIDATE): New macro.
16711 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16712 (MAP_SHARED_VALIDATE): Likewise.
16714 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16716 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
16717 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
16718 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
16720 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16722 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
16723 (DT_NUM): Updated to 35.
16725 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16727 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
16728 __builtin_expect with __glibc_likely and __glibc_unlikely.
16729 (elf_machine_rela): Likewise.
16730 (elf_machine_lazy_rel): Likewise.
16732 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16734 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
16735 __builtin_expect with __glibc_likely and __glibc_unlikely.
16736 (elf_machine_lazy_rel): Likewise.
16738 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16741 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
16743 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
16745 2018-02-05 Andreas Schwab <schwab@suse.de>
16748 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
16751 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16753 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
16754 not check against PTHREAD_STACK_MIN.
16756 2018-02-02 Sean McKean <smckean83@gmail.com>
16759 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
16761 2018-02-02 Florian Weimer <fweimer@redhat.com>
16764 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
16765 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
16766 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
16767 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
16768 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
16769 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
16770 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
16771 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
16772 * manual/llio.texi (Scatter-Gather): Mention offset -1.
16773 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
16774 * misc/tst-preadvwritev2.c (do_test): Call it.
16775 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
16777 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
16779 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
16781 * benchtests/bench-memcmp.c: Print json instead of plain text.
16783 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
16786 2018-02-01 Joseph Myers <joseph@codesourcery.com>
16788 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16790 (s390_sthyi): New syscall.
16792 * sysdeps/generic/ldbl-classify-compat.h: New file.
16793 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
16794 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
16795 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
16796 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
16797 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
16798 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
16799 * sysdeps/ieee754/dbl-64/s_finite.c: Include
16800 <ldbl-classify-compat.h>.
16801 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16802 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
16803 <ldbl-classify-compat.h>.
16804 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16805 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
16806 <ldbl-classify-compat.h>.
16807 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16808 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
16809 <ldbl-classify-compat.h>.
16810 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16811 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
16812 <ldbl-classify-compat.h>.
16813 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16814 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
16815 <ldbl-classify-compat.h>.
16816 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16817 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
16818 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
16819 * sysdeps/m68k/coldfire/math_private.h: Remove file.
16820 * sysdeps/microblaze/math_private.h: Likewise.
16821 * sysdeps/nios2/math_private.h: Likewise.
16822 * sysdeps/sh/math_private.h: Likewise.
16824 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
16825 * sysdeps/m68k/coldfire/math_private.h: ... here.
16826 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
16827 * sysdeps/tile/math_private.h: Likewise.
16828 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
16830 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
16833 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
16835 (libc_fetestexcept): Likewise.
16836 (libc_feupdateenv_test): Likewise.
16837 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
16838 (libc_fetestexcept): Likewise.
16839 (libc_feupdateenv_test): Likewise.
16840 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
16841 (libc_fetestexcept): Likewise.
16842 (libc_feupdateenv_test): Likewise.
16843 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
16844 (libc_fetestexcept): Likewise.
16845 (libc_feupdateenv_test): Likewise.
16847 * sysdeps/generic/math_private.h
16848 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
16849 New inline function.
16850 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
16853 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
16854 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
16855 * sysdeps/generic/math_private.h
16856 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
16858 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
16860 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
16862 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
16864 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
16866 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
16868 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
16869 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
16870 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
16871 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
16872 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
16873 (__fegetenv): Likewise.
16874 (fesetenv): Likewise.
16875 (__fesetenv): Likewise.
16876 (feupdateenv): Likewise.
16877 (__feupdateenv): Likewise.
16878 (fegetround): Likewise.
16879 (__fegetround): Likewise.
16880 (fesetround): Likewise.
16881 (__fesetround): Likewise.
16883 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
16884 (feraiseexcept): New macro.
16885 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
16886 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
16888 (__feraiseexcept): Likewise.
16889 (feclearexcept): Likewise.
16890 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
16891 (__feraiseexcept): Likewise.
16892 (feclearexcept): Likewise.
16893 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
16894 (__feraiseexcept): Likewise.
16895 (feclearexcept): Likewise.
16896 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
16897 (__feraiseexcept): Likewise.
16898 (feclearexcept): Likewise.
16899 (fetestexcept): Likewise.
16901 * sysdeps/m68k/coldfire/math-tests.h: New file.
16903 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
16904 * sysdeps/m68k/bits/fenv.h: ... here.
16905 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
16907 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
16909 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
16911 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
16913 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
16915 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
16917 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
16918 (__FE_UNDEFINED): New enum constant.
16919 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
16921 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
16923 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
16925 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
16926 to match generic bits/fenv.h.
16927 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
16930 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
16932 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
16933 * soft-fp/half.h (union _FP_UNION_H): Likewise.
16934 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
16935 * soft-fp/single.h (union _FP_UNION_S): Likewise.
16937 2018-02-01 Carlos O'Donell <carlos@redhat.com>
16938 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
16939 Joseph Myers <joseph@codesourcery.com>
16942 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
16943 (__log1p): Disable -Wmaybe-uninitialized for -Os around
16944 computation using c.
16945 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
16946 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
16947 computation using c.
16949 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
16951 * version.h (RELEASE): Set to "development".
16952 (VERSION): Set to "2.27.9000".
16953 * NEWS (2.28): New section.
16955 * version.h (RELEASE): Set to "stable".
16956 (VERSION): Set to "2.27".
16957 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
16959 * NEWS: Add the list of bugs fixed in 2.27.
16961 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16963 * stdlib/test-atexit-race-common.c (do_test): Check stack size
16964 against PTHREAD_STACK_MIN.
16966 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
16968 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
16970 (Rafal Luzynski, Andreas Schwab): Update.
16972 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
16975 * NEWS: List the languages which actually use the alternative
16976 months feature in this release. Also explain that "alt_mon" and
16977 "ab_alt_mon" are optional.
16979 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
16982 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
16984 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
16986 * manual/install.texi (Tools for Compilation): Update the newest
16987 versions of gcc, binutils, texinfo, gawk, bison, and sed.
16988 * INSTALL: Regenerated.
16990 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16992 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
16993 instead of __builtin_expect.
16995 2018-01-30 Florian Weimer <fweimer@redhat.com>
16997 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
16999 * nss/tst-nss-getpwent.c (do_test): Likewise.
17001 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
17004 * localedata/locales/hr_HR (mon): Rename to...
17006 (mon): Import from CLDR (genitive case).
17007 (d_t_fmt): Update the comment.
17009 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
17011 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
17012 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
17013 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
17015 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17017 * mach/Versions: Fix version when __mach_host_self_ was added.
17018 * hurd/Versions: Fix version when _hurd_exec_paths was added.
17019 * sysdeps/mach/hurd/i386/ld.abilist: New file.
17020 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
17021 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
17022 * sysdeps/mach/hurd/i386/libc.abilist: New file.
17023 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
17024 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
17025 * sysdeps/mach/hurd/i386/libm.abilist: New file.
17026 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
17027 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
17028 * sysdeps/mach/hurd/i386/librt.abilist: New file.
17029 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
17030 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
17031 || to respect codestyle.
17032 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
17033 (do_test_bz20181): Rename accordingly.
17034 * malloc/malloc.c: Include <assert.h>.
17035 (assert): Do not define.
17036 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
17037 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
17038 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
17039 * sysdeps/mach/hurd/hp-timing.h: New file.
17040 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
17042 2018-01-29 Darius Rad <darius@bluespec.com>
17044 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
17046 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
17048 * sysdeps/init_array/crti.S (.section .init_array): Add
17049 PREINIT_FUNCTION when defined.
17050 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
17051 * config.h.in: Regenerate.
17052 * manual/platform.texi: Add RISC-V documenation for
17053 __riscv_flush_icache.
17054 * sysdeps/riscv/__longjmp.S: New file.
17055 * sysdeps/riscv/backtrace.c: Likewise.
17056 * sysdeps/riscv/bits/endian.h: Likewise.
17057 * sysdeps/riscv/bits/setjmp.h: Likewise.
17058 * sysdeps/riscv/bits/wordsize.h: Likewise.
17059 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
17060 * sysdeps/riscv/bsd-setjmp.c: Likewise.
17061 * sysdeps/riscv/dl-trampoline.S: Likewise.
17062 * sysdeps/riscv/gccframe.h: Likewise.
17063 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
17064 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
17065 * sysdeps/riscv/machine-gmon.h: Likewise.
17066 * sysdeps/riscv/memusage.h: Likewise.
17067 * sysdeps/riscv/setjmp.S: Likewise.
17068 * sysdeps/riscv/sys/asm.h: Likewise.
17069 * sysdeps/riscv/tls-macros.h: Likewise.
17070 * sysdeps/riscv/dl-tls.h: New file.
17071 * sysdeps/riscv/libc-tls.c: Likewise.
17072 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
17073 * sysdeps/riscv/nptl/tls.h: Likewise.
17074 * sysdeps/riscv/stackinfo.h: Likewise.
17075 * sysdeps/riscv/bits/fenv.h: New file.
17076 * sysdeps/riscv/e_sqrtl.c: Likewise.
17077 * sysdeps/riscv/fpu_control.h: Likewise.
17078 * sysdeps/riscv/math-tests.h: Likewise.
17079 * sysdeps/riscv/nofpu/Implies: Likewise.
17080 * sysdeps/riscv/sfp-machine.h: Likewise.
17081 * sysdeps/riscv/tininess.h: Likewise.
17082 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
17083 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
17084 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
17085 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
17086 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
17087 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
17088 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
17089 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
17090 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
17091 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
17092 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
17093 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
17094 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
17095 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
17096 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
17097 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
17098 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
17099 * sysdeps/riscv/rvd/s_finite.c: Likewise.
17100 * sysdeps/riscv/rvd/s_fma.c: Likewise.
17101 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
17102 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
17103 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
17104 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
17105 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
17106 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
17107 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
17108 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
17109 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
17110 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
17111 * sysdeps/riscv/rvf/fegetround.c: Likewise.
17112 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
17113 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
17114 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
17115 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
17116 * sysdeps/riscv/rvf/fesetround.c: Likewise.
17117 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
17118 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
17119 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
17120 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
17121 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
17122 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
17123 * sysdeps/riscv/rvf/math_private.h: Likewise.
17124 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
17125 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
17126 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
17127 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
17128 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
17129 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
17130 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
17131 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
17132 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
17133 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
17134 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
17135 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
17136 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
17137 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
17138 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
17139 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
17140 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
17141 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
17142 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
17143 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
17144 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
17145 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
17146 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
17147 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
17148 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
17149 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
17150 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
17151 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
17152 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
17153 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
17154 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
17155 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
17156 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
17157 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
17158 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
17159 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
17160 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
17161 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
17162 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
17163 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
17164 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
17165 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
17166 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
17167 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
17168 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
17169 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
17170 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
17171 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
17172 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
17173 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
17174 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
17175 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
17176 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
17177 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
17178 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
17179 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
17180 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
17181 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
17182 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
17183 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
17184 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
17185 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
17186 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
17187 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
17188 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17189 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
17190 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
17191 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
17192 * sysdeps/riscv/Implies: New file.
17193 * sysdeps/riscv/Makefile: Likewise.
17194 * sysdeps/riscv/configure: Likewise.
17195 * sysdeps/riscv/configure.ac: Likewise.
17196 * sysdeps/riscv/nptl/Makefile: Likewise.
17197 * sysdeps/riscv/preconfigure: Likewise.
17198 * sysdeps/riscv/rv64/Implies-after: Likewise.
17199 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
17200 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
17201 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
17202 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
17203 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
17204 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
17205 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
17206 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
17207 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
17208 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
17209 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
17210 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
17211 (Config): Likewise.
17213 2018-01-29 Florian Weimer <fweimer@redhat.com>
17216 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
17217 libnsl_hidden_proto.
17218 * include/rpcsvc/yp.h (yp_xdrall): Declare with
17219 libnsl_hidden_proto.
17220 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
17221 * nis/Makefile (libnsl-routines): Add nss-default only for
17222 build-obsolete-nsl.
17223 * nis/nis_defaults.c (__nis_default_ttl): Add
17224 libnsl_hidden_nolink_def.
17225 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
17227 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
17228 * nis/ypclnt.c (yp_maplist): Likewise.
17230 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
17232 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17233 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
17235 2018-01-29 Joseph Myers <joseph@codesourcery.com>
17237 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
17238 clean -dxfq for git updates when replacing sources.
17240 * scripts/build-many-glibcs.py (Config.build_gcc): Use
17241 --disable-libcilkrts unconditionally, not just for the final GCC
17244 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
17247 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17250 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
17253 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17256 * localedata/locales/be_BY (mon): Rename to...
17257 (alt_mon): This, then synchronize with CLDR (nominative case).
17258 (abmon): Rename to...
17259 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
17260 (mon): Import from CLDR (genitive case).
17262 * localedata/locales/be_BY@latin (mon): Rename to...
17264 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
17266 * localedata/locales/be_BY@latin (lang_name): Reworded to
17267 "biełaruskaja mova".
17269 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17272 * localedata/locales/el_CY (mon): Renamed to...
17274 (mon): Import from CLDR (genitive case).
17275 * localedata/locales/el_GR: Likewise.
17277 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17280 * localedata/locales/ru_RU (mon): Rename to...
17282 (abmon): Rename to...
17283 (ab_alt_mon): This.
17284 (mon): Import from CLDR (genitive case).
17285 (abmon): Copy from the old content except the 5th month which is
17286 now in the genitive case, even when abbreviated.
17287 * localedata/locales/ru_UA: Likewise.
17288 * time/tst-strptime.c (day_tests): Add an actual example of
17289 a difference between %b and %Ob in Russian.
17291 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17293 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
17294 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
17296 * resolv/res-close.c: Include <stdlib.h>.
17297 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
17298 <sys/wait.h>, <time.h>, <sys/uio.h>.
17299 (NOT_CANCEL_H): Add inclusion guard.
17300 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
17301 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
17302 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
17304 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
17305 vm_address_t * to ElfW(Addr) * for dl_main parameter.
17306 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
17308 * sysdeps/pthread/timer_create.c (timer_create): Do not use
17309 timer_ptr2id to cast struct timer_node * to void *.
17310 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
17311 --disable-libcilkrts to gcc configure.
17312 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
17313 and make them the default for now.
17314 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
17315 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
17316 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
17317 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
17318 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
17320 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
17321 __task_terminate would ever return successfully.
17322 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
17324 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
17325 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
17326 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
17327 critical section to make code simpler and avoid warning.
17328 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
17329 critical section to make code simpler and avoid warning.
17330 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
17331 const char * instead of char *.
17332 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
17333 __hurd_file_name_split, hurd_file_name_split,
17334 __hurd_directory_name_split, hurd_directory_name_split,
17335 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
17336 hurd_file_name_path_lookup): Make lookup function parameter take a
17337 const char *name instead of char *name.
17338 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
17339 __hurd_directory_name_split): Likewise.
17340 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
17341 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
17342 * sysdeps/mach/hurd/check_native.c: New file.
17343 * sysdeps/mach/hurd/check_pf.c: New file.
17344 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
17345 (__freeifaddrs): Define macro to freeifaddrs.
17346 * sysdeps/mach/hurd/libhurduser.abilist: New file.
17347 * sysdeps/mach/libmachuser.abilist: New file.
17348 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
17349 (do_test_bz20181): Rename accordingly.
17350 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
17351 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
17353 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
17354 version only if __USE_EXTERN_INLINES is defined.
17355 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
17356 __hurd_sockfail): Likewise.
17357 (_hurd_fd_get): Always declare functions, and provide inline versions
17358 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
17359 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
17360 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
17361 _hurd_port_set): Always declare functions, and provide inline versions
17362 only if __USE_EXTERN_INLINES and _LIBC are defined and
17364 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
17365 _hurd_critical_section_unlock): Likewise.
17366 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
17367 * __hurd_threadvar_location): Likewise.
17368 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
17369 _hurd_userlink_clear): Likewise.
17370 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
17371 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
17372 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
17373 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
17374 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
17375 __spin_lock_locked): Likewise.
17376 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
17377 __spin_lock_locked): Likewise.
17378 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
17379 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
17380 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
17381 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
17382 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
17383 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
17384 _POSIX_NO_TRUNC): Define to 0.
17385 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
17386 check size against PTHREAD_STACK_MIN.
17387 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
17388 IS_IN(libpthread)]: Include <sigsetops.h>.
17389 * mach/Makefile (user-interfaces): Add mach/gnumach.
17390 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
17391 * sysdeps/mach/configure (mach_interface_list): Regenerate.
17392 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
17393 instead of invalid -1.
17394 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
17395 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
17396 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
17399 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
17401 * hurd/fcntl-internal.h: New file.
17403 2018-01-27 James Clarke <jrtc27@jrtc27.com>
17405 * sysdeps/hppa/fpu/libm-test-ulps: Update.
17407 * sysdeps/alpha/fpu/libm-test-ulps: Update.
17409 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
17412 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
17413 Build only shared objects.
17415 2018-01-26 Carlos O'Donell <carlos@redhat.com>
17417 * README: Update for hppa.
17419 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17421 * sysdeps/sparc/fpu/libm-test-ulps: Update
17422 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
17424 2018-01-26 Carlos O'Donell <carlos@redhat.com>
17428 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17431 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17432 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
17433 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17434 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
17437 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17440 * bits/types/__cancel_jmp_buf_tag.h: New file.
17441 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
17442 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
17443 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
17444 * nptl/Makefile (headers): Add
17445 bits/types/__cancel_jmp_buf_tag.h.
17446 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
17447 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
17448 * sysdeps/nptl/pthread.h: Include
17449 <bits/types/__cancel_jmp_buf_tag.h>.
17450 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
17452 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
17454 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
17457 * localedata/locales/uk_UA (mon): Renamed to...
17459 (alt_digits): "0" removed and then renamed to...
17461 (date_fmt): Definition changed not to use the alternative
17464 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
17466 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
17467 FLAG_RISCV_FLOAT_ABI_DOUBLE.
17468 * elf/elf.h (EF_RISCV_RVC): New define.
17469 (EF_RISCV_FLOAT_ABI): Likewise.
17470 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
17471 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
17472 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17473 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
17474 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
17476 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17478 2018-01-25 Andreas Schwab <schwab@suse.de>
17480 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
17482 * sysdeps/gnu/configure: Regenerate.
17483 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
17484 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17486 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
17487 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
17488 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
17489 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
17490 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
17492 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
17494 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
17495 URL, and run autoconf, make it the default for now.
17497 2018-01-24 Joseph Myers <joseph@codesourcery.com>
17499 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17500 soft-float ColdFire configuration.
17502 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
17503 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
17504 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
17506 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
17509 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
17511 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
17513 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
17516 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
17517 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
17518 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
17521 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
17524 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
17525 Rename to __reserved and add comment.
17526 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
17527 Rename to __reserved.
17529 2018-01-24 Joseph Myers <joseph@codesourcery.com>
17531 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17532 i686-gnu configurations.
17533 (Context.run_builds): Include mig, gnumach and hurd in components
17535 (Context.checkout): Add mig, gnumach and hurd to components.
17536 (Context.checkout_tar): Add URL mappings for mig, gnumach and
17538 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
17539 (Config.build): Install gnumach headers, build mig and install
17540 hurd headers for 'gnu' OS.
17541 (Config.install_gnumach_headers): New function.
17542 (Config.install_hurd_headers): Likewise.
17543 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
17544 when building for 'gnu' OS.
17546 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
17548 * manual/tunables.texi (Hardware Capability Tunables): Fix
17551 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
17553 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
17554 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
17555 (ALTMON_11, ALTMON_12): Improve documentation.
17556 * manual/time.texi (strftime): Likewise.
17558 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17561 * localedata/locales/pl_PL: Alternative month names added,
17562 primary month names are genitive now.
17563 * time/tst-strptime.c (day_tests): Actually use a genitive case
17564 of a month name in Polish language.
17566 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17569 * manual/locale.texi: Document ALTMON_1..12 constants for
17570 nl_langinfo. Specify when to use ALTMON instead of MON.
17571 * manual/time.texi (strftime, strptime): Document GNU extension
17572 permitting O modifier with %B and %b. Specify when to use
17575 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17578 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
17579 names, define them as the same as abbreviated month names explicitly.
17580 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
17581 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
17582 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
17583 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
17584 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
17585 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
17586 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
17587 _NL_WABALTMON_12): New enum constants.
17588 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
17589 wab_alt_mon, and ab_alt_mon_defined members.
17590 (time_output): Output ab_alt_mon and wab_alt_mon members.
17591 (time_read): Read them, initialize them as copies of abmon and wabmon
17592 respectively if they are missing, initialize ab_alt_mon_defined.
17593 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
17594 * locale/programs/locfile-kw.h: Regenerate.
17595 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
17596 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
17598 * time/strftime_l.c (a_altmonth, aam_len): New macros.
17599 [!COMPILE_WIDE] (ABALTMON_1): New macro.
17600 (__strftime_internal): Handle %Ob and %Oh formats.
17601 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
17602 (__strptime_internal): Handle %Ob and %Oh formats.
17603 * time/tst-strptime.c (day_tests): Add more tests to parse different
17604 forms of month names including the new %Ob format specifier.
17606 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17609 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
17610 define them as the same as primary full month names explicitly.
17611 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
17612 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
17613 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
17614 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
17615 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
17616 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
17617 _NL_WALTMON_12): New enum constants.
17618 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
17619 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
17621 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
17622 walt_mon, and alt_mon_defined members.
17623 (time_output): Output alt_mon and walt_mon members.
17624 (time_read): Read them, initialize them as copies of mon and wmon
17625 respectively if they are missing, initialize alt_mon_defined.
17626 * locale/programs/locfile-kw.gperf (alt_mon): Define.
17627 * locale/programs/locfile-kw.h: Regenerate.
17628 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
17629 * localedata/tst-langinfo.c (map): Add tests for the new constants
17630 ALTMON_1 .. ALTMON_12.
17631 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
17633 * time/strftime_l.c (f_altmonth): New macro.
17634 (__strftime_internal): Handle %OB format.
17635 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
17636 (__strptime_internal): Handle %OB format.
17637 * time/tst-strptime.c (day_tests): Add tests to parse different forms
17638 of month names including the new %OB format specifier.
17640 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17643 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
17644 from ABORT_TRANSACTION.
17645 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
17646 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
17647 ABORT_TRANSACTION_IMPL): Likewise.
17648 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
17649 Linux code, but remove the code that aborts transactions.
17651 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
17653 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
17655 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
17657 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
17658 in date: "2004-14-09" should be "2004-09-14".
17659 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
17660 "2003-15-09" should be "2003-09-15".
17662 2018-01-18 Arjun Shankar <arjun@redhat.com>
17668 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
17670 (_int_memalign): check for integer overflow before calling
17672 * malloc/tst-malloc-too-large.c: New test.
17673 * malloc/Makefile: Add tst-malloc-too-large.
17675 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
17677 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
17678 in date: "2017-24-07" should be "2017-07-24".
17679 * localedata/locales/mai_IN: Likewise.
17680 * localedata/locales/mai_NP: Likewise.
17682 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
17684 * po/ru.po: Update translations.
17686 2018-01-17 Joseph Myers <joseph@codesourcery.com>
17689 * sysdeps/hppa/backtrace.c: New file.
17691 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
17694 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
17695 align La_x86_64_retval to VEC_SIZE.
17697 2018-01-16 Joseph Myers <joseph@codesourcery.com>
17699 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
17700 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
17702 2018-01-16 Florian Weimer <fweimer@redhat.com>
17704 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
17705 Move tst-thread-exit-clobber ...
17706 [$(CXX)] (tests-unsupported): ... to here.
17708 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17710 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
17711 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
17712 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17713 (_dl_aarch64_cap_flags): Update.
17714 (_DL_HWCAP_COUNT): Update.
17716 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17718 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
17719 (_DL_HWCAP_LAST): Remove.
17720 (_DL_HWCAP_COUNT): Move to ...
17721 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17722 (_DL_HWCAP_COUNT): ... here.
17724 2018-01-16 Florian Weimer <fweimer@redhat.com>
17726 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
17727 mode with GNU extensions.
17729 2018-01-15 Alan Hayward <alan.hayward@arm.com>
17731 * elf/elf.h (NT_ARM_SVE): Define.
17733 2018-01-15 Florian Weimer <fweimer@redhat.com>
17736 * nptl/tst-minstack-throw.cc: New file.
17737 * nptl/Makefile (tests): Add tst-minstack-throw.
17738 (LDLIBS-tst-minstack-throw): Link with libstdc++.
17739 [!CXX] (tests-unsupported): Add tst-minstack-throw.
17741 2018-01-15 Joseph Myers <joseph@codesourcery.com>
17743 * scripts/build-many-glibcs.py (Context.checkout): Default
17744 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
17747 2018-01-13 Carlos O'Donell <carlos@redhat.com>
17750 * elf/elf.h (DF_1_STUB): Define.
17751 (DF_1_PIE): Define.
17753 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17756 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
17757 Do not add 0.5 to integer or out-of-range arguments.
17759 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17761 * po/bg.po: Update translations.
17762 * po/cs.po: Likewise.
17763 * po/de.po: Likewise.
17764 * po/ko.po: Likewise.
17765 * po/pl.po: Likewise.
17766 * po/sv.po: Likewise.
17767 * po/uk.po: Likewise.
17768 * po/vi.po: Likewise.
17770 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17772 * aarch64/start.S (_start): Use __wrap_main.
17773 (__wrap_main): New local symbol.
17775 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17779 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
17780 generic_getcwd if the path returned by getcwd syscall is not absolute.
17781 * io/tst-getcwd-abspath.c: New test.
17782 * io/Makefile (tests): Add tst-getcwd-abspath.
17784 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
17786 * malloc/malloc.c (malloc_consolidate): Add size check.
17788 2018-01-12 Florian Weimer <fweimer@redhat.com>
17790 * support/write_message.c (write_message): Preserve errno.
17791 * support/check.c (print_failure): Likewise.
17792 * support/support_test_verify_impl.c (support_test_verify_impl):
17794 * support/support_test_compare_failure.c
17795 (support_test_compare_failure): Likewise.
17797 2018-01-12 Florian Weimer <fweimer@redhat.com>
17800 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
17801 Prevent installation of libnsl.so.
17802 (libnsl-inhibit-o): Do not build (or install) static libraries.
17804 2018-01-12 Egmont Koblinger <egmont@gmail.com>
17807 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
17808 before the day number which may produce a double space.
17809 (date_fmt): Likewise.
17811 2018-01-12 Joseph Myers <joseph@codesourcery.com>
17813 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
17814 instead of fegetenv.
17816 2018-01-11 Joseph Myers <joseph@codesourcery.com>
17819 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
17820 comment to say exceptions are discarded.
17821 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
17823 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
17826 2018-01-11 Florian Weimer <fweimer@redhat.com>
17828 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
17831 2018-01-11 Florian Weimer <fweimer@redhat.com>
17834 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
17835 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
17837 2018-01-10 Joseph Myers <joseph@codesourcery.com>
17840 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
17841 negative arguments in test for NaN or infinity argument.
17843 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
17845 * po/libc.pot: Regenerate.
17847 2018-01-10 Florian Weimer <fweimer@redhat.com>
17850 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
17851 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
17853 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17855 * hurd/hurd/fd.h: Include <fcntl.h>
17856 (__hurd_at_flags): New function.
17857 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
17858 with call to __hurd_at_flags.
17859 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
17860 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
17862 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
17863 (__access_noerrno): Use __faccessat_common instead of access_common.
17864 (__access): Likewise.
17865 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
17866 with a call to __faccessat.
17867 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
17868 (__faccessat_common): ... this. Move implementation of __access into it when
17869 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
17870 reauthenticate_cwdir_at helper to implement AT mechanism.
17871 (__faccessat_noerrno): New function, just calls __faccessat_common.
17872 (__faccessat): New function, just calls __faccessat_common.
17873 (faccessat): Define weak alias.
17875 2018-01-10 Joseph Myers <joseph@codesourcery.com>
17878 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17879 (CFLAGS-s_fmaxmagl.c): New variable.
17880 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
17883 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
17884 long int for arguments of possibly overflowing addition or
17886 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17888 2018-01-09 Joseph Myers <joseph@codesourcery.com>
17891 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17892 (CFLAGS-e_remainderl.c): New variable.
17895 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
17897 (CFLAGS-s_cacoshl.c): Likewise.
17898 (CFLAGS-s_casinhl.c): Likewise.
17899 (CFLAGS-s_catanl.c): Likewise.
17900 (CFLAGS-s_catanhl.c): Likewise.
17901 (CFLAGS-s_cexpl.c): Likewise.
17902 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
17903 (CFLAGS-s_csinhl.c): Likewise.
17904 (CFLAGS-s_clogl.c): Likewise.
17905 (CFLAGS-s_clog10l.c): Likewise.
17906 (CFLAGS-s_csinl.c): Likewise.
17907 (CFLAGS-s_csqrtl.c): Likewise.
17909 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
17910 2017-01-09 Svante Signell <svante.signell@gmail.com>
17912 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
17913 (_hurd_exec_paths): New function.
17914 * hurd/hurd.h (_hurd_exec): Deprecate function.
17915 (_hurd_exec_paths): Declare function.
17916 * hurd/Versions: Export _hurd_exec_paths.
17917 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
17918 (__execve): Use __getcwd to build absolute path, and use
17919 _hurd_exec_paths instead of _hurd_exec.
17920 * sysdeps/mach/hurd/spawni.c: Likewise.
17921 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
17924 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
17926 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
17927 test instead of failing in case of ENOENT returned by posix_openpt.
17929 2018-01-08 Florian Weimer <fweimer@redhat.com>
17931 resolv: Support binary labels in test framework.
17932 * support/resolv_test.c (struct to_be_freed): Remove.
17933 (struct compressed_name): New.
17934 (allocate_compressed_name, ascii_tolower)
17935 (compare_compressed_name): New functions.
17936 (struct resolv_response_builder): Update type of
17937 compression_offsets for use with tsearch. Rempve to_be_freed.
17938 (response_push_pointer_to_free): Remove function.
17939 (resolv_response_add_name): Rewrite using struct compressed_name
17940 and tsearch instead of hsearch_r.
17941 (response_builder_allocate): Remove initialization of
17942 compression_offsets.
17943 (response_builder_free): Update for removal of to_be_freed. Use
17944 tdestroy instead of hdestroy_r.
17945 * resolv/Makefile (tests): Add tst-resolv-binary.
17946 (tst-resolv-binary): Link with -lresolv -lpthread.
17948 2018-01-08 Florian Weimer <fweimer@redhat.com>
17950 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
17951 time. Pass positive flag instead of negative flag to
17952 support_test_compare_failure.
17953 (support_test_compare_failure): Change negative parameter to
17955 * support/support_test_compare_failure.c (report)
17956 (support_test_compare_failure): Likewise.
17957 * support/tst-test_compare.c (return_ssize_t, return_int): New.
17958 (do_test): Check int/size_t, ssize_t/size_t comparisons.
17960 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
17963 * nptl/descr.h (stackblock, stackblock_size): Update comments.
17964 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
17965 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
17967 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
17969 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
17971 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17972 Add s_sincosf-sse2 and s_sincosf-fma.
17973 (CFLAGS-s_sincosf-fma.c): New.
17974 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
17975 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
17976 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
17977 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
17978 __sincosf is defined.
17980 2018-01-08 Florian Weimer <fweimer@redhat.com>
17982 * nptl/tst-thread-exit-clobber.cc: New file.
17983 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
17985 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
17986 (tests): Add tst-thread-exit-clobber.
17987 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
17989 2018-01-08 Florian Weimer <fweimer@redhat.com>
17991 * support/check.h (support_static_assert): Define.
17992 (TEST_COMPARE): Use it.
17994 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
17996 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
17997 [!__RLIM_T_MATCHES_RLIM64_T]
17998 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
17999 __getrlimit64. Add libc_hidden_weak.
18001 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
18003 * elf/elf.h (R_RISCV_NONE): New define.
18004 (R_RISCV_32): Likewise.
18005 (R_RISCV_64): Likewise.
18006 (R_RISCV_RELATIVE): Likewise.
18007 (R_RISCV_COPY): Likewise.
18008 (R_RISCV_JUMP_SLOT): Likewise.
18009 (R_RISCV_TLS_DTPMOD32): Likewise.
18010 (R_RISCV_TLS_DTPMOD64): Likewise.
18011 (R_RISCV_TLS_DTPREL32): Likewise.
18012 (R_RISCV_TLS_DTPREL64): Likewise.
18013 (R_RISCV_TLS_TPREL32): Likewise.
18014 (R_RISCV_TLS_TPREL64): Likewise.
18015 * Makerules (make-link-multidir): Make directories before linking into
18017 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
18019 (VDSO_HASH_LINUX_4_15): Likewise.
18020 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
18021 in subdirectories of lib.
18022 * nptl/Makefile (/librt.so): Always depend on
18023 "$(shared-thread-library)".
18025 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18027 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
18028 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
18029 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
18031 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
18032 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
18034 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
18035 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
18036 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
18037 * sysdeps/gnu/glob-lstat-compat.c: New file.
18038 * sysdeps/gnu/glob64-lstat-compat.c: New file.
18039 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
18041 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18043 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
18044 Reserve 16 chars to reloc_addr before calling _itoa_word.
18046 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18049 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
18050 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
18052 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
18053 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
18055 * resource/tst-getrlimit.c: Add copyright header.
18057 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18058 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18060 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18061 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
18062 Define __GI_getrlimit64 as weak alias of __getrlimit64.
18063 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
18065 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18066 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
18067 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
18068 RLIM64_INFINITY): Fix values to match the kernel ones.
18069 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
18070 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
18071 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
18072 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
18073 getrlimit64@@GLIBC_2_27.
18074 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
18076 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
18077 getrlimit, setrlimit, getrlimit64 and setrlimit64.
18078 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
18079 setrlimit, getrlimit64 and setrlimit64.
18081 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18084 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
18085 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
18087 2018-01-04 Joseph Myers <joseph@codesourcery.com>
18089 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
18090 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
18091 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
18093 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18097 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
18098 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
18102 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
18103 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
18104 * sysdeps/alpha/fpu/s_floor.c: Likewise.
18105 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
18107 2018-01-04 Florian Weimer <fweimer@redhat.com>
18110 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
18111 Align the stack before calling exit.
18112 * stdlib/tst-makecontext-align.c: New file.
18113 * stdlib/Makefile (tests): Add tst-makecontext-align.
18115 2018-01-04 Florian Weimer <fweimer@redhat.com>
18117 Add support for calling dlvsym from libc.so.
18118 * include/dlfcn.h (__libc_dlvsym): Declare.
18119 * elf/Makefile (tests-static-internal): Add
18120 tst-libc_dlvsym-static.
18121 (tests-internal): Add tst-libc_dlvsym.
18122 (modules-names): Add tst-libc_dlvsym-dso.
18123 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
18124 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
18125 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
18126 object tst-libc_dlvsym-dso.so needs to be built before running
18128 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
18129 * elf/Versions: Export __libc_dlvsym.
18130 * elf/dl-libc.c (struct do_dlvsym_args): New.
18131 (do_dlvsym, __libc_dlvsym): New functions.
18132 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
18133 (_dl_open_hook2): New variable.
18134 (__libc_register_dl_open_hook): Set it.
18135 * elf/tst-libc_dlvsym-dso.c: New file.
18136 * elf/tst-libc_dlvsym-static.c: Likewise.
18137 * elf/tst-libc_dlvsym.c: Likewise.
18138 * elf/tst-libc_dlvsym.h: Likewise.
18140 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18142 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
18143 include <sys/mount.h>.
18145 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
18147 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
18148 Add __NO_MATH_ERRNO__ check.
18150 2018-01-02 Joseph Myers <joseph@codesourcery.com>
18152 * sysdeps/mips/mips32/libm-test-ulps: Update.
18153 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18155 2018-01-02 Florian Weimer <fweimer@redhat.com>
18157 * misc/tst-pselect.c: Add copyright header.
18159 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
18161 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
18163 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
18165 (settrlimit): Rename into setrlimit.
18166 (__sttrlimit): Rename into __setrlimit.
18168 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
18169 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
18170 never defined in that case.
18172 2018-01-02 Joseph Myers <joseph@codesourcery.com>
18174 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
18176 * sysdeps/arm/libm-test-ulps: Update.
18178 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
18179 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
18181 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18183 * NEWS: Add cosf and sincosf to list of optimized functions.
18185 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
18188 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
18189 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
18190 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
18191 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
18193 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
18196 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
18198 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
18199 making a copy of it.
18201 2018-01-01 Joseph Myers <joseph@codesourcery.com>
18203 * manual/texinfo.tex: Update to version 2017-12-26.21 with
18204 trailing whitespace removed.
18205 * scripts/config.guess: Update to version 2018-01-01.
18206 * scripts/config.sub: Update to version 2018-01-01.
18207 * scripts/move-if-change: Update from gnulib.
18209 * NEWS: Update copyright dates.
18210 * catgets/gencat.c (print_version): Likewise.
18211 * csu/version.c (banner): Likewise.
18212 * debug/catchsegv.sh: Likewise.
18213 * debug/pcprofiledump.c (print_version): Likewise.
18214 * debug/xtrace.sh (do_version): Likewise.
18215 * elf/ldconfig.c (print_version): Likewise.
18216 * elf/ldd.bash.in: Likewise.
18217 * elf/pldd.c (print_version): Likewise.
18218 * elf/sotruss.sh: Likewise.
18219 * elf/sprof.c (print_version): Likewise.
18220 * iconv/iconv_prog.c (print_version): Likewise.
18221 * iconv/iconvconfig.c (print_version): Likewise.
18222 * locale/programs/locale.c (print_version): Likewise.
18223 * locale/programs/localedef.c (print_version): Likewise.
18224 * login/programs/pt_chown.c (print_version): Likewise.
18225 * malloc/memusage.sh (do_version): Likewise.
18226 * malloc/memusagestat.c (print_version): Likewise.
18227 * malloc/mtrace.pl: Likewise.
18228 * manual/libc.texinfo: Likewise.
18229 * nptl/version.c (banner): Likewise.
18230 * nscd/nscd.c (print_version): Likewise.
18231 * nss/getent.c (print_version): Likewise.
18232 * nss/makedb.c (print_version): Likewise.
18233 * posix/getconf.c (main): Likewise.
18234 * scripts/test-installation.pl: Likewise.
18235 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18237 * All files with FSF copyright notices: Update copyright dates
18238 using scripts/update-copyrights.
18239 * locale/programs/charmap-kw.h: Regenerated.
18240 * locale/programs/locfile-kw.h: Likewise.
18242 2017-12-31 Zack Weinberg <zackw@panix.com>
18244 * libio/bits/libio-ldbl.h: Correct check for improper
18245 inclusion. Add own multiple include guard.
18247 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
18248 Dmitry V. Levin <ldv@altlinux.org>
18252 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
18253 string token expansion. Check for NULL pointer or empty string possibly
18254 returned by expand_dynamic_string_token.
18255 (decompose_rpath): Check for empty path after dynamic string
18258 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
18261 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
18263 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
18264 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
18265 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
18266 and PTRACE_SYSCALL.
18267 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
18268 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18269 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18270 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18271 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18272 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18274 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
18275 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18276 __ptrace_peeksiginfo_flags, ptrace): Move to ...
18277 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
18278 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18279 bits/ptrace-shared.h.
18280 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
18281 <bits/ptrace-shared.h>.
18282 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18283 __ptrace_peeksiginfo_flags, ptrace): Remove.
18284 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18285 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18286 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18287 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18288 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18290 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18293 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
18294 end of the loop. Improve comments.
18296 2017-12-29 Zack Weinberg <zackw@panix.com>
18299 * manual/errno.texi (Checking for Errors): Explicitly say that errno
18300 might be set on success.
18302 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18305 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
18306 is unchanged on success.
18308 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
18310 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
18312 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
18313 expand_dynamic_string_token): Likewise.
18314 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
18317 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
18320 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
18321 is set and name contains ':', and all code depending on these checks.
18323 2017-12-24 Zack Weinberg <zackw@panix.com>
18325 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
18326 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
18328 * libio/libio.h: Rename the original version of this file to
18329 libio/bits/libio.h. Error out if not included by stdio.h or the
18331 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
18332 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
18333 if not included by bits/libio.h or the stub _G_config.h.
18334 * sysdeps/unix/sysv/linux/_G_config.h: Move to
18335 sysdeps/unix/sysv/linux/bits. Error out if not included by
18336 bits/libio.h or the stub _G_config.h.
18337 * libio/stdio.h: Include bits/libio.h, not libio.h.
18338 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
18339 well as libio.h and _G_config.h.
18341 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
18342 * libio/strfile.h, stdio-common/vfscanf.c
18343 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
18344 Include stdio.h, not _G_config.h nor libio.h.
18345 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
18346 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
18348 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
18350 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
18353 * stdlib/getrandom.c (getrandom): Fix comment.
18354 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
18356 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
18359 * manual/arith.texi (strtoul): Fix a typo.
18362 * manual/arith.texi (finite): Fix the description of the return
18365 2017-12-22 Eric Blake <ebb9@byu.net>
18367 Avoid gcc warnings on cygwin
18368 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
18369 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
18370 Avoid unused variable.
18372 2017-12-22 Florian Weimer <fweimer@redhat.com>
18374 * io/Makefile (routines): Add copy_file_range.
18375 (tests): Add tst-copy_file_range.
18376 (tests-static, tests-internal): Add tst-copy_file_range-compat.
18377 * io/Versions (GLIBC_2.27): Export copy_file_range.
18378 * io/copy_file_range-compat.c: New file.
18379 * io/copy_file_range.c: Likewise.
18380 * io/tst-copy_file_range-compat.c: Likewise.
18381 * io/tst-copy_file_range.c: Likewise.
18382 * manual/llio.texi (Copying File Data): New section.
18383 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
18384 * support/Makefile (libsupport-routines): Add support-xfstat,
18385 xftruncate, xlseek.
18386 * support/support-xfstat.c: New file.
18387 * support/xftruncate.c: Likewise.
18388 * support/xlseek.c: Likewise.
18389 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
18390 * sysdeps/unix/sysv/linux/**.abilist: Update.
18391 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
18393 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
18395 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18396 disable-multi-arch variant to aarch64-linux-gnu.
18398 2017-12-20 Joseph Myers <joseph@codesourcery.com>
18400 * manual/texinfo.tex: Update to version 2017-12-18.20 with
18401 trailing whitespace removed.
18402 * scripts/config.guess: Update to version 2017-12-17.
18403 * scripts/config.sub: Update to version 2017-11-23.
18404 * scripts/install-sh: Update to version 2017-09-23.17.
18405 * scripts/move-if-change: Update to version 2017-09-13 06:45.
18407 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18409 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
18410 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18411 * sysdeps/tile/_mcount.S (__mcount): Likewise.
18412 * sysdeps/tile/crti.S (_init, _fini): Likewise.
18413 * sysdeps/tile/crtn.S: Likewise.
18414 * sysdeps/tile/dl-start.S (_start): Likewise.
18415 * sysdeps/tile/dl-trampoline.S: Likewise.
18416 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
18417 * sysdeps/tile/start.S (_start): Likewise.
18418 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
18419 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
18420 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
18421 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
18422 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
18423 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
18424 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
18426 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
18428 * sysdeps/tile/preconfigure: Remove tilegx folder.
18429 * sysdeps/tile/tilegx/Implies: Move definitions to ...
18430 * sysdeps/tile/Implies: ... here.
18431 * sysdeps/tile/tilegx/Makefile: Move rules to ...
18432 * sysdeps/tile/Makefile: ... here.
18433 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
18434 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
18435 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
18436 * sysdeps/tile/bits/wordsize.h: ... here.
18437 * sysdeps/tile/tilegx/*: Move to ...
18438 * sysdeps/tile/*: ... here.
18439 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
18440 * sysdeps/tile/tilegx32/Implies: ... here.
18441 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
18442 * sysdeps/tile/tilegx64/Implies: ... here.
18443 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
18445 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18446 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
18447 * sysdeps/unix/sysv/linux/tile/*: ... here.
18448 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
18449 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
18450 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
18451 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
18453 * README: Remove tilepro-*-linux-gnu from supported architecture.
18454 * scripts/build-many-glibcs.py: Likewise.
18455 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18456 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
18457 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
18458 elf_machine_matches_host, elf_machine_dynamic,
18459 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
18460 howto, elf_machine_rela): Likewise.
18461 * sysdeps/tile/dl-start.S (_start): Likewise.
18462 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
18463 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
18464 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
18465 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
18466 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
18467 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
18469 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
18470 * sysdeps/tile/preconfigure: Likewise.
18471 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
18472 POINTER_CHK_GUARD): Likewise.
18473 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
18474 * sysdeps/tile/start.S (_start): Likewise.
18475 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
18477 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
18478 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
18480 * sysdeps/unix/sysv/linux/tile/bits/environments.h
18481 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
18482 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
18484 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
18485 * sysdeps/tile/tilepro/Implies: Remove file.
18486 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
18487 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
18488 * sysdeps/tile/tilepro/memchr.c: Likewise.
18489 * sysdeps/tile/tilepro/memcpy.S: Likewise.
18490 * sysdeps/tile/tilepro/memset.c: Likewise.
18491 * sysdeps/tile/tilepro/memusage.h: Likewise.
18492 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
18493 * sysdeps/tile/tilepro/strchr.c: Likewise.
18494 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
18495 * sysdeps/tile/tilepro/strlen.c: Likewise.
18496 * sysdeps/tile/tilepro/strrchr.c: Likewise.
18497 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
18498 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
18499 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
18500 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
18501 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
18502 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18504 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
18505 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18506 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
18507 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
18508 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18509 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
18510 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
18511 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
18512 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
18513 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
18514 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
18515 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
18516 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
18517 tilepro mention in comment.
18519 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
18520 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
18521 * nptl/pthread_join_common.c: New file: common function used on
18522 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
18523 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
18524 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
18525 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
18526 (cleanup): Move definition to pthread_join_common.c.
18527 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
18528 Remove superflous checks.
18529 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
18532 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
18534 * sysdeps/aarch64/libm-test-ulps: Update.
18536 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18538 * sysdeps/aarch64/memset.S (MEMSET): Define.
18540 2017-12-20 Florian Weimer <fweimer@redhat.com>
18543 nptl: Provide full implementation of pthread_self in libc.so.
18544 * nptl/Makefile (routines): Add pthread_self.
18545 (libpthread-routines): Replace pthread_self with
18546 compat-pthread_self.
18547 * nptl/forward.c (pthread_self): Remove.
18548 * nptl/nptl-init.c (pthread_functions): Do not initialize
18550 * nptl/pthread_self.c (pthread_self): Remove weak alias.
18551 * nptl/compat-pthread_self.c: New file.
18552 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
18553 Remove ptr_pthread_self.
18555 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
18557 * posix/regcomp.c: Fix spelling in comments.
18558 * posix/regex.h: Likewise.
18559 * posix/regex_internal.c: Likewise.
18560 * posix/regexec.c: Likewise.
18562 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18565 * math/Makefile [C++] (tests): Add test for iseqsig.
18566 * math/math.h [C++] (iseqsig): New implementation, which does
18567 not rely on __MATH_TG/__builtin_types_compatible_p.
18568 * math/test-math-iseqsig.cc: New file.
18569 * sysdeps/powerpc/powerpc64le/Makefile
18570 (CFLAGS-test-math-iseqsig.cc): New variable.
18572 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
18574 * elf/dl-load.c (is_trusted_path): Remove.
18575 (fillin_rpath): Remove check_trusted argument and its use,
18576 all callers changed.
18578 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18581 * Makeconfig (link-pie-before-libc): Replace -pie with
18582 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
18583 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
18584 (tst-dlopen-aout-no-pie): New.
18585 (LDFLAGS-tst-prelink): Removed.
18586 (tst-prelink-no-pie): New.
18587 (LDFLAGS-tst-main1): Removed.
18588 (tst-main1-no-pie): New.
18589 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
18590 (tst-gmon-no-pie): New.
18592 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18594 * manual/install.texi: Document that --enable-static-pie
18596 * INSTALL: Regenerated.
18598 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
18601 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
18604 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18608 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18610 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18612 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18614 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18615 <errno.h>. Include "eexp.tbl".
18616 (half): New constant.
18618 (__ieee754_exp): Rewrite.
18619 (__slowexp): Remove prototype.
18620 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18621 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18622 * sysdeps/i386/fpu/slowexp.c: Likewise.
18623 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18624 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18625 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18626 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18627 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18628 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18629 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18631 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18632 (CPPFLAGS-slowexp.c): Remove variable.
18633 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18634 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18635 (CFLAGS-slowexp-fma.c): Remove variable.
18636 (CFLAGS-slowexp-fma4.c): Likewise.
18637 (CFLAGS-slowexp-avx.c): Likewise.
18638 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18640 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18641 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18642 * math/Makefile (type-double-routines): Remove slowexp.
18643 * manual/probes.texi (slowexp_p6): Remove.
18644 (slowexp_p32): Likewise.
18646 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18648 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
18651 * lib/glob.c (glob): Do not pass NULL to mempcpy.
18653 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18655 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18657 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18659 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18660 <errno.h>. Include "eexp.tbl".
18661 (half): New constant.
18663 (__ieee754_exp): Rewrite.
18664 (__slowexp): Remove prototype.
18665 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18666 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18667 * sysdeps/i386/fpu/slowexp.c: Likewise.
18668 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18669 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18670 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18671 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18672 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18673 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18674 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18676 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18677 (CPPFLAGS-slowexp.c): Remove variable.
18678 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18679 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18680 (CFLAGS-slowexp-fma.c): Remove variable.
18681 (CFLAGS-slowexp-fma4.c): Likewise.
18682 (CFLAGS-slowexp-avx.c): Likewise.
18683 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18685 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18686 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18687 * math/Makefile (type-double-routines): Remove slowexp.
18688 * manual/probes.texi (slowexp_p6): Remove.
18689 (slowexp_p32): Likewise.
18691 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18692 James Clarke <jrtc27@jrtc27.com>
18695 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
18698 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18701 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
18704 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18707 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18708 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18709 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18710 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18713 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18716 * bits/types/__cancel_jmp_buf_tag.h: New file.
18717 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18718 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18719 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18720 * nptl/Makefile (headers): Add
18721 bits/types/__cancel_jmp_buf_tag.h.
18722 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18723 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18724 * sysdeps/nptl/pthread.h: Include
18725 <bits/types/__cancel_jmp_buf_tag.h>.
18726 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18728 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18730 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18732 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18733 --enable-static-pie variants to x86_64, x32 and i686.
18735 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18738 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
18739 argument for attrubutes. All callers changed.
18740 (__inline_mathop1): Likewise. All callers changed.
18741 (__inline_mathop): Likewise. All callers changed.
18742 [__USE_MISC] (scalbn): Use __inline_forward instead of
18743 __inline_forward_c.
18744 [__USE_ISOC99] (scalbln): Likewise.
18745 [__USE_ISOC99] (nearbyint): Likewise.
18746 [__USE_ISOC99] (lrint): Likewise.
18747 [__USE_MISC] (scalbnf): Likewise.
18748 [__USE_ISOC99] (scalblnf): Likewise.
18749 [__USE_ISOC99] (nearbyintf): Likewise.
18750 [__USE_ISOC99] (lrintf): Likewise.
18751 [__USE_MISC] (scalbnl): Likewise.
18752 [__USE_ISOC99] (scalblnl): Likewise.
18753 [__USE_ISOC99] (nearbyintl): Likewise.
18754 [__USE_ISOC99] (lrintl): Likewise.
18755 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
18756 __inline_mathop and __m81_defun changed.
18758 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
18759 CPU or FPU for ARM hard-float configurations.
18761 2017-12-18 Joseph Myers <joseph@codesourcery.com>
18763 * nptl/tst-attr3.c: Include <libc-diag.h>.
18764 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
18766 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
18768 * string/tester.c (test_strncat): Also disable -Warray-bounds
18769 warnings for two tests.
18771 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18774 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
18775 $(cc-pie-default) == yes.
18776 * config.make.in (cc-pie-default): New.
18777 * configure.ac (libc_cv_pie_default): Renamed to ...
18778 (libc_cv_cc_pie_default): This.
18779 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
18780 * configure: Regenerated.
18782 2017-12-18 Florian Weimer <fweimer@redhat.com>
18785 ld.so: Harden dl-libc/libdl hooks.
18786 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
18787 (rtld_active): New function.
18788 * dlfcn/dladdr.c (__dladdr): Call it.
18789 * dlfcn/dladdr1.c (__dladdr1): Likewise.
18790 * dlfcn/dlclose.c (__dlcose): Likewise.
18791 * dlfcn/dlerror.c (__dlerror): Likewise.
18792 * dlfcn/dlinfo.c (__dlinfo): Likewise.
18793 * dlfcn/dlmopen.c (__dlmopen): Likewise.
18794 * dlfcn/dlopen.c (__dlopen): Likewise.
18795 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18796 * dlfcn/dlsym.c (__dlsym): Likewise.
18797 * dlfcn/dlvsym.c (__dlvsym): Likewise.
18798 * libio/vtables.c (_IO_vtable_check): Likewise.
18799 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
18800 (__libc_dlclose): Likewise.
18801 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
18804 2017-12-18 Joseph Myers <joseph@codesourcery.com>
18807 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
18808 buffers for readlink input and output.
18810 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
18813 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
18814 inhibit_stack_protector.
18817 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
18818 inhibit_stack_protector.
18820 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
18823 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
18824 code and invocation.
18826 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
18828 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
18830 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
18833 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
18835 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18837 * sysdeps/s390/fpu/libm-test-ulps: Update.
18839 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18841 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18843 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18845 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
18846 constants to s_sincosf.h file.
18847 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18848 * sysdeps/ieee754/flt-32/s_sincosf.c: New
18850 * sysdeps/ieee754/flt-32/s_sincosf.h:
18853 2017-12-12 Carlos O'Donell <carlos@redhat.com>
18856 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
18859 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
18862 * INSTALL: Regenerated.
18863 * Makeconfig (real-static-start-installed-name): New.
18864 (pic-default): Updated for --enable-static-pie.
18865 (pie-default): New for --enable-static-pie.
18866 (default-pie-ldflag): Likewise.
18867 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
18868 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
18869 Replace $(static-start-installed-name) with
18870 $(real-static-start-installed-name).
18871 (+prectorT): Updated for --enable-static-pie.
18872 (+postctorT): Likewise.
18873 (CFLAGS-.o): Add $(pie-default).
18874 (CFLAGS-.op): Likewise.
18875 * NEWS: Mention --enable-static-pie.
18876 * config.h.in (ENABLE_STATIC_PIE): New.
18877 * configure.ac (--enable-static-pie): New configure option.
18878 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
18879 (have-static-pie): Likewise.
18880 Enable static PIE if linker supports --no-dynamic-linker.
18881 (ENABLE_STATIC_PIE): New AC_DEFINE.
18882 (enable-static-pie): New LIBC_CONFIG_VAR.
18883 * configure: Regenerated.
18884 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
18885 gr$(start-installed-name) for --enable-static-pie.
18886 (extra-objs): Likewise.
18887 (install-lib): Likewise.
18888 (extra-objs): Add static-reloc.o and static-reloc.os
18889 ($(objpfx)$(start-installed-name)): Also depend on
18890 $(objpfx)static-reloc.o.
18891 ($(objpfx)r$(start-installed-name)): New.
18892 ($(objpfx)g$(start-installed-name)): Also depend on
18893 $(objpfx)static-reloc.os.
18894 ($(objpfx)gr$(start-installed-name)): New.
18895 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
18897 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
18899 * csu/static-reloc.c: New file.
18900 * elf/Makefile (routines): Add dl-reloc-static-pie.
18901 (elide-routines.os): Likewise.
18902 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
18903 (tst-tls1-static-non-pie-no-pie): New.
18904 * elf/dl-reloc-static-pie.c: New file.
18905 * elf/dl-support.c (_dl_get_dl_main_map): New function.
18906 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
18907 STATIC_PIE_BOOTSTRAP.
18908 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18909 * gmon/Makefile (tests): Add tst-gmon-static-pie.
18910 (tests-static): Likewise.
18911 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
18912 (tst-gmon-static-no-pie): New.
18913 (CFLAGS-tst-gmon-static-pie.c): Likewise.
18914 (CRT-tst-gmon-static-pie): Likewise.
18915 (tst-gmon-static-pie-ENV): Likewise.
18916 (tests-special): Likewise.
18917 ($(objpfx)tst-gmon-static-pie.out): Likewise.
18918 (clean-tst-gmon-static-pie-data): Likewise.
18919 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
18920 * gmon/tst-gmon-static-pie.c: New file.
18921 * manual/install.texi: Document --enable-static-pie.
18922 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
18923 (_dl_get_dl_main_map): Likewise.
18924 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
18925 * sysdeps/x86_64/configure.ac: Likewise.
18926 * sysdeps/i386/configure: Regenerated.
18927 * sysdeps/x86_64/configure: Likewise.
18928 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
18929 (ASFLAGS-.op): Likewise.
18931 2017-12-15 Joseph Myers <joseph@codesourcery.com>
18933 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
18934 * posix/tst-mmap-offset.c (fname): Use /tmp.
18935 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
18937 2017-12-15 Steve Ellcey <sellcey@cavium.com>
18939 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
18941 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
18943 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
18946 2017-12-15 Joseph Myers <joseph@codesourcery.com>
18948 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
18949 --with-float=hard for arm-linux-gnueabihf configurations.
18952 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
18953 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
18954 ($(mo-installed)): Use $(objpfx)%.mo.
18955 (realclean): Remove rule.
18957 * po/Makefile (linguas): Remove rule and dependencies.
18958 (linguas.mo): Likewise.
18959 (.PHONY): Do not depend on linguas and linguas.mo.
18960 (podir): Remove variable.
18961 (pofiles): Likewise.
18962 [$(pofiles)] (%.po): Remove rule.
18964 * sysdeps/sparc/sparc32/Makefile
18965 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
18966 start-of-line whitespace in argument of echo.
18967 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
18968 with whitespace. Generate __wrap_.udiv alias.
18969 * sysdeps/sparc/sparc32/rem.S: Regenerated.
18970 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18971 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18972 * sysdeps/sparc/sparc32/urem.S: Likewise.
18974 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18976 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
18977 for aligned inputs.
18979 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
18981 * benchtests/bench-strcmp.c: Print output in JSON format.
18983 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
18985 2017-12-14 Florian Weimer <fweimer@redhat.com>
18989 * elf/dl-load.c (_dl_init_paths): Compute number of components in
18990 the expanded path string.
18992 2017-12-14 Florian Weimer <fweimer@redhat.com>
18996 * elf/dl-load.c (system_dirs): Update comment.
18997 (nsystem_dirs_len): Use array_length.
18998 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
19000 2017-12-14 Florian Weimer <fweimer@redhat.com>
19002 Simplify compiling most of support/ outside of glibc.
19003 * support/check_addrinfo.c: Include <string.h>.
19004 * support/check_dns_packet.c: Likewise.
19005 * support/check_hostent.c: Likewise.
19006 * support/support_can_chroot.c: Include <support/xunistd.h>.
19007 * support/support_format_addrinfo.c: Include <stdlib.h>
19008 * support/support_format_dns_packet.c: Include <stdbool.h>.
19009 * support/support_format_hostent.c: Include <stdlib.h>.
19010 * support/support_format_netent.c: Likewise.
19011 * support/support_write_string.c: Include <support/xunistd.h>.
19012 * support/xdlfcn.c: Include <stddef.h>.
19014 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
19016 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
19018 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19019 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19021 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19022 (sysdeps_routines): Add memset-niagara7.
19023 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
19025 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
19027 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
19028 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19029 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
19030 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
19031 Add niagara7 option.
19032 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
19035 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19036 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
19037 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
19039 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
19041 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
19042 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
19043 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19044 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
19045 and __memmove_niagara7.
19046 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
19047 Add niagara7 option.
19048 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
19049 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
19050 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
19051 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
19052 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
19054 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
19056 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
19057 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
19058 * sysdeps/sparc/sparc64/memmove.S: Likewise.
19059 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
19061 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
19062 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
19063 _dl_sparc_cap_flags array.
19064 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
19066 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
19068 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
19069 time whenever possible.
19071 2017-12-12 Carlos O'Donell <carlos@redhat.com>
19073 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
19074 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
19076 2017-12-12 Joseph Myers <joseph@codesourcery.com>
19078 * soft-fp/fmadf4.c: Move to ....
19079 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
19080 * soft-fp/fmasf4.c: Move to ....
19081 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
19082 * soft-fp/fmatf4.c: Move to ....
19083 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
19084 * sysdeps/ieee754/soft-fp/Makefile: New file.
19085 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
19086 * sysdeps/arm/preconfigure: Regenerated.
19087 * sysdeps/arm/nofpu/Implies: New file.
19088 * sysdeps/arm/s_fma.c: Remove file.
19089 * sysdeps/arm/s_fmaf.c: Likewise.
19090 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
19091 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
19092 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
19093 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
19094 * sysdeps/microblaze/s_fma.c: Remove file.
19095 * sysdeps/microblaze/s_fmaf.c: Likewise.
19096 * sysdeps/mips/mips32/nofpu/Implies: New file.
19097 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
19098 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
19099 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
19100 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
19101 * sysdeps/mips/ieee754/s_fma.c: Remove file.
19102 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
19103 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
19105 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
19106 * sysdeps/nios2/s_fma.c: Remove file.
19107 * sysdeps/nios2/s_fmaf.c: Likewise.
19108 * sysdeps/sh/nofpu/Implies: New file.
19109 * sysdeps/sh/s_fma.c: Remove file.
19110 * sysdeps/sh/s_fmaf.c: Likewise.
19111 * sysdeps/tile/Implies: Add ieee754/soft-fp.
19112 * sysdeps/tile/s_fma.c: Remove file.
19113 * sysdeps/tile/s_fmaf.c: Likewise.
19115 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
19117 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19118 Add s_cosf-sse2 and s_cosf-fma.
19119 (CFLAGS-s_cosf-fma.c): New.
19120 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
19121 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
19122 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
19124 2017-12-12 Steve Ellcey <sellcey@cavium.com>
19126 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
19128 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19130 * libio/Makefile (tests): Add tst-bz22415.
19131 (tst-bz22415-ENV): New rule.
19132 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
19133 (tests-special): Add tst-bz22415-mem.out.
19134 ($(objpfx)tst-bz22415-mem.out): New rule.
19135 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
19136 in case of a successful seek operation.
19137 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19138 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
19139 buffer is required.
19140 * libio/tst-bz22415.c: New test.
19142 * sysdeps/ia64/fpu/libm-test-ulps: Update.
19144 2017-12-12 James Clarke <jrtc27@jrtc27.com>
19146 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
19147 __IPC_64 to 0 to avoid IPC_64 being set.
19149 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19152 * math/bits/mathcalls.h (nextafter): Remove const.
19153 (nexttoward): Likewise.
19155 2017-12-12 Joseph Myers <joseph@codesourcery.com>
19157 * configure.ac (--with-fp): Remove configure option.
19158 (with_fp_cond): New variable.
19159 (libc_cv_with_fp): New configure test. Use this variable instead
19161 * configure: Regenerated.
19162 * config.make.in (with-fp): Use @libc_cv_with_fp@.
19163 * manual/install.texi (Configuring and compiling): Remove
19165 * INSTALL: Regenerated.
19166 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
19167 * sysdeps/mips/preconfigure (with_fp_cond): Define.
19168 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
19169 * sysdeps/sh/preconfigure (with_fp_cond): Define.
19170 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
19171 use --without-fp to configure glibc.
19173 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
19175 * manual/locale.texi (nl_langinfo): Fix a typo.
19177 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
19180 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
19182 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19184 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
19185 (CFLAGS-argp-parse.c): Likewise.
19186 (CFLAGS-argp-fmtstream.c): Likewise.
19187 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
19188 (CPPFLAGS-sha512-crypt.c): Likewise.
19189 (CPPFLAGS-md5-crypt.c): Likewise.
19190 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
19191 (CFLAGS-stack_chk_fail_local.c): Likewise.
19192 (CFLAGS-backtrace.c): Likewise.
19193 (CFLAGS-sprintf_chk.c): Likewise.
19194 (CFLAGS-snprintf_chk.c): Likewise.
19195 (CFLAGS-vsprintf_chk.c): Likewise.
19196 (CFLAGS-vsnprintf_chk.c): Likewise.
19197 (CFLAGS-asprintf_chk.c): Likewise.
19198 (CFLAGS-vasprintf_chk.c): Likewise.
19199 (CFLAGS-obprintf_chk.c): Likewise.
19200 (CFLAGS-dprintf_chk.c): Likewise.
19201 (CFLAGS-vdprintf_chk.c): Likewise.
19202 (CFLAGS-printf_chk.c): Likewise.
19203 (CFLAGS-fprintf_chk.c): Likewise.
19204 (CFLAGS-vprintf_chk.c): Likewise.
19205 (CFLAGS-vfprintf_chk.c): Likewise.
19206 (CFLAGS-gets_chk.c): Likewise.
19207 (CFLAGS-fgets_chk.c): Likewise.
19208 (CFLAGS-fgets_u_chk.c): Likewise.
19209 (CFLAGS-fread_chk.c): Likewise.
19210 (CFLAGS-fread_u_chk.c): Likewise.
19211 (CFLAGS-swprintf_chk.c): Likewise.
19212 (CFLAGS-vswprintf_chk.c): Likewise.
19213 (CFLAGS-wprintf_chk.c): Likewise.
19214 (CFLAGS-fwprintf_chk.c): Likewise.
19215 (CFLAGS-vwprintf_chk.c): Likewise.
19216 (CFLAGS-vfwprintf_chk.c): Likewise.
19217 (CFLAGS-fgetws_chk.c): Likewise.
19218 (CFLAGS-fgetws_u_chk.c): Likewise.
19219 (CFLAGS-read_chk.c): Likewise.
19220 (CFLAGS-pread_chk.c): Likewise.
19221 (CFLAGS-pread64_chk.c): Likewise.
19222 (CFLAGS-recv_chk.c): Likewise.
19223 (CFLAGS-recvfrom_chk.c): Likewise.
19224 (CFLAGS-tst-longjmp_chk.c): Likewise.
19225 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
19226 (CFLAGS-tst-longjmp_chk2.c): Likewise.
19227 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
19228 (CFLAGS-tst-longjmp_chk3.c): Likewise.
19229 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19230 (CFLAGS-tst-chk1.c): Likewise.
19231 (CFLAGS-tst-chk2.c): Likewise.
19232 (CFLAGS-tst-chk3.c): Likewise.
19233 (CFLAGS-tst-chk4.cc): Likewise.
19234 (CFLAGS-tst-chk5.cc): Likewise.
19235 (CFLAGS-tst-chk6.cc): Likewise.
19236 (CFLAGS-tst-lfschk1.c): Likewise.
19237 (CFLAGS-tst-lfschk2.c): Likewise.
19238 (CFLAGS-tst-lfschk3.c): Likewise.
19239 (CFLAGS-tst-lfschk4.cc): Likewise.
19240 (CFLAGS-tst-lfschk5.cc): Likewise.
19241 (CFLAGS-tst-lfschk6.cc): Likewise.
19242 (CFLAGS-tst-ssp-1.c): Likewise.
19243 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
19244 (CFLAGS-scandir64.c): Likewise.
19245 (CFLAGS-scandir-tail.c): Likewise.
19246 (CFLAGS-scandir64-tail.c): Likewise.
19247 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
19248 (CFLAGS-dl-tunables.c): Likewise.
19249 (CFLAGS-dl-runtime.c): Likewise.
19250 (CFLAGS-dl-lookup.c): Likewise.
19251 (CFLAGS-dl-iterate-phdr.c): Likewise.
19252 (CFLAGS-vismain.c): Likewise.
19253 (CFLAGS-tst-linkall-static.c): Likewise.
19254 (CFLAGS-tst-linkall-static.c): Likewise.
19255 (CPPFLAGS-dl-load.c): Likewise.
19256 (CFLAGS-ldconfig.c): Likewise.
19257 (CFLAGS-dl-cache.c): Likewise.
19258 (CFLAGS-cache.c): Likewise.
19259 (CFLAGS-rtld.c): Likewise.
19260 (CFLAGS-multiload.c): Likewise.
19261 (CFLAGS-filtmod1.c): Likewise.
19262 (CFLAGS-tst-align.c): Likewise.
19263 (CFLAGS-tst-align2.c): Likewise.
19264 (CFLAGS-tst-alignmod.c): Likewise.
19265 (CFLAGS-tst-alignmod2.c): Likewise.
19266 (CPPFLAGS-tst-execstack.c): Likewise.
19267 (CFLAGS-tst-ptrguard1-static.c): Likewise.
19268 (CFLAGS-tst-latepthreadmod.c): Likewise.
19269 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
19270 (CFLAGS-getgrnam_r.c): Likewise.
19271 (CFLAGS-getgrent_r.c): Likewise.
19272 (CFLAGS-getgrent.c): Likewise.
19273 (CFLAGS-fgetgrent.c): Likewise.
19274 (CFLAGS-fgetgrent_r.c): Likewise.
19275 (CFLAGS-putgrent.c): Likewise.
19276 (CFLAGS-initgroups.c): Likewise.
19277 (CFLAGS-getgrgid.c): Likewise.
19278 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
19279 (CFLAGS-getsgent.c): Likewise.
19280 (CFLAGS-fgetsgent.c): Likewise.
19281 (CFLAGS-fgetsgent_r.c): Likewise.
19282 (CFLAGS-putsgent.c): Likewise.
19283 (CFLAGS-getsgnam.c): Likewise.
19284 (CFLAGS-getsgnam_r.c): Likewise.
19285 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
19286 (CFLAGS-iconv_charmap.c): Likewise.
19287 (CFLAGS-dummy-repertoire.c): Likewise.
19288 (CFLAGS-charmap.c): Likewise.
19289 (CFLAGS-linereader.c): Likewise.
19290 (CFLAGS-simple-hash.c): Likewise.
19291 (CFLAGS-gconv_conf.c): Likewise.
19292 (CFLAGS-iconvconfig.c): Likewise.
19293 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19294 (CFLAGS-gethstbyad.c): Likewise.
19295 (CFLAGS-gethstbynm_r.c): Likewise.
19296 (CFLAGS-gethstbynm.c): Likewise.
19297 (CFLAGS-gethstbynm2_r.c): Likewise.
19298 (CFLAGS-gethstbynm2.c): Likewise.
19299 (CFLAGS-gethstent_r.c): Likewise.
19300 (CFLAGS-gethstent.c): Likewise.
19301 (CFLAGS-rcmd.c): Likewise.
19302 (CFLAGS-getnetbynm_r.c): Likewise.
19303 (CFLAGS-getnetbynm.c): Likewise.
19304 (CFLAGS-getnetbyad_r.c): Likewise.
19305 (CFLAGS-getnetbyad.c): Likewise.
19306 (CFLAGS-getnetent_r.c): Likewise.
19307 (CFLAGS-getnetent.c): Likewise.
19308 (CFLAGS-getaliasent_r.c): Likewise.
19309 (CFLAGS-getaliasent.c): Likewise.
19310 (CFLAGS-getrpcent_r.c): Likewise.
19311 (CFLAGS-getrpcent.c): Likewise.
19312 (CFLAGS-getservent_r.c): Likewise.
19313 (CFLAGS-getservent.c): Likewise.
19314 (CFLAGS-getprtent_r.c): Likewise.
19315 (CFLAGS-getprtent.c): Likewise.
19316 (CFLAGS-either_ntoh.c): Likewise.
19317 (CFLAGS-either_hton.c): Likewise.
19318 (CFLAGS-getnetgrent.c): Likewise.
19319 (CFLAGS-getnetgrent_r.c): Likewise.
19320 (CFLAGS-tst-checks-posix.c): Likewise.
19321 (CFLAGS-tst-sockaddr.c): Likewise.
19322 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
19323 (CFLAGS-tst-translit.c): Likewise.
19324 (CFLAGS-tst-gettext2.c): Likewise.
19325 (CFLAGS-tst-codeset.c): Likewise.
19326 (CFLAGS-tst-gettext3.c): Likewise.
19327 (CFLAGS-tst-gettext4.c): Likewise.
19328 (CFLAGS-tst-gettext5.c): Likewise.
19329 (CFLAGS-tst-gettext6.c): Likewise.
19330 * io/Makefile (CFLAGS-open.c): Likewise.
19331 (CFLAGS-open64.c): Likewise.
19332 (CFLAGS-creat.c): Likewise.
19333 (CFLAGS-creat64.c): Likewise.
19334 (CFLAGS-fcntl.c): Likewise.
19335 (CFLAGS-poll.c): Likewise.
19336 (CFLAGS-ppoll.c): Likewise.
19337 (CFLAGS-lockf.c): Likewise.
19338 (CFLAGS-statfs.c): Likewise.
19339 (CFLAGS-fstatfs.c): Likewise.
19340 (CFLAGS-statvfs.c): Likewise.
19341 (CFLAGS-fstatvfs.c): Likewise.
19342 (CFLAGS-fts.c): Likewise.
19343 (CFLAGS-fts64.c): Likewise.
19344 (CFLAGS-ftw.c): Likewise.
19345 (CFLAGS-ftw64.c): Likewise.
19346 (CFLAGS-lockf.c): Likewise.
19347 (CFLAGS-posix_fallocate.c): Likewise.
19348 (CFLAGS-posix_fallocate64.c): Likewise.
19349 (CFLAGS-fallocate.c): Likewise.
19350 (CFLAGS-fallocate64.c): Likewise.
19351 (CFLAGS-read.c): Likewise.
19352 (CFLAGS-write.c): Likewise.
19353 (CFLAGS-test-stat.c): Likewise.
19354 (CFLAGS-test-lfs.c): Likewise.
19355 * libio/Makefile (CFLAGS-fileops.c): Likewise.
19356 (CFLAGS-fputc.c): Likewise.
19357 (CFLAGS-fputwc.c): Likewise.
19358 (CFLAGS-freopen64.c): Likewise.
19359 (CFLAGS-freopen.c): Likewise.
19360 (CFLAGS-fseek.c): Likewise.
19361 (CFLAGS-fseeko64.c): Likewise.
19362 (CFLAGS-fseeko.c): Likewise.
19363 (CFLAGS-ftello64.c): Likewise.
19364 (CFLAGS-ftello.c): Likewise.
19365 (CFLAGS-fwide.c): Likewise.
19366 (CFLAGS-genops.c): Likewise.
19367 (CFLAGS-getc.c): Likewise.
19368 (CFLAGS-getchar.c): Likewise.
19369 (CFLAGS-getwc.c): Likewise.
19370 (CFLAGS-getwchar.c): Likewise.
19371 (CFLAGS-iofclose.c): Likewise.
19372 (CFLAGS-iofflush.c): Likewise.
19373 (CFLAGS-iofgetpos64.c): Likewise.
19374 (CFLAGS-iofgetpos.c): Likewise.
19375 (CFLAGS-iofgets.c): Likewise.
19376 (CFLAGS-iofgetws.c): Likewise.
19377 (CFLAGS-iofputs.c): Likewise.
19378 (CFLAGS-iofputws.c): Likewise.
19379 (CFLAGS-iofread.c): Likewise.
19380 (CFLAGS-iofsetpos64.c): Likewise.
19381 (CFLAGS-iofsetpos.c): Likewise.
19382 (CFLAGS-ioftell.c): Likewise.
19383 (CFLAGS-iofwrite.c): Likewise.
19384 (CFLAGS-iogetdelim.c): Likewise.
19385 (CFLAGS-iogetline.c): Likewise.
19386 (CFLAGS-iogets.c): Likewise.
19387 (CFLAGS-iogetwline.c): Likewise.
19388 (CFLAGS-ioputs.c): Likewise.
19389 (CFLAGS-ioseekoff.c): Likewise.
19390 (CFLAGS-ioseekpos.c): Likewise.
19391 (CFLAGS-iosetbuffer.c): Likewise.
19392 (CFLAGS-iosetvbuf.c): Likewise.
19393 (CFLAGS-ioungetc.c): Likewise.
19394 (CFLAGS-ioungetwc.c): Likewise.
19395 (CFLAGS-oldfileops.c): Likewise.
19396 (CFLAGS-oldiofclose.c): Likewise.
19397 (CFLAGS-oldiofgetpos64.c): Likewise.
19398 (CFLAGS-oldiofgetpos.c): Likewise.
19399 (CFLAGS-oldiofsetpos64.c): Likewise.
19400 (CFLAGS-oldiofsetpos.c): Likewise.
19401 (CFLAGS-peekc.c): Likewise.
19402 (CFLAGS-putc.c): Likewise.
19403 (CFLAGS-putchar.c): Likewise.
19404 (CFLAGS-putwc.c): Likewise.
19405 (CFLAGS-putwchar.c): Likewise.
19406 (CFLAGS-rewind.c): Likewise.
19407 (CFLAGS-wfileops.c): Likewise.
19408 (CFLAGS-wgenops.c): Likewise.
19409 (CFLAGS-oldiofopen.c): Likewise.
19410 (CFLAGS-iofopen.c): Likewise.
19411 (CFLAGS-iofopen64.c): Likewise.
19412 (CFLAGS-oldtmpfile.c): Likewise.
19413 (CFLAGS-tst_putwc.c): Likewise.
19414 * locale/Makefile (CFLAGS-md5.c): Likewise.
19415 (CFLAGS-charmap.c): Likewise.
19416 (CFLAGS-locfile.c): Likewise.
19417 (CFLAGS-charmap-dir.c): Likewise.
19418 * login/Makefile (CFLAGS-grantpt.c): Likewise.
19419 (CFLAGS-getpt.c): Likewise.
19420 (CFLAGS-pt_chown.c): Likewise.
19421 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
19422 (CFLAGS-obstack.c): Likewise.
19423 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
19424 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
19425 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
19426 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
19427 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
19428 (CFLAGS-test-tgmath.c): Likewise.
19429 (CFLAGS-test-tgmath2.c): Likewise.
19430 (CFLAGS-test-tgmath-ret.c): Likewise.
19431 (CFLAGS-test-powl.c): Likewise.
19432 (CFLAGS-test-snan.c): Likewise.
19433 (CFLAGS-test-signgam-finite.c): Likewise.
19434 (CFLAGS-test-signgam-finite-c99.c): Likewise.
19435 (CFLAGS-test-signgam-finite-c11.c): Likewise.
19436 (CFLAGS-test-signgam-uchar.c): Likewise.
19437 (CFLAGS-test-signgam-uchar-init.c): Likewise.
19438 (CFLAGS-test-signgam-uchar-static.c): Likewise.
19439 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
19440 (CFLAGS-test-signgam-uint.c): Likewise.
19441 (CFLAGS-test-signgam-uint-init.c): Likewise.
19442 (CFLAGS-test-signgam-uint-static.c): Likewise.
19443 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
19444 (CFLAGS-test-signgam-ullong.c): Likewise.
19445 (CFLAGS-test-signgam-ullong-init.c): Likewise.
19446 (CFLAGS-test-signgam-ullong-static.c): Likewise.
19447 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
19448 (CFLAGS-test-math-cxx11.cc): Likewise.
19449 (CFLAGS-test-math-isinff.cc): Likewise.
19450 (CFLAGS-test-math-iszero.cc): Likewise.
19451 (CFLAGS-test-math-issignaling.cc): Likewise.
19452 (CFLAGS-test-math-iscanonical.cc): Likewise.
19453 (CFLAGS-test-iszero-excess-precision.c): Likewise.
19454 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
19455 (CFLAGS-test-flt-eval-method.c): Likewise.
19456 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
19457 (CFLAGS-test-finite-macros.c): Likewise.
19458 * misc/Makefile (CFLAGS-select.c): Likewise.
19459 (CFLAGS-tsearch.c): Likewise.
19460 (CFLAGS-lsearch.c): Likewise.
19461 (CFLAGS-pselect.c): Likewise.
19462 (CFLAGS-readv.c): Likewise.
19463 (CFLAGS-writev.c): Likewise.
19464 (CFLAGS-preadv.c): Likewise.
19465 (CFLAGS-preadv64.c): Likewise.
19466 (CFLAGS-pwritev.c): Likewise.
19467 (CFLAGS-pwritev64.c): Likewise.
19468 (CFLAGS-preadv2.c): Likewise.
19469 (CFLAGS-preadv64v2.c): Likewise.
19470 (CFLAGS-pwritev2.c): Likewise.
19471 (CFLAGS-pwritev64v2.c): Likewise.
19472 (CFLAGS-usleep.c): Likewise.
19473 (CFLAGS-syslog.c): Likewise.
19474 (CFLAGS-error.c): Likewise.
19475 (CFLAGS-getpass.c): Likewise.
19476 (CFLAGS-mkstemp.c): Likewise.
19477 (CFLAGS-mkstemp64.c): Likewise.
19478 (CFLAGS-getsysstats.c): Likewise.
19479 (CFLAGS-getusershell.c): Likewise.
19480 (CFLAGS-err.c): Likewise.
19481 (CFLAGS-tst-tsearch.c): Likewise.
19482 (CFLAGS-msync.c): Likewise.
19483 (CFLAGS-fdatasync.c): Likewise.
19484 (CFLAGS-fsync.c): Likewise.
19485 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
19486 (CFLAGS-unwind.c): Likewise.
19487 (CFLAGS-unwind-forcedunwind.c): Likewise.
19488 (CFLAGS-pthread_cancel.c): Likewise.
19489 (CFLAGS-pthread_setcancelstate.c): Likewise.
19490 (CFLAGS-pthread_setcanceltype.c): Likewise.
19491 (CFLAGS-cancellation.c): Likewise.
19492 (CFLAGS-libc-cancellation.c): Likewise.
19493 (CFLAGS-pthread_exit.c): Likewise.
19494 (CFLAGS-forward.c): Likewise.
19495 (CFLAGS-pthread_testcancel.c): Likewise.
19496 (CFLAGS-pthread_join.c): Likewise.
19497 (CFLAGS-pthread_timedjoin.c): Likewise.
19498 (CFLAGS-pthread_once.c): Likewise.
19499 (CFLAGS-pthread_cond_wait.c): Likewise.
19500 (CFLAGS-sem_wait.c): Likewise.
19501 (CFLAGS-sem_timedwait.c): Likewise.
19502 (CFLAGS-fcntl.c): Likewise.
19503 (CFLAGS-lockf.c): Likewise.
19504 (CFLAGS-pread.c): Likewise.
19505 (CFLAGS-pread64.c): Likewise.
19506 (CFLAGS-pwrite.c): Likewise.
19507 (CFLAGS-pwrite64.c): Likewise.
19508 (CFLAGS-wait.c): Likewise.
19509 (CFLAGS-waitpid.c): Likewise.
19510 (CFLAGS-sigwait.c): Likewise.
19511 (CFLAGS-msgrcv.c): Likewise.
19512 (CFLAGS-msgsnd.c): Likewise.
19513 (CFLAGS-tcdrain.c): Likewise.
19514 (CFLAGS-open.c): Likewise.
19515 (CFLAGS-open64.c): Likewise.
19516 (CFLAGS-pause.c): Likewise.
19517 (CFLAGS-recv.c): Likewise.
19518 (CFLAGS-send.c): Likewise.
19519 (CFLAGS-accept.c): Likewise.
19520 (CFLAGS-sendto.c): Likewise.
19521 (CFLAGS-connect.c): Likewise.
19522 (CFLAGS-recvfrom.c): Likewise.
19523 (CFLAGS-recvmsg.c): Likewise.
19524 (CFLAGS-sendmsg.c): Likewise.
19525 (CFLAGS-close.c): Likewise.
19526 (CFLAGS-read.c): Likewise.
19527 (CFLAGS-write.c): Likewise.
19528 (CFLAGS-nanosleep.c): Likewise.
19529 (CFLAGS-sigsuspend.c): Likewise.
19530 (CFLAGS-msync.c): Likewise.
19531 (CFLAGS-fdatasync.c): Likewise.
19532 (CFLAGS-fsync.c): Likewise.
19533 (CFLAGS-pt-system.c): Likewise.
19534 (CFLAGS-tst-cleanup2.c): Likewise.
19535 (CFLAGS-tst-cleanupx2.c): Likewise.
19536 (CFLAGS-flockfile.c): Likewise.
19537 (CFLAGS-ftrylockfile.c): Likewise.
19538 (CFLAGS-funlockfile.c): Likewise.
19539 (CFLAGS-tst-initializers1.c): Likewise.
19540 (CFLAGS-tst-initializers1-c89.c): Likewise.
19541 (CFLAGS-tst-initializers1-c99.c): Likewise.
19542 (CFLAGS-tst-initializers1-c11.c): Likewise.
19543 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
19544 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
19545 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
19546 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
19547 (CFLAGS-nscd_getgr_r.c): Likewise.
19548 (CFLAGS-nscd_gethst_r.c): Likewise.
19549 (CFLAGS-nscd_getai.c): Likewise.
19550 (CFLAGS-nscd_initgroups.c): Likewise.
19551 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
19552 (CFLAGS-pause.c): Likewise.
19553 (CFLAGS-pread.c): Likewise.
19554 (CFLAGS-pread64.c): Likewise.
19555 (CFLAGS-pwrite.c): Likewise.
19556 (CFLAGS-pwrite64.c): Likewise.
19557 (CFLAGS-sleep.c): Likewise.
19558 (CFLAGS-wait.c): Likewise.
19559 (CFLAGS-waitid.c): Likewise.
19560 (CFLAGS-waitpid.c): Likewise.
19561 (CFLAGS-getopt.c): Likewise.
19562 (CFLAGS-wordexp.c): Likewise.
19563 (CFLAGS-sysconf.c): Likewise.
19564 (CFLAGS-pathconf.c): Likewise.
19565 (CFLAGS-fpathconf.c): Likewise.
19566 (CFLAGS-spawn.c): Likewise.
19567 (CFLAGS-spawnp.c): Likewise.
19568 (CFLAGS-spawni.c): Likewise.
19569 (CFLAGS-glob.c): Likewise.
19570 (CFLAGS-glob64.c): Likewise.
19571 (CFLAGS-getconf.c): Likewise.
19572 (CFLAGS-nanosleep.c): Likewise.
19573 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
19574 (CFLAGS-getpwent.c): Likewise.
19575 (CFLAGS-getpw.c): Likewise.
19576 (CFLAGS-fgetpwent_r.c): Likewise.
19577 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
19578 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
19579 (CFLAGS-mq_timedreceive.c): Likewise.
19580 (CFLAGS-mq_timedsend.c): Likewise.
19581 (CFLAGS-clock_nanosleep.c): Likewise.
19582 (CFLAGS-librt-cancellation.c): Likewise.
19583 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
19584 (CFLAGS-getspent.c): Likewise.
19585 (CFLAGS-fgetspent.c): Likewise.
19586 (CFLAGS-fgetspent_r.c): Likewise.
19587 (CFLAGS-putspent.c): Likewise.
19588 (CFLAGS-getspnam.c): Likewise.
19589 (CFLAGS-getspnam_r.c): Likewise.
19590 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
19591 (CFLAGS-sigsuspend.c): Likewise.
19592 (CFLAGS-sigtimedwait.c): Likewise.
19593 (CFLAGS-sigwait.c): Likewise.
19594 (CFLAGS-sigwaitinfo.c): Likewise.
19595 (CFLAGS-sigreturn.c): Likewise.
19596 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
19597 (CFLAGS-vfwprintf.c): Likewise.
19598 (CFLAGS-tmpfile.c): Likewise.
19599 (CFLAGS-tmpfile64.c): Likewise.
19600 (CFLAGS-tempname.c): Likewise.
19601 (CFLAGS-psignal.c): Likewise.
19602 (CFLAGS-vprintf.c): Likewise.
19603 (CFLAGS-cuserid.c): Likewise.
19604 (CFLAGS-errlist.c): Likewise.
19605 (CFLAGS-siglist.c): Likewise.
19606 (CFLAGS-scanf15.c): Likewise.
19607 (CFLAGS-scanf17.c): Likewise.
19608 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
19609 (CFLAGS-msort.c): Likewise.
19610 (CFLAGS-qsort.c): Likewise.
19611 (CFLAGS-system.c): Likewise.
19612 (CFLAGS-fmtmsg.c): Likewise.
19613 (CFLAGS-strfmon.c): Likewise.
19614 (CFLAGS-strfmon_l.c): Likewise.
19615 (CFLAGS-strfromd.c): Likewise.
19616 (CFLAGS-strfromf.c): Likewise.
19617 (CFLAGS-strfroml.c): Likewise.
19618 (CFLAGS-tst-bsearch.c): Likewise.
19619 (CFLAGS-tst-qsort.c): Likewise.
19620 (CFLAGS-tst-makecontext2.c): Likewise.
19621 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
19622 (CFLAGS-xnlm_prot.c): Likewise.
19623 (CFLAGS-xrstat.c): Likewise.
19624 (CFLAGS-xyppasswd.c): Likewise.
19625 (CFLAGS-xklm_prot.c): Likewise.
19626 (CFLAGS-xrex.c): Likewise.
19627 (CFLAGS-xsm_inter.c): Likewise.
19628 (CFLAGS-xmount.c): Likewise.
19629 (CFLAGS-xrusers.c): Likewise.
19630 (CFLAGS-xspray.c): Likewise.
19631 (CFLAGS-xnfs_prot.c): Likewise.
19632 (CFLAGS-xrquota.c): Likewise.
19633 (CFLAGS-xkey_prot.c): Likewise.
19634 (CFLAGS-auth_unix.c): Likewise.
19635 (CFLAGS-key_call.c): Likewise.
19636 (CFLAGS-pmap_rmt.c): Likewise.
19637 (CFLAGS-clnt_perr.c): Likewise.
19638 (CFLAGS-openchild.c): Likewise.
19639 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
19640 (CFLAGS-msgsnd.c): Likewise.
19641 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
19642 * time/Makefile (CFLAGS-tzfile.c): Likewise.
19643 (CFLAGS-tzset.c): Likewise.
19644 (CFLAGS-getdate.c): Likewise.
19645 (CFLAGS-test_time.c): Likewise.
19646 (CPPFLAGS-tst-tzname.c): Likewise.
19647 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
19648 (CFLAGS-zic.c): Likewise.
19649 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
19650 (CFLAGS-wcswidth.c): Likewise.
19651 (CFLAGS-wcstol.c): Likewise.
19652 (CFLAGS-wcstoul.c): Likewise.
19653 (CFLAGS-wcstoll.c): Likewise.
19654 (CFLAGS-wcstoull.c): Likewise.
19655 (CFLAGS-wcstod.c): Likewise.
19656 (CFLAGS-wcstold.c): Likewise.
19657 (CFLAGS-wcstof128.c): Likewise.
19658 (CFLAGS-wcstof.c): Likewise.
19659 (CFLAGS-wcstol_l.c): Likewise.
19660 (CFLAGS-wcstoul_l.c): Likewise.
19661 (CFLAGS-wcstoll_l.c): Likewise.
19662 (CFLAGS-wcstoull_l.c): Likewise.
19663 (CFLAGS-wcstod_l.c): Likewise.
19664 (CFLAGS-wcstold_l.c): Likewise.
19665 (CFLAGS-wcstof128_l.c): Likewise.
19666 (CFLAGS-wcstof_l.c): Likewise.
19667 (CPPFLAGS-tst-wchar-h.c): Likewise.
19668 (CPPFLAGS-wcstold_l.c): Likewise.
19670 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
19672 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
19674 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19675 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19677 * manual/tunables.texi (Hardware Capability Tunables): Document
19678 glibc.tune.cached_memopt.
19679 * sysdeps/powerpc/cpu-features.c: New file.
19680 * sysdeps/powerpc/cpu-features.h: New file.
19681 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
19682 _dl_powerpc_cpu_features.
19683 * sysdeps/powerpc/dl-tunables.list: New file.
19684 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
19685 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
19686 (INIT_ARCH): Initialize use_aligned_memopt.
19687 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
19688 IS_IN(rtld))]: Restrict dl_platform_init availability and
19689 initialize CPU features used by tunables.
19690 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
19691 Add memcpy-power8-cached.
19692 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
19693 __memcpy_power8_cached.
19694 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
19695 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
19698 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19700 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
19701 (CFLAGS-noinl-tester.c): Likewise.
19702 (CFLAGS-tst-strlen.c): Likewise.
19703 (CFLAGS-stratcliff.c): Likewise.
19704 (CFLAGS-test-ffs.c): Likewise.
19705 (CFLAGS-tst-inlcall.c): Likewise.
19706 (CFLAGS-tst-xbzero-opt.c): Likewise.
19707 (CFLAGS-memcpy.c): Likewise.
19708 (CFLAGS-wordcopy.c): Likewise.
19710 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19712 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
19713 Store r15 on stack and add cfi rule.
19714 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
19717 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
19720 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
19723 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19725 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19726 Add s_sinf-sse2 and s_sinf-fma.
19727 (CFLAGS-s_sinf-fma.c): New.
19728 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
19729 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
19730 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
19732 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19734 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
19736 2017-12-07 Joseph Myers <joseph@codesourcery.com>
19739 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
19740 part of result to imaginary part of argument if it is zero and the
19741 real part of the argument is not finite.
19742 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
19743 of result to real part of argument if it is zero and the imaginary
19744 part of the argument is not finite.
19746 2017-12-07 Mike FABIAN <mfabian@redhat.com>
19749 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
19750 and to the list of locales to be built for testing.
19751 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
19752 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
19753 and build the collation rules upon that.
19755 2017-12-07 Joseph Myers <joseph@codesourcery.com>
19757 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
19758 * manual/math.texi (Mathematics): Document support for _Float32.
19759 * math/Makefile (test-types): Add float32.
19760 * math/Versions (GLIBC_2.27): Add _Float32 functions.
19761 * stdlib/Versions (GLIBC_2.27): Likewise.
19762 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19763 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19764 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19765 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19766 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19767 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19768 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19769 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19770 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19771 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19772 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19773 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19774 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19775 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19776 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19777 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19778 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19779 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19780 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19781 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19782 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19783 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19785 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19786 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19787 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19788 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19789 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19807 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19808 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19809 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19810 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19811 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19812 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19813 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19814 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19815 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19816 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19817 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19819 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19821 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19823 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19825 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19826 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19827 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19828 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19829 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19830 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19831 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19832 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19834 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19836 * stdlib/strtof.c: Include <bits/floatn.h>
19837 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
19838 and later undefine as macro. Define as weak alias if
19840 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
19841 and later undefine as macro. Define as weak alias if
19843 * stdlib/strtof_l.c: Include <bits/floatn.h>
19844 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
19845 and later undefine as macro. Define as weak alias if
19847 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
19848 and later undefine as macro. Define as weak alias if
19851 * stdlib/strfromf.c: Include <bits/floatn.h>.
19852 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
19853 and later undefine as macro and define as weak alias.
19855 * math/test-float32.h: New file.
19857 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
19858 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
19859 (libm_alias_float_other_r): Create f32 alias.
19860 (libm_alias_float_r): Use semicolon before call to
19861 libm_alias_float_other_r.
19863 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
19864 second argument to libm_alias_float_other.
19865 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
19866 second argument to libm_alias_float_other.
19867 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
19868 argument to libm_alias_float_other.
19871 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
19872 real part of result for argument 0 + i * NaN.
19873 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
19874 results for tests of 0 + i * NaN.
19876 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19878 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19880 2017-12-06 David S. Miller <davem@davemloft.net>
19882 * sysdeps/sparc/fpu/libm-test-ulps: Update
19883 exp_{downward,towardzero,upward} ulps.
19885 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19887 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
19890 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
19892 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
19894 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
19896 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
19899 2017-12-06 Mike FABIAN <mfabian@redhat.com>
19902 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
19903 and to the list of locales to be built for testing.
19904 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
19905 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
19906 and build the collation rules upon that.
19908 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19910 * NEWS: Add sinf to list of optimized functions.
19912 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19914 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
19915 (__HAVE_FLOAT32X): Likewise.
19916 * manual/math.texi (Mathematics): Document support for _Float64
19918 * math/Makefile (test-types): Add float64 and float32x.
19919 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
19921 * stdlib/Versions (GLIBC_2.27): Likewise.
19922 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19923 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19924 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19925 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19926 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19927 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19928 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19929 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19930 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19931 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19932 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19933 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19934 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19935 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19936 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19937 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19938 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19939 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19940 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19941 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19942 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19943 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19945 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19946 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19947 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19948 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19949 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19966 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19967 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19968 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19969 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19970 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19971 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19972 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19973 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19974 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19975 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19976 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19978 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19980 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19982 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19984 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19985 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19986 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19987 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19988 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19989 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19990 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19991 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19993 2017-12-05 Joseph Myers <joseph@codesourcery.com>
19995 * bits/floatn-common.h: Include <bits/long-double.h>.
19996 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19997 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
19998 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19999 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
20000 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20001 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
20002 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20003 (__builtin_huge_valf64): Use __builtin_huge_vall.
20004 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20005 (__builtin_inff64): Use __builtin_infl.
20006 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20007 (__builtin_nanf64): Use __builtin_nanl.
20008 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20009 (__builtin_nansf64): Use __builtin_nansl.
20011 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
20012 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20013 Carlos O'Donnell <carlos@redhat.com>
20015 * elf/dl-tunables.list: Add elision parameters.
20016 * manual/tunables.texi: Add entries about elision tunable.
20017 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
20018 Add callback functions to dynamically enable/disable elision.
20019 Add multiple callbacks functions to set elision parameters.
20020 Deleted __libc_enable_secure check.
20021 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
20022 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
20023 * configure: Regenerated.
20024 * configure.ac: Option enable_lock_elision was deleted.
20025 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
20026 * config.make.in: Remove references to enable_lock_elision.
20027 * manual/install.texi: Elision configure option was removed.
20028 * INSTALL: Regenerated to remove enable_lock_elision.
20030 Disable elision so it can verify error case for destroying a mutex.
20031 * sysdeps/powerpc/nptl/elide.h:
20032 Cleanup ENABLE_LOCK_ELISION check.
20033 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
20034 * sysdeps/s390/configure: Regenerated.
20035 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
20036 * nptl/tst-mutex8.c:
20037 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
20038 * sysdeps/powerpc/powerpc32/sysdep.h:
20039 Deleted all ENABLE_LOCK_ELISION checks.
20040 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20041 * sysdeps/powerpc/sysdep.h: Likewise.
20042 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
20043 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
20044 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20045 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20046 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20047 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
20048 enable-lock-elision.
20050 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20052 * stdlib/strtod.c: Include <bits/floatn.h>.
20053 (BUILD_DOUBLE): New macro.
20054 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20055 (strtof64): Define and later undefine as macro. Define as weak
20056 alias if [!USE_WIDE_CHAR].
20057 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20058 (wcstof64): Define and later undefine as macro. Define as weak
20059 alias if [USE_WIDE_CHAR].
20060 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20061 (strtof32x): Define and later undefine as macro. Define as weak
20062 alias if [!USE_WIDE_CHAR].
20063 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20064 (wcstof32x): Define and later undefine as macro. Define as weak
20065 alias if [USE_WIDE_CHAR].
20066 * stdlib/strtod_l.c: Include <bits/floatn.h>.
20067 (BUILD_DOUBLE): New macro.
20068 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20069 (strtof64_l): Define and later undefine as macro. Define as weak
20070 alias if [!USE_WIDE_CHAR].
20071 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20072 (wcstof64_l): Define and later undefine as macro. Define as weak
20073 alias if [USE_WIDE_CHAR].
20074 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20075 (strtof32x_l): Define and later undefine as macro. Define as weak
20076 alias if [!USE_WIDE_CHAR].
20077 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20078 (wcstof32x_l): Define and later undefine as macro. Define as weak
20079 alias if [USE_WIDE_CHAR].
20081 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20083 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
20084 (reduced): Use ones as double instead of integer.
20086 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
20088 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
20090 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20092 * stdlib/strfromd.c: Include <bits/floatn.h>.
20093 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
20094 and later undefine as macro and define as weak alias.
20095 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
20098 * math/test-float32x.h: New file.
20099 * math/test-float64.h: Likewise.
20101 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
20102 (libm_alias_double_other_r_f64): New macro.
20103 (libm_alias_double_other_r_f32x): Likewise.
20104 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20105 libm_alias_double_other_r_f32x.
20106 (libm_alias_double_r): Use semicolon before call to
20107 libm_alias_double_other_r.
20108 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
20110 (libm_alias_double_other_r_f64): New macro.
20111 (libm_alias_double_other_r_f32x): Likewise.
20112 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20113 libm_alias_double_other_r_f32x.
20115 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
20117 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
20119 (SINF_FUNC): Likewise. Replace floor with simple casts.
20121 2017-12-05 Mike FABIAN <mfabian@redhat.com>
20124 * localedata/Makefile: Add et_EE.UTF-8 to test-input
20125 and to the list of locales to be built for testing.
20126 * localedata/et_EE.UTF-8.in: New file for testing the collation.
20127 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
20128 and build the collation rules upon that.
20130 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
20132 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
20133 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
20134 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
20135 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
20136 instead of __insn__xxx.
20137 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
20138 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
20139 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
20140 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
20141 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
20142 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
20144 2017-12-05 Florian Weimer <fweimer@redhat.com>
20146 Linux: Implement interfaces for memory protection keys
20147 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
20149 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
20150 * support/xunistd.h (xsysconf): Declare.
20151 * support/xraise.c: New file.
20152 * support/xsigaction.c: Likewise.
20153 * support/xsignal.c: Likewise.
20154 * support/xsysconf.c: Likewise.
20155 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
20156 pkey_set, pkey_get, pkey_mprotect.
20157 [misc] (tests): Add tst-pkey.
20158 (tst-pkey): Link with -lpthread.
20159 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
20160 pkey_free, pkey_set, pkey_get, pkey_mprotect.
20161 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
20162 (PKEY_DISABLE_WRITE): Define.
20163 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
20165 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
20166 (SEGV_PKUERR): Add.
20167 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
20168 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
20169 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
20170 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
20172 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
20173 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
20174 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
20175 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
20176 * sysdeps/unix/sysv/linux/**.abilist: Update.
20178 2017-12-05 Florian Weimer <fweimer@redhat.com>
20180 * support/tst-test_compare.c (subprocess): Use long long instead
20181 of long argument for consistent type width across 32-bit and
20182 64-bit architectures.
20183 (do_test): Adjust expected output.
20185 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20187 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
20188 (cosf): Define using libm_alias_float.
20189 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
20190 (fabsf): Define using libm_alias_float.
20191 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
20192 (fmaf): Define using libm_alias_float.
20193 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
20194 (rintf): Define using libm_alias_float.
20195 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
20196 (sinf): Define using libm_alias_float.
20197 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
20198 <libm-alias-float.h>.
20199 (modff): Define using libm_alias_float.
20200 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
20201 <libm-alias-float.h>.
20202 (logbf): Define using libm_alias_float.
20203 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
20204 <libm-alias-float.h>.
20205 (ceilf): Define using libm_alias_float.
20206 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20207 <libm-alias-float.h>.
20208 (copysignf): Define using libm_alias_float.
20209 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
20210 <libm-alias-float.h>.
20211 (floorf): Define using libm_alias_float.
20212 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
20213 <libm-alias-float.h>.
20214 (llrintf): Define using libm_alias_float.
20215 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
20216 <libm-alias-float.h>.
20217 (llroundf): Define using libm_alias_float.
20218 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20219 <libm-alias-float.h>.
20220 (lrintf): Define using libm_alias_float.
20221 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20222 <libm-alias-float.h>.
20223 (lroundf): Define using libm_alias_float.
20224 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
20225 <libm-alias-float.h>.
20226 (nearbyintf): Define using libm_alias_float.
20227 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
20228 <libm-alias-float.h>.
20229 (rintf): Define using libm_alias_float.
20230 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
20231 <libm-alias-float.h>.
20232 (roundf): Define using libm_alias_float.
20233 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
20234 <libm-alias-float.h>.
20235 (truncf): Define using libm_alias_float.
20236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
20237 Include <libm-alias-float.h>.
20238 (ceilf): Define using libm_alias_float.
20239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
20240 Include <libm-alias-float.h>.
20241 (copysignf): Define using libm_alias_float.
20242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
20243 Include <libm-alias-float.h>.
20244 (floorf): Define using libm_alias_float.
20245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
20246 Include <libm-alias-float.h>.
20247 (llrintf): Define using libm_alias_float.
20248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
20249 Include <libm-alias-float.h>.
20250 (llroundf): Define using libm_alias_float.
20251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
20252 Include <libm-alias-float.h>.
20253 (logbf): Define using libm_alias_float.
20254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
20255 Include <libm-alias-float.h>.
20256 (lrintf): Define using libm_alias_float.
20257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
20258 Include <libm-alias-float.h>.
20259 (lroundf): Define using libm_alias_float.
20260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
20261 Include <libm-alias-float.h>.
20262 (modff): Define using libm_alias_float.
20263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
20264 Include <libm-alias-float.h>.
20265 (roundf): Define using libm_alias_float.
20266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
20267 Include <libm-alias-float.h>.
20268 (truncf): Define using libm_alias_float.
20269 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
20270 <libm-alias-float.h>.
20271 (llrintf): Define using libm_alias_float.
20272 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20273 <libm-alias-float.h>.
20274 (llroundf): Define using libm_alias_float.
20275 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
20276 <libm-alias-float.h>.
20277 (ceilf): Define using libm_alias_float.
20278 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
20279 <libm-alias-float.h>.
20280 (floorf): Define using libm_alias_float.
20281 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20282 <libm-alias-float.h>.
20283 (llroundf): Define using libm_alias_float.
20284 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20285 <libm-alias-float.h>.
20286 (lroundf): Define using libm_alias_float.
20287 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
20288 <libm-alias-float.h>.
20289 (roundf): Define using libm_alias_float.
20290 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
20291 <libm-alias-float.h>.
20292 (truncf): Define using libm_alias_float.
20293 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20294 <libm-alias-float.h>.
20295 (copysignf): Define using libm_alias_float.
20296 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
20297 <libm-alias-float.h>.
20298 (llrintf): Define using libm_alias_float.
20299 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20300 <libm-alias-float.h>.
20301 (llroundf): Define using libm_alias_float.
20302 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20303 <libm-alias-float.h>.
20304 (lrintf): Define using libm_alias_float.
20305 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20306 <libm-alias-float.h>.
20307 (lroundf): Define using libm_alias_float.
20308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
20309 <libm-alias-float.h>.
20310 (ceilf): Define using libm_alias_float.
20311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
20312 <libm-alias-float.h>.
20313 (copysignf): Define using libm_alias_float.
20314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
20315 <libm-alias-float.h>.
20316 (cosf): Define using libm_alias_float.
20317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
20318 <libm-alias-float.h>.
20319 (floorf): Define using libm_alias_float.
20320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
20321 <libm-alias-float.h>.
20322 (llrintf): Define using libm_alias_float.
20323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
20324 <libm-alias-float.h>.
20325 (llroundf): Define using libm_alias_float.
20326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
20327 <libm-alias-float.h>.
20328 (logbf): Define using libm_alias_float.
20329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
20330 <libm-alias-float.h>.
20331 (modff): Define using libm_alias_float.
20332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
20333 <libm-alias-float.h>.
20334 (roundf): Define using libm_alias_float.
20335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
20336 <libm-alias-float.h>.
20337 (sinf): Define using libm_alias_float.
20338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
20339 <libm-alias-float.h>.
20340 (truncf): Define using libm_alias_float.
20341 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
20342 <libm-alias-float.h>.
20343 (ceilf): Define using libm_alias_float.
20344 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20345 <libm-alias-float.h>.
20346 (copysignf): Define using libm_alias_float.
20347 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
20348 <libm-alias-float.h>.
20349 (floorf): Define using libm_alias_float.
20350 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20351 <libm-alias-float.h>.
20352 (llrintf): Define using libm_alias_float.
20353 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
20354 <libm-alias-float.h>.
20355 (llroundf): Define using libm_alias_float.
20356 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
20357 <libm-alias-float.h>.
20358 (nearbyintf): Define using libm_alias_float.
20359 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
20360 <libm-alias-float.h>.
20361 (rintf): Define using libm_alias_float.
20362 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
20363 <libm-alias-float.h>.
20364 (roundf): Define using libm_alias_float.
20365 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
20366 <libm-alias-float.h>.
20367 (truncf): Define using libm_alias_float.
20368 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
20369 <libm-alias-float.h>.
20370 (ceilf): Define using libm_alias_float.
20371 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
20372 <libm-alias-float.h>.
20373 (floorf): Define using libm_alias_float.
20374 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20375 <libm-alias-float.h>.
20376 (llroundf): Define using libm_alias_float.
20377 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
20378 <libm-alias-float.h>.
20379 (roundf): Define using libm_alias_float.
20380 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
20381 <libm-alias-float.h>.
20382 (truncf): Define using libm_alias_float.
20383 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20384 <libm-alias-float.h>.
20385 (copysignf): Define using libm_alias_float.
20386 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20387 <libm-alias-float.h>.
20388 (llrintf): Define using libm_alias_float.
20389 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20390 <libm-alias-float.h>.
20391 (llroundf): Define using libm_alias_float.
20392 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
20393 <libm-alias-float.h>.
20394 (cosf): Define using libm_alias_float.
20395 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20396 <libm-alias-float.h>.
20397 (llrintf): Define using libm_alias_float.
20398 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20399 <libm-alias-float.h>.
20400 (llroundf): Define using libm_alias_float.
20401 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
20402 <libm-alias-float.h>.
20403 (sinf): Define using libm_alias_float.
20405 2017-12-04 Florian Weimer <fweimer@redhat.com>
20407 * support/check.h (TEST_COMPARE): Define.
20408 (support_test_compare_failure): Declare.
20409 * support/Makefile (libsupport-routines): Add
20410 support_test_compare_failure.
20411 (tests): Add tst-test_compare.
20412 * support /support_test_compare_failure.c: New file.
20413 * support/tst-test_compare.c: Likewise.
20415 2017-12-04 Mike FABIAN <mfabian@redhat.com>
20418 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
20419 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
20420 available, this rewrite of the collation rules does reproduce
20421 the test file in the same order.
20423 2017-12-04 Mike FABIAN <mfabian@redhat.com>
20426 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
20427 digraphs in the month and day names. Using single code points for
20428 digraphs is deprecated. While there are dedicated Unicode
20429 codepoints, for the digraphs, these are included for backwards
20430 compatibility and modern texts use a sequence of Basic Latin
20431 characters. See: https://www.unicode.org/faq/ligature_digraph.html
20432 This makes the month and day names agree exactly with CLDR now,
20433 CLDR does not use the single code points for the digraphs either.
20435 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
20437 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
20439 2017-12-04 Joseph Myers <joseph@codesourcery.com>
20441 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
20444 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
20446 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
20447 Define only for libc.so.
20449 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
20451 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20452 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
20453 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
20454 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
20455 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20457 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20460 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
20462 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
20465 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
20466 PREINIT_FUNCTION_WEAK is nonzero.
20467 (gmon_initializer): New function. Put procedure label for it in
20468 .init_array section.
20469 (_init): Don't call PREINIT_FUNCTION.
20470 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
20471 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
20472 value when map argument is null.
20474 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
20475 depi instruction from PIC pc-relative sequence.
20476 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
20477 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
20478 (elf_machine_load_address): Likewise.
20479 (elf_machine_runtime_setup): Likewise.
20481 2017-12-02 Joseph Myers <joseph@codesourcery.com>
20483 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
20484 <libm-alias-double.h>.
20485 (logb): Define using libm_alias_double.
20486 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20487 <libm-alias-double.h>.
20488 (copysign): Define using libm_alias_double.
20489 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
20490 <libm-alias-double.h>.
20491 (llrint): Define using libm_alias_double.
20492 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
20493 <libm-alias-double.h>.
20494 (llround): Define using libm_alias_double.
20495 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20496 <libm-alias-double.h>.
20497 (lrint): Define using libm_alias_double.
20498 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20499 <libm-alias-double.h>.
20500 (lround): Define using libm_alias_double.
20501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
20502 Include <libm-alias-double.h>.
20503 (copysign): Define using libm_alias_double.
20504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
20505 Include <libm-alias-double.h>.
20506 (llrint): Define using libm_alias_double.
20507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
20508 Include <libm-alias-double.h>.
20509 (llround): Define using libm_alias_double.
20510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
20511 <libm-alias-double.h>.
20512 (logb): Define using libm_alias_double.
20513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
20514 Include <libm-alias-double.h>.
20515 (lrint): Define using libm_alias_double.
20516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
20517 Include <libm-alias-double.h>.
20518 (lround): Define using libm_alias_double.
20519 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
20520 <libm-alias-double.h>.
20521 (llrint): Define using libm_alias_double.
20522 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20523 <libm-alias-double.h>.
20524 (llround): Define using libm_alias_double.
20525 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20526 <libm-alias-double.h>.
20527 (llround): Define using libm_alias_double.
20528 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20529 <libm-alias-double.h>.
20530 (lround): Define using libm_alias_double.
20531 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20532 <libm-alias-double.h>.
20533 (copysign): Define using libm_alias_double.
20534 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
20535 <libm-alias-double.h>.
20536 (llrint): Define using libm_alias_double.
20537 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20538 <libm-alias-double.h>.
20539 (llround): Define using libm_alias_double.
20540 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20541 <libm-alias-double.h>.
20542 (lrint): Define using libm_alias_double.
20543 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20544 <libm-alias-double.h>.
20545 (lround): Define using libm_alias_double.
20546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
20547 <libm-alias-double.h>.
20548 (copysign): Define using libm_alias_double.
20549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
20550 <libm-alias-double.h>.
20551 (llrint): Define using libm_alias_double.
20553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
20554 <libm-alias-double.h>.
20555 (llround): Define using libm_alias_double.
20556 (lround): Likewise.
20557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
20558 <libm-alias-double.h>.
20559 (logb): Define using libm_alias_double.
20560 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20561 <libm-alias-double.h>.
20562 (copysign): Define using libm_alias_double.
20563 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20564 <libm-alias-double.h>.
20565 (llrint): Define using libm_alias_double.
20567 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
20568 <libm-alias-double.h>.
20569 (llround): Define using libm_alias_double.
20570 (lround): Likewise.
20571 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20572 <libm-alias-double.h>.
20573 (llround): Define using libm_alias_double.
20574 (lround): Likewise.
20575 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20576 <libm-alias-double.h>.
20577 (copysign): Define using libm_alias_double.
20578 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20579 <libm-alias-double.h>.
20580 (llrint): Define using libm_alias_double.
20582 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20583 <libm-alias-double.h>.
20584 (llround): Define using libm_alias_double.
20585 (lround): Likewise.
20586 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20587 <libm-alias-double.h>.
20588 (llrint): Define using libm_alias_double.
20590 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20591 <libm-alias-double.h>.
20592 (llround): Define using libm_alias_double.
20593 (lround): Likewise.
20595 2017-12-01 Joseph Myers <joseph@codesourcery.com>
20597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
20598 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
20599 compat symbol based on llround.
20601 * sysdeps/powerpc/power7/fpu/s_logb.c
20602 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
20603 symbol based on __logb, not on logb.
20604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
20605 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
20607 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20609 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
20610 (rint): Define using libm_alias_double.
20611 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
20612 <libm-alias-double.h>.
20613 (modf): Define using libm_alias_double.
20614 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
20615 <libm-alias-double.h>.
20616 (ceil): Define using libm_alias_double.
20617 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
20618 <libm-alias-double.h>.
20619 (floor): Define using libm_alias_double.
20620 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
20621 <libm-alias-double.h>.
20622 (nearbyint): Define using libm_alias_double.
20623 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
20624 <libm-alias-double.h>.
20625 (rint): Define using libm_alias_double.
20626 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
20627 <libm-alias-double.h>.
20628 (round): Define using libm_alias_double.
20629 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
20630 <libm-alias-double.h>.
20631 (trunc): Define using libm_alias_double.
20632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
20633 <libm-alias-double.h>.
20634 (ceil): Define using libm_alias_double.
20635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
20636 Include <libm-alias-double.h>.
20637 (floor): Define using libm_alias_double.
20638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
20639 <libm-alias-double.h>.
20640 (modf): Define using libm_alias_double.
20641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
20642 Include <libm-alias-double.h>.
20643 (round): Define using libm_alias_double.
20644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
20645 Include <libm-alias-double.h>.
20646 (trunc): Define using libm_alias_double.
20647 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
20648 <libm-alias-double.h>.
20649 (ceil): Define using libm_alias_double.
20650 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
20651 <libm-alias-double.h>.
20652 (floor): Define using libm_alias_double.
20653 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
20654 <libm-alias-double.h>.
20655 (round): Define using libm_alias_double.
20656 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
20657 <libm-alias-double.h>.
20658 (trunc): Define using libm_alias_double.
20659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
20660 <libm-alias-double.h>.
20661 (ceil): Define using libm_alias_double.
20662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
20663 <libm-alias-double.h>.
20664 (floor): Define using libm_alias_double.
20665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
20666 <libm-alias-double.h>.
20667 (modf): Define using libm_alias_double.
20668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
20669 <libm-alias-double.h>.
20670 (round): Define using libm_alias_double.
20671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
20672 <libm-alias-double.h>.
20673 (trunc): Define using libm_alias_double.
20674 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
20675 <libm-alias-double.h>.
20676 (ceil): Define using libm_alias_double.
20677 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
20678 <libm-alias-double.h>.
20679 (floor): Define using libm_alias_double.
20680 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
20681 <libm-alias-double.h>.
20682 (nearbyint): Define using libm_alias_double.
20683 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
20684 <libm-alias-double.h>.
20685 (rint): Define using libm_alias_double.
20686 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
20687 <libm-alias-double.h>.
20688 (round): Define using libm_alias_double.
20689 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
20690 <libm-alias-double.h>.
20691 (trunc): Define using libm_alias_double.
20692 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
20693 <libm-alias-double.h>.
20694 (ceil): Define using libm_alias_double.
20695 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
20696 <libm-alias-double.h>.
20697 (floor): Define using libm_alias_double.
20698 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
20699 <libm-alias-double.h>.
20700 (round): Define using libm_alias_double.
20701 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
20702 <libm-alias-double.h>.
20703 (trunc): Define using libm_alias_double.
20705 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
20706 (fabs): Define using libm_alias_double.
20707 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
20708 (fma): Define using libm_alias_double.
20709 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
20710 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
20711 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
20712 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
20714 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20716 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
20718 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
20719 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
20720 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
20722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
20723 due redirect macro.
20725 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
20727 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
20729 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20731 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
20732 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
20733 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
20734 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
20736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20737 (libm-sysdep_routines): Add s_nearbyintf-generic and
20738 s_nearbyint-generic.
20739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
20741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
20742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
20744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
20746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
20748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
20751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20752 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
20753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
20755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
20756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
20758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
20759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
20760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
20762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20763 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
20764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
20766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
20767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
20769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
20770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
20771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
20773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20774 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
20775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
20777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
20778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
20780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
20781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
20782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
20784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20785 (sysdep_calls): New rule.
20786 (sysdep_routines): Use sysdep_calls as base.
20787 (libm-sysdep_routines): Add generic rule for symbols shared with
20788 libc. Add s_copysign-generic and s_copysign-generic objects.
20789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
20791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
20792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
20794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
20795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
20796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
20798 2017-12-01 Mike FABIAN <mfabian@redhat.com>
20801 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
20802 the list of locales to be built for testing.
20803 * localedata/is_IS.UTF-8.in: New file.
20804 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
20807 2017-12-01 Joseph Myers <joseph@codesourcery.com>
20809 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
20810 <libm-alias-float.h>.
20811 (fabsf): Define using libm_alias_float.
20813 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
20815 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
20817 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20819 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
20820 <libm-alias-float.h>.
20821 (fabsf): Define using libm_alias_float.
20822 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
20823 <libm-alias-float.h>.
20824 (lrintf): Define using libm_alias_float.
20825 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
20826 <libm-alias-float.h>.
20827 (rintf): Define using libm_alias_float.
20829 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
20830 <libm-alias-double.h>.
20831 (fabs): Define using libm_alias_double.
20832 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
20833 <libm-alias-double.h>.
20834 (lrint): Define using libm_alias_double.
20835 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
20836 <libm-alias-double.h>.
20837 (rint): Define using libm_alias_double.
20839 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
20840 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
20841 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
20842 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
20843 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
20844 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
20845 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
20846 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
20847 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
20848 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
20849 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
20850 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
20851 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
20852 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
20853 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
20854 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
20855 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
20856 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
20858 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
20859 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
20860 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
20862 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
20863 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
20864 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
20866 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
20867 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
20868 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
20869 s_expm1_template.c.
20870 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
20871 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
20872 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
20874 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
20875 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
20876 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
20877 s_floor_template.c.
20878 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
20879 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
20880 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
20881 s_frexp_template.c.
20882 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
20883 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
20884 s_lrint_template.c.
20885 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
20886 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
20887 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
20889 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
20890 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
20891 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
20892 s_nearbyint_template.c.
20893 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
20894 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
20895 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
20896 s_remquo_template.c.
20897 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
20898 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
20899 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
20901 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
20902 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
20903 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
20905 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
20906 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
20907 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
20908 s_sincos_template.c.
20909 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
20910 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
20911 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
20913 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
20914 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
20915 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
20917 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
20918 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
20919 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
20920 s_trunc_template.c.
20921 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
20922 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
20923 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
20924 s_atan.c instead of including s_atan.c.
20925 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
20926 s_atanf.c instead of including s_atanf.c.
20927 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
20928 s_atanl.c instead of including s_atanl.c.
20929 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
20930 instead of s_atan.c.
20931 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
20932 instead of s_atanf.c.
20933 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
20934 instead of s_atanl.c.
20936 * scripts/update-copyrights: Do not handle intl/plural.c
20939 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
20942 * configure.ac (BISON): Require to be present.
20943 * configure: Regenerated.
20944 * intl/Makefile (generated): Add plural.c.
20945 [$(BISON) != no]: Make code unconditional.
20946 (plural.c): Change rule to $(objpfx)plural.c.
20947 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
20948 * intl/plural.c: Remove.
20949 * manual/install.texi (Tools for Compilation): Document bison as
20951 * INSTALL: Regenerated.
20953 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20955 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
20956 <libm-alias-double.h>.
20957 (llrint): Define using libm_alias_double.
20958 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
20959 <libm-alias-float.h>.
20960 (llrintf): Define using libm_alias_float.
20961 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
20962 <libm-alias-ldouble.h>.
20963 (llrintl): Define using libm_alias_ldouble.
20965 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
20966 declare_mgen_alias instead of weak_alias.
20967 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
20968 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
20969 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
20971 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20973 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20975 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
20976 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
20977 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
20979 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20980 Add submul_1-generic.
20981 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
20982 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
20983 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
20985 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20986 Add addmul_1-generic.
20987 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
20988 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
20989 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
20991 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20993 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
20994 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
20995 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
20997 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20999 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
21000 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
21001 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
21003 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21005 According to CLDR, collation rules for Serbian and Bosnian
21006 should be the same as for Croatian.
21009 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
21010 and to the list of locales to be built for testing.
21011 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
21012 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
21013 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
21014 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
21016 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21018 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
21019 to make test case pass.
21020 * localedata/hr_HR.UTF-8.in: Add more test strings.
21022 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21024 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
21026 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
21028 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
21029 the list of locales to built for testing.
21030 * localedata/hr_HR.UTF-8.in: New file.
21032 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
21035 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
21037 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
21038 CLDR (except use ligatures for the digraphs, CLDR does not use
21039 the ligatures), add first_workday, some fixes in the date and time
21041 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
21043 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
21044 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
21045 Add int_p_cs_precedes and int_n_cs_precedes.
21046 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
21047 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
21049 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
21050 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
21052 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
21053 and lang_lib. Change postal_fmt.
21055 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
21057 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
21059 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21060 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
21061 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21062 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
21063 * sysdeps/generic/setjmpP.h: New file.
21064 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
21065 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
21066 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
21067 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
21068 Add jmp_buf-ssp.sym.
21069 (tests): Add tst-saved_mask-1.
21071 2017-11-30 Arjun Shankar <arjun@redhat.com>
21075 * malloc/malloc.c (__libc_malloc): Use checked_request2size
21076 instead of request2size.
21078 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
21081 (__lllrint): Remove alias.
21082 (lllrint): Likewise.
21083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
21084 (__lllrintf): Likewise.
21085 (lllrintf): Likewise.
21087 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
21088 <libm-alias-float.h>.
21089 (copysignf): Define using libm_alias_float.
21090 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
21091 <libm-alias-float.h>.
21092 (fabsf): Define using libm_alias_float.
21093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21094 Include <libm-alias-float.h>.
21095 (copysignf): Define using libm_alias_float.
21096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
21097 <libm-alias-float.h>.
21098 (fabsf): Define using libm_alias_float.
21099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
21100 <libm-alias-float.h>.
21101 (fdimf): Define using libm_alias_float.
21102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
21103 <libm-alias-float.h>.
21104 (fmaf): Define using libm_alias_float.
21105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
21106 <libm-alias-float.h>.
21107 (llrintf): Define using libm_alias_float.
21108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
21109 Include <libm-alias-float.h>.
21110 (nearbyintf): Define using libm_alias_float.
21111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
21112 <libm-alias-float.h>.
21113 (rintf): Define using libm_alias_float.
21114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
21115 <libm-alias-float.h>.
21116 (llrintf): Define using libm_alias_float.
21117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
21118 <libm-alias-float.h>.
21119 (lrintf): Define using libm_alias_float.
21120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
21121 <libm-alias-float.h>.
21122 (nearbyintf): Define using libm_alias_float.
21123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
21124 <libm-alias-float.h>.
21125 (rintf): Define using libm_alias_float.
21126 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
21127 <libm-alias-float.h>.
21128 (ceilf): Define using libm_alias_float.
21129 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
21130 <libm-alias-float.h>.
21131 (floorf): Define using libm_alias_float.
21132 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
21133 <libm-alias-float.h>.
21134 (fmaf): Define using libm_alias_float.
21135 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
21136 <libm-alias-float.h>.
21137 (lrintf): Define using libm_alias_float.
21138 (llrintf): Likewise.
21139 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
21140 <libm-alias-float.h>.
21141 (nearbyintf): Define using libm_alias_float.
21142 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
21143 <libm-alias-float.h>.
21144 (rintf): Define using libm_alias_float.
21145 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
21146 <libm-alias-float.h>.
21147 (truncf): Define using libm_alias_float.
21148 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
21149 <libm-alias-float.h>.
21150 (copysignf): Define using libm_alias_float.
21151 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
21152 <libm-alias-float.h>.
21153 (fabsf): Define using libm_alias_float.
21154 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
21155 <libm-alias-float.h>.
21156 (lrintf): Define using libm_alias_float.
21157 (llrintf): Likewise.
21158 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
21159 <libm-alias-float.h>.
21160 (nearbyintf): Define using libm_alias_float.
21161 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
21162 <libm-alias-float.h>.
21163 (rintf): Define using libm_alias_float.
21165 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21167 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
21168 <libm-alias-double.h>.
21169 (copysign): Define using libm_alias_double.
21170 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
21171 <libm-alias-double.h>.
21172 (fabs): Define using libm_alias_double.
21173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21174 Include <libm-alias-double.h>.
21175 (copysign): Define using libm_alias_double.
21176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
21177 <libm-alias-double.h>.
21178 (fabs): Define using libm_alias_double.
21179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
21180 <libm-alias-double.h>.
21181 (fdim): Define using libm_alias_double.
21182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
21183 <libm-alias-double.h>.
21184 (fma): Define using libm_alias_double.
21185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
21186 <libm-alias-double.h>.
21187 (llrint): Define using libm_alias_double.
21188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
21189 Include <libm-alias-double.h>.
21190 (nearbyint): Define using libm_alias_double.
21191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
21192 <libm-alias-double.h>.
21193 (rint): Define using libm_alias_double.
21194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
21195 <libm-alias-double.h>.
21196 (fabs): Define using libm_alias_double.
21197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
21198 <libm-alias-double.h>.
21199 (llrint): Define using libm_alias_double.
21200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
21201 <libm-alias-double.h>.
21202 (nearbyint): Define using libm_alias_double.
21203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
21204 <libm-alias-double.h>.
21205 (rint): Define using libm_alias_double.
21206 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
21207 <libm-alias-double.h>.
21208 (ceil): Define using libm_alias_double.
21209 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
21210 <libm-alias-double.h>.
21211 (floor): Define using libm_alias_double.
21212 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
21213 <libm-alias-double.h>.
21214 (fma): Define using libm_alias_double.
21215 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
21216 <libm-alias-double.h>.
21217 (lrint): Define using libm_alias_double.
21218 (llrint): Likewise.
21219 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
21220 <libm-alias-double.h>.
21221 (nearbyint): Define using libm_alias_double.
21222 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
21223 <libm-alias-double.h>.
21224 (rint): Define using libm_alias_double.
21225 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
21226 <libm-alias-double.h>.
21227 (trunc): Define using libm_alias_double.
21228 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
21229 <libm-alias-double.h>.
21230 (copysign): Define using libm_alias_double.
21231 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
21232 <libm-alias-double.h>.
21233 (fabs): Define using libm_alias_double.
21234 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
21235 <libm-alias-double.h>.
21236 (lrint): Define using libm_alias_double.
21237 (llrint): Likewise.
21238 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
21239 <libm-alias-double.h>.
21240 (nearbyint): Define using libm_alias_double.
21241 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
21242 <libm-alias-double.h>.
21243 (rint): Define using libm_alias_double.
21246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
21248 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
21250 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21251 SPARC --disable-multi-arch glibc variants.
21253 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
21254 <libm-alias-float.h>.
21255 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21257 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
21258 <libm-alias-float.h>.
21259 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21261 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
21262 <libm-alias-float.h>.
21263 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21265 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
21266 <libm-alias-float.h>.
21267 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21269 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
21270 <libm-alias-float.h>.
21271 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21273 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
21274 <libm-alias-float.h>.
21275 (ceilf): Define using libm_alias_float.
21276 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
21277 <libm-alias-float.h>.
21278 (floorf): Define using libm_alias_float.
21279 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
21280 <libm-alias-float.h>.
21281 (fmaf): Define using libm_alias_float.
21282 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
21283 <libm-alias-float.h>.
21284 (nearbyintf): Define using libm_alias_float.
21285 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
21286 <libm-alias-float.h>.
21287 (rintf): Define using libm_alias_float.
21288 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
21289 <libm-alias-float.h>.
21290 (truncf): Define using libm_alias_float.
21291 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21292 (copysignf): Define using libm_alias_float.
21293 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
21294 (cosf): Define using libm_alias_float.
21295 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21296 (fabsf): Define using libm_alias_float.
21297 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21298 (fmaxf): Define using libm_alias_float.
21299 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
21300 (fminf): Define using libm_alias_float.
21301 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21302 (llrintf): Define using libm_alias_float.
21303 [!__ILP32__] (lrintf): Likewise.
21304 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
21305 (sincosf): Define using libm_alias_float.
21306 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
21307 (sinf): Define using libm_alias_float.
21308 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21309 (lrintf): Define using libm_alias_float.
21311 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
21312 <libm-alias-double.h>.
21313 (atan): Define using libm_alias_double.
21314 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
21315 <libm-alias-double.h>.
21316 (ceil): Define using libm_alias_double.
21317 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
21318 <libm-alias-double.h>.
21319 (floor): Define using libm_alias_double.
21320 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
21321 <libm-alias-double.h>.
21322 (fma): Define using libm_alias_double.
21323 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
21324 <libm-alias-double.h>.
21325 (nearbyint): Define using libm_alias_double.
21326 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
21327 <libm-alias-double.h>.
21328 (rint): Define using libm_alias_double.
21329 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
21330 <libm-alias-double.h>.
21331 (sin): Define using libm_alias_double.
21333 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
21334 <libm-alias-double.h>.
21335 (tan): Define using libm_alias_double.
21336 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
21337 <libm-alias-double.h>.
21338 (trunc): Define using libm_alias_double.
21339 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
21340 (copysign): Define using libm_alias_double.
21341 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
21342 (fabs): Define using libm_alias_double.
21343 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
21344 (fmax): Define using libm_alias_double.
21345 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
21346 (fmin): Define using libm_alias_double.
21347 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
21348 (llrint): Define using libm_alias_double.
21349 [!__ILP32__] (lrint): Likewise.
21350 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
21351 (lrint): Define using libm_alias_double.
21353 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21355 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21356 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
21358 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
21359 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
21360 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
21361 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
21362 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
21363 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21365 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21366 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
21368 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
21369 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
21370 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
21371 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
21372 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
21373 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21375 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21376 (libm-sysdep_routines): Add s_nearbyint-generic and
21377 s_nearbyintf-generic objects.
21378 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
21379 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
21380 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
21381 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
21382 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
21383 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
21385 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21386 Add s_finitef-generic and s_finite-generic objects.
21387 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
21388 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
21389 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
21390 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
21391 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
21392 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
21394 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21395 Add s_isinff-generic and s_isinf-generic objects.
21396 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
21397 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
21398 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
21399 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
21400 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
21401 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21403 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21404 Add s_isnanf-generic and s_isnan-generic objects.
21405 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
21406 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
21407 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
21408 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
21409 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
21410 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21412 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
21414 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
21416 (sysdep_routines): Use sysdep_calls as base.
21417 (libm-sysdep_routines): Add generic rule for symbols shared with
21418 libc. Add s_signbit-generic and s_signbitf-generic objects.
21419 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
21420 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
21421 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
21422 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
21423 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
21424 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21426 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21428 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
21429 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
21430 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
21431 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
21432 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
21433 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
21434 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
21435 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
21436 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
21437 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
21438 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
21439 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
21440 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
21441 libm_alias_float_r.
21442 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
21443 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
21445 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
21446 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
21447 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
21448 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
21449 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
21450 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
21451 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
21452 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
21453 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
21454 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
21456 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
21458 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
21459 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
21460 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
21461 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
21462 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
21463 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
21464 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
21465 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
21466 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
21467 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
21468 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
21469 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
21470 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
21471 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
21472 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
21473 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
21474 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
21475 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
21476 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
21478 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
21479 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
21480 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
21481 * sysdeps/ia64/fpu/w_lgammaf_main.c
21482 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
21483 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
21485 2017-11-28 Mike FABIAN <mfabian@redhat.com>
21486 Alexandre Oliva <aoliva@redhat.com>
21489 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
21490 * localedata/fr_CA.UTF-8.in: New file with test data for backward
21492 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
21494 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
21495 * localedata/locales/de_DE (LC_COLLATE): Likewise.
21496 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
21497 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
21498 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
21499 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
21500 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
21501 instead of “ifdef DIACRIT_BACKWARD”.
21503 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21505 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
21506 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
21507 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
21508 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
21509 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
21510 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
21511 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
21512 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
21513 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
21514 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
21515 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
21516 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
21517 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
21518 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
21519 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
21520 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21521 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
21522 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
21523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21524 ($(have-as-vis3) == yes): Remove conditional.
21525 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
21527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
21529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
21531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
21533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
21535 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
21536 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
21537 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
21538 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
21539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
21540 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
21541 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
21542 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
21544 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21546 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
21547 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
21548 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
21549 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
21550 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
21551 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
21552 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
21553 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
21554 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
21555 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
21556 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
21557 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
21558 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
21559 libm_alias_double_r.
21560 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
21562 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
21563 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
21564 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
21565 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
21566 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
21567 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
21568 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
21569 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
21570 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
21571 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
21572 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
21574 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
21576 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
21577 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
21578 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
21579 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
21580 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
21581 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
21582 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
21583 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
21584 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
21585 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
21586 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
21587 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
21588 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
21589 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
21590 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
21591 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
21592 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
21593 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
21595 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
21596 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
21597 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
21598 * sysdeps/ia64/fpu/w_lgamma_main.c
21599 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
21600 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
21602 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
21604 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
21605 address of $global$ into %dp register earlier. Use pc-relative
21606 instruction sequence for PIC case.
21608 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21610 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
21611 (asinhf): Define using libm_alias_float.
21612 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
21613 (atanf): Define using libm_alias_float.
21614 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
21615 (cbrtf): Define using libm_alias_float.
21616 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
21617 (ceilf): Define using libm_alias_float.
21618 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21619 (copysignf): Define using libm_alias_float.
21620 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
21621 (expm1f): Define using libm_alias_float.
21622 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
21623 (fabsf): Define using libm_alias_float.
21624 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
21625 (floorf): Define using libm_alias_float.
21626 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21627 (fmaxf): Define using libm_alias_float.
21628 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
21629 (fminf): Define using libm_alias_float.
21630 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
21631 (frexpf): Define using libm_alias_float.
21632 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21633 (llrintf): Define using libm_alias_float.
21634 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
21635 (logbf): Define using libm_alias_float.
21636 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21637 (lrintf): Define using libm_alias_float.
21638 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
21639 (nearbyintf): Define using libm_alias_float.
21640 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
21641 (remquof): Define using libm_alias_float.
21642 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
21643 (rintf): Define using libm_alias_float.
21644 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
21645 (truncf): Define using libm_alias_float.
21646 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
21647 <libm-alias-float.h>.
21648 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21650 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
21651 <libm-alias-float.h>.
21652 (expf): Define using libm_alias_float, or libm_alias_float_other
21654 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
21655 <libm-alias-float.h>.
21656 (log2f): Define using libm_alias_float, or libm_alias_float_other
21658 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
21659 <libm-alias-float.h>.
21660 (logf): Define using libm_alias_float, or libm_alias_float_other
21662 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
21663 <libm-alias-float.h>.
21664 (powf): Define using libm_alias_float, or libm_alias_float_other
21666 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
21667 <libm-alias-float.h>.
21668 (cosf): Define using libm_alias_float.
21669 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
21670 <libm-alias-float.h>.
21671 (sincosf): Define using libm_alias_float.
21672 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
21673 <libm-alias-float.h>.
21674 (sinf): Define using libm_alias_float.
21675 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21676 (fmaxf): Define using libm_alias_float.
21677 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
21678 (fminf): Define using libm_alias_float.
21679 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21680 <libm-alias-float.h>.
21681 (fmaf): Define using libm_alias_float.
21683 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
21684 (asinh): Define using libm_alias_double.
21685 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
21686 (atan): Define using libm_alias_double.
21687 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
21688 (cbrt): Define using libm_alias_double.
21689 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
21690 (ceil): Define using libm_alias_double.
21691 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
21692 (copysign): Define using libm_alias_double.
21693 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
21694 (expm1): Define using libm_alias_double.
21695 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
21696 (fabs): Define using libm_alias_double.
21697 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
21698 (fdim): Define using libm_alias_double.
21699 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
21700 (floor): Define using libm_alias_double.
21701 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
21702 (fmax): Define using libm_alias_double.
21703 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
21704 (fmin): Define using libm_alias_double.
21705 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
21706 (frexp): Define using libm_alias_double.
21707 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
21708 (llrint): Define using libm_alias_double.
21709 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
21710 (logb): Define using libm_alias_double.
21711 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
21712 (lrint): Define using libm_alias_double.
21713 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
21714 (nearbyint): Define using libm_alias_double.
21715 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
21716 (remquo): Define using libm_alias_double.
21717 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
21718 (rint): Define using libm_alias_double.
21719 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
21720 (trunc): Define using libm_alias_double.
21721 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
21722 (fmax): Define using libm_alias_double.
21723 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
21724 (fmin): Define using libm_alias_double.
21725 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
21726 (fma): Define using libm_alias_double.
21728 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
21731 * elf/dl-hwcaps.c (ROUND): Removed.
21732 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
21733 and ELF_NOTE_NEXT_OFFSET.
21734 * elf/dl-load.c (ROUND): Removed.
21735 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21736 * elf/readelflib.c (ROUND): Removed.
21737 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21738 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
21739 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
21740 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
21742 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21744 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21745 [!__fmaf] (fmaf): Define using libm_alias_float.
21747 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
21748 [!__fma] (fma): Define using libm_alias_double.
21749 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
21751 2017-11-28 Mike FABIAN <mfabian@redhat.com>
21754 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
21755 and implement the collation rules for cs from CLDR on top of that.
21756 * Makefile: Add cs_CZ.UTF-8 to test-input.
21757 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
21759 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
21761 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
21763 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21764 Icarus Sparry <icarus.w.sparry@intel.com>
21766 * benchtests/Makefile:Add BENCHSET to allow subsets of
21767 benchmarks to be run.
21768 * benchtests/README: Add documentation for: Running subsets of
21771 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21773 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
21774 range of tests names.
21776 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
21777 result from property and remove "max", min" and "mean" from
21778 required properties based on benchtests/bench-skeleton.c.
21780 2017-11-28 Florian Weimer <fweimer@redhat.com>
21783 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
21784 due to Internet requirement.
21785 * posix/Makefile (tests): Remove tst-getaddrinfo4,
21787 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
21789 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21791 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21792 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
21793 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21794 (sysdep_routines): Add memset-ultra1.
21795 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
21797 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
21798 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
21799 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
21800 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
21801 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
21802 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
21803 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
21804 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21806 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
21808 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
21809 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
21810 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
21811 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
21812 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
21813 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
21814 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
21816 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21817 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
21818 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21819 (sysdep_routines): Add memcpy-ultra1.
21820 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
21821 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
21823 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21825 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
21826 (cfloat_versions): Take function argument without trailing 'f'.
21827 Call libm_alias_float_other.
21828 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
21829 * sysdeps/alpha/fpu/cargf.c: Likewise.
21830 * sysdeps/alpha/fpu/cimagf.c: Likewise.
21831 * sysdeps/alpha/fpu/conjf.c: Likewise.
21832 * sysdeps/alpha/fpu/crealf.c: Likewise.
21833 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
21834 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
21835 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
21836 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
21837 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
21838 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
21839 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
21840 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
21841 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
21842 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
21843 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
21844 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
21845 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
21846 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
21847 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
21848 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
21849 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
21850 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
21851 (clog10f): Use libm_alias_float_other.
21852 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21853 (ceilf): Define using libm_alias_float.
21854 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
21855 (copysignf): Define using libm_alias_float.
21856 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21857 (fabsf): Define using libm_alias_float.
21858 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
21859 (floorf): Define using libm_alias_float.
21860 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
21861 (fmaxf): Define using libm_alias_float.
21862 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
21863 (fminf): Define using libm_alias_float.
21864 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21865 (lrintf): Define using libm_alias_float.
21866 (llrintf): Likewise.
21867 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21868 (lroundf): Define using libm_alias_float.
21869 (llroundf): Likewise.
21870 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
21871 (rintf): Define using libm_alias_float.
21872 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
21873 (truncf): Define using libm_alias_float.
21875 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21876 (ceilf): Define using libm_alias_float.
21877 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
21878 (floorf): Define using libm_alias_float.
21879 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21880 (fmaf): Define using libm_alias_float.
21881 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
21882 (fmaxf): Define using libm_alias_float.
21883 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
21884 (fminf): Define using libm_alias_float.
21885 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
21886 (llrintf): Define using libm_alias_float.
21887 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
21888 (llroundf): Define using libm_alias_float.
21889 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21890 (lrintf): Define using libm_alias_float.
21891 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21892 (lroundf): Define using libm_alias_float.
21893 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
21894 <libm-alias-float.h>.
21895 (nearbyintf): Define using libm_alias_float.
21896 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
21897 (rintf): Define using libm_alias_float.
21898 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
21899 (roundf): Define using libm_alias_float.
21900 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
21901 (truncf): Define using libm_alias_float.
21903 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
21904 (ceil): Define using libm_alias_double.
21905 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
21906 (copysign): Define using libm_alias_double.
21907 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
21908 (fabs): Define using libm_alias_double.
21909 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
21910 (floor): Define using libm_alias_double.
21911 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
21912 (fmax): Define using libm_alias_double.
21913 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
21914 (fmin): Define using libm_alias_double.
21915 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
21916 (lrint): Define using libm_alias_double.
21917 (llrint): Likewise.
21918 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
21919 (lround): Define using libm_alias_double.
21920 (llround): Likewise.
21921 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
21922 (rint): Define using libm_alias_double.
21923 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
21924 (trunc): Define using libm_alias_double.
21926 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
21927 (libm_alias_double_r): Add semicolon after weak_alias call.
21929 2017-11-27 Joseph Myers <joseph@codesourcery.com>
21931 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
21932 (ceil): Define using libm_alias_double.
21933 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
21934 (floor): Define using libm_alias_double.
21935 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
21936 (fma): Define using libm_alias_double.
21937 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
21938 (fmax): Define using libm_alias_double.
21939 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
21940 (fmin): Define using libm_alias_double.
21941 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
21942 (llrint): Define using libm_alias_double.
21943 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
21944 (llround): Define using libm_alias_double.
21945 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
21946 (lrint): Define using libm_alias_double.
21947 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
21948 (lround): Define using libm_alias_double.
21949 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
21950 (nearbyint): Define using libm_alias_double.
21951 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
21952 (rint): Define using libm_alias_double.
21953 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
21954 (round): Define using libm_alias_double.
21955 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
21956 (trunc): Define using libm_alias_double.
21958 2017-11-27 Florian Weimer <fweimer@redhat.com>
21960 * sysdeps/unix/sysv/linux/mlock2.c: New file.
21961 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
21962 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
21963 (tests): Add tst-mlock2.
21964 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
21965 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
21966 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
21967 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
21968 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
21969 for mlock. Document mlock2.
21971 2017-11-27 Joseph Myers <joseph@codesourcery.com>
21973 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
21974 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
21976 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
21978 * sysdeps/x86/Makeconfig: New file.
21979 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
21980 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21981 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
21982 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21983 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21984 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21985 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
21987 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21988 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21989 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21990 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21991 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21992 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21993 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21994 * manual/math.texi (Mathematics): Document support for _Float64x.
21995 * math/Versions (GLIBC_2.27): Add _Float64x functions.
21996 * stdlib/Versions (GLIBC_2.27): Likewise.
21997 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21998 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21999 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22000 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22001 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22002 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22003 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22004 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22005 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22006 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22007 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22008 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22013 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22014 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22015 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22016 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22017 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22018 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22019 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22020 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22021 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22022 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22023 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22024 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22025 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22026 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22028 2017-11-27 Andreas Schwab <schwab@suse.de>
22030 * elf/Makefile (dl-routines): Add dl-sort-maps.
22031 * elf/dl-sort-maps.c: New file.
22032 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
22033 (_dl_sort_maps): Declare.
22034 * elf/dl-fini.c (_dl_sort_fini): Remove.
22035 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
22036 * elf/dl-close.c (_dl_close_worker): Likewise.
22037 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
22039 * elf/dl-open.c (dl_open_worker): Likewise.
22041 2017-11-24 Joseph Myers <joseph@codesourcery.com>
22043 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
22044 using libm_alias_float128.
22045 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
22047 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
22049 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
22050 (setpayloadsigf128): Likewise.
22051 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
22053 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
22056 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
22057 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
22058 -mfloat128 to CFLAGS.
22060 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
22062 (CFLAGS-libm-test-support-float64x.c): New variable.
22063 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
22064 $(f128-loader-link) to gnulib-tests.
22066 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
22067 (libm_alias_float128_other_r): If
22068 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
22070 (libm_alias_float128_r): Add semicolon after weak_alias call.
22071 * sysdeps/generic/libm-alias-ldouble.h
22072 (libm_alias_ldouble_other_r_f128): New macro.
22073 (libm_alias_ldouble_other_r_f64x): Likewise.
22074 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22075 and libm_alias_ldouble_other_r_f64x.
22076 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
22077 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
22078 (libm_alias_ldouble_other_r_f128): New macro.
22079 (libm_alias_ldouble_other_r_f64x): Likewise.
22080 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22081 and libm_alias_ldouble_other_r_f64x.
22083 * stdlib/strfroml.c: Always include <stdlib.h>.
22084 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
22085 undefine as macro and define as weak alias.
22086 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
22087 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
22089 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
22090 Define and later undefine as macro and define as weak alias.
22092 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22093 Define and later undefine as macro. Define as weak alias if
22095 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
22096 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22097 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
22098 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22099 Define and later undefine as macro. Define as weak alias if
22101 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
22102 Define and later undefine as macro. Define as weak alias if
22104 * sysdeps/ieee754/float128/strtof128_l.c
22105 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
22106 Define and later undefine as macro. Define as weak alias if
22108 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
22109 Define and later undefine as macro. Define as weak alias if
22111 * sysdeps/ieee754/ldbl-128/strtold_l.c
22112 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22113 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22114 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22115 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22116 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
22117 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22118 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22119 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22120 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22121 * sysdeps/ieee754/ldbl-96/strtold_l.c
22122 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22123 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22124 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22125 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22127 * math/test-float64x.h: New file.
22128 * math/Makefile (type-float64x-yes): New variable.
22129 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
22131 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
22132 function-like macro.
22133 (min_of_type_): Likewise.
22134 (min_of_type_l): Likewise.
22135 (min_of_type_f128): Likewise.
22136 (min_of_type): Pass () as last argument of __MATH_TG.
22138 * stdlib/tst-strtod-round-skeleton.c
22139 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
22142 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
22143 for combinations of long double with _Float64 and _Float64x.
22145 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
22146 (__DECL_SIMD_cosf32): Likewise.
22147 (__DECL_SIMD_cosf64): Likewise.
22148 (__DECL_SIMD_cosf32x): Likewise.
22149 (__DECL_SIMD_cosf64x): Likewise.
22150 (__DECL_SIMD_cosf128x): Likewise.
22151 (__DECL_SIMD_sinf16): Likewise.
22152 (__DECL_SIMD_sinf32): Likewise.
22153 (__DECL_SIMD_sinf64): Likewise.
22154 (__DECL_SIMD_sinf32x): Likewise.
22155 (__DECL_SIMD_sinf64x): Likewise.
22156 (__DECL_SIMD_sinf128x): Likewise.
22157 (__DECL_SIMD_sincosf16): Likewise.
22158 (__DECL_SIMD_sincosf32): Likewise.
22159 (__DECL_SIMD_sincosf64): Likewise.
22160 (__DECL_SIMD_sincosf32x): Likewise.
22161 (__DECL_SIMD_sincosf64x): Likewise.
22162 (__DECL_SIMD_sincosf128x): Likewise.
22163 (__DECL_SIMD_logf16): Likewise.
22164 (__DECL_SIMD_logf32): Likewise.
22165 (__DECL_SIMD_logf64): Likewise.
22166 (__DECL_SIMD_logf32x): Likewise.
22167 (__DECL_SIMD_logf64x): Likewise.
22168 (__DECL_SIMD_logf128x): Likewise.
22169 (__DECL_SIMD_expf16): Likewise.
22170 (__DECL_SIMD_expf32): Likewise.
22171 (__DECL_SIMD_expf64): Likewise.
22172 (__DECL_SIMD_expf32x): Likewise.
22173 (__DECL_SIMD_expf64x): Likewise.
22174 (__DECL_SIMD_expf128x): Likewise.
22175 (__DECL_SIMD_powf16): Likewise.
22176 (__DECL_SIMD_powf32): Likewise.
22177 (__DECL_SIMD_powf64): Likewise.
22178 (__DECL_SIMD_powf32x): Likewise.
22179 (__DECL_SIMD_powf64x): Likewise.
22180 (__DECL_SIMD_powf128x): Likewise.
22182 * stdlib/Versions (libc): Move entries for wcstof128 and
22183 wcstof128_l to ....
22184 * wcsmbs/Versions (libc): ... here.
22185 Include <float128-abi.h>.
22187 2017-11-24 Florian Weimer <fweimer@redhat.com>
22189 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22190 bits/mman-shared.h.
22191 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
22192 <bits/mman-shared.h>.
22193 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
22195 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
22196 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
22197 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
22198 <bits/mman-shared.h>.
22200 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22203 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
22204 posix_memalign/free.
22205 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
22207 2017-11-22 Mike FABIAN <mfabian@redhat.com>
22210 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
22211 and implement the collation rules for pl from CLDR on top of that.
22212 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
22213 of locales to be built for testing.
22214 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
22216 2017-11-23 Joseph Myers <joseph@codesourcery.com>
22218 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
22219 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
22220 libm_alias_ldouble_other.
22221 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
22222 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
22223 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
22224 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
22225 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
22226 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
22227 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
22228 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
22229 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
22230 libm_alias_ldouble_r.
22231 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
22232 libm_alias_ldouble_other.
22233 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
22234 (log10l): Likewise.
22235 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
22236 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
22237 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
22238 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
22239 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
22240 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
22241 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
22242 (atan2l): Likewise.
22243 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
22244 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
22245 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
22246 libm_alias_ldouble.
22247 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
22249 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
22250 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
22251 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
22253 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
22254 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
22255 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
22256 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
22257 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
22258 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
22259 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
22260 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
22261 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
22262 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
22263 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
22264 libm_alias_ldouble.
22265 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
22266 libm_alias_ldouble_other.
22267 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
22268 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
22269 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
22270 libm_alias_ldouble.
22271 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
22272 libm_alias_ldouble_other.
22273 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
22274 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
22275 * sysdeps/ia64/fpu/w_lgammal_main.c
22276 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
22277 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
22279 2017-11-23 Florian Weimer <fweimer@redhat.com>
22281 * malloc/malloc.c (tcache_thread_shutdown): Rename from
22282 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
22283 alike. Remove freeres marker.
22284 * malloc/arena.c (arena_thread_freeres): Call
22285 tcache_thread_shutdown.
22287 2017-11-23 Florian Weimer <fweimer@redhat.com>
22290 Export nscd hash function as __nss_hash.
22291 * include/nss.h (__nss_hash): Declare.
22292 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
22294 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
22295 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
22297 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
22298 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
22299 * nss/Makefiles (routines): Add nss_hash.
22300 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
22301 * nss/nss_hash.c: Rename from nis/nis_hash.c.
22302 (__nss_hash): Rename from __nis_hash. Define hidden alias.
22303 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
22305 2017-11-23 Florian Weimer <fweimer@redhat.com>
22308 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
22309 Return error code, not -1.
22310 * signal/tst-sigwait-eintr.c: New file.
22311 * signal/Makefile (tests): Add tst-sigwait-eintr.
22313 2017-11-23 Florian Weimer <fweimer@redhat.com>
22315 Linux: Add memfd_create system call wrapper
22316 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
22318 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
22319 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
22320 [__USE_GNU] (memfd_create): Declare.
22321 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
22322 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
22323 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
22324 * sysdeps/unix/sysv/linux/**.abilist: Update.
22325 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
22327 2017-11-22 Joseph Myers <joseph@codesourcery.com>
22329 * localedata/gen-locale.sh: Fix typo in variable name.
22331 * resolv/res_debug.c (p_secstodate): Condition definition on
22332 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
22333 directly as __p_secstodate, and as a compat symbol. Do not use
22334 libresolv_hidden_def.
22335 * resolv/resolv.h (p_secstodate): Remove macro and function
22337 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
22338 using p_secstodate.
22339 * include/resolv.h (__p_secstodate): Do not use
22340 libresolv_hidden_proto.
22341 * resolv/Makefile (tests): Move tst-p_secstodate to ....
22342 (tests-internal): ... here.
22343 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
22344 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
22345 and declare and use __p_secstodate and use compat_symbol_reference
22347 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
22348 implementation returning 77.
22351 * resolv/res_debug.c: Include <libc-diag.h>.
22352 (p_secstodate): Assert time_t at least as wide as u_long. On
22353 overflow, use integer seconds since the epoch as output, or use
22354 "<overflow>" as output and set errno to EOVERFLOW if integer
22355 seconds since the epoch would be 14 or more characters.
22356 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
22358 * resolv/tst-p_secstodate.c: New file.
22359 * resolv/Makefile (tests): Add tst-p_secstodate.
22360 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
22362 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
22363 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
22364 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
22366 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
22368 * posix/regcomp.c (init_word_char): Add comments.
22370 2017-11-22 Joseph Myers <joseph@codesourcery.com>
22373 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
22374 strlen to compute length of ut_user and set trailing NUL byte of
22377 2017-11-21 Mike FABIAN <mfabian@redhat.com>
22380 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
22381 using “copy "iso14651_t1"” and then implementing the
22382 collation rules for lv from CLDR on top of that.
22383 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
22384 of locales to be built for testing.
22385 * lv_LV.UTF-8.in: New file with test data to test the Latvian
22388 2017-11-21 Joseph Myers <joseph@codesourcery.com>
22390 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22391 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
22392 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
22393 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
22394 [__USE_MISC] (MADV_HWPOISON): New macro.
22395 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
22397 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22399 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
22400 -Wmissing-braces on GCC 4.9.
22402 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22404 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
22405 * sysdeps/s390/s390-32/start.S (_start): Likewise
22406 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
22407 (thread_start): Likewise.
22408 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
22409 (thread_start): Likewise.
22410 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
22411 (__makecontext_ret): Likewise.
22412 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
22413 (__makecontext_ret): Likewise.
22415 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22417 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
22418 __wcschrnul): Remove attribute_hidden.
22420 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
22422 regex: don't assume uint64_t or uint32_t
22423 This avoids -Werror=overflow errors for 32-bit systems in
22424 the 64-bit case. Problem reported by Joseph Myers in:
22425 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
22426 Also, when this code is used in Gnulib it ports to platforms
22427 that lack uint64_t and uint32_t. The C standard doesn't guarantee
22428 them, and on some 32-bit compilers there is no uint64_t.
22429 Problem reported by Gianluigi Tiesi in:
22430 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
22431 * posix/regcomp.c (init_word_char): Don't assume that the types
22432 uint64_t and uint32_t exist. Adapted from Gnulib patch
22433 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
22434 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
22436 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
22438 * sysdeps/aarch64/memset-reg.h: New file.
22439 * sysdeps/aarch64/memset.S: Use it.
22440 (__memset): Rename to MEMSET macro.
22441 [ZVA_MACRO]: Use zva_macro.
22442 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
22443 Add memset_generic and memset_falkor.
22444 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
22445 (__libc_ifunc_impl_list): Add memset ifuncs.
22446 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
22447 local variable zva_size.
22448 * sysdeps/aarch64/multiarch/memset.c: New file.
22449 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
22450 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
22451 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
22452 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
22453 (DCZID_DZP_MASK): New macro.
22454 (DCZID_BS_MASK): Likewise.
22455 (init_cpu_features): Read and set zva_size.
22456 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
22457 (struct cpu_features): New member zva_size.
22459 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
22460 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
22461 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
22463 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
22464 backwards. Fix timing computation.
22465 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
22466 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
22467 on memset by N at a time. Fix timing computation.
22469 2017-11-20 Florian Weimer <fweimer@redhat.com>
22471 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
22472 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
22474 2017-11-19 Florian Weimer <fweimer@redhat.com>
22476 manual: Document mprotect
22477 * manual/memory.texi (Memory Protection): New section.
22478 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
22479 documentation of PROT_* flags and reference the Memory Protection
22482 2017-11-19 Florian Weimer <fweimer@redhat.com>
22484 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
22485 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
22486 (Scatter-Gather): ... to here. Remove misleading comment.
22488 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
22490 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
22493 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
22494 when /proc/<pid>/setgroups does not exist.
22496 2017-11-18 Florian Weimer <fweimer@redhat.com>
22498 * sysdeps/unix/sysv/linux/tst-ttyname.c
22499 (become_root_in_mount_ns): Remove.
22500 (do_in_chroot_1): Call support_enter_mount_namespace.
22501 (do_in_chroot_2): Likewise.
22502 (do_test): Call support_become_root early.
22504 2017-11-18 Florian Weimer <fweimer@redhat.com>
22506 * support/namespace.h (support_enter_mount_namespace): Declare.
22507 * support/support_enter_mount_namespace.c: New file.
22508 * support/Makefile (libsupport-routines): Add
22509 support_enter_mount_namespace.
22511 2017-11-18 Florian Weimer <fweimer@redhat.com>
22513 * support/temp_file.c (support_create_temp_directory): Use
22514 test_dir and do not rely on the presence of the XXXXXX suffix.
22515 * support/temp_file.h (support_create_temp_directory): Update
22517 * support/tst-xreadlink.c (do_test): Adjust.
22518 * support/support_chroot.c (support_chroot_create): Likewise.
22520 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22522 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
22524 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
22527 2017-11-17 Joseph Myers <joseph@codesourcery.com>
22529 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22530 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22531 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22532 (ceill): Define using libm_alias_ldouble.
22533 * sysdeps/x86_64/fpu/s_copysignl.S: Include
22534 <libm-alias-ldouble.h>.
22535 (copysignl): Define using libm_alias_ldouble.
22536 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22537 (fabsl): Define using libm_alias_ldouble.
22538 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22539 (floorl): Define using libm_alias_ldouble.
22540 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22541 (fmaxl): Define using libm_alias_ldouble.
22542 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22543 (fminl): Define using libm_alias_ldouble.
22544 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22545 (llrintl): Define using libm_alias_ldouble.
22546 (lrintl): Likewise.
22547 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
22548 <libm-alias-ldouble.h>.
22549 (nearbyintl): Define using libm_alias_ldouble.
22550 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22551 (truncl): Define using libm_alias_ldouble.
22552 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
22553 <libm-alias-ldouble.h>.
22554 (lrintl): Define using libm_alias_ldouble.
22556 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22557 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22558 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
22559 (asinhl): Define using libm_alias_ldouble.
22560 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
22561 (atanl): Define using libm_alias_ldouble.
22562 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
22563 (cbrtl): Define using libm_alias_ldouble.
22564 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22565 (ceill): Define using libm_alias_ldouble.
22566 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
22567 (copysignl): Define using libm_alias_ldouble.
22568 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22569 (fabsl): Define using libm_alias_ldouble.
22570 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22571 (floorl): Define using libm_alias_ldouble.
22572 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22573 (fmaxl): Define using libm_alias_ldouble.
22574 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22575 (fminl): Define using libm_alias_ldouble.
22576 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
22577 (frexpl): Define using libm_alias_ldouble.
22578 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22579 (llrintl): Define using libm_alias_ldouble.
22580 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
22581 (logbl): Define using libm_alias_ldouble.
22582 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
22583 (lrintl): Define using libm_alias_ldouble.
22584 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
22585 (nearbyintl): Define using libm_alias_ldouble.
22586 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
22587 (nextafterl): Define using libm_alias_ldouble.
22588 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
22589 (remquol): Define using libm_alias_ldouble.
22590 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
22591 (rintl): Define using libm_alias_ldouble.
22592 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22593 (truncl): Define using libm_alias_ldouble.
22594 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22595 (fmaxl): Define using libm_alias_ldouble.
22596 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22597 (fminl): Define using libm_alias_ldouble.
22599 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
22600 to C syntax instead of availability and properties of types.
22601 * bits/floatn.h [!__ASSEMBLER]: Likewise.
22602 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
22603 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
22604 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
22605 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
22606 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
22608 2017-11-17 Florian Weimer <fweimer@redhat.com>
22610 support_become_root: Enable file creation in namespaces.
22611 * support/support_become_root.c (setup_mapping): New function.
22612 (support_become_root): Call it.
22614 2017-11-17 Joseph Myers <joseph@codesourcery.com>
22616 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
22619 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22621 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
22622 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
22624 2017-11-16 Joseph Myers <joseph@codesourcery.com>
22626 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
22628 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
22631 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
22633 * INSTALL: Fix botched up regeneration.
22635 * NEWS: Update sourceare link to https.
22636 * configure.ac: Likewise.
22637 * crypt/md5test-giant.c: Likewise.
22638 * dlfcn/bug-atexit1.c: Likewise.
22639 * dlfcn/bug-atexit2.c: Likewise.
22640 * localedata/README: Likewise.
22641 * malloc/tst-mallocfork.c: Likewise.
22642 * manual/install.texi: Likewise.
22643 * nptl/tst-pthread-getattr.c: Likewise.
22644 * stdio-common/tst-fgets.c: Likewise.
22645 * stdio-common/tst-fwrite.c: Likewise.
22646 * sunrpc/Makefile: Likewise.
22647 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
22648 * wcsmbs/tst-mbrtowc2.c: Likewise.
22649 * configure: Regenerate.
22650 * INSTALL: Regenerate.
22652 2017-11-15 Martin Sebor <msebor@redhat.com>
22654 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
22655 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
22656 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
22658 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22661 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
22662 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
22665 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
22666 Defer is_pty check until end of the function.
22667 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22670 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
22671 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
22672 (ttyname): Likewise.
22673 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
22674 (__ttyname_r): Likewise.
22676 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
22679 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
22681 * manual/terminal.texi (Is It a Terminal):
22682 Mention ENODEV for ttyname and ttyname_r.
22684 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22686 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
22687 constant and macro.
22689 * sysdeps/unix/sysv/linux/bits/mman-linux.h
22690 [__USE_MISC] (MADV_WIPEONFORK): New macro.
22691 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22692 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22693 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
22694 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22696 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22698 * signal/sigrelse.c (sigrelse): Optimize implementation.
22700 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
22701 (__sigpause): Rely on __sigsuspend to implement single thread
22702 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
22704 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22706 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22707 kernel version to 4.14.
22709 2017-11-15 Steve Ellcey <sellcey@cavium.com>
22712 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
22713 Check if ifname is too long.
22715 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22717 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
22719 2017-11-15 Mike FABIAN <mfabian@redhat.com>
22721 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
22722 was accidentally lost.
22724 2017-11-15 Mike FABIAN <mfabian@redhat.com>
22726 * localedata/locales/az_IR: Add standard copyright header.
22728 2017-11-15 Florian Weimer <fweimer@redhat.com>
22731 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
22732 not just the top one. Output a new "subheaps" statistic.
22734 2017-11-15 Florian Weimer <fweimer@redhat.com>
22737 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
22738 under the per-arena lock.
22739 * malloc/Makefile (tests): Add tst-malloc_info.
22740 (tst-malloc_info): Link with libpthread.
22741 * malloc/tst-malloc_info.c: New file.
22743 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22746 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
22747 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
22748 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
22749 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
22750 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
22751 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
22752 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
22753 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
22754 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
22755 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
22756 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
22757 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
22758 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
22759 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
22760 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
22761 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
22762 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
22763 (__floating_type): Likewise.
22764 (__real_integer_type): Likewise.
22765 (__complex_integer_type): Likewise.
22766 (__expr_is_real): Likewise.
22767 (__tgmath_real_type_sub): Likewise.
22768 (__tgmath_real_type): Likewise.
22769 (__tgmath_complex_type_sub): Likewise.
22770 (__tgmath_complex_type): Likewise.
22771 (__TGMATH_F128): Likewise.
22772 (__TGMATH_CF128): Likewise.
22773 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
22775 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
22776 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
22778 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
22780 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
22781 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
22782 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
22783 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
22785 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
22786 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
22788 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
22789 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
22790 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
22792 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
22793 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
22794 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
22798 2017-11-14 Joseph Myers <joseph@codesourcery.com>
22800 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
22801 for stpncpy calls for GCC 8.
22802 (test_strncat): Disable -Wstringop-truncation warning for strncat
22803 calls for GCC 8. Disable -Wstringop-overflow= warning for one
22804 strncat call for GCC 7.
22805 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
22807 (test_memcmp): Use memcpy instead of strncpy for calls not copying
22810 * string/bug-strncat1.c: Include <libc-diag.h>.
22811 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
22813 2017-11-13 Claude Paroz <claude@2xlibre.net>
22816 * localedata/locales/aa_DJ: Improved readibility by replacing
22817 <Uxxxx> sequences in the ASCII printable range by their ASCII
22818 character equivalents.
22819 * localedata/locales/aa_ER: Likewise.
22820 * localedata/locales/aa_ER@saaho: Likewise.
22821 * localedata/locales/aa_ET: Likewise.
22822 * localedata/locales/af_ZA: Likewise.
22823 * localedata/locales/agr_PE: Likewise.
22824 * localedata/locales/ak_GH: Likewise.
22825 * localedata/locales/am_ET: Likewise.
22826 * localedata/locales/anp_IN: Likewise.
22827 * localedata/locales/ar_AE: Likewise.
22828 * localedata/locales/ar_BH: Likewise.
22829 * localedata/locales/ar_DZ: Likewise.
22830 * localedata/locales/ar_EG: Likewise.
22831 * localedata/locales/ar_IN: Likewise.
22832 * localedata/locales/ar_IQ: Likewise.
22833 * localedata/locales/ar_JO: Likewise.
22834 * localedata/locales/ar_KW: Likewise.
22835 * localedata/locales/ar_LB: Likewise.
22836 * localedata/locales/ar_LY: Likewise.
22837 * localedata/locales/ar_MA: Likewise.
22838 * localedata/locales/ar_OM: Likewise.
22839 * localedata/locales/ar_QA: Likewise.
22840 * localedata/locales/ar_SA: Likewise.
22841 * localedata/locales/ar_SD: Likewise.
22842 * localedata/locales/ar_SS: Likewise.
22843 * localedata/locales/ar_SY: Likewise.
22844 * localedata/locales/ar_TN: Likewise.
22845 * localedata/locales/ar_YE: Likewise.
22846 * localedata/locales/as_IN: Likewise.
22847 * localedata/locales/ast_ES: Likewise.
22848 * localedata/locales/ayc_PE: Likewise.
22849 * localedata/locales/az_AZ: Likewise.
22850 * localedata/locales/az_IR: Likewise.
22851 * localedata/locales/be_BY: Likewise.
22852 * localedata/locales/be_BY@latin: Likewise.
22853 * localedata/locales/bem_ZM: Likewise.
22854 * localedata/locales/ber_DZ: Likewise.
22855 * localedata/locales/ber_MA: Likewise.
22856 * localedata/locales/bg_BG: Likewise.
22857 * localedata/locales/bhb_IN: Likewise.
22858 * localedata/locales/bho_IN: Likewise.
22859 * localedata/locales/bi_VU: Likewise.
22860 * localedata/locales/bn_BD: Likewise.
22861 * localedata/locales/bn_IN: Likewise.
22862 * localedata/locales/bo_CN: Likewise.
22863 * localedata/locales/bo_IN: Likewise.
22864 * localedata/locales/br_FR: Likewise.
22865 * localedata/locales/brx_IN: Likewise.
22866 * localedata/locales/bs_BA: Likewise.
22867 * localedata/locales/byn_ER: Likewise.
22868 * localedata/locales/ca_AD: Likewise.
22869 * localedata/locales/ca_ES: Likewise.
22870 * localedata/locales/ca_FR: Likewise.
22871 * localedata/locales/ca_IT: Likewise.
22872 * localedata/locales/ce_RU: Likewise.
22873 * localedata/locales/chr_US: Likewise.
22874 * localedata/locales/cmn_TW: Likewise.
22875 * localedata/locales/crh_UA: Likewise.
22876 * localedata/locales/cs_CZ: Likewise.
22877 * localedata/locales/csb_PL: Likewise.
22878 * localedata/locales/cv_RU: Likewise.
22879 * localedata/locales/cy_GB: Likewise.
22880 * localedata/locales/da_DK: Likewise.
22881 * localedata/locales/de_AT: Likewise.
22882 * localedata/locales/de_BE: Likewise.
22883 * localedata/locales/de_CH: Likewise.
22884 * localedata/locales/de_DE: Likewise.
22885 * localedata/locales/de_IT: Likewise.
22886 * localedata/locales/de_LI: Likewise.
22887 * localedata/locales/de_LU: Likewise.
22888 * localedata/locales/doi_IN: Likewise.
22889 * localedata/locales/dv_MV: Likewise.
22890 * localedata/locales/dz_BT: Likewise.
22891 * localedata/locales/el_CY: Likewise.
22892 * localedata/locales/el_GR: Likewise.
22893 * localedata/locales/en_AG: Likewise.
22894 * localedata/locales/en_AU: Likewise.
22895 * localedata/locales/en_BW: Likewise.
22896 * localedata/locales/en_CA: Likewise.
22897 * localedata/locales/en_DK: Likewise.
22898 * localedata/locales/en_GB: Likewise.
22899 * localedata/locales/en_HK: Likewise.
22900 * localedata/locales/en_IE: Likewise.
22901 * localedata/locales/en_IL: Likewise.
22902 * localedata/locales/en_IN: Likewise.
22903 * localedata/locales/en_NG: Likewise.
22904 * localedata/locales/en_NZ: Likewise.
22905 * localedata/locales/en_PH: Likewise.
22906 * localedata/locales/en_SG: Likewise.
22907 * localedata/locales/en_US: Likewise.
22908 * localedata/locales/en_ZA: Likewise.
22909 * localedata/locales/en_ZM: Likewise.
22910 * localedata/locales/en_ZW: Likewise.
22911 * localedata/locales/eo: Likewise.
22912 * localedata/locales/es_AR: Likewise.
22913 * localedata/locales/es_BO: Likewise.
22914 * localedata/locales/es_CL: Likewise.
22915 * localedata/locales/es_CO: Likewise.
22916 * localedata/locales/es_CR: Likewise.
22917 * localedata/locales/es_CU: Likewise.
22918 * localedata/locales/es_DO: Likewise.
22919 * localedata/locales/es_EC: Likewise.
22920 * localedata/locales/es_ES: Likewise.
22921 * localedata/locales/es_GT: Likewise.
22922 * localedata/locales/es_HN: Likewise.
22923 * localedata/locales/es_MX: Likewise.
22924 * localedata/locales/es_NI: Likewise.
22925 * localedata/locales/es_PA: Likewise.
22926 * localedata/locales/es_PE: Likewise.
22927 * localedata/locales/es_PR: Likewise.
22928 * localedata/locales/es_PY: Likewise.
22929 * localedata/locales/es_SV: Likewise.
22930 * localedata/locales/es_US: Likewise.
22931 * localedata/locales/es_UY: Likewise.
22932 * localedata/locales/es_VE: Likewise.
22933 * localedata/locales/et_EE: Likewise.
22934 * localedata/locales/eu_ES: Likewise.
22935 * localedata/locales/eu_ES@euro: Likewise.
22936 * localedata/locales/fa_IR: Likewise.
22937 * localedata/locales/ff_SN: Likewise.
22938 * localedata/locales/fi_FI: Likewise.
22939 * localedata/locales/fil_PH: Likewise.
22940 * localedata/locales/fo_FO: Likewise.
22941 * localedata/locales/fr_BE: Likewise.
22942 * localedata/locales/fr_CA: Likewise.
22943 * localedata/locales/fr_CH: Likewise.
22944 * localedata/locales/fr_FR: Likewise.
22945 * localedata/locales/fr_LU: Likewise.
22946 * localedata/locales/fur_IT: Likewise.
22947 * localedata/locales/fy_DE: Likewise.
22948 * localedata/locales/fy_NL: Likewise.
22949 * localedata/locales/ga_IE: Likewise.
22950 * localedata/locales/gd_GB: Likewise.
22951 * localedata/locales/gez_ER: Likewise.
22952 * localedata/locales/gez_ET: Likewise.
22953 * localedata/locales/gl_ES: Likewise.
22954 * localedata/locales/gu_IN: Likewise.
22955 * localedata/locales/gv_GB: Likewise.
22956 * localedata/locales/ha_NG: Likewise.
22957 * localedata/locales/hak_TW: Likewise.
22958 * localedata/locales/he_IL: Likewise.
22959 * localedata/locales/hi_IN: Likewise.
22960 * localedata/locales/hif_FJ: Likewise.
22961 * localedata/locales/hne_IN: Likewise.
22962 * localedata/locales/hr_HR: Likewise.
22963 * localedata/locales/hsb_DE: Likewise.
22964 * localedata/locales/ht_HT: Likewise.
22965 * localedata/locales/hu_HU: Likewise.
22966 * localedata/locales/hy_AM: Likewise.
22967 * localedata/locales/i18n: Likewise.
22968 * localedata/locales/ia_FR: Likewise.
22969 * localedata/locales/id_ID: Likewise.
22970 * localedata/locales/ig_NG: Likewise.
22971 * localedata/locales/ik_CA: Likewise.
22972 * localedata/locales/is_IS: Likewise.
22973 * localedata/locales/it_CH: Likewise.
22974 * localedata/locales/it_IT: Likewise.
22975 * localedata/locales/iu_CA: Likewise.
22976 * localedata/locales/ja_JP: Likewise.
22977 * localedata/locales/ka_GE: Likewise.
22978 * localedata/locales/kk_KZ: Likewise.
22979 * localedata/locales/kl_GL: Likewise.
22980 * localedata/locales/kn_IN: Likewise.
22981 * localedata/locales/ko_KR: Likewise.
22982 * localedata/locales/kok_IN: Likewise.
22983 * localedata/locales/ks_IN: Likewise.
22984 * localedata/locales/ks_IN@devanagari: Likewise.
22985 * localedata/locales/ku_TR: Likewise.
22986 * localedata/locales/kw_GB: Likewise.
22987 * localedata/locales/ky_KG: Likewise.
22988 * localedata/locales/lb_LU: Likewise.
22989 * localedata/locales/lg_UG: Likewise.
22990 * localedata/locales/li_BE: Likewise.
22991 * localedata/locales/li_NL: Likewise.
22992 * localedata/locales/lij_IT: Likewise.
22993 * localedata/locales/ln_CD: Likewise.
22994 * localedata/locales/lo_LA: Likewise.
22995 * localedata/locales/lt_LT: Likewise.
22996 * localedata/locales/lv_LV: Likewise.
22997 * localedata/locales/lzh_TW: Likewise.
22998 * localedata/locales/mag_IN: Likewise.
22999 * localedata/locales/mai_IN: Likewise.
23000 * localedata/locales/mg_MG: Likewise.
23001 * localedata/locales/mhr_RU: Likewise.
23002 * localedata/locales/mi_NZ: Likewise.
23003 * localedata/locales/mk_MK: Likewise.
23004 * localedata/locales/ml_IN: Likewise.
23005 * localedata/locales/mn_MN: Likewise.
23006 * localedata/locales/mni_IN: Likewise.
23007 * localedata/locales/mr_IN: Likewise.
23008 * localedata/locales/ms_MY: Likewise.
23009 * localedata/locales/mt_MT: Likewise.
23010 * localedata/locales/my_MM: Likewise.
23011 * localedata/locales/nan_TW: Likewise.
23012 * localedata/locales/nan_TW@latin: Likewise.
23013 * localedata/locales/nb_NO: Likewise.
23014 * localedata/locales/nds_DE: Likewise.
23015 * localedata/locales/nds_NL: Likewise.
23016 * localedata/locales/ne_NP: Likewise.
23017 * localedata/locales/nhn_MX: Likewise.
23018 * localedata/locales/niu_NU: Likewise.
23019 * localedata/locales/niu_NZ: Likewise.
23020 * localedata/locales/nl_AW: Likewise.
23021 * localedata/locales/nl_BE: Likewise.
23022 * localedata/locales/nl_NL: Likewise.
23023 * localedata/locales/nn_NO: Likewise.
23024 * localedata/locales/nr_ZA: Likewise.
23025 * localedata/locales/nso_ZA: Likewise.
23026 * localedata/locales/oc_FR: Likewise.
23027 * localedata/locales/om_ET: Likewise.
23028 * localedata/locales/om_KE: Likewise.
23029 * localedata/locales/or_IN: Likewise.
23030 * localedata/locales/os_RU: Likewise.
23031 * localedata/locales/pa_IN: Likewise.
23032 * localedata/locales/pa_PK: Likewise.
23033 * localedata/locales/pap_AW: Likewise.
23034 * localedata/locales/pap_CW: Likewise.
23035 * localedata/locales/pl_PL: Likewise.
23036 * localedata/locales/ps_AF: Likewise.
23037 * localedata/locales/pt_BR: Likewise.
23038 * localedata/locales/pt_PT: Likewise.
23039 * localedata/locales/quz_PE: Likewise.
23040 * localedata/locales/raj_IN: Likewise.
23041 * localedata/locales/ro_RO: Likewise.
23042 * localedata/locales/ru_RU: Likewise.
23043 * localedata/locales/ru_UA: Likewise.
23044 * localedata/locales/rw_RW: Likewise.
23045 * localedata/locales/sa_IN: Likewise.
23046 * localedata/locales/sat_IN: Likewise.
23047 * localedata/locales/sc_IT: Likewise.
23048 * localedata/locales/sd_IN: Likewise.
23049 * localedata/locales/sd_IN@devanagari: Likewise.
23050 * localedata/locales/se_NO: Likewise.
23051 * localedata/locales/sgs_LT: Likewise.
23052 * localedata/locales/shs_CA: Likewise.
23053 * localedata/locales/si_LK: Likewise.
23054 * localedata/locales/sid_ET: Likewise.
23055 * localedata/locales/sk_SK: Likewise.
23056 * localedata/locales/sl_SI: Likewise.
23057 * localedata/locales/sm_WS: Likewise.
23058 * localedata/locales/so_DJ: Likewise.
23059 * localedata/locales/so_ET: Likewise.
23060 * localedata/locales/so_KE: Likewise.
23061 * localedata/locales/so_SO: Likewise.
23062 * localedata/locales/sq_AL: Likewise.
23063 * localedata/locales/sq_MK: Likewise.
23064 * localedata/locales/sr_ME: Likewise.
23065 * localedata/locales/sr_RS: Likewise.
23066 * localedata/locales/sr_RS@latin: Likewise.
23067 * localedata/locales/ss_ZA: Likewise.
23068 * localedata/locales/st_ZA: Likewise.
23069 * localedata/locales/sv_FI: Likewise.
23070 * localedata/locales/sv_SE: Likewise.
23071 * localedata/locales/sw_KE: Likewise.
23072 * localedata/locales/sw_TZ: Likewise.
23073 * localedata/locales/szl_PL: Likewise.
23074 * localedata/locales/ta_IN: Likewise.
23075 * localedata/locales/ta_LK: Likewise.
23076 * localedata/locales/tcy_IN: Likewise.
23077 * localedata/locales/te_IN: Likewise.
23078 * localedata/locales/tg_TJ: Likewise.
23079 * localedata/locales/th_TH: Likewise.
23080 * localedata/locales/the_NP: Likewise.
23081 * localedata/locales/ti_ER: Likewise.
23082 * localedata/locales/ti_ET: Likewise.
23083 * localedata/locales/tig_ER: Likewise.
23084 * localedata/locales/tk_TM: Likewise.
23085 * localedata/locales/tl_PH: Likewise.
23086 * localedata/locales/tn_ZA: Likewise.
23087 * localedata/locales/to_TO: Likewise.
23088 * localedata/locales/tpi_PG: Likewise.
23089 * localedata/locales/tr_CY: Likewise.
23090 * localedata/locales/tr_TR: Likewise.
23091 * localedata/locales/ts_ZA: Likewise.
23092 * localedata/locales/tt_RU: Likewise.
23093 * localedata/locales/tt_RU@iqtelif: Likewise.
23094 * localedata/locales/ug_CN: Likewise.
23095 * localedata/locales/uk_UA: Likewise.
23096 * localedata/locales/unm_US: Likewise.
23097 * localedata/locales/ur_IN: Likewise.
23098 * localedata/locales/ur_PK: Likewise.
23099 * localedata/locales/uz_UZ: Likewise.
23100 * localedata/locales/uz_UZ@cyrillic: Likewise.
23101 * localedata/locales/ve_ZA: Likewise.
23102 * localedata/locales/vi_VN: Likewise.
23103 * localedata/locales/wa_BE: Likewise.
23104 * localedata/locales/wae_CH: Likewise.
23105 * localedata/locales/wal_ET: Likewise.
23106 * localedata/locales/wo_SN: Likewise.
23107 * localedata/locales/xh_ZA: Likewise.
23108 * localedata/locales/yi_US: Likewise.
23109 * localedata/locales/yo_NG: Likewise.
23110 * localedata/locales/yue_HK: Likewise.
23111 * localedata/locales/yuw_PG: Likewise.
23112 * localedata/locales/zh_CN: Likewise.
23113 * localedata/locales/zh_HK: Likewise.
23114 * localedata/locales/zh_SG: Likewise.
23115 * localedata/locales/zh_TW: Likewise.
23116 * localedata/locales/zu_ZA: Likewise.
23118 2017-11-13 Florian Weimer <fweimer@redhat.com>
23120 * support/next_to_fault.h, support/next_to_fault.c: New files.
23121 * support/Makefile (libsupport-routines): Add next_to_fault.
23122 * resolv/tst-inet_pton.c (struct next_to_fault)
23123 (next_to_fault_allocate, next_to_fault_free): Remove.
23124 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
23126 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
23128 * elf/dl-support.c: Include <dl-procruntime.c>.
23129 * include/link.h: Include <link_map.h>.
23130 * sysdeps/generic/dl-procruntime.c: New file.
23131 * sysdeps/generic/link_map.h: Likewise.
23132 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
23133 the writable ld.so namespace.
23135 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
23137 timezone: pacify GCC -Wstringop-truncation
23138 Problem reported by Martin Sebor in:
23139 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
23140 * timezone/zic.c (writezone): Use memcpy, not strncpy.
23142 2017-11-12 Florian Weimer <fweimer@redhat.com>
23144 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
23146 (tests): Add tst-xreadlink.
23147 * support/support.h (xstrndup): Declare.
23148 * support/xunistd.h (xunlink, xreadlink): Declare.
23149 * support/temp_file.h (support_create_temp_directory): Declare.
23150 * support/temp_file.c (support_create_temp_directory): New function.
23151 * support/support_chroot.c (support_chroot_create): Use it.
23152 * support/xreadlink.c: New file.
23153 * support/xstrndup.c: Likewise.
23154 * support/xunlink.c: Likewise.
23155 * support/tst-xreadlink.c: Likewise.
23157 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
23159 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
23161 2017-11-11 Florian Weimer <fweimer@redhat.com>
23165 * resolv/res_comp.c (printable_string, binary_hnok)
23166 (binary_leading_dash): New functions.
23167 (res_hnok): Reimplement using these functions and ns_name_pton.
23168 (res_ownok): Likewise.
23169 (res_mailok): Reimplement using printable_string, ns_name_pton and
23171 (res_dnok): Reimplement using printable_string and ns_name_pton.
23172 * resolv/tst-res_hnok.c (tests): Add additional tests.
23173 (LETTERDIGITS, PRINTABLE): Define.
23174 (do_test): Adjust one_char results.
23176 2017-11-11 Florian Weimer <fweimer@redhat.com>
23179 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
23180 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
23182 2017-11-11 Florian Weimer <fweimer@redhat.com>
23184 * resolv/tst-ns_name_pton.c: New file.
23185 * resolv/Makefile (tests): Add tst-ns_name_pton.
23186 (tst-ns_name_pton): Link against libresolv.
23188 2017-11-11 Florian Weimer <fweimer@redhat.com>
23190 * resolv/tst-res_hnok.c: New file.
23191 * resolv/Makefile (tests): Add tst-res_hnok.
23192 (tst-res_hnok): Link against libresolv.
23194 2017-11-11 Florian Weimer <fweimer@redhat.com>
23196 * resolv/tst-resolv-network.c: Use test framework instead explicit
23199 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
23201 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
23202 <jmp_buf-macros.h>.
23203 [!_ISOMAC] (STR_HELPER): New.
23204 [!_ISOMAC] (STR): Likewise.
23205 [!_ISOMAC] (TEST_SIZE): Likewise.
23206 [!_ISOMAC] (TEST_ALIGN): Likewise.
23207 [!_ISOMAC] (TEST_OFFSET): Likewise.
23208 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
23209 field offsets of jmp_buf as well as sigjmp_buf.
23210 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
23211 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
23212 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
23213 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
23214 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
23215 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
23216 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
23217 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
23218 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
23219 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
23221 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
23223 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
23224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
23226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
23228 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
23229 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
23230 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
23231 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
23232 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
23233 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
23235 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
23237 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
23238 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
23239 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
23241 2017-11-07 Joseph Myers <joseph@codesourcery.com>
23244 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23245 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
23246 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23247 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
23248 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23249 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
23250 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23251 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
23252 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23253 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
23254 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23255 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
23256 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23257 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
23258 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23259 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
23260 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23261 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
23262 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23263 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
23264 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23265 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
23266 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23267 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
23268 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23269 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
23270 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23271 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
23272 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23273 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
23274 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23275 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
23276 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23277 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
23278 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23279 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
23280 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23281 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
23282 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23283 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
23284 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23285 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
23286 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23287 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
23288 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23289 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
23290 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23291 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
23292 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23293 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
23294 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23295 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
23296 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23297 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
23298 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23299 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
23300 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23301 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
23302 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23303 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
23304 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23305 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
23306 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23307 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
23308 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23309 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
23310 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23311 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
23312 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23313 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
23314 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23315 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
23316 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23317 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
23318 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23319 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
23320 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23321 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
23322 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23323 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
23324 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23325 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
23326 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23327 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
23328 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23329 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
23330 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23331 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
23333 * stdlib/tst-strtod.h (F16): New macro.
23339 (IF_FLOAT16): Likewise.
23340 (IF_FLOAT32): Likewise.
23341 (IF_FLOAT64): Likewise.
23342 (IF_FLOAT32X): Likewise.
23343 (IF_FLOAT64X): Likewise.
23344 (IF_FLOAT128X): Likewise.
23345 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
23346 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
23347 (STRTOD_TEST_FOREACH): Likewise.
23348 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
23349 (CHOOSE_f64): Likewise.
23350 (CHOOSE_f32x): Likewise.
23351 (CHOOSE_f64x): Likewise.
23353 2017-11-07 Andreas Schwab <schwab@suse.de>
23355 * nptl/Makefile (tests-internal): Remove tst-typesizes.
23357 2017-11-07 Mike FABIAN <mfabian@redhat.com>
23360 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
23362 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
23365 2017-11-07 Claude Paroz <claude@2xlibre.net>
23368 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
23370 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
23372 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
23375 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23378 * nptl/allocatestack.c (allocate_stack): Check if
23379 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
23380 __PTHREAD_MUTEX_HAVE_PREV is defined.
23381 * nptl/descr.h (pthread): Likewise.
23382 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
23384 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
23385 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23386 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
23387 * sysdeps/nptl/bits/thread-shared-types.h
23388 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23390 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
23391 of __WORDSIZE for internal layout.
23392 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
23393 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
23394 instead of __WORDSIZE whether to use an union for __spins and __list
23396 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
23398 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
23399 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23401 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
23402 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23404 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
23405 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23407 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
23408 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23410 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
23411 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23413 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
23414 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23416 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
23417 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23419 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
23420 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23422 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
23423 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23425 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
23426 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23428 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
23429 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23431 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
23432 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23434 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
23435 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23437 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
23438 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23440 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
23441 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23444 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
23446 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
23447 checks for expected input type size.
23448 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
23449 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
23451 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
23452 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
23453 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
23454 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
23455 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
23456 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
23457 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
23458 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
23459 superflous runtime assert check.
23460 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
23462 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
23464 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
23466 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
23468 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
23470 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
23472 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
23473 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
23474 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
23476 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
23478 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
23480 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
23482 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
23484 * nptl/pthread_attr_setinheritsched.c
23485 (__pthread_attr_setinheritsched): Likewise.
23486 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
23488 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
23490 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
23491 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
23492 __old_pthread_attr_setstack): Likewise.
23493 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
23495 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
23497 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
23499 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
23500 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
23502 * nptl/tst-typesizes.c: Remove file.
23504 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
23505 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
23506 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
23507 checks for internal pthread_mutex_t offsets.
23508 * sysdeps/aarch64/nptl/pthread-offsets.h
23509 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
23510 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
23511 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
23512 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
23513 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
23514 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
23515 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
23516 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
23517 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
23518 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
23519 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
23520 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
23521 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
23522 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
23523 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
23524 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
23525 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
23526 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
23528 2017-11-07 Florian Weimer <fweimer@redhat.com>
23530 * bits/mman-linux.h: Move ...
23531 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
23533 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
23536 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23538 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
23539 Redefine STRNLEN as __strnlen_power8.
23541 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23543 * signal/sighold.c (sighold): Optimize implementation.
23545 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
23546 __NR_rt_sigqueueinfo.
23548 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
23550 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
23551 assume __NR_rt_sigtimedwait.
23552 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
23553 and add LIBC_CANCEL_HANDLED for cancellation marking.
23554 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23556 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23557 (sysdeps_routines): Add memchr_noneon.
23558 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
23559 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
23560 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
23561 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
23562 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
23563 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
23564 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
23566 * sysdeps/arm/arm-ifunc.h: New file.
23567 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
23568 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
23569 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
23570 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
23571 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
23572 (__memcpy_neon): Avoid create hidden alias.
23573 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
23574 (__memcpy_vfp): Likewise.
23575 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23576 (sysdep_routines): Add memcpy_arm.
23577 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
23579 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
23582 * Makerules (make-link-multidir): New.
23583 * config.make.in (multidir): New.
23584 * configure.ac (libc_cv_multidir): New. AC_SUBST.
23585 * configure: Regenerated.
23586 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
23587 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
23588 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
23591 2017-11-06 Joseph Myers <joseph@codesourcery.com>
23594 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
23595 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
23597 2017-11-04 Mike FABIAN <mfabian@redhat.com>
23599 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
23602 2017-11-04 Florian Weimer <fweimer@redhat.com>
23604 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
23606 2017-11-03 Joseph Myers <joseph@codesourcery.com>
23608 * math/math.h [__HAVE_DISTINCT_FLOAT16
23609 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23610 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23611 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23612 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
23613 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
23614 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
23615 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23616 (__MATH_TG_F32): New macro.
23617 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23618 (__MATH_TG_F64X): Likewise.
23619 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23620 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
23622 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
23624 * po/de.po: Update translations.
23625 * po/ru.po: Likewise.
23627 2017-11-03 Florian Weimer <fweimer@redhat.com>
23629 * manual/filesys.texi (Hard Links): Document linkat.
23631 2017-11-03 Joseph Myers <joseph@codesourcery.com>
23633 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
23634 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23635 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23636 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23637 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23638 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23639 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
23640 the same as _Float128.
23641 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23642 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23643 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
23646 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
23648 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
23650 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
23652 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23653 (strtof32x): Likewise.
23654 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23655 (strtof64x): Likewise.
23656 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23657 (strtof128x): Likewise.
23658 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23659 (strfromf16): Likewise.
23660 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23661 (strfromf32): Likewise.
23662 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23663 (strfromf64): Likewise.
23664 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23665 (strfromf32x): Likewise.
23666 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23667 (strfromf64x): Likewise.
23668 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23669 (strfromf128x): Likewise.
23670 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
23671 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
23672 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
23673 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
23674 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
23675 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
23677 2017-11-03 Richard Henderson <rth@twiddle.net>
23679 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
23681 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23683 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
23685 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23687 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
23688 DT_TLSDESC_GOT initialization.
23689 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
23690 (_dl_tlsdesc_resolve_hold): Likewise.
23691 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
23692 (_dl_tlsdesc_resolve_hold): Likewise.
23693 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
23694 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23696 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23698 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
23700 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23703 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
23704 non-lazily for R_ARM_TLS_DESC.
23706 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23709 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
23710 R_ARM_TLS_DESC case.
23711 (elf_machine_lazy_rel): Remove the prelink check.
23713 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23715 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
23716 DT_TLSDESC_GOT initialization.
23717 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
23718 (_dl_tlsdesc_resolve_rela): Likewise.
23719 (_dl_tlsdesc_resolve_hold): Likewise.
23720 (_dl_tlsdesc_undefweak): Remove ldar.
23721 (_dl_tlsdesc_dynamic): Likewise.
23722 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
23723 (_dl_tlsdesc_resolve_rela): Likewise.
23724 (_dl_tlsdesc_resolve_hold): Likewise.
23725 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
23726 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23727 (_dl_tlsdesc_resolve_rela): Likewise.
23728 (_dl_tlsdesc_resolve_hold): Likewise.
23730 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23732 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
23733 binding and initialization non-lazily for R_AARCH64_TLSDESC.
23735 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23737 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
23738 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23740 2017-11-02 Joseph Myers <joseph@codesourcery.com>
23742 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
23744 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
23745 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
23746 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
23747 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
23748 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
23749 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
23750 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
23751 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
23752 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
23753 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
23754 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
23756 2017-11-02 Mike FABIAN <mfabian@redhat.com>
23759 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
23760 * localedata/locales/tpi_PG: Add standard header.
23762 2017-11-02 Florian Weimer <fweimer@redhat.com>
23764 test-errno-linux: quotactl can fail with EPERM in containers.
23765 * sysdeps/unix/sysv/linux/test-errno-linux.c
23766 (LIST, LIST_FORWARD): New macros.
23767 (check_error_in_list): New function.
23768 (test_wrp_rv): Accept list of permitted error codes.
23769 (test_wrp_rv2): Remove.
23770 (test_wrp): Call test_wrp_rv with list of error codes.
23771 (test_wrp2): Accept list of error codes.
23772 (do_test): Adjust. Allow EPERM for quotactl.
23774 2017-11-02 Florian Weimer <fweimer@redhat.com>
23776 * stdio-common/bug16.c (do_test): Use array_length.
23777 * stdio-common/errlist.c (_sys_nerr): Likewise.
23778 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
23779 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
23780 * stdio-common/psiginfo.c (psiginfo): Use array_length.
23781 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
23782 (do_test): Use array_length.
23783 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
23784 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
23785 * stdio-common/tst-printf-round.c (do_test): Likewise.
23786 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
23787 (CHECK): Use array_length.
23788 * stdio-common/tstdiomisc.c (t3, F): Likewise.
23789 * stdio-common/tstscanf.c (main): Likewise.
23790 * stdio-common/vfprintf.c (process_string_arg): Likewise.
23792 2017-11-02 Florian Weimer <fweimer@redhat.com>
23794 Add array_length and array_end macros.
23795 * include/array_length.h: New file.
23797 2017-11-02 Florian Weimer <fweimer@redhat.com>
23800 * posix/tst-glob-tilde.c (do_noescape): New variable.
23801 (one_test): Process it.
23802 (do_test): Set do_noescape. Add unescaping test case.
23804 2017-11-01 Joseph Myers <joseph@codesourcery.com>
23807 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
23808 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
23809 with appropriate macros defined and undefined.
23810 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
23811 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23812 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
23813 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23814 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
23815 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23816 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
23817 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23818 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
23819 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23822 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
23823 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
23824 that for long double. Do not condition define and undefine of
23825 _Mdouble_complex_ on [__CFLOAT128].
23827 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
23829 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23830 of <sysdeps/generic/sysdep.h>.
23831 (ALIGNARG): Removed.
23832 (ASM_SIZE_DIRECTIVE): Likewise.
23835 (ENTRY_CHK): Likewise.
23836 (END_CHK): Likewise.
23837 (syscall_error): Likewise.
23838 (mcount): Likewise.
23839 (PSEUDO_END): Likewise.
23841 (atom_text_section): Likewise.
23842 * sysdeps/x86/sysdep.h: New file.
23843 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23844 of <sysdeps/generic/sysdep.h>.
23845 (ALIGNARG): Removed.
23846 (ASM_SIZE_DIRECTIVE): Likewise.
23849 (ENTRY_CHK): Likewise.
23850 (END_CHK): Likewise.
23851 (syscall_error): Likewise.
23852 (mcount): Likewise.
23853 (PSEUDO_END): Likewise.
23855 (atom_text_section): Likewise.
23857 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
23859 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
23860 category of LC_CTYPE set to "i18n:2012".
23861 * localedata/locales/i18n_ctype: Regenerate.
23863 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
23865 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
23866 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
23867 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
23868 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
23870 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
23871 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
23872 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
23873 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
23875 2017-10-31 Joseph Myers <joseph@codesourcery.com>
23878 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
23880 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
23882 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
23884 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23885 (CMPLXF32X): Likewise.
23886 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23887 (CMPLXF64X): Likewise.
23888 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23889 (CMPLXF128X): Likewise.
23892 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
23893 (__MATH_EVAL_FMT2): Define to add 0.0f.
23895 2017-10-31 Alan Modra <amodra@gmail.com>
23897 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
23899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
23900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
23901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
23902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
23903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
23904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
23905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
23906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
23907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
23908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
23909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
23910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
23911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
23912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
23913 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
23914 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
23915 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
23916 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
23917 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
23918 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
23919 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
23920 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
23921 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
23922 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
23923 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
23924 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
23925 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
23926 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
23927 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
23928 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
23929 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
23930 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
23931 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
23932 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
23933 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
23934 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
23935 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
23936 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
23937 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
23938 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23939 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
23940 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
23941 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
23942 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
23943 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
23944 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
23945 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
23946 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
23947 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
23948 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
23949 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
23950 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
23951 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
23952 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
23953 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
23954 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
23955 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
23956 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
23957 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
23958 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
23959 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
23960 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
23961 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
23962 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23963 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
23964 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
23965 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
23966 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
23967 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
23969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
23970 include sysdep.h and math_ldbl_opt.h.
23972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
23973 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
23974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
23975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
23976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
23977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
23978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
23979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
23980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
23981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
23982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
23983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
23984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
23985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
23986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
23987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
23988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
23989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
23990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
23991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
23992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
23993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
23994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
23995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
23996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
23997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
23999 2017-10-31 Alan Modra <amodra@gmail.com>
24001 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
24002 string/strncase_l.c, not string/strncase.c.
24003 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
24004 (libc_hidden_def): Redefine.
24006 2017-10-31 Alan Modra <amodra@gmail.com>
24008 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
24009 (__STRCMP, STRCMP, __strcasecmp_l): Define.
24010 (__strcasecmp): Don't define.
24012 2017-10-31 Alan Modra <amodra@gmail.com>
24014 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
24016 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
24017 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
24018 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
24020 2017-10-31 Alan Modra <amodra@gmail.com>
24022 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
24025 2017-10-31 Alan Modra <amodra@gmail.com>
24027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
24028 Redefine only when SHARED.
24030 2017-10-30 Joseph Myers <joseph@codesourcery.com>
24032 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
24033 Include <bits/math-finite.h> with appropriate macros defined and
24035 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
24036 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
24037 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
24038 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
24039 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
24041 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
24042 [!_Mlong_double_] (_Mlong_double_): Likewise.
24043 [!_Mfloat16_] (_Mfloat16_): Likewise.
24044 [!_Mfloat32_] (_Mfloat32_): Likewise.
24045 [!_Mfloat64_] (_Mfloat64_): Likewise.
24046 [!_Mfloat128_] (_Mfloat128_): Likewise.
24047 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
24048 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
24049 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
24050 (_Mdouble_): Define without indirection through those macros.
24051 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
24052 [!_Mfloat128_] (_Mfloat128_): Likewise.
24053 [_Mlong_double_] (_Mlong_double_): Likewise.
24054 (_Mdouble_): Define without indirection through those macros.
24055 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
24056 not add -D_Mlong_double_=double.
24057 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
24058 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
24060 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24062 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
24064 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24066 * sysdeps/x86/libc-start.c: Reformat.
24068 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24071 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
24072 (1): Renamed to ...
24075 (L(Src2)): Likewise.
24076 (L(1)): Renamed to ...
24079 2017-10-30 Joseph Myers <joseph@codesourcery.com>
24081 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
24082 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
24083 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
24084 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
24085 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
24086 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
24087 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
24088 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
24089 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
24090 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
24091 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
24092 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
24093 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
24094 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
24095 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
24096 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
24097 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
24098 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
24099 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
24100 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
24101 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
24102 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
24103 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
24104 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
24105 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
24106 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
24107 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
24108 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
24109 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
24110 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
24111 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
24112 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
24113 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
24114 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
24115 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
24116 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
24117 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
24118 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
24119 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
24120 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
24121 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
24122 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
24123 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
24124 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
24125 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
24126 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
24127 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
24128 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
24129 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
24130 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
24131 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
24132 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
24133 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
24134 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
24135 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
24136 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
24137 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
24138 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
24139 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
24140 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
24141 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
24142 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
24143 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
24144 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
24145 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
24146 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
24148 2017-10-30 Florian Weimer <fweimer@redhat.com>
24150 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
24152 * io/tst-mkdirat.c (do_test): Likewise.
24153 * io/tst-mkfifoat.c (do_test): Likewise.
24154 * io/tst-mknodat.c (do_test): Likewise.
24155 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
24156 * locale/programs/locale.c (select_dirs): Likewise.
24157 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
24158 * posix/bug-glob2.c (my_readdir): Likewise.
24159 * posix/tst-dir.c (main): Likewise.
24160 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
24161 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
24163 2017-10-30 Florian Weimer <fweimer@redhat.com>
24165 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
24168 2017-10-30 Florian Weimer <fweimer@redhat.com>
24170 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
24171 Convert to support/test-driver.c.
24172 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
24173 New macro parameters.
24174 (PRINTF): Remove macro. Use test_verbose conditionals instead.
24175 * posix/tst-gnuglob.c: New file.
24176 * posix/tst-gnuglob64.c: Likewise.
24177 * posix/Makefile (tests): Add tst-gnuglob64.
24179 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
24182 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
24183 and use a better translation for March in “mon”.
24184 * localedata/locales/csb_PL: Use more ASCII to improve the
24185 readability of the source.
24187 2017-10-30 Mike FABIAN <mfabian@redhat.com>
24190 * localedata/locales/km_KH: Use ASCII as much
24191 as possible for better readability of the source and
24192 remove useless comments.
24193 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
24194 was commented out and apparently wrong anyway because it was
24195 using Lao characters. If Buddhist era should be used
24196 for km_KH, a native speaker should write the correct formaat
24198 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
24199 (According to CLDR, the first weekday for Cambodia is Sunday).
24200 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
24201 (These were using Lao characters which must be wrong. If we get
24202 the correct data from a native speaker, we could add it back, until
24203 then it is better not to have name_mr and name_mrs at all than
24206 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
24208 * locale/loadlocale.c: Correct size of
24209 _nl_value_type_LC_<category> arrays.
24211 2017-10-27 Joseph Myers <joseph@codesourcery.com>
24213 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
24214 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
24215 with appropriate macros defined and undefined.
24216 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
24217 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
24218 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
24219 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
24220 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
24222 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
24224 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
24227 2017-10-27 Mike FABIAN <mfabian@redhat.com>
24229 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
24230 with lowercase letters to make it agree with CLDR.
24232 2017-10-27 Mike FABIAN <mfabian@redhat.com>
24235 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
24236 first letters of yesstr and nostr in yesexpr and noexpr,
24237 not for the full words.
24238 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24239 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
24240 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
24241 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
24242 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
24243 first letters of yesstr and nostr in yesexpr and noexpr,
24244 until now only English was matched in yesexpr and noexpr.
24245 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
24246 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
24247 fil but not for tl. As tl and fil are very similar, using fil
24248 is probably better than using English.
24250 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
24253 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
24254 in yesstr and nostr.
24256 2017-10-26 Joseph Myers <joseph@codesourcery.com>
24258 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24259 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
24260 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
24262 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
24264 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
24266 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
24268 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24269 (SNANF128X): Likewise.
24271 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24272 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
24273 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24274 (HUGE_VAL_F32): Likewise.
24275 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24276 (HUGE_VAL_F64): Likewise.
24277 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24278 (HUGE_VAL_F32X): Likewise.
24279 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24280 (HUGE_VAL_F64X): Likewise.
24281 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24282 (HUGE_VAL_F128X): Likewise.
24284 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
24286 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
24287 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
24288 for the br_FR locale.
24290 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
24293 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
24295 2017-10-25 Carlos O'Donell <carlos@redhat.com>
24297 * locale/programs/record-status.h: Define globals, and function
24298 prototypes. Move function bodies...
24299 * locale/programs/record-status.c: ... to here. New file.
24300 * iconv/Makefile (iconv_prog-modules): Add record-status.
24301 * locale/Makefile (lib-modules): Likewise.
24302 * iconv/iconv_prog.c: Remove verbose.
24303 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
24304 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
24305 record a warning about ASCII compatibility.
24306 * locale/programs/ld-monetary.c (monetary_finish): If
24307 warn_int_curr_symbol is true then record a warning about the symbol
24308 not being in our ISO 4217 list.
24309 * locale/programs/locale.c: Include record-status.h. Remove verbose.
24310 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
24311 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
24312 (OPT_NO_WARN): Define.
24313 (OPT_WARN): Define.
24314 (options): Add entry for --no-warnings, and --warnings.
24315 (set_warnings): New function to enable/disable warnings.
24316 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
24317 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
24318 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
24319 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
24320 Pass flags to generate_locale.
24321 (generate_locale): Accept new flag argument and pass it to localedef
24323 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
24324 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
24326 * localedata/Makefile (test-input-data): Use full file name.
24327 * localedata/da_DK.in: Rename to...
24328 * localedata/da_DK.ISO-8859-1.in: ...this.
24329 * localedata/de_DE.in: Rename to...
24330 * localedata/de_DE.ISO-8859-1.in: ...this.
24331 * localedata/en_US.in: Rename to...
24332 * localedata/en_US.ISO-8859-1.in: ...this.
24333 * localedata/fr_FR.in: Rename to...
24334 * localedata/fr_FR.UTF-8.in: ... this.
24335 * localedata/hr_HR.in: Rename to...
24336 * localedata/hr_HR.ISO-8859-2.in: ...this.
24337 * localedata/hu_HU.in: Rename to...
24338 * localedata/hu_HU.UTF-8.in: ...this.
24339 * localedata/si_LK.in: Rename to...
24340 * localedata/si_LK.UTF-8.in: ...this.
24341 * localedata/sv_SE.in: Rename to...
24342 * localedata/sv_SE.ISO-8859-1.in: ...this.
24343 * localedata/tr_TR.in: Rename to...
24344 * localedata/tr_TR.UTF-8.in: ...this.
24345 * localedata/uk_UA.in: Rename to...
24346 * localedata/uk_UA.UTF-8.in: ...this.
24347 * localedata/sort-test.sh: Test file is locale name with the
24350 * localedata/unicode-gen/Makefile (check_i18n): Rename to
24351 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
24353 * localedata/locales/i18n_ctype: Regenerate.
24354 * localedata/locales/tr_TR: Likewise.
24355 * localedata/locales/translit_circle: Likewise.
24356 * localedata/locales/translit_cjk_compat: Likewise.
24357 * localedata/locales/translit_combining: Likewise.
24358 * localedata/locales/translit_compat: Likewise.
24359 * localedata/locales/translit_font: Likewise.
24360 * localedata/locales/translit_fraction: Likewise.
24362 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24364 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
24365 lxvd2x/stxvd2x with lvx/stvx.
24366 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
24368 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
24370 * include/alloc_buffer.h: Replace "if if " with "if " in
24372 * sysdeps/mips/memcpy.S: Likkewise.
24373 * sysdeps/mips/memset.S: Likewise.
24374 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
24376 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
24378 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
24381 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24384 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
24385 yesexpr and noexpr.
24386 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24387 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24388 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24389 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24390 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24391 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24392 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24394 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24396 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
24397 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24398 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24399 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24400 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24401 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
24402 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24403 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24404 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24405 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24406 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24407 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24409 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24411 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
24412 as possible for better readability of the source.
24413 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
24414 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
24415 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
24416 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
24417 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
24418 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
24419 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
24420 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
24421 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24422 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
24423 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
24424 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
24425 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
24426 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
24427 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
24428 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
24429 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
24430 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
24431 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
24432 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
24433 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
24434 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
24435 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
24436 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
24437 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
24438 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
24439 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
24440 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
24441 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
24442 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
24443 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
24444 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24445 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
24446 * localedata/locales/en_US (LC_MESSAGES): Likewise.
24447 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
24448 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
24449 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
24450 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
24451 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
24452 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
24453 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
24454 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
24455 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
24456 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
24457 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
24458 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
24459 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
24460 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
24461 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
24462 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
24463 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
24464 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
24465 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
24466 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24467 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24468 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
24469 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
24470 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24471 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
24472 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
24473 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
24474 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
24475 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
24476 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
24477 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
24478 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
24479 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
24480 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
24481 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
24482 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
24483 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
24484 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
24485 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
24486 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
24487 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24488 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
24489 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
24490 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
24491 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
24492 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
24493 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
24494 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
24495 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
24496 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24497 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
24498 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
24499 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
24500 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24501 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
24502 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
24503 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
24504 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
24505 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24506 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
24507 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
24508 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24509 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
24510 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24511 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
24512 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
24513 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
24514 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
24515 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
24516 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
24517 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
24518 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
24519 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
24520 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
24521 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
24522 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
24523 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
24524 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
24525 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24526 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
24527 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
24528 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
24529 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
24530 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
24531 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
24532 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
24533 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
24534 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
24535 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
24536 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
24537 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
24538 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
24539 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
24540 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
24541 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
24542 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
24543 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
24544 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
24545 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
24546 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
24547 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
24548 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
24549 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
24550 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
24551 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
24552 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
24553 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
24554 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
24555 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
24556 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
24557 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
24558 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24559 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
24560 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
24561 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
24562 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
24563 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
24564 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
24565 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
24566 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
24567 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24568 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
24569 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
24570 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
24571 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
24572 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
24573 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
24574 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
24575 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
24576 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
24577 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
24578 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24579 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
24580 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
24581 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
24582 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
24583 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24584 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24585 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24586 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
24588 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24590 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
24591 (Use first letters of yesstr and nostr correctly instead of using
24594 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24596 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
24597 (Use first letters of yesstr and nostr correctly).
24599 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24601 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
24602 also check for the first characters of yesstr and nostr.
24603 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
24604 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
24606 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24608 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
24609 also check for Chinese characters.
24611 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24613 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
24614 match also for the contents of yesstr and nostr. As the first letter
24615 of yesstr and nostr is equal, checking only for the first letter
24618 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24620 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
24621 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
24623 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24625 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
24626 of main contributor.
24628 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24630 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
24631 instead of using English.
24633 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24635 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
24636 by including the first letters of nostr and yesexpr in the regexp.
24637 Also make it more readable by using ASCII where possible.
24639 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24641 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
24642 the first letter of nostr in the regexp. It agrees with CLDR now.
24643 Also make it more readable by using ASCII where possible.
24645 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24647 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
24648 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
24649 these strings contain a U+17D6 (which somewhat looks like a colon)
24650 instead of a real colon to separate the full words for “yes”
24651 and “no” from the single letter responses.
24653 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24655 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
24656 it agree with CLDR (include the first letter of yesstr).
24657 Also make it more readable by using ASCII where possible.
24659 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24661 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
24662 and improve yesexpr and noexpr. The yesstr and nostr apparently
24663 came from CLDR. And CLDR has a bug there: these strings contain
24664 a U+0903 (which looks like a colon) instead of a real colon
24665 to separate the full words for “yes” and “no” from the single
24668 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24670 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
24671 letters of the full yesstr and nostr in yesexpr and noexpr.
24673 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24675 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
24676 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
24677 * localedata/locales/an_ES: Make source more readable by using ASCII
24680 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24683 * localedata/locales/yuw_PG: New file.
24684 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
24685 * locale/iso-639.def: Add Yau (Uruwa).
24687 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24689 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
24691 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24693 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
24694 (__libc_realloc): Likewise.
24695 (_mid_memalign): Likewise.
24696 (__libc_calloc): Likewise.
24698 2017-10-23 Mike FABIAN <mfabian@redhat.com>
24700 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
24701 by adding the generic +1 and -0 as in all other locales.
24702 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
24703 day names and make it more readable by using ASCII where possible.
24705 2017-10-24 Joseph Myers <joseph@codesourcery.com>
24707 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
24708 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
24710 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24712 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
24713 WNOHANG in waitpid call.
24715 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
24717 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
24718 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
24720 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
24721 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
24722 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
24723 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
24724 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
24725 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
24726 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
24727 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
24730 2017-10-23 Michael Collison <michael.collison@arm.com>
24732 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
24733 with __builtin_sqrt.
24734 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
24735 with __builtin_sqrtf.
24736 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
24737 with __builtin_ceil.
24738 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
24739 with __builtin_ceilf.
24740 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
24741 with __builtin_floor.
24742 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
24743 with __builtin_floorf.
24744 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
24745 with __builtin_fma.
24746 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
24747 with __builtin_fmaf.
24748 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
24749 with __builtin_fmax.
24750 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
24751 with __builtin_fmaxf.
24752 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
24753 with __builtin_fmin.
24754 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
24755 with __builtin_fminf.
24756 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
24757 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
24758 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
24759 with builtin_rint and conversion to int.
24760 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
24761 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
24762 with builtin_llround.
24763 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
24764 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
24765 with builtin_rint and conversion to long int.
24766 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
24767 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
24768 with builtin_lround.
24769 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
24770 with builtin_lroundf.
24771 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
24772 statements with __builtin_nearbyint.
24773 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
24774 statements with __builtin_nearbyintf.
24775 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
24776 with __builtin_rint.
24777 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
24778 with __builtin_rintf.
24779 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
24780 with __builtin_round.
24781 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
24782 with __builtin_roundf.
24783 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
24784 with __builtin_trunc.
24785 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
24786 with __builtin_truncf.
24787 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
24788 and s_l[l]round[f].c too.
24790 2017-10-23 Alan Modra <amodra@gmail.com>
24792 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
24793 Adjust stack after restoring regs. Add missing LR cfi_restore.
24795 2017-10-23 Alan Modra <amodra@gmail.com>
24797 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
24798 Move LR save and frame setup/teardown and LR restore to
24799 immediately around memset call. Provide cfi.
24801 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24803 * sysdeps/i386/fpu/e_powf.S: Removed.
24804 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
24805 * sysdeps/i386/fpu/w_powf.c: Likewise.
24806 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
24807 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24808 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24810 (CFLAGS-e_powf-sse2.c): New.
24811 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
24812 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
24814 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24816 * sysdeps/i386/fpu/e_log2f.S: Removed.
24817 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
24818 * sysdeps/i386/fpu/w_log2f.c: Likewise.
24819 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
24820 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24821 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24823 (CFLAGS-e_log2f-sse2.c): New.
24824 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
24825 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
24827 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24829 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24831 (CFLAGS-e_powf-fma.c): New.
24832 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
24833 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
24835 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24837 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24839 (CFLAGS-e_log2f-fma.c): New.
24840 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
24841 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
24843 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24845 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24847 (CFLAGS-e_logf-fma.c): New.
24848 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
24849 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
24851 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24853 * sysdeps/i386/fpu/e_logf.S: Removed.
24854 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
24855 * sysdeps/i386/fpu/w_logf.c: Likewise.
24856 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
24857 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
24858 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24859 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24861 (CFLAGS-e_logf-sse2.c): New.
24862 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
24863 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
24865 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24867 * sysdeps/i386/fpu/e_exp2f.S: Removed.
24868 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
24869 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
24870 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24871 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24873 (CFLAGS-e_exp2f-sse2.c): New.
24874 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
24875 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
24877 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24879 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24881 (CFLAGS-e_exp2f-fma.c): New.
24882 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
24883 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
24885 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24887 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
24888 * sysdeps/i386/fpu/e_expf.S: Likewise.
24889 * sysdeps/i386/fpu/math_errf.c: Likewise.
24890 * sysdeps/i386/fpu/w_expf.c: Likewise.
24891 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
24892 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24893 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
24894 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
24895 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24896 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24897 Remove e_expf-ia32.
24898 (CFLAGS-e_expf-sse2.c): New.
24899 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
24900 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
24902 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24904 * sysdeps/x86_64/fpu/e_expf.S: Removed.
24905 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
24906 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
24907 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
24909 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
24911 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
24912 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
24914 (__redirect_expf): This.
24915 (SYMBOL_NAME): Changed to expf.
24916 (__ieee754_expf): Renamed to ...
24918 (__GI___expf): This.
24919 (__ieee754_expf): Add strong_alias.
24920 (__expf_finite): Likewise.
24922 Include <sysdeps/ieee754/flt-32/e_expf.c>.
24924 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
24927 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
24930 2017-10-21 Florian Weimer <fweimer@redhat.com>
24932 * posix/Makefile (tests): Add tst-glob-tilde.
24933 (tests-special): Add tst-glob-tilde-mem.out
24934 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
24935 (tst-glob-tilde-mem.out): Add mtrace check.
24936 * posix/tst-glob-tilde.c: New file.
24938 2017-10-20 Joseph Myers <joseph@codesourcery.com>
24940 * bits/floatn-common.h: New file.
24941 * math/Makefile (headers): Add bits/floatn-common.h.
24942 * bits/floatn.h: Include <bits/floatn-common.h>.
24943 * sysdeps/ia64/bits/floatn.h: Likewise.
24944 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
24945 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
24946 * sysdeps/powerpc/bits/floatn.h: Likewise.
24947 * sysdeps/x86/bits/floatn.h: Likewise.
24949 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24951 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
24952 indicates whether compiler emits an warning for alias for
24953 functions with incompatible types.
24956 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
24957 the auxiliary process is terminated by a signal before calling _exit
24960 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24963 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
24965 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
24966 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
24967 and bit_arch_XSAVEC_Usable if needed.
24968 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
24969 and bit_arch_Use_dl_runtime_resolve_opt.
24970 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
24972 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
24973 (bit_arch_Prefer_No_AVX512): Updated.
24974 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
24975 (bit_arch_XSAVEC_Usable): New.
24976 (STATE_SAVE_OFFSET): Likewise.
24977 (STATE_SAVE_MASK): Likewise.
24978 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
24979 (cpu_features): Add xsave_state_size and xsave_state_full_size.
24980 (index_arch_Use_dl_runtime_resolve_opt): Removed.
24981 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
24982 (index_arch_XSAVEC_Usable): New.
24983 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
24984 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
24985 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
24987 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
24988 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
24989 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
24990 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
24991 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
24992 _dl_runtime_resolve_xsavec.
24993 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
24995 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
24996 instead of VEC_SIZE.
24997 (REGISTER_SAVE_BND0): Removed.
24998 (REGISTER_SAVE_BND1): Likewise.
24999 (REGISTER_SAVE_BND3): Likewise.
25000 (REGISTER_SAVE_RAX): Always defined to 0.
25002 (_dl_runtime_resolve_avx): Likewise.
25003 (_dl_runtime_resolve_avx_slow): Likewise.
25004 (_dl_runtime_resolve_avx_opt): Likewise.
25005 (_dl_runtime_resolve_avx512): Likewise.
25006 (_dl_runtime_resolve_avx512_opt): Likewise.
25007 (_dl_runtime_resolve_sse): Likewise.
25008 (_dl_runtime_resolve_sse_vex): Likewise.
25010 (_dl_runtime_resolve_fxsave): Likewise.
25011 (USE_XSAVE): Likewise.
25012 (_dl_runtime_resolve_xsave): Likewise.
25013 (USE_XSAVEC): Likewise.
25014 (_dl_runtime_resolve_xsavec): Likewise.
25015 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
25017 (_dl_runtime_resolve_avx512_opt): Likewise.
25018 (_dl_runtime_resolve_avx): Likewise.
25019 (_dl_runtime_resolve_avx_opt): Likewise.
25020 (_dl_runtime_resolve_sse): Likewise.
25021 (_dl_runtime_resolve_sse_vex): Likewise.
25022 (_dl_runtime_resolve_fxsave): New.
25023 (_dl_runtime_resolve_xsave): Likewise.
25024 (_dl_runtime_resolve_xsavec): Likewise.
25026 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
25030 * posix/glob.c (__glob): Fix one-byte overflow.
25032 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25034 * malloc/malloc.c (sysdep-cancel.h): Add include.
25036 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25038 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
25040 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
25042 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
25043 (tests): Remove $(objpfx)ga_test depdendency.
25044 * resolv/ga_test.c: Remove file.
25046 2017-10-20 Mike FABIAN <mfabian@redhat.com>
25049 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
25050 * localedata/locales/kab_DZ: New file.
25052 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25054 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
25055 _dl_relocate_static_pie instead of _dl_start to compute load
25056 address in static PIE.
25058 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25060 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
25062 2017-10-20 Mike FABIAN <mfabian@redhat.com>
25065 * localedata/SUPPORTED: Add shn_MM/UTF-8.
25066 * localedata/locales/shn_MM: New file.
25068 2017-10-20 Florian Weimer <fweimer@redhat.com>
25071 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
25072 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
25073 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
25074 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
25075 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
25076 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
25078 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
25080 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25082 2017-10-19 Joseph Myers <joseph@codesourcery.com>
25084 * sysdeps/mips/ieee754/bits/floatn.h: New file.
25087 * sysdeps/mips/bits/long-double.h: Move to ....
25088 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
25090 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
25092 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
25094 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
25095 H.J. Lu <hongjiu.lu@intel.com>
25098 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
25099 GLRO(dl_platform) to NULL.
25100 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
25101 (modules-names): Add tst-platformmod-1 and
25102 x86_64/tst-platformmod-2.
25103 (CFLAGS-tst-platform-1.c): New.
25104 (CFLAGS-tst-platformmod-1.c): Likewise.
25105 (CFLAGS-tst-platformmod-2.c): Likewise.
25106 (LDFLAGS-tst-platformmod-2.so): Likewise.
25107 ($(objpfx)tst-platform-1): Likewise.
25108 ($(objpfx)tst-platform-1.out): Likewise.
25109 (tst-platform-1-ENV): Likewise.
25110 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
25111 * sysdeps/x86_64/tst-platform-1.c: New file.
25112 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
25113 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
25115 2017-10-19 Mike FABIAN <mfabian@redhat.com>
25118 * locale/iso-639.def: Add Karbi.
25119 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
25120 * localedata/locales/mjw_IN: New file.
25122 2017-10-18 Joseph Myers <joseph@codesourcery.com>
25124 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
25125 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
25126 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
25127 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
25128 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25129 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25130 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
25132 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25133 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25134 * manual/math.texi (Mathematics): Document additional architecture
25135 support for _Float128.
25136 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25137 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25138 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25139 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25140 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25141 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25142 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25143 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25144 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25145 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25146 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25147 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25148 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25149 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25150 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25152 2017-10-18 Renlin Li <renlin.li@arm.com>
25154 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
25155 _DYNAMIC symbol to calculate load address.
25157 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
25159 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
25160 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
25162 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
25163 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
25165 2017-10-18 Mike FABIAN <mfabian@redhat.com>
25168 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
25169 and improve readability by using more ASCII.
25170 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
25171 and improve readability by using more ASCII.
25173 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
25175 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
25176 not all targets support atomics on bool.
25178 2017-10-17 Joseph Myers <joseph@codesourcery.com>
25180 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
25181 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
25183 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25184 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
25185 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25186 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
25187 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25188 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
25190 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25192 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
25195 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25198 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
25199 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
25200 (do_check_remalloced_chunk): Fix build bug.
25201 (do_check_malloc_state): Add assert that checks arena->top.
25202 (malloc_consolidate): Remove initialization.
25203 (int_mallinfo): Remove call to malloc_consolidate.
25204 (__libc_mallopt): Clarify why malloc_consolidate is needed.
25206 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25208 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
25209 (have_fastchunks): Remove.
25210 (clear_fastchunks): Remove.
25211 (set_fastchunks): Remove.
25212 (malloc_state): Add have_fastchunks.
25213 (malloc_init_state): Use have_fastchunks.
25214 (do_check_malloc_state): Remove incorrect invariant checks.
25215 (_int_malloc): Use have_fastchunks.
25216 (_int_free): Likewise.
25217 (malloc_consolidate): Likewise.
25219 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25221 * malloc/malloc.c (tcache_put): Inline.
25222 (tcache_get): Inline.
25224 2017-10-17 Jordi Mallach <jordi@gnu.org>
25226 Aurelien Jarno <aurelien@aurel32.net>
25228 * localedata/locales/ca_ES@valencia: New file.
25229 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
25231 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
25234 * math/math.h: Let signbit use the builtin in C++ mode with gcc
25237 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25239 * scripts/build-many-glibcs.py (Context.add_all_configs):
25240 Add arm-linux-gnueabihf multiarch extra_glibcs.
25242 * sysdeps/generic/ifunc-init.h: New file.
25243 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
25245 2017-10-17 Mike FABIAN <mfabian@redhat.com>
25248 * localedata/locales/el_GR: Set n_cs_precedes to 0.
25249 * localedata/locales/el_CY: copy "el_GR" because it is identical.
25250 * stdlib/tst-strfmon_l.c: adapt test case.
25252 2017-10-16 Joseph Myers <joseph@codesourcery.com>
25254 * sysdeps/generic/float128-abi.h: New file.
25255 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
25256 non-__prefixed symbols to ....
25257 * math/Versions: ... here. Include <float128-abi.h>.
25258 * stdlib/Versions ... and here. Include <float128-abi.h>
25260 2017-10-16 Florian Weimer <fweimer@redhat.com>
25262 * version.h (VERSION): Switch to ".9000" as the development
25265 2017-10-16 Florian Weimer <fweimer@redhat.com>
25268 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
25269 compat_symbol_reference to access non-default version.
25271 2017-10-16 Florian Weimer <fweimer@redhat.com>
25273 * malloc/Makefile (others-extras): Set to mcheck-init.o.
25275 2017-10-16 Carlos O'Donell <carlos@redhat.com>
25277 * include/shlib-compat.h (compat_symbol_reference): Update
25280 2017-10-16 Joseph Myers <joseph@codesourcery.com>
25282 * math/Makefile (test-types): Add
25283 $(type-float128-$(float128-alias-fcts)).
25284 * math/test-float128.h (TYPE_STR): Define conditional on
25285 [FLT128_MANT_DIG == LDBL_MANT_DIG].
25286 (ULP_IDX): Likewise.
25287 (ULP_I_IDX): Likewise.
25289 * stdlib/strtold.c: Include <bits/floatn.h>
25290 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
25291 and later undefine as macro. Define as weak alias if
25293 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
25294 and later undefine as macro. Define as weak alias if
25296 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
25297 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
25298 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25299 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25300 Define and later undefine as macro. Define as weak alias if
25302 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
25304 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
25305 Define and later undefine as macro. Define as weak alias if
25307 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25308 Define and later undefine as macro. Define as weak alias if
25311 2017-10-15 Carlos O'Donell <carlos@redhat.com>
25313 * localedata/collate-test.c (allocate_arrays): Don't use \n in
25314 record_verbose messages.
25316 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
25319 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
25320 to silence -O3 -Wall warning with GCC 7.
25322 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
25324 * Makeconfig (+link-static-before-libc): Use the first of
25325 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
25326 * gmon/Makefile (tests): Add tst-gmon-static.
25327 (tests-static): Likewise.
25328 (CFLAGS-tst-gmon-static.c): New.
25329 (CRT-tst-gmon-static): Likewise.
25330 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
25331 (tst-gmon-static-ENV): Likewise.
25332 (tests-special): Likewise.
25333 ($(objpfx)tst-gmon-static.out): Likewise.
25334 (clean-tst-gmon-static-data): Likewise.
25335 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
25336 * gmon/tst-gmon-static-gprof.sh: New file.
25337 * gmon/tst-gmon-static.c: Likewise.
25339 2017-10-13 Carlos O'Donell <carlos@redhat.com>
25342 * locale/programs/linereader.c (get_string): Don't warn on
25343 non-symbolic character.
25346 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
25350 * locale/programs/record-status.h: New file
25351 * locale/programs/locale.c: Add comment.
25352 * locale/programs/charmap-dir.c: Don't include error.h.
25353 (charmap_opendir): Use record_error.
25354 * locale/programs/charmap.c: Don't include error.h.
25355 (charmap_read): Use record_error, and record_warning.
25356 (parse_charmap): Likewise.
25357 * locale/programs/ld-address.c: Don't include error.h.
25358 (address_finish): Use record_error, and record_warning.
25359 * locale/programs/ld-collate.c: Don't include error.h.
25360 (collate_finish): Use record_error, and record_error_at_line.
25361 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
25362 (ctype_class_new): Likewise.
25363 (ctype_map_new): Likewise.
25364 (set_one_default): Likewise.
25365 (set_class_defaults): Likewise.
25366 (translit_flatten): Likewise.
25367 (allocate_arrays): Use record_error, and record_verbose.
25368 * locale/programs/ld-identification.c: Don't include error.h.
25369 (indentation_finish): Use record_error and record_warning.
25370 * locale/programs/ld-measurement.c: Don't include error.h.
25371 (measurement_finish): Use record_error.
25372 * locale/programs/ld-messages.c
25373 (message_finish): Likewise.
25374 * locale/programs/ld-monetary.c
25375 (monetary_finish): Likewise.
25376 * locale/programs/ld-name.c (name_finish): Use record_error
25377 and record_warning.
25378 * locale/programs/ld-numeric.c
25379 (numeric_finish): Use record_error.
25380 * locale/programs/ld-paper.c: Don't include error.h.
25381 (paper_finish): Use record_error.
25382 * locale/programs/ld-telephone.c: Don't include error.h.
25383 (telephone_finish): Use record_error.
25384 * locale/programs/ld-time.c (time_finish): Likewise.
25385 * locale/programs/linereader.h (lr_error): Make inline func.
25386 * locale/programs/localedef.c: Define recorded_warning_count,
25387 and recorded_error_count.
25388 (main): Use record_error. Use recorded_error_count and
25389 recorded_warning_count to issue correct error returns.
25390 (add_to_readlist): Use record_error.
25391 (find_locale): Likewise.
25392 (load_locale): Likewise.
25393 * locale/programs/localedef.h: Remove be_quiet
25394 and WITH_CUR_LOCALE.
25395 * locale/programs/locarchive.c (compare_from_file): Use
25397 * locale/programs/locfile.c (write_locale_data): Use
25399 * locale/programs/repertoire.c: Dont include error.h.
25400 (repertoire_complain): Use record_error.
25401 * localedata/tst-fmon.sh: Expect failures from localedef.
25402 * localedata/tst-locale.sh: Likewise.
25403 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
25405 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
25406 (REPORTS): Likewise.
25408 (i18n): Rename to...
25409 (i18n_ctype): ...this.
25410 (i18n-report): Rename to...
25411 (i18n_ctype-report): ...this.
25412 * localedata/locales/i18n_ctype: Regenerate.
25413 * localedata/locales/i18n: copy i18n_ctype.
25415 2017-10-13 Joseph Myers <joseph@codesourcery.com>
25417 * stdlib/strfroml.c: Include <bits/floatn.h>.
25418 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
25419 Define before include of <stdlib.h> and undefine afterwards, then
25420 define as weak alias.
25422 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
25423 Undefine and restore default definition. Use
25424 libm_alias_ldouble_other.
25426 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
25429 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
25432 2017-10-13 James Clarke <jrtc27@jrtc27.com>
25434 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
25435 Assign sym_map to be map for local symbols, as TLS relocations
25436 use sym_map to determine whether the symbol is defined and to
25437 extract the TLS information.
25438 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
25439 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25441 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25444 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
25445 (math_force_eval): Add powerpc version.
25448 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
25450 (do_test): Likewise.
25451 * stdio-common/tst-printf.sh: Likewise.
25452 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
25453 ifdef clause in order to set the carry bit right. Replace r0 by
25454 0 without changing the behavior.
25456 2017-10-13 Joseph Myers <joseph@codesourcery.com>
25458 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
25459 <libm-alias-ldouble.h>.
25460 (fabsl): Define using libm_alias_ldouble.
25461 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
25462 <libm-alias-ldouble.h>.
25463 (fabsl): Define using libm_alias_ldouble.
25465 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
25466 Remove conditional code.
25468 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
25469 Rename to __clog10_internal_l.
25470 (__clog10_internal_l): Define aliases using
25471 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
25474 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25476 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
25477 * benchtests/sincosf-inputs: New file.
25478 * benchtests/cosf-inputs: New file.
25479 * benchtests/sinf-inputs: New file.
25481 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
25483 * posix/tst-spawn.c (do_test): Wait for both children.
25485 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
25488 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
25489 tests-pie): Add tst-gmon-pie.
25490 (CFLAGS-tst-gmon-pie.c): New.
25491 (CRT-tst-gmon-pie): Likewise.
25492 (tst-gmon-pie-ENV): Likewise.
25493 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
25494 ($(objpfx)tst-gmon-pie.out): Likewise.
25495 (clean-tst-gmon-pie-data): Likewise.
25496 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
25497 * gmon/gmon.c [PIC]: Include <link.h>.
25498 [PIC] (callback): New function.
25499 (write_hist): Add an argument for load address. Subtract load
25501 (write_call_graph): Likewise.
25502 (write_gmon): Call __dl_iterate_phdr to get load address, pass
25503 it to write_hist and write_call_graph.
25504 * gmon/tst-gmon-pie.c: New file.
25506 2017-10-11 Joseph Myers <joseph@codesourcery.com>
25508 * math/Makefile (test-types-basic): New variable.
25509 (test-types): Likewise.
25510 (libm-test-support): Use $(test-types) instead of $(types).
25511 (libm-tests-base-normal): Likewise.
25512 (libm-tests-base-finite): Likewise.
25513 (libm-tests-base-inline): Likewise.
25514 (generated): Likewise.
25515 ($(objpfx)libm-test-support-$(t).c): Likewise.
25516 (libm-tests-for-type iterator): Likewise.
25517 (libm-test-support iterator): Likewise.
25518 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
25519 (ulp_idx): Use ULP_IDX.
25520 * math/test-ldouble.h: Include <float.h>.
25521 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
25522 (ULP_IDX): New macro.
25523 (ULP_I_IDX): Likewise.
25524 * math/test-double.h (ULP_IDX): Likewise.
25525 (ULP_I_IDX): Likewise.
25526 * math/test-float.h (ULP_IDX): Likewise.
25527 (ULP_I_IDX): Likewise.
25528 * math/test-float128.h (ULP_IDX): Likewise.
25529 (ULP_I_IDX): Likewise.
25531 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25533 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
25534 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25535 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25536 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
25537 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25538 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
25539 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
25540 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25541 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25542 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25543 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
25544 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25545 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25546 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25547 (SINGLE_THREAD_BY_GLOBAL): Define.
25548 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25550 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25552 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25554 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25556 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
25557 (SINGLE_THREAD_BY_GLOBAL): Likewise.
25558 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25561 2017-10-11 Andreas Schwab <schwab@suse.de>
25563 * nis/Makefile (aux): Remove.
25564 * nscd/Makefile (aux): Add nscd_hash.
25565 (nscd-modules): Likewise.
25566 ($(objpfx)nscd): Don't depend on libnsl.
25567 * nscd/nscd_hash.c: New file.
25568 * nscd/nscd_hash.h: Likewise.
25569 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
25570 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
25571 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
25572 instead of <nis/rpcsvc/nis.h>.
25573 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
25575 2017-10-11 Florian Weimer <fweimer@redhat.com>
25578 Avoid large NSS buffers with many addresses, aliases.
25579 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
25580 using dynarrays and struct alloc_buffer.
25581 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
25582 (tst-nss-files-hosts-multi): Link with -ldl.
25583 * nss/tst-nss-files-hosts-multi.c: New file.
25585 2017-10-11 Florian Weimer <fweimer@redhat.com>
25588 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
25589 scratch_buffer. Eliminate gotos.
25591 2017-10-11 Joseph Myers <joseph@codesourcery.com>
25593 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
25594 libm_alias_ldouble_other.
25595 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
25596 undefine and redefine.
25597 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
25598 (exp10l): Do not define here.
25599 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
25600 (weak_alias): Undefine and redefine.
25601 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
25602 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
25603 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
25604 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
25606 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
25607 [!__fma] (fma): Define using libm_alias_double.
25608 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
25609 [!__fmaf] (fmaf): Define using libm_alias_float.
25610 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
25611 (fmal): Define using libm_alias_ldouble.
25613 2017-10-10 Joseph Myers <joseph@codesourcery.com>
25615 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
25617 (libm_alias_double_other): Likewise.
25618 (libm_alias_double_r): Use libm_alias_double_other_r.
25619 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
25621 (libm_alias_float_other): Likewise.
25622 (libm_alias_float_r): Use libm_alias_float_other_r.
25623 * sysdeps/generic/libm-alias-float128.h
25624 (libm_alias_float128_other_r): New macro.
25625 (libm_alias_float128_other): Likewise.
25626 (libm_alias_float128_r): Use libm_alias_float128_other_r.
25627 * sysdeps/generic/libm-alias-ldouble.h
25628 (libm_alias_ldouble_other_r): New macro.
25629 (libm_alias_ldouble_other): Likewise.
25630 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25631 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
25632 (libm_alias_double_other_r): New macro.
25633 (libm_alias_double_other): Likewise.
25634 (libm_alias_double_r): Use libm_alias_double_other_r.
25635 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
25636 (libm_alias_ldouble_other_r): New macro.
25637 (libm_alias_ldouble_other): Likewise.
25638 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25639 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
25640 [!USE_AS_COMPAT]: Use libm_alias_double_other.
25641 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
25642 [!USE_AS_COMPAT]: Use libm_alias_float_other.
25643 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
25644 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
25645 * math/w_exp2f.c: Use libm_alias_float_other.
25646 * math/w_expf.c: Likewise.
25647 * math/w_log2f.c: Likewise.
25648 * math/w_logf.c: Likewise.
25649 * math/w_powf.c: Likewise.
25650 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
25651 [!__exp2f]: Use libm_alias_float_other.
25652 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
25653 [!__expf]: Use libm_alias_float_other.
25654 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
25655 [!__log2f]: Use libm_alias_float_other.
25656 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
25657 [!__logf]: Use libm_alias_float_other.
25658 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
25659 [!__powf]: Use libm_alias_float_other.
25661 2017-10-10 Florian Weimer <fweimer@redhat.com>
25663 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
25665 (_nss_files_gethostbyname3_r): Call it.
25667 2017-10-09 Joseph Myers <joseph@codesourcery.com>
25669 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
25670 error. Remove default definition of declare_mgen_alias.
25671 [!declare_mgen_alias_r]: Likewise.
25672 * sysdeps/generic/math-type-macros-double.h
25673 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
25674 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
25675 (declare_mgen_alias_r): Likewise.
25676 * sysdeps/generic/math-type-macros-float128.h
25677 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25678 * sysdeps/generic/math-type-macros-ldouble.h
25679 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25680 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
25682 (declare_mgen_alias_r_s): Likewise.
25683 (declare_mgen_alias_r): Likewise.
25684 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
25685 (lgamma_r): Define using libm_alias_double_r.
25686 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
25687 (lgammaf_r): Define using libm_alias_float_r.
25688 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
25689 (lgammal_r): Define using libm_alias_ldouble_r.
25690 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
25691 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
25693 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25695 * lib/glob.c (__glob_pattern_type): Remove now-spurious
25696 extern declaration.
25698 2017-10-09 Joseph Myers <joseph@codesourcery.com>
25700 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
25702 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
25705 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
25706 [__cplusplus >= 201103] (__USE_ISOC99): Define.
25707 * math/Makefile (test-math-cxx11): New test.
25708 * math/test-math-cxx11.cc: New file.
25710 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
25712 * login/openpty.c (openpty): Close slave pty file descriptor on error.
25714 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
25715 call to allocate the slave pty file descriptor.
25717 2017-10-06 Joseph Myers <joseph@codesourcery.com>
25719 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
25720 [!__fma] (fma): Define using libm_alias_double.
25721 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
25722 [!__fma] (fma): Define using libm_alias_double.
25724 * sysdeps/ieee754/float128/float128_private.h: Include
25725 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
25726 (libm_alias_ldouble_r): Undefine and redefine.
25727 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
25728 <libm-alias-ldouble.h>.
25729 (asinhl): Define using libm_alias_ldouble.
25730 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
25731 <libm-alias-ldouble.h>.
25732 (atanl): Define using libm_alias_ldouble.
25733 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
25734 <libm-alias-ldouble.h>.
25735 (cbrtl): Define using libm_alias_ldouble.
25736 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
25737 <libm-alias-ldouble.h>.
25738 (ceill): Define using libm_alias_ldouble.
25739 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
25740 <libm-alias-ldouble.h>.
25741 (copysignl): Define using libm_alias_ldouble.
25742 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
25743 <libm-alias-ldouble.h>.
25744 (cosl): Define using libm_alias_ldouble.
25745 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
25746 <libm-alias-ldouble.h>.
25747 (erfl): Define using libm_alias_ldouble.
25749 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
25750 <libm-alias-ldouble.h>.
25751 (expm1l): Define using libm_alias_ldouble.
25752 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
25753 <libm-alias-ldouble.h>.
25754 (fabsl): Define using libm_alias_ldouble.
25755 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
25756 <libm-alias-ldouble.h>.
25757 (floorl): Define using libm_alias_ldouble.
25758 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
25759 <libm-alias-ldouble.h>.
25760 (fmal): Define using libm_alias_ldouble.
25761 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
25762 <libm-alias-ldouble.h>.
25763 (frexpl): Define using libm_alias_ldouble.
25764 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
25765 libm_alias_ldouble.
25766 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
25767 <libm-alias-ldouble.h>.
25768 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
25769 libm_alias_ldouble.
25770 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
25771 <libm-alias-ldouble.h>.
25772 (getpayloadl): Define using libm_alias_ldouble.
25773 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
25774 <libm-alias-ldouble.h>.
25775 (llrintl): Define using libm_alias_ldouble.
25776 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
25777 <libm-alias-ldouble.h>.
25778 (llroundl): Define using libm_alias_ldouble.
25779 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
25780 <libm-alias-ldouble.h>.
25781 (logbl): Define using libm_alias_ldouble.
25782 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
25783 <libm-alias-ldouble.h>.
25784 (lrintl): Define using libm_alias_ldouble.
25785 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
25786 <libm-alias-ldouble.h>.
25787 (lroundl): Define using libm_alias_ldouble.
25788 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
25789 <libm-alias-ldouble.h>.
25790 (modfl): Define using libm_alias_ldouble.
25791 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
25792 <libm-alias-ldouble.h>.
25793 (nearbyintl): Define using libm_alias_ldouble.
25794 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
25795 <libm-alias-ldouble.h>.
25796 (nextafterl): Define using libm_alias_ldouble.
25797 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
25798 <libm-alias-ldouble.h>.
25799 (nextupl): Define using libm_alias_ldouble.
25800 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
25801 <libm-alias-ldouble.h>.
25802 (remquol): Define using libm_alias_ldouble.
25803 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
25804 <libm-alias-ldouble.h>.
25805 (rintl): Define using libm_alias_ldouble.
25806 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
25807 <libm-alias-ldouble.h>.
25808 (roundevenl): Define using libm_alias_ldouble.
25809 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
25810 <libm-alias-ldouble.h>.
25811 (roundl): Define using libm_alias_ldouble.
25812 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
25813 using libm_alias_ldouble.
25814 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
25815 <libm-alias-ldouble.h>.
25816 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
25817 Define using libm_alias_ldouble.
25818 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
25819 <libm-alias-ldouble.h>.
25820 (sincosl): Define using libm_alias_ldouble.
25821 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
25822 <libm-alias-ldouble.h>.
25823 (sinl): Define using libm_alias_ldouble.
25824 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
25825 <libm-alias-ldouble.h>.
25826 (tanhl): Define using libm_alias_ldouble.
25827 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
25828 <libm-alias-ldouble.h>.
25829 (tanl): Define using libm_alias_ldouble.
25830 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
25831 <libm-alias-ldouble.h>.
25832 (totalorderl): Define using libm_alias_ldouble.
25833 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
25834 <libm-alias-ldouble.h>.
25835 (totalordermagl): Define using libm_alias_ldouble.
25836 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
25837 <libm-alias-ldouble.h>.
25838 (truncl): Define using libm_alias_ldouble.
25839 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
25840 libm_alias_ldouble.
25841 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
25842 libm_alias_ldouble.
25843 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
25844 <libm-alias-ldouble.h>.
25845 (weak_alias): Do not undefine and redefine.
25846 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25847 (copysignl): Define with long_double_symbol only if [IS_IN
25849 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
25850 <libm-alias-ldouble.h>.
25851 (weak_alias): Do not undefine and redefine.
25852 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25853 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
25854 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
25855 <libm-alias-ldouble.h>.
25856 (weak_alias): Do not undefine and redefine.
25857 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25858 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
25859 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
25860 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
25861 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
25862 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
25863 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
25864 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
25865 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
25866 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
25867 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
25868 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
25869 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
25870 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
25871 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
25872 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
25873 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
25874 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
25875 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
25876 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
25877 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
25878 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
25879 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
25880 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
25881 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
25882 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
25884 2017-10-06 Carlos O'Donell <carlos@redhat.com>
25887 * malloc/malloc.c (tcache_shutting_down): Use bool type.
25888 (tcache_thread_freeres): Set tcache_shutting_down before
25889 freeing the tcache.
25890 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
25891 * malloc/tst-malloc-tcache-leak.c: New file.
25893 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25895 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
25896 back to powerpc32 file.
25897 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
25898 (memrchr): Add __memrchr_power8 to ifunc list.
25899 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
25900 extra bytes for unaligned inputs.
25902 2017-10-06 Joseph Myers <joseph@codesourcery.com>
25904 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
25905 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
25906 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
25907 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
25908 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
25910 2017-10-05 Joseph Myers <joseph@codesourcery.com>
25912 * sysdeps/arm/libm-test-ulps: Update.
25914 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
25915 <libm-alias-ldouble.h>.
25916 (asinhl): Define using libm_alias_ldouble.
25917 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
25918 <libm-alias-ldouble.h>.
25919 (cbrtl): Define using libm_alias_ldouble.
25920 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
25921 <libm-alias-ldouble.h>.
25922 (copysignl): Define using libm_alias_ldouble.
25923 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
25924 <libm-alias-ldouble.h>.
25925 (cosl): Define using libm_alias_ldouble.
25926 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
25927 <libm-alias-ldouble.h>.
25928 (erfl): Define using libm_alias_ldouble.
25930 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
25931 <libm-alias-ldouble.h>.
25932 (fmal): Define using libm_alias_ldouble.
25933 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
25934 <libm-alias-ldouble.h>.
25935 (frexpl): Define using libm_alias_ldouble.
25936 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
25937 libm_alias_ldouble.
25938 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
25939 <libm-alias-ldouble.h>.
25940 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
25941 libm_alias_ldouble.
25942 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
25943 <libm-alias-ldouble.h>.
25944 (getpayloadl): Define using libm_alias_ldouble.
25945 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
25946 <libm-alias-ldouble.h>.
25947 (llrintl): Define using libm_alias_ldouble.
25948 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
25949 <libm-alias-ldouble.h>.
25950 (llroundl): Define using libm_alias_ldouble.
25951 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
25952 <libm-alias-ldouble.h>.
25953 (lrintl): Define using libm_alias_ldouble.
25954 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
25955 <libm-alias-ldouble.h>.
25956 (lroundl): Define using libm_alias_ldouble.
25957 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
25958 <libm-alias-ldouble.h>.
25959 (modfl): Define using libm_alias_ldouble.
25960 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
25961 <libm-alias-ldouble.h>.
25962 (nextupl): Define using libm_alias_ldouble.
25963 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
25964 <libm-alias-ldouble.h>.
25965 (remquol): Define using libm_alias_ldouble.
25966 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
25967 <libm-alias-ldouble.h>.
25968 (roundevenl): Define using libm_alias_ldouble.
25969 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
25970 <libm-alias-ldouble.h>.
25971 (roundl): Define using libm_alias_ldouble.
25972 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
25973 using libm_alias_ldouble.
25974 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
25975 <libm-alias-ldouble.h>.
25976 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
25977 <libm-alias-ldouble.h>.
25978 (setpayloadsigl): Define using libm_alias_ldouble.
25979 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
25980 <libm-alias-ldouble.h>.
25981 (sincosl): Define using libm_alias_ldouble.
25982 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
25983 <libm-alias-ldouble.h>.
25984 (sinl): Define using libm_alias_ldouble.
25985 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
25986 <libm-alias-ldouble.h>.
25987 (tanhl): Define using libm_alias_ldouble.
25988 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
25989 <libm-alias-ldouble.h>.
25990 (tanl): Define using libm_alias_ldouble.
25991 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
25992 <libm-alias-ldouble.h>.
25993 (totalorderl): Define using libm_alias_ldouble.
25994 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
25995 <libm-alias-ldouble.h>.
25996 (totalordermagl): Define using libm_alias_ldouble.
25997 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
25998 libm_alias_ldouble.
25999 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
26000 libm_alias_ldouble.
26002 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
26004 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
26006 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
26007 (__libc_ifunc_impl_list): Likewise.
26008 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
26009 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
26011 * benchtests/bench-memmove-walk.c: New file.
26012 * benchtests/Makefile (string-benchset): Add it.
26014 * benchtests/bench-memset-walk.c: New file.
26015 * benchtests/Makefile (string-benchset): Add it.
26017 * benchtests/bench-memcpy-walk.c: New file.
26018 * benchtests/Makefile (string-benchset): Add it.
26020 2017-10-05 Florian Weimer <fweimer@redhat.com>
26022 nscd: Eliminate compilation time dependency in the build output.
26023 * nscd/nscd_stat.c (STATDATA_VERSION)
26024 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
26025 (STATDATA_VERSION_FULL): New macro definitions.
26026 (compilation): Remove.
26027 (struct statdata): Adjust version member.
26028 (send_stats): Set version from STATDATA_VERSION_FULL.
26029 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
26031 2017-10-05 Joseph Myers <joseph@codesourcery.com>
26033 * configure.ac (--enable-add-ons): Remove option.
26034 (machine): Do not mention add-ons in comment.
26035 (LIBC_PRECONFIGURE): Likewise.
26036 (add_ons): Remove variable and sanity checks and logic to locate
26038 (add_ons_automatic): Remove variable.
26039 (configured_add_ons): Likewise.
26040 (add_ons_sfx): Likewise.
26041 (add_ons_pfx): Likewise.
26042 (add_on_subdirs): Likewise.
26043 (sysnames_add_ons): Likewise. Remove loop over add-ons and
26044 consideration of add-ons in Implies handling.
26045 (sysdeps_add_ons): Likewise.
26046 * configure: Regenerated.
26047 * libidn/configure.ac: Remove.
26048 * libidn/configure: Likewise.
26049 * sysdeps/unix/inet/configure.ac: New file.
26050 * sysdeps/unix/inet/configure: New generated file.
26051 * sysdeps/unix/inet/Subdirs: Add libidn.
26052 * Makeconfig (sysdeps-srcdirs): Remove variable.
26053 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
26054 ($(common-objpfx)config.status): Do not depend on add-on files.
26055 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
26057 (all-subdirs): Do not include $(add-on-subdirs).
26058 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
26059 * config.make.in (add-ons): Remove variable.
26060 (add-on-subdirs): Likewise.
26061 (sysdeps-add-ons): Likewise.
26062 * manual/Makefile (add-chapters): Remove.
26063 ($(objpfx)texis): Do not depend on $(add-chapters).
26064 (nonexamples): Do not handle $(add-chapters).
26065 (examples): Do not handle $(add-ons).
26066 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
26068 * manual/install.texi (Installation): Do not mention add-ons.
26069 (--enable-add-ons): Do not document configure option.
26070 * INSTALL: Regenerated.
26071 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
26072 * manual/maint.texi (Hierarchy Conventions): Do not mention
26074 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
26076 * scripts/gen-sorted.awk: Do not handle Subdirs files from
26078 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
26079 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
26081 2017-10-05 Andreas Schwab <schwab@suse.de>
26084 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
26085 (_IO_flush_all_lockp): Always lock list_all_lock.
26086 (_IO_flush_all_linebuffered): Likewise.
26087 (_IO_unbuffer_all): Likewise.
26089 2017-10-05 Florian Weimer <fweimer@redhat.com>
26092 Do not flush stdio streams on abort.
26093 * stdlib/abort.c (fflush): Remove macro definition.
26094 (abort): Remove stages related to stdio flushing.
26096 2017-10-05 Florian Weimer <fweimer@redhat.com>
26098 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
26100 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
26102 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26104 2017-10-05 Florian Weimer <fweimer@redhat.com>
26106 * support/support_format_hostent.c (support_format_hostent): Add
26107 more error information for NETDB_INTERNAL.
26109 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26111 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
26112 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
26113 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
26114 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
26115 AC_DEFINE if multi-arch is enabled.
26116 * sysdeps/i386/configure: Regenerated.
26118 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26120 * Makeconfig (+link-static-before-libc): Use
26121 $(DEFAULT-LDFLAGS-$(@F)).
26122 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
26123 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
26124 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
26126 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26128 * elf/Makefile (tests): Add tst-main1.
26129 (modules-names): Add tst-main1mod.
26130 ($(objpfx)tst-main1): New.
26131 (CRT-tst-main1): Likewise.
26132 (LDFLAGS-tst-main1): Likewise.
26133 (LDLIBS-tst-main1): Likewise.
26134 (tst-main1mod.so-no-z-defs): Likewise.
26135 * elf/tst-main1.c: New file.
26136 * elf/tst-main1mod.c: Likewise.
26138 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26140 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
26142 2017-10-04 Joseph Myers <joseph@codesourcery.com>
26144 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
26145 (fma): Define using libm_alias_double.
26146 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
26147 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
26149 (fmal): Do not define as compat symbol here.
26150 * sysdeps/alpha/fpu/s_fma.c: New file.
26152 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26154 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
26156 2017-10-04 Joseph Myers <joseph@codesourcery.com>
26159 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
26161 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26163 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
26164 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26165 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
26166 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
26167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26168 Include <math_ldbl_opt.h>
26169 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26171 (compat_symbol): Undefine and redefine.
26172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
26174 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26175 (compat_symbol): Undefine and redefine.
26176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
26177 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
26178 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
26179 GLIBC_2_1 for libm.
26180 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
26181 GLIBC_2.0 copysignl symbol.
26182 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
26183 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
26185 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
26187 2017-10-04 Florian Weimer <fweimer@redhat.com>
26189 * scripts/check-local-headers.sh: Ignore nspr4 header file
26190 directory in addition to nspr.
26192 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
26195 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
26196 * configure: Regenerate.
26197 * crypt/Makefile (nss-cpp-flags): New variable.
26198 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
26199 (CPPFLAGS-md5-crypt.c): Use it.
26200 * scripts/check-local-headers.sh: Ignore nspr header file
26203 2017-10-04 Andreas Schwab <schwab@suse.de>
26205 * nis/Makefile (services): Remove compat.
26206 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
26207 ($(objpfx)libnss_compat.so): Remove rule.
26208 * nis/Versions (libnss_compat): Remove.
26209 * nss/Makefile (services): Add compat.
26210 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
26211 * nss/Versions (libnss_compat): Define.
26212 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
26213 Don't include <rpc/types.h>. Replace bool_t by bool.
26214 * nss/nss_compat/compat-initgroups.c: Likewise.
26215 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
26216 instead of <rpcsrv/ypclnt.h>.
26217 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
26218 yp_get_default_domain.
26219 * nss/nss_compat/compat-pwd.c: Likewise.
26220 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
26221 yp_get_default_domain.
26222 * nss/nss_compat/nisdomain.c: New file.
26223 * nss/nss_compat/nisdomain.h: Likewise.
26225 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26228 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
26229 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26231 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26234 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
26235 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
26237 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26239 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
26240 "movl main@GOTOFF(%ebx), %eax".
26242 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26244 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
26245 allow undefined _DYNAMIC in PIE libc.a.
26246 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
26249 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26251 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
26254 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26256 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
26259 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26261 * math/test-math-iscanonical.cc (error): Replace bool with int.
26263 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26265 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
26266 (modf): Define using libm_alias_double, only if [!__modf].
26267 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
26268 <libm-alias-double.h>.
26269 (modf): Define using libm_alias_double, only if [!__modf].
26270 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
26271 compat symbol here.
26272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
26273 (weak_alias): Do not undefine and redefine.
26274 (strong_alias): Likewise.
26275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
26276 (weak_alias): Likewise.
26277 (strong_alias): Likewise.
26279 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
26280 (logb): Define using libm_alias_double, only if [!__logb].
26281 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
26282 <libm-alias-double.h>.
26283 (logb): Define using libm_alias_double, only if [!__logb].
26284 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
26285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
26286 (weak_alias): Do not undefine and redefine.
26287 (strong_alias): Likewise.
26288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
26289 (weak_alias): Likewise.
26290 (strong_alias): Likewise.
26292 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26294 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
26295 Check SHARED instead PIC.
26297 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26299 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
26300 [!__fmaf] (fmaf): Define using libm_alias_float.
26302 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
26303 (frexp): Define using libm_alias_double.
26304 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
26305 <libm-alias-double.h>.
26306 (frexp): Define using libm_alias_double.
26307 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
26308 compat symbol here.
26310 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26313 * math/math.h: Trivial fix for unbalanced parentheses in comment.
26314 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
26315 (CFLAGS-test-math-iscanonical.cc): New variable.
26316 * math/test-math-iscanonical.cc: New file.
26317 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
26318 Provide a C++ implementation based on function overloading,
26319 rather than using __MATH_TG, which uses C-only builtins.
26320 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
26322 * sysdeps/powerpc/powerpc64le/Makefile
26323 (CFLAGS-test-math-iscanonical.cc): New variable.
26325 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26327 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
26328 (ceil): Define using libm_alias_double.
26329 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
26330 (floor): Define using libm_alias_double.
26331 * sysdeps/ieee754/dbl-64/s_llround.c: Include
26332 <libm-alias-double.h>.
26333 (llround): Define using libm_alias_double.
26334 * sysdeps/ieee754/dbl-64/s_lround.c: Include
26335 <libm-alias-double.h>.
26336 (lround): Define using libm_alias_double.
26337 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
26338 <libm-alias-double.h>.
26339 (nearbyint): Define using libm_alias_double.
26340 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
26341 <libm-alias-double.h>.
26342 (remquo): Define using libm_alias_double.
26343 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
26344 (rint): Define using libm_alias_double.
26345 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
26346 (round): Define using libm_alias_double.
26347 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
26348 (trunc): Define using libm_alias_double.
26349 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
26350 <libm-alias-double.h>.
26351 (ceil): Define using libm_alias_double.
26352 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
26353 <libm-alias-double.h>.
26354 (floor): Define using libm_alias_double.
26355 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
26356 <libm-alias-double.h>.
26357 (llround): Define using libm_alias_double.
26358 [_LP64] (lround): Likewise.
26359 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
26360 <libm-alias-double.h>.
26361 [!_LP64] (lround): Define using libm_alias_double.
26362 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
26363 <libm-alias-double.h>.
26364 (nearbyint): Define using libm_alias_double.
26365 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
26366 <libm-alias-double.h>.
26367 (remquo): Define using libm_alias_double.
26368 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
26369 <libm-alias-double.h>.
26370 (rint): Define using libm_alias_double.
26371 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
26372 <libm-alias-double.h>.
26373 (round): Define using libm_alias_double.
26374 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
26375 <libm-alias-double.h>.
26376 (trunc): Define using libm_alias_double.
26377 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
26378 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
26379 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
26380 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
26381 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
26382 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
26383 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
26384 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
26385 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
26387 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26389 * math/w_remainder.c: New file.
26390 * math/w_remainderf.c: New file.
26391 * math/w_remainderl.c: New file.
26393 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26395 * elf/rtld.c (BOOTSTRAP_MAP): New.
26396 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
26397 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26399 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26401 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26404 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
26406 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
26407 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
26408 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
26409 rtld_hidden_data_ver): Define to empty.
26410 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
26411 __assert_perror_fail): Likewise.
26412 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26413 (__rewinddir): Likewise.
26414 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26415 (__profile_frequency): Likewise.
26416 * include/setjmp.h (__sigsetjmp): Likewise.
26417 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
26418 __libc_sigaction): Likewise.
26419 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
26420 not set hidden attribute.
26421 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
26422 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
26423 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
26424 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
26425 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
26426 __fxstatat64): Likewise.
26427 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26428 (__uname): Likewise.
26429 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26430 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
26431 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
26432 (NO_RTLD_HIDDEN): Set.
26433 * sysdeps/mach/hurd/configure: Refresh.
26434 * config.h.in: Refresh.
26436 2017-10-02 Joseph Myers <joseph@codesourcery.com>
26438 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
26439 (atan): Define using libm_alias_double.
26440 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
26441 (tan): Define using libm_alias_double.
26442 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
26443 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
26445 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
26446 define as weak alias of __atan. Do not define any aliases if
26448 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
26449 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
26450 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
26451 as weak alias of __tan. Do not define any aliases if [__tan].
26452 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
26453 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
26454 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
26456 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
26457 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
26458 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
26459 and define as weak alias of __atan.
26460 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
26462 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
26463 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
26464 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
26465 define as weak alias of __tan.
26467 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26469 * math/w_lgamma.c: New file.
26470 * math/w_lgammaf.c: New file.
26471 * math/w_lgammal.c: New file.
26473 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26475 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
26476 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
26477 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
26478 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
26479 * sysdeps/ieee754/flt-32/w_logf.c: New file.
26480 * sysdeps/ieee754/flt-32/w_powf.c: New file.
26481 * sysdeps/i386/fpu/w_log2f.c: New file.
26482 * sysdeps/i386/fpu/w_logf.c: New file.
26483 * sysdeps/i386/fpu/w_powf.c: New file.
26484 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
26485 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
26486 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
26488 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26489 H.J. Lu <hongjiu.lu@intel.com>
26491 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
26492 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
26493 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
26494 * sysdeps/ieee754/flt-32/w_expf.c: New file.
26495 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
26497 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
26498 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
26499 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
26500 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
26501 * sysdeps/i386/fpu/w_exp2f.c: New file.
26502 * sysdeps/i386/fpu/w_expf.c: New file.
26503 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
26504 * sysdeps/x86_64/fpu/w_expf.c: New file.
26506 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26508 * math/Versions (logf): New libm symbol at GLIBC_2.27.
26511 * math/w_log2f.c: New file.
26512 * math/w_logf.c: New file.
26513 * math/w_powf.c: New file.
26514 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
26515 * math/w_logf_compat.c (__logf_compat): Likewise.
26516 * math/w_powf_compat.c (__powf_compat): Likewise.
26517 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
26518 * sysdeps/ia64/fpu/e_logf.S: Likewise.
26519 * sysdeps/ia64/fpu/e_powf.S: Likewise.
26520 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26521 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26522 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26523 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26524 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26525 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26526 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26527 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26528 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26529 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26530 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26531 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26540 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26541 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26542 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26543 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26544 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26545 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26547 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26549 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26550 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26551 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26553 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26555 * sysdeps/powerpc/powerpc64/multiarch/Makefile
26556 (sysdep_routines): Add memrchr_power8.
26557 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26558 (memrchr): Add __memrchr_power8 to list of memrchr functions.
26559 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
26561 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
26562 (memrchr): Add __memrchr_power8 to ifunc list.
26563 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
26565 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26568 * sysdeps/unix/sysv/linux/posix_fadvise64.c
26569 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
26571 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26572 (__posix_fallocate64_l64): Likewise.
26574 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26577 * sysdeps/unix/sysv/linux/sched_setaffinity.c
26578 (__sched_setaffinity_new): Add libc_hidden_proto and
26581 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26584 * include/glob.h (__glob64): Add libc_hidden_proto.
26585 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
26588 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26591 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
26594 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26597 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
26599 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26602 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
26605 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26608 * csu/version.c (__libc_print_version): Add attribute_hidden.
26610 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26613 * include/libc-internal.h (__init_misc): Add attribute_hidden.
26615 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26618 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
26620 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26623 * nscd/nscd_helper.c (__nis_hash): New prototype.
26625 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26628 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
26629 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
26631 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26632 * termios/tcgetattr.c (__tcgetattr): Likewise.
26634 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26637 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
26638 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
26639 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
26640 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
26641 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
26643 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26646 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
26648 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26651 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
26652 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
26654 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26657 * intl/hash-string.h (__hash_string): Add attribute_hidden.
26659 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26662 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
26663 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
26665 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26668 * include/ifreq.h: New file.
26669 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
26670 (__ifreq): Likewise.
26671 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
26672 (__ifreq): Likewise.
26674 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26677 * include/idna.h: New file.
26678 * inet/getnameinfo.c: Include <idna.h> instead of
26680 (__idna_to_unicode_lzlz): Removed.
26681 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
26683 (__idna_to_ascii_lz): Removed.
26684 (__idna_to_unicode_lzlz): Likewise.
26686 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26689 * include/plural-exp.h: New file.
26690 * intl/plural-exp.c: Include <plural-exp.h> instead of
26693 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26696 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
26697 "getsourcefilter.h".
26698 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
26699 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
26700 "getsourcefilter.h".
26701 (__get_sol): Removed.
26703 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26706 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
26708 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
26710 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26713 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
26716 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26719 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
26721 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26724 * include/search.h (__tdestroy): Add libc_hidden_proto.
26725 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
26727 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26730 * include/assert.h (__assert_fail_base): Add attribute_hidden.
26732 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26735 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
26738 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26741 * include/signal.h (__kill): Add libc_hidden_proto.
26742 (__sigblock): Likewise.
26743 (__sigprocmask): Likewise.
26744 (__sigaltstack): Likewise.
26745 * signal/kill.c (__kill): Add libc_hidden_def.
26746 * signal/sigblock.c (__sigblock): Likewise.
26747 * signal/sigprocmask.c (__sigprocmask): Likewise.
26748 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
26749 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
26750 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
26751 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
26752 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
26754 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
26756 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
26757 (__sigprocmask): Likewise.
26758 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
26760 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
26761 (__sigprocmask): Likewise.
26762 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
26765 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26768 * include/string.h (__strsep): Add libc_hidden_proto.
26769 * string/strsep.c (__strsep): Add libc_hidden_def.
26771 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26774 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
26776 (__spawni): Likewise.
26778 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26781 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
26782 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
26785 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26788 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
26790 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26793 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
26794 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
26795 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
26796 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
26797 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
26799 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
26800 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
26802 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26805 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
26806 (__dcigettext): Likewise.
26808 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26811 * include/sys/sysinfo.h (__get_nprocs_conf): Add
26813 (__get_nprocs): Likewise.
26814 (__get_phys_pages): Likewise.
26815 (__get_avphys_pages): Likewise.
26816 (__get_child_max): Add attribute_hidden.
26817 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
26818 (__get_nprocs): Likewise.
26819 (__get_phys_pages): Likewise.
26820 (__get_avphys_pages): Likewise.
26821 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
26823 (__get_nprocs): Likewise.
26824 (__get_phys_pages): Likewise.
26825 (__get_avphys_pages): Likewise.
26826 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
26828 (__get_nprocs_conf): Likewise.
26829 (__get_phys_pages): Likewise.
26830 (__get_avphys_pages): Likewise.
26832 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26835 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
26837 (__netlink_close): Likewise.
26838 (__netlink_free_handle): Likewise.
26839 (__netlink_request): Likewise.
26841 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26844 * include/rpc/rpc.h (__rpc_thread_variables): Add
26846 (__rpc_thread_svc_cleanup): Likewise.
26847 (__rpc_thread_clnt_cleanup): Likewise.
26848 (__rpc_thread_key_cleanup): Likewise.
26850 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26853 * include/sys/uio.h (__readv): Add libc_hidden_proto.
26854 (__writev): Likewise.
26855 * misc/readv.c (__readv): Add libc_hidden_def.
26856 * misc/writev.c (__writev): Likewise.
26857 * sysdeps/posix/readv.c (__readv): Likewise.
26858 * sysdeps/posix/writev.c (__writev): Likewise.
26859 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
26860 (__readv): Likewise.
26861 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
26862 (__writev): Likewise.
26864 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26867 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
26868 (__regcomp): Add libc_hidden_proto.
26869 (__regexec): Likewise.
26870 (__regfree): Likewise.
26871 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
26872 (__regfree): Likewise.
26873 * posix/regexec.c (__regexec): Likewise.
26875 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26878 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
26879 (__getutent): Likewise.
26880 (__getutid): Likewise.
26881 (__getutline): Likewise.
26882 (__pututline): Likewise.
26883 (__getutent_r): Likewise.
26884 (__getutid_r): Likewise.
26885 (__getutline_r): Likewise.
26886 (__utmpname): Add attribute_hidden.
26887 (__setutent): Likewise.
26888 (__endutent): Likewise.
26889 * login/getutent.c (__getutent): Add libc_hidden_def.
26890 * login/getutent_r.c (__getutent_r): Likewise.
26891 (__pututline): Likewise.
26892 * login/getutid.c (__getutid): Likewise.
26893 * login/getutid_r.c (__getutid_r): Likewise.
26894 * login/getutline.c (__getutline): Likewise.
26895 * login/getutline_r.c (__getutline_r): Likewise.
26896 * login/updwtmp.c (__updwtmp): Likewise.
26898 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26901 * include/dirent.h (__opendir): Always add attribute_hidden.
26902 (__fdopendir): Likewise.
26903 (__closedir): Likewise.
26904 (__readdir): Likewise.
26905 (__readdir64): Add libc_hidden_proto.
26906 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
26907 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
26908 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
26909 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
26912 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26915 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
26916 * include/netdb.h (__gethostbyaddr_r): Likewise.
26917 (__gethostbyname_r): Likewise.
26918 (__gethostbyname2_r): Likewise.
26919 (__getnetbyaddr_r): Likewise.
26920 (__getnetbyname_r): Likewise.
26921 (__getservbyname_r): Likewise.
26922 (__getservbyport_r): Likewise.
26923 (__getprotobyname_r): Likewise.
26924 (__getprotobynumber_r): Likewise.
26925 (__getnetgrent_r): Likewise.
26926 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
26927 (__getrpcbynumber_r): Likewise.
26928 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
26930 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26933 * include/stdio.h (__fcloseall): Add attribute_hidden.
26934 (__getline): Likewise.
26935 (__path_search): Likewise.
26936 (__gen_tempname): Likewise.
26937 (__libc_message): Likewise.
26938 (__flockfile): Likewise.
26939 (__funlockfile): Likewise.
26940 (__fxprintf): Likewise.
26941 (__fxprintf_nocancel): Likewise.
26943 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26946 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
26947 (__sgetsgent_r): Likewise.
26949 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26952 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
26953 (__statfs64): Likewise.
26954 (__fstatfs64): Likewise.
26955 * include/sys/statvfs.h (__statvfs64): Likewise.
26956 (__fstatvfs64): Likewise.
26957 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
26958 (__statfs_filesize_max): Likewise.
26959 (__statfs_symlinks): Likewise.
26960 (__statfs_chown_restricted): Likewise.
26962 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26965 * include/time.h (__tzstring): Add attribute_hidden.
26966 (__tzfile_read): Likewise.
26967 (__tzfile_compute): Likewise.
26968 (__tzfile_default): Likewise.
26969 (__tzset_parse_tz): Likewise.
26970 (__offtime): Likewise.
26971 (__asctime_r): Likewise.
26972 (__tzset): Likewise.
26973 (__tz_convert): Likewise.
26974 (__getdate_r): Likewise.
26975 (__getclktck): Likewise.
26977 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26980 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
26981 (__nscd_unmap): Likewise.
26982 (__nscd_cache_search): Likewise.
26983 (__nscd_get_nl_timestamp): Likewise.
26984 (__nscd_getpwnam_r): Likewise.
26985 (__nscd_getpwuid_r): Likewise.
26986 (__nscd_getgrnam_r): Likewise.
26987 (__nscd_getgrgid_r): Likewise.
26988 (__nscd_gethostbyname_r): Likewise.
26989 (__nscd_gethostbyname2_r): Likewise.
26990 (__nscd_gethostbyaddr_r): Likewise.
26991 (__nscd_getai): Likewise.
26992 (__nscd_getgrouplist): Likewise.
26993 (__nscd_getservbyname_r): Likewise.
26994 (__nscd_getservbyport_r): Likewise.
26995 (__nscd_innetgr): Likewise.
26996 (__nscd_setnetgrent): Likewise.
26998 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27001 * include/gmp.h: Declare internal functions only if _ISOMAC is
27003 (__mpn_extract_double): Add attribute_hidden.
27004 (__mpn_extract_long_double): Likewise.
27005 (__mpn_extract_float128): Likewise.
27006 (__mpn_construct_float): Likewise.
27007 (__mpn_construct_double): Likewise.
27008 (__mpn_construct_long_double): Likewise.
27009 (__mpn_construct_float128): Likewise.
27010 (mpn_add_1): Likewise.
27011 (mpn_addmul_1): Likewise.
27012 (mpn_add_n): Likewise.
27013 (mpn_cmp): Likewise.
27014 (mpn_divrem): Likewise.
27015 (mpn_lshift): Likewise.
27016 (mpn_mul): Likewise.
27017 (mpn_mul_1): Likewise.
27018 (mpn_rshift): Likewise.
27019 (mpn_sub_1): Likewise.
27020 (mpn_submul_1): Likewise.
27021 (mpn_sub_n): Likewise.
27023 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27026 * include/wchar.h (__wcsnlen): Add attribute_hidden.
27027 (__wcscat): Likewise.
27028 (__btowc): Likewise.
27029 (__wcrtomb): Likewise.
27030 (__mbsrtowcs): Likewise.
27031 (__wcsrtombs): Likewise.
27032 (__mbsnrtowcs): Likewise.
27033 (__wcsnrtombs): Likewise.
27034 (__wcsncpy): Likewise.
27035 (__wcpncpy): Likewise.
27036 (__wmemcpy): Likewise.
27037 (__wmempcpy): Likewise.
27038 (__wmemmove): Likewise.
27039 (__wcschrnul): Likewise.
27040 (__vfwscanf): Likewise.
27041 (__vswprintf): Likewise.
27042 (__fwprintf): Likewise.
27043 (__vfwprintf): Likewise.
27045 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27048 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
27049 (__getgrgid_r): Likewise.
27050 (__getgrnam_r): Likewise.
27051 * include/pwd.h (__getpwuid_r): Likewise.
27052 (__getpwnam_r): Likewise.
27053 (__fgetpwent_r): Likewise.
27054 * include/shadow.h (__getspnam_r): Likewise.
27055 (__sgetspent_r): Likewise.
27056 (__fgetspent_r): Likewise.
27058 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27061 * include/unistd.h (__access): Add attribute_hidden.
27062 (__lseek64): Likewise.
27063 (__libc_pread64): Likewise.
27064 (__pipe2): Likewise.
27065 (__sleep): Likewise.
27066 (__chdir): Likewise.
27067 (__fchdir): Likewise.
27068 (__getcwd): Likewise.
27069 (__rmdir): Likewise.
27070 (__execvpe): Likewise.
27071 (__execve): Likewise.
27072 (__setsid): Likewise.
27073 (__getuid): Likewise.
27074 (__geteuid): Likewise.
27075 (__getgid): Likewise.
27076 (__getegid): Likewise.
27077 (__getgroups): Likewise.
27078 (__group_member): Likewise.
27079 (__ttyname_r): Likewise.
27080 (__isatty): Likewise.
27081 (__readlink): Likewise.
27082 (__unlink): Likewise.
27083 (__gethostname): Likewise.
27084 (__profil): Likewise.
27085 (__getdtablesize): Likewise.
27087 (__ftruncate): Likewise.
27088 (__ftruncate64): Likewise.
27090 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27093 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
27094 * argp/argp-fs-xinl.c: Likewise.
27095 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
27096 * argp/argp-parse.c: Include <argp.h>.
27097 * argp/argp-xinl.c: Likewise.
27098 * include/argp-fmtstream.h: New file.
27099 * include/argp.h (__argp_error): Add attribute_hidden.
27100 (__argp_failure): Likewise.
27101 (__argp_input): Likewise.
27102 (__argp_state_help): Likewise.
27104 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27107 * include/wchar.h (____wcstof_l_internal): New prototype.
27108 (____wcstod_l_internal): Likewise.
27109 (____wcstold_l_internal): Likewise.
27110 (____wcstol_l_internal): Likewise.
27111 (____wcstoul_l_internal): Likewise.
27112 (____wcstoll_l_internal): Likewise.
27113 (____wcstoull_l_internal): Likewise.
27114 (____wcstof128_l_internal): Likewise.
27115 * sysdeps/ieee754/float128/wcstof128.c
27116 (____wcstof128_l_internal): Removed.
27117 * sysdeps/ieee754/float128/wcstof128_l.c
27118 (____wcstof128_l_internal): Likewise.
27119 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
27120 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
27121 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
27122 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
27123 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
27124 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
27125 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
27126 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
27127 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
27128 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
27130 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27133 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
27134 instead of <sys/statvfs.h>.
27135 (__internal_statvfs): Removed.
27136 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
27137 instead of <sys/statvfs.h>.
27138 (__internal_statvfs64): Removed.
27139 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
27140 "internal_statvfs.h" instead of <sys/statvfs.h>.
27141 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
27142 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
27143 instead of <sys/statvfs.h>.
27144 (__internal_statvfs): Removed.
27145 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
27146 instead of <sys/statvfs.h>.
27147 (__internal_statvfs64): Removed.
27149 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27152 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
27153 (__gconv_close): Likewise.
27154 (__gconv): Likewise.
27155 (__gconv_find_transform): Likewise.
27156 (__gconv_lookup_cache): Likewise.
27157 (__gconv_compare_alias_cache): Likewise.
27158 (__gconv_load_cache): Likewise.
27159 (__gconv_get_path): Likewise.
27160 (__gconv_close_transform): Likewise.
27161 (__gconv_release_cache): Likewise.
27162 (__gconv_find_shlib): Likewise.
27163 (__gconv_release_shlib): Likewise.
27164 (__gconv_get_builtin_trans): Likewise.
27165 (__gconv_compare_alias): Likewise.
27166 * include/dlfcn.h (_dlerror_run): Likewise.
27167 * include/stdio.h (__fortify_fail_abort): Likewise.
27168 * include/time.h (__tz_compute): Likewise.
27169 (__strptime_internal): Likewise.
27170 * intl/gettextP.h (_nl_find_domain): Likewise.
27171 (_nl_load_domain): Likewise.
27172 (_nl_find_msg): Likewise.
27173 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
27174 (EXTRACT_PLURAL_EXPRESSION): Likewise.
27175 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
27176 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
27177 (__gai_find_request): Likewise.
27178 (__gai_remove_request): Likewise.
27179 (__gai_notify): Likewise.
27180 (__gai_notify_only): Likewise.
27181 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
27182 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
27183 (_dl_non_dynamic_init): Likewise.
27184 (_dl_aux_init): Likewise.
27185 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
27186 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
27188 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
27189 (__wcsmbs_clone_conv): Likewise.
27190 (__wcsmbs_named_conv): Likewise.
27192 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27195 * include/stdlib.h (__random): Add attribute_hidden.
27196 (__random_r): Likewise.
27197 (__srandom_r): Likewise.
27198 (__initstate_r): Likewise.
27199 (__setstate_r): Likewise.
27200 (__erand48_r): Likewise.
27201 (__nrand48_r): Likewise.
27202 (__jrand48_r): Likewise.
27203 (__srand48_r): Likewise.
27204 (__seed48_r): Likewise.
27205 (__lcong48_r): Likewise.
27206 (__drand48_iterate): Likewise.
27207 (__setenv): Likewise.
27208 (__unsetenv): Likewise.
27209 (__clearenv): Likewise.
27210 (__ptsname_r): Likewise.
27211 (__posix_openpt): Likewise.
27212 (__add_to_environ): Likewise.
27213 (__realpath): Add libc_hidden_proto.
27214 (__ecvt_r): Likewise.
27215 (__fcvt_r): Likewise.
27216 (__qecvt_r): Likewise.
27217 (__qfcvt_r): Likewise.
27218 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
27219 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
27221 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27224 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
27225 * include/time.h (__mktime_internal): Likewise.
27226 * libio/iolibio.h (__fopen_internal): Likewise.
27228 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
27230 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
27232 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
27233 Correct offset used to restore PIC register.
27235 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
27238 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
27239 code to load address of __getcontext_ret when generating PIC code.
27241 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
27243 * elf/Makefile (tests-static-internal): Add
27244 tst-tls1-static-non-pie.
27245 (LDFLAGS-tst-tls1-static-non-pie): New.
27246 * elf/tst-tls1-static-non-pie.c: New file.
27248 2017-09-29 Joseph Myers <joseph@codesourcery.com>
27250 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
27251 (asinh): Define using libm_alias_double.
27252 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
27253 (cbrt): Define using libm_alias_double.
27254 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
27255 <libm-alias-double.h>.
27256 (copysign): Define using libm_alias_double.
27257 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
27258 (erf): Define using libm_alias_double.
27260 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
27261 (expm1): Define using libm_alias_double.
27262 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
27263 (fabs): Define using libm_alias_double.
27264 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
27266 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
27267 <libm-alias-double.h>.
27268 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
27270 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
27271 <libm-alias-double.h>.
27272 (getpayload): Define using libm_alias_double.
27273 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
27274 <libm-alias-double.h>.
27275 (llrint): Define using libm_alias_double.
27276 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
27277 (lrint): Define using libm_alias_double.
27278 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
27279 <libm-alias-double.h>.
27280 (nextup): Define using libm_alias_double.
27281 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
27282 <libm-alias-double.h>.
27283 (roundeven): Define using libm_alias_double.
27284 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
27286 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
27287 <libm-alias-double.h>.
27288 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
27289 using libm_alias_double.
27290 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
27291 (cos): Define using libm_alias_double.
27293 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
27294 <libm-alias-double.h>.
27295 (sincos): Define using libm_alias_double.
27296 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
27297 (tanh): Define using libm_alias_double.
27298 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
27299 <libm-alias-double.h>.
27300 (totalorder): Define using libm_alias_double.
27301 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
27302 <libm-alias-double.h>.
27303 (totalordermag): Define using libm_alias_double.
27304 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
27306 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
27308 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
27309 <libm-alias-double.h>.
27310 (getpayload): Define using libm_alias_double.
27311 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
27312 <libm-alias-double.h>.
27313 (roundeven): Define using libm_alias_double.
27314 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
27315 <libm-alias-double.h>.
27316 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
27317 <libm-alias-double.h>.
27318 (totalorder): Define using libm_alias_double.
27319 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
27320 <libm-alias-double.h>.
27321 (totalordermag): Define using libm_alias_double.
27322 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
27323 libc compat symbol here.
27324 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
27325 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
27326 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
27327 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
27328 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
27329 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
27330 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
27331 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
27332 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
27333 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
27335 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27337 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
27338 _dl_relocate_static_pie instead of _dl_start to compute load
27339 address in static PIE. Return 0 if _DYNAMIC is undefined for
27342 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27344 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
27345 _DYNAMIC is undefined for static executable.
27347 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27349 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
27351 2017-09-29 Joseph Myers <joseph@codesourcery.com>
27353 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27355 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27357 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
27358 (__ieee754_lgamma_r): Use fabs rather than __fabs.
27359 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
27360 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
27361 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
27362 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
27363 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
27364 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
27365 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
27366 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27367 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
27368 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
27369 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27370 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27371 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
27372 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
27373 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
27375 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27377 * math/bits/cmathcalls.h (cimag): Remove inline.
27378 (creal): Remove inline.
27379 (conj): Remove inline.
27381 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27383 * math/Makefile (type-float-routines): Add e_powf_log2_data.
27384 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
27385 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
27386 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
27387 (issignalingf_inline): Likewise.
27388 (POWF_LOG2_TABLE_BITS): Likewise.
27389 (POWF_LOG2_POLY_ORDER): Likewise.
27390 (POWF_SCALE_BITS): Likewise.
27391 (POWF_SCALE): Likewise.
27392 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
27393 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
27394 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
27396 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27398 * math/Makefile (type-float-routines): Add e_log2f_data.
27399 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
27400 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
27401 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
27402 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
27403 * sysdeps/i386/fpu/e_log2f_data.c: New file.
27404 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
27405 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
27407 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27409 * math/Makefile (type-float-routines): Add e_logf_data.
27410 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
27411 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
27412 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
27413 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
27414 * sysdeps/i386/fpu/e_logf_data.c: New file.
27415 * sysdeps/ia64/fpu/e_logf_data.c: New file.
27416 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
27418 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
27420 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
27421 undefined _DYNAMIC in PIE libc.a.
27422 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27425 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27427 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
27428 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
27429 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
27430 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
27431 (__signbit): Remove.
27432 (__signbitl): Remove.
27433 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
27434 (__signbit): Remove.
27435 (__signbitl): Remove.
27436 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
27437 (__signbit): Remove.
27438 (__signbitl): Remove.
27439 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
27440 (__signbit): Remove.
27441 (__signbitl): Remove.
27442 * sysdeps/tile/bits/mathinline.h: Delete file.
27443 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
27444 (__signbit): Remove.
27445 (__signbitl): Remove.
27447 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27449 * math/math.h: Improve handling of C99 isgreater macros.
27450 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
27451 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
27452 * sysdeps/powerpc/bits/mathinline.h: Likewise.
27453 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27454 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
27456 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
27458 * sysdeps/aarch64/libm-test-ulps: Update.
27460 2017-09-28 Joseph Myers <joseph@codesourcery.com>
27463 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27464 math_opt_barrier on argument when doing arithmetic on it.
27465 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27466 Likewise. Use math_force_eval not math_opt_barrier after
27468 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
27469 math_opt_barrier on argument when doing arithmetic on it.
27470 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27473 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
27475 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
27477 (__freeifaddrs): Likewise.
27479 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
27481 * include/dirent.h (__dirfd): New declaration.
27482 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
27484 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
27485 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
27486 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
27487 * include/unistd.h (__revoke): New declaration.
27488 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
27490 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
27491 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
27493 * include/dirent.h (__seekdir): New declaration.
27494 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
27495 redefine as weak alias.
27496 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
27498 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
27499 and use libc_hidden_def on them.
27500 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
27502 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
27503 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
27504 instead of getifaddrs and freeifaddrs.
27506 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27509 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
27510 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
27511 (__dso_handle): Remove declaration.
27512 * dlfcn/tstatexit.c (__dso_handle): Removed.
27513 (main): Don't check __dso_handle.
27514 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
27515 (main): Don't check __dso_handle.
27516 * include/dso_handle.h: New file.
27517 * malloc/mtrace.c: Include <dso_handle.h>.
27518 (mtrace): Pass __dso_handle directly.
27519 * nptl/pthread_atfork.c: Include <dso_handle.h>.
27520 (__dso_handle): Remove declaration.
27521 (__pthread_atfork): Pass __dso_handle directly.
27522 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
27523 (__dso_handle): Removed.
27524 * posix/wordexp-test.c: Include <dso_handle.h>.
27525 (__dso_handle): Remove declaration.
27526 (__app_register_atfork): Pass __dso_handle directly.
27527 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
27528 (__dso_handle): Remove declaration.
27529 (at_quick_exit): Pass __dso_handle directly.
27530 * stdlib/atexit.c: Include <dso_handle.h>.
27531 (__dso_handle): Remove declaration.
27532 (atexit): Pass __dso_handle directly.
27533 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
27534 (__dso_handle): Removed.
27536 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27538 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
27541 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
27543 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
27544 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
27545 values to correct default value for given type.
27547 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27550 * elf/Makefile (tests): Add tst-debug1.
27551 ($(objpfx)tst-debug1): New.
27552 ($(objpfx)tst-debug1.out): Likewise.
27553 ($(objpfx)tst-debug1mod1.so): Likewise.
27554 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
27555 with p_filesz == 0.
27556 * elf/tst-debug1.c: New file.
27558 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27560 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
27561 Define using __ifunc.
27563 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27565 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
27568 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27571 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
27573 2017-09-26 Florian Weimer <fweimer@redhat.com>
27575 * resolv/Makefile (tests-internal): Fix typo in comment.
27577 2017-09-26 Florian Weimer <fweimer@redhat.com>
27579 * resolv/nss_dns/dns-host.c: Fix typo in comment.
27581 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27583 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
27584 Use an union instead of a max_align_t array for __space,
27585 so that __space is the same size on all platforms.
27586 * malloc/scratch_buffer_grow_preserve.c
27587 (__libc_scratch_buffer_grow_preserve): Likewise.
27590 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
27592 * posix/Makefile (routines): Add glob-lstat-compat and
27593 glob64-lstat-compat.
27594 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
27595 * posix/glob-lstat-compat.c: New file.
27596 * posix/glob64-lstat-compat.c: Likewise.
27597 * posix/tst-glob_lstat_compat.c: Likewise.
27598 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
27599 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
27600 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
27601 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
27603 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
27604 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
27605 * posix/glob.c (glob_lstat): New function.
27606 (glob): Rename to __glob and add versioned symbol to 2.27.
27607 (glob_in_dir): Use glob_lstat.
27608 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
27609 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
27610 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
27612 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
27613 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
27614 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
27615 gl_lstat on glob call.
27616 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
27617 and glob64 symbols.
27618 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27619 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
27620 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27621 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27622 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
27623 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
27624 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
27625 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
27626 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
27627 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27628 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27629 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
27630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
27632 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
27633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
27634 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27635 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27636 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
27637 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27638 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27639 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
27640 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
27641 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
27642 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27643 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27645 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
27647 * configure.ac (AS): Require binutils 2.25 or later.
27648 * configure: Regenerated.
27650 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27653 * stdlib/test-atexit-race-common.c (do_test): Minimize required
27656 2017-09-25 DJ Delorie <dj@redhat.com>
27659 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
27662 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
27664 * sysdeps/ieee754/dbl-64/sincos32.h
27665 [SINCCOS32_H]: Remove define.
27666 [SINCOS32_H]: Define.
27668 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27670 * math/Versions (expf): New libm symbol at GLIBC_2.27.
27672 * math/w_exp2f.c: New file.
27673 * math/w_expf.c: New file.
27674 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
27675 * math/w_expf_compat.c (__expf_compat): Likewise.
27676 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
27677 * sysdeps/ia64/fpu/e_expf.S: Likewise.
27678 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27679 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27680 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27681 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27682 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27683 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27684 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27685 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27686 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27687 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27688 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27689 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
27692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27698 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27699 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27700 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27701 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27702 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27703 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27705 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27707 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27708 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27709 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27711 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27713 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
27714 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
27715 (roundtoint, converttoint): Likewise.
27716 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
27717 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
27718 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
27719 * sysdeps/ieee754/flt-32/math_config.h: New file.
27720 * sysdeps/ieee754/flt-32/math_errf.c: New file.
27721 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
27722 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
27723 * sysdeps/i386/fpu/math_errf.c: New file.
27724 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
27725 * sysdeps/ia64/fpu/math_errf.c: New file.
27726 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
27727 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
27729 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
27731 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
27732 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
27733 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
27734 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
27735 to make sure that these symbols are defined.
27736 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
27738 (__need_NULL): Do not define.
27739 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
27741 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
27742 CMGROUP_MAX, cmsgcred): Do not define.
27743 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
27745 * bits/socket.h: Likewise.
27746 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
27747 __gettimeofday instead of gettimeofday.
27748 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
27749 instead of settimeofday.
27751 2017-09-22 Joseph Myers <joseph@codesourcery.com>
27753 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
27754 (asinhf): Define using libm_alias_float.
27755 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
27756 (atanf): Define using libm_alias_float.
27757 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
27758 (cbrtf): Define using libm_alias_float.
27759 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
27760 (ceilf): Define using libm_alias_float.
27761 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
27762 <libm-alias-float.h>.
27763 (copysignf): Define using libm_alias_float.
27764 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
27765 (cosf): Define using libm_alias_float.
27766 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
27767 (erff): Define using libm_alias_float.
27769 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
27770 (expm1f): Define using libm_alias_float.
27771 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
27772 (fabsf): Define using libm_alias_float.
27773 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
27774 (floorf): Define using libm_alias_float.
27775 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
27776 (frexpf): Define using libm_alias_float.
27777 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
27779 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
27780 <libm-alias-float.h>.
27781 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
27783 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
27784 <libm-alias-float.h>.
27785 (getpayloadf): Define using libm_alias_float.
27786 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
27787 <libm-alias-float.h>.
27788 (llrintf): Define using libm_alias_float.
27789 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
27790 <libm-alias-float.h>.
27791 (llroundf): Define using libm_alias_float.
27792 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
27793 (logbf): Define using libm_alias_float.
27794 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
27795 (lrintf): Define using libm_alias_float.
27796 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
27797 (lroundf): Define using libm_alias_float.
27798 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
27799 (modff): Define using libm_alias_float.
27800 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
27801 <libm-alias-float.h>.
27802 (nearbyintf): Define using libm_alias_float.
27803 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
27804 <libm-alias-float.h>.
27805 (nextafterf): Define using libm_alias_float.
27806 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
27807 <libm-alias-float.h>.
27808 (nextupf): Define using libm_alias_float.
27809 * sysdeps/ieee754/flt-32/s_remquof.c: Include
27810 <libm-alias-float.h>.
27811 (remquof): Define using libm_alias_float.
27812 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
27813 (rintf): Define using libm_alias_float.
27814 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
27815 <libm-alias-float.h>.
27816 (roundevenf): Define using libm_alias_float.
27817 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
27818 (roundf): Define using libm_alias_float.
27819 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
27820 using libm_alias_float.
27821 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
27822 <libm-alias-float.h>.
27823 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
27824 Define using libm_alias_float.
27825 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
27826 <libm-alias-float.h>.
27827 (sincosf): Define using libm_alias_float.
27828 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
27829 (sinf): Define using libm_alias_float.
27830 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
27831 (tanf): Define using libm_alias_float.
27832 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
27833 (tanhf): Define using libm_alias_float.
27834 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
27835 <libm-alias-float.h>.
27836 (totalorderf): Define using libm_alias_float.
27837 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
27838 <libm-alias-float.h>.
27839 (totalordermagf): Define using libm_alias_float.
27840 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
27841 (truncf): Define using libm_alias_float.
27842 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
27844 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
27847 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27850 math/math.h: Let fpclassify use the builtin in C++ mode, even
27851 when optimazing for size.
27853 2017-09-22 Joseph Myers <joseph@codesourcery.com>
27855 * csu/Makefile (generated): Do not add version-info.h.
27856 (before-compile): Likewise.
27857 (all-Banner-files): Remove variable.
27858 ($(objpfx)version-info.h): Remove rule.
27859 * csu/version.c (banner): Do not include "version-info.h".
27860 * libidn/Banner: Remove.
27861 * manual/contrib.texi (Simon Josefsson): New entry.
27863 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27865 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27866 Remove conditionals on LDBL_MANT_DIG.
27867 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27868 (__ieee754_lgammal_r): Likewise.
27870 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27872 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
27874 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
27875 _Float128 and L(). Replace _Float128 with long double and L(x)
27876 with xL, throughout the file.
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/ieee754/ldbl-128ibm/e_expl.c: Include tables from
27885 sysdeps/ieee754/ldbl-128ibm.
27886 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
27887 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
27888 of including it. Keep _Float128 and L() intact. These will be
27889 reviewed by a separate patch.
27890 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27891 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27892 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27893 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27895 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
27898 (__finitef128): Define to __redirect___finitef128.
27899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
27900 (__isinff128): Define to __redirect___isinff128.
27901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
27902 (__isnanf128): Define to __redirect___isnanf128.
27904 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27906 * sysdeps/powerpc/powerpc64le/Makefile
27907 (CFLAGS-tst-strtod-nan-locale.c): New variable.
27908 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
27910 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
27911 Carlos O'Donell <carlos@redhat.com>
27914 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
27915 * stdlib/test-dlclose-exit-race.c: New file.
27916 * stdlib/test-dlclose-exit-race-helper.c: New file.
27917 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
27919 2017-09-21 Joseph Myers <joseph@codesourcery.com>
27921 * crypt/Banner: Remove file.
27922 * nptl/Banner: Likewise.
27923 * resolv/Banner: Likewise.
27924 * soft-fp/Banner: Likewise.
27925 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
27926 ($(objpfx)version.d): Remove dependency on banner.h.
27927 ($(objpfx)version.os): Likewise.
27928 * nptl/version.c (banner): Do not include banner.h.
27929 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
27930 Jelinek and BIND code.
27932 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
27933 Carlos O'Donell <carlos@redhat.com>
27935 * support/xdlfcn.h: New file.
27936 * support/xdlfcn.c: New file.
27937 * support/Makefile (libsupport-routines): Add xdlfcn.
27938 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
27940 2017-09-20 Joseph Myers <joseph@codesourcery.com>
27943 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27944 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
27945 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
27946 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
27947 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
27948 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
27949 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
27950 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
27952 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
27953 Ricky Zhou <rickyz@google.com>
27954 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
27957 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
27959 (__new_exitfn): Fail registration when we finished at_exit processing.
27960 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
27961 * stdlib/on_exit.c (__on_exit): Likewise.
27962 * stdlib/exit.c (__exit_funcs_done): New variable.
27963 (__run_exit_handlers): Use __exit_funcs_lock.
27964 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
27966 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
27967 (test-cxa_atexit-race, test-on_exit-race): New tests.
27968 * stdlib/test-atexit-race-common.c: New file.
27969 * stdlib/test-atexit-race.c: New file.
27970 * stdlib/test-at_quick_exit-race.c: New file.
27971 * stdlib/test-cxa_atexit-race.c: New file.
27972 * stdlib/test-on_exit-race.c: New file.
27974 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
27976 * benchtests/Makefile: Add exp2f and log2f benchmarks.
27977 * benchtests/exp2f-inputs: Copy of expf-inputs.
27978 * benchtests/log2f-inputs: Copy of logf-inputs.
27980 2017-09-19 Joseph Myers <joseph@codesourcery.com>
27982 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
27983 Explicitly take address of first element of array arguments in
27984 call to INLINE_SYSCALL.
27986 2017-09-19 Andreas Schwab <schwab@suse.de>
27989 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
27991 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
27993 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
27994 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
27995 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27996 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
27997 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27998 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
27999 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28000 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
28001 * posix/Makefile (tests): Add tst-fexecve.
28002 * posix/tst-fexecve.c: New file.
28004 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28006 * benchtests/Makefile: Add logf benchmark.
28007 * benchtests/logf-inputs: Add reduced trace from wrf_r.
28009 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28011 * benchtests/Makefile: Add expf benchmark.
28012 * benchtests/expf-inputs: Add reduced trace from wrf_r.
28014 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28016 * csu/Makefile: Add -funwind-tables to libc-start.c.
28017 * debug/Makefile: Add -funwind-tables to backtrace.c.
28018 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
28019 * sysdeps/arm/Makefile: Likewise.
28020 * sysdeps/i386/Makefile: Likewise.
28021 * sysdeps/m68k/Makefile: Likewise.
28022 * sysdeps/mips/Makefile: Likewise.
28023 * sysdeps/nios2/Makefile: Likewise.
28024 * sysdeps/sh/Makefile: Likewise.
28025 * sysdeps/sparc/Makefile: Likewise.
28027 2017-09-19 Joseph Myers <joseph@codesourcery.com>
28029 * benchtests/Makefile (bench-math): Add trunc and truncf.
28030 (CFLAGS-bench-trunc.c): New variable.
28031 (CFLAGS-bench-truncf.c): Likewise.
28032 * benchtests/trunc-inputs: New file.
28033 * benchtests/truncf-inputs: Likewise.
28035 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28037 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
28039 2017-09-18 Joseph Myers <joseph@codesourcery.com>
28041 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
28042 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
28044 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
28045 (exp10l): Define as weak alias.
28046 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
28047 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
28049 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
28050 (remainderl): Define as weak alias.
28052 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
28053 (fmal): Define using libm_alias_ldouble.
28054 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
28055 (acoshl): Define using libm_alias_ldouble.
28056 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
28057 (acosl): Define using libm_alias_ldouble.
28058 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
28059 (asinl): Define using libm_alias_ldouble.
28060 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
28061 (atan2l): Define using libm_alias_ldouble.
28062 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
28063 (atanhl): Define using libm_alias_ldouble.
28064 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
28065 (coshl): Define using libm_alias_ldouble.
28066 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
28067 (exp10l): Define using libm_alias_ldouble.
28068 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
28069 (exp2l): Define using libm_alias_ldouble.
28070 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
28071 (expl): Define using libm_alias_ldouble.
28072 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
28073 (fmodl): Define using libm_alias_ldouble.
28074 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
28075 (hypotl): Define using libm_alias_ldouble.
28076 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
28077 (j0l): Define using libm_alias_ldouble.
28079 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
28080 (j1l): Define using libm_alias_ldouble.
28082 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
28083 (jnl): Define using libm_alias_ldouble.
28085 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
28086 (log10l): Define using libm_alias_ldouble.
28087 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
28088 (log2l): Define using libm_alias_ldouble.
28089 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
28090 (logl): Define using libm_alias_ldouble.
28091 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
28092 (powl): Define using libm_alias_ldouble.
28093 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
28094 (remainderl): Define using libm_alias_ldouble.
28095 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
28096 (sinhl): Define using libm_alias_ldouble.
28097 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
28098 (sqrtl): Define using libm_alias_ldouble.
28099 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
28100 (tgammal): Define using libm_alias_ldouble.
28101 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
28102 (exp10l): Do not use long_double_symbol here.
28103 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
28104 [LIBM_SVID_COMPAT] (remainderl): Likewise.
28105 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
28106 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
28107 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
28108 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28109 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28110 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28111 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28112 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28113 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
28114 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
28115 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
28116 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
28117 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
28118 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
28119 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
28120 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
28121 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
28122 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
28123 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
28124 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
28126 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
28128 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
28129 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
28131 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
28133 * io/read.c (read): Add libc_hidden_weak.
28134 * sysdeps/mach/hurd/read.c (read): Likewise.
28135 * io/write.c (write): Likewise.
28136 * sysdeps/mach/hurd/write.c (write): Likewise.
28137 * io/pread64.c (__pread64): Likewise.
28138 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
28139 * posix/pread64.c (__pread64): Add libc_hidden_def.
28141 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
28143 * benchtests/scripts/compare_strings.py: New option -g.
28144 (draw_graph): Print a message that a graph is being generated.
28145 (process_results): Generate graph only if -g is passed.
28146 (main): Process option -g.
28148 * benchtests/scripts/compare_strings.py (process_results):
28149 Better spacing for output.
28151 * benchtests/scripts/compare_strings.py: Use argparse.
28152 * benchtests/README: Document existence of compare_strings.py.
28154 2017-09-15 Joseph Myers <joseph@codesourcery.com>
28156 * math/s_fma.c: Include <libm-alias-double.h>.
28157 (fma): Define using libm_alias_double.
28158 * math/s_nextafter.c: Include <libm-alias-double.h>.
28159 (nextafter): Define using libm_alias_double.
28160 * math/w_acos_compat.c: Include <libm-alias-double.h>.
28161 (acos): Define using libm_alias_double.
28162 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
28163 (aocsh): Define using libm_alias_double.
28164 * math/w_asin_compat.c: Include <libm-alias-double.h>.
28165 (asin): Define using libm_alias_double.
28166 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
28167 (atan2): Define using libm_alias_double.
28168 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
28169 (atanh): Define using libm_alias_double.
28170 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
28171 (cosh): Define using libm_alias_double.
28172 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
28173 (exp10): Define using libm_alias_double.
28174 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
28175 (exp2): Define using libm_alias_double.
28176 * math/w_exp_compat.c: Include <libm-alias-double.h>.
28177 (exp): Define using libm_alias_double.
28178 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
28179 (fmod): Define using libm_alias_double.
28180 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
28181 (hypot): Define using libm_alias_double.
28182 * math/w_j0_compat.c: Include <libm-alias-double.h>.
28183 (j0): Define using libm_alias_double.
28185 * math/w_j1_compat.c: Include <libm-alias-double.h>.
28186 (j1): Define using libm_alias_double.
28188 * math/w_jn_compat.c: Include <libm-alias-double.h>.
28189 (jn): Define using libm_alias_double.
28191 * math/w_log10_compat.c: Include <libm-alias-double.h>.
28192 (log10): Define using libm_alias_double.
28193 * math/w_log2_compat.c: Include <libm-alias-double.h>.
28194 (log2): Define using libm_alias_double.
28195 * math/w_log_compat.c: Include <libm-alias-double.h>.
28196 (log): Define using libm_alias_double.
28197 * math/w_pow_compat.c: Include <libm-alias-double.h>.
28198 (pow): Define using libm_alias_double.
28199 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
28200 (remainder): Define using libm_alias_double.
28201 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
28202 (sinh): Define using libm_alias_double.
28203 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
28204 (sqrt): Define using libm_alias_double.
28205 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
28206 (tgamma): Define using libm_alias_double.
28207 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
28208 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
28209 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
28210 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
28211 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
28212 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
28213 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
28214 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
28215 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
28216 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
28217 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
28218 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
28219 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
28220 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
28221 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
28222 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
28223 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
28224 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
28225 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
28226 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
28227 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
28228 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
28229 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
28230 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
28231 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
28233 * math/e_acoshl.c: Remove.
28234 * math/e_acosl.c: Likewise.
28235 * math/e_asinl.c: Likewise.
28236 * math/e_atan2l.c: Likewise.
28237 * math/e_atanhl.c: Likewise.
28238 * math/e_coshl.c: Likewise.
28239 * math/e_expl.c: Likewise.
28240 * math/e_fmodl.c: Likewise.
28241 * math/e_gammal_r.c: Likewise.
28242 * math/e_hypotl.c: Likewise.
28243 * math/e_j0l.c: Likewise.
28244 * math/e_j1l.c: Likewise.
28245 * math/e_jnl.c: Likewise.
28246 * math/e_lgammal_r.c: Likewise.
28247 * math/e_log10l.c: Likewise.
28248 * math/e_log2l.c: Likewise.
28249 * math/e_logl.c: Likewise.
28250 * math/e_powl.c: Likewise.
28251 * math/e_rem_pio2l.c: Likewise.
28252 * math/e_sinhl.c: Likewise.
28253 * math/e_sqrtf128.c: Likewise.
28254 * math/e_sqrtl.c: Likewise.
28255 * math/k_cosl.c: Likewise.
28256 * math/k_sinl.c: Likewise.
28257 * math/k_tanl.c: Likewise.
28258 * math/s_asinhl.c: Likewise.
28259 * math/s_atanl.c: Likewise.
28260 * math/s_cbrtl.c: Likewise.
28261 * math/s_erfl.c: Likewise.
28262 * math/s_expm1l.c: Likewise.
28263 * math/s_log1pl.c: Likewise.
28264 * math/s_tanhl.c: Likewise.
28266 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28269 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
28270 [$(subdir) = math] (sysdep_calls): New variable. Has the
28271 previous contents of sysdep_routines, but re-sorted..
28272 [$(subdir) = math] (sysdep_routines): Re-use the contents from
28274 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
28275 defined in sysdep_calls and replace by the respective m_* names.
28276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
28277 (compat_symbol): Undefine to avoid duplicated compat symbols in
28280 2017-09-15 Joseph Myers <joseph@codesourcery.com>
28282 * math/s_fmaf.c: Include <libm-alias-float.h>.
28283 (fmaf): Define using libm_alias_float.
28284 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
28285 (acosf): Define using libm_alias_float.
28286 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
28287 (acoshf): Define using libm_alias_float.
28288 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
28289 (asinf): Define using libm_alias_float.
28290 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
28291 (atan2f): Define using libm_alias_float.
28292 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
28293 (atanhf): Define using libm_alias_float.
28294 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
28295 (coshf): Define using libm_alias_float.
28296 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
28297 (exp10f): Define using libm_alias_float.
28298 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
28299 (fmodf): Define using libm_alias_float.
28300 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
28301 (hypotf): Define using libm_alias_float.
28302 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
28303 (j0f): Define using libm_alias_float.
28305 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
28306 (j1f): Define using libm_alias_float.
28308 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
28309 (jnf): Define using libm_alias_float.
28311 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
28312 (log10f): Define using libm_alias_float.
28313 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
28314 (log2f): Define using libm_alias_float.
28315 * math/w_logf_compat.c: Include <libm-alias-float.h>.
28316 (logf): Define using libm_alias_float.
28317 * math/w_powf_compat.c: Include <libm-alias-float.h>.
28318 (powf): Define using libm_alias_float.
28319 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
28320 (remainderf): Define using libm_alias_float.
28321 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
28322 (sinhf): Define using libm_alias_float.
28323 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
28324 (sqrtf): Define using libm_alias_float.
28325 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
28326 (tgammaf): Define using libm_alias_float.
28328 2017-09-14 Joseph Myers <joseph@codesourcery.com>
28330 * include/math.h (roundeven): Change hidden_proto call to
28332 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
28334 [NO_LONG_DOUBLE] (__j0l): New strong alias.
28335 (y0): Rename to __y0 and define as weak alias.
28336 [NO_LONG_DOUBLE] (__y0l): New strong alias.
28337 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
28339 (y0f): Rename to __y0f and define as weak alias.
28340 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
28342 [NO_LONG_DOUBLE] (__j1l): New strong alias.
28343 (y1): Rename to __y1 and define as weak alias.
28344 [NO_LONG_DOUBLE] (__y1l): New strong alias.
28345 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
28347 (y1f): Rename to __y1f and define as weak alias.
28348 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
28350 [NO_LONG_DOUBLE] (__jnl): New strong alias.
28351 (yn): Rename to __yn and define as weak alias.
28352 [NO_LONG_DOUBLE] (__ynl): New strong alias.
28353 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
28355 (ynf): Rename to __ynf and define as weak alias.
28356 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
28357 (fromfp): Define as weak alias.
28358 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
28359 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
28360 (fromfpx): Define as weak alias.
28361 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
28362 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
28363 __getpayload and define as weak alias.
28364 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28365 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
28366 __roundeven and define as weak alias.
28367 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28368 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
28370 (setpayload): Define as weak alias.
28371 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
28372 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
28374 (setpayloadsig): Define as weak alias.
28375 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
28376 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
28377 __totalorder and define as weak alias.
28378 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28379 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
28380 to __totalordermag and define as weak alias.
28381 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28382 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
28383 (ufromfp): Define as weak alias.
28384 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
28385 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
28387 (ufromfpx): Define as weak alias.
28388 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
28389 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
28390 Rename to __getpayload and define as weak alias.
28391 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28392 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
28393 Rename to __roundeven and define as weak alias.
28394 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28395 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
28396 Rename to __totalorder and define as weak alias.
28397 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28398 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
28399 (totalordermag): Rename to __totalordermag and define as weak
28401 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28402 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
28404 (__roundevenl): Likewise.
28405 (__totalorderl): Likewise.
28406 (__totalordermagl): Likewise
28407 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
28409 (fromfpf128): Define as weak alias.
28410 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
28412 (fromfpxf128): Define as weak alias.
28413 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
28415 (setpayloadf128): Define as weak alias.
28416 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
28417 __setpayloadsigf128.
28418 (setpayloadsigf128): Define as weak alias.
28419 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
28421 (ufromfpf128): Define as weak alias.
28422 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
28424 (ufromfpxf128): Define as weak alias.
28425 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
28426 (fromfpf): Define as weak alias.
28427 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
28429 (fromfpxf): Define as weak alias.
28430 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
28431 __getpayloadf and define as weak alias.
28432 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
28433 __roundevenf and define as weak alias.
28434 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
28436 (setpayloadf): Define as weak alias.
28437 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
28439 (setpayloadsigf): Define as weak alias.
28440 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
28441 __totalorderf and define as weak alias.
28442 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
28443 Rename to __totalordermagf and define as weak alias.
28444 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
28446 (ufromfpf): Define as weak alias.
28447 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
28449 (ufromfpxf): Define as weak alias.
28450 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
28452 (fromfpl): Define as weak alias.
28453 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
28455 (fromfpxl): Define as weak alias.
28456 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
28457 to __getpayloadl and define as weak alias.
28458 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
28459 __roundevenl and define as weak alias.
28460 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
28462 (setpayloadl): Define as weak alias.
28463 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
28465 (setpayloadsigl): Define as weak alias.
28466 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
28467 to __totalorderl and define as weak alias.
28468 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
28469 Rename to __totalordermagl and define as weak alias.
28470 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
28472 (ufromfpl): Define as weak alias.
28473 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
28475 (ufromfpxl): Define as weak alias.
28476 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
28478 (fromfpl): Define as weak alias.
28479 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
28481 (fromfpxl): Define as weak alias.
28482 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
28483 Rename to __getpayloadl and define as weak alias.
28484 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
28485 to __roundevenl and define as weak alias. Call __roundeven
28486 instead of roundeven.
28487 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
28489 (setpayloadl): Define as weak alias.
28490 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
28492 (setpayloadsigl): Define as weak alias.
28493 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
28494 Rename to __totalorderl and define as weak alias.
28495 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
28496 Rename to __totalordermagl and define as weak alias.
28497 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
28499 (ufromfpl): Define as weak alias.
28500 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
28502 (ufromfpxl): Define as weak alias.
28503 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
28505 (fromfpl): Define as weak alias.
28506 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
28508 (fromfpxl): Define as weak alias.
28509 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
28510 __getpayloadl and define as weak alias.
28511 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
28512 __roundevenl and define as weak alias.
28513 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
28515 (setpayloadl): Define as weak alias.
28516 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
28518 (setpayloadsigl): Define as weak alias.
28519 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
28520 __totalorderl and define as weak alias.
28521 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
28522 Rename to __totalordermagl and define as weak alias.
28523 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
28525 (ufromfpl): Define as weak alias.
28526 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
28528 (ufromfpxl): Define as weak alias.
28530 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
28532 * benchtests/bench-string.h (realloc_bufs): New function.
28533 (test_init): Call it.
28534 * benchtests/bench-memset-large.c (do_test): Likewise.
28535 * benchtests/bench-memset.c (do_test): Likewise.
28537 * benchtests/bench-memset-large.c: Print output in JSON
28539 * benchtests/bench-memset.c: Likewise.
28541 2017-09-14 Mike FABIAN <mfabian@redhat.com>
28544 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
28545 * iconvdata/Makefile: Add IBM858.
28546 * iconvdata/gconv-modules: Likewise.
28547 * iconvdata/tst-tables.sh: Likewise.
28548 * iconvdata/ibm858.c: New file.
28549 * localedata/charmaps/IBM858: Likewise.
28551 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
28554 * locales/niu_NZ (LC_TIME): copy "niu_NU".
28555 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
28557 2017-09-14 Mike FABIAN <mfabian@redhat.com>
28560 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
28561 and add tel_int_fmt.
28563 2017-09-14 Joseph Myers <joseph@codesourcery.com>
28565 * sysdeps/generic/libm-alias-float128.h: New file.
28566 * sysdeps/generic/math-type-macros-float128.h: Include
28567 <libm-alias-float128.h>.
28568 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28570 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28572 * sysdeps/generic/libm-alias-ldouble.h: New file.
28573 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
28574 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
28575 * sysdeps/generic/math-type-macros-ldouble.h: Include
28576 <libm-alias-ldouble.h>.
28577 [!declare_mgen_alias] (declare_mgen_alias): Define to use
28578 libm_alias_ldouble.
28580 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
28582 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
28583 * math/w_exp_compat.c: ... here.
28584 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
28585 * math/w_expf_compat.c: ... here.
28586 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
28587 * math/w_expl_compat.c: ... here.
28588 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
28589 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
28590 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
28591 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28593 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28595 * math/w_scalbln_template.c (strong_alias): Do not undefine and
28597 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
28599 (ldexpl): Only define as compat symbol for libc, not libm.
28600 (scalbnl): Define as compat symbol for libc here.
28601 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
28602 define for [IS_IN (libc)].
28603 (__ldexpl_2): Remove alias.
28604 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
28605 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
28606 name in long_double_symbol call.
28607 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
28608 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
28609 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
28610 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
28611 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
28613 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
28614 Define as compat symbol.
28616 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28618 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
28619 * sysdeps/unix/sysv/linux/alpha/Makefile
28620 [$(subdir) = csu] (sysdep_routines): Remove rule.
28622 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28624 * sysdeps/generic/libm-alias-double.h: New file.
28625 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
28626 * sysdeps/generic/math-type-macros-double.h: Include
28627 <libm-alias-double.h>.
28628 [declare_mgen_alias] (declare_mgen_alias): Define to use
28630 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
28631 (M_LIBM_NEED_COMPAT): Remove macro.
28632 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
28633 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
28634 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
28636 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28637 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28638 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28639 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28640 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28641 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28642 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28643 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28644 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28645 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28646 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28647 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28648 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28649 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28650 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28651 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28652 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28653 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28654 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28655 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28656 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28657 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28658 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28659 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28660 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28661 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28662 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28663 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
28664 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
28666 (declare_mgen_alias): New macro.
28667 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
28668 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
28669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
28670 (M_LIBM_NEED_COMPAT): Remove macro.
28671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
28672 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
28673 <first-versions.h>.
28674 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
28675 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
28677 2017-09-12 Joseph Myers <joseph@codesourcery.com>
28679 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
28680 (declare_mgen_alias_2): Remove.
28681 * sysdeps/generic/math-type-macros-double.h
28682 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
28684 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
28686 (ldexp): Define with declare_mgen_alias.
28687 (scalbn): Likewise.
28689 2017-09-12 Steve Ellcey <sellcey@cavium.com>
28691 * grp/initgroups.c: Include config.h.
28692 (DEFAULT_CONFIG): New macro.
28693 (internal_getgrouplist): Use DEFAULT_CONFIG.
28694 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28695 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
28696 (DEFAULT_DEFCONFIG): New macro.
28697 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
28698 * nss/grp-lookup.c: Include config.h
28699 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
28700 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
28701 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
28702 * manual/nss.texi: Update default values section.
28704 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
28707 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
28709 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
28710 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
28711 Handle MathVec_Prefer_No_AVX512.
28712 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
28713 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
28716 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
28718 * posix/sched_primax.c (__sched_get_priority_max): Add
28720 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
28721 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
28722 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
28723 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
28724 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
28725 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
28726 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
28727 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
28730 2017-09-11 Joseph Myers <joseph@codesourcery.com>
28732 * sysdeps/generic/libm-alias-float.h: New file.
28733 * sysdeps/generic/math-type-macros-float.h: Include
28734 <libm-alias-float.h>.
28735 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28737 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
28740 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
28741 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
28742 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
28743 (HWCAP_IMPORTANT): Likewise.
28744 (HWCAP_X86_64): New enum.
28745 (HWCAP_X86_AVX512_1): Updated.
28746 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
28747 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
28748 (modules-names): Add x86_64/tst-x86_64mod-1.
28749 (LDFLAGS-tst-x86_64mod-1.so): New.
28750 ($(objpfx)tst-x86_64-1): Likewise.
28751 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
28752 (tst-x86_64-1-clean): Likewise.
28753 * sysdeps/x86_64/tst-x86_64-1.c: New file.
28754 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
28756 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
28758 * po/sv.po: Update translations.
28759 * po/fr.po: Likewise.
28761 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28763 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
28765 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
28767 * elf/rtld-Rules: Fix $(error) use.
28769 2017-09-09 Mike FABIAN <mfabian@redhat.com>
28772 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
28773 * locale/iso-639.def: Change “Bengali” to “Bangla”.
28774 * localedata/locales/bn_BD: “Bengali” was still used in some
28775 comments. Change it to “Bangla”.
28777 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
28779 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
28781 2017-09-08 Steve Ellcey <sellcey@cavium.com>
28783 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
28784 thunderx2t99p1 to list of cpu names.
28785 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
28786 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
28788 2017-09-08 Steve Ellcey <sellcey@cavium.com>
28790 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
28791 Use strcmp instead of tunable_is_name.
28793 2017-09-08 Joseph Myers <joseph@codesourcery.com>
28795 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28796 (F_GET_RW_HINT): New macro.
28797 [__USE_GNU] (F_SET_RW_HINT): Likewise.
28798 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
28799 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
28800 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
28801 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
28802 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
28803 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
28804 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
28805 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
28807 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28808 (F_ADD_SEALS): New macro.
28809 [__USE_GNU] (F_GET_SEALS): Likewise.
28810 [__USE_GNU] (F_SEAL_SEAL): Likewise.
28811 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
28812 [__USE_GNU] (F_SEAL_GROW): Likewise.
28813 [__USE_GNU] (F_SEAL_WRITE): Likewise.
28815 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28817 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
28818 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
28819 * posix/glob_internal.h (__glob_pattern_type):
28820 * posix/glob.c (glob):
28821 * posix/glob_pattern_p.c (__glob_pattern_p):
28824 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
28825 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28826 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
28827 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
28828 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
28830 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
28831 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
28832 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28833 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28834 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28835 * sysdeps/wordsize-64/glob.c: Likewise.
28836 * sysdeps/wordsize-64/glob64.c: Likewise.
28837 * sysdeps/wordsize-64/globfree.c: Likewise.
28838 * sysdeps/wordsize-64/globfree64.c: Likewise.
28839 * sysdeps/unix/sysv/linux/glob.c: New file.
28840 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
28841 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
28842 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
28843 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28844 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
28845 adds !GLOB_NO_OLD_VERSION as an extra condition.
28846 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
28847 using relative path instead of absolute one.
28848 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
28849 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28850 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28851 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
28852 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
28853 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
28856 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
28857 (glob): Use the same scratch buffer for both getlogin_r and
28858 getpwnam_r. Don’t require preallocation of the login name. This
28859 simplifies storage allocation, and corrects the handling of
28863 * posix/glob.c (glob): Port recent patches to platforms
28864 lacking getpwnam_r.
28865 (glob): Fix longstanding misuse of errno after getpwnam_r, which
28866 returns an error number rather than setting errno.
28868 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
28869 instead of GCC extension.
28870 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
28871 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
28872 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
28876 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
28877 * posix/bug-glob1.c: Remove file.
28878 * posix/tst-glob_symlinks.c: New file.
28879 * posix/glob.c (__lstat64): New macro.
28880 (is_dir): New function.
28881 (glob, glob_in_dir): Match symlinks even if they are dangling.
28882 (link_stat, link_exists_p): Remove. All uses removed.
28886 * posix/glob.c (struct readdir_result): Remove skip_entry member.
28887 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
28892 * posix/Makefile (routines): Add globfree, globfree64, and
28894 * posix/flexmember.h: New file.
28895 * posix/glob_internal.h: Likewise.
28896 * posix/glob_pattern_p.c: Likewise.
28897 * posix/globfree.c: Likewise.
28898 * posix/globfree64.c: Likewise.
28899 * sysdeps/gnu/globfree64.c: Likewise.
28900 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
28901 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28902 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
28903 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28904 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28905 * sysdeps/wordsize-64/globfree.c: Likewise.
28906 * sysdeps/wordsize-64/globfree64.c: Likewise.
28907 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
28908 [NDEBUG): Remove comments.
28909 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
28910 (dirent_type): New type. Use uint_fast8_t not
28911 uint8_t, as C99 does not require uint8_t.
28912 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
28913 (struct readdir_result): Use dirent_type. Do not define skip_entry
28914 unless it is needed; this saves a byte on platforms lacking d_ino.
28915 (readdir_result_type, readdir_result_skip_entry):
28916 New functions, replacing ...
28917 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
28918 these functions, which were removed. This makes the callers
28919 easier to read. All callers changed.
28920 (D_INO_TO_RESULT): Now empty if there is no d_ino.
28921 (size_add_wrapv, glob_use_alloca): New static functions.
28922 (glob, glob_in_dir): Check for size_t overflow in several places,
28923 and fix some size_t checks that were not quite right.
28924 Remove old code using SHELL since Bash no longer
28926 (glob, prefix_array): Separate MS code better.
28927 (glob_in_dir): Remove old Amiga and VMS code.
28928 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
28930 (glob_in_dir): Do not rely on undefined behavior in accessing
28931 struct members beyond their bounds. Use a flexible array member
28933 (link_stat): Rename from link_exists2_p and return -1/0 instead of
28934 0/1. Caller changed.
28935 (glob): Fix memory leaks.
28936 * posix/glob64 (globfree64): Move to separate file.
28937 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
28938 (globfree64): Remove hidden alias.
28939 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
28941 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
28943 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
28945 Move compat code to separate file.
28946 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
28949 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
28951 * resolv/tst-resolv-qtypes.c (domain): Changed to
28952 "const char domain[] =".
28954 2017-09-07 Joseph Myers <joseph@codesourcery.com>
28956 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
28959 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
28960 (TCP_MD5SIG_EXT): Likewise.
28961 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
28962 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
28963 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
28965 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
28967 2017-09-07 Mike FABIAN <mfabian@redhat.com>
28969 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
28971 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
28974 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
28976 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
28978 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
28979 before assuming that the file is empty. Avoid testing buffer content
28982 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28985 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
28987 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
28989 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
28991 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
28993 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
28995 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
28997 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
29000 2017-09-06 Florian Weimer <fweimer@redhat.com>
29002 * malloc/dynarray_emplace_enlarge.c
29003 (__libc_dynarray_emplace_enlarge): Add missing else.
29005 2017-09-06 Florian Weimer <fweimer@redhat.com>
29008 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
29009 case of failure to obtain the global conf object.
29011 2017-09-06 Florian Weimer <fweimer@redhat.com>
29014 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
29015 dynarray allocation failure.
29017 2017-09-06 Florian Weimer <fweimer@redhat.com>
29019 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
29020 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
29021 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
29023 (response): Call them. Add 'p', '6' flag processing.
29024 (test_reverse): New function.
29025 (test_get2_any): Call it.
29026 (test_no_inet6): Add 'p' test.
29027 (test_inet6): Likewise.
29029 2017-09-06 Florian Weimer <fweimer@redhat.com>
29031 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
29032 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
29034 (test_gai): Adjust query names. Add additional tests.
29035 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
29036 test_get2. Adjust query names. Add additional tests.
29037 (test_no_inet6): New function, extracted from threadfunc.
29038 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
29039 Add additional tests.
29041 2017-09-06 Mike FABIAN <mfabian@redhat.com>
29044 * localedata/unicode-gen/utf8_gen.py: Set the width for
29045 characters with Prepended_Concatenation_Mark property to 1
29046 * localedata/charmaps/UTF-8: Updated using the improved script.
29048 2017-09-06 Mike FABIAN <mfabian@redhat.com>
29051 * localedata/unicode-gen/utf8_gen.py: Improve the script to
29052 use the range notation for all ranges of neighbouring characters
29053 with the same width.
29055 2017-09-05 Joseph Myers <joseph@codesourcery.com>
29057 * sysdeps/generic/math-type-macros-double.h: Include
29058 <math-svid-compat.h>.
29059 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29060 * sysdeps/generic/math-type-macros-float.h: Include
29061 <math-svid-compat.h>.
29062 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29063 * sysdeps/generic/math-type-macros-ldouble.h: Include
29064 <math-svid-compat.h>.
29065 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29066 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
29068 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
29069 * math/w_acosf_compat.c: Likewise.
29070 * math/w_acosh_compat.c: Likewise.
29071 * math/w_acoshf_compat.c: Likewise.
29072 * math/w_acoshl_compat.c: Likewise.
29073 * math/w_acosl_compat.c: Likewise.
29074 * math/w_asin_compat.c: Likewise.
29075 * math/w_asinf_compat.c: Likewise.
29076 * math/w_asinl_compat.c: Likewise.
29077 * math/w_atan2_compat.c: Likewise.
29078 * math/w_atan2f_compat.c: Likewise.
29079 * math/w_atan2l_compat.c: Likewise.
29080 * math/w_atanh_compat.c: Likewise.
29081 * math/w_atanhf_compat.c: Likewise.
29082 * math/w_atanhl_compat.c: Likewise.
29083 * math/w_cosh_compat.c: Likewise.
29084 * math/w_coshf_compat.c: Likewise.
29085 * math/w_coshl_compat.c: Likewise.
29086 * math/w_exp10_compat.c: Likewise.
29087 * math/w_exp10f_compat.c: Likewise.
29088 * math/w_exp10l_compat.c: Likewise.
29089 * math/w_exp2_compat.c: Likewise.
29090 * math/w_exp2f_compat.c: Likewise.
29091 * math/w_exp2l_compat.c: Likewise.
29092 * math/w_fmod_compat.c: Likewise.
29093 * math/w_fmodf_compat.c: Likewise.
29094 * math/w_fmodl_compat.c: Likewise.
29095 * math/w_hypot_compat.c: Likewise.
29096 * math/w_hypotf_compat.c: Likewise.
29097 * math/w_hypotl_compat.c: Likewise.
29098 * math/w_j0_compat.c: Likewise.
29099 * math/w_j0f_compat.c: Likewise.
29100 * math/w_j0l_compat.c: Likewise.
29101 * math/w_j1_compat.c: Likewise.
29102 * math/w_j1f_compat.c: Likewise.
29103 * math/w_j1l_compat.c: Likewise.
29104 * math/w_jn_compat.c: Likewise.
29105 * math/w_jnf_compat.c: Likewise.
29106 * math/w_jnl_compat.c: Likewise.
29107 * math/w_lgamma_r_compat.c: Likewise.
29108 * math/w_lgammaf_r_compat.c: Likewise.
29109 * math/w_lgammal_r_compat.c: Likewise.
29110 * math/w_log10_compat.c: Likewise.
29111 * math/w_log10f_compat.c: Likewise.
29112 * math/w_log10l_compat.c: Likewise.
29113 * math/w_log2_compat.c: Likewise.
29114 * math/w_log2f_compat.c: Likewise.
29115 * math/w_log2l_compat.c: Likewise.
29116 * math/w_log_compat.c: Likewise.
29117 * math/w_logf_compat.c: Likewise.
29118 * math/w_logl_compat.c: Likewise.
29119 * math/w_pow_compat.c: Likewise.
29120 * math/w_powf_compat.c: Likewise.
29121 * math/w_powl_compat.c: Likewise.
29122 * math/w_remainder_compat.c: Likewise.
29123 * math/w_remainderf_compat.c: Likewise.
29124 * math/w_remainderl_compat.c: Likewise.
29125 * math/w_sinh_compat.c: Likewise.
29126 * math/w_sinhf_compat.c: Likewise.
29127 * math/w_sinhl_compat.c: Likewise.
29128 * math/w_sqrt_compat.c: Likewise.
29129 * math/w_sqrtf_compat.c: Likewise.
29130 * math/w_sqrtl_compat.c: Likewise.
29131 * math/w_tgamma_compat.c: Likewise.
29132 * math/w_tgammaf_compat.c: Likewise.
29133 * math/w_tgammal_compat.c: Likewise.
29134 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
29135 [LIBM_SVID_COMPAT].
29136 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
29137 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
29138 [LIBM_SVID_COMPAT].
29139 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
29140 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
29141 [LIBM_SVID_COMPAT].
29142 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
29143 * sysdeps/i386/fpu/w_sqrt.c: New file.
29144 * sysdeps/ia64/fpu/w_acos.c: Likewise.
29145 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
29146 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
29147 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
29148 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
29149 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
29150 * sysdeps/ia64/fpu/w_asin.c: Likewise.
29151 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
29152 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
29153 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
29154 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
29155 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
29156 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
29157 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
29158 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
29159 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
29160 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
29161 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
29162 * sysdeps/ia64/fpu/w_exp.c: Likewise.
29163 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
29164 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
29165 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
29166 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
29167 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
29168 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
29169 * sysdeps/ia64/fpu/w_expf.c: Likewise.
29170 * sysdeps/ia64/fpu/w_expl.c: Likewise.
29171 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
29172 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
29173 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
29174 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
29175 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
29176 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
29177 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
29178 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
29179 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
29180 * sysdeps/ia64/fpu/w_log.c: Likewise.
29181 * sysdeps/ia64/fpu/w_log10.c: Likewise.
29182 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
29183 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
29184 * sysdeps/ia64/fpu/w_log2.c: Likewise.
29185 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
29186 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
29187 * sysdeps/ia64/fpu/w_logf.c: Likewise.
29188 * sysdeps/ia64/fpu/w_logl.c: Likewise.
29189 * sysdeps/ia64/fpu/w_pow.c: Likewise.
29190 * sysdeps/ia64/fpu/w_powf.c: Likewise.
29191 * sysdeps/ia64/fpu/w_powl.c: Likewise.
29192 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
29193 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
29194 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
29195 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
29196 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
29197 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
29198 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
29199 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
29200 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
29201 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
29202 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
29203 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
29204 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
29205 [LIBM_SVID_COMPAT].
29206 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
29207 * sysdeps/ieee754/k_standard.c: Likewise.
29208 * sysdeps/ieee754/k_standardf.c: Likewise.
29209 * sysdeps/ieee754/k_standardl.c: Likewise.
29210 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
29211 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
29212 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
29213 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
29214 long_double_symbol call on [LIBM_SVID_COMPAT].
29215 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
29216 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
29217 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
29218 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
29219 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
29220 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
29221 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
29222 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
29223 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
29224 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
29225 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
29226 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
29227 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
29228 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
29229 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
29230 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
29231 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
29232 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
29233 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
29234 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
29235 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
29236 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
29238 2017-09-05 Steve Ellcey <sellcey@cavium.com>
29240 * include/shlib-compat.h (TEST_COMPAT): New Macro.
29241 * malloc/tst-mallocstate.c: Convert from test-skeleton
29242 to test-driver. Ifdef code using TEST_COMPAT macro.
29243 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
29244 * math/test-matherr.c: Likewise.
29246 2017-09-05 Joseph Myers <joseph@codesourcery.com>
29249 * debug/pcprofiledump.c (main): Use byte-swapped mask when
29250 comparing word with byte-swapped constant.
29252 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
29255 * locale/iso-639.def: add Miskito.
29256 * localedata/SUPPORTED: Add miq_NI/UTF-8.
29257 * localedata/locales/miq_NI: New file.
29259 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
29262 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
29263 (__mkdir): Likewise.
29264 * io/chmod.c (__chmod): Add libc_hidden_def.
29265 * io/mkdir.c (__mkdir): Likewise.
29266 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
29267 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
29268 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
29269 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
29271 2017-09-04 Joseph Myers <joseph@codesourcery.com>
29273 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
29277 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
29278 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
29280 2017-09-04 Florian Weimer <fweimer@redhat.com>
29282 * math/math.h: Issue warning if log is defined.
29284 2017-09-04 Joseph Myers <joseph@codesourcery.com>
29286 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
29287 kernel version to 4.13.
29289 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
29291 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
29292 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
29294 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
29295 just <bits/types.h>.
29296 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
29297 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
29298 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
29299 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
29300 * misc/preadv2.c: Include <errno.h>.
29301 * misc/preadv64v2.c: Include <errno.h>.
29302 * misc/pwritev2.c: Include <errno.h>.
29303 * misc/pwritev64v2.c: Include <errno.h>.
29304 * sysdeps/posix/preadv2.c: Include <errno.h>.
29305 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
29306 Fix <unistd.h> inclusion.
29307 * sysdeps/posix/pwritev2.c: Include <errno.h>.
29308 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
29309 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
29310 __strtoul_internal): New functions.
29311 * sysdeps/posix/pause.c: Include <sigsetops.h>.
29312 * sysdeps/posix/system.c: Include <sigsetops.h>.
29313 * sysdeps/mach/hurd/i386/Makefile
29314 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
29315 [$(subdir) = csu] (sysdep-only-routines): Likewise.
29316 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
29317 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
29318 __feraiseexcept_renamed to feraiseexcept instead of
29319 __GI_feraiseexcept.
29320 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
29321 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
29322 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
29323 RWF_NOWAIT): Define to 0 if undefined already.
29324 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
29326 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
29327 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
29329 2017-09-01 Joseph Myers <joseph@codesourcery.com>
29331 * manual/math.texi (pow10): Do not document.
29332 (pow10f): Likewise.
29333 (pow10l): Likewise.
29334 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
29335 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
29336 * math/libm-test-exp10.inc (pow10_test): Remove.
29337 (do_test): Do not call pow10.
29338 * math/w_exp10_compat.c (pow10): Make into compat symbol.
29339 [NO_LONG_DOUBLE] (pow10l): Likewise.
29340 * math/w_exp10f_compat.c (pow10f): Likewise.
29341 * math/w_exp10l_compat.c (pow10l): Likewise.
29342 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
29343 (pow10): Make into compat symbol.
29344 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
29345 (pow10f): Make into compat symbol.
29346 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
29347 (pow10l): Make into compat symbol.
29348 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
29350 (CFLAGS-nldbl-pow10.c): Remove variable..
29351 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
29352 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
29353 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
29354 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
29355 Undefine and redefine.
29356 (pow10l): Make into compat symbol.
29357 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
29358 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
29359 * sysdeps/arm/libm-test-ulps: Likewise.
29360 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
29361 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
29362 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29363 * sysdeps/microblaze/libm-test-ulps: Likewise.
29364 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
29365 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29366 * sysdeps/nios2/libm-test-ulps: Likewise.
29367 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29368 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
29369 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29370 * sysdeps/sh/libm-test-ulps: Likewise.
29371 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29372 * sysdeps/tile/libm-test-ulps: Likewise.
29373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29375 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29377 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
29379 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29381 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
29382 "../ChangeLog.old/ChangeLog.8".
29383 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
29384 "../ChangeLog.old/ChangeLog.14".
29386 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29388 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
29391 2017-09-01 Joseph Myers <joseph@codesourcery.com>
29393 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
29395 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29397 * csu/version.c (banner): Remove "by Roland McGrath et al.".
29398 * nptl/Banner: Remove "by Ulrich Drepper et al.".
29400 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29402 * stdlib/tst-atexit-common.c (do_test): Test support for at least
29403 32 atexit handlers.
29405 2017-09-01 Zack Weinberg <zackw@panix.com>
29407 * math/math.h (HUGE_VAL): Improve commentary.
29409 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29410 Andreas Schwab <schwab@suse.de>
29413 * include/stdio.h (__gen_tempfd): New function.
29414 * stdio-common/Makefile (routines): Add gentempfd.
29415 * stdio-common/gentempfd.c: New file.
29416 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
29417 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
29418 unnamed file first.
29420 2017-09-01 Florian Weimer <fweimer@redhat.com>
29424 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
29425 result to determine success or failure, not the errno value.
29426 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
29427 (tst-nss-files-hosts-erange): Link with -ldl.
29428 * nss/tst-nss-files-hosts-erange.c: New file.
29429 * nss/tst-resolv-basic.c (response): Handle nodata.example.
29430 (do_test): Add NO_DATA tests.
29431 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
29432 (do_test): Call it.
29434 2017-09-01 Florian Weimer <fweimer@redhat.com>
29437 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
29438 coming from gethostbyname2_r.
29440 2017-09-01 Florian Weimer <fweimer@redhat.com>
29442 * support/namespace.h (struct support_chroot_configuration): Add
29444 (struct support_chroot): Add path_hosts, path_host_conf.
29445 * support/support_chroot.c (write_file): New function.
29446 (support_chroot_create): Call it to process /etc/resolv.conf,
29447 /etc/hosts, /etc/host.conf.
29448 (support_chroot_free): Update.
29450 2017-09-01 Florian Weimer <fweimer@redhat.com>
29452 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
29453 status indicates it is set.
29455 2017-09-01 Florian Weimer <fweimer@redhat.com>
29458 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
29459 function lookup failures more reliable.
29461 2017-09-01 Florian Weimer <fweimer@redhat.com>
29463 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
29464 (getcanonname): Likewise.
29465 (gaih_inet): Likewise.
29467 2017-09-01 Florian Weimer <fweimer@redhat.com>
29469 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
29470 (getcanonname): Likewise.
29471 (gaih_inet): Likewise.
29473 2017-08-31 Steve Ellcey <sellcey@cavium.com>
29474 Richard Henderson <rth@twiddle.net>
29476 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
29477 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
29478 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
29479 (IREG_SIZE, OREG_SIZE): New macros.
29480 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
29481 (IREG_SIZE, OREG_SIZE): New macros.
29482 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
29483 (IREG_SIZE): New macro.
29484 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
29485 (IREG_SIZE): New macro.
29486 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
29488 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
29489 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29490 (__CONCATX): Handle exceptions correctly on large values that may
29492 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
29493 Initialize if not already set.
29494 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29496 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29498 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
29499 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
29501 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
29503 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
29505 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
29507 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
29509 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
29511 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
29513 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
29514 (NO_CANCELLATION): Likewise.
29515 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
29517 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
29519 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
29521 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
29522 (NO_CANCELLATION): Likewise.
29523 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
29524 (NO_CANCELLATION): Likewise.
29525 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
29527 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
29529 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
29531 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
29533 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
29535 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
29536 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
29538 2017-08-31 Steve Ellcey <sellcey@cavium.com>
29540 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
29543 2017-08-31 Florian Weimer <fweimer@redhat.com>
29545 * include/libc-symbols.h (internal_function): Remove.
29547 2017-08-31 Florian Weimer <fweimer@redhat.com>
29549 * stdlib/fmtmsg.c (internal_addseverity): Remove
29552 2017-08-31 Florian Weimer <fweimer@redhat.com>
29554 * stdio-common/printf_fp.c (group_number): Remove
29556 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
29558 2017-08-31 Florian Weimer <fweimer@redhat.com>
29560 * posix/fnmatch.c (internal_function): Remove definition.
29561 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
29562 * posix/regcomp.c (peek_token, init_word_char)
29563 (duplicate_node_closure, fetch_token, peek_token)
29564 (peek_token_bracket, build_range_exp, build_collating_symbol):
29566 * posix/regex_internal.c (re_string_construct_common)
29567 (create_ci_newstate, create_cd_newstate, re_string_allocate)
29568 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
29569 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
29570 (re_string_translate_buffer, re_string_reconstruct)
29571 (re_string_peek_byte_case, re_string_fetch_byte_case)
29572 (re_string_destruct, re_string_context_at, re_node_set_alloc)
29573 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
29574 (re_node_set_add_intersect, re_node_set_init_union)
29575 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
29576 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
29577 (re_dfa_add_node, calc_state_hash, re_acquire_state)
29578 (re_acquire_state_context): Likewise.
29579 * posix/regex_internal.h (internal_function): Remove definition.
29580 (re_string_realloc_buffers, build_wcs_buffer)
29581 (build_wcs_upper_buffer, build_upper_buffer)
29582 (re_string_translate_buffer, re_string_context_at)
29583 (re_string_char_size_at, re_string_wchar_at)
29584 (re_string_elem_size_at): Likewise.
29585 * posix/regexec.c (match_ctx_init, match_ctx_clean)
29586 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
29587 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
29588 (re_search_internal, re_search_2_stub, re_search_stub)
29589 (re_copy_regs, prune_impossible_nodes, check_matching)
29590 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
29591 (free_fail_stack_return, sift_states_iter_mb)
29592 (sift_states_backward, build_sifted_states)
29593 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
29594 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
29595 (check_subexp_limits, sift_states_bkref, merge_state_array)
29596 (find_recover_state, transit_state, merge_state_with_log)
29597 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
29598 (transit_state_mb, transit_state_bkref, get_subexp)
29599 (get_subexp_sub, find_subexp_node, check_arrival)
29600 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
29601 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
29602 (check_node_accept_bytes, find_collation_sequence_value)
29603 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
29604 (acquire_init_state_context, check_halt_node_context)
29605 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
29606 (sub_epsilon_src_nodes): Likewise.
29607 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
29608 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
29609 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
29610 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
29611 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
29612 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
29613 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
29614 * sysdeps/posix/ttyname.c (getttyname): Likewise.
29615 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
29616 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
29617 (PREADV): Likewise.
29618 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
29619 (PREADV): Likewise.
29620 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
29621 (PWRITEV): Likewise.
29622 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
29623 (PWRITEV): Likewise.
29624 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
29625 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
29627 2017-08-31 Florian Weimer <fweimer@redhat.com>
29629 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
29630 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
29631 Remove internal_function.
29632 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
29633 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
29634 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
29635 (__deallocate_stack, __libc_pthread_init)
29636 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
29637 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
29638 (__libc_disable_asynccancel, __librt_disable_asynccancel):
29640 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
29641 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
29642 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
29644 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
29645 (__pthread_mutex_unlock_usercnt): Likewise.
29647 2017-08-31 Florian Weimer <fweimer@redhat.com>
29649 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
29650 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
29651 (fts_safe_changedir): Remove internal_function.
29652 * io/ftw.c (internal_function): Remove definition.
29653 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
29655 2017-08-31 Florian Weimer <fweimer@redhat.com>
29657 * inet/deadline.c (__deadline_current_time)
29658 (__deadline_from_timeval, __deadline_to_ms): Remove
29660 * inet/getnameinfo.c (nrl_domainname): Likewise.
29661 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
29662 * inet/inet6_option.c (add_pad): Likewise.
29663 * inet/net-internal.h (__deadline_current_time)
29664 (__deadline_from_timeval, __deadline_to_ms): Likewise.
29665 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
29666 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
29667 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
29669 2017-08-31 Joseph Myers <joseph@codesourcery.com>
29671 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
29672 include <bits/nan.h>.
29673 * math/Makefile (headers): Remove bits/nan.h.
29674 * bits/nan.h: Remove.
29675 * sysdeps/ieee754/bits/nan.h: Likewise.
29676 * sysdeps/mips/bits/nan.h: Likewise.
29678 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
29679 not include <bits/inf.h>.
29680 * math/Makefile (headers): Remove bits/inf.h.
29681 * bits/inf.h: Remove.
29682 * sysdeps/ieee754/bits/inf.h: Likewise.
29684 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
29685 bits/huge_vall.h or bits/huge_val_flt128.h.
29686 (HUGE_VAL): Define directly here.
29687 [__USE_ISOC99] (HUGE_VALF): Likewise.
29688 [__USE_ISOC99] (HUGE_VALL): Likewise.
29689 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29690 (HUGE_VAL_F128): Likewise.
29691 * math/Makefile (headers): Remove bits/huge_val.h,
29692 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
29693 * bits/huge_val.h: Remove.
29694 * bits/huge_val_flt128.h: Likewise.
29695 * bits/huge_valf.h: Likewise.
29696 * bits/huge_vall.h: Likewise.
29697 * sysdeps/ia64/bits/huge_vall.h: Likewise.
29698 * sysdeps/ieee754/bits/huge_val.h: Likewise.
29699 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
29700 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
29701 * sysdeps/sh/bits/huge_val.h: Likewise.
29702 * sysdeps/sparc/bits/huge_vall.h: Likewise.
29703 * sysdeps/x86/bits/huge_vall.h: Likewise.
29705 2017-08-31 Florian Weimer <fweimer@redhat.com>
29707 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
29709 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
29711 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
29712 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
29713 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
29714 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
29715 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29716 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
29717 * elf/dl-libc.c (dlerror_run): Likewise.
29718 * elf/dl-load.c (add_name_to_object, decompose_rpath)
29719 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
29720 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
29721 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
29723 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
29724 (_dl_higher_prime_number, _dl_strtoul): Likewise.
29725 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
29726 * elf/dl-profile.c (_dl_start_profile): Likewise.
29727 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
29728 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
29730 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
29731 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
29732 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
29733 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
29734 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
29735 (_dl_allocate_tls_storage): Likewise.
29736 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
29737 (_dl_check_all_versions): Likewise.
29738 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29739 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
29740 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
29741 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29742 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
29743 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
29744 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
29745 internal_function from __dl_start.
29746 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
29747 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29748 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
29749 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
29750 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
29751 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
29752 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
29753 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
29754 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
29755 (_dl_next_ld_env_entry, _dl_important_hwcaps)
29756 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
29757 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
29758 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
29759 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
29760 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
29762 (struct rtld_global_ro): Remove internal_function from the
29763 _dl_lookup_symbol_x member.
29764 (_dl_symbol_value): Remove. No longer defined anywhere.
29765 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
29767 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29768 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
29769 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
29770 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
29771 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
29772 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
29773 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
29774 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
29775 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
29776 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29777 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29778 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
29780 2017-08-31 Florian Weimer <fweimer@redhat.com>
29782 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
29783 Remove internal_function.
29784 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29786 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29789 2017-08-31 Florian Weimer <fweimer@redhat.com>
29791 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
29792 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
29793 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
29795 2017-08-31 Florian Weimer <fweimer@redhat.com>
29797 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
29798 (__gai_enqueue_request): Remove internal_function.
29799 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
29800 (__gai_remove_request, __gai_notify, __gai_notify_only)
29801 (__gai_sigqueue): Likewise.
29802 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
29803 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
29804 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
29805 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29808 2017-08-31 Florian Weimer <fweimer@redhat.com>
29810 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
29811 * include/dirent.h (__opendirat, __getdents, __getdents64)
29812 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
29813 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
29814 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29815 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29817 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
29819 2017-08-31 Florian Weimer <fweimer@redhat.com>
29821 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
29823 (GETCWD_RETURN_TYPE): Likewise.
29825 2017-08-31 Florian Weimer <fweimer@redhat.com>
29827 * include/time.h (__tz_compute, __strptime_internal): Remove
29829 * time/strptime_l.c (__strptime_internal): Likewise.
29830 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
29832 2017-08-31 Florian Weimer <fweimer@redhat.com>
29834 * iconv/gconv.c (__gconv): Remove internal_function.
29835 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
29836 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
29837 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
29838 (__gconv_release_cache): Likewise.
29839 * iconv/gconv_close.c (__gconv_close): Likewise.
29840 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
29841 (read_conf_file, __gconv_get_path): Likewise.
29842 * iconv/gconv_db.c (derivation_lookup, add_derivation)
29843 (__gconv_release_step, gen_steps, increment_counter)
29844 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
29845 (__gconv_close_transform, free_modules_db): Likewise.
29846 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
29848 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
29849 (__gconv_find_transform, __gconv_lookup_cache)
29850 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
29851 (__gconv_close_transform, __gconv_release_cache)
29852 (__gconv_loaded_object, __gconv_release_shlib)
29853 (__gconv_compare_alias): Likewise.
29854 * iconv/gconv_open.c (__gconv_open): Likewise.
29855 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
29856 * iconv/iconvconfig.c (add_module): Likewise.
29857 * intl/dcigettext.c (plural_lookup, guess_category_value)
29858 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
29859 * intl/eval-plural.h (plural_eval): Likewise.
29860 * intl/finddomain.c (_nl_find_domain): Likewise.
29861 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
29862 (_nl_load_domain, _nl_find_msg): Likewise.
29863 (internal_function): Remove definition.
29864 * intl/loadinfo.h (internal_function): Likewise.
29865 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
29867 * intl/localealias.c (internal_function): Remove definition.
29868 (read_alias_file): Remove internal_function.
29869 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
29870 * intl/plural-exp.h (internal_function): Remove definition.
29871 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
29873 * intl/plural.c: Regenerate.
29874 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
29875 * locale/coll-lookup.c (__collidx_table_lookup)
29876 (__collseq_table_lookup): Likewise.
29877 * locale/coll-lookup.h (__collidx_table_lookup)
29878 (__collseq_table_lookup): Likewise.
29879 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
29880 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29881 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
29882 (_nl_unload_locale): Likewise.
29883 * locale/localeinfo.h (struct __locale_data): Remove
29884 internal_function from cleanup member.
29885 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
29886 (_nl_remove_locale, _nl_load_locale_from_archive)
29887 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
29888 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
29889 (_nl_cleanup_time): Remove internal_function.
29890 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
29891 (_nl_parse_alt_digit): Likewise.
29892 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
29893 (_nl_select_era_entry): Likewise.
29894 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
29895 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29896 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
29897 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29898 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
29900 2017-08-31 Florian Weimer <fweimer@redhat.com>
29902 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
29903 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
29904 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
29905 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
29907 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
29908 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
29909 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
29910 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
29912 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
29914 2017-08-31 Florian Weimer <fweimer@redhat.com>
29916 * misc/getttyent.c (skip, value): Remove internal_function.
29917 * misc/syslog.c (openlog_internal): Likewise.
29918 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
29920 2017-08-31 Florian Weimer <fweimer@redhat.com>
29922 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
29923 (__nss_rewrite_field): Remove internal_function.
29924 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29925 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
29926 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
29927 * nss/nsswitch.c (nss_parse_file, nss_getline)
29928 (nss_parse_service_list, nss_new_service): Likewise.
29929 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
29930 * nss/valid_field.c (__nss_valid_field): Likewise.
29931 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
29933 2017-08-31 Florian Weimer <fweimer@redhat.com>
29935 * malloc/arena.c (__malloc_fork_lock_parent)
29936 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
29937 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
29938 internal_function from defintions.
29939 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
29940 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
29941 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
29942 internal_function from declarations.
29943 * malloc/malloc.c (internal_function): Do not define.
29944 (mem2mem_check): Remove internal_function from declaration.
29945 (munmap_chunk, mremap_chunk): Remove internal_function.
29946 * malloc/mtrace.c (tr_where): Likewise.
29948 2017-08-31 Florian Weimer <fweimer@redhat.com>
29950 * include/rpc/pmap_clnt.h (__get_socket): Remove
29952 * sunrpc/auth_des.c (synchronize): Likewise.
29953 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
29954 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
29955 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
29956 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
29957 (key_call): Likewise.
29958 * sunrpc/pm_getport.c (__get_socket): Likewise.
29959 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
29960 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
29961 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
29962 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
29963 (invalidate): Likewise.
29964 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
29965 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
29966 (set_input_fragment, get_input_bytes): Likewise.
29968 2017-08-31 Florian Weimer <fweimer@redhat.com>
29970 * malloc/malloc.c (_int_free): Remove locked variable and related
29973 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
29976 * Makerules (build-module-helper-objlist): Filter out
29977 $(elf-objpfx)sofini.os.
29978 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
29981 2017-08-31 Florian Weimer <fweimer@redhat.com>
29983 * libio/fcloseall.c: Assume weak_alias is defined.
29984 * libio/feof.c: Likewise.
29985 * libio/fileno.c: Likewise.
29986 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
29987 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
29989 (_IO_file_open): Call __open directly.
29990 (_IO_new_file_sync): Assume ESPIPE is defined.
29991 (_IO_file_seekoff_maybe_mmap): Call __read directly.
29992 (_IO_new_file_write): Call __write directly.
29993 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
29994 * libio/ftello64.c (__ftello64): Assume EIO is defined.
29995 * libio/genops.c: Assume _LIBC is defined.
29996 (save_for_backup): Remove internal_function.
29997 * libio/getc.c: Assume weak_alias is defined.
29998 * libio/getwc.c: Likewise.
29999 * libio/iofclose.c: Assume _LIBC is defined.
30000 * libio/iofdopen.c: Likewise.
30001 (_IO_fcntl): Remove macro definition.
30002 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
30003 Call __fcntl directly.
30004 * libio/iofflush.c: Assume weak_alias is defined.
30005 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
30007 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
30008 * libio/iofgets.c: Likewise.
30009 * libio/iofopen.c: Assume _LIBC is defined.
30010 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
30011 * libio/iofputs.c: Assume weak_alias is defined.
30012 * libio/iofread.c: Likewise.
30013 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
30014 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
30015 * libio/ioftell.c: Assume weak_alias is defined.
30016 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
30017 * libio/iofwide.c: Assume _LIBC is defined.
30018 (_IO_fwide): Drop SHARED conditional because it is implied by
30020 * libio/iofwrite.c: Assume weak_alias is defined.
30021 * libio/iogetdelim.c: Likewise.
30022 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
30023 * libio/iogetwline.c (wmemcpy): Remove macro definition.
30024 (_IO_getwline): Call __wmemcpy directly.
30025 * libio/iopopen.c: Assume _LIBC is defined.
30026 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30027 (_IO_close): Remove macro definitions.
30028 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
30030 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
30032 * libio/ioputs.c: Assume weak_alias is defined.
30033 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
30034 * libio/iosetbuffer.c: Assume weak_alias is defined.
30035 * libio/iosetvbuf.c: Likewise.
30036 * libio/ioungetc.c: Likewise.
30037 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
30038 libc_hidden_def, libc_hidden_weak, NULL are defined.
30039 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
30040 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
30042 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
30044 (_IO_old_file_init_internal): Drop SHARED conditional because it
30045 is implied by SHLIB_COMPAT.
30046 (_IO_old_file_fopen): Call __open directly.
30047 (_IO_old_file_sync): Assume ESPIPE is defined.
30048 (_IO_old_file_write): Call __write directly.
30049 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
30050 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
30051 Call __fcntl directly.
30052 * libio/oldiofgetpos.c: Assume weak_alias is defined.
30053 (_IO_old_fgetpos): Assume EIO is defined.
30054 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
30055 (_IO_old_fgetpos64): Assume EIO is defined.
30056 * libio/oldiofsetpos.c: Assume weak_alias is defined.
30057 (_IO_old_fsetpos): Assume EIO is defined.
30058 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
30059 (_IO_old_fsetpos64): Assume EIO is defined.
30060 * libio/oldiopopen.c: Assume _LIBC is defined.
30061 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30062 (_IO_close): Remove macro definitions.
30063 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
30065 (_IO_old_proc_close): Call __close, __waitpid directly.
30066 * libio/put.c: Assume weak_alias is defined.
30067 * libio/stdfiles.c: Assume _LIBC is defined.
30068 * libio/stdio.c: Likewise.
30069 * libio/wfileops.c: Likewise.
30070 (_IO_wfile_sync): Assume ESPIPE is defined.
30071 * libio/wgenops.c: Assume _LIBC is defined.
30072 (save_for_wbackup): Remove internal_function.
30074 2017-08-31 Florian Weimer <fweimer@redhat.com>
30076 * malloc/malloc.c (top_check): Change return type to void. Remove
30078 * malloc/hooks.c (top_check): Likewise.
30079 (malloc_check, realloc_check, memalign_check): Adjust.
30081 2017-08-30 Joseph Myers <joseph@codesourcery.com>
30084 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30085 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
30086 sigcontext and namespace requirements.
30087 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30088 * sysdeps/m68k/sys/ucontext.h: Likewise.
30089 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
30090 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
30091 <bits/sigcontext.h>.
30092 (__ctx): Define earlier.
30093 (mcontext_t): Define structure contents rather than using struct
30095 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
30096 __glibc_reserved1 instead of __reserved.
30097 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
30098 <bits/sigcontext.h>.
30099 (__ctx): Define earlier.
30100 (mcontext_t): Define structure contents rather than using struct
30102 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
30103 mcontext_t instead of struct sigcontext.
30104 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
30105 <bits/sigcontext.h>.
30106 (__ctx): Define earlier.
30107 (mcontext_t): Define structure contents rather than using struct
30109 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
30110 <bits/sigcontext.h>.
30111 (__ctx): Define earlier.
30112 (mcontext_t): Define structure contents rather than using struct
30114 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
30115 mcontext_t instead of struct sigcontext.
30116 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
30117 mcontext_t instead of struct sigcontext.
30118 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
30119 <bits/sigcontext.h>.
30120 (__ctx): New macro.
30121 (struct __ia64_fpreg_mcontext): New type.
30122 (mcontext_t): Define structure contents rather than using struct
30124 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
30125 (uc_sigmask): Define using __ctx.
30126 (uc_stack): Likewise.
30127 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
30128 <bits/sigcontext.h>.
30129 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30130 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
30131 <bits/sigcontext.h>.
30132 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
30133 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
30134 <bits/sigcontext.h>.
30135 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
30136 <bits/sigcontext.h>.
30137 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
30138 <bits/sigcontext.h>.
30139 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
30140 <bits/sigcontext.h>.
30141 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
30142 <bits/sigcontext.h>.
30143 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
30144 <bits/sigcontext.h>.
30145 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
30146 <bits/sigcontext.h>.
30147 (__ctx): Define earlier.
30148 (mcontext_t): Define structure contents rather than using struct
30150 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
30151 <bits/sigcontext.h>. Include <bits/types.h>.
30152 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
30153 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
30154 (test-xfail-XPG42/ucontext.h/conform): Likewise.
30155 (test-xfail-UNIX98/signal.h/conform): Likewise.
30156 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
30157 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
30158 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
30159 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
30160 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
30161 (test-xfail-POSIX2008/signal.h/conform): Likewise.
30162 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
30163 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
30164 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
30166 2017-08-30 Florian Weimer <fweimer@redhat.com>
30168 * malloc/dynarray_emplace_enlarge.c
30169 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
30170 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
30171 * malloc/tst-dynarray.c (test_long_overflow): New function.
30172 (do_test): Call it.
30174 2017-08-30 Florian Weimer <fweimer@redhat.com>
30176 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
30177 (set_arena_corrupt): Remove definitions.
30178 (mtrim): Do not check for corrupt arena.
30179 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
30182 2017-08-30 Florian Weimer <fweimer@redhat.com>
30185 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
30187 (ptmalloc_init): Do not set or use check_action.
30188 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
30189 call to malloc_printerr. Remove return statement.
30190 (free_check): Likewise. Remove arena unlock.
30191 (top_check): Update comment. Adjust call to malloc_printerr.
30192 Remove heap repair code.
30193 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
30194 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
30195 (sysmalloc): Adjust call to malloc_printerr.
30196 (munmap_chunk, __libc_realloc): Likewise. Remove return
30198 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
30199 Remove errout label and corresponding gotos.
30200 (_int_free): Likewise. Remove arena unlock.
30201 (do_set_mallopt_check): Do not set check_action.
30202 (malloc_printerr): Adjust parameter list. Do not mark arena as
30204 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
30206 * manual/probes.texi (Memory Allocation Probes): Remove
30207 memory_mallopt_check_action.
30209 2017-08-30 Steve Ellcey <sellcey@cavium.com>
30211 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
30212 Use pointer to uint64_t instead of long int for sp.
30214 2017-08-30 Florian Weimer <fweimer@redhat.com>
30217 * malloc/malloc.c (malloc_printerr): Always terminate the process,
30218 without printing a backtrace. Do not leak any information in the
30220 * manual/memory.texi (Heap Consistency Checking): Update.
30221 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
30223 2017-08-30 Florian Weimer <fweimer@redhat.com>
30225 Do not scale NPTL tests with available number of CPUs.
30226 * nptl/tst-cond16.c (count): Set to constant value of 8.
30227 * nptl/tst-cond18.c (count): Likewise.
30229 2017-08-29 Joseph Myers <joseph@codesourcery.com>
30232 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
30233 Define to take a second argument that is a macro that
30234 concatentates a suffix, not the suffix itself.
30235 (__CONCAT_d): New macro.
30236 (__CONCAT_f): Likewise.
30237 (__CONCAT_l): Likewise.
30239 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
30241 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
30244 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30245 Aurelien Jarno <aurelien@aurel32.net>
30246 Maciej W. Rozycki <macro@imgtec.com>
30249 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
30250 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
30251 `mips16-syscall6' and `mips16-syscall7'.
30252 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
30253 (CFLAGS-mips16-syscall7.c): Remove.
30254 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
30255 Remove `__mips16_syscall5', `__mips16_syscall6' and
30256 `__mips16_syscall7'.
30257 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
30258 (__mips16_syscall0): Rename `__mips16_syscall_return' to
30259 `__mips_syscall_return'.
30260 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
30261 (__mips16_syscall1): Likewise.
30262 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
30263 (__mips16_syscall2): Likewise.
30264 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
30265 (__mips16_syscall3): Likewise.
30266 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
30267 (__mips16_syscall4): Likewise.
30268 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
30270 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
30272 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
30274 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
30275 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
30276 `__mips16_syscall5'. Remove prototype.
30277 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
30278 `__mips16_syscall6'. Remove prototype.
30279 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
30280 `__mips16_syscall7'. Remove prototype.
30281 (__nomips16, __mips16_syscall_return): Move to...
30282 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
30283 (__nomips16, __mips_syscall_return): ... here.
30284 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
30285 `__mips16_syscall_return' to `__mips_syscall_return'.
30286 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
30287 `internal_syscall##nr'.
30288 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
30289 `internal_syscall##nr'.
30290 (FORCE_FRAME_POINTER): Remove.
30291 (__mips_syscall5): New prototype.
30292 (internal_syscall5): Rewrite to call `__mips_syscall5'.
30293 (__mips_syscall6): New prototype.
30294 (internal_syscall6): Rewrite to call `__mips_syscall6'.
30295 (__mips_syscall7): New prototype.
30296 (internal_syscall7): Rewrite to call `__mips_syscall7'.
30297 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
30298 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
30299 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
30300 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
30301 (sysdep_routines): Add libc-do-syscall.
30302 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
30303 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
30305 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30308 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
30309 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
30310 (advise_stack_range): New function.
30311 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
30312 stack non required to advise_stack_range at allocatestack.c
30314 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30316 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
30318 2017-08-29 Florian Weimer <fweimer@redhat.com>
30321 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
30322 __end_fct. Mangle __end_fct after setting it to NULL.
30323 * iconv/Makefile (tests): Add tst-gconv-init-failure.
30324 (modules-names, modules-names-tests): Add
30325 tst-gconv-init-failure-mod.
30326 (gconv-modules): New target.
30327 (tst-gconv-init-failure-mod.so): Link against libsupport.
30328 (tst-gconv-init-failure): Depend on gconv-modules,
30329 tst-gconv-init-failure-mod.so.
30330 * iconv/tst-gconv-init-failure-mod.c: New file.
30331 * iconv/tst-gconv-init-failure.c: Likewise.
30332 * iconv/test-gconv-modules: Likewise.
30334 2017-08-29 Florian Weimer <fweimer@redhat.com>
30337 * iconv/gconv_db.c (free_derivation): Remove redundant
30339 (gen_steps): Unconditionally mangle __btowc_fct after
30341 (increment_counter): Likewise. Do not call init_fct for internal
30344 2017-08-29 Joseph Myers <joseph@codesourcery.com>
30347 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30348 (_MSUF_): Remove macro.
30349 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
30351 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30352 (__REDIRFROM_X): New macro.
30353 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
30355 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
30356 (__REDIRTO_X): Likewise.
30357 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
30359 (__MATH_REDIRCALL_2): Likewise.
30360 (__MATH_REDIRCALL_INTERNAL): Likewise.
30361 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30362 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
30363 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
30364 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30365 * math/test-finite-macros.c: New file.
30366 * math/Makefile (tests): Add test-finite-macros.
30367 (CFLAGS-test-finite-macros.c): New variable.
30369 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
30370 Jeff Law <law@redhat.com>
30373 Mangle NULL pointers in iconv/gconv.
30374 * iconv/gconv_cache.c (find_module): Demangle init_fct before
30375 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
30376 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
30377 is non-NULL before demangling the end_fct. Check for NULL
30378 end_fct after demangling.
30379 (__gconv_release_step): Demangle the end_fct before checking
30380 it for NULL. Remove assert on __shlibc_handle != NULL.
30381 (gen_steps): Don't check btowc_fct for NULL before mangling.
30382 Demangle init_fct before checking for NULL.
30383 (increment_counter): Likewise.
30384 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
30385 end_fct for NULL before mangling.
30386 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
30389 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
30392 * locale/iso-639.def: add Morisyen.
30394 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30397 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
30398 (iszero): New C++ implementation that does not use
30399 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
30400 signaling nans are enabled, since __builtin_types_compatible_p
30401 is a C-only feature.
30402 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
30403 defined, include ieee754_float128.h for access to the union and
30404 member ieee854_float128.ieee.
30405 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
30406 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
30407 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30408 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
30409 options of test-math-zero on powerpc64le.
30411 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
30413 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
30414 Change double to float.
30416 2017-08-28 Joseph Myers <joseph@codesourcery.com>
30418 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
30420 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
30421 conditional code; define contents only for [LIBM_SVID_COMPAT].
30423 2017-08-28 Florian Weimer <fweimer@redhat.com>
30425 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
30426 (abi-lp64_be-options): Remove.
30427 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
30428 (abi-hard-options): Likewise.
30429 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
30430 (abi-o32_hard-options, abi-o32_soft_2008-options)
30431 (abi-o32_hard_2008-options, abi-n32_soft-options)
30432 (abi-n32_hard-options, abi-n32_soft_2008-options)
30433 (abi-n32_hard_2008-options, abi-n64_soft-options)
30434 (abi-n64_hard-options, abi-n64_soft_2008-options)
30435 (abi-n64_hard_2008-options): Likewise.
30436 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
30437 (abi-64-v1-options, abi-64-v2-options): Likewise.
30438 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
30439 (abi-64-options): Likewise.
30440 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
30441 (abi-64-options): Likewise.
30442 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
30443 (abi-64-options): Likewise.
30444 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
30445 (abi-64-options, abi-x32-options): Likewise.
30447 2017-08-28 Florian Weimer <fweimer@redhat.com>
30449 Store supported list of SYS_* system calls in the source tree.
30450 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
30451 (bits/syscall.h): Generate from list file.
30452 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
30453 [$(subdir) = misc] (tests): Add tst-syscall-list.
30454 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
30455 [$(subdir) = misc] (tst-syscall-list-macros.list)
30456 [$(subdir) = misc] (tst-syscall-list-nr.list)
30457 (tst-syscall-list-sys.list): Helper targets for new
30458 tst-syscall-list test.
30459 [$(subdir) = misc] (tst-syscall-list.out): Run test script
30460 tst-syscall-list.sh.
30461 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
30462 target. Do not include bits/syscall.d.
30463 [$(subdir) = misc] (generated): Do not update.
30464 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
30465 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
30466 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
30467 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
30469 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
30471 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
30472 (tst-cxa_atexit, tst-on_exit): Likewise.
30473 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
30474 tst-cxa_atexit, and tst-on_exit.
30475 * stdlib/tst-atexit-common.c: New file.
30476 * stdlib/tst-atexit.c: New file.
30477 * stdlib/tst-at_quick_exit.c: New file.
30478 * stdlib/tst-cxa_atexit.c: New file.
30479 * stdlib/tst-on_exit.c: New file.
30481 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
30483 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
30484 * mach/stack_chk_fail_local.c: New file.
30485 * hurd/stack_chk_fail_local.c: New file.
30486 * mach/Machrules ($(interface-library)-routines): Add
30487 stack_chk_fail_local.
30488 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
30489 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
30490 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
30491 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
30492 * hurd/Makefile (CFLAGS-hurdstartup.o,
30493 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
30495 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
30497 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
30498 (index_cpu_*, index_arch_*): Removed.
30500 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30502 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
30503 Use uint64_t instead of unsigned long.
30505 2017-08-25 Joseph Myers <joseph@codesourcery.com>
30507 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
30508 [__HAVE_DISTINCT_FLOAT128].
30510 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
30511 of <bits/math-finite.h>.
30512 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
30513 inclusion of <bits/math-finite.h>.
30514 * math/bits/math-finite.h (__REDIRTO_X): Do not define
30515 conditionally on [__MATH_DECLARING_LDOUBLE && defined
30516 __NO_LONG_DOUBLE_MATH].
30517 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
30518 (__MATH_REDIRCALL_2): Likewise.
30519 (__MATH_REDIRCALL_INTERNAL): Likewise.
30520 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30521 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
30522 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
30526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
30528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
30530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
30532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
30534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
30536 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30537 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30538 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
30539 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
30540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
30541 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
30542 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
30543 w_sqrtf_compat-ppc32.
30545 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30547 * math/math.h [defined __cplusplus] (issignaling): In the long
30548 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
30549 is not defined. Call __issignaling, otherwise.
30551 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30553 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
30554 syscall definitions and replace __builtin_expect with __glibc_likely.
30555 * sysdeps/unix/syscall-template.S: Update comment about cancellable
30557 (SYSCALL_CANCELLABLE): Removedefinition
30558 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
30560 (PSEUDO_END): Likewise.
30561 [IS_IN (libpthread)] (CENABLE): Likewise.
30562 [IS_IN (libpthread)] (CDISABLE): Likewise.
30563 [IS_IN (libc)] (CENABLE): Likewise.
30564 [IS_IN (libc)] (CENABLE): Likewise.
30565 [IS_IN (librt)] (CDISABLE): Likewise.
30566 [IS_IN (librt)] (CDISABLE): Likewise.
30567 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30568 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
30570 (PSEUDO_END): Likewise.
30571 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
30572 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
30573 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30574 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30575 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30576 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30577 (CENABLE): Likewise.
30578 (CDISABLE): Likewise.
30579 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30580 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
30582 (PSEUDO_END): Likewise.
30583 [IS_IN (libpthread)] (CENABLE): Likewise.
30584 [IS_IN (libpthread)] (CDISABLE): Likewise.
30585 [IS_IN (libc)] (CENABLE): Likewise.
30586 [IS_IN (libc)] (CENABLE): Likewise.
30587 [IS_IN (librt)] (CDISABLE): Likewise.
30588 [IS_IN (librt)] (CDISABLE): Likewise.
30589 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30590 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
30592 (PSEUDO_END): Likewise.
30593 [IS_IN (libpthread)] (CENABLE): Likewise.
30594 [IS_IN (libpthread)] (CDISABLE): Likewise.
30595 [IS_IN (libc)] (CENABLE): Likewise.
30596 [IS_IN (libc)] (CENABLE): Likewise.
30597 [IS_IN (librt)] (CDISABLE): Likewise.
30598 [IS_IN (librt)] (CDISABLE): Likewise.
30599 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30600 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
30602 (PSEUDO_END): Likewise.
30603 [IS_IN (libpthread)] (CENABLE): Likewise.
30604 [IS_IN (libpthread)] (CDISABLE): Likewise.
30605 [IS_IN (libc)] (CENABLE): Likewise.
30606 [IS_IN (libc)] (CENABLE): Likewise.
30607 [IS_IN (librt)] (CDISABLE): Likewise.
30608 [IS_IN (librt)] (CDISABLE): Likewise.
30609 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30610 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
30612 (PSEUDO_END): Likewise.
30613 [IS_IN (libpthread)] (CENABLE): Likewise.
30614 [IS_IN (libpthread)] (CDISABLE): Likewise.
30615 [IS_IN (libc)] (CENABLE): Likewise.
30616 [IS_IN (libc)] (CENABLE): Likewise.
30617 [IS_IN (librt)] (CDISABLE): Likewise.
30618 [IS_IN (librt)] (CDISABLE): Likewise.
30619 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30620 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
30622 (PSEUDO_END): Likewise.
30623 [IS_IN (libpthread)] (CENABLE): Likewise.
30624 [IS_IN (libpthread)] (CDISABLE): Likewise.
30625 [IS_IN (libc)] (CENABLE): Likewise.
30626 [IS_IN (libc)] (CENABLE): Likewise.
30627 [IS_IN (librt)] (CDISABLE): Likewise.
30628 [IS_IN (librt)] (CDISABLE): Likewise.
30629 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30630 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
30632 (PSEUDO_END): Likewise.
30633 [IS_IN (libpthread)] (CENABLE): Likewise.
30634 [IS_IN (libpthread)] (CDISABLE): Likewise.
30635 [IS_IN (libc)] (CENABLE): Likewise.
30636 [IS_IN (libc)] (CENABLE): Likewise.
30637 [IS_IN (librt)] (CDISABLE): Likewise.
30638 [IS_IN (librt)] (CDISABLE): Likewise.
30639 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30640 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
30642 (PSEUDO_END): Likewise.
30643 [IS_IN (libpthread)] (CENABLE): Likewise.
30644 [IS_IN (libpthread)] (CDISABLE): Likewise.
30645 [IS_IN (libc)] (CENABLE): Likewise.
30646 [IS_IN (libc)] (CENABLE): Likewise.
30647 [IS_IN (librt)] (CDISABLE): Likewise.
30648 [IS_IN (librt)] (CDISABLE): Likewise.
30649 (SINGLE_THREAD_P): Likewise.
30650 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
30652 (PSEUDO_END): Likewise.
30653 [IS_IN (libpthread)] (CENABLE): Likewise.
30654 [IS_IN (libpthread)] (CDISABLE): Likewise.
30655 [IS_IN (libc)] (CENABLE): Likewise.
30656 [IS_IN (libc)] (CENABLE): Likewise.
30657 [IS_IN (librt)] (CDISABLE): Likewise.
30658 [IS_IN (librt)] (CDISABLE): Likewise.
30659 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30660 * sysdeps/unix/sysv/linux/nios2/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/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
30671 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30672 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
30673 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
30675 (PSEUDO_END): Likewise.
30676 [IS_IN (libpthread)] (CENABLE): Likewise.
30677 [IS_IN (libpthread)] (CDISABLE): Likewise.
30678 [IS_IN (libc)] (CENABLE): Likewise.
30679 [IS_IN (libc)] (CENABLE): Likewise.
30680 [IS_IN (librt)] (CDISABLE): Likewise.
30681 [IS_IN (librt)] (CDISABLE): Likewise.
30682 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30683 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
30685 (PSEUDO_END): Likewise.
30686 [IS_IN (libpthread)] (CENABLE): Likewise.
30687 [IS_IN (libpthread)] (CDISABLE): Likewise.
30688 [IS_IN (libc)] (CENABLE): Likewise.
30689 [IS_IN (libc)] (CENABLE): Likewise.
30690 [IS_IN (librt)] (CDISABLE): Likewise.
30691 [IS_IN (librt)] (CDISABLE): Likewise.
30692 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30693 * sysdeps/unix/sysv/linux/sh/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/sparc/sparc32/sysdep-cancel.h: Remove file.
30704 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30705 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
30706 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
30708 (PSEUDO_END): Likewise.
30709 [IS_IN (libpthread)] (CENABLE): Likewise.
30710 [IS_IN (libpthread)] (CDISABLE): Likewise.
30711 [IS_IN (libc)] (CENABLE): Likewise.
30712 [IS_IN (libc)] (CENABLE): Likewise.
30713 [IS_IN (librt)] (CDISABLE): Likewise.
30714 [IS_IN (librt)] (CDISABLE): Likewise.
30715 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30716 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
30718 (PSEUDO_END): Likewise.
30719 [IS_IN (libpthread)] (CENABLE): Likewise.
30720 [IS_IN (libpthread)] (CDISABLE): Likewise.
30721 [IS_IN (libc)] (CENABLE): Likewise.
30722 [IS_IN (libc)] (CENABLE): Likewise.
30723 [IS_IN (librt)] (CDISABLE): Likewise.
30724 [IS_IN (librt)] (CDISABLE): Likewise.
30725 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30727 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
30729 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
30731 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30733 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30735 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30738 * string/stratcliff.c (do_test): Declare size, nchars, inner,
30739 middle and outer with size_t instead of int. Repleace %d and
30740 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
30741 "MAX (outer, nchars - 64)" to support unsigned outer and
30742 nchars. Also exit loop when outer == 0.
30744 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30746 * include/fcntl.h (__fcntl_nocancel): Remove definition.
30747 * include/signal.h (__sigsuspend_nocancel): Likewise.
30748 * include/time.h (__nanosleep_nocancel): Likewise.
30749 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
30750 * login/utmp_file.c: Include non cancellable syscall header.
30751 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
30754 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30756 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
30757 .byte sequences with AVX512F instructions.
30758 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
30759 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
30760 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
30761 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
30763 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
30766 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
30767 Steve Ellcey <sellcey@cavium.com>
30769 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
30770 Use PTR_REG macro in cmp instruction.
30772 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30774 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
30775 Change the return type of the ifunc resolver to match the return
30776 type of the target function.
30778 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30780 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
30781 (preadv64): Likewise.
30782 (pwrite64(: Likewise.
30783 (pwritev64): Likewise.
30785 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
30786 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
30787 (LOAD_ARGS_0): Likewise.
30788 (LOAD_ARGS_1): Likewise.
30789 (LOAD_ARGS_2): Likewise.
30790 (LOAD_ARGS_3): Likewise.
30791 (LOAD_ARGS_4): Likewise.
30792 (LOAD_ARGS_5): Likewise.
30793 (LOAD_ARGS_6): Likewise.
30794 (LOAD_REGS_0): Likewise.
30795 (LOAD_REGS_1): Likewise.
30796 (LOAD_REGS_2): Likewise.
30797 (LOAD_REGS_3): Likewise.
30798 (LOAD_REGS_4): Likewise.
30799 (LOAD_REGS_5): Likewise.
30800 (LOAD_REGS_6): Likewise.
30801 (ASM_ARGS_0): Likewise.
30802 (ASM_ARGS_1): Likewise.
30803 (ASM_ARGS_2): Likewise.
30804 (ASM_ARGS_3): Likewise.
30805 (ASM_ARGS_4): Likewise.
30806 (ASM_ARGS_5): Likewise.
30807 (ASM_ARGS_6): Likewise.
30808 (LOAD_ARGS_TYPES_1): Likewise.
30809 (LOAD_ARGS_TYPES_2): Likewise.
30810 (LOAD_ARGS_TYPES_3): Likewise.
30811 (LOAD_ARGS_TYPES_4): Likewise.
30812 (LOAD_ARGS_TYPES_5): Likewise.
30813 (LOAD_ARGS_TYPES_6): Likewise.
30814 (LOAD_REGS_TYPES_1): Likewise.
30815 (LOAD_REGS_TYPES_2): Likewise.
30816 (LOAD_REGS_TYPES_3): Likewise.
30817 (LOAD_REGS_TYPES_4): Likewise.
30818 (LOAD_REGS_TYPES_5): Likewise.
30819 (LOAD_REGS_TYPES_6): Likewise.
30820 (TYPEFY): New define.
30821 (ARGIFY): Likewise.
30822 (internal_syscall0): Likewise.
30823 (internal_syscall1): Likewise.
30824 (internal_syscall2): Likewise.
30825 (internal_syscall3): Likewise.
30826 (internal_syscall4): Likewise.
30827 (internal_syscall5): Likewise.
30828 (internal_syscall6): Likewise.
30829 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
30830 (INTERNAL_SYSCALL_NCS): Remove define.
30831 (internal_syscall1): Add define.
30833 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30835 * math/w_remainder_compat.c: Remove duplicate inclusion of
30836 math-svid-compat.h.
30837 * math/w_remainderf_compat.c: Likewise.
30838 * math/w_remainderl_compat.c: Likewise.
30840 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30842 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30844 2017-08-22 Joseph Myers <joseph@codesourcery.com>
30847 * math/tgmath.h (__floating_type): Simplify definitions.
30848 (__real_integer_type): New macro.
30849 (__complex_integer_type): Likewise.
30850 (__expr_is_real): Likewise.
30851 (__tgmath_real_type_sub): Update comment to describe handling of
30853 (__tgmath_complex_type_sub): New macro.
30854 (__tgmath_complex_type): Likewise.
30855 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30856 (__TGMATH_CF128): Use __expr_is_real.
30857 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
30859 (__TGMATH_BINARY_REAL_IMAG): Likewise.
30860 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
30861 * math/gen-tgmath-tests.py (Type.create_type): Create complex
30864 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30866 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
30868 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
30870 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
30873 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
30874 nanosleep_not_cancel with __nanosleep_nocancel.
30875 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
30876 (__nanosleep_nocancel): New macro.
30877 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
30879 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
30881 (__nanosleep_nocancel): New prototype.
30883 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
30884 pause_not_cancel with __pause_nocancel.
30885 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
30886 (__pause_nocancel): New macro.
30887 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
30889 (__pause_nocancel): New prototype.
30890 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
30892 2017-08-22 Martin Sebor <msebor@redhat.com>
30894 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
30895 to return a pointer to the same type as the target function.
30897 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30901 * include/printf.h (__printf_fphex): Add attribute_hidden.
30902 (__guess_grouping): New prototype.
30903 * stdio-common/printf_fp.c (__guess_grouping): Removed.
30904 * stdio-common/reg-printf.c (__register_printf_specifier): Add
30905 libc_hidden_proto and libc_hidden_def.
30906 * stdlib/strfmon_l.c (__guess_grouping): Removed.
30907 (__vstrfmon_l): Remove the third argument passed to
30910 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30912 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
30913 definition for issignaling that does not rely on __MATH_TG,
30914 since __MATH_TG uses __builtin_types_compatible_p, which is only
30915 available in C mode.
30916 (CFLAGS-test-math-issignaling.cc): New variable.
30917 * math/Makefile [CXX] (tests): Add test-math-issignaling.
30918 * math/test-math-issignaling.cc: New test for C++ implementation
30919 of type-generic issignaling.
30920 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30921 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
30922 options of test-math-issignaling on powerpc64le.
30924 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30926 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30928 (hidden_proto): Likewise.
30929 (hidden_tls_proto): Likewise.
30930 (__hidden_proto): Likewise.
30932 2017-08-22 Florian Weimer <fweimer@redhat.com>
30934 math: Statically link tests of internal functionality.
30935 * math/Makefile (tests): Remove atest-exp, atest-sincos,
30937 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
30938 (gmp-objs): Remove assignment.
30939 (atest-exp, atest-sincos, atest-exp2): Remove targets.
30941 2017-08-22 Joseph Myers <joseph@codesourcery.com>
30944 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
30946 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
30948 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
30951 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
30952 variable definitions above inclusion of ../Rules.
30954 2017-08-21 Joseph Myers <joseph@codesourcery.com>
30956 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
30957 case calling __builtin_unreachable.
30959 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30961 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
30962 __waitpid_nocancel.
30963 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
30964 (__waitpid_nocancel): New macro.
30965 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
30967 (__waitpid_nocancel): Replace macro with a function.
30968 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
30971 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
30973 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
30974 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
30976 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
30977 __writev_nocancel_nostatus.
30978 (write_call_graph): Likewise.
30979 (write_bb_counts): Likewise.
30980 * resolv/herror.c (herror): Likewise.
30981 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
30983 (__writev_nocancel_nostatus): New macro.
30984 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
30986 (__writev_nocancel_nostatus): New function.
30988 2017-08-21 Joseph Myers <joseph@codesourcery.com>
30991 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30993 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30995 (hidden_proto): Likewise.
30996 (hidden_tls_proto): Likewise.
30997 (__hidden_proto): Likewise.
31000 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
31001 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
31002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
31004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
31006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
31008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
31010 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
31011 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
31012 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
31013 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
31014 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
31015 GLIBC_2.0 sqrtl symbol.
31017 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
31018 [__USE_MISC] (_LIB_VERSION): Likewise.
31019 [__USE_MISC] (struct exception): Likewise.
31020 [__USE_MISC] (matherr): Likewise.
31021 [__USE_MISC] (DOMAIN): Likewise.
31022 [__USE_MISC] (SING): Likewise.
31023 [__USE_MISC] (OVERFLOW): Likewise.
31024 [__USE_MISC] (UNDERFLOW): Likewise.
31025 [__USE_MISC] (TLOSS): Likewise.
31026 [__USE_MISC] (PLOSS): Likewise.
31027 [__USE_MISC] (HUGE): Likewise.
31028 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
31029 * math/math-svid-compat.h: New file.
31030 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
31032 * include/math.h [!_ISOMAC] (__matherr): Remove.
31033 * manual/arith.texi (FP Exceptions): Do not document matherr.
31034 * math/Makefile (tests): Change test-matherr to test-matherr-3.
31035 (tests-internal): New variable.
31036 (install-lib): Do not add libieee.a.
31037 (non-lib.a): Likewise.
31038 (extra-objs): Do not add libieee.a and ieee-math.o.
31039 (CPPFLAGS-s_lib_version.c): Remove variable.
31040 ($(objpfx)libieee.a): Remove rule.
31041 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
31042 * math/ieee-math.c: Remove.
31043 * math/libm-test-support.c (matherr): Remove.
31044 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
31045 and license notices. Include <math-svid-compat.h> and
31047 (matherr): Undefine as macro. Use compat_symbol_reference.
31048 (_LIB_VERSION): Likewise.
31049 * math/test-matherr-2.c: New file.
31050 * math/test-matherr-3.c: Likewise.
31051 * sysdeps/generic/math_private.h (__kernel_standard): Remove
31053 (__kernel_standard_f): Likewise.
31054 (__kernel_standard_l): Likewise.
31055 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
31056 <math_private.h>. Include <math-svid-compat.h>.
31057 (_LIB_VERSION): Undefine as macro.
31058 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
31059 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
31060 [LIBM_SVID_COMPAT], use compat_symbol.
31061 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
31062 <math_private.h>. Include <math-svid-compat.h>.
31063 (matherr): Undefine as macro.
31064 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
31066 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
31067 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
31068 compat_symbol_reference.
31069 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
31070 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
31071 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
31072 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
31073 (MATHERR_D): Remove declaration.
31074 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
31075 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
31076 [LIBM_BUILD] (pmatherrf): Likewise.
31077 [LIBM_BUILD] (pmatherr): Likewise.
31078 [LIBM_BUILD] (pmatherrl): Likewise.
31079 (DOMAIN): Likewise.
31081 (OVERFLOW): Likewise.
31082 (UNDERFLOW): Likewise.
31085 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
31086 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
31088 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
31089 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
31091 * math/lgamma-compat.h: Include <math-svid-compat.h>.
31092 * math/w_acos_compat.c: Likewise.
31093 * math/w_acosf_compat.c: Likewise.
31094 * math/w_acosh_compat.c: Likewise.
31095 * math/w_acoshf_compat.c: Likewise.
31096 * math/w_acoshl_compat.c: Likewise.
31097 * math/w_acosl_compat.c: Likewise.
31098 * math/w_asin_compat.c: Likewise.
31099 * math/w_asinf_compat.c: Likewise.
31100 * math/w_asinl_compat.c: Likewise.
31101 * math/w_atan2_compat.c: Likewise.
31102 * math/w_atan2f_compat.c: Likewise.
31103 * math/w_atan2l_compat.c: Likewise.
31104 * math/w_atanh_compat.c: Likewise.
31105 * math/w_atanhf_compat.c: Likewise.
31106 * math/w_atanhl_compat.c: Likewise.
31107 * math/w_cosh_compat.c: Likewise.
31108 * math/w_coshf_compat.c: Likewise.
31109 * math/w_coshl_compat.c: Likewise.
31110 * math/w_exp10_compat.c: Likewise.
31111 * math/w_exp10f_compat.c: Likewise.
31112 * math/w_exp10l_compat.c: Likewise.
31113 * math/w_exp2_compat.c: Likewise.
31114 * math/w_exp2f_compat.c: Likewise.
31115 * math/w_exp2l_compat.c: Likewise.
31116 * math/w_fmod_compat.c: Likewise.
31117 * math/w_fmodf_compat.c: Likewise.
31118 * math/w_fmodl_compat.c: Likewise.
31119 * math/w_hypot_compat.c: Likewise.
31120 * math/w_hypotf_compat.c: Likewise.
31121 * math/w_hypotl_compat.c: Likewise.
31122 * math/w_j0_compat.c: Likewise.
31123 * math/w_j0f_compat.c: Likewise.
31124 * math/w_j0l_compat.c: Likewise.
31125 * math/w_j1_compat.c: Likewise.
31126 * math/w_j1f_compat.c: Likewise.
31127 * math/w_j1l_compat.c: Likewise.
31128 * math/w_jn_compat.c: Likewise.
31129 * math/w_jnf_compat.c: Likewise.
31130 * math/w_jnl_compat.c: Likewise.
31131 * math/w_lgamma_main.c: Likewise.
31132 * math/w_lgamma_r_compat.c: Likewise.
31133 * math/w_lgammaf_main.c: Likewise.
31134 * math/w_lgammaf_r_compat.c: Likewise.
31135 * math/w_lgammal_main.c: Likewise.
31136 * math/w_lgammal_r_compat.c: Likewise.
31137 * math/w_log10_compat.c: Likewise.
31138 * math/w_log10f_compat.c: Likewise.
31139 * math/w_log10l_compat.c: Likewise.
31140 * math/w_log2_compat.c: Likewise.
31141 * math/w_log2f_compat.c: Likewise.
31142 * math/w_log2l_compat.c: Likewise.
31143 * math/w_log_compat.c: Likewise.
31144 * math/w_logf_compat.c: Likewise.
31145 * math/w_logl_compat.c: Likewise.
31146 * math/w_pow_compat.c: Likewise.
31147 * math/w_powf_compat.c: Likewise.
31148 * math/w_powl_compat.c: Likewise.
31149 * math/w_remainder_compat.c: Likewise.
31150 * math/w_remainderf_compat.c: Likewise.
31151 * math/w_remainderl_compat.c: Likewise.
31152 * math/w_scalb_compat.c: Likewise.
31153 * math/w_scalbf_compat.c: Likewise.
31154 * math/w_scalbl_compat.c: Likewise.
31155 * math/w_sinh_compat.c: Likewise.
31156 * math/w_sinhf_compat.c: Likewise.
31157 * math/w_sinhl_compat.c: Likewise.
31158 * math/w_sqrt_compat.c: Likewise.
31159 * math/w_sqrtf_compat.c: Likewise.
31160 * math/w_sqrtl_compat.c: Likewise.
31161 * math/w_tgamma_compat.c: Likewise.
31162 * math/w_tgammaf_compat.c: Likewise.
31163 * math/w_tgammal_compat.c: Likewise.
31164 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
31165 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
31166 * sysdeps/ieee754/k_standard.c: Likewise.
31167 * sysdeps/ieee754/k_standardf.c: Likewise.
31168 * sysdeps/ieee754/k_standardl.c: Likewise.
31169 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
31170 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
31171 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
31172 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
31173 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
31174 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
31175 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
31176 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
31177 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
31178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
31180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
31182 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
31183 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
31184 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
31185 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
31187 2017-08-21 Florian Weimer <fweimer@redhat.com>
31190 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
31191 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
31192 Move before inclusion of ../Rules.
31194 2017-08-21 Florian Weimer <fweimer@redhat.com>
31197 * assert/assert.h (assert): Use static_cast (bool) for C++.
31198 Use the ternary operator in the warning branch for GNU C.
31199 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
31200 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
31201 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
31202 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
31203 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
31205 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31208 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31209 (__syscall_clock_gettime): Add attribute_hidden.
31210 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
31211 (__start_context): Likewise.
31213 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31215 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31217 (hidden_proto): Likewise.
31218 (hidden_tls_proto): Likewise.
31219 (__hidden_proto): Likewise.
31221 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31223 * include/libc-symbols.h (attribute_hidden): Enable hidden
31224 visibility in libc.a compiled with PIE.
31226 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31229 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
31230 Add attribute_hidden.
31232 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31235 * Makerules (all-nonlib): Add $(others-extras).
31236 * catgets/Makefile (others-extras): New.
31237 * elf/Makefile (others-extras): Likewise.
31238 * nss/Makefile (others-extras): Likewise.
31240 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31243 * csu/libc-start.c (__libc_multiple_libcs): Removed.
31244 * elf/dl-open.c: Include <libc-internal.h>.
31245 (__libc_multiple_libcs): Removed.
31246 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
31248 * include/libc-internal.h (__libc_multiple_libcs): New.
31249 * misc/sbrk.c: Include <libc-internal.h>.
31250 (__libc_multiple_libcs): Removed.
31252 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31255 * grp/initgroups.c (__nss_group_database): Removed.
31256 (__nss_initgroups_database): Likewise.
31257 * nscd/gai.c (__nss_hosts_database): Likewise.
31258 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
31259 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
31260 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
31261 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
31262 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
31263 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
31265 * nss/nsswitch.c (__nss_database_custom): Define only if
31266 USE_NSCD is defined.
31267 (__nss_configure_lookup): Use __nss_database_custom only if
31268 USE_NSCD is defined.
31269 * nss/nsswitch.h (__nss_database_custom): Declare only if
31270 USE_NSCD is defined. Add attribute_hidden.
31271 (__nss_setent): Add attribute_hidden.
31272 (__nss_endent): Likewise.
31273 (__nss_getent_r): Likewise.
31274 (__nss_getent): Likewise.
31275 (DEFINE_DATABASE): Declare __nss_##arg##_database.
31277 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31280 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
31281 libc_hidden_proto and libc_hidden_def.
31283 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31286 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
31287 Add libc_hidden_proto.
31288 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
31289 Add libc_hidden_def.
31291 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31294 * gmon/Makefile (routines): Remove bb_init_func and
31296 (elide-routines.os): Removed.
31297 * gmon/bb_exit_func.c: Likewise.
31298 * gmon/bb_init_func.c: Likewise.
31299 * include/sys/gmon.h (__bb): Likewise.
31300 (__bb_init_func): Likewise.
31301 (__bb_exit_func): Likewise.
31302 * sysdeps/alpha/bb_init_func.S: Likewise.
31304 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31306 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
31307 * include/setjmp.h (____longjmp_chk): Here. Add
31310 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
31313 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
31315 (__strspn_sse2): Likewise.
31317 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31319 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
31320 (close_not_cancel_no_status): Likewise.
31321 (__close_nocancel): New macro.
31322 (__close_nocancel_nostatus): Likewise.
31323 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
31325 (close_not_cancel): Likewise.
31326 (close_not_cancel_no_status): Likewise.
31327 (__close_nocancel): New prototype.
31328 (__close_nocancel_nostatus): New function.
31329 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
31330 * catgets/open_catalog.c (__open_catalog): Replace
31331 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
31332 * gmon/gmon.c (write_gmon): Likewise.
31333 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
31334 * intl/loadmsgcat.c (close): Likewise.
31335 * io/ftw.c (open_dir_stream): Likewise.
31336 (ftw_startup): Likewise.
31337 * libio/fileops.c (_IO_file_open): Likewise.
31338 (_IO_file_close_mmap): Likewise.
31339 (_IO_file_close): Likewise.
31340 * libio/iopopen.c (_IO_dup2): Likewise.
31341 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31342 * locale/loadlocale.c (_nl_load_locale): Likewise.
31343 * login/utmp_file.c (pututline_file): Likewise.
31344 (endutent_file): Likewise.
31345 * misc/daemon.c (daemon): Likewise.
31346 * nscd/nscd_getai.c (__nscd_getai): Likewise.
31347 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31348 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31349 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31350 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31351 * nscd/nscd_helper.c (open_socket): Likewise.
31352 (__nscd_open_socket): Likewise.
31353 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
31354 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
31355 (__nscd_innetgr): Likewise.
31356 * nss/nss_db/db-open.c (internal_setent): Likewise.
31357 * resolv/res-close.c (__res_iclose): Likewise.
31358 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
31359 * sysdeps/posix/closedir.c (__closedir): Likewise.
31360 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
31361 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31362 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31363 (opendir_tail): Likewise.
31364 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31365 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
31366 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
31367 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31368 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31369 (gethostid): Likewise.
31370 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31371 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31373 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31374 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
31375 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31376 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31378 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
31379 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
31380 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31382 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
31383 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31385 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31387 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31388 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31389 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31392 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
31393 (openat_not_cancel_3): Likewise.
31394 (openat64_not_cancel_3): Likewise).
31395 (openat_not_cancel_3): Likewise).
31396 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
31398 (openat_not_cancel_3): Likewise.
31399 (openat64_not_cancel): Likewise.
31400 (openat64_not_cancel_3): Likewise.
31401 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
31402 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
31403 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
31404 __open{64}_nocancel.
31405 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31406 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31407 * sysdeps/posix/opendir.c (__opendirat): Likewise.
31409 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31412 * include/argz.h (__argz_create_sep): New function prototype.
31413 (__argz_append): Likewise.
31414 (__argz_add): Likewise.
31415 (__argz_add_sep): Likewise.
31416 (__argz_delete): Likewise.
31417 (__argz_insert): Likewise.
31418 (__argz_replace): Likewise.
31419 * string/argz.h (__argz_create_sep): Removed.
31420 (__argz_append): Likewise.
31421 (__argz_add): Likewise.
31422 (__argz_add_sep): Likewise.
31423 (__argz_delete): Likewise.
31424 (__argz_insert): Likewise.
31425 (__argz_replace): Likewise.
31427 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31429 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
31430 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
31431 (GNU_PROPERTY_STACK_SIZE): Likewie.
31432 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
31433 (GNU_PROPERTY_LOPROC): Likewise.
31434 (GNU_PROPERTY_HIPROC): Likewise.
31435 (GNU_PROPERTY_LOUSER): Likewise.
31436 (GNU_PROPERTY_HIUSER): Likewise.
31437 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
31438 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
31439 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
31440 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
31441 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
31442 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
31443 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
31444 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
31445 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
31446 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
31447 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
31448 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
31449 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
31450 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
31451 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
31452 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
31453 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
31454 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
31455 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
31456 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
31457 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
31458 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
31459 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
31461 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31463 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
31466 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31469 * math/math.h (isinf): Check if in C or C++ mode before using
31470 __builtin_types_compatible_p, since this is a C mode feature.
31472 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31474 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
31475 (__write_nocancel): New macro.
31476 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
31477 Rewrite as a function prototype.
31478 (write_not_cancel): Remove macro.
31479 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
31480 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
31481 (write_gmon): Likewise.
31482 * libio/fileops.c (_IO_new_file_write): Likewise.
31483 * login/utmp_file.c (pututline_file): Likewise.
31484 (updwtmp_file): Likewise.
31485 * stdio-common/psiginfo.c (psiginfo): Likewise.
31486 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31487 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31488 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31490 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31493 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
31494 (__read_nocancel): New macro.
31495 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31497 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
31499 (__read_nocancel): New prototype.
31500 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
31501 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
31502 with __read_nocancel.
31503 * intl/loadmsgcat.c (read): Likewise.
31504 * libio/fileops.c (_IO_file_read): Likewise.
31505 * locale/loadlocale.c (_nl_load_locale): Likewise.
31506 * login/utmp_file.c (getutent_r_file): Likewise.
31507 (internal_getut_r): Likewise.
31508 (getutline_r_file): Likewise.
31509 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31510 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31511 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31512 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31514 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
31515 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31516 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31518 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31520 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31522 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31524 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31526 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31529 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
31530 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
31533 2017-08-17 DJ Delorie <dj@redhat.com>
31535 * bug17079.c: Update to new test harness.
31536 * test-digits-dots.c: Likewise.
31537 * test-netdb.c: Likewise.
31538 * tst-field.c: Likewise.
31539 * tst-nss-getpwent.c: Likewise.
31540 * tst-nss-static.c: Likewise.
31541 * tst-nss-test1.c: Likewise.
31542 * tst-nss-test2.c: Likewise.
31543 * tst-nss-test3.c: Likewise.
31544 * tst-nss-test4.c: Likewise.
31545 * tst-nss-test5.c: Likewise.
31547 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31549 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
31550 (open_not_cancel_2): Likewise.
31551 (open_nocancel): New macro.
31552 (open64_nocancel): Likewise.
31553 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
31554 (open_not_cancel_2): Likewise.
31555 (__open_nocancel): New prototype.
31556 (__open64_nocancel): Likewise.
31557 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31559 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
31560 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
31561 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
31562 with __open_nocancel.
31563 * csu/check_fds.c (check_one_fd): Likewise.
31564 * gmon/gmon.c (write_gmon): Likewise.
31565 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
31566 * intl/loadmsgcat.c (open): Likewise.
31567 * libio/fileops.c (_IO_file_open): Likewise.
31568 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31569 * locale/loadlocale.c (_nl_load_locale): Likewise.
31570 * login/utmp_file.c (setutent_file): Likewise.
31571 * misc/daemon.c (daemon): Likewise.
31572 * nss/nss_db/db-open.c (internal_setent): Likewise.
31573 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31574 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
31575 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31576 (__opendir): Likewise.
31577 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31578 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31579 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31580 (gethostid): Likewise.
31581 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31582 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31584 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31585 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
31586 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31587 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31589 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31591 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31593 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
31595 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31597 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31599 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31600 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31602 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
31604 * benchtests/bench-skeleton.c (main): Add support for
31605 latency benchmarking.
31606 * benchtests/scripts/bench.py: Add support for latency benchmarking.
31608 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
31610 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
31611 the startup object.
31613 2017-08-17 Florian Weimer <fweimer@redhat.com>
31615 * include/sys/socket.h (__opensock): Remove internal_function.
31616 * socket/opensock.c (__opensock): Likewise.
31617 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
31619 2017-08-16 Joseph Myers <joseph@codesourcery.com>
31622 * signal/bits/types/__sigval_t.h: New file.
31623 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
31624 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
31625 and define sigval_t using __sigval_t.
31626 * include/bits/types/__sigval_t.h: New file.
31627 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
31628 instead of <bits/types/__sigval_t.h>.
31629 (struct sigevent): Use __sigval_t instead of sigval_t.
31630 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
31631 instead of <bits/types/__sigval_t.h>.
31632 (siginfo_t): Use __sigval_t instead of sigval_t.
31633 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
31634 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31635 (struct sigevent): Use __sigval_t instead of sigval_t.
31636 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
31637 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31638 (siginfo_t): Use __sigval_t instead of sigval_t.
31639 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
31641 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31643 * NEWS: Remove "[Add new features here]" for 2.27.
31645 2017-08-16 Joseph Myers <joseph@codesourcery.com>
31647 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
31650 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31652 * NEWS: Mention x86-64 FMA optimization.
31654 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31657 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31659 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
31660 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
31661 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
31663 2017-08-16 Andreas Schwab <schwab@suse.de>
31667 * elf/ldd.bash.in: Never run file directly.
31669 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
31672 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
31673 (L(SP_INF_0)): Likewise.
31675 2017-08-15 Florian Weimer <fweimer@redhat.com>
31677 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
31680 2017-08-15 Florian Weimer <fweimer@redhat.com>
31682 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
31683 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
31684 BROKEN_THREAD_SIGNALS code.
31685 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
31686 request_list): Remove caller_pid member used for
31687 BROKEN_THREAD_SIGNALS.
31688 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
31689 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31690 Remove BROKEN_THREAD_SIGNALS support.
31691 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
31692 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
31694 2017-08-15 Florian Weimer <fweimer@redhat.com>
31696 * gmon/Makefile (tests): Add tst-gmon.
31697 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
31699 (tests-special): Add tst-gmon-prof.out.
31700 (tst-gmon.out): Depend on clean-tst-gmon-data.
31701 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
31702 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
31703 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
31705 * aclocal.m4 (GPROF): Set and substitute.
31706 * config.amke.in (GPROF): Set.
31707 * configure: Regenerate.
31709 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
31711 * elf/elf.h A (NT_PPC_TAR): New macro.
31712 (NT_PPC_PPR): Likewise.
31713 (NT_PPC_DSCR): Likewise.
31714 (NT_PPC_EBB): Likewise.
31715 (NT_PPC_PMU): Likewise.
31716 (NT_PPC_TM_CGPR): Likewise.
31717 (NT_PPC_TM_CFPR): Likewise.
31718 (NT_PPC_TM_CVMX): Likewise.
31719 (NT_PPC_TM_CVSX): Likewise.
31720 (NT_PPC_TM_SPR): Likewise.
31721 (NT_PPC_TM_CTAR): Likewise.
31722 (NT_PPC_TM_CPPR): Likewise.
31723 (NT_PPC_TM_CDSCR): Likewise.
31725 2017-08-15 Florian Weimer <fweimer@redhat.com>
31727 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
31728 regparm (2) instead of internal_function.
31729 (_MCOUNT_DECL): Adjust.
31731 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
31733 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
31734 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
31736 2017-08-14 Joseph Myers <joseph@codesourcery.com>
31738 * conform/data/sys/wait.h-data (si_value): Do not expect for
31741 2017-08-14 Florian Weimer <fweimer@redhat.com>
31744 NSS: Create stubs for accidentally exported lookup functions.
31745 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
31746 Remove declaration.
31747 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
31748 (ether_hostton): Call __nss_ethers_lookup2 instead.
31749 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
31750 (ether_ntohost): Call __nss_ethers_lookup2 instead.
31751 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
31752 (setup): Call __nss_netgroup_lookup2 instead.
31753 * nss/Makefile (routines): Add compat-lookup.
31754 * nss/Versions (GLIBC_2.27): Add symbol version.
31755 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
31756 (DB_COMPAT_FCT): Remove.
31757 * nss/compat-lookup.c: New file.
31758 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
31759 from databases.def.
31760 * nss/service-lookup.c (NO_COMPAT): Remove definition.
31761 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
31762 (netname2user): Call __nss_publickey_lookup2 instead.
31763 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
31764 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
31767 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31768 Sergei Trofimovich <slyfox@inbox.ru>
31771 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
31772 Rename to MMAP2_PAGE_UNIT.
31773 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
31774 __OFF_T_MATCHES_OFF64_T is not defined.
31775 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
31777 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
31778 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
31780 2017-08-14 Florian Weimer <fweimer@redhat.com>
31782 i386: Do not set internal_function.
31783 * config.h.in (USE_REGPARMS, internal_function): Remove.
31784 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
31785 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
31787 2017-08-14 Florian Weimer <fweimer@redhat.com>
31789 * elf/dl-init.c (_dl_init): Remove internal_function.
31790 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
31791 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
31793 2017-08-14 Florian Weimer <fweimer@redhat.com>
31795 * elf/rtld.c (_dl_start): Remove internal_function.
31796 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
31799 2017-08-14 Florian Weimer <fweimer@redhat.com>
31801 * elf/dl-fini.c (_dl_fini): Remove internal_function
31802 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
31804 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
31806 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
31807 (bit_cpu_SHSTK): Likewise.
31808 (index_cpu_IBT): Likewise.
31809 (index_cpu_SHSTK): Likewise.
31810 (reg_IBT): Likewise.
31811 (reg_SHSTK): Likewise.
31812 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
31813 Handle index_cpu_IBT and index_cpu_SHSTK.
31815 2017-08-14 Mike FABIAN <mfabian@redhat.com>
31818 * po/fr.po: Fix spelling mistake.
31820 2017-08-13 Florian Weimer <fweimer@redhat.com>
31822 * elf/dl-addr.c (_dl_addr): Remove internal_function.
31823 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
31824 (_dl_catch_error, _dl_receive_error): Likewise.
31825 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
31826 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
31827 (_dl_deallocate_tls): Likewise.
31828 * include/dlfcn.h (_dl_addr): Likewise.
31829 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
31830 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
31831 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
31834 2017-08-13 Florian Weimer <fweimer@redhat.com>
31836 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
31837 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
31839 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
31841 2017-08-13 Florian Weimer <fweimer@redhat.com>
31843 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
31845 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
31846 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
31847 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
31848 internal_function from _dl_make_stack_executable_hook member.
31849 (_dl_make_stack_executable): Remove internal_function.
31850 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
31852 * sysdeps/unix/sysv/linux/dl-execstack.c
31853 (_dl_make_stack_executable): Likewise.
31855 2017-08-13 Florian Weimer <fweimer@redhat.com>
31857 * sysdeps/unix/sysv/linux/netlinkaccess.h
31858 (__netlink_assert_response): Remove internal_function.
31859 * sysdeps/unix/sysv/linux/netlink_assert_response.c
31860 (__netlink_assert_response): Likewise.
31862 2017-08-13 Florian Weimer <fweimer@redhat.com>
31864 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
31866 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
31868 2017-08-13 Florian Weimer <fweimer@redhat.com>
31870 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
31872 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
31873 * inet/netgroup.h (__internal_setnetgrent)
31874 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31875 * inet/getnetgrent_r.c (__internal_setnetgrent)
31876 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31877 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
31878 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
31879 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
31880 * nss/nsswitch.h (db_lookup_function): Likewise.
31882 2017-08-13 Florian Weimer <fweimer@redhat.com>
31884 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
31885 Remove internal_function.
31886 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
31887 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
31888 message argument on the stack.
31889 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
31892 2017-08-12 Mike FABIAN <mfabian@redhat.com>
31894 Adapt test case data to the changes in the thousands
31898 * localedata/tst-langinfo.sh: Adapt test case data.
31899 * stdlib/tst-strfmon_l.c: Likewise.
31900 * stdlib/tst-strtod4.c: Likewise.
31901 * stdlib/tst-strtod5i.c: Likewise.
31903 2017-08-11 Florian Weimer <fweimer@redhat.com>
31906 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
31907 Suppress pedantic warning resulting from statement expression.
31908 (__ASSERT_FUNCTION): Add missing __extension__.
31910 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
31912 * benchtests/bench-memmove-large.c: Print output in JSON
31914 * benchtests/bench-memmove.c: Likewise.
31916 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
31917 * benchtests/bench-memchr.c (do_one_test): Likewise.
31918 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
31919 * benchtests/bench-memcpy.c (do_one_test): Likewise.
31920 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
31921 * benchtests/bench-memmove.c (do_one_test): Likewise.
31922 * benchtests/bench-memset-large.c (do_one_test): Likewise.
31923 * benchtests/bench-memset.c (do_one_test): Likewise.
31924 * benchtests/bench-string.h (test_init): Remove memsets.
31926 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
31929 (Computing the Width of an Integer Data Type): Rename section to
31930 "Width of an Integer Type". Remove inaccurate statement regarding
31931 lack of C language facilities for determining width of integer
31932 types, and reorder content to improve flow and context of
31935 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
31937 * lang.texi (va_copy): Change standard from ISO to C99.
31938 (__va_copy): Add standard and header annotation.
31939 Update description for clarity of origins and current use.
31941 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31944 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
31945 xssqrtqp requires operands to be in Vector Registers
31946 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
31947 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
31948 (__ieee754_sqrtf128): Likewise.
31950 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
31952 * sysdeps/aarch64/memcmp.S (memcmp):
31953 Rewrite of optimized memcmp.
31955 2017-08-10 Florian Weimer <fweimer@redhat.com>
31957 Introduce ld.so exceptions.
31958 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
31959 (_dl_exception_create, _dl_exception_create_format)
31960 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
31961 (_dl_catch_exception): Declare.
31962 (_dl_catch_error): Update comment.
31963 * elf/dl-error-skeleton.c (struct catch): Replace objname,
31964 errstring, malloced members with exception member.
31965 (_dl_out_of_memory): Remove.
31966 (fatal_error): New function, extracted from _dl_signal_error.
31967 (_dl_signal_exception, _dl_signal_cexception): New functions.
31968 (_dl_signal_error): Call _dl_exception_create to allocate an
31970 (_dl_catch_exception): New function, based on _dl_catch_error.
31971 (_dl_catch_error): Implement using _dl_catch_exception.
31972 * elf/dl-exception.c: New file.
31973 * elf/Makefile (dl-routines): Add dl-exception.
31974 (elide-routines.os): Likewise.
31975 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
31976 _dl_exception_create_format, _dl_exception_free.
31977 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
31978 _dl_signal_exception.
31979 * elf/dl-lookup.c (make_string): Remove.
31980 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
31981 _dl_signal_cexception, _dl_exception_free.
31982 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
31983 _dl_signal_exception.
31984 * elf/dl-sym.c (do_sym): Likewise.
31985 * elf/dl-version.c (make_string): Remove.
31986 (match_symbol): Use _dl_exception_create_format,
31987 _dl_signal_cexception, _dl_exception_free.
31988 (_dl_check_map_versions): Likewise.
31989 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
31990 _dl_catch_exception.
31991 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
31992 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
31993 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
31994 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
31995 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
31996 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
31997 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
31998 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
32000 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
32001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
32003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
32005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
32007 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
32008 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
32009 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
32011 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
32013 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
32015 2017-08-10 Florian Weimer <fweimer@redhat.com>
32017 * inet/net-internal.h (__inet6_scopeid_pton): Remove
32018 attribute_hidden, internal_function.
32019 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
32022 2017-08-10 Florian Weimer <fweimer@redhat.com>
32024 * malloc/malloc.c (get_max_fast): Reimplement as an inline
32025 function which calls __builtin_unreachable.
32027 2017-08-10 Mike FABIAN <mfabian@redhat.com>
32029 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
32030 Indian monetary formatting
32031 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
32034 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
32036 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
32037 Fix typo in comment.
32040 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
32041 PTRACE_SEIZE_DEVEL): Remove.
32042 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
32043 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32044 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32045 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32046 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32048 2017-08-09 Joseph Myers <joseph@codesourcery.com>
32050 * posix/bits/types.h (__qaddr_t): Remove.
32053 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
32054 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32056 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
32057 (ucontext_t): Use __ctx with uc_flags.
32058 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
32059 (__ctxt): Likewise.
32060 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32062 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
32063 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32065 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
32066 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32068 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
32070 (ucontext_t): Use __ctx with uc_flags.
32071 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
32072 (ucontext_t): Use __ctx with uc_flags.
32073 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
32074 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
32075 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
32076 (ucontext_t): Use __ctx with uc_flags.
32077 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
32078 undefine further down.
32079 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32081 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
32082 undefine further down.
32083 (ucontext_t): Use __ctx with uc_flags.
32084 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
32085 undefine further down.
32086 (ucontext_t): Use __ctx with uc_flags.
32087 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
32088 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
32089 Rename uc_pad to __glibc_reserved1.
32090 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
32091 undefine further down.
32092 (ucontext_t): Use __ctx with uc_flags.
32093 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
32095 (ucontext_t): Use __ctx with uc_flags.
32096 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
32097 __ctx with uc_flags.
32098 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
32099 (ucontext_t): Use __ctx with uc_flags.
32100 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
32101 __ctx with uc_flags.
32103 2017-08-09 Florian Weimer <fweimer@redhat.com>
32106 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
32107 before early return.
32109 2017-08-09 Andreas Schwab <schwab@suse.de>
32112 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
32116 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
32117 tst-compat-forwarder.
32118 (modules-names): Add tst-compat-forwarder-mod.
32119 ($(objpfx)tst-compat-forwarder): Depend on
32120 $(objpfx)tst-compat-forwarder-mod.so.
32121 * nptl/tst-compat-forwarder.c: New file.
32122 * nptl/tst-compat-forwarder-mod.c: New file.
32124 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
32126 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
32129 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
32130 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
32132 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
32134 (__libc_ifunc_impl_list): Add __memcpy_falkor.
32135 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
32136 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
32137 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
32139 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
32142 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32145 * manual/setjmp.texi (getcontex): Document uc_stack value
32146 compatibility differences.
32148 2017-08-08 Joseph Myers <joseph@codesourcery.com>
32150 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
32151 (old_malloc_hook): Likewise.
32152 (old_memalign_hook): Likewise.
32153 (old_realloc_hook): Likewise.
32154 (struct hdr): Likewise.
32156 (freehook): Likewise.
32157 (mallochook): Likewise.
32158 (memalignhook): Likewise.
32159 (reallochook): Likewise.
32160 (mprobe): Likewise.
32161 * malloc/mtrace.c (mallwatch): Likewise.
32162 (tr_old_free_hook): Likewise.
32163 (tr_old_malloc_hook): Likewise.
32164 (tr_old_realloc_hook): Likewise.
32165 (tr_old_memalign_hook): Likewise.
32166 (tr_where): Likewise.
32167 (lock_and_info): Likewise.
32168 (tr_freehook): Likewise.
32169 (tr_mallochook): Likewise.
32170 (tr_reallochook): Likewise.
32171 (tr_memalignhook): Likewise.
32172 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
32173 * misc/mmap.c (__mmap): Likewise.
32174 * misc/mmap64.c (__mmap64): Likewise.
32175 * misc/mprotect.c (__mprotect): Likewise.
32176 * misc/msync.c (msync): Likewise.
32177 * misc/munmap.c (__munmap): Likewise.
32178 * posix/posix_madvise.c (posix_madvise): Likewise.
32179 * socket/send.c (__send): Likewise.
32180 * socket/sendto.c (__sendto): Likewise.
32181 * socket/setsockopt.c (__setsockopt): Likewise.
32182 * string/memcmp.c (__ptr_t): Remove macro.
32183 (MEMCMP): Use void * instead of ptr_t.
32184 * string/memrchr.c (__ptr_t): Remove macro.
32185 (__memrchr): Use void * instead of ptr_t.
32186 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
32187 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
32188 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
32189 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
32190 * sysdeps/mach/msync.c (msync): Likewise.
32191 * sysdeps/mach/munmap.c (__munmap): Likewise.
32192 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
32194 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32195 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
32196 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
32197 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
32198 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
32199 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
32200 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
32201 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
32203 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
32204 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
32205 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
32206 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
32207 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
32208 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
32209 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
32210 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
32211 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
32213 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
32214 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
32215 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
32216 (MEMCMP): Use void * instead of ptr_t.
32217 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
32218 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
32220 2017-08-08 Florian Weimer <fweimer@redhat.com>
32222 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
32225 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
32228 * csu/libc-tls.c: Include <startup.h> first.
32229 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
32230 * elf/dl-tunables.c: Include <startup.h> first.
32231 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
32232 * sysdeps/generic/startup.h: New file.
32233 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
32234 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
32235 (I386_USE_SYSENTER): New. Defined to 0.
32237 2017-08-08 Andreas Schwab <schwab@suse.de>
32240 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
32241 * nptl/pt-system.c (system): Likewise.
32243 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32246 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
32248 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
32249 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
32250 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
32251 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
32252 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
32253 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
32254 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
32256 2017-08-07 Joseph Myers <joseph@codesourcery.com>
32259 * bits/sigaction.h (struct sigaction): Define sa_handler and
32260 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
32261 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32262 [__USE_XOPEN_EXTENDED].
32263 (SA_RESTART): Likewise.
32264 (SA_NODEFER): Likewise.
32265 (SA_RESETHAND): Likewise.
32266 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
32267 (struct sigaction): Define sa_handler and sa_sigaction using union
32268 also for [__USE_XOPEN_EXTENDED].
32269 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32270 [__USE_XOPEN_EXTENDED].
32271 (SA_RESTART): Likewise.
32272 (SA_NODEFER): Likewise.
32273 (SA_RESETHAND): Likewise.
32274 * sysdeps/unix/sysv/linux/bits/sigaction.h
32275 (struct sigaction): Define sa_handler and sa_sigaction using union
32276 also for [__USE_XOPEN_EXTENDED].
32277 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32278 [__USE_XOPEN_EXTENDED].
32279 (SA_RESTART): Likewise.
32280 (SA_NODEFER): Likewise.
32281 (SA_RESETHAND): Likewise.
32282 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
32283 (struct sigaction): Define sa_handler and sa_sigaction using union
32284 also for [__USE_XOPEN_EXTENDED].
32285 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32286 [__USE_XOPEN_EXTENDED].
32287 (SA_RESTART): Likewise.
32288 (SA_NODEFER): Likewise.
32289 (SA_RESETHAND): Likewise.
32290 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
32291 (struct sigaction): Define sa_handler and sa_sigaction using union
32292 also for [__USE_XOPEN_EXTENDED].
32293 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32294 [__USE_XOPEN_EXTENDED].
32295 (SA_RESTART): Likewise.
32296 (SA_NODEFER): Likewise.
32297 (SA_RESETHAND): Likewise.
32298 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
32299 (struct sigaction): Define sa_handler and sa_sigaction using union
32300 also for [__USE_XOPEN_EXTENDED].
32301 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32302 [__USE_XOPEN_EXTENDED].
32303 (SA_RESTART): Likewise.
32304 (SA_NODEFER): Likewise.
32305 (SA_RESETHAND): Likewise.
32306 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
32307 (struct sigaction): Define sa_handler and sa_sigaction using union
32308 also for [__USE_XOPEN_EXTENDED].
32309 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32310 [__USE_XOPEN_EXTENDED].
32311 (SA_RESTART): Likewise.
32312 (SA_NODEFER): Likewise.
32313 (SA_RESETHAND): Likewise.
32314 * sysdeps/unix/sysv/linux/sparc/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. Define directly rather than as alias.
32321 (SA_RESETHAND): Likewise.
32322 (SA_INTERRUPT): Define only for [__USE_MISC].
32323 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
32324 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
32326 (SA_STACK): Define only for [__USE_MISC].
32327 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
32328 (struct sigaction): Define sa_handler and sa_sigaction using union
32329 also for [__USE_XOPEN_EXTENDED].
32330 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32331 [__USE_XOPEN_EXTENDED].
32332 (SA_RESTART): Likewise.
32333 (SA_NODEFER): Likewise.
32334 (SA_RESETHAND): Likewise.
32335 (SA_NOPTRACE): Define only for [__USE_MISC].
32337 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
32338 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
32339 (struct catalog_info): Likewise.
32340 * inet/htontest.c (lo): Likewise.
32342 * inet/inet_lnaof.c (inet_lnaof): Likewise.
32343 * inet/inet_net.c (inet_network): Likewise.
32344 * inet/inet_netof.c (inet_netof): Likewise.
32345 * inet/rcmd.c (__ivaliduser): Likewise.
32346 (iruserok): Likewise.
32347 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
32348 * locale/programs/locale-spec.c (locale_special): Likewise.
32349 * nis/nis_findserv.c (struct findserv_req): Likewise.
32350 (__nis_findfastest_with_timeout): Likewise.
32351 * nss/test-netdb.c (test_network): Likewise.
32352 * resolv/inet_neta.c (inet_neta): Likewise.
32353 * resolv/ns_date.c (ns_datetosecs): Likewise.
32354 (SECS_PER_DAY): Likewise.
32355 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
32357 * resolv/res_comp.c (__putlong): Likewise.
32358 (__putshort): Likewise.
32359 (_getlong): Likewise.
32360 (_getshort): Likewise.
32361 * resolv/res_debug.c (p_time): Likewise.
32362 (precsize_ntoa): Likewise.
32363 (precsize_aton): Likewise.
32364 (latlon2ul): Likewise.
32365 (loc_aton): Likewise.
32366 (loc_ntoa): Likewise.
32367 * resolv/res_hconf.c (struct netaddr): Likewise.
32368 (_res_hconf_reorder_addrs): Likewise.
32369 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
32370 (clnttcp_control): Likewise.
32371 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32372 (clntudp_control): Likewise.
32373 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
32374 (clntunix_control): Likewise.
32375 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
32376 * sunrpc/rpc/auth.h (union des_block): Likewise.
32377 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
32378 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
32379 (xdrrec_create): Likewise.
32380 (xdrrec_endofrecord): Likewise.
32381 (flush_out): Likewise.
32382 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
32383 (xdrstdio_putlong): Likewise.
32384 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
32387 * misc/sys/cdefs.h (__long_double_t): Remove.
32388 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
32389 instead of __long_double_t,
32390 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
32392 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
32394 * benchtests/scripts/compare_strings.py: Avoid display error when
32395 running on a text terminal.
32397 * benchtests/scripts/compare_strings.py (main): Add an
32398 optional -base option.
32399 (process_results): New argument base_func.
32401 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
32403 * benchtests/bench-memcpy-large.c (test_name): Likewise.
32404 * benchtests/bench-memcpy-random.c (test_name): Likewise.
32406 2017-08-07 Andreas Schwab <schwab@suse.de>
32408 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
32409 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
32410 * intl/Makefile ($(objpfx)tst-gettext.out)
32411 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
32412 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
32413 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
32414 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
32415 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
32416 * posix/Makefile ($(objpfx)globtest.out)
32417 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
32418 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
32419 ($(objpfx)tst-printf.out): Likewise.
32420 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
32421 ($(objpfx)tst-setcontext3.out): Likewise.
32423 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
32425 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32426 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
32427 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
32428 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
32429 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
32431 (CFLAGS-doasin-fma.c): New.
32432 (CFLAGS-dosincos-fma.c): Likewise.
32433 (CFLAGS-e_asin-fma.c): Likewise.
32434 (CFLAGS-e_atan2-fma.c): Likewise.
32435 (CFLAGS-e_exp-fma.c): Likewise.
32436 (CFLAGS-e_log-fma.c): Likewise.
32437 (CFLAGS-e_pow-fma.c): Likewise.
32438 (CFLAGS-halfulp-fma.c): Likewise.
32439 (CFLAGS-mpa-fma.c): Likewise.
32440 (CFLAGS-mpatan-fma.c): Likewise.
32441 (CFLAGS-mpatan2-fma.c): Likewise.
32442 (CFLAGS-mpexp-fma.c): Likewise.
32443 (CFLAGS-mplog-fma.c): Likewise.
32444 (CFLAGS-mpsqrt-fma.c): Likewise.
32445 (CFLAGS-mptan-fma.c): Likewise.
32446 (CFLAGS-s_atan-fma.c): Likewise.
32447 (CFLAGS-sincos32-fma.c): Likewise.
32448 (CFLAGS-slowexp-fma.c): Likewise.
32449 (CFLAGS-slowpow-fma.c): Likewise.
32450 (CFLAGS-s_sin-fma.c): Likewise.
32451 (CFLAGS-s_tan-fma.c): Likewise.
32452 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
32453 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
32454 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
32455 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
32456 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
32457 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
32458 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
32459 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
32460 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
32461 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
32462 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
32463 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
32464 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
32465 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
32466 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
32467 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
32468 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
32469 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
32470 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
32471 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
32472 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
32473 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
32474 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
32475 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
32476 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32477 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32478 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32479 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
32480 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32481 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32482 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32484 2017-08-04 Joseph Myers <joseph@codesourcery.com>
32486 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
32487 (min_of_type_f): New macro.
32488 (min_of_type_): Likewise.
32489 (min_of_type_l): Likewise.
32490 (min_of_type_f128): Likewise.
32491 (min_of_type): Define using __MATH_TG and taking an expression
32493 (math_check_force_underflow): Pass expression instead of type to
32495 (math_check_force_underflow_nonneg): Likewise.
32497 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32499 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32500 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
32501 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
32503 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32505 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32506 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
32507 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
32508 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
32509 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
32510 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
32511 memcpy_chk-nonshared, mempcpy_chk-nonshared,
32512 memmove_chk-nonshared and memset_chk-nonshared
32513 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
32514 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
32515 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
32516 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
32517 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
32518 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
32519 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
32520 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
32521 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
32522 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
32523 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
32524 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
32525 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
32526 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
32527 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
32528 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
32529 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
32530 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
32531 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
32532 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
32533 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
32534 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
32535 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
32536 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
32537 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
32538 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
32539 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
32540 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
32541 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
32542 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
32543 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
32544 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
32545 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
32546 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32547 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32548 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
32549 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
32550 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
32551 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
32552 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
32553 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
32554 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
32555 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
32556 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
32557 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
32558 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
32559 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
32560 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
32561 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
32562 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
32563 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
32564 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
32565 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
32566 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
32567 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
32568 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
32569 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
32570 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
32571 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
32572 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
32573 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
32574 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
32575 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
32576 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
32577 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
32578 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
32579 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
32580 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
32581 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
32582 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
32583 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
32584 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32585 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32586 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32587 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32588 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32589 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32590 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32591 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32592 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32593 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32594 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32595 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32596 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32597 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32598 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32599 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32600 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32601 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32602 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32603 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32604 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32605 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32606 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32607 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32608 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32609 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32610 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32611 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32612 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32613 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32614 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32615 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32616 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32617 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32618 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32619 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32620 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32622 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32624 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
32625 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
32626 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
32627 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
32628 svml_d_log2_core-sse2, svml_d_log4_core-sse,
32629 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
32630 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
32631 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
32632 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
32633 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
32634 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
32635 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
32636 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
32637 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
32638 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
32639 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
32640 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
32641 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
32642 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
32643 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
32644 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
32645 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
32646 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
32647 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
32648 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
32649 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
32650 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
32651 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
32652 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
32653 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
32654 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
32655 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
32656 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
32657 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
32658 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
32659 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
32660 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
32661 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
32662 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
32663 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
32664 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
32665 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
32666 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
32667 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
32668 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
32669 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
32670 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
32671 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
32672 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
32673 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
32674 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
32675 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
32676 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
32677 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
32678 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
32679 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
32680 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
32681 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
32682 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
32684 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
32685 Don't include <sysdep.h> nor <init-arch.h>.
32686 (_ZGVbN2v_cos): Removed.
32687 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
32689 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
32690 Don't include <sysdep.h> nor <init-arch.h>.
32691 (_ZGVdN4v_cos): Removed.
32692 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
32694 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
32695 Don't include <sysdep.h> nor <init-arch.h>.
32696 (_ZGVeN8v_cos): Removed.
32697 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
32699 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
32700 Don't include <sysdep.h> nor <init-arch.h>.
32701 (_ZGVbN2v_exp): Removed.
32702 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
32704 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
32705 Don't include <sysdep.h> nor <init-arch.h>.
32706 (_ZGVdN4v_exp): Removed.
32707 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
32709 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
32710 Don't include <sysdep.h> nor <init-arch.h>.
32711 (_ZGVeN8v_exp): Removed.
32712 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
32714 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
32715 Don't include <sysdep.h> nor <init-arch.h>.
32716 (_ZGVbN2v_log): Removed.
32717 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
32719 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
32720 Don't include <sysdep.h> nor <init-arch.h>.
32721 (_ZGVdN4v_log): Removed.
32722 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
32724 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
32725 Don't include <sysdep.h> nor <init-arch.h>.
32726 (_ZGVeN8v_log): Removed.
32727 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
32729 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
32730 Don't include <sysdep.h> nor <init-arch.h>.
32731 (_ZGVbN2vv_pow): Removed.
32732 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
32734 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
32735 Don't include <sysdep.h> nor <init-arch.h>.
32736 (_ZGVdN4vv_pow): Removed.
32737 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
32739 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
32740 Don't include <sysdep.h> nor <init-arch.h>.
32741 (_ZGVeN8vv_pow): Removed.
32742 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
32744 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
32745 Don't include <sysdep.h> nor <init-arch.h>.
32746 (_ZGVbN2v_sin): Removed.
32747 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
32749 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
32750 Don't include <sysdep.h> nor <init-arch.h>.
32751 (_ZGVbN4v_sin): Removed.
32752 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
32754 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
32755 Don't include <sysdep.h> nor <init-arch.h>.
32756 (_ZGVbN8v_sin): Removed.
32757 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
32759 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
32760 Don't include <sysdep.h> nor <init-arch.h>.
32761 (_ZGVbN2vvv_sincos): Removed.
32762 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
32764 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
32765 Don't include <sysdep.h> nor <init-arch.h>.
32766 (_ZGVdN4vvv_sincos): Removed.
32767 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
32769 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
32770 Don't include <sysdep.h> nor <init-arch.h>.
32771 (_ZGVeN8vvv_sincos): Removed.
32772 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
32774 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
32775 Don't include <sysdep.h> nor <init-arch.h>.
32776 (_ZGVeN16v_cosf): Removed.
32777 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
32779 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
32780 Don't include <sysdep.h> nor <init-arch.h>.
32781 (_ZGVbN4v_cosf): Removed.
32782 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
32784 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
32785 Don't include <sysdep.h> nor <init-arch.h>.
32786 (_ZGVdN8v_cosf): Removed.
32787 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
32789 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
32790 Don't include <sysdep.h> nor <init-arch.h>.
32791 (_ZGVeN16v_expf): Removed.
32792 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
32794 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
32795 Don't include <sysdep.h> nor <init-arch.h>.
32796 (_ZGVbN4v_expf): Removed.
32797 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
32799 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
32800 Don't include <sysdep.h> nor <init-arch.h>.
32801 (_ZGVdN8v_expf): Removed.
32802 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
32804 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
32805 Don't include <sysdep.h> nor <init-arch.h>.
32806 (_ZGVeN16v_logf): Removed.
32807 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
32809 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
32810 Don't include <sysdep.h> nor <init-arch.h>.
32811 (_ZGVbN4v_logf): Removed.
32812 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
32814 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
32815 Don't include <sysdep.h> nor <init-arch.h>.
32816 (_ZGVdN8v_logf): Removed.
32817 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
32819 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
32820 Don't include <sysdep.h> nor <init-arch.h>.
32821 (_ZGVeN16vv_powf): Removed.
32822 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
32824 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
32825 Don't include <sysdep.h> nor <init-arch.h>.
32826 (_ZGVbN4vv_powf): Removed.
32827 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
32829 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
32830 Don't include <sysdep.h> nor <init-arch.h>.
32831 (_ZGVdN8vv_powf): Removed.
32832 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
32834 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
32835 Don't include <sysdep.h> nor <init-arch.h>.
32836 (_ZGVeN16vvv_sincosf): Removed.
32837 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
32839 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
32840 Don't include <sysdep.h> nor <init-arch.h>.
32841 (_ZGVbN4vvv_sincosf): Removed.
32842 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
32844 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
32845 Don't include <sysdep.h> nor <init-arch.h>.
32846 (_ZGVdN8vvv_sincosf): Removed.
32847 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
32849 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
32850 Don't include <sysdep.h> nor <init-arch.h>.
32851 (_ZGVeN16v_sinf): Removed.
32852 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
32854 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
32855 Don't include <sysdep.h> nor <init-arch.h>.
32856 (_ZGVbN4v_sinf): Removed.
32857 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
32859 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
32860 Don't include <sysdep.h> nor <init-arch.h>.
32861 (_ZGVdN8v_sinf): Removed.
32863 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32865 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32866 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
32867 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
32868 s_rint-sse4_1 and s_rintf-sse4_1.
32869 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
32870 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
32871 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
32872 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
32873 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
32874 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
32875 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
32876 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
32877 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
32878 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
32879 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
32880 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32882 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
32883 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
32884 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32885 (__ceilf): Removed.
32886 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
32887 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
32888 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32889 (__floor): Removed.
32890 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
32891 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
32892 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32893 (__floorf): Removed.
32894 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
32895 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
32896 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32897 (__nearbyint): Removed.
32898 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
32899 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
32900 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32901 (__nearbyintf): Removed.
32902 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
32903 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
32904 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32906 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
32907 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
32908 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32909 (__rintf): Removed.
32911 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32913 * sysdeps/i386/start.S (_start): Check Check PIC instead of
32914 SHARED. Avoid dynamic relocation against main in static PIE.
32916 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32919 * elf/Makefile (CFLAGS-tst-prelink.c): New.
32920 (LDFLAGS-tst-prelink): Likewise.
32922 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32924 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
32925 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
32926 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
32927 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
32928 (INTERNAL_SYSCALL_NCS): Likewise.
32929 (LOADARGS_1): Likewise.
32930 (LOADARGS_5): Likewise.
32931 (RESTOREARGS_1): Likewise.
32932 (RESTOREARGS_5): Likewise.
32934 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32936 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
32937 (MEMPCPY_SYMBOL): Likewise.
32938 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
32939 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
32940 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
32942 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32943 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
32945 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
32946 (__hidden_ver1): Don't use in libc.a.
32947 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
32948 (__mempcpy): Don't create a weak alias in libc.a.
32949 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
32951 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
32952 (__hidden_ver1): Don't use in libc.a.
32954 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32956 * config.make.in (have-insert): New.
32957 * configure.ac (libc_cv_insert): New. Set to yes if linker
32958 supports INSERT in linker script.
32959 (AC_SUBST(libc_cv_insert): New.
32960 * configure: Regenerated.
32961 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
32962 if $(have-insert) == yes.
32964 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32966 * elf/Makefile (tests): Add vismain only if
32967 $(have-protected-data) == yes.
32968 (tests-pie): Likewise.
32970 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32973 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
32974 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
32976 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32979 * sysdeps/i386/i586/memset.S
32980 (__memset_zero_constant_len_parameter): Removed.
32981 * sysdeps/i386/i686/memset.S
32982 (__memset_zero_constant_len_parameter): Likewise.
32983 * sysdeps/i386/i686/multiarch/memset_chk.S
32984 (__memset_zero_constant_len_parameter): Likewise.
32985 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
32988 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
32990 * stdlib/getentropy.c (getentropy): Change return type to int.
32992 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
32994 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
32996 2017-08-03 Joseph Myers <joseph@codesourcery.com>
32998 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
33000 * math/s_nexttowardf.c (__nexttowardf): Likewise.
33001 * sysdeps/generic/math_private.h (ieee_double_shape_type):
33003 (ieee_float_shape_type): Likewise.
33004 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
33005 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
33006 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
33007 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33008 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
33009 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
33010 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
33011 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
33012 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
33014 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
33015 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
33016 (__ieee754_yn): Likewise.
33017 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
33018 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
33019 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
33021 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
33022 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
33023 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
33024 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
33025 (__erfc): Likewise.
33026 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
33027 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
33028 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
33029 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
33030 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
33031 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
33033 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
33034 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
33035 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
33036 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
33037 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
33038 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
33039 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
33040 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
33041 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
33042 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
33043 (__issignaling): Likewise.
33044 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
33045 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
33046 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
33048 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33049 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
33050 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
33051 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
33053 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
33055 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
33056 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
33057 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
33058 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
33059 (__erfcf): Likewise.
33060 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
33061 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
33062 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
33063 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
33065 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
33066 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
33068 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
33069 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
33070 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
33071 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
33072 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
33073 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33074 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
33075 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
33077 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
33079 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
33081 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
33082 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
33084 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
33086 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
33087 (__ieee754_ynl): Likewise.
33088 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
33089 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
33091 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
33093 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
33094 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
33095 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33097 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
33098 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
33099 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
33100 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
33101 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
33102 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
33103 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
33104 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
33106 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
33107 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
33108 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
33110 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
33111 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
33112 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
33113 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
33114 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
33115 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33117 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
33119 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33121 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33123 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
33124 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33125 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33126 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
33127 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
33128 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
33129 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
33131 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
33133 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
33134 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33136 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
33137 (__ieee754_remainderl): Likewise.
33138 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33139 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33140 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
33141 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
33143 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
33144 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33146 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33147 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
33148 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
33149 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
33150 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
33151 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
33153 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
33154 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
33155 (__ieee754_y0l): Likewise.
33158 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33159 (__ieee754_y1l): Likewise.
33162 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
33163 (__ieee754_ynl): Likewise.
33164 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
33165 (__ieee754_lgammal_r): Likewise.
33166 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
33168 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
33169 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
33170 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
33171 (__erfcl): Likewise.
33172 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
33173 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
33175 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
33176 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
33177 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
33178 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
33179 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
33180 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33181 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33183 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
33184 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33185 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
33186 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
33187 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33189 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
33190 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
33192 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
33193 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
33194 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
33195 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
33196 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
33198 2017-08-03 Florian Weimer <fweimer@redhat.com>
33201 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
33202 on memory allocation failure.
33204 2017-08-03 Alan Modra <amodra@gmail.com>
33206 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
33207 tst-tlsopt-powerpc.c with function name change and no test harness.
33208 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
33209 Call tls_get_addr_opt_test.
33210 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
33211 (modules-names): Add mod-tlsopt-powerpc.
33212 (mod-tlsopt-powerpc.so-no-z-defs): Define.
33213 (tst-tlsopt-powerpc): Depend on .so.
33214 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
33215 define. Expand use in TLS_GD and TLS_LD.
33217 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
33219 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
33221 * sysdeps/posix/shm_open.c: Include <pthread.h>.
33223 2017-08-02 Joseph Myers <joseph@codesourcery.com>
33226 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
33227 comparing size with that of double.
33228 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33229 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33230 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33231 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33232 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33233 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
33234 unsigned __int128 types.
33236 2017-08-02 Steve Ellcey <sellcey@cavium.com>
33238 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
33239 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
33240 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
33241 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
33242 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
33244 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33246 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
33248 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33250 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
33252 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
33253 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
33254 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33255 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33256 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33257 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33258 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33260 2017-08-02 Joseph Myers <joseph@codesourcery.com>
33263 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
33264 bit-field expressions passed to sizeof or typeof.
33265 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33266 (__TGMATH_F128): Likewise.
33267 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33268 (__TGMATH_CF128): Likewise.
33269 (__TGMATH_UNARY_REAL_ONLY): Likewise.
33270 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
33271 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
33272 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
33273 (__TGMATH_BINARY_REAL_ONLY): Likewise.
33274 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33275 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33276 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33277 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33278 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
33279 (__TGMATH_UNARY_REAL_IMAG): Likewise.
33280 (__TGMATH_UNARY_IMAG): Likewise.
33281 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
33282 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33283 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
33285 (define_vars_for_type): Handle bit_field type specially.
33286 (Tests.__init__): Declare structure with bit-field element.
33288 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33291 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
33292 (MEMCPY_CHK): Define only if SHARED is defined.
33293 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
33295 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
33298 See ChangeLog.18 for earlier changes.