1 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3 * include/libc-internal.h (__get_clockfreq): Remove prototype.
4 * rt/Makefile (clock-routines): Remove get_clockfreq.
5 * rt/get_clockfreq.c: Remove file.
6 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
7 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
8 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
9 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
10 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
12 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
13 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
14 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
15 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
16 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
18 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
19 pthread_clock_settime.
20 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
21 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
22 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
23 * elf/rtld.c (_dl_start_final): Likewise.
24 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
25 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
27 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
28 (_dl_cpuclock_offset): Remove.
29 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
30 cpuclock_offset_ununsed.
31 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
33 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
34 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
35 * nptl/pthread_clock_gettime.c: Remove file.
36 * nptl/pthread_clock_settime.c: Likewise.
37 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
38 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
39 and CLOCK_PROCESS_CPUTIME_ID support.
40 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
41 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
42 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
43 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
44 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
46 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
48 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
50 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
51 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
52 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
54 * sysdeps/s390/memmem-arch13.S: New file.
55 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
56 if it is only used as fallback.
57 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
58 * sysdeps/s390/multiarch/ifunc-impl-list.c
59 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
61 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
63 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
64 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
65 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
67 * sysdeps/s390/multiarch/ifunc-impl-list.c
68 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
69 * sysdeps/s390/strstr-arch13.S: New file.
70 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
71 if it is only used as fallback.
72 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
74 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
76 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
77 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
78 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
79 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
81 * sysdeps/s390/multiarch/ifunc-impl-list.c
82 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
83 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
84 S390_IS_ARCH13_MIE3): New defines.
86 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
88 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
89 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
90 * sysdeps/s390/configure.ac: Add checks for arch13 support.
91 * sysdeps/s390/configure: Regenerated.
93 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
95 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
96 Add vxe2, vxp, dflt, sort flags.
97 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
98 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
100 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
101 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
102 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
103 HWCAP_S390_DFLT): Define.
105 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
108 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
110 * locale/programs/ld-collate.c (collate_output): Likewise.
112 2019-03-21 DJ Delorie <dj@redhat.com>
115 * iconv/iconvconfig.c (write_output): Replace floating point math
116 with integer math to avoid imprecise results.
117 * locale/programs/ld-collate.c (collate_output): Likewise.
119 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
121 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
122 Add HWCAP_S390_VX and HWCAP_S390_VXE.
124 2019-03-20 mansayk <6688000@gmail.com>
127 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
128 (abday): Likewise, but remove the trailing dots.
130 2019-03-19 Joseph Myers <joseph@codesourcery.com>
132 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
134 (HWCAP_PACA): Likewise.
135 (HWCAP_PACG): Likewise.
136 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
138 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
140 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
142 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
145 2019-03-15 Joseph Myers <joseph@codesourcery.com>
147 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
149 (old_getpagesize): New syscall.
151 2019-03-15 Felix Yan <felixonmars@archlinux.org>
154 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
155 * localedata/locales/cmn_TW (era): Likewise.
156 * localedata/locales/hak_TW (era): Likewise.
157 * localedata/locales/lzh_TW (era): Likewise.
158 * localedata/locales/nan_TW (era): Likewise.
160 2019-03-14 Florian Weimer <fweimer@redhat.com>
162 Remove obsolete, never-implemented XSI STREAMS declarations.
163 * manual/terminal.texi (Allocation): Remove portability note and
165 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
167 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
168 * sysdeps/unix/inet/Subdirs (streams): Remove.
169 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
170 (conformtest-headers-UNIX98): Likewise.
171 (conformtest-headers-XOPEN2K): Likewise.
172 (conformtest-headers-POSIX2008): Likewise.
173 * posix/compat-streams.c: New file.
174 * posix/Makefile (routines): Add it.
175 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
176 getpmsg, isastream, putmsg, putpmsg.
177 (GLIBC_2.30): New section.
178 * bits/stropts.h: Remove file.
179 * bits/xtitypes.h: Likewise.
180 * conform/data/stropts.h-data: Likewise.
181 * include/stropts.h: Likewise.
182 * include/sys/stropts.h: Likewise.
183 * include/xtitypes.h: Likewise.
184 * streams/Makefile: Likewise.
185 * streams/fattach.c: Likewise.
186 * streams/fdetach.c: Likewise.
187 * streams/getmsg.c: Likewise.
188 * streams/getpmsg.c: Likewise.
189 * streams/isastream.c: Likewise.
190 * streams/putmsg.c: Likewise.
191 * streams/putpmsg.c: Likewise.
192 * streams/stropts.h: Likewise.
193 * streams/sys/stropts.h: Likewise.
194 * sysdeps/ia64/bits/xtitypes.h: Likewise.
195 * sysdeps/s390/bits/xtitypes.h: Likewise.
196 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
197 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
198 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
199 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
200 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
201 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
202 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
203 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
204 * sysdeps/x86/bits/xtitypes.h: Likewise.
206 2019-03-14 Florian Weimer <fweimer@redhat.com>
208 * nss/tst-nss-files-alias-truncated.c (do_test): Load
210 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
211 but not with libnss_files.
212 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
214 2019-03-14 Zack Weinberg <zackw@panix.com>
216 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
217 Specify encoding="utf-8" when opening headers to check.
219 2019-03-13 Joseph Myers <joseph@codesourcery.com>
221 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
223 (Context.checkout_tar): Handle variable major version for Linux
226 2019-03-13 Florian Weimer <fweimer@redhat.com>
229 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
231 2019-03-13 Zack Weinberg <zackw@panix.com>
233 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
235 * include/inttypes.h: Adjust to match.
236 * include/stdint.h: New wrapper.
238 2019-03-13 Zack Weinberg <zackw@panix.com>
240 * scripts/check-obsolete-constructs.py: New test script.
241 * scripts/check-installed-headers.sh: Remove tests for
242 obsolete typedefs, superseded by check-obsolete-constructs.py.
243 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
244 as a special test. Update commentary.
245 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
246 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
248 * posix/sys/types.h (__u_intN_t): Remove.
249 (u_int8_t): Typedef using __uint8_t.
250 (u_int16_t): Typedef using __uint16_t.
251 (u_int32_t): Typedef using __uint32_t.
252 (u_int64_t): Typedef using __uint64_t.
254 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
256 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
258 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
259 Ignore types other than AT_HWCAP.
260 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
261 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
263 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
264 in the case of falling back to generic output mechanism.
265 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
268 2019-03-12 Florian Weimer <fweimer@redhat.com>
270 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
272 2019-03-12 Florian Weimer <fweimer@redhat.com>
275 resolv: Enable full ICMP errors for UDP DNS sockets
276 * resolv/res_enable_icmp.c: New file.
277 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
278 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
279 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
282 2019-03-11 Mao Han <han_mao@c-sky.com>
284 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
285 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
287 2019-03-11 Mao Han <han_mao@c-sky.com>
289 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
290 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
291 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
293 2019-03-11 Mao Han <han_mao@c-sky.com>
295 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
297 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
300 2019-03-11 Mao Han <han_mao@c-sky.com>
302 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
303 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
306 2019-03-08 Mike FABIAN <mfabian@redhat.com>
309 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
310 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
312 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
313 * localedata/unicode-gen/PropList.txt: Likewise.
314 * localedata/unicode-gen/UnicodeData.txt: Likewise.
315 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
316 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
317 * localedata/charmaps/UTF-8: Regenerate.
318 * localedata/locales/i18n_ctype: Likewise.
319 * localedata/locales/tr_TR: Likewise.
320 * localedata/locales/translit_circle: Likewise.
321 * localedata/locales/translit_cjk_compat: Likewise.
322 * localedata/locales/translit_combining: Likewise.
323 * localedata/locales/translit_compat: Likewise.
324 * localedata/locales/translit_font: Likewise.
325 * localedata/locales/translit_fraction: Likewise.
327 2019-03-07 Joseph Myers <joseph@codesourcery.com>
329 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
330 than after operators.
331 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
332 (setitimer_locked): Likewise.
333 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
334 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
335 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
336 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
337 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
338 (PPC_CPU_SUPPORTED): Likewise.
339 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
340 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
341 (stat_overflow): Likewise.
342 (statfs_overflow): Likewise.
343 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
344 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
345 (eq_ttyname_r): Likewise.
346 (run_chroot_tests): Likewise.
348 2019-03-07 Florian Weimer <fweimer@redhat.com>
350 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
353 2019-03-07 Martin Liska <mliska@suse.cz>
355 * math/Makefile: Change location where math-vector-fortran.h is
357 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
358 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
359 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
360 * scripts/check-installed-headers.sh: Skip Fortran header files.
361 * scripts/check-wrapper-headers.py: Likewise.
363 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
365 * nptl/nptl-init.c (__have_futex_clock_realtime,
366 __have_futex_clock_realtime): Remove definition.
367 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
368 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
369 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
370 __ASSUME_FUTEX_CLOCK_REALTIME support.
371 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
372 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
373 * sysdeps/unix/sysv/linux/kernel-features.h
374 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
375 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
378 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
380 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
381 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
382 __GI___wcscpy and wcscpy.
384 2019-03-04 Florian Weimer <fweimer@redhat.com>
386 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
388 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
391 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
393 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
394 * sysdeps/s390/s390-32/sysdep.h: Likewise.
396 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
399 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
400 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
402 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
404 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
407 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
408 (do_test_call_varg): Likewise.
409 (do_test_call_rarg): Likewise.
410 * sysdeps/ieee754/ldbl-opt/Makefile
411 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
413 ($(objpfx)tst-nldbl-warn.c): New rule.
414 ($(objpfx)tst-nldbl-error.c): Likewise.
415 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
418 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
421 * include/bits/error-ldbl.h: New file.
422 * include/error.h: Include stdarg.h. Declare internal functions
423 __error_internal and __error_at_line_internal.
424 * misc/Makefile (headers): Add bits/error-ldbl.h.
425 * misc/bits/error-ldbl.h: New file.
426 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
427 avoid the inclusion of bits/error.h.
428 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
429 and __nldbl_error_at_line.
430 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
431 (__nldbl_error, __ndlbl_error_at_line): New functions.
432 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
433 Redirect error and error_at_line.
434 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
443 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
444 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
445 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
447 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
450 * include/bits/err-ldbl.h: New file.
451 * include/err.h: Add prototypes for the internal functions:
452 __vwarnx_internal and __vwarn_internal.
453 * misc/Makefile (headers): Add bits/err-ldbl.h.
454 * misc/bits/err-ldbl.h: New file.
455 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
456 defined, i.e.: when -mlong-double-64 is in use.
457 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
458 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
459 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
460 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
461 (VA_CALL): New macro.
462 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
463 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
465 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
466 declare prototypes for the new functions.
467 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
476 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
477 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
478 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
480 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
482 * sysdeps/ieee754/ldbl-opt/Makefile
483 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
484 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
485 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
487 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
490 * argp/Makefile (headers): Add bits/argp-ldbl.h.
491 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
492 * argp/bits/argp-ldbl.h: New file.
493 * include/argp.h: Include stdarg.h. Add prototypes for internal
494 functions: __argp_error_internal and __argp_failure_internal.
495 * include/bits/argp-ldbl.h: New file.
496 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
497 __nldbl_argp_error and __nldbl_argp_failure.
498 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
499 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
500 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
501 Redirect argp_error and argp_failure calls.
502 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
511 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
512 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
513 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
515 2019-03-01 Florian Weimer <fweimer@redhat.com>
518 * elf/tst-big-note-lib.S: Create a syntactically valid note.
519 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
520 code, to avoid creating an ABI tag note.
521 (modules-names-nobuild): Add tst-big-note-lib.
523 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
525 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
526 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
528 2019-03-01 Florian Weimer <fweimer@redhat.com>
531 * sysdeps/unix/sysv/linux/netlink_assert_response.c
532 (__netlink_assert_response): Add additional missing newlines.
534 2019-02-28 Joseph Myers <joseph@codesourcery.com>
536 * sysdeps/powerpc/powerpc32/dl-machine.c
537 (__elf_machine_fixup_plt): Use space before '('.
538 (__process_machine_rela): Likewise.
539 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
541 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
543 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
545 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
548 (check_result): Likewise.
549 (check_excepts): Likewise.
550 (check_op): Likewise.
552 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
553 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
555 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
558 (__makecontext): Likewise.
559 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
562 2019-02-28 Florian Weimer <fweimer@redhat.com>
565 elf: Add test with a local IFUNC resolver.
566 * elf/ifuncmain9.c: New file.
567 * elf/ifuncmain9pic.c: Likewise.
568 * elf/ifuncmain9picstatic.c: Likewise.
569 * elf/ifuncmain9pie.c: Likewise.
570 * elf/ifuncmain9static.c: Likewise.
571 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
572 ifuncmain9static, ifuncmain9picstatic.
573 * elf/Makefile [multi-arch && build-shared] (tests-internal):
574 Add ifuncmain9, ifuncmain9pic.
575 * elf/Makefile [multi-arch && build-shared && have-fpie]
576 (ifunc-pie-tests): Add ifuncmain9pie.
577 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
578 (CFLAGS-ifuncmain9picstatic.c): Likewise.
579 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
581 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
583 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
584 * configure: Regenerated.
585 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
587 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
589 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
590 symbol as __wcspcy instead of wcscpy.
592 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
594 * include/stdio.h (__renameat2): New hidden prototype.
595 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
596 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
597 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
598 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
600 2019-02-27 Joseph Myers <joseph@codesourcery.com>
602 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
605 * benchtests/bench-strcpy.c (do_test): Use space before '('.
606 * benchtests/bench-string.h (cmdline_process_function): Likewise.
607 * benchtests/bench-strlen.c (do_test): Likewise.
608 (test_main): Likewise.
609 * catgets/gencat.c (read_old): Likewise.
610 * elf/cache.c (load_aux_cache): Likewise.
611 * iconvdata/bug-iconv8.c (do_test): Likewise.
612 * math/test-tgmath-ret.c (do_test): Likewise.
613 * nis/nis_call.c (rec_dirsearch): Likewise.
614 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
615 * nptl/tst-audit-threads.c (do_test): Likewise.
616 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
617 * nss/nss_test1.c (init): Likewise.
618 * nss/test-netdb.c (test_hosts): Likewise.
619 * posix/execvpe.c (maybe_script_execute): Likewise.
620 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
621 * stdio-common/tst-printf.c (do_test): Likewise.
622 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
623 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
624 * stdlib/qsort.c (STACK_SIZE): Likewise.
625 * stdlib/test-canon.c (do_test): Likewise.
626 * stdlib/tst-swapcontext1.c (do_test): Likewise.
627 * string/memcmp.c (OPSIZ): Likewise.
628 * string/test-strcpy.c (do_test): Likewise.
629 (do_random_tests): Likewise.
630 * string/test-strlen.c (do_test): Likewise.
631 (test_main): Likewise.
632 * string/test-strrchr.c (do_test): Likewise.
633 (do_random_tests): Likewise.
634 * string/tester.c (test_memrchr): Likewise.
635 (test_memchr): Likewise.
636 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
637 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
638 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
639 (read_encoded_value_with_base): Likewise.
640 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
641 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
642 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
643 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
644 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
645 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
647 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
649 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
650 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
651 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
653 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
655 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
657 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
659 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
660 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
661 (FP_XSTATE_MAGIC2_SIZE): Likewise.
662 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
663 * time/test_time.c (main): Likewise.
665 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
667 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
669 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
672 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
675 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
677 * include/wchar.h (__wcscpy): New prototype.
678 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
679 (__wcscpy): Route internal symbol to generic implementation.
680 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
681 Add internal __wcscpy alias.
682 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
683 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
684 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
685 * wcsmbs/wcscpy.c (wcscpy): Add
686 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
687 use generic implementation.
688 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
690 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
693 * sysdeps/m68k/wcpcpy.c: Remove file.
694 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
696 2019-02-26 Joseph Myers <joseph@codesourcery.com>
698 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
699 than after operators.
700 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
701 * sysdeps/mach/hurd/getcwd.c
702 (__hurd_canonicalize_directory_name_internal): Likewise.
703 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
704 (pthread_mutex_consistent): Likewise.
705 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
707 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
708 (__pthread_mutex_transfer_np): Likewise.
709 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
710 (__pthread_mutex_unlock): Likewise.
711 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
712 (mtx_owned_p): Likewise.
713 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
714 (pthread_mutexattr_getrobust): Likewise.
715 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
716 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
718 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
719 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
720 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
721 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
722 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
723 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
724 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
726 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
728 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
729 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
730 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
731 (____longjmp_chk): Likewise.
732 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
734 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
735 (INTERNAL_SYSCALL): Likewise.
736 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
737 (INTERNAL_SYSCALL): Likewise.
738 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
739 (__get_clockfreq_via_cpuinfo): Likewise.
741 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
743 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
744 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
745 (WORD_COPY_BWD): Likewise.
746 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
747 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
749 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
750 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
752 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
754 2019-02-25 Joseph Myers <joseph@codesourcery.com>
756 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
757 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
758 rather than after operators.
759 * elf/cache.c (print_cache): Likewise.
760 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
761 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
762 * hurd/hurdinit.c (_hurd_setproc): Likewise.
763 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
764 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
765 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
766 (reauth_proc): Likewise.
767 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
768 (__file_name_split_at): Likewise.
769 (__directory_name_split_at): Likewise.
770 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
771 * hurd/port2fd.c (_hurd_port2fd): Likewise.
772 * iconv/gconv_dl.c (do_print): Likewise.
773 * inet/netinet/in.h (struct sockaddr_in): Likewise.
774 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
775 * locale/setlocale.c (new_composite_name): Likewise.
776 * malloc/memusagestat.c (main): Likewise.
777 * misc/fstab.c (fstab_convert): Likewise.
778 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
780 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
781 (getgrent_next_file): Likewise.
782 (internal_getgrnam_r): Likewise.
783 (internal_getgrgid_r): Likewise.
784 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
786 (internal_getgrent_r): Likewise.
787 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
788 (getpwent_next_nss): Likewise.
789 (getpwent_next_file): Likewise.
790 (internal_getpwnam_r): Likewise.
791 (internal_getpwuid_r): Likewise.
792 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
794 (getspent_next_nss): Likewise.
795 (internal_getspnam_r): Likewise.
796 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
797 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
798 * string/strchr.c (STRCHR): Likewise.
799 * string/strchrnul.c (STRCHRNUL): Likewise.
800 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
801 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
802 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
803 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
804 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
806 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
807 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
808 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
809 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
810 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
811 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
812 (open_file): Likewise.
813 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
814 (pthread_mutexattr_setprotocol): Likewise.
815 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
816 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
817 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
818 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
819 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
821 (elf_machine_rela): Likewise.
822 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
823 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
824 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
825 * sysdeps/posix/rename.c (rename): Likewise.
826 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
827 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
828 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
829 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
830 * sysdeps/unix/grantpt.c (grantpt): Likewise.
831 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
832 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
834 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
836 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
837 * time/tzfile.c (__tzfile_compute): Likewise.
839 2019-02-22 Joseph Myers <joseph@codesourcery.com>
841 * benchtests/bench-memmem.c (simple_memmem): Break lines before
842 rather than after operators.
843 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
844 * crypt/md5.c (md5_finish_ctx): Likewise.
845 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
846 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
847 * elf/cache.c (load_aux_cache): Likewise.
848 * elf/dl-load.c (open_verify): Likewise.
849 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
850 * elf/readelflib.c (process_elf_file): Likewise.
851 * elf/rtld.c (dl_main): Likewise.
852 * elf/sprof.c (generate_call_graph): Likewise.
853 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
854 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
855 * hurd/dtable.c (reauth_dtable): Likewise.
856 * hurd/getdport.c (__getdport): Likewise.
857 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
858 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
859 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
861 * hurd/hurdioctl.c (fioctl): Likewise.
862 * hurd/hurdselect.c (_hurd_select): Likewise.
863 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
864 (STOPSIGS): Likewise.
865 * hurd/hurdstartup.c (_hurd_startup): Likewise.
866 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
867 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
868 * hurd/msgportdemux.c (msgport_server): Likewise.
869 * hurd/setauth.c (_hurd_setauth): Likewise.
870 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
871 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
872 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
873 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
874 * login/tst-utmp.c (do_check): Likewise.
875 (simulate_login): Likewise.
876 * mach/lowlevellock.h (lll_lock): Likewise.
877 (lll_trylock): Likewise.
878 * math/test-fenv.c (ALL_EXC): Likewise.
879 * math/test-fenvinline.c (ALL_EXC): Likewise.
880 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
881 * nis/nis_call.c (__do_niscall3): Likewise.
882 * nis/nis_callback.c (cb_prog_1): Likewise.
883 * nis/nis_defaults.c (searchaccess): Likewise.
884 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
885 * nis/nis_ismember.c (internal_ismember): Likewise.
886 * nis/nis_local_names.c (nis_local_principal): Likewise.
887 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
888 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
890 * nis/ypclnt.c (yp_match): Likewise.
891 (yp_first): Likewise.
893 (yp_master): Likewise.
894 (yp_order): Likewise.
895 * nscd/hstcache.c (cache_addhst): Likewise.
896 * nscd/initgrcache.c (addinitgroupsX): Likewise.
897 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
898 (internal_getpwuid_r): Likewise.
899 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
900 * posix/glob.h (__GLOB_FLAGS): Likewise.
901 * posix/regcomp.c (peek_token): Likewise.
902 (peek_token_bracket): Likewise.
903 (parse_expression): Likewise.
904 * posix/regexec.c (sift_states_iter_mb): Likewise.
905 (check_node_accept_bytes): Likewise.
906 * posix/tst-spawn3.c (do_test): Likewise.
907 * posix/wordexp-test.c (testit): Likewise.
908 * posix/wordexp.c (parse_tilde): Likewise.
909 (exec_comm): Likewise.
910 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
911 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
912 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
913 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
914 * stdio-common/tst-fileno.c (do_test): Likewise.
915 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
916 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
917 * stdlib/strtod_l.c (round_and_return): Likewise.
918 (____STRTOF_INTERNAL): Likewise.
919 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
920 * string/strcspn.c (STRCSPN): Likewise.
921 * string/test-memmem.c (simple_memmem): Likewise.
922 * termios/tcsetattr.c (tcsetattr): Likewise.
923 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
924 * time/asctime.c (asctime_internal): Likewise.
925 * time/strptime_l.c (__strptime_internal): Likewise.
926 * time/sys/time.h (timercmp): Likewise.
927 * time/tzfile.c (__tzfile_compute): Likewise.
929 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
932 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
934 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
936 * argp/argp-help.c (__argp_error_internal): New function,
937 renamed from __argp_error, but that takes a 'mode_flags'
938 parameter to control the format of long double parameters.
939 (__argp_error): Converted into a call __argp_error_internal.
940 (__argp_failure_internal): New function, renamed from
941 __argp_failure, but that takes a 'mode_flags' parameter.
942 (__argp_failure): Converted into a call __argp_failure_internal.
943 * misc/err.c (__vwarnx_internal): New function, renamed from
944 vwarnx, but that takes a 'mode_flags' parameter.
945 (vwarnx): Converted into a call to __vwarnx_internal.
946 (__vwarn_internal): New function, renamed from vwarn, but that
947 takes a 'mode_flags' parameter.
948 (vwarn): Converted into a call to __vwarn_internal.
949 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
950 call to __vfxprintf with 'mode_flags'.
951 (__error_internal): New function, renamed from error, but that
952 takes a 'mode_flags' parameter.
953 (error): Converted into a call to __error_internal.
954 (__error_at_line_internal): New function, renamed from
955 error_at_line, but that takes a 'mode_flags' parameter.
956 (error_at_line): Converted into a call to
957 __error_at_line_internal.
958 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
959 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
962 2019-02-20 Martin Liska <mliska@suse.cz>
964 * math/Makefile: Install math-vector-fortran.h.
965 * bits/math-vector-fortran.h: New file.
966 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
968 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
970 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
971 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
973 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
975 * nptl/pthread_mutex_trylock.c: Fix comment.
977 2019-02-19 Carlos O'Donell <carlos@redhat.com>
979 * nptl/pthread_tryjoin.c: Fix comment.
981 2019-02-18 Joseph Myers <joseph@codesourcery.com>
984 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
985 after R_SPARC_H34 case.
987 2019-02-18 Florian Weimer <fweimer@redhat.com>
989 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
990 (getanswer): Do not call Dprintf.
991 (res_gethostbyname2_context): Likewise.
992 (res_gethostbyaddr_context): Likewise.
994 2019-02-18 Florian Weimer <fweimer@redhat.com>
996 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
998 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
1000 * libio/stdfiles.c: Update comment.
1001 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
1002 set _IO_stdin, _IO_stdout, _IO_stderr.
1003 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
1004 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
1006 (_IO_deallocate_file): New inline function.
1007 * libio/iolibio.h (_IO_vprintf): Remove definition.
1008 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
1009 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
1010 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
1012 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
1013 __builtin_expect. Use _IO_legacy_file.
1015 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
1017 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
1018 Initialize ctid with a known value and remove update of ctid
1020 (wait_tid): Adjust arguments and call futex_wait with ctid_val
1021 as assumed current value of ctid_ptr.
1023 2019-02-15 Florian Weimer <fweimer@redhat.com>
1025 Check that non-sysdeps headers have wrapper headers.
1026 * scripts/check-wrapper-headers.py: New file.
1027 * Makefile (tests-special): Add check-wrapper-headers.out.
1028 (check-wrapper-headers.out): New target.
1029 * Rules (tests-special): Add check-wrapper-headers.out.
1030 (check-wrapper-headers.out): New target.
1032 2019-02-15 Florian Weimer <fweimer@redhat.com>
1034 Add missing header wrappers under include/.
1035 * include/ar.h: New file.
1036 * include/bits/mqueue2.h: Likewise.
1037 * include/bits/stdio.h: Likewise.
1038 * include/bits/stdio2.h: Likewise.
1039 * include/fstab.h: Likewise.
1040 * include/fts.h: Likewise.
1041 * include/lastlog.h: Likewise.
1042 * include/netinet/icmp6.h: Likewise.
1043 * include/netinet/igmp.h: Likewise.
1044 * include/netinet/ip6.h: Likewise.
1045 * include/re_comp.h: Likewise.
1046 * include/regexp.h: Likewise.
1047 * include/rpcsvc/bootparam.h: Likewise.
1048 * include/rpcsvc/yp_prot.h: Likewise.
1049 * include/sys/random.h: Likewise.
1050 * include/sys/stropts.h: Likewise.
1051 * include/sys/ttychars.h: Likewise.
1052 * include/sys/vfs.h: Likewise.
1053 * include/wait.h: Likewise.
1055 2019-02-15 Florian Weimer <fweimer@redhat.com>
1057 * nptl_db/proc_service.h: Move to ...
1058 * sysdeps/nptl/proc_service.h: ... here.
1059 * nptl_db/thread_db.h: Move to ...
1060 * sysdeps/nptl/thread_db.h: ... here.
1061 * nptl/descr.h: Include <thread_db.h>.
1063 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1065 * io/Makefile (tests): Add tst-lockf.
1066 * io/lockf.c (lockf): Use __fcntl and only define for
1067 !__OFF_T_MATCHES_OFF64_T.
1068 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
1069 __OFF_T_MATCHES_OFF64_T case.
1070 * io/tst-lockf.c: New file.
1071 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
1072 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
1073 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
1074 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
1075 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
1076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
1077 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
1078 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
1079 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
1081 2019-02-15 Florian Weimer <fweimer@redhat.com>
1084 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
1085 pd->result after the thread descriptor has been freed.
1087 2019-02-15 Joseph Myers <joseph@codesourcery.com>
1089 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
1090 from function return type.
1092 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
1094 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1096 * scripts/test_printers_common.py: Set TERM to a known harmless
1099 2019-02-14 Joseph Myers <joseph@codesourcery.com>
1101 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
1102 (xdr_u_int): Likewise.
1103 (xdr_enum): Likewise.
1104 (xdr_bytes): Reword fall-through comment.
1105 (xdr_string): Likewise.
1107 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1110 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
1111 (tests): Add tst-join8 tst-join9.
1112 * nptl/lll_timedwait_tid.c: Remove file.
1113 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
1114 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
1115 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
1116 * nptl/pthread_join_common.c (timedwait_tid): New function.
1117 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
1119 * nptl/tst-join5.c (thread_join): New function.
1120 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
1122 * nptl/tst-join8.c: New file.
1123 * nptl/tst-join9.c: Likewise.
1124 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
1125 lll_futex_timed_wait_cancel): Add generic macros.
1126 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
1128 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1129 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1130 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1131 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
1133 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
1135 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1136 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
1137 (lll_futex_timed_wait_cancel): New macro.
1139 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
1141 * benchtests/Makefile: Add malloc-simple benchmark.
1142 * benchtests/bench-malloc-simple.c: New benchmark.
1144 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
1146 * benchtests/bench-memmove.c (do_one_test): Remove unused
1149 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
1153 2019-01-13 Jim Wilson <jimw@sifive.com>
1156 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
1157 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
1159 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
1161 * nptl/Makefile (tests): Add tst-unwind-thread.
1162 (CFLAGS-tst-unwind-thread.c): Define.
1163 * nptl/tst-unwind-thread.c: New file.
1164 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
1167 2019-02-13 Joseph Myers <joseph@codesourcery.com>
1169 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
1171 * nis/nis_call.c (__do_niscall3): Likewise.
1173 * catgets/gencat.c (normalize_line): Use braces around empty
1175 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1176 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
1177 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
1178 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
1179 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
1180 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
1181 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
1184 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
1187 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
1189 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
1190 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
1191 * benchtests/bench-strchr.c (stupid_strchr): Remove.
1192 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
1193 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
1194 * benchtests/bench-strlen.c (builtin_strlen): Remove.
1195 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
1196 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
1197 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
1198 * benchtests/bench-strspn.c (stupid_strspn): Remove.
1199 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
1200 * benchtests/bench-bcopy.c: Delete file.
1201 * benchtests/bench-bzero.c: Likewise.
1202 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
1203 (simple_memccpy): Remove.
1204 (generic_memccpy): Add function.
1205 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
1206 * benchtests/bench-memmove.c (simple_bcopy): Remove.
1207 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
1208 (generic_mempcpy): Add new function.
1209 * benchtests/bench-memset.c (simple_bzero): Remove.
1210 (builtin_bzero): Remove.
1211 (builtin_memset): Remove.
1212 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
1213 (generic_rawmemchr): Add new function.
1215 2019-02-12 Florian Weimer <fweimer@redhat.com>
1217 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
1219 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1222 * elf/Makefile (tests): Add tst-audit13.
1223 (modules-names): Add tst-audit13mod1.
1224 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1226 * elf/tst-audit13.c: New file.
1227 * elf/tst-audit13mod1.c: Likewise.
1229 2019-02-12 Florian Weimer <fweimer@redhat.com>
1232 * elf/rtld.c (unload_audit_module): New function.
1233 (report_audit_module_load_error): Likewise.
1234 (load_audit_module): Likewise. Extracted from dl_main. Call
1235 _dl_close if the laversion symbol cannot be found. Use early
1236 returns for error handling. Add malloc error check. Check for a
1237 zero return value from la_version. Remove spurious comment about
1238 static TLS initialization. Remove useless casts.
1239 (notify_audit_modules_of_loaded_object): New function. Extracted
1241 (load_audit_module): Likewise.
1242 (dl_main): Call load_audit_modules.
1244 2019-02-12 Joseph Myers <joseph@codesourcery.com>
1246 * elf/dl-exception.c (_dl_exception_create_format): Add
1247 fall-through comments.
1248 * elf/ldconfig.c (parse_conf_include): Likewise.
1249 * elf/rtld.c (print_statistics): Likewise.
1250 * locale/programs/charmap.c (parse_charmap): Likewise.
1251 * misc/mntent_r.c (__getmntent_r): Likewise.
1252 * posix/wordexp.c (parse_arith): Likewise.
1253 (parse_backtick): Likewise.
1254 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
1255 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
1256 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1258 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
1260 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
1261 Use float instead of double.
1263 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
1265 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
1267 2019-02-08 Joseph Myers <joseph@codesourcery.com>
1269 * sysdeps/powerpc/bits/mathinline.h: Remove.
1271 2019-02-08 Florian Weimer <fweimer@redhat.com>
1273 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
1274 * math/bits/math-finite.h: Move to ...
1275 * bits/math-finite.h: ... here.
1277 2019-02-08 Florian Weimer <fweimer@redhat.com>
1279 * sysdeps/generic/bits/unistd_ext.h: Move to ...
1280 * bits/unistd_ext.h: here.
1282 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
1285 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
1286 * nss/tst-nss-files-hosts-long.c: New file.
1287 * nss/tst-nss-files-hosts-long.root: New directory.
1288 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
1289 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
1291 2019-02-08 Florian Weimer <fweimer@redhat.com>
1293 * include/bits/unistd_ext.h: Remove file.
1294 * posix/bits/unistd_ext.h: Move to ...
1295 * sysdeps/generic/bits/unistd_ext.h: ... here.
1297 2019-02-08 Florian Weimer <fweimer@redhat.com>
1299 * include/bits/unistd_ext.h: New file.
1301 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
1303 * time/tst-strftime2.c: Use array_length macros instead of magic
1306 2019-02-08 Florian Weimer <fweimer@redhat.com>
1309 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
1311 * nptl/register-atfork.c (__run_fork_handlers): Only perform
1312 locking if the new do_locking argument is true.
1313 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
1314 __run_fork_handlers.
1316 2019-02-08 Florian Weimer <fweimer@redhat.com>
1319 Linux: Add gettid system call wrapper.
1320 * posix/Makefile (headers): Add bits/unistd_ext.h.
1321 * posix/bits/unistd_ext.h: New file.
1322 * posix/unistd.h: Include it.
1323 * manual/process.texi (Process Identification): Document gettid.
1324 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
1325 tst-gettid, tst-gettid-kill.
1326 (tst-gettid): Link with $(shared-thread-library).
1327 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
1328 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
1329 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
1330 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
1331 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
1332 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
1334 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1336 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1337 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
1339 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
1341 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
1343 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
1345 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1347 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1349 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1351 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1352 (GLIBC_2.30): Likewise.
1353 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1354 (GLIBC_2.30): Likewise.
1355 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1356 (GLIBC_2.30): Likewise.
1357 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1358 (GLIBC_2.30): Likewise.
1359 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1362 (GLIBC_2.30): Likewise.
1363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1364 (GLIBC_2.30): Likewise.
1365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1366 (GLIBC_2.30): Likewise.
1367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1368 (GLIBC_2.30): Likewise.
1369 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1371 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1373 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1375 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1376 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1378 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1380 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1382 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1384 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
1386 2019-02-07 Florian Weimer <fweimer@redhat.com>
1388 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
1389 compatibility symbols.
1391 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
1394 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1395 Add compiler barriers and comments.
1397 2019-02-07 Florian Weimer <fweimer@redhat.com>
1399 * include/array_length.h (array_length): Do not use a statement
1400 expression and _Static_assert, so that array_length can be used at
1401 file scope and as a constant expression.
1403 2019-02-07 Florian Weimer <fweimer@redhat.com>
1405 * support/xdlfcn.h (xdlmopen): Declare.
1406 * support/xdlmopen.c: New file.
1407 * support/Makefile (libsupport-routines): Add xdlmopen.
1409 2019-02-06 Joseph Myers <joseph@codesourcery.com>
1411 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
1412 before return type, without separate inline.
1413 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
1414 * elf/dl-tunables.h (tunable_is_name): Likewise.
1415 * malloc/malloc.c (do_set_trim_threshold): Likewise.
1416 (do_set_top_pad): Likewise.
1417 (do_set_mmap_threshold): Likewise.
1418 (do_set_mmaps_max): Likewise.
1419 (do_set_mallopt_check): Likewise.
1420 (do_set_perturb_byte): Likewise.
1421 (do_set_arena_test): Likewise.
1422 (do_set_arena_max): Likewise.
1423 (do_set_tcache_max): Likewise.
1424 (do_set_tcache_count): Likewise.
1425 (do_set_tcache_unsorted_limit): Likewise.
1426 * nis/nis_subr.c (count_dots): Likewise.
1427 * nptl/allocatestack.c (advise_stack_range): Likewise.
1428 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
1430 (reduce_sincos): Likewise.
1431 (do_sincos): Likewise.
1432 * sysdeps/unix/sysv/linux/x86/elision-conf.c
1433 (do_set_elision_enable): Likewise.
1434 (TUNABLE_CALLBACK_FNDECL): Likewise.
1436 2019-02-06 Florian Weimer <fweimer@redhat.com>
1438 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
1439 (xdlsym): Use dlerror to detect a NULL symbol.
1441 2019-02-06 Florian Weimer <fweimer@redhat.com>
1443 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
1445 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1447 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1449 * libio/tst-bz24153.c (wide): Use wide char format specifier.
1451 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1453 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
1454 __wmemcmp and weak alias to wmemcmp.
1456 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1459 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
1460 TLS_TCB_AT_TP tls variant.
1461 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
1462 Add alignment checks.
1463 * support/Makefile (libsupport-routines): Add xposix_memalign and
1465 * support/support.h: Add xposix_memalign.
1466 * support/xthread.h: Add xpthread_attr_setstack.
1467 * support/xposix_memalign.c: New File.
1468 * support/xpthread_attr_setstack.c: Likewise.
1470 2019-02-05 Florian Weimer <fweimer@redhat.com>
1473 arm: Use "nr" constraint for Systemtap probes, to avoid the
1474 compiler using memory operands for constants, due to the "o"
1475 alternative in the default "nor" constraint.
1476 * include/stap-probe.h [USE_STAP_PROBE]: Include
1477 <stap-probe-machine.h>
1478 * sysdeps/generic/stap-probe-machine.h: New file.
1479 * sysdeps/arm/stap-probe-machine.h: Likewise.
1481 2019-02-04 Joseph Myers <joseph@codesourcery.com>
1483 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
1484 with 0, not tcache->entries[tc_idx].
1486 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
1489 2019-02-04 Andreas Schwab <schwab@suse.de>
1493 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
1494 looking up collating elements match against (wide) character
1495 sequence instead of name. Correct alignment adjustment.
1496 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
1497 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
1498 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
1499 (LOCALES): Add cs_CZ.ISO-8859-2.
1500 * posix/tst-fnmatch4.c: New file.
1501 * posix/tst-fnmatch5.c: New file.
1502 * include/wchar.h (__wmemcmp): Declare.
1503 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
1504 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
1505 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
1506 * sysdeps/s390/wmemcmp.c: Likewise.
1508 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
1512 * NEWS: Updated for CVE-2019-7309.
1513 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
1514 upper 32 bits of RDX register for x32. Use unsigned Jcc
1515 instructions, instead of signed.
1516 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
1517 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
1519 2019-02-04 Florian Weimer <fweimer@redhat.com>
1521 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
1522 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
1523 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
1525 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
1526 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
1527 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
1528 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
1530 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
1532 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
1534 (posix_spawn_file_actions_addopen): Likewise.
1535 (posix_spawn_file_actions_addclose): Likewise.
1536 (posix_spawn_file_actions_adddup2): Likewise.
1537 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
1539 (posix_spawn_file_actions_addfchdir_np): Likewise.
1541 2019-02-04 David Newall <glibc@davidnewall.com>
1543 elf: Implement --preload option for the dynamic linker.
1544 * elf/rtld.c (preloadarg): New variable.
1545 (handle_preload_list): Pass through “where” argument to
1547 (dl_main): Handle "--preload" and add second call to
1548 handle_preload_list.
1549 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
1550 (tst-rtld-preload-OBJS): Set variable.
1551 (tst-rtld-preload.out): New target.
1552 * elf/tst-rtld-preload.sh: New file.
1554 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
1556 * Makefile (testrun.sh): Exit in case of incorrect argument.
1558 2019-02-04 Florian Weimer <fweimer@redhat.com>
1560 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
1563 2019-02-03 Florian Weimer <fweimer@redhat.com>
1565 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
1566 implicit overflow checks.
1568 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
1570 * stdlib/isomac.c: Include <unistd.h>.
1572 2019-02-03 Florian Weimer <fweimer@redhat.com>
1574 * include/time.h (__tzfile_default): Use int, not long int, for
1576 * time/tzfile.c (struct ttinfo): Change type of the offset member
1578 (__tzfile_read): Remove useless cast.
1579 (__tzfile_default): Adjust prototype.
1580 * time/tzset.c (tz_rule): Change type of the offset member to int.
1581 (parse_offset): Change the type of the sign variable to int.
1583 2019-02-03 Florian Weimer <fweimer@redhat.com>
1586 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
1587 * libio/getchar.c (getchar): Likewise.
1588 * libio/getchar_u.c (getchar_unlocked): Likewise.
1589 * libio/getwchar.c (getwchar): Likewise.
1590 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1591 * libio/iogets.c (_IO_gets): Likewise.
1592 * libio/vscanf.c (_IO_vscanf): Likewise.
1593 * libio/vwscanf.c (__vwscanf): Likewise.
1594 * libio/tst-bz24153.c: New file.
1595 * libio/Makefile (tests): Add it.
1597 2019-02-02 Florian Weimer <fweimer@redhat.com>
1600 * manual/resource.texi (Basic Scheduling Functions): Add
1601 portability note. Change process to task throughout the section.
1602 Remove incorrect comment about sched_yield as it affects
1603 tasks/threads, not entire processes.
1604 * sysdeps/unix/sysv/linux/bits/posix_opt.h
1605 (_POSIX_PRIORITY_SCHEDULING): Update comment.
1607 2019-02-01 Joseph Myers <joseph@codesourcery.com>
1609 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
1610 * configure: Regenerated.
1611 * manual/install.texi (Tools for Compilation): Update minimum GCC
1613 * INSTALL: Regenerated.
1615 2019-02-01 Florian Weimer <fweimer@redhat.com>
1617 * support/support_test_compare_string.c
1618 (support_test_compare_string): Use "string" in error message.
1619 * support/tst-test_compare_string.c (do_test): Adjust.
1621 2019-02-01 Florian Weimer <fweimer@redhat.com>
1623 * support/support_format_address_family.c
1624 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
1626 2019-02-01 Florian Weimer <fweimer@redhat.com>
1628 * manual/socket.texi (Internet Address Formats): Clarify the byte
1629 order of struct sockaddr_in, struct sockaddr_in6. Document
1630 sin6_flowinfo and sin6_scope_id.
1632 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
1634 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
1635 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
1636 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
1637 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
1638 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
1639 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
1641 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1643 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
1644 [!MEMCHR](MEMCHR): Set to __memchr.
1645 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1646 Add memchr_generic and memchr_nosimd.
1647 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1648 (__libc_ifunc_impl_list): Add memchr ifuncs.
1649 * sysdeps/aarch64/multiarch/memchr.c: New file.
1650 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
1651 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
1653 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1655 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1657 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
1658 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
1659 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
1660 Add IS_EMAG check for ifunc dispatch.
1661 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
1662 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
1664 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
1666 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
1667 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1669 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
1672 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
1674 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
1676 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
1678 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
1679 syscall-template file.
1681 2019-01-31 Carlos O'Donell <carlos@redhat.com>
1682 Torvald Riegel <triegel@redhat.com>
1683 Rik Prohaska <prohaska7@gmail.com>
1686 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
1687 tst-rwlock-trywrlock-stall.
1688 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1689 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
1690 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
1691 Set __wrphase_fute to 1 only if we started the write phase.
1692 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
1693 * nptl/tst-rwlock-trywrlock-stall.c: New file.
1694 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
1695 * support/xpthread_rwlock_destroy.c: New file.
1696 * support/xthread.h: Declare xpthread_rwlock_destroy.
1698 2019-02-01 Joseph Myers <joseph@codesourcery.com>
1700 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
1703 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1706 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
1707 * libio/fileops.c (_IO_new_file_underflow): Likewise
1708 * libio/wfileops.c (_IO_wfile_underflow): Likewise
1709 * libio/putchar.c (putchar): Likewise.
1710 * libio/putchar_u.c (putchar_unlocked): Likewise.
1711 * libio/putwchar.c (putchar): Likewise.
1712 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
1713 * libio/tst-bz24051.c: New test.
1714 * libio/Makefile (tests): Add tst-bz24051
1716 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
1719 regex: fix read overrun [BZ #24114]
1720 Problem found by AddressSanitizer, reported by Hongxu Chen in:
1721 https://debbugs.gnu.org/34140
1722 * posix/regexec.c (proceed_next_node):
1723 Do not read past end of input buffer.
1725 2019-01-31 Florian Weimer <fweimer@redhat.com>
1728 * nss/nss_files/files-alias.c (get_next_alias): Handle
1729 continuation line without newline at the end.
1730 * nss/tst-nss-files-alias-truncated.c: New file.
1731 * nss/Makefile [$(build-shared)] (tests): Add
1732 tst-nss-files-alias-truncated.
1733 (tst-nss-files-alias-truncated): Link with libnss_files.so.
1734 * support/namespace.h (struct support_chroot_configuration): Add
1736 (struct support_chroot): Add path_aliases member.
1737 * support/support_chroot.c (support_chroot_create): Handle
1739 (support_chroot_free): Free path_aliases.
1741 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
1743 * version.h (RELEASE): Set to "development".
1744 (VERSION): Set to "2.29.9000".
1745 * NEWS: Add section for 2.30.
1747 * version.h (RELEASE): Set to "stable".
1748 (VERSION): Set to "2.29".
1749 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
1751 * NEWS: Add the list of bugs fixed in 2.29.
1752 * manual/contrib.texi: Update contributors list with some more
1754 * manual/install.texi: Update latest versions of packages
1756 * INSTALL: Regenerated.
1758 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
1760 * po/be.po: Update translations.
1761 * po/bg.po: Likewise.
1762 * po/ca.po: Likewise.
1763 * po/cs.po: Likewise.
1764 * po/da.po: Likewise.
1765 * po/de.po: Likewise.
1766 * po/el.po: Likewise.
1767 * po/eo.po: Likewise.
1768 * po/es.po: Likewise.
1769 * po/fi.po: Likewise.
1770 * po/fr.po: Likewise.
1771 * po/gl.po: Likewise.
1772 * po/hr.po: Likewise.
1773 * po/hu.po: Likewise.
1774 * po/ia.po: Likewise.
1775 * po/id.po: Likewise.
1776 * po/it.po: Likewise.
1777 * po/ja.po: Likewise.
1778 * po/ko.po: Likewise.
1779 * po/lt.po: Likewise.
1780 * po/nb.po: Likewise.
1781 * po/nl.po: Likewise.
1782 * po/pl.po: Likewise.
1783 * po/pt_BR.po: Likewise.
1784 * po/ru.po: Likewise.
1785 * po/rw.po: Likewise.
1786 * po/sk.po: Likewise.
1787 * po/sl.po: Likewise.
1788 * po/sv.po: Likewise.
1789 * po/tr.po: Likewise.
1790 * po/uk.po: Likewise.
1791 * po/vi.po: Likewise.
1792 * po/zh_CN.po: Likewise.
1793 * po/zh_TW.po: Likewise.
1795 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
1798 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
1799 of $f3 register on $y_is_neg path.
1801 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
1804 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
1805 sigaltstack.ss_flags.
1807 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
1810 * manual/time.texi (strftime): Document "%Ey".
1811 * time/strftime_l.c (__strftime_internal): Set the default width
1812 padding with zero of "%Ey" to 2.
1815 * manual/time.texi (strftime): Document "%EC" and "%EY".
1816 * time/Makefile (tests): Add tst-strftime2.
1817 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
1818 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
1819 override padding for "%Ey".
1820 If an optional flag ('_' or '-') is specified to "%EY", interpret the
1821 "%Ey" in the subformat as if decorated with that flag.
1822 * time/tst-strftime2.c: New file.
1824 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1826 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
1830 * elf/Makefile (tests): Add tst-audit13.
1831 (modules-names): Add tst-audit13mod1.
1832 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1834 * elf/rtld.c (dl_main): Handle invalid audit module version.
1835 * elf/tst-audit13.c: New file.
1836 * elf/tst-audit13mod1.c: Likewise.
1838 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
1840 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
1841 returned by __hurd_at_flags.
1842 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
1843 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
1844 directly instead of __hurd_file_name_lookup.
1846 2019-01-21 Joseph Myers <joseph@codesourcery.com>
1848 * scripts/build-many-glibcs.py (Context.checkout): Default
1849 binutils version to 2.32 branch.
1851 2019-01-21 Florian Weimer <fweimer@redhat.com>
1855 resolv: Reject trailing characters in host names
1856 * include/arpa/inet.h (__inet_aton_exact): Declare.
1857 (inet_aton): Remove hidden prototype. No longer used internally.
1858 * nscd/gai.c (__inet_aton): Do not define.
1859 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
1860 * nss/digits_dots.c (__inet_aton): Likewise.
1861 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
1862 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
1863 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
1864 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
1865 (tst-resolv-trailing): Likewise.
1866 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
1868 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
1869 Make static. Add endp parameter.
1870 (__inet_aton_exact): New function.
1871 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
1872 (__inet_addr): Call inet_aton_end.
1873 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
1874 not just IPv6. Call __inet_aton_exact.
1875 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
1876 (tests): Make const. Add additional test cases with trailing
1878 (do_test): Use array_length.
1879 * resolv/tst-inet_aton_exact.c: New file.
1880 * resolv/tst-resolv-trailing.c: Likewise.
1881 * resolv/tst-resolv-nondecimal.c: Likewise.
1882 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
1884 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1888 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
1889 Clear the upper 32 bits of RSI register.
1890 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
1891 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
1892 and tst-size_t-wcsnlen.
1893 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
1894 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
1896 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1900 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
1901 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1902 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1903 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
1904 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
1906 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1910 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
1911 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1912 * sysdeps/x86_64/strcmp.S: Likewise.
1913 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
1914 tst-size_t-strncmp and tst-size_t-wcsncmp.
1915 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
1916 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
1917 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
1919 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1923 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
1924 RDX_LP for length. Clear the upper 32 bits of RDX register.
1925 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
1926 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
1927 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
1928 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
1930 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1934 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
1935 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
1936 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
1937 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
1939 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1943 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
1944 length. Clear the upper 32 bits of RDX register.
1945 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1946 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
1948 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1950 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
1952 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
1954 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1958 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
1959 length. Clear the upper 32 bits of RDX register.
1960 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1961 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1962 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
1964 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
1965 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
1967 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1971 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
1972 upper 32 bits of RDX register.
1973 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
1974 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
1976 * sysdeps/x86_64/x32/test-size_t.h: New file.
1977 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
1978 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
1980 2019-01-18 Florian Weimer <fweimer@redhat.com>
1983 resolv: Do not send queries for non-host-names in nss_dns.
1984 * resolv/nss_dns/dns-host.c (check_name): New function.
1985 (_nss_dns_gethostbyname2_r): Use it.
1986 (_nss_dns_gethostbyname_r): Likewise.
1987 (_nss_dns_gethostbyname4_r): Likewise.
1989 2019-01-21 Florian Weimer <fweimer@redhat.com>
1991 * resolv/inet_addr.c: Reformat to GNU style.
1992 (__inet_addr, __inet_aton): Update comment.
1994 2019-01-18 Florian Weimer <fweimer@redhat.com>
1996 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
1997 ("malloc: Use current (C11-style) atomics for fastbin access").
1998 This commit introduces a substantial performance regression on
2000 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
2001 (REMOVE_FB): Define.
2002 (_int_malloc): Use it and reindent.
2003 (_int_free): Use CAS loop with
2004 catomic_compare_and_exchange_val_rel.
2005 (malloc_consolidate): Use atomic_exchange_acq.
2008 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
2010 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
2012 (LDFLAGS-tst-minsigstksz-2): Likewise.
2013 (LDFLAGS-tst-minsigstksz-3): Likewise.
2014 (LDFLAGS-tst-minsigstksz-3a): Likewise.
2015 (LDFLAGS-tst-minsigstksz-4): Likewise.
2017 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
2019 * manual/time.texi (strftime): Fix the wording to "alternative" rather
2022 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
2024 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
2026 2019-01-16 Zack Weinberg <zackw@panix.com>
2028 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
2029 (xget_sigstack_location): New test support functions.
2030 * support/xsigstack.c: New file, implementing them.
2031 * support/tst-xsigstack.c: New test for them.
2032 * support/Makefile: Update.
2034 * signal/tst-minsigstksz-1.c
2035 * signal/tst-minsigstksz-2.c
2036 * signal/tst-minsigstksz-3.c
2037 * signal/tst-minsigstksz-3a.c
2038 * signal/tst-minsigstksz-4.c: New tests.
2039 * signal/Makefile: Run them.
2041 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
2043 * po/libc.pot: Regenerate.
2045 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2047 * math/libm-test-fma.inc (fma_test_data): Set
2048 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
2050 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2052 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
2053 (do_test): Changed __vector __int128_t to __vector unsigned int.
2055 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2057 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2058 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
2059 stpcpy-avx2 and stpncpy-avx2.
2060 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
2061 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
2062 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
2064 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
2065 ifunc-strcpy.h}: rename header for a more generic name.
2066 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
2067 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
2068 AVX unaligned load is fast and vzeroupper is preferred.
2069 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
2070 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
2071 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
2072 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
2073 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
2074 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
2076 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
2078 * argp/argp-help.c: Fix typo in comment.
2079 * misc/sys/cdefs.h: Likewise.
2080 * posix/regexec.c (sift_states_iter_mb): Likewise.
2081 * socket/sockatmark.c: Likewise.
2082 * socket/sys/socket.h: Likewise.
2083 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
2084 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
2085 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
2086 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2087 * sysdeps/unix/sockatmark.c: Likewise.
2088 * time/strptime_l.c: Likewise.
2090 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2092 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
2093 missing space after the cast of "_NL_CURRENT".
2095 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2097 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
2098 ifdef to fix read of VSCR.
2099 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
2100 tst-ucontext-ppc64-vscr.c to test list.
2101 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
2103 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
2105 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
2108 2019-01-09 Jim Wilson <jimw@sifive.com>
2110 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
2112 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
2114 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
2115 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
2116 __memcpy_falkor for ares.
2117 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
2119 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2122 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
2125 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
2126 4_FP_W_TYPEs are used for IEEE quad precision.
2127 * soft-fp/extendhftf2.c: Likewise.
2128 * soft-fp/extendsftf2.c: Likewise.
2129 * soft-fp/extendxftf2.c: Likewise.
2130 * soft-fp/trunctfdf2.c: Likewise.
2131 * soft-fp/trunctfhf2.c: Likewise.
2132 * soft-fp/trunctfsf2.c: Likewise.
2133 * soft-fp/trunctfxf2.c: Likewise.
2134 * sysdeps/alpha/ots_cvttx.c: Likewise.
2135 * sysdeps/alpha/ots_cvtxt.c: Likewise.
2136 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
2137 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
2138 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
2139 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
2140 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
2141 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
2142 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
2143 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
2144 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
2145 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
2146 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
2147 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
2148 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
2149 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
2150 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
2151 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
2153 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2156 * Makeconfig: Build libm with -fno-math-errno but build the remaining
2157 code with -fmath-errno.
2158 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
2159 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
2160 * string/test-strerror-errno.c: New file.
2162 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2165 * localedata/locales/en_US (date_fmt): Add, set to
2166 "%a %d %b %Y %r %Z".
2168 2019-01-07 Florian Weimer <fweimer@redhat.com>
2171 * manual/arith.texi (Math Error Reporting): Use @code{errno}
2172 instead of @var{errno}.
2173 (Parsing of Integers): Likewise.
2174 (Parsing of Floats): Likewise.
2175 * manual/filesys.texi (Working with Directory Trees): Likewise.
2176 (Temporary Files): Likewise.
2177 * manual/job.texi (Terminal Access Functions): Likewise.
2178 * manual/llio.texi (Synchronizing I/O): Likewise.
2179 * manual/math.texi (SVID Random): Likewise.
2180 * manual/message.texi (The catgets Functions): Likewise.
2181 (Translation with gettext): Likewise.
2182 (Locating gettext catalog): Likewise.
2183 (Charset conversion in gettext): Likewise.
2184 * manual/nss.texi (NSS Module Function Internals): Likewise.
2185 * manual/search.texi (Hash Search Function): Likewise.
2186 * manual/setjmp.texi (System V contexts): Likewise.
2187 * manual/time.texi (Sleeping): Likewise.
2188 * manual/users.texi (Lookup User): Likewise.
2189 (Lookup Group): Likewise.
2191 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2193 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
2196 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
2199 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
2200 __builtin_unreachable for default case in switch.
2201 (__ieee754_yn): Likewise.
2202 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2203 (__ieee754_ynl): Likewise.
2204 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2205 (__ieee754_ynl): Likewise.
2206 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2207 (__ieee754_ynl): Likewise.
2209 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2211 * manual/maint.texi: Use @{ and @}.
2213 2019-01-04 Florian Weimer <fweimer@redhat.com>
2215 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
2217 (do_in_chroot_1): Call it.
2219 Improve error reporting in case it is not possible to create a
2220 collision for the PTY name required by the test.
2222 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2224 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
2225 lll_wait_tid with timeout.
2226 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
2227 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
2228 futex_reltimed_wait_cancelable for cancelabla mode.
2229 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
2230 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
2232 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
2233 * sysdeps/posix/waitid.c (__sigwait): Likewise.
2234 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
2235 SYSCALL_CANCEL_NCS): New macro.
2236 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
2237 (lll_timedwait_tid): Remove macro.
2238 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
2240 (lll_timedwait_tid): Likewise.
2241 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
2243 (lll_timedwait_tid): Likewise.
2244 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
2246 (lll_timedwait_tid): Likewise.
2247 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
2248 Use INTERNAL_SYSCALL_CANCEL.
2249 * sysdeps/unix/sysv/linux/futex-internal.h
2250 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
2251 instead of __pthread_{enable,disable}_asynccancel.
2252 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
2253 (lll_futex_wait_cancel): New macro.
2255 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
2256 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
2258 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
2259 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
2261 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
2262 in backtrace analysis.
2263 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
2265 (tf_send): Likewise.
2267 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
2268 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
2269 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
2270 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
2271 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
2272 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
2273 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
2274 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
2275 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
2276 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
2277 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
2278 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
2280 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
2281 tst-cancel-wrappers.sh.
2282 (generated): Remove tst-cancel-wrappers.out.
2283 (tst-cancel-wrappers.out): Remove rule.
2284 * nptl/tst-cancel-wrappers.sh: Remove file.
2286 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
2288 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
2289 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
2292 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2295 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
2296 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
2297 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
2298 close-on-exec reset for adddup2 file action.
2299 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
2301 2019-01-03 Zack Weinberg <zackw@panix.com>
2303 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
2304 parameter. Only use deprecated scanf when __USE_GNU is defined
2305 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
2306 than 201103L, whichever is relevant for the language being compiled.
2308 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
2309 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
2310 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
2311 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
2312 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
2316 * libio/iovswscanf.c
2321 * stdio-common/fscanf.c
2322 * stdio-common/scanf.c
2323 * stdio-common/vfscanf.c
2324 * stdio-common/vfwscanf.c
2325 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2326 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
2327 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
2328 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
2329 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
2330 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
2331 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
2332 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
2333 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
2334 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
2335 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
2336 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
2337 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
2338 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
2339 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
2341 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
2342 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
2343 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
2345 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
2346 with a preprocessor macro.
2348 * stdio-common/bug21.c, stdio-common/scanf14.c:
2349 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
2350 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2351 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
2352 to xscanf, xfscanf, xsscanf.
2354 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
2355 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2356 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
2357 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
2359 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
2360 override feature selection macros or provide definitions of u_char etc.
2361 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
2362 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
2363 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
2366 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2368 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2369 bits/termios-misc.h.
2370 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
2371 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2372 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2373 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2374 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
2375 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
2377 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
2378 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2379 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
2380 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
2381 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
2382 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
2384 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
2385 (sysdep_headers): Add termios-misc.h.
2387 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
2388 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2389 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2391 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2393 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
2394 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
2395 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
2396 TCSAFLUSH): Move to termios-tcflow.h.
2397 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2398 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2399 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2400 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2402 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2404 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
2405 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
2406 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
2407 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
2408 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
2409 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
2410 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
2411 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
2413 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2414 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2415 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2416 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2418 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2420 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
2421 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
2422 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
2423 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
2424 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
2426 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2427 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2428 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2429 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2432 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2434 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
2435 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
2436 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
2437 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
2438 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
2439 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
2440 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
2441 __MAX_BAUD): Move to termios-baud.h.
2442 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
2443 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
2444 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2445 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2446 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2448 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2450 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
2451 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
2452 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
2453 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
2454 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
2455 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
2457 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
2458 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
2460 [USE_MISC] (XTABS): Likewise.
2461 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2462 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2463 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2464 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
2466 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2468 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
2469 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
2470 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
2471 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
2472 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
2473 IUTF8): Move to termios-c_iflag.h.
2474 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2475 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2476 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2477 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2479 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
2481 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
2482 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
2483 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
2484 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
2485 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
2486 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
2487 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
2488 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
2489 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2490 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2491 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2492 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2494 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
2495 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
2496 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
2497 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
2498 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2500 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
2502 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
2504 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
2506 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
2508 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
2510 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
2511 _HAVE_C_OSPEED): Define.
2512 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
2513 _HAVE_C_OSPEED): Likewise.
2514 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
2515 _HAVE_C_OSPEED): Likewise.
2516 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
2517 (cfsetospeed): Check for define value instead of existence.
2518 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
2519 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2520 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
2521 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
2522 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
2525 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
2527 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2528 (TIOCSER_TEMT): Likewise.
2529 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
2530 (TEOCSER_TEMT): Likewise.
2532 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
2535 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
2537 2019-01-02 Joseph Myers <joseph@codesourcery.com>
2539 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
2541 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2543 * sysdeps/htl/pt-barrierattr-setpshared.c
2544 (pthread_barrierattr_setpshared): Add stub warning.
2545 * sysdeps/htl/pt-condattr-setpshared.c
2546 (pthread_condattr_setpshared): Likewise.
2547 * sysdeps/htl/pt-mutexattr-setpshared.c
2548 (pthread_mutexattr_setpshared): Likewise.
2549 * sysdeps/htl/pt-rwlockattr-setpshared.c
2550 (pthread_rwlockattr_setpshared): Likewise.
2551 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
2552 (pthread_mutexattr_setpshared): Likewise.
2554 2019-01-02 Joseph Myers <joseph@codesourcery.com>
2556 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
2557 constants to match with Linux 4.20.
2559 * sysdeps/mips/mips32/libm-test-ulps: Update.
2560 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2562 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
2565 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
2566 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
2567 than __typeof (...) for the a_ptr variable.
2569 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2571 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
2572 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
2573 * libio/Makefile (tests): Add tst-sprintf-ub and
2575 (CFLAGS-tst-sprintf-ub.c): New variable.
2576 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
2577 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
2578 destination buffer and check for overflows in fortified mode.
2579 * libio/libioP.h (PRINTF_CHK): New macro.
2580 * libio/tst-sprintf-chk-ub.c: New file.
2581 * libio/tst-sprintf-ub.c: Likewise.
2583 2019-01-02 Florian Weimer <fweimer@redhat.com>
2586 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
2589 2019-01-02 Florian Weimer <fweimer@redhat.com>
2591 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
2593 2019-01-01 Joseph Myers <joseph@codesourcery.com>
2595 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
2598 * sysdeps/unix/sysv/linux/netpacket/packet.h
2599 (PACKET_IGNORE_OUTGOING): New macro.
2601 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
2604 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2606 (riscv_flush_icache): New syscall.
2608 * manual/texinfo.tex: Update to version 2018-12-28.17 with
2609 trailing whitespace removed.
2610 * scripts/config.guess: Update to version 2019-01-01.
2611 * scripts/config.sub: Update to version 2019-01-01.
2612 * scripts/move-if-change: Update from gnulib.
2614 * NEWS: Update copyright dates.
2615 * catgets/gencat.c (print_version): Likewise.
2616 * csu/version.c (banner): Likewise.
2617 * debug/catchsegv.sh: Likewise.
2618 * debug/pcprofiledump.c (print_version): Likewise.
2619 * debug/xtrace.sh (do_version): Likewise.
2620 * elf/ldconfig.c (print_version): Likewise.
2621 * elf/ldd.bash.in: Likewise.
2622 * elf/pldd.c (print_version): Likewise.
2623 * elf/sotruss.sh: Likewise.
2624 * elf/sprof.c (print_version): Likewise.
2625 * iconv/iconv_prog.c (print_version): Likewise.
2626 * iconv/iconvconfig.c (print_version): Likewise.
2627 * locale/programs/locale.c (print_version): Likewise.
2628 * locale/programs/localedef.c (print_version): Likewise.
2629 * login/programs/pt_chown.c (print_version): Likewise.
2630 * malloc/memusage.sh (do_version): Likewise.
2631 * malloc/memusagestat.c (print_version): Likewise.
2632 * malloc/mtrace.pl: Likewise.
2633 * manual/libc.texinfo: Likewise.
2634 * nptl/version.c (banner): Likewise.
2635 * nscd/nscd.c (print_version): Likewise.
2636 * nss/getent.c (print_version): Likewise.
2637 * nss/makedb.c (print_version): Likewise.
2638 * posix/getconf.c (main): Likewise.
2639 * scripts/test-installation.pl: Likewise.
2640 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2642 * All files with FSF copyright notices: Update copyright dates
2643 using scripts/update-copyrights.
2644 * locale/programs/charmap-kw.h: Regenerated.
2645 * locale/programs/locfile-kw.h: Likewise.
2647 2018-12-31 Joseph Myers <joseph@codesourcery.com>
2649 * timezone/zdump.c: Update from tzcode 2018i.
2650 * timezone/zic.c: Likewise.
2652 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
2654 regex: improve Gnulib port to AIX
2655 From the glibc point of view, this removes duplicate macro
2656 definitions and is obviously safe.
2657 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
2658 * posix/regex_internal.h:
2659 (__attribute__, __attribute_warn_unused_result__):
2660 Remove; already defined elsewhere.
2662 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
2665 * malloc/malloc.c (_int_realloc): Always call memcpy for the
2666 copying operation. (ncopies had the wrong type, resulting in an
2667 integer wraparound and too few elements being copied.)
2669 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
2672 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
2673 <asm/syscalls.h> exists with __has_include__ before including it.
2675 2018-12-31 Joseph Myers <joseph@codesourcery.com>
2677 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2680 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
2682 * hurd/lookup-retry: Include <unistd.h>.
2683 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
2684 Release it on return. Handle "pid" magical lookup retry.
2686 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2689 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
2690 (t_fmt_ampm): Likewise.
2691 * localedata/locales/aa_ER (t_fmt): Likewise.
2692 (t_fmt_ampm): Likewise.
2693 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
2694 (t_fmt_ampm): Likewise.
2695 * localedata/locales/aa_ET (t_fmt): Likewise.
2696 (t_fmt_ampm): Likewise.
2697 * localedata/locales/am_ET (t_fmt): Likewise.
2698 (t_fmt_ampm): Likewise.
2699 * localedata/locales/byn_ER (t_fmt): Likewise.
2700 (t_fmt_ampm): Likewise.
2701 * localedata/locales/om_ET (t_fmt): Likewise.
2702 (t_fmt_ampm): Likewise.
2703 * localedata/locales/sid_ET (t_fmt): Likewise.
2704 (t_fmt_ampm): Likewise.
2705 * localedata/locales/so_DJ (t_fmt): Likewise.
2706 (t_fmt_ampm): Likewise.
2707 * localedata/locales/so_ET (t_fmt): Likewise.
2708 (t_fmt_ampm): Likewise.
2709 * localedata/locales/so_SO (t_fmt): Likewise.
2710 (t_fmt_ampm): Likewise.
2711 * localedata/locales/ti_ER (t_fmt): Likewise.
2712 (t_fmt_ampm): Likewise.
2713 * localedata/locales/ti_ET (t_fmt): Likewise.
2714 (t_fmt_ampm): Likewise.
2715 * localedata/locales/tig_ER (t_fmt): Likewise.
2716 (t_fmt_ampm): Likewise.
2717 * localedata/locales/wal_ET (t_fmt): Likewise.
2718 (t_fmt_ampm): Likewise.
2720 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
2721 * localedata/locales/ar_IN (t_fmt): Likewise.
2722 * localedata/locales/bhb_IN (t_fmt): Likewise.
2723 * localedata/locales/bho_IN (t_fmt): Likewise.
2724 * localedata/locales/bi_VU (t_fmt): Likewise.
2725 * localedata/locales/bn_BD (t_fmt): Likewise.
2726 * localedata/locales/bn_IN (t_fmt): Likewise.
2727 * localedata/locales/brx_IN (t_fmt): Likewise.
2728 * localedata/locales/doi_IN (t_fmt): Likewise.
2729 * localedata/locales/en_HK (t_fmt): Likewise.
2730 (t_fmt_ampm): Likewise.
2731 * localedata/locales/en_IN (t_fmt): Likewise.
2732 * localedata/locales/en_PH (t_fmt): Likewise.
2733 * localedata/locales/gu_IN (t_fmt): Likewise.
2734 * localedata/locales/hi_IN (t_fmt): Likewise.
2735 * localedata/locales/hif_FJ (t_fmt): Likewise.
2736 * localedata/locales/hne_IN (t_fmt): Likewise.
2737 * localedata/locales/kn_IN (t_fmt): Likewise.
2738 * localedata/locales/kok_IN (t_fmt): Likewise.
2739 * localedata/locales/ks_IN (t_fmt): Likewise.
2740 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
2741 * localedata/locales/mag_IN (t_fmt): Likewise.
2742 * localedata/locales/mai_IN (t_fmt): Likewise.
2743 * localedata/locales/mjw_IN (t_fmt): Likewise.
2744 * localedata/locales/ml_IN (t_fmt): Likewise.
2745 * localedata/locales/mni_IN (t_fmt): Likewise.
2746 * localedata/locales/mr_IN (t_fmt): Likewise.
2747 * localedata/locales/ms_MY (t_fmt): Likewise.
2748 * localedata/locales/pa_IN (t_fmt): Likewise.
2749 * localedata/locales/raj_IN (t_fmt): Likewise.
2750 * localedata/locales/sa_IN (t_fmt): Likewise.
2751 * localedata/locales/sat_IN (t_fmt): Likewise.
2752 * localedata/locales/sd_IN (t_fmt): Likewise.
2753 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
2754 * localedata/locales/tcy_IN (t_fmt): Likewise.
2755 * localedata/locales/the_NP (t_fmt): Likewise.
2756 * localedata/locales/to_TO (t_fmt): Likewise.
2757 * localedata/locales/ur_IN (t_fmt): Likewise.
2759 * localedata/locales/hif_FJ (d_t_fmt): Set to
2760 "%A %d %b %Y %I:%M:%S %p".
2761 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
2763 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
2764 * localedata/locales/ar_BH (t_fmt): Likewise.
2765 * localedata/locales/ar_DZ (t_fmt): Likewise.
2766 * localedata/locales/ar_EG (t_fmt): Likewise.
2767 * localedata/locales/ar_IQ (t_fmt): Likewise.
2768 * localedata/locales/ar_JO (t_fmt): Likewise.
2769 * localedata/locales/ar_KW (t_fmt): Likewise.
2770 * localedata/locales/ar_LB (t_fmt): Likewise.
2771 * localedata/locales/ar_LY (t_fmt): Likewise.
2772 * localedata/locales/ar_OM (t_fmt): Likewise.
2773 * localedata/locales/ar_QA (t_fmt): Likewise.
2774 * localedata/locales/ar_SD (t_fmt): Likewise.
2775 * localedata/locales/ar_SS (t_fmt): Likewise.
2776 * localedata/locales/ar_SY (t_fmt): Likewise.
2777 * localedata/locales/ar_TN (t_fmt): Likewise.
2778 * localedata/locales/ar_YE (t_fmt): Likewise.
2780 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
2781 (t_fmt_ampm): Likewise.
2782 * localedata/locales/gez_ET (t_fmt): Likewise.
2783 (t_fmt_ampm): Likewise.
2785 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
2786 (t_fmt_ampm): Likewise.
2787 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
2789 * localedata/locales/zh_HK (t_fmt):
2790 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
2792 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
2793 because this locale does not use the 12-hour clock.
2794 (t_fmt): Set to "%Z %H:%M:%S".
2795 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
2797 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
2798 because this locale does not use the 12-hour clock.
2799 (t_fmt): Set to "%H:%M:%S %Z".
2800 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
2802 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
2803 because this locale does not use the 12-hour clock.
2804 (t_fmt): Set to "%T".
2805 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
2806 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
2808 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
2809 because this locale does not use the 12-hour clock.
2810 (t_fmt): Set to "%H:%M:%S %Z".
2811 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
2813 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
2814 because this locale does not use the 12-hour clock.
2815 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
2816 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
2818 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2822 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
2823 (t_fmt_ampm): Likewise.
2824 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
2825 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
2826 (d_fmt): Set to "%-d.%-m.%y".
2828 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2830 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
2831 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
2832 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
2834 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
2835 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
2836 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
2838 * support/blob_repeat.c (check_mul_overflow_size_t,
2839 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
2841 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
2843 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
2845 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
2847 regex: simplify Gnulib port
2848 This simplifies the code, by removing stuff intended for porting
2849 to Gnulib but no longer needed there.
2850 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
2851 uses of libc_hidden_def, weak_alias.
2852 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
2853 _Restrict_ except for public-facing headers.
2854 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
2855 Remove; already defined elsewhere.
2856 * posix/regex.c, posix/regex_internal.h:
2857 Use __GNUC_PREREQ instead of rolling our own.
2858 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
2860 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
2862 * benchtests/bench-strlen.c (generic_strlen): New function.
2863 (memchr_strlen): New function.
2865 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2867 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
2868 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
2869 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
2871 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2873 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2875 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2877 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
2878 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
2879 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
2880 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
2881 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
2882 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
2883 <sysdeps/ieee754/flt-32/s_sincosf.c>.
2885 2018-12-21 Joseph Myers <joseph@codesourcery.com>
2888 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
2889 PLT reference in libc.so.
2890 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
2891 _Q_lltoq and _Q_qtod PLT references in libc.so.
2893 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
2895 * benchtests/bench-memchr.c: Cleanup defines.
2896 * benchtests/bench-memcmp.c: Likewise.
2897 * benchtests/bench-memset.c: Likewise.
2898 * benchtests/bench-memset-large.c: Likewise.
2899 * benchtests/bench-memset-walk.c: Likewise.
2900 * benchtests/bench-stpcpy.c: Likewise.
2901 * benchtests/bench-stpncpy.c: Likewise.
2902 * benchtests/bench-strcat.c: Likewise.
2903 * benchtests/bench-strchr.c: Likewise.
2904 * benchtests/bench-strcmp.c: Likewise.
2905 * benchtests/bench-strcpy.c: Likewise.
2906 * benchtests/bench-strcspn.c: Likewise.
2907 * benchtests/bench-string.h: Likewise.
2908 * benchtests/bench-strlen.c: Likewise.
2909 * benchtests/bench-strncat.c: Likewise.
2910 * benchtests/bench-strncmp.c: Likewise.
2911 * benchtests/bench-strncpy.c: Likewise.
2912 * benchtests/bench-strnlen.c: Likewise.
2913 * benchtests/bench-strpbrk.c: Likewise.
2914 * benchtests/bench-strrchr.c: Likewise.
2915 * benchtests/bench-strspn.c: Likewise.
2917 2018-12-21 Joseph Myers <joseph@codesourcery.com>
2919 * stdlib/longlong.h: Update from GCC.
2922 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
2923 * configure: Regenerated.
2924 * manual/install.texi (Tools for Compilation): Update minimum GCC
2926 * INSTALL: Regenerated.
2928 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
2930 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
2932 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
2934 * malloc/malloc.c (mremap_chunk): Additional checks.
2936 2018-12-21 Mao Han <han_mao@c-sky.com>
2938 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
2939 * scripts/build-many-glibcs.py: Add C-SKY targets.
2940 * sysdeps/csky/Implies: New file.
2941 * sysdeps/csky/Makefile: Likewise.
2942 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
2943 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
2944 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
2945 * sysdeps/csky/abiv2/memcmp.S: Likewise.
2946 * sysdeps/csky/abiv2/memcpy.S: Likewise.
2947 * sysdeps/csky/abiv2/memmove.S: Likewise.
2948 * sysdeps/csky/abiv2/memset.S: Likewise.
2949 * sysdeps/csky/abiv2/setjmp.S: Likewise.
2950 * sysdeps/csky/abiv2/start.S: Likewise.
2951 * sysdeps/csky/abiv2/strcmp.S: Likewise.
2952 * sysdeps/csky/abiv2/strcpy.S: Likewise.
2953 * sysdeps/csky/abiv2/strlen.S: Likewise.
2954 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
2955 * sysdeps/csky/abort-instr.h: Likewise.
2956 * sysdeps/csky/atomic-machine.h: Likewise.
2957 * sysdeps/csky/bits/endian.h: Likewise.
2958 * sysdeps/csky/bits/fenv.h: Likewise.
2959 * sysdeps/csky/bits/link.h: Likewise.
2960 * sysdeps/csky/bits/setjmp.h: Likewise.
2961 * sysdeps/csky/bsd-_setjmp.S: Likewise.
2962 * sysdeps/csky/bsd-setjmp.S: Likewise.
2963 * sysdeps/csky/configure: Likewise.
2964 * sysdeps/csky/configure.ac: Likewise.
2965 * sysdeps/csky/dl-machine.h: Likewise.
2966 * sysdeps/csky/dl-procinfo.c: Likewise.
2967 * sysdeps/csky/dl-procinfo.h: Likewise.
2968 * sysdeps/csky/dl-sysdep.h: Likewise.
2969 * sysdeps/csky/dl-tls.h: Likewise.
2970 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
2971 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
2972 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
2973 * sysdeps/csky/fpu/fegetenv.c: Likewise.
2974 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
2975 * sysdeps/csky/fpu/fegetmode.c: Likewise.
2976 * sysdeps/csky/fpu/fegetround.c: Likewise.
2977 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
2978 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
2979 * sysdeps/csky/fpu/fenv_private.h: Likewise.
2980 * sysdeps/csky/fpu/fesetenv.c: Likewise.
2981 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
2982 * sysdeps/csky/fpu/fesetmode.c: Likewise.
2983 * sysdeps/csky/fpu/fesetround.c: Likewise.
2984 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
2985 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
2986 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
2987 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
2988 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
2989 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
2990 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
2991 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
2992 * sysdeps/csky/fpu_control.h: Likewise.
2993 * sysdeps/csky/gccframe.h: Likewise.
2994 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
2995 * sysdeps/csky/ldsodefs.h: Likewise.
2996 * sysdeps/csky/libc-tls.c: Likewise.
2997 * sysdeps/csky/linkmap.h: Likewise.
2998 * sysdeps/csky/machine-gmon.h: Likewise.
2999 * sysdeps/csky/memusage.h: Likewise.
3000 * sysdeps/csky/nofpu/Implies: Likewise.
3001 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
3002 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
3003 * sysdeps/csky/nptl/Makefile: Likewise.
3004 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
3005 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
3006 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
3007 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
3008 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
3009 * sysdeps/csky/nptl/tls.h: Likewise.
3010 * sysdeps/csky/preconfigure: Likewise.
3011 * sysdeps/csky/sfp-machine.h: Likewise.
3012 * sysdeps/csky/sotruss-lib.c: Likewise.
3013 * sysdeps/csky/stackinfo.h: Likewise.
3014 * sysdeps/csky/sysdep.h: Likewise.
3015 * sysdeps/csky/tininess.h: Likewise.
3016 * sysdeps/csky/tst-audit.h: Likewise.
3017 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
3018 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
3019 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
3020 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
3021 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
3022 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
3023 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
3024 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
3025 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
3026 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
3027 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
3028 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
3029 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
3030 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
3031 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
3032 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
3033 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
3034 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
3035 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
3036 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
3037 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
3038 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
3039 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
3040 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
3041 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
3042 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
3043 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
3044 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
3045 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
3046 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
3047 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
3048 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
3049 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
3050 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
3051 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
3052 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
3053 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
3054 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
3055 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
3056 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
3057 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
3058 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
3059 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
3060 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
3062 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
3064 * include/time.h (__difftime64): Add.
3065 * time/difftime.c (subtract): convert to 64-bit time.
3066 * time/difftime.c (__difftime64): Add.
3067 * time/difftime.c (__difftime): Wrap around __difftime64.
3069 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
3071 * manual/examples/add.c: Remove redundant "if not".
3072 * manual/examples/argp-ex1.c: Likewise.
3073 * manual/examples/argp-ex2.c: Likewise.
3074 * manual/examples/argp-ex3.c: Likewise.
3075 * manual/examples/argp-ex4.c: Likewise.
3076 * manual/examples/atexit.c: Likewise.
3077 * manual/examples/db.c: Likewise.
3078 * manual/examples/dir.c: Likewise.
3079 * manual/examples/dir2.c: Likewise.
3080 * manual/examples/execinfo.c: Likewise.
3081 * manual/examples/filecli.c: Likewise.
3082 * manual/examples/filesrv.c: Likewise.
3083 * manual/examples/fmtmsgexpl.c: Likewise.
3084 * manual/examples/genpass.c: Likewise.
3085 * manual/examples/inetcli.c: Likewise.
3086 * manual/examples/inetsrv.c: Likewise.
3087 * manual/examples/isockad.c: Likewise.
3088 * manual/examples/longopt.c: Likewise.
3089 * manual/examples/memopen.c: Likewise.
3090 * manual/examples/memstrm.c: Likewise.
3091 * manual/examples/mkdirent.c: Likewise.
3092 * manual/examples/mkfsock.c: Likewise.
3093 * manual/examples/mkisock.c: Likewise.
3094 * manual/examples/mygetpass.c: Likewise.
3095 * manual/examples/pipe.c: Likewise.
3096 * manual/examples/popen.c: Likewise.
3097 * manual/examples/rprintf.c: Likewise.
3098 * manual/examples/search.c: Likewise.
3099 * manual/examples/select.c: Likewise.
3100 * manual/examples/setjmp.c: Likewise.
3101 * manual/examples/sigh1.c: Likewise.
3102 * manual/examples/sigusr.c: Likewise.
3103 * manual/examples/stpcpy.c: Likewise.
3104 * manual/examples/strdupa.c: Likewise.
3105 * manual/examples/strftim.c: Likewise.
3106 * manual/examples/subopt.c: Likewise.
3107 * manual/examples/swapcontext.c: Likewise.
3108 * manual/examples/termios.c: Likewise.
3109 * manual/examples/testopt.c: Likewise.
3110 * manual/examples/testpass.c: Likewise.
3111 * manual/examples/timeval_subtract.c: Likewise.
3113 2018-12-19 Joseph Myers <joseph@codesourcery.com>
3115 * sysdeps/x86/fpu/math_private.h: New file.
3116 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
3118 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
3123 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3125 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
3126 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
3127 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
3128 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
3130 (_dl_show_auxv): Give a special treatment to
3131 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
3132 and AT_L3_CACHEGEOMETRY.
3133 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
3134 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
3135 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
3136 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
3138 2018-12-19 Andreas Schwab <schwab@suse.de>
3140 * nscd/connections.c (check_use): Don't abort on invalid len.
3142 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
3144 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
3145 values in the 64bit value cases.
3147 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
3153 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
3159 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
3162 (__gmtime64_r): Add.
3164 (__gmtime64_r): Add.
3165 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3171 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3174 (__localtime64_r): Add.
3176 (__localtime64_r): Add.
3177 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
3179 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3181 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
3182 kernel_sigction definition.
3184 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
3186 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
3188 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
3189 __syscall_rt_sigaction.
3190 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
3191 (kernel_sigaction): Use Linux generic defintion.
3193 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
3194 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
3195 (__syscall_rt_sigaction): Remove implementation.
3196 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
3198 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
3199 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
3200 INTERNAL_SYSCALL): Remove definitions.
3201 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
3202 action and signal set size.
3203 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
3204 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
3206 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3207 James Clarke <jrtc27@jrtc27.com>
3210 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
3211 Define if SA_RESTORER is defined.
3212 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
3213 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
3215 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
3216 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
3218 (HAS_SA_RESTORER): Define.
3219 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
3220 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
3221 (HAS_SA_RESTORER): Define.
3222 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
3223 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
3224 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
3225 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
3226 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3228 2018-12-18 Joseph Myers <joseph@codesourcery.com>
3230 * sysdeps/unix/sysv/linux/kernel-features.h
3231 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
3232 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3233 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
3234 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3235 (__ASSUME_ST_INO_64_BIT): Likewise.
3236 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3237 <kernel-features.h>.
3238 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3239 Remove conditional code.
3240 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3241 <kernel-features.h>.
3242 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3243 Remove conditional code.
3244 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
3245 <kernel-features.h>.
3246 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3247 Remove conditional code.
3248 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
3249 <kernel-features.h>.
3250 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
3251 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
3253 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3255 * sysdeps/s390/multiarch/ifunc-resolve.h
3256 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
3257 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
3258 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
3259 Delete macro definition.
3260 (s390_libc_ifunc_init): Rename to
3261 s390_libc_ifunc_expr_stfle_init.
3262 * sysdeps/s390/bzero: Use
3263 s390_libc_ifunc_expr_stfle_init instead of
3264 s390_libc_ifunc_init.
3265 * sysdeps/s390/memcmp.c: Likewise.
3266 * sysdeps/s390/memcpy.c: Likewise.
3267 * sysdeps/s390/mempcpy.c: Likewise.
3268 * sysdeps/s390/memset.c: Likewise.
3270 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3272 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
3273 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
3275 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3277 * sysdeps/s390/multiarch/Makefile
3278 (sysdep_routines): Remove wmemcmp variants.
3279 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
3280 * sysdeps/s390/multiarch/ifunc-impl-list.c
3281 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
3282 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
3283 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
3284 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
3285 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
3286 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
3287 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
3288 * sysdeps/s390/ifunc-wmemcmp.h: New file.
3290 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3292 * sysdeps/s390/multiarch/Makefile
3293 (sysdep_routines): Remove wmemset variants.
3294 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
3295 * sysdeps/s390/multiarch/ifunc-impl-list.c
3296 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
3297 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
3298 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
3299 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
3300 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
3301 * sysdeps/s390/multiarch/wmemset.c: Move to ...
3302 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
3303 * sysdeps/s390/ifunc-wmemset.h: New file.
3305 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3307 * sysdeps/s390/multiarch/Makefile
3308 (sysdep_routines): Remove wmemchr variants.
3309 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
3310 * sysdeps/s390/multiarch/ifunc-impl-list.c
3311 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
3312 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
3313 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
3314 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
3315 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
3316 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
3317 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
3318 * sysdeps/s390/ifunc-wmemchr.h: New file.
3320 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3322 * sysdeps/s390/multiarch/Makefile
3323 (sysdep_routines): Remove wcscspn variants.
3324 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
3325 * sysdeps/s390/multiarch/ifunc-impl-list.c
3326 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
3327 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
3328 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
3329 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
3330 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
3331 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
3332 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
3333 * sysdeps/s390/ifunc-wcscspn.h: New file.
3335 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3337 * sysdeps/s390/multiarch/Makefile
3338 (sysdep_routines): Remove wcspbrk variants.
3339 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
3340 * sysdeps/s390/multiarch/ifunc-impl-list.c
3341 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
3342 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
3343 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
3344 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
3345 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
3346 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
3347 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
3348 * sysdeps/s390/ifunc-wcspbrk.h: New file.
3350 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3352 * sysdeps/s390/multiarch/Makefile
3353 (sysdep_routines): Remove wcsspn variants.
3354 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
3355 * sysdeps/s390/multiarch/ifunc-impl-list.c
3356 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
3357 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
3358 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
3359 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
3360 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
3361 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
3362 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
3363 * sysdeps/s390/ifunc-wcsspn.h: New file.
3365 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3367 * sysdeps/s390/multiarch/Makefile
3368 (sysdep_routines): Remove wcsrchr variants.
3369 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
3370 * sysdeps/s390/multiarch/ifunc-impl-list.c
3371 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
3372 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
3373 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
3374 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
3375 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
3376 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
3377 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
3378 * sysdeps/s390/ifunc-wcsrchr.h: New file.
3380 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3382 * sysdeps/s390/multiarch/Makefile
3383 (sysdep_routines): Remove wcschrnul variants.
3384 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
3385 * sysdeps/s390/multiarch/ifunc-impl-list.c
3386 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
3387 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
3388 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
3389 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
3390 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
3391 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
3392 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
3393 * sysdeps/s390/ifunc-wcschrnul.h: New file.
3395 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3397 * sysdeps/s390/multiarch/Makefile
3398 (sysdep_routines): Remove wcschr variants.
3399 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
3400 * sysdeps/s390/multiarch/ifunc-impl-list.c
3401 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
3402 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
3403 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
3404 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
3405 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
3406 * sysdeps/s390/multiarch/wcschr.c: Move to ...
3407 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
3408 * sysdeps/s390/ifunc-wcschr.h: New file.
3410 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3412 * sysdeps/s390/multiarch/Makefile
3413 (sysdep_routines): Remove wcsncmp variants.
3414 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
3415 * sysdeps/s390/multiarch/ifunc-impl-list.c
3416 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
3417 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
3418 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
3419 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
3420 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
3421 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
3422 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
3423 * sysdeps/s390/ifunc-wcsncmp.h: New file.
3425 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3427 * sysdeps/s390/multiarch/Makefile
3428 (sysdep_routines): Remove wcscmp variants.
3429 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
3430 * sysdeps/s390/multiarch/ifunc-impl-list.c
3431 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
3432 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
3433 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
3434 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
3435 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
3436 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
3437 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
3438 * sysdeps/s390/ifunc-wcscmp.h: New file.
3440 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3442 * sysdeps/s390/multiarch/Makefile
3443 (sysdep_routines): Remove wcsncat variants.
3444 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
3445 * sysdeps/s390/multiarch/ifunc-impl-list.c
3446 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
3447 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
3448 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
3449 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
3450 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
3451 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
3452 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
3453 * sysdeps/s390/ifunc-wcsncat.h: New file.
3455 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3457 * sysdeps/s390/multiarch/Makefile
3458 (sysdep_routines): Remove wcscat variants.
3459 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
3460 * sysdeps/s390/multiarch/ifunc-impl-list.c
3461 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
3462 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
3463 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
3464 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
3465 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
3466 * sysdeps/s390/multiarch/wcscat.c: Move to ...
3467 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
3468 * sysdeps/s390/ifunc-wcscat.h: New file.
3470 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3472 * sysdeps/s390/multiarch/Makefile
3473 (sysdep_routines): Remove wcpncpy variants.
3474 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
3475 * sysdeps/s390/multiarch/ifunc-impl-list.c
3476 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
3477 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
3478 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
3479 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
3480 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
3481 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
3482 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
3483 * sysdeps/s390/ifunc-wcpncpy.h: New file.
3485 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3487 * sysdeps/s390/multiarch/Makefile
3488 (sysdep_routines): Remove wcsncpy variants.
3489 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
3490 * sysdeps/s390/multiarch/ifunc-impl-list.c
3491 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
3492 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
3493 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
3494 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
3495 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
3496 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
3497 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
3498 * sysdeps/s390/ifunc-wcsncpy.h: New file.
3500 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3502 * sysdeps/s390/multiarch/Makefile
3503 (sysdep_routines): Remove wcpcpy variants.
3504 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
3505 * sysdeps/s390/multiarch/ifunc-impl-list.c
3506 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
3507 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
3508 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
3509 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
3510 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
3511 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
3512 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
3513 * sysdeps/s390/ifunc-wcpcpy.h: New file.
3515 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3517 * sysdeps/s390/multiarch/Makefile
3518 (sysdep_routines): Remove wcscpy variants.
3519 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
3520 * sysdeps/s390/multiarch/ifunc-impl-list.c
3521 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
3522 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
3523 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
3524 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
3525 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
3526 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
3527 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
3528 * sysdeps/s390/ifunc-wcscpy.h: New file.
3530 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3532 * sysdeps/s390/multiarch/Makefile
3533 (sysdep_routines): Remove wcsnlen variants.
3534 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
3535 * sysdeps/s390/multiarch/ifunc-impl-list.c
3536 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
3537 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
3538 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
3539 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
3540 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
3541 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
3542 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
3543 * sysdeps/s390/ifunc-wcsnlen.h: New file.
3545 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3547 * sysdeps/s390/multiarch/Makefile
3548 (sysdep_routines): Remove wcslen variants.
3549 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
3550 * sysdeps/s390/multiarch/ifunc-impl-list.c
3551 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
3552 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
3553 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
3554 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
3555 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
3556 * sysdeps/s390/multiarch/wcslen.c: Move to ...
3557 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
3558 * sysdeps/s390/ifunc-wcslen.h: New file.
3560 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3562 * sysdeps/s390/multiarch/Makefile
3563 (sysdep_routines): Remove memrchr variants.
3564 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
3565 * sysdeps/s390/multiarch/ifunc-impl-list.c
3566 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
3567 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
3568 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
3569 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
3570 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
3571 * sysdeps/s390/multiarch/memrchr.c: Move to ...
3572 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
3573 * sysdeps/s390/ifunc-memrchr.h: New file.
3575 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3577 * sysdeps/s390/multiarch/Makefile
3578 (sysdep_routines): Remove memccpy variants.
3579 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
3580 * sysdeps/s390/multiarch/ifunc-impl-list.c
3581 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
3582 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
3583 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
3584 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
3585 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
3586 * sysdeps/s390/multiarch/memccpy.c: Move to ...
3587 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
3588 * sysdeps/s390/ifunc-memccpy.h: New file.
3590 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3592 * sysdeps/s390/multiarch/Makefile
3593 (sysdep_routines): Remove rawmemchr variants.
3594 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
3595 * sysdeps/s390/multiarch/ifunc-impl-list.c
3596 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
3597 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
3598 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
3599 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
3600 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
3601 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
3602 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
3603 * sysdeps/s390/ifunc-rawmemchr.h: New file.
3605 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3607 * sysdeps/s390/multiarch/Makefile
3608 (sysdep_routines): Remove memchr variants.
3609 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
3610 * sysdeps/s390/multiarch/ifunc-impl-list.c
3611 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
3612 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
3613 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
3614 * sysdeps/s390/multiarch/memchr.c: Move to ...
3615 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
3616 * sysdeps/s390/ifunc-memchr.h: New file.
3617 * sysdeps/s390/s390-64/memchr.S: Move to ...
3618 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
3619 for 31/64bit and ifunc handling.
3620 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
3621 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
3622 * sysdeps/s390/s390-32/memchr.S: Likewise.
3624 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3626 * sysdeps/s390/multiarch/Makefile
3627 (sysdep_routines): Remove strcspn variants.
3628 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
3629 * sysdeps/s390/multiarch/ifunc-impl-list.c
3630 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
3631 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
3632 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
3633 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
3634 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
3635 * sysdeps/s390/multiarch/strcspn.c: Move to ...
3636 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
3637 * sysdeps/s390/ifunc-strcspn.h: New file.
3639 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3641 * sysdeps/s390/multiarch/Makefile
3642 (sysdep_routines): Remove strpbrk variants.
3643 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
3644 * sysdeps/s390/multiarch/ifunc-impl-list.c
3645 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
3646 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
3647 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
3648 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
3649 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
3650 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
3651 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
3652 * sysdeps/s390/ifunc-strpbrk.h: New file.
3654 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3656 * sysdeps/s390/multiarch/Makefile
3657 (sysdep_routines): Remove strspn variants.
3658 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
3659 * sysdeps/s390/multiarch/ifunc-impl-list.c
3660 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
3661 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
3662 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
3663 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
3664 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
3665 * sysdeps/s390/multiarch/strspn.c: Move to ...
3666 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
3667 * sysdeps/s390/ifunc-strspn.h: New file.
3669 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3671 * sysdeps/s390/multiarch/Makefile
3672 (sysdep_routines): Remove strrchr variants.
3673 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
3674 * sysdeps/s390/multiarch/ifunc-impl-list.c
3675 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
3676 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
3677 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
3678 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
3679 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
3680 * sysdeps/s390/multiarch/strrchr.c: Move to ...
3681 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
3682 * sysdeps/s390/ifunc-strrchr.h: New file.
3684 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3686 * sysdeps/s390/multiarch/Makefile
3687 (sysdep_routines): Remove strchrnul variants.
3688 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
3689 * sysdeps/s390/multiarch/ifunc-impl-list.c
3690 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
3691 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
3692 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
3693 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
3694 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
3695 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
3696 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
3697 * sysdeps/s390/ifunc-strchrnul.h: New file.
3699 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3701 * sysdeps/s390/multiarch/Makefile
3702 (sysdep_routines): Remove strchr variants.
3703 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
3704 * sysdeps/s390/multiarch/ifunc-impl-list.c
3705 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
3706 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
3707 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
3708 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
3709 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
3710 * sysdeps/s390/multiarch/strchr.c: Move to ...
3711 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
3712 * sysdeps/s390/ifunc-strchr.h: New file.
3714 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3716 * sysdeps/s390/multiarch/Makefile
3717 (sysdep_routines): Remove strncmp variants.
3718 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
3719 * sysdeps/s390/multiarch/ifunc-impl-list.c
3720 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
3721 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
3722 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
3723 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
3724 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
3725 * sysdeps/s390/multiarch/strncmp.c: Move to ...
3726 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
3727 * sysdeps/s390/ifunc-strncmp.h: New file.
3729 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3731 * sysdeps/s390/multiarch/Makefile
3732 (sysdep_routines): Remove strcmp variants.
3733 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
3734 * sysdeps/s390/multiarch/ifunc-impl-list.c
3735 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
3736 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
3737 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
3738 * sysdeps/s390/multiarch/strcmp.c: Move to ...
3739 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
3740 * sysdeps/s390/ifunc-strcmp.h: New file.
3741 * sysdeps/s390/s390-64/strcmp.S: Move to ...
3742 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
3743 for 31/64bit and ifunc handling.
3744 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
3745 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
3746 * sysdeps/s390/s390-32/strcmp.S: Likewise.
3748 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3750 * sysdeps/s390/multiarch/Makefile
3751 (sysdep_routines): Remove strncat variants.
3752 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
3753 * sysdeps/s390/multiarch/ifunc-impl-list.c
3754 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
3755 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
3756 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
3757 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
3758 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
3759 * sysdeps/s390/multiarch/strncat.c: Move to ...
3760 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
3761 * sysdeps/s390/ifunc-strncat.h: New file.
3763 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3765 * sysdeps/s390/multiarch/Makefile
3766 (sysdep_routines): Remove strcat variants.
3767 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
3768 * sysdeps/s390/multiarch/ifunc-impl-list.c
3769 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
3770 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
3771 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
3772 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
3773 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
3774 * sysdeps/s390/multiarch/strcat.c: Move to ...
3775 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
3776 * sysdeps/s390/ifunc-strcat.h: New file.
3778 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3780 * sysdeps/s390/multiarch/Makefile
3781 (sysdep_routines): Remove stpncpy variants.
3782 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
3783 * sysdeps/s390/multiarch/ifunc-impl-list.c
3784 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
3785 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
3786 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
3787 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
3788 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
3789 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
3790 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
3791 * sysdeps/s390/ifunc-stpncpy.h: New file.
3793 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3795 * sysdeps/s390/multiarch/Makefile
3796 (sysdep_routines): Remove strncpy variants.
3797 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
3798 * sysdeps/s390/multiarch/ifunc-impl-list.c
3799 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
3800 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
3801 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
3802 * sysdeps/s390/multiarch/strncpy.c: Move to ...
3803 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
3804 * sysdeps/s390/ifunc-strncpy.h: New file.
3805 * sysdeps/s390/s390-64/strncpy.S: Move to ...
3806 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
3807 and adjust ifunc handling.
3808 * sysdeps/s390/s390-32/strncpy.S: Move to ...
3809 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
3810 and adjust ifunc handling.
3811 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
3812 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
3814 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3816 * sysdeps/s390/multiarch/Makefile
3817 (sysdep_routines): Remove stpcpy variants.
3818 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
3819 * sysdeps/s390/multiarch/ifunc-impl-list.c
3820 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
3821 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
3822 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
3823 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
3824 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
3825 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
3826 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
3827 * sysdeps/s390/ifunc-stpcpy.h: New file.
3829 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3831 * sysdeps/s390/multiarch/Makefile
3832 (sysdep_routines): Remove strcpy variants.
3833 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
3834 * sysdeps/s390/multiarch/ifunc-impl-list.c
3835 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
3836 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
3837 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
3838 * sysdeps/s390/multiarch/strcpy.c: Move to ...
3839 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
3840 * sysdeps/s390/ifunc-strcpy.h: New file.
3841 * sysdeps/s390/s390-64/strcpy.S: Move to ...
3842 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
3843 for 31/64bit and ifunc handling.
3844 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
3845 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
3846 * sysdeps/s390/s390-32/strcpy.S: Likewise.
3848 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3850 * sysdeps/s390/multiarch/Makefile
3851 (sysdep_routines): Remove strnlen variants.
3852 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
3853 * sysdeps/s390/multiarch/ifunc-impl-list.c
3854 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
3855 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
3856 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
3857 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
3858 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
3859 * sysdeps/s390/multiarch/strnlen.c: Move to ...
3860 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
3861 * sysdeps/s390/ifunc-strnlen.h: New file.
3863 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3865 * sysdeps/s390/multiarch/Makefile
3866 (sysdep_routines): Remove strlen variants.
3867 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
3868 * sysdeps/s390/multiarch/ifunc-impl-list.c
3869 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
3870 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
3871 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
3872 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
3873 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
3874 * sysdeps/s390/multiarch/strlen.c: Move to ...
3875 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
3876 * sysdeps/s390/ifunc-strlen.h: New file.
3878 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3880 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
3881 * sysdeps/s390/multiarch/ifunc-impl-list.c
3882 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
3883 * sysdeps/s390/ifunc-memmem.h: New file.
3884 * sysdeps/s390/memmem.c: Likewise.
3885 * sysdeps/s390/memmem-c.c: Likewise.
3886 * sysdeps/s390/memmem-vx.c: Likewise.
3888 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3890 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
3891 * sysdeps/s390/multiarch/ifunc-impl-list.c
3892 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
3893 * sysdeps/s390/ifunc-strstr.h: New file.
3894 * sysdeps/s390/strstr.c: Likewise.
3895 * sysdeps/s390/strstr-c.c: Likewise.
3896 * sysdeps/s390/strstr-vx.c: Likewise.
3898 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3900 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
3901 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
3902 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
3903 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
3905 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
3906 * sysdeps/s390/memmove-c.c: New file.
3907 * sysdeps/s390/memmove.c: Likewise.
3908 * sysdeps/s390/multiarch/ifunc-impl-list.c
3909 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
3911 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3913 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
3914 * sysdeps/s390/configure.ac: Add check for z13 support.
3915 * sysdeps/s390/configure: Regenerated.
3917 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3919 * sysdeps/s390/memcopy.h: New file.
3921 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3923 * sysdeps/s390/s390-32/bcopy.S: Remove.
3924 * sysdeps/s390/s390-64/bcopy.S: Likewise.
3926 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3928 * sysdeps/s390/ifunc-memcpy.h: New File.
3929 * sysdeps/s390/memcpy.S: Move to ...
3930 * sysdeps/s390/memcpy-z900.S ... here.
3931 Move implementations from memcpy-s390x.s to here.
3932 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
3933 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3934 Remove memcpy/mempcpy variants.
3935 * sysdeps/s390/Makefile (sysdep_routines):
3936 Add memcpy/mempcpy variants.
3937 * sysdeps/s390/multiarch/ifunc-impl-list.c
3938 (__libc_ifunc_impl_list): Adjust ifunc variants for
3940 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
3942 * sysdeps/s390/memcpy.c: ... here.
3943 Adjust ifunc variants for memcpy.
3944 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
3945 * sysdeps/s390/mempcpy.c: ... here.
3946 Adjust ifunc variants for mempcpy.
3947 * sysdeps/s390/mempcpy.S: Delete file.
3949 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3951 * sysdeps/s390/s390-64/memcpy.S: Move to ...
3952 * sysdeps/s390/memcpy.S: ... here.
3953 Adjust to be usable for 31/64bit.
3954 * sysdeps/s390/s390-32/memcpy.S: Delete File.
3955 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
3956 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
3957 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3958 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
3959 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
3960 Adjust to be usable for 31/64bit.
3961 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
3962 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
3963 * sysdeps/s390/multiarch/memcpy.c: ... here.
3964 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
3966 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3968 * sysdeps/s390/ifunc-memcmp.h: New File.
3969 * sysdeps/s390/memcmp.S: Move to ...
3970 * sysdeps/s390/memcmp-z900.S ... here.
3971 Move implementations from memcmp-s390x.s to here.
3972 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
3973 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3974 Remove memcmp variants.
3975 * sysdeps/s390/Makefile (sysdep_routines):
3976 Add memcmp variants.
3977 * sysdeps/s390/multiarch/ifunc-impl-list.c
3978 (__libc_ifunc_impl_list): Adjust ifunc variants for
3980 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
3982 * sysdeps/s390/memcmp.c: ... here.
3983 Adjust ifunc variants for memcmp.
3985 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3987 * sysdeps/s390/s390-64/memcmp.S: Move to ...
3988 * sysdeps/s390/memcmp.S: ... here.
3989 Adjust to be usable for 31/64bit.
3990 * sysdeps/s390/s390-32/memcmp.S: Delete File.
3991 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
3992 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3994 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3995 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
3996 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
3997 Adjust to be usable for 31/64bit.
3998 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
3999 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
4000 * sysdeps/s390/multiarch/memcmp.c: ... here.
4001 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
4003 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4005 * sysdeps/s390/s390-32/bzero.S: Delete file.
4006 * sysdeps/s390/s390-64/bzero.S: Likewise.
4007 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
4008 * sysdeps/s390/bzero.c: New file.
4009 * sysdeps/s390/memset-z900.S: Add bzero entry points.
4010 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
4011 * sysdeps/s390/multiarch/ifunc-impl-list.c
4012 (__libc_ifunc_impl_list): Add bzero ifunc variants.
4014 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4016 * sysdeps/s390/ifunc-memset.h: New File.
4017 * sysdeps/s390/memset.S: Move to ...
4018 * sysdeps/s390/memset-z900.S ... here.
4019 Move implementations from memset-s390x.s to here.
4020 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
4021 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4022 Remove memset variants.
4023 * sysdeps/s390/Makefile (sysdep_routines):
4024 Add memset variants.
4025 * sysdeps/s390/multiarch/ifunc-impl-list.c
4026 (__libc_ifunc_impl_list): Adjust ifunc variants for
4028 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
4030 * sysdeps/s390/memset.c: ... here.
4031 Adjust ifunc variants for memset.
4033 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4035 * sysdeps/s390/s390-64/memset.S: Move to ...
4036 * sysdeps/s390/memset.S: ... here.
4037 Adjust to be usable for 31/64bit.
4038 * sysdeps/s390/s390-32/memset.S: Delete File.
4039 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
4040 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4042 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4043 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
4044 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
4045 Adjust to be usable for 31/64bit.
4046 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
4047 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
4048 * sysdeps/s390/multiarch/memset.c: ... here.
4049 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
4051 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4053 * sysdeps/s390/multiarch/ifunc-resolve.h
4054 (s390_libc_ifunc_init, s390_libc_ifunc,
4055 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
4057 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4059 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
4060 * sysdeps/s390/configure.ac: Add check for z10 support.
4061 * sysdeps/s390/configure: Regenerated.
4063 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
4065 * sysdeps/i386/atomic-machine.h: Merged with ...
4066 * sysdeps/x86_64/atomic-machine.h: To ...
4067 * sysdeps/x86/atomic-machine.h: This. New file.
4069 2018-12-18 Florian Weimer <fweimer@redhat.com>
4071 Rewrite locale/gen-translit.pl in Python.
4072 * locale/Makefile (generated): Add C-translit.h.
4073 (before-compile): Add $(objpfx)C-translit.h.
4074 (C-translit.h): Move to $(objpfx). Create target directory.
4075 Build using Python script.
4076 * locale/gen-translit.py: New file.
4077 * locale/gen-translit.pl: Remove file.
4078 * locale/C-translit.h.in: Change comment character to '#' for
4079 easier parsing without a C preprocessor.
4080 * locale/C-translit.h: Remove generated file.
4081 * manual/install.texi (Tools for Compilation): Do not mention
4083 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
4084 Remove locale/C-translit.h.
4085 * scripts/update-copyrights: Likewise.
4086 * INSTALL: Regenerate.
4088 2018-12-18 Florian Weimer <fweimer@redhat.com>
4091 * localedata/locales/bi_VU: Remove executable bit from file.
4093 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
4096 (__localtime64): Add.
4097 * manual/maint.texi: Document Y2038 symbol handling.
4099 (__localtime64): Add.
4100 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
4102 2018-12-17 Joseph Myers <joseph@codesourcery.com>
4104 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
4107 * scripts/glibcextract.py (compare_macro_consts): Take parameters
4108 to allow extra macros from first or second sources.
4109 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
4110 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4111 (tests-special): Add $(objpfx)tst-mman-consts.out.
4112 ($(objpfx)tst-mman-consts.out): New makefile target.
4114 2018-12-17 Mao Han <han_mao@c-sky.com>
4116 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
4117 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
4118 without stat64 system call support.
4119 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
4120 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
4121 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4122 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
4123 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
4124 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
4125 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
4126 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
4127 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
4128 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
4129 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
4131 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
4133 regex: fix storage-exhaustion error
4135 * posix/regexec.c (get_subexp):
4136 Do not continue if storage is exhausted.
4138 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
4140 regex: fix heap-use-after-free error
4142 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
4143 https://debbugs.gnu.org/32592
4144 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
4145 call extend_buffers which reallocates the re_string_t internal buffer.
4146 Local variable 'buf' was not updated in such case, resulting in
4148 * posix/regexec.c (get_subexp): Update 'buf' after call to
4151 2018-12-15 Florian Weimer <fweimer@redhat.com>
4153 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
4154 (minimum_stride_size): Use it.
4155 (support_blob_repeat_allocate): Likewise.
4157 2018-12-14 Joseph Myers <joseph@codesourcery.com>
4159 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
4164 2018-12-14 Florian Weimer <fweimer@redhat.com>
4166 * manual/process.texi (Process Creation Concepts): Remove
4167 documentation of process (ID) lifetime. List more process
4168 creation functions. Reference Process Identification section.
4169 (Process Identification): Add information about process ID
4170 lifetime. Describe Linux thread/task IDs.
4171 * manual/signal.texi (Signaling Another Process): Mention that the
4172 signal is always sent to the process.
4174 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4176 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
4177 and tst-ldbl-efgcvt.
4178 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
4179 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
4180 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
4181 (fcvt_tests, output_error, output_r_error, do_test): Use the
4182 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
4183 select the type of floating-point variables and arguments; to
4184 produce extra tests for double and conversion specifiers for
4185 printf; and to set the names of called functions.
4186 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
4187 in tst-efgcvt-template.c.
4188 * misc/tst-ldbl-efgcvt.c: Likewise.
4190 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
4192 * nss/Makefile (tst-nss-test3.out): New rule.
4194 2018-12-13 Joseph Myers <joseph@codesourcery.com>
4196 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
4199 2018-12-13 fanjinke <fanjinke@hygon.cn>
4201 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
4204 2018-12-13 Andreas Schwab <schwab@suse.de>
4207 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
4208 (__pthread_rwlock_rdlock_full): Update expected value for
4209 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
4210 * nptl/tst-rwlock-pwn.c: New file.
4211 * nptl/Makefile (tests): Add tst-rwlock-pwn.
4213 2018-12-12 Joseph Myers <joseph@codesourcery.com>
4215 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
4218 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4220 * benchtests/scripts/compare_bench.py (do_compare): write to
4221 stderr in casestat is not present.
4222 * benchtests/scripts/compare_bench.py (plot_graphs): write to
4223 stderr in case timings field is not present. Also string showing
4224 the output filename goes into the stderr.
4226 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4228 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
4229 and ZeroDivisorError exceptions.
4230 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
4231 argument to loop through user provided statistics.
4232 * benchtests/scripts/compare_bench.py (main): Include the --stats
4235 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4237 * benchtests/scripts/compare_bench.py (compare_runs): Continue
4240 2018-12-12 Florian Weimer <fweimer@redhat.com>
4242 * sysdeps/posix/timespec_get.c: Add missing “any later version”
4243 clause to copyright header.
4245 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4248 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
4249 registers saved in the stack frame.
4250 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
4251 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
4253 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4255 * include/bits/monetary-ldbl.h: New file.
4256 * include/bits/printf-ldbl.h: Likewise.
4257 * include/bits/stdio-ldbl.h: Likewise.
4258 * include/bits/stdlib-ldbl.h: Likewise.
4259 * include/bits/syslog-ldbl.h: Likewise.
4260 * include/bits/wchar-ldbl.h: Likewise.
4262 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4264 * libio/libio.h: Remove redirection for _IO_vfprintf.
4266 2018-12-11 Andreas Schwab <schwab@suse.de>
4268 * Makerules: Remove all references to abilist-pattern.
4269 (update-all-abi): Simplify find expression.
4271 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
4274 * math/auto-libm-test-in: Add new test case.
4275 * math/auto-libm-test-out-pow: Regenerated.
4276 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
4278 2018-12-10 DJ Delorie <dj@redhat.com>
4281 * support/test-container.c: Move postclean step to before we
4284 2018-12-10 Joseph Myers <joseph@codesourcery.com>
4286 * scripts/gen-as-const.py (main): Handle --python option.
4287 * scripts/gen-py-const.awk: Remove.
4288 * Makerules (py-const-script): Use gen-as-const.py.
4289 ($(py-const)): Likewise.
4290 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
4291 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
4292 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
4293 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
4294 ~PTHREAD_MUTEX_NO_ELISION_NP.
4295 * manual/README.pretty-printers: Update reference to
4298 * scripts/glibcextract.py: New file.
4299 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
4300 or tempfile. Import glibcexctract.
4301 (compute_c_consts): Remove. Moved to glibcextract.py.
4302 (gen_test): Update reference to compute_c_consts.
4304 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
4305 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
4306 * sysdeps/unix/sysv/linux/Makefile
4307 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
4308 Redirect stderr as well as stdout.
4310 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
4313 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
4314 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
4315 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
4316 ALWAYS_USE_VSYSCALL.
4317 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
4318 ALWAYS_USE_VSYSCALL.
4319 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
4320 ALWAYS_USE_VSYSCALL.
4322 2018-12-10 Florian Weimer <fweimer@redhat.com>
4325 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
4326 offset instead of count for clarity. Fix typo in comment.
4327 (__old_getdents64): Keep track of previous offset. Use it to call
4329 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
4330 that d_off is never zero.
4332 2018-12-10 Andreas Schwab <schwab@suse.de>
4334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
4335 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
4336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
4337 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
4338 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
4340 2018-12-10 Joseph Myers <joseph@codesourcery.com>
4342 * timezone/private.h: Update from tzcode 2018g.
4343 * timezone/tzfile.h: Likewise.
4344 * timezone/tzselect.ksh: Likewise.
4345 * timezone/zdump.c: Likewise.
4346 * timezone/zic.c: Likewise.
4348 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4351 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
4352 (do_test): Adjust buffer size and fix format.
4354 2018-12-07 DJ Delorie <dj@redhat.com>
4357 * malloc/tst-tcfree3.c: New.
4358 * malloc/Makefile: Add it.
4360 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4362 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
4364 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4366 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
4367 used as a mask for the mode argument of __vfscanf_internal and
4368 __vfwscanf_internal.
4369 * stdio-common/vfscanf-internal.c
4370 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
4371 (__strtof128_internal): Define to __wcstof128_internal.
4372 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
4373 __strtof128_internal or __wcstof128_internal when the format of
4374 long double is the same as _Float128.
4376 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
4378 * include/unistd.h (__confstr): Add prototype and hidden prototype.
4379 * posix/confstr.c (confstr): Rename to __confstr.
4380 (__confstr): Add hidden def.
4381 (confstr): Add weak alias for __confstr.
4382 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
4385 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4387 * NEWS: Mention getcpu.
4388 * include/sched.h (__getcpu): New libc_hidden_proto.
4389 * manual/resource.texi: Document getcpu.
4390 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
4391 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
4392 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
4393 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4394 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4395 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4396 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4397 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4398 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4399 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4400 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4401 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4402 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4404 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4405 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4406 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4415 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4416 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4417 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4418 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4419 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4420 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4421 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4422 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4423 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
4424 * sysdeps/unix/sysv/linux/getcpu.c: New file.
4425 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
4428 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
4430 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
4432 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
4434 2018-12-07 Florian Weimer <fweimer@redhat.com>
4437 * posix/Makefile (routines): Add spawn_faction_addfchdir.
4438 * posix/Versions (GLIBC_2.29): Export
4439 posix_spawn_file_actions_addfchdir_np.
4440 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
4441 * posix/spawn_faction_destroy.c
4442 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
4443 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
4444 and the field action.fchdir_action.
4445 * posix/tst-spawn-chdir.c (add_chdir): New function.
4446 (do_test): Add do_fchdir loop. Call add_chdir.
4447 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
4448 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4449 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
4450 posix_spawn_file_actions_addfchdir_np.
4451 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
4453 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
4455 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
4456 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
4458 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
4460 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
4462 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
4464 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
4466 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
4468 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4469 (GLIBC_2.29): Likewise.
4470 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4471 (GLIBC_2.29): Likewise.
4472 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4473 (GLIBC_2.29): Likewise.
4474 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4475 (GLIBC_2.29): Likewise.
4476 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
4478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4479 (GLIBC_2.29): Likewise.
4480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4481 (GLIBC_2.29): Likewise.
4482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4483 (GLIBC_2.29): Likewise.
4484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4485 (GLIBC_2.29): Likewise.
4486 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
4488 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
4490 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
4492 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
4493 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
4495 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
4497 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
4499 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
4502 2018-12-06 Joseph Myers <joseph@codesourcery.com>
4504 * manual/texinfo.tex: Update to version 2018-09-21.20 with
4505 trailing whitespace removed.
4506 * scripts/config.guess: Update to version 2018-11-28.
4507 * scripts/config.sub: Update to version 2018-11-28.
4508 * scripts/install-sh: Update to version 2018-03-11.20.
4509 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
4510 * scripts/move-if-change: Update to version 2018-03-07 03:47.
4512 2018-12-07 Florian Weimer <fweimer@redhat.com>
4516 * inet/tst-if_index-long.c: New file.
4517 * inet/Makefile (tests): Add tst-if_index-long.
4519 2018-12-07 Florian Weimer <fweimer@redhat.com>
4521 * support/check.h (support_record_failure_is_failed): Declare.
4522 * support/descriptors.h: New file.
4523 * support/support_descriptors.c: Likewise.
4524 * support/tst-support_descriptors.c: Likewise.
4525 * support/support_record_failure.c
4526 (support_record_failure_is_failed): New function.
4527 * support/Makefile (libsupport-routines): Add support_descriptors.
4528 (tests): Add tst-support_descriptors.
4530 2018-12-05 Zack Weinberg <zackw@panix.com>
4531 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4533 * stdio-common/vfprintf-internal.c
4534 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
4535 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
4536 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
4537 and __no_long_double.
4538 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
4539 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
4540 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
4541 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
4542 and __nldbl_*syslog* functions.
4543 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
4544 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
4545 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
4546 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
4547 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
4548 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
4549 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
4550 (__nldbl_vwprintf, __nldbl_wprintf):
4551 Directly call the appropriate __v*printf_internal routine, passing
4552 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
4554 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
4555 (__nldbl___printf_chk, __nldbl___snprintf_chk)
4556 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
4557 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
4558 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
4559 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4560 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
4561 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
4562 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
4563 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
4564 Likewise, and also pass PRINTF_FORTIFY when appropriate.
4565 (__nldbl_syslog, __nldbl_vsyslog):
4566 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
4567 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4569 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
4572 2018-12-05 Zack Weinberg <zackw@panix.com>
4573 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4576 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
4577 Moved here from debug/vsprintf_chk.c.
4578 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
4579 and completion logic for the strfile to match exactly what
4580 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
4581 _IO_str_init_static_internal instead of maxlen-1.
4582 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4583 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
4584 __vsprintf_internal.
4586 * debug/vsprintf_chk.c (__vsprintf_chk)
4587 * debug/sprintf_chk.c (__sprintf_chk):
4588 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
4589 'flags' argument is positive, and slen as maxlen. No need to lock
4590 the FILE and/or construct a temporary FILE. Minimize and normalize
4591 header inclusions and variable names. Do not libc_hidden_def anything.
4593 * debug/asprintf_chk.c (__asprintf_chk)
4594 * debug/dprintf_chk.c (__dprintf_chk)
4595 * debug/fprintf_chk.c (__fprintf_chk)
4596 * debug/fwprintf_chk.c (__fwprintf_chk)
4597 * debug/printf_chk.c (__printf_chk)
4598 * debug/snprintf_chk.c (__snprintf_chk)
4599 * debug/swprintf_chk.c (__swprintf_chk)
4600 * debug/vasprintf_chk.c (__vasprintf_chk)
4601 * debug/vdprintf_chk.c (__vdprintf_chk)
4602 * debug/vfprintf_chk.c (__vfprintf_chk)
4603 * debug/vfwprintf_chk.c (__vfwprintf_chk)
4604 * debug/vprintf_chk.c (__vprintf_chk)
4605 * debug/vsnprintf_chk.c (__vsnprintf_chk)
4606 * debug/vswprintf_chk.c (__vswprintf_chk)
4607 * debug/vwprintf_chk.c (__vwprintf_chk)
4608 * debug/wprintf_chk.c (__wprintf_chk):
4609 Directly call the corresponding vxxprintf_internal function, passing
4610 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
4611 the FILE and/or construct a temporary FILE. Minimize and normalize
4612 header inclusions and variable names. Do not libc_hidden_def anything.
4614 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
4615 __obstack_vprintf_internal.
4616 (__obstack_vprintf_chk): Convert into a wrapper that calls
4617 __obstack_vprintf_internal (these two functions already had the
4618 same code) and move to new file...
4619 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
4621 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
4622 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
4623 * debug/Makefile (routines): Add vobprintf_chk.
4625 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4626 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
4627 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
4628 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
4629 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
4630 (__nldbl___obstack_vfprintf_chk):
4631 Directly call the corresponding vxxprintf_internal function,
4632 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
4633 duplicate comparison of slen with 0 or maxlen from the corresponding
4634 non-__nldbl function.
4636 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
4637 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
4638 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
4639 Remove libc_hidden_proto.
4641 * stdio-common/vfprintf-internal.c
4642 (__vfprintf_internal, __vfwprintf_internal):
4643 Do not check _IO_FLAGS2_FORTIFY.
4644 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
4645 * libio/libioP.h: Update prototype of __vsprintf_internal and add
4646 a comment explaining why it has the maxlen argument.
4647 (_IO_acquire_lock_clear_flags2_fct): Remove.
4648 (_IO_acquire_lock_clear_flags2): Remove.
4649 (_IO_release_lock): Remove conditional statement which will
4651 (_IO_acquire_lock): Remove variable which is now unused.
4652 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4653 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
4655 * stdio-common/Makefile (tests): Add tst-bz11319 and
4656 tst-bz11319-fortify2.
4657 (CFLAGS-tst-bz11319-fortify2.c): New macro.
4658 * stdio-common/tst-bz11319-fortify2.c: New file.
4659 * stdio-common/tst-bz11319.c: Likewise.
4661 2018-12-05 Zack Weinberg <zackw@panix.com>
4662 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4664 * misc/syslog.c: Include libioP.h, not iolibio.h.
4665 (__vsyslog_internal): New function with the former body of
4666 __vsyslog_chk; takes mode_flags argument same as
4667 __v*printf_internal. Call __vfprintf_internal directly.
4669 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
4670 Remove libc_hidden_def.
4671 (__syslog, __syslog_chk): Use __vsyslog_internal.
4672 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
4674 * include/sys/syslog.h: Add multiple inclusion guard.
4675 Add prototype for __vsyslog_internal.
4676 Remove declaration and libc_hidden_proto for __vsyslog_chk.
4678 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
4679 Use __vsyslog_internal.
4681 2018-12-05 Zack Weinberg <zackw@panix.com>
4682 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4684 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
4685 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
4686 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
4688 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
4689 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
4691 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
4692 Include wctype.h here if COMPILE_WPRINTF is defined.
4693 Define __vfprintf_internal or __vfwprintf_internal, depending
4695 Temporarily, on entry to this function, update mode_flags
4696 according to the environmental settings corresponding to
4697 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
4698 Throughout, check mode_flags instead of __ldbl_is_dbl and
4699 _IO_FLAGS2_FORTIFY on the destination FILE.
4700 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
4701 Include vfprintf-internal.c. Don't include wctype.h.
4702 * stdio-common/vfprintf.c: New file. Just define __vfprintf
4703 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
4705 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
4706 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
4708 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
4710 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
4711 and add mode_flags argument; use __vfprintf_internal.
4712 (__vdprintf): New function. Alias vdprintf to this.
4713 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
4714 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
4715 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
4716 (__obstack_printf): Use __obstack_printf_internal.
4717 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
4718 public aliases __vsnprintf and vsnprintf.
4719 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
4721 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
4722 public aliases _IO_vsprintf and vsprintf.
4723 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
4724 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
4725 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
4726 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
4727 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
4729 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
4730 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
4731 * stdio-common/fprintf.c, stdio-common/fxprintf.c
4732 * stdio-common/printf.c: Use __vfprintf_internal.
4734 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
4735 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
4736 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
4738 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
4739 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
4740 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
4741 __vfwprintf_internal.
4743 * libio/libio.h: Remove libc_hidden_proto and declaration for
4745 Remove declaration of _IO_vfwprintf.
4746 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
4748 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
4750 * include/stdio.h: Add prototype for __vasprintf.
4751 (__vsnprintf): Remove declaration, because there are no more
4753 * include/wchar.h (__vfwprintf, __vswprintf): Remove
4754 declaration, because there are no more internal calls.
4756 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
4757 __vsnprintf_internal, instead of _IO_vsnprintf.
4758 * argp/argp-help.c (__argp_error, __argp_failure): Use
4759 __vasprintf_internal, instead of _IO_vasprintf.
4760 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
4761 redefine, because there are no more internal calls.
4763 2018-12-05 Zack Weinberg <zackw@panix.com>
4764 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4766 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
4767 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
4768 Include libio/strfile.h instead of libioP.h.
4769 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
4770 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
4771 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
4772 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
4773 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
4774 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
4775 necessary. Do not set __no_long_double. Normalize variable names.
4776 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
4777 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
4778 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
4779 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
4780 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
4781 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
4782 Call __vfscanf_internal / __vfwscanf_internal directly, passing
4783 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
4784 Do not set __no_long_double. Normalize variable names.
4786 2018-12-05 Zack Weinberg <zackw@panix.com>
4787 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4789 * stdio-common/isoc99_scanf.c
4790 * stdio-common/isoc99_fscanf.c
4791 * stdio-common/isoc99_sscanf.c
4792 * stdio-common/isoc99_vscanf.c
4793 * stdio-common/isoc99_vfscanf.c
4794 * stdio-common/isoc99_vsscanf.c
4795 * wcsmbs/isoc99_wscanf.c
4796 * wcsmbs/isoc99_fwscanf.c
4797 * wcsmbs/isoc99_swscanf.c
4798 * wcsmbs/isoc99_vwscanf.c
4799 * wcsmbs/isoc99_vfwscanf.c
4800 * wcsmbs/isoc99_vswscanf.c:
4801 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
4802 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
4803 No need to lock and unlock the FILE passed to that function.
4805 * stdio-common/vfscanf-internal.c
4806 (__vfscanf_internal, __vfwscanf_internal):
4807 Don't look at _IO_FLAGS2_SCANF_STD.
4808 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
4809 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
4810 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
4812 2018-12-05 Zack Weinberg <zackw@panix.com>
4813 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4815 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
4816 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
4817 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
4818 * libio/strfile.h: Add multiple inclusion guard.
4819 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
4821 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
4822 consistency with the other version of this file.
4823 (ldbl_compat_symbol): New macro.
4824 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
4827 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
4828 Define __vfscanf_internal or __vfwscanf_internal, depending on
4829 COMPILE_WSCANF; don't define any other public symbols.
4830 Remove errval and code to set errp.
4831 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
4832 as the mode_flags argument.
4833 (encode_error, conv_error, input_error): Don't set errval.
4834 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
4835 Include vfscanf-internal.c.
4836 * stdio-common/vfscanf.c: New file defining the public entry
4837 point vfscanf, which calls __vfscanf_internal.
4838 * stdio-common/vfwscanf.c: New file defining the public entry
4839 point vfwscanf, which calls __vfwscanf_internal.
4841 * stdio-common/iovfscanf.c: New file.
4842 * stdio-common/iovfwscanf.c: Likewise.
4844 * stdio-common/Makefile (routines): Add vfscanf-internal,
4845 vfwscanf-internal, iovfscanf, iovfwscanf.
4846 * stdio-common/Versions: Mention GLIBC_2.29, so that
4847 it can be used in SHLIB_COMPAT expressions.
4848 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
4849 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
4850 Call __vfscanf_internal, instead of _IO_vfscanf.
4851 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
4853 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
4856 * libio/iovsscanf.c: Clean up includes, when possible. Use
4857 _IO_strfile_read or _IO_strfile_readw, when needed. Call
4858 __vfscanf_internal or __vfwscanf_internal directly.
4859 * libio/iovswscanf.c: Likewise.
4860 * libio/swscanf.c: Likewise.
4861 * libio/vscanf.c: Likewise.
4862 * libio/vwscanf.c: Likewise.
4863 * libio/wscanf.c: Likewise.
4864 * stdio-common/isoc99_fscanf.c: Likewise.
4865 * stdio-common/isoc99_scanf.c: Likewise.
4866 * stdio-common/isoc99_sscanf.c: Likewise.
4867 * stdio-common/isoc99_vfscanf.c: Likewise.
4868 * stdio-common/isoc99_vscanf.c: Likewise.
4869 * stdio-common/isoc99_vsscanf.c: Likewise.
4870 * stdio-common/scanf.c: Likewise.
4871 * stdio-common/sscanf.c: Likewise.
4872 * wcsmbs/isoc99_fwscanf.c: Likewise.
4873 * wcsmbs/isoc99_swscanf.c: Likewise.
4874 * wcsmbs/isoc99_vfwscanf.c: Likewise.
4875 * wcsmbs/isoc99_vswscanf.c: Likewise.
4876 * wcsmbs/isoc99_vwscanf.c: Likewise.
4877 * wcsmbs/isoc99_wscanf.c: Likewise.
4879 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
4882 (__tz_compute): Replace time_t with __time64_t.
4883 (__tz_convert): Replace time_t* with __time64_t.
4884 (__offtime): Replace time_t* with __time64_t.
4886 (__gmtime_r): Adjust call to __tz_convert.
4889 (__localtime_r): Likewise.
4890 (localtime): Likewise.
4891 * time/offtime.c: Replace time_t with __time64_t.
4892 * time/tzset.c: Likewise.
4894 2018-12-04 Joseph Myers <joseph@codesourcery.com>
4896 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
4897 dynamic linker unless [$(run-built-tests) = yes].
4899 2018-12-03 DJ Delorie <dj@delorie.com>
4901 * support/test-container.c (check_for_unshare_hints): New.
4902 (main): Call it if unshare fails. Add support for "su" scriptlet
4905 2018-12-03 Joseph Myers <joseph@codesourcery.com>
4907 * scripts/gen-as-const.py (compute_c_consts): Take an argument
4908 'START' to indicate that start text should be output.
4909 (gen_test): Likewise.
4910 (main): Generate 'START' for first symbol or '--' line, or at end
4911 of input if not previously generated.
4913 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
4916 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
4917 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
4918 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
4919 ALWAYS_USE_VSYSCALL.
4921 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4924 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
4927 2018-12-03 Carlos O'Donell <carlos@redhat.com>
4930 * locale/programs/localedef.c: Declare boolean hard_links default true.
4931 (options): Add --no-hard-links option.
4932 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
4933 * locale/programs/localedef.h: Declare prototype for hard_links.
4934 * locale/programs/locfile.c (write_locale_data): Don't use hard
4935 links if hard_links is false.
4937 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
4939 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
4941 (__cache_sysconf): Likewise.
4942 (init_cacheinfo): Likewise.
4943 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
4944 populate COMMON_CPUID_INDEX_80000007 and
4945 COMMON_CPUID_INDEX_80000008.
4946 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
4947 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
4948 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
4949 (init_cpu_features): Use _Static_assert on
4950 index_arch_Fast_Unaligned_Load.
4951 __get_cpuid_registers and __get_arch_feature. Updated for
4952 cpu_features_basic. Set stepping in cpu_features.
4953 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
4954 (FEATURE_INDEX_2): New.
4955 (FEATURE_INDEX_MAX): Changed to enum.
4956 (COMMON_CPUID_INDEX_D_ECX_1): New.
4957 (COMMON_CPUID_INDEX_80000007): Likewise.
4958 (COMMON_CPUID_INDEX_80000008): Likewise.
4959 (cpuid_registers): Likewise.
4960 (cpu_features_basic): Likewise.
4961 (CPU_FEATURE_USABLE): Likewise.
4962 (bit_arch_XXX_Usable): Likewise.
4963 (cpu_features): Use cpuid_registers and cpu_features_basic.
4964 (bit_arch_XXX): Reweritten.
4965 (bit_cpu_XXX): Likewise.
4966 (index_cpu_XXX): Likewise.
4967 (reg_XXX): Likewise.
4968 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
4970 (CHECK_CPU_FEATURE): New.
4971 (CHECK_CPU_FEATURE_USABLE): Likewise.
4972 (cpu_kinds): Likewise.
4973 (do_test): Print vendor, family, model and stepping. Check
4974 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
4975 (TEST_FUNCTION): Removed.
4976 Include <support/test-driver.c> instead of
4977 "../../test-skeleton.c".
4978 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
4979 Check POPCNT instead of POPCOUNT.
4980 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
4982 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4984 * scripts/gen-as-const.py (main): Avoid emitting empty line when
4985 there is no element in `consts'.
4987 2018-12-01 Florian Weimer <fweimer@redhat.com>
4989 * support/support_capture_subprocess.c
4990 (support_capture_subprocess): Check that pipe descriptors have
4991 expected values. Close original pipe descriptors in subprocess.
4993 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
4996 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
4997 attr with __pthread_default_barrierattr.
4998 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
4999 attr with __pthread_default_condattr.
5000 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
5001 attr with __pthread_default_mutexattr.
5002 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
5003 attr with __pthread_default_rwlockattr.
5005 2018-12-01 Kemi Wang <kemi.wang@intel.com>
5007 * manual/tunables.texi (POSIX Thread Tunables): New node.
5008 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
5009 * nptl/nptl-init.c: Include pthread_mutex_conf.h
5010 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
5011 __pthread_tunables_init.
5012 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
5013 (max_adaptive_count): Define.
5014 * nptl/pthread_mutex_conf.c: New file.
5015 * nptl/pthread_mutex_conf.h: New file.
5016 * sysdeps/generic/adaptive_spin_count.h: New file.
5017 * sysdeps/nptl/dl-tunables.list: New file.
5018 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
5019 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
5020 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
5023 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
5026 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
5027 * stdlib/on_exit.c (__on_exit): Likewise.
5028 * stdlib/Makefile (tests): Add tst-bz20544.
5029 * stdlib/tst-bz20544.c: New test.
5031 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
5034 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
5035 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
5038 2018-11-30 Florian Weimer <fweimer@redhat.com>
5040 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
5041 Extend error logging.
5042 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
5045 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5047 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
5048 __sigismember instead of sigismember.
5049 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
5050 cancel_handler): New definitions.
5051 (do_system): Use posix_spawn instead of fork and execl and remove
5053 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
5054 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
5055 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
5056 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5057 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5058 * sysdeps/unix/sysv/linux/system.c: Likewise.
5062 * NEWS: Add new semantic for atfork with popen and system.
5063 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
5066 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5069 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
5070 modification order when accessing reloc_result->addr.
5071 * include/link.h (reloc_result): Add field init.
5072 * nptl/Makefile (tests): Add tst-audit-threads.
5073 (modules-names): Add tst-audit-threads-mod1 and
5074 tst-audit-threads-mod2.
5075 Add rules to build tst-audit-threads.
5076 * nptl/tst-audit-threads-mod1.c: New file.
5077 * nptl/tst-audit-threads-mod2.c: Likewise.
5078 * nptl/tst-audit-threads.c: Likewise.
5079 * nptl/tst-audit-threads.h: Likewise.
5081 2018-11-30 Joseph Myers <joseph@codesourcery.com>
5083 * scripts/gen-as-const.py: New file.
5084 * scripts/gen-as-const.awk: Remove.
5085 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
5087 ($(objpfx)test-as-const-%.c): Likewise.
5089 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5091 * elf/dl-exception.c: Include <_itoa.h>.
5093 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
5095 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
5096 returned by __f_setlk.
5098 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5099 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5101 * elf/Makefile (tests-internal): Add tst-create_format1.
5102 * elf/dl-exception.c (_dl_exception_create_format): Support
5104 * elf/tst-create_format1.c: New file.
5106 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
5108 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
5109 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
5111 * argp/argp-help.c (__argp_failure): Likewise.
5113 2018-11-29 Mao Han <han_mao@c-sky.com>
5115 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
5116 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
5117 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
5118 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
5119 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
5120 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
5121 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
5122 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
5123 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
5124 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
5125 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
5126 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
5127 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
5128 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
5129 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
5130 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
5131 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
5132 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
5133 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
5134 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
5135 (R_CKCORE_TLS_TPOFF32): New defines.
5137 2018-11-29 Florian Weimer <fweimer@redhat.com>
5139 * posix/Makefile (before-compile): Remove testcases.h and
5141 (generated): Add testcases.h and ptestcases.h.
5142 (testcases.h, ptestcases.h): Move to $(objpfx).
5143 (runtests.o): Add dependency on testcases.h.
5144 (runptests.o): Add dependency on ptestcases.h.
5145 * posix/testcases.h, posix/ptestcases.h: Remove files.
5146 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
5147 not touch posix/testcases.h and posix/ptestcases.h.
5149 2018-11-28 Florian Weimer <fweimer@redhat.com>
5151 support: Add signal support to support_capture_subprocess_check.
5152 * support/capture_subprocess.h (support_capture_subprocess_check):
5153 Adjust comment and rename parameter.
5154 * support/support_capture_subprocess_check.c
5155 (print_actual_status): New function.
5156 (support_capture_subprocess_check): Support negative
5157 status_or_signal. Call print_actual_status.
5158 * support/tst-support_capture_subprocess.c (do_test): Call
5159 support_capture_subprocess_check.
5160 * libio/tst-vtables-common.c (termination_status)
5161 (init_termination_status): Remove.
5162 (check_for_termination): Adjust support_capture_subprocess_check
5164 (do_test): Remove call to init_termination_status.
5166 2018-11-28 Joseph Myers <joseph@codesourcery.com>
5168 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
5169 source directory instead of a copy.
5170 (CommandList.create_copy_dir): Remove.
5172 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
5174 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5176 2018-11-28 Florian Weimer <fweimer@redhat.com>
5178 * support/support.h (support_quote_string): Do not use str
5181 2018-11-27 Joseph Myers <joseph@codesourcery.com>
5183 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
5184 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
5186 2018-11-27 Florian Weimer <fweimer@redhat.com>
5188 * support/support.h (support_quote_string): Declare.
5189 * support/support_quote_string.c: New file.
5190 * support/tst-support_quote_string.c: Likewise.
5191 * support/Makefile (libsupport-routines): Add
5192 support_quote_string.
5193 (tests): Add tst-support_quote_string.
5195 2018-11-27 Florian Weimer <fweimer@redhat.com>
5199 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
5200 descriptor leak in case of ENODEV error.
5202 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
5205 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
5206 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
5207 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
5209 2018-11-26 Carlos O'Donell <carlos@redhat.com>
5211 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
5212 Error for unknown lines.
5214 2018-11-26 Joseph Myers <joseph@codesourcery.com>
5216 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5217 Touch additional files.
5219 2018-11-26 Florian Weimer <fweimer@redhat.com>
5222 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
5225 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
5228 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
5229 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
5230 SHARED. Include sysdep.h.
5231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
5232 ALWAYS_USE_VSYSCALL.
5233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
5234 ALWAYS_USE_VSYSCALL.
5236 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
5239 * nptl/Makefile (tests-static): Add tst-cond11-static.
5241 * nptl/tst-cond11-static.c: New File.
5242 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
5243 tst-affinity-static.
5245 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
5247 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
5248 (USE_VSYSCALL): Likewise.
5249 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
5250 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
5252 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
5254 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
5257 2018-11-23 Joseph Myers <joseph@codesourcery.com>
5260 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5261 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
5264 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
5266 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
5267 (tst-cet-legacy-1a-ARGS): New.
5268 ($(objpfx)tst-cet-legacy-1a): New target.
5269 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
5271 2018-11-22 Joseph Myers <joseph@codesourcery.com>
5273 * conform/conformtest.py (CompileSubTest.__init__): Set
5274 self.run_early to False.
5275 (ExecuteSubTest.__init__): Likewise.
5276 (HeaderTests.run): Try running all non-optional, non-XFAILed
5277 compilation tests in a single execution of the compiler.
5279 * conform/conformtest.py (CompileSubTest): New class.
5280 (ExecuteSubTest): Likewise.
5281 (ElementTest.run): Rename to gen_subtests. Append tests to
5282 self.subtests instead of running them.
5283 (ConstantTest.run): Likewise.
5284 (SymbolTest.run): Likewise.
5285 (TypeTest.run): Likewise.
5286 (TagTest.run): Likewise.
5287 (FunctionTest.run): Likewise.
5288 (VariableTest.run): Likewise.
5289 (MacroFunctionTest.run): Likewise.
5290 (MacroStrTest.run): Likewise.
5291 (HeaderTests.handle_test_line): Generate subtests for tests.
5292 (HeaderTests.run): Run subtests for tests.
5294 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5296 * math/Versions (GLIBC_2.29): Add pow.
5297 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
5299 * math/w_pow.c: New file.
5300 * sysdeps/i386/fpu/w_pow.c: New file.
5301 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
5302 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
5303 and add necessary aliases.
5304 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
5305 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
5306 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5307 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5308 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5309 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5310 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5311 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5312 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5313 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5314 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5315 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5316 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5317 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5318 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5323 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5324 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5325 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5326 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5327 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5328 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5329 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5330 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
5332 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
5333 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
5334 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
5336 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5338 * math/Versions (GLIBC_2.29): Add log2.
5339 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
5341 * math/w_log2.c: New file.
5342 * sysdeps/i386/fpu/w_log2.c: New file.
5343 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
5344 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
5345 and add necessary aliases.
5346 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
5347 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
5348 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5349 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5350 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5351 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5352 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5353 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5354 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5355 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5356 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5357 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5358 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5359 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5360 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5365 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5366 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5367 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5368 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5369 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5370 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5371 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5373 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5375 * math/Versions (GLIBC_2.29): Add log.
5376 * math/w_log_compat.c (__log_compat): Change to versioned compat
5378 * math/w_log.c: New file.
5379 * sysdeps/i386/fpu/w_log.c: New file.
5380 * sysdeps/ia64/fpu/e_log.S: Update.
5381 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
5382 and add necessary aliases.
5383 * sysdeps/ieee754/dbl-64/w_log.c: New file.
5384 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
5385 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5386 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5387 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5388 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5389 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5390 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5391 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5392 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5393 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5394 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5395 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5396 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5397 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5402 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5403 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5404 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5405 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5406 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5407 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5408 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5409 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
5411 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
5412 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
5413 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
5414 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
5416 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5418 * math/Versions (GLIBC_2.29): Add exp and exp2.
5419 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
5420 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
5421 * math/w_exp_compat.c (__exp_compat): Likewise.
5422 * math/w_exp.c: New file.
5423 * math/w_exp2.c: New file.
5424 * sysdeps/i386/fpu/w_exp.c: New file.
5425 * sysdeps/i386/fpu/w_exp2.c: New file.
5426 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
5427 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
5428 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
5429 and add necessary aliases.
5430 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
5431 and add necessary aliases.
5432 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
5433 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
5434 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
5435 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
5436 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5437 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5438 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5439 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5440 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5441 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5442 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5443 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5444 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5445 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5446 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5447 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5448 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5453 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5454 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5455 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5456 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5457 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5458 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5459 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5460 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
5461 (__ieee754_exp): Rename to __exp.
5462 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
5463 (__ieee754_exp): Rename to __exp.
5464 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
5465 (__ieee754_exp): Rename to __exp.
5466 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
5468 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
5470 2018-11-20 DJ Delorie <dj@redhat.com>
5472 * malloc/malloc.c (tcache_entry): Add key field.
5473 (tcache_put): Set it.
5474 (tcache_get): Likewise.
5475 (_int_free): Check for double free in tcache.
5476 * malloc/tst-tcfree1.c: New.
5477 * malloc/tst-tcfree2.c: New.
5478 * malloc/Makefile: Run the new tests.
5479 * manual/probes.texi: Document memory_tcache_double_free probe.
5481 * dlfcn/dlerror.c (check_free): Prevent double frees.
5483 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
5485 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
5487 2018-11-20 Joseph Myers <joseph@codesourcery.com>
5489 * conform/conformtest.py (ElementTest.run): Use unique identifiers
5490 in tests. Use names for format arguments.
5491 (ConstantTest.run): Likewise.
5492 (SymbolTest.run): Likewise.
5493 (TypeTest.run): Likewise.
5494 (TagTest.run): Likewise.
5495 (FunctionTest.run): Likewise.
5496 (VariableTest.run): Likewise.
5497 (MacroFunctionTest.run): Likewise.
5498 (MacroStrTest.run): Likewise.
5499 (HeaderTests.__init__): Set self.num_tests.
5500 (HeaderTests.handle_test_line): Set test.num. Increment
5503 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
5505 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
5506 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
5509 2018-11-19 Mao Han <han_mao@c-sky.com>
5511 * scripts/config.guess: Update to version 2018-08-29.
5512 * scripts/config.sub: Update to version 2018-08-29.
5514 2018-11-19 Florian Weimer <fweimer@redhat.com>
5516 support: Print timestamps in timeout handler.
5517 * support/support_test_main.c (print_timestamp): New function.
5518 (signal_handler): Use it to print the termination time and the
5519 time of the last write to standard output.
5521 2018-11-16 Zack Weinberg <zackw@panix.com>
5522 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5524 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
5525 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
5527 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
5528 and add flags argument. Check flags instead of __ldbl_is_dbl when
5529 deciding whether to set is_long_double.
5530 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
5531 passing zero for flags argument.
5532 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
5534 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5535 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
5536 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
5537 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
5538 variable names. Remove libc_hidden_def/libc_hidden_proto from
5539 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
5540 longer called from within the library.
5541 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
5542 for __nldbl___vstrfmon_l, declare it explicitly.
5544 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
5546 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
5548 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
5550 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
5551 F_SETLK64, F_SETLKW64, respectively.
5552 * sysdeps/mach/hurd/f_setlk.c: New file.
5553 * sysdeps/mach/hurd/f_setlk.h: New file.
5554 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
5556 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
5557 (__libc_fcntl): Move non-flock operations to...
5558 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
5559 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
5561 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
5563 mktime: DEBUG_MKTIME cleanup
5564 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
5565 And it’s no longer needed now that glibc and Gnulib both have
5566 their own testing mechanisms for mktime.
5567 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
5569 mktime: fix non-EOVERFLOW errno handling
5571 mktime was not properly reporting failures when the underlying
5572 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
5573 them like EOVERFLOW failures, and set errno to EOVERFLOW.
5574 The problem could happen on non-glibc platforms, with Gnulib.
5575 * time/mktime.c (guess_time_tm): Remove, replacing with ...
5576 (tm_diff): ... this simpler function, which does not change errno.
5577 All callers changed to deal with errno themselves.
5578 (ranged_convert, __mktime_internal): Return failure immediately if
5579 the underlying function reports any failure other than EOVERFLOW.
5580 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
5583 mktime: fix bug with Y2038 DST transition
5585 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
5586 mishandle a DST transition that jumps over the Y2038 boundary.
5587 No such DST transitions are known so this is only a theoretical
5588 bug, but we might as well do things right.
5590 mktime: make more room for overflow
5592 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
5593 This is so that we can add tm_diff results to a previous guess,
5594 which will be useful in a later patch.
5596 mktime: simplify offset guess
5598 * time/mktime.c (__mktime_internal): Omit excess precision.
5600 mktime: new test for mktime failure
5602 Based on a test suggested by Albert Aribaud in:
5603 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
5604 * time/Makefile (tests): Add bug-mktime4.
5605 * time/bug-mktime4.c: New file.
5607 mktime: fix EOVERFLOW bug
5609 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
5610 Include libc-config.h, not config.h, for __set_errno.
5611 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
5613 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
5615 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
5616 __attribute_copy__ to copy attributes from name. Drop static qualifier
5617 to avoid warnings about leaf attribute not having effect on static
5620 2018-11-13 Florian Weimer <fweimer@redhat.com>
5622 * malloc/malloc.c (fastbin_push_entry): New function.
5623 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
5624 (REMOVE_FB): Remove macro.
5625 (_int_malloc): Use fastbin_pop_entry and reindent.
5626 (_int_free): Use fastbin_push_entry.
5627 (malloc_consolidate): Use atomic_exchange_acquire.
5629 2018-11-13 Joseph Myers <joseph@codesourcery.com>
5631 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
5632 alias attribute, not with strong_alias.
5634 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
5635 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
5636 with additional parameter thread.
5637 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
5638 in terms of __hidden_ver2.
5639 (hidden_tls_def): New macro.
5640 (libc_hidden_tls_def): Likewise.
5641 (rtld_hidden_tls_def): Likewise.
5642 (libm_hidden_tls_def): Likewise.
5643 (libmvec_hidden_tls_def): Likewise.
5644 (libresolv_hidden_tls_def): Likewise.
5645 (librt_hidden_tls_def): Likewise.
5646 (libdl_hidden_tls_def): Likewise.
5647 (libnss_files_hidden_tls_def): Likewise.
5648 (libnsl_hidden_tls_def): Likewise.
5649 (libnss_nisplus_hidden_tls_def): Likewise.
5650 (libutil_hidden_tls_def): Likewise.
5651 (libutil_hidden_tls_def): Likweise.
5652 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
5653 libc_hidden_tls_def.
5654 (__sim_disabled_exceptions_thread): Likewise.
5655 (__sim_round_mode_thread): Likewise.
5657 * sysdeps/sparc/sparc-ifunc.h [SHARED]
5658 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
5659 copy attributes from name.
5661 2018-11-12 Joseph Myers <joseph@codesourcery.com>
5663 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
5664 Use __attribute_copy__ to copy attributes from name.
5666 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
5667 with __hidden_ver1 call.
5668 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
5669 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
5670 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
5671 (__cosf): Do not declare here.
5672 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
5673 (__sincosf): Do not declare here.
5674 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
5675 (__sinf): Do not declare here.
5677 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
5678 (__BIG_ENDIAN): Likewise.
5679 (__BYTE_ORDER): Likewise.
5680 (strong_alias): Likewise.
5681 (_strong_alias): Likewise.
5683 2018-11-12 Florian Weimer <fweimer@redhat.com>
5685 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
5686 function. Move after the definition of in_smallbin_range. Do not
5687 use __builtin_expect for paths that lead to a noreturn function.
5688 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
5689 because it is unclear whether this is in fact an unlikely
5691 (_int_malloc, _int_free): Adjust.
5692 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
5694 * malloc/arena.c (heap_trim): Likewise.
5696 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5698 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
5699 it, free it if needed.
5700 (reauthenticate): Test and use ccwdir.
5701 (child_init_port): In non-resetids case, test and use ccwdir.
5702 (child_chdir): New nested function to set ccwdir.
5703 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
5704 * hurd/hurd/port.h (_hurd_port_move): New function.
5705 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
5706 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
5707 * hurd/Versions (_hurd_port_move): Export function.
5708 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
5710 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
5711 of dtablesize for allocating dtable_cloexec.
5713 2018-11-09 Martin Sebor <msebor@redhat.com>
5715 * include/libc-symbols.h (__attribute_copy__): Define macro unless
5716 it's already defined.
5717 (_strong_alias): Use __attribute_copy__.
5718 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
5719 * misc/sys/cdefs.h (__attribute_copy__): New macro.
5720 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
5721 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
5722 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
5723 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
5724 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
5725 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
5726 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
5727 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
5728 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
5729 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
5730 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
5731 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
5732 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
5733 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
5734 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
5735 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
5736 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
5738 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5740 * misc/tst-efgcvt.c: Include support/check.h and
5741 support/test-driver.c. Do not include test-skeleton.c.
5742 (error_count): Remove.
5743 (output_error): Replace increments to error_count with calls to
5744 support_record_failure.
5745 (output_r_error): Likewise.
5746 (special): Likewise.
5747 (do_test): Unconditionally return zero.
5748 (TEST_FUNCTION): Remove.
5750 2018-11-09 Joseph Myers <joseph@codesourcery.com>
5752 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
5754 ($(linknamespace-header-tests)): Likewise.
5756 * conform/conformtest.py: New file.
5757 * conform/conformtest.pl: Remove.
5758 * conform/GlibcConform.pm: Likewise.
5759 * conform/glibcconform.py (KEYWORDS_C90): New constant.
5760 (KEYWORDS_C99): Likewise.
5761 (KEYWORDS): Likewise.
5762 * conform/Makefile ($(conformtest-header-tests)): Use
5763 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
5764 option. Use --header instead of --headers.
5765 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
5767 * conform/data/spawn.h-data: Likewise.
5768 * conform/data/fcntl.h-data (openat): Add space after function
5770 * conform/data/wchar.h-data (wcscasecmp): Likewise.
5771 (wcscasecmp_l): Likewise.
5772 * conform/data/termios.h-data (c_cc): Add space after element
5775 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5777 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
5778 instead of manually comparing and reporting mismatching strings.
5779 * misc/tst-ldbl-error.c (do_one_test): Likewise.
5780 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5782 2018-11-08 Joseph Myers <joseph@codesourcery.com>
5784 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
5785 __ASSUME_SOCKETCALL.
5786 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5787 (__ASSUME_SOCKETCALL): Remove.
5788 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5789 (__ASSUME_SOCKETCALL): Likewise.
5790 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5791 (__ASSUME_SOCKETCALL): Likewise.
5792 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5793 (__ASSUME_SOCKETCALL): Likewise.
5794 * sysdeps/unix/sysv/linux/s390/kernel-features.h
5795 (__ASSUME_SOCKETCALL): Likewise.
5796 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5797 (__ASSUME_SOCKETCALL): Likewise.
5798 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5799 (__ASSUME_SOCKETCALL): Likewise.
5801 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
5804 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
5805 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
5806 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
5807 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
5808 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
5811 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
5814 * resolv/tst-resolv-network.c: Add test for getnetbyname.
5816 2018-11-07 Joseph Myers <joseph@codesourcery.com>
5819 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5820 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5821 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5822 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5824 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5826 * support/support_test_compare_string.c
5827 (support_test_compare_string): Fix printf format.
5829 2018-11-07 Florian Weimer <fweimer@redhat.com>
5831 Implement TEST_COMPARE_STRING.
5832 * support/check.h (TEST_COMPARE_STRING): Define.
5833 (support_test_compare_string): Declare.
5834 * support/Makefile (libsupport-routines): Add
5835 support_test_compare_string.
5836 (tests): Add tst-test_compare_string.
5837 * support/support_test_compare_string.c: New file.
5838 * support/tst-test_compare_string.c: Likewise.
5840 2018-11-07 Andreas Schwab <schwab@suse.de>
5843 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
5844 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
5847 2018-11-06 Joseph Myers <joseph@codesourcery.com>
5850 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5851 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
5852 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
5853 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
5856 2018-11-06 Florian Weimer <fweimer@redhat.com>
5859 * posix/Makefile (routines): Add spawn_faction_addchdir.
5860 (tests): Add tst-spawn-chdir.
5861 * posix/Versions (GLIBC_2.29): Add
5862 posix_spawn_file_actions_addchdir_np.
5863 * posix/spawn_faction_addchdir.c: New file.
5864 * posix/spawn_faction_destroy.c
5865 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
5866 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
5867 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
5869 * posix/tst-spawn-chdir.c: New file.
5870 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
5871 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5872 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5873 posix_spawn_file_actions_addchdir_np.
5874 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5876 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5878 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5879 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5881 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5883 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5885 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5887 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5889 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5891 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5892 (GLIBC_2.29): Likewise.
5893 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5894 (GLIBC_2.29): Likewise.
5895 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5896 (GLIBC_2.29): Likewise.
5897 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5898 (GLIBC_2.29): Likewise.
5899 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5902 (GLIBC_2.29): Likewise.
5903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5904 (GLIBC_2.29): Likewise.
5905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5906 (GLIBC_2.29): Likewise.
5907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5908 (GLIBC_2.29): Likewise.
5909 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5911 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5913 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5915 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5916 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5918 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5920 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5922 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5925 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5927 * misc/Makefile (tests): Add tst-ldbl-error.
5928 * misc/tst-ldbl-error.c: New file.
5930 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5932 * misc/Makefile (tests): Add tst-ldbl-warn.
5933 * misc/tst-ldbl-warn.c: New file.
5935 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5937 * argp/Makefile (tests): Add tst-ldbl-argp.
5938 * argp/tst-ldbl-argp.c: New file.
5940 2018-11-05 Arjun Shankar <arjun@redhat.com>
5942 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
5943 __gconv_path_elem and call __gconv_get_path unconditionally.
5945 2018-11-05 Andreas Schwab <schwab@suse.de>
5948 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
5949 creating the first helper thread failed.
5951 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5953 * sysdeps/mach/hurd/msync.c: New file.
5955 2018-11-02 Florian Weimer <fweimer@redhat.com>
5957 * support/shell-container.c (copy_func): Call
5958 support_copy_file_range instead of copy_file_range to support
5959 cross-device copies.
5961 2018-11-02 Florian Weimer <fweimer@redhat.com>
5963 * support/test-container.c: Include <libc-pointer-arith.h> for
5966 2018-11-01 Zong Li <zong@andestech.com>
5968 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
5969 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
5970 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
5971 (__FP_FRAC_SET_8): Add implementation for RV32 use.
5973 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
5974 variable to avoid overlap arguments.
5976 2018-11-01 Joseph Myers <joseph@codesourcery.com>
5978 * posix/bug-regex22.c (main): Use puts with distinct error
5979 messages for unexpected success of re_compile_pattern, not printf
5980 with NULL argument to %s.
5982 * stdio-common/bug22.c: Include <libc-diag.h>.
5983 (do_test): Disable -Wformat-overflow= warnings around fprintf
5984 calls outputting more than INT_MAX characters.
5985 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
5986 around printf call with NULL %s argument.
5989 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
5990 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
5992 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5993 (__ASSUME_RECVMSG_SYSCALL): Likewise.
5994 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5995 (__ASSUME_SENDTO_SYSCALL): Likewise.
5996 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5997 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
5999 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6000 (__ASSUME_CONNECT_SYSCALL): Likewise.
6001 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6002 (__ASSUME_RECVFROM_SYSCALL): Likewise.
6003 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
6005 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
6007 [__LINUX_KERNEL_VERSION >= 0x040400]
6008 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6009 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
6012 (setsockopt): Likewise.
6014 2018-11-01 Fredrik Noring <noring@nocrew.org>
6016 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
6017 with the ISA override.
6019 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
6021 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
6024 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
6026 * manual/errno.texi (EIEIO): Document how translators should
6027 translate the error message.
6028 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
6029 printing trailing whitespaces refused by git.
6030 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
6031 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6032 * hurd/Makefile (user-interfaces): Add pci.
6034 2018-10-30 Joseph Myers <joseph@codesourcery.com>
6036 * conform/linknamespace.py: New file.
6037 * conform/linknamespace.pl: Remove file.
6038 * conform/Makefile ($(linknamespace-header-tests)): Use
6039 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
6042 2018-10-30 Florian Weimer <fweimer@redhat.com>
6044 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
6047 2018-10-30 Florian Weimer <fweimer@redhat.com>
6049 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
6051 2018-10-30 Florian Weimer <fweimer@redhat.com>
6053 * stdlib/tst-strtod-overflow.c (do_test): Switch to
6054 support_blob_repeat.
6056 2018-10-30 Florian Weimer <fweimer@redhat.com>
6058 Avoid spurious test failures in stdlib/test-bz22786.
6059 * support/Makefile (libsupport-routines): Add blob_repeat.
6060 (tests): Add tst-support_blob_repeat.
6061 * support/blob_repeat.h: New file.
6062 * support/blob_repeat.c: Likewise.
6063 * support/tst-support_blob_repeat.c: Likewise.
6064 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
6065 support_blob_repeat_allocate.
6067 2018-10-30 Andreas Schwab <schwab@suse.de>
6070 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
6071 Don't use tail call.
6072 * elf/tst-unwind-main.c: New file.
6073 * elf/Makefile (tests): Add tst-unwind-main.
6074 (CFLAGS-tst-unwind-main.c): Define.
6076 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
6079 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
6081 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
6083 2018-10-29 Joseph Myers <joseph@codesourcery.com>
6085 * conform/glibcconform.py: Do not import shutil.
6086 (list_exported_functions): Use tempfile.TemporaryDirectory instead
6089 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
6090 critic_missing for versions before 3.4.
6091 * configure: Regenerated.
6092 * manual/install.texi (Tools for Compilation): Document
6093 requirement for Python to build glibc.
6094 * INSTALL: Regenerated.
6095 * Rules [PYTHON]: Make code unconditional.
6096 * benchtests/Makefile [PYTHON]: Likewise.
6097 * conform/Makefile [PYTHON]: Likewise.
6098 * manual/Makefile [PYTHON]: Likewise.
6099 * math/Makefile [PYTHON]: Likewise.
6101 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6103 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
6104 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
6105 answer to interrupt_operation, return EIEIO instead of EINTR.
6106 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
6107 _hurd_intr_rpc_msg_about_to global point to start of controlled
6108 assembly snippet. Make it check canceled flag.
6109 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
6110 the _hurd_intr_rpc_msg_about_to point.
6111 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
6112 issue, remove cancel flag check.
6114 2018-10-26 Joseph Myers <joseph@codesourcery.com>
6116 * scripts/build-many-glibcs.py: Remove compatibility for missing
6117 os.cpu_count and re.fullmatch.
6119 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
6122 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
6123 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
6124 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
6126 2018-10-25 Joseph Myers <joseph@codesourcery.com>
6128 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
6131 2018-10-25 Florian Weimer <fweimer@redhat.com>
6135 XFAIL siginfo_t si_band conform test on sparc64.
6136 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
6137 (__SI_BAND_TYPE): Only override long int default type on sparc64.
6138 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6139 (conformtest-xfail-conds): Add sparc64-linux.
6140 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
6142 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
6144 2018-10-25 Joseph Myers <joseph@codesourcery.com>
6146 * elf/elf.h (NT_MIPS_DSP): New macro.
6147 (NT_MIPS_FP_MODE): Likewise.
6149 2018-10-25 Zong Li <zong@andestech.com>
6151 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
6152 name by adding the file extension (.so).
6154 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
6156 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
6157 (test-xfail-ISO11/threads.h/linknamespace,
6158 test-xfail-ISO11/threads.h/conform): Add.
6160 2018-10-24 Joseph Myers <joseph@codesourcery.com>
6162 * math/gen-libm-test.py: Import os.
6163 (ALL_FLOATS_MANUAL): New constant.
6164 (ALL_FLOATS_SUFFIX): Likewise.
6165 (Ulps.all_functions): New function.
6166 (real_all_ulps): Likewise.
6167 (generate_err_table_sub): Likewise.
6168 (generate_err_table): Likewise.
6169 (main): Handle -s and -m options.
6170 * manual/libm-err-tab.pl: Remove.
6171 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
6172 instead of libm-err-tab.pl.
6173 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
6175 * manual/install.texi (Tools for Compilation): Document
6176 requirement for Python to build manual.
6177 * INSTALL: Regenerated.
6179 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
6181 * bits/time64.h: New file.
6182 * include/time.h: Replace internal_time_t with __time64_t.
6183 * posix/bits/types (__time64_t): Add.
6184 * stdlib/Makefile: Add bits/time64.h to includes.
6185 * time/tzfile.c: Replace internal_time_t with __time64_t.
6187 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6189 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
6190 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
6191 __posix_spawn_file_actions_init, __posix_spawnattr_init,
6192 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
6193 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
6195 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
6196 * posix/spawn_faction_addclose.c
6197 (__posix_spawn_file_actions_addclose): Add hidden definition.
6198 * posix/spawn_faction_adddup2.c
6199 (__posix_spawn_file_actions_adddup2): Likewise.
6200 * posix/spawn_faction_destroy.c
6201 (__posix_spawn_file_actions_destroy): Likewise.
6202 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
6204 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
6205 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
6206 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
6208 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
6209 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
6212 2018-10-24 Andreas Schwab <schwab@suse.de>
6215 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
6217 * elf/cache.c (print_cache): Likewise.
6219 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
6221 * bits/timesize.h: New file.
6222 * stdlib/Makefile (headers): Add bits/timesize.h.
6223 * sysdeps/unix/sysv/linux/bits/msq-pad.h
6224 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
6225 * sysdeps/unix/sysv/linux/bits/sem-pad.h
6226 (__SEM_PAD_AFTER_TIME): Likewise.
6227 * sysdeps/unix/sysv/linux/bits/shm-pad.h
6228 (__SHM_PAD_AFTER_TIME): Likewise.
6229 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
6230 (__MSQ_PAD_BEFORE_TIME): Likewise.
6231 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
6232 (__SEM_PAD_BEFORE_TIME): Likewise.
6233 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
6234 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
6235 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
6236 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
6237 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
6238 (__MSQ_PAD_BEFORE_TIME): Likewise.
6239 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
6240 (__SEM_PAD_BEFORE_TIME): Likewise.
6241 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
6242 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
6243 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
6244 (__MSQ_PAD_BEFORE_TIME): Likewise.
6245 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
6246 (__SEM_PAD_BEFORE_TIME): Likewise.
6247 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
6248 (__SHM_PAD_BEFORE_TIME): Likewise.
6249 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
6250 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6251 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
6253 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
6255 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
6256 USE_RDTSCP is defined.
6257 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
6258 USE_RDTSCP is defined.
6260 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6262 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
6266 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
6267 independently of other flags.
6269 2018-10-23 Florian Weimer <fweimer@redhat.com>
6271 * time/tst-mktime2.c (N_STRINGS): Remove.
6272 (set_timezone): New function.
6273 (spring_forward_gap): Call it. Use FAIL_EXIT1.
6274 (mktime_test1): Report localtime failure and check errno value.
6276 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
6277 (do_test): Remove alarm call. Use set_timezone and array_length.
6279 2018-10-23 Andreas Schwab <schwab@suse.de>
6281 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
6282 (__start_context): Use END instead of PSEUDO_END.
6284 2018-10-22 Joseph Myers <joseph@codesourcery.com>
6286 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
6289 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6293 * wcsmbs/c32rtomb.c: New file.
6294 * wcsmbs/mbrtoc32.c: Likewise.
6295 * wcsmbs/tst-c32-state.c: Likewise.
6296 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
6297 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
6298 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
6299 (tests): Add tst-c32-state.
6300 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
6303 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
6305 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
6306 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
6308 2018-10-19 Joseph Myers <joseph@codesourcery.com>
6311 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
6312 pair and return 0 in that case, and use saved character to
6313 interpret following character.
6314 * wcsmbs/tst-c16-surrogate.c: New file.
6315 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
6316 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
6317 Depend on $(gen-locales)
6319 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
6322 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
6323 (struct siginfo_t): Use correct type for si_band.
6325 2018-10-19 Florian Weimer <fweimer@redhat.com>
6328 * resource/bits/types/struct_rusage.h (struct rusage): Update
6329 comment on struct. Remove extraneous field comment.
6331 2018-10-18 David S. Miller <davem@davemloft.net>
6333 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
6334 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
6335 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
6336 sysdep_routines in subdir elf.
6337 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
6338 version for __vdso_clock_gettime.
6339 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
6341 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
6342 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6344 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
6346 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
6348 * sysdeps/i386/init-arch.h: Removed.
6349 * sysdeps/i386/i586/init-arch.h: Likewise.
6350 * sysdeps/i386/i686/init-arch.h: Likewise.
6351 * sysdeps/i386/i686/hp-timing.h: Likewise.
6352 * sysdeps/x86_64/hp-timing.h: Likewise.
6353 * sysdeps/i386/isa.h: New file.
6354 * sysdeps/i386/i586/isa.h: Likewise.
6355 * sysdeps/i386/i686/isa.h: Likewise.
6356 * sysdeps/x86_64/isa.h: Likewise.
6357 * sysdeps/x86/hp-timing.h: New file.
6358 * sysdeps/x86/init-arch.h: Include <isa.h>.
6360 2018-10-17 Joseph Myers <joseph@codesourcery.com>
6362 * math/libm-test-pow.inc (pow_test_data): Do not allow
6363 divide-by-zero exception for pow(+/- 0, -Inf).
6365 2018-10-17 Zack Weinberg <zackw@panix.com>
6367 * manual/job.texi (Job Control is Optional): Remove node, as
6368 job control has not been optional in quite some time.
6369 (Job Control): Mention briefly that systems older than
6370 POSIX.1-2001 might not support job control.
6371 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
6372 defined on systems conforming to POSIX.1-2001.
6374 2018-10-17 Arjun Shankar <arjun@redhat.com>
6377 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
6379 * (__gconv_read_conf): Mark function static.
6380 * (once): New static variable.
6381 * (__gconv_load_conf): New function.
6382 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
6383 * iconv/gconv_db.c (once): Remove static variable.
6384 * (__gconv_compare_alias): Use __gconv_load_conf instead of
6386 * (__gconv_find_transform): Likewise.
6387 * iconv/tst-iconv-mt.c: New test.
6388 * iconv/Makefile: Add tst-iconv_mt.
6390 2018-10-17 Joseph Myers <joseph@codesourcery.com>
6392 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6394 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
6395 (shmatt_t): Define as __syscall_ulong_t.
6396 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
6397 and [__SHM_PAD_AFTER_TIME].
6398 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
6399 Define shm_segsz and associated padding based on
6400 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
6401 Use __syscall_ulong_t instead of unsigned long int.
6402 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
6404 [__USE_MISC] (struct shm_info): Likewise.
6405 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
6406 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
6407 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
6408 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
6409 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
6410 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6411 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
6412 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
6413 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
6414 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
6415 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
6417 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6419 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
6420 (SHMLBA): Remove macro.
6421 (__getpagesize): Remove function declaration.
6422 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
6424 (SHMLBA): Remove macro.
6425 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
6427 (SHMLBA): Remove macro.
6428 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
6430 (SHMLBA): Remove macro.
6431 (__getpagesize): Remove function declaration.
6432 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
6434 (SHMLBA): Remove macro.
6435 (__getshmlba): Remove function declaration.
6436 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
6437 (SHMLBA): Remove macro.
6438 (__getpagesize): Remove function declaration.
6439 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
6440 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
6441 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
6442 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
6443 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
6444 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
6445 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
6446 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
6447 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
6448 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
6450 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
6453 * nptl/tst-mutex10.c: New File.
6454 * nptl/Makefile (tests): Add tst-mutex10.
6455 (tst-mutex10-ENV): New variable.
6456 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
6457 Ensure that elision path is used if elision is available.
6458 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
6460 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
6462 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
6463 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
6464 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
6465 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
6467 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
6468 (__pthread_mutex_cond_lock_adjust): Likewise.
6469 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
6471 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
6472 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6473 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6474 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
6476 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
6477 Use atomic_load_relaxed and atomic_store_relaxed.
6478 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
6479 Use atomic_store_relaxed.
6481 2018-10-17 Andreas Schwab <schwab@suse.de>
6483 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
6484 * crypt/badsalttest.c (TIMEOUT): Likewise.
6485 * crypt/sha256c-test.c (TIMEOUT): Likewise.
6486 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
6487 * io/test-lfs.c (TIMEOUT): Likewise.
6488 * libio/tst-atime.c (TIMEOUT): Likewise.
6489 * localedata/tst-leaks.c (TIMEOUT): Likewise.
6490 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
6491 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
6492 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
6493 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
6494 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
6495 * nptl/tst-cond11.c (TIMEOUT): Likewise.
6496 * nptl/tst-cond14.c (TIMEOUT): Likewise.
6497 * nptl/tst-cond15.c (TIMEOUT): Likewise.
6498 * nptl/tst-cond24.c (TIMEOUT): Likewise.
6499 * nptl/tst-cond25.c (TIMEOUT): Likewise.
6500 * nptl/tst-kill2.c (TIMEOUT): Likewise.
6501 * nptl/tst-kill3.c (TIMEOUT): Likewise.
6502 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
6503 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
6504 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
6505 * nptl/tst-once2.c (TIMEOUT): Likewise.
6506 * nptl/tst-once3.c (TIMEOUT): Likewise.
6507 * nptl/tst-once4.c (TIMEOUT): Likewise.
6508 * nptl/tst-robust8.c (TIMEOUT): Likewise.
6509 * nptl/tst-robust9.c (TIMEOUT): Likewise.
6510 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
6511 * nptl/tst-sem14.c (TIMEOUT): Likewise.
6512 * nptl/tst-sem6.c (TIMEOUT): Likewise.
6513 * nptl/tst-signal3.c (TIMEOUT): Likewise.
6514 * nptl/tst-spin4.c (TIMEOUT): Likewise.
6515 * nptl/tst-tls3.c (TIMEOUT): Likewise.
6516 * nptl/tst-tls4.c (TIMEOUT): Likewise.
6517 * posix/tst-chmod.c (TIMEOUT): Likewise.
6518 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
6519 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
6520 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
6521 * posix/tst-regex2.c (TIMEOUT): Likewise.
6522 * posix/tst-waitid.c (TIMEOUT): Likewise.
6523 * rt/tst-aio.c (TIMEOUT): Likewise.
6524 * rt/tst-aio10.c (TIMEOUT): Likewise.
6525 * rt/tst-aio4.c (TIMEOUT): Likewise.
6526 * rt/tst-aio5.c (TIMEOUT): Likewise.
6527 * rt/tst-aio6.c (TIMEOUT): Likewise.
6528 * rt/tst-aio64.c (TIMEOUT): Likewise.
6529 * rt/tst-aio7.c (TIMEOUT): Likewise.
6530 * rt/tst-aio9.c (TIMEOUT): Likewise.
6531 * rt/tst-clock.c (TIMEOUT): Likewise.
6532 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
6533 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
6534 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
6535 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
6536 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
6537 * rt/tst-timer4.c (TIMEOUT): Likewise.
6538 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
6539 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
6540 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
6541 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
6542 * time/tst-ftime.c (TIMEOUT): Likewise.
6543 * timezone/tst-tzset.c (TIMEOUT): Likewise.
6545 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
6547 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
6548 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
6551 2018-10-15 Joseph Myers <joseph@codesourcery.com>
6553 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6555 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
6556 instead of <bits/wordsize.h>.
6557 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
6558 and [__SEM_PAD_AFTER_TIME].
6559 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
6560 __syscall_ulong_t instead of unsigned long int.
6561 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
6562 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
6563 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
6564 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
6565 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
6566 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
6567 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
6568 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
6569 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6570 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6571 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6573 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
6575 regex: simplify by using intprops.h
6577 * posix/regex_internal.h [_LIBC]: Include intprops.h.
6578 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
6579 intprops.h defines them.
6581 regex: __builtin_expect → __glibc_unlikely
6583 This refactoring was prompted by a problem when the regex code is
6584 used as part of Gnulib and when the builder’s compiler does not grok
6585 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
6586 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
6587 Although this refactoring does not fix the problem directly,
6588 we might as well have Gawk use the now-preferred glibc style for when
6589 __builtin_expect is unavailable.
6590 * posix/regex_internal.h (BE): Remove.
6591 All uses replaced by __glibc_unlikely or __glibc_likely.
6593 2018-10-11 Joseph Myers <joseph@codesourcery.com>
6595 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6597 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
6598 instead of <bits/wordsize.h>.
6599 (msgqnum_t): Define as __syscall_ulong_t.
6600 (msglen_t): Likewise.
6601 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
6602 and [__MSQ_PAD_AFTER_TIME].
6603 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
6604 __syscall_ulong_t instead of unsigned long int.
6605 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
6606 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
6607 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
6608 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
6609 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
6610 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
6611 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
6612 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
6613 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
6614 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
6615 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6617 2018-10-10 Joseph Myers <joseph@codesourcery.com>
6619 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
6620 (struct shmid_ds): Condition padding after time fields on
6622 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
6623 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
6624 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
6626 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
6627 (struct semid_ds): Condition padding after time fields on
6629 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
6630 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
6631 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
6632 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
6634 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
6635 (struct msqid_ds): Condition padding after time fields on
6637 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
6638 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
6639 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
6640 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
6642 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6644 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
6646 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
6648 * libio/tst-readline.c (TIMEOUT): Define.
6650 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
6652 mktime fix for Gnulib + coreutils
6654 This fix affects only Gnulib. Problem discovered when
6655 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
6657 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
6658 Do not define since it is not used. Defining an unused static
6659 function prompts a warning from GCC when Coreutils is configured
6660 with --enable-gcc-warnings.
6662 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6664 * benchtests/scripts/compare_bench.py (main): set float type on
6667 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
6670 * localedata/locales/kl_GL (mon): Update, the relative case.
6671 (alt_mon): Add, fill with month names in the nominative case.
6672 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
6673 (d_fmt): Set to "%b %d %Y".
6675 2018-10-04 Joseph Myers <joseph@codesourcery.com>
6677 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
6678 <bits/mman-linux.h>.
6679 (PROT_READ): Don't define here.
6680 (PROT_WRITE): Likewise.
6681 (PROT_EXEC): Likewise.
6682 (PROT_NONE): Likewise.
6683 (PROT_GROWSDOWN): Likewise.
6684 (PROT_GROWSUP): Likewise.
6685 (MAP_SHARED): Likewise.
6686 (MAP_PRIVATE): Likewise.
6687 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
6688 [__USE_MISC] (MAP_FILE): Likewise.
6689 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
6690 [__USE_MISC] (MAP_ANON): Likewise.
6691 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
6692 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
6693 (MCL_CURRENT): Likewise.
6694 (MCL_FUTURE): Likewise.
6695 (MCL_ONFAULT): Likewise.
6696 [__USE_MISC] (MADV_NORMAL): Likewise.
6697 [__USE_MISC] (MADV_RANDOM): Likewise.
6698 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
6699 [__USE_MISC] (MADV_WILLNEED): Likewise.
6700 [__USE_MISC] (MADV_DONTNEED): Likewise.
6701 [__USE_MISC] (MADV_FREE): Likewise.
6702 [__USE_MISC] (MADV_REMOVE): Likewise.
6703 [__USE_MISC] (MADV_DONTFORK): Likewise.
6704 [__USE_MISC] (MADV_DOFORK): Likewise.
6705 [__USE_MISC] (MADV_HWPOISON): Likewise.
6706 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
6707 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
6708 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
6709 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
6710 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
6711 (__MAP_ANONYMOUS): New macro.
6712 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
6713 <bits/mman-linux.h> inclusion.
6714 (MAP_FIXED): Likewise.
6715 (MS_SYNC): Likewise.
6716 (MS_ASYNC): Likewise.
6717 (MS_INVALIDATE): Likewise.
6718 [__USE_MISC] (MADV_MERGEABLE): Likewise.
6719 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
6720 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
6721 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
6722 [__USE_MISC] (MADV_DONTDUMP): Likewise.
6723 [__USE_MISC] (MADV_DODUMP): Likewise.
6724 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
6725 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
6728 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
6730 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
6731 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
6732 Add test-nldbl-redirect.
6733 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
6734 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
6735 $(objpfx)libnldbl_nonshared.a.
6737 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
6739 * support/support.h (support_objdir_elf_ldso): New variable.
6740 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
6741 * support/Makefile (CFLAGS-support_paths.c): Add definition
6742 for OBJDIR_ELF_LDSO_PATH.
6743 * support/test-container.c (main): Search for the ld.so
6744 which is also used by the testsuite.
6746 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
6749 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
6750 should be "sap" rather than "sab".
6751 (day): Fix spelling of Sunday, should be "sapaat" rather than
6754 2018-10-02 Joseph Myers <joseph@codesourcery.com>
6756 * math/libm-test-fma.inc (fma_test_data): Add more tests.
6758 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
6761 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
6762 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
6763 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
6765 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6767 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
6769 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
6771 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
6773 (CFLAGS-elision-unlock.c): Likewise.
6774 (CFLAGS-elision-timed.c): Likewise.
6775 (CFLAGS-elision-trylock.c): Likewise.
6776 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
6778 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6781 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
6782 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
6783 new fd_to_filename interface.
6784 * libio/freopen64.c (freopen64): Likewise.
6785 * libio/tst-memstream.h: New file.
6786 * libio/tst-memstream4.c: Likewise.
6787 * libio/tst-wmemstream4.c: Likewise.
6788 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
6789 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
6790 and remove internal dynamic allocation.
6792 2018-10-01 Joseph Myers <joseph@codesourcery.com>
6794 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
6795 (MREMAP_MAYMOVE): Do not define here.
6796 [__USE_GNU] (MREMAP_FIXED): Likewise.
6797 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
6798 (MREMAP_MAYMOVE): Define here instead.
6799 [__USE_GNU] (MREMAP_FIXED): Likewise.
6800 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
6801 (MREMAP_MAYMOVE): Remove.
6802 [__USE_GNU] (MREMAP_FIXED): Likewise.
6804 2018-09-28 Joseph Myers <joseph@codesourcery.com>
6806 * math/fromfp.h: Do not include <math_private.h>.
6807 * math/s_cacosh_template.c: Likewise.
6808 * math/s_casin_template.c: Likewise.
6809 * math/s_casinh_template.c: Likewise.
6810 * math/s_ccos_template.c: Likewise.
6811 * math/s_cproj_template.c: Likewise.
6812 * math/s_fdim_template.c: Likewise.
6813 * math/s_fmaxmag_template.c: Likewise.
6814 * math/s_fminmag_template.c: Likewise.
6815 * math/s_iseqsig_template.c: Likewise.
6816 * math/s_ldexp_template.c: Likewise.
6817 * math/s_nextdown_template.c: Likewise.
6818 * math/w_log1p_template.c: Likewise.
6819 * math/w_scalbln_template.c: Likewise.
6820 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
6821 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
6822 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
6823 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
6824 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
6825 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
6826 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
6827 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
6828 * sysdeps/i386/fpu/s_atanl.c: Likewise.
6829 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
6830 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
6831 * sysdeps/i386/fpu/s_fdim.c: Likewise.
6832 * sysdeps/i386/fpu/s_logbl.c: Likewise.
6833 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6834 * sysdeps/i386/fpu/s_significandl.c: Likewise.
6835 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
6836 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
6837 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6838 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6839 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
6840 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6841 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6842 * sysdeps/ieee754/k_standardf.c: Likewise.
6843 * sysdeps/ieee754/k_standardl.c: Likewise.
6844 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6845 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
6846 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
6847 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
6848 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
6849 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
6850 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6851 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6852 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6853 * sysdeps/ieee754/s_signgam.c: Likewise.
6854 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
6855 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
6856 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
6857 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6858 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6859 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
6860 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6861 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
6862 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6863 * sysdeps/riscv/rvd/s_finite.c: Likewise.
6864 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
6865 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
6866 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
6867 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
6868 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
6869 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
6870 * sysdeps/riscv/rvf/fegetround.c: Likewise.
6871 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
6872 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
6873 * sysdeps/riscv/rvf/fesetround.c: Likewise.
6874 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
6875 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
6876 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
6877 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6878 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
6879 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6880 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
6881 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
6882 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
6883 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
6884 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
6885 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
6886 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
6887 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
6888 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6889 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6890 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
6892 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
6894 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
6897 * sysdeps/i386/dl-cet.c: Removed.
6898 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
6900 (_dl_runtime_profile_shstk): Likewise.
6901 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
6902 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
6904 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6907 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
6908 do_test_with_invalid_iov): New tests.
6909 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
6910 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
6911 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
6913 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
6914 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
6915 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
6917 2018-09-27 Joseph Myers <joseph@codesourcery.com>
6919 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6920 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
6921 (MATH_REDIRECT_BINARY_ARGS): New macro.
6922 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6923 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
6924 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
6926 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
6927 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6928 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
6929 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6930 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6931 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6932 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
6935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
6937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
6938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
6939 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
6940 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
6941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
6943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
6945 * sysdeps/generic/math_private_calls.h
6946 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
6947 Do not declare and define as an inline function.
6948 * math/divtc3.c (__divtc3): Use copysign functions instead of
6949 __copysign variants.
6950 * math/multc3.c (__multc3): Likewise.
6951 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
6952 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
6953 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6954 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6956 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6957 (__ieee754_yn): Likewise.
6958 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6959 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
6960 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6961 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6962 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
6964 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
6965 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6967 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6969 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6971 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6972 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6974 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6975 (__ieee754_ynf): Likewise.
6976 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
6977 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6978 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
6979 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6981 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6982 (__ieee754_ynl): Likewise.
6983 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6984 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6985 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6987 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6988 (__ieee754_ynl): Likewise.
6989 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
6990 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6991 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6992 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6994 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6996 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
6997 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6998 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
6999 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7000 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7002 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7003 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
7004 using MATH_REDIRECT.
7005 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
7007 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
7008 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7009 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7010 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
7011 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7012 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7013 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
7015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
7016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
7017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
7018 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7019 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7020 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7021 (round): Redirect to __round.
7022 (__roundl): Call round instead of __round.
7023 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
7025 [_ARCH_PWR5X] (__roundf): Likewise.
7026 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
7027 functions instead of __round variants.
7028 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7029 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
7031 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
7033 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
7035 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
7036 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
7038 (__ieee754_expl): Call roundl instead of __roundl.
7040 2018-09-27 Andreas Schwab <schwab@suse.de>
7043 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
7044 (do_test): Make st1 static.
7046 2018-09-26 Andreas Schwab <schwab@suse.de>
7049 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
7050 * elf/Makefile (tests): Add tst-unwind-ctor.
7051 (modules-names): Add tst-unwind-ctor-lib.
7052 ($(objpfx)tst-unwind-ctor): Depend on
7053 $(objpfx)tst-unwind-ctor-lib.so.
7055 2018-09-26 Joseph Myers <joseph@codesourcery.com>
7057 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
7058 file. Most contents moved from ....
7059 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
7060 and include <bits/mman-map-flags-generic.h>.
7061 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7062 (sysdep_headers): Add bits/mman-map-flags-generic.h.
7063 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
7064 <bits/mman-map-flags-generic.h>.
7065 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
7066 macros defined in <bits/mman-map-flags-generic.h>.
7067 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
7068 <bits/mman-map-flags-generic.h>.
7069 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
7070 defined in <bits/mman-map-flags-generic.h>.
7072 2018-09-26 Andreas Schwab <schwab@suse.de>
7074 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
7077 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
7078 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7079 Fangrui Song <maskray@google.com>
7082 * config.make.in (have-textrel_ifunc): New define.
7083 * configure.ac: Add check if linker supports textrel relocation with
7085 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
7087 (CFLAGS-tst-ifunc-textrel.c): New rule.
7088 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
7089 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
7090 * elf/tst-ifunc-textrel.c: New file.
7092 2018-09-25 Joseph Myers <joseph@codesourcery.com>
7094 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7095 <bits/procfs-prregset.h>.
7096 (prgregset_t): Define using __prgregset_t.
7097 (prfpregset_t): Define using __prfpregset_t.
7098 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7099 (sysdep_headers): Add bits/procfs-prregset.h.
7100 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
7101 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
7102 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
7103 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
7105 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7106 <bits/procfs-id.h> and <bits/procfs-extra.h>.
7107 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
7109 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7110 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
7111 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
7112 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
7113 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
7114 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
7115 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
7116 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
7117 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
7118 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
7119 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
7120 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
7121 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
7122 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
7123 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
7124 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
7125 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
7126 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
7127 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
7128 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
7129 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
7130 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
7131 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7132 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
7134 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
7135 AArch64 version. Include <bits/procfs.h>.
7136 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7137 (sysdep_headers): Add bits/procfs.h.
7138 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
7139 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
7140 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
7141 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
7142 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
7143 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
7144 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
7145 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
7146 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
7147 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
7148 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
7149 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
7150 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
7151 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
7152 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
7153 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7154 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
7156 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7158 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
7161 2018-09-25 Arjun Shankar <arjun@redhat.com>
7163 * iconv/gconv_int.h (__gconv_path_elem): Remove.
7164 (__gconv_max_path_elem_len): Likewise.
7165 (__gconv_nmodules): Likewise.
7166 (__gconv_get_path): Likewise.
7167 (path_elem): Move to ...
7168 * iconv/gconv_conf.c: ... here.
7169 (__gconv_get_path): Mark function static.
7170 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
7171 * iconv/gconv_open.c: ... here.
7173 2018-09-24 Andreas Schwab <schwab@suse.de>
7175 * scripts/haveversions.awk: New file.
7176 * Makerules ($(common-objpfx)Versions.def)
7177 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7178 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7180 * Makeconfig ($(common-objpfx)Versions.def)
7181 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7182 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7184 ($(common-objpfx)Versions.mk): New rule. Include it.
7185 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
7186 Emit error if build-obsolete-nsl = yes.
7187 * manual/install.texi (Configuring and compiling): Describe
7188 --enable-obsolete-nsl as unavaiable after version 2.28.
7189 * INSTALL: Regenerate.
7191 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7193 * NEWS: Add note about new TLE support on powerpc64le.
7194 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
7195 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
7197 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
7198 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
7199 * sysdeps/powerpc/powerpc32/sysdep.h,
7200 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
7201 ABORT_TRANSACTION): Remove macros.
7202 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
7203 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
7204 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
7205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
7206 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7207 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
7209 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
7211 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
7214 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
7215 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
7216 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
7217 which is the same as in it_IT.
7218 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
7219 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
7221 2018-09-20 Joseph Myers <joseph@codesourcery.com>
7223 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7224 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
7225 using MATH_REDIRECT.
7226 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
7228 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
7229 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7230 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
7231 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7232 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7233 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
7235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
7236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
7237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
7238 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7239 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7240 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
7241 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
7242 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
7243 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
7244 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
7245 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7246 (ceil): Redirect to __ceil.
7247 (floor): Redirect to __floor.
7248 (trunc): Redirect to __trunc.
7249 (__truncl): Call trunc instead of __trunc.
7250 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
7252 [_ARCH_PWR5X] (__truncf): Likewise.
7253 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
7254 trunc functions instead of __trunc variants.
7255 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7257 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7259 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7261 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7264 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
7265 [__i586__ || __pentium__].
7266 [__i486__]: Handle explicitly.
7267 (HAS_CPUID): Define to 1 if above macros are undefined.
7268 (HAS_I586): Likewise.
7269 (HAS_I686): Likewise.
7271 2018-09-20 Florian Weimer <fweimer@redhat.com>
7273 * misc/tst-gethostid.c: New file.
7274 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
7275 (tst-gethostid): Link with -ldl.
7277 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
7279 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
7280 value from gethostbyname_r.
7282 2018-09-19 Carlos O'Donell <carlos@redhat.com>
7284 * stdlib/tst-setcontext9.c (f1): Rename to...
7286 (f1b): New function implementing lower half of f1 in alternate stack.
7288 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
7290 Fix mktime localtime offset confusion
7292 * include/time.h (__mktime_internal): The localtime offset is now
7293 of type long int instead of time_t. This is the longstanding type
7294 in glibc, and it is more than enough to represent difference
7295 between localtime and gmtime even if it is 32 bits and time_t is
7296 64. Changing it now will let us avoid an unnecessary change when
7297 time_t is widened to 64 bits on 32-bit platforms.
7298 * time/mktime-internal.h (mktime_offset_t): Now long int.
7300 Merge mktime, timegm from upstream Gnulib
7301 [BZ #23603][BZ #16346]
7302 This fixes some obscure problems with integer overflow.
7303 Although it looks scary, it is almost all a byte-for-byte copy
7304 from Gnulib, and the Gnulib code has been tested reasonably well.
7305 * include/intprops.h: New file, copied from Gnulib.
7306 * include/verify.h, time/mktime-internal.h:
7307 New tiny files, simplified from Gnulib.
7308 * time/mktime.c: Copy from Gnulib. This has the following changes:
7309 Do not include config.h if DEBUG_MKTIME is nonzero.
7310 Include stdbool.h, intprops.h, verify.h.
7311 Include string.h only if needed.
7312 Include stdlib.h on MS-Windows.
7313 Include mktime-internal.h.
7314 (DEBUG_MKTIME): Default to 0, and simplify later uses.
7315 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
7316 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
7317 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
7318 simplify later conditionals; default the others to zero. Use
7319 these conditionals to express only the code needed on the current
7320 platform. In uses of these conditionals, explicitly spell out how
7321 _LIBC affects things, so it’s easier to review from a glibc
7323 (WRAPV): Remove; no longer needed now that we have
7324 systematic overflow checking.
7325 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
7326 compartmentalize tzset issues. Move system-dependent tzsettish
7327 code here from mktime.
7328 (verify): Remove; now done by verify.h. All uses changed.
7329 (long_int): Use a more-conservative definition, to avoid
7331 (SHR): Remove, replacing with ...
7332 (shr): New function, which means we needn’t worry about side
7333 effects in args, and conversion analysis is simpler.
7334 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
7335 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
7336 (time_t_avg, time_t_add_ok): Remove.
7337 (mktime_min, mktime_max): New constants.
7338 (leapyear, isdst_differ): Use bool for booleans.
7339 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
7340 Use long_int, not time_t, for mktime differences.
7341 (long_int_avg): New function, replacing time_t_avg.
7342 INT_ADD_WRAPV replaces time_t_add_ok.
7343 (guess_time_tm): 6th arg is now long_int, not time_t const *.
7345 (convert_time): New function.
7346 (ranged_convert): Use it.
7347 (__mktime_internal): Last arg now points to mktime_offset_t, not
7348 time_t. All uses changed. This is a no-op on glibc, where
7349 mktime_offset_t is always time_t. Use int, not time_t, for UTC
7350 offset guess. Directly check for integer overflow instead of
7351 using a heuristic that works only 99.9...% of the time.
7352 Access *OFFSET only once, to avoid an unlikely race if the
7353 compiler delays a load and if this cascades into a signed integer
7355 (mktime): Move tzsettish code to my_tzset, and move
7356 localtime_offset to within mktime so that it doesn’t
7357 need a separate ifdef.
7358 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
7359 instead of localtime.
7360 * time/timegm.c: Copy from Gnulib. This has the following changes:
7361 Include mktime-internal.h.
7362 [!_LIBC]: Include config.h and time.h. Do not include
7363 timegm.h or time_r.h. Make __mktime_internal a macro,
7364 and include mktime-internal.h to get its declaration.
7365 (timegm): Temporary is now mktime_offset_t, not time_t.
7366 This affects only Gnulib.
7368 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
7371 * string/test-strstr.c (pr23637): New function.
7372 (test_main): Add tests with longer needles.
7373 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
7374 * string/strstr.c (AVAILABLE): Likewise.
7376 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7378 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
7380 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7382 * NEWS: Mention pow improvements.
7383 * math/Makefile (type-double-routines): Add e_pow_log_data.
7384 * sysdeps/generic/math_private.h (__exp1): Remove.
7385 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
7386 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
7387 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
7389 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
7390 (exp_inline): Remove.
7391 (__ieee754_exp): Only single double input is handled.
7392 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
7393 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
7394 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
7395 (__pow_log_data): Define.
7396 * sysdeps/ieee754/dbl-64/upow.h: Remove.
7397 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
7398 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
7399 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
7401 (CFLAGS-e_pow-fma4.c): Likewise.
7403 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
7405 Simplify tzfile fstat failure code
7407 * time/tzfile.c (__tzfile_read): Simplify slightly.
7409 Fix tzfile low-memory assertion failure
7411 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
7412 when registering time zone abbreviations.
7414 2018-09-18 Joseph Myers <joseph@codesourcery.com>
7416 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
7417 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
7418 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
7419 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
7420 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
7421 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
7422 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
7423 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7424 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7426 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
7428 (__ceill): Call ceil instead of __ceil.
7429 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
7431 (__floorl): Call floor instead of __floor.
7433 2018-09-17 Joseph Myers <joseph@codesourcery.com>
7435 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7436 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
7437 using MATH_REDIRECT.
7438 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
7440 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
7441 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7442 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7443 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
7444 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7445 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7446 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7447 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
7448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
7449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
7450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
7451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
7452 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7453 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7454 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
7455 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
7456 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
7457 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
7458 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
7460 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
7461 functions instead of __ceil variants.
7462 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7463 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
7465 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
7467 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7468 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
7470 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7471 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7474 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
7476 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
7477 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
7478 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
7479 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
7480 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
7481 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
7482 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
7483 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
7484 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
7485 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
7486 (ILL_BADIADDR): Remove constant.
7487 (TRAP_BRANCH): Likewise.
7488 (TRAP_HWBKPT): Likewise.
7490 2018-09-14 Joseph Myers <joseph@codesourcery.com>
7493 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
7494 Remove [_MIPS_SIM = _ABIN32] conditional case.
7495 (struct elf_prpsinfo): Likewise.
7498 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
7499 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
7500 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
7502 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
7503 elf_prpsinfo): Likewise.
7504 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
7505 elf_prpsinfo): Likewise.
7506 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
7509 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7510 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
7511 using MATH_REDIRECT.
7512 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
7514 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
7515 * sysdeps/alpha/fpu/s_rint.c: Likewise.
7516 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
7517 * sysdeps/i386/fpu/s_rintl.c: Likewise.
7518 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7519 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7520 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
7521 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7522 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7523 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7524 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
7525 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
7526 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
7527 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
7528 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
7529 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7530 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7531 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
7532 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
7533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
7534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
7535 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
7536 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
7537 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
7538 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
7539 * sysdeps/x86_64/fpu/math_private.h: Remove file.
7540 * math/e_scalb.c (invalid_fn): Use rint functions instead of
7542 * math/e_scalbf.c (invalid_fn): Likewise.
7543 * math/e_scalbl.c (invalid_fn): Likewise.
7544 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7546 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7548 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
7549 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
7550 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7552 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7554 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7556 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
7557 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
7559 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7560 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
7562 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7563 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
7564 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7565 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
7566 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7567 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
7568 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7569 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
7570 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7571 && !NO_MATH_REDIRECT] (floor): Likewise.
7572 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
7574 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
7575 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7576 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7577 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
7578 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7579 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7580 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7581 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
7582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
7583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
7584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
7585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
7586 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7587 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7588 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
7589 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
7590 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
7591 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
7592 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
7594 [_ARCH_PWR5X] (__floorf): Likewise.
7595 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
7597 [__SSE4_1__] (__floorf): Likewise.
7598 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
7599 instead of __floor variants.
7600 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
7601 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
7602 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
7603 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
7604 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
7605 * math/w_tgamma_compat.c (__tgamma): Likewise.
7606 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
7607 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
7608 * math/w_tgammal_compat.c (__tgammal): Likewise.
7609 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
7610 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7612 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
7613 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
7614 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
7615 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7617 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7618 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
7620 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
7621 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
7623 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7624 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
7626 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
7627 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7628 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
7629 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
7630 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7631 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7633 2018-09-12 Joseph Myers <joseph@codesourcery.com>
7635 * elf/Makefile (modules-names-tests): New variable.
7637 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7639 * NEWS: Mention log2 improvements.
7640 * math/Makefile (type-double-routines): Add e_log2_data.
7641 * sysdeps/i386/fpu/e_log2_data.c: New file.
7642 * sysdeps/ia64/fpu/e_log2_data.c: New file.
7643 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
7644 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
7645 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
7646 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
7647 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
7649 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
7651 * NEWS: Mention log improvement.
7652 * math/Makefile (type-double-routines): Add e_log_data.
7653 * sysdeps/i386/fpu/e_log_data.c: New file.
7654 * sysdeps/ia64/fpu/e_log_data.c: New file.
7655 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
7656 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
7657 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
7658 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
7659 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
7660 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
7662 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
7663 Xuepeng Guo <xuepeng.guo@intel.com>
7666 * sysdeps/i386/start.S: Include <sysdep.h>
7667 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
7668 enabled. Add cfi_undefined (eip).
7670 2018-09-11 Joseph Myers <joseph@codesourcery.com>
7672 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
7674 (EXTRACT_WORDS64): Likewise.
7675 (INSERT_WORDS64): Likewise.
7676 (GET_FLOAT_WORD): Likewise.
7677 (SET_FLOAT_WORD): Likewise.
7679 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
7681 (Config.build_gcc): Use --disable-libsanitizer for first GCC
7682 build, but not for second build if --full-gcc. Use
7683 --enable-languages=all for second build if --full-gcc.
7684 (get_parser): Add --full-gcc option.
7685 (main): Update call to Context.
7687 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
7690 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
7691 Single Quotation Mark).
7692 (thousands_sep): Likewise.
7693 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
7694 * localedata/locales/it_IT (thousands_sep): Use ".".
7695 (grouping): Use "3;3".
7697 2018-09-10 Joseph Myers <joseph@codesourcery.com>
7699 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
7700 x86_64 and i686 configs using --enable-obsolete-rpc
7701 --enable-obsolete-nsl.
7703 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
7705 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7707 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
7709 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
7710 Increment size of new_argv by one.
7712 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
7715 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
7716 * localedata/locales/ar_IN (d_fmt): Likewise.
7717 * localedata/locales/bhb_IN (d_fmt): Likewise.
7718 * localedata/locales/bho_IN (d_fmt): Likewise.
7719 * localedata/locales/bn_BD (d_fmt): Likewise.
7720 * localedata/locales/bn_IN (d_fmt): Likewise.
7721 * localedata/locales/doi_IN (d_fmt): Likewise.
7722 * localedata/locales/gu_IN (d_fmt): Likewise.
7723 * localedata/locales/hi_IN (d_fmt): Likewise.
7724 * localedata/locales/hne_IN (d_fmt): Likewise.
7725 * localedata/locales/kn_IN (d_fmt): Likewise.
7726 * localedata/locales/mag_IN (d_fmt): Likewise.
7727 * localedata/locales/mai_IN (d_fmt): Likewise.
7728 * localedata/locales/mjw_IN (d_fmt): Likewise.
7729 * localedata/locales/ml_IN (d_fmt): Likewise.
7730 * localedata/locales/mni_IN (d_fmt): Likewise.
7731 * localedata/locales/mr_IN (d_fmt): Likewise.
7732 * localedata/locales/pa_IN (d_fmt): Likewise.
7733 * localedata/locales/raj_IN (d_fmt): Likewise.
7734 * localedata/locales/sat_IN (d_fmt): Likewise.
7735 * localedata/locales/sd_IN (d_fmt): Likewise.
7736 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
7737 * localedata/locales/ta_IN (d_fmt): Likewise.
7738 * localedata/locales/ta_LK (d_fmt): Likewise.
7739 * localedata/locales/tcy_IN (d_fmt): Likewise.
7740 * localedata/locales/ur_IN (d_fmt): Likewise.
7742 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
7743 * localedata/locales/ks_IN (d_fmt): Likewise.
7744 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
7746 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
7747 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
7748 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
7749 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
7751 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
7753 * NEWS: Mention exp and exp2 improvements.
7754 * math/Makefile (libm-support): Remove t_exp.
7755 (type-double-routines): Add math_err and e_exp_data.
7756 * sysdeps/aarch64/libm-test-ulps: Update.
7757 * sysdeps/arm/libm-test-ulps: Update.
7758 * sysdeps/i386/fpu/e_exp_data.c: New file.
7759 * sysdeps/i386/fpu/math_err.c: New file.
7760 * sysdeps/i386/fpu/t_exp.c: Remove.
7761 * sysdeps/ia64/fpu/e_exp_data.c: New file.
7762 * sysdeps/ia64/fpu/math_err.c: New file.
7763 * sysdeps/ia64/fpu/t_exp.c: Remove.
7764 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
7765 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
7766 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
7767 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
7768 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
7769 * sysdeps/ieee754/dbl-64/math_config.h: New file.
7770 * sysdeps/ieee754/dbl-64/math_err.c: New file.
7771 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
7772 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
7773 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
7774 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
7775 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
7776 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
7777 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
7778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7779 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7781 2018-09-05 Joseph Myers <joseph@codesourcery.com>
7783 * sysdeps/alpha/fpu/math_private.h: Remove.
7785 * sysdeps/generic/math_private.h
7786 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
7787 Move this inline function ....
7788 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
7789 * include/math.h [!_ISOMAC]: To here....
7791 2018-09-04 Joseph Myers <joseph@codesourcery.com>
7793 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
7795 [!FE_HAVE_ROUNDING_MODES]: And this code ....
7796 * include/fenv.h [!_ISOMAC]: ... to here.
7797 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
7798 (feraiseexcept): Likewise.
7799 * math/fromfp.h: Do not include <fenv_private.h>.
7800 * math/s_cexp_template.c: Likewise.
7801 * math/s_csin_template.c: Likewise.
7802 * math/s_csinh_template.c: Likewise.
7803 * math/s_ctan_template.c: Likewise.
7804 * math/s_ctanh_template.c: Likewise.
7805 * math/s_iseqsig_template.c: Likewise.
7806 * math/w_acos_compat.c: Likewise.
7807 * math/w_acosf_compat.c: Likewise.
7808 * math/w_acosl_compat.c: Likewise.
7809 * math/w_asin_compat.c: Likewise.
7810 * math/w_asinf_compat.c: Likewise.
7811 * math/w_asinl_compat.c: Likewise.
7812 * math/w_j0_compat.c: Likewise.
7813 * math/w_j0f_compat.c: Likewise.
7814 * math/w_j0l_compat.c: Likewise.
7815 * math/w_j1_compat.c: Likewise.
7816 * math/w_j1f_compat.c: Likewise.
7817 * math/w_j1l_compat.c: Likewise.
7818 * math/w_jn_compat.c: Likewise.
7819 * math/w_jnf_compat.c: Likewise.
7820 * math/w_log10_compat.c: Likewise.
7821 * math/w_log10f_compat.c: Likewise.
7822 * math/w_log10l_compat.c: Likewise.
7823 * math/w_log2_compat.c: Likewise.
7824 * math/w_log2f_compat.c: Likewise.
7825 * math/w_log2l_compat.c: Likewise.
7826 * math/w_log_compat.c: Likewise.
7827 * math/w_logf_compat.c: Likewise.
7828 * math/w_logl_compat.c: Likewise.
7829 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7830 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7831 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7832 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7833 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7834 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7835 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7836 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7837 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7838 * sysdeps/ieee754/k_standardl.c: Likewise.
7839 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7840 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7841 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7842 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7843 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7844 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7845 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7846 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7847 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7848 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7849 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7850 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7851 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7852 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7853 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7854 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7855 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7856 * math/w_ilogb_template.c: Include <fenv.h> instead of
7858 * math/w_llogb_template.c: Likewise.
7859 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7860 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7862 2018-09-03 Joseph Myers <joseph@codesourcery.com>
7864 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
7865 * math/fromfp.h: Include <fenv_private.h>.
7866 * math/math-narrow.h: Likewise.
7867 * math/s_cexp_template.c: Likewise.
7868 * math/s_csin_template.c: Likewise.
7869 * math/s_csinh_template.c: Likewise.
7870 * math/s_ctan_template.c: Likewise.
7871 * math/s_ctanh_template.c: Likewise.
7872 * math/s_iseqsig_template.c: Likewise.
7873 * math/w_acos_compat.c: Likewise.
7874 * math/w_acosf_compat.c: Likewise.
7875 * math/w_acosl_compat.c: Likewise.
7876 * math/w_asin_compat.c: Likewise.
7877 * math/w_asinf_compat.c: Likewise.
7878 * math/w_asinl_compat.c: Likewise.
7879 * math/w_ilogb_template.c: Likewise.
7880 * math/w_j0_compat.c: Likewise.
7881 * math/w_j0f_compat.c: Likewise.
7882 * math/w_j0l_compat.c: Likewise.
7883 * math/w_j1_compat.c: Likewise.
7884 * math/w_j1f_compat.c: Likewise.
7885 * math/w_j1l_compat.c: Likewise.
7886 * math/w_jn_compat.c: Likewise.
7887 * math/w_jnf_compat.c: Likewise.
7888 * math/w_llogb_template.c: Likewise.
7889 * math/w_log10_compat.c: Likewise.
7890 * math/w_log10f_compat.c: Likewise.
7891 * math/w_log10l_compat.c: Likewise.
7892 * math/w_log2_compat.c: Likewise.
7893 * math/w_log2f_compat.c: Likewise.
7894 * math/w_log2l_compat.c: Likewise.
7895 * math/w_log_compat.c: Likewise.
7896 * math/w_logf_compat.c: Likewise.
7897 * math/w_logl_compat.c: Likewise.
7898 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
7899 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
7900 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
7901 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
7902 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7903 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7904 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7905 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7906 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7907 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7908 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7909 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7910 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
7911 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
7912 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7913 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
7914 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7915 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7916 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7917 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7918 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7919 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7920 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7921 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7922 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7923 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7924 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7925 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
7926 * sysdeps/ieee754/float128/float128_private.h: Likewise.
7927 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7928 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7929 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7930 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
7931 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7932 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7933 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7934 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7935 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7936 * sysdeps/ieee754/k_standardl.c: Likewise.
7937 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7938 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7939 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7940 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7941 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7942 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7943 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7944 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7945 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7946 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7947 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7948 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7949 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7950 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7951 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7952 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
7953 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7954 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
7955 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7956 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7957 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7958 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7959 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7960 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7961 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7962 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7963 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7964 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7965 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
7966 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7967 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7968 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7969 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7970 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7971 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7972 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7973 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7974 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7975 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7976 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7977 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
7978 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7979 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
7980 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7981 * sysdeps/riscv/rvd/s_finite.c: Likewise.
7982 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
7983 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
7984 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
7985 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
7986 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
7987 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
7988 * sysdeps/riscv/rvf/fegetround.c: Likewise.
7989 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
7990 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
7991 * sysdeps/riscv/rvf/fesetround.c: Likewise.
7992 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
7993 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
7994 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
7995 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7996 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
7997 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7998 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
7999 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
8000 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
8001 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
8002 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
8003 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
8004 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
8005 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
8006 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8007 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8009 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8012 * include/stdio.h (__libc_fatal): Mention newline in comment.
8013 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
8014 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
8015 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8016 * nss/nsswitch.c (__nss_next2): Likewise.
8017 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
8018 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
8019 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
8020 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8021 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
8022 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
8023 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
8024 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
8025 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
8026 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
8027 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
8028 * sysdeps/unix/sysv/linux/netlink_assert_response.c
8029 (__netlink_assert_response): Likewise.
8031 2018-08-31 Joseph Myers <joseph@codesourcery.com>
8033 * conform/glibcconform.py: New file.
8034 * conform/list-header-symbols.py: Likewise.
8035 * conform/list-header-symbols.pl: Remove.
8036 * conform/Makefile (tests-special): Only add linknamespace tests
8038 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
8040 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
8043 * support/Makefile (libsupport-routines): Add
8044 support_copy_file_range and xcopy_file_range.
8045 * support/support.h: Include <sys/types.h>.
8046 (support_copy_file_range): New prototype.
8047 * support/support_copy_file_range.c: New file. Copied and
8048 modified from io/copy_file_range-compat.c.
8049 * support/test-container.c (copy_one_file): Call xcopy_file_rang
8050 instead of copy_file_range.
8051 * support/xcopy_file_range.c: New file.
8052 * support/xunistd.h (xcopy_file_range): New prototype.
8054 2018-08-30 Carlos O'Donell <carlos@redhat.com>
8056 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
8057 xpthread_create and xpthread_join.
8059 2018-08-30 Florian Weimer <fweimer@redhat.com>
8061 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
8063 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
8065 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
8068 2018-08-29 Joseph Myers <joseph@codesourcery.com>
8070 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
8071 and minus_oflow as non-finite.
8073 2018-08-28 Joseph Myers <joseph@codesourcery.com>
8075 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
8076 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
8077 moved to fenv_private.h except for ...
8078 (TOINT_INTRINSICS): Kept in math_private.h.
8079 (roundtoint): Likewise.
8080 (converttoint): Likewise.
8081 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
8082 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8083 * sysdeps/arm/math_private.h: Remove.
8084 * sysdeps/generic/fenv_private.h: New file. Contents moved from
8086 * sysdeps/generic/math_private.h: ... this file. Include
8087 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
8088 Include <fenv_private.h>. Remove functions and macros moved to
8090 * sysdeps/i386/fpu/math_private.h: Remove.
8091 * sysdeps/mips/math_private.h: Move to ....
8092 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
8093 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
8094 [__mips_hard_float] conditional. Include next <fenv_private.h>.
8095 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
8096 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8097 * sysdeps/powerpc/fpu/math_private.h: Do not include
8099 * sysdeps/riscv/rvf/math_private.h: Move to ....
8100 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
8101 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
8103 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
8104 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8105 * sysdeps/sparc/fpu/math_private.h: Remove.
8106 * sysdeps/i386/fpu/fenv_private.h: Move to ....
8107 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
8108 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
8110 * sysdeps/x86_64/fpu/math_private.h: Do not include
8111 <sysdeps/i386/fpu/fenv_private.h>.
8113 2018-08-28 Florian Weimer <fweimer@redhat.com>
8116 * posix/tst-regcomp-truncated.c: New file.
8117 * posix/Makefile (tests): Add it.
8118 (tst-regcomp-truncated.out): Depend on generated locales.
8120 2018-08-28 Florian Weimer <fweimer@redhat.com>
8122 * support/test-container.c (main): Treat unshare failure with
8123 EPERM as an unsupported test.
8125 2018-08-28 Florian Weimer <fweimer@redhat.com>
8128 nscd: Fix use-after-free in addgetnetgrentX and its callers.
8129 * nscd/netgroupcache.c
8130 (addgetnetgrentX): Add tofreep parameter. Do not free
8131 heap-allocated buffer.
8132 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
8133 (addgetnetgrentX_ignore): New function.
8134 (addgetnetgrent): Call it.
8135 (readdgetnetgrent): Likewise.
8137 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8139 * string/memmem.c: Use memcmp for first match.
8141 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
8144 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
8146 2018-08-27 DJ Delorie <dj@redhat.com>
8148 * support/Makefile (others): Don't list programs explicitly as a
8149 dependency of "others".
8151 2018-08-27 Joseph Myers <joseph@codesourcery.com>
8153 * sysdeps/generic/math-tests-trap-force.h: New file.
8154 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
8155 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
8156 * sysdeps/powerpc/math-tests.h: Remove file.
8157 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
8159 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
8160 Torvald Riegel <triegel@redhat.com>
8163 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
8164 Update r to include the set wake-request flag if waiters are
8165 remaining after spinning.
8167 2018-08-27 Joseph Myers <joseph@codesourcery.com>
8169 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
8171 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
8174 regex: fix uninitialized memory access
8175 I introduced this bug into gnulib in commit
8176 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
8177 eventually it was merged into glibc. The bug was found by
8178 project-repo <bugs@feusi.co> and reported here:
8179 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
8180 Diagnosis and draft fix reported by Assaf Gordon here:
8181 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
8182 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
8183 * posix/regex_internal.c (build_wcs_upper_buffer):
8184 Fix bug when mbrtowc returns 0.
8186 2018-08-24 Carlos O'Donell <carlos@redhat.com>
8188 * po/be.po: Update translation.
8190 2018-08-24 DJ Delorie <dj@delorie.com>
8192 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
8195 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8198 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
8199 create temporary files in source tree.
8201 2018-08-24 Joseph Myers <joseph@codesourcery.com>
8203 * sysdeps/generic/math-tests-trap.h: New file.
8204 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
8205 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
8206 * sysdeps/aarch64/math-tests.h: Remove file.
8207 * sysdeps/arm/math-tests.h: Likewise.
8208 * sysdeps/riscv/math-tests.h: Likewise.
8209 * sysdeps/aarch64/math-tests-trap.h: New file.
8210 * sysdeps/arm/math-tests-trap.h: Likewise.
8211 * sysdeps/riscv/math-tests-trap.h: Likewise.
8213 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
8215 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
8216 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
8217 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
8218 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
8219 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
8220 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
8221 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8222 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
8223 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
8224 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8225 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8226 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8227 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8228 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
8229 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
8230 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
8231 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8232 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8234 2018-08-23 Joseph Myers <joseph@codesourcery.com>
8236 * sysdeps/generic/math-tests-exceptions.h: New file.
8237 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
8238 (EXCEPTION_TESTS_float): Do not define here.
8239 (EXCEPTION_TESTS_double): Likewise.
8240 (EXCEPTION_TESTS_long_double): Likewise.
8241 (EXCEPTION_TESTS_float128): Likewise.
8242 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
8244 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
8245 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
8246 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
8247 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
8248 * sysdeps/mips/math-tests.h: Likewise.
8249 * sysdeps/nios2/math-tests.h: Likewise.
8250 * sysdeps/riscv/math-tests.h [!__riscv_flen]
8251 (EXCEPTION_TESTS_float): Do not define here.
8252 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
8253 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
8254 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
8256 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
8258 * NEWS: Move optimized sinf entry to 2.29.
8260 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
8262 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
8264 2018-08-22 DJ Delorie <dj@redhat.com>
8266 * Makefile (testroot.pristine): New rules to initialize the
8267 test-in-container "testroot".
8268 * Makerules (all-testsuite): Add tests-container.
8269 * Rules (tests-expected): Add tests-container.
8270 (binaries-all-tests): Likewise.
8271 (tests-container): New, run these tests in the testroot container.
8272 * support/Makefile (others): Add *-container, support_paths.c,
8273 xmkdirp, and links-dso-program.
8274 * support/links-dso-program-c.c: New.
8275 * support/links-dso-program.cc: New.
8276 * support/test-container.c: New.
8277 * support/shell-container.c: New.
8278 * support/echo-container.c: New.
8279 * support/true-container.c: New.
8280 * support/xmkdirp.c: New.
8281 * support/xsymlink.c: New.
8282 * support/support_paths.c: New.
8283 * support/support.h: Add support paths prototypes.
8284 * support/xunistd.h: Add xmkdirp () and xsymlink ().
8286 * nss/tst-nss-test3.c: Convert to test-in-container.
8287 * nss/tst-nss-test3.root/: New.
8289 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
8291 regex: port Gnulib code to z/OS POSIX environment
8292 Problem reported by Arnold Robbins in:
8293 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
8294 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
8297 2018-08-22 Joseph Myers <joseph@codesourcery.com>
8299 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
8300 (ROUNDING_TESTS_double): Remove.
8301 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
8302 (ROUNDING_TESTS_double): Remove.
8303 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
8304 (ROUNDING_TESTS_double): Remove.
8305 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
8306 (ROUNDING_TESTS_float): Remove.
8307 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
8308 (ROUNDING_TESTS_float): Remove.
8309 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
8310 (ROUNDING_TESTS_float): Remove.
8311 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
8313 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8314 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8316 * sysdeps/generic/math-tests-rounding.h: New file.
8317 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
8318 (ROUNDING_TESTS_float): Do not define here.
8319 (ROUNDING_TESTS_double): Likewise.
8320 (ROUNDING_TESTS_long_double): Likewise.
8321 (ROUNDING_TESTS_float128): Likewise.
8322 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
8323 (ROUNDING_TESTS_double): Undefine before defining.
8324 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
8325 (ROUNDING_TESTS_double): Undefine before defining.
8326 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
8327 (ROUNDING_TESTS_double): Undefine before defining.
8328 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
8329 (ROUNDING_TESTS_float): Undefine before defining.
8330 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
8331 (ROUNDING_TESTS_float): Undefine before defining.
8332 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
8333 (ROUNDING_TESTS_float): Undefine before defining.
8334 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
8335 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
8337 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
8338 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
8339 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
8340 * sysdeps/riscv/math-tests.h [!__riscv_flen]
8341 (ROUNDING_TESTS_float): Do not define here.
8342 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
8343 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
8344 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
8345 (ROUNDING_TESTS_float): Likewise.
8346 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
8347 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
8348 * sysdeps/mips/math-tests.h [__mips_soft_float]
8349 (ROUNDING_TESTS_float): Likewise.
8350 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
8351 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
8352 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
8353 (ROUNDING_TESTS_double): Likewise.
8354 (ROUNDING_TESTS_long_double): Likewise.
8356 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
8358 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
8359 (PF_XDP): New macro.
8360 (AF_XDP): New macro.
8361 (SOL_XDP): New macro.
8363 2018-08-21 Joseph Myers <joseph@codesourcery.com>
8365 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
8366 (TCP_INQ): Likewise.
8367 (TCP_CM_INQ): Likewise.
8368 (TCP_REPAIR_ON): Likewise.
8369 (TCP_REPAIR_OFF): Likewise.
8370 (TCP_REPAIR_OFF_NO_WP): Likewise.
8371 (struct tcp_zerocopy_receive): New type.
8373 2018-08-21 Florian Weimer <fweimer@redhat.com>
8375 * support/support.h (support_descriptor_supports_holes): Declare.
8376 * support/Makefile (libsupport-routines): Add
8377 support_descriptor_supports_holes.
8378 * support/support_descriptor_supports_holes.c: New file.
8379 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
8380 and stop testing if holes are not supported.
8381 * io/test-lfs.c (do_prepare): Likewise.
8382 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
8384 * timezone/tst-tzset.c (create_tz_file): Likewise.
8385 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
8387 (do_prepare): Set it.
8388 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
8390 2018-08-21 Florian Weimer <fweimer@redhat.com>
8393 * Makeconfig (+cflags): Do not sort (and deduplicate).
8395 2018-08-21 Florian Weimer <fweimer@redhat.com>
8397 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
8398 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
8400 2018-08-20 Florian Weimer <fweimer@redhat.com>
8402 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
8403 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
8405 2018-08-20 Joseph Myers <joseph@codesourcery.com>
8407 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
8408 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
8409 and ssi_arch members.
8411 * elf/elf.c (NT_VMCOREDD): New macro.
8412 (AT_MINSIGSTKSZ): Likewise.
8414 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8416 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8417 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
8418 s_cosf-ppc64 and s_cosf-power8.
8419 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
8420 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8421 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8422 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
8424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
8425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
8426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
8427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8429 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
8430 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8432 2018-08-17 Florian Weimer <fweimer@redhat.com>
8434 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8436 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
8438 * malloc/malloc.c (_int_malloc): Additional binning code checks.
8440 2018-08-16 Florian Weimer <fweimer@redhat.com>
8442 * configure.ac: Add --with-nonshared-cflags option.
8443 * config.make.in (extra-nonshared-cflags): Set variable.
8444 * Makeconfig (CFLAGS-.oS): Use it.
8445 * manual/install.texi (Configuring and compiling): Document
8446 --with-nonshared-cflags.
8447 * configure: Regenerate.
8448 * INSTALL: Likewise.
8450 2018-08-16 Florian Weimer <fweimer@redhat.com>
8452 * Makeconfig (ASFLAGS): Always append required assembler flags.
8454 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
8456 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
8457 (malloc_consolidate): Likewise.
8459 2018-08-16 Pochang Chen <johnchen902@gmail.com>
8461 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
8463 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
8465 * benchtests/bench-strlen.c (do_test): Allocate buffers before
8468 * benchtests/bench-strlen.c: Print performance numbers in json.
8470 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8472 * sysdeps/powerpc/powerpc64/multiarch/Makefile
8473 (sysdep_routines): Build strcmp-power9 and strncmp-power9
8474 only for little endian.
8475 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8476 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
8477 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
8478 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
8479 Add check for little endian.
8480 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
8481 (__strcmp_power9): Add check for little endian.
8482 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
8483 Add check for little endian.
8484 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
8485 (__strncmp_power9): Add check for little endian.
8486 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
8487 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
8488 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
8489 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
8490 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
8492 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
8494 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
8495 [!STRLEN](STRLEN): Set to __strlen.
8496 * sysdeps/aarch64/multiarch/strlen.c: New file.
8497 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
8498 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
8499 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
8500 (__libc_ifunc_impl_list): Add strlen.
8501 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
8502 strlen_generic and strlen_asimd.
8504 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8506 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
8507 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
8508 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
8510 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
8512 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
8514 2018-08-14 Florian Weimer <fweimer@redhat.com>
8517 * include/stdio.h (__vfxprintf): Declare.
8518 * stdio-common/fxprintf.c (__vfxprintf): New function.
8519 (__fxprintf): Call it.
8520 * misc/err.c (convert_and_print): Remove function.
8521 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
8522 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
8523 * misc/Makefile (tests): Add tst-warn-wide.
8524 * misc/tst-warn-wide.c: New file.
8526 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
8527 Szabolcs Nagy <szabolcs.nagy@arm.com>
8529 * NEWS: Mention sinf, cosf, sincosf.
8530 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
8531 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
8532 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
8533 constants rather than including generic sincosf.h.
8534 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
8535 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
8536 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
8537 (reduced_cos): Remove.
8538 (sinf_poly): New function.
8539 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
8541 2018-08-14 Florian Weimer <fweimer@redhat.com>
8545 * nss/nss_files/files-alias.c (get_next_alias): During :include:
8546 processing, bail out if no room, and close the stream before
8548 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
8549 (tst-nss-files-alias-leak): Link with libdl.
8550 (tst-nss-files-alias-leak.out): Depend on nss_files.
8552 * nss/tst-nss-files-alias-leak.c: New file.
8554 2018-08-14 Florian Weimer <fweimer@redhat.com>
8556 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
8557 server_user, stat_user.
8559 2018-08-13 Joseph Myers <joseph@codesourcery.com>
8561 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8563 (io_pgetevents): New syscall.
8566 * manual/install.texi (Configuring and compiling): Do not list
8567 tools used for testing pretty printers here.
8568 (Tools for Compilation): List Python, PExpect and GDB here.
8569 Update descriptions of uses of Perl and Python.
8570 * INSTALL: Regenerate.
8572 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8575 2018-08-13 Florian Weimer <fweimer@redhat.com>
8577 * misc/error.c (error): Add missing va_end call.
8578 (error_at_line): Likewise.
8580 2018-08-13 Florian Weimer <fweimer@redhat.com>
8582 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
8584 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
8586 * benchtests/scripts/benchout.schema.json (properties): Add
8589 * benchtests/bench-skeleton.c (main): Add duration and
8590 iterations attributes.
8592 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
8594 regex: Gnulib unibyte RRI uses bytes not chars
8595 Adjust the non-glibc code to agree with what Gawk needs for
8596 rational range interpretation (RRI) for regular expression ranges.
8597 In unibyte locales, Gawk wants ranges to use the underlying byte
8598 rather than the character code point. This change does not affect
8600 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
8601 In unibyte locales, use the byte value rather than
8602 running it through btowc.
8604 2018-08-10 Joseph Myers <joseph@codesourcery.com>
8606 * sysdeps/generic/math-tests-snan.h: New file.
8607 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
8608 (SNAN_TESTS_float): Do not define here.
8609 (SNAN_TESTS_double): Likewise.
8610 (SNAN_TESTS_long_double): Likewise.
8611 (SNAN_TESTS_float128): Likewise.
8612 * sysdeps/i386/fpu/math-tests-snan.h: New file.
8613 * sysdeps/i386/fpu/math-tests.h: Remove file.
8614 * sysdeps/ia64/math-tests-snan.h: New file.
8615 * sysdeps/ia64/math-tests.h: Remove file.
8616 * sysdeps/x86/math-tests.h: Likewise.
8617 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
8619 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8620 Szabolcs Nagy <szabolcs.nagy@arm.com>
8622 * math/Makefile: Add s_sincosf_data.c.
8623 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
8624 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
8625 (sincosf_poly): Likewise.
8626 (reduce_small): Likewise.
8627 (reduce_large): Likewise.
8628 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
8629 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
8630 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
8631 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
8633 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
8634 Szabolcs Nagy <szabolcs.nagy@arm.com>
8636 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
8637 (converttoint): Use lround.
8638 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
8639 document the semantics when TOINT_INTRINSICS is set.
8640 (converttoint): Likewise.
8641 (TOINT_RINT): Remove.
8642 (TOINT_SHIFT): Remove.
8643 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
8646 2018-08-10 Florian Weimer <fweimer@redhat.com>
8649 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
8651 (__old_getdents64): Use getdents64. Convert entries without
8653 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
8654 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
8655 tst-readdir64-compat.
8657 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8659 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
8662 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8664 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
8665 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
8666 code to s390x-mcount.h and #include it.
8667 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
8668 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
8671 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8673 * stdlib/Versions: Remove __fentry__.
8674 * sysdeps/i386/Versions: Add __fentry__.
8675 * sysdeps/x86_64/Versions: Add __fentry__.
8677 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8679 * sysdeps/s390/Makefile: Register the new tests.
8680 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
8681 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
8682 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
8683 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
8684 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
8685 * sysdeps/s390/tst-dl-runtime.c: New file.
8687 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8689 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8692 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8694 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8697 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8699 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8702 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8704 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8707 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8709 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8710 Use symbolic offsets for stack variables.
8712 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8714 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8715 Use symbolic offsets for stack variables.
8717 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8719 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8720 Use symbolic offsets for stack variables.
8722 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8724 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8725 Use symbolic offsets for stack variables.
8727 2018-08-09 Joseph Myers <joseph@codesourcery.com>
8729 * math/gen-libm-test.py: New file.
8730 * math/gen-libm-test.pl: Remove.
8731 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
8732 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
8734 ($(libm-test-c-noauto-obj)): Likewise.
8735 ($(libm-test-c-auto-obj)): Likewise.
8736 ($(libm-test-c-narrow-obj)): Likewise.
8737 (regen-ulps): Likewise.
8738 * math/README.libm-test: Update references to gen-libm-test.pl.
8739 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
8740 referencing gen-libm-test.pl.
8741 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
8742 * math/libm-test-support.c: Likewise.
8743 * math/libm-test-support.h: Likewise.
8744 * sysdeps/generic/libm-test-ulps: Likewise.
8746 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
8748 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
8751 2018-08-08 Joseph Myers <joseph@codesourcery.com>
8753 * math/libm-test-nextdown.inc (do_test): Move comment to ....
8754 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
8756 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8758 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
8760 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
8761 __pthread_setspecific): Add hidden proto.
8762 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
8763 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
8765 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
8767 * benchtests/bench-string.h (buf1_size, buf2_size): New
8769 (init_sizes): New function.
8770 (test_init): Use it.
8771 (alloc_buf, exit_error): New functions.
8772 (alloc_bufs): Use ALLOC_BUF.
8773 (realloc_bufs): Remove.
8774 * benchtests/bench-memcmp.c (do_test): Adjust.
8775 * benchtests/bench-memset-large.c (do_test): Likewise.
8776 * benchtests/bench-memset-walk.c (do_test): Likewise.
8777 * benchtests/bench-memset.c (do_test): Likewise.
8778 * benchtests/bench-strncmp.c (do_test): Likewise.
8780 2018-08-06 Andreas Schwab <schwab@suse.de>
8782 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
8783 of CONST_THREAD_AREA.
8785 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
8787 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
8788 (STATE_SAVE_MASK): Likewise.
8789 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
8790 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
8791 (STATE_SAVE_MASK): Likewise.
8792 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
8793 instead of <cpu-features.h>.
8795 2018-08-03 DJ Delorie <dj@redhat.com>
8797 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
8798 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
8800 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
8802 2018-08-03 Joseph Myers <joseph@codesourcery.com>
8804 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
8806 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
8807 * math/libm-test-logb.inc (logb_test_data): Likewise.
8809 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
8811 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
8812 * string/strstr.c (AVAILABLE): Likewise.
8814 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8816 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
8818 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
8819 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
8820 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
8822 2018-08-03 Carlos O'Donell <carlos@redhat.com>
8824 * po/be.po: Update translation.
8826 * po/be.po: Update translation.
8828 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8830 * sysdeps/x86/cpu-features-offsets.sym
8831 (rtld_global_ro_offsetof): Removed.
8832 (CPU_FEATURES_SIZE): Likewise.
8833 (CPUID_OFFSET): Likewise.
8834 (CPUID_SIZE): Likewise.
8835 (CPUID_EAX_OFFSET): Likewise.
8836 (CPUID_EBX_OFFSET): Likewise.
8837 (CPUID_ECX_OFFSET): Likewise.
8838 (CPUID_EDX_OFFSET): Likewise.
8839 (FAMILY_OFFSET): Likewise.
8840 (MODEL_OFFSET): Likewise.
8841 (FEATURE_OFFSET): Likewise.
8842 (FEATURE_SIZ): Likewise.
8843 (COMMON_CPUID_INDEX_1): Likewise.
8844 (COMMON_CPUID_INDEX_7): Likewise.
8845 (FEATURE_INDEX_1): Likewise.
8846 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
8848 2018-08-02 Carlos O'Donell <carlos@redhat.com>
8850 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
8851 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
8852 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
8853 (install-locales): Depend on install-locale-archive.
8854 (install-locale-archive): Define.
8855 (install-locale-files): Define.
8856 (build-one-locale): Define macro.
8857 * manual/install.texi (Running make install): Document.
8858 * manual/INSTALL: Regenerate.
8860 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
8862 * benchtests/scripts/compare_strings.py: Import traceback.
8863 (parse_file): Pretty-print error.
8865 * NEWS: Mention the change.
8866 * elf/dl-tunables.list: Rename tune namespace to cpu.
8867 * sysdeps/powerpc/dl-tunables.list: Likewise.
8868 * sysdeps/x86/dl-tunables.list: Likewise.
8869 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
8871 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
8872 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
8873 * manual/README.tunables: Likewise.
8874 * manual/tunables.texi: Likewise.
8875 * sysdeps/powerpc/cpu-features.c: Likewise.
8876 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
8877 (init_cpu_features): Likewise.
8878 * sysdeps/x86/cpu-features.c: Likewise.
8879 * sysdeps/x86/cpu-features.h: Likewise.
8880 * sysdeps/x86/cpu-tunables.c: Likewise.
8881 * sysdeps/x86_64/Makefile: Likewise.
8882 * sysdeps/x86/dl-cet.c: Likewise.
8884 2018-08-02 Joseph Myers <joseph@codesourcery.com>
8887 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
8888 [__mips_hard_float].
8889 (FE_UNDERFLOW): Likewise.
8890 (FE_OVERFLOW): Likewise.
8891 (FE_DIVBYZERO): Likewise.
8892 (FE_INVALID): Likewise.
8893 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
8894 (FE_TOWARDZERO): Define only if [__mips_hard_float].
8895 (FE_UPWARD): Likewise.
8896 (FE_DOWNWARD): Likewise.
8897 (__FE_UNDEFINED): Define if [!__mips_hard_float]
8898 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
8899 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
8900 [__mips_hard_float].
8901 (FP_ROUNDMODE): Likewise.
8902 (FP_RND_NEAREST): Likewise.
8903 (FP_RND_ZERO): Likewise.
8904 (FP_RND_PINF): Likewise.
8905 (FP_RND_MINF): Likewise.
8906 (FP_EX_INVALID): Likewise.
8907 (FP_EX_OVERFLOW): Likewise.
8908 (FP_EX_UNDERFLOW): Likewise.
8909 (FP_EX_DIVZERO): Likewise.
8910 (FP_EX_INEXACT): Likewise.
8911 (FP_INIT_ROUNDMODE): Likewise.
8912 * sysdeps/mips/nofpu/fesetenv.c: New file.
8913 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
8915 2018-08-01 Joseph Myers <joseph@codesourcery.com>
8917 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
8918 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
8919 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
8920 conditional on [FE_UPWARD].
8922 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
8924 regex: fix memory leak in Gnulib
8925 Problem and fix reported by Assaf Gordon in:
8926 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
8927 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
8928 range_ends members too, as they are defined in 'struct
8929 re_charset_t' even if not _LIBC. This affects only Gnulib.
8931 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
8933 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
8935 (get_common_indices): This.
8936 (init_cpu_features): Updated.
8938 2018-08-01 Joseph Myers <joseph@codesourcery.com>
8940 * sysdeps/generic/math-tests-snan-payload.h: New file.
8941 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
8942 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
8943 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
8944 * sysdeps/generic/math-tests.h: Include
8945 <math-tests-snan-payload.h>.
8946 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8947 * sysdeps/hppa/math-tests.h: Remove file.
8948 * sysdeps/mips/math-tests.h [!__mips_nan2008]
8949 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8950 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
8953 * sysdeps/generic/math-tests-snan-cast.h: New file.
8954 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
8955 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
8956 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
8957 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
8959 2018-08-01 Carlos O'Donel <carlos@redhat.com>
8961 * version.h (RELEASE): Set to "development".
8962 (VERSION): Set to "2.28.9000".
8963 * NEWS (2.29): New section.
8965 * version.h (RELEASE): Set to "stable".
8966 (VERSION): Set to "2.28".
8967 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
8968 * NEWS: Add the list of bugs fixed in 2.28.
8970 * po/ca.po: Update to latest version.
8971 * po/cs.po: Likewise
8972 * po/da.po: Likewise
8973 * po/el.po: Likewise
8974 * po/eo.po: Likewise
8975 * po/es.po: Likewise
8976 * po/fi.po: Likewise
8977 * po/fr.po: Likewise
8978 * po/gl.po: Likewise
8979 * po/hu.po: Likewise
8980 * po/ia.po: Likewise
8981 * po/id.po: Likewise
8982 * po/it.po: Likewise
8983 * po/ja.po: Likewise
8984 * po/ko.po: Likewise
8985 * po/lt.po: Likewise
8986 * po/nb.po: Likewise
8987 * po/nl.po: Likewise
8988 * po/pt_BR.po: Likewise
8989 * po/ru.po: Likewise
8990 * po/rw.po: Likewise
8991 * po/sk.po: Likewise
8992 * po/sl.po: Likewise
8993 * po/tr.po: Likewise
8994 * po/zh_CN.po: Likewise
8995 * po/zh_TW.po: Likewise
8997 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8999 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
9001 (init): ... before initializing libpthread.
9003 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
9004 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
9005 (__mach_setup_tls): ... new function.
9006 (mach_setup_tls): New alias.
9007 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
9008 __mach_setup_thread.
9009 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
9010 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
9011 * mach/Versions [libc] (mach_setup_tls): Add symbol.
9012 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
9014 2018-07-31 Carlos O'Donell <carlos@redhat.com>
9016 * manual/install.texi: Update versions.
9017 * INSTALL: Regenerate.
9019 * manual/contrib.texi (Contributors): Update contributions.
9021 2018-07-31 Carlos O'Donell <carlos@redhat.com>
9023 * po/be.po: Update translations.
9025 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9027 * sysdeps/sh/libm-test-ulps: Update.
9029 2018-07-30 Carlos O'Donell <carlos@redhat.com>
9031 * po/bg.po: Update translations.
9032 * po/de.po: Likewise.
9033 * po/hr.po: Likewise.
9034 * po/pt_BR.po: Likewise.
9035 * po/sv.po: Likewise.
9036 * po/vi.po: Likewise.
9038 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
9041 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
9042 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
9043 (CFLAGS-tst-cet-property-1.o): New.
9044 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
9045 ($(objpfx)tst-cet-property-2): Likewise.
9046 ($(objpfx)tst-cet-property-2.out): Likewise.
9047 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
9048 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
9049 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
9050 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
9051 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
9053 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
9056 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
9058 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
9060 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
9061 __sbrk): Do not set attribute_hidden.
9062 * sysdeps/mach/hurd/not-errno.h: New file.
9063 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
9064 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
9066 2018-07-27 Carlos O'Donell <carlos@redhat.com>
9068 * po/uk.po: Update translations.
9069 * po/cs.po: Likewise.
9070 * po/pl.po: Likewise.
9072 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
9074 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
9075 parse beyond the note end.
9077 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9079 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
9080 kernel does not support OFD locks.
9081 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
9083 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9085 * sysdeps/mach/hurd/Versions (libc): Make __access and
9086 __access_noerrno external so they can override the ld symbols.
9087 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
9088 __writev, __open64, __access_noerrno extern so they can be overrided.
9089 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
9090 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
9092 2018-07-26 Carlos O'Donell <carlos@redhat.com>
9094 * po/libc.pot: Regenerate.
9096 2018-07-26 Joseph Myers <joseph@codesourcery.com>
9098 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
9100 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9103 * sysdeps/x86/cpu-features.c (get_extended_indices): New
9105 (init_cpu_features): Call get_extended_indices for both Intel
9107 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
9108 Remove "for AMD" comment.
9110 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9113 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
9114 COMMON_CPUID_INDEX_80000001.
9116 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
9118 * string/tst-xbzero-opt.c (use_test_buffer): New function.
9119 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
9121 2018-07-26 Florian Weimer <fweimer@redhat.com>
9123 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
9124 aliases for symbols not in the implementation namespace.
9126 2018-07-25 Carlos O'Donell <carlos@redhat.com>
9129 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
9130 lowercase in LATIN script.
9131 * localedata/Makefile (test-input): Add en_US.UTF-8.
9132 * localedata/en_US.UTF-8.in: New file.
9133 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
9134 and restore old tests.
9135 * posix/tst-regexloc.c (do_test): Add back range expression test.
9137 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9139 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
9141 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9143 * nptl/threads.h: Move to ...
9144 * sysdeps/nptl/threads.h: ... here.
9145 * sysdeps/hurd/stdc-predef.h: New file.
9147 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9149 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
9150 tst-cet-setcontext-1 if CET is enabled.
9151 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
9152 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
9154 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9156 * include/threads.h: Move to ...
9157 * sysdeps/nptl/threads.h: ... here.
9158 * sysdeps/htl/threads.h: New file.
9159 * conform/Makefile (linknamespace-libs-ISO11): Use
9160 static-thread-library instead of linking libpthread.
9161 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
9163 2018-07-25 Florian Weimer <fweimer@redhat.com>
9165 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
9166 nanoseconds into seconds.
9167 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
9168 (do_test): Likewise.
9169 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
9170 (do_test): Likewise. Avoid nanosecond overflow and spurious
9171 timeouts due to system load.
9172 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
9173 (child_wait): Increment it.
9174 (do_test): Wait as long as necessary until all expected threads
9177 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
9178 H.J. Lu <hongjiu.lu@intel.com>
9180 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
9182 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
9183 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
9184 (__push___start_context): New.
9185 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
9187 (__getcontext): Record the current shadow stack base. Save the
9188 caller's shadow stack pointer and base.
9189 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
9190 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
9191 (__push___start_context): New prototype.
9192 (__makecontext): Call __push___start_context to allocate a new
9193 shadow stack, push __start_context onto the new stack as well
9194 as the new shadow stack.
9195 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
9197 (__setcontext): Restore the target shadow stack.
9198 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
9200 (__swapcontext): Record the current shadow stack base. Save
9201 the caller's shadow stack pointer and base. Restore the target
9203 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9204 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
9205 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
9207 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9209 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
9210 tst-setcontext8 and tst-setcontext9.
9211 * stdlib/tst-setcontext6.c: New file.
9212 * stdlib/tst-setcontext7.c: Likewise.
9213 * stdlib/tst-setcontext8.c: Likewise.
9214 * stdlib/tst-setcontext9.c: Likewise.
9216 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9218 * stdlib/Makefile ((tests): Add tst-setcontext5.
9219 * stdlib/tst-setcontext5.c: New file.
9221 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9223 * stdlib/Makefile (tests): Add tst-setcontext4.
9224 * stdlib/tst-setcontext4.c: New file.
9226 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9228 * stdlib/Makefile (tests): Add tst-swapcontext1.
9229 * stdlib/tst-swapcontext1.c: New test.
9231 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9233 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
9234 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
9235 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
9236 and tst-cet-legacy-4c.
9237 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
9238 and tst-cet-legacy-mod-4.
9239 (CFLAGS-tst-cet-legacy-2.c): New.
9240 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
9241 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
9242 (CFLAGS-tst-cet-legacy-3.c): Likewise.
9243 (CFLAGS-tst-cet-legacy-4.c): Likewise.
9244 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
9245 ($(objpfx)tst-cet-legacy-1): Likewise.
9246 ($(objpfx)tst-cet-legacy-2): Likewise.
9247 ($(objpfx)tst-cet-legacy-2.out): Likewise.
9248 ($(objpfx)tst-cet-legacy-2a): Likewise.
9249 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
9250 ($(objpfx)tst-cet-legacy-4): Likewise.
9251 ($(objpfx)tst-cet-legacy-4.out): Likewise.
9252 ($(objpfx)tst-cet-legacy-4a): Likewise.
9253 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
9254 (tst-cet-legacy-4a-ENV): Likewise.
9255 ($(objpfx)tst-cet-legacy-4b): Likewise.
9256 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
9257 (tst-cet-legacy-4b-ENV): Likewise.
9258 ($(objpfx)tst-cet-legacy-4c): Likewise.
9259 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
9260 (tst-cet-legacy-4c-ENV): Likewise.
9261 * sysdeps/x86/tst-cet-legacy-1.c: New file.
9262 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
9263 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
9264 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
9265 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
9266 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
9267 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
9268 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
9269 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
9270 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
9271 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
9273 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9275 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
9276 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
9278 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
9279 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
9282 2018-07-25 Andreas Schwab <schwab@suse.de>
9285 * locale/weightwc.h (findidx): Handle the case where usrc is a
9286 prefix of cp but one character too short.
9288 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9290 * NEWS: Add ISO C threads addition.
9292 2018-07-24 Florian Weimer <fweimer@redhat.com>
9294 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9295 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
9296 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
9299 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9301 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
9302 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
9303 <sys/prctl.h> and <asm/prctl.h>.
9304 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
9305 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
9307 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
9308 ARCH_CET_LEGACY_BITMAP.
9309 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
9310 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
9311 * sysdeps/x86/libc-start.c: Include <startup.h>.
9313 2018-07-24 Florian Weimer <fweimer@redhat.com>
9315 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
9316 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
9318 2018-07-24 Rical Jasan <rj@2c3t.io>
9319 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9320 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9323 * manual/debug.texi: Update adjacent chapter name.
9324 * manual/probes.texi: Likewise.
9325 * manual/threads.texi (ISO C Threads): New section.
9326 (POSIX Threads): Convert to a section.
9328 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9329 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9332 * nptl/Makefile (tests): Add new test files.
9333 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
9334 * nptl/tst-cnd-basic.c: Likewise.
9335 * nptl/tst-cnd-broadcast.c: Likewise.
9336 * nptl/tst-cnd-timedwait.c: Likewise.
9337 * nptl/tst-mtx-basic.c: Likewise.
9338 * nptl/tst-mtx-recursive.c: Likewise.
9339 * nptl/tst-mtx-timedlock.c: Likewise.
9340 * nptl/tst-mtx-trylock.c: Likewise.
9341 * nptl/tst-thrd-basic.c: Likewise.
9342 * nptl/tst-thrd-detach.c: Likewise.
9343 * nptl/tst-thrd-sleep.c: Likewise.
9344 * nptl/tst-tss-basic.c: Likewise.
9346 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9349 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
9350 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
9352 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9353 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9354 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9355 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9356 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9357 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9358 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9359 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9360 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9361 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9362 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9363 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9371 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9372 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9373 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9374 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9375 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9376 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9377 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9378 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9379 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
9380 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
9381 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
9382 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
9383 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
9385 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
9386 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
9387 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
9388 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
9389 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
9390 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
9391 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
9392 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
9393 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
9394 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
9395 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
9396 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
9398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
9399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9403 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
9404 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
9405 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
9406 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
9407 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
9408 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
9409 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
9410 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
9413 * conform/data/threads.h-data (thread_local): New macro.
9414 (TSS_DTOR_ITERATIONS): Likewise.
9416 (tss_dtor_t): Likewise.
9417 (tss_create): New function.
9418 (tss_get): Likewise.
9419 (tss_set): Likewise.
9420 (tss_delete): Likewise.
9421 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
9422 tss_get, and tss_set objects.
9423 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9424 * nptl/tss_create.c: New file.
9425 * nptl/tss_delete.c: Likewise.
9426 * nptl/tss_get.c: Likewise.
9427 * nptl/tss_set.c: Likewise.
9428 * sysdeps/nptl/threads.h (thread_local): New define.
9429 (TSS_DTOR_ITERATIONS): Likewise.
9430 (tss_t): New typedef.
9431 (tss_dtor_t): Likewise.
9432 (tss_create): New prototype.
9433 (tss_get): Likewise.
9434 (tss_set): Likewise.
9435 (tss_delete): Likewise.
9438 * conform/data/threads.h-data (cnd_t): New type.
9439 (cnd_init): New function.
9440 (cnd_signal): Likewise.
9441 (cnd_broadcast): Likewise.
9442 (cnd_wait): Likewise.
9443 (cnd_timedwait): Likewise.
9444 (cnd_destroy): Likewise.
9445 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
9446 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
9448 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9449 * nptl/cnd_broadcast.c: New file.
9450 * nptl/cnd_destroy.c: Likewise.
9451 * nptl/cnd_init.c: Likewise.
9452 * nptl/cnd_signal.c: Likewise.
9453 * nptl/cnd_timedwait.c: Likewise.
9454 * nptl/cnd_wait.c: Likewise.
9455 * sysdeps/nptl/threads.h (cnd_t): New type.
9456 (cnd_init): New prototype.
9457 (cnd_signa): Likewise.
9458 (cnd_broadcast): Likewise.
9459 (cnd_wait): Likewise.
9460 (cnd_timedwait): Likewise.
9461 (cnd_destroy): Likewise.
9464 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
9465 (once_flag): New type.
9466 (call_once): New function.
9467 * nptl/Makefile (libpthread-routines): Add call_once object.
9468 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
9469 * nptl/call_once.c: New file.
9470 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
9471 (once_flag): New type.
9472 (call_once): New prototype.
9475 * conform/data/threads.h-data (mtx_plain): New constant.
9476 (mtx_recursive): Likewise.
9477 (mtx_timed): Likewise.
9479 (mtx_init): New function.
9480 (mtx_lock): Likewise.
9481 (mtx_timedlock): Likewise.
9482 (mtx_trylock): Likewise.
9483 (mtx_unlock): Likewise.
9484 (mtx_destroy): Likewise.
9485 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
9486 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
9487 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
9488 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
9489 * nptl/mtx_destroy.c: New file.
9490 * nptl/mtx_init.c: Likewise.
9491 * nptl/mtx_lock.c: Likewise.
9492 * nptl/mtx_timedlock.c: Likewise.
9493 * nptl/mtx_trylock.c: Likewise.
9494 * nptl/mtx_unlock.c: Likewise.
9495 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
9496 (mtx_recursive): Likewise.
9497 (mtx_timed): Likewise.
9499 (mtx_init): New prototype.
9500 (mtx_lock): Likewise.
9501 (mtx_timedlock): Likewise.
9502 (mtx_trylock): Likewise.
9503 (mtx_unlock): Likewise.
9504 (mtx_destroy): Likewise.
9507 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
9508 (linknamespace-libs-ISO11): Add libpthread.a.
9509 * conform/data/threads.h-data: New file: add C11 thrd_* types and
9511 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
9512 * nptl/Makefile (headers): Add threads.h.
9513 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
9514 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
9516 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
9517 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
9518 thrd_join, thrd_sleep, and thrd_yield symbols.
9519 * nptl/descr.h (struct pthread): Add c11 field.
9520 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
9521 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
9522 routine with expected function prototype.
9523 (__pthread_create_2_1): Add C11 threads check based on attribute
9525 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
9526 * nptl/thrd_create.c: New file.
9527 * nptl/thrd_current.c: Likewise.
9528 * nptl/thrd_detach.c: Likewise.
9529 * nptl/thrd_equal.c: Likewise.
9530 * nptl/thrd_exit.c: Likewise.
9531 * nptl/thrd_join.c: Likewise.
9532 * nptl/thrd_priv.h: Likewise.
9533 * nptl/thrd_sleep.c: Likewise.
9534 * nptl/thrd_yield.c: Likewise.
9535 * include/threads.h: Likewise.
9537 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9539 * bits/indirect-return.h: New file.
9540 * misc/sys/cdefs.h (__glibc_has_attribute): New.
9541 * sysdeps/x86/bits/indirect-return.h: Likewise.
9542 * stdlib/Makefile (headers): Add bits/indirect-return.h.
9543 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
9544 (swapcontext): Add __INDIRECT_RETURN.
9545 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
9546 (prepare_test_buffer): Use it.
9548 2018-07-24 Andreas Schwab <schwab@suse.de>
9551 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
9552 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
9554 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9556 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
9557 Redefine if shadow stack is enabled.
9558 (SYSCALL_ERROR_LABEL): Likewise.
9559 (__vfork): Pop shadow stack and jump back to to caller directly
9560 when shadow stack is in use.
9561 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
9562 Redefine if shadow stack is enabled.
9563 (SYSCALL_ERROR_LABEL): Likewise.
9564 (__vfork): Pop shadow stack and jump back to to caller directly
9565 when shadow stack is in use.
9567 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9569 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
9572 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
9575 2018-07-20 Joseph Myers <joseph@codesourcery.com>
9577 * scripts/build-many-glibcs.py (Context.checkout): Default
9578 binutils version to 2.31 branch.
9580 2018-07-20 Zong Li <zong@andestech.com>
9582 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
9583 URL of gcc's tarball.
9585 2018-07-20 Florian Weimer <fweimer@redhat.com>
9588 * posix/regcomp.c (build_equiv_class): When comparing weights, do
9589 not compare an extra byte after the end of the weights.
9591 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
9593 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
9595 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
9597 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
9598 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
9599 * scripts/check-execstack.awk: Consider `xfail' variable containing a
9600 list of libraries whose stack executability is expected.
9601 * elf/Makefile ($(objpfx)check-execstack.out): Pass
9602 $(check-execstack-xfail) to check-execstack.awk through `xfail'
9604 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
9605 libc.so libpthread.so.
9607 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
9609 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
9611 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
9613 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
9615 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
9617 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9619 * benchtests/scripts/compare_bench.py (__main__): use the argparse
9620 library to improve command line parsing.
9621 (__main__): make schema file as optional parameter (--schema),
9622 defaulting to benchtests/scripts/benchout.schema.json.
9623 (main): move out of the parsing stuff to __main_ and leave it
9624 only as caller of main comparison functions.
9626 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
9628 * NEWS: Add a note for Intel CET status.
9629 * manual/install.texi: Likewise.
9630 * INSTALL: Regenerated.
9632 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
9635 * localedata/locales/oc_FR (mon): Rename to...
9636 (alt_mon): This, then update October (typo fix).
9637 (mon): New content (genitive case, month names preceded by
9641 * localedata/locales/oc_FR (abday): Update all items.
9642 (day): Update Wednesday and Saturday (typo fixes).
9643 (abmon): Update all items, except May.
9644 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
9645 (LC_IDENTIFICATION): Bump the revision number and date.
9646 Keep the "category" entries in alphabetic order.
9647 (LC_ADDRESS): Remove no longer needed comment.
9648 (LC_COLLATE): Use “copy "ca_ES"”.
9649 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
9652 2018-07-18 Joseph Myers <joseph@codesourcery.com>
9654 * grp/tst_fgetgrent.c: Include <unistd.h>.
9655 (main): Use mkstemp instead of tmpnam.
9656 * io/test-utime.c (main): Likewise.
9657 * posix/annexc.c (macrofile): Change to modifiable array.
9658 (main): Remove macrofile here.
9659 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9661 (check_header): Do not remove macrofile here.
9662 * posix/bug-getopt1.c: Include <stdlib.h>.
9663 (do_test): Use mkstemp instead of tmpnam.
9664 * posix/bug-getopt2.c: Include <stdlib.h>.
9665 (do_test): Use mkstemp instead of tmpnam.
9666 * posix/bug-getopt3.c: Include <stdlib.h>.
9667 (do_test): Use mkstemp instead of tmpnam.
9668 * posix/bug-getopt4.c: Include <stdlib.h>.
9669 (do_test): Use mkstemp instead of tmpnam.
9670 * posix/bug-getopt5.c: Include <stdlib.h>.
9671 (do_test): Use mkstemp instead of tmpnam.
9672 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
9673 (main): Use mkstemp instead of tmpnam.
9674 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
9675 (main): Use mkstemp instead of tmpnam.
9676 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
9677 (main): use mkstemp instead of tmpnam.
9678 * stdlib/isomac.c (macrofile): Change to modifiable array.
9679 (main): Remove macrofile here.
9680 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9682 (check_header): Do not remove macrofile here.
9684 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9686 * manual/tunables.texi: Document glibc.tune.x86_ibt and
9687 glibc.tune.x86_shstk.
9689 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9691 * NEWS: Mention --enable-cet.
9692 * manual/install.texi: Document --enable-cet.
9693 * INSTALL: Regenerated.
9695 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9697 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
9698 Add _CET_NOTRACK before indirect jump to jump table.
9700 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9702 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
9703 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9706 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9708 * sysdeps/i386/i686/multiarch/strcat-sse2.S
9709 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9712 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9714 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
9715 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9718 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9720 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
9721 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9724 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9726 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
9727 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9729 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
9731 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9733 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
9734 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9737 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9739 * sysdeps/i386/i686/multiarch/memset-sse2.S
9740 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9743 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9745 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
9746 indirect jump to jump table.
9748 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9750 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
9751 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9755 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9757 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
9758 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9762 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9764 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9765 _CET_NOTRACK before indirect jump to jump table.
9767 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9769 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
9770 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9773 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9775 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
9776 indirect jump to jump table.
9778 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
9781 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
9782 (LOCALES): Likewise.
9783 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
9784 * localedata/locales/sah_RU: New file.
9785 * localedata/sah_RU.UTF-8.in: New file.
9787 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9789 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
9791 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9792 _CET_ENDBR to indirect jump targets and adjust jump destination
9794 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
9796 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9797 _CET_ENDBR to indirect jump targets and adjust jump destination
9799 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
9801 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
9802 _CET_ENDBR to indirect jump targets and adjust jump destination
9805 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9807 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9810 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9812 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
9814 (_dl_tlsdesc_undefweak): Likewise.
9815 (_dl_tlsdesc_dynamic): Likewise.
9816 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
9817 (_dl_tlsdesc_resolve_rel): Likewise.
9818 (_dl_tlsdesc_resolve_rela): Likewise.
9819 (_dl_tlsdesc_resolve_hold): Likewise.
9820 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
9821 (_dl_tlsdesc_undefweak): Likewise.
9822 (_dl_tlsdesc_dynamic): Likewise.
9823 (_dl_tlsdesc_resolve_rela): Likewise.
9824 (_dl_tlsdesc_resolve_hold): Likewise.
9826 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9828 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
9830 * sysdeps/x86_64/crti.S (_init): Likewise.
9833 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
9836 * localedata/locales/os_RU (mon): Rename to...
9838 (mon): Import from CLDR (genitive case).
9840 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9842 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
9843 cet-tunables.h> when CET is enabled.
9845 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
9848 * configure.ac: Add --enable-cet.
9849 * configure: Regenerated.
9850 * elf/Makefille (all-built-dso): Add a comment.
9851 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
9852 Include <dl-prop.h>.
9853 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
9855 * elf/dl-open.c: Include <dl-prop.h>.
9856 (dl_open_worker): Call _dl_open_check.
9857 * elf/rtld.c: Include <dl-prop.h>.
9858 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
9860 * sysdeps/generic/dl-prop.h: New file.
9861 * sysdeps/i386/dl-cet.c: Likewise.
9862 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
9863 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
9864 * sysdeps/x86/cet-tunables.h: Likewise.
9865 * sysdeps/x86/check-cet.awk: Likewise.
9866 * sysdeps/x86/configure: Likewise.
9867 * sysdeps/x86/configure.ac: Likewise.
9868 * sysdeps/x86/dl-cet.c: Likewise.
9869 * sysdeps/x86/dl-procruntime.c: Likewise.
9870 * sysdeps/x86/dl-prop.h: Likewise.
9871 * sysdeps/x86/libc-start.h: Likewise.
9872 * sysdeps/x86/link_map.h: Likewise.
9873 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
9875 (_dl_runtime_profile): Likewise.
9876 (_dl_runtime_resolve_shstk): New.
9877 (_dl_runtime_profile_shstk): Likewise.
9878 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
9880 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
9881 (CFLAGS-.os): Likewise.
9882 (CFLAGS-.op): Likewise.
9883 (CFLAGS-.oS): Likewise.
9884 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
9886 (tests-special): Add $(objpfx)check-cet.out.
9887 (cet-built-dso): New.
9888 (+$(cet-built-dso:=.note)): Likewise.
9889 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
9890 ($(objpfx)check-cet.out): New.
9891 (generated): Add check-cet.out.
9892 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
9894 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
9895 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9896 (init_cpu_features): Call get_cet_status to check CET status
9897 and update dl_x86_feature_1 with CET status. Call
9898 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
9899 (set_x86_shstk). Disable and lock CET in libc.a.
9900 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
9901 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
9902 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9903 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
9904 (_CET_ENDBR): Define if not defined.
9905 (ENTRY): Add _CET_ENDBR.
9906 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
9908 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
9910 (_dl_runtime_profile): Likewise.
9912 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
9915 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
9916 restore r2 on longjmp.
9917 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
9919 Added rules to build test tst-setjmp-bug21895-static.
9920 Added module setjmp-bug21895 and rules to build a shared object from it.
9921 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
9922 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
9924 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
9926 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
9927 * benchtests/bench-strstr.c: Likewise.
9928 * string/memmem.c (FASTSEARCH): Define.
9929 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
9930 Add support for FASTSEARCH.
9931 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
9932 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
9933 (FASTSEARCH): Define.
9934 * string/test-strcasestr.c: Rename __strnlen to strnlen.
9935 * string/test-strstr.c: Likewise.
9937 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
9939 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
9940 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
9942 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
9943 H.J. Lu <hongjiu.lu@intel.com>
9945 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
9946 (__longjmp): Restore shadow stack pointer if shadow stack is
9947 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9948 isn't defined for __longjmp_cancel.
9949 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
9950 (_setjmp): Save shadow stack pointer if shadow stack is enabled
9951 and SHADOW_STACK_POINTER_OFFSET is defined.
9952 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
9953 (setjmp): Save shadow stack pointer if shadow stack is enabled
9954 and SHADOW_STACK_POINTER_OFFSET is defined.
9955 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
9956 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9957 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9958 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
9960 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9961 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9962 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
9963 Remove jmp_buf-ssp.sym.
9964 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9966 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9967 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9968 * sysdeps/x86/Makefile (gen-as-const-headers): Add
9970 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
9971 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
9972 (__longjmp): Restore shadow stack pointer if shadow stack is
9973 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9974 isn't defined for __longjmp_cancel.
9975 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
9976 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9977 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9979 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
9982 * nptl/pthread_create.c: Include <tls-setup.h>.
9983 (__pthread_create_2_1): Call tls_setup_tcbhead.
9984 * sysdeps/generic/tls-setup.h: New file.
9985 * sysdeps/x86/nptl/tls-setup.h: Likewise.
9986 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
9987 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
9989 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
9991 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
9992 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
9993 (X86_FEATURE_1_SHSTK): Likewise.
9994 (CET_ENABLED): Likewise.
9995 (IBT_ENABLED): Likewise.
9996 (SHSTK_ENABLED): Likewise.
9998 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
10001 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
10002 (LOCALES): Likewise.
10003 * localedata/dsb_DE.UTF-8.in: New file.
10004 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
10006 2018-07-12 Florian Weimer <fweimer@redhat.com>
10008 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
10009 __mprotect, not mprotect.
10011 2018-07-11 Florian Weimer <fweimer@redhat.com>
10013 * io/Makefile (headers): Add bits/statx.h.
10015 2018-07-10 Mike FABIAN <mfabian@redhat.com>
10017 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
10018 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
10020 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
10021 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
10024 2018-07-10 Florian Weimer <fweimer@redhat.com>
10026 * io/Makefile (routines): Add statx.
10027 (tests-internal): Add tst-statx.
10028 * io/Versions (GLIBC_2.28): Export statx.
10029 * io/bits/statx.h: New file.
10030 * io/sys/stat.h [__USE_GNU]: Include it.
10031 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
10032 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
10034 * io/statx.c: New file.
10035 * io/statx_generic.: Likewise.
10036 * io/tst-statx.: Likewise.
10037 * include/bits/statx.h: Likewise.
10038 * sysdeps/unix/sysv/linux/kernel-features.h
10039 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
10040 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10041 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
10042 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
10044 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10045 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
10046 * sysdeps/unix/sysv/linux/statx.c: New file.
10047 * manual/filesys.texi: Note that statx is undocumented.
10048 * sysdeps/**/libc*.abilist: Update.
10050 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10052 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
10053 a kernel issue which lead to test failure in some cases.
10055 2018-07-10 Florian Weimer <fweimer@redhat.com>
10058 * posix/regexec.c (check_node_accept_bytes): When comparing
10059 weights, do not compare an extra byte after the end of the
10062 2018-07-10 Florian Weimer <fweimer@redhat.com>
10064 * libio/readline.c: Fix copyright year.
10065 * libio/tst-readline.c Likewise.
10066 * nss/tst-nss-files-hosts-getent.c: Likewise.
10068 2018-07-06 Florian Weimer <fweimer@redhat.com>
10071 * nss/nss_files/files-XXX.c (internal_getent): Use
10072 __libc_readline_unlocked. Seek back to the start of the line if
10073 parsing failes with ERANGE.
10074 (get_contents_ret, get_contents): Remove.
10075 * nss/tst-nss-files-hosts-getent.c: New file.
10076 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
10077 (tst-nss-files-hosts-getent): Link with -ldl.
10079 2018-07-06 Florian Weimer <fweimer@redhat.com>
10081 * include/stdio.h (__libc_readline_unlocked): Declare.
10082 (__ftello64, __fseeko64): Declare aliases.
10083 * libio/readline.c: New file.
10084 * libio/tst-readline.c: Likewise.
10085 (routines): Add readline.
10086 (tests-internal): Add tst-readlime.
10087 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
10088 __libc_readline_unlocked.
10089 * libio/fseeko.c (__fseeko): Rename from fseeko.
10090 (fseeko): Add alias.
10091 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
10092 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
10093 (fseeko64): Add alias.
10094 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
10095 * libio/ftello64.c (__ftello64): Rename from ftello64.
10096 (ftello64): Add alias.
10098 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10100 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
10103 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10105 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
10106 Use dl_hwcap without masking.
10107 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
10108 Remove HWCAP_CPUID.
10110 2018-07-06 Florian Weimer <fweimer@redhat.com>
10112 * conform/conformtest.pl (checknamespace): Escape literal braces
10113 in regular expressions.
10115 2018-07-06 Amit Pawar <amit.pawar@amd.com>
10117 * sysdeps/x86/cpu-features.c (get_common_indeces):
10118 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
10119 * sysdeps/x86/cpu-features.c (init_cpu_features):
10120 AVX_Fast_Unaligned_Load is disabled for Excavator core.
10122 2018-07-05 Florian Weimer <fweimer@redhat.com>
10124 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
10126 (CFLAGS-elf-init.oS): Likewise.
10128 2018-07-05 Florian Weimer <fweimer@redhat.com>
10129 Carlos O'Donell <carlos@redhat.com>
10131 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
10132 $(no-stack-protector). stack_chk_fail_local.c can be compiled
10133 with stack protector enabled because there is no risk of infinite
10136 2018-07-05 Maciej W. Rozycki <macro@mips.com>
10140 * libc-abis (ABSOLUTE): New ABI.
10141 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
10142 * NEWS: Mention the new ABI.
10144 2018-07-05 Florian Weimer <fweimer@redhat.com>
10147 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
10148 (RENAME_WHITEOUT): Define.
10149 [__USE_GNU] (renameat2): Declare.
10150 * stdio-common/Makefile (routines): Add renameat2.
10151 (tests): Add tst-renameat2.
10152 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
10153 * stdio-common/renameat2.c: New file.
10154 * stdio-common/tst-renameat2.c: Likewise.
10155 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
10156 * manual/filesys.texi (Temporary Files): Note that renameat2 is
10158 * sysdeps/unix/sysv/linux/kernel-features.h
10159 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
10160 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10161 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10162 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10163 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10164 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10165 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
10166 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10167 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
10168 * include/stdio.h (__renameat): Add alias for renameat.
10169 * stdio-common/renameat.c (__renameat): Rename from renameat.
10170 Add hidden definition and alias.
10171 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
10172 * sysdeps/mach/hurd/renameat.c: Likewise.
10173 * sysdeps/**/libc*.abilist: Add renameat2.
10175 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10177 * posix/bug-regex33.c: Fix build after regex sync.
10179 2018-07-04 Carlos O'Donell <carlos@redhat.com>
10182 * localedata/tst-langinfo-setlocale.c: New file.
10183 * localedata/tst-langinfo-setlocale-static.c: New file.
10184 * localedata/tst-langinfo-newlocale.c: New file.
10185 * localedata/tst-langinfo-newlocale-static.c: New file.
10186 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
10187 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
10188 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
10189 (tests-static): Remove tst-langinfo-static. Add
10190 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
10191 (tests-special): Remove $(objpfx)tst-langinfo.out,
10192 $(objpfx)tst-langinfo-static.out. Add
10193 $(objpfx)tst-langinfo-setlocale.out,
10194 $(objpfx)tst-langinfo-newlocale.out,
10195 $(objpfx)tst-langinfo-setlocale-static.out,
10196 $(objpfx)tst-langinfo-newlocale-static.out.
10197 ($(objpfx)tst-langinfo.out): Remove.
10198 ($(objpfx)tst-langinfo-static.out): Remove.
10199 ($(objpfx)tst-langinfo-newlocale.out): New target.
10200 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
10201 (test-xfail-tst-langinfo-newlocale-static): Add.
10202 ($(objpfx)tst-langinfo-setlocale.out): New target.
10203 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
10204 * localedata/tst-langinfo.c: Call test_locale.
10205 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
10208 2018-07-04 Florian Weimer <fweimer@redhat.com>
10210 testrun.sh: Implement --tool=strace, --tool=valgrind
10211 * Makefile (testrun-script): Define variable.
10212 (testrun.sh): Use variable.
10213 * manual/install.texi (Tools for Compilation): make 4.0 or later
10215 * configure.ac: Check for make 4.0 or later.
10216 * INSTALL: Regenerate.
10217 * configure: Likewise.
10219 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10225 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
10226 * posix/PCRE.tests: Remove invalid test.
10227 * posix/bug-regex28.c: Fix expected values for used syntax.
10228 * posix/bug-regex37.c: New file.
10229 * posix/bug-regex38.c: Likewise.
10230 * posix/regcomp.c: Sync with gnulib.
10231 * posix/regex.c: Likewise.
10232 * posix/regex.h: Likewise.
10233 * posix/regex_internal.c: Likewise.
10234 * posix/regex_internal.h: Likewise.
10235 * posix/regexec.c: Likewise.
10237 2018-06-26 Mike FABIAN <mfabian@redhat.com>
10240 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
10241 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
10242 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
10243 * localedata/unicode-gen/PropList.txt: likewise.
10244 * localedata/unicode-gen/UnicodeData.txt: likewise.
10245 * localedata/charmaps/UTF-8: Regenerate.
10246 * localedata/locales/i18n_ctype: likewise.
10247 * localedata/locales/tr_TR: likewise.
10248 * localedata/locales/translit_circle: likewise.
10249 * localedata/locales/translit_cjk_compat: likewise.
10250 * localedata/locales/translit_combining: likewise.
10251 * localedata/locales/translit_compat: likewise.
10252 * localedata/locales/translit_font: likewise.
10253 * localedata/locales/translit_fraction: likewise.
10255 2018-07-03 Florian Weimer <fweimer@redhat.com>
10258 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
10259 * stdio-common/tst-printf.sh: Adjust expected output.
10260 * LICENSES: Update.
10262 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10264 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
10267 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10269 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
10270 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
10271 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
10272 * stdio-common/tst-printfsz-islongdouble.c: New file.
10273 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
10274 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
10275 [subdir == stdio-common] (routines): Add ieee128-printf_size.
10276 [subdir == stdio-common] (tests-internal): Add
10277 test-printf-size-ieee128, and test-printf-size-ibm128.
10278 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
10279 (CFLAGS-test-printf-size-ibm128.c): New variables.
10280 [subdir == stdio-common] (tests-special): Add
10281 $(objpfx)test-printf-size-ieee128.out and
10282 $(objpfx)test-printf-size-ibm128.out.
10283 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
10284 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
10285 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
10286 __printf_sizeieee128.
10287 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
10289 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
10291 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
10294 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
10296 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
10297 (exp2f_inline): Likewise.
10298 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
10299 (__math_uflowf): Likewise.
10300 (__math_may_uflowf): Likewise.
10301 (__math_divzerof): Likewise.
10302 (__math_invalidf): Likewise.
10303 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
10304 (__math_oflowf): Likewise.
10305 (__math_uflowf): Likewise.
10306 (__math_may_uflowf): Likewise.
10307 (__math_divzerof): Likewise.
10308 (__math_invalidf): Likewise.
10310 2018-06-29 DJ Delorie <dj@redhat.com>
10311 Carlos O'Donell <carlos@redhat.com>
10314 * include/libc-symbols.h: Comment the freeres framework.
10315 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
10316 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
10317 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
10318 * dlfcn/dlerror.c: Include libc-symbols.h
10319 (__dlerror_main_freeres): New function.
10320 * dlfcn/dlfreeres.c: New file.
10321 * dlfcn/sdlfreeres.c: New file.
10322 * include/dlfcn.h: Declare __dlerror_main_freeres.
10323 * malloc/set-freeres.c: Declare __libdl_freeres, and
10324 __libpthread_freeres.
10325 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
10326 the releavant libraries are loaded.
10327 * malloc/thread-freeres.c: Add comments.
10328 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
10329 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
10330 * nptl/allocatestack.c (__nptl_free_stacks): New function.
10331 (__free_stacks): Rename to...
10332 (free_stacks): ...this. Mark static.
10333 (queue_stack): Call free_stacks.
10334 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
10335 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
10336 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
10337 ptr_freeres element from struct.
10338 (pthread_functions): Remove .ptr_freeres from struct initializer.
10339 [SHARED] (nptl_freeres): Remove.
10340 * nptl/nptlfreeres.c: New file.
10342 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
10343 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
10345 (__free_stacks): Rename to...
10346 (__nptl_stacks_freeres): ...this.
10347 (__shm_directory_freeres): Declare.
10348 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
10349 (__nptl_unwind_freeres): ...this.
10350 * resolv/res-close.c: Add comment.
10351 * resolv/resolv_conf.c: Include libc-symbols.h.
10352 * string/strerror_l.c: Include libc-symbols.h.
10353 * sunrpc/rpc_thread.c: Include libc-symbols.h.
10354 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
10355 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
10356 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
10358 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10360 * stdlib/tst-strfmon_l.c: Add tests for long double.
10362 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
10365 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
10366 * localedata/locales/dsb_DE: New file.
10368 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10371 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
10373 (alt_mon): New entry, import from CLDR (nominative case).
10375 2018-06-29 Sylvain Lesage <severo@rednegra.net>
10378 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
10380 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
10382 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
10383 Use vector registers.
10385 * sysdeps/aarch64/multiarch/memmove_falkor.S
10386 (__memcpy_falkor): Use vector registers.
10388 2018-06-29 Martin Sebor <msebor@redhat.com>
10390 * manual/stdio.texi (Customizing Printf): Mention interaction
10391 with GCC built-ins.
10393 2018-06-29 Maciej W. Rozycki <macro@mips.com>
10396 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
10397 `st_value' is 0 if `st_shndx' is SHN_ABS.
10398 * elf/tst-absolute-zero.c: New file.
10399 * elf/tst-absolute-zero-lib.c: New file.
10400 * elf/tst-absolute-zero-lib.lds: New file.
10401 * elf/Makefile (tests): Add `tst-absolute-zero'.
10402 (modules-names): Add `tst-absolute-zero-lib'.
10403 (LDLIBS-tst-absolute-zero-lib.so): New variable.
10404 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
10405 ($(objpfx)tst-absolute-zero: New dependency.
10407 2018-06-29 Zack Weinberg <zackw@panix.com>
10409 * configure.ac: New command-line option --disable-crypt.
10410 Force --disable-nss-crypt when --disable-crypt is given, with a
10411 warning if it was explicitly enabled.
10412 * configure: Regenerate.
10413 * config.make.in: New boolean substitution variable $(build-crypt).
10414 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
10415 when $(build-crypt).
10416 * manual/install.texi: Document --disable-crypt.
10417 * INSTALL: Regenerate.
10419 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
10420 which is never set.
10421 * conform/Makefile: Only include libcrypt.a in
10422 linknamespace-libs-xsi and linknamespace-libs-XPG4
10423 when $(build-crypt).
10424 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
10425 USE_CRYPT to 1 when $(build-crypt).
10426 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
10427 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
10428 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
10430 2018-06-29 Zack Weinberg <zackw@panix.com>
10432 * crypt/crypt.h, posix/unistd.h: Update comments and
10433 prototypes for crypt and crypt_r.
10435 * manual/crypt.texi (Cryptographic Functions): New initial
10437 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
10438 (Unpredictable Bytes): Improve initial exposition. Clarify error
10439 behavior of getentropy and getrandom.
10440 * manual/examples/genpass.c: Generate a salt using getentropy
10441 instead of the current time. Use hash $5$ (SHA-2-256).
10442 * manual/examples/testpass.c: Demonstrate validation against
10443 hashes generated with three different one-way functions.
10445 * manual/intro.texi: crypt.texi does not need an overview
10448 * manual/nss.texi, manual/memory.texi, manual/socket.texi
10449 * manual/terminal.texi: Consistently refer to "passphrases"
10450 * instead of "passwords", and to the "user database" instead
10451 * of the "password database".
10452 * manual/users.texi: Similarly. Add notes about how actual
10453 passphrase hashes are now stored in the shadow database.
10454 Remove 20-year-old junk todo note.
10456 2018-06-29 Zack Weinberg <zackw@panix.com>
10458 * manual/crypt.texi: Use a normal top-level @node declaration.
10459 Move most of the introductory text to the 'crypt' section.
10460 Move the example programs below the @deftypefun for 'crypt_r'.
10461 Move the 'getpass' section...
10462 * manual/terminal.texi: ...here.
10464 2018-06-29 Zack Weinberg <zackw@panix.com>
10465 Florian Weimer <fweimer@redhat.com>
10467 * posix/unistd.h: Do not declare encrypt.
10468 (_XOPEN_CRYPT): Remove macro definition.
10469 (crypt): Declare only for _USE_MISC.
10470 * stdlib/stdlib.h: Do not declare setkey.
10471 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
10472 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
10474 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
10475 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
10476 into compat symbols. Don't define initial_perm if it's not
10478 * crypt/cert.c: Link explicitly with the expected versions for
10479 setkey and encrypt. If they are not available at all, mark
10480 the test as unsupported.
10482 * sunrpc/des_crypt.c: Unconditionally block linkage with
10483 cbc_crypt and ecb_crypt for new binaries.
10484 * sunrpc/des_soft.c: Unconditionally block linkage with
10485 des_setparity for new binaries.
10487 * manual/crypt.texi: Remove the entire "DES Encryption"
10488 section. Also remove the paragraph talking about FIPS 140-2
10489 from the introduction.
10490 * manual/string.texi (strfry, memfrob): Revise. Recommend use
10491 of libgcrypt for "real" encryption, not DES.
10492 * manual/conf.texi (Constants for Sysconf): Mention that
10493 _XOPEN_CRYPT is no longer impelemented.
10495 * conform/data/unistd.h-data: Remove crypt function declaration.
10497 2018-06-29 Florian Weimer <fweimer@redhat.com>
10500 * malloc/hooks.c: Update comments on restoring of dumped heaps.
10501 (disallow_malloc_check): Remove variable.
10502 (__malloc_check_init): Adjust.
10503 (malloc_set_state): Update comment.
10504 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
10507 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10510 * localedata/locales/ast_ES (mon): Rename to...
10512 (mon): Import from CLDR (genitive case).
10514 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
10515 Jakub Sitnicki <jkbs@redhat.com>
10518 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
10519 on NLM_F_DUMP_INTR.
10521 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
10523 * manual/llio.texi: Remove spurious space.
10525 2018-06-28 Florian Weimer <fweimer@redhat.com>
10528 * time/bits/types/struct_timespec.h: Change header inclusion guard to
10531 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10533 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
10534 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
10535 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
10536 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
10537 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
10538 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
10539 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
10541 2018-06-27 Maciej W. Rozycki <macro@mips.com>
10544 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
10545 Copy and null-terminate entries that are not terminated, in
10546 addition to empty ones.
10548 2018-06-27 Florian Weimer <fweimer@redhat.com>
10551 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
10552 (extend_alloca_account): Remove.
10553 * manual/stdio.texi (Variable Arguments Output): Update comment.
10555 2018-06-27 Joseph Myers <joseph@codesourcery.com>
10557 * nptl/sockperf.c: Remove file.
10559 2018-06-27 Florian Weimer <fweimer@redhat.com>
10562 * elf/dl-deps.c (_dl_map_object_deps): Use struct
10563 scratch_buffer instead of extend_alloca.
10565 2018-06-27 Florian Weimer <fweimer@redhat.com>
10568 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
10569 scratch_buffer instead of extend_alloca. Update comments.
10571 2018-06-27 Florian Weimer <fweimer@redhat.com>
10574 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
10575 instead of extend_alloca.
10577 2018-06-26 Joseph Myers <joseph@codesourcery.com>
10580 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
10581 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
10583 * scripts/test-installation.pl: Put temporary files in build
10584 directory, not /tmp.
10585 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
10586 (CFLAGS-bug4.c): Likewise.
10587 (CFLAGS-bug5.c): Likewise.
10588 (CFLAGS-test-fseek.c): Likewise.
10589 (CFLAGS-test-popen.c): Likewise.
10590 (CFLAGS-test_rdwr.c): Likewise.
10591 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
10593 * stdio-common/bug4.c (main): Likewise.
10594 * stdio-common/bug5.c (main): Likewise.
10595 * stdio-common/test-fseek.c (TESTFILE): Likewise.
10596 * stdio-common/test-popen.c (do_test): Likewise.
10597 * stdio-common/test_rdwr.c (main): Likewise.
10599 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
10601 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
10602 (sem_open): Set sem.newsem.pad to zero for valgrind.
10604 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10607 * NEWS: Mention fcntl64 addition.
10608 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
10609 * login/utmp_file.c: Likewise.
10610 * sysdeps/posix/fdopendir.c: Likewise.
10611 * sysdeps/posix/opendir.c: Likewise.
10612 * sysdeps/unix/pt-fcntl.c: Likewise.
10613 * include/fcntl.h (__libc_fcntl64, __fcntl64,
10614 __fcntl64_nocancel_adjusted): New prototype.
10615 (__fcntl_nocancel_adjusted): Remove prototype.
10616 * io/Makefile (routines): Add fcntl64.
10617 (CFLAGS-fcntl64.c): New rule.
10618 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
10619 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
10620 * io/fcntl.h (fcntl64): Add prototype and redirect if
10621 __USE_FILE_OFFSET64 is defined.
10622 * io/fcntl64.c: New file.
10623 * manual/llio.text: Add a note for which commands fcntl acts a
10624 cancellation point.
10625 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
10626 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
10627 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
10629 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
10630 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
10632 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
10633 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
10634 to __fcntl64_nocancel.
10635 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
10636 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
10637 to __fcntl64_nocancel.
10638 * sysdeps/generic/not-cancel.h: Likewise.
10639 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
10640 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
10641 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10642 (fcntl64): New symbol.
10643 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10644 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10645 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10648 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10649 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10650 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10651 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10652 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10653 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
10654 fcntl64): Likewise.
10655 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10656 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
10657 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10658 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10659 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10660 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10661 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10662 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10663 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10668 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10669 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10670 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10672 2018-06-26 Florian Weimer <fweimer@redhat.com>
10674 Run thread shutdown functions in an explicit order.
10675 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
10677 (__libc_thread_freeres): Call thread shutdown functions
10679 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
10680 * include/string.h (__strerror_thread_freeres): Declare.
10681 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
10682 arena_thread_freeres. No longer static. Remove thread shutdown
10684 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
10686 * resolv/res-close.c (__res_thread_freeres): Renamed from
10687 res_thread_freeres. No longer static. Remove thread shutdown
10689 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
10690 * resolv/resolv_conf.c (freeres): Remove incorrect section
10691 attribute and use libc_freeres_fn.
10692 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
10693 strerror_thread_freeres. No longer static. Remove thread
10694 shutdown hook registration.
10695 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
10696 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
10697 shutdown hook registration.
10698 * Makerules (shlib.lds): Do not provide section boundary symbols
10699 for __libc_thread_subfreeres.
10700 * manual/memory.texi (Basic Allocation): Update comment.
10702 2018-06-26 Florian Weimer <fweimer@redhat.com>
10704 Remove always-defined _RPC_THREAD_SAFE_ macro.
10705 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
10706 Do not define _RPC_THREAD_SAFE_.
10707 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
10709 * sunrpc/clnt_perr.c: Likewise.
10710 * sunrpc/clnt_raw.c: Likewise.
10711 * sunrpc/clnt_simp.c: Likewise.
10712 * sunrpc/key_call.c: Likewise.
10713 * sunrpc/rpc_common.c: Likewise.
10714 * sunrpc/rpc_main.c: Likewise.
10715 * sunrpc/rpc_thread.c: Likewise.
10716 * sunrpc/svc.c: Likewise.
10717 * sunrpc/svc_raw.c: Likewise.
10718 * sunrpc/svc_simple.c: Likewise.
10719 * sumrpc/svcauth_des.c: Likewise.
10721 2018-06-26 Florian Weimer <fweimer@redhat.com>
10723 * libio/Makefile (tests-internal): Add tst-vtables,
10724 tst-vtables-interposed.
10725 * libio/tst-vtables.c: New file.
10726 * libio/tst-vtables-common.c: Likewise.
10727 * libio/tst-vtables-interposed.c: Likewise.
10729 2018-06-26 Florian Weimer <fweimer@redhat.com>
10731 * support/support_test_main.c (support_test_main): Only call
10732 setvbuf if not disables.
10733 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
10734 * support/test-driver.h (struct test_config): Add no_setvbuf member.
10736 2018-06-26 Florian Weimer <fweimer@redhat.com>
10739 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
10741 2018-06-25 Florian Weimer <fweimer@redhat.com>
10744 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10745 Use struct scratch_buffer instead of extend_alloca.
10747 2018-06-25 Florian Weimer <fweimer@redhat.com>
10750 * nss/getent.c (initgroups_keys): Use dynarray instead of
10753 2018-06-25 Florian Weimer <fweimer@redhat.com>
10756 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
10757 Use struct scratch_buffer instead of extend_alloca.
10759 2018-06-25 Florian Weimer <fweimer@redhat.com>
10762 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
10763 back to malloc directly, without stack allocations.
10765 2018-06-25 Florian Weimer <fweimer@redhat.com>
10768 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
10771 2018-06-25 Florian Weimer <fweimer@redhat.com>
10774 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
10776 * nscd/hstcache.c (addhstbyX): Likewise.
10777 * nscd/pwdcache.c (addpwbyX): Likewise.
10778 * nscd/servicescache.c (addservbyX): Likewise.
10780 2018-06-25 Florian Weimer <fweimer@redhat.com>
10783 * nscd/connections.c (read_cmdline): New function.
10784 (restart): Use it. Update comment.
10786 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10789 * localedata/locales/csb_PL (mon): Rename to...
10791 (abmon): Rename to...
10792 (ab_alt_mon): This.
10793 (mon): Add with proper genitive forms, copy from Wikipedia.
10796 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10799 * localedata/locales/csb_PL (mon): Fix typos:
10800 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
10801 (yesstr): Add, value is "jo".
10802 (nostr): Add, value is "nié".
10804 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10806 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
10807 all log1p and significand functions on m680x0.
10808 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
10809 of s_significand.c..
10810 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
10811 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
10812 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
10813 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
10814 s_log1p.c and include it..
10816 2018-06-21 Vincent Chen <vincentc@andestech.com>
10818 * elf/elf.h (R_NDS32_NONE): New define.
10819 (R_NDS32_32_RELA): Likewise.
10820 (R_NDS32_COPY): Likewise.
10821 (R_NDS32_GLOB_DAT): Likewise.
10822 (R_NDS32_JUMP_SLOT): Likewise.
10823 (R_NDS32_RELATIVE): Likewise.
10824 (R_NDS32_TLS_TPOFF): Likewise.
10825 (R_NDS32_TLS_DESC): Likewise.
10827 2018-06-21 Mark Wielaard <mark@klomp.org>
10829 * elf/elf.h (R_BPF_MAP_FD): Removed.
10830 (R_BPF_64_64, R_BPF_64_32): New.
10832 2018-06-21 Florian Weimer <fweimer@redhat.com>
10835 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
10836 Renamed from libc_feholdsetround_ctx.
10837 (default_libc_feresetround_ctx): Renamed from
10838 libc_feresetround_ctx.
10839 (default_libc_feholdsetround_noex_ctx): Renamed from
10840 libc_feholdsetround_noex_ctx.
10841 (default_libc_feresetround_noex_ctx): Renamed from
10842 libc_feresetround_noex_ctx.
10843 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
10844 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
10845 forwardning to the old implementations under the new names.
10846 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
10847 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
10848 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
10849 (libc_feresetround_ctx): Forward to default implements for i386
10850 and MATH_SET_BOTH_ROUNDING_MODES.
10851 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
10852 Add -DMATH_SET_BOTH_ROUNDING_MODES.
10854 2018-06-20 Joseph Myers <joseph@codesourcery.com>
10856 * string/tst-cmp.c: Include <libc-diag.h>.
10857 (strncmp_max): Disable -Wstringop-overflow= around call to
10859 (strncasecmp_max): Disable -Wstringop-overflow= around call to
10862 * string/bug-strpbrk1.c: Include <libc-diag.h>.
10863 (main): Disable -Wunused-value around call to strpbrk.
10864 * string/bug-strspn1.c: Include <libc-diag.h>.
10865 (main): Disable -Wunused-value around call to strspn.
10867 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10868 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10870 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
10871 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
10873 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10875 * math/Makefile (libm-calls): Move s_significandF to...
10876 (gen-libm-calls): ... here.
10877 * math/s_significand_template.c: New file.
10878 * math/s_significand.c: Removed.
10879 * math/s_significandf.c: Removed.
10880 * math/s_significandl.c: Removed.
10881 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
10882 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
10884 * math/e_exp2_template.c (declare_mgen_finite_alias,
10885 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
10886 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
10887 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
10889 2018-06-20 Florian Weimer <fweimer@redhat.com>
10891 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
10893 2018-06-19 Joseph Myers <joseph@codesourcery.com>
10896 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
10897 floating-point number to strtod functions rather than possibly
10898 negating result of those functions.
10899 * stdio-common/tst-scanf-round.c: New file.
10900 * stdio-common/Makefile (tests): Add tst-scanf-round.
10901 ($(objpfx)tst-scanf-round): Depend on $(libm).
10903 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
10905 * sysdeps/mach/hurd/localplt.data: Move to...
10906 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
10907 R_386_GLOB_DAT like on Linux i386.
10909 2018-06-18 Joseph Myers <joseph@codesourcery.com>
10911 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
10912 (SHM_STAT_ANY): New macro.
10913 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
10914 (SHM_STAT_ANY): Likewise.
10915 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
10916 (SHM_STAT_ANY): Likewise.
10917 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
10918 (SHM_STAT_ANY): Likewise.
10919 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
10920 (SHM_STAT_ANY): Likewise.
10921 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
10922 (SHM_STAT_ANY): Likewise.
10923 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
10924 (SHM_STAT_ANY): Likewise.
10925 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
10926 (SHM_STAT_ANY): Likewise.
10927 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
10928 (SHM_STAT_ANY): Likewise.
10929 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
10930 (SHM_STAT_ANY): Likewise.
10931 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
10932 (SHM_STAT_ANY): Likewise.
10933 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
10934 (SHM_STAT_ANY): Likewise.
10936 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
10937 (SEM_STAT_ANY): New macro.
10938 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
10939 (SEM_STAT_ANY): Likewise.
10940 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
10941 (SEM_STAT_ANY): Likewise.
10942 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
10943 (SEM_STAT_ANY): Likewise.
10944 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
10945 (SEM_STAT_ANY): Likewise.
10946 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
10947 (SEM_STAT_ANY): Likewise.
10948 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
10949 (SEM_STAT_ANY): Likewise.
10950 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
10951 (SEM_STAT_ANY): Likewise.
10952 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
10953 (SEM_STAT_ANY): Likewise.
10954 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
10955 (SEM_STAT_ANY): Likewise.
10957 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
10958 (MSG_STAT_ANY): New macro.
10959 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
10960 (MSG_STAT_ANY): Likewise.
10961 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
10962 (MSG_STAT_ANY): Likewise.
10963 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
10964 (MSG_STAT_ANY): Likewise.
10965 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
10966 (MSG_STAT_ANY): Likewise.
10967 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
10968 (MSG_STAT_ANY): Likewise.
10969 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
10970 (MSG_STAT_ANY): Likewise.
10971 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
10972 (MSG_STAT_ANY): Likewise.
10973 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
10974 (MSG_STAT_ANY): Likewise.
10975 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
10976 (MSG_STAT_ANY): Likewise.
10978 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10979 (MAP_TYPE): Change value to 0x2b.
10981 2018-06-18 Florian Weimer <fweimer@redhat.com>
10984 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
10985 socket with SOCK_CLOEXEC.
10987 2018-06-18 Joseph Myers <joseph@codesourcery.com>
10990 * sysdeps/powerpc/powerpc64/le/Makefile
10991 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
10992 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
10993 (gnulib-tests): Also add $(f128-loader-link) for
10994 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
10996 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
10998 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
10999 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
11001 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
11002 (sendfile64): New strong alias.
11003 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
11004 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
11005 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
11006 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
11008 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
11009 ___pthread_get_cleanup_stack.
11010 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
11011 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
11012 * mach/shortcut.awk: Make syscall stubs include
11013 <mach-shortcuts-hidden.h> and add hidden definition.
11014 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
11015 (__mach_msg): Add hidden prototype.
11016 * mach/msg.c: Include <mach.h>.
11017 (__mach_msg): Add hidden definition.
11018 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
11019 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
11020 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
11021 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
11022 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
11023 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
11024 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
11025 prototype and definition.
11026 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
11027 hidden target for _hurd_self_sigstate.
11029 2018-06-15 Joseph Myers <joseph@codesourcery.com>
11032 * stdlib/tst-strtod-nan-sign-main.c: New file.
11033 * stdlib/tst-strtod-nan-sign.c: Likewise.
11034 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
11035 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
11036 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
11037 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
11038 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
11040 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
11043 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
11046 2018-06-14 Florian Weimer <fweimer@redhat.com>
11049 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
11050 that the result stays within the ISO-8859-1 range.
11051 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
11052 characters are defined in IBM273.
11054 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
11056 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
11057 __mach_task_self): Remove attribute_hidden.
11059 2018-06-14 Joseph Myers <joseph@codesourcery.com>
11061 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
11062 ignore -Wrestrict for one test.
11064 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
11065 Szabolcs Nagy <szabolcs.nagy@arm.com>
11067 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
11069 2018-06-14 Florian Weimer <fweimer@redhat.com>
11071 * scripts/update-abilist.sh: Accept empty list of files to patch.
11073 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
11075 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
11076 test-xfail-check-abi-libmachuser): Add.
11077 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
11078 __libc_read and __libc_write to __read and __write.
11079 * sysdeps/hurd/include/hurd/port.h: New file.
11080 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
11081 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
11082 __thread_switch, __evc_wait): Move declarations to...
11083 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
11085 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
11086 use PLT to call _hurd_self_sigstate.
11088 2018-06-13 Joseph Myers <joseph@codesourcery.com>
11091 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
11092 MAX_EXP as overflowing.
11093 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
11095 (round_str): Output also whether result overflows in each rounding
11097 * stdlib/tst-strtod-round-data: Add more tests.
11098 * stdlib/tst-strtod-round-data.h: Regenerated.
11099 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
11100 (TEST): Handle extra arguments for overflow flags.
11101 (struct test_overflow): New type.
11102 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
11103 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
11104 (test_in_one_mode): Take argument with overflow information.
11105 (do_test): Update calls to test_in_one_mode.
11107 2018-06-12 Carlos O'Donell <carlos@redhat.com>
11109 * elf/dl-load (_dl_dst_substitute): Correct comment.
11110 (_dl_dst_count): Likewise.
11112 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
11113 lll_futex_timed_wait.
11115 2018-06-12 Joseph Myers <joseph@codesourcery.com>
11118 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
11120 * math/test-nan-const.c: New file.
11121 * math/Makefile (tests): Add test-nan-const.
11122 (CFLAGS-test-nan-const.c): New variable.
11124 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
11126 * benchtests/scripts/compare_strings.py (process_results): Add
11127 funcs argument. Compare only functions which are selected.
11128 (main): Check if base function is among selected functions.
11129 Pass selected functions to process_results.
11130 (__main__): Add -f/--functions argument.
11132 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
11133 Hongbo Zhang <hongbo.zhang@linaro.org>
11135 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
11136 __memcpy_falkor for phecda core.
11137 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
11138 __memmove_falkor for phecda core.
11139 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
11140 __memset_falkor for phecda core.
11141 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
11143 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
11144 macro to identify phecda core.
11146 2018-06-12 Carlos O'Donell <carlos@redhat.com>
11147 Andreas Schwab <schwab@suse.de>
11148 Dmitry V. Levin <ldv@altlinux.org>
11149 Florian Weimer <fweimer@redhat.com>
11156 * elf/dl-dst.h: Remove DL_DST_COUNT.
11157 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
11158 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
11159 (is_dst): Comment. Support ELF gABI.
11160 (_dl_dst_count): Comment. Simplify and count DSTs.
11161 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
11162 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
11165 2018-06-12 Zack Weinberg <zackw@panix.com>
11167 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
11168 * sysdeps/unix/sysv/linux/dl-sysdep.c
11169 Include not-cancel.h. Use __close_nocancel instead of __close,
11170 __open64_nocancel instead of __open, __read_nocancel instead of
11171 __libc_read, and __write_nocancel instead of __libc_write.
11173 * csu/check_fds.c (check_one_fd)
11174 * sysdeps/posix/fdopendir.c (__fdopendir)
11175 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
11176 instead of __fcntl and/or __libc_fcntl.
11178 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
11179 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
11180 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
11181 Use __open64_nocancel instead of __open_nocancel.
11183 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
11184 hidden_proto declarations to the end and issue them if either
11185 IS_IN(libc) or IS_IN(rtld).
11186 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
11187 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
11188 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
11189 read_nocancel, waitpid_nocancel, write_nocancel.
11191 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
11192 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
11193 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
11195 * nptl/pt-fcntl.c: New file.
11196 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
11197 (libpthread-routines): Add pt-fcntl.
11198 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
11199 (__libc_fcntl): Remove attribute_hidden.
11200 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
11201 __fcntl_nocancel_adjusted, not fcntl_common.
11202 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
11203 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
11204 to fcntl_nocancel.c.
11205 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
11206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
11207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11208 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
11210 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
11211 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
11212 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
11213 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
11214 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
11215 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
11216 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
11217 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
11218 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
11219 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
11220 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
11221 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
11222 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
11223 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
11224 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
11225 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
11226 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
11227 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
11228 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
11229 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
11231 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
11232 libpthread-routines.
11233 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
11236 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
11237 __libc_read, and __write instead of __libc_write. Define
11238 __open64 in addition to __open.
11240 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
11244 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
11245 to _private_tm[3] and add __glibc_reserved2.
11246 Add _Static_assert of offset of __private_ss == 0x30.
11247 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
11248 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
11250 2018-06-12 Florian Weimer <fweimer@redhat.com>
11252 x86: Make strncmp usable from rtld.
11253 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
11254 __strncmp_ia32 if in libc (and not in rtld).
11255 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
11256 strncmp if not in libc (and not to __strncmp_sse2).
11258 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
11261 * localedata/locales/gd_GB (mon): Rename to...
11263 (mon): Import from CLDR (genitive case).
11264 * localedata/locales/hsb_DE (mon): Rename to...
11266 (mon): Import from CLDR (genitive case).
11267 * localedata/locales/wa_BE (mon): Rename to...
11269 (mon): Add, fill with the proper genitive forms, but CLDR data
11270 is incomplete; completed according to the comments in this file.
11271 (d_t_fmt): Do not use "di" before the month name, no longer needed.
11273 * localedata/locales/wa_BE (country_name): Reword
11274 "Beljike" -> "Beldjike".
11276 2018-06-11 Joseph Myers <joseph@codesourcery.com>
11279 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
11280 cases of non-finite arguments.
11281 * math/libm-test-fma.inc (fma_test_data): Add more tests.
11283 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
11286 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
11288 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11291 * include/unistd.h (__execvpex): New prototype.
11292 * posix/Makefile (tests): Add tst-spawn4.
11293 (tests-internal): Add tst-spawn4-compat.
11294 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
11295 * posix/tst-spawn4-compat.c: New file.
11296 * posix/tst-spawn4.c: Likewise.
11297 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
11298 binaries as shell scripts.
11299 * sysdeps/posix/spawni.c (__spawni): Likewise.
11301 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
11304 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
11305 ($(all-built-dso:=.dynsym): New target.
11306 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
11307 ($(objpfx)check-initfini.out): New target.
11308 (generated): Add check-initfini.out.
11309 * scripts/check-initfini.awk: New file.
11310 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
11312 * sysdeps/alpha/crti.S (_init): Mark as hidden.
11314 * sysdeps/arm/crti.S (_init): Mark as hidden.
11316 * sysdeps/hppa/crti.S (_init): Mark as hidden.
11318 * sysdeps/i386/crti.S (_init): Mark as hidden.
11320 * sysdeps/ia64/crti.S (_init): Mark as hidden.
11322 * sysdeps/m68k/crti.S (_init): Mark as hidden.
11324 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
11326 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
11328 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
11330 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
11332 * sysdeps/nios2/crti.S (_init): Mark as hidden.
11334 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
11336 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
11338 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
11340 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
11342 * sysdeps/sh/crti.S (_init): Mark as hidden.
11344 * sysdeps/sparc/crti.S (_init): Mark as hidden.
11346 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
11349 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11351 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
11352 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
11353 and TF redirection to KFtype and KF only when the default
11354 long double type is not the IEEE 128-bit floating point type.
11356 2018-06-05 Joseph Myers <joseph@codesourcery.com>
11358 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
11360 (HWCAP_USCAT): Likewise.
11361 (HWCAP_ILRCPC): Likewise.
11362 (HWCAP_FLAGM): Likewise.
11363 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
11365 (_dl_aarch64_cap_flags): Add new flag names.
11367 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
11368 (MAP_FIXED_NOREPLACE): New macro.
11369 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
11370 (MAP_FIXED_NOREPLACE): Likewise.
11371 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
11372 (MAP_FIXED_NOREPLACE): Likewise.
11373 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11374 (MAP_FIXED_NOREPLACE): Likewise.
11375 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
11376 (MAP_FIXED_NOREPLACE): Likewise.
11377 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
11378 (MAP_FIXED_NOREPLACE): Likewise.
11379 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
11380 (MAP_FIXED_NOREPLACE): Likewise.
11381 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
11382 (MAP_FIXED_NOREPLACE): Likewise.
11383 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
11384 (MAP_FIXED_NOREPLACE): Likewise.
11385 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
11386 (MAP_FIXED_NOREPLACE): Likewise.
11387 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
11388 (MAP_FIXED_NOREPLACE): Likewise.
11389 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
11390 (MAP_FIXED_NOREPLACE): Likewise.
11391 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
11392 (MAP_FIXED_NOREPLACE): Likewise.
11393 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
11394 (MAP_FIXED_NOREPLACE): Likewise.
11395 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
11396 (MAP_FIXED_NOREPLACE): Likewise.
11398 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11401 2018-06-04 Joseph Myers <joseph@codesourcery.com>
11403 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11406 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11408 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
11410 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
11412 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11414 * benchtests/scripts/compare_string.py: (process_results) Catch
11415 exception in non-existent base_func and catch exception in
11416 non-existent attribute.
11417 (parse_file) Catch exception if input file does not exist.
11419 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11421 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
11422 options to avoid diff calculation and omit header, respectively.
11423 (main): process --no-diff and --no-header
11425 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11426 H.J. Lu <hongjiu.lu@intel.com>
11428 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11429 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
11431 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11432 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
11433 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
11434 and __wcsncmp_sse2.
11435 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
11436 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
11437 AVX unaligned load is fast and vzeroupper is preferred.
11438 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
11439 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
11440 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
11441 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
11442 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
11443 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
11444 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
11445 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
11446 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
11447 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
11450 2018-06-01 Florian Weimer <fweimer@redhat.com>
11452 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
11453 configuring with --disable-multi-arch, building with
11454 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
11457 2018-06-01 Florian Weimer <fweimer@redhat.com>
11459 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
11460 results from building with “-march=x86-64 -mtune=generic
11461 -mfpmath=sse” and running on a Haswell-era CPU.
11463 2018-06-01 Joseph Myers <joseph@codesourcery.com>
11466 * soft-fp/sqrttf2.c: Remove file.
11467 * soft-fp/sqrtdf2.c: Move to ....
11468 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
11470 (__sqrtdf2): Make conditional on
11471 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11473 * soft-fp/sqrtsf2.c: Move to ....
11474 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
11476 (__sqrtsf2): Make conditional on
11477 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
11479 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
11480 (gcc-double-routines): Remove sqrtdf2.
11481 (gcc-quad-routines): Remove sqrttf2.
11482 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11483 Do not filter out sqrtsf2 and sqrtdf2.
11484 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11485 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
11487 2018-06-01 Florian Weimer <fweimer@redhat.com>
11489 * sysdeps/generic/libcidn.abilist: Remove file.
11491 2018-06-01 Florian Weimer <fweimer@redhat.com>
11494 * libio/strfile.h (struct _IO_str_fields): Rename members to
11495 discourage their use and add comment.
11496 (_IO_STR_DYNAMIC): Remove unused macro.
11497 * libio/strops.c (_IO_str_init_static_internal): Do not use
11498 callback pointers. Call malloc and free.
11499 (_IO_str_overflow): Do not use callback pointers. Call malloc
11501 (enlarge_userbuf): Likewise.
11502 (_IO_str_finish): Call free.
11503 * libio/wstrops.c (_IO_wstr_init_static): Initialize
11504 _allocate_buffer_unused.
11505 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
11507 (enlarge_userbuf): Likewise.
11508 (_IO_wstr_finish): Call free.
11509 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
11510 _allocate_buffer_unused, _free_buffer_unused.
11511 * libio/memstream.c (__open_memstream): Likewise.
11512 * libio/vasprintf.c (_IO_vasprintf): Likewise.
11513 * libio/wmemstream.c (open_wmemstream): Likewise.
11515 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
11517 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
11520 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11522 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
11523 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
11524 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
11526 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
11528 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
11530 2018-05-29 Florian Weimer <fweimer@redhat.com>
11532 * support/Makefile (libsupport-routines): Add
11533 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
11534 xpthread_barrierattr_setpshared.
11535 * support/xpthread_barrierattr_destroy.c: New file.
11536 * support/xpthread_barrierattr_init.c: Likewise.
11537 * support/xpthread_barrierattr_setpshared.c: Likewise.
11539 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
11542 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
11543 _r_debug and update DT_DEBUG for debugger.
11545 2018-05-29 Florian Weimer <fweimer@redhat.com>
11547 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
11548 (tst-strtod5i.out): Likewise.
11550 2018-05-25 Joseph Myers <joseph@codesourcery.com>
11552 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
11553 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
11554 (sparc64-quad-routines): New variable. Moved from ....
11555 [$(subdir) = soft-fp] (sysdep_routines): Add
11556 $(sparc64-quad-routines). Moved from ....
11557 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
11558 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
11559 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
11561 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
11562 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
11563 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
11564 * sysdeps/sparc/sparc64/qp_add.c: ... here.
11565 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
11566 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
11567 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
11568 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
11569 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
11570 * sysdeps/sparc/sparc64/qp_div.c: ... here.
11571 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
11572 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
11573 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
11574 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
11575 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
11576 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
11577 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
11578 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
11579 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
11580 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
11581 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
11582 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
11583 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
11584 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
11585 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
11586 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
11587 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
11588 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
11589 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
11590 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
11591 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
11592 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
11593 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
11594 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
11595 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
11596 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
11597 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
11598 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
11599 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
11600 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
11601 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
11602 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
11603 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
11604 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
11605 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
11606 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
11607 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
11608 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
11609 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
11610 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
11611 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
11612 * sysdeps/sparc/sparc64/qp_util.c: ... here.
11613 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
11614 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
11615 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
11616 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
11617 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
11618 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
11620 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
11621 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
11622 (sparc32-quad-routines): New variable. Moved from ....
11623 [$(subdir) = soft-fp] (sysdep_routines): Add
11624 $(sparc32-quad-routines). Moved from ....
11625 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
11626 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
11628 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
11629 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
11630 * sysdeps/sparc/sparc32/q_add.c: ... here.
11631 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
11632 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
11633 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
11634 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
11635 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
11636 * sysdeps/sparc/sparc32/q_div.c: ... here.
11637 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
11638 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
11639 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
11640 * sysdeps/sparc/sparc32/q_feq.c: ... here.
11641 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
11642 * sysdeps/sparc/sparc32/q_fge.c: ... here.
11643 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
11644 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
11645 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
11646 * sysdeps/sparc/sparc32/q_fle.c: ... here.
11647 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
11648 * sysdeps/sparc/sparc32/q_flt.c: ... here.
11649 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
11650 * sysdeps/sparc/sparc32/q_fne.c: ... here.
11651 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
11652 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
11653 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
11654 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
11655 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
11656 * sysdeps/sparc/sparc32/q_mul.c: ... here.
11657 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
11658 * sysdeps/sparc/sparc32/q_neg.c: ... here.
11659 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
11660 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
11661 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
11662 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
11663 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
11664 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
11665 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
11666 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
11667 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
11668 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
11669 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
11670 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
11671 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
11672 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
11673 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
11674 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
11675 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
11676 * sysdeps/sparc/sparc32/q_sub.c: ... here.
11677 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
11678 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
11679 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
11680 * sysdeps/sparc/sparc32/q_util.c: ... here.
11681 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
11682 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
11683 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
11684 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
11686 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11687 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11689 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
11690 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
11691 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
11692 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
11694 2018-05-24 Joseph Myers <joseph@codesourcery.com>
11696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
11698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11700 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
11701 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
11703 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11706 * math/math.h [C++] (iseqsig): Fix parameter type for the long
11709 2018-05-23 Joseph Myers <joseph@codesourcery.com>
11711 * sysdeps/sh/Implies: Remove sh/soft-fp.
11712 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
11713 * sysdeps/sh/sfp-machine.h: ... here.
11715 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11717 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11718 (__mempcpy_erms): Skip zero length.
11719 (__memmove_erms): Likewise.
11720 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11721 (__memset_erms): Likewise.
11723 2018-05-23 Joseph Myers <joseph@codesourcery.com>
11725 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
11726 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11727 Add functions moved from ....
11728 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
11729 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
11730 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
11732 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
11733 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
11734 * sysdeps/alpha/e_sqrtl.c: ... here.
11735 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
11736 * sysdeps/alpha/local-soft-fp.h: ... here.
11737 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
11738 * sysdeps/alpha/ots_add.c: ... here.
11739 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
11740 * sysdeps/alpha/ots_cmp.c: ... here.
11741 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
11742 * sysdeps/alpha/ots_cmpe.c: ... here.
11743 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
11744 * sysdeps/alpha/ots_cvtqux.c: ... here.
11745 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
11746 * sysdeps/alpha/ots_cvtqx.c: ... here.
11747 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
11748 * sysdeps/alpha/ots_cvttx.c: ... here.
11749 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
11750 * sysdeps/alpha/ots_cvtxq.c: ... here.
11751 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
11752 * sysdeps/alpha/ots_cvtxt.c: ... here.
11753 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
11754 * sysdeps/alpha/ots_div.c: ... here.
11755 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
11756 * sysdeps/alpha/ots_mul.c: ... here.
11757 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
11758 * sysdeps/alpha/ots_nintxq.c: ... here.
11759 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
11760 * sysdeps/alpha/ots_sub.c: ... here.
11761 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
11762 * sysdeps/alpha/sfp-machine.h: ... here.
11764 2018-05-23 Florian Weimer <fweimer@redhat.com>
11772 Switch to extern IDNA implementation (libidn2).
11773 * libidn: Remove subdirectory.
11774 * LICENSES: Do not mention licensing conditions for the removed
11776 * config.h.in (HAVE_LIBIDN): Remove.
11777 * include/dlfcn.h (__libc_dlopen): Update comment.
11778 * include/idna.h: Remove file.
11779 * inet/Makefile (routines): Add idna.
11780 (tests-static, tests-internal): Add tst-idna_name_classify.
11781 (LOCALES): Generate locales for tests.
11782 (tst-idna_name_classify.out): Depend on generated locales.
11783 * inet/idna_name_classify.c: New file.
11784 * inet/tst-idna_name_classify.c: Likewise.
11785 * inet/net-internal.h (__idna_to_dns_encoding)
11786 (__idna_from_dns_encoding): Declare.
11787 * inet/net-internal.h (enum idna_name_classification): Define.
11788 (__idna_name_classify): Declare.
11789 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
11790 __idna_from_dns_encoding.
11791 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
11792 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
11793 name as a fallback in case of encoding errors.
11794 (getnameinfo): Use DEPRECATED_NI_IDN.
11795 * inet/idna.c: New file.
11796 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
11797 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
11798 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
11799 (modules-names): Add tst-no-libidn2.
11800 (extra-test-objs): Add tst-no-libidn2.os.
11801 (LDFLAGS-tst-no-libidn2.so): Set soname.
11802 (LOCALES): Set, and generate locales.
11803 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
11804 (tst-resolv-ai_idn-latin1): Likewise.
11805 (tst-resolv-ai_idn-nolibidn2): Likewise.
11806 (tst-resolv-ai_idn.out): Depend on locales.
11807 (tst-resolv-ai_idn-latin1.out): Depend on locales.
11808 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
11810 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
11811 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
11812 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
11813 * resolv/tst-resolv-ai_idn.c: New file.
11814 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
11815 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
11816 * resolv/tst-no-libidn2.c: Likewise.
11817 * support/support_format_addrinfo.c (format_ai_flags): Do not
11818 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
11819 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
11820 (gaih_inet): Call __idna_to_dns_encoding and
11821 __idna_from_dns_encoding, and use the original (punycode) name if
11822 __idna_from_dns_encoding fails due to an encoding error.
11823 (getaddrinfo): Use DEPRECATED_AI_IDN.
11824 * sysdeps/unix/inet/Subdirs (libidn): Remove.
11825 * sysdeps/unix/inet/configure: Remove file.
11826 * sysdeps/unix/inet/configure.ac: Likewise.
11828 2018-05-23 Florian Weimer <fweimer@redhat.com>
11830 Implement allocate_once.
11831 * include/allocate_once.h: New file.
11832 * misc/allocate_once.c: Likewise.
11833 * misc/tst-allocate_once.c: Likewise.
11834 * misc/Makefile (routines): Add allocate_once.
11835 (tests-internal): Add tst-allocate_once.
11836 (generated): Add tst-allocate_once.mtrace,
11837 tst-allocate_once-mem.out.
11838 (tests-special): Add tst-allocate_once-mem.out.
11839 (tst-allocate_once-ENV): Set MALLOC_TRACE.
11840 (tst-allocate_once-mem.out): Call mtrace.
11841 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
11843 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11846 * string/test-memcpy.c (do_test1): New function.
11847 (test_main): Call it.
11849 2018-05-23 Andreas Schwab <schwab@suse.de>
11853 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
11854 (L(preloop_large)): Save initial destination pointer in %r11 and
11855 use it instead of %rax after the loop.
11856 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
11858 2018-05-22 Joseph Myers <joseph@codesourcery.com>
11860 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
11861 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
11862 -I../soft-fp. Moved from ....
11863 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
11864 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
11865 * sysdeps/aarch64/e_sqrtl.c: ... here.
11866 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
11867 * sysdeps/aarch64/sfp-machine.h: ... here.
11869 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
11870 -Wmaybe-uninitialized around access to fq[0].
11871 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11875 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
11876 aliases for non-libc case of versioned symbols.
11877 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
11878 (llseek): Define as compat symbol if
11879 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
11881 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
11882 Make into a compat symbol, disabled for minimum symbol version
11883 GLIBC_2.28 and later.
11884 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
11886 2018-05-22 Florian Weimer <fweimer@redhat.com>
11888 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
11889 not add -mpreferred-stack-boundary=4.
11890 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
11891 (stack-align-test-flags): Likewise.
11892 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
11894 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
11895 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
11896 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
11897 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
11898 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
11899 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
11900 (CFLAGS-tst-align2.c): Likewise.
11902 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11904 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
11905 (index_arch_Prefer_FSRM): Likewise.
11906 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
11907 Also check Prefer_FSRM.
11908 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
11909 Also return OPTIMIZE (erms) for Prefer_FSRM.
11911 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11913 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
11914 (index_cpu_FSRM): Likewise.
11915 (reg_FSRM): Likewise.
11917 2018-05-18 Joseph Myers <joseph@codesourcery.com>
11919 * math/gen-tgmath-tests.py: Import sys.
11920 (Tests.__init__): Initialize macros_seen.
11921 (Tests.add_tests): Add macro to macros_seen. Only generate tests
11922 if requested to do so for this macro.
11923 (Tests.add_all_tests): Take argument for macro for which to
11925 (Tests.check_macro_list): New function.
11926 (main): Handle check-list argument and argument specifying macro
11927 for which to generate tests.
11928 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
11929 [PYTHON] (tgmath3-macro-tests): Likewise.
11930 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
11931 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
11932 not test-tgmath3.c.
11933 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
11934 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
11936 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
11937 [PYTHON] ($(foreach
11938 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
11940 [PYTHON] (tests-special): Add
11941 $(objpfx)test-tgmath3-macro-list.out.
11942 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
11944 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
11945 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
11949 * time/tzset.c (SECSPERDAY): Cast to time_t.
11950 * time/tst-y2039.c: New file.
11951 * time/Makefile (tests): Add tst-y2039.
11953 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11955 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11956 (PREFETCH_ONE_SET): Remove duplicate line.
11958 2018-05-17 Florian Weimer <fweimer@redhat.com>
11960 * sysdeps/generic/math-type-macros-double.h: Include
11961 <math-nan-payload-double.h> after <libm-alias-double.h>.
11962 * sysdeps/generic/math-type-macros-float.h: Include
11963 <math-nan-payload-float.h> after <libm-alias-float.h>.
11964 * sysdeps/generic/math-type-macros-float128.h: Include
11965 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
11966 * sysdeps/generic/math-type-macros-ldouble.h: Include
11967 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
11969 2018-05-17 Andreas Schwab <schwab@suse.de>
11971 * resolv/res_send.c (__res_context_send): Don't set errno when
11972 returing error after malloc failure.
11974 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
11976 * nptl/allocatestack.c (allocate_stack): Remove the
11977 !__ASSUME_PRIVATE_FUTEX paths.
11978 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
11979 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11981 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
11982 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11983 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11984 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11985 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
11986 !__ASSUME_PRIVATE_FUTEX path.
11987 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
11988 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
11989 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11990 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
11991 !__ASSUME_PRIVATE_FUTEX macros.
11992 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11993 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11994 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
11995 * sysdeps/unix/sysv/linux/kernel-features.h
11996 (__ASSUME_PRIVATE_FUTEX): Removed.
11998 2018-05-17 Joseph Myers <joseph@codesourcery.com>
12000 * math/Makefile (libm-narrow-fns): Add div.
12001 (libm-test-funcs-narrow): Likewise.
12002 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
12003 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
12004 * math/gen-auto-libm-tests.c (test_functions): Add div.
12005 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
12006 (NARROW_DIV_ROUND_TO_ODD): Likewise.
12007 (NARROW_DIV_TRIVIAL): Likewise.
12008 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
12010 (__ddivl): Likewise.
12011 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
12013 (CFLAGS-nldbl-ddiv.c): New variable.
12014 (CFLAGS-nldbl-fdiv.c): Likewise.
12015 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12017 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
12019 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
12020 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
12021 * math/auto-libm-test-in: Add tests of div.
12022 * math/auto-libm-test-out-narrow-div: New generated file.
12023 * math/libm-test-narrow-div.inc: New file.
12024 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
12025 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
12026 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
12027 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
12028 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
12029 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
12030 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
12031 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
12032 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
12033 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
12034 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
12035 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
12036 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
12037 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
12038 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
12039 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
12040 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
12041 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
12042 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12043 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12044 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12045 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12046 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12047 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12048 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12049 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12050 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12051 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12052 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12053 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12054 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12055 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12060 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12061 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12062 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12063 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12064 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12065 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12066 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12067 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12069 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12072 * nscd/nscd-client.h (sendfileall): Remove prototype.
12073 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
12074 (handle_request): Use writeall instead of sendfileall.
12075 * nscd/aicache.c (addhstaiX): Likewise.
12076 * nscd/grpcache.c (cache_addgr): Likewise.
12077 * nscd/hstcache.c (cache_addhst): Likewise.
12078 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12079 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
12080 * nscd/pwdcache.c (cache_addpw): Likewise.
12081 * nscd/servicescache.c (cache_addserv): Likewise.
12082 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
12083 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
12084 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
12087 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
12089 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
12090 Include <string/strncat.c>.
12091 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
12093 (__GI___strncat): New hidden alias.
12095 2018-05-16 Joseph Myers <joseph@codesourcery.com>
12097 * sysdeps/mips/mips32/libm-test-ulps: Update.
12098 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12100 2018-05-16 Florian Weimer <fweimer@redhat.com>
12102 * support/Makefile (libsupport-routines): Add support_quote_blob,
12103 support_test_compare_blob.
12104 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
12105 * support/check.h (TEST_COMPARE_BLOB): Define.
12106 (support_test_compare_blob): Declare.
12107 * support/support.h (support_quote_blob): Declare.
12108 * support/support_quote_blob.c: New file.
12109 * support/support_test_compare_blob.c: Likewise.
12110 * support/tst-support_quote_blob.c: Likewise.
12111 * support/tst-test_compare_blob.c: Likewise.
12113 2018-05-16 Florian Weimer <fweimer@redhat.com>
12115 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
12116 of <strtod_nan_double.h>.
12117 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
12118 instead of SET_MANTISSA.
12119 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
12120 of include <strtod_nan_float.h>.
12121 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
12122 instead of <strtod_nan_ldouble.h>.
12123 * stdlib/strtod_nan_double.h: Move to ...
12124 * sysdeps/generic/math-nan-payload-double.h: ... here.
12125 (FLOAT): Remove definition.
12126 (SET_MANTISSA): Rename to ...
12127 (SET_NAN_PAYLOAD): ... this.
12128 * stdlib/strtod_nan_float.h: Move to ...
12129 * sysdeps/generic/math-nan-payload-float.h: ... here.
12130 (FLOAT): Remove definition.
12131 (SET_MANTISSA): Rename to ...
12132 (SET_NAN_PAYLOAD): ... this.
12133 * sysdeps/generic/math-type-macros-double.h: Include
12134 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
12135 instead of <math-svid-compat.h>.
12136 * sysdeps/generic/math-type-macros-float.h: Include
12137 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
12138 instead of <math-svid-compat.h>.
12139 * sysdeps/generic/math-type-macros-float128.h: Include
12140 <math-nan-payload-float128.h>.
12141 * sysdeps/generic/math-type-macros-ldouble.h: Include
12142 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
12143 instead of <math-svid-compat.h>.
12144 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
12145 check for definition.
12146 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
12147 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
12148 Include <ieee754_float128.h>.
12149 (FLOAT): Remove definition.
12150 (SET_MANTISSA): Rename to ...
12151 (SET_NAN_PAYLOAD): ... this.
12152 * sysdeps/ieee754/float128/strtof128_nan.c: Include
12153 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
12154 Do not include <float128_private.h>.
12155 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
12156 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
12157 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
12158 (FLOAT): Remove definition.
12159 (SET_MANTISSA): Rename to ...
12160 (SET_NAN_PAYLOAD): ... this.
12161 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
12162 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
12163 (FLOAT): Remove definition.
12164 (SET_MANTISSA): Rename to ...
12165 (SET_NAN_PAYLOAD): ... this.
12166 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
12167 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
12168 (FLOAT): Remove definition.
12169 (SET_MANTISSA): Rename to ...
12170 (SET_NAN_PAYLOAD): ... this.
12171 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
12172 of "../stdlib/strtod_nan_double.h".
12173 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
12174 of "../stdlib/strtod_nan_float.h".
12175 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
12176 instead of "../stdlib/strtod_nan_ldouble.h".
12177 * manual/arith.texi (Parsing of Floats): Adjust comment.
12179 2018-05-16 Joseph Myers <joseph@codesourcery.com>
12181 * math/Makefile (libm-narrow-fns): Add mul.
12182 (libm-test-funcs-narrow): Likewise.
12183 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
12184 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
12185 * math/gen-auto-libm-tests.c (test_functions): Add mul.
12186 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
12187 (NARROW_MUL_ROUND_TO_ODD): Likewise.
12188 (NARROW_MUL_TRIVIAL): Likewise.
12189 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
12190 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
12192 (__dmull): Likewise.
12193 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
12195 (CFLAGS-nldbl-dmul.c): New variable.
12196 (CFLAGS-nldbl-fmul.c): Likewise.
12197 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12199 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
12201 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
12202 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
12203 * math/auto-libm-test-in: Add tests of mul.
12204 * math/auto-libm-test-out-narrow-mul: New generated file.
12205 * math/libm-test-narrow-mul.inc: New file.
12206 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
12207 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
12208 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
12209 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
12210 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
12211 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
12212 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
12213 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
12214 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
12215 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
12216 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
12217 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
12218 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
12219 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
12220 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
12221 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
12222 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
12223 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
12224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12225 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12226 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12227 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12228 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12229 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12230 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12231 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12232 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12233 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12234 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12235 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12236 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12237 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12242 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12243 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12244 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12245 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12246 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12247 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12248 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12249 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12251 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12253 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
12254 with *%eax in call.
12256 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12258 * sysdeps/i386/ldsodefs.h: Removed.
12259 * sysdeps/x86_64/ldsodefs.h: Moved to ...
12260 * sysdeps/x86/ldsodefs.h: This.
12261 (La_i86_regs): New.
12262 (La_i86_retval): Likewise.
12263 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
12264 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
12266 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12268 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
12271 2018-05-13 Alan Modra <amodra@gmail.com>
12273 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
12274 R_PARISC_TLS_DTPOFF32 reloc addend.
12276 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12278 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
12279 * math/math.h: Restrict the prototype definition for the functions
12280 issignaling(_Float128) and iszero(_Float128); and template
12281 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
12282 __HAVE_FLOAT128_UNLIKE_LDBL.
12283 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
12284 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
12285 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
12286 __f128() constants; define the type _Float128 as long double;
12287 and reuse long double in __CFLOAT128.
12289 2018-05-11 Joseph Myers <joseph@codesourcery.com>
12291 * sysdeps/generic/math_private.h: Do not include
12293 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
12295 * math/fromfp.h: Include <math-barriers.h>.
12296 * math/math-narrow.h: Likewise.
12297 * math/s_nextafter.c: Likewise.
12298 * math/s_nexttowardf.c: Likewise.
12299 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
12300 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
12301 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
12302 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
12303 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12304 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12305 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12306 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12307 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12308 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12309 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12310 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12311 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12312 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12313 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12314 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12315 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12316 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12317 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12318 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12319 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12320 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12321 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12322 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12323 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12324 * sysdeps/ieee754/k_standardl.c: Likewise.
12325 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12326 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12327 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12328 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12329 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12330 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12331 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12332 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12333 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12334 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12335 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12336 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12337 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12338 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12339 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12340 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12341 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12342 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12343 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12344 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12345 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
12346 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
12348 2018-05-11 Florian Weimer <fweimer@redhat.com>
12350 Use 64-bit epoch values in the time zone file parser.
12351 * include/time.h (internal_time_t): Define.
12352 (__tzfile_compute): Use it.
12353 * time/tzfile.c (struct leap): Use internal_time_t for epoch
12355 (transitions): Switch to internal_time_t.
12356 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
12358 (__tzfile_compute): Use internal_time_t for timer argument. Check
12359 for truncation before calling __offtime.
12361 2018-05-11 Florian Weimer <fweimer@redhat.com>
12364 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
12365 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
12367 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
12368 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
12369 export without --enable-obsolete-rpc.
12370 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
12371 symbol. This should not have been exported, ever.
12373 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
12376 * localedata/locales/gd_GB (abmon): Fix typo in May:
12377 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
12379 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
12381 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12382 Use multiple registers to copy data in loop tail.
12384 * sysdeps/aarch64/multiarch/memmove_falkor.S
12385 (__memmove_falkor): Use multiple registers to move data in
12388 2018-05-10 Joseph Myers <joseph@codesourcery.com>
12390 * math/math-underflow.h: New file.
12391 * sysdeps/generic/math_private.h: Do not include <float.h>.
12392 (fabs_tg): Remove macro. Moved to math-underflow.h.
12393 (min_of_type_f): Likewise.
12394 (min_of_type_): Likewise.
12395 (min_of_type_l): Likewise.
12396 (min_of_type_f128): Likewise.
12397 (min_of_type): Likewise.
12398 (math_check_force_underflow): Likewise.
12399 (math_check_force_underflow_nonneg): Likewise.
12400 (math_check_force_underflow_complex): Likewise.
12401 * math/e_exp2_template.c: Include <math-underflow.h>.
12402 * math/k_casinh_template.c: Likewise.
12403 * math/s_catan_template.c: Likewise.
12404 * math/s_catanh_template.c: Likewise.
12405 * math/s_ccosh_template.c: Likewise.
12406 * math/s_cexp_template.c: Likewise.
12407 * math/s_clog10_template.c: Likewise.
12408 * math/s_clog_template.c: Likewise.
12409 * math/s_csin_template.c: Likewise.
12410 * math/s_csinh_template.c: Likewise.
12411 * math/s_csqrt_template.c: Likewise.
12412 * math/s_ctan_template.c: Likewise.
12413 * math/s_ctanh_template.c: Likewise.
12414 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12415 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12416 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12417 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12418 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12419 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12420 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12421 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12422 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12423 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12424 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12425 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12426 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12427 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12428 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12429 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12430 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12431 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12432 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12433 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12434 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12435 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12436 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12437 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12438 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12439 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12440 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12441 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12442 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12443 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12444 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12445 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12446 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12447 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12448 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12449 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12450 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12451 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12452 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12453 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12454 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12455 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12456 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12457 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12458 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12459 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12460 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12461 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12462 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12463 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12464 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12465 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12466 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12467 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12468 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12469 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12470 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12471 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12472 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12473 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12474 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12475 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12476 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12477 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12478 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12479 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12480 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12481 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12482 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12483 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12484 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12485 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12486 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12487 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
12488 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12489 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12490 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12491 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12492 * sysdeps/x86/fpu/powl_helper.c: Likewise.
12493 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
12494 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
12495 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
12496 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
12497 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
12499 2018-05-09 Joseph Myers <joseph@codesourcery.com>
12501 * sysdeps/generic/math-barriers.h: New file.
12502 * sysdeps/generic/math_private.h [!math_opt_barrier]
12503 (math_opt_barrier): Move to math-barriers.h.
12504 [!math_opt_barrier] (math_force_eval): Likewise.
12505 * sysdeps/aarch64/fpu/math-barriers.h: New file.
12506 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
12508 (math_force_eval): Likewise.
12509 * sysdeps/alpha/fpu/math-barriers.h: New file.
12510 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
12512 (math_force_eval): Likewise.
12513 * sysdeps/x86/fpu/math-barriers.h: New file.
12514 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
12516 (math_force_eval): Likewise.
12517 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
12518 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
12519 multiple-include guard for rename.
12520 * sysdeps/powerpc/fpu/math-barriers.h: New file.
12521 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
12523 (math_force_eval): Likewise.
12525 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
12529 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
12531 * stdlib/Makefile (test-bz22786): New test.
12532 * stdlib/test-bz22786.c: New test.
12534 2018-05-09 Joseph Myers <joseph@codesourcery.com>
12536 * include/math-narrow-eval.h: New file. Contents moved from ....
12537 * sysdeps/generic/math_private.h: ... here.
12538 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
12539 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
12540 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
12541 * stdlib/strtod_l.c: Likewise.
12542 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12543 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12544 * sysdeps/i386/fpu/s_fdim.c: Likewise.
12545 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12546 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12547 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12548 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12549 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12550 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12551 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
12552 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12553 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
12554 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12555 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12556 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12557 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12558 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12559 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12560 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12561 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12562 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12563 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12564 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12565 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12566 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12567 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12568 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12569 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12570 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12572 2018-05-08 Andreas Schwab <schwab@suse.de>
12574 * sysdeps/nptl/internaltypes.h: Fix comment.
12576 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
12578 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12579 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
12582 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
12584 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
12585 of I into loop header.
12586 * benchtests/bench-memmove-walk.c
12587 (test_main): Likewise.
12589 2018-05-07 Alexandre Oliva <oliva@gnu.org>
12592 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
12593 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12595 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12598 * elf/dl-load.c (open_verify): Fix stack overflow.
12599 * elf/Makefile (tst-big-note): New test.
12600 * elf/tst-big-note-lib.S: New.
12601 * elf/tst-big-note.c: New.
12603 2018-05-04 Joseph Myers <joseph@codesourcery.com>
12605 * scripts/abilist.awk: Ignore absolute symbols.
12606 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
12607 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
12608 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
12609 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
12610 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
12611 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
12612 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12613 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
12614 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
12615 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
12616 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
12617 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
12618 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
12619 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
12620 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
12621 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
12622 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
12623 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
12624 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12625 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
12626 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
12627 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
12628 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
12629 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
12630 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
12631 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
12632 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
12633 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
12634 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12635 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
12636 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
12637 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12638 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
12639 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
12640 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
12641 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
12642 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
12643 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
12644 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
12645 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
12646 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
12647 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12648 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
12649 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
12650 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12651 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
12652 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
12653 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
12654 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
12655 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
12656 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
12657 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
12658 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
12659 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
12660 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12661 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
12662 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
12663 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12664 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
12665 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
12666 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
12667 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
12668 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
12669 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
12670 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
12671 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
12672 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
12673 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12674 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
12675 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
12676 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12677 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
12678 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
12679 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
12680 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
12681 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
12682 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
12683 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
12684 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
12685 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
12686 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12687 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
12688 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
12689 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12690 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
12691 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
12692 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
12693 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
12694 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
12695 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
12696 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
12697 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
12699 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
12700 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12701 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
12702 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
12703 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12704 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
12705 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
12706 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
12707 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
12708 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
12709 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
12710 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
12711 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
12713 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
12714 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12715 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
12716 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
12717 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12718 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
12719 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
12720 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
12721 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
12722 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
12723 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
12724 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
12725 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
12726 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
12727 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12728 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
12729 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
12730 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12731 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
12732 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
12733 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
12734 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
12735 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
12736 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
12737 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12738 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
12739 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12741 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
12742 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
12743 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
12744 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
12745 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12746 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
12747 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
12748 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
12749 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
12750 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
12751 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
12752 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
12753 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
12754 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
12755 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
12756 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
12757 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
12758 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
12759 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12760 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12762 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
12763 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
12764 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
12765 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12766 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
12767 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
12768 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
12769 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
12770 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
12771 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
12772 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12773 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
12774 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
12775 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12776 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
12777 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
12778 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
12779 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
12780 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12781 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
12782 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
12783 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12784 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
12785 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
12786 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
12787 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
12788 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
12789 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
12790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
12791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
12793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
12795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
12796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
12797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
12798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
12799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
12801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
12803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
12804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
12806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
12807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
12815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
12817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
12819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
12820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
12824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
12825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
12826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
12827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
12831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
12832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
12838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
12840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
12841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
12842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
12844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
12846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
12848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
12849 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
12850 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
12852 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
12853 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12854 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
12855 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
12856 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12857 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
12858 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
12859 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
12860 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
12861 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
12862 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
12863 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
12864 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
12865 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12867 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12868 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
12869 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
12870 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12871 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
12872 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
12873 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
12874 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
12875 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
12876 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
12877 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
12878 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12880 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12881 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
12882 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
12883 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12884 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
12885 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
12886 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
12887 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
12888 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
12889 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
12890 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
12891 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
12892 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
12893 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12894 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
12895 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
12896 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12897 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
12898 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
12899 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
12900 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
12901 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
12902 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
12903 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
12904 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12906 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
12907 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12908 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
12909 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
12910 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12911 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
12912 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
12913 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
12914 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
12915 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
12916 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
12917 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
12918 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12920 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
12921 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12922 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
12923 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
12924 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12925 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
12926 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
12927 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
12928 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
12929 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
12930 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
12931 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
12932 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
12933 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
12934 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12935 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
12936 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
12937 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12938 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
12939 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
12940 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
12941 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
12942 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
12943 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
12944 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
12945 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
12946 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
12947 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
12948 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12949 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
12950 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
12951 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12952 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
12953 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
12954 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
12955 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
12956 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
12957 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
12959 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
12962 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
12963 Use atomic_load_acquire to load __tid.
12965 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12967 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
12968 Restore the pointer into %rdx, after syscall and use %rdx,
12969 instead of %rsi, to restore context.
12971 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12973 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
12974 Pop the pointer into %rdx after syscall and use %rdx, instead
12975 of %rsi, to restore context.
12977 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12979 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
12980 handlers after setjmp.
12981 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
12983 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
12984 <libc-pointer-arith.h>.
12985 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
12986 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
12987 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
12988 _JUMP_BUF_SIGSET_BITS_PER_WORD.
12989 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
12990 * sysdeps/x86/__longjmp_cancel.S: New file.
12991 * sysdeps/x86/longjmp.c: Likewise.
12992 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
12994 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12996 * NEWS: Add ustat.h deprecation entry.
12997 * bits/ustat.h: Remove file.
12998 * misc/sys/ustat.h: Likewise.
12999 * misc/ustat.h: Likewise.
13000 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
13001 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
13002 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
13003 compatibility mode.
13004 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
13005 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
13006 generic Linux implementation.
13008 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13010 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
13011 * math/w_expl_compat.c: Likewise.
13012 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
13014 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
13016 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
13018 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13020 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
13021 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
13022 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
13024 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
13025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13026 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13027 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
13028 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
13031 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13033 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
13035 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
13036 * math/w_asin_template.c: Likewise.
13037 * math/w_atanh_template.c: Likewise.
13039 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13041 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
13042 to powerpc/powerpc64/be for big-endian.
13043 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
13046 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
13047 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
13048 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
13049 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
13050 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
13051 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
13052 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
13053 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
13054 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
13055 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13056 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
13057 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
13058 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
13059 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
13060 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
13061 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
13062 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
13063 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
13064 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
13065 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
13066 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
13067 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13068 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
13069 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
13070 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
13071 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13072 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
13073 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
13074 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
13075 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
13076 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
13077 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
13079 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
13080 adjusted to imply powerpc64 and older processors on powerpc64/be.
13081 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
13082 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
13083 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
13084 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
13085 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
13086 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
13087 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
13088 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
13089 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
13090 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
13091 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
13092 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
13093 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
13094 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
13095 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
13096 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
13097 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
13098 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
13099 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
13100 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
13101 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
13102 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
13103 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
13104 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
13105 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
13106 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
13107 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
13108 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
13109 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
13110 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
13111 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
13113 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
13114 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
13115 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
13116 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
13118 * sysdeps/powerpc/powerpc64/be/Implies: New file.
13119 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
13120 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
13121 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
13123 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
13124 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
13125 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
13126 * sysdeps/powerpc/powerpc64le/configure: Likewise.
13127 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
13128 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
13129 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
13130 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
13131 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
13132 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
13133 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
13135 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
13136 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
13137 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
13138 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
13139 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
13140 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
13141 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
13142 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
13143 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
13144 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
13145 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
13147 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
13148 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
13149 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
13150 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
13151 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
13152 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
13153 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
13154 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
13155 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
13156 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
13157 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
13158 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
13160 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
13161 and adjusted to imply olders processors.
13162 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
13163 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
13164 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
13165 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
13166 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
13167 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
13168 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
13169 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
13170 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
13171 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
13172 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
13174 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
13176 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
13177 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
13179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
13181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
13182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
13184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
13186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
13188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
13190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
13191 powerpc64 and adjusted.
13192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
13193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
13194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
13197 2018-04-27 Joseph Myers <joseph@codesourcery.com>
13199 * sysdeps/tile: Remove.
13200 * sysdeps/unix/sysv/linux/tile: Likewise.
13201 * README (tilegx-*-linux-gnu): Remove from list of supported
13203 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
13204 contribution of support for generic Linux kernel syscall
13206 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
13207 tilegx configurations.
13208 (Config.install_linux_headers): Do not handle tile.
13209 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
13211 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
13212 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
13213 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13214 conditional undefine and redefine.
13215 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
13217 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13218 conditional undefine and redefine.
13220 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
13222 * signal/tst-sigaction.c: New file to test BZ #23069.
13223 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
13225 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13228 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
13229 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
13230 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
13231 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
13233 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13235 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
13236 _DIRENT_MATCHES_DIRENT64 is not defined.
13237 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
13238 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
13240 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
13241 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
13243 2018-04-25 Joseph Myers <joseph@codesourcery.com>
13245 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
13246 version to GCC 8 branch.
13248 2018-04-24 Joseph Myers <joseph@codesourcery.com>
13250 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
13251 (check_no_hidden): Use type of original function when declaring
13254 * sysdeps/unix/sysv/linux/sys/ptrace.h
13255 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
13256 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
13257 (struct __ptrace_seccomp_metadata): New type.
13258 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
13259 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13260 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
13261 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13262 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
13263 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13264 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
13265 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13266 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
13267 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13268 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
13269 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13270 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
13271 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13272 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
13273 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13275 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13277 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
13279 * dirent/versionsort.c (versionsort): Likewise.
13280 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
13281 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
13282 * dirent/versionsort64.c (versionsort64): Likewise.
13283 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
13284 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
13285 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
13286 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
13287 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
13288 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
13289 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
13290 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
13291 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
13292 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
13293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
13294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
13295 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
13296 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
13298 2018-04-23 Joseph Myers <joseph@codesourcery.com>
13300 * elf/elf.h (NT_PPC_PKEY): New macro.
13302 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
13305 * localedata/locales/hr_HR: fix thousands_sep and
13308 2018-04-20 Joseph Myers <joseph@codesourcery.com>
13310 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
13311 (XTABS): Define to TAB3.
13313 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13315 * sysdeps/hppa/fpu/libm-test-ulps: Update.
13317 * dirent/scandir-tail-common.c: New file.
13318 * dirent/scandir-tail.c: Use scandir-tail-common.c.
13319 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
13320 * dirent/scandir.c: Use scandir-tail-common.c.
13321 * dirent/scandirat.c: Likewise.
13322 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
13323 * dirent/scandir64.c (scandir64): Always build and alias to scandir
13324 if _DIRENT_MATCHES_DIRENT64 is defined.
13325 * dirent/scandirat64.c (scandirat64): Likewise.
13326 * include/dirent.h (__scandir_tail): Only define iff
13327 _DIRENT_MATCHES_DIRENT64 is not defined.
13328 (__scandir64_tail): Define regardless.
13329 (__scandirat, scandirat64): Remove libc_hidden_proto.
13330 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
13331 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
13332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
13333 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
13334 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13335 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
13336 * sysdeps/unix/sysv/linux/scandir64.c: New file.
13338 2018-04-20 Joseph Myers <joseph@codesourcery.com>
13340 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
13342 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13344 (_dl_aarch64_cap_flags): Add asimdfhm.
13346 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
13348 * sysdeps/nios2/libm-test-ulps: Update.
13350 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13352 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
13353 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
13355 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
13357 (_DIRENT_MATCHES_DIRENT64): Undef
13358 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
13359 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
13360 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
13361 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
13362 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
13363 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
13364 use getdents64 syscalls as base.
13365 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
13366 symbol if required.
13367 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
13368 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
13369 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
13370 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
13371 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
13372 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
13373 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
13374 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
13375 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13376 (__get_clockfreq_via_proc_openprom): Use __getdents64.
13377 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
13379 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13381 * scripts/test_printers_common.py (init_test): Disable lock elision.
13383 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13385 * math/test-tgmath.c (count_double, count_float,
13386 count_ldouble, count_cdouble, count_cfloat,
13387 count_cldouble): Use volatile int.
13389 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
13391 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
13392 (conformtest-xfail-conds): Add i386-gnu.
13393 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
13395 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
13396 ipc_perm.cuid, ipc_perm.cgid): Likewise.
13397 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
13398 msqid_ds.msg_lrpid): Likewise.
13399 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
13401 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
13402 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
13403 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
13404 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
13406 (struct statvfs64): Likewise.
13407 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
13409 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
13410 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
13411 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
13412 instead of wait_queue.
13413 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
13414 instead of vm_area_struct.
13415 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
13416 struct sched_param definition to it.
13417 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13418 * bits/types/struct_sched_param.h: New file.
13419 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
13420 <bits/types/struct_sched_param.h> instead of <sched.h>.
13421 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
13422 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
13423 generic version but include <bits/pthreadtypes.h> to make struct
13424 sigevent's sigev_notify_attributes field a pthread_attr_t*.
13425 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
13427 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
13428 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
13429 [__USE_XOPEN] (OFDEL): New macro.
13430 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
13431 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
13432 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
13434 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
13435 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
13436 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
13438 * sysdeps/i386/sys/ucontext.h: Likewise.
13439 * sysdeps/m68k/sys/ucontext.h: Likewise.
13440 * sysdeps/mips/sys/ucontext.h: Likewise.
13441 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
13442 * sysdeps/mach/hurd/i386/Makefile
13443 (test-xfail-POSIX/fcntl.h/conform): Add.
13444 (test-xfail-POSIX/signal.h/conform): Add.
13445 (test-xfail-POSIX/semaphore.h/conform): Add.
13446 (test-xfail-POSIX/regex.h/conform): Add.
13447 (test-xfail-POSIX/aio.h/conform): Add.
13448 (test-xfail-POSIX/mqueue.h/conform): Add.
13449 (test-xfail-POSIX/sys/types.h/conform): Add.
13450 (test-xfail-UNIX98/fcntl.h/conform): Add.
13451 (test-xfail-UNIX98/netdb.h/conform): Add.
13452 (test-xfail-UNIX98/signal.h/conform): Add.
13453 (test-xfail-UNIX98/semaphore.h/conform): Add.
13454 (test-xfail-UNIX98/regex.h/conform): Add.
13455 (test-xfail-UNIX98/aio.h/conform): Add.
13456 (test-xfail-UNIX98/ftw.h/conform): Add.
13457 (test-xfail-UNIX98/mqueue.h/conform): Add.
13458 (test-xfail-UNIX98/netinet/in.h/conform): Add.
13459 (test-xfail-UNIX98/sys/wait.h/conform): Add.
13460 (test-xfail-UNIX98/sys/sem.h/conform): Add.
13461 (test-xfail-UNIX98/sys/uio.h/conform): Add.
13462 (test-xfail-UNIX98/sys/socket.h/conform): Add.
13463 (test-xfail-UNIX98/sys/types.h/conform): Add.
13464 (test-xfail-UNIX98/stdlib.h/conform): Add.
13465 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
13466 (test-xfail-POSIX2008/fcntl.h/conform): Add.
13467 (test-xfail-POSIX2008/netdb.h/conform): Add.
13468 (test-xfail-POSIX2008/signal.h/conform): Add.
13469 (test-xfail-POSIX2008/semaphore.h/conform): Add.
13470 (test-xfail-POSIX2008/regex.h/conform): Add.
13471 (test-xfail-POSIX2008/aio.h/conform): Add.
13472 (test-xfail-POSIX2008/mqueue.h/conform): Add.
13473 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
13474 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
13475 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
13476 (test-xfail-POSIX2008/sys/types.h/conform): Add.
13477 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
13478 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
13479 (test-xfail-XOPEN2K/netdb.h/conform): Add.
13480 (test-xfail-XOPEN2K/signal.h/conform): Add.
13481 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
13482 (test-xfail-XOPEN2K/regex.h/conform): Add.
13483 (test-xfail-XOPEN2K/aio.h/conform): Add.
13484 (test-xfail-XOPEN2K/ftw.h/conform): Add.
13485 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
13486 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
13487 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
13488 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
13489 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
13490 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
13491 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
13492 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
13493 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
13494 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
13495 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
13496 (test-xfail-XOPEN2K8/signal.h/conform): Add.
13497 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
13498 (test-xfail-XOPEN2K8/regex.h/conform): Add.
13499 (test-xfail-XOPEN2K8/aio.h/conform): Add.
13500 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
13501 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
13502 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
13503 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
13504 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
13505 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
13506 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
13507 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
13508 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
13509 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
13510 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
13512 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
13513 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
13515 2018-04-18 Joseph Myers <joseph@codesourcery.com>
13517 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
13518 --enable-obsolete for powerpc-linux-gnuspe.
13520 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13522 * conform/data/sys/un.h-data: Allow sun_ prefix.
13523 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
13525 * sysdeps/mach/include/mach.h: Likewise.
13526 * sysdeps/mach/include/mach/mig_support.h: Likewise.
13527 * sysdeps/mach/include/mach_error.h: Likewise.
13529 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13531 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
13532 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
13533 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
13534 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
13536 2018-04-16 Andreas Schwab <schwab@suse.de>
13539 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
13541 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
13543 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
13544 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
13546 2018-04-12 DJ Delorie <dj@redhat.com>
13548 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13551 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
13553 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
13554 (struct kernel_sigaction): Use the same definition on 31bit as is used
13557 2018-04-09 Florian Weimer <fweimer@redhat.com>
13560 * resolv/res_send.c (send_dg): Use designated initializers instead
13561 of assignment to zero-initialize other fields of struct mmsghdr.
13563 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13565 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
13566 __READDIR_ALIAS): Undefine after usage.
13567 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
13568 __READDIR_R_ALIAS): Likewise.
13569 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
13570 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
13571 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
13572 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
13573 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
13574 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
13575 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13576 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13577 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
13578 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
13579 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
13580 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
13581 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13582 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
13583 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
13584 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
13585 * sysdeps/unix/sysv/linux/readdir.c: New file.
13586 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
13587 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
13588 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
13590 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
13592 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
13594 * manual/charset.texi (Converting a Character): Fix typo.
13596 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13600 * sysdeps/arm/libm-test-ulps: Update.
13602 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
13603 as base implementation.
13604 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13605 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13606 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13607 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13608 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13609 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
13610 remove unrequired definitions and update comments.
13611 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
13612 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
13613 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
13614 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
13615 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
13616 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
13617 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
13618 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
13619 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
13620 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
13621 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
13622 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13623 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13624 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
13625 and RESET_SA_RESTORER hooks.
13627 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
13629 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13631 2018-04-05 Florian Weimer <fweimer@redhat.com>
13633 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
13634 integer overflow, memory leak on error, and indeterminate errno
13635 value. Add a null wide character to terminate the result string.
13636 * manual/charset.texi (Converting a Character): Mention embedded
13637 null bytes in the mbrtowc input string. Explain what happens in
13638 the -2 result case. Do not claim that mbrtowc is simple or
13639 obvious to use. Adjust the description of the code example. Use
13640 @code, not @var, for concrete variables.
13642 2018-04-05 Florian Weimer <fweimer@redhat.com>
13644 * manual/examples/mbstouwcs.c: New file.
13645 * manual/charset.texi (Converting a Character): Include it.
13647 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13649 * include/dirent.h (dirfd): Add hidden proto.
13650 * dirent/dirfd.c (dirfd): Add hidden def.
13651 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
13652 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
13654 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13656 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
13657 sin, cos and sincos to 1 ULP.
13659 2018-04-04 Maciej W. Rozycki <macro@mips.com>
13662 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
13664 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
13665 * elf/tst-absolute-sym.c: New file.
13666 * elf/tst-absolute-sym-lib.c: New file.
13667 * elf/tst-absolute-sym-lib.lds: New file.
13668 * elf/Makefile (tests): Add `tst-absolute-sym'.
13669 (modules-names): Add `tst-absolute-sym-lib'.
13670 (LDLIBS-tst-absolute-sym-lib.so): New variable.
13671 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
13672 ($(objpfx)tst-absolute-sym): New dependency.
13675 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
13677 (SYMBOL_ADDRESS): New macro.
13678 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
13679 SYMBOL_ADDRESS for symbol address calculation.
13680 * elf/dl-runtime.c (_dl_fixup): Likewise.
13681 (_dl_profile_fixup): Likewise.
13682 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
13683 * elf/rtld.c (dl_main): Likewise.
13684 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
13685 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
13686 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
13687 (elf_machine_rela): Likewise.
13688 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
13689 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
13690 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13691 (elf_machine_rela): Likewise.
13692 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13693 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
13694 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
13695 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
13697 (elf_machine_reloc): Likewise.
13698 (elf_machine_got_rel): Likewise.
13699 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
13700 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
13701 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13703 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13705 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
13706 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13708 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13710 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13711 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13713 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13715 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
13716 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13718 2018-04-04 Zack Weinberg <zackw@panix.com>
13720 * sysdeps/generic/internal-signals.h: Include signal.h,
13721 sigsetops.h, and stdbool.h.
13722 (__libc_signal_block_all): Actually block all signals.
13723 (__libc_signal_block_app): Likewise.
13724 (__libc_signal_restore_set): Actually restore the signal mask.
13726 2018-04-04 Florian Weimer <fweimer@redhat.com>
13728 inet: Actually build and run tst-deadline.
13729 * inet/Makefile (tests-internal): Add tst-deadline and do not
13730 overwrite the variable.
13731 (tests-static-internal): Remove variable.
13733 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
13736 * bits/uio-ext.h (RWF_APPEND): New.
13737 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
13738 * manual/llio.texi: Document RWF_APPEND.
13739 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
13740 (RWF_SUPPORTED): Add RWF_APPEND.
13742 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13745 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
13746 check for internal nptl signals.
13747 * nptl/sigaction.c (__sigaction): Likewise.
13748 * signal/sigaddset.c (sigaddset): Likewise.
13749 * signal/sigdelset.c (sigdelset): Likewise.
13750 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
13751 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
13753 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
13754 to filter out internal nptl signals.
13755 * signal/tst-sigset.c (do_test): Check ech signal indidually and
13756 also check realtime signals using standard macros.
13757 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
13758 __is_internal_signal, __libc_signal_block_all,
13759 __libc_signal_block_app, __libc_signal_restore_set): New functions.
13760 * sysdeps/nptl/sigfillset.c: Remove file.
13761 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
13762 Change return to bool.
13763 (__clear_internal_signals): Remove SIGTIMER clean since it is
13764 equal to SIGCANEL on Linux.
13765 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
13766 signal set was constructed using standard functions.
13768 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13770 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
13771 ifname is too long.
13772 * hurd/hurdsig.c (interrupted_reply_port_location): Use
13773 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
13774 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
13776 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
13777 * signal/sigaddset.c: Include <sigsetopts.h>.
13778 * signal/sigdelset.c: Likewise.
13780 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13782 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
13784 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
13785 logic as sin and cos.
13787 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13789 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
13790 inputs. Return correct sign.
13791 (do_sincos): Remove small input check before do_sin, let do_sin set
13796 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13798 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
13799 (do_cos_slow): Likewise.
13800 (do_sin_slow): Likewise.
13801 (reduce_and_compute): Likewise.
13806 (sloww1): Likewise.
13807 (sloww2): Likewise.
13809 (bslow1): Likewise.
13810 (bslow2): Likewise.
13811 (cslow2): Likewise.
13813 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13815 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
13816 (do_cos): Remove corp parameter and calculations.
13817 (do_sin): Likewise.
13818 (do_sincos): Remove cor variable.
13819 (__sin): Use do_sincos for huge inputs.
13821 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13822 (reduce_and_compute_sincos): Remove unused function.
13824 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13826 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
13827 reduce_sincos, improve accuracy to 136 bits.
13828 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
13829 (__sin): Use improved reduction and simplified do_sincos calculation.
13831 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13833 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13835 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
13836 (do_sincos_2): Likewise.
13837 (__sin): Remove middle range reduction case.
13839 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
13842 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13844 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
13845 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
13848 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
13850 2018-04-03 Joseph Myers <joseph@codesourcery.com>
13852 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13855 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13857 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
13858 Remove definitions.
13859 (opendir_oflags): Use O_DIRECTORY regardless.
13860 (__opendir, __opendirat): Remove need_isdir_precheck usage.
13861 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
13863 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13865 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
13866 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
13868 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
13869 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
13870 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
13871 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
13872 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
13873 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
13875 * htl/Makefile: Bump licence to LGPL 2.1+.
13876 * htl/alloca_cutoff.c: Likewise.
13877 * htl/cthreads-compat.c: Likewise.
13878 * htl/lockfile.c: Likewise.
13879 * htl/pt-alloc.c: Likewise.
13880 * htl/pt-cancel.c: Likewise.
13881 * htl/pt-cleanup.c: Likewise.
13882 * htl/pt-create.c: Likewise.
13883 * htl/pt-dealloc.c: Likewise.
13884 * htl/pt-detach.c: Likewise.
13885 * htl/pt-exit.c: Likewise.
13886 * htl/pt-getattr.c: Likewise.
13887 * htl/pt-initialize.c: Likewise.
13888 * htl/pt-internal.h: Likewise.
13889 * htl/pt-join.c: Likewise.
13890 * htl/pt-self.c: Likewise.
13891 * htl/pt-setcancelstate.c: Likewise.
13892 * htl/pt-setcanceltype.c: Likewise.
13893 * htl/pt-sigmask.c: Likewise.
13894 * htl/pt-spin-inlines.c: Likewise.
13895 * htl/pt-testcancel.c: Likewise.
13896 * htl/pt-yield.c: Likewise.
13897 * htl/tests/test-1.c: Likewise.
13898 * htl/tests/test-10.c: Likewise.
13899 * htl/tests/test-11.c: Likewise.
13900 * htl/tests/test-12.c: Likewise.
13901 * htl/tests/test-13.c: Likewise.
13902 * htl/tests/test-14.c: Likewise.
13903 * htl/tests/test-15.c: Likewise.
13904 * htl/tests/test-16.c: Likewise.
13905 * htl/tests/test-17.c: Likewise.
13906 * htl/tests/test-2.c: Likewise.
13907 * htl/tests/test-3.c: Likewise.
13908 * htl/tests/test-4.c: Likewise.
13909 * htl/tests/test-5.c: Likewise.
13910 * htl/tests/test-6.c: Likewise.
13911 * htl/tests/test-7.c: Likewise.
13912 * htl/tests/test-8.c: Likewise.
13913 * htl/tests/test-9.c: Likewise.
13914 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
13915 * sysdeps/htl/bits/cancelation.h: Likewise.
13916 * sysdeps/htl/bits/pthread-np.h: Likewise.
13917 * sysdeps/htl/bits/pthread.h: Likewise.
13918 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
13919 * sysdeps/htl/bits/semaphore.h: Likewise.
13920 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
13921 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
13922 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
13923 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
13924 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
13925 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
13926 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
13927 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
13928 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
13929 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
13930 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
13931 * sysdeps/htl/old_pt-atfork.c: Likewise.
13932 * sysdeps/htl/pt-atfork.c: Likewise.
13933 * sysdeps/htl/pt-attr-destroy.c: Likewise.
13934 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
13935 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
13936 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
13937 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
13938 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
13939 * sysdeps/htl/pt-attr-getscope.c: Likewise.
13940 * sysdeps/htl/pt-attr-getstack.c: Likewise.
13941 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
13942 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
13943 * sysdeps/htl/pt-attr-init.c: Likewise.
13944 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
13945 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
13946 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
13947 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
13948 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
13949 * sysdeps/htl/pt-attr-setscope.c: Likewise.
13950 * sysdeps/htl/pt-attr-setstack.c: Likewise.
13951 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
13952 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
13953 * sysdeps/htl/pt-attr.c: Likewise.
13954 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
13955 * sysdeps/htl/pt-barrier-init.c: Likewise.
13956 * sysdeps/htl/pt-barrier-wait.c: Likewise.
13957 * sysdeps/htl/pt-barrier.c: Likewise.
13958 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
13959 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
13960 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
13961 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
13962 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
13963 * sysdeps/htl/pt-cond-destroy.c: Likewise.
13964 * sysdeps/htl/pt-cond-init.c: Likewise.
13965 * sysdeps/htl/pt-cond-signal.c: Likewise.
13966 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
13967 * sysdeps/htl/pt-cond-wait.c: Likewise.
13968 * sysdeps/htl/pt-cond.c: Likewise.
13969 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
13970 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
13971 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
13972 * sysdeps/htl/pt-condattr-init.c: Likewise.
13973 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
13974 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
13975 * sysdeps/htl/pt-destroy-specific.c: Likewise.
13976 * sysdeps/htl/pt-equal.c: Likewise.
13977 * sysdeps/htl/pt-getconcurrency.c: Likewise.
13978 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
13979 * sysdeps/htl/pt-getschedparam.c: Likewise.
13980 * sysdeps/htl/pt-getspecific.c: Likewise.
13981 * sysdeps/htl/pt-init-specific.c: Likewise.
13982 * sysdeps/htl/pt-key-create.c: Likewise.
13983 * sysdeps/htl/pt-key-delete.c: Likewise.
13984 * sysdeps/htl/pt-key.h: Likewise.
13985 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
13986 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
13987 * sysdeps/htl/pt-mutex-init.c: Likewise.
13988 * sysdeps/htl/pt-mutex-lock.c: Likewise.
13989 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
13990 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
13991 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
13992 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
13993 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
13994 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
13995 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
13996 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
13997 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
13998 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
13999 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
14000 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
14001 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
14002 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
14003 * sysdeps/htl/pt-mutexattr.c: Likewise.
14004 * sysdeps/htl/pt-once.c: Likewise.
14005 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
14006 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
14007 * sysdeps/htl/pt-rwlock-init.c: Likewise.
14008 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
14009 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
14010 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
14011 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
14012 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
14013 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
14014 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
14015 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
14016 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
14017 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
14018 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
14019 * sysdeps/htl/pt-setconcurrency.c: Likewise.
14020 * sysdeps/htl/pt-setschedparam.c: Likewise.
14021 * sysdeps/htl/pt-setschedprio.c: Likewise.
14022 * sysdeps/htl/pt-setspecific.c: Likewise.
14023 * sysdeps/htl/pt-spin.c: Likewise.
14024 * sysdeps/htl/pt-startup.c: Likewise.
14025 * sysdeps/htl/pthread.h: Likewise.
14026 * sysdeps/htl/sem-close.c: Likewise.
14027 * sysdeps/htl/sem-destroy.c: Likewise.
14028 * sysdeps/htl/sem-getvalue.c: Likewise.
14029 * sysdeps/htl/sem-init.c: Likewise.
14030 * sysdeps/htl/sem-open.c: Likewise.
14031 * sysdeps/htl/sem-post.c: Likewise.
14032 * sysdeps/htl/sem-timedwait.c: Likewise.
14033 * sysdeps/htl/sem-trywait.c: Likewise.
14034 * sysdeps/htl/sem-unlink.c: Likewise.
14035 * sysdeps/htl/sem-wait.c: Likewise.
14036 * sysdeps/hurd/htl/pt-kill.c: Likewise.
14037 * sysdeps/i386/htl/pt-machdep.h: Likewise.
14038 * sysdeps/mach/htl/pt-block.c: Likewise.
14039 * sysdeps/mach/htl/pt-spin.c: Likewise.
14040 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
14041 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
14042 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
14043 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
14044 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
14045 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
14046 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
14047 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
14048 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
14049 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
14050 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
14051 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
14052 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
14053 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
14054 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
14055 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
14056 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
14057 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
14058 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
14059 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
14060 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
14061 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
14062 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
14063 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
14064 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
14065 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
14066 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
14067 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
14068 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
14069 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
14070 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
14071 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
14072 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
14073 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
14074 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
14075 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
14076 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
14077 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
14078 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
14079 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
14080 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
14081 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
14082 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
14084 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
14085 * README: Remove the mention of out-of-tree patches needed for
14088 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
14089 (UTIME_NOW, UTIME_OMIT): Define macros.
14091 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
14092 instead of pthread_detach.
14093 (__cthread_fork): Call __pthread_create instead of pthread_create.
14094 (__cthread_keycreate): Call __pthread_key_create instead of
14095 pthread_key_create.
14096 (__cthread_getspecific): Call __pthread_getspecific instead of
14097 pthread_getspecific.
14098 (__cthread_setspecific): Call __pthread_setspecific instead of
14099 pthread_setspecific.
14100 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
14101 __pthread_mutex_unlock instead of pthread_mutex_lock and
14102 pthread_mutex_unlock.
14103 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
14104 ___pthread_get_cleanup_stack.
14105 (__pthread_get_cleanup_stack): New strong alias.
14106 * htl/pt-create.c: Include <pthreadP.h>.
14107 (entry_point): Call __pthread_exit instead of pthread_exit.
14108 (pthread_create): Rename to __pthread_create.
14109 (pthread_create): New strong alias.
14110 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
14111 (pthread_detach): New strong alias.
14112 (__pthread_detach): Call __pthread_cond_broadcast instead of
14113 pthread_cond_broadcast.
14114 * htl/pt-exit.c: Include <pthreadP.h>.
14115 (__pthread_exit): Call __pthread_setcancelstate and
14116 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
14117 __pthread_get_cleanup_stack.
14118 * htl/pt-testcancel.c: Include <pthreadP.h>.
14119 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
14120 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
14121 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
14122 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
14123 pthread_attr_getstacksize.
14124 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
14125 Rename to __pthread_attr_getstackaddr.
14126 (pthread_attr_getstackaddr): New strong alias.
14127 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
14128 Rename to __pthread_attr_getstacksize.
14129 (pthread_attr_getstacksize): New strong alias.
14130 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
14131 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
14132 (pthread_attr_setstack): New strong alias.
14133 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
14134 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
14135 pthread_attr_getstacksize, pthread_attr_setstacksize and
14136 pthread_attr_setstackaddr.
14137 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
14138 Rename to __pthread_attr_setstackaddr.
14139 (pthread_attr_setstackaddr): New strong alias.
14140 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
14141 Rename to __pthread_attr_setstacksize.
14142 (pthread_attr_setstacksize): New strong alias.
14143 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
14144 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
14146 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
14147 (__pthread_key_create): New hidden def.
14148 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
14149 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
14150 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
14151 __pthread_exit, __pthread_key_create, __pthread_getspecific,
14152 __pthread_setspecific, __pthread_setcancelstate,
14153 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
14154 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
14155 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
14157 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
14158 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
14159 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
14160 (pthread_attr_setstackaddr): New strong alias.
14161 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
14162 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
14163 (pthread_attr_setstacksize): New strong alias.
14164 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
14165 (call_exit): Call __pthread_exit instead of pthread_exit.
14166 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
14167 (_pthread_mutex_init): New hidden definition.
14168 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
14169 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
14170 instead of pthread_attr_init and pthread_attr_setstack.
14172 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
14173 __vm_deallocate instead of vm_allocate and vm_deallocate.
14174 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
14176 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
14178 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
14180 * hurd/siginfo.c: Include <libioP.h>.
14181 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
14182 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
14184 * mach/devstream.c: Include <libioP.h>.
14185 (dealloc_ref): Call __mach_port_deallocate instead of
14186 mach_port_deallocate.
14187 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
14188 Call __mach_port_deallocate instead of mach_port_deallocate.
14189 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
14191 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
14193 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
14194 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
14195 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
14197 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
14199 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
14200 instead of sysconf.
14201 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
14202 __clock_gettime instead of clock_gettime.
14203 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
14204 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
14205 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
14206 * sysdeps/unix/bsd/stty.c (stty): Likewise.
14207 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
14209 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
14210 __clock_gettime and __nanosleep instead of clock_gettime and
14212 * hurd/catch-signal.c (hurd_catch_signal): Rename to
14213 __hurd_catch_signal.
14214 (hurd_catch_signal): New strong alias.
14215 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
14216 __hurd_catch_signal instead of hurd_catch_signal.
14217 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
14218 * hurd/hurdexec.c (_hurd_init): Add hidden def.
14219 * hurd/hurdinit.c (_hurd_init): Add hidden def.
14220 * hurd/hurdsig.c: Include <mach/mig_support.h>.
14221 (_hurd_thread_sigstate): Add hidden def.
14222 (_hurd_internal_post_signal): Use __mutex_unlock instead of
14224 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
14225 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
14226 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
14227 __hurd_file_name_path_lookup.
14228 (hurd_file_name_path_lookup): New strong alias.
14229 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
14230 hurd_file_name_path_lookup.
14231 * mach/errstring.c (mach_error_type): Add hidden def.
14232 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
14233 * mach/mutex-init.c (__mutex_init): Add hidden def.
14234 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
14235 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
14236 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
14237 * sysdeps/mach/hurd/getcwd.c
14238 (_hurd_canonicalize_directory_name_internal): Rename to
14239 __hurd_canonicalize_directory_name_internal.
14240 (_hurd_canonicalize_directory_name_internal): New strong alias.
14241 (__canonicalize_directory_name_internal, __getcwd): Call
14242 __hurd_canonicalize_directory_name_internal instead of
14243 _hurd_canonicalize_directory_name_internal.
14244 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
14245 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
14247 * sysdeps/hurd/include/hurd.h: New file.
14248 * sysdeps/hurd/include/hurd/fd.h: New file.
14249 * sysdeps/hurd/include/hurd/signal.h: New file.
14250 * sysdeps/mach/include/lock-intern.h: New file.
14251 * sysdeps/mach/include/mach.h: New file.
14252 * sysdeps/mach/include/mach/mig_support.h: New file.
14253 * sysdeps/mach/include/mach_error.h: New file.
14254 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
14256 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
14257 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
14258 _HEADER_H_HIDDEN_DEF macro.
14259 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
14260 _hurd_fd_error_signal): Add hidden prototype.
14261 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
14263 * libio/iolibio.h (_IO_puts): New hidden prototype.
14264 * libio/ioputs.c (_IO_puts): New hidden def.
14265 * sysdeps/mach/hurd/localplt.data: New file.
14267 2018-04-02 Agustina Arzille <avarzille@riseup.net>
14268 Amos Jeffries <squid3@treenet.co.nz>
14269 David Michael <fedora.dm0@gmail.com>
14270 Marco Gerards <marco@gnu.org>
14271 Marcus Brinkmann <marcus@gnu.org>
14272 Neal H. Walfield <neal@gnu.org>
14273 Pino Toscano <toscano.pino@tiscali.it>
14274 Richard Braun <rbraun@sceen.net>
14275 Roland McGrath <roland@gnu.org>
14276 Samuel Thibault <samuel.thibault@ens-lyon.org>
14277 Thomas DiModica <ricinwich@yahoo.com>
14278 Thomas Schwinge <tschwinge@gnu.org>
14280 * htl: New directory.
14281 * sysdeps/htl: New directory.
14282 * sysdeps/hurd/htl: New directory.
14283 * sysdeps/i386/htl: New directory.
14284 * sysdeps/mach/htl: New directory.
14285 * sysdeps/mach/hurd/htl: New directory.
14286 * sysdeps/mach/hurd/i386/htl: New directory.
14287 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
14288 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
14289 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
14291 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14293 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
14294 signals in thread created for runing timers.
14296 2018-04-01 Florian Weimer <fweimer@redhat.com>
14298 * support/support_format_addrinfo.c (support_format_addrinfo):
14299 Include unknown error number in formatted result.
14301 2018-03-29 Florian Weimer <fweimer@redhat.com>
14303 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
14306 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14308 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
14309 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
14310 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14311 (__ASSUME_CLONE_BACKWARDS): Define.
14313 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
14316 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
14317 early when linux sentinel value is set.
14319 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14321 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
14323 2018-03-27 Andreas Schwab <schwab@suse.de>
14326 * resolv/res_send.c (__res_context_send): Return ENOMEM if
14327 allocation of private copy of nsaddr_list fails.
14329 2018-03-26 Joseph Myers <joseph@codesourcery.com>
14332 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
14333 * sysdeps/unix/sysv/linux/umount.c: ... here.
14334 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
14335 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
14336 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
14337 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
14338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
14339 * sysdeps/unix/sysv/linux/umount.S: Likewise.
14340 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
14342 2018-03-26 Andreas Schwab <schwab@suse.de>
14344 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
14345 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
14346 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
14347 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
14348 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
14349 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
14350 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
14351 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
14352 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
14353 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
14354 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
14355 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
14356 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
14357 (R_RISCV_NUM): Define.
14359 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
14361 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
14362 TLS declaration of errno.
14363 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
14365 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
14366 (ARCH_SETUP_TLS): Likewise.
14367 * sysdeps/mach/hurd/libc-start.h: New file copied from
14368 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
14369 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
14370 instead of __libc_setup_tls.
14371 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
14372 __libc_setup_tls before initializing libpthread and running _hurd_init
14373 which starts the signal thread.
14374 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
14376 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14378 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
14381 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
14382 after it is defined.
14384 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
14385 Max Horn <max@quendi.de>
14389 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
14391 * string/test-memmove.c (do_test2): New testcase.
14393 2018-03-22 Joseph Myers <joseph@codesourcery.com>
14395 * sysdeps/generic/frame.h: Remove file.
14396 * sysdeps/arm/frame.h: Likewise.
14397 * sysdeps/hppa/frame.h: Likewise.
14398 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
14400 (GET_FRAME): Likewise.
14401 (GET_STACK): Likewise.
14402 (CALL_SIGHANDLER): Likewise.
14403 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
14405 (GET_FRAME): Likewise.
14406 (GET_STACK): Likewise.
14407 (CALL_SIGHANDLER): Likewise.
14408 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
14409 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14410 (GET_FRAME): Likewise.
14411 (GET_STACK): Likewise.
14412 (CALL_SIGHANDLER): Likewise.
14413 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
14414 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14415 (GET_FRAME): Likewise.
14416 (GET_STACK): Likewise.
14417 (ADVANCE_STACK_FRAME): Likewise.
14418 (CALL_SIGHANDLER): Likewise.
14419 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
14420 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14421 (GET_FRAME): Likewise.
14422 (GET_STACK): Likewise.
14423 (CALL_SIGHANDLER): Likewise.
14424 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
14425 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14426 (GET_FRAME): Likewise.
14427 (GET_STACK): Likewise.
14428 (CALL_SIGHANDLER): Likewise.
14429 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
14430 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14431 (GET_FRAME): Likewise.
14432 (GET_STACK): Likewise.
14433 (CALL_SIGHANDLER): Likewise.
14434 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
14435 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14436 (GET_FRAME): Likewise.
14437 (GET_STACK): Likewise.
14438 (CALL_SIGHANDLER): Likewise.
14439 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
14440 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14441 (GET_FRAME): Likewise.
14442 (GET_STACK): Likewise.
14443 (CALL_SIGHANDLER): Likewise.
14444 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
14445 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14446 (GET_FRAME): Likewise.
14447 (GET_STACK): Likewise.
14448 (CALL_SIGHANDLER): Likewise.
14449 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
14450 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14451 (GET_FRAME): Likewise.
14452 (GET_STACK): Likewise.
14453 (CALL_SIGHANDLER): Likewise.
14454 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
14455 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14456 (GET_FRAME): Likewise.
14457 (GET_STACK): Likewise.
14458 (CALL_SIGHANDLER): Likewise.
14459 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
14460 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14461 (GET_FRAME): Likewise.
14462 (GET_STACK): Likewise.
14463 (CALL_SIGHANDLER): Likewise.
14464 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
14465 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14466 (FIRST_FRAME_POINTER): Likewise.
14467 (ADVANCE_STACK_FRAME): Likewise.
14468 (GET_STACK): Likewise.
14469 (GET_FRAME): Likewise.
14470 (CALL_SIGHANDLER): Likewise.
14471 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
14472 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14473 (ADVANCE_STACK_FRAME): Likewise.
14474 (GET_STACK): Likewise.
14475 (GET_FRAME): Likewise.
14476 (CALL_SIGHANDLER): Likewise.
14477 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
14478 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14479 (GET_FRAME): Likewise.
14480 (GET_STACK): Likewise.
14481 (CALL_SIGHANDLER): Likewise.
14482 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
14483 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14484 (GET_FRAME): Likewise.
14485 (GET_STACK): Likewise.
14486 (CALL_SIGHANDLER): Likewise.
14488 2018-03-21 Joseph Myers <joseph@codesourcery.com>
14490 * sysdeps/x86_64/backtrace.c: Move to ....
14491 * debug/backtrace.c: ... here.
14492 * sysdeps/aarch64/backtrace.c: Remove file.
14493 * sysdeps/alpha/backtrace.c: Likewise.
14494 * sysdeps/hppa/backtrace.c: Likewise.
14495 * sysdeps/ia64/backtrace.c: Likewise.
14496 * sysdeps/mips/backtrace.c: Likewise.
14497 * sysdeps/nios2/backtrace.c: Likewise.
14498 * sysdeps/riscv/backtrace.c: Likewise.
14499 * sysdeps/sh/backtrace.c: Likewise.
14500 * sysdeps/tile/backtrace.c: Likewise.
14502 2018-03-20 Joseph Myers <joseph@codesourcery.com>
14505 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
14508 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
14511 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
14512 possibly overflowing computations.
14514 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14516 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
14517 values from Linux-specific section now that it is in the GNU section.
14518 * sysdeps/gnu/errlist.c: Regenerate.
14520 2018-03-20 Joseph Myers <joseph@codesourcery.com>
14522 * math/Makefile (libm-narrow-fns): Add sub.
14523 (libm-test-funcs-narrow): Likewise.
14524 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
14525 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
14526 * math/gen-auto-libm-tests.c (test_functions): Add sub.
14527 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
14528 (NARROW_SUB_ROUND_TO_ODD): Likewise.
14529 (NARROW_SUB_TRIVIAL): Likewise.
14530 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
14532 (__dsubl): Likewise.
14533 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
14535 (CFLAGS-nldbl-dsub.c): New variable.
14536 (CFLAGS-nldbl-fsub.c): Likewise.
14537 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14539 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
14541 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
14542 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
14543 * math/auto-libm-test-in: Add tests of sub.
14544 * math/auto-libm-test-out-narrow-sub: New generated file.
14545 * math/libm-test-narrow-sub.inc: New file.
14546 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14547 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
14548 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
14549 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
14550 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
14551 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
14552 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
14553 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
14554 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
14555 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
14556 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
14557 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
14558 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
14559 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
14560 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
14561 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
14562 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
14563 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
14564 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14565 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14566 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14567 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14568 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14569 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14570 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14571 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14572 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14573 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14574 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14575 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14576 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14577 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14582 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14583 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14584 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14585 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14586 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14587 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14588 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
14589 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
14590 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14591 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14593 2018-03-19 Joseph Myers <joseph@codesourcery.com>
14596 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
14598 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
14600 * benchtests/bench-timing.h (attribute_hidden): Undefine.
14602 2018-03-18 Richard Braun <rbraun@sceen.net>
14604 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
14607 2018-03-18 Agustina Arzille <avarzille@riseup.net>
14609 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
14610 (__libc_cleanup_fct): Define function.
14611 (__libc_cleanup_region_start, __libc_cleanup_region_end,
14612 __libc_cleanup_end): Rewrite implementation using
14613 __attribute__ ((__cleanup__)).
14614 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
14615 * hurd/Makefile (routines): Add hurdlock.
14616 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
14618 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
14619 * hurd/hurdpid.c: Include <lowlevellock.h>
14620 (_S_msg_proc_newids): Use lll_wait to synchronize.
14621 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
14622 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
14623 * mach/Makefile (lock-headers): Remove machine-lock.h.
14624 * mach/lock-intern.h: Include <lowlevellock.h> instead of
14626 (__spin_lock_t): New type.
14627 (__SPIN_LOCK_INITIALIZER): New macro.
14628 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
14629 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
14630 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
14631 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
14632 (__mutex_init): Initialize with lll.
14633 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
14634 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
14636 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14637 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
14638 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
14639 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
14640 (__setpgid): Use lll for synchronization.
14641 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
14642 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
14643 instead of <cthreads.h>.
14644 (_IO_lock_inexpensive): New macro
14645 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
14646 (__libc_lock_self0): New declaration.
14647 (__libc_lock_owner_self): New macro.
14648 (__libc_key_t): Remove type.
14649 (_LIBC_LOCK_INITIALIZER): New macro.
14650 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
14651 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
14652 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
14653 __libc_lock_define_initialized_recursive,
14654 __rtld_lock_define_initialized_recursive,
14655 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
14656 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
14657 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
14658 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
14659 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
14660 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
14661 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
14663 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
14664 * hurd/hurdlock.c: New file.
14665 * hurd/hurdlock.h: New file.
14666 * mach/lowlevellock.h: New file
14668 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14670 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
14671 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
14672 when opening a symlink with O_NOFOLLOW.
14673 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
14674 path when flags contains O_NOFOLLOW.
14675 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
14676 if flags contains O_DIRECTORY and the result is a directory.
14677 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
14678 oneself when the pointer given in D is nul (as set by ext2fs).
14679 * sysdeps/mach/hurd/mlockall.c: New file.
14680 * sysdeps/mach/hurd/munlockall.c: New file.
14682 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14684 * hurd/hurdsig.c: Include <pthread.h>.
14685 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
14686 get the signal thread stack layout.
14687 * hurd/Makefile (headers): Remove threadvar.h.
14688 (inline-headers): Remove threadvar.h.
14689 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
14690 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
14691 __hurd_threadvar_max, __hurd_errno_location.
14692 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
14693 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
14694 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
14695 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
14696 unless TLS is not initialized yet, in which case we do not need a
14697 critical section yet anyway.
14698 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
14700 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
14702 (__hurd_threadvar_index): Remove enum.
14703 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
14704 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
14706 (__hurd_reply_port0): New variable declaration.
14707 (__hurd_local_reply_port): New macro.
14708 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
14709 (interrupted_reply_port_location): Add thread_t parameter. Use it
14710 with THREAD_TCB to access thread-local variables.
14711 (_hurdsig_abort_rpcs): Pass ss->thread to
14712 interrupted_reply_port_location.
14713 (_hurd_internal_post_signal): Likewise.
14714 (_hurdsig_init): Use presence of cthread_fork instead of
14715 __hurd_threadvar_stack_mask to start signal thread by hand.
14716 Remove signal thread threadvar initialization.
14717 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
14718 * hurd/sigunwind.c: Include <hurd/threadvar.h>
14719 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
14721 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
14723 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
14724 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
14725 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
14726 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
14727 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
14728 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
14729 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
14731 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
14732 <hurd/threadvar.h>.
14733 [IS_IN(rtld)] (rtld_errno): New variable.
14734 [IS_IN(rtld)] (__errno_location): New weak function.
14735 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
14736 * sysdeps/mach/hurd/errno.c: Remove file.
14737 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
14738 (__fork): Remove THREADVAR_SPACE macro and its use.
14739 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
14741 (init): Do not initialize threadvar.
14742 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
14744 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
14745 __hurd_local_reply_port instead of threadvar.
14746 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
14747 _hurd_sigstate fields.
14748 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
14749 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
14750 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
14751 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
14752 instead of threadvar.
14753 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
14754 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
14755 (use_threadvar, global_reply_port): Remove variables.
14756 (__hurd_reply_port0): New variable.
14757 (__mig_get_reply_port): Use __hurd_local_reply_port and
14758 __hurd_reply_port0 instead of threadvar.
14759 (__mig_dealloc_reply_port): Likewise.
14760 (__mig_init): Do not initialize threadvar.
14761 * sysdeps/mach/hurd/profil.c: Fix comment.
14762 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
14763 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
14764 cthread_keycreate, cthread_getspecific, cthread_setspecific to
14765 __cthread_fork, __cthread_detach, __pthread_getattr_np,
14766 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
14767 __cthread_setspecific.
14768 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
14769 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
14770 __cthread_t instead of cthread_fork, cthread_detach,
14771 pthread_getattr_np, pthread_attr_getstack.
14772 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
14773 __cthread_keycreate.
14774 (cthread_getspecific): Rename to __cthread_getspecific.
14775 (cthread_setspecific): Rename to __cthread_setspecific.
14776 (__libc_getspecific): Use __cthread_getspecific instead of
14777 cthread_getspecific.
14778 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
14779 __cthread_keycreate instead of cthread_keycreate.
14780 (__libc_setspecific): Use __cthread_setspecific instead of
14781 cthread_setspecific.
14782 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
14784 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
14785 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
14786 testing whether it is defined.
14788 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14790 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
14792 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
14793 * sysdeps/mach/i386/thread_state.h
14794 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
14796 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
14798 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
14800 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
14801 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
14803 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
14805 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
14806 descriptor instead of creating a new one.
14807 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
14809 * mach/setup-thread.c: Include <ldsodefs.h>.
14810 (__mach_setup_thread): Call _dl_allocate_tls, pass
14811 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
14812 MACHINE_THREAD_STATE_FLAVOR, before getting
14813 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
14814 MACHINE_THREAD_STATE_FLAVOR with the result.
14815 * hurd/hurdfault.c (_hurdsig_fault_init): Call
14816 MACHINE_THREAD_STATE_FIX_NEW.
14817 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
14818 too. Add original thread parameter.
14820 2018-03-16 Joseph Myers <joseph@codesourcery.com>
14822 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
14823 Remove inline function.
14825 * sysdeps/i386/fpu/libm-test-ulps: Update.
14826 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
14828 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
14830 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
14833 2018-03-15 Joseph Myers <joseph@codesourcery.com>
14835 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
14836 (__sincos_code): Remove define and undefine.
14837 [__FAST_MATH__] (__sincos): Remove inline function.
14838 [__FAST_MATH__] (__sincosf): Remove inline function.
14839 [__FAST_MATH__] (__sincosl): Remove inline function.
14840 (__atan2l): Remove inline functions.
14841 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
14842 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
14844 (floor): Remove inline function.
14846 [__FAST_MATH__] (__ldexp_code): Remove macro.
14847 [__FAST_MATH__] (ldexp): Remove inline function.
14848 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
14849 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
14850 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
14851 [__USE_ISOC99] (__lrint_code): Remove macro.
14852 [__USE_ISOC99] (__llrint_code): Likewise.
14853 [__USE_ISOC99] (lrintf): Remove inline function.
14854 [__USE_ISOC99] (lrint): Likewise.
14855 [__USE_ISOC99] (lrintl): Likewise.
14856 [__USE_ISOC99] (llrint): Likewise.
14857 [__USE_ISOC99] (llrintf): Likewise.
14858 [__USE_ISOC99] (llrintl): Likewise.
14860 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14862 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
14863 (__ieee754_sqrtf): Remove.
14864 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
14865 (__ieee754_sqrtf): Remove.
14866 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
14867 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14868 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
14869 (__ieee754_sqrtf): Remove.
14870 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
14871 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
14874 (__ieee754_sqrt): Remove.
14875 (__ieee754_sqrtf): Remove.
14876 (__ieee754_sqrtl): Remove.
14877 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14878 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
14879 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
14880 (__ieee754_sqrtf): Remove.
14881 (__ieee754_sqrtl): Remove.
14883 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14885 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
14886 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
14887 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14888 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
14889 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
14890 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14891 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14892 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14894 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
14895 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
14896 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14897 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
14898 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
14899 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
14900 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
14901 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
14902 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
14903 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14904 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
14905 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
14906 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
14907 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
14908 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
14909 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14910 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14911 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14912 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
14913 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
14914 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14915 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14916 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
14917 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
14918 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
14919 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
14920 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14921 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14922 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
14923 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14924 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14925 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
14926 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14927 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
14928 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14929 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14930 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
14931 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
14932 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14933 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
14935 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14937 * include/math.h (sqrt): Declare with asm redirect.
14940 (sqrtf128): Likewise.
14941 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
14942 nonlib and libnldbl with -fmath-errno.
14943 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
14944 * math/w_sqrt_template.c: Likewise.
14945 * math/w_sqrtf_compat.c: Likewise.
14946 * math/w_sqrtl_compat.c: Likewise.
14947 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
14948 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
14949 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
14952 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14954 * benchtests/Makefile: Define _ISOMAC.
14955 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
14956 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
14957 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
14958 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
14959 * benchtests/bench-timing.h: Define attribute_hidden.
14961 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
14963 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
14966 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14969 * localedata/locales/cs_CZ (mon): Rename to...
14971 (mon): Import from CLDR (genitive case).
14973 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14976 * localedata/locales/el_CY (abmon): Rename to...
14977 (ab_alt_mon): This.
14978 (abmon): Import from CLDR (abbreviated genitive case).
14979 * localedata/locales/el_GR (abmon): Rename to...
14980 (ab_alt_mon): This.
14981 (abmon): Import from CLDR (abbreviated genitive case).
14983 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14986 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
14988 2018-03-15 Robert Buj <robert.buj@gmail.com>
14991 * localedata/locales/ca_ES (abmon): Rename to...
14992 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
14993 (mon): Rename to...
14995 (abmon): Import from CLDR (genitive case, month names preceded by
14998 (abday): Synchronize with CLDR.
14999 (d_t_fmt): Likewise.
15003 (LC_TIME): Improve indentation.
15004 (LC_TELEPHONE): Likewise.
15005 (LC_NAME): Likewise.
15006 (LC_ADDRESS): Likewise.
15008 2018-03-14 Joseph Myers <joseph@codesourcery.com>
15010 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
15011 (lrintf): Remove definitions used only with old GCC.
15012 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
15013 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
15014 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
15015 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
15016 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
15017 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
15018 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
15019 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
15020 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
15021 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
15022 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
15023 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
15024 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
15025 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
15026 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
15027 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
15028 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
15029 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
15030 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
15031 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
15032 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
15033 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
15034 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
15035 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
15036 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
15037 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
15038 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
15039 [__FAST_MATH__] (__M_SQRT2): Remove macro.
15041 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
15043 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
15044 instruction to unbreak builds with binutils 2.26 and older.
15046 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
15048 * sysdeps/aarch64/strncmp.S (count): New macro.
15049 (strncmp): Store misaligned length in SRC1 in COUNT.
15050 (mutual_align): Adjust.
15051 (misaligned8): Load dword at a time when it is safe.
15053 2018-03-12 Zack Weinberg <zackw@panix.com>
15057 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
15058 if the _IO_EOF_SEEN bit is already set; update commentary.
15059 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
15060 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
15062 * support/support_openpty.c, support/tty.h: New files.
15063 * support/Makefile (libsupport-routines): Add support_openpty.
15065 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
15067 * libio/Makefile (tests): Add tst-fgetc-after-eof.
15068 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
15070 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
15072 * po/pt_BR.po: Update translations.
15074 2018-03-12 David Michael <fedora.dm0@gmail.com>
15076 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
15077 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
15078 get a port to the startup server.
15080 2018-03-11 Zack Weinberg <zackw@panix.com>
15082 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
15083 before nldbl-compat.h.
15085 2018-03-10 Zack Weinberg <zackw@panix.com>
15087 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
15088 math.h or math_private.h.
15090 * sysdeps/alpha/fpu/s_isnan.c
15091 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
15092 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
15093 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
15094 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
15095 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
15096 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
15097 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
15098 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
15099 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
15100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
15101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
15102 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
15103 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
15104 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
15105 Include math_private.h.
15107 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
15108 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
15109 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
15110 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
15111 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
15112 * sysdeps/powerpc/power7/fpu/s_logb.c:
15113 Include math.h and math_private.h.
15115 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
15116 uses of $at in .set noat / .set at.
15118 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
15120 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
15121 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
15122 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
15123 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
15126 2018-03-09 Florian Weimer <fweimer@redhat.com>
15128 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
15131 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
15134 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
15135 Add nop before __startcontext, add explaining comments.
15137 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15140 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
15142 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
15143 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
15144 Do not build hardware transactional code for __SPE__.
15145 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15146 (__lll_trylock_elision): Likewise.
15147 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
15148 (__lll_unlock_elision): Likewise.
15150 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
15151 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
15152 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
15153 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
15154 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
15155 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
15156 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
15157 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
15158 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
15159 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
15160 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
15161 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
15162 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
15163 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
15164 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
15165 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
15166 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
15167 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
15168 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
15169 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
15170 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
15171 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15172 (__ASSUME_CLONE_BACKWARDS): Define.
15173 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
15174 __clone2 if __NR_clone2 is defined.
15175 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15176 (__ASSUME_CLONE_BACKWARDS): Likewise.
15177 * sysdeps/unix/sysv/linux/i386/kernel-features.h
15178 (__ASSUME_CLONE_BACKWARDS): Likewise.
15179 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15180 (__ASSUME_CLONE2): Likewise.
15181 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15182 (__ASSUME_CLONE_BACKWARDS3): Likewise.
15183 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
15184 variants and the define architecture can use.
15185 (__ASSUME_CLONE_DEFAULT): Define as default.
15186 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15187 (__ASSUME_CLONE_BACKWARDS): Likewise.
15188 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15189 (__ASSUME_CLONE_BACKWARDS): Likewise.
15190 * sysdeps/unix/sysv/linux/s390/kernel-features.h
15191 (__ASSUME_CLONE_BACKWARDS2): Likewise.
15193 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
15195 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
15197 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
15200 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
15201 (do_test_limit): Likewise.
15203 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
15204 for every implementation.
15205 (do_test): Likewise.
15207 * benchtests/bench-strncmp.c: Convert output to json.
15209 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15211 * io/futimens.c: Add missing start-of-file descriptive comment.
15212 * io/utime.c: Likewise.
15213 * misc/futimesat.c: Likewise.
15214 * misc/utimes.c: Likewise.
15215 * sysdeps/mach/hurd/futimesat.c: Likewise.
15216 * sysdeps/mach/hurd/utimes.c: Likewise.
15217 * sysdeps/posix/utime.c: Likewise.
15218 * sysdeps/posix/utimes.c: Likewise.
15219 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
15220 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15221 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
15222 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
15224 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15226 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
15228 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
15229 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
15230 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
15231 (__futimens): Move implementation to...
15232 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
15233 utime_tvalue_from_tspec): ... new helper functions.
15234 (hurd_futimens): New function.
15235 * sysdeps/mach/hurd/futimesat.c: New file.
15236 * sysdeps/mach/hurd/utimensat.c: New file.
15238 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
15240 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
15241 UTIME_OMIT): New macros.
15242 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
15243 before reverting to converting time spec to time value and calling
15245 * sysdeps/mach/hurd/utime-helper.c: New file.
15246 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
15247 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
15248 reverting to utime_tvalue_from_tval and __file_utimes.
15249 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
15250 (__lutimes): Just call hurd_futimens after lookup.
15251 * sysdeps/mach/hurd/utimes.c: Likewise.
15253 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15255 * bits/sigaction.h: Add include guard.
15256 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
15257 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
15258 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
15259 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
15260 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
15261 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
15262 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
15263 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
15264 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
15266 2018-03-05 Joseph Myers <joseph@codesourcery.com>
15268 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
15269 -Wmaybe-uninitialized for -Os.
15270 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
15273 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15275 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
15276 __INO_T_MATCHES_INO64_T is defined.
15277 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
15278 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
15280 * dirent/alphasort64.c: Likewise.
15281 * dirent/scandir.c: Likewise.
15282 * dirent/scandir64-tail.c: Likewise.
15283 * dirent/scandir64.c: Likewise.
15284 * dirent/scandirat.c: Likewise.
15285 * dirent/scandirat64.c: Likewise.
15286 * dirent/versionsort.c: Likewise.
15287 * dirent/versionsort64.c: Likewise.
15288 * include/dirent.h: Likewise.
15290 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
15291 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
15292 for socketpair endpoint.
15293 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
15294 WRITE_BUFFER_SIZE as buffer size for sending socket.
15295 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
15296 issue on system where send is implemented with sendto syscall.
15297 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
15298 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
15299 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
15300 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
15303 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
15304 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
15305 sa_restorer for vDSO case.
15306 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
15308 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15310 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
15311 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
15312 * hurd/hurd/ioctl.h: Include <mach/port.h>
15313 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
15314 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
15315 <mach/mach_types.h> and <mach/message.h>.
15316 (headers): Move mach/param.h to bits/mach/param.h.
15317 * sysdeps/mach/i386/mach/param.h: Move file to ...
15318 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
15319 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
15321 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
15322 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
15323 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
15324 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
15325 trivial, for C++ conformity.
15326 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
15327 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
15328 Process mig output through $(migheadersed).
15329 * hurd/Makefile (migheadersed): Define variable.
15330 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
15331 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
15333 * hurd/hurd.h: Include <bits/types/sigset_t.h>
15334 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
15335 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
15336 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
15337 <bits/types/sigset_t.h>.
15338 [!defined __USE_GNU]: Do not #error out.
15339 (struct hurd_sigstate): Use _NSIG instead of NSIG.
15340 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
15341 Include <stddef.h> and <bits/types/sigset_t.h>
15342 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
15343 instead of sighandler_t.
15344 * stdlib/errno.h (error_t): Move definition to...
15345 * bits/types/error_t.h: ... new header.
15346 * stdlib/Makefile (headers): Add bits/types/error_t.h.
15347 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
15348 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
15349 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
15350 * hurd/hurd.h: Include <bits/types/error_t.h>
15351 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
15352 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
15353 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
15354 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
15355 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
15356 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
15357 * sysdeps/mach/hurd/futimens.c: New file.
15359 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
15362 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
15363 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
15364 * nscd/gai.c (__nss_hosts_database): Readd definition.
15365 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
15366 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
15367 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
15369 2018-03-02 Joseph Myers <joseph@codesourcery.com>
15371 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
15372 (ifunc_one): Likewise.
15374 2018-03-01 DJ Delorie <dj@delorie.com>
15377 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
15380 2018-03-01 Maciej W. Rozycki <macro@mips.com>
15382 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
15383 `match_pid' parameter.
15384 (td_ta_thr_iter): Update accordingly.
15386 2018-03-01 Florian Weimer <fweimer@redhat.com>
15388 * nptl/Makefile (install-lib-ldscripts): Remove.
15389 (install): Remove rule.
15390 ($(inst_libdir)/libpthread.so): Likewise.
15392 2018-03-01 Mike FABIAN <mfabian@redhat.com>
15395 * localedata/locales/an_ES: update month and day names,
15396 improve d_fmt, improve postal_fmt, add country_post,
15399 2018-03-01 Mike FABIAN <mfabian@redhat.com>
15401 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
15402 Ukrainian instead of Bulgarian.
15404 2018-03-01 Florian Weimer <fweimer@redhat.com>
15406 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
15409 2018-03-01 Florian Weimer <fweimer@redhat.com>
15411 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
15412 * nptl/Makefile (routines): Add pthread_atfork.
15413 (static-only-routines): Set to pthread_atfork.
15414 (libpthread-routines): Remove pthread_atfork.
15415 (libpthread-static-only-routines): Remove.
15416 (install): Update comment.
15417 (libpthread.so): Do not install libpthread_nonshared.a.
15418 (tests): Do not link with libpthread_nonshared.a.
15419 (generated): Remove libpthread_nonshared.a.
15420 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
15421 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
15422 with libpthread_nonshared.a.
15424 2018-02-28 Joseph Myers <joseph@codesourcery.com>
15427 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
15428 (libc_feholdexcept_setroundf128): New macro.
15429 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
15432 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
15434 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
15435 * include/inttypes.h: New file.
15437 2018-02-27 Joseph Myers <joseph@codesourcery.com>
15439 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
15440 -Os in two more places.
15442 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15444 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
15445 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
15446 be sorted correctly at the moment because of a bug.
15448 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15450 [BZ #22550] - es_ES locale (and other es_* locales): collation should
15451 treat ñ as a primary different character, sync the collation
15452 for Spanish with CLDR.
15453 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
15454 * localedata/Makefile: Add new test files.
15455 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
15456 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
15458 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
15459 * localedata/am_ET.UTF-8.in: New test file.
15460 * localedata/az_AZ.UTF-8.in: Likewise.
15461 * localedata/be_BY.UTF-8.in: Likewise.
15462 * localedata/ber_DZ.UTF-8.in: Likewise.
15463 * localedata/ber_MA.UTF-8.in: Likewise.
15464 * localedata/bg_BG.UTF-8.in: Likewise.
15465 * localedata/br_FR.UTF-8.in: Likewise.
15466 * localedata/cmn_TW.UTF-8.in: Likewise.
15467 * localedata/crh_UA.UTF-8.in: Likewise.
15468 * localedata/csb_PL.UTF-8.in: Likewise.
15469 * localedata/cv_RU.UTF-8.in: Likewise.
15470 * localedata/cy_GB.UTF-8.in: Likewise.
15471 * localedata/dz_BT.UTF-8.in: Likewise.
15472 * localedata/eo.UTF-8.in: Likewise.
15473 * localedata/es_ES.UTF-8.in: Likewise.
15474 * localedata/fa_IR.UTF-8.in: Likewise.
15475 * localedata/fi_FI.UTF-8.in: Likewise.
15476 * localedata/fil_PH.UTF-8.in: Likewise.
15477 * localedata/fur_IT.UTF-8.in: Likewise.
15478 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
15479 * localedata/ha_NG.UTF-8.in: Likewise.
15480 * localedata/ig_NG.UTF-8.in: Likewise.
15481 * localedata/ik_CA.UTF-8.in: Likewise.
15482 * localedata/kk_KZ.UTF-8.in: Likewise.
15483 * localedata/ku_TR.UTF-8.in: Likewise.
15484 * localedata/ky_KG.UTF-8.in: Likewise.
15485 * localedata/ln_CD.UTF-8.in: Likewise.
15486 * localedata/mi_NZ.UTF-8.in: Likewise.
15487 * localedata/ml_IN.UTF-8.in: Likewise.
15488 * localedata/mn_MN.UTF-8.in: Likewise.
15489 * localedata/mr_IN.UTF-8.in: Likewise.
15490 * localedata/mt_MT.UTF-8.in: Likewise.
15491 * localedata/nb_NO.UTF-8.in: Likewise.
15492 * localedata/om_KE.UTF-8.in: Likewise.
15493 * localedata/os_RU.UTF-8.in: Likewise.
15494 * localedata/ps_AF.UTF-8.in: Likewise.
15495 * localedata/ro_RO.UTF-8.in: Likewise.
15496 * localedata/ru_RU.UTF-8.in: Likewise.
15497 * localedata/sc_IT.UTF-8.in: Likewise.
15498 * localedata/se_NO.UTF-8.in: Likewise.
15499 * localedata/sq_AL.UTF-8.in: Likewise.
15500 * localedata/sv_SE.UTF-8.in: Likewise.
15501 * localedata/szl_PL.UTF-8.in: Likewise.
15502 * localedata/tg_TJ.UTF-8.in: Likewise.
15503 * localedata/tk_TM.UTF-8.in: Likewise.
15504 * localedata/tt_RU.UTF-8.in: Likewise.
15505 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
15506 * localedata/ug_CN.UTF-8.in: Likewise.
15507 * localedata/uz_UZ.UTF-8.in: Likewise.
15508 * localedata/vi_VN.UTF-8.in: Likewise.
15509 * localedata/yi_US.UTF-8.in: Likewise.
15510 * localedata/yo_NG.UTF-8.in: Likewise.
15511 * localedata/zh_CN.UTF-8.in: Likewise.
15512 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
15513 file and fix bugs in the collation.
15514 * localedata/locales/az_AZ: Likewise.
15515 * localedata/locales/be_BY: Likewise.
15516 * localedata/locales/ber_DZ: Likewise.
15517 * localedata/locales/ber_MA: Likewise.
15518 * localedata/locales/bg_BG: Likewise.
15519 * localedata/locales/br_FR: Likewise.
15520 * localedata/locales/br_FR@euro: Likewise.
15521 * localedata/locales/ca_ES: Likewise.
15522 * localedata/locales/cns11643_stroke: Likewise.
15523 * localedata/locales/crh_UA: Likewise.
15524 * localedata/locales/cs_CZ: Likewise.
15525 * localedata/locales/csb_PL: Likewise.
15526 * localedata/locales/cv_RU: Likewise.
15527 * localedata/locales/cy_GB: Likewise.
15528 * localedata/locales/da_DK: Likewise.
15529 * localedata/locales/dz_BT: Likewise.
15530 * localedata/locales/en_CA: Likewise.
15531 * localedata/locales/eo: Likewise.
15532 * localedata/locales/es_CU: Likewise.
15533 * localedata/locales/es_EC: Likewise.
15534 * localedata/locales/es_ES: Likewise.
15535 * localedata/locales/es_US: Likewise.
15536 * localedata/locales/et_EE: Likewise.
15537 * localedata/locales/fa_IR: Likewise.
15538 * localedata/locales/fi_FI: Likewise.
15539 * localedata/locales/fil_PH: Likewise.
15540 * localedata/locales/fur_IT: Likewise.
15541 * localedata/locales/gez_ER@abegede: Likewise.
15542 * localedata/locales/ha_NG: Likewise.
15543 * localedata/locales/hr_HR: Likewise.
15544 * localedata/locales/hsb_DE: Likewise.
15545 * localedata/locales/hu_HU: Likewise.
15546 * localedata/locales/ig_NG: Likewise.
15547 * localedata/locales/ik_CA: Likewise.
15548 * localedata/locales/is_IS: Likewise.
15549 * localedata/locales/iso14651_t1_pinyin: Likewise.
15550 * localedata/locales/kk_KZ: Likewise.
15551 * localedata/locales/ku_TR: Likewise.
15552 * localedata/locales/ky_KG: Likewise.
15553 * localedata/locales/ln_CD: Likewise.
15554 * localedata/locales/lt_LT: Likewise.
15555 * localedata/locales/lv_LV: Likewise.
15556 * localedata/locales/mi_NZ: Likewise.
15557 * localedata/locales/ml_IN: Likewise.
15558 * localedata/locales/mn_MN: Likewise.
15559 * localedata/locales/mr_IN: Likewise.
15560 * localedata/locales/mt_MT: Likewise.
15561 * localedata/locales/nb_NO: Likewise.
15562 * localedata/locales/om_KE: Likewise.
15563 * localedata/locales/os_RU: Likewise.
15564 * localedata/locales/pl_PL: Likewise.
15565 * localedata/locales/ps_AF: Likewise.
15566 * localedata/locales/ro_RO: Likewise.
15567 * localedata/locales/ru_RU: Likewise.
15568 * localedata/locales/ru_UA: Likewise.
15569 * localedata/locales/sc_IT: Likewise.
15570 * localedata/locales/se_NO: Likewise.
15571 * localedata/locales/si_LK: Likewise.
15572 * localedata/locales/sq_AL: Likewise.
15573 * localedata/locales/sv_FI: Likewise.
15574 * localedata/locales/sv_FI@euro: Likewise.
15575 * localedata/locales/sv_SE: Likewise.
15576 * localedata/locales/szl_PL: Likewise.
15577 * localedata/locales/tg_TJ: Likewise.
15578 * localedata/locales/ti_ER: Likewise.
15579 * localedata/locales/tk_TM: Likewise.
15580 * localedata/locales/tl_PH: Likewise.
15581 * localedata/locales/tr_TR: Likewise.
15582 * localedata/locales/tt_RU: Likewise.
15583 * localedata/locales/tt_RU@iqtelif: Likewise.
15584 * localedata/locales/ug_CN: Likewise.
15585 * localedata/locales/uk_UA: Likewise.
15586 * localedata/locales/uz_UZ: Likewise.
15587 * localedata/locales/uz_UZ@cyrillic: Likewise.
15588 * localedata/locales/vi_VN: Likewise.
15589 * localedata/locales/yi_US: Likewise.
15590 * localedata/locales/yo_NG: Likewise.
15592 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15594 * gen-locales.mk: Make test files which contain @ modifiers in their
15596 * localedata/gen-locale.sh: Likewise.
15598 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15600 * posix/tst-fnmatch.input: Fix results for range expressions
15602 * posix/tst-regexloc.c: Do not use a range expression for
15603 de_DE.ISO-8859-1 locale.
15605 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15607 * posix/bug-regex5.c: Fix test case because with the new
15608 iso14651_t1_common file, the da_DK locale now has 6 collating elements
15609 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
15612 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15614 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
15615 downloaded from ISO, the collation order of @-. and space has changed.
15616 Therefore, this test file needed to be adapted.
15617 * localedata/fr_CA.UTF-8.in: Likewise.
15618 * localedata/fr_FR.UTF-8.in: Likewise.
15619 * localedata/uk_UA.UTF-8.in: Likewise.
15621 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15623 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
15624 order of ȥ in the new iso14651_t1_common file.
15625 * localedata/pl_PL.UTF-8.in: Likewise.
15627 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15629 * localedata/locales/iso14651_t1_common: Add sections for various
15630 scripts to the iso14651_t1_common file.
15632 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15634 * localedata/locales/iso14651_t1_common: Use the code point of a
15635 character in the fourth collation level instead of IGNORE for all
15636 entries which have IGNORE on all 4 levels.
15638 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15640 * localedata/locales/iso14651_t1_common: Add some convenient collation
15641 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
15642 rules similar to those in CLDR.
15644 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15646 * localedata/locales/iso14651_t1_common: The new version of this
15647 file downloaded from ISO contained several syntax errors which
15648 are fixed by this patch.
15650 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15652 * localedata/locales/iso14651_t1_common: replace all <U.....>
15653 with <U000.....> because glibc understands only 4 digit or 8 digit
15655 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15657 * localedata/locales/iso14651_t1_common: Necessary changes
15658 to make the file downloaded from ISO usable by glibc.
15660 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15663 * localedata/locales/iso14651_t1_common: Update file to
15664 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
15666 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15668 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
15669 of <nptl/pthreadP.h>
15670 (thread_attr_compare): Move function to...
15671 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
15672 * sysdeps/nptl/timer_routines.h: ... new header.
15673 * sysdeps/mach/hurd/gai_misc.h: New file.
15675 2018-02-26 Joseph Myers <joseph@codesourcery.com>
15677 * string/strcoll_l.c: Include <libc-diag.h>.
15678 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
15679 declarations of seq1 and seq2.
15682 * stdlib/atoi.c (atoi): Use libc_hidden_def.
15683 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
15685 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
15689 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
15690 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
15691 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
15692 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
15693 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
15694 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
15696 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15698 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
15699 macros used in __ptrace_request.
15701 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
15704 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
15706 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
15707 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
15708 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
15711 2018-02-23 Joseph Myers <joseph@codesourcery.com>
15714 * ctype/ctype.c (tolower): Use libc_hidden_def.
15715 (toupper): Likewise.
15716 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
15717 [!_ISOMAC] (toupper): Likewise.
15719 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15721 * localedata/Makefile: Remove --quiet argument when
15724 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15727 * localedata/locales/pt_BR (LC_TIME): use / instead of -
15729 * localedata/locales/pt_PT (LC_TIME): likewise
15731 2018-02-23 Mike FABIAN <mfabian@redhat.com>
15734 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
15735 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
15736 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
15738 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15740 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15742 * nptl/Makefile (routines): Remove unregister-atfork.
15743 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
15744 (fork_handler_alloc): Remove function.
15745 (fork_handlers, fork_handler_init): New variables.
15746 (__fork_lock): Rename to atfork_lock.
15747 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
15748 to use a dynamic array to add/remove atfork handlers.
15749 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15750 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
15751 Remove declaration.
15752 (fork_handler): Remove next, refcntr, and need_signal member.
15753 (__run_fork_handler_type): New enum.
15754 (__run_fork_handlers): New prototype.
15755 * nptl/register-atfork.c: Remove file.
15756 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
15758 * sysdeps/nptl/nptl-signals.h: Move to ...
15759 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
15761 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
15762 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
15763 unnecessary check for SIGTIMER.
15764 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
15765 remove unnecessary removal of SIGTIMER.
15766 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
15767 include-signals.h rename.
15768 * nptl/pthreadP.h: Likewise.
15769 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
15770 __is_internal_signal instead of __nptl_is_internal_signal.
15772 2018-02-22 Andrew Waterman <andrew@sifive.com>
15775 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
15776 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
15777 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
15778 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
15780 2018-02-22 DJ Delorie <dj@delorie.com>
15782 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
15784 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
15786 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
15787 do_misaligned, not misaligned8.
15789 2018-02-22 Steve Ellcey <sellcey@cavium.com>
15791 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
15792 Add memcpy_thunderx2.
15793 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
15795 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
15796 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
15797 and IS_THUNDERX2PA checks.
15798 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
15799 Use macro to set name appropriately.
15800 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
15801 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
15802 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
15804 (IS_THUNDERX2): New macro.
15806 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
15808 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15810 2018-02-21 Zack Weinberg <zackw@panix.com>
15812 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
15813 Define here, unconditionally.
15814 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
15815 * libio/libioP.h: Remove #if 0 blocks.
15816 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
15817 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
15818 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
15820 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
15821 Assume weak_alias is always defined.
15823 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
15824 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
15825 Remove #if 0 and #ifdef TODO blocks.
15826 Assume text_set_element is always defined.
15828 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
15829 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
15830 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
15832 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
15833 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
15834 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
15835 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
15836 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
15837 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
15838 Reformat bit flags for _flags field to make occupancy clearer.
15840 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
15841 Keep definitions consistent with those in libio/libio.h.
15843 * libio/libio.h (_IO_file_flags): Remove macro.
15844 All uses changed to _flags.
15846 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
15847 (__HAVE_COLUMN, _IO_BE): Don't define.
15848 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
15849 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
15850 * libio/libioP.h (EOF): Don't define.
15851 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
15852 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
15853 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
15854 testing _IO_UNIFIED_JUMPTABLES.
15856 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
15857 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
15858 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
15859 (_IO_size_t): Delete; all uses changed to size_t.
15860 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
15861 (_IO_off_t): Delete; all uses changed to off_t.
15862 (_IO_off64_t): Delete; all uses changed to off64_t.
15863 (_IO_pid_t): Delete; all uses changed to pid_t.
15864 (_IO_uid_t): Delete; all uses changed to uid_t.
15865 (_IO_wint_t): Delete; all uses changed to wint_t.
15866 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
15867 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
15868 (_IO_cookie_io_functions_t): Delete; all uses changed to
15869 cookie_io_functions_t.
15870 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
15871 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
15872 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
15873 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
15875 * libio/iofopncook.c: Remove unnecessary forward declarations.
15876 * libio/iolibio.h: Correct outdated commentary.
15877 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
15878 * stdio-common/fxprintf.c (__fxprintf_nocancel):
15879 Remove unnecessary casts.
15880 * stdio-common/getline.c: Use _IO_getdelim directly.
15881 Don't redefine ssize_t.
15882 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
15883 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
15884 Remove outdated comments.
15885 * stdio-common/vfscanf.c: Don't redefine va_list.
15887 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
15888 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
15889 Remove preprocessor conditionals on _LIBC and __USE_GNU,
15890 which are always true, and __cplusplus, which is always false.
15892 2018-02-21 Joseph Myers <joseph@codesourcery.com>
15896 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
15897 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
15898 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
15899 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
15901 [!_ISOMAC] (putc_unlocked): Likewise.
15902 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
15903 define inline if [__USE_EXTERN_INLINES].
15904 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
15909 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
15910 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
15911 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
15912 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
15913 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
15915 * time/tzfile.c (__tzfile_read): Likewise.
15917 2018-02-21 Mike FABIAN <mfabian@redhat.com>
15920 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
15922 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
15924 * io/fcntl.h: Fix a typo in a comment.
15926 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
15929 * include/features.h: Add _ISOC11_SOURCE to test for whether to
15930 define _DEFAULT_SOURCE.
15931 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
15933 2018-02-21 Florian Weimer <fweimer@redhat.com>
15936 * elf/cache.c (save_cache): Call fsync on temporary file before
15938 (save_aux_cache): Call fdatasync on temporary file before renaming
15941 2018-02-21 Florian Weimer <fweimer@redhat.com>
15944 * include/caller.h: Remove file.
15945 * elf/dl-caller.c: Likewise.
15946 * elf/Makefile (dl-routines): Remove dl-caller.
15947 (shared-only-routines): Do not add dl-caller.
15948 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
15950 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
15952 (dl_open_worker): Do not call __check_caller.
15953 (_dl_open): Do not set caller_dl_open member.
15954 * elf/rtld.c (_rtld_global_ro): Do not initialize
15955 _dl_check_caller member.
15956 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
15957 _dl_check_caller member.
15958 (_dl_check_caller): Remove declaration.
15959 * sysdeps/unix/sysv/linux/dl-execstack.c
15960 (_dl_make_stack_executable): Do not call __check_caller.
15962 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
15964 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
15965 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
15967 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
15969 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
15972 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
15975 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
15976 of 199606L, 200112L, and 200809L.
15977 (_XOPEN_SOURCE): Document special values of 600 and 700.
15978 (_ISOC11_SOURCE): Document macro.
15979 (_ATFILE_SOURCE): Likewise.
15980 (_FORTIFY_SOURCE): Likewise.
15982 2018-02-19 Joseph Myers <joseph@codesourcery.com>
15986 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
15987 and define as weak alias of __ferror_unlocked. Use
15989 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
15991 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
15992 function if [__USE_EXTERN_INLINES].
15993 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
15996 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
15999 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
16001 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
16004 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
16005 the GLIBC_2.1 version.
16007 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
16010 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
16011 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
16012 intl/tst-gettext-de.po from po/de.po by removing the
16013 POT-Creation-Date line.
16014 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
16016 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
16019 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16021 * mach/Makefile (headers): Add mach/param.h.
16022 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
16023 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
16024 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
16025 (__ptsname_r): Move implementation to...
16026 (__ptsname_internal): ... new function. Add filling the STP
16029 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
16031 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
16034 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
16036 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
16039 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
16041 * nptl/Makefile (tst-mutex8-ENV): Delete.
16042 * nptl/tst-mutex8.c (check_type):
16043 Add runtime check if mutex will be elided.
16045 2018-02-15 Joseph Myers <joseph@codesourcery.com>
16049 * manual/install.texi (Configuring and compiling): Describe
16050 passing CC and CFLAGS on configure command line, not as
16051 environment variables. Use @code markup on those variables.
16052 Specify what options go in CC and what go in CFLAGS. Note the
16053 requirement to compile with optimization.
16054 * INSTALL: Regenerated.
16057 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
16058 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
16059 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
16060 __sigprocmask instead of sigprocmask.
16061 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
16063 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
16064 __sigsetjmp and sigprocmask.
16067 * include/argz.h (argz_next): Use libc_hidden_proto.
16068 (__argz_next): Likewise.
16069 * string-argz-next.c (__argz_next): Use libc_hidden_def.
16070 (argz_next): Use libc_hidden_weak.
16073 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
16075 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
16079 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
16081 * libio/iofputs.c (fputs): Use libc_hidden_weak.
16085 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
16086 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
16087 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
16088 (__feof_unlocked): New declaration, and inline function if
16089 [__USE_EXTERN_INLINES].
16090 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
16091 instead of feof_unlocked.
16092 * intl/localealias.c [_LIBC] (FEOF): Likewise.
16093 * nss/nsswitch.c (nss_parse_file): Likewise.
16094 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
16096 * time/getdate.c (__getdate_r): Likewise.
16097 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
16098 Define as macro to call __feof_unlocked.
16100 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16102 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
16104 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16106 * math/Makefile: Remove mpexp.c and mplog.c
16107 * sysdeps/i386/fpu/mpexp.c: Delete file.
16108 * sysdeps/i386/fpu/mplog.c: Likewise.
16109 * sysdeps/ia64/fpu/mpexp.c: Likewise.
16110 * sysdeps/ia64/fpu/mplog.c: Likewise.
16111 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
16112 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
16113 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
16114 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16115 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
16116 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
16117 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
16118 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
16119 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
16120 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16121 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
16122 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
16123 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16124 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
16125 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
16126 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16128 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
16130 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16132 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16134 * sysdeps/sh/libm-test-ulps: Update.
16136 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16138 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
16141 2018-02-12 Zack Weinberg <zackw@panix.com>
16144 * posix/sys/types.h: Don't include sys/sysmacros.h.
16145 * misc/sys/sysmacros.h: Remove the conditional deprecation
16146 warnings for the macros defined by this header.
16148 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16150 * manual/probes.texi: Remove slowexp probes.
16151 * math/Makefile: Remove slowexp.
16152 * sysdeps/generic/math_private.h (__slowexp): Remove.
16153 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
16154 document error bounds.
16155 * sysdeps/i386/fpu/slowexp.c: Remove.
16156 * sysdeps/ia64/fpu/slowexp.c: Remove.
16157 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
16158 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
16159 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
16160 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
16161 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
16162 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
16163 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
16164 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
16165 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
16166 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
16167 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
16169 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
16172 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
16173 * benchtests/pow-inputs: Update comment for slow path cases.
16174 * manual/probes.texi (slowpow_p10): Delete removed probe.
16175 (slowpow_p10): Likewise.
16176 * math/Makefile: Remove halfulp.c and slowpow.c.
16177 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
16178 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
16179 (__halfulp): Remove.
16180 (__slowpow): Remove.
16181 * sysdeps/i386/fpu/halfulp.c: Delete file.
16182 * sysdeps/i386/fpu/slowpow.c: Likewise.
16183 * sysdeps/ia64/fpu/halfulp.c: Likewise.
16184 * sysdeps/ia64/fpu/slowpow.c: Likewise.
16185 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
16186 improve comments and add error analysis.
16187 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
16188 (power1): Remove function:
16189 (log1): Remove error argument, add error analysis.
16190 (my_log2): Remove function.
16191 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
16192 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16193 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
16194 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
16195 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
16196 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
16197 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
16198 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
16199 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
16200 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
16201 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
16202 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16203 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
16204 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16206 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
16208 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
16209 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
16211 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
16214 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
16215 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
16216 and PTRACE_SETHBPREGS.
16218 2018-02-10 Zack Weinberg <zackw@panix.com>
16221 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
16223 * malloc/tst-malloc-stats-cancellation.c: New test case.
16224 * malloc/Makefile: Add new test case.
16226 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
16228 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
16230 2018-02-10 Joseph Myers <joseph@codesourcery.com>
16232 * math/Makefile (libm-narrow-fns): Add add.
16233 (libm-test-funcs-narrow): Likewise.
16234 * math/Versions (GLIBC_2.28): Add narrowing add functions.
16235 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
16236 * math/gen-auto-libm-tests.c (test_functions): Add add.
16237 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
16238 (NARROW_ADD_ROUND_TO_ODD): Likewise.
16239 (NARROW_ADD_TRIVIAL): Likewise.
16240 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
16242 (__daddl): Likewise.
16243 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
16245 (CFLAGS-nldbl-dadd.c): New variable.
16246 (CFLAGS-nldbl-fadd.c): Likewise.
16247 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16249 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
16251 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
16252 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
16253 * math/auto-libm-test-in: Add tests of add.
16254 * math/auto-libm-test-out-narrow-add: New generated file.
16255 * math/libm-test-narrow-add.inc: New file.
16256 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
16257 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
16258 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
16259 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
16260 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
16261 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
16262 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
16263 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
16264 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
16265 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
16266 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
16267 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
16268 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
16269 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
16270 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
16271 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
16272 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
16273 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
16274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16275 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16276 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16277 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16278 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16279 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16280 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16281 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16282 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16283 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16284 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16285 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16286 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16287 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16292 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16293 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16294 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16295 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16296 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16297 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16298 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16299 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16300 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16301 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16303 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
16304 (f128-pairs): New variable.
16305 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
16306 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
16308 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
16309 Also make tests add $(f128-loader-link) to gnulib-tests.
16311 2018-02-09 DJ Delorie <dj@redhat.com>
16314 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
16315 64-bit ELF type for 64-bit ELF objects.
16317 2018-02-09 Joseph Myers <joseph@codesourcery.com>
16319 * math/libm-test-driver.c (snan_tests_arg): New variable.
16320 * math/libm-test-support.h (snan_tests_arg): New declaration.
16321 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
16323 * math/Makefile (test-type-pairs): New variable.
16324 (test-type-pairs-f64xf128-yes): Likewise.
16325 (tests): Add test-narrow-macros.
16326 (libm-test-funcs-narrow): New variable.
16327 (libm-test-c-narrow): Likewise.
16328 (generated): Add $(libm-test-c-narrow).
16329 (libm-tests-base-narrow): New variable.
16330 (libm-tests-narrow): Likewise.
16331 (libm-tests): Add $(libm-tests-narrow).
16332 (libm-tests-for-type): Handle $(libm-tests-narrow).
16333 (libm-test-c-narrow-obj): New variable.
16334 ($(libm-test-c-narrow-obj)): New rule.
16335 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
16336 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
16337 $(o-iterator) to set dependencies and CFLAGS.
16338 * math/gen-auto-libm-tests.c: Document use for narrowing
16340 (output_for_one_input_case): Take argument NARROW.
16341 (generate_output): Likewise. Update call to
16342 output_for_one_input_case.
16343 (main): Take --narrow option. Update call to generate_output.
16344 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
16345 (apply_lit): Update call to _apply_lit.
16346 (apply_arglit): New function.
16347 (parse_args): Handle "a" arguments.
16348 (parse_auto_input): Handle format names using ":".
16349 * math/README.libm-test: Document "a" parameter type.
16350 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
16351 (ARG_TYPE_TRUE_MIN): Likewise.
16352 (ARG_TYPE_MAX): Likwise.
16353 (ARG_MIN_EXP): Likewise.
16354 (ARG_MAX_EXP): Likewise.
16355 (ARG_MANT_DIG): Likewise.
16356 (TEST_COND_arg_ibm128): Likewise.
16357 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
16358 (TEST_COND_arg_fmt): New macro.
16359 (init_max_error): Update prototype.
16360 * math/libm-test-support.c (test_ibm128): New variable.
16361 (init_max_error): Take argument testing_ibm128 and set test_ibm128
16362 instead of using [TEST_COND_ibm128] conditional.
16363 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
16364 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
16365 [TEST_NARROW] (TEST_MSG): New definition.
16366 (arg_plus_zero): New macro.
16367 (arg_minus_zero): Likewise.
16368 (arg_plus_infty): Likewise.
16369 (arg_minus_infty): Likewise.
16370 (arg_qnan_value_pl): Likewise.
16371 (arg_qnan_value): Likewise.
16372 (arg_snan_value_pl): Likewise.
16373 (arg_snan_value): Likewise.
16374 (arg_max_value): Likewise.
16375 (arg_min_value): Likewise.
16376 (arg_min_subnorm_value): Likewise.
16377 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
16378 (RUN_TEST_LOOP_aa_f): New macro.
16379 (TEST_SUFF): New macro.
16380 (TEST_SUFF_STR): Likewise.
16381 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
16382 (TEST_COND_any_ibm128): New macro.
16383 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
16384 this_func. Update call to init_max_error.
16385 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
16386 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
16387 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
16388 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
16389 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
16390 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
16391 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
16392 * math/test-math-scalar.h (TEST_NARROW): Likewise.
16393 * math/test-math-vector.h (TEST_NARROW): Likewise.
16394 * math/test-arg-double.h: New file.
16395 * math/test-arg-float128.h: Likewise.
16396 * math/test-arg-float32x.h: Likewise.
16397 * math/test-arg-float64.h: Likewise.
16398 * math/test-arg-float64x.h: Likewise.
16399 * math/test-arg-ldouble.h: Likewise.
16400 * math/test-math-narrow.h: Likewise.
16401 * math/test-narrow-macros.c: Likewise.
16402 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
16403 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
16404 test-narrow-macros-ldbl-64.
16405 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
16407 * math/bits/mathcalls-narrow.h: New file.
16408 * include/bits/mathcalls-narrow.h: Likewise.
16409 * math/math-narrow.h: Likewise.
16410 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
16411 (__MATHCALL_NARROW_ARGS_2): Likewise.
16412 (__MATHCALL_NARROW_ARGS_3): Likewise.
16413 (__MATHCALL_NARROW_NORMAL): Likewise.
16414 (__MATHCALL_NARROW_REDIR): Likewise.
16415 (__MATHCALL_NARROW): Likewise.
16416 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
16417 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
16419 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
16420 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
16421 (libm-narrow-fns): New variable.
16422 (libm-narrow-types-basic): Likewise.
16423 (libm-narrow-types-ldouble-yes): Likewise.
16424 (libm-narrow-types-float128-yes): Likewise.
16425 (libm-narrow-types-float128-alias-yes): Likewise.
16426 (libm-narrow-types): Likewise.
16427 (libm-routines): Add narrowing functions.
16428 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
16429 (libc_feholdexcept_setroundf128): New macro.
16430 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
16431 * sysdeps/ieee754/float128/float128_private.h: Include
16432 <math/math-narrow.h>.
16433 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
16434 Undefine and redefine.
16435 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
16436 (libm_alias_float_ldouble): Undefine and redefine.
16437 (libm_alias_double_ldouble): Likewise.
16439 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
16441 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
16443 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
16446 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
16448 * manual/creature.texi: Convert references to gcc.info to gcc.
16449 * manual/stdio.texi: Likewise.
16450 * manual/string.texi: Likewise.
16452 2018-02-07 Joseph Myers <joseph@codesourcery.com>
16455 * posix/bits/types.h (__int_least8_t): New typedef.
16456 (__uint_least8_t): Likewise.
16457 (__int_least16_t): Likewise.
16458 (__uint_least16_t): Likewise.
16459 (__int_least32_t): Likewise.
16460 (__uint_least32_t): Likewise.
16461 (__int_least64_t): Likewise.
16462 (__uint_least64_t): Likewise.
16463 * sysdeps/generic/stdint.h (int_least8_t): Define using
16465 (int_least16_t): Define using __int_least16_t.
16466 (int_least32_t): Define using __int_least32_t.
16467 (int_least64_t): Define using __int_least64_t.
16468 (uint_least8_t): Define using __uint_least8_t.
16469 (uint_least16_t): Define using __uint_least16_t.
16470 (uint_least32_t): Define using __uint_least32_t.
16471 (uint_least64_t): Define using __uint_least64_t.
16472 * wcsmbs/uchar.h: Include <bits/types.h>.
16473 (char16_t): Define using __uint_least16_t conditional only on
16475 (char32_t): Define using __uint_least32_t conditional only on
16477 * wcsmbs/test-char-types.c: New file.
16478 * wcsmbs/Makefile (tests): Add test-char-types.
16480 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
16483 2018-02-07 Zack Weinberg <zackw@panix.com>
16485 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
16486 Delete all contents except for definitions of _G_HAVE_MMAP and
16487 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
16488 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
16489 sysdeps/unix/sysv/linux/_G_config.h. Make same content
16492 * libio/libio.h: Don't include bits/_G_config.h here.
16493 Include stddef.h with __need_wchar_t defined. Include
16494 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
16495 Define _IO_iconv_t here, directly.
16496 Don't define _IO_HAVE_ST_BLKSIZE.
16497 * libio/libioP.h: Include _G_config.h here. Move include of
16498 shlib-compat.h up with rest of includes. Simplify conditionals
16499 controlling definition of _IO_JUMPS_OFFSET.
16501 * csu/init.c: Remove always-true #if around entire file.
16502 Don't include stdio.h. Set _IO_stdin_used to hardwired
16503 constant 0x20001, and update commentary.
16504 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
16505 Replace all uses of _G_va_list with __gnuc_va_list.
16506 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
16507 instead of #if _IO_HAVE_ST_BLKSIZE.
16508 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
16509 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
16512 * libio/bits/libio.h: Move back to libio/libio.h and adjust
16513 multiple-include guard to match.
16514 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
16516 Remove preprocessor conditionals that are always true and/or
16517 redundant to other preprocessor conditionals in the same nest.
16518 Include shlib-compat.h unconditionally.
16519 Error out if _LIBC is not defined, or if _ISOMAC is defined,
16520 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
16521 defined after including stdio.h.
16522 Use __BEGIN_DECLS/__END_DECLS.
16524 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
16525 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
16526 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
16528 2018-02-07 Zack Weinberg <zackw@panix.com>
16530 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
16531 New single-type headers split from _G_config.h.
16532 * libio/bits/types/cookie_io_functions_t.h
16533 * libio/bits/types/struct_FILE.h
16534 New single-type headers split from libio.h.
16536 * libio/Makefile: Install the above new headers. Don't install
16537 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
16539 * libio/_G_config.h, libio/libio.h: Delete file.
16541 * libio/bits/libio.h: Remove improper-inclusion guard.
16542 Include stdio.h and don't repeat anything that it does.
16543 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
16544 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
16545 __io_read_fn as cookie_read_function_t,
16546 __io_write_fn as cookie_write_function_t,
16547 __io_seek_fn as cookie_seek_function_t,
16548 __io_close_fn as cookie_close_function_t,
16549 and _IO_cookie_io_functions_t as cookie_io_functions_t.
16550 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
16551 here, in the "compatibility defines" section. Remove an #if 0
16552 block. Use the "body" macros from bits/types/struct_FILE.h to
16553 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
16554 and _IO_ferror_unlocked.
16555 Move prototypes of __uflow and __overflow...
16557 * libio/stdio.h: ...here. Don't include bits/libio.h.
16558 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
16559 directly from stdarg.h. Include bits/types/__fpos_t.h,
16560 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
16561 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
16562 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
16563 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
16564 cookie_io_functions_t, not _IO_cookie_io_functions_t;
16565 __ssize_t, not _IO_ssize_t. Unconditionally define
16566 BUFSIZ as 8192 and EOF as (-1).
16568 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
16569 macros from bits/types/struct_FILE.h instead of _IO_* macros
16570 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
16571 instead of _IO_ssize_t.
16572 * libio/bits/stdio2.h: Similarly.
16574 * libio/iolibio.h: Add multiple-include guard.
16575 Include bits/libio.h after stdio.h.
16576 * libio/libioP.h: Add multiple-include guard.
16577 Include stdio.h and bits/libio.h before iolibio.h.
16579 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
16580 * include/bits/types/cookie_io_functions_t.h
16581 * include/bits/types/struct_FILE.h: New wrappers.
16583 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
16584 Get definitions of _G_fpos_t and _G_fpos64_t from
16585 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
16586 respectively. Remove improper-inclusion guards.
16588 * conform/data/stdio.h-data: Update expectations of va_list.
16589 * scripts/check-installed-headers.sh: Remove special case for
16590 libio.h and _G_config.h.
16592 2018-02-07 Joseph Myers <joseph@codesourcery.com>
16596 * include/sys/sysmacros.h [!_ISOMAC]
16597 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
16598 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
16599 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
16600 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
16602 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
16603 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
16605 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
16606 Undefine and redefine to add use __gnu_dev_ prefix.
16607 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
16609 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
16610 and define as hidden inline function.
16611 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
16613 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
16615 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
16616 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
16617 (gnu_dev_minor): Likewise.
16618 (gnu_dev_makedev): Likewise.
16619 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
16621 * posix/wordexp.c (exec_comm_child): Likewise.
16622 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
16623 instead of minor and __gnu_dev_major instead of major.
16624 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
16625 __gnu_dev_major instead of major.
16626 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
16627 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
16628 instead of gnu_dev_minor.
16629 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
16630 (SLAVE_P): Likewise.
16631 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
16632 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
16636 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
16638 * locale/weightwc.h (findidx): Likewise.
16640 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
16642 * manual/probes.texi (slowlog): Delete documentation of removed probe.
16643 (slowlog_inexact): Likewise
16644 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
16645 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
16647 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
16650 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
16651 missing second underscore to parameter name.
16653 2018-02-06 Joseph Myers <joseph@codesourcery.com>
16659 * bits/byteswap.h: Update file comment. Do not include
16660 <bits/byteswap-16.h>.
16661 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
16663 (__bswap_16): Define as inline function.
16664 (__bswap_constant_32): Reformat definition.
16665 (__bswap_32): Always define as inline function, not macro, using
16666 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
16667 otherwise __bswap_constant_32.
16668 (__bswap_constant_64): Reformat definition. Do not use
16669 __extension__ here.
16670 (__bswap_64): Always define as inline function, not macro. Use
16671 __extension__ on function definition. Use __builtin_bswap64 if
16672 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
16673 * string/test-endian-file-scope.c: New file.
16674 * string/test-endian-sign-conversion.c: Likewise.
16675 * string/Makefile (headers): Remove bits/byteswap-16.h.
16676 (tests): Add test-endian-file-scope and
16677 test-endian-sign-conversion.
16678 (CFLAGS-test-endian-sign-conversion.c): New variable.
16679 * bits/byteswap-16.h: Remove file.
16680 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
16681 * sysdeps/ia64/bits/byteswap.h: Likewise.
16682 * sysdeps/m68k/bits/byteswap.h: Likewise.
16683 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16684 * sysdeps/s390/bits/byteswap.h: Likewise.
16685 * sysdeps/tile/bits/byteswap.h: Likewise.
16686 * sysdeps/x86/bits/byteswap-16.h: Likewise.
16687 * sysdeps/x86/bits/byteswap.h: Likewise.
16690 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
16691 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
16692 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
16693 199901L] (__restrict): Define to restrict.
16696 * string/testcopy.c: Include <support/support.h>. Do not include
16697 <malloc.h>. Use <support/test-driver.c>.
16698 (main): Rename to do_test. Make static. Use xmalloc instead of
16702 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
16703 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
16704 (SSIZE_MAX): Define to INT_MAX.
16705 * posix/test-ssize-max.c: New file.
16706 * posix/Makefile (tests): Add test-ssize-max.
16709 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
16710 <support/support.h>. Do not include <malloc.h>.
16711 (query_auxv): Use xmalloc instead of malloc.
16714 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
16715 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
16718 2018-02-06 Florian Weimer <fweimer@redhat.com>
16721 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16722 Use scratch_buffer instead of extend_alloca.
16724 2018-02-06 Zack Weinberg <zackw@panix.com>
16726 * libio/stdio.h: Don't define getc or putc as macros.
16727 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
16728 not _IO_getc and _IO_putc.
16730 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
16731 * stdio-common/tstgetln.c: Don't redefine ssize_t.
16733 2018-02-06 Joseph Myers <joseph@codesourcery.com>
16735 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
16736 (TCP_FASTOPEN_NO_COOKIE): Likewise.
16738 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
16741 * elf/elf.h (NT_PRFPREG): New macro.
16742 (NT_S390_VXRS_LOW): Likewise.
16743 (NT_S390_VXRS_HIGH): Likewise.
16744 (NT_S390_GS_CB): Likewise.
16745 (NT_S390_GS_BC): Likewise.
16746 (NT_S390_RI_CB): Likewise.
16748 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16749 (MAP_SYNC): New macro.
16750 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
16752 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16753 (MAP_SYNC): Likewise.
16754 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16755 (MAP_SYNC): Likewise.
16756 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16757 (MAP_SYNC): Likewise.
16758 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16759 (MAP_SYNC): Likewise.
16760 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16761 (MAP_SYNC): Likewise.
16762 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16763 (MAP_SYNC): Likewise.
16764 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
16766 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
16769 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
16770 (MAP_SHARED_VALIDATE): New macro.
16771 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16772 (MAP_SHARED_VALIDATE): Likewise.
16774 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16776 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
16777 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
16778 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
16780 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16782 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
16783 (DT_NUM): Updated to 35.
16785 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16787 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
16788 __builtin_expect with __glibc_likely and __glibc_unlikely.
16789 (elf_machine_rela): Likewise.
16790 (elf_machine_lazy_rel): Likewise.
16792 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16794 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
16795 __builtin_expect with __glibc_likely and __glibc_unlikely.
16796 (elf_machine_lazy_rel): Likewise.
16798 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16801 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
16803 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
16805 2018-02-05 Andreas Schwab <schwab@suse.de>
16808 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
16811 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16813 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
16814 not check against PTHREAD_STACK_MIN.
16816 2018-02-02 Sean McKean <smckean83@gmail.com>
16819 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
16821 2018-02-02 Florian Weimer <fweimer@redhat.com>
16824 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
16825 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
16826 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
16827 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
16828 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
16829 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
16830 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
16831 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
16832 * manual/llio.texi (Scatter-Gather): Mention offset -1.
16833 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
16834 * misc/tst-preadvwritev2.c (do_test): Call it.
16835 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
16837 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
16839 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
16841 * benchtests/bench-memcmp.c: Print json instead of plain text.
16843 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
16846 2018-02-01 Joseph Myers <joseph@codesourcery.com>
16848 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16850 (s390_sthyi): New syscall.
16852 * sysdeps/generic/ldbl-classify-compat.h: New file.
16853 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
16854 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
16855 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
16856 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
16857 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
16858 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
16859 * sysdeps/ieee754/dbl-64/s_finite.c: Include
16860 <ldbl-classify-compat.h>.
16861 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16862 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
16863 <ldbl-classify-compat.h>.
16864 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16865 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
16866 <ldbl-classify-compat.h>.
16867 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16868 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
16869 <ldbl-classify-compat.h>.
16870 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16871 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
16872 <ldbl-classify-compat.h>.
16873 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16874 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
16875 <ldbl-classify-compat.h>.
16876 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16877 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
16878 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
16879 * sysdeps/m68k/coldfire/math_private.h: Remove file.
16880 * sysdeps/microblaze/math_private.h: Likewise.
16881 * sysdeps/nios2/math_private.h: Likewise.
16882 * sysdeps/sh/math_private.h: Likewise.
16884 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
16885 * sysdeps/m68k/coldfire/math_private.h: ... here.
16886 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
16887 * sysdeps/tile/math_private.h: Likewise.
16888 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
16890 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
16893 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
16895 (libc_fetestexcept): Likewise.
16896 (libc_feupdateenv_test): Likewise.
16897 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
16898 (libc_fetestexcept): Likewise.
16899 (libc_feupdateenv_test): Likewise.
16900 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
16901 (libc_fetestexcept): Likewise.
16902 (libc_feupdateenv_test): Likewise.
16903 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
16904 (libc_fetestexcept): Likewise.
16905 (libc_feupdateenv_test): Likewise.
16907 * sysdeps/generic/math_private.h
16908 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
16909 New inline function.
16910 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
16913 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
16914 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
16915 * sysdeps/generic/math_private.h
16916 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
16918 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
16920 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
16922 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
16924 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
16926 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
16928 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
16929 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
16930 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
16931 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
16932 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
16933 (__fegetenv): Likewise.
16934 (fesetenv): Likewise.
16935 (__fesetenv): Likewise.
16936 (feupdateenv): Likewise.
16937 (__feupdateenv): Likewise.
16938 (fegetround): Likewise.
16939 (__fegetround): Likewise.
16940 (fesetround): Likewise.
16941 (__fesetround): Likewise.
16943 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
16944 (feraiseexcept): New macro.
16945 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
16946 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
16948 (__feraiseexcept): Likewise.
16949 (feclearexcept): Likewise.
16950 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
16951 (__feraiseexcept): Likewise.
16952 (feclearexcept): Likewise.
16953 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
16954 (__feraiseexcept): Likewise.
16955 (feclearexcept): Likewise.
16956 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
16957 (__feraiseexcept): Likewise.
16958 (feclearexcept): Likewise.
16959 (fetestexcept): Likewise.
16961 * sysdeps/m68k/coldfire/math-tests.h: New file.
16963 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
16964 * sysdeps/m68k/bits/fenv.h: ... here.
16965 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
16967 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
16969 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
16971 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
16973 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
16975 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
16977 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
16978 (__FE_UNDEFINED): New enum constant.
16979 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
16981 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
16983 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
16985 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
16986 to match generic bits/fenv.h.
16987 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
16990 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
16992 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
16993 * soft-fp/half.h (union _FP_UNION_H): Likewise.
16994 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
16995 * soft-fp/single.h (union _FP_UNION_S): Likewise.
16997 2018-02-01 Carlos O'Donell <carlos@redhat.com>
16998 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
16999 Joseph Myers <joseph@codesourcery.com>
17002 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
17003 (__log1p): Disable -Wmaybe-uninitialized for -Os around
17004 computation using c.
17005 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
17006 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
17007 computation using c.
17009 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
17011 * version.h (RELEASE): Set to "development".
17012 (VERSION): Set to "2.27.9000".
17013 * NEWS (2.28): New section.
17015 * version.h (RELEASE): Set to "stable".
17016 (VERSION): Set to "2.27".
17017 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
17019 * NEWS: Add the list of bugs fixed in 2.27.
17021 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17023 * stdlib/test-atexit-race-common.c (do_test): Check stack size
17024 against PTHREAD_STACK_MIN.
17026 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
17028 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
17030 (Rafal Luzynski, Andreas Schwab): Update.
17032 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
17035 * NEWS: List the languages which actually use the alternative
17036 months feature in this release. Also explain that "alt_mon" and
17037 "ab_alt_mon" are optional.
17039 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
17042 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
17044 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
17046 * manual/install.texi (Tools for Compilation): Update the newest
17047 versions of gcc, binutils, texinfo, gawk, bison, and sed.
17048 * INSTALL: Regenerated.
17050 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17052 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
17053 instead of __builtin_expect.
17055 2018-01-30 Florian Weimer <fweimer@redhat.com>
17057 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
17059 * nss/tst-nss-getpwent.c (do_test): Likewise.
17061 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
17064 * localedata/locales/hr_HR (mon): Rename to...
17066 (mon): Import from CLDR (genitive case).
17067 (d_t_fmt): Update the comment.
17069 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
17071 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
17072 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
17073 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
17075 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17077 * mach/Versions: Fix version when __mach_host_self_ was added.
17078 * hurd/Versions: Fix version when _hurd_exec_paths was added.
17079 * sysdeps/mach/hurd/i386/ld.abilist: New file.
17080 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
17081 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
17082 * sysdeps/mach/hurd/i386/libc.abilist: New file.
17083 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
17084 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
17085 * sysdeps/mach/hurd/i386/libm.abilist: New file.
17086 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
17087 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
17088 * sysdeps/mach/hurd/i386/librt.abilist: New file.
17089 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
17090 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
17091 || to respect codestyle.
17092 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
17093 (do_test_bz20181): Rename accordingly.
17094 * malloc/malloc.c: Include <assert.h>.
17095 (assert): Do not define.
17096 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
17097 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
17098 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
17099 * sysdeps/mach/hurd/hp-timing.h: New file.
17100 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
17102 2018-01-29 Darius Rad <darius@bluespec.com>
17104 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
17106 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
17108 * sysdeps/init_array/crti.S (.section .init_array): Add
17109 PREINIT_FUNCTION when defined.
17110 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
17111 * config.h.in: Regenerate.
17112 * manual/platform.texi: Add RISC-V documenation for
17113 __riscv_flush_icache.
17114 * sysdeps/riscv/__longjmp.S: New file.
17115 * sysdeps/riscv/backtrace.c: Likewise.
17116 * sysdeps/riscv/bits/endian.h: Likewise.
17117 * sysdeps/riscv/bits/setjmp.h: Likewise.
17118 * sysdeps/riscv/bits/wordsize.h: Likewise.
17119 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
17120 * sysdeps/riscv/bsd-setjmp.c: Likewise.
17121 * sysdeps/riscv/dl-trampoline.S: Likewise.
17122 * sysdeps/riscv/gccframe.h: Likewise.
17123 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
17124 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
17125 * sysdeps/riscv/machine-gmon.h: Likewise.
17126 * sysdeps/riscv/memusage.h: Likewise.
17127 * sysdeps/riscv/setjmp.S: Likewise.
17128 * sysdeps/riscv/sys/asm.h: Likewise.
17129 * sysdeps/riscv/tls-macros.h: Likewise.
17130 * sysdeps/riscv/dl-tls.h: New file.
17131 * sysdeps/riscv/libc-tls.c: Likewise.
17132 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
17133 * sysdeps/riscv/nptl/tls.h: Likewise.
17134 * sysdeps/riscv/stackinfo.h: Likewise.
17135 * sysdeps/riscv/bits/fenv.h: New file.
17136 * sysdeps/riscv/e_sqrtl.c: Likewise.
17137 * sysdeps/riscv/fpu_control.h: Likewise.
17138 * sysdeps/riscv/math-tests.h: Likewise.
17139 * sysdeps/riscv/nofpu/Implies: Likewise.
17140 * sysdeps/riscv/sfp-machine.h: Likewise.
17141 * sysdeps/riscv/tininess.h: Likewise.
17142 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
17143 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
17144 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
17145 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
17146 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
17147 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
17148 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
17149 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
17150 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
17151 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
17152 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
17153 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
17154 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
17155 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
17156 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
17157 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
17158 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
17159 * sysdeps/riscv/rvd/s_finite.c: Likewise.
17160 * sysdeps/riscv/rvd/s_fma.c: Likewise.
17161 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
17162 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
17163 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
17164 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
17165 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
17166 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
17167 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
17168 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
17169 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
17170 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
17171 * sysdeps/riscv/rvf/fegetround.c: Likewise.
17172 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
17173 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
17174 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
17175 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
17176 * sysdeps/riscv/rvf/fesetround.c: Likewise.
17177 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
17178 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
17179 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
17180 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
17181 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
17182 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
17183 * sysdeps/riscv/rvf/math_private.h: Likewise.
17184 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
17185 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
17186 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
17187 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
17188 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
17189 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
17190 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
17191 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
17192 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
17193 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
17194 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
17195 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
17196 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
17197 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
17198 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
17199 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
17200 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
17201 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
17202 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
17203 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
17204 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
17205 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
17206 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
17207 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
17208 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
17209 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
17210 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
17211 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
17212 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
17213 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
17214 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
17215 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
17216 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
17217 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
17218 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
17219 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
17220 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
17221 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
17222 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
17223 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
17224 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
17225 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
17226 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
17227 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
17228 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
17229 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
17230 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
17231 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
17232 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
17233 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
17234 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
17235 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
17236 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
17237 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
17238 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
17239 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
17240 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
17241 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
17242 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
17243 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
17244 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
17245 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
17246 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
17247 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
17248 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17249 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
17250 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
17251 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
17252 * sysdeps/riscv/Implies: New file.
17253 * sysdeps/riscv/Makefile: Likewise.
17254 * sysdeps/riscv/configure: Likewise.
17255 * sysdeps/riscv/configure.ac: Likewise.
17256 * sysdeps/riscv/nptl/Makefile: Likewise.
17257 * sysdeps/riscv/preconfigure: Likewise.
17258 * sysdeps/riscv/rv64/Implies-after: Likewise.
17259 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
17260 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
17261 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
17262 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
17263 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
17264 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
17265 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
17266 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
17267 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
17268 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
17269 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
17270 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
17271 (Config): Likewise.
17273 2018-01-29 Florian Weimer <fweimer@redhat.com>
17276 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
17277 libnsl_hidden_proto.
17278 * include/rpcsvc/yp.h (yp_xdrall): Declare with
17279 libnsl_hidden_proto.
17280 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
17281 * nis/Makefile (libnsl-routines): Add nss-default only for
17282 build-obsolete-nsl.
17283 * nis/nis_defaults.c (__nis_default_ttl): Add
17284 libnsl_hidden_nolink_def.
17285 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
17287 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
17288 * nis/ypclnt.c (yp_maplist): Likewise.
17290 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
17292 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17293 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
17295 2018-01-29 Joseph Myers <joseph@codesourcery.com>
17297 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
17298 clean -dxfq for git updates when replacing sources.
17300 * scripts/build-many-glibcs.py (Config.build_gcc): Use
17301 --disable-libcilkrts unconditionally, not just for the final GCC
17304 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
17307 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17310 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
17313 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17316 * localedata/locales/be_BY (mon): Rename to...
17317 (alt_mon): This, then synchronize with CLDR (nominative case).
17318 (abmon): Rename to...
17319 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
17320 (mon): Import from CLDR (genitive case).
17322 * localedata/locales/be_BY@latin (mon): Rename to...
17324 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
17326 * localedata/locales/be_BY@latin (lang_name): Reworded to
17327 "biełaruskaja mova".
17329 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17332 * localedata/locales/el_CY (mon): Renamed to...
17334 (mon): Import from CLDR (genitive case).
17335 * localedata/locales/el_GR: Likewise.
17337 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17340 * localedata/locales/ru_RU (mon): Rename to...
17342 (abmon): Rename to...
17343 (ab_alt_mon): This.
17344 (mon): Import from CLDR (genitive case).
17345 (abmon): Copy from the old content except the 5th month which is
17346 now in the genitive case, even when abbreviated.
17347 * localedata/locales/ru_UA: Likewise.
17348 * time/tst-strptime.c (day_tests): Add an actual example of
17349 a difference between %b and %Ob in Russian.
17351 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17353 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
17354 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
17356 * resolv/res-close.c: Include <stdlib.h>.
17357 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
17358 <sys/wait.h>, <time.h>, <sys/uio.h>.
17359 (NOT_CANCEL_H): Add inclusion guard.
17360 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
17361 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
17362 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
17364 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
17365 vm_address_t * to ElfW(Addr) * for dl_main parameter.
17366 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
17368 * sysdeps/pthread/timer_create.c (timer_create): Do not use
17369 timer_ptr2id to cast struct timer_node * to void *.
17370 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
17371 --disable-libcilkrts to gcc configure.
17372 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
17373 and make them the default for now.
17374 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
17375 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
17376 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
17377 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
17378 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
17380 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
17381 __task_terminate would ever return successfully.
17382 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
17384 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
17385 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
17386 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
17387 critical section to make code simpler and avoid warning.
17388 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
17389 critical section to make code simpler and avoid warning.
17390 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
17391 const char * instead of char *.
17392 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
17393 __hurd_file_name_split, hurd_file_name_split,
17394 __hurd_directory_name_split, hurd_directory_name_split,
17395 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
17396 hurd_file_name_path_lookup): Make lookup function parameter take a
17397 const char *name instead of char *name.
17398 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
17399 __hurd_directory_name_split): Likewise.
17400 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
17401 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
17402 * sysdeps/mach/hurd/check_native.c: New file.
17403 * sysdeps/mach/hurd/check_pf.c: New file.
17404 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
17405 (__freeifaddrs): Define macro to freeifaddrs.
17406 * sysdeps/mach/hurd/libhurduser.abilist: New file.
17407 * sysdeps/mach/libmachuser.abilist: New file.
17408 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
17409 (do_test_bz20181): Rename accordingly.
17410 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
17411 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
17413 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
17414 version only if __USE_EXTERN_INLINES is defined.
17415 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
17416 __hurd_sockfail): Likewise.
17417 (_hurd_fd_get): Always declare functions, and provide inline versions
17418 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
17419 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
17420 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
17421 _hurd_port_set): Always declare functions, and provide inline versions
17422 only if __USE_EXTERN_INLINES and _LIBC are defined and
17424 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
17425 _hurd_critical_section_unlock): Likewise.
17426 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
17427 * __hurd_threadvar_location): Likewise.
17428 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
17429 _hurd_userlink_clear): Likewise.
17430 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
17431 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
17432 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
17433 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
17434 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
17435 __spin_lock_locked): Likewise.
17436 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
17437 __spin_lock_locked): Likewise.
17438 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
17439 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
17440 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
17441 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
17442 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
17443 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
17444 _POSIX_NO_TRUNC): Define to 0.
17445 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
17446 check size against PTHREAD_STACK_MIN.
17447 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
17448 IS_IN(libpthread)]: Include <sigsetops.h>.
17449 * mach/Makefile (user-interfaces): Add mach/gnumach.
17450 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
17451 * sysdeps/mach/configure (mach_interface_list): Regenerate.
17452 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
17453 instead of invalid -1.
17454 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
17455 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
17456 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
17459 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
17461 * hurd/fcntl-internal.h: New file.
17463 2018-01-27 James Clarke <jrtc27@jrtc27.com>
17465 * sysdeps/hppa/fpu/libm-test-ulps: Update.
17467 * sysdeps/alpha/fpu/libm-test-ulps: Update.
17469 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
17472 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
17473 Build only shared objects.
17475 2018-01-26 Carlos O'Donell <carlos@redhat.com>
17477 * README: Update for hppa.
17479 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17481 * sysdeps/sparc/fpu/libm-test-ulps: Update
17482 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
17484 2018-01-26 Carlos O'Donell <carlos@redhat.com>
17488 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17491 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17492 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
17493 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17494 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
17497 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17500 * bits/types/__cancel_jmp_buf_tag.h: New file.
17501 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
17502 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
17503 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
17504 * nptl/Makefile (headers): Add
17505 bits/types/__cancel_jmp_buf_tag.h.
17506 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
17507 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
17508 * sysdeps/nptl/pthread.h: Include
17509 <bits/types/__cancel_jmp_buf_tag.h>.
17510 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
17512 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
17514 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
17517 * localedata/locales/uk_UA (mon): Renamed to...
17519 (alt_digits): "0" removed and then renamed to...
17521 (date_fmt): Definition changed not to use the alternative
17524 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
17526 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
17527 FLAG_RISCV_FLOAT_ABI_DOUBLE.
17528 * elf/elf.h (EF_RISCV_RVC): New define.
17529 (EF_RISCV_FLOAT_ABI): Likewise.
17530 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
17531 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
17532 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17533 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
17534 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
17536 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
17538 2018-01-25 Andreas Schwab <schwab@suse.de>
17540 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
17542 * sysdeps/gnu/configure: Regenerate.
17543 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
17544 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17546 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
17547 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
17548 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
17549 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
17550 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
17552 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
17554 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
17555 URL, and run autoconf, make it the default for now.
17557 2018-01-24 Joseph Myers <joseph@codesourcery.com>
17559 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17560 soft-float ColdFire configuration.
17562 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
17563 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
17564 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
17566 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
17569 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
17571 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
17573 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
17576 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
17577 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
17578 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
17581 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
17584 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
17585 Rename to __reserved and add comment.
17586 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
17587 Rename to __reserved.
17589 2018-01-24 Joseph Myers <joseph@codesourcery.com>
17591 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17592 i686-gnu configurations.
17593 (Context.run_builds): Include mig, gnumach and hurd in components
17595 (Context.checkout): Add mig, gnumach and hurd to components.
17596 (Context.checkout_tar): Add URL mappings for mig, gnumach and
17598 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
17599 (Config.build): Install gnumach headers, build mig and install
17600 hurd headers for 'gnu' OS.
17601 (Config.install_gnumach_headers): New function.
17602 (Config.install_hurd_headers): Likewise.
17603 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
17604 when building for 'gnu' OS.
17606 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
17608 * manual/tunables.texi (Hardware Capability Tunables): Fix
17611 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
17613 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
17614 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
17615 (ALTMON_11, ALTMON_12): Improve documentation.
17616 * manual/time.texi (strftime): Likewise.
17618 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17621 * localedata/locales/pl_PL: Alternative month names added,
17622 primary month names are genitive now.
17623 * time/tst-strptime.c (day_tests): Actually use a genitive case
17624 of a month name in Polish language.
17626 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17629 * manual/locale.texi: Document ALTMON_1..12 constants for
17630 nl_langinfo. Specify when to use ALTMON instead of MON.
17631 * manual/time.texi (strftime, strptime): Document GNU extension
17632 permitting O modifier with %B and %b. Specify when to use
17635 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17638 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
17639 names, define them as the same as abbreviated month names explicitly.
17640 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
17641 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
17642 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
17643 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
17644 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
17645 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
17646 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
17647 _NL_WABALTMON_12): New enum constants.
17648 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
17649 wab_alt_mon, and ab_alt_mon_defined members.
17650 (time_output): Output ab_alt_mon and wab_alt_mon members.
17651 (time_read): Read them, initialize them as copies of abmon and wabmon
17652 respectively if they are missing, initialize ab_alt_mon_defined.
17653 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
17654 * locale/programs/locfile-kw.h: Regenerate.
17655 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
17656 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
17658 * time/strftime_l.c (a_altmonth, aam_len): New macros.
17659 [!COMPILE_WIDE] (ABALTMON_1): New macro.
17660 (__strftime_internal): Handle %Ob and %Oh formats.
17661 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
17662 (__strptime_internal): Handle %Ob and %Oh formats.
17663 * time/tst-strptime.c (day_tests): Add more tests to parse different
17664 forms of month names including the new %Ob format specifier.
17666 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
17669 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
17670 define them as the same as primary full month names explicitly.
17671 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
17672 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
17673 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
17674 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
17675 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
17676 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
17677 _NL_WALTMON_12): New enum constants.
17678 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
17679 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
17681 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
17682 walt_mon, and alt_mon_defined members.
17683 (time_output): Output alt_mon and walt_mon members.
17684 (time_read): Read them, initialize them as copies of mon and wmon
17685 respectively if they are missing, initialize alt_mon_defined.
17686 * locale/programs/locfile-kw.gperf (alt_mon): Define.
17687 * locale/programs/locfile-kw.h: Regenerate.
17688 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
17689 * localedata/tst-langinfo.c (map): Add tests for the new constants
17690 ALTMON_1 .. ALTMON_12.
17691 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
17693 * time/strftime_l.c (f_altmonth): New macro.
17694 (__strftime_internal): Handle %OB format.
17695 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
17696 (__strptime_internal): Handle %OB format.
17697 * time/tst-strptime.c (day_tests): Add tests to parse different forms
17698 of month names including the new %OB format specifier.
17700 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17703 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
17704 from ABORT_TRANSACTION.
17705 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
17706 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
17707 ABORT_TRANSACTION_IMPL): Likewise.
17708 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
17709 Linux code, but remove the code that aborts transactions.
17711 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
17713 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
17715 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
17717 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
17718 in date: "2004-14-09" should be "2004-09-14".
17719 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
17720 "2003-15-09" should be "2003-09-15".
17722 2018-01-18 Arjun Shankar <arjun@redhat.com>
17728 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
17730 (_int_memalign): check for integer overflow before calling
17732 * malloc/tst-malloc-too-large.c: New test.
17733 * malloc/Makefile: Add tst-malloc-too-large.
17735 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
17737 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
17738 in date: "2017-24-07" should be "2017-07-24".
17739 * localedata/locales/mai_IN: Likewise.
17740 * localedata/locales/mai_NP: Likewise.
17742 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
17744 * po/ru.po: Update translations.
17746 2018-01-17 Joseph Myers <joseph@codesourcery.com>
17749 * sysdeps/hppa/backtrace.c: New file.
17751 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
17754 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
17755 align La_x86_64_retval to VEC_SIZE.
17757 2018-01-16 Joseph Myers <joseph@codesourcery.com>
17759 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
17760 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
17762 2018-01-16 Florian Weimer <fweimer@redhat.com>
17764 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
17765 Move tst-thread-exit-clobber ...
17766 [$(CXX)] (tests-unsupported): ... to here.
17768 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17770 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
17771 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
17772 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17773 (_dl_aarch64_cap_flags): Update.
17774 (_DL_HWCAP_COUNT): Update.
17776 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17778 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
17779 (_DL_HWCAP_LAST): Remove.
17780 (_DL_HWCAP_COUNT): Move to ...
17781 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17782 (_DL_HWCAP_COUNT): ... here.
17784 2018-01-16 Florian Weimer <fweimer@redhat.com>
17786 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
17787 mode with GNU extensions.
17789 2018-01-15 Alan Hayward <alan.hayward@arm.com>
17791 * elf/elf.h (NT_ARM_SVE): Define.
17793 2018-01-15 Florian Weimer <fweimer@redhat.com>
17796 * nptl/tst-minstack-throw.cc: New file.
17797 * nptl/Makefile (tests): Add tst-minstack-throw.
17798 (LDLIBS-tst-minstack-throw): Link with libstdc++.
17799 [!CXX] (tests-unsupported): Add tst-minstack-throw.
17801 2018-01-15 Joseph Myers <joseph@codesourcery.com>
17803 * scripts/build-many-glibcs.py (Context.checkout): Default
17804 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
17807 2018-01-13 Carlos O'Donell <carlos@redhat.com>
17810 * elf/elf.h (DF_1_STUB): Define.
17811 (DF_1_PIE): Define.
17813 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17816 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
17817 Do not add 0.5 to integer or out-of-range arguments.
17819 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17821 * po/bg.po: Update translations.
17822 * po/cs.po: Likewise.
17823 * po/de.po: Likewise.
17824 * po/ko.po: Likewise.
17825 * po/pl.po: Likewise.
17826 * po/sv.po: Likewise.
17827 * po/uk.po: Likewise.
17828 * po/vi.po: Likewise.
17830 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17832 * aarch64/start.S (_start): Use __wrap_main.
17833 (__wrap_main): New local symbol.
17835 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17839 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
17840 generic_getcwd if the path returned by getcwd syscall is not absolute.
17841 * io/tst-getcwd-abspath.c: New test.
17842 * io/Makefile (tests): Add tst-getcwd-abspath.
17844 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
17846 * malloc/malloc.c (malloc_consolidate): Add size check.
17848 2018-01-12 Florian Weimer <fweimer@redhat.com>
17850 * support/write_message.c (write_message): Preserve errno.
17851 * support/check.c (print_failure): Likewise.
17852 * support/support_test_verify_impl.c (support_test_verify_impl):
17854 * support/support_test_compare_failure.c
17855 (support_test_compare_failure): Likewise.
17857 2018-01-12 Florian Weimer <fweimer@redhat.com>
17860 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
17861 Prevent installation of libnsl.so.
17862 (libnsl-inhibit-o): Do not build (or install) static libraries.
17864 2018-01-12 Egmont Koblinger <egmont@gmail.com>
17867 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
17868 before the day number which may produce a double space.
17869 (date_fmt): Likewise.
17871 2018-01-12 Joseph Myers <joseph@codesourcery.com>
17873 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
17874 instead of fegetenv.
17876 2018-01-11 Joseph Myers <joseph@codesourcery.com>
17879 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
17880 comment to say exceptions are discarded.
17881 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
17883 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
17886 2018-01-11 Florian Weimer <fweimer@redhat.com>
17888 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
17891 2018-01-11 Florian Weimer <fweimer@redhat.com>
17894 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
17895 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
17897 2018-01-10 Joseph Myers <joseph@codesourcery.com>
17900 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
17901 negative arguments in test for NaN or infinity argument.
17903 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
17905 * po/libc.pot: Regenerate.
17907 2018-01-10 Florian Weimer <fweimer@redhat.com>
17910 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
17911 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
17913 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17915 * hurd/hurd/fd.h: Include <fcntl.h>
17916 (__hurd_at_flags): New function.
17917 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
17918 with call to __hurd_at_flags.
17919 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
17920 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
17922 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
17923 (__access_noerrno): Use __faccessat_common instead of access_common.
17924 (__access): Likewise.
17925 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
17926 with a call to __faccessat.
17927 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
17928 (__faccessat_common): ... this. Move implementation of __access into it when
17929 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
17930 reauthenticate_cwdir_at helper to implement AT mechanism.
17931 (__faccessat_noerrno): New function, just calls __faccessat_common.
17932 (__faccessat): New function, just calls __faccessat_common.
17933 (faccessat): Define weak alias.
17935 2018-01-10 Joseph Myers <joseph@codesourcery.com>
17938 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17939 (CFLAGS-s_fmaxmagl.c): New variable.
17940 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
17943 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
17944 long int for arguments of possibly overflowing addition or
17946 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17948 2018-01-09 Joseph Myers <joseph@codesourcery.com>
17951 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17952 (CFLAGS-e_remainderl.c): New variable.
17955 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
17957 (CFLAGS-s_cacoshl.c): Likewise.
17958 (CFLAGS-s_casinhl.c): Likewise.
17959 (CFLAGS-s_catanl.c): Likewise.
17960 (CFLAGS-s_catanhl.c): Likewise.
17961 (CFLAGS-s_cexpl.c): Likewise.
17962 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
17963 (CFLAGS-s_csinhl.c): Likewise.
17964 (CFLAGS-s_clogl.c): Likewise.
17965 (CFLAGS-s_clog10l.c): Likewise.
17966 (CFLAGS-s_csinl.c): Likewise.
17967 (CFLAGS-s_csqrtl.c): Likewise.
17969 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
17970 2017-01-09 Svante Signell <svante.signell@gmail.com>
17972 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
17973 (_hurd_exec_paths): New function.
17974 * hurd/hurd.h (_hurd_exec): Deprecate function.
17975 (_hurd_exec_paths): Declare function.
17976 * hurd/Versions: Export _hurd_exec_paths.
17977 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
17978 (__execve): Use __getcwd to build absolute path, and use
17979 _hurd_exec_paths instead of _hurd_exec.
17980 * sysdeps/mach/hurd/spawni.c: Likewise.
17981 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
17984 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
17986 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
17987 test instead of failing in case of ENOENT returned by posix_openpt.
17989 2018-01-08 Florian Weimer <fweimer@redhat.com>
17991 resolv: Support binary labels in test framework.
17992 * support/resolv_test.c (struct to_be_freed): Remove.
17993 (struct compressed_name): New.
17994 (allocate_compressed_name, ascii_tolower)
17995 (compare_compressed_name): New functions.
17996 (struct resolv_response_builder): Update type of
17997 compression_offsets for use with tsearch. Rempve to_be_freed.
17998 (response_push_pointer_to_free): Remove function.
17999 (resolv_response_add_name): Rewrite using struct compressed_name
18000 and tsearch instead of hsearch_r.
18001 (response_builder_allocate): Remove initialization of
18002 compression_offsets.
18003 (response_builder_free): Update for removal of to_be_freed. Use
18004 tdestroy instead of hdestroy_r.
18005 * resolv/Makefile (tests): Add tst-resolv-binary.
18006 (tst-resolv-binary): Link with -lresolv -lpthread.
18008 2018-01-08 Florian Weimer <fweimer@redhat.com>
18010 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
18011 time. Pass positive flag instead of negative flag to
18012 support_test_compare_failure.
18013 (support_test_compare_failure): Change negative parameter to
18015 * support/support_test_compare_failure.c (report)
18016 (support_test_compare_failure): Likewise.
18017 * support/tst-test_compare.c (return_ssize_t, return_int): New.
18018 (do_test): Check int/size_t, ssize_t/size_t comparisons.
18020 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
18023 * nptl/descr.h (stackblock, stackblock_size): Update comments.
18024 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
18025 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
18027 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
18029 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
18031 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18032 Add s_sincosf-sse2 and s_sincosf-fma.
18033 (CFLAGS-s_sincosf-fma.c): New.
18034 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
18035 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
18036 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
18037 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
18038 __sincosf is defined.
18040 2018-01-08 Florian Weimer <fweimer@redhat.com>
18042 * nptl/tst-thread-exit-clobber.cc: New file.
18043 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
18045 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
18046 (tests): Add tst-thread-exit-clobber.
18047 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
18049 2018-01-08 Florian Weimer <fweimer@redhat.com>
18051 * support/check.h (support_static_assert): Define.
18052 (TEST_COMPARE): Use it.
18054 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
18056 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
18057 [!__RLIM_T_MATCHES_RLIM64_T]
18058 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
18059 __getrlimit64. Add libc_hidden_weak.
18061 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
18063 * elf/elf.h (R_RISCV_NONE): New define.
18064 (R_RISCV_32): Likewise.
18065 (R_RISCV_64): Likewise.
18066 (R_RISCV_RELATIVE): Likewise.
18067 (R_RISCV_COPY): Likewise.
18068 (R_RISCV_JUMP_SLOT): Likewise.
18069 (R_RISCV_TLS_DTPMOD32): Likewise.
18070 (R_RISCV_TLS_DTPMOD64): Likewise.
18071 (R_RISCV_TLS_DTPREL32): Likewise.
18072 (R_RISCV_TLS_DTPREL64): Likewise.
18073 (R_RISCV_TLS_TPREL32): Likewise.
18074 (R_RISCV_TLS_TPREL64): Likewise.
18075 * Makerules (make-link-multidir): Make directories before linking into
18077 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
18079 (VDSO_HASH_LINUX_4_15): Likewise.
18080 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
18081 in subdirectories of lib.
18082 * nptl/Makefile (/librt.so): Always depend on
18083 "$(shared-thread-library)".
18085 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18087 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
18088 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
18089 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
18091 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
18092 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
18094 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
18095 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
18096 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
18097 * sysdeps/gnu/glob-lstat-compat.c: New file.
18098 * sysdeps/gnu/glob64-lstat-compat.c: New file.
18099 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
18101 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18103 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
18104 Reserve 16 chars to reloc_addr before calling _itoa_word.
18106 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18109 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
18110 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
18112 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
18113 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
18115 * resource/tst-getrlimit.c: Add copyright header.
18117 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18118 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18120 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18121 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
18122 Define __GI_getrlimit64 as weak alias of __getrlimit64.
18123 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
18125 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18126 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
18127 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
18128 RLIM64_INFINITY): Fix values to match the kernel ones.
18129 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
18130 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
18131 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
18132 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
18133 getrlimit64@@GLIBC_2_27.
18134 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
18136 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
18137 getrlimit, setrlimit, getrlimit64 and setrlimit64.
18138 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
18139 setrlimit, getrlimit64 and setrlimit64.
18141 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18144 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
18145 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
18147 2018-01-04 Joseph Myers <joseph@codesourcery.com>
18149 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
18150 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
18151 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
18153 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18157 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
18158 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
18162 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
18163 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
18164 * sysdeps/alpha/fpu/s_floor.c: Likewise.
18165 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
18167 2018-01-04 Florian Weimer <fweimer@redhat.com>
18170 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
18171 Align the stack before calling exit.
18172 * stdlib/tst-makecontext-align.c: New file.
18173 * stdlib/Makefile (tests): Add tst-makecontext-align.
18175 2018-01-04 Florian Weimer <fweimer@redhat.com>
18177 Add support for calling dlvsym from libc.so.
18178 * include/dlfcn.h (__libc_dlvsym): Declare.
18179 * elf/Makefile (tests-static-internal): Add
18180 tst-libc_dlvsym-static.
18181 (tests-internal): Add tst-libc_dlvsym.
18182 (modules-names): Add tst-libc_dlvsym-dso.
18183 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
18184 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
18185 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
18186 object tst-libc_dlvsym-dso.so needs to be built before running
18188 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
18189 * elf/Versions: Export __libc_dlvsym.
18190 * elf/dl-libc.c (struct do_dlvsym_args): New.
18191 (do_dlvsym, __libc_dlvsym): New functions.
18192 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
18193 (_dl_open_hook2): New variable.
18194 (__libc_register_dl_open_hook): Set it.
18195 * elf/tst-libc_dlvsym-dso.c: New file.
18196 * elf/tst-libc_dlvsym-static.c: Likewise.
18197 * elf/tst-libc_dlvsym.c: Likewise.
18198 * elf/tst-libc_dlvsym.h: Likewise.
18200 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18202 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
18203 include <sys/mount.h>.
18205 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
18207 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
18208 Add __NO_MATH_ERRNO__ check.
18210 2018-01-02 Joseph Myers <joseph@codesourcery.com>
18212 * sysdeps/mips/mips32/libm-test-ulps: Update.
18213 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18215 2018-01-02 Florian Weimer <fweimer@redhat.com>
18217 * misc/tst-pselect.c: Add copyright header.
18219 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
18221 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
18223 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
18225 (settrlimit): Rename into setrlimit.
18226 (__sttrlimit): Rename into __setrlimit.
18228 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
18229 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
18230 never defined in that case.
18232 2018-01-02 Joseph Myers <joseph@codesourcery.com>
18234 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
18236 * sysdeps/arm/libm-test-ulps: Update.
18238 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
18239 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
18241 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18243 * NEWS: Add cosf and sincosf to list of optimized functions.
18245 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
18248 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
18249 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
18250 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
18251 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
18253 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
18256 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
18258 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
18259 making a copy of it.
18261 2018-01-01 Joseph Myers <joseph@codesourcery.com>
18263 * manual/texinfo.tex: Update to version 2017-12-26.21 with
18264 trailing whitespace removed.
18265 * scripts/config.guess: Update to version 2018-01-01.
18266 * scripts/config.sub: Update to version 2018-01-01.
18267 * scripts/move-if-change: Update from gnulib.
18269 * NEWS: Update copyright dates.
18270 * catgets/gencat.c (print_version): Likewise.
18271 * csu/version.c (banner): Likewise.
18272 * debug/catchsegv.sh: Likewise.
18273 * debug/pcprofiledump.c (print_version): Likewise.
18274 * debug/xtrace.sh (do_version): Likewise.
18275 * elf/ldconfig.c (print_version): Likewise.
18276 * elf/ldd.bash.in: Likewise.
18277 * elf/pldd.c (print_version): Likewise.
18278 * elf/sotruss.sh: Likewise.
18279 * elf/sprof.c (print_version): Likewise.
18280 * iconv/iconv_prog.c (print_version): Likewise.
18281 * iconv/iconvconfig.c (print_version): Likewise.
18282 * locale/programs/locale.c (print_version): Likewise.
18283 * locale/programs/localedef.c (print_version): Likewise.
18284 * login/programs/pt_chown.c (print_version): Likewise.
18285 * malloc/memusage.sh (do_version): Likewise.
18286 * malloc/memusagestat.c (print_version): Likewise.
18287 * malloc/mtrace.pl: Likewise.
18288 * manual/libc.texinfo: Likewise.
18289 * nptl/version.c (banner): Likewise.
18290 * nscd/nscd.c (print_version): Likewise.
18291 * nss/getent.c (print_version): Likewise.
18292 * nss/makedb.c (print_version): Likewise.
18293 * posix/getconf.c (main): Likewise.
18294 * scripts/test-installation.pl: Likewise.
18295 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18297 * All files with FSF copyright notices: Update copyright dates
18298 using scripts/update-copyrights.
18299 * locale/programs/charmap-kw.h: Regenerated.
18300 * locale/programs/locfile-kw.h: Likewise.
18302 2017-12-31 Zack Weinberg <zackw@panix.com>
18304 * libio/bits/libio-ldbl.h: Correct check for improper
18305 inclusion. Add own multiple include guard.
18307 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
18308 Dmitry V. Levin <ldv@altlinux.org>
18312 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
18313 string token expansion. Check for NULL pointer or empty string possibly
18314 returned by expand_dynamic_string_token.
18315 (decompose_rpath): Check for empty path after dynamic string
18318 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
18321 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
18323 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
18324 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
18325 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
18326 and PTRACE_SYSCALL.
18327 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
18328 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18329 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18330 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18331 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18332 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18334 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
18335 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18336 __ptrace_peeksiginfo_flags, ptrace): Move to ...
18337 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
18338 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18339 bits/ptrace-shared.h.
18340 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
18341 <bits/ptrace-shared.h>.
18342 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18343 __ptrace_peeksiginfo_flags, ptrace): Remove.
18344 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18345 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18346 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18347 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18348 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18350 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18353 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
18354 end of the loop. Improve comments.
18356 2017-12-29 Zack Weinberg <zackw@panix.com>
18359 * manual/errno.texi (Checking for Errors): Explicitly say that errno
18360 might be set on success.
18362 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18365 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
18366 is unchanged on success.
18368 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
18370 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
18372 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
18373 expand_dynamic_string_token): Likewise.
18374 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
18377 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
18380 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
18381 is set and name contains ':', and all code depending on these checks.
18383 2017-12-24 Zack Weinberg <zackw@panix.com>
18385 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
18386 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
18388 * libio/libio.h: Rename the original version of this file to
18389 libio/bits/libio.h. Error out if not included by stdio.h or the
18391 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
18392 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
18393 if not included by bits/libio.h or the stub _G_config.h.
18394 * sysdeps/unix/sysv/linux/_G_config.h: Move to
18395 sysdeps/unix/sysv/linux/bits. Error out if not included by
18396 bits/libio.h or the stub _G_config.h.
18397 * libio/stdio.h: Include bits/libio.h, not libio.h.
18398 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
18399 well as libio.h and _G_config.h.
18401 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
18402 * libio/strfile.h, stdio-common/vfscanf.c
18403 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
18404 Include stdio.h, not _G_config.h nor libio.h.
18405 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
18406 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
18408 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
18410 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
18413 * stdlib/getrandom.c (getrandom): Fix comment.
18414 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
18416 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
18419 * manual/arith.texi (strtoul): Fix a typo.
18422 * manual/arith.texi (finite): Fix the description of the return
18425 2017-12-22 Eric Blake <ebb9@byu.net>
18427 Avoid gcc warnings on cygwin
18428 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
18429 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
18430 Avoid unused variable.
18432 2017-12-22 Florian Weimer <fweimer@redhat.com>
18434 * io/Makefile (routines): Add copy_file_range.
18435 (tests): Add tst-copy_file_range.
18436 (tests-static, tests-internal): Add tst-copy_file_range-compat.
18437 * io/Versions (GLIBC_2.27): Export copy_file_range.
18438 * io/copy_file_range-compat.c: New file.
18439 * io/copy_file_range.c: Likewise.
18440 * io/tst-copy_file_range-compat.c: Likewise.
18441 * io/tst-copy_file_range.c: Likewise.
18442 * manual/llio.texi (Copying File Data): New section.
18443 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
18444 * support/Makefile (libsupport-routines): Add support-xfstat,
18445 xftruncate, xlseek.
18446 * support/support-xfstat.c: New file.
18447 * support/xftruncate.c: Likewise.
18448 * support/xlseek.c: Likewise.
18449 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
18450 * sysdeps/unix/sysv/linux/**.abilist: Update.
18451 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
18453 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
18455 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18456 disable-multi-arch variant to aarch64-linux-gnu.
18458 2017-12-20 Joseph Myers <joseph@codesourcery.com>
18460 * manual/texinfo.tex: Update to version 2017-12-18.20 with
18461 trailing whitespace removed.
18462 * scripts/config.guess: Update to version 2017-12-17.
18463 * scripts/config.sub: Update to version 2017-11-23.
18464 * scripts/install-sh: Update to version 2017-09-23.17.
18465 * scripts/move-if-change: Update to version 2017-09-13 06:45.
18467 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18469 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
18470 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18471 * sysdeps/tile/_mcount.S (__mcount): Likewise.
18472 * sysdeps/tile/crti.S (_init, _fini): Likewise.
18473 * sysdeps/tile/crtn.S: Likewise.
18474 * sysdeps/tile/dl-start.S (_start): Likewise.
18475 * sysdeps/tile/dl-trampoline.S: Likewise.
18476 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
18477 * sysdeps/tile/start.S (_start): Likewise.
18478 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
18479 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
18480 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
18481 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
18482 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
18483 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
18484 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
18486 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
18488 * sysdeps/tile/preconfigure: Remove tilegx folder.
18489 * sysdeps/tile/tilegx/Implies: Move definitions to ...
18490 * sysdeps/tile/Implies: ... here.
18491 * sysdeps/tile/tilegx/Makefile: Move rules to ...
18492 * sysdeps/tile/Makefile: ... here.
18493 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
18494 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
18495 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
18496 * sysdeps/tile/bits/wordsize.h: ... here.
18497 * sysdeps/tile/tilegx/*: Move to ...
18498 * sysdeps/tile/*: ... here.
18499 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
18500 * sysdeps/tile/tilegx32/Implies: ... here.
18501 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
18502 * sysdeps/tile/tilegx64/Implies: ... here.
18503 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
18505 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18506 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
18507 * sysdeps/unix/sysv/linux/tile/*: ... here.
18508 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
18509 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
18510 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
18511 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
18513 * README: Remove tilepro-*-linux-gnu from supported architecture.
18514 * scripts/build-many-glibcs.py: Likewise.
18515 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
18516 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
18517 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
18518 elf_machine_matches_host, elf_machine_dynamic,
18519 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
18520 howto, elf_machine_rela): Likewise.
18521 * sysdeps/tile/dl-start.S (_start): Likewise.
18522 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
18523 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
18524 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
18525 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
18526 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
18527 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
18529 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
18530 * sysdeps/tile/preconfigure: Likewise.
18531 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
18532 POINTER_CHK_GUARD): Likewise.
18533 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
18534 * sysdeps/tile/start.S (_start): Likewise.
18535 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
18537 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
18538 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
18540 * sysdeps/unix/sysv/linux/tile/bits/environments.h
18541 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
18542 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
18544 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
18545 * sysdeps/tile/tilepro/Implies: Remove file.
18546 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
18547 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
18548 * sysdeps/tile/tilepro/memchr.c: Likewise.
18549 * sysdeps/tile/tilepro/memcpy.S: Likewise.
18550 * sysdeps/tile/tilepro/memset.c: Likewise.
18551 * sysdeps/tile/tilepro/memusage.h: Likewise.
18552 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
18553 * sysdeps/tile/tilepro/strchr.c: Likewise.
18554 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
18555 * sysdeps/tile/tilepro/strlen.c: Likewise.
18556 * sysdeps/tile/tilepro/strrchr.c: Likewise.
18557 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
18558 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
18559 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
18560 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
18561 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
18562 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18564 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
18565 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18566 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
18567 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
18568 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18569 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
18570 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
18571 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
18572 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
18573 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
18574 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
18575 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
18576 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
18577 tilepro mention in comment.
18579 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
18580 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
18581 * nptl/pthread_join_common.c: New file: common function used on
18582 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
18583 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
18584 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
18585 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
18586 (cleanup): Move definition to pthread_join_common.c.
18587 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
18588 Remove superflous checks.
18589 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
18592 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
18594 * sysdeps/aarch64/libm-test-ulps: Update.
18596 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18598 * sysdeps/aarch64/memset.S (MEMSET): Define.
18600 2017-12-20 Florian Weimer <fweimer@redhat.com>
18603 nptl: Provide full implementation of pthread_self in libc.so.
18604 * nptl/Makefile (routines): Add pthread_self.
18605 (libpthread-routines): Replace pthread_self with
18606 compat-pthread_self.
18607 * nptl/forward.c (pthread_self): Remove.
18608 * nptl/nptl-init.c (pthread_functions): Do not initialize
18610 * nptl/pthread_self.c (pthread_self): Remove weak alias.
18611 * nptl/compat-pthread_self.c: New file.
18612 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
18613 Remove ptr_pthread_self.
18615 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
18617 * posix/regcomp.c: Fix spelling in comments.
18618 * posix/regex.h: Likewise.
18619 * posix/regex_internal.c: Likewise.
18620 * posix/regexec.c: Likewise.
18622 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18625 * math/Makefile [C++] (tests): Add test for iseqsig.
18626 * math/math.h [C++] (iseqsig): New implementation, which does
18627 not rely on __MATH_TG/__builtin_types_compatible_p.
18628 * math/test-math-iseqsig.cc: New file.
18629 * sysdeps/powerpc/powerpc64le/Makefile
18630 (CFLAGS-test-math-iseqsig.cc): New variable.
18632 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
18634 * elf/dl-load.c (is_trusted_path): Remove.
18635 (fillin_rpath): Remove check_trusted argument and its use,
18636 all callers changed.
18638 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18641 * Makeconfig (link-pie-before-libc): Replace -pie with
18642 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
18643 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
18644 (tst-dlopen-aout-no-pie): New.
18645 (LDFLAGS-tst-prelink): Removed.
18646 (tst-prelink-no-pie): New.
18647 (LDFLAGS-tst-main1): Removed.
18648 (tst-main1-no-pie): New.
18649 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
18650 (tst-gmon-no-pie): New.
18652 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18654 * manual/install.texi: Document that --enable-static-pie
18656 * INSTALL: Regenerated.
18658 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
18661 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
18664 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18668 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18670 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18672 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18674 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18675 <errno.h>. Include "eexp.tbl".
18676 (half): New constant.
18678 (__ieee754_exp): Rewrite.
18679 (__slowexp): Remove prototype.
18680 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18681 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18682 * sysdeps/i386/fpu/slowexp.c: Likewise.
18683 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18684 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18685 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18686 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18687 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18688 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18689 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18691 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18692 (CPPFLAGS-slowexp.c): Remove variable.
18693 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18694 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18695 (CFLAGS-slowexp-fma.c): Remove variable.
18696 (CFLAGS-slowexp-fma4.c): Likewise.
18697 (CFLAGS-slowexp-avx.c): Likewise.
18698 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18700 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18701 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18702 * math/Makefile (type-double-routines): Remove slowexp.
18703 * manual/probes.texi (slowexp_p6): Remove.
18704 (slowexp_p32): Likewise.
18706 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18708 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
18711 * lib/glob.c (glob): Do not pass NULL to mempcpy.
18713 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18715 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18717 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18719 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18720 <errno.h>. Include "eexp.tbl".
18721 (half): New constant.
18723 (__ieee754_exp): Rewrite.
18724 (__slowexp): Remove prototype.
18725 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18726 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18727 * sysdeps/i386/fpu/slowexp.c: Likewise.
18728 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18729 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18730 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18731 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18732 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18733 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18734 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18736 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18737 (CPPFLAGS-slowexp.c): Remove variable.
18738 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18739 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18740 (CFLAGS-slowexp-fma.c): Remove variable.
18741 (CFLAGS-slowexp-fma4.c): Likewise.
18742 (CFLAGS-slowexp-avx.c): Likewise.
18743 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18745 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18746 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18747 * math/Makefile (type-double-routines): Remove slowexp.
18748 * manual/probes.texi (slowexp_p6): Remove.
18749 (slowexp_p32): Likewise.
18751 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18752 James Clarke <jrtc27@jrtc27.com>
18755 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
18758 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18761 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
18764 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18767 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18768 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18769 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18770 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18773 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18776 * bits/types/__cancel_jmp_buf_tag.h: New file.
18777 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18778 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18779 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18780 * nptl/Makefile (headers): Add
18781 bits/types/__cancel_jmp_buf_tag.h.
18782 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18783 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18784 * sysdeps/nptl/pthread.h: Include
18785 <bits/types/__cancel_jmp_buf_tag.h>.
18786 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18788 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18790 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18792 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18793 --enable-static-pie variants to x86_64, x32 and i686.
18795 2017-12-19 Joseph Myers <joseph@codesourcery.com>
18798 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
18799 argument for attrubutes. All callers changed.
18800 (__inline_mathop1): Likewise. All callers changed.
18801 (__inline_mathop): Likewise. All callers changed.
18802 [__USE_MISC] (scalbn): Use __inline_forward instead of
18803 __inline_forward_c.
18804 [__USE_ISOC99] (scalbln): Likewise.
18805 [__USE_ISOC99] (nearbyint): Likewise.
18806 [__USE_ISOC99] (lrint): Likewise.
18807 [__USE_MISC] (scalbnf): Likewise.
18808 [__USE_ISOC99] (scalblnf): Likewise.
18809 [__USE_ISOC99] (nearbyintf): Likewise.
18810 [__USE_ISOC99] (lrintf): Likewise.
18811 [__USE_MISC] (scalbnl): Likewise.
18812 [__USE_ISOC99] (scalblnl): Likewise.
18813 [__USE_ISOC99] (nearbyintl): Likewise.
18814 [__USE_ISOC99] (lrintl): Likewise.
18815 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
18816 __inline_mathop and __m81_defun changed.
18818 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
18819 CPU or FPU for ARM hard-float configurations.
18821 2017-12-18 Joseph Myers <joseph@codesourcery.com>
18823 * nptl/tst-attr3.c: Include <libc-diag.h>.
18824 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
18826 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
18828 * string/tester.c (test_strncat): Also disable -Warray-bounds
18829 warnings for two tests.
18831 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18834 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
18835 $(cc-pie-default) == yes.
18836 * config.make.in (cc-pie-default): New.
18837 * configure.ac (libc_cv_pie_default): Renamed to ...
18838 (libc_cv_cc_pie_default): This.
18839 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
18840 * configure: Regenerated.
18842 2017-12-18 Florian Weimer <fweimer@redhat.com>
18845 ld.so: Harden dl-libc/libdl hooks.
18846 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
18847 (rtld_active): New function.
18848 * dlfcn/dladdr.c (__dladdr): Call it.
18849 * dlfcn/dladdr1.c (__dladdr1): Likewise.
18850 * dlfcn/dlclose.c (__dlcose): Likewise.
18851 * dlfcn/dlerror.c (__dlerror): Likewise.
18852 * dlfcn/dlinfo.c (__dlinfo): Likewise.
18853 * dlfcn/dlmopen.c (__dlmopen): Likewise.
18854 * dlfcn/dlopen.c (__dlopen): Likewise.
18855 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18856 * dlfcn/dlsym.c (__dlsym): Likewise.
18857 * dlfcn/dlvsym.c (__dlvsym): Likewise.
18858 * libio/vtables.c (_IO_vtable_check): Likewise.
18859 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
18860 (__libc_dlclose): Likewise.
18861 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
18864 2017-12-18 Joseph Myers <joseph@codesourcery.com>
18867 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
18868 buffers for readlink input and output.
18870 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
18873 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
18874 inhibit_stack_protector.
18877 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
18878 inhibit_stack_protector.
18880 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
18883 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
18884 code and invocation.
18886 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
18888 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
18890 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
18893 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
18895 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18897 * sysdeps/s390/fpu/libm-test-ulps: Update.
18899 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18901 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18903 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18905 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
18906 constants to s_sincosf.h file.
18907 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18908 * sysdeps/ieee754/flt-32/s_sincosf.c: New
18910 * sysdeps/ieee754/flt-32/s_sincosf.h:
18913 2017-12-12 Carlos O'Donell <carlos@redhat.com>
18916 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
18919 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
18922 * INSTALL: Regenerated.
18923 * Makeconfig (real-static-start-installed-name): New.
18924 (pic-default): Updated for --enable-static-pie.
18925 (pie-default): New for --enable-static-pie.
18926 (default-pie-ldflag): Likewise.
18927 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
18928 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
18929 Replace $(static-start-installed-name) with
18930 $(real-static-start-installed-name).
18931 (+prectorT): Updated for --enable-static-pie.
18932 (+postctorT): Likewise.
18933 (CFLAGS-.o): Add $(pie-default).
18934 (CFLAGS-.op): Likewise.
18935 * NEWS: Mention --enable-static-pie.
18936 * config.h.in (ENABLE_STATIC_PIE): New.
18937 * configure.ac (--enable-static-pie): New configure option.
18938 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
18939 (have-static-pie): Likewise.
18940 Enable static PIE if linker supports --no-dynamic-linker.
18941 (ENABLE_STATIC_PIE): New AC_DEFINE.
18942 (enable-static-pie): New LIBC_CONFIG_VAR.
18943 * configure: Regenerated.
18944 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
18945 gr$(start-installed-name) for --enable-static-pie.
18946 (extra-objs): Likewise.
18947 (install-lib): Likewise.
18948 (extra-objs): Add static-reloc.o and static-reloc.os
18949 ($(objpfx)$(start-installed-name)): Also depend on
18950 $(objpfx)static-reloc.o.
18951 ($(objpfx)r$(start-installed-name)): New.
18952 ($(objpfx)g$(start-installed-name)): Also depend on
18953 $(objpfx)static-reloc.os.
18954 ($(objpfx)gr$(start-installed-name)): New.
18955 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
18957 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
18959 * csu/static-reloc.c: New file.
18960 * elf/Makefile (routines): Add dl-reloc-static-pie.
18961 (elide-routines.os): Likewise.
18962 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
18963 (tst-tls1-static-non-pie-no-pie): New.
18964 * elf/dl-reloc-static-pie.c: New file.
18965 * elf/dl-support.c (_dl_get_dl_main_map): New function.
18966 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
18967 STATIC_PIE_BOOTSTRAP.
18968 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18969 * gmon/Makefile (tests): Add tst-gmon-static-pie.
18970 (tests-static): Likewise.
18971 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
18972 (tst-gmon-static-no-pie): New.
18973 (CFLAGS-tst-gmon-static-pie.c): Likewise.
18974 (CRT-tst-gmon-static-pie): Likewise.
18975 (tst-gmon-static-pie-ENV): Likewise.
18976 (tests-special): Likewise.
18977 ($(objpfx)tst-gmon-static-pie.out): Likewise.
18978 (clean-tst-gmon-static-pie-data): Likewise.
18979 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
18980 * gmon/tst-gmon-static-pie.c: New file.
18981 * manual/install.texi: Document --enable-static-pie.
18982 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
18983 (_dl_get_dl_main_map): Likewise.
18984 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
18985 * sysdeps/x86_64/configure.ac: Likewise.
18986 * sysdeps/i386/configure: Regenerated.
18987 * sysdeps/x86_64/configure: Likewise.
18988 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
18989 (ASFLAGS-.op): Likewise.
18991 2017-12-15 Joseph Myers <joseph@codesourcery.com>
18993 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
18994 * posix/tst-mmap-offset.c (fname): Use /tmp.
18995 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
18997 2017-12-15 Steve Ellcey <sellcey@cavium.com>
18999 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
19001 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
19003 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
19006 2017-12-15 Joseph Myers <joseph@codesourcery.com>
19008 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
19009 --with-float=hard for arm-linux-gnueabihf configurations.
19012 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
19013 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
19014 ($(mo-installed)): Use $(objpfx)%.mo.
19015 (realclean): Remove rule.
19017 * po/Makefile (linguas): Remove rule and dependencies.
19018 (linguas.mo): Likewise.
19019 (.PHONY): Do not depend on linguas and linguas.mo.
19020 (podir): Remove variable.
19021 (pofiles): Likewise.
19022 [$(pofiles)] (%.po): Remove rule.
19024 * sysdeps/sparc/sparc32/Makefile
19025 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
19026 start-of-line whitespace in argument of echo.
19027 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
19028 with whitespace. Generate __wrap_.udiv alias.
19029 * sysdeps/sparc/sparc32/rem.S: Regenerated.
19030 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19031 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19032 * sysdeps/sparc/sparc32/urem.S: Likewise.
19034 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19036 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
19037 for aligned inputs.
19039 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
19041 * benchtests/bench-strcmp.c: Print output in JSON format.
19043 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
19045 2017-12-14 Florian Weimer <fweimer@redhat.com>
19049 * elf/dl-load.c (_dl_init_paths): Compute number of components in
19050 the expanded path string.
19052 2017-12-14 Florian Weimer <fweimer@redhat.com>
19056 * elf/dl-load.c (system_dirs): Update comment.
19057 (nsystem_dirs_len): Use array_length.
19058 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
19060 2017-12-14 Florian Weimer <fweimer@redhat.com>
19062 Simplify compiling most of support/ outside of glibc.
19063 * support/check_addrinfo.c: Include <string.h>.
19064 * support/check_dns_packet.c: Likewise.
19065 * support/check_hostent.c: Likewise.
19066 * support/support_can_chroot.c: Include <support/xunistd.h>.
19067 * support/support_format_addrinfo.c: Include <stdlib.h>
19068 * support/support_format_dns_packet.c: Include <stdbool.h>.
19069 * support/support_format_hostent.c: Include <stdlib.h>.
19070 * support/support_format_netent.c: Likewise.
19071 * support/support_write_string.c: Include <support/xunistd.h>.
19072 * support/xdlfcn.c: Include <stddef.h>.
19074 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
19076 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
19078 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19079 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19081 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19082 (sysdeps_routines): Add memset-niagara7.
19083 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
19085 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
19087 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
19088 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19089 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
19090 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
19091 Add niagara7 option.
19092 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
19095 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19096 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
19097 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
19099 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
19101 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
19102 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
19103 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19104 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
19105 and __memmove_niagara7.
19106 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
19107 Add niagara7 option.
19108 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
19109 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
19110 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
19111 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
19112 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
19114 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
19116 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
19117 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
19118 * sysdeps/sparc/sparc64/memmove.S: Likewise.
19119 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
19121 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
19122 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
19123 _dl_sparc_cap_flags array.
19124 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
19126 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
19128 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
19129 time whenever possible.
19131 2017-12-12 Carlos O'Donell <carlos@redhat.com>
19133 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
19134 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
19136 2017-12-12 Joseph Myers <joseph@codesourcery.com>
19138 * soft-fp/fmadf4.c: Move to ....
19139 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
19140 * soft-fp/fmasf4.c: Move to ....
19141 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
19142 * soft-fp/fmatf4.c: Move to ....
19143 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
19144 * sysdeps/ieee754/soft-fp/Makefile: New file.
19145 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
19146 * sysdeps/arm/preconfigure: Regenerated.
19147 * sysdeps/arm/nofpu/Implies: New file.
19148 * sysdeps/arm/s_fma.c: Remove file.
19149 * sysdeps/arm/s_fmaf.c: Likewise.
19150 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
19151 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
19152 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
19153 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
19154 * sysdeps/microblaze/s_fma.c: Remove file.
19155 * sysdeps/microblaze/s_fmaf.c: Likewise.
19156 * sysdeps/mips/mips32/nofpu/Implies: New file.
19157 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
19158 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
19159 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
19160 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
19161 * sysdeps/mips/ieee754/s_fma.c: Remove file.
19162 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
19163 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
19165 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
19166 * sysdeps/nios2/s_fma.c: Remove file.
19167 * sysdeps/nios2/s_fmaf.c: Likewise.
19168 * sysdeps/sh/nofpu/Implies: New file.
19169 * sysdeps/sh/s_fma.c: Remove file.
19170 * sysdeps/sh/s_fmaf.c: Likewise.
19171 * sysdeps/tile/Implies: Add ieee754/soft-fp.
19172 * sysdeps/tile/s_fma.c: Remove file.
19173 * sysdeps/tile/s_fmaf.c: Likewise.
19175 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
19177 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19178 Add s_cosf-sse2 and s_cosf-fma.
19179 (CFLAGS-s_cosf-fma.c): New.
19180 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
19181 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
19182 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
19184 2017-12-12 Steve Ellcey <sellcey@cavium.com>
19186 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
19188 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19190 * libio/Makefile (tests): Add tst-bz22415.
19191 (tst-bz22415-ENV): New rule.
19192 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
19193 (tests-special): Add tst-bz22415-mem.out.
19194 ($(objpfx)tst-bz22415-mem.out): New rule.
19195 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
19196 in case of a successful seek operation.
19197 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19198 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
19199 buffer is required.
19200 * libio/tst-bz22415.c: New test.
19202 * sysdeps/ia64/fpu/libm-test-ulps: Update.
19204 2017-12-12 James Clarke <jrtc27@jrtc27.com>
19206 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
19207 __IPC_64 to 0 to avoid IPC_64 being set.
19209 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19212 * math/bits/mathcalls.h (nextafter): Remove const.
19213 (nexttoward): Likewise.
19215 2017-12-12 Joseph Myers <joseph@codesourcery.com>
19217 * configure.ac (--with-fp): Remove configure option.
19218 (with_fp_cond): New variable.
19219 (libc_cv_with_fp): New configure test. Use this variable instead
19221 * configure: Regenerated.
19222 * config.make.in (with-fp): Use @libc_cv_with_fp@.
19223 * manual/install.texi (Configuring and compiling): Remove
19225 * INSTALL: Regenerated.
19226 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
19227 * sysdeps/mips/preconfigure (with_fp_cond): Define.
19228 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
19229 * sysdeps/sh/preconfigure (with_fp_cond): Define.
19230 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
19231 use --without-fp to configure glibc.
19233 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
19235 * manual/locale.texi (nl_langinfo): Fix a typo.
19237 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
19240 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
19242 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19244 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
19245 (CFLAGS-argp-parse.c): Likewise.
19246 (CFLAGS-argp-fmtstream.c): Likewise.
19247 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
19248 (CPPFLAGS-sha512-crypt.c): Likewise.
19249 (CPPFLAGS-md5-crypt.c): Likewise.
19250 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
19251 (CFLAGS-stack_chk_fail_local.c): Likewise.
19252 (CFLAGS-backtrace.c): Likewise.
19253 (CFLAGS-sprintf_chk.c): Likewise.
19254 (CFLAGS-snprintf_chk.c): Likewise.
19255 (CFLAGS-vsprintf_chk.c): Likewise.
19256 (CFLAGS-vsnprintf_chk.c): Likewise.
19257 (CFLAGS-asprintf_chk.c): Likewise.
19258 (CFLAGS-vasprintf_chk.c): Likewise.
19259 (CFLAGS-obprintf_chk.c): Likewise.
19260 (CFLAGS-dprintf_chk.c): Likewise.
19261 (CFLAGS-vdprintf_chk.c): Likewise.
19262 (CFLAGS-printf_chk.c): Likewise.
19263 (CFLAGS-fprintf_chk.c): Likewise.
19264 (CFLAGS-vprintf_chk.c): Likewise.
19265 (CFLAGS-vfprintf_chk.c): Likewise.
19266 (CFLAGS-gets_chk.c): Likewise.
19267 (CFLAGS-fgets_chk.c): Likewise.
19268 (CFLAGS-fgets_u_chk.c): Likewise.
19269 (CFLAGS-fread_chk.c): Likewise.
19270 (CFLAGS-fread_u_chk.c): Likewise.
19271 (CFLAGS-swprintf_chk.c): Likewise.
19272 (CFLAGS-vswprintf_chk.c): Likewise.
19273 (CFLAGS-wprintf_chk.c): Likewise.
19274 (CFLAGS-fwprintf_chk.c): Likewise.
19275 (CFLAGS-vwprintf_chk.c): Likewise.
19276 (CFLAGS-vfwprintf_chk.c): Likewise.
19277 (CFLAGS-fgetws_chk.c): Likewise.
19278 (CFLAGS-fgetws_u_chk.c): Likewise.
19279 (CFLAGS-read_chk.c): Likewise.
19280 (CFLAGS-pread_chk.c): Likewise.
19281 (CFLAGS-pread64_chk.c): Likewise.
19282 (CFLAGS-recv_chk.c): Likewise.
19283 (CFLAGS-recvfrom_chk.c): Likewise.
19284 (CFLAGS-tst-longjmp_chk.c): Likewise.
19285 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
19286 (CFLAGS-tst-longjmp_chk2.c): Likewise.
19287 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
19288 (CFLAGS-tst-longjmp_chk3.c): Likewise.
19289 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19290 (CFLAGS-tst-chk1.c): Likewise.
19291 (CFLAGS-tst-chk2.c): Likewise.
19292 (CFLAGS-tst-chk3.c): Likewise.
19293 (CFLAGS-tst-chk4.cc): Likewise.
19294 (CFLAGS-tst-chk5.cc): Likewise.
19295 (CFLAGS-tst-chk6.cc): Likewise.
19296 (CFLAGS-tst-lfschk1.c): Likewise.
19297 (CFLAGS-tst-lfschk2.c): Likewise.
19298 (CFLAGS-tst-lfschk3.c): Likewise.
19299 (CFLAGS-tst-lfschk4.cc): Likewise.
19300 (CFLAGS-tst-lfschk5.cc): Likewise.
19301 (CFLAGS-tst-lfschk6.cc): Likewise.
19302 (CFLAGS-tst-ssp-1.c): Likewise.
19303 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
19304 (CFLAGS-scandir64.c): Likewise.
19305 (CFLAGS-scandir-tail.c): Likewise.
19306 (CFLAGS-scandir64-tail.c): Likewise.
19307 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
19308 (CFLAGS-dl-tunables.c): Likewise.
19309 (CFLAGS-dl-runtime.c): Likewise.
19310 (CFLAGS-dl-lookup.c): Likewise.
19311 (CFLAGS-dl-iterate-phdr.c): Likewise.
19312 (CFLAGS-vismain.c): Likewise.
19313 (CFLAGS-tst-linkall-static.c): Likewise.
19314 (CFLAGS-tst-linkall-static.c): Likewise.
19315 (CPPFLAGS-dl-load.c): Likewise.
19316 (CFLAGS-ldconfig.c): Likewise.
19317 (CFLAGS-dl-cache.c): Likewise.
19318 (CFLAGS-cache.c): Likewise.
19319 (CFLAGS-rtld.c): Likewise.
19320 (CFLAGS-multiload.c): Likewise.
19321 (CFLAGS-filtmod1.c): Likewise.
19322 (CFLAGS-tst-align.c): Likewise.
19323 (CFLAGS-tst-align2.c): Likewise.
19324 (CFLAGS-tst-alignmod.c): Likewise.
19325 (CFLAGS-tst-alignmod2.c): Likewise.
19326 (CPPFLAGS-tst-execstack.c): Likewise.
19327 (CFLAGS-tst-ptrguard1-static.c): Likewise.
19328 (CFLAGS-tst-latepthreadmod.c): Likewise.
19329 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
19330 (CFLAGS-getgrnam_r.c): Likewise.
19331 (CFLAGS-getgrent_r.c): Likewise.
19332 (CFLAGS-getgrent.c): Likewise.
19333 (CFLAGS-fgetgrent.c): Likewise.
19334 (CFLAGS-fgetgrent_r.c): Likewise.
19335 (CFLAGS-putgrent.c): Likewise.
19336 (CFLAGS-initgroups.c): Likewise.
19337 (CFLAGS-getgrgid.c): Likewise.
19338 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
19339 (CFLAGS-getsgent.c): Likewise.
19340 (CFLAGS-fgetsgent.c): Likewise.
19341 (CFLAGS-fgetsgent_r.c): Likewise.
19342 (CFLAGS-putsgent.c): Likewise.
19343 (CFLAGS-getsgnam.c): Likewise.
19344 (CFLAGS-getsgnam_r.c): Likewise.
19345 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
19346 (CFLAGS-iconv_charmap.c): Likewise.
19347 (CFLAGS-dummy-repertoire.c): Likewise.
19348 (CFLAGS-charmap.c): Likewise.
19349 (CFLAGS-linereader.c): Likewise.
19350 (CFLAGS-simple-hash.c): Likewise.
19351 (CFLAGS-gconv_conf.c): Likewise.
19352 (CFLAGS-iconvconfig.c): Likewise.
19353 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19354 (CFLAGS-gethstbyad.c): Likewise.
19355 (CFLAGS-gethstbynm_r.c): Likewise.
19356 (CFLAGS-gethstbynm.c): Likewise.
19357 (CFLAGS-gethstbynm2_r.c): Likewise.
19358 (CFLAGS-gethstbynm2.c): Likewise.
19359 (CFLAGS-gethstent_r.c): Likewise.
19360 (CFLAGS-gethstent.c): Likewise.
19361 (CFLAGS-rcmd.c): Likewise.
19362 (CFLAGS-getnetbynm_r.c): Likewise.
19363 (CFLAGS-getnetbynm.c): Likewise.
19364 (CFLAGS-getnetbyad_r.c): Likewise.
19365 (CFLAGS-getnetbyad.c): Likewise.
19366 (CFLAGS-getnetent_r.c): Likewise.
19367 (CFLAGS-getnetent.c): Likewise.
19368 (CFLAGS-getaliasent_r.c): Likewise.
19369 (CFLAGS-getaliasent.c): Likewise.
19370 (CFLAGS-getrpcent_r.c): Likewise.
19371 (CFLAGS-getrpcent.c): Likewise.
19372 (CFLAGS-getservent_r.c): Likewise.
19373 (CFLAGS-getservent.c): Likewise.
19374 (CFLAGS-getprtent_r.c): Likewise.
19375 (CFLAGS-getprtent.c): Likewise.
19376 (CFLAGS-either_ntoh.c): Likewise.
19377 (CFLAGS-either_hton.c): Likewise.
19378 (CFLAGS-getnetgrent.c): Likewise.
19379 (CFLAGS-getnetgrent_r.c): Likewise.
19380 (CFLAGS-tst-checks-posix.c): Likewise.
19381 (CFLAGS-tst-sockaddr.c): Likewise.
19382 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
19383 (CFLAGS-tst-translit.c): Likewise.
19384 (CFLAGS-tst-gettext2.c): Likewise.
19385 (CFLAGS-tst-codeset.c): Likewise.
19386 (CFLAGS-tst-gettext3.c): Likewise.
19387 (CFLAGS-tst-gettext4.c): Likewise.
19388 (CFLAGS-tst-gettext5.c): Likewise.
19389 (CFLAGS-tst-gettext6.c): Likewise.
19390 * io/Makefile (CFLAGS-open.c): Likewise.
19391 (CFLAGS-open64.c): Likewise.
19392 (CFLAGS-creat.c): Likewise.
19393 (CFLAGS-creat64.c): Likewise.
19394 (CFLAGS-fcntl.c): Likewise.
19395 (CFLAGS-poll.c): Likewise.
19396 (CFLAGS-ppoll.c): Likewise.
19397 (CFLAGS-lockf.c): Likewise.
19398 (CFLAGS-statfs.c): Likewise.
19399 (CFLAGS-fstatfs.c): Likewise.
19400 (CFLAGS-statvfs.c): Likewise.
19401 (CFLAGS-fstatvfs.c): Likewise.
19402 (CFLAGS-fts.c): Likewise.
19403 (CFLAGS-fts64.c): Likewise.
19404 (CFLAGS-ftw.c): Likewise.
19405 (CFLAGS-ftw64.c): Likewise.
19406 (CFLAGS-lockf.c): Likewise.
19407 (CFLAGS-posix_fallocate.c): Likewise.
19408 (CFLAGS-posix_fallocate64.c): Likewise.
19409 (CFLAGS-fallocate.c): Likewise.
19410 (CFLAGS-fallocate64.c): Likewise.
19411 (CFLAGS-read.c): Likewise.
19412 (CFLAGS-write.c): Likewise.
19413 (CFLAGS-test-stat.c): Likewise.
19414 (CFLAGS-test-lfs.c): Likewise.
19415 * libio/Makefile (CFLAGS-fileops.c): Likewise.
19416 (CFLAGS-fputc.c): Likewise.
19417 (CFLAGS-fputwc.c): Likewise.
19418 (CFLAGS-freopen64.c): Likewise.
19419 (CFLAGS-freopen.c): Likewise.
19420 (CFLAGS-fseek.c): Likewise.
19421 (CFLAGS-fseeko64.c): Likewise.
19422 (CFLAGS-fseeko.c): Likewise.
19423 (CFLAGS-ftello64.c): Likewise.
19424 (CFLAGS-ftello.c): Likewise.
19425 (CFLAGS-fwide.c): Likewise.
19426 (CFLAGS-genops.c): Likewise.
19427 (CFLAGS-getc.c): Likewise.
19428 (CFLAGS-getchar.c): Likewise.
19429 (CFLAGS-getwc.c): Likewise.
19430 (CFLAGS-getwchar.c): Likewise.
19431 (CFLAGS-iofclose.c): Likewise.
19432 (CFLAGS-iofflush.c): Likewise.
19433 (CFLAGS-iofgetpos64.c): Likewise.
19434 (CFLAGS-iofgetpos.c): Likewise.
19435 (CFLAGS-iofgets.c): Likewise.
19436 (CFLAGS-iofgetws.c): Likewise.
19437 (CFLAGS-iofputs.c): Likewise.
19438 (CFLAGS-iofputws.c): Likewise.
19439 (CFLAGS-iofread.c): Likewise.
19440 (CFLAGS-iofsetpos64.c): Likewise.
19441 (CFLAGS-iofsetpos.c): Likewise.
19442 (CFLAGS-ioftell.c): Likewise.
19443 (CFLAGS-iofwrite.c): Likewise.
19444 (CFLAGS-iogetdelim.c): Likewise.
19445 (CFLAGS-iogetline.c): Likewise.
19446 (CFLAGS-iogets.c): Likewise.
19447 (CFLAGS-iogetwline.c): Likewise.
19448 (CFLAGS-ioputs.c): Likewise.
19449 (CFLAGS-ioseekoff.c): Likewise.
19450 (CFLAGS-ioseekpos.c): Likewise.
19451 (CFLAGS-iosetbuffer.c): Likewise.
19452 (CFLAGS-iosetvbuf.c): Likewise.
19453 (CFLAGS-ioungetc.c): Likewise.
19454 (CFLAGS-ioungetwc.c): Likewise.
19455 (CFLAGS-oldfileops.c): Likewise.
19456 (CFLAGS-oldiofclose.c): Likewise.
19457 (CFLAGS-oldiofgetpos64.c): Likewise.
19458 (CFLAGS-oldiofgetpos.c): Likewise.
19459 (CFLAGS-oldiofsetpos64.c): Likewise.
19460 (CFLAGS-oldiofsetpos.c): Likewise.
19461 (CFLAGS-peekc.c): Likewise.
19462 (CFLAGS-putc.c): Likewise.
19463 (CFLAGS-putchar.c): Likewise.
19464 (CFLAGS-putwc.c): Likewise.
19465 (CFLAGS-putwchar.c): Likewise.
19466 (CFLAGS-rewind.c): Likewise.
19467 (CFLAGS-wfileops.c): Likewise.
19468 (CFLAGS-wgenops.c): Likewise.
19469 (CFLAGS-oldiofopen.c): Likewise.
19470 (CFLAGS-iofopen.c): Likewise.
19471 (CFLAGS-iofopen64.c): Likewise.
19472 (CFLAGS-oldtmpfile.c): Likewise.
19473 (CFLAGS-tst_putwc.c): Likewise.
19474 * locale/Makefile (CFLAGS-md5.c): Likewise.
19475 (CFLAGS-charmap.c): Likewise.
19476 (CFLAGS-locfile.c): Likewise.
19477 (CFLAGS-charmap-dir.c): Likewise.
19478 * login/Makefile (CFLAGS-grantpt.c): Likewise.
19479 (CFLAGS-getpt.c): Likewise.
19480 (CFLAGS-pt_chown.c): Likewise.
19481 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
19482 (CFLAGS-obstack.c): Likewise.
19483 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
19484 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
19485 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
19486 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
19487 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
19488 (CFLAGS-test-tgmath.c): Likewise.
19489 (CFLAGS-test-tgmath2.c): Likewise.
19490 (CFLAGS-test-tgmath-ret.c): Likewise.
19491 (CFLAGS-test-powl.c): Likewise.
19492 (CFLAGS-test-snan.c): Likewise.
19493 (CFLAGS-test-signgam-finite.c): Likewise.
19494 (CFLAGS-test-signgam-finite-c99.c): Likewise.
19495 (CFLAGS-test-signgam-finite-c11.c): Likewise.
19496 (CFLAGS-test-signgam-uchar.c): Likewise.
19497 (CFLAGS-test-signgam-uchar-init.c): Likewise.
19498 (CFLAGS-test-signgam-uchar-static.c): Likewise.
19499 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
19500 (CFLAGS-test-signgam-uint.c): Likewise.
19501 (CFLAGS-test-signgam-uint-init.c): Likewise.
19502 (CFLAGS-test-signgam-uint-static.c): Likewise.
19503 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
19504 (CFLAGS-test-signgam-ullong.c): Likewise.
19505 (CFLAGS-test-signgam-ullong-init.c): Likewise.
19506 (CFLAGS-test-signgam-ullong-static.c): Likewise.
19507 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
19508 (CFLAGS-test-math-cxx11.cc): Likewise.
19509 (CFLAGS-test-math-isinff.cc): Likewise.
19510 (CFLAGS-test-math-iszero.cc): Likewise.
19511 (CFLAGS-test-math-issignaling.cc): Likewise.
19512 (CFLAGS-test-math-iscanonical.cc): Likewise.
19513 (CFLAGS-test-iszero-excess-precision.c): Likewise.
19514 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
19515 (CFLAGS-test-flt-eval-method.c): Likewise.
19516 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
19517 (CFLAGS-test-finite-macros.c): Likewise.
19518 * misc/Makefile (CFLAGS-select.c): Likewise.
19519 (CFLAGS-tsearch.c): Likewise.
19520 (CFLAGS-lsearch.c): Likewise.
19521 (CFLAGS-pselect.c): Likewise.
19522 (CFLAGS-readv.c): Likewise.
19523 (CFLAGS-writev.c): Likewise.
19524 (CFLAGS-preadv.c): Likewise.
19525 (CFLAGS-preadv64.c): Likewise.
19526 (CFLAGS-pwritev.c): Likewise.
19527 (CFLAGS-pwritev64.c): Likewise.
19528 (CFLAGS-preadv2.c): Likewise.
19529 (CFLAGS-preadv64v2.c): Likewise.
19530 (CFLAGS-pwritev2.c): Likewise.
19531 (CFLAGS-pwritev64v2.c): Likewise.
19532 (CFLAGS-usleep.c): Likewise.
19533 (CFLAGS-syslog.c): Likewise.
19534 (CFLAGS-error.c): Likewise.
19535 (CFLAGS-getpass.c): Likewise.
19536 (CFLAGS-mkstemp.c): Likewise.
19537 (CFLAGS-mkstemp64.c): Likewise.
19538 (CFLAGS-getsysstats.c): Likewise.
19539 (CFLAGS-getusershell.c): Likewise.
19540 (CFLAGS-err.c): Likewise.
19541 (CFLAGS-tst-tsearch.c): Likewise.
19542 (CFLAGS-msync.c): Likewise.
19543 (CFLAGS-fdatasync.c): Likewise.
19544 (CFLAGS-fsync.c): Likewise.
19545 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
19546 (CFLAGS-unwind.c): Likewise.
19547 (CFLAGS-unwind-forcedunwind.c): Likewise.
19548 (CFLAGS-pthread_cancel.c): Likewise.
19549 (CFLAGS-pthread_setcancelstate.c): Likewise.
19550 (CFLAGS-pthread_setcanceltype.c): Likewise.
19551 (CFLAGS-cancellation.c): Likewise.
19552 (CFLAGS-libc-cancellation.c): Likewise.
19553 (CFLAGS-pthread_exit.c): Likewise.
19554 (CFLAGS-forward.c): Likewise.
19555 (CFLAGS-pthread_testcancel.c): Likewise.
19556 (CFLAGS-pthread_join.c): Likewise.
19557 (CFLAGS-pthread_timedjoin.c): Likewise.
19558 (CFLAGS-pthread_once.c): Likewise.
19559 (CFLAGS-pthread_cond_wait.c): Likewise.
19560 (CFLAGS-sem_wait.c): Likewise.
19561 (CFLAGS-sem_timedwait.c): Likewise.
19562 (CFLAGS-fcntl.c): Likewise.
19563 (CFLAGS-lockf.c): Likewise.
19564 (CFLAGS-pread.c): Likewise.
19565 (CFLAGS-pread64.c): Likewise.
19566 (CFLAGS-pwrite.c): Likewise.
19567 (CFLAGS-pwrite64.c): Likewise.
19568 (CFLAGS-wait.c): Likewise.
19569 (CFLAGS-waitpid.c): Likewise.
19570 (CFLAGS-sigwait.c): Likewise.
19571 (CFLAGS-msgrcv.c): Likewise.
19572 (CFLAGS-msgsnd.c): Likewise.
19573 (CFLAGS-tcdrain.c): Likewise.
19574 (CFLAGS-open.c): Likewise.
19575 (CFLAGS-open64.c): Likewise.
19576 (CFLAGS-pause.c): Likewise.
19577 (CFLAGS-recv.c): Likewise.
19578 (CFLAGS-send.c): Likewise.
19579 (CFLAGS-accept.c): Likewise.
19580 (CFLAGS-sendto.c): Likewise.
19581 (CFLAGS-connect.c): Likewise.
19582 (CFLAGS-recvfrom.c): Likewise.
19583 (CFLAGS-recvmsg.c): Likewise.
19584 (CFLAGS-sendmsg.c): Likewise.
19585 (CFLAGS-close.c): Likewise.
19586 (CFLAGS-read.c): Likewise.
19587 (CFLAGS-write.c): Likewise.
19588 (CFLAGS-nanosleep.c): Likewise.
19589 (CFLAGS-sigsuspend.c): Likewise.
19590 (CFLAGS-msync.c): Likewise.
19591 (CFLAGS-fdatasync.c): Likewise.
19592 (CFLAGS-fsync.c): Likewise.
19593 (CFLAGS-pt-system.c): Likewise.
19594 (CFLAGS-tst-cleanup2.c): Likewise.
19595 (CFLAGS-tst-cleanupx2.c): Likewise.
19596 (CFLAGS-flockfile.c): Likewise.
19597 (CFLAGS-ftrylockfile.c): Likewise.
19598 (CFLAGS-funlockfile.c): Likewise.
19599 (CFLAGS-tst-initializers1.c): Likewise.
19600 (CFLAGS-tst-initializers1-c89.c): Likewise.
19601 (CFLAGS-tst-initializers1-c99.c): Likewise.
19602 (CFLAGS-tst-initializers1-c11.c): Likewise.
19603 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
19604 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
19605 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
19606 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
19607 (CFLAGS-nscd_getgr_r.c): Likewise.
19608 (CFLAGS-nscd_gethst_r.c): Likewise.
19609 (CFLAGS-nscd_getai.c): Likewise.
19610 (CFLAGS-nscd_initgroups.c): Likewise.
19611 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
19612 (CFLAGS-pause.c): Likewise.
19613 (CFLAGS-pread.c): Likewise.
19614 (CFLAGS-pread64.c): Likewise.
19615 (CFLAGS-pwrite.c): Likewise.
19616 (CFLAGS-pwrite64.c): Likewise.
19617 (CFLAGS-sleep.c): Likewise.
19618 (CFLAGS-wait.c): Likewise.
19619 (CFLAGS-waitid.c): Likewise.
19620 (CFLAGS-waitpid.c): Likewise.
19621 (CFLAGS-getopt.c): Likewise.
19622 (CFLAGS-wordexp.c): Likewise.
19623 (CFLAGS-sysconf.c): Likewise.
19624 (CFLAGS-pathconf.c): Likewise.
19625 (CFLAGS-fpathconf.c): Likewise.
19626 (CFLAGS-spawn.c): Likewise.
19627 (CFLAGS-spawnp.c): Likewise.
19628 (CFLAGS-spawni.c): Likewise.
19629 (CFLAGS-glob.c): Likewise.
19630 (CFLAGS-glob64.c): Likewise.
19631 (CFLAGS-getconf.c): Likewise.
19632 (CFLAGS-nanosleep.c): Likewise.
19633 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
19634 (CFLAGS-getpwent.c): Likewise.
19635 (CFLAGS-getpw.c): Likewise.
19636 (CFLAGS-fgetpwent_r.c): Likewise.
19637 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
19638 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
19639 (CFLAGS-mq_timedreceive.c): Likewise.
19640 (CFLAGS-mq_timedsend.c): Likewise.
19641 (CFLAGS-clock_nanosleep.c): Likewise.
19642 (CFLAGS-librt-cancellation.c): Likewise.
19643 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
19644 (CFLAGS-getspent.c): Likewise.
19645 (CFLAGS-fgetspent.c): Likewise.
19646 (CFLAGS-fgetspent_r.c): Likewise.
19647 (CFLAGS-putspent.c): Likewise.
19648 (CFLAGS-getspnam.c): Likewise.
19649 (CFLAGS-getspnam_r.c): Likewise.
19650 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
19651 (CFLAGS-sigsuspend.c): Likewise.
19652 (CFLAGS-sigtimedwait.c): Likewise.
19653 (CFLAGS-sigwait.c): Likewise.
19654 (CFLAGS-sigwaitinfo.c): Likewise.
19655 (CFLAGS-sigreturn.c): Likewise.
19656 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
19657 (CFLAGS-vfwprintf.c): Likewise.
19658 (CFLAGS-tmpfile.c): Likewise.
19659 (CFLAGS-tmpfile64.c): Likewise.
19660 (CFLAGS-tempname.c): Likewise.
19661 (CFLAGS-psignal.c): Likewise.
19662 (CFLAGS-vprintf.c): Likewise.
19663 (CFLAGS-cuserid.c): Likewise.
19664 (CFLAGS-errlist.c): Likewise.
19665 (CFLAGS-siglist.c): Likewise.
19666 (CFLAGS-scanf15.c): Likewise.
19667 (CFLAGS-scanf17.c): Likewise.
19668 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
19669 (CFLAGS-msort.c): Likewise.
19670 (CFLAGS-qsort.c): Likewise.
19671 (CFLAGS-system.c): Likewise.
19672 (CFLAGS-fmtmsg.c): Likewise.
19673 (CFLAGS-strfmon.c): Likewise.
19674 (CFLAGS-strfmon_l.c): Likewise.
19675 (CFLAGS-strfromd.c): Likewise.
19676 (CFLAGS-strfromf.c): Likewise.
19677 (CFLAGS-strfroml.c): Likewise.
19678 (CFLAGS-tst-bsearch.c): Likewise.
19679 (CFLAGS-tst-qsort.c): Likewise.
19680 (CFLAGS-tst-makecontext2.c): Likewise.
19681 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
19682 (CFLAGS-xnlm_prot.c): Likewise.
19683 (CFLAGS-xrstat.c): Likewise.
19684 (CFLAGS-xyppasswd.c): Likewise.
19685 (CFLAGS-xklm_prot.c): Likewise.
19686 (CFLAGS-xrex.c): Likewise.
19687 (CFLAGS-xsm_inter.c): Likewise.
19688 (CFLAGS-xmount.c): Likewise.
19689 (CFLAGS-xrusers.c): Likewise.
19690 (CFLAGS-xspray.c): Likewise.
19691 (CFLAGS-xnfs_prot.c): Likewise.
19692 (CFLAGS-xrquota.c): Likewise.
19693 (CFLAGS-xkey_prot.c): Likewise.
19694 (CFLAGS-auth_unix.c): Likewise.
19695 (CFLAGS-key_call.c): Likewise.
19696 (CFLAGS-pmap_rmt.c): Likewise.
19697 (CFLAGS-clnt_perr.c): Likewise.
19698 (CFLAGS-openchild.c): Likewise.
19699 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
19700 (CFLAGS-msgsnd.c): Likewise.
19701 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
19702 * time/Makefile (CFLAGS-tzfile.c): Likewise.
19703 (CFLAGS-tzset.c): Likewise.
19704 (CFLAGS-getdate.c): Likewise.
19705 (CFLAGS-test_time.c): Likewise.
19706 (CPPFLAGS-tst-tzname.c): Likewise.
19707 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
19708 (CFLAGS-zic.c): Likewise.
19709 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
19710 (CFLAGS-wcswidth.c): Likewise.
19711 (CFLAGS-wcstol.c): Likewise.
19712 (CFLAGS-wcstoul.c): Likewise.
19713 (CFLAGS-wcstoll.c): Likewise.
19714 (CFLAGS-wcstoull.c): Likewise.
19715 (CFLAGS-wcstod.c): Likewise.
19716 (CFLAGS-wcstold.c): Likewise.
19717 (CFLAGS-wcstof128.c): Likewise.
19718 (CFLAGS-wcstof.c): Likewise.
19719 (CFLAGS-wcstol_l.c): Likewise.
19720 (CFLAGS-wcstoul_l.c): Likewise.
19721 (CFLAGS-wcstoll_l.c): Likewise.
19722 (CFLAGS-wcstoull_l.c): Likewise.
19723 (CFLAGS-wcstod_l.c): Likewise.
19724 (CFLAGS-wcstold_l.c): Likewise.
19725 (CFLAGS-wcstof128_l.c): Likewise.
19726 (CFLAGS-wcstof_l.c): Likewise.
19727 (CPPFLAGS-tst-wchar-h.c): Likewise.
19728 (CPPFLAGS-wcstold_l.c): Likewise.
19730 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
19732 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
19734 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19735 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19737 * manual/tunables.texi (Hardware Capability Tunables): Document
19738 glibc.tune.cached_memopt.
19739 * sysdeps/powerpc/cpu-features.c: New file.
19740 * sysdeps/powerpc/cpu-features.h: New file.
19741 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
19742 _dl_powerpc_cpu_features.
19743 * sysdeps/powerpc/dl-tunables.list: New file.
19744 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
19745 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
19746 (INIT_ARCH): Initialize use_aligned_memopt.
19747 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
19748 IS_IN(rtld))]: Restrict dl_platform_init availability and
19749 initialize CPU features used by tunables.
19750 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
19751 Add memcpy-power8-cached.
19752 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
19753 __memcpy_power8_cached.
19754 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
19755 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
19758 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19760 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
19761 (CFLAGS-noinl-tester.c): Likewise.
19762 (CFLAGS-tst-strlen.c): Likewise.
19763 (CFLAGS-stratcliff.c): Likewise.
19764 (CFLAGS-test-ffs.c): Likewise.
19765 (CFLAGS-tst-inlcall.c): Likewise.
19766 (CFLAGS-tst-xbzero-opt.c): Likewise.
19767 (CFLAGS-memcpy.c): Likewise.
19768 (CFLAGS-wordcopy.c): Likewise.
19770 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19772 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
19773 Store r15 on stack and add cfi rule.
19774 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
19777 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
19780 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
19783 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19785 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19786 Add s_sinf-sse2 and s_sinf-fma.
19787 (CFLAGS-s_sinf-fma.c): New.
19788 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
19789 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
19790 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
19792 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19794 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
19796 2017-12-07 Joseph Myers <joseph@codesourcery.com>
19799 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
19800 part of result to imaginary part of argument if it is zero and the
19801 real part of the argument is not finite.
19802 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
19803 of result to real part of argument if it is zero and the imaginary
19804 part of the argument is not finite.
19806 2017-12-07 Mike FABIAN <mfabian@redhat.com>
19809 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
19810 and to the list of locales to be built for testing.
19811 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
19812 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
19813 and build the collation rules upon that.
19815 2017-12-07 Joseph Myers <joseph@codesourcery.com>
19817 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
19818 * manual/math.texi (Mathematics): Document support for _Float32.
19819 * math/Makefile (test-types): Add float32.
19820 * math/Versions (GLIBC_2.27): Add _Float32 functions.
19821 * stdlib/Versions (GLIBC_2.27): Likewise.
19822 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19823 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19824 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19825 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19826 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19827 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19828 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19829 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19830 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19831 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19832 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19833 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19834 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19835 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19836 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19837 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19838 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19839 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19840 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19841 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19842 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19843 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19845 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19846 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19847 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19848 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19849 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19867 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19868 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19869 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19870 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19871 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19872 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19873 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19874 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19875 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19876 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19877 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19879 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19885 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19886 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19887 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19888 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19889 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19890 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19891 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19892 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19894 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19896 * stdlib/strtof.c: Include <bits/floatn.h>
19897 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
19898 and later undefine as macro. Define as weak alias if
19900 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
19901 and later undefine as macro. Define as weak alias if
19903 * stdlib/strtof_l.c: Include <bits/floatn.h>
19904 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
19905 and later undefine as macro. Define as weak alias if
19907 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
19908 and later undefine as macro. Define as weak alias if
19911 * stdlib/strfromf.c: Include <bits/floatn.h>.
19912 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
19913 and later undefine as macro and define as weak alias.
19915 * math/test-float32.h: New file.
19917 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
19918 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
19919 (libm_alias_float_other_r): Create f32 alias.
19920 (libm_alias_float_r): Use semicolon before call to
19921 libm_alias_float_other_r.
19923 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
19924 second argument to libm_alias_float_other.
19925 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
19926 second argument to libm_alias_float_other.
19927 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
19928 argument to libm_alias_float_other.
19931 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
19932 real part of result for argument 0 + i * NaN.
19933 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
19934 results for tests of 0 + i * NaN.
19936 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19938 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19940 2017-12-06 David S. Miller <davem@davemloft.net>
19942 * sysdeps/sparc/fpu/libm-test-ulps: Update
19943 exp_{downward,towardzero,upward} ulps.
19945 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19947 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
19950 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
19952 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
19954 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
19956 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
19959 2017-12-06 Mike FABIAN <mfabian@redhat.com>
19962 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
19963 and to the list of locales to be built for testing.
19964 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
19965 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
19966 and build the collation rules upon that.
19968 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19970 * NEWS: Add sinf to list of optimized functions.
19972 2017-12-06 Joseph Myers <joseph@codesourcery.com>
19974 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
19975 (__HAVE_FLOAT32X): Likewise.
19976 * manual/math.texi (Mathematics): Document support for _Float64
19978 * math/Makefile (test-types): Add float64 and float32x.
19979 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
19981 * stdlib/Versions (GLIBC_2.27): Likewise.
19982 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19983 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19984 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19985 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19986 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19987 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19988 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19989 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19990 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19991 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19992 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19993 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19994 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19995 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19996 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19997 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19998 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19999 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20000 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20001 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20002 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20003 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
20005 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20006 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20007 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20008 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20009 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
20022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20026 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20027 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20028 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20029 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20030 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20031 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20032 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20033 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20034 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20035 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20036 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20038 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20040 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20042 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20044 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20045 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20046 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20047 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20048 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20049 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20050 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20051 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20053 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20055 * bits/floatn-common.h: Include <bits/long-double.h>.
20056 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20057 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
20058 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20059 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
20060 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20061 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
20062 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20063 (__builtin_huge_valf64): Use __builtin_huge_vall.
20064 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20065 (__builtin_inff64): Use __builtin_infl.
20066 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20067 (__builtin_nanf64): Use __builtin_nanl.
20068 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20069 (__builtin_nansf64): Use __builtin_nansl.
20071 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
20072 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20073 Carlos O'Donnell <carlos@redhat.com>
20075 * elf/dl-tunables.list: Add elision parameters.
20076 * manual/tunables.texi: Add entries about elision tunable.
20077 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
20078 Add callback functions to dynamically enable/disable elision.
20079 Add multiple callbacks functions to set elision parameters.
20080 Deleted __libc_enable_secure check.
20081 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
20082 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
20083 * configure: Regenerated.
20084 * configure.ac: Option enable_lock_elision was deleted.
20085 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
20086 * config.make.in: Remove references to enable_lock_elision.
20087 * manual/install.texi: Elision configure option was removed.
20088 * INSTALL: Regenerated to remove enable_lock_elision.
20090 Disable elision so it can verify error case for destroying a mutex.
20091 * sysdeps/powerpc/nptl/elide.h:
20092 Cleanup ENABLE_LOCK_ELISION check.
20093 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
20094 * sysdeps/s390/configure: Regenerated.
20095 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
20096 * nptl/tst-mutex8.c:
20097 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
20098 * sysdeps/powerpc/powerpc32/sysdep.h:
20099 Deleted all ENABLE_LOCK_ELISION checks.
20100 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20101 * sysdeps/powerpc/sysdep.h: Likewise.
20102 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
20103 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
20104 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20105 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20106 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20107 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
20108 enable-lock-elision.
20110 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20112 * stdlib/strtod.c: Include <bits/floatn.h>.
20113 (BUILD_DOUBLE): New macro.
20114 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20115 (strtof64): Define and later undefine as macro. Define as weak
20116 alias if [!USE_WIDE_CHAR].
20117 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20118 (wcstof64): Define and later undefine as macro. Define as weak
20119 alias if [USE_WIDE_CHAR].
20120 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20121 (strtof32x): Define and later undefine as macro. Define as weak
20122 alias if [!USE_WIDE_CHAR].
20123 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20124 (wcstof32x): Define and later undefine as macro. Define as weak
20125 alias if [USE_WIDE_CHAR].
20126 * stdlib/strtod_l.c: Include <bits/floatn.h>.
20127 (BUILD_DOUBLE): New macro.
20128 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20129 (strtof64_l): Define and later undefine as macro. Define as weak
20130 alias if [!USE_WIDE_CHAR].
20131 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20132 (wcstof64_l): Define and later undefine as macro. Define as weak
20133 alias if [USE_WIDE_CHAR].
20134 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20135 (strtof32x_l): Define and later undefine as macro. Define as weak
20136 alias if [!USE_WIDE_CHAR].
20137 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20138 (wcstof32x_l): Define and later undefine as macro. Define as weak
20139 alias if [USE_WIDE_CHAR].
20141 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20143 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
20144 (reduced): Use ones as double instead of integer.
20146 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
20148 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
20150 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20152 * stdlib/strfromd.c: Include <bits/floatn.h>.
20153 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
20154 and later undefine as macro and define as weak alias.
20155 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
20158 * math/test-float32x.h: New file.
20159 * math/test-float64.h: Likewise.
20161 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
20162 (libm_alias_double_other_r_f64): New macro.
20163 (libm_alias_double_other_r_f32x): Likewise.
20164 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20165 libm_alias_double_other_r_f32x.
20166 (libm_alias_double_r): Use semicolon before call to
20167 libm_alias_double_other_r.
20168 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
20170 (libm_alias_double_other_r_f64): New macro.
20171 (libm_alias_double_other_r_f32x): Likewise.
20172 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20173 libm_alias_double_other_r_f32x.
20175 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
20177 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
20179 (SINF_FUNC): Likewise. Replace floor with simple casts.
20181 2017-12-05 Mike FABIAN <mfabian@redhat.com>
20184 * localedata/Makefile: Add et_EE.UTF-8 to test-input
20185 and to the list of locales to be built for testing.
20186 * localedata/et_EE.UTF-8.in: New file for testing the collation.
20187 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
20188 and build the collation rules upon that.
20190 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
20192 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
20193 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
20194 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
20195 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
20196 instead of __insn__xxx.
20197 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
20198 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
20199 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
20200 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
20201 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
20202 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
20204 2017-12-05 Florian Weimer <fweimer@redhat.com>
20206 Linux: Implement interfaces for memory protection keys
20207 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
20209 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
20210 * support/xunistd.h (xsysconf): Declare.
20211 * support/xraise.c: New file.
20212 * support/xsigaction.c: Likewise.
20213 * support/xsignal.c: Likewise.
20214 * support/xsysconf.c: Likewise.
20215 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
20216 pkey_set, pkey_get, pkey_mprotect.
20217 [misc] (tests): Add tst-pkey.
20218 (tst-pkey): Link with -lpthread.
20219 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
20220 pkey_free, pkey_set, pkey_get, pkey_mprotect.
20221 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
20222 (PKEY_DISABLE_WRITE): Define.
20223 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
20225 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
20226 (SEGV_PKUERR): Add.
20227 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
20228 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
20229 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
20230 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
20232 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
20233 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
20234 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
20235 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
20236 * sysdeps/unix/sysv/linux/**.abilist: Update.
20238 2017-12-05 Florian Weimer <fweimer@redhat.com>
20240 * support/tst-test_compare.c (subprocess): Use long long instead
20241 of long argument for consistent type width across 32-bit and
20242 64-bit architectures.
20243 (do_test): Adjust expected output.
20245 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20247 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
20248 (cosf): Define using libm_alias_float.
20249 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
20250 (fabsf): Define using libm_alias_float.
20251 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
20252 (fmaf): Define using libm_alias_float.
20253 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
20254 (rintf): Define using libm_alias_float.
20255 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
20256 (sinf): Define using libm_alias_float.
20257 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
20258 <libm-alias-float.h>.
20259 (modff): Define using libm_alias_float.
20260 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
20261 <libm-alias-float.h>.
20262 (logbf): Define using libm_alias_float.
20263 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
20264 <libm-alias-float.h>.
20265 (ceilf): Define using libm_alias_float.
20266 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20267 <libm-alias-float.h>.
20268 (copysignf): Define using libm_alias_float.
20269 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
20270 <libm-alias-float.h>.
20271 (floorf): Define using libm_alias_float.
20272 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
20273 <libm-alias-float.h>.
20274 (llrintf): Define using libm_alias_float.
20275 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
20276 <libm-alias-float.h>.
20277 (llroundf): Define using libm_alias_float.
20278 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20279 <libm-alias-float.h>.
20280 (lrintf): Define using libm_alias_float.
20281 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20282 <libm-alias-float.h>.
20283 (lroundf): Define using libm_alias_float.
20284 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
20285 <libm-alias-float.h>.
20286 (nearbyintf): Define using libm_alias_float.
20287 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
20288 <libm-alias-float.h>.
20289 (rintf): Define using libm_alias_float.
20290 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
20291 <libm-alias-float.h>.
20292 (roundf): Define using libm_alias_float.
20293 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
20294 <libm-alias-float.h>.
20295 (truncf): Define using libm_alias_float.
20296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
20297 Include <libm-alias-float.h>.
20298 (ceilf): Define using libm_alias_float.
20299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
20300 Include <libm-alias-float.h>.
20301 (copysignf): Define using libm_alias_float.
20302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
20303 Include <libm-alias-float.h>.
20304 (floorf): Define using libm_alias_float.
20305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
20306 Include <libm-alias-float.h>.
20307 (llrintf): Define using libm_alias_float.
20308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
20309 Include <libm-alias-float.h>.
20310 (llroundf): Define using libm_alias_float.
20311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
20312 Include <libm-alias-float.h>.
20313 (logbf): Define using libm_alias_float.
20314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
20315 Include <libm-alias-float.h>.
20316 (lrintf): Define using libm_alias_float.
20317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
20318 Include <libm-alias-float.h>.
20319 (lroundf): Define using libm_alias_float.
20320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
20321 Include <libm-alias-float.h>.
20322 (modff): Define using libm_alias_float.
20323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
20324 Include <libm-alias-float.h>.
20325 (roundf): Define using libm_alias_float.
20326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
20327 Include <libm-alias-float.h>.
20328 (truncf): Define using libm_alias_float.
20329 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
20330 <libm-alias-float.h>.
20331 (llrintf): Define using libm_alias_float.
20332 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20333 <libm-alias-float.h>.
20334 (llroundf): Define using libm_alias_float.
20335 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
20336 <libm-alias-float.h>.
20337 (ceilf): Define using libm_alias_float.
20338 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
20339 <libm-alias-float.h>.
20340 (floorf): Define using libm_alias_float.
20341 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20342 <libm-alias-float.h>.
20343 (llroundf): Define using libm_alias_float.
20344 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20345 <libm-alias-float.h>.
20346 (lroundf): Define using libm_alias_float.
20347 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
20348 <libm-alias-float.h>.
20349 (roundf): Define using libm_alias_float.
20350 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
20351 <libm-alias-float.h>.
20352 (truncf): Define using libm_alias_float.
20353 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20354 <libm-alias-float.h>.
20355 (copysignf): Define using libm_alias_float.
20356 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
20357 <libm-alias-float.h>.
20358 (llrintf): Define using libm_alias_float.
20359 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20360 <libm-alias-float.h>.
20361 (llroundf): Define using libm_alias_float.
20362 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20363 <libm-alias-float.h>.
20364 (lrintf): Define using libm_alias_float.
20365 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20366 <libm-alias-float.h>.
20367 (lroundf): Define using libm_alias_float.
20368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
20369 <libm-alias-float.h>.
20370 (ceilf): Define using libm_alias_float.
20371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
20372 <libm-alias-float.h>.
20373 (copysignf): Define using libm_alias_float.
20374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
20375 <libm-alias-float.h>.
20376 (cosf): Define using libm_alias_float.
20377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
20378 <libm-alias-float.h>.
20379 (floorf): Define using libm_alias_float.
20380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
20381 <libm-alias-float.h>.
20382 (llrintf): Define using libm_alias_float.
20383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
20384 <libm-alias-float.h>.
20385 (llroundf): Define using libm_alias_float.
20386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
20387 <libm-alias-float.h>.
20388 (logbf): Define using libm_alias_float.
20389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
20390 <libm-alias-float.h>.
20391 (modff): Define using libm_alias_float.
20392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
20393 <libm-alias-float.h>.
20394 (roundf): Define using libm_alias_float.
20395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
20396 <libm-alias-float.h>.
20397 (sinf): Define using libm_alias_float.
20398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
20399 <libm-alias-float.h>.
20400 (truncf): Define using libm_alias_float.
20401 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
20402 <libm-alias-float.h>.
20403 (ceilf): Define using libm_alias_float.
20404 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20405 <libm-alias-float.h>.
20406 (copysignf): Define using libm_alias_float.
20407 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
20408 <libm-alias-float.h>.
20409 (floorf): Define using libm_alias_float.
20410 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20411 <libm-alias-float.h>.
20412 (llrintf): Define using libm_alias_float.
20413 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
20414 <libm-alias-float.h>.
20415 (llroundf): Define using libm_alias_float.
20416 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
20417 <libm-alias-float.h>.
20418 (nearbyintf): Define using libm_alias_float.
20419 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
20420 <libm-alias-float.h>.
20421 (rintf): Define using libm_alias_float.
20422 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
20423 <libm-alias-float.h>.
20424 (roundf): Define using libm_alias_float.
20425 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
20426 <libm-alias-float.h>.
20427 (truncf): Define using libm_alias_float.
20428 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
20429 <libm-alias-float.h>.
20430 (ceilf): Define using libm_alias_float.
20431 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
20432 <libm-alias-float.h>.
20433 (floorf): Define using libm_alias_float.
20434 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20435 <libm-alias-float.h>.
20436 (llroundf): Define using libm_alias_float.
20437 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
20438 <libm-alias-float.h>.
20439 (roundf): Define using libm_alias_float.
20440 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
20441 <libm-alias-float.h>.
20442 (truncf): Define using libm_alias_float.
20443 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20444 <libm-alias-float.h>.
20445 (copysignf): Define using libm_alias_float.
20446 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20447 <libm-alias-float.h>.
20448 (llrintf): Define using libm_alias_float.
20449 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20450 <libm-alias-float.h>.
20451 (llroundf): Define using libm_alias_float.
20452 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
20453 <libm-alias-float.h>.
20454 (cosf): Define using libm_alias_float.
20455 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20456 <libm-alias-float.h>.
20457 (llrintf): Define using libm_alias_float.
20458 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20459 <libm-alias-float.h>.
20460 (llroundf): Define using libm_alias_float.
20461 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
20462 <libm-alias-float.h>.
20463 (sinf): Define using libm_alias_float.
20465 2017-12-04 Florian Weimer <fweimer@redhat.com>
20467 * support/check.h (TEST_COMPARE): Define.
20468 (support_test_compare_failure): Declare.
20469 * support/Makefile (libsupport-routines): Add
20470 support_test_compare_failure.
20471 (tests): Add tst-test_compare.
20472 * support /support_test_compare_failure.c: New file.
20473 * support/tst-test_compare.c: Likewise.
20475 2017-12-04 Mike FABIAN <mfabian@redhat.com>
20478 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
20479 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
20480 available, this rewrite of the collation rules does reproduce
20481 the test file in the same order.
20483 2017-12-04 Mike FABIAN <mfabian@redhat.com>
20486 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
20487 digraphs in the month and day names. Using single code points for
20488 digraphs is deprecated. While there are dedicated Unicode
20489 codepoints, for the digraphs, these are included for backwards
20490 compatibility and modern texts use a sequence of Basic Latin
20491 characters. See: https://www.unicode.org/faq/ligature_digraph.html
20492 This makes the month and day names agree exactly with CLDR now,
20493 CLDR does not use the single code points for the digraphs either.
20495 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
20497 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
20499 2017-12-04 Joseph Myers <joseph@codesourcery.com>
20501 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
20504 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
20506 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
20507 Define only for libc.so.
20509 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
20511 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20512 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
20513 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
20514 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
20515 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20517 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20520 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
20522 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
20525 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
20526 PREINIT_FUNCTION_WEAK is nonzero.
20527 (gmon_initializer): New function. Put procedure label for it in
20528 .init_array section.
20529 (_init): Don't call PREINIT_FUNCTION.
20530 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
20531 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
20532 value when map argument is null.
20534 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
20535 depi instruction from PIC pc-relative sequence.
20536 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
20537 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
20538 (elf_machine_load_address): Likewise.
20539 (elf_machine_runtime_setup): Likewise.
20541 2017-12-02 Joseph Myers <joseph@codesourcery.com>
20543 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
20544 <libm-alias-double.h>.
20545 (logb): Define using libm_alias_double.
20546 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20547 <libm-alias-double.h>.
20548 (copysign): Define using libm_alias_double.
20549 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
20550 <libm-alias-double.h>.
20551 (llrint): Define using libm_alias_double.
20552 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
20553 <libm-alias-double.h>.
20554 (llround): Define using libm_alias_double.
20555 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20556 <libm-alias-double.h>.
20557 (lrint): Define using libm_alias_double.
20558 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20559 <libm-alias-double.h>.
20560 (lround): Define using libm_alias_double.
20561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
20562 Include <libm-alias-double.h>.
20563 (copysign): Define using libm_alias_double.
20564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
20565 Include <libm-alias-double.h>.
20566 (llrint): Define using libm_alias_double.
20567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
20568 Include <libm-alias-double.h>.
20569 (llround): Define using libm_alias_double.
20570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
20571 <libm-alias-double.h>.
20572 (logb): Define using libm_alias_double.
20573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
20574 Include <libm-alias-double.h>.
20575 (lrint): Define using libm_alias_double.
20576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
20577 Include <libm-alias-double.h>.
20578 (lround): Define using libm_alias_double.
20579 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
20580 <libm-alias-double.h>.
20581 (llrint): Define using libm_alias_double.
20582 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20583 <libm-alias-double.h>.
20584 (llround): Define using libm_alias_double.
20585 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20586 <libm-alias-double.h>.
20587 (llround): Define using libm_alias_double.
20588 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20589 <libm-alias-double.h>.
20590 (lround): Define using libm_alias_double.
20591 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20592 <libm-alias-double.h>.
20593 (copysign): Define using libm_alias_double.
20594 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
20595 <libm-alias-double.h>.
20596 (llrint): Define using libm_alias_double.
20597 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20598 <libm-alias-double.h>.
20599 (llround): Define using libm_alias_double.
20600 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20601 <libm-alias-double.h>.
20602 (lrint): Define using libm_alias_double.
20603 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20604 <libm-alias-double.h>.
20605 (lround): Define using libm_alias_double.
20606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
20607 <libm-alias-double.h>.
20608 (copysign): Define using libm_alias_double.
20609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
20610 <libm-alias-double.h>.
20611 (llrint): Define using libm_alias_double.
20613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
20614 <libm-alias-double.h>.
20615 (llround): Define using libm_alias_double.
20616 (lround): Likewise.
20617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
20618 <libm-alias-double.h>.
20619 (logb): Define using libm_alias_double.
20620 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20621 <libm-alias-double.h>.
20622 (copysign): Define using libm_alias_double.
20623 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20624 <libm-alias-double.h>.
20625 (llrint): Define using libm_alias_double.
20627 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
20628 <libm-alias-double.h>.
20629 (llround): Define using libm_alias_double.
20630 (lround): Likewise.
20631 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20632 <libm-alias-double.h>.
20633 (llround): Define using libm_alias_double.
20634 (lround): Likewise.
20635 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20636 <libm-alias-double.h>.
20637 (copysign): Define using libm_alias_double.
20638 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20639 <libm-alias-double.h>.
20640 (llrint): Define using libm_alias_double.
20642 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20643 <libm-alias-double.h>.
20644 (llround): Define using libm_alias_double.
20645 (lround): Likewise.
20646 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
20647 <libm-alias-double.h>.
20648 (llrint): Define using libm_alias_double.
20650 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
20651 <libm-alias-double.h>.
20652 (llround): Define using libm_alias_double.
20653 (lround): Likewise.
20655 2017-12-01 Joseph Myers <joseph@codesourcery.com>
20657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
20658 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
20659 compat symbol based on llround.
20661 * sysdeps/powerpc/power7/fpu/s_logb.c
20662 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
20663 symbol based on __logb, not on logb.
20664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
20665 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
20667 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
20669 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
20670 (rint): Define using libm_alias_double.
20671 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
20672 <libm-alias-double.h>.
20673 (modf): Define using libm_alias_double.
20674 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
20675 <libm-alias-double.h>.
20676 (ceil): Define using libm_alias_double.
20677 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
20678 <libm-alias-double.h>.
20679 (floor): Define using libm_alias_double.
20680 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
20681 <libm-alias-double.h>.
20682 (nearbyint): Define using libm_alias_double.
20683 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
20684 <libm-alias-double.h>.
20685 (rint): Define using libm_alias_double.
20686 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
20687 <libm-alias-double.h>.
20688 (round): Define using libm_alias_double.
20689 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
20690 <libm-alias-double.h>.
20691 (trunc): Define using libm_alias_double.
20692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
20693 <libm-alias-double.h>.
20694 (ceil): Define using libm_alias_double.
20695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
20696 Include <libm-alias-double.h>.
20697 (floor): Define using libm_alias_double.
20698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
20699 <libm-alias-double.h>.
20700 (modf): Define using libm_alias_double.
20701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
20702 Include <libm-alias-double.h>.
20703 (round): Define using libm_alias_double.
20704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
20705 Include <libm-alias-double.h>.
20706 (trunc): Define using libm_alias_double.
20707 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
20708 <libm-alias-double.h>.
20709 (ceil): Define using libm_alias_double.
20710 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
20711 <libm-alias-double.h>.
20712 (floor): Define using libm_alias_double.
20713 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
20714 <libm-alias-double.h>.
20715 (round): Define using libm_alias_double.
20716 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
20717 <libm-alias-double.h>.
20718 (trunc): Define using libm_alias_double.
20719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
20720 <libm-alias-double.h>.
20721 (ceil): Define using libm_alias_double.
20722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
20723 <libm-alias-double.h>.
20724 (floor): Define using libm_alias_double.
20725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
20726 <libm-alias-double.h>.
20727 (modf): Define using libm_alias_double.
20728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
20729 <libm-alias-double.h>.
20730 (round): Define using libm_alias_double.
20731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
20732 <libm-alias-double.h>.
20733 (trunc): Define using libm_alias_double.
20734 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
20735 <libm-alias-double.h>.
20736 (ceil): Define using libm_alias_double.
20737 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
20738 <libm-alias-double.h>.
20739 (floor): Define using libm_alias_double.
20740 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
20741 <libm-alias-double.h>.
20742 (nearbyint): Define using libm_alias_double.
20743 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
20744 <libm-alias-double.h>.
20745 (rint): Define using libm_alias_double.
20746 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
20747 <libm-alias-double.h>.
20748 (round): Define using libm_alias_double.
20749 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
20750 <libm-alias-double.h>.
20751 (trunc): Define using libm_alias_double.
20752 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
20753 <libm-alias-double.h>.
20754 (ceil): Define using libm_alias_double.
20755 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
20756 <libm-alias-double.h>.
20757 (floor): Define using libm_alias_double.
20758 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
20759 <libm-alias-double.h>.
20760 (round): Define using libm_alias_double.
20761 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
20762 <libm-alias-double.h>.
20763 (trunc): Define using libm_alias_double.
20765 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
20766 (fabs): Define using libm_alias_double.
20767 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
20768 (fma): Define using libm_alias_double.
20769 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
20770 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
20771 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
20772 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
20774 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20776 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
20778 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
20779 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
20780 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
20782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
20783 due redirect macro.
20785 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
20787 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
20789 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20791 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
20792 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
20793 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
20794 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
20796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20797 (libm-sysdep_routines): Add s_nearbyintf-generic and
20798 s_nearbyint-generic.
20799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
20801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
20802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
20804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
20806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
20808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
20811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20812 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
20813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
20815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
20816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
20818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
20819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
20820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
20822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20823 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
20824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
20826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
20827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
20829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
20830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
20831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
20833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20834 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
20835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
20837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
20838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
20840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
20841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
20842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
20844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20845 (sysdep_calls): New rule.
20846 (sysdep_routines): Use sysdep_calls as base.
20847 (libm-sysdep_routines): Add generic rule for symbols shared with
20848 libc. Add s_copysign-generic and s_copysign-generic objects.
20849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
20851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
20852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
20854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
20855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
20856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
20858 2017-12-01 Mike FABIAN <mfabian@redhat.com>
20861 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
20862 the list of locales to be built for testing.
20863 * localedata/is_IS.UTF-8.in: New file.
20864 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
20867 2017-12-01 Joseph Myers <joseph@codesourcery.com>
20869 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
20870 <libm-alias-float.h>.
20871 (fabsf): Define using libm_alias_float.
20873 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
20875 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
20877 2017-11-30 Joseph Myers <joseph@codesourcery.com>
20879 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
20880 <libm-alias-float.h>.
20881 (fabsf): Define using libm_alias_float.
20882 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
20883 <libm-alias-float.h>.
20884 (lrintf): Define using libm_alias_float.
20885 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
20886 <libm-alias-float.h>.
20887 (rintf): Define using libm_alias_float.
20889 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
20890 <libm-alias-double.h>.
20891 (fabs): Define using libm_alias_double.
20892 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
20893 <libm-alias-double.h>.
20894 (lrint): Define using libm_alias_double.
20895 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
20896 <libm-alias-double.h>.
20897 (rint): Define using libm_alias_double.
20899 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
20900 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
20901 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
20902 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
20903 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
20904 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
20905 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
20906 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
20907 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
20908 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
20909 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
20910 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
20911 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
20912 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
20913 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
20914 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
20915 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
20916 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
20918 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
20919 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
20920 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
20922 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
20923 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
20924 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
20926 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
20927 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
20928 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
20929 s_expm1_template.c.
20930 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
20931 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
20932 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
20934 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
20935 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
20936 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
20937 s_floor_template.c.
20938 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
20939 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
20940 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
20941 s_frexp_template.c.
20942 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
20943 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
20944 s_lrint_template.c.
20945 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
20946 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
20947 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
20949 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
20950 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
20951 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
20952 s_nearbyint_template.c.
20953 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
20954 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
20955 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
20956 s_remquo_template.c.
20957 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
20958 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
20959 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
20961 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
20962 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
20963 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
20965 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
20966 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
20967 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
20968 s_sincos_template.c.
20969 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
20970 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
20971 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
20973 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
20974 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
20975 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
20977 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
20978 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
20979 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
20980 s_trunc_template.c.
20981 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
20982 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
20983 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
20984 s_atan.c instead of including s_atan.c.
20985 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
20986 s_atanf.c instead of including s_atanf.c.
20987 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
20988 s_atanl.c instead of including s_atanl.c.
20989 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
20990 instead of s_atan.c.
20991 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
20992 instead of s_atanf.c.
20993 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
20994 instead of s_atanl.c.
20996 * scripts/update-copyrights: Do not handle intl/plural.c
20999 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
21002 * configure.ac (BISON): Require to be present.
21003 * configure: Regenerated.
21004 * intl/Makefile (generated): Add plural.c.
21005 [$(BISON) != no]: Make code unconditional.
21006 (plural.c): Change rule to $(objpfx)plural.c.
21007 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
21008 * intl/plural.c: Remove.
21009 * manual/install.texi (Tools for Compilation): Document bison as
21011 * INSTALL: Regenerated.
21013 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21015 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
21016 <libm-alias-double.h>.
21017 (llrint): Define using libm_alias_double.
21018 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
21019 <libm-alias-float.h>.
21020 (llrintf): Define using libm_alias_float.
21021 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
21022 <libm-alias-ldouble.h>.
21023 (llrintl): Define using libm_alias_ldouble.
21025 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
21026 declare_mgen_alias instead of weak_alias.
21027 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
21028 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
21029 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
21031 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21033 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21035 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
21036 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
21037 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
21039 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21040 Add submul_1-generic.
21041 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
21042 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
21043 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
21045 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21046 Add addmul_1-generic.
21047 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
21048 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
21049 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
21051 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21053 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
21054 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
21055 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
21057 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21059 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
21060 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
21061 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
21063 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21065 According to CLDR, collation rules for Serbian and Bosnian
21066 should be the same as for Croatian.
21069 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
21070 and to the list of locales to be built for testing.
21071 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
21072 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
21073 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
21074 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
21076 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21078 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
21079 to make test case pass.
21080 * localedata/hr_HR.UTF-8.in: Add more test strings.
21082 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21084 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
21086 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
21088 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
21089 the list of locales to built for testing.
21090 * localedata/hr_HR.UTF-8.in: New file.
21092 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
21095 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
21097 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
21098 CLDR (except use ligatures for the digraphs, CLDR does not use
21099 the ligatures), add first_workday, some fixes in the date and time
21101 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
21103 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
21104 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
21105 Add int_p_cs_precedes and int_n_cs_precedes.
21106 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
21107 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
21109 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
21110 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
21112 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
21113 and lang_lib. Change postal_fmt.
21115 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
21117 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
21119 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21120 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
21121 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21122 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
21123 * sysdeps/generic/setjmpP.h: New file.
21124 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
21125 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
21126 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
21127 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
21128 Add jmp_buf-ssp.sym.
21129 (tests): Add tst-saved_mask-1.
21131 2017-11-30 Arjun Shankar <arjun@redhat.com>
21135 * malloc/malloc.c (__libc_malloc): Use checked_request2size
21136 instead of request2size.
21138 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
21141 (__lllrint): Remove alias.
21142 (lllrint): Likewise.
21143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
21144 (__lllrintf): Likewise.
21145 (lllrintf): Likewise.
21147 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
21148 <libm-alias-float.h>.
21149 (copysignf): Define using libm_alias_float.
21150 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
21151 <libm-alias-float.h>.
21152 (fabsf): Define using libm_alias_float.
21153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21154 Include <libm-alias-float.h>.
21155 (copysignf): Define using libm_alias_float.
21156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
21157 <libm-alias-float.h>.
21158 (fabsf): Define using libm_alias_float.
21159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
21160 <libm-alias-float.h>.
21161 (fdimf): Define using libm_alias_float.
21162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
21163 <libm-alias-float.h>.
21164 (fmaf): Define using libm_alias_float.
21165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
21166 <libm-alias-float.h>.
21167 (llrintf): Define using libm_alias_float.
21168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
21169 Include <libm-alias-float.h>.
21170 (nearbyintf): Define using libm_alias_float.
21171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
21172 <libm-alias-float.h>.
21173 (rintf): Define using libm_alias_float.
21174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
21175 <libm-alias-float.h>.
21176 (llrintf): Define using libm_alias_float.
21177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
21178 <libm-alias-float.h>.
21179 (lrintf): Define using libm_alias_float.
21180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
21181 <libm-alias-float.h>.
21182 (nearbyintf): Define using libm_alias_float.
21183 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
21184 <libm-alias-float.h>.
21185 (rintf): Define using libm_alias_float.
21186 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
21187 <libm-alias-float.h>.
21188 (ceilf): Define using libm_alias_float.
21189 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
21190 <libm-alias-float.h>.
21191 (floorf): Define using libm_alias_float.
21192 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
21193 <libm-alias-float.h>.
21194 (fmaf): Define using libm_alias_float.
21195 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
21196 <libm-alias-float.h>.
21197 (lrintf): Define using libm_alias_float.
21198 (llrintf): Likewise.
21199 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
21200 <libm-alias-float.h>.
21201 (nearbyintf): Define using libm_alias_float.
21202 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
21203 <libm-alias-float.h>.
21204 (rintf): Define using libm_alias_float.
21205 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
21206 <libm-alias-float.h>.
21207 (truncf): Define using libm_alias_float.
21208 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
21209 <libm-alias-float.h>.
21210 (copysignf): Define using libm_alias_float.
21211 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
21212 <libm-alias-float.h>.
21213 (fabsf): Define using libm_alias_float.
21214 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
21215 <libm-alias-float.h>.
21216 (lrintf): Define using libm_alias_float.
21217 (llrintf): Likewise.
21218 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
21219 <libm-alias-float.h>.
21220 (nearbyintf): Define using libm_alias_float.
21221 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
21222 <libm-alias-float.h>.
21223 (rintf): Define using libm_alias_float.
21225 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21227 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
21228 <libm-alias-double.h>.
21229 (copysign): Define using libm_alias_double.
21230 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
21231 <libm-alias-double.h>.
21232 (fabs): Define using libm_alias_double.
21233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21234 Include <libm-alias-double.h>.
21235 (copysign): Define using libm_alias_double.
21236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
21237 <libm-alias-double.h>.
21238 (fabs): Define using libm_alias_double.
21239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
21240 <libm-alias-double.h>.
21241 (fdim): Define using libm_alias_double.
21242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
21243 <libm-alias-double.h>.
21244 (fma): Define using libm_alias_double.
21245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
21246 <libm-alias-double.h>.
21247 (llrint): Define using libm_alias_double.
21248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
21249 Include <libm-alias-double.h>.
21250 (nearbyint): Define using libm_alias_double.
21251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
21252 <libm-alias-double.h>.
21253 (rint): Define using libm_alias_double.
21254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
21255 <libm-alias-double.h>.
21256 (fabs): Define using libm_alias_double.
21257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
21258 <libm-alias-double.h>.
21259 (llrint): Define using libm_alias_double.
21260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
21261 <libm-alias-double.h>.
21262 (nearbyint): Define using libm_alias_double.
21263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
21264 <libm-alias-double.h>.
21265 (rint): Define using libm_alias_double.
21266 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
21267 <libm-alias-double.h>.
21268 (ceil): Define using libm_alias_double.
21269 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
21270 <libm-alias-double.h>.
21271 (floor): Define using libm_alias_double.
21272 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
21273 <libm-alias-double.h>.
21274 (fma): Define using libm_alias_double.
21275 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
21276 <libm-alias-double.h>.
21277 (lrint): Define using libm_alias_double.
21278 (llrint): Likewise.
21279 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
21280 <libm-alias-double.h>.
21281 (nearbyint): Define using libm_alias_double.
21282 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
21283 <libm-alias-double.h>.
21284 (rint): Define using libm_alias_double.
21285 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
21286 <libm-alias-double.h>.
21287 (trunc): Define using libm_alias_double.
21288 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
21289 <libm-alias-double.h>.
21290 (copysign): Define using libm_alias_double.
21291 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
21292 <libm-alias-double.h>.
21293 (fabs): Define using libm_alias_double.
21294 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
21295 <libm-alias-double.h>.
21296 (lrint): Define using libm_alias_double.
21297 (llrint): Likewise.
21298 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
21299 <libm-alias-double.h>.
21300 (nearbyint): Define using libm_alias_double.
21301 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
21302 <libm-alias-double.h>.
21303 (rint): Define using libm_alias_double.
21306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
21308 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
21310 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21311 SPARC --disable-multi-arch glibc variants.
21313 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
21314 <libm-alias-float.h>.
21315 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21317 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
21318 <libm-alias-float.h>.
21319 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21321 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
21322 <libm-alias-float.h>.
21323 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21325 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
21326 <libm-alias-float.h>.
21327 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21329 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
21330 <libm-alias-float.h>.
21331 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21333 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
21334 <libm-alias-float.h>.
21335 (ceilf): Define using libm_alias_float.
21336 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
21337 <libm-alias-float.h>.
21338 (floorf): Define using libm_alias_float.
21339 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
21340 <libm-alias-float.h>.
21341 (fmaf): Define using libm_alias_float.
21342 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
21343 <libm-alias-float.h>.
21344 (nearbyintf): Define using libm_alias_float.
21345 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
21346 <libm-alias-float.h>.
21347 (rintf): Define using libm_alias_float.
21348 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
21349 <libm-alias-float.h>.
21350 (truncf): Define using libm_alias_float.
21351 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21352 (copysignf): Define using libm_alias_float.
21353 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
21354 (cosf): Define using libm_alias_float.
21355 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21356 (fabsf): Define using libm_alias_float.
21357 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21358 (fmaxf): Define using libm_alias_float.
21359 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
21360 (fminf): Define using libm_alias_float.
21361 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21362 (llrintf): Define using libm_alias_float.
21363 [!__ILP32__] (lrintf): Likewise.
21364 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
21365 (sincosf): Define using libm_alias_float.
21366 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
21367 (sinf): Define using libm_alias_float.
21368 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21369 (lrintf): Define using libm_alias_float.
21371 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
21372 <libm-alias-double.h>.
21373 (atan): Define using libm_alias_double.
21374 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
21375 <libm-alias-double.h>.
21376 (ceil): Define using libm_alias_double.
21377 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
21378 <libm-alias-double.h>.
21379 (floor): Define using libm_alias_double.
21380 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
21381 <libm-alias-double.h>.
21382 (fma): Define using libm_alias_double.
21383 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
21384 <libm-alias-double.h>.
21385 (nearbyint): Define using libm_alias_double.
21386 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
21387 <libm-alias-double.h>.
21388 (rint): Define using libm_alias_double.
21389 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
21390 <libm-alias-double.h>.
21391 (sin): Define using libm_alias_double.
21393 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
21394 <libm-alias-double.h>.
21395 (tan): Define using libm_alias_double.
21396 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
21397 <libm-alias-double.h>.
21398 (trunc): Define using libm_alias_double.
21399 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
21400 (copysign): Define using libm_alias_double.
21401 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
21402 (fabs): Define using libm_alias_double.
21403 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
21404 (fmax): Define using libm_alias_double.
21405 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
21406 (fmin): Define using libm_alias_double.
21407 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
21408 (llrint): Define using libm_alias_double.
21409 [!__ILP32__] (lrint): Likewise.
21410 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
21411 (lrint): Define using libm_alias_double.
21413 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21415 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21416 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
21418 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
21419 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
21420 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
21421 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
21422 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
21423 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21425 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21426 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
21428 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
21429 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
21430 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
21431 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
21432 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
21433 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21435 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21436 (libm-sysdep_routines): Add s_nearbyint-generic and
21437 s_nearbyintf-generic objects.
21438 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
21439 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
21440 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
21441 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
21442 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
21443 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
21445 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21446 Add s_finitef-generic and s_finite-generic objects.
21447 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
21448 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
21449 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
21450 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
21451 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
21452 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
21454 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21455 Add s_isinff-generic and s_isinf-generic objects.
21456 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
21457 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
21458 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
21459 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
21460 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
21461 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21463 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21464 Add s_isnanf-generic and s_isnan-generic objects.
21465 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
21466 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
21467 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
21468 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
21469 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
21470 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21472 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
21474 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
21476 (sysdep_routines): Use sysdep_calls as base.
21477 (libm-sysdep_routines): Add generic rule for symbols shared with
21478 libc. Add s_signbit-generic and s_signbitf-generic objects.
21479 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
21480 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
21481 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
21482 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
21483 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
21484 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21486 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21488 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
21489 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
21490 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
21491 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
21492 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
21493 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
21494 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
21495 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
21496 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
21497 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
21498 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
21499 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
21500 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
21501 libm_alias_float_r.
21502 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
21503 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
21505 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
21506 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
21507 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
21508 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
21509 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
21510 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
21511 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
21512 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
21513 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
21514 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
21516 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
21518 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
21519 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
21520 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
21521 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
21522 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
21523 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
21524 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
21525 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
21526 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
21527 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
21528 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
21529 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
21530 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
21531 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
21532 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
21533 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
21534 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
21535 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
21536 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
21538 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
21539 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
21540 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
21541 * sysdeps/ia64/fpu/w_lgammaf_main.c
21542 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
21543 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
21545 2017-11-28 Mike FABIAN <mfabian@redhat.com>
21546 Alexandre Oliva <aoliva@redhat.com>
21549 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
21550 * localedata/fr_CA.UTF-8.in: New file with test data for backward
21552 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
21554 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
21555 * localedata/locales/de_DE (LC_COLLATE): Likewise.
21556 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
21557 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
21558 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
21559 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
21560 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
21561 instead of “ifdef DIACRIT_BACKWARD”.
21563 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21565 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
21566 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
21567 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
21568 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
21569 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
21570 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
21571 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
21572 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
21573 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
21574 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
21575 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
21576 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
21577 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
21578 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
21579 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
21580 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21581 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
21582 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
21583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21584 ($(have-as-vis3) == yes): Remove conditional.
21585 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
21587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
21589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
21591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
21593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
21595 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
21596 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
21597 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
21598 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
21599 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
21600 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
21601 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
21602 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
21604 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21606 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
21607 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
21608 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
21609 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
21610 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
21611 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
21612 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
21613 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
21614 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
21615 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
21616 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
21617 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
21618 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
21619 libm_alias_double_r.
21620 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
21622 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
21623 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
21624 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
21625 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
21626 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
21627 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
21628 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
21629 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
21630 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
21631 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
21632 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
21634 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
21636 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
21637 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
21638 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
21639 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
21640 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
21641 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
21642 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
21643 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
21644 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
21645 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
21646 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
21647 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
21648 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
21649 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
21650 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
21651 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
21652 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
21653 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
21655 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
21656 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
21657 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
21658 * sysdeps/ia64/fpu/w_lgamma_main.c
21659 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
21660 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
21662 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
21664 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
21665 address of $global$ into %dp register earlier. Use pc-relative
21666 instruction sequence for PIC case.
21668 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21670 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
21671 (asinhf): Define using libm_alias_float.
21672 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
21673 (atanf): Define using libm_alias_float.
21674 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
21675 (cbrtf): Define using libm_alias_float.
21676 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
21677 (ceilf): Define using libm_alias_float.
21678 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21679 (copysignf): Define using libm_alias_float.
21680 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
21681 (expm1f): Define using libm_alias_float.
21682 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
21683 (fabsf): Define using libm_alias_float.
21684 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
21685 (floorf): Define using libm_alias_float.
21686 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21687 (fmaxf): Define using libm_alias_float.
21688 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
21689 (fminf): Define using libm_alias_float.
21690 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
21691 (frexpf): Define using libm_alias_float.
21692 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21693 (llrintf): Define using libm_alias_float.
21694 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
21695 (logbf): Define using libm_alias_float.
21696 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21697 (lrintf): Define using libm_alias_float.
21698 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
21699 (nearbyintf): Define using libm_alias_float.
21700 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
21701 (remquof): Define using libm_alias_float.
21702 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
21703 (rintf): Define using libm_alias_float.
21704 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
21705 (truncf): Define using libm_alias_float.
21706 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
21707 <libm-alias-float.h>.
21708 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21710 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
21711 <libm-alias-float.h>.
21712 (expf): Define using libm_alias_float, or libm_alias_float_other
21714 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
21715 <libm-alias-float.h>.
21716 (log2f): Define using libm_alias_float, or libm_alias_float_other
21718 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
21719 <libm-alias-float.h>.
21720 (logf): Define using libm_alias_float, or libm_alias_float_other
21722 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
21723 <libm-alias-float.h>.
21724 (powf): Define using libm_alias_float, or libm_alias_float_other
21726 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
21727 <libm-alias-float.h>.
21728 (cosf): Define using libm_alias_float.
21729 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
21730 <libm-alias-float.h>.
21731 (sincosf): Define using libm_alias_float.
21732 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
21733 <libm-alias-float.h>.
21734 (sinf): Define using libm_alias_float.
21735 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21736 (fmaxf): Define using libm_alias_float.
21737 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
21738 (fminf): Define using libm_alias_float.
21739 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21740 <libm-alias-float.h>.
21741 (fmaf): Define using libm_alias_float.
21743 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
21744 (asinh): Define using libm_alias_double.
21745 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
21746 (atan): Define using libm_alias_double.
21747 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
21748 (cbrt): Define using libm_alias_double.
21749 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
21750 (ceil): Define using libm_alias_double.
21751 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
21752 (copysign): Define using libm_alias_double.
21753 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
21754 (expm1): Define using libm_alias_double.
21755 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
21756 (fabs): Define using libm_alias_double.
21757 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
21758 (fdim): Define using libm_alias_double.
21759 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
21760 (floor): Define using libm_alias_double.
21761 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
21762 (fmax): Define using libm_alias_double.
21763 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
21764 (fmin): Define using libm_alias_double.
21765 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
21766 (frexp): Define using libm_alias_double.
21767 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
21768 (llrint): Define using libm_alias_double.
21769 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
21770 (logb): Define using libm_alias_double.
21771 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
21772 (lrint): Define using libm_alias_double.
21773 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
21774 (nearbyint): Define using libm_alias_double.
21775 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
21776 (remquo): Define using libm_alias_double.
21777 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
21778 (rint): Define using libm_alias_double.
21779 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
21780 (trunc): Define using libm_alias_double.
21781 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
21782 (fmax): Define using libm_alias_double.
21783 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
21784 (fmin): Define using libm_alias_double.
21785 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
21786 (fma): Define using libm_alias_double.
21788 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
21791 * elf/dl-hwcaps.c (ROUND): Removed.
21792 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
21793 and ELF_NOTE_NEXT_OFFSET.
21794 * elf/dl-load.c (ROUND): Removed.
21795 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21796 * elf/readelflib.c (ROUND): Removed.
21797 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21798 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
21799 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
21800 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
21802 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21804 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21805 [!__fmaf] (fmaf): Define using libm_alias_float.
21807 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
21808 [!__fma] (fma): Define using libm_alias_double.
21809 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
21811 2017-11-28 Mike FABIAN <mfabian@redhat.com>
21814 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
21815 and implement the collation rules for cs from CLDR on top of that.
21816 * Makefile: Add cs_CZ.UTF-8 to test-input.
21817 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
21819 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
21821 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
21823 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21824 Icarus Sparry <icarus.w.sparry@intel.com>
21826 * benchtests/Makefile:Add BENCHSET to allow subsets of
21827 benchmarks to be run.
21828 * benchtests/README: Add documentation for: Running subsets of
21831 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21833 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
21834 range of tests names.
21836 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
21837 result from property and remove "max", min" and "mean" from
21838 required properties based on benchtests/bench-skeleton.c.
21840 2017-11-28 Florian Weimer <fweimer@redhat.com>
21843 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
21844 due to Internet requirement.
21845 * posix/Makefile (tests): Remove tst-getaddrinfo4,
21847 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
21849 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21851 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21852 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
21853 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21854 (sysdep_routines): Add memset-ultra1.
21855 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
21857 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
21858 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
21859 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
21860 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
21861 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
21862 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
21863 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
21864 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21866 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
21868 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
21869 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
21870 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
21871 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
21872 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
21873 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
21874 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
21876 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21877 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
21878 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21879 (sysdep_routines): Add memcpy-ultra1.
21880 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
21881 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
21883 2017-11-28 Joseph Myers <joseph@codesourcery.com>
21885 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
21886 (cfloat_versions): Take function argument without trailing 'f'.
21887 Call libm_alias_float_other.
21888 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
21889 * sysdeps/alpha/fpu/cargf.c: Likewise.
21890 * sysdeps/alpha/fpu/cimagf.c: Likewise.
21891 * sysdeps/alpha/fpu/conjf.c: Likewise.
21892 * sysdeps/alpha/fpu/crealf.c: Likewise.
21893 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
21894 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
21895 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
21896 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
21897 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
21898 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
21899 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
21900 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
21901 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
21902 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
21903 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
21904 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
21905 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
21906 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
21907 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
21908 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
21909 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
21910 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
21911 (clog10f): Use libm_alias_float_other.
21912 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21913 (ceilf): Define using libm_alias_float.
21914 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
21915 (copysignf): Define using libm_alias_float.
21916 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21917 (fabsf): Define using libm_alias_float.
21918 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
21919 (floorf): Define using libm_alias_float.
21920 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
21921 (fmaxf): Define using libm_alias_float.
21922 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
21923 (fminf): Define using libm_alias_float.
21924 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21925 (lrintf): Define using libm_alias_float.
21926 (llrintf): Likewise.
21927 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21928 (lroundf): Define using libm_alias_float.
21929 (llroundf): Likewise.
21930 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
21931 (rintf): Define using libm_alias_float.
21932 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
21933 (truncf): Define using libm_alias_float.
21935 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21936 (ceilf): Define using libm_alias_float.
21937 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
21938 (floorf): Define using libm_alias_float.
21939 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21940 (fmaf): Define using libm_alias_float.
21941 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
21942 (fmaxf): Define using libm_alias_float.
21943 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
21944 (fminf): Define using libm_alias_float.
21945 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
21946 (llrintf): Define using libm_alias_float.
21947 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
21948 (llroundf): Define using libm_alias_float.
21949 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21950 (lrintf): Define using libm_alias_float.
21951 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21952 (lroundf): Define using libm_alias_float.
21953 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
21954 <libm-alias-float.h>.
21955 (nearbyintf): Define using libm_alias_float.
21956 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
21957 (rintf): Define using libm_alias_float.
21958 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
21959 (roundf): Define using libm_alias_float.
21960 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
21961 (truncf): Define using libm_alias_float.
21963 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
21964 (ceil): Define using libm_alias_double.
21965 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
21966 (copysign): Define using libm_alias_double.
21967 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
21968 (fabs): Define using libm_alias_double.
21969 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
21970 (floor): Define using libm_alias_double.
21971 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
21972 (fmax): Define using libm_alias_double.
21973 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
21974 (fmin): Define using libm_alias_double.
21975 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
21976 (lrint): Define using libm_alias_double.
21977 (llrint): Likewise.
21978 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
21979 (lround): Define using libm_alias_double.
21980 (llround): Likewise.
21981 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
21982 (rint): Define using libm_alias_double.
21983 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
21984 (trunc): Define using libm_alias_double.
21986 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
21987 (libm_alias_double_r): Add semicolon after weak_alias call.
21989 2017-11-27 Joseph Myers <joseph@codesourcery.com>
21991 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
21992 (ceil): Define using libm_alias_double.
21993 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
21994 (floor): Define using libm_alias_double.
21995 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
21996 (fma): Define using libm_alias_double.
21997 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
21998 (fmax): Define using libm_alias_double.
21999 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
22000 (fmin): Define using libm_alias_double.
22001 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
22002 (llrint): Define using libm_alias_double.
22003 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
22004 (llround): Define using libm_alias_double.
22005 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
22006 (lrint): Define using libm_alias_double.
22007 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
22008 (lround): Define using libm_alias_double.
22009 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
22010 (nearbyint): Define using libm_alias_double.
22011 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
22012 (rint): Define using libm_alias_double.
22013 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
22014 (round): Define using libm_alias_double.
22015 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
22016 (trunc): Define using libm_alias_double.
22018 2017-11-27 Florian Weimer <fweimer@redhat.com>
22020 * sysdeps/unix/sysv/linux/mlock2.c: New file.
22021 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
22022 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
22023 (tests): Add tst-mlock2.
22024 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
22025 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
22026 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
22027 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
22028 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
22029 for mlock. Document mlock2.
22031 2017-11-27 Joseph Myers <joseph@codesourcery.com>
22033 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
22034 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
22036 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
22038 * sysdeps/x86/Makeconfig: New file.
22039 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
22040 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22041 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
22042 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22043 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22044 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22045 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
22047 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22048 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22049 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22050 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22051 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22052 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22053 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22054 * manual/math.texi (Mathematics): Document support for _Float64x.
22055 * math/Versions (GLIBC_2.27): Add _Float64x functions.
22056 * stdlib/Versions (GLIBC_2.27): Likewise.
22057 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22058 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22059 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22060 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22061 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22062 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22063 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22064 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22065 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22066 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22067 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22068 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22073 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22074 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22075 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22076 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22077 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22078 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22079 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22080 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22081 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22082 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22083 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22084 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22085 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22086 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22088 2017-11-27 Andreas Schwab <schwab@suse.de>
22090 * elf/Makefile (dl-routines): Add dl-sort-maps.
22091 * elf/dl-sort-maps.c: New file.
22092 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
22093 (_dl_sort_maps): Declare.
22094 * elf/dl-fini.c (_dl_sort_fini): Remove.
22095 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
22096 * elf/dl-close.c (_dl_close_worker): Likewise.
22097 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
22099 * elf/dl-open.c (dl_open_worker): Likewise.
22101 2017-11-24 Joseph Myers <joseph@codesourcery.com>
22103 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
22104 using libm_alias_float128.
22105 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
22107 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
22109 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
22110 (setpayloadsigf128): Likewise.
22111 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
22113 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
22116 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
22117 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
22118 -mfloat128 to CFLAGS.
22120 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
22122 (CFLAGS-libm-test-support-float64x.c): New variable.
22123 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
22124 $(f128-loader-link) to gnulib-tests.
22126 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
22127 (libm_alias_float128_other_r): If
22128 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
22130 (libm_alias_float128_r): Add semicolon after weak_alias call.
22131 * sysdeps/generic/libm-alias-ldouble.h
22132 (libm_alias_ldouble_other_r_f128): New macro.
22133 (libm_alias_ldouble_other_r_f64x): Likewise.
22134 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22135 and libm_alias_ldouble_other_r_f64x.
22136 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
22137 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
22138 (libm_alias_ldouble_other_r_f128): New macro.
22139 (libm_alias_ldouble_other_r_f64x): Likewise.
22140 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22141 and libm_alias_ldouble_other_r_f64x.
22143 * stdlib/strfroml.c: Always include <stdlib.h>.
22144 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
22145 undefine as macro and define as weak alias.
22146 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
22147 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
22149 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
22150 Define and later undefine as macro and define as weak alias.
22152 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22153 Define and later undefine as macro. Define as weak alias if
22155 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
22156 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22157 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
22158 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22159 Define and later undefine as macro. Define as weak alias if
22161 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
22162 Define and later undefine as macro. Define as weak alias if
22164 * sysdeps/ieee754/float128/strtof128_l.c
22165 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
22166 Define and later undefine as macro. Define as weak alias if
22168 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
22169 Define and later undefine as macro. Define as weak alias if
22171 * sysdeps/ieee754/ldbl-128/strtold_l.c
22172 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22173 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22174 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22175 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22176 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
22177 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22178 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22179 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22180 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22181 * sysdeps/ieee754/ldbl-96/strtold_l.c
22182 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22183 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22184 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22185 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22187 * math/test-float64x.h: New file.
22188 * math/Makefile (type-float64x-yes): New variable.
22189 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
22191 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
22192 function-like macro.
22193 (min_of_type_): Likewise.
22194 (min_of_type_l): Likewise.
22195 (min_of_type_f128): Likewise.
22196 (min_of_type): Pass () as last argument of __MATH_TG.
22198 * stdlib/tst-strtod-round-skeleton.c
22199 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
22202 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
22203 for combinations of long double with _Float64 and _Float64x.
22205 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
22206 (__DECL_SIMD_cosf32): Likewise.
22207 (__DECL_SIMD_cosf64): Likewise.
22208 (__DECL_SIMD_cosf32x): Likewise.
22209 (__DECL_SIMD_cosf64x): Likewise.
22210 (__DECL_SIMD_cosf128x): Likewise.
22211 (__DECL_SIMD_sinf16): Likewise.
22212 (__DECL_SIMD_sinf32): Likewise.
22213 (__DECL_SIMD_sinf64): Likewise.
22214 (__DECL_SIMD_sinf32x): Likewise.
22215 (__DECL_SIMD_sinf64x): Likewise.
22216 (__DECL_SIMD_sinf128x): Likewise.
22217 (__DECL_SIMD_sincosf16): Likewise.
22218 (__DECL_SIMD_sincosf32): Likewise.
22219 (__DECL_SIMD_sincosf64): Likewise.
22220 (__DECL_SIMD_sincosf32x): Likewise.
22221 (__DECL_SIMD_sincosf64x): Likewise.
22222 (__DECL_SIMD_sincosf128x): Likewise.
22223 (__DECL_SIMD_logf16): Likewise.
22224 (__DECL_SIMD_logf32): Likewise.
22225 (__DECL_SIMD_logf64): Likewise.
22226 (__DECL_SIMD_logf32x): Likewise.
22227 (__DECL_SIMD_logf64x): Likewise.
22228 (__DECL_SIMD_logf128x): Likewise.
22229 (__DECL_SIMD_expf16): Likewise.
22230 (__DECL_SIMD_expf32): Likewise.
22231 (__DECL_SIMD_expf64): Likewise.
22232 (__DECL_SIMD_expf32x): Likewise.
22233 (__DECL_SIMD_expf64x): Likewise.
22234 (__DECL_SIMD_expf128x): Likewise.
22235 (__DECL_SIMD_powf16): Likewise.
22236 (__DECL_SIMD_powf32): Likewise.
22237 (__DECL_SIMD_powf64): Likewise.
22238 (__DECL_SIMD_powf32x): Likewise.
22239 (__DECL_SIMD_powf64x): Likewise.
22240 (__DECL_SIMD_powf128x): Likewise.
22242 * stdlib/Versions (libc): Move entries for wcstof128 and
22243 wcstof128_l to ....
22244 * wcsmbs/Versions (libc): ... here.
22245 Include <float128-abi.h>.
22247 2017-11-24 Florian Weimer <fweimer@redhat.com>
22249 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22250 bits/mman-shared.h.
22251 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
22252 <bits/mman-shared.h>.
22253 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
22255 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
22256 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
22257 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
22258 <bits/mman-shared.h>.
22260 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22263 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
22264 posix_memalign/free.
22265 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
22267 2017-11-22 Mike FABIAN <mfabian@redhat.com>
22270 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
22271 and implement the collation rules for pl from CLDR on top of that.
22272 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
22273 of locales to be built for testing.
22274 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
22276 2017-11-23 Joseph Myers <joseph@codesourcery.com>
22278 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
22279 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
22280 libm_alias_ldouble_other.
22281 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
22282 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
22283 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
22284 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
22285 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
22286 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
22287 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
22288 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
22289 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
22290 libm_alias_ldouble_r.
22291 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
22292 libm_alias_ldouble_other.
22293 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
22294 (log10l): Likewise.
22295 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
22296 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
22297 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
22298 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
22299 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
22300 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
22301 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
22302 (atan2l): Likewise.
22303 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
22304 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
22305 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
22306 libm_alias_ldouble.
22307 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
22309 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
22310 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
22311 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
22313 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
22314 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
22315 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
22316 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
22317 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
22318 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
22319 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
22320 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
22321 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
22322 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
22323 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
22324 libm_alias_ldouble.
22325 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
22326 libm_alias_ldouble_other.
22327 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
22328 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
22329 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
22330 libm_alias_ldouble.
22331 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
22332 libm_alias_ldouble_other.
22333 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
22334 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
22335 * sysdeps/ia64/fpu/w_lgammal_main.c
22336 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
22337 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
22339 2017-11-23 Florian Weimer <fweimer@redhat.com>
22341 * malloc/malloc.c (tcache_thread_shutdown): Rename from
22342 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
22343 alike. Remove freeres marker.
22344 * malloc/arena.c (arena_thread_freeres): Call
22345 tcache_thread_shutdown.
22347 2017-11-23 Florian Weimer <fweimer@redhat.com>
22350 Export nscd hash function as __nss_hash.
22351 * include/nss.h (__nss_hash): Declare.
22352 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
22354 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
22355 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
22357 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
22358 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
22359 * nss/Makefiles (routines): Add nss_hash.
22360 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
22361 * nss/nss_hash.c: Rename from nis/nis_hash.c.
22362 (__nss_hash): Rename from __nis_hash. Define hidden alias.
22363 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
22365 2017-11-23 Florian Weimer <fweimer@redhat.com>
22368 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
22369 Return error code, not -1.
22370 * signal/tst-sigwait-eintr.c: New file.
22371 * signal/Makefile (tests): Add tst-sigwait-eintr.
22373 2017-11-23 Florian Weimer <fweimer@redhat.com>
22375 Linux: Add memfd_create system call wrapper
22376 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
22378 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
22379 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
22380 [__USE_GNU] (memfd_create): Declare.
22381 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
22382 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
22383 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
22384 * sysdeps/unix/sysv/linux/**.abilist: Update.
22385 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
22387 2017-11-22 Joseph Myers <joseph@codesourcery.com>
22389 * localedata/gen-locale.sh: Fix typo in variable name.
22391 * resolv/res_debug.c (p_secstodate): Condition definition on
22392 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
22393 directly as __p_secstodate, and as a compat symbol. Do not use
22394 libresolv_hidden_def.
22395 * resolv/resolv.h (p_secstodate): Remove macro and function
22397 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
22398 using p_secstodate.
22399 * include/resolv.h (__p_secstodate): Do not use
22400 libresolv_hidden_proto.
22401 * resolv/Makefile (tests): Move tst-p_secstodate to ....
22402 (tests-internal): ... here.
22403 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
22404 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
22405 and declare and use __p_secstodate and use compat_symbol_reference
22407 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
22408 implementation returning 77.
22411 * resolv/res_debug.c: Include <libc-diag.h>.
22412 (p_secstodate): Assert time_t at least as wide as u_long. On
22413 overflow, use integer seconds since the epoch as output, or use
22414 "<overflow>" as output and set errno to EOVERFLOW if integer
22415 seconds since the epoch would be 14 or more characters.
22416 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
22418 * resolv/tst-p_secstodate.c: New file.
22419 * resolv/Makefile (tests): Add tst-p_secstodate.
22420 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
22422 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
22423 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
22424 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
22426 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
22428 * posix/regcomp.c (init_word_char): Add comments.
22430 2017-11-22 Joseph Myers <joseph@codesourcery.com>
22433 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
22434 strlen to compute length of ut_user and set trailing NUL byte of
22437 2017-11-21 Mike FABIAN <mfabian@redhat.com>
22440 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
22441 using “copy "iso14651_t1"” and then implementing the
22442 collation rules for lv from CLDR on top of that.
22443 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
22444 of locales to be built for testing.
22445 * lv_LV.UTF-8.in: New file with test data to test the Latvian
22448 2017-11-21 Joseph Myers <joseph@codesourcery.com>
22450 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22451 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
22452 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
22453 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
22454 [__USE_MISC] (MADV_HWPOISON): New macro.
22455 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
22457 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22459 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
22460 -Wmissing-braces on GCC 4.9.
22462 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22464 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
22465 * sysdeps/s390/s390-32/start.S (_start): Likewise
22466 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
22467 (thread_start): Likewise.
22468 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
22469 (thread_start): Likewise.
22470 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
22471 (__makecontext_ret): Likewise.
22472 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
22473 (__makecontext_ret): Likewise.
22475 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
22477 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
22478 __wcschrnul): Remove attribute_hidden.
22480 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
22482 regex: don't assume uint64_t or uint32_t
22483 This avoids -Werror=overflow errors for 32-bit systems in
22484 the 64-bit case. Problem reported by Joseph Myers in:
22485 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
22486 Also, when this code is used in Gnulib it ports to platforms
22487 that lack uint64_t and uint32_t. The C standard doesn't guarantee
22488 them, and on some 32-bit compilers there is no uint64_t.
22489 Problem reported by Gianluigi Tiesi in:
22490 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
22491 * posix/regcomp.c (init_word_char): Don't assume that the types
22492 uint64_t and uint32_t exist. Adapted from Gnulib patch
22493 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
22494 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
22496 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
22498 * sysdeps/aarch64/memset-reg.h: New file.
22499 * sysdeps/aarch64/memset.S: Use it.
22500 (__memset): Rename to MEMSET macro.
22501 [ZVA_MACRO]: Use zva_macro.
22502 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
22503 Add memset_generic and memset_falkor.
22504 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
22505 (__libc_ifunc_impl_list): Add memset ifuncs.
22506 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
22507 local variable zva_size.
22508 * sysdeps/aarch64/multiarch/memset.c: New file.
22509 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
22510 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
22511 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
22512 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
22513 (DCZID_DZP_MASK): New macro.
22514 (DCZID_BS_MASK): Likewise.
22515 (init_cpu_features): Read and set zva_size.
22516 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
22517 (struct cpu_features): New member zva_size.
22519 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
22520 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
22521 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
22523 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
22524 backwards. Fix timing computation.
22525 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
22526 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
22527 on memset by N at a time. Fix timing computation.
22529 2017-11-20 Florian Weimer <fweimer@redhat.com>
22531 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
22532 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
22534 2017-11-19 Florian Weimer <fweimer@redhat.com>
22536 manual: Document mprotect
22537 * manual/memory.texi (Memory Protection): New section.
22538 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
22539 documentation of PROT_* flags and reference the Memory Protection
22542 2017-11-19 Florian Weimer <fweimer@redhat.com>
22544 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
22545 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
22546 (Scatter-Gather): ... to here. Remove misleading comment.
22548 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
22550 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
22553 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
22554 when /proc/<pid>/setgroups does not exist.
22556 2017-11-18 Florian Weimer <fweimer@redhat.com>
22558 * sysdeps/unix/sysv/linux/tst-ttyname.c
22559 (become_root_in_mount_ns): Remove.
22560 (do_in_chroot_1): Call support_enter_mount_namespace.
22561 (do_in_chroot_2): Likewise.
22562 (do_test): Call support_become_root early.
22564 2017-11-18 Florian Weimer <fweimer@redhat.com>
22566 * support/namespace.h (support_enter_mount_namespace): Declare.
22567 * support/support_enter_mount_namespace.c: New file.
22568 * support/Makefile (libsupport-routines): Add
22569 support_enter_mount_namespace.
22571 2017-11-18 Florian Weimer <fweimer@redhat.com>
22573 * support/temp_file.c (support_create_temp_directory): Use
22574 test_dir and do not rely on the presence of the XXXXXX suffix.
22575 * support/temp_file.h (support_create_temp_directory): Update
22577 * support/tst-xreadlink.c (do_test): Adjust.
22578 * support/support_chroot.c (support_chroot_create): Likewise.
22580 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22582 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
22584 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
22587 2017-11-17 Joseph Myers <joseph@codesourcery.com>
22589 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22590 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22591 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22592 (ceill): Define using libm_alias_ldouble.
22593 * sysdeps/x86_64/fpu/s_copysignl.S: Include
22594 <libm-alias-ldouble.h>.
22595 (copysignl): Define using libm_alias_ldouble.
22596 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22597 (fabsl): Define using libm_alias_ldouble.
22598 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22599 (floorl): Define using libm_alias_ldouble.
22600 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22601 (fmaxl): Define using libm_alias_ldouble.
22602 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22603 (fminl): Define using libm_alias_ldouble.
22604 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22605 (llrintl): Define using libm_alias_ldouble.
22606 (lrintl): Likewise.
22607 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
22608 <libm-alias-ldouble.h>.
22609 (nearbyintl): Define using libm_alias_ldouble.
22610 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22611 (truncl): Define using libm_alias_ldouble.
22612 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
22613 <libm-alias-ldouble.h>.
22614 (lrintl): Define using libm_alias_ldouble.
22616 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
22617 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
22618 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
22619 (asinhl): Define using libm_alias_ldouble.
22620 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
22621 (atanl): Define using libm_alias_ldouble.
22622 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
22623 (cbrtl): Define using libm_alias_ldouble.
22624 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
22625 (ceill): Define using libm_alias_ldouble.
22626 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
22627 (copysignl): Define using libm_alias_ldouble.
22628 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
22629 (fabsl): Define using libm_alias_ldouble.
22630 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
22631 (floorl): Define using libm_alias_ldouble.
22632 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22633 (fmaxl): Define using libm_alias_ldouble.
22634 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22635 (fminl): Define using libm_alias_ldouble.
22636 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
22637 (frexpl): Define using libm_alias_ldouble.
22638 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
22639 (llrintl): Define using libm_alias_ldouble.
22640 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
22641 (logbl): Define using libm_alias_ldouble.
22642 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
22643 (lrintl): Define using libm_alias_ldouble.
22644 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
22645 (nearbyintl): Define using libm_alias_ldouble.
22646 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
22647 (nextafterl): Define using libm_alias_ldouble.
22648 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
22649 (remquol): Define using libm_alias_ldouble.
22650 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
22651 (rintl): Define using libm_alias_ldouble.
22652 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
22653 (truncl): Define using libm_alias_ldouble.
22654 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
22655 (fmaxl): Define using libm_alias_ldouble.
22656 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
22657 (fminl): Define using libm_alias_ldouble.
22659 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
22660 to C syntax instead of availability and properties of types.
22661 * bits/floatn.h [!__ASSEMBLER]: Likewise.
22662 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
22663 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
22664 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
22665 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
22666 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
22668 2017-11-17 Florian Weimer <fweimer@redhat.com>
22670 support_become_root: Enable file creation in namespaces.
22671 * support/support_become_root.c (setup_mapping): New function.
22672 (support_become_root): Call it.
22674 2017-11-17 Joseph Myers <joseph@codesourcery.com>
22676 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
22679 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22681 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
22682 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
22684 2017-11-16 Joseph Myers <joseph@codesourcery.com>
22686 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
22688 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
22691 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
22693 * INSTALL: Fix botched up regeneration.
22695 * NEWS: Update sourceare link to https.
22696 * configure.ac: Likewise.
22697 * crypt/md5test-giant.c: Likewise.
22698 * dlfcn/bug-atexit1.c: Likewise.
22699 * dlfcn/bug-atexit2.c: Likewise.
22700 * localedata/README: Likewise.
22701 * malloc/tst-mallocfork.c: Likewise.
22702 * manual/install.texi: Likewise.
22703 * nptl/tst-pthread-getattr.c: Likewise.
22704 * stdio-common/tst-fgets.c: Likewise.
22705 * stdio-common/tst-fwrite.c: Likewise.
22706 * sunrpc/Makefile: Likewise.
22707 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
22708 * wcsmbs/tst-mbrtowc2.c: Likewise.
22709 * configure: Regenerate.
22710 * INSTALL: Regenerate.
22712 2017-11-15 Martin Sebor <msebor@redhat.com>
22714 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
22715 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
22716 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
22718 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22721 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
22722 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
22725 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
22726 Defer is_pty check until end of the function.
22727 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22730 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
22731 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
22732 (ttyname): Likewise.
22733 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
22734 (__ttyname_r): Likewise.
22736 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
22739 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
22741 * manual/terminal.texi (Is It a Terminal):
22742 Mention ENODEV for ttyname and ttyname_r.
22744 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22746 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
22747 constant and macro.
22749 * sysdeps/unix/sysv/linux/bits/mman-linux.h
22750 [__USE_MISC] (MADV_WIPEONFORK): New macro.
22751 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22752 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22753 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
22754 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22756 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22758 * signal/sigrelse.c (sigrelse): Optimize implementation.
22760 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
22761 (__sigpause): Rely on __sigsuspend to implement single thread
22762 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
22764 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22766 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22767 kernel version to 4.14.
22769 2017-11-15 Steve Ellcey <sellcey@cavium.com>
22772 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
22773 Check if ifname is too long.
22775 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22777 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
22779 2017-11-15 Mike FABIAN <mfabian@redhat.com>
22781 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
22782 was accidentally lost.
22784 2017-11-15 Mike FABIAN <mfabian@redhat.com>
22786 * localedata/locales/az_IR: Add standard copyright header.
22788 2017-11-15 Florian Weimer <fweimer@redhat.com>
22791 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
22792 not just the top one. Output a new "subheaps" statistic.
22794 2017-11-15 Florian Weimer <fweimer@redhat.com>
22797 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
22798 under the per-arena lock.
22799 * malloc/Makefile (tests): Add tst-malloc_info.
22800 (tst-malloc_info): Link with libpthread.
22801 * malloc/tst-malloc_info.c: New file.
22803 2017-11-15 Joseph Myers <joseph@codesourcery.com>
22806 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
22807 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
22808 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
22809 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
22810 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
22811 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
22812 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
22813 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
22814 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
22815 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
22816 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
22817 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
22818 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
22819 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
22820 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
22821 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
22822 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
22823 (__floating_type): Likewise.
22824 (__real_integer_type): Likewise.
22825 (__complex_integer_type): Likewise.
22826 (__expr_is_real): Likewise.
22827 (__tgmath_real_type_sub): Likewise.
22828 (__tgmath_real_type): Likewise.
22829 (__tgmath_complex_type_sub): Likewise.
22830 (__tgmath_complex_type): Likewise.
22831 (__TGMATH_F128): Likewise.
22832 (__TGMATH_CF128): Likewise.
22833 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
22835 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
22836 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
22838 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
22840 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
22841 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
22842 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
22843 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
22845 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
22846 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
22848 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
22849 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
22850 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
22852 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
22853 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
22854 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
22858 2017-11-14 Joseph Myers <joseph@codesourcery.com>
22860 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
22861 for stpncpy calls for GCC 8.
22862 (test_strncat): Disable -Wstringop-truncation warning for strncat
22863 calls for GCC 8. Disable -Wstringop-overflow= warning for one
22864 strncat call for GCC 7.
22865 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
22867 (test_memcmp): Use memcpy instead of strncpy for calls not copying
22870 * string/bug-strncat1.c: Include <libc-diag.h>.
22871 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
22873 2017-11-13 Claude Paroz <claude@2xlibre.net>
22876 * localedata/locales/aa_DJ: Improved readibility by replacing
22877 <Uxxxx> sequences in the ASCII printable range by their ASCII
22878 character equivalents.
22879 * localedata/locales/aa_ER: Likewise.
22880 * localedata/locales/aa_ER@saaho: Likewise.
22881 * localedata/locales/aa_ET: Likewise.
22882 * localedata/locales/af_ZA: Likewise.
22883 * localedata/locales/agr_PE: Likewise.
22884 * localedata/locales/ak_GH: Likewise.
22885 * localedata/locales/am_ET: Likewise.
22886 * localedata/locales/anp_IN: Likewise.
22887 * localedata/locales/ar_AE: Likewise.
22888 * localedata/locales/ar_BH: Likewise.
22889 * localedata/locales/ar_DZ: Likewise.
22890 * localedata/locales/ar_EG: Likewise.
22891 * localedata/locales/ar_IN: Likewise.
22892 * localedata/locales/ar_IQ: Likewise.
22893 * localedata/locales/ar_JO: Likewise.
22894 * localedata/locales/ar_KW: Likewise.
22895 * localedata/locales/ar_LB: Likewise.
22896 * localedata/locales/ar_LY: Likewise.
22897 * localedata/locales/ar_MA: Likewise.
22898 * localedata/locales/ar_OM: Likewise.
22899 * localedata/locales/ar_QA: Likewise.
22900 * localedata/locales/ar_SA: Likewise.
22901 * localedata/locales/ar_SD: Likewise.
22902 * localedata/locales/ar_SS: Likewise.
22903 * localedata/locales/ar_SY: Likewise.
22904 * localedata/locales/ar_TN: Likewise.
22905 * localedata/locales/ar_YE: Likewise.
22906 * localedata/locales/as_IN: Likewise.
22907 * localedata/locales/ast_ES: Likewise.
22908 * localedata/locales/ayc_PE: Likewise.
22909 * localedata/locales/az_AZ: Likewise.
22910 * localedata/locales/az_IR: Likewise.
22911 * localedata/locales/be_BY: Likewise.
22912 * localedata/locales/be_BY@latin: Likewise.
22913 * localedata/locales/bem_ZM: Likewise.
22914 * localedata/locales/ber_DZ: Likewise.
22915 * localedata/locales/ber_MA: Likewise.
22916 * localedata/locales/bg_BG: Likewise.
22917 * localedata/locales/bhb_IN: Likewise.
22918 * localedata/locales/bho_IN: Likewise.
22919 * localedata/locales/bi_VU: Likewise.
22920 * localedata/locales/bn_BD: Likewise.
22921 * localedata/locales/bn_IN: Likewise.
22922 * localedata/locales/bo_CN: Likewise.
22923 * localedata/locales/bo_IN: Likewise.
22924 * localedata/locales/br_FR: Likewise.
22925 * localedata/locales/brx_IN: Likewise.
22926 * localedata/locales/bs_BA: Likewise.
22927 * localedata/locales/byn_ER: Likewise.
22928 * localedata/locales/ca_AD: Likewise.
22929 * localedata/locales/ca_ES: Likewise.
22930 * localedata/locales/ca_FR: Likewise.
22931 * localedata/locales/ca_IT: Likewise.
22932 * localedata/locales/ce_RU: Likewise.
22933 * localedata/locales/chr_US: Likewise.
22934 * localedata/locales/cmn_TW: Likewise.
22935 * localedata/locales/crh_UA: Likewise.
22936 * localedata/locales/cs_CZ: Likewise.
22937 * localedata/locales/csb_PL: Likewise.
22938 * localedata/locales/cv_RU: Likewise.
22939 * localedata/locales/cy_GB: Likewise.
22940 * localedata/locales/da_DK: Likewise.
22941 * localedata/locales/de_AT: Likewise.
22942 * localedata/locales/de_BE: Likewise.
22943 * localedata/locales/de_CH: Likewise.
22944 * localedata/locales/de_DE: Likewise.
22945 * localedata/locales/de_IT: Likewise.
22946 * localedata/locales/de_LI: Likewise.
22947 * localedata/locales/de_LU: Likewise.
22948 * localedata/locales/doi_IN: Likewise.
22949 * localedata/locales/dv_MV: Likewise.
22950 * localedata/locales/dz_BT: Likewise.
22951 * localedata/locales/el_CY: Likewise.
22952 * localedata/locales/el_GR: Likewise.
22953 * localedata/locales/en_AG: Likewise.
22954 * localedata/locales/en_AU: Likewise.
22955 * localedata/locales/en_BW: Likewise.
22956 * localedata/locales/en_CA: Likewise.
22957 * localedata/locales/en_DK: Likewise.
22958 * localedata/locales/en_GB: Likewise.
22959 * localedata/locales/en_HK: Likewise.
22960 * localedata/locales/en_IE: Likewise.
22961 * localedata/locales/en_IL: Likewise.
22962 * localedata/locales/en_IN: Likewise.
22963 * localedata/locales/en_NG: Likewise.
22964 * localedata/locales/en_NZ: Likewise.
22965 * localedata/locales/en_PH: Likewise.
22966 * localedata/locales/en_SG: Likewise.
22967 * localedata/locales/en_US: Likewise.
22968 * localedata/locales/en_ZA: Likewise.
22969 * localedata/locales/en_ZM: Likewise.
22970 * localedata/locales/en_ZW: Likewise.
22971 * localedata/locales/eo: Likewise.
22972 * localedata/locales/es_AR: Likewise.
22973 * localedata/locales/es_BO: Likewise.
22974 * localedata/locales/es_CL: Likewise.
22975 * localedata/locales/es_CO: Likewise.
22976 * localedata/locales/es_CR: Likewise.
22977 * localedata/locales/es_CU: Likewise.
22978 * localedata/locales/es_DO: Likewise.
22979 * localedata/locales/es_EC: Likewise.
22980 * localedata/locales/es_ES: Likewise.
22981 * localedata/locales/es_GT: Likewise.
22982 * localedata/locales/es_HN: Likewise.
22983 * localedata/locales/es_MX: Likewise.
22984 * localedata/locales/es_NI: Likewise.
22985 * localedata/locales/es_PA: Likewise.
22986 * localedata/locales/es_PE: Likewise.
22987 * localedata/locales/es_PR: Likewise.
22988 * localedata/locales/es_PY: Likewise.
22989 * localedata/locales/es_SV: Likewise.
22990 * localedata/locales/es_US: Likewise.
22991 * localedata/locales/es_UY: Likewise.
22992 * localedata/locales/es_VE: Likewise.
22993 * localedata/locales/et_EE: Likewise.
22994 * localedata/locales/eu_ES: Likewise.
22995 * localedata/locales/eu_ES@euro: Likewise.
22996 * localedata/locales/fa_IR: Likewise.
22997 * localedata/locales/ff_SN: Likewise.
22998 * localedata/locales/fi_FI: Likewise.
22999 * localedata/locales/fil_PH: Likewise.
23000 * localedata/locales/fo_FO: Likewise.
23001 * localedata/locales/fr_BE: Likewise.
23002 * localedata/locales/fr_CA: Likewise.
23003 * localedata/locales/fr_CH: Likewise.
23004 * localedata/locales/fr_FR: Likewise.
23005 * localedata/locales/fr_LU: Likewise.
23006 * localedata/locales/fur_IT: Likewise.
23007 * localedata/locales/fy_DE: Likewise.
23008 * localedata/locales/fy_NL: Likewise.
23009 * localedata/locales/ga_IE: Likewise.
23010 * localedata/locales/gd_GB: Likewise.
23011 * localedata/locales/gez_ER: Likewise.
23012 * localedata/locales/gez_ET: Likewise.
23013 * localedata/locales/gl_ES: Likewise.
23014 * localedata/locales/gu_IN: Likewise.
23015 * localedata/locales/gv_GB: Likewise.
23016 * localedata/locales/ha_NG: Likewise.
23017 * localedata/locales/hak_TW: Likewise.
23018 * localedata/locales/he_IL: Likewise.
23019 * localedata/locales/hi_IN: Likewise.
23020 * localedata/locales/hif_FJ: Likewise.
23021 * localedata/locales/hne_IN: Likewise.
23022 * localedata/locales/hr_HR: Likewise.
23023 * localedata/locales/hsb_DE: Likewise.
23024 * localedata/locales/ht_HT: Likewise.
23025 * localedata/locales/hu_HU: Likewise.
23026 * localedata/locales/hy_AM: Likewise.
23027 * localedata/locales/i18n: Likewise.
23028 * localedata/locales/ia_FR: Likewise.
23029 * localedata/locales/id_ID: Likewise.
23030 * localedata/locales/ig_NG: Likewise.
23031 * localedata/locales/ik_CA: Likewise.
23032 * localedata/locales/is_IS: Likewise.
23033 * localedata/locales/it_CH: Likewise.
23034 * localedata/locales/it_IT: Likewise.
23035 * localedata/locales/iu_CA: Likewise.
23036 * localedata/locales/ja_JP: Likewise.
23037 * localedata/locales/ka_GE: Likewise.
23038 * localedata/locales/kk_KZ: Likewise.
23039 * localedata/locales/kl_GL: Likewise.
23040 * localedata/locales/kn_IN: Likewise.
23041 * localedata/locales/ko_KR: Likewise.
23042 * localedata/locales/kok_IN: Likewise.
23043 * localedata/locales/ks_IN: Likewise.
23044 * localedata/locales/ks_IN@devanagari: Likewise.
23045 * localedata/locales/ku_TR: Likewise.
23046 * localedata/locales/kw_GB: Likewise.
23047 * localedata/locales/ky_KG: Likewise.
23048 * localedata/locales/lb_LU: Likewise.
23049 * localedata/locales/lg_UG: Likewise.
23050 * localedata/locales/li_BE: Likewise.
23051 * localedata/locales/li_NL: Likewise.
23052 * localedata/locales/lij_IT: Likewise.
23053 * localedata/locales/ln_CD: Likewise.
23054 * localedata/locales/lo_LA: Likewise.
23055 * localedata/locales/lt_LT: Likewise.
23056 * localedata/locales/lv_LV: Likewise.
23057 * localedata/locales/lzh_TW: Likewise.
23058 * localedata/locales/mag_IN: Likewise.
23059 * localedata/locales/mai_IN: Likewise.
23060 * localedata/locales/mg_MG: Likewise.
23061 * localedata/locales/mhr_RU: Likewise.
23062 * localedata/locales/mi_NZ: Likewise.
23063 * localedata/locales/mk_MK: Likewise.
23064 * localedata/locales/ml_IN: Likewise.
23065 * localedata/locales/mn_MN: Likewise.
23066 * localedata/locales/mni_IN: Likewise.
23067 * localedata/locales/mr_IN: Likewise.
23068 * localedata/locales/ms_MY: Likewise.
23069 * localedata/locales/mt_MT: Likewise.
23070 * localedata/locales/my_MM: Likewise.
23071 * localedata/locales/nan_TW: Likewise.
23072 * localedata/locales/nan_TW@latin: Likewise.
23073 * localedata/locales/nb_NO: Likewise.
23074 * localedata/locales/nds_DE: Likewise.
23075 * localedata/locales/nds_NL: Likewise.
23076 * localedata/locales/ne_NP: Likewise.
23077 * localedata/locales/nhn_MX: Likewise.
23078 * localedata/locales/niu_NU: Likewise.
23079 * localedata/locales/niu_NZ: Likewise.
23080 * localedata/locales/nl_AW: Likewise.
23081 * localedata/locales/nl_BE: Likewise.
23082 * localedata/locales/nl_NL: Likewise.
23083 * localedata/locales/nn_NO: Likewise.
23084 * localedata/locales/nr_ZA: Likewise.
23085 * localedata/locales/nso_ZA: Likewise.
23086 * localedata/locales/oc_FR: Likewise.
23087 * localedata/locales/om_ET: Likewise.
23088 * localedata/locales/om_KE: Likewise.
23089 * localedata/locales/or_IN: Likewise.
23090 * localedata/locales/os_RU: Likewise.
23091 * localedata/locales/pa_IN: Likewise.
23092 * localedata/locales/pa_PK: Likewise.
23093 * localedata/locales/pap_AW: Likewise.
23094 * localedata/locales/pap_CW: Likewise.
23095 * localedata/locales/pl_PL: Likewise.
23096 * localedata/locales/ps_AF: Likewise.
23097 * localedata/locales/pt_BR: Likewise.
23098 * localedata/locales/pt_PT: Likewise.
23099 * localedata/locales/quz_PE: Likewise.
23100 * localedata/locales/raj_IN: Likewise.
23101 * localedata/locales/ro_RO: Likewise.
23102 * localedata/locales/ru_RU: Likewise.
23103 * localedata/locales/ru_UA: Likewise.
23104 * localedata/locales/rw_RW: Likewise.
23105 * localedata/locales/sa_IN: Likewise.
23106 * localedata/locales/sat_IN: Likewise.
23107 * localedata/locales/sc_IT: Likewise.
23108 * localedata/locales/sd_IN: Likewise.
23109 * localedata/locales/sd_IN@devanagari: Likewise.
23110 * localedata/locales/se_NO: Likewise.
23111 * localedata/locales/sgs_LT: Likewise.
23112 * localedata/locales/shs_CA: Likewise.
23113 * localedata/locales/si_LK: Likewise.
23114 * localedata/locales/sid_ET: Likewise.
23115 * localedata/locales/sk_SK: Likewise.
23116 * localedata/locales/sl_SI: Likewise.
23117 * localedata/locales/sm_WS: Likewise.
23118 * localedata/locales/so_DJ: Likewise.
23119 * localedata/locales/so_ET: Likewise.
23120 * localedata/locales/so_KE: Likewise.
23121 * localedata/locales/so_SO: Likewise.
23122 * localedata/locales/sq_AL: Likewise.
23123 * localedata/locales/sq_MK: Likewise.
23124 * localedata/locales/sr_ME: Likewise.
23125 * localedata/locales/sr_RS: Likewise.
23126 * localedata/locales/sr_RS@latin: Likewise.
23127 * localedata/locales/ss_ZA: Likewise.
23128 * localedata/locales/st_ZA: Likewise.
23129 * localedata/locales/sv_FI: Likewise.
23130 * localedata/locales/sv_SE: Likewise.
23131 * localedata/locales/sw_KE: Likewise.
23132 * localedata/locales/sw_TZ: Likewise.
23133 * localedata/locales/szl_PL: Likewise.
23134 * localedata/locales/ta_IN: Likewise.
23135 * localedata/locales/ta_LK: Likewise.
23136 * localedata/locales/tcy_IN: Likewise.
23137 * localedata/locales/te_IN: Likewise.
23138 * localedata/locales/tg_TJ: Likewise.
23139 * localedata/locales/th_TH: Likewise.
23140 * localedata/locales/the_NP: Likewise.
23141 * localedata/locales/ti_ER: Likewise.
23142 * localedata/locales/ti_ET: Likewise.
23143 * localedata/locales/tig_ER: Likewise.
23144 * localedata/locales/tk_TM: Likewise.
23145 * localedata/locales/tl_PH: Likewise.
23146 * localedata/locales/tn_ZA: Likewise.
23147 * localedata/locales/to_TO: Likewise.
23148 * localedata/locales/tpi_PG: Likewise.
23149 * localedata/locales/tr_CY: Likewise.
23150 * localedata/locales/tr_TR: Likewise.
23151 * localedata/locales/ts_ZA: Likewise.
23152 * localedata/locales/tt_RU: Likewise.
23153 * localedata/locales/tt_RU@iqtelif: Likewise.
23154 * localedata/locales/ug_CN: Likewise.
23155 * localedata/locales/uk_UA: Likewise.
23156 * localedata/locales/unm_US: Likewise.
23157 * localedata/locales/ur_IN: Likewise.
23158 * localedata/locales/ur_PK: Likewise.
23159 * localedata/locales/uz_UZ: Likewise.
23160 * localedata/locales/uz_UZ@cyrillic: Likewise.
23161 * localedata/locales/ve_ZA: Likewise.
23162 * localedata/locales/vi_VN: Likewise.
23163 * localedata/locales/wa_BE: Likewise.
23164 * localedata/locales/wae_CH: Likewise.
23165 * localedata/locales/wal_ET: Likewise.
23166 * localedata/locales/wo_SN: Likewise.
23167 * localedata/locales/xh_ZA: Likewise.
23168 * localedata/locales/yi_US: Likewise.
23169 * localedata/locales/yo_NG: Likewise.
23170 * localedata/locales/yue_HK: Likewise.
23171 * localedata/locales/yuw_PG: Likewise.
23172 * localedata/locales/zh_CN: Likewise.
23173 * localedata/locales/zh_HK: Likewise.
23174 * localedata/locales/zh_SG: Likewise.
23175 * localedata/locales/zh_TW: Likewise.
23176 * localedata/locales/zu_ZA: Likewise.
23178 2017-11-13 Florian Weimer <fweimer@redhat.com>
23180 * support/next_to_fault.h, support/next_to_fault.c: New files.
23181 * support/Makefile (libsupport-routines): Add next_to_fault.
23182 * resolv/tst-inet_pton.c (struct next_to_fault)
23183 (next_to_fault_allocate, next_to_fault_free): Remove.
23184 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
23186 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
23188 * elf/dl-support.c: Include <dl-procruntime.c>.
23189 * include/link.h: Include <link_map.h>.
23190 * sysdeps/generic/dl-procruntime.c: New file.
23191 * sysdeps/generic/link_map.h: Likewise.
23192 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
23193 the writable ld.so namespace.
23195 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
23197 timezone: pacify GCC -Wstringop-truncation
23198 Problem reported by Martin Sebor in:
23199 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
23200 * timezone/zic.c (writezone): Use memcpy, not strncpy.
23202 2017-11-12 Florian Weimer <fweimer@redhat.com>
23204 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
23206 (tests): Add tst-xreadlink.
23207 * support/support.h (xstrndup): Declare.
23208 * support/xunistd.h (xunlink, xreadlink): Declare.
23209 * support/temp_file.h (support_create_temp_directory): Declare.
23210 * support/temp_file.c (support_create_temp_directory): New function.
23211 * support/support_chroot.c (support_chroot_create): Use it.
23212 * support/xreadlink.c: New file.
23213 * support/xstrndup.c: Likewise.
23214 * support/xunlink.c: Likewise.
23215 * support/tst-xreadlink.c: Likewise.
23217 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
23219 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
23221 2017-11-11 Florian Weimer <fweimer@redhat.com>
23225 * resolv/res_comp.c (printable_string, binary_hnok)
23226 (binary_leading_dash): New functions.
23227 (res_hnok): Reimplement using these functions and ns_name_pton.
23228 (res_ownok): Likewise.
23229 (res_mailok): Reimplement using printable_string, ns_name_pton and
23231 (res_dnok): Reimplement using printable_string and ns_name_pton.
23232 * resolv/tst-res_hnok.c (tests): Add additional tests.
23233 (LETTERDIGITS, PRINTABLE): Define.
23234 (do_test): Adjust one_char results.
23236 2017-11-11 Florian Weimer <fweimer@redhat.com>
23239 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
23240 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
23242 2017-11-11 Florian Weimer <fweimer@redhat.com>
23244 * resolv/tst-ns_name_pton.c: New file.
23245 * resolv/Makefile (tests): Add tst-ns_name_pton.
23246 (tst-ns_name_pton): Link against libresolv.
23248 2017-11-11 Florian Weimer <fweimer@redhat.com>
23250 * resolv/tst-res_hnok.c: New file.
23251 * resolv/Makefile (tests): Add tst-res_hnok.
23252 (tst-res_hnok): Link against libresolv.
23254 2017-11-11 Florian Weimer <fweimer@redhat.com>
23256 * resolv/tst-resolv-network.c: Use test framework instead explicit
23259 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
23261 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
23262 <jmp_buf-macros.h>.
23263 [!_ISOMAC] (STR_HELPER): New.
23264 [!_ISOMAC] (STR): Likewise.
23265 [!_ISOMAC] (TEST_SIZE): Likewise.
23266 [!_ISOMAC] (TEST_ALIGN): Likewise.
23267 [!_ISOMAC] (TEST_OFFSET): Likewise.
23268 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
23269 field offsets of jmp_buf as well as sigjmp_buf.
23270 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
23271 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
23272 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
23273 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
23274 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
23275 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
23276 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
23277 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
23278 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
23279 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
23281 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
23283 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
23284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
23286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
23288 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
23289 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
23290 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
23291 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
23292 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
23293 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
23295 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
23297 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
23298 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
23299 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
23301 2017-11-07 Joseph Myers <joseph@codesourcery.com>
23304 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23305 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
23306 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23307 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
23308 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23309 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
23310 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23311 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
23312 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23313 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
23314 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23315 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
23316 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23317 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
23318 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23319 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
23320 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23321 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
23322 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23323 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
23324 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23325 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
23326 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23327 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
23328 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23329 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
23330 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23331 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
23332 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23333 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
23334 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23335 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
23336 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23337 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
23338 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23339 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
23340 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23341 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
23342 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23343 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
23344 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23345 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
23346 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23347 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
23348 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23349 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
23350 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23351 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
23352 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23353 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
23354 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23355 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
23356 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23357 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
23358 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23359 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
23360 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23361 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
23362 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23363 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
23364 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23365 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
23366 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23367 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
23368 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23369 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
23370 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23371 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
23372 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23373 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
23374 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23375 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
23376 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23377 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
23378 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23379 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
23380 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23381 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
23382 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23383 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
23384 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23385 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
23386 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23387 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
23388 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23389 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
23390 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23391 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
23393 * stdlib/tst-strtod.h (F16): New macro.
23399 (IF_FLOAT16): Likewise.
23400 (IF_FLOAT32): Likewise.
23401 (IF_FLOAT64): Likewise.
23402 (IF_FLOAT32X): Likewise.
23403 (IF_FLOAT64X): Likewise.
23404 (IF_FLOAT128X): Likewise.
23405 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
23406 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
23407 (STRTOD_TEST_FOREACH): Likewise.
23408 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
23409 (CHOOSE_f64): Likewise.
23410 (CHOOSE_f32x): Likewise.
23411 (CHOOSE_f64x): Likewise.
23413 2017-11-07 Andreas Schwab <schwab@suse.de>
23415 * nptl/Makefile (tests-internal): Remove tst-typesizes.
23417 2017-11-07 Mike FABIAN <mfabian@redhat.com>
23420 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
23422 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
23425 2017-11-07 Claude Paroz <claude@2xlibre.net>
23428 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
23430 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
23432 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
23435 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23438 * nptl/allocatestack.c (allocate_stack): Check if
23439 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
23440 __PTHREAD_MUTEX_HAVE_PREV is defined.
23441 * nptl/descr.h (pthread): Likewise.
23442 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
23444 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
23445 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23446 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
23447 * sysdeps/nptl/bits/thread-shared-types.h
23448 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23450 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
23451 of __WORDSIZE for internal layout.
23452 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
23453 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
23454 instead of __WORDSIZE whether to use an union for __spins and __list
23456 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
23458 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
23459 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23461 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
23462 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23464 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
23465 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23467 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
23468 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23470 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
23471 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23473 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
23474 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23476 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
23477 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23479 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
23480 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23482 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
23483 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23485 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
23486 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23488 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
23489 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23491 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
23492 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23494 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
23495 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23497 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
23498 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23500 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
23501 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
23504 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
23506 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
23507 checks for expected input type size.
23508 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
23509 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
23511 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
23512 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
23513 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
23514 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
23515 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
23516 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
23517 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
23518 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
23519 superflous runtime assert check.
23520 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
23522 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
23524 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
23526 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
23528 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
23530 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
23532 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
23533 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
23534 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
23536 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
23538 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
23540 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
23542 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
23544 * nptl/pthread_attr_setinheritsched.c
23545 (__pthread_attr_setinheritsched): Likewise.
23546 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
23548 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
23550 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
23551 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
23552 __old_pthread_attr_setstack): Likewise.
23553 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
23555 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
23557 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
23559 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
23560 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
23562 * nptl/tst-typesizes.c: Remove file.
23564 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
23565 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
23566 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
23567 checks for internal pthread_mutex_t offsets.
23568 * sysdeps/aarch64/nptl/pthread-offsets.h
23569 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
23570 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
23571 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
23572 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
23573 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
23574 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
23575 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
23576 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
23577 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
23578 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
23579 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
23580 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
23581 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
23582 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
23583 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
23584 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
23585 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
23586 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
23588 2017-11-07 Florian Weimer <fweimer@redhat.com>
23590 * bits/mman-linux.h: Move ...
23591 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
23593 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
23596 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23598 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
23599 Redefine STRNLEN as __strnlen_power8.
23601 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23603 * signal/sighold.c (sighold): Optimize implementation.
23605 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
23606 __NR_rt_sigqueueinfo.
23608 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
23610 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
23611 assume __NR_rt_sigtimedwait.
23612 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
23613 and add LIBC_CANCEL_HANDLED for cancellation marking.
23614 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23616 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23617 (sysdeps_routines): Add memchr_noneon.
23618 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
23619 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
23620 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
23621 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
23622 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
23623 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
23624 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
23626 * sysdeps/arm/arm-ifunc.h: New file.
23627 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
23628 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
23629 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
23630 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
23631 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
23632 (__memcpy_neon): Avoid create hidden alias.
23633 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
23634 (__memcpy_vfp): Likewise.
23635 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
23636 (sysdep_routines): Add memcpy_arm.
23637 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
23639 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
23642 * Makerules (make-link-multidir): New.
23643 * config.make.in (multidir): New.
23644 * configure.ac (libc_cv_multidir): New. AC_SUBST.
23645 * configure: Regenerated.
23646 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
23647 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
23648 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
23651 2017-11-06 Joseph Myers <joseph@codesourcery.com>
23654 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
23655 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
23657 2017-11-04 Mike FABIAN <mfabian@redhat.com>
23659 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
23662 2017-11-04 Florian Weimer <fweimer@redhat.com>
23664 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
23666 2017-11-03 Joseph Myers <joseph@codesourcery.com>
23668 * math/math.h [__HAVE_DISTINCT_FLOAT16
23669 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23670 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23671 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23672 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
23673 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
23674 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
23675 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23676 (__MATH_TG_F32): New macro.
23677 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23678 (__MATH_TG_F64X): Likewise.
23679 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23680 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
23682 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
23684 * po/de.po: Update translations.
23685 * po/ru.po: Likewise.
23687 2017-11-03 Florian Weimer <fweimer@redhat.com>
23689 * manual/filesys.texi (Hard Links): Document linkat.
23691 2017-11-03 Joseph Myers <joseph@codesourcery.com>
23693 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
23694 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23695 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23696 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23697 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23698 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23699 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
23700 the same as _Float128.
23701 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23702 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23703 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
23706 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
23708 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
23710 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
23712 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23713 (strtof32x): Likewise.
23714 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23715 (strtof64x): Likewise.
23716 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23717 (strtof128x): Likewise.
23718 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23719 (strfromf16): Likewise.
23720 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23721 (strfromf32): Likewise.
23722 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23723 (strfromf64): Likewise.
23724 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23725 (strfromf32x): Likewise.
23726 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23727 (strfromf64x): Likewise.
23728 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23729 (strfromf128x): Likewise.
23730 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
23731 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
23732 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
23733 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
23734 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
23735 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
23737 2017-11-03 Richard Henderson <rth@twiddle.net>
23739 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
23741 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23743 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
23745 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23747 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
23748 DT_TLSDESC_GOT initialization.
23749 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
23750 (_dl_tlsdesc_resolve_hold): Likewise.
23751 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
23752 (_dl_tlsdesc_resolve_hold): Likewise.
23753 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
23754 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23756 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23758 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
23760 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23763 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
23764 non-lazily for R_ARM_TLS_DESC.
23766 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23769 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
23770 R_ARM_TLS_DESC case.
23771 (elf_machine_lazy_rel): Remove the prelink check.
23773 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23775 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
23776 DT_TLSDESC_GOT initialization.
23777 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
23778 (_dl_tlsdesc_resolve_rela): Likewise.
23779 (_dl_tlsdesc_resolve_hold): Likewise.
23780 (_dl_tlsdesc_undefweak): Remove ldar.
23781 (_dl_tlsdesc_dynamic): Likewise.
23782 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
23783 (_dl_tlsdesc_resolve_rela): Likewise.
23784 (_dl_tlsdesc_resolve_hold): Likewise.
23785 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
23786 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23787 (_dl_tlsdesc_resolve_rela): Likewise.
23788 (_dl_tlsdesc_resolve_hold): Likewise.
23790 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23792 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
23793 binding and initialization non-lazily for R_AARCH64_TLSDESC.
23795 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23797 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
23798 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23800 2017-11-02 Joseph Myers <joseph@codesourcery.com>
23802 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
23804 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
23805 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
23806 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
23807 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
23808 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
23809 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
23810 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
23811 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
23812 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
23813 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
23814 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
23816 2017-11-02 Mike FABIAN <mfabian@redhat.com>
23819 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
23820 * localedata/locales/tpi_PG: Add standard header.
23822 2017-11-02 Florian Weimer <fweimer@redhat.com>
23824 test-errno-linux: quotactl can fail with EPERM in containers.
23825 * sysdeps/unix/sysv/linux/test-errno-linux.c
23826 (LIST, LIST_FORWARD): New macros.
23827 (check_error_in_list): New function.
23828 (test_wrp_rv): Accept list of permitted error codes.
23829 (test_wrp_rv2): Remove.
23830 (test_wrp): Call test_wrp_rv with list of error codes.
23831 (test_wrp2): Accept list of error codes.
23832 (do_test): Adjust. Allow EPERM for quotactl.
23834 2017-11-02 Florian Weimer <fweimer@redhat.com>
23836 * stdio-common/bug16.c (do_test): Use array_length.
23837 * stdio-common/errlist.c (_sys_nerr): Likewise.
23838 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
23839 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
23840 * stdio-common/psiginfo.c (psiginfo): Use array_length.
23841 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
23842 (do_test): Use array_length.
23843 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
23844 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
23845 * stdio-common/tst-printf-round.c (do_test): Likewise.
23846 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
23847 (CHECK): Use array_length.
23848 * stdio-common/tstdiomisc.c (t3, F): Likewise.
23849 * stdio-common/tstscanf.c (main): Likewise.
23850 * stdio-common/vfprintf.c (process_string_arg): Likewise.
23852 2017-11-02 Florian Weimer <fweimer@redhat.com>
23854 Add array_length and array_end macros.
23855 * include/array_length.h: New file.
23857 2017-11-02 Florian Weimer <fweimer@redhat.com>
23860 * posix/tst-glob-tilde.c (do_noescape): New variable.
23861 (one_test): Process it.
23862 (do_test): Set do_noescape. Add unescaping test case.
23864 2017-11-01 Joseph Myers <joseph@codesourcery.com>
23867 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
23868 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
23869 with appropriate macros defined and undefined.
23870 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
23871 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23872 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
23873 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23874 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
23875 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23876 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
23877 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23878 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
23879 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23882 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
23883 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
23884 that for long double. Do not condition define and undefine of
23885 _Mdouble_complex_ on [__CFLOAT128].
23887 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
23889 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23890 of <sysdeps/generic/sysdep.h>.
23891 (ALIGNARG): Removed.
23892 (ASM_SIZE_DIRECTIVE): Likewise.
23895 (ENTRY_CHK): Likewise.
23896 (END_CHK): Likewise.
23897 (syscall_error): Likewise.
23898 (mcount): Likewise.
23899 (PSEUDO_END): Likewise.
23901 (atom_text_section): Likewise.
23902 * sysdeps/x86/sysdep.h: New file.
23903 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23904 of <sysdeps/generic/sysdep.h>.
23905 (ALIGNARG): Removed.
23906 (ASM_SIZE_DIRECTIVE): Likewise.
23909 (ENTRY_CHK): Likewise.
23910 (END_CHK): Likewise.
23911 (syscall_error): Likewise.
23912 (mcount): Likewise.
23913 (PSEUDO_END): Likewise.
23915 (atom_text_section): Likewise.
23917 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
23919 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
23920 category of LC_CTYPE set to "i18n:2012".
23921 * localedata/locales/i18n_ctype: Regenerate.
23923 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
23925 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
23926 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
23927 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
23928 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
23930 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
23931 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
23932 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
23933 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
23935 2017-10-31 Joseph Myers <joseph@codesourcery.com>
23938 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
23940 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
23942 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
23944 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23945 (CMPLXF32X): Likewise.
23946 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23947 (CMPLXF64X): Likewise.
23948 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23949 (CMPLXF128X): Likewise.
23952 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
23953 (__MATH_EVAL_FMT2): Define to add 0.0f.
23955 2017-10-31 Alan Modra <amodra@gmail.com>
23957 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
23959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
23960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
23961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
23962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
23963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
23964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
23965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
23966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
23967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
23968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
23969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
23970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
23971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
23972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
23973 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
23974 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
23975 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
23976 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
23977 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
23978 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
23979 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
23980 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
23981 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
23982 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
23983 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
23984 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
23985 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
23986 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
23987 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
23988 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
23989 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
23990 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
23991 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
23992 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
23993 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
23994 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
23995 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
23996 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
23997 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
23998 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23999 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
24000 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
24001 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
24002 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
24003 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
24004 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
24005 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
24006 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
24007 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
24008 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
24009 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
24010 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
24011 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
24012 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
24013 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
24014 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
24015 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
24016 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
24017 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
24018 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
24019 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
24020 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
24021 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
24022 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24023 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
24024 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
24025 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
24026 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
24027 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
24029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
24030 include sysdep.h and math_ldbl_opt.h.
24032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
24033 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
24034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
24035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
24036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
24037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
24038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
24039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
24040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
24041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
24042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
24043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
24044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
24045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
24046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
24047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
24048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
24049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
24050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
24051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
24052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
24053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
24054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
24055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
24056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
24057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
24059 2017-10-31 Alan Modra <amodra@gmail.com>
24061 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
24062 string/strncase_l.c, not string/strncase.c.
24063 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
24064 (libc_hidden_def): Redefine.
24066 2017-10-31 Alan Modra <amodra@gmail.com>
24068 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
24069 (__STRCMP, STRCMP, __strcasecmp_l): Define.
24070 (__strcasecmp): Don't define.
24072 2017-10-31 Alan Modra <amodra@gmail.com>
24074 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
24076 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
24077 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
24078 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
24080 2017-10-31 Alan Modra <amodra@gmail.com>
24082 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
24085 2017-10-31 Alan Modra <amodra@gmail.com>
24087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
24088 Redefine only when SHARED.
24090 2017-10-30 Joseph Myers <joseph@codesourcery.com>
24092 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
24093 Include <bits/math-finite.h> with appropriate macros defined and
24095 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
24096 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
24097 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
24098 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
24099 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
24101 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
24102 [!_Mlong_double_] (_Mlong_double_): Likewise.
24103 [!_Mfloat16_] (_Mfloat16_): Likewise.
24104 [!_Mfloat32_] (_Mfloat32_): Likewise.
24105 [!_Mfloat64_] (_Mfloat64_): Likewise.
24106 [!_Mfloat128_] (_Mfloat128_): Likewise.
24107 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
24108 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
24109 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
24110 (_Mdouble_): Define without indirection through those macros.
24111 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
24112 [!_Mfloat128_] (_Mfloat128_): Likewise.
24113 [_Mlong_double_] (_Mlong_double_): Likewise.
24114 (_Mdouble_): Define without indirection through those macros.
24115 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
24116 not add -D_Mlong_double_=double.
24117 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
24118 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
24120 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24122 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
24124 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24126 * sysdeps/x86/libc-start.c: Reformat.
24128 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24131 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
24132 (1): Renamed to ...
24135 (L(Src2)): Likewise.
24136 (L(1)): Renamed to ...
24139 2017-10-30 Joseph Myers <joseph@codesourcery.com>
24141 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
24142 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
24143 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
24144 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
24145 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
24146 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
24147 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
24148 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
24149 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
24150 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
24151 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
24152 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
24153 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
24154 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
24155 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
24156 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
24157 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
24158 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
24159 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
24160 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
24161 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
24162 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
24163 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
24164 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
24165 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
24166 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
24167 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
24168 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
24169 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
24170 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
24171 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
24172 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
24173 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
24174 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
24175 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
24176 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
24177 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
24178 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
24179 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
24180 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
24181 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
24182 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
24183 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
24184 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
24185 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
24186 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
24187 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
24188 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
24189 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
24190 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
24191 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
24192 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
24193 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
24194 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
24195 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
24196 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
24197 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
24198 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
24199 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
24200 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
24201 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
24202 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
24203 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
24204 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
24205 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
24206 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
24208 2017-10-30 Florian Weimer <fweimer@redhat.com>
24210 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
24212 * io/tst-mkdirat.c (do_test): Likewise.
24213 * io/tst-mkfifoat.c (do_test): Likewise.
24214 * io/tst-mknodat.c (do_test): Likewise.
24215 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
24216 * locale/programs/locale.c (select_dirs): Likewise.
24217 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
24218 * posix/bug-glob2.c (my_readdir): Likewise.
24219 * posix/tst-dir.c (main): Likewise.
24220 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
24221 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
24223 2017-10-30 Florian Weimer <fweimer@redhat.com>
24225 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
24228 2017-10-30 Florian Weimer <fweimer@redhat.com>
24230 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
24231 Convert to support/test-driver.c.
24232 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
24233 New macro parameters.
24234 (PRINTF): Remove macro. Use test_verbose conditionals instead.
24235 * posix/tst-gnuglob.c: New file.
24236 * posix/tst-gnuglob64.c: Likewise.
24237 * posix/Makefile (tests): Add tst-gnuglob64.
24239 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
24242 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
24243 and use a better translation for March in “mon”.
24244 * localedata/locales/csb_PL: Use more ASCII to improve the
24245 readability of the source.
24247 2017-10-30 Mike FABIAN <mfabian@redhat.com>
24250 * localedata/locales/km_KH: Use ASCII as much
24251 as possible for better readability of the source and
24252 remove useless comments.
24253 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
24254 was commented out and apparently wrong anyway because it was
24255 using Lao characters. If Buddhist era should be used
24256 for km_KH, a native speaker should write the correct formaat
24258 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
24259 (According to CLDR, the first weekday for Cambodia is Sunday).
24260 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
24261 (These were using Lao characters which must be wrong. If we get
24262 the correct data from a native speaker, we could add it back, until
24263 then it is better not to have name_mr and name_mrs at all than
24266 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
24268 * locale/loadlocale.c: Correct size of
24269 _nl_value_type_LC_<category> arrays.
24271 2017-10-27 Joseph Myers <joseph@codesourcery.com>
24273 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
24274 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
24275 with appropriate macros defined and undefined.
24276 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
24277 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
24278 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
24279 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
24280 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
24282 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
24284 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
24287 2017-10-27 Mike FABIAN <mfabian@redhat.com>
24289 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
24290 with lowercase letters to make it agree with CLDR.
24292 2017-10-27 Mike FABIAN <mfabian@redhat.com>
24295 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
24296 first letters of yesstr and nostr in yesexpr and noexpr,
24297 not for the full words.
24298 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24299 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
24300 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
24301 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
24302 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
24303 first letters of yesstr and nostr in yesexpr and noexpr,
24304 until now only English was matched in yesexpr and noexpr.
24305 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
24306 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
24307 fil but not for tl. As tl and fil are very similar, using fil
24308 is probably better than using English.
24310 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
24313 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
24314 in yesstr and nostr.
24316 2017-10-26 Joseph Myers <joseph@codesourcery.com>
24318 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24319 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
24320 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
24322 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
24324 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
24326 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
24328 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24329 (SNANF128X): Likewise.
24331 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24332 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
24333 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24334 (HUGE_VAL_F32): Likewise.
24335 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24336 (HUGE_VAL_F64): Likewise.
24337 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24338 (HUGE_VAL_F32X): Likewise.
24339 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24340 (HUGE_VAL_F64X): Likewise.
24341 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24342 (HUGE_VAL_F128X): Likewise.
24344 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
24346 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
24347 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
24348 for the br_FR locale.
24350 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
24353 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
24355 2017-10-25 Carlos O'Donell <carlos@redhat.com>
24357 * locale/programs/record-status.h: Define globals, and function
24358 prototypes. Move function bodies...
24359 * locale/programs/record-status.c: ... to here. New file.
24360 * iconv/Makefile (iconv_prog-modules): Add record-status.
24361 * locale/Makefile (lib-modules): Likewise.
24362 * iconv/iconv_prog.c: Remove verbose.
24363 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
24364 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
24365 record a warning about ASCII compatibility.
24366 * locale/programs/ld-monetary.c (monetary_finish): If
24367 warn_int_curr_symbol is true then record a warning about the symbol
24368 not being in our ISO 4217 list.
24369 * locale/programs/locale.c: Include record-status.h. Remove verbose.
24370 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
24371 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
24372 (OPT_NO_WARN): Define.
24373 (OPT_WARN): Define.
24374 (options): Add entry for --no-warnings, and --warnings.
24375 (set_warnings): New function to enable/disable warnings.
24376 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
24377 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
24378 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
24379 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
24380 Pass flags to generate_locale.
24381 (generate_locale): Accept new flag argument and pass it to localedef
24383 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
24384 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
24386 * localedata/Makefile (test-input-data): Use full file name.
24387 * localedata/da_DK.in: Rename to...
24388 * localedata/da_DK.ISO-8859-1.in: ...this.
24389 * localedata/de_DE.in: Rename to...
24390 * localedata/de_DE.ISO-8859-1.in: ...this.
24391 * localedata/en_US.in: Rename to...
24392 * localedata/en_US.ISO-8859-1.in: ...this.
24393 * localedata/fr_FR.in: Rename to...
24394 * localedata/fr_FR.UTF-8.in: ... this.
24395 * localedata/hr_HR.in: Rename to...
24396 * localedata/hr_HR.ISO-8859-2.in: ...this.
24397 * localedata/hu_HU.in: Rename to...
24398 * localedata/hu_HU.UTF-8.in: ...this.
24399 * localedata/si_LK.in: Rename to...
24400 * localedata/si_LK.UTF-8.in: ...this.
24401 * localedata/sv_SE.in: Rename to...
24402 * localedata/sv_SE.ISO-8859-1.in: ...this.
24403 * localedata/tr_TR.in: Rename to...
24404 * localedata/tr_TR.UTF-8.in: ...this.
24405 * localedata/uk_UA.in: Rename to...
24406 * localedata/uk_UA.UTF-8.in: ...this.
24407 * localedata/sort-test.sh: Test file is locale name with the
24410 * localedata/unicode-gen/Makefile (check_i18n): Rename to
24411 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
24413 * localedata/locales/i18n_ctype: Regenerate.
24414 * localedata/locales/tr_TR: Likewise.
24415 * localedata/locales/translit_circle: Likewise.
24416 * localedata/locales/translit_cjk_compat: Likewise.
24417 * localedata/locales/translit_combining: Likewise.
24418 * localedata/locales/translit_compat: Likewise.
24419 * localedata/locales/translit_font: Likewise.
24420 * localedata/locales/translit_fraction: Likewise.
24422 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24424 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
24425 lxvd2x/stxvd2x with lvx/stvx.
24426 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
24428 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
24430 * include/alloc_buffer.h: Replace "if if " with "if " in
24432 * sysdeps/mips/memcpy.S: Likkewise.
24433 * sysdeps/mips/memset.S: Likewise.
24434 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
24436 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
24438 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
24441 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24444 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
24445 yesexpr and noexpr.
24446 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24447 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24448 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24449 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24450 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24451 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24452 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24454 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24456 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
24457 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24458 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24459 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24460 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24461 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
24462 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24463 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24464 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24465 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24466 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24467 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24469 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24471 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
24472 as possible for better readability of the source.
24473 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
24474 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
24475 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
24476 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
24477 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
24478 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
24479 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
24480 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
24481 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
24482 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
24483 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
24484 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
24485 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
24486 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
24487 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
24488 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
24489 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
24490 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
24491 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
24492 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
24493 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
24494 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
24495 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
24496 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
24497 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
24498 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
24499 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
24500 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
24501 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
24502 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
24503 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
24504 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
24505 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
24506 * localedata/locales/en_US (LC_MESSAGES): Likewise.
24507 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
24508 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
24509 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
24510 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
24511 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
24512 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
24513 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
24514 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
24515 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
24516 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
24517 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
24518 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
24519 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
24520 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
24521 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
24522 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
24523 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
24524 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
24525 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
24526 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
24527 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24528 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
24529 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
24530 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24531 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
24532 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
24533 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
24534 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
24535 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
24536 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
24537 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
24538 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
24539 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
24540 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
24541 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
24542 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
24543 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
24544 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
24545 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
24546 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
24547 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24548 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
24549 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
24550 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
24551 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
24552 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
24553 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
24554 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
24555 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
24556 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
24557 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
24558 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
24559 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
24560 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24561 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
24562 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
24563 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
24564 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
24565 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
24566 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
24567 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
24568 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
24569 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
24570 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24571 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
24572 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
24573 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
24574 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
24575 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
24576 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
24577 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
24578 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
24579 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
24580 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
24581 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
24582 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
24583 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
24584 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
24585 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
24586 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
24587 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
24588 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
24589 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
24590 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
24591 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
24592 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
24593 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
24594 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
24595 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
24596 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
24597 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
24598 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
24599 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
24600 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
24601 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
24602 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
24603 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
24604 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
24605 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
24606 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
24607 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
24608 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
24609 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
24610 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
24611 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
24612 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
24613 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
24614 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
24615 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
24616 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
24617 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
24618 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
24619 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
24620 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
24621 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
24622 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
24623 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
24624 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
24625 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
24626 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
24627 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
24628 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
24629 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
24630 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
24631 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
24632 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
24633 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
24634 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
24635 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
24636 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
24637 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
24638 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
24639 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
24640 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
24641 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
24642 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
24643 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24644 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24645 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
24646 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
24648 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24650 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
24651 (Use first letters of yesstr and nostr correctly instead of using
24654 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24656 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
24657 (Use first letters of yesstr and nostr correctly).
24659 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24661 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
24662 also check for the first characters of yesstr and nostr.
24663 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
24664 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
24666 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24668 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
24669 also check for Chinese characters.
24671 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24673 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
24674 match also for the contents of yesstr and nostr. As the first letter
24675 of yesstr and nostr is equal, checking only for the first letter
24678 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24680 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
24681 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
24683 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24685 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
24686 of main contributor.
24688 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24690 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
24691 instead of using English.
24693 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24695 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
24696 by including the first letters of nostr and yesexpr in the regexp.
24697 Also make it more readable by using ASCII where possible.
24699 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24701 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
24702 the first letter of nostr in the regexp. It agrees with CLDR now.
24703 Also make it more readable by using ASCII where possible.
24705 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24707 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
24708 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
24709 these strings contain a U+17D6 (which somewhat looks like a colon)
24710 instead of a real colon to separate the full words for “yes”
24711 and “no” from the single letter responses.
24713 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24715 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
24716 it agree with CLDR (include the first letter of yesstr).
24717 Also make it more readable by using ASCII where possible.
24719 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24721 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
24722 and improve yesexpr and noexpr. The yesstr and nostr apparently
24723 came from CLDR. And CLDR has a bug there: these strings contain
24724 a U+0903 (which looks like a colon) instead of a real colon
24725 to separate the full words for “yes” and “no” from the single
24728 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24730 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
24731 letters of the full yesstr and nostr in yesexpr and noexpr.
24733 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24735 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
24736 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
24737 * localedata/locales/an_ES: Make source more readable by using ASCII
24740 2017-10-24 Mike FABIAN <mfabian@redhat.com>
24743 * localedata/locales/yuw_PG: New file.
24744 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
24745 * locale/iso-639.def: Add Yau (Uruwa).
24747 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24749 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
24751 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24753 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
24754 (__libc_realloc): Likewise.
24755 (_mid_memalign): Likewise.
24756 (__libc_calloc): Likewise.
24758 2017-10-23 Mike FABIAN <mfabian@redhat.com>
24760 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
24761 by adding the generic +1 and -0 as in all other locales.
24762 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
24763 day names and make it more readable by using ASCII where possible.
24765 2017-10-24 Joseph Myers <joseph@codesourcery.com>
24767 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
24768 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
24770 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24772 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
24773 WNOHANG in waitpid call.
24775 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
24777 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
24778 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
24780 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
24781 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
24782 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
24783 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
24784 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
24785 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
24786 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
24787 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
24790 2017-10-23 Michael Collison <michael.collison@arm.com>
24792 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
24793 with __builtin_sqrt.
24794 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
24795 with __builtin_sqrtf.
24796 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
24797 with __builtin_ceil.
24798 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
24799 with __builtin_ceilf.
24800 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
24801 with __builtin_floor.
24802 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
24803 with __builtin_floorf.
24804 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
24805 with __builtin_fma.
24806 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
24807 with __builtin_fmaf.
24808 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
24809 with __builtin_fmax.
24810 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
24811 with __builtin_fmaxf.
24812 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
24813 with __builtin_fmin.
24814 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
24815 with __builtin_fminf.
24816 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
24817 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
24818 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
24819 with builtin_rint and conversion to int.
24820 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
24821 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
24822 with builtin_llround.
24823 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
24824 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
24825 with builtin_rint and conversion to long int.
24826 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
24827 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
24828 with builtin_lround.
24829 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
24830 with builtin_lroundf.
24831 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
24832 statements with __builtin_nearbyint.
24833 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
24834 statements with __builtin_nearbyintf.
24835 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
24836 with __builtin_rint.
24837 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
24838 with __builtin_rintf.
24839 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
24840 with __builtin_round.
24841 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
24842 with __builtin_roundf.
24843 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
24844 with __builtin_trunc.
24845 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
24846 with __builtin_truncf.
24847 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
24848 and s_l[l]round[f].c too.
24850 2017-10-23 Alan Modra <amodra@gmail.com>
24852 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
24853 Adjust stack after restoring regs. Add missing LR cfi_restore.
24855 2017-10-23 Alan Modra <amodra@gmail.com>
24857 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
24858 Move LR save and frame setup/teardown and LR restore to
24859 immediately around memset call. Provide cfi.
24861 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24863 * sysdeps/i386/fpu/e_powf.S: Removed.
24864 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
24865 * sysdeps/i386/fpu/w_powf.c: Likewise.
24866 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
24867 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24868 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24870 (CFLAGS-e_powf-sse2.c): New.
24871 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
24872 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
24874 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24876 * sysdeps/i386/fpu/e_log2f.S: Removed.
24877 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
24878 * sysdeps/i386/fpu/w_log2f.c: Likewise.
24879 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
24880 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24881 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24883 (CFLAGS-e_log2f-sse2.c): New.
24884 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
24885 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
24887 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24889 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24891 (CFLAGS-e_powf-fma.c): New.
24892 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
24893 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
24895 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24897 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24899 (CFLAGS-e_log2f-fma.c): New.
24900 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
24901 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
24903 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24905 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24907 (CFLAGS-e_logf-fma.c): New.
24908 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
24909 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
24911 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24913 * sysdeps/i386/fpu/e_logf.S: Removed.
24914 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
24915 * sysdeps/i386/fpu/w_logf.c: Likewise.
24916 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
24917 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
24918 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24919 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24921 (CFLAGS-e_logf-sse2.c): New.
24922 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
24923 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
24925 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24927 * sysdeps/i386/fpu/e_exp2f.S: Removed.
24928 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
24929 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
24930 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24931 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24933 (CFLAGS-e_exp2f-sse2.c): New.
24934 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
24935 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
24937 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24939 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24941 (CFLAGS-e_exp2f-fma.c): New.
24942 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
24943 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
24945 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24947 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
24948 * sysdeps/i386/fpu/e_expf.S: Likewise.
24949 * sysdeps/i386/fpu/math_errf.c: Likewise.
24950 * sysdeps/i386/fpu/w_expf.c: Likewise.
24951 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
24952 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24953 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
24954 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
24955 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24956 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24957 Remove e_expf-ia32.
24958 (CFLAGS-e_expf-sse2.c): New.
24959 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
24960 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
24962 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24964 * sysdeps/x86_64/fpu/e_expf.S: Removed.
24965 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
24966 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
24967 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
24969 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
24971 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
24972 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
24974 (__redirect_expf): This.
24975 (SYMBOL_NAME): Changed to expf.
24976 (__ieee754_expf): Renamed to ...
24978 (__GI___expf): This.
24979 (__ieee754_expf): Add strong_alias.
24980 (__expf_finite): Likewise.
24982 Include <sysdeps/ieee754/flt-32/e_expf.c>.
24984 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
24987 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
24990 2017-10-21 Florian Weimer <fweimer@redhat.com>
24992 * posix/Makefile (tests): Add tst-glob-tilde.
24993 (tests-special): Add tst-glob-tilde-mem.out
24994 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
24995 (tst-glob-tilde-mem.out): Add mtrace check.
24996 * posix/tst-glob-tilde.c: New file.
24998 2017-10-20 Joseph Myers <joseph@codesourcery.com>
25000 * bits/floatn-common.h: New file.
25001 * math/Makefile (headers): Add bits/floatn-common.h.
25002 * bits/floatn.h: Include <bits/floatn-common.h>.
25003 * sysdeps/ia64/bits/floatn.h: Likewise.
25004 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
25005 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
25006 * sysdeps/powerpc/bits/floatn.h: Likewise.
25007 * sysdeps/x86/bits/floatn.h: Likewise.
25009 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25011 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
25012 indicates whether compiler emits an warning for alias for
25013 functions with incompatible types.
25016 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
25017 the auxiliary process is terminated by a signal before calling _exit
25020 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25023 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
25025 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
25026 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
25027 and bit_arch_XSAVEC_Usable if needed.
25028 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
25029 and bit_arch_Use_dl_runtime_resolve_opt.
25030 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
25032 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
25033 (bit_arch_Prefer_No_AVX512): Updated.
25034 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
25035 (bit_arch_XSAVEC_Usable): New.
25036 (STATE_SAVE_OFFSET): Likewise.
25037 (STATE_SAVE_MASK): Likewise.
25038 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
25039 (cpu_features): Add xsave_state_size and xsave_state_full_size.
25040 (index_arch_Use_dl_runtime_resolve_opt): Removed.
25041 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
25042 (index_arch_XSAVEC_Usable): New.
25043 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
25044 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
25045 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
25047 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
25048 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
25049 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
25050 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
25051 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
25052 _dl_runtime_resolve_xsavec.
25053 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
25055 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
25056 instead of VEC_SIZE.
25057 (REGISTER_SAVE_BND0): Removed.
25058 (REGISTER_SAVE_BND1): Likewise.
25059 (REGISTER_SAVE_BND3): Likewise.
25060 (REGISTER_SAVE_RAX): Always defined to 0.
25062 (_dl_runtime_resolve_avx): Likewise.
25063 (_dl_runtime_resolve_avx_slow): Likewise.
25064 (_dl_runtime_resolve_avx_opt): Likewise.
25065 (_dl_runtime_resolve_avx512): Likewise.
25066 (_dl_runtime_resolve_avx512_opt): Likewise.
25067 (_dl_runtime_resolve_sse): Likewise.
25068 (_dl_runtime_resolve_sse_vex): Likewise.
25070 (_dl_runtime_resolve_fxsave): Likewise.
25071 (USE_XSAVE): Likewise.
25072 (_dl_runtime_resolve_xsave): Likewise.
25073 (USE_XSAVEC): Likewise.
25074 (_dl_runtime_resolve_xsavec): Likewise.
25075 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
25077 (_dl_runtime_resolve_avx512_opt): Likewise.
25078 (_dl_runtime_resolve_avx): Likewise.
25079 (_dl_runtime_resolve_avx_opt): Likewise.
25080 (_dl_runtime_resolve_sse): Likewise.
25081 (_dl_runtime_resolve_sse_vex): Likewise.
25082 (_dl_runtime_resolve_fxsave): New.
25083 (_dl_runtime_resolve_xsave): Likewise.
25084 (_dl_runtime_resolve_xsavec): Likewise.
25086 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
25090 * posix/glob.c (__glob): Fix one-byte overflow.
25092 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25094 * malloc/malloc.c (sysdep-cancel.h): Add include.
25096 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25098 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
25100 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
25102 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
25103 (tests): Remove $(objpfx)ga_test depdendency.
25104 * resolv/ga_test.c: Remove file.
25106 2017-10-20 Mike FABIAN <mfabian@redhat.com>
25109 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
25110 * localedata/locales/kab_DZ: New file.
25112 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25114 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
25115 _dl_relocate_static_pie instead of _dl_start to compute load
25116 address in static PIE.
25118 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25120 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
25122 2017-10-20 Mike FABIAN <mfabian@redhat.com>
25125 * localedata/SUPPORTED: Add shn_MM/UTF-8.
25126 * localedata/locales/shn_MM: New file.
25128 2017-10-20 Florian Weimer <fweimer@redhat.com>
25131 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
25132 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
25133 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
25134 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
25135 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
25136 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
25138 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
25140 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25142 2017-10-19 Joseph Myers <joseph@codesourcery.com>
25144 * sysdeps/mips/ieee754/bits/floatn.h: New file.
25147 * sysdeps/mips/bits/long-double.h: Move to ....
25148 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
25150 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
25152 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
25154 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
25155 H.J. Lu <hongjiu.lu@intel.com>
25158 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
25159 GLRO(dl_platform) to NULL.
25160 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
25161 (modules-names): Add tst-platformmod-1 and
25162 x86_64/tst-platformmod-2.
25163 (CFLAGS-tst-platform-1.c): New.
25164 (CFLAGS-tst-platformmod-1.c): Likewise.
25165 (CFLAGS-tst-platformmod-2.c): Likewise.
25166 (LDFLAGS-tst-platformmod-2.so): Likewise.
25167 ($(objpfx)tst-platform-1): Likewise.
25168 ($(objpfx)tst-platform-1.out): Likewise.
25169 (tst-platform-1-ENV): Likewise.
25170 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
25171 * sysdeps/x86_64/tst-platform-1.c: New file.
25172 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
25173 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
25175 2017-10-19 Mike FABIAN <mfabian@redhat.com>
25178 * locale/iso-639.def: Add Karbi.
25179 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
25180 * localedata/locales/mjw_IN: New file.
25182 2017-10-18 Joseph Myers <joseph@codesourcery.com>
25184 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
25185 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
25186 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
25187 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
25188 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25189 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25190 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
25192 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25193 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25194 * manual/math.texi (Mathematics): Document additional architecture
25195 support for _Float128.
25196 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25197 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25198 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25199 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25200 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25201 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25202 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25203 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25204 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25205 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25206 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25207 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25208 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25209 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25210 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25212 2017-10-18 Renlin Li <renlin.li@arm.com>
25214 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
25215 _DYNAMIC symbol to calculate load address.
25217 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
25219 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
25220 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
25222 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
25223 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
25225 2017-10-18 Mike FABIAN <mfabian@redhat.com>
25228 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
25229 and improve readability by using more ASCII.
25230 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
25231 and improve readability by using more ASCII.
25233 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
25235 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
25236 not all targets support atomics on bool.
25238 2017-10-17 Joseph Myers <joseph@codesourcery.com>
25240 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
25241 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
25243 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25244 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
25245 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25246 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
25247 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25248 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
25250 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25252 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
25255 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25258 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
25259 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
25260 (do_check_remalloced_chunk): Fix build bug.
25261 (do_check_malloc_state): Add assert that checks arena->top.
25262 (malloc_consolidate): Remove initialization.
25263 (int_mallinfo): Remove call to malloc_consolidate.
25264 (__libc_mallopt): Clarify why malloc_consolidate is needed.
25266 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25268 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
25269 (have_fastchunks): Remove.
25270 (clear_fastchunks): Remove.
25271 (set_fastchunks): Remove.
25272 (malloc_state): Add have_fastchunks.
25273 (malloc_init_state): Use have_fastchunks.
25274 (do_check_malloc_state): Remove incorrect invariant checks.
25275 (_int_malloc): Use have_fastchunks.
25276 (_int_free): Likewise.
25277 (malloc_consolidate): Likewise.
25279 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25281 * malloc/malloc.c (tcache_put): Inline.
25282 (tcache_get): Inline.
25284 2017-10-17 Jordi Mallach <jordi@gnu.org>
25286 Aurelien Jarno <aurelien@aurel32.net>
25288 * localedata/locales/ca_ES@valencia: New file.
25289 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
25291 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
25294 * math/math.h: Let signbit use the builtin in C++ mode with gcc
25297 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25299 * scripts/build-many-glibcs.py (Context.add_all_configs):
25300 Add arm-linux-gnueabihf multiarch extra_glibcs.
25302 * sysdeps/generic/ifunc-init.h: New file.
25303 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
25305 2017-10-17 Mike FABIAN <mfabian@redhat.com>
25308 * localedata/locales/el_GR: Set n_cs_precedes to 0.
25309 * localedata/locales/el_CY: copy "el_GR" because it is identical.
25310 * stdlib/tst-strfmon_l.c: adapt test case.
25312 2017-10-16 Joseph Myers <joseph@codesourcery.com>
25314 * sysdeps/generic/float128-abi.h: New file.
25315 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
25316 non-__prefixed symbols to ....
25317 * math/Versions: ... here. Include <float128-abi.h>.
25318 * stdlib/Versions ... and here. Include <float128-abi.h>
25320 2017-10-16 Florian Weimer <fweimer@redhat.com>
25322 * version.h (VERSION): Switch to ".9000" as the development
25325 2017-10-16 Florian Weimer <fweimer@redhat.com>
25328 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
25329 compat_symbol_reference to access non-default version.
25331 2017-10-16 Florian Weimer <fweimer@redhat.com>
25333 * malloc/Makefile (others-extras): Set to mcheck-init.o.
25335 2017-10-16 Carlos O'Donell <carlos@redhat.com>
25337 * include/shlib-compat.h (compat_symbol_reference): Update
25340 2017-10-16 Joseph Myers <joseph@codesourcery.com>
25342 * math/Makefile (test-types): Add
25343 $(type-float128-$(float128-alias-fcts)).
25344 * math/test-float128.h (TYPE_STR): Define conditional on
25345 [FLT128_MANT_DIG == LDBL_MANT_DIG].
25346 (ULP_IDX): Likewise.
25347 (ULP_I_IDX): Likewise.
25349 * stdlib/strtold.c: Include <bits/floatn.h>
25350 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
25351 and later undefine as macro. Define as weak alias if
25353 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
25354 and later undefine as macro. Define as weak alias if
25356 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
25357 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
25358 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25359 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25360 Define and later undefine as macro. Define as weak alias if
25362 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
25364 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
25365 Define and later undefine as macro. Define as weak alias if
25367 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25368 Define and later undefine as macro. Define as weak alias if
25371 2017-10-15 Carlos O'Donell <carlos@redhat.com>
25373 * localedata/collate-test.c (allocate_arrays): Don't use \n in
25374 record_verbose messages.
25376 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
25379 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
25380 to silence -O3 -Wall warning with GCC 7.
25382 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
25384 * Makeconfig (+link-static-before-libc): Use the first of
25385 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
25386 * gmon/Makefile (tests): Add tst-gmon-static.
25387 (tests-static): Likewise.
25388 (CFLAGS-tst-gmon-static.c): New.
25389 (CRT-tst-gmon-static): Likewise.
25390 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
25391 (tst-gmon-static-ENV): Likewise.
25392 (tests-special): Likewise.
25393 ($(objpfx)tst-gmon-static.out): Likewise.
25394 (clean-tst-gmon-static-data): Likewise.
25395 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
25396 * gmon/tst-gmon-static-gprof.sh: New file.
25397 * gmon/tst-gmon-static.c: Likewise.
25399 2017-10-13 Carlos O'Donell <carlos@redhat.com>
25402 * locale/programs/linereader.c (get_string): Don't warn on
25403 non-symbolic character.
25406 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
25410 * locale/programs/record-status.h: New file
25411 * locale/programs/locale.c: Add comment.
25412 * locale/programs/charmap-dir.c: Don't include error.h.
25413 (charmap_opendir): Use record_error.
25414 * locale/programs/charmap.c: Don't include error.h.
25415 (charmap_read): Use record_error, and record_warning.
25416 (parse_charmap): Likewise.
25417 * locale/programs/ld-address.c: Don't include error.h.
25418 (address_finish): Use record_error, and record_warning.
25419 * locale/programs/ld-collate.c: Don't include error.h.
25420 (collate_finish): Use record_error, and record_error_at_line.
25421 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
25422 (ctype_class_new): Likewise.
25423 (ctype_map_new): Likewise.
25424 (set_one_default): Likewise.
25425 (set_class_defaults): Likewise.
25426 (translit_flatten): Likewise.
25427 (allocate_arrays): Use record_error, and record_verbose.
25428 * locale/programs/ld-identification.c: Don't include error.h.
25429 (indentation_finish): Use record_error and record_warning.
25430 * locale/programs/ld-measurement.c: Don't include error.h.
25431 (measurement_finish): Use record_error.
25432 * locale/programs/ld-messages.c
25433 (message_finish): Likewise.
25434 * locale/programs/ld-monetary.c
25435 (monetary_finish): Likewise.
25436 * locale/programs/ld-name.c (name_finish): Use record_error
25437 and record_warning.
25438 * locale/programs/ld-numeric.c
25439 (numeric_finish): Use record_error.
25440 * locale/programs/ld-paper.c: Don't include error.h.
25441 (paper_finish): Use record_error.
25442 * locale/programs/ld-telephone.c: Don't include error.h.
25443 (telephone_finish): Use record_error.
25444 * locale/programs/ld-time.c (time_finish): Likewise.
25445 * locale/programs/linereader.h (lr_error): Make inline func.
25446 * locale/programs/localedef.c: Define recorded_warning_count,
25447 and recorded_error_count.
25448 (main): Use record_error. Use recorded_error_count and
25449 recorded_warning_count to issue correct error returns.
25450 (add_to_readlist): Use record_error.
25451 (find_locale): Likewise.
25452 (load_locale): Likewise.
25453 * locale/programs/localedef.h: Remove be_quiet
25454 and WITH_CUR_LOCALE.
25455 * locale/programs/locarchive.c (compare_from_file): Use
25457 * locale/programs/locfile.c (write_locale_data): Use
25459 * locale/programs/repertoire.c: Dont include error.h.
25460 (repertoire_complain): Use record_error.
25461 * localedata/tst-fmon.sh: Expect failures from localedef.
25462 * localedata/tst-locale.sh: Likewise.
25463 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
25465 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
25466 (REPORTS): Likewise.
25468 (i18n): Rename to...
25469 (i18n_ctype): ...this.
25470 (i18n-report): Rename to...
25471 (i18n_ctype-report): ...this.
25472 * localedata/locales/i18n_ctype: Regenerate.
25473 * localedata/locales/i18n: copy i18n_ctype.
25475 2017-10-13 Joseph Myers <joseph@codesourcery.com>
25477 * stdlib/strfroml.c: Include <bits/floatn.h>.
25478 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
25479 Define before include of <stdlib.h> and undefine afterwards, then
25480 define as weak alias.
25482 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
25483 Undefine and restore default definition. Use
25484 libm_alias_ldouble_other.
25486 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
25489 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
25492 2017-10-13 James Clarke <jrtc27@jrtc27.com>
25494 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
25495 Assign sym_map to be map for local symbols, as TLS relocations
25496 use sym_map to determine whether the symbol is defined and to
25497 extract the TLS information.
25498 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
25499 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25501 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25504 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
25505 (math_force_eval): Add powerpc version.
25508 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
25510 (do_test): Likewise.
25511 * stdio-common/tst-printf.sh: Likewise.
25512 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
25513 ifdef clause in order to set the carry bit right. Replace r0 by
25514 0 without changing the behavior.
25516 2017-10-13 Joseph Myers <joseph@codesourcery.com>
25518 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
25519 <libm-alias-ldouble.h>.
25520 (fabsl): Define using libm_alias_ldouble.
25521 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
25522 <libm-alias-ldouble.h>.
25523 (fabsl): Define using libm_alias_ldouble.
25525 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
25526 Remove conditional code.
25528 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
25529 Rename to __clog10_internal_l.
25530 (__clog10_internal_l): Define aliases using
25531 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
25534 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25536 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
25537 * benchtests/sincosf-inputs: New file.
25538 * benchtests/cosf-inputs: New file.
25539 * benchtests/sinf-inputs: New file.
25541 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
25543 * posix/tst-spawn.c (do_test): Wait for both children.
25545 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
25548 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
25549 tests-pie): Add tst-gmon-pie.
25550 (CFLAGS-tst-gmon-pie.c): New.
25551 (CRT-tst-gmon-pie): Likewise.
25552 (tst-gmon-pie-ENV): Likewise.
25553 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
25554 ($(objpfx)tst-gmon-pie.out): Likewise.
25555 (clean-tst-gmon-pie-data): Likewise.
25556 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
25557 * gmon/gmon.c [PIC]: Include <link.h>.
25558 [PIC] (callback): New function.
25559 (write_hist): Add an argument for load address. Subtract load
25561 (write_call_graph): Likewise.
25562 (write_gmon): Call __dl_iterate_phdr to get load address, pass
25563 it to write_hist and write_call_graph.
25564 * gmon/tst-gmon-pie.c: New file.
25566 2017-10-11 Joseph Myers <joseph@codesourcery.com>
25568 * math/Makefile (test-types-basic): New variable.
25569 (test-types): Likewise.
25570 (libm-test-support): Use $(test-types) instead of $(types).
25571 (libm-tests-base-normal): Likewise.
25572 (libm-tests-base-finite): Likewise.
25573 (libm-tests-base-inline): Likewise.
25574 (generated): Likewise.
25575 ($(objpfx)libm-test-support-$(t).c): Likewise.
25576 (libm-tests-for-type iterator): Likewise.
25577 (libm-test-support iterator): Likewise.
25578 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
25579 (ulp_idx): Use ULP_IDX.
25580 * math/test-ldouble.h: Include <float.h>.
25581 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
25582 (ULP_IDX): New macro.
25583 (ULP_I_IDX): Likewise.
25584 * math/test-double.h (ULP_IDX): Likewise.
25585 (ULP_I_IDX): Likewise.
25586 * math/test-float.h (ULP_IDX): Likewise.
25587 (ULP_I_IDX): Likewise.
25588 * math/test-float128.h (ULP_IDX): Likewise.
25589 (ULP_I_IDX): Likewise.
25591 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25593 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
25594 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25595 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25596 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
25597 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25598 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
25599 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
25600 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25601 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25602 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25603 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
25604 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25605 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25606 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25607 (SINGLE_THREAD_BY_GLOBAL): Define.
25608 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25610 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25612 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25614 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25616 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
25617 (SINGLE_THREAD_BY_GLOBAL): Likewise.
25618 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
25621 2017-10-11 Andreas Schwab <schwab@suse.de>
25623 * nis/Makefile (aux): Remove.
25624 * nscd/Makefile (aux): Add nscd_hash.
25625 (nscd-modules): Likewise.
25626 ($(objpfx)nscd): Don't depend on libnsl.
25627 * nscd/nscd_hash.c: New file.
25628 * nscd/nscd_hash.h: Likewise.
25629 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
25630 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
25631 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
25632 instead of <nis/rpcsvc/nis.h>.
25633 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
25635 2017-10-11 Florian Weimer <fweimer@redhat.com>
25638 Avoid large NSS buffers with many addresses, aliases.
25639 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
25640 using dynarrays and struct alloc_buffer.
25641 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
25642 (tst-nss-files-hosts-multi): Link with -ldl.
25643 * nss/tst-nss-files-hosts-multi.c: New file.
25645 2017-10-11 Florian Weimer <fweimer@redhat.com>
25648 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
25649 scratch_buffer. Eliminate gotos.
25651 2017-10-11 Joseph Myers <joseph@codesourcery.com>
25653 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
25654 libm_alias_ldouble_other.
25655 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
25656 undefine and redefine.
25657 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
25658 (exp10l): Do not define here.
25659 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
25660 (weak_alias): Undefine and redefine.
25661 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
25662 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
25663 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
25664 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
25666 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
25667 [!__fma] (fma): Define using libm_alias_double.
25668 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
25669 [!__fmaf] (fmaf): Define using libm_alias_float.
25670 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
25671 (fmal): Define using libm_alias_ldouble.
25673 2017-10-10 Joseph Myers <joseph@codesourcery.com>
25675 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
25677 (libm_alias_double_other): Likewise.
25678 (libm_alias_double_r): Use libm_alias_double_other_r.
25679 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
25681 (libm_alias_float_other): Likewise.
25682 (libm_alias_float_r): Use libm_alias_float_other_r.
25683 * sysdeps/generic/libm-alias-float128.h
25684 (libm_alias_float128_other_r): New macro.
25685 (libm_alias_float128_other): Likewise.
25686 (libm_alias_float128_r): Use libm_alias_float128_other_r.
25687 * sysdeps/generic/libm-alias-ldouble.h
25688 (libm_alias_ldouble_other_r): New macro.
25689 (libm_alias_ldouble_other): Likewise.
25690 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25691 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
25692 (libm_alias_double_other_r): New macro.
25693 (libm_alias_double_other): Likewise.
25694 (libm_alias_double_r): Use libm_alias_double_other_r.
25695 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
25696 (libm_alias_ldouble_other_r): New macro.
25697 (libm_alias_ldouble_other): Likewise.
25698 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25699 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
25700 [!USE_AS_COMPAT]: Use libm_alias_double_other.
25701 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
25702 [!USE_AS_COMPAT]: Use libm_alias_float_other.
25703 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
25704 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
25705 * math/w_exp2f.c: Use libm_alias_float_other.
25706 * math/w_expf.c: Likewise.
25707 * math/w_log2f.c: Likewise.
25708 * math/w_logf.c: Likewise.
25709 * math/w_powf.c: Likewise.
25710 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
25711 [!__exp2f]: Use libm_alias_float_other.
25712 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
25713 [!__expf]: Use libm_alias_float_other.
25714 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
25715 [!__log2f]: Use libm_alias_float_other.
25716 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
25717 [!__logf]: Use libm_alias_float_other.
25718 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
25719 [!__powf]: Use libm_alias_float_other.
25721 2017-10-10 Florian Weimer <fweimer@redhat.com>
25723 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
25725 (_nss_files_gethostbyname3_r): Call it.
25727 2017-10-09 Joseph Myers <joseph@codesourcery.com>
25729 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
25730 error. Remove default definition of declare_mgen_alias.
25731 [!declare_mgen_alias_r]: Likewise.
25732 * sysdeps/generic/math-type-macros-double.h
25733 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
25734 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
25735 (declare_mgen_alias_r): Likewise.
25736 * sysdeps/generic/math-type-macros-float128.h
25737 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25738 * sysdeps/generic/math-type-macros-ldouble.h
25739 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25740 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
25742 (declare_mgen_alias_r_s): Likewise.
25743 (declare_mgen_alias_r): Likewise.
25744 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
25745 (lgamma_r): Define using libm_alias_double_r.
25746 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
25747 (lgammaf_r): Define using libm_alias_float_r.
25748 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
25749 (lgammal_r): Define using libm_alias_ldouble_r.
25750 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
25751 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
25753 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25755 * lib/glob.c (__glob_pattern_type): Remove now-spurious
25756 extern declaration.
25758 2017-10-09 Joseph Myers <joseph@codesourcery.com>
25760 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
25762 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
25765 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
25766 [__cplusplus >= 201103] (__USE_ISOC99): Define.
25767 * math/Makefile (test-math-cxx11): New test.
25768 * math/test-math-cxx11.cc: New file.
25770 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
25772 * login/openpty.c (openpty): Close slave pty file descriptor on error.
25774 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
25775 call to allocate the slave pty file descriptor.
25777 2017-10-06 Joseph Myers <joseph@codesourcery.com>
25779 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
25780 [!__fma] (fma): Define using libm_alias_double.
25781 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
25782 [!__fma] (fma): Define using libm_alias_double.
25784 * sysdeps/ieee754/float128/float128_private.h: Include
25785 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
25786 (libm_alias_ldouble_r): Undefine and redefine.
25787 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
25788 <libm-alias-ldouble.h>.
25789 (asinhl): Define using libm_alias_ldouble.
25790 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
25791 <libm-alias-ldouble.h>.
25792 (atanl): Define using libm_alias_ldouble.
25793 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
25794 <libm-alias-ldouble.h>.
25795 (cbrtl): Define using libm_alias_ldouble.
25796 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
25797 <libm-alias-ldouble.h>.
25798 (ceill): Define using libm_alias_ldouble.
25799 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
25800 <libm-alias-ldouble.h>.
25801 (copysignl): Define using libm_alias_ldouble.
25802 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
25803 <libm-alias-ldouble.h>.
25804 (cosl): Define using libm_alias_ldouble.
25805 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
25806 <libm-alias-ldouble.h>.
25807 (erfl): Define using libm_alias_ldouble.
25809 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
25810 <libm-alias-ldouble.h>.
25811 (expm1l): Define using libm_alias_ldouble.
25812 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
25813 <libm-alias-ldouble.h>.
25814 (fabsl): Define using libm_alias_ldouble.
25815 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
25816 <libm-alias-ldouble.h>.
25817 (floorl): Define using libm_alias_ldouble.
25818 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
25819 <libm-alias-ldouble.h>.
25820 (fmal): Define using libm_alias_ldouble.
25821 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
25822 <libm-alias-ldouble.h>.
25823 (frexpl): Define using libm_alias_ldouble.
25824 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
25825 libm_alias_ldouble.
25826 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
25827 <libm-alias-ldouble.h>.
25828 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
25829 libm_alias_ldouble.
25830 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
25831 <libm-alias-ldouble.h>.
25832 (getpayloadl): Define using libm_alias_ldouble.
25833 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
25834 <libm-alias-ldouble.h>.
25835 (llrintl): Define using libm_alias_ldouble.
25836 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
25837 <libm-alias-ldouble.h>.
25838 (llroundl): Define using libm_alias_ldouble.
25839 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
25840 <libm-alias-ldouble.h>.
25841 (logbl): Define using libm_alias_ldouble.
25842 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
25843 <libm-alias-ldouble.h>.
25844 (lrintl): Define using libm_alias_ldouble.
25845 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
25846 <libm-alias-ldouble.h>.
25847 (lroundl): Define using libm_alias_ldouble.
25848 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
25849 <libm-alias-ldouble.h>.
25850 (modfl): Define using libm_alias_ldouble.
25851 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
25852 <libm-alias-ldouble.h>.
25853 (nearbyintl): Define using libm_alias_ldouble.
25854 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
25855 <libm-alias-ldouble.h>.
25856 (nextafterl): Define using libm_alias_ldouble.
25857 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
25858 <libm-alias-ldouble.h>.
25859 (nextupl): Define using libm_alias_ldouble.
25860 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
25861 <libm-alias-ldouble.h>.
25862 (remquol): Define using libm_alias_ldouble.
25863 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
25864 <libm-alias-ldouble.h>.
25865 (rintl): Define using libm_alias_ldouble.
25866 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
25867 <libm-alias-ldouble.h>.
25868 (roundevenl): Define using libm_alias_ldouble.
25869 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
25870 <libm-alias-ldouble.h>.
25871 (roundl): Define using libm_alias_ldouble.
25872 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
25873 using libm_alias_ldouble.
25874 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
25875 <libm-alias-ldouble.h>.
25876 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
25877 Define using libm_alias_ldouble.
25878 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
25879 <libm-alias-ldouble.h>.
25880 (sincosl): Define using libm_alias_ldouble.
25881 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
25882 <libm-alias-ldouble.h>.
25883 (sinl): Define using libm_alias_ldouble.
25884 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
25885 <libm-alias-ldouble.h>.
25886 (tanhl): Define using libm_alias_ldouble.
25887 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
25888 <libm-alias-ldouble.h>.
25889 (tanl): Define using libm_alias_ldouble.
25890 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
25891 <libm-alias-ldouble.h>.
25892 (totalorderl): Define using libm_alias_ldouble.
25893 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
25894 <libm-alias-ldouble.h>.
25895 (totalordermagl): Define using libm_alias_ldouble.
25896 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
25897 <libm-alias-ldouble.h>.
25898 (truncl): Define using libm_alias_ldouble.
25899 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
25900 libm_alias_ldouble.
25901 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
25902 libm_alias_ldouble.
25903 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
25904 <libm-alias-ldouble.h>.
25905 (weak_alias): Do not undefine and redefine.
25906 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25907 (copysignl): Define with long_double_symbol only if [IS_IN
25909 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
25910 <libm-alias-ldouble.h>.
25911 (weak_alias): Do not undefine and redefine.
25912 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25913 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
25914 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
25915 <libm-alias-ldouble.h>.
25916 (weak_alias): Do not undefine and redefine.
25917 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25918 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
25919 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
25920 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
25921 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
25922 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
25923 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
25924 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
25925 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
25926 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
25927 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
25928 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
25929 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
25930 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
25931 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
25932 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
25933 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
25934 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
25935 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
25936 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
25937 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
25938 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
25939 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
25940 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
25941 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
25942 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
25944 2017-10-06 Carlos O'Donell <carlos@redhat.com>
25947 * malloc/malloc.c (tcache_shutting_down): Use bool type.
25948 (tcache_thread_freeres): Set tcache_shutting_down before
25949 freeing the tcache.
25950 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
25951 * malloc/tst-malloc-tcache-leak.c: New file.
25953 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25955 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
25956 back to powerpc32 file.
25957 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
25958 (memrchr): Add __memrchr_power8 to ifunc list.
25959 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
25960 extra bytes for unaligned inputs.
25962 2017-10-06 Joseph Myers <joseph@codesourcery.com>
25964 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
25965 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
25966 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
25967 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
25968 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
25970 2017-10-05 Joseph Myers <joseph@codesourcery.com>
25972 * sysdeps/arm/libm-test-ulps: Update.
25974 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
25975 <libm-alias-ldouble.h>.
25976 (asinhl): Define using libm_alias_ldouble.
25977 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
25978 <libm-alias-ldouble.h>.
25979 (cbrtl): Define using libm_alias_ldouble.
25980 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
25981 <libm-alias-ldouble.h>.
25982 (copysignl): Define using libm_alias_ldouble.
25983 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
25984 <libm-alias-ldouble.h>.
25985 (cosl): Define using libm_alias_ldouble.
25986 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
25987 <libm-alias-ldouble.h>.
25988 (erfl): Define using libm_alias_ldouble.
25990 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
25991 <libm-alias-ldouble.h>.
25992 (fmal): Define using libm_alias_ldouble.
25993 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
25994 <libm-alias-ldouble.h>.
25995 (frexpl): Define using libm_alias_ldouble.
25996 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
25997 libm_alias_ldouble.
25998 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
25999 <libm-alias-ldouble.h>.
26000 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
26001 libm_alias_ldouble.
26002 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
26003 <libm-alias-ldouble.h>.
26004 (getpayloadl): Define using libm_alias_ldouble.
26005 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
26006 <libm-alias-ldouble.h>.
26007 (llrintl): Define using libm_alias_ldouble.
26008 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
26009 <libm-alias-ldouble.h>.
26010 (llroundl): Define using libm_alias_ldouble.
26011 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
26012 <libm-alias-ldouble.h>.
26013 (lrintl): Define using libm_alias_ldouble.
26014 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
26015 <libm-alias-ldouble.h>.
26016 (lroundl): Define using libm_alias_ldouble.
26017 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
26018 <libm-alias-ldouble.h>.
26019 (modfl): Define using libm_alias_ldouble.
26020 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
26021 <libm-alias-ldouble.h>.
26022 (nextupl): Define using libm_alias_ldouble.
26023 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
26024 <libm-alias-ldouble.h>.
26025 (remquol): Define using libm_alias_ldouble.
26026 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
26027 <libm-alias-ldouble.h>.
26028 (roundevenl): Define using libm_alias_ldouble.
26029 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
26030 <libm-alias-ldouble.h>.
26031 (roundl): Define using libm_alias_ldouble.
26032 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
26033 using libm_alias_ldouble.
26034 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
26035 <libm-alias-ldouble.h>.
26036 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
26037 <libm-alias-ldouble.h>.
26038 (setpayloadsigl): Define using libm_alias_ldouble.
26039 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
26040 <libm-alias-ldouble.h>.
26041 (sincosl): Define using libm_alias_ldouble.
26042 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
26043 <libm-alias-ldouble.h>.
26044 (sinl): Define using libm_alias_ldouble.
26045 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
26046 <libm-alias-ldouble.h>.
26047 (tanhl): Define using libm_alias_ldouble.
26048 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
26049 <libm-alias-ldouble.h>.
26050 (tanl): Define using libm_alias_ldouble.
26051 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
26052 <libm-alias-ldouble.h>.
26053 (totalorderl): Define using libm_alias_ldouble.
26054 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
26055 <libm-alias-ldouble.h>.
26056 (totalordermagl): Define using libm_alias_ldouble.
26057 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
26058 libm_alias_ldouble.
26059 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
26060 libm_alias_ldouble.
26062 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
26064 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
26066 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
26067 (__libc_ifunc_impl_list): Likewise.
26068 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
26069 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
26071 * benchtests/bench-memmove-walk.c: New file.
26072 * benchtests/Makefile (string-benchset): Add it.
26074 * benchtests/bench-memset-walk.c: New file.
26075 * benchtests/Makefile (string-benchset): Add it.
26077 * benchtests/bench-memcpy-walk.c: New file.
26078 * benchtests/Makefile (string-benchset): Add it.
26080 2017-10-05 Florian Weimer <fweimer@redhat.com>
26082 nscd: Eliminate compilation time dependency in the build output.
26083 * nscd/nscd_stat.c (STATDATA_VERSION)
26084 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
26085 (STATDATA_VERSION_FULL): New macro definitions.
26086 (compilation): Remove.
26087 (struct statdata): Adjust version member.
26088 (send_stats): Set version from STATDATA_VERSION_FULL.
26089 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
26091 2017-10-05 Joseph Myers <joseph@codesourcery.com>
26093 * configure.ac (--enable-add-ons): Remove option.
26094 (machine): Do not mention add-ons in comment.
26095 (LIBC_PRECONFIGURE): Likewise.
26096 (add_ons): Remove variable and sanity checks and logic to locate
26098 (add_ons_automatic): Remove variable.
26099 (configured_add_ons): Likewise.
26100 (add_ons_sfx): Likewise.
26101 (add_ons_pfx): Likewise.
26102 (add_on_subdirs): Likewise.
26103 (sysnames_add_ons): Likewise. Remove loop over add-ons and
26104 consideration of add-ons in Implies handling.
26105 (sysdeps_add_ons): Likewise.
26106 * configure: Regenerated.
26107 * libidn/configure.ac: Remove.
26108 * libidn/configure: Likewise.
26109 * sysdeps/unix/inet/configure.ac: New file.
26110 * sysdeps/unix/inet/configure: New generated file.
26111 * sysdeps/unix/inet/Subdirs: Add libidn.
26112 * Makeconfig (sysdeps-srcdirs): Remove variable.
26113 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
26114 ($(common-objpfx)config.status): Do not depend on add-on files.
26115 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
26117 (all-subdirs): Do not include $(add-on-subdirs).
26118 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
26119 * config.make.in (add-ons): Remove variable.
26120 (add-on-subdirs): Likewise.
26121 (sysdeps-add-ons): Likewise.
26122 * manual/Makefile (add-chapters): Remove.
26123 ($(objpfx)texis): Do not depend on $(add-chapters).
26124 (nonexamples): Do not handle $(add-chapters).
26125 (examples): Do not handle $(add-ons).
26126 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
26128 * manual/install.texi (Installation): Do not mention add-ons.
26129 (--enable-add-ons): Do not document configure option.
26130 * INSTALL: Regenerated.
26131 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
26132 * manual/maint.texi (Hierarchy Conventions): Do not mention
26134 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
26136 * scripts/gen-sorted.awk: Do not handle Subdirs files from
26138 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
26139 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
26141 2017-10-05 Andreas Schwab <schwab@suse.de>
26144 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
26145 (_IO_flush_all_lockp): Always lock list_all_lock.
26146 (_IO_flush_all_linebuffered): Likewise.
26147 (_IO_unbuffer_all): Likewise.
26149 2017-10-05 Florian Weimer <fweimer@redhat.com>
26152 Do not flush stdio streams on abort.
26153 * stdlib/abort.c (fflush): Remove macro definition.
26154 (abort): Remove stages related to stdio flushing.
26156 2017-10-05 Florian Weimer <fweimer@redhat.com>
26158 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
26160 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
26162 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26164 2017-10-05 Florian Weimer <fweimer@redhat.com>
26166 * support/support_format_hostent.c (support_format_hostent): Add
26167 more error information for NETDB_INTERNAL.
26169 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26171 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
26172 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
26173 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
26174 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
26175 AC_DEFINE if multi-arch is enabled.
26176 * sysdeps/i386/configure: Regenerated.
26178 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26180 * Makeconfig (+link-static-before-libc): Use
26181 $(DEFAULT-LDFLAGS-$(@F)).
26182 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
26183 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
26184 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
26186 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26188 * elf/Makefile (tests): Add tst-main1.
26189 (modules-names): Add tst-main1mod.
26190 ($(objpfx)tst-main1): New.
26191 (CRT-tst-main1): Likewise.
26192 (LDFLAGS-tst-main1): Likewise.
26193 (LDLIBS-tst-main1): Likewise.
26194 (tst-main1mod.so-no-z-defs): Likewise.
26195 * elf/tst-main1.c: New file.
26196 * elf/tst-main1mod.c: Likewise.
26198 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26200 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
26202 2017-10-04 Joseph Myers <joseph@codesourcery.com>
26204 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
26205 (fma): Define using libm_alias_double.
26206 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
26207 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
26209 (fmal): Do not define as compat symbol here.
26210 * sysdeps/alpha/fpu/s_fma.c: New file.
26212 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26214 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
26216 2017-10-04 Joseph Myers <joseph@codesourcery.com>
26219 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
26221 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26223 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
26224 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26225 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
26226 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
26227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26228 Include <math_ldbl_opt.h>
26229 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26231 (compat_symbol): Undefine and redefine.
26232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
26234 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26235 (compat_symbol): Undefine and redefine.
26236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
26237 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
26238 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
26239 GLIBC_2_1 for libm.
26240 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
26241 GLIBC_2.0 copysignl symbol.
26242 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
26243 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
26245 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
26247 2017-10-04 Florian Weimer <fweimer@redhat.com>
26249 * scripts/check-local-headers.sh: Ignore nspr4 header file
26250 directory in addition to nspr.
26252 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
26255 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
26256 * configure: Regenerate.
26257 * crypt/Makefile (nss-cpp-flags): New variable.
26258 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
26259 (CPPFLAGS-md5-crypt.c): Use it.
26260 * scripts/check-local-headers.sh: Ignore nspr header file
26263 2017-10-04 Andreas Schwab <schwab@suse.de>
26265 * nis/Makefile (services): Remove compat.
26266 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
26267 ($(objpfx)libnss_compat.so): Remove rule.
26268 * nis/Versions (libnss_compat): Remove.
26269 * nss/Makefile (services): Add compat.
26270 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
26271 * nss/Versions (libnss_compat): Define.
26272 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
26273 Don't include <rpc/types.h>. Replace bool_t by bool.
26274 * nss/nss_compat/compat-initgroups.c: Likewise.
26275 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
26276 instead of <rpcsrv/ypclnt.h>.
26277 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
26278 yp_get_default_domain.
26279 * nss/nss_compat/compat-pwd.c: Likewise.
26280 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
26281 yp_get_default_domain.
26282 * nss/nss_compat/nisdomain.c: New file.
26283 * nss/nss_compat/nisdomain.h: Likewise.
26285 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26288 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
26289 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26291 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26294 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
26295 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
26297 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26299 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
26300 "movl main@GOTOFF(%ebx), %eax".
26302 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26304 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
26305 allow undefined _DYNAMIC in PIE libc.a.
26306 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
26309 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26311 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
26314 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26316 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
26319 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26321 * math/test-math-iscanonical.cc (error): Replace bool with int.
26323 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26325 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
26326 (modf): Define using libm_alias_double, only if [!__modf].
26327 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
26328 <libm-alias-double.h>.
26329 (modf): Define using libm_alias_double, only if [!__modf].
26330 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
26331 compat symbol here.
26332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
26333 (weak_alias): Do not undefine and redefine.
26334 (strong_alias): Likewise.
26335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
26336 (weak_alias): Likewise.
26337 (strong_alias): Likewise.
26339 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
26340 (logb): Define using libm_alias_double, only if [!__logb].
26341 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
26342 <libm-alias-double.h>.
26343 (logb): Define using libm_alias_double, only if [!__logb].
26344 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
26345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
26346 (weak_alias): Do not undefine and redefine.
26347 (strong_alias): Likewise.
26348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
26349 (weak_alias): Likewise.
26350 (strong_alias): Likewise.
26352 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26354 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
26355 Check SHARED instead PIC.
26357 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26359 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
26360 [!__fmaf] (fmaf): Define using libm_alias_float.
26362 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
26363 (frexp): Define using libm_alias_double.
26364 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
26365 <libm-alias-double.h>.
26366 (frexp): Define using libm_alias_double.
26367 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
26368 compat symbol here.
26370 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26373 * math/math.h: Trivial fix for unbalanced parentheses in comment.
26374 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
26375 (CFLAGS-test-math-iscanonical.cc): New variable.
26376 * math/test-math-iscanonical.cc: New file.
26377 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
26378 Provide a C++ implementation based on function overloading,
26379 rather than using __MATH_TG, which uses C-only builtins.
26380 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
26382 * sysdeps/powerpc/powerpc64le/Makefile
26383 (CFLAGS-test-math-iscanonical.cc): New variable.
26385 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26387 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
26388 (ceil): Define using libm_alias_double.
26389 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
26390 (floor): Define using libm_alias_double.
26391 * sysdeps/ieee754/dbl-64/s_llround.c: Include
26392 <libm-alias-double.h>.
26393 (llround): Define using libm_alias_double.
26394 * sysdeps/ieee754/dbl-64/s_lround.c: Include
26395 <libm-alias-double.h>.
26396 (lround): Define using libm_alias_double.
26397 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
26398 <libm-alias-double.h>.
26399 (nearbyint): Define using libm_alias_double.
26400 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
26401 <libm-alias-double.h>.
26402 (remquo): Define using libm_alias_double.
26403 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
26404 (rint): Define using libm_alias_double.
26405 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
26406 (round): Define using libm_alias_double.
26407 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
26408 (trunc): Define using libm_alias_double.
26409 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
26410 <libm-alias-double.h>.
26411 (ceil): Define using libm_alias_double.
26412 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
26413 <libm-alias-double.h>.
26414 (floor): Define using libm_alias_double.
26415 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
26416 <libm-alias-double.h>.
26417 (llround): Define using libm_alias_double.
26418 [_LP64] (lround): Likewise.
26419 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
26420 <libm-alias-double.h>.
26421 [!_LP64] (lround): Define using libm_alias_double.
26422 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
26423 <libm-alias-double.h>.
26424 (nearbyint): Define using libm_alias_double.
26425 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
26426 <libm-alias-double.h>.
26427 (remquo): Define using libm_alias_double.
26428 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
26429 <libm-alias-double.h>.
26430 (rint): Define using libm_alias_double.
26431 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
26432 <libm-alias-double.h>.
26433 (round): Define using libm_alias_double.
26434 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
26435 <libm-alias-double.h>.
26436 (trunc): Define using libm_alias_double.
26437 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
26438 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
26439 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
26440 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
26441 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
26442 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
26443 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
26444 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
26445 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
26447 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26449 * math/w_remainder.c: New file.
26450 * math/w_remainderf.c: New file.
26451 * math/w_remainderl.c: New file.
26453 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26455 * elf/rtld.c (BOOTSTRAP_MAP): New.
26456 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
26457 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26459 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26461 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
26464 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
26466 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
26467 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
26468 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
26469 rtld_hidden_data_ver): Define to empty.
26470 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
26471 __assert_perror_fail): Likewise.
26472 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26473 (__rewinddir): Likewise.
26474 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26475 (__profile_frequency): Likewise.
26476 * include/setjmp.h (__sigsetjmp): Likewise.
26477 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
26478 __libc_sigaction): Likewise.
26479 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
26480 not set hidden attribute.
26481 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
26482 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
26483 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
26484 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
26485 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
26486 __fxstatat64): Likewise.
26487 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26488 (__uname): Likewise.
26489 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
26490 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
26491 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
26492 (NO_RTLD_HIDDEN): Set.
26493 * sysdeps/mach/hurd/configure: Refresh.
26494 * config.h.in: Refresh.
26496 2017-10-02 Joseph Myers <joseph@codesourcery.com>
26498 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
26499 (atan): Define using libm_alias_double.
26500 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
26501 (tan): Define using libm_alias_double.
26502 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
26503 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
26505 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
26506 define as weak alias of __atan. Do not define any aliases if
26508 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
26509 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
26510 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
26511 as weak alias of __tan. Do not define any aliases if [__tan].
26512 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
26513 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
26514 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
26516 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
26517 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
26518 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
26519 and define as weak alias of __atan.
26520 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
26522 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
26523 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
26524 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
26525 define as weak alias of __tan.
26527 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26529 * math/w_lgamma.c: New file.
26530 * math/w_lgammaf.c: New file.
26531 * math/w_lgammal.c: New file.
26533 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26535 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
26536 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
26537 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
26538 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
26539 * sysdeps/ieee754/flt-32/w_logf.c: New file.
26540 * sysdeps/ieee754/flt-32/w_powf.c: New file.
26541 * sysdeps/i386/fpu/w_log2f.c: New file.
26542 * sysdeps/i386/fpu/w_logf.c: New file.
26543 * sysdeps/i386/fpu/w_powf.c: New file.
26544 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
26545 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
26546 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
26548 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26549 H.J. Lu <hongjiu.lu@intel.com>
26551 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
26552 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
26553 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
26554 * sysdeps/ieee754/flt-32/w_expf.c: New file.
26555 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
26557 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
26558 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
26559 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
26560 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
26561 * sysdeps/i386/fpu/w_exp2f.c: New file.
26562 * sysdeps/i386/fpu/w_expf.c: New file.
26563 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
26564 * sysdeps/x86_64/fpu/w_expf.c: New file.
26566 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26568 * math/Versions (logf): New libm symbol at GLIBC_2.27.
26571 * math/w_log2f.c: New file.
26572 * math/w_logf.c: New file.
26573 * math/w_powf.c: New file.
26574 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
26575 * math/w_logf_compat.c (__logf_compat): Likewise.
26576 * math/w_powf_compat.c (__powf_compat): Likewise.
26577 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
26578 * sysdeps/ia64/fpu/e_logf.S: Likewise.
26579 * sysdeps/ia64/fpu/e_powf.S: Likewise.
26580 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26581 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26582 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26583 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26584 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26585 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26586 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26587 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26588 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26589 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26590 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26591 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26600 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26601 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26602 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26603 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26604 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26605 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26607 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26609 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26610 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26611 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26613 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26615 * sysdeps/powerpc/powerpc64/multiarch/Makefile
26616 (sysdep_routines): Add memrchr_power8.
26617 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26618 (memrchr): Add __memrchr_power8 to list of memrchr functions.
26619 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
26621 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
26622 (memrchr): Add __memrchr_power8 to ifunc list.
26623 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
26625 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26628 * sysdeps/unix/sysv/linux/posix_fadvise64.c
26629 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
26631 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26632 (__posix_fallocate64_l64): Likewise.
26634 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26637 * sysdeps/unix/sysv/linux/sched_setaffinity.c
26638 (__sched_setaffinity_new): Add libc_hidden_proto and
26641 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26644 * include/glob.h (__glob64): Add libc_hidden_proto.
26645 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
26648 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26651 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
26654 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26657 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
26659 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26662 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
26665 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26668 * csu/version.c (__libc_print_version): Add attribute_hidden.
26670 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26673 * include/libc-internal.h (__init_misc): Add attribute_hidden.
26675 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26678 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
26680 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26683 * nscd/nscd_helper.c (__nis_hash): New prototype.
26685 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26688 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
26689 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
26691 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26692 * termios/tcgetattr.c (__tcgetattr): Likewise.
26694 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26697 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
26698 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
26699 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
26700 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
26701 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
26703 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26706 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
26708 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26711 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
26712 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
26714 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26717 * intl/hash-string.h (__hash_string): Add attribute_hidden.
26719 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26722 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
26723 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
26725 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26728 * include/ifreq.h: New file.
26729 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
26730 (__ifreq): Likewise.
26731 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
26732 (__ifreq): Likewise.
26734 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26737 * include/idna.h: New file.
26738 * inet/getnameinfo.c: Include <idna.h> instead of
26740 (__idna_to_unicode_lzlz): Removed.
26741 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
26743 (__idna_to_ascii_lz): Removed.
26744 (__idna_to_unicode_lzlz): Likewise.
26746 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26749 * include/plural-exp.h: New file.
26750 * intl/plural-exp.c: Include <plural-exp.h> instead of
26753 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26756 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
26757 "getsourcefilter.h".
26758 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
26759 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
26760 "getsourcefilter.h".
26761 (__get_sol): Removed.
26763 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26766 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
26768 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
26770 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26773 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
26776 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26779 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
26781 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26784 * include/search.h (__tdestroy): Add libc_hidden_proto.
26785 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
26787 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26790 * include/assert.h (__assert_fail_base): Add attribute_hidden.
26792 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26795 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
26798 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26801 * include/signal.h (__kill): Add libc_hidden_proto.
26802 (__sigblock): Likewise.
26803 (__sigprocmask): Likewise.
26804 (__sigaltstack): Likewise.
26805 * signal/kill.c (__kill): Add libc_hidden_def.
26806 * signal/sigblock.c (__sigblock): Likewise.
26807 * signal/sigprocmask.c (__sigprocmask): Likewise.
26808 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
26809 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
26810 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
26811 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
26812 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
26814 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
26816 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
26817 (__sigprocmask): Likewise.
26818 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
26820 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
26821 (__sigprocmask): Likewise.
26822 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
26825 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26828 * include/string.h (__strsep): Add libc_hidden_proto.
26829 * string/strsep.c (__strsep): Add libc_hidden_def.
26831 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26834 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
26836 (__spawni): Likewise.
26838 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26841 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
26842 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
26845 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26848 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
26850 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26853 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
26854 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
26855 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
26856 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
26857 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
26859 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
26860 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
26862 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26865 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
26866 (__dcigettext): Likewise.
26868 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26871 * include/sys/sysinfo.h (__get_nprocs_conf): Add
26873 (__get_nprocs): Likewise.
26874 (__get_phys_pages): Likewise.
26875 (__get_avphys_pages): Likewise.
26876 (__get_child_max): Add attribute_hidden.
26877 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
26878 (__get_nprocs): Likewise.
26879 (__get_phys_pages): Likewise.
26880 (__get_avphys_pages): Likewise.
26881 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
26883 (__get_nprocs): Likewise.
26884 (__get_phys_pages): Likewise.
26885 (__get_avphys_pages): Likewise.
26886 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
26888 (__get_nprocs_conf): Likewise.
26889 (__get_phys_pages): Likewise.
26890 (__get_avphys_pages): Likewise.
26892 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26895 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
26897 (__netlink_close): Likewise.
26898 (__netlink_free_handle): Likewise.
26899 (__netlink_request): Likewise.
26901 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26904 * include/rpc/rpc.h (__rpc_thread_variables): Add
26906 (__rpc_thread_svc_cleanup): Likewise.
26907 (__rpc_thread_clnt_cleanup): Likewise.
26908 (__rpc_thread_key_cleanup): Likewise.
26910 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26913 * include/sys/uio.h (__readv): Add libc_hidden_proto.
26914 (__writev): Likewise.
26915 * misc/readv.c (__readv): Add libc_hidden_def.
26916 * misc/writev.c (__writev): Likewise.
26917 * sysdeps/posix/readv.c (__readv): Likewise.
26918 * sysdeps/posix/writev.c (__writev): Likewise.
26919 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
26920 (__readv): Likewise.
26921 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
26922 (__writev): Likewise.
26924 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26927 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
26928 (__regcomp): Add libc_hidden_proto.
26929 (__regexec): Likewise.
26930 (__regfree): Likewise.
26931 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
26932 (__regfree): Likewise.
26933 * posix/regexec.c (__regexec): Likewise.
26935 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26938 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
26939 (__getutent): Likewise.
26940 (__getutid): Likewise.
26941 (__getutline): Likewise.
26942 (__pututline): Likewise.
26943 (__getutent_r): Likewise.
26944 (__getutid_r): Likewise.
26945 (__getutline_r): Likewise.
26946 (__utmpname): Add attribute_hidden.
26947 (__setutent): Likewise.
26948 (__endutent): Likewise.
26949 * login/getutent.c (__getutent): Add libc_hidden_def.
26950 * login/getutent_r.c (__getutent_r): Likewise.
26951 (__pututline): Likewise.
26952 * login/getutid.c (__getutid): Likewise.
26953 * login/getutid_r.c (__getutid_r): Likewise.
26954 * login/getutline.c (__getutline): Likewise.
26955 * login/getutline_r.c (__getutline_r): Likewise.
26956 * login/updwtmp.c (__updwtmp): Likewise.
26958 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26961 * include/dirent.h (__opendir): Always add attribute_hidden.
26962 (__fdopendir): Likewise.
26963 (__closedir): Likewise.
26964 (__readdir): Likewise.
26965 (__readdir64): Add libc_hidden_proto.
26966 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
26967 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
26968 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
26969 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
26972 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26975 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
26976 * include/netdb.h (__gethostbyaddr_r): Likewise.
26977 (__gethostbyname_r): Likewise.
26978 (__gethostbyname2_r): Likewise.
26979 (__getnetbyaddr_r): Likewise.
26980 (__getnetbyname_r): Likewise.
26981 (__getservbyname_r): Likewise.
26982 (__getservbyport_r): Likewise.
26983 (__getprotobyname_r): Likewise.
26984 (__getprotobynumber_r): Likewise.
26985 (__getnetgrent_r): Likewise.
26986 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
26987 (__getrpcbynumber_r): Likewise.
26988 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
26990 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26993 * include/stdio.h (__fcloseall): Add attribute_hidden.
26994 (__getline): Likewise.
26995 (__path_search): Likewise.
26996 (__gen_tempname): Likewise.
26997 (__libc_message): Likewise.
26998 (__flockfile): Likewise.
26999 (__funlockfile): Likewise.
27000 (__fxprintf): Likewise.
27001 (__fxprintf_nocancel): Likewise.
27003 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27006 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
27007 (__sgetsgent_r): Likewise.
27009 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27012 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
27013 (__statfs64): Likewise.
27014 (__fstatfs64): Likewise.
27015 * include/sys/statvfs.h (__statvfs64): Likewise.
27016 (__fstatvfs64): Likewise.
27017 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
27018 (__statfs_filesize_max): Likewise.
27019 (__statfs_symlinks): Likewise.
27020 (__statfs_chown_restricted): Likewise.
27022 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27025 * include/time.h (__tzstring): Add attribute_hidden.
27026 (__tzfile_read): Likewise.
27027 (__tzfile_compute): Likewise.
27028 (__tzfile_default): Likewise.
27029 (__tzset_parse_tz): Likewise.
27030 (__offtime): Likewise.
27031 (__asctime_r): Likewise.
27032 (__tzset): Likewise.
27033 (__tz_convert): Likewise.
27034 (__getdate_r): Likewise.
27035 (__getclktck): Likewise.
27037 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27040 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
27041 (__nscd_unmap): Likewise.
27042 (__nscd_cache_search): Likewise.
27043 (__nscd_get_nl_timestamp): Likewise.
27044 (__nscd_getpwnam_r): Likewise.
27045 (__nscd_getpwuid_r): Likewise.
27046 (__nscd_getgrnam_r): Likewise.
27047 (__nscd_getgrgid_r): Likewise.
27048 (__nscd_gethostbyname_r): Likewise.
27049 (__nscd_gethostbyname2_r): Likewise.
27050 (__nscd_gethostbyaddr_r): Likewise.
27051 (__nscd_getai): Likewise.
27052 (__nscd_getgrouplist): Likewise.
27053 (__nscd_getservbyname_r): Likewise.
27054 (__nscd_getservbyport_r): Likewise.
27055 (__nscd_innetgr): Likewise.
27056 (__nscd_setnetgrent): Likewise.
27058 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27061 * include/gmp.h: Declare internal functions only if _ISOMAC is
27063 (__mpn_extract_double): Add attribute_hidden.
27064 (__mpn_extract_long_double): Likewise.
27065 (__mpn_extract_float128): Likewise.
27066 (__mpn_construct_float): Likewise.
27067 (__mpn_construct_double): Likewise.
27068 (__mpn_construct_long_double): Likewise.
27069 (__mpn_construct_float128): Likewise.
27070 (mpn_add_1): Likewise.
27071 (mpn_addmul_1): Likewise.
27072 (mpn_add_n): Likewise.
27073 (mpn_cmp): Likewise.
27074 (mpn_divrem): Likewise.
27075 (mpn_lshift): Likewise.
27076 (mpn_mul): Likewise.
27077 (mpn_mul_1): Likewise.
27078 (mpn_rshift): Likewise.
27079 (mpn_sub_1): Likewise.
27080 (mpn_submul_1): Likewise.
27081 (mpn_sub_n): Likewise.
27083 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27086 * include/wchar.h (__wcsnlen): Add attribute_hidden.
27087 (__wcscat): Likewise.
27088 (__btowc): Likewise.
27089 (__wcrtomb): Likewise.
27090 (__mbsrtowcs): Likewise.
27091 (__wcsrtombs): Likewise.
27092 (__mbsnrtowcs): Likewise.
27093 (__wcsnrtombs): Likewise.
27094 (__wcsncpy): Likewise.
27095 (__wcpncpy): Likewise.
27096 (__wmemcpy): Likewise.
27097 (__wmempcpy): Likewise.
27098 (__wmemmove): Likewise.
27099 (__wcschrnul): Likewise.
27100 (__vfwscanf): Likewise.
27101 (__vswprintf): Likewise.
27102 (__fwprintf): Likewise.
27103 (__vfwprintf): Likewise.
27105 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27108 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
27109 (__getgrgid_r): Likewise.
27110 (__getgrnam_r): Likewise.
27111 * include/pwd.h (__getpwuid_r): Likewise.
27112 (__getpwnam_r): Likewise.
27113 (__fgetpwent_r): Likewise.
27114 * include/shadow.h (__getspnam_r): Likewise.
27115 (__sgetspent_r): Likewise.
27116 (__fgetspent_r): Likewise.
27118 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27121 * include/unistd.h (__access): Add attribute_hidden.
27122 (__lseek64): Likewise.
27123 (__libc_pread64): Likewise.
27124 (__pipe2): Likewise.
27125 (__sleep): Likewise.
27126 (__chdir): Likewise.
27127 (__fchdir): Likewise.
27128 (__getcwd): Likewise.
27129 (__rmdir): Likewise.
27130 (__execvpe): Likewise.
27131 (__execve): Likewise.
27132 (__setsid): Likewise.
27133 (__getuid): Likewise.
27134 (__geteuid): Likewise.
27135 (__getgid): Likewise.
27136 (__getegid): Likewise.
27137 (__getgroups): Likewise.
27138 (__group_member): Likewise.
27139 (__ttyname_r): Likewise.
27140 (__isatty): Likewise.
27141 (__readlink): Likewise.
27142 (__unlink): Likewise.
27143 (__gethostname): Likewise.
27144 (__profil): Likewise.
27145 (__getdtablesize): Likewise.
27147 (__ftruncate): Likewise.
27148 (__ftruncate64): Likewise.
27150 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27153 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
27154 * argp/argp-fs-xinl.c: Likewise.
27155 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
27156 * argp/argp-parse.c: Include <argp.h>.
27157 * argp/argp-xinl.c: Likewise.
27158 * include/argp-fmtstream.h: New file.
27159 * include/argp.h (__argp_error): Add attribute_hidden.
27160 (__argp_failure): Likewise.
27161 (__argp_input): Likewise.
27162 (__argp_state_help): Likewise.
27164 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27167 * include/wchar.h (____wcstof_l_internal): New prototype.
27168 (____wcstod_l_internal): Likewise.
27169 (____wcstold_l_internal): Likewise.
27170 (____wcstol_l_internal): Likewise.
27171 (____wcstoul_l_internal): Likewise.
27172 (____wcstoll_l_internal): Likewise.
27173 (____wcstoull_l_internal): Likewise.
27174 (____wcstof128_l_internal): Likewise.
27175 * sysdeps/ieee754/float128/wcstof128.c
27176 (____wcstof128_l_internal): Removed.
27177 * sysdeps/ieee754/float128/wcstof128_l.c
27178 (____wcstof128_l_internal): Likewise.
27179 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
27180 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
27181 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
27182 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
27183 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
27184 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
27185 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
27186 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
27187 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
27188 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
27190 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27193 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
27194 instead of <sys/statvfs.h>.
27195 (__internal_statvfs): Removed.
27196 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
27197 instead of <sys/statvfs.h>.
27198 (__internal_statvfs64): Removed.
27199 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
27200 "internal_statvfs.h" instead of <sys/statvfs.h>.
27201 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
27202 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
27203 instead of <sys/statvfs.h>.
27204 (__internal_statvfs): Removed.
27205 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
27206 instead of <sys/statvfs.h>.
27207 (__internal_statvfs64): Removed.
27209 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27212 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
27213 (__gconv_close): Likewise.
27214 (__gconv): Likewise.
27215 (__gconv_find_transform): Likewise.
27216 (__gconv_lookup_cache): Likewise.
27217 (__gconv_compare_alias_cache): Likewise.
27218 (__gconv_load_cache): Likewise.
27219 (__gconv_get_path): Likewise.
27220 (__gconv_close_transform): Likewise.
27221 (__gconv_release_cache): Likewise.
27222 (__gconv_find_shlib): Likewise.
27223 (__gconv_release_shlib): Likewise.
27224 (__gconv_get_builtin_trans): Likewise.
27225 (__gconv_compare_alias): Likewise.
27226 * include/dlfcn.h (_dlerror_run): Likewise.
27227 * include/stdio.h (__fortify_fail_abort): Likewise.
27228 * include/time.h (__tz_compute): Likewise.
27229 (__strptime_internal): Likewise.
27230 * intl/gettextP.h (_nl_find_domain): Likewise.
27231 (_nl_load_domain): Likewise.
27232 (_nl_find_msg): Likewise.
27233 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
27234 (EXTRACT_PLURAL_EXPRESSION): Likewise.
27235 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
27236 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
27237 (__gai_find_request): Likewise.
27238 (__gai_remove_request): Likewise.
27239 (__gai_notify): Likewise.
27240 (__gai_notify_only): Likewise.
27241 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
27242 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
27243 (_dl_non_dynamic_init): Likewise.
27244 (_dl_aux_init): Likewise.
27245 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
27246 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
27248 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
27249 (__wcsmbs_clone_conv): Likewise.
27250 (__wcsmbs_named_conv): Likewise.
27252 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27255 * include/stdlib.h (__random): Add attribute_hidden.
27256 (__random_r): Likewise.
27257 (__srandom_r): Likewise.
27258 (__initstate_r): Likewise.
27259 (__setstate_r): Likewise.
27260 (__erand48_r): Likewise.
27261 (__nrand48_r): Likewise.
27262 (__jrand48_r): Likewise.
27263 (__srand48_r): Likewise.
27264 (__seed48_r): Likewise.
27265 (__lcong48_r): Likewise.
27266 (__drand48_iterate): Likewise.
27267 (__setenv): Likewise.
27268 (__unsetenv): Likewise.
27269 (__clearenv): Likewise.
27270 (__ptsname_r): Likewise.
27271 (__posix_openpt): Likewise.
27272 (__add_to_environ): Likewise.
27273 (__realpath): Add libc_hidden_proto.
27274 (__ecvt_r): Likewise.
27275 (__fcvt_r): Likewise.
27276 (__qecvt_r): Likewise.
27277 (__qfcvt_r): Likewise.
27278 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
27279 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
27281 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27284 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
27285 * include/time.h (__mktime_internal): Likewise.
27286 * libio/iolibio.h (__fopen_internal): Likewise.
27288 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
27290 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
27292 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
27293 Correct offset used to restore PIC register.
27295 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
27298 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
27299 code to load address of __getcontext_ret when generating PIC code.
27301 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
27303 * elf/Makefile (tests-static-internal): Add
27304 tst-tls1-static-non-pie.
27305 (LDFLAGS-tst-tls1-static-non-pie): New.
27306 * elf/tst-tls1-static-non-pie.c: New file.
27308 2017-09-29 Joseph Myers <joseph@codesourcery.com>
27310 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
27311 (asinh): Define using libm_alias_double.
27312 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
27313 (cbrt): Define using libm_alias_double.
27314 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
27315 <libm-alias-double.h>.
27316 (copysign): Define using libm_alias_double.
27317 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
27318 (erf): Define using libm_alias_double.
27320 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
27321 (expm1): Define using libm_alias_double.
27322 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
27323 (fabs): Define using libm_alias_double.
27324 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
27326 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
27327 <libm-alias-double.h>.
27328 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
27330 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
27331 <libm-alias-double.h>.
27332 (getpayload): Define using libm_alias_double.
27333 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
27334 <libm-alias-double.h>.
27335 (llrint): Define using libm_alias_double.
27336 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
27337 (lrint): Define using libm_alias_double.
27338 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
27339 <libm-alias-double.h>.
27340 (nextup): Define using libm_alias_double.
27341 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
27342 <libm-alias-double.h>.
27343 (roundeven): Define using libm_alias_double.
27344 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
27346 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
27347 <libm-alias-double.h>.
27348 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
27349 using libm_alias_double.
27350 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
27351 (cos): Define using libm_alias_double.
27353 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
27354 <libm-alias-double.h>.
27355 (sincos): Define using libm_alias_double.
27356 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
27357 (tanh): Define using libm_alias_double.
27358 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
27359 <libm-alias-double.h>.
27360 (totalorder): Define using libm_alias_double.
27361 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
27362 <libm-alias-double.h>.
27363 (totalordermag): Define using libm_alias_double.
27364 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
27366 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
27368 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
27369 <libm-alias-double.h>.
27370 (getpayload): Define using libm_alias_double.
27371 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
27372 <libm-alias-double.h>.
27373 (roundeven): Define using libm_alias_double.
27374 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
27375 <libm-alias-double.h>.
27376 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
27377 <libm-alias-double.h>.
27378 (totalorder): Define using libm_alias_double.
27379 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
27380 <libm-alias-double.h>.
27381 (totalordermag): Define using libm_alias_double.
27382 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
27383 libc compat symbol here.
27384 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
27385 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
27386 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
27387 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
27388 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
27389 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
27390 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
27391 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
27392 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
27393 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
27395 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27397 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
27398 _dl_relocate_static_pie instead of _dl_start to compute load
27399 address in static PIE. Return 0 if _DYNAMIC is undefined for
27402 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27404 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
27405 _DYNAMIC is undefined for static executable.
27407 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27409 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
27411 2017-09-29 Joseph Myers <joseph@codesourcery.com>
27413 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27415 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27417 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
27418 (__ieee754_lgamma_r): Use fabs rather than __fabs.
27419 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
27420 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
27421 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
27422 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
27423 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
27424 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
27425 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
27426 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27427 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
27428 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
27429 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27430 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27431 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
27432 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
27433 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
27435 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27437 * math/bits/cmathcalls.h (cimag): Remove inline.
27438 (creal): Remove inline.
27439 (conj): Remove inline.
27441 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27443 * math/Makefile (type-float-routines): Add e_powf_log2_data.
27444 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
27445 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
27446 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
27447 (issignalingf_inline): Likewise.
27448 (POWF_LOG2_TABLE_BITS): Likewise.
27449 (POWF_LOG2_POLY_ORDER): Likewise.
27450 (POWF_SCALE_BITS): Likewise.
27451 (POWF_SCALE): Likewise.
27452 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
27453 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
27454 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
27456 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27458 * math/Makefile (type-float-routines): Add e_log2f_data.
27459 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
27460 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
27461 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
27462 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
27463 * sysdeps/i386/fpu/e_log2f_data.c: New file.
27464 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
27465 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
27467 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27469 * math/Makefile (type-float-routines): Add e_logf_data.
27470 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
27471 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
27472 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
27473 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
27474 * sysdeps/i386/fpu/e_logf_data.c: New file.
27475 * sysdeps/ia64/fpu/e_logf_data.c: New file.
27476 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
27478 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
27480 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
27481 undefined _DYNAMIC in PIE libc.a.
27482 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27485 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27487 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
27488 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
27489 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
27490 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
27491 (__signbit): Remove.
27492 (__signbitl): Remove.
27493 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
27494 (__signbit): Remove.
27495 (__signbitl): Remove.
27496 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
27497 (__signbit): Remove.
27498 (__signbitl): Remove.
27499 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
27500 (__signbit): Remove.
27501 (__signbitl): Remove.
27502 * sysdeps/tile/bits/mathinline.h: Delete file.
27503 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
27504 (__signbit): Remove.
27505 (__signbitl): Remove.
27507 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
27509 * math/math.h: Improve handling of C99 isgreater macros.
27510 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
27511 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
27512 * sysdeps/powerpc/bits/mathinline.h: Likewise.
27513 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27514 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
27516 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
27518 * sysdeps/aarch64/libm-test-ulps: Update.
27520 2017-09-28 Joseph Myers <joseph@codesourcery.com>
27523 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27524 math_opt_barrier on argument when doing arithmetic on it.
27525 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27526 Likewise. Use math_force_eval not math_opt_barrier after
27528 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
27529 math_opt_barrier on argument when doing arithmetic on it.
27530 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27533 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
27535 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
27537 (__freeifaddrs): Likewise.
27539 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
27541 * include/dirent.h (__dirfd): New declaration.
27542 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
27544 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
27545 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
27546 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
27547 * include/unistd.h (__revoke): New declaration.
27548 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
27550 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
27551 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
27553 * include/dirent.h (__seekdir): New declaration.
27554 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
27555 redefine as weak alias.
27556 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
27558 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
27559 and use libc_hidden_def on them.
27560 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
27562 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
27563 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
27564 instead of getifaddrs and freeifaddrs.
27566 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27569 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
27570 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
27571 (__dso_handle): Remove declaration.
27572 * dlfcn/tstatexit.c (__dso_handle): Removed.
27573 (main): Don't check __dso_handle.
27574 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
27575 (main): Don't check __dso_handle.
27576 * include/dso_handle.h: New file.
27577 * malloc/mtrace.c: Include <dso_handle.h>.
27578 (mtrace): Pass __dso_handle directly.
27579 * nptl/pthread_atfork.c: Include <dso_handle.h>.
27580 (__dso_handle): Remove declaration.
27581 (__pthread_atfork): Pass __dso_handle directly.
27582 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
27583 (__dso_handle): Removed.
27584 * posix/wordexp-test.c: Include <dso_handle.h>.
27585 (__dso_handle): Remove declaration.
27586 (__app_register_atfork): Pass __dso_handle directly.
27587 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
27588 (__dso_handle): Remove declaration.
27589 (at_quick_exit): Pass __dso_handle directly.
27590 * stdlib/atexit.c: Include <dso_handle.h>.
27591 (__dso_handle): Remove declaration.
27592 (atexit): Pass __dso_handle directly.
27593 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
27594 (__dso_handle): Removed.
27596 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27598 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
27601 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
27603 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
27604 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
27605 values to correct default value for given type.
27607 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
27610 * elf/Makefile (tests): Add tst-debug1.
27611 ($(objpfx)tst-debug1): New.
27612 ($(objpfx)tst-debug1.out): Likewise.
27613 ($(objpfx)tst-debug1mod1.so): Likewise.
27614 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
27615 with p_filesz == 0.
27616 * elf/tst-debug1.c: New file.
27618 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27620 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
27621 Define using __ifunc.
27623 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27625 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
27628 2017-09-26 Joseph Myers <joseph@codesourcery.com>
27631 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
27633 2017-09-26 Florian Weimer <fweimer@redhat.com>
27635 * resolv/Makefile (tests-internal): Fix typo in comment.
27637 2017-09-26 Florian Weimer <fweimer@redhat.com>
27639 * resolv/nss_dns/dns-host.c: Fix typo in comment.
27641 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27643 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
27644 Use an union instead of a max_align_t array for __space,
27645 so that __space is the same size on all platforms.
27646 * malloc/scratch_buffer_grow_preserve.c
27647 (__libc_scratch_buffer_grow_preserve): Likewise.
27650 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
27652 * posix/Makefile (routines): Add glob-lstat-compat and
27653 glob64-lstat-compat.
27654 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
27655 * posix/glob-lstat-compat.c: New file.
27656 * posix/glob64-lstat-compat.c: Likewise.
27657 * posix/tst-glob_lstat_compat.c: Likewise.
27658 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
27659 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
27660 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
27661 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
27663 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
27664 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
27665 * posix/glob.c (glob_lstat): New function.
27666 (glob): Rename to __glob and add versioned symbol to 2.27.
27667 (glob_in_dir): Use glob_lstat.
27668 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
27669 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
27670 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
27672 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
27673 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
27674 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
27675 gl_lstat on glob call.
27676 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
27677 and glob64 symbols.
27678 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27679 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
27680 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27681 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27682 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
27683 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
27684 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
27685 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
27686 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
27687 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27688 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27689 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
27690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
27692 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
27693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
27694 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27695 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27696 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
27697 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27698 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27699 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
27700 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
27701 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
27702 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27703 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27705 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
27707 * configure.ac (AS): Require binutils 2.25 or later.
27708 * configure: Regenerated.
27710 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27713 * stdlib/test-atexit-race-common.c (do_test): Minimize required
27716 2017-09-25 DJ Delorie <dj@redhat.com>
27719 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
27722 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
27724 * sysdeps/ieee754/dbl-64/sincos32.h
27725 [SINCCOS32_H]: Remove define.
27726 [SINCOS32_H]: Define.
27728 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27730 * math/Versions (expf): New libm symbol at GLIBC_2.27.
27732 * math/w_exp2f.c: New file.
27733 * math/w_expf.c: New file.
27734 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
27735 * math/w_expf_compat.c (__expf_compat): Likewise.
27736 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
27737 * sysdeps/ia64/fpu/e_expf.S: Likewise.
27738 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27739 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27740 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27741 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27742 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27743 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27744 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27745 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27746 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27747 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27748 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27749 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
27752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27758 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27759 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27760 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27761 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27762 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27763 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27765 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27767 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27768 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27769 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27771 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27773 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
27774 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
27775 (roundtoint, converttoint): Likewise.
27776 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
27777 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
27778 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
27779 * sysdeps/ieee754/flt-32/math_config.h: New file.
27780 * sysdeps/ieee754/flt-32/math_errf.c: New file.
27781 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
27782 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
27783 * sysdeps/i386/fpu/math_errf.c: New file.
27784 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
27785 * sysdeps/ia64/fpu/math_errf.c: New file.
27786 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
27787 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
27789 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
27791 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
27792 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
27793 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
27794 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
27795 to make sure that these symbols are defined.
27796 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
27798 (__need_NULL): Do not define.
27799 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
27801 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
27802 CMGROUP_MAX, cmsgcred): Do not define.
27803 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
27805 * bits/socket.h: Likewise.
27806 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
27807 __gettimeofday instead of gettimeofday.
27808 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
27809 instead of settimeofday.
27811 2017-09-22 Joseph Myers <joseph@codesourcery.com>
27813 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
27814 (asinhf): Define using libm_alias_float.
27815 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
27816 (atanf): Define using libm_alias_float.
27817 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
27818 (cbrtf): Define using libm_alias_float.
27819 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
27820 (ceilf): Define using libm_alias_float.
27821 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
27822 <libm-alias-float.h>.
27823 (copysignf): Define using libm_alias_float.
27824 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
27825 (cosf): Define using libm_alias_float.
27826 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
27827 (erff): Define using libm_alias_float.
27829 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
27830 (expm1f): Define using libm_alias_float.
27831 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
27832 (fabsf): Define using libm_alias_float.
27833 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
27834 (floorf): Define using libm_alias_float.
27835 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
27836 (frexpf): Define using libm_alias_float.
27837 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
27839 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
27840 <libm-alias-float.h>.
27841 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
27843 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
27844 <libm-alias-float.h>.
27845 (getpayloadf): Define using libm_alias_float.
27846 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
27847 <libm-alias-float.h>.
27848 (llrintf): Define using libm_alias_float.
27849 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
27850 <libm-alias-float.h>.
27851 (llroundf): Define using libm_alias_float.
27852 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
27853 (logbf): Define using libm_alias_float.
27854 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
27855 (lrintf): Define using libm_alias_float.
27856 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
27857 (lroundf): Define using libm_alias_float.
27858 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
27859 (modff): Define using libm_alias_float.
27860 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
27861 <libm-alias-float.h>.
27862 (nearbyintf): Define using libm_alias_float.
27863 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
27864 <libm-alias-float.h>.
27865 (nextafterf): Define using libm_alias_float.
27866 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
27867 <libm-alias-float.h>.
27868 (nextupf): Define using libm_alias_float.
27869 * sysdeps/ieee754/flt-32/s_remquof.c: Include
27870 <libm-alias-float.h>.
27871 (remquof): Define using libm_alias_float.
27872 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
27873 (rintf): Define using libm_alias_float.
27874 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
27875 <libm-alias-float.h>.
27876 (roundevenf): Define using libm_alias_float.
27877 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
27878 (roundf): Define using libm_alias_float.
27879 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
27880 using libm_alias_float.
27881 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
27882 <libm-alias-float.h>.
27883 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
27884 Define using libm_alias_float.
27885 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
27886 <libm-alias-float.h>.
27887 (sincosf): Define using libm_alias_float.
27888 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
27889 (sinf): Define using libm_alias_float.
27890 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
27891 (tanf): Define using libm_alias_float.
27892 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
27893 (tanhf): Define using libm_alias_float.
27894 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
27895 <libm-alias-float.h>.
27896 (totalorderf): Define using libm_alias_float.
27897 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
27898 <libm-alias-float.h>.
27899 (totalordermagf): Define using libm_alias_float.
27900 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
27901 (truncf): Define using libm_alias_float.
27902 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
27904 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
27907 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27910 math/math.h: Let fpclassify use the builtin in C++ mode, even
27911 when optimazing for size.
27913 2017-09-22 Joseph Myers <joseph@codesourcery.com>
27915 * csu/Makefile (generated): Do not add version-info.h.
27916 (before-compile): Likewise.
27917 (all-Banner-files): Remove variable.
27918 ($(objpfx)version-info.h): Remove rule.
27919 * csu/version.c (banner): Do not include "version-info.h".
27920 * libidn/Banner: Remove.
27921 * manual/contrib.texi (Simon Josefsson): New entry.
27923 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27925 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27926 Remove conditionals on LDBL_MANT_DIG.
27927 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27928 (__ieee754_lgammal_r): Likewise.
27930 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27932 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
27934 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
27935 _Float128 and L(). Replace _Float128 with long double and L(x)
27936 with xL, throughout the file.
27937 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27938 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27939 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27940 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27942 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27944 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
27945 sysdeps/ieee754/ldbl-128ibm.
27946 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
27947 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
27948 of including it. Keep _Float128 and L() intact. These will be
27949 reviewed by a separate patch.
27950 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27951 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27952 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27953 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27955 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
27958 (__finitef128): Define to __redirect___finitef128.
27959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
27960 (__isinff128): Define to __redirect___isinff128.
27961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
27962 (__isnanf128): Define to __redirect___isnanf128.
27964 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27966 * sysdeps/powerpc/powerpc64le/Makefile
27967 (CFLAGS-tst-strtod-nan-locale.c): New variable.
27968 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
27970 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
27971 Carlos O'Donell <carlos@redhat.com>
27974 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
27975 * stdlib/test-dlclose-exit-race.c: New file.
27976 * stdlib/test-dlclose-exit-race-helper.c: New file.
27977 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
27979 2017-09-21 Joseph Myers <joseph@codesourcery.com>
27981 * crypt/Banner: Remove file.
27982 * nptl/Banner: Likewise.
27983 * resolv/Banner: Likewise.
27984 * soft-fp/Banner: Likewise.
27985 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
27986 ($(objpfx)version.d): Remove dependency on banner.h.
27987 ($(objpfx)version.os): Likewise.
27988 * nptl/version.c (banner): Do not include banner.h.
27989 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
27990 Jelinek and BIND code.
27992 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
27993 Carlos O'Donell <carlos@redhat.com>
27995 * support/xdlfcn.h: New file.
27996 * support/xdlfcn.c: New file.
27997 * support/Makefile (libsupport-routines): Add xdlfcn.
27998 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
28000 2017-09-20 Joseph Myers <joseph@codesourcery.com>
28003 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28004 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
28005 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
28006 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
28007 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
28008 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
28009 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
28010 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
28012 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
28013 Ricky Zhou <rickyz@google.com>
28014 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
28017 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
28019 (__new_exitfn): Fail registration when we finished at_exit processing.
28020 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
28021 * stdlib/on_exit.c (__on_exit): Likewise.
28022 * stdlib/exit.c (__exit_funcs_done): New variable.
28023 (__run_exit_handlers): Use __exit_funcs_lock.
28024 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
28026 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
28027 (test-cxa_atexit-race, test-on_exit-race): New tests.
28028 * stdlib/test-atexit-race-common.c: New file.
28029 * stdlib/test-atexit-race.c: New file.
28030 * stdlib/test-at_quick_exit-race.c: New file.
28031 * stdlib/test-cxa_atexit-race.c: New file.
28032 * stdlib/test-on_exit-race.c: New file.
28034 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
28036 * benchtests/Makefile: Add exp2f and log2f benchmarks.
28037 * benchtests/exp2f-inputs: Copy of expf-inputs.
28038 * benchtests/log2f-inputs: Copy of logf-inputs.
28040 2017-09-19 Joseph Myers <joseph@codesourcery.com>
28042 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
28043 Explicitly take address of first element of array arguments in
28044 call to INLINE_SYSCALL.
28046 2017-09-19 Andreas Schwab <schwab@suse.de>
28049 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
28051 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
28053 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
28054 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
28055 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28056 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
28057 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28058 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
28059 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28060 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
28061 * posix/Makefile (tests): Add tst-fexecve.
28062 * posix/tst-fexecve.c: New file.
28064 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28066 * benchtests/Makefile: Add logf benchmark.
28067 * benchtests/logf-inputs: Add reduced trace from wrf_r.
28069 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28071 * benchtests/Makefile: Add expf benchmark.
28072 * benchtests/expf-inputs: Add reduced trace from wrf_r.
28074 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28076 * csu/Makefile: Add -funwind-tables to libc-start.c.
28077 * debug/Makefile: Add -funwind-tables to backtrace.c.
28078 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
28079 * sysdeps/arm/Makefile: Likewise.
28080 * sysdeps/i386/Makefile: Likewise.
28081 * sysdeps/m68k/Makefile: Likewise.
28082 * sysdeps/mips/Makefile: Likewise.
28083 * sysdeps/nios2/Makefile: Likewise.
28084 * sysdeps/sh/Makefile: Likewise.
28085 * sysdeps/sparc/Makefile: Likewise.
28087 2017-09-19 Joseph Myers <joseph@codesourcery.com>
28089 * benchtests/Makefile (bench-math): Add trunc and truncf.
28090 (CFLAGS-bench-trunc.c): New variable.
28091 (CFLAGS-bench-truncf.c): Likewise.
28092 * benchtests/trunc-inputs: New file.
28093 * benchtests/truncf-inputs: Likewise.
28095 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28097 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
28099 2017-09-18 Joseph Myers <joseph@codesourcery.com>
28101 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
28102 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
28104 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
28105 (exp10l): Define as weak alias.
28106 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
28107 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
28109 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
28110 (remainderl): Define as weak alias.
28112 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
28113 (fmal): Define using libm_alias_ldouble.
28114 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
28115 (acoshl): Define using libm_alias_ldouble.
28116 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
28117 (acosl): Define using libm_alias_ldouble.
28118 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
28119 (asinl): Define using libm_alias_ldouble.
28120 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
28121 (atan2l): Define using libm_alias_ldouble.
28122 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
28123 (atanhl): Define using libm_alias_ldouble.
28124 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
28125 (coshl): Define using libm_alias_ldouble.
28126 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
28127 (exp10l): Define using libm_alias_ldouble.
28128 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
28129 (exp2l): Define using libm_alias_ldouble.
28130 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
28131 (expl): Define using libm_alias_ldouble.
28132 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
28133 (fmodl): Define using libm_alias_ldouble.
28134 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
28135 (hypotl): Define using libm_alias_ldouble.
28136 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
28137 (j0l): Define using libm_alias_ldouble.
28139 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
28140 (j1l): Define using libm_alias_ldouble.
28142 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
28143 (jnl): Define using libm_alias_ldouble.
28145 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
28146 (log10l): Define using libm_alias_ldouble.
28147 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
28148 (log2l): Define using libm_alias_ldouble.
28149 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
28150 (logl): Define using libm_alias_ldouble.
28151 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
28152 (powl): Define using libm_alias_ldouble.
28153 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
28154 (remainderl): Define using libm_alias_ldouble.
28155 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
28156 (sinhl): Define using libm_alias_ldouble.
28157 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
28158 (sqrtl): Define using libm_alias_ldouble.
28159 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
28160 (tgammal): Define using libm_alias_ldouble.
28161 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
28162 (exp10l): Do not use long_double_symbol here.
28163 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
28164 [LIBM_SVID_COMPAT] (remainderl): Likewise.
28165 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
28166 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
28167 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
28168 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28169 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28170 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28171 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28172 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28173 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
28174 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
28175 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
28176 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
28177 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
28178 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
28179 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
28180 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
28181 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
28182 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
28183 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
28184 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
28186 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
28188 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
28189 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
28191 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
28193 * io/read.c (read): Add libc_hidden_weak.
28194 * sysdeps/mach/hurd/read.c (read): Likewise.
28195 * io/write.c (write): Likewise.
28196 * sysdeps/mach/hurd/write.c (write): Likewise.
28197 * io/pread64.c (__pread64): Likewise.
28198 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
28199 * posix/pread64.c (__pread64): Add libc_hidden_def.
28201 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
28203 * benchtests/scripts/compare_strings.py: New option -g.
28204 (draw_graph): Print a message that a graph is being generated.
28205 (process_results): Generate graph only if -g is passed.
28206 (main): Process option -g.
28208 * benchtests/scripts/compare_strings.py (process_results):
28209 Better spacing for output.
28211 * benchtests/scripts/compare_strings.py: Use argparse.
28212 * benchtests/README: Document existence of compare_strings.py.
28214 2017-09-15 Joseph Myers <joseph@codesourcery.com>
28216 * math/s_fma.c: Include <libm-alias-double.h>.
28217 (fma): Define using libm_alias_double.
28218 * math/s_nextafter.c: Include <libm-alias-double.h>.
28219 (nextafter): Define using libm_alias_double.
28220 * math/w_acos_compat.c: Include <libm-alias-double.h>.
28221 (acos): Define using libm_alias_double.
28222 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
28223 (aocsh): Define using libm_alias_double.
28224 * math/w_asin_compat.c: Include <libm-alias-double.h>.
28225 (asin): Define using libm_alias_double.
28226 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
28227 (atan2): Define using libm_alias_double.
28228 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
28229 (atanh): Define using libm_alias_double.
28230 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
28231 (cosh): Define using libm_alias_double.
28232 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
28233 (exp10): Define using libm_alias_double.
28234 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
28235 (exp2): Define using libm_alias_double.
28236 * math/w_exp_compat.c: Include <libm-alias-double.h>.
28237 (exp): Define using libm_alias_double.
28238 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
28239 (fmod): Define using libm_alias_double.
28240 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
28241 (hypot): Define using libm_alias_double.
28242 * math/w_j0_compat.c: Include <libm-alias-double.h>.
28243 (j0): Define using libm_alias_double.
28245 * math/w_j1_compat.c: Include <libm-alias-double.h>.
28246 (j1): Define using libm_alias_double.
28248 * math/w_jn_compat.c: Include <libm-alias-double.h>.
28249 (jn): Define using libm_alias_double.
28251 * math/w_log10_compat.c: Include <libm-alias-double.h>.
28252 (log10): Define using libm_alias_double.
28253 * math/w_log2_compat.c: Include <libm-alias-double.h>.
28254 (log2): Define using libm_alias_double.
28255 * math/w_log_compat.c: Include <libm-alias-double.h>.
28256 (log): Define using libm_alias_double.
28257 * math/w_pow_compat.c: Include <libm-alias-double.h>.
28258 (pow): Define using libm_alias_double.
28259 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
28260 (remainder): Define using libm_alias_double.
28261 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
28262 (sinh): Define using libm_alias_double.
28263 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
28264 (sqrt): Define using libm_alias_double.
28265 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
28266 (tgamma): Define using libm_alias_double.
28267 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
28268 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
28269 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
28270 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
28271 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
28272 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
28273 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
28274 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
28275 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
28276 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
28277 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
28278 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
28279 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
28280 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
28281 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
28282 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
28283 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
28284 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
28285 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
28286 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
28287 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
28288 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
28289 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
28290 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
28291 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
28293 * math/e_acoshl.c: Remove.
28294 * math/e_acosl.c: Likewise.
28295 * math/e_asinl.c: Likewise.
28296 * math/e_atan2l.c: Likewise.
28297 * math/e_atanhl.c: Likewise.
28298 * math/e_coshl.c: Likewise.
28299 * math/e_expl.c: Likewise.
28300 * math/e_fmodl.c: Likewise.
28301 * math/e_gammal_r.c: Likewise.
28302 * math/e_hypotl.c: Likewise.
28303 * math/e_j0l.c: Likewise.
28304 * math/e_j1l.c: Likewise.
28305 * math/e_jnl.c: Likewise.
28306 * math/e_lgammal_r.c: Likewise.
28307 * math/e_log10l.c: Likewise.
28308 * math/e_log2l.c: Likewise.
28309 * math/e_logl.c: Likewise.
28310 * math/e_powl.c: Likewise.
28311 * math/e_rem_pio2l.c: Likewise.
28312 * math/e_sinhl.c: Likewise.
28313 * math/e_sqrtf128.c: Likewise.
28314 * math/e_sqrtl.c: Likewise.
28315 * math/k_cosl.c: Likewise.
28316 * math/k_sinl.c: Likewise.
28317 * math/k_tanl.c: Likewise.
28318 * math/s_asinhl.c: Likewise.
28319 * math/s_atanl.c: Likewise.
28320 * math/s_cbrtl.c: Likewise.
28321 * math/s_erfl.c: Likewise.
28322 * math/s_expm1l.c: Likewise.
28323 * math/s_log1pl.c: Likewise.
28324 * math/s_tanhl.c: Likewise.
28326 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28329 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
28330 [$(subdir) = math] (sysdep_calls): New variable. Has the
28331 previous contents of sysdep_routines, but re-sorted..
28332 [$(subdir) = math] (sysdep_routines): Re-use the contents from
28334 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
28335 defined in sysdep_calls and replace by the respective m_* names.
28336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
28337 (compat_symbol): Undefine to avoid duplicated compat symbols in
28340 2017-09-15 Joseph Myers <joseph@codesourcery.com>
28342 * math/s_fmaf.c: Include <libm-alias-float.h>.
28343 (fmaf): Define using libm_alias_float.
28344 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
28345 (acosf): Define using libm_alias_float.
28346 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
28347 (acoshf): Define using libm_alias_float.
28348 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
28349 (asinf): Define using libm_alias_float.
28350 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
28351 (atan2f): Define using libm_alias_float.
28352 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
28353 (atanhf): Define using libm_alias_float.
28354 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
28355 (coshf): Define using libm_alias_float.
28356 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
28357 (exp10f): Define using libm_alias_float.
28358 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
28359 (fmodf): Define using libm_alias_float.
28360 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
28361 (hypotf): Define using libm_alias_float.
28362 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
28363 (j0f): Define using libm_alias_float.
28365 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
28366 (j1f): Define using libm_alias_float.
28368 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
28369 (jnf): Define using libm_alias_float.
28371 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
28372 (log10f): Define using libm_alias_float.
28373 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
28374 (log2f): Define using libm_alias_float.
28375 * math/w_logf_compat.c: Include <libm-alias-float.h>.
28376 (logf): Define using libm_alias_float.
28377 * math/w_powf_compat.c: Include <libm-alias-float.h>.
28378 (powf): Define using libm_alias_float.
28379 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
28380 (remainderf): Define using libm_alias_float.
28381 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
28382 (sinhf): Define using libm_alias_float.
28383 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
28384 (sqrtf): Define using libm_alias_float.
28385 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
28386 (tgammaf): Define using libm_alias_float.
28388 2017-09-14 Joseph Myers <joseph@codesourcery.com>
28390 * include/math.h (roundeven): Change hidden_proto call to
28392 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
28394 [NO_LONG_DOUBLE] (__j0l): New strong alias.
28395 (y0): Rename to __y0 and define as weak alias.
28396 [NO_LONG_DOUBLE] (__y0l): New strong alias.
28397 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
28399 (y0f): Rename to __y0f and define as weak alias.
28400 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
28402 [NO_LONG_DOUBLE] (__j1l): New strong alias.
28403 (y1): Rename to __y1 and define as weak alias.
28404 [NO_LONG_DOUBLE] (__y1l): New strong alias.
28405 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
28407 (y1f): Rename to __y1f and define as weak alias.
28408 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
28410 [NO_LONG_DOUBLE] (__jnl): New strong alias.
28411 (yn): Rename to __yn and define as weak alias.
28412 [NO_LONG_DOUBLE] (__ynl): New strong alias.
28413 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
28415 (ynf): Rename to __ynf and define as weak alias.
28416 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
28417 (fromfp): Define as weak alias.
28418 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
28419 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
28420 (fromfpx): Define as weak alias.
28421 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
28422 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
28423 __getpayload and define as weak alias.
28424 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28425 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
28426 __roundeven and define as weak alias.
28427 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28428 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
28430 (setpayload): Define as weak alias.
28431 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
28432 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
28434 (setpayloadsig): Define as weak alias.
28435 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
28436 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
28437 __totalorder and define as weak alias.
28438 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28439 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
28440 to __totalordermag and define as weak alias.
28441 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28442 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
28443 (ufromfp): Define as weak alias.
28444 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
28445 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
28447 (ufromfpx): Define as weak alias.
28448 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
28449 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
28450 Rename to __getpayload and define as weak alias.
28451 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28452 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
28453 Rename to __roundeven and define as weak alias.
28454 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28455 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
28456 Rename to __totalorder and define as weak alias.
28457 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28458 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
28459 (totalordermag): Rename to __totalordermag and define as weak
28461 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28462 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
28464 (__roundevenl): Likewise.
28465 (__totalorderl): Likewise.
28466 (__totalordermagl): Likewise
28467 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
28469 (fromfpf128): Define as weak alias.
28470 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
28472 (fromfpxf128): Define as weak alias.
28473 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
28475 (setpayloadf128): Define as weak alias.
28476 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
28477 __setpayloadsigf128.
28478 (setpayloadsigf128): Define as weak alias.
28479 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
28481 (ufromfpf128): Define as weak alias.
28482 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
28484 (ufromfpxf128): Define as weak alias.
28485 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
28486 (fromfpf): Define as weak alias.
28487 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
28489 (fromfpxf): Define as weak alias.
28490 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
28491 __getpayloadf and define as weak alias.
28492 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
28493 __roundevenf and define as weak alias.
28494 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
28496 (setpayloadf): Define as weak alias.
28497 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
28499 (setpayloadsigf): Define as weak alias.
28500 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
28501 __totalorderf and define as weak alias.
28502 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
28503 Rename to __totalordermagf and define as weak alias.
28504 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
28506 (ufromfpf): Define as weak alias.
28507 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
28509 (ufromfpxf): Define as weak alias.
28510 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
28512 (fromfpl): Define as weak alias.
28513 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
28515 (fromfpxl): Define as weak alias.
28516 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
28517 to __getpayloadl and define as weak alias.
28518 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
28519 __roundevenl and define as weak alias.
28520 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
28522 (setpayloadl): Define as weak alias.
28523 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
28525 (setpayloadsigl): Define as weak alias.
28526 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
28527 to __totalorderl and define as weak alias.
28528 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
28529 Rename to __totalordermagl and define as weak alias.
28530 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
28532 (ufromfpl): Define as weak alias.
28533 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
28535 (ufromfpxl): Define as weak alias.
28536 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
28538 (fromfpl): Define as weak alias.
28539 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
28541 (fromfpxl): Define as weak alias.
28542 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
28543 Rename to __getpayloadl and define as weak alias.
28544 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
28545 to __roundevenl and define as weak alias. Call __roundeven
28546 instead of roundeven.
28547 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
28549 (setpayloadl): Define as weak alias.
28550 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
28552 (setpayloadsigl): Define as weak alias.
28553 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
28554 Rename to __totalorderl and define as weak alias.
28555 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
28556 Rename to __totalordermagl and define as weak alias.
28557 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
28559 (ufromfpl): Define as weak alias.
28560 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
28562 (ufromfpxl): Define as weak alias.
28563 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
28565 (fromfpl): Define as weak alias.
28566 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
28568 (fromfpxl): Define as weak alias.
28569 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
28570 __getpayloadl and define as weak alias.
28571 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
28572 __roundevenl and define as weak alias.
28573 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
28575 (setpayloadl): Define as weak alias.
28576 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
28578 (setpayloadsigl): Define as weak alias.
28579 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
28580 __totalorderl and define as weak alias.
28581 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
28582 Rename to __totalordermagl and define as weak alias.
28583 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
28585 (ufromfpl): Define as weak alias.
28586 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
28588 (ufromfpxl): Define as weak alias.
28590 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
28592 * benchtests/bench-string.h (realloc_bufs): New function.
28593 (test_init): Call it.
28594 * benchtests/bench-memset-large.c (do_test): Likewise.
28595 * benchtests/bench-memset.c (do_test): Likewise.
28597 * benchtests/bench-memset-large.c: Print output in JSON
28599 * benchtests/bench-memset.c: Likewise.
28601 2017-09-14 Mike FABIAN <mfabian@redhat.com>
28604 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
28605 * iconvdata/Makefile: Add IBM858.
28606 * iconvdata/gconv-modules: Likewise.
28607 * iconvdata/tst-tables.sh: Likewise.
28608 * iconvdata/ibm858.c: New file.
28609 * localedata/charmaps/IBM858: Likewise.
28611 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
28614 * locales/niu_NZ (LC_TIME): copy "niu_NU".
28615 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
28617 2017-09-14 Mike FABIAN <mfabian@redhat.com>
28620 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
28621 and add tel_int_fmt.
28623 2017-09-14 Joseph Myers <joseph@codesourcery.com>
28625 * sysdeps/generic/libm-alias-float128.h: New file.
28626 * sysdeps/generic/math-type-macros-float128.h: Include
28627 <libm-alias-float128.h>.
28628 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28630 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28632 * sysdeps/generic/libm-alias-ldouble.h: New file.
28633 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
28634 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
28635 * sysdeps/generic/math-type-macros-ldouble.h: Include
28636 <libm-alias-ldouble.h>.
28637 [!declare_mgen_alias] (declare_mgen_alias): Define to use
28638 libm_alias_ldouble.
28640 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
28642 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
28643 * math/w_exp_compat.c: ... here.
28644 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
28645 * math/w_expf_compat.c: ... here.
28646 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
28647 * math/w_expl_compat.c: ... here.
28648 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
28649 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
28650 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
28651 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28653 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28655 * math/w_scalbln_template.c (strong_alias): Do not undefine and
28657 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
28659 (ldexpl): Only define as compat symbol for libc, not libm.
28660 (scalbnl): Define as compat symbol for libc here.
28661 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
28662 define for [IS_IN (libc)].
28663 (__ldexpl_2): Remove alias.
28664 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
28665 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
28666 name in long_double_symbol call.
28667 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
28668 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
28669 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
28670 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
28671 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
28673 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
28674 Define as compat symbol.
28676 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28678 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
28679 * sysdeps/unix/sysv/linux/alpha/Makefile
28680 [$(subdir) = csu] (sysdep_routines): Remove rule.
28682 2017-09-13 Joseph Myers <joseph@codesourcery.com>
28684 * sysdeps/generic/libm-alias-double.h: New file.
28685 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
28686 * sysdeps/generic/math-type-macros-double.h: Include
28687 <libm-alias-double.h>.
28688 [declare_mgen_alias] (declare_mgen_alias): Define to use
28690 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
28691 (M_LIBM_NEED_COMPAT): Remove macro.
28692 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
28693 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
28694 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
28696 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28697 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28698 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28699 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28700 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28701 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28702 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28703 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28704 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28705 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28706 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28707 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28708 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28709 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28710 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28711 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28712 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28713 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28714 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28715 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28716 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28717 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28718 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28719 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28720 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28721 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28722 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28723 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
28724 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
28726 (declare_mgen_alias): New macro.
28727 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
28728 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
28729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
28730 (M_LIBM_NEED_COMPAT): Remove macro.
28731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
28732 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
28733 <first-versions.h>.
28734 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
28735 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
28737 2017-09-12 Joseph Myers <joseph@codesourcery.com>
28739 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
28740 (declare_mgen_alias_2): Remove.
28741 * sysdeps/generic/math-type-macros-double.h
28742 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
28744 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
28746 (ldexp): Define with declare_mgen_alias.
28747 (scalbn): Likewise.
28749 2017-09-12 Steve Ellcey <sellcey@cavium.com>
28751 * grp/initgroups.c: Include config.h.
28752 (DEFAULT_CONFIG): New macro.
28753 (internal_getgrouplist): Use DEFAULT_CONFIG.
28754 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28755 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
28756 (DEFAULT_DEFCONFIG): New macro.
28757 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
28758 * nss/grp-lookup.c: Include config.h
28759 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
28760 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
28761 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
28762 * manual/nss.texi: Update default values section.
28764 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
28767 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
28769 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
28770 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
28771 Handle MathVec_Prefer_No_AVX512.
28772 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
28773 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
28776 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
28778 * posix/sched_primax.c (__sched_get_priority_max): Add
28780 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
28781 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
28782 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
28783 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
28784 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
28785 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
28786 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
28787 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
28790 2017-09-11 Joseph Myers <joseph@codesourcery.com>
28792 * sysdeps/generic/libm-alias-float.h: New file.
28793 * sysdeps/generic/math-type-macros-float.h: Include
28794 <libm-alias-float.h>.
28795 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28797 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
28800 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
28801 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
28802 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
28803 (HWCAP_IMPORTANT): Likewise.
28804 (HWCAP_X86_64): New enum.
28805 (HWCAP_X86_AVX512_1): Updated.
28806 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
28807 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
28808 (modules-names): Add x86_64/tst-x86_64mod-1.
28809 (LDFLAGS-tst-x86_64mod-1.so): New.
28810 ($(objpfx)tst-x86_64-1): Likewise.
28811 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
28812 (tst-x86_64-1-clean): Likewise.
28813 * sysdeps/x86_64/tst-x86_64-1.c: New file.
28814 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
28816 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
28818 * po/sv.po: Update translations.
28819 * po/fr.po: Likewise.
28821 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28823 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
28825 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
28827 * elf/rtld-Rules: Fix $(error) use.
28829 2017-09-09 Mike FABIAN <mfabian@redhat.com>
28832 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
28833 * locale/iso-639.def: Change “Bengali” to “Bangla”.
28834 * localedata/locales/bn_BD: “Bengali” was still used in some
28835 comments. Change it to “Bangla”.
28837 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
28839 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
28841 2017-09-08 Steve Ellcey <sellcey@cavium.com>
28843 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
28844 thunderx2t99p1 to list of cpu names.
28845 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
28846 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
28848 2017-09-08 Steve Ellcey <sellcey@cavium.com>
28850 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
28851 Use strcmp instead of tunable_is_name.
28853 2017-09-08 Joseph Myers <joseph@codesourcery.com>
28855 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28856 (F_GET_RW_HINT): New macro.
28857 [__USE_GNU] (F_SET_RW_HINT): Likewise.
28858 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
28859 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
28860 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
28861 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
28862 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
28863 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
28864 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
28865 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
28867 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28868 (F_ADD_SEALS): New macro.
28869 [__USE_GNU] (F_GET_SEALS): Likewise.
28870 [__USE_GNU] (F_SEAL_SEAL): Likewise.
28871 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
28872 [__USE_GNU] (F_SEAL_GROW): Likewise.
28873 [__USE_GNU] (F_SEAL_WRITE): Likewise.
28875 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28877 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
28878 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
28879 * posix/glob_internal.h (__glob_pattern_type):
28880 * posix/glob.c (glob):
28881 * posix/glob_pattern_p.c (__glob_pattern_p):
28884 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
28885 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28886 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
28887 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
28888 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
28890 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
28891 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
28892 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28893 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28894 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28895 * sysdeps/wordsize-64/glob.c: Likewise.
28896 * sysdeps/wordsize-64/glob64.c: Likewise.
28897 * sysdeps/wordsize-64/globfree.c: Likewise.
28898 * sysdeps/wordsize-64/globfree64.c: Likewise.
28899 * sysdeps/unix/sysv/linux/glob.c: New file.
28900 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
28901 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
28902 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
28903 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28904 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
28905 adds !GLOB_NO_OLD_VERSION as an extra condition.
28906 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
28907 using relative path instead of absolute one.
28908 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
28909 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28910 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28911 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
28912 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
28913 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
28916 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
28917 (glob): Use the same scratch buffer for both getlogin_r and
28918 getpwnam_r. Don’t require preallocation of the login name. This
28919 simplifies storage allocation, and corrects the handling of
28923 * posix/glob.c (glob): Port recent patches to platforms
28924 lacking getpwnam_r.
28925 (glob): Fix longstanding misuse of errno after getpwnam_r, which
28926 returns an error number rather than setting errno.
28928 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
28929 instead of GCC extension.
28930 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
28931 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
28932 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
28936 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
28937 * posix/bug-glob1.c: Remove file.
28938 * posix/tst-glob_symlinks.c: New file.
28939 * posix/glob.c (__lstat64): New macro.
28940 (is_dir): New function.
28941 (glob, glob_in_dir): Match symlinks even if they are dangling.
28942 (link_stat, link_exists_p): Remove. All uses removed.
28946 * posix/glob.c (struct readdir_result): Remove skip_entry member.
28947 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
28952 * posix/Makefile (routines): Add globfree, globfree64, and
28954 * posix/flexmember.h: New file.
28955 * posix/glob_internal.h: Likewise.
28956 * posix/glob_pattern_p.c: Likewise.
28957 * posix/globfree.c: Likewise.
28958 * posix/globfree64.c: Likewise.
28959 * sysdeps/gnu/globfree64.c: Likewise.
28960 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
28961 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28962 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
28963 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28964 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28965 * sysdeps/wordsize-64/globfree.c: Likewise.
28966 * sysdeps/wordsize-64/globfree64.c: Likewise.
28967 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
28968 [NDEBUG): Remove comments.
28969 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
28970 (dirent_type): New type. Use uint_fast8_t not
28971 uint8_t, as C99 does not require uint8_t.
28972 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
28973 (struct readdir_result): Use dirent_type. Do not define skip_entry
28974 unless it is needed; this saves a byte on platforms lacking d_ino.
28975 (readdir_result_type, readdir_result_skip_entry):
28976 New functions, replacing ...
28977 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
28978 these functions, which were removed. This makes the callers
28979 easier to read. All callers changed.
28980 (D_INO_TO_RESULT): Now empty if there is no d_ino.
28981 (size_add_wrapv, glob_use_alloca): New static functions.
28982 (glob, glob_in_dir): Check for size_t overflow in several places,
28983 and fix some size_t checks that were not quite right.
28984 Remove old code using SHELL since Bash no longer
28986 (glob, prefix_array): Separate MS code better.
28987 (glob_in_dir): Remove old Amiga and VMS code.
28988 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
28990 (glob_in_dir): Do not rely on undefined behavior in accessing
28991 struct members beyond their bounds. Use a flexible array member
28993 (link_stat): Rename from link_exists2_p and return -1/0 instead of
28994 0/1. Caller changed.
28995 (glob): Fix memory leaks.
28996 * posix/glob64 (globfree64): Move to separate file.
28997 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
28998 (globfree64): Remove hidden alias.
28999 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
29001 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
29003 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
29005 Move compat code to separate file.
29006 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
29009 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
29011 * resolv/tst-resolv-qtypes.c (domain): Changed to
29012 "const char domain[] =".
29014 2017-09-07 Joseph Myers <joseph@codesourcery.com>
29016 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
29019 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
29020 (TCP_MD5SIG_EXT): Likewise.
29021 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
29022 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
29023 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
29025 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
29027 2017-09-07 Mike FABIAN <mfabian@redhat.com>
29029 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
29031 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
29034 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
29036 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
29038 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
29039 before assuming that the file is empty. Avoid testing buffer content
29042 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29045 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
29047 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
29049 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
29051 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
29053 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
29055 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
29057 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
29060 2017-09-06 Florian Weimer <fweimer@redhat.com>
29062 * malloc/dynarray_emplace_enlarge.c
29063 (__libc_dynarray_emplace_enlarge): Add missing else.
29065 2017-09-06 Florian Weimer <fweimer@redhat.com>
29068 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
29069 case of failure to obtain the global conf object.
29071 2017-09-06 Florian Weimer <fweimer@redhat.com>
29074 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
29075 dynarray allocation failure.
29077 2017-09-06 Florian Weimer <fweimer@redhat.com>
29079 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
29080 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
29081 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
29083 (response): Call them. Add 'p', '6' flag processing.
29084 (test_reverse): New function.
29085 (test_get2_any): Call it.
29086 (test_no_inet6): Add 'p' test.
29087 (test_inet6): Likewise.
29089 2017-09-06 Florian Weimer <fweimer@redhat.com>
29091 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
29092 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
29094 (test_gai): Adjust query names. Add additional tests.
29095 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
29096 test_get2. Adjust query names. Add additional tests.
29097 (test_no_inet6): New function, extracted from threadfunc.
29098 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
29099 Add additional tests.
29101 2017-09-06 Mike FABIAN <mfabian@redhat.com>
29104 * localedata/unicode-gen/utf8_gen.py: Set the width for
29105 characters with Prepended_Concatenation_Mark property to 1
29106 * localedata/charmaps/UTF-8: Updated using the improved script.
29108 2017-09-06 Mike FABIAN <mfabian@redhat.com>
29111 * localedata/unicode-gen/utf8_gen.py: Improve the script to
29112 use the range notation for all ranges of neighbouring characters
29113 with the same width.
29115 2017-09-05 Joseph Myers <joseph@codesourcery.com>
29117 * sysdeps/generic/math-type-macros-double.h: Include
29118 <math-svid-compat.h>.
29119 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29120 * sysdeps/generic/math-type-macros-float.h: Include
29121 <math-svid-compat.h>.
29122 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29123 * sysdeps/generic/math-type-macros-ldouble.h: Include
29124 <math-svid-compat.h>.
29125 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29126 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
29128 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
29129 * math/w_acosf_compat.c: Likewise.
29130 * math/w_acosh_compat.c: Likewise.
29131 * math/w_acoshf_compat.c: Likewise.
29132 * math/w_acoshl_compat.c: Likewise.
29133 * math/w_acosl_compat.c: Likewise.
29134 * math/w_asin_compat.c: Likewise.
29135 * math/w_asinf_compat.c: Likewise.
29136 * math/w_asinl_compat.c: Likewise.
29137 * math/w_atan2_compat.c: Likewise.
29138 * math/w_atan2f_compat.c: Likewise.
29139 * math/w_atan2l_compat.c: Likewise.
29140 * math/w_atanh_compat.c: Likewise.
29141 * math/w_atanhf_compat.c: Likewise.
29142 * math/w_atanhl_compat.c: Likewise.
29143 * math/w_cosh_compat.c: Likewise.
29144 * math/w_coshf_compat.c: Likewise.
29145 * math/w_coshl_compat.c: Likewise.
29146 * math/w_exp10_compat.c: Likewise.
29147 * math/w_exp10f_compat.c: Likewise.
29148 * math/w_exp10l_compat.c: Likewise.
29149 * math/w_exp2_compat.c: Likewise.
29150 * math/w_exp2f_compat.c: Likewise.
29151 * math/w_exp2l_compat.c: Likewise.
29152 * math/w_fmod_compat.c: Likewise.
29153 * math/w_fmodf_compat.c: Likewise.
29154 * math/w_fmodl_compat.c: Likewise.
29155 * math/w_hypot_compat.c: Likewise.
29156 * math/w_hypotf_compat.c: Likewise.
29157 * math/w_hypotl_compat.c: Likewise.
29158 * math/w_j0_compat.c: Likewise.
29159 * math/w_j0f_compat.c: Likewise.
29160 * math/w_j0l_compat.c: Likewise.
29161 * math/w_j1_compat.c: Likewise.
29162 * math/w_j1f_compat.c: Likewise.
29163 * math/w_j1l_compat.c: Likewise.
29164 * math/w_jn_compat.c: Likewise.
29165 * math/w_jnf_compat.c: Likewise.
29166 * math/w_jnl_compat.c: Likewise.
29167 * math/w_lgamma_r_compat.c: Likewise.
29168 * math/w_lgammaf_r_compat.c: Likewise.
29169 * math/w_lgammal_r_compat.c: Likewise.
29170 * math/w_log10_compat.c: Likewise.
29171 * math/w_log10f_compat.c: Likewise.
29172 * math/w_log10l_compat.c: Likewise.
29173 * math/w_log2_compat.c: Likewise.
29174 * math/w_log2f_compat.c: Likewise.
29175 * math/w_log2l_compat.c: Likewise.
29176 * math/w_log_compat.c: Likewise.
29177 * math/w_logf_compat.c: Likewise.
29178 * math/w_logl_compat.c: Likewise.
29179 * math/w_pow_compat.c: Likewise.
29180 * math/w_powf_compat.c: Likewise.
29181 * math/w_powl_compat.c: Likewise.
29182 * math/w_remainder_compat.c: Likewise.
29183 * math/w_remainderf_compat.c: Likewise.
29184 * math/w_remainderl_compat.c: Likewise.
29185 * math/w_sinh_compat.c: Likewise.
29186 * math/w_sinhf_compat.c: Likewise.
29187 * math/w_sinhl_compat.c: Likewise.
29188 * math/w_sqrt_compat.c: Likewise.
29189 * math/w_sqrtf_compat.c: Likewise.
29190 * math/w_sqrtl_compat.c: Likewise.
29191 * math/w_tgamma_compat.c: Likewise.
29192 * math/w_tgammaf_compat.c: Likewise.
29193 * math/w_tgammal_compat.c: Likewise.
29194 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
29195 [LIBM_SVID_COMPAT].
29196 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
29197 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
29198 [LIBM_SVID_COMPAT].
29199 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
29200 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
29201 [LIBM_SVID_COMPAT].
29202 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
29203 * sysdeps/i386/fpu/w_sqrt.c: New file.
29204 * sysdeps/ia64/fpu/w_acos.c: Likewise.
29205 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
29206 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
29207 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
29208 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
29209 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
29210 * sysdeps/ia64/fpu/w_asin.c: Likewise.
29211 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
29212 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
29213 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
29214 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
29215 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
29216 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
29217 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
29218 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
29219 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
29220 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
29221 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
29222 * sysdeps/ia64/fpu/w_exp.c: Likewise.
29223 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
29224 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
29225 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
29226 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
29227 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
29228 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
29229 * sysdeps/ia64/fpu/w_expf.c: Likewise.
29230 * sysdeps/ia64/fpu/w_expl.c: Likewise.
29231 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
29232 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
29233 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
29234 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
29235 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
29236 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
29237 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
29238 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
29239 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
29240 * sysdeps/ia64/fpu/w_log.c: Likewise.
29241 * sysdeps/ia64/fpu/w_log10.c: Likewise.
29242 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
29243 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
29244 * sysdeps/ia64/fpu/w_log2.c: Likewise.
29245 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
29246 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
29247 * sysdeps/ia64/fpu/w_logf.c: Likewise.
29248 * sysdeps/ia64/fpu/w_logl.c: Likewise.
29249 * sysdeps/ia64/fpu/w_pow.c: Likewise.
29250 * sysdeps/ia64/fpu/w_powf.c: Likewise.
29251 * sysdeps/ia64/fpu/w_powl.c: Likewise.
29252 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
29253 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
29254 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
29255 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
29256 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
29257 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
29258 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
29259 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
29260 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
29261 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
29262 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
29263 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
29264 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
29265 [LIBM_SVID_COMPAT].
29266 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
29267 * sysdeps/ieee754/k_standard.c: Likewise.
29268 * sysdeps/ieee754/k_standardf.c: Likewise.
29269 * sysdeps/ieee754/k_standardl.c: Likewise.
29270 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
29271 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
29272 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
29273 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
29274 long_double_symbol call on [LIBM_SVID_COMPAT].
29275 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
29276 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
29277 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
29278 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
29279 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
29280 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
29281 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
29282 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
29283 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
29284 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
29285 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
29286 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
29287 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
29288 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
29289 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
29290 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
29291 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
29292 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
29293 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
29294 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
29295 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
29296 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
29298 2017-09-05 Steve Ellcey <sellcey@cavium.com>
29300 * include/shlib-compat.h (TEST_COMPAT): New Macro.
29301 * malloc/tst-mallocstate.c: Convert from test-skeleton
29302 to test-driver. Ifdef code using TEST_COMPAT macro.
29303 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
29304 * math/test-matherr.c: Likewise.
29306 2017-09-05 Joseph Myers <joseph@codesourcery.com>
29309 * debug/pcprofiledump.c (main): Use byte-swapped mask when
29310 comparing word with byte-swapped constant.
29312 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
29315 * locale/iso-639.def: add Miskito.
29316 * localedata/SUPPORTED: Add miq_NI/UTF-8.
29317 * localedata/locales/miq_NI: New file.
29319 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
29322 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
29323 (__mkdir): Likewise.
29324 * io/chmod.c (__chmod): Add libc_hidden_def.
29325 * io/mkdir.c (__mkdir): Likewise.
29326 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
29327 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
29328 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
29329 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
29331 2017-09-04 Joseph Myers <joseph@codesourcery.com>
29333 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
29337 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
29338 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
29340 2017-09-04 Florian Weimer <fweimer@redhat.com>
29342 * math/math.h: Issue warning if log is defined.
29344 2017-09-04 Joseph Myers <joseph@codesourcery.com>
29346 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
29347 kernel version to 4.13.
29349 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
29351 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
29352 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
29354 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
29355 just <bits/types.h>.
29356 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
29357 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
29358 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
29359 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
29360 * misc/preadv2.c: Include <errno.h>.
29361 * misc/preadv64v2.c: Include <errno.h>.
29362 * misc/pwritev2.c: Include <errno.h>.
29363 * misc/pwritev64v2.c: Include <errno.h>.
29364 * sysdeps/posix/preadv2.c: Include <errno.h>.
29365 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
29366 Fix <unistd.h> inclusion.
29367 * sysdeps/posix/pwritev2.c: Include <errno.h>.
29368 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
29369 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
29370 __strtoul_internal): New functions.
29371 * sysdeps/posix/pause.c: Include <sigsetops.h>.
29372 * sysdeps/posix/system.c: Include <sigsetops.h>.
29373 * sysdeps/mach/hurd/i386/Makefile
29374 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
29375 [$(subdir) = csu] (sysdep-only-routines): Likewise.
29376 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
29377 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
29378 __feraiseexcept_renamed to feraiseexcept instead of
29379 __GI_feraiseexcept.
29380 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
29381 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
29382 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
29383 RWF_NOWAIT): Define to 0 if undefined already.
29384 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
29386 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
29387 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
29389 2017-09-01 Joseph Myers <joseph@codesourcery.com>
29391 * manual/math.texi (pow10): Do not document.
29392 (pow10f): Likewise.
29393 (pow10l): Likewise.
29394 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
29395 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
29396 * math/libm-test-exp10.inc (pow10_test): Remove.
29397 (do_test): Do not call pow10.
29398 * math/w_exp10_compat.c (pow10): Make into compat symbol.
29399 [NO_LONG_DOUBLE] (pow10l): Likewise.
29400 * math/w_exp10f_compat.c (pow10f): Likewise.
29401 * math/w_exp10l_compat.c (pow10l): Likewise.
29402 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
29403 (pow10): Make into compat symbol.
29404 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
29405 (pow10f): Make into compat symbol.
29406 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
29407 (pow10l): Make into compat symbol.
29408 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
29410 (CFLAGS-nldbl-pow10.c): Remove variable..
29411 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
29412 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
29413 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
29414 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
29415 Undefine and redefine.
29416 (pow10l): Make into compat symbol.
29417 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
29418 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
29419 * sysdeps/arm/libm-test-ulps: Likewise.
29420 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
29421 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
29422 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29423 * sysdeps/microblaze/libm-test-ulps: Likewise.
29424 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
29425 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29426 * sysdeps/nios2/libm-test-ulps: Likewise.
29427 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29428 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
29429 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29430 * sysdeps/sh/libm-test-ulps: Likewise.
29431 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29432 * sysdeps/tile/libm-test-ulps: Likewise.
29433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29435 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29437 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
29439 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29441 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
29442 "../ChangeLog.old/ChangeLog.8".
29443 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
29444 "../ChangeLog.old/ChangeLog.14".
29446 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29448 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
29451 2017-09-01 Joseph Myers <joseph@codesourcery.com>
29453 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
29455 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29457 * csu/version.c (banner): Remove "by Roland McGrath et al.".
29458 * nptl/Banner: Remove "by Ulrich Drepper et al.".
29460 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29462 * stdlib/tst-atexit-common.c (do_test): Test support for at least
29463 32 atexit handlers.
29465 2017-09-01 Zack Weinberg <zackw@panix.com>
29467 * math/math.h (HUGE_VAL): Improve commentary.
29469 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29470 Andreas Schwab <schwab@suse.de>
29473 * include/stdio.h (__gen_tempfd): New function.
29474 * stdio-common/Makefile (routines): Add gentempfd.
29475 * stdio-common/gentempfd.c: New file.
29476 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
29477 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
29478 unnamed file first.
29480 2017-09-01 Florian Weimer <fweimer@redhat.com>
29484 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
29485 result to determine success or failure, not the errno value.
29486 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
29487 (tst-nss-files-hosts-erange): Link with -ldl.
29488 * nss/tst-nss-files-hosts-erange.c: New file.
29489 * nss/tst-resolv-basic.c (response): Handle nodata.example.
29490 (do_test): Add NO_DATA tests.
29491 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
29492 (do_test): Call it.
29494 2017-09-01 Florian Weimer <fweimer@redhat.com>
29497 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
29498 coming from gethostbyname2_r.
29500 2017-09-01 Florian Weimer <fweimer@redhat.com>
29502 * support/namespace.h (struct support_chroot_configuration): Add
29504 (struct support_chroot): Add path_hosts, path_host_conf.
29505 * support/support_chroot.c (write_file): New function.
29506 (support_chroot_create): Call it to process /etc/resolv.conf,
29507 /etc/hosts, /etc/host.conf.
29508 (support_chroot_free): Update.
29510 2017-09-01 Florian Weimer <fweimer@redhat.com>
29512 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
29513 status indicates it is set.
29515 2017-09-01 Florian Weimer <fweimer@redhat.com>
29518 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
29519 function lookup failures more reliable.
29521 2017-09-01 Florian Weimer <fweimer@redhat.com>
29523 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
29524 (getcanonname): Likewise.
29525 (gaih_inet): Likewise.
29527 2017-09-01 Florian Weimer <fweimer@redhat.com>
29529 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
29530 (getcanonname): Likewise.
29531 (gaih_inet): Likewise.
29533 2017-08-31 Steve Ellcey <sellcey@cavium.com>
29534 Richard Henderson <rth@twiddle.net>
29536 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
29537 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
29538 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
29539 (IREG_SIZE, OREG_SIZE): New macros.
29540 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
29541 (IREG_SIZE, OREG_SIZE): New macros.
29542 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
29543 (IREG_SIZE): New macro.
29544 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
29545 (IREG_SIZE): New macro.
29546 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
29548 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
29549 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29550 (__CONCATX): Handle exceptions correctly on large values that may
29552 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
29553 Initialize if not already set.
29554 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
29556 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29558 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
29559 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
29561 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
29563 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
29565 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
29567 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
29569 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
29571 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
29573 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
29574 (NO_CANCELLATION): Likewise.
29575 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
29577 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
29579 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
29581 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
29582 (NO_CANCELLATION): Likewise.
29583 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
29584 (NO_CANCELLATION): Likewise.
29585 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
29587 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
29589 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
29591 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
29593 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
29595 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
29596 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
29598 2017-08-31 Steve Ellcey <sellcey@cavium.com>
29600 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
29603 2017-08-31 Florian Weimer <fweimer@redhat.com>
29605 * include/libc-symbols.h (internal_function): Remove.
29607 2017-08-31 Florian Weimer <fweimer@redhat.com>
29609 * stdlib/fmtmsg.c (internal_addseverity): Remove
29612 2017-08-31 Florian Weimer <fweimer@redhat.com>
29614 * stdio-common/printf_fp.c (group_number): Remove
29616 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
29618 2017-08-31 Florian Weimer <fweimer@redhat.com>
29620 * posix/fnmatch.c (internal_function): Remove definition.
29621 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
29622 * posix/regcomp.c (peek_token, init_word_char)
29623 (duplicate_node_closure, fetch_token, peek_token)
29624 (peek_token_bracket, build_range_exp, build_collating_symbol):
29626 * posix/regex_internal.c (re_string_construct_common)
29627 (create_ci_newstate, create_cd_newstate, re_string_allocate)
29628 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
29629 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
29630 (re_string_translate_buffer, re_string_reconstruct)
29631 (re_string_peek_byte_case, re_string_fetch_byte_case)
29632 (re_string_destruct, re_string_context_at, re_node_set_alloc)
29633 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
29634 (re_node_set_add_intersect, re_node_set_init_union)
29635 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
29636 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
29637 (re_dfa_add_node, calc_state_hash, re_acquire_state)
29638 (re_acquire_state_context): Likewise.
29639 * posix/regex_internal.h (internal_function): Remove definition.
29640 (re_string_realloc_buffers, build_wcs_buffer)
29641 (build_wcs_upper_buffer, build_upper_buffer)
29642 (re_string_translate_buffer, re_string_context_at)
29643 (re_string_char_size_at, re_string_wchar_at)
29644 (re_string_elem_size_at): Likewise.
29645 * posix/regexec.c (match_ctx_init, match_ctx_clean)
29646 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
29647 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
29648 (re_search_internal, re_search_2_stub, re_search_stub)
29649 (re_copy_regs, prune_impossible_nodes, check_matching)
29650 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
29651 (free_fail_stack_return, sift_states_iter_mb)
29652 (sift_states_backward, build_sifted_states)
29653 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
29654 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
29655 (check_subexp_limits, sift_states_bkref, merge_state_array)
29656 (find_recover_state, transit_state, merge_state_with_log)
29657 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
29658 (transit_state_mb, transit_state_bkref, get_subexp)
29659 (get_subexp_sub, find_subexp_node, check_arrival)
29660 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
29661 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
29662 (check_node_accept_bytes, find_collation_sequence_value)
29663 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
29664 (acquire_init_state_context, check_halt_node_context)
29665 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
29666 (sub_epsilon_src_nodes): Likewise.
29667 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
29668 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
29669 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
29670 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
29671 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
29672 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
29673 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
29674 * sysdeps/posix/ttyname.c (getttyname): Likewise.
29675 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
29676 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
29677 (PREADV): Likewise.
29678 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
29679 (PREADV): Likewise.
29680 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
29681 (PWRITEV): Likewise.
29682 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
29683 (PWRITEV): Likewise.
29684 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
29685 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
29687 2017-08-31 Florian Weimer <fweimer@redhat.com>
29689 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
29690 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
29691 Remove internal_function.
29692 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
29693 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
29694 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
29695 (__deallocate_stack, __libc_pthread_init)
29696 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
29697 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
29698 (__libc_disable_asynccancel, __librt_disable_asynccancel):
29700 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
29701 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
29702 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
29704 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
29705 (__pthread_mutex_unlock_usercnt): Likewise.
29707 2017-08-31 Florian Weimer <fweimer@redhat.com>
29709 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
29710 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
29711 (fts_safe_changedir): Remove internal_function.
29712 * io/ftw.c (internal_function): Remove definition.
29713 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
29715 2017-08-31 Florian Weimer <fweimer@redhat.com>
29717 * inet/deadline.c (__deadline_current_time)
29718 (__deadline_from_timeval, __deadline_to_ms): Remove
29720 * inet/getnameinfo.c (nrl_domainname): Likewise.
29721 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
29722 * inet/inet6_option.c (add_pad): Likewise.
29723 * inet/net-internal.h (__deadline_current_time)
29724 (__deadline_from_timeval, __deadline_to_ms): Likewise.
29725 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
29726 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
29727 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
29729 2017-08-31 Joseph Myers <joseph@codesourcery.com>
29731 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
29732 include <bits/nan.h>.
29733 * math/Makefile (headers): Remove bits/nan.h.
29734 * bits/nan.h: Remove.
29735 * sysdeps/ieee754/bits/nan.h: Likewise.
29736 * sysdeps/mips/bits/nan.h: Likewise.
29738 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
29739 not include <bits/inf.h>.
29740 * math/Makefile (headers): Remove bits/inf.h.
29741 * bits/inf.h: Remove.
29742 * sysdeps/ieee754/bits/inf.h: Likewise.
29744 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
29745 bits/huge_vall.h or bits/huge_val_flt128.h.
29746 (HUGE_VAL): Define directly here.
29747 [__USE_ISOC99] (HUGE_VALF): Likewise.
29748 [__USE_ISOC99] (HUGE_VALL): Likewise.
29749 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29750 (HUGE_VAL_F128): Likewise.
29751 * math/Makefile (headers): Remove bits/huge_val.h,
29752 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
29753 * bits/huge_val.h: Remove.
29754 * bits/huge_val_flt128.h: Likewise.
29755 * bits/huge_valf.h: Likewise.
29756 * bits/huge_vall.h: Likewise.
29757 * sysdeps/ia64/bits/huge_vall.h: Likewise.
29758 * sysdeps/ieee754/bits/huge_val.h: Likewise.
29759 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
29760 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
29761 * sysdeps/sh/bits/huge_val.h: Likewise.
29762 * sysdeps/sparc/bits/huge_vall.h: Likewise.
29763 * sysdeps/x86/bits/huge_vall.h: Likewise.
29765 2017-08-31 Florian Weimer <fweimer@redhat.com>
29767 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
29769 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
29771 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
29772 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
29773 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
29774 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
29775 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29776 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
29777 * elf/dl-libc.c (dlerror_run): Likewise.
29778 * elf/dl-load.c (add_name_to_object, decompose_rpath)
29779 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
29780 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
29781 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
29783 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
29784 (_dl_higher_prime_number, _dl_strtoul): Likewise.
29785 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
29786 * elf/dl-profile.c (_dl_start_profile): Likewise.
29787 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
29788 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
29790 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
29791 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
29792 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
29793 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
29794 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
29795 (_dl_allocate_tls_storage): Likewise.
29796 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
29797 (_dl_check_all_versions): Likewise.
29798 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29799 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
29800 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
29801 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29802 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
29803 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
29804 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
29805 internal_function from __dl_start.
29806 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
29807 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29808 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
29809 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
29810 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
29811 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
29812 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
29813 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
29814 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
29815 (_dl_next_ld_env_entry, _dl_important_hwcaps)
29816 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
29817 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
29818 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
29819 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
29820 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
29822 (struct rtld_global_ro): Remove internal_function from the
29823 _dl_lookup_symbol_x member.
29824 (_dl_symbol_value): Remove. No longer defined anywhere.
29825 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
29827 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29828 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
29829 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
29830 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
29831 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
29832 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
29833 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
29834 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
29835 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
29836 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29837 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29838 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
29840 2017-08-31 Florian Weimer <fweimer@redhat.com>
29842 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
29843 Remove internal_function.
29844 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29846 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29849 2017-08-31 Florian Weimer <fweimer@redhat.com>
29851 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
29852 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
29853 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
29855 2017-08-31 Florian Weimer <fweimer@redhat.com>
29857 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
29858 (__gai_enqueue_request): Remove internal_function.
29859 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
29860 (__gai_remove_request, __gai_notify, __gai_notify_only)
29861 (__gai_sigqueue): Likewise.
29862 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
29863 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
29864 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
29865 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29868 2017-08-31 Florian Weimer <fweimer@redhat.com>
29870 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
29871 * include/dirent.h (__opendirat, __getdents, __getdents64)
29872 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
29873 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
29874 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29875 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29877 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
29879 2017-08-31 Florian Weimer <fweimer@redhat.com>
29881 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
29883 (GETCWD_RETURN_TYPE): Likewise.
29885 2017-08-31 Florian Weimer <fweimer@redhat.com>
29887 * include/time.h (__tz_compute, __strptime_internal): Remove
29889 * time/strptime_l.c (__strptime_internal): Likewise.
29890 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
29892 2017-08-31 Florian Weimer <fweimer@redhat.com>
29894 * iconv/gconv.c (__gconv): Remove internal_function.
29895 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
29896 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
29897 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
29898 (__gconv_release_cache): Likewise.
29899 * iconv/gconv_close.c (__gconv_close): Likewise.
29900 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
29901 (read_conf_file, __gconv_get_path): Likewise.
29902 * iconv/gconv_db.c (derivation_lookup, add_derivation)
29903 (__gconv_release_step, gen_steps, increment_counter)
29904 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
29905 (__gconv_close_transform, free_modules_db): Likewise.
29906 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
29908 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
29909 (__gconv_find_transform, __gconv_lookup_cache)
29910 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
29911 (__gconv_close_transform, __gconv_release_cache)
29912 (__gconv_loaded_object, __gconv_release_shlib)
29913 (__gconv_compare_alias): Likewise.
29914 * iconv/gconv_open.c (__gconv_open): Likewise.
29915 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
29916 * iconv/iconvconfig.c (add_module): Likewise.
29917 * intl/dcigettext.c (plural_lookup, guess_category_value)
29918 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
29919 * intl/eval-plural.h (plural_eval): Likewise.
29920 * intl/finddomain.c (_nl_find_domain): Likewise.
29921 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
29922 (_nl_load_domain, _nl_find_msg): Likewise.
29923 (internal_function): Remove definition.
29924 * intl/loadinfo.h (internal_function): Likewise.
29925 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
29927 * intl/localealias.c (internal_function): Remove definition.
29928 (read_alias_file): Remove internal_function.
29929 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
29930 * intl/plural-exp.h (internal_function): Remove definition.
29931 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
29933 * intl/plural.c: Regenerate.
29934 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
29935 * locale/coll-lookup.c (__collidx_table_lookup)
29936 (__collseq_table_lookup): Likewise.
29937 * locale/coll-lookup.h (__collidx_table_lookup)
29938 (__collseq_table_lookup): Likewise.
29939 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
29940 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29941 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
29942 (_nl_unload_locale): Likewise.
29943 * locale/localeinfo.h (struct __locale_data): Remove
29944 internal_function from cleanup member.
29945 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
29946 (_nl_remove_locale, _nl_load_locale_from_archive)
29947 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
29948 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
29949 (_nl_cleanup_time): Remove internal_function.
29950 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
29951 (_nl_parse_alt_digit): Likewise.
29952 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
29953 (_nl_select_era_entry): Likewise.
29954 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
29955 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29956 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
29957 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29958 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
29960 2017-08-31 Florian Weimer <fweimer@redhat.com>
29962 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
29963 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
29964 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
29965 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
29967 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
29968 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
29969 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
29970 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
29972 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
29974 2017-08-31 Florian Weimer <fweimer@redhat.com>
29976 * misc/getttyent.c (skip, value): Remove internal_function.
29977 * misc/syslog.c (openlog_internal): Likewise.
29978 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
29980 2017-08-31 Florian Weimer <fweimer@redhat.com>
29982 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
29983 (__nss_rewrite_field): Remove internal_function.
29984 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29985 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
29986 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
29987 * nss/nsswitch.c (nss_parse_file, nss_getline)
29988 (nss_parse_service_list, nss_new_service): Likewise.
29989 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
29990 * nss/valid_field.c (__nss_valid_field): Likewise.
29991 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
29993 2017-08-31 Florian Weimer <fweimer@redhat.com>
29995 * malloc/arena.c (__malloc_fork_lock_parent)
29996 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
29997 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
29998 internal_function from defintions.
29999 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
30000 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
30001 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
30002 internal_function from declarations.
30003 * malloc/malloc.c (internal_function): Do not define.
30004 (mem2mem_check): Remove internal_function from declaration.
30005 (munmap_chunk, mremap_chunk): Remove internal_function.
30006 * malloc/mtrace.c (tr_where): Likewise.
30008 2017-08-31 Florian Weimer <fweimer@redhat.com>
30010 * include/rpc/pmap_clnt.h (__get_socket): Remove
30012 * sunrpc/auth_des.c (synchronize): Likewise.
30013 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
30014 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
30015 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
30016 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
30017 (key_call): Likewise.
30018 * sunrpc/pm_getport.c (__get_socket): Likewise.
30019 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
30020 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
30021 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
30022 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
30023 (invalidate): Likewise.
30024 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
30025 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
30026 (set_input_fragment, get_input_bytes): Likewise.
30028 2017-08-31 Florian Weimer <fweimer@redhat.com>
30030 * malloc/malloc.c (_int_free): Remove locked variable and related
30033 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
30036 * Makerules (build-module-helper-objlist): Filter out
30037 $(elf-objpfx)sofini.os.
30038 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
30041 2017-08-31 Florian Weimer <fweimer@redhat.com>
30043 * libio/fcloseall.c: Assume weak_alias is defined.
30044 * libio/feof.c: Likewise.
30045 * libio/fileno.c: Likewise.
30046 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
30047 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
30049 (_IO_file_open): Call __open directly.
30050 (_IO_new_file_sync): Assume ESPIPE is defined.
30051 (_IO_file_seekoff_maybe_mmap): Call __read directly.
30052 (_IO_new_file_write): Call __write directly.
30053 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
30054 * libio/ftello64.c (__ftello64): Assume EIO is defined.
30055 * libio/genops.c: Assume _LIBC is defined.
30056 (save_for_backup): Remove internal_function.
30057 * libio/getc.c: Assume weak_alias is defined.
30058 * libio/getwc.c: Likewise.
30059 * libio/iofclose.c: Assume _LIBC is defined.
30060 * libio/iofdopen.c: Likewise.
30061 (_IO_fcntl): Remove macro definition.
30062 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
30063 Call __fcntl directly.
30064 * libio/iofflush.c: Assume weak_alias is defined.
30065 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
30067 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
30068 * libio/iofgets.c: Likewise.
30069 * libio/iofopen.c: Assume _LIBC is defined.
30070 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
30071 * libio/iofputs.c: Assume weak_alias is defined.
30072 * libio/iofread.c: Likewise.
30073 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
30074 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
30075 * libio/ioftell.c: Assume weak_alias is defined.
30076 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
30077 * libio/iofwide.c: Assume _LIBC is defined.
30078 (_IO_fwide): Drop SHARED conditional because it is implied by
30080 * libio/iofwrite.c: Assume weak_alias is defined.
30081 * libio/iogetdelim.c: Likewise.
30082 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
30083 * libio/iogetwline.c (wmemcpy): Remove macro definition.
30084 (_IO_getwline): Call __wmemcpy directly.
30085 * libio/iopopen.c: Assume _LIBC is defined.
30086 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30087 (_IO_close): Remove macro definitions.
30088 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
30090 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
30092 * libio/ioputs.c: Assume weak_alias is defined.
30093 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
30094 * libio/iosetbuffer.c: Assume weak_alias is defined.
30095 * libio/iosetvbuf.c: Likewise.
30096 * libio/ioungetc.c: Likewise.
30097 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
30098 libc_hidden_def, libc_hidden_weak, NULL are defined.
30099 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
30100 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
30102 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
30104 (_IO_old_file_init_internal): Drop SHARED conditional because it
30105 is implied by SHLIB_COMPAT.
30106 (_IO_old_file_fopen): Call __open directly.
30107 (_IO_old_file_sync): Assume ESPIPE is defined.
30108 (_IO_old_file_write): Call __write directly.
30109 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
30110 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
30111 Call __fcntl directly.
30112 * libio/oldiofgetpos.c: Assume weak_alias is defined.
30113 (_IO_old_fgetpos): Assume EIO is defined.
30114 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
30115 (_IO_old_fgetpos64): Assume EIO is defined.
30116 * libio/oldiofsetpos.c: Assume weak_alias is defined.
30117 (_IO_old_fsetpos): Assume EIO is defined.
30118 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
30119 (_IO_old_fsetpos64): Assume EIO is defined.
30120 * libio/oldiopopen.c: Assume _LIBC is defined.
30121 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30122 (_IO_close): Remove macro definitions.
30123 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
30125 (_IO_old_proc_close): Call __close, __waitpid directly.
30126 * libio/put.c: Assume weak_alias is defined.
30127 * libio/stdfiles.c: Assume _LIBC is defined.
30128 * libio/stdio.c: Likewise.
30129 * libio/wfileops.c: Likewise.
30130 (_IO_wfile_sync): Assume ESPIPE is defined.
30131 * libio/wgenops.c: Assume _LIBC is defined.
30132 (save_for_wbackup): Remove internal_function.
30134 2017-08-31 Florian Weimer <fweimer@redhat.com>
30136 * malloc/malloc.c (top_check): Change return type to void. Remove
30138 * malloc/hooks.c (top_check): Likewise.
30139 (malloc_check, realloc_check, memalign_check): Adjust.
30141 2017-08-30 Joseph Myers <joseph@codesourcery.com>
30144 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30145 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
30146 sigcontext and namespace requirements.
30147 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30148 * sysdeps/m68k/sys/ucontext.h: Likewise.
30149 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
30150 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
30151 <bits/sigcontext.h>.
30152 (__ctx): Define earlier.
30153 (mcontext_t): Define structure contents rather than using struct
30155 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
30156 __glibc_reserved1 instead of __reserved.
30157 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
30158 <bits/sigcontext.h>.
30159 (__ctx): Define earlier.
30160 (mcontext_t): Define structure contents rather than using struct
30162 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
30163 mcontext_t instead of struct sigcontext.
30164 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
30165 <bits/sigcontext.h>.
30166 (__ctx): Define earlier.
30167 (mcontext_t): Define structure contents rather than using struct
30169 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
30170 <bits/sigcontext.h>.
30171 (__ctx): Define earlier.
30172 (mcontext_t): Define structure contents rather than using struct
30174 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
30175 mcontext_t instead of struct sigcontext.
30176 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
30177 mcontext_t instead of struct sigcontext.
30178 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
30179 <bits/sigcontext.h>.
30180 (__ctx): New macro.
30181 (struct __ia64_fpreg_mcontext): New type.
30182 (mcontext_t): Define structure contents rather than using struct
30184 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
30185 (uc_sigmask): Define using __ctx.
30186 (uc_stack): Likewise.
30187 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
30188 <bits/sigcontext.h>.
30189 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30190 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
30191 <bits/sigcontext.h>.
30192 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
30193 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
30194 <bits/sigcontext.h>.
30195 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
30196 <bits/sigcontext.h>.
30197 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
30198 <bits/sigcontext.h>.
30199 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
30200 <bits/sigcontext.h>.
30201 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
30202 <bits/sigcontext.h>.
30203 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
30204 <bits/sigcontext.h>.
30205 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
30206 <bits/sigcontext.h>.
30207 (__ctx): Define earlier.
30208 (mcontext_t): Define structure contents rather than using struct
30210 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
30211 <bits/sigcontext.h>. Include <bits/types.h>.
30212 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
30213 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
30214 (test-xfail-XPG42/ucontext.h/conform): Likewise.
30215 (test-xfail-UNIX98/signal.h/conform): Likewise.
30216 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
30217 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
30218 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
30219 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
30220 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
30221 (test-xfail-POSIX2008/signal.h/conform): Likewise.
30222 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
30223 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
30224 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
30226 2017-08-30 Florian Weimer <fweimer@redhat.com>
30228 * malloc/dynarray_emplace_enlarge.c
30229 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
30230 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
30231 * malloc/tst-dynarray.c (test_long_overflow): New function.
30232 (do_test): Call it.
30234 2017-08-30 Florian Weimer <fweimer@redhat.com>
30236 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
30237 (set_arena_corrupt): Remove definitions.
30238 (mtrim): Do not check for corrupt arena.
30239 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
30242 2017-08-30 Florian Weimer <fweimer@redhat.com>
30245 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
30247 (ptmalloc_init): Do not set or use check_action.
30248 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
30249 call to malloc_printerr. Remove return statement.
30250 (free_check): Likewise. Remove arena unlock.
30251 (top_check): Update comment. Adjust call to malloc_printerr.
30252 Remove heap repair code.
30253 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
30254 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
30255 (sysmalloc): Adjust call to malloc_printerr.
30256 (munmap_chunk, __libc_realloc): Likewise. Remove return
30258 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
30259 Remove errout label and corresponding gotos.
30260 (_int_free): Likewise. Remove arena unlock.
30261 (do_set_mallopt_check): Do not set check_action.
30262 (malloc_printerr): Adjust parameter list. Do not mark arena as
30264 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
30266 * manual/probes.texi (Memory Allocation Probes): Remove
30267 memory_mallopt_check_action.
30269 2017-08-30 Steve Ellcey <sellcey@cavium.com>
30271 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
30272 Use pointer to uint64_t instead of long int for sp.
30274 2017-08-30 Florian Weimer <fweimer@redhat.com>
30277 * malloc/malloc.c (malloc_printerr): Always terminate the process,
30278 without printing a backtrace. Do not leak any information in the
30280 * manual/memory.texi (Heap Consistency Checking): Update.
30281 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
30283 2017-08-30 Florian Weimer <fweimer@redhat.com>
30285 Do not scale NPTL tests with available number of CPUs.
30286 * nptl/tst-cond16.c (count): Set to constant value of 8.
30287 * nptl/tst-cond18.c (count): Likewise.
30289 2017-08-29 Joseph Myers <joseph@codesourcery.com>
30292 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
30293 Define to take a second argument that is a macro that
30294 concatentates a suffix, not the suffix itself.
30295 (__CONCAT_d): New macro.
30296 (__CONCAT_f): Likewise.
30297 (__CONCAT_l): Likewise.
30299 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
30301 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
30304 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30305 Aurelien Jarno <aurelien@aurel32.net>
30306 Maciej W. Rozycki <macro@imgtec.com>
30309 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
30310 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
30311 `mips16-syscall6' and `mips16-syscall7'.
30312 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
30313 (CFLAGS-mips16-syscall7.c): Remove.
30314 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
30315 Remove `__mips16_syscall5', `__mips16_syscall6' and
30316 `__mips16_syscall7'.
30317 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
30318 (__mips16_syscall0): Rename `__mips16_syscall_return' to
30319 `__mips_syscall_return'.
30320 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
30321 (__mips16_syscall1): Likewise.
30322 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
30323 (__mips16_syscall2): Likewise.
30324 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
30325 (__mips16_syscall3): Likewise.
30326 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
30327 (__mips16_syscall4): Likewise.
30328 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
30330 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
30332 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
30334 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
30335 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
30336 `__mips16_syscall5'. Remove prototype.
30337 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
30338 `__mips16_syscall6'. Remove prototype.
30339 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
30340 `__mips16_syscall7'. Remove prototype.
30341 (__nomips16, __mips16_syscall_return): Move to...
30342 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
30343 (__nomips16, __mips_syscall_return): ... here.
30344 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
30345 `__mips16_syscall_return' to `__mips_syscall_return'.
30346 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
30347 `internal_syscall##nr'.
30348 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
30349 `internal_syscall##nr'.
30350 (FORCE_FRAME_POINTER): Remove.
30351 (__mips_syscall5): New prototype.
30352 (internal_syscall5): Rewrite to call `__mips_syscall5'.
30353 (__mips_syscall6): New prototype.
30354 (internal_syscall6): Rewrite to call `__mips_syscall6'.
30355 (__mips_syscall7): New prototype.
30356 (internal_syscall7): Rewrite to call `__mips_syscall7'.
30357 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
30358 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
30359 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
30360 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
30361 (sysdep_routines): Add libc-do-syscall.
30362 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
30363 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
30365 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30368 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
30369 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
30370 (advise_stack_range): New function.
30371 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
30372 stack non required to advise_stack_range at allocatestack.c
30374 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30376 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
30378 2017-08-29 Florian Weimer <fweimer@redhat.com>
30381 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
30382 __end_fct. Mangle __end_fct after setting it to NULL.
30383 * iconv/Makefile (tests): Add tst-gconv-init-failure.
30384 (modules-names, modules-names-tests): Add
30385 tst-gconv-init-failure-mod.
30386 (gconv-modules): New target.
30387 (tst-gconv-init-failure-mod.so): Link against libsupport.
30388 (tst-gconv-init-failure): Depend on gconv-modules,
30389 tst-gconv-init-failure-mod.so.
30390 * iconv/tst-gconv-init-failure-mod.c: New file.
30391 * iconv/tst-gconv-init-failure.c: Likewise.
30392 * iconv/test-gconv-modules: Likewise.
30394 2017-08-29 Florian Weimer <fweimer@redhat.com>
30397 * iconv/gconv_db.c (free_derivation): Remove redundant
30399 (gen_steps): Unconditionally mangle __btowc_fct after
30401 (increment_counter): Likewise. Do not call init_fct for internal
30404 2017-08-29 Joseph Myers <joseph@codesourcery.com>
30407 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30408 (_MSUF_): Remove macro.
30409 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
30411 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30412 (__REDIRFROM_X): New macro.
30413 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
30415 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
30416 (__REDIRTO_X): Likewise.
30417 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
30419 (__MATH_REDIRCALL_2): Likewise.
30420 (__MATH_REDIRCALL_INTERNAL): Likewise.
30421 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30422 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
30423 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
30424 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30425 * math/test-finite-macros.c: New file.
30426 * math/Makefile (tests): Add test-finite-macros.
30427 (CFLAGS-test-finite-macros.c): New variable.
30429 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
30430 Jeff Law <law@redhat.com>
30433 Mangle NULL pointers in iconv/gconv.
30434 * iconv/gconv_cache.c (find_module): Demangle init_fct before
30435 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
30436 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
30437 is non-NULL before demangling the end_fct. Check for NULL
30438 end_fct after demangling.
30439 (__gconv_release_step): Demangle the end_fct before checking
30440 it for NULL. Remove assert on __shlibc_handle != NULL.
30441 (gen_steps): Don't check btowc_fct for NULL before mangling.
30442 Demangle init_fct before checking for NULL.
30443 (increment_counter): Likewise.
30444 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
30445 end_fct for NULL before mangling.
30446 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
30449 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
30452 * locale/iso-639.def: add Morisyen.
30454 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30457 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
30458 (iszero): New C++ implementation that does not use
30459 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
30460 signaling nans are enabled, since __builtin_types_compatible_p
30461 is a C-only feature.
30462 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
30463 defined, include ieee754_float128.h for access to the union and
30464 member ieee854_float128.ieee.
30465 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
30466 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
30467 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30468 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
30469 options of test-math-zero on powerpc64le.
30471 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
30473 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
30474 Change double to float.
30476 2017-08-28 Joseph Myers <joseph@codesourcery.com>
30478 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
30480 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
30481 conditional code; define contents only for [LIBM_SVID_COMPAT].
30483 2017-08-28 Florian Weimer <fweimer@redhat.com>
30485 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
30486 (abi-lp64_be-options): Remove.
30487 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
30488 (abi-hard-options): Likewise.
30489 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
30490 (abi-o32_hard-options, abi-o32_soft_2008-options)
30491 (abi-o32_hard_2008-options, abi-n32_soft-options)
30492 (abi-n32_hard-options, abi-n32_soft_2008-options)
30493 (abi-n32_hard_2008-options, abi-n64_soft-options)
30494 (abi-n64_hard-options, abi-n64_soft_2008-options)
30495 (abi-n64_hard_2008-options): Likewise.
30496 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
30497 (abi-64-v1-options, abi-64-v2-options): Likewise.
30498 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
30499 (abi-64-options): Likewise.
30500 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
30501 (abi-64-options): Likewise.
30502 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
30503 (abi-64-options): Likewise.
30504 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
30505 (abi-64-options, abi-x32-options): Likewise.
30507 2017-08-28 Florian Weimer <fweimer@redhat.com>
30509 Store supported list of SYS_* system calls in the source tree.
30510 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
30511 (bits/syscall.h): Generate from list file.
30512 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
30513 [$(subdir) = misc] (tests): Add tst-syscall-list.
30514 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
30515 [$(subdir) = misc] (tst-syscall-list-macros.list)
30516 [$(subdir) = misc] (tst-syscall-list-nr.list)
30517 (tst-syscall-list-sys.list): Helper targets for new
30518 tst-syscall-list test.
30519 [$(subdir) = misc] (tst-syscall-list.out): Run test script
30520 tst-syscall-list.sh.
30521 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
30522 target. Do not include bits/syscall.d.
30523 [$(subdir) = misc] (generated): Do not update.
30524 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
30525 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
30526 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
30527 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
30529 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
30531 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
30532 (tst-cxa_atexit, tst-on_exit): Likewise.
30533 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
30534 tst-cxa_atexit, and tst-on_exit.
30535 * stdlib/tst-atexit-common.c: New file.
30536 * stdlib/tst-atexit.c: New file.
30537 * stdlib/tst-at_quick_exit.c: New file.
30538 * stdlib/tst-cxa_atexit.c: New file.
30539 * stdlib/tst-on_exit.c: New file.
30541 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
30543 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
30544 * mach/stack_chk_fail_local.c: New file.
30545 * hurd/stack_chk_fail_local.c: New file.
30546 * mach/Machrules ($(interface-library)-routines): Add
30547 stack_chk_fail_local.
30548 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
30549 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
30550 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
30551 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
30552 * hurd/Makefile (CFLAGS-hurdstartup.o,
30553 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
30555 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
30557 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
30558 (index_cpu_*, index_arch_*): Removed.
30560 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30562 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
30563 Use uint64_t instead of unsigned long.
30565 2017-08-25 Joseph Myers <joseph@codesourcery.com>
30567 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
30568 [__HAVE_DISTINCT_FLOAT128].
30570 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
30571 of <bits/math-finite.h>.
30572 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
30573 inclusion of <bits/math-finite.h>.
30574 * math/bits/math-finite.h (__REDIRTO_X): Do not define
30575 conditionally on [__MATH_DECLARING_LDOUBLE && defined
30576 __NO_LONG_DOUBLE_MATH].
30577 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
30578 (__MATH_REDIRCALL_2): Likewise.
30579 (__MATH_REDIRCALL_INTERNAL): Likewise.
30580 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30581 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
30582 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
30586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
30588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
30590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
30592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
30594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
30596 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30597 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30598 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
30599 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
30600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
30601 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
30602 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
30603 w_sqrtf_compat-ppc32.
30605 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30607 * math/math.h [defined __cplusplus] (issignaling): In the long
30608 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
30609 is not defined. Call __issignaling, otherwise.
30611 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30613 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
30614 syscall definitions and replace __builtin_expect with __glibc_likely.
30615 * sysdeps/unix/syscall-template.S: Update comment about cancellable
30617 (SYSCALL_CANCELLABLE): Removedefinition
30618 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
30620 (PSEUDO_END): Likewise.
30621 [IS_IN (libpthread)] (CENABLE): Likewise.
30622 [IS_IN (libpthread)] (CDISABLE): Likewise.
30623 [IS_IN (libc)] (CENABLE): Likewise.
30624 [IS_IN (libc)] (CENABLE): Likewise.
30625 [IS_IN (librt)] (CDISABLE): Likewise.
30626 [IS_IN (librt)] (CDISABLE): Likewise.
30627 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30628 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
30630 (PSEUDO_END): Likewise.
30631 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
30632 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
30633 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30634 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
30635 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30636 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
30637 (CENABLE): Likewise.
30638 (CDISABLE): Likewise.
30639 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30640 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
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 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30650 * sysdeps/unix/sysv/linux/hppa/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/i386/sysdep-cancel.h (PSEUDO): Remove
30662 (PSEUDO_END): Likewise.
30663 [IS_IN (libpthread)] (CENABLE): Likewise.
30664 [IS_IN (libpthread)] (CDISABLE): Likewise.
30665 [IS_IN (libc)] (CENABLE): Likewise.
30666 [IS_IN (libc)] (CENABLE): Likewise.
30667 [IS_IN (librt)] (CDISABLE): Likewise.
30668 [IS_IN (librt)] (CDISABLE): Likewise.
30669 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30670 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
30672 (PSEUDO_END): Likewise.
30673 [IS_IN (libpthread)] (CENABLE): Likewise.
30674 [IS_IN (libpthread)] (CDISABLE): Likewise.
30675 [IS_IN (libc)] (CENABLE): Likewise.
30676 [IS_IN (libc)] (CENABLE): Likewise.
30677 [IS_IN (librt)] (CDISABLE): Likewise.
30678 [IS_IN (librt)] (CDISABLE): Likewise.
30679 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30680 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
30682 (PSEUDO_END): Likewise.
30683 [IS_IN (libpthread)] (CENABLE): Likewise.
30684 [IS_IN (libpthread)] (CDISABLE): Likewise.
30685 [IS_IN (libc)] (CENABLE): Likewise.
30686 [IS_IN (libc)] (CENABLE): Likewise.
30687 [IS_IN (librt)] (CDISABLE): Likewise.
30688 [IS_IN (librt)] (CDISABLE): Likewise.
30689 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30690 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
30692 (PSEUDO_END): Likewise.
30693 [IS_IN (libpthread)] (CENABLE): Likewise.
30694 [IS_IN (libpthread)] (CDISABLE): Likewise.
30695 [IS_IN (libc)] (CENABLE): Likewise.
30696 [IS_IN (libc)] (CENABLE): Likewise.
30697 [IS_IN (librt)] (CDISABLE): Likewise.
30698 [IS_IN (librt)] (CDISABLE): Likewise.
30699 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30700 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
30702 (PSEUDO_END): Likewise.
30703 [IS_IN (libpthread)] (CENABLE): Likewise.
30704 [IS_IN (libpthread)] (CDISABLE): Likewise.
30705 [IS_IN (libc)] (CENABLE): Likewise.
30706 [IS_IN (libc)] (CENABLE): Likewise.
30707 [IS_IN (librt)] (CDISABLE): Likewise.
30708 [IS_IN (librt)] (CDISABLE): Likewise.
30709 (SINGLE_THREAD_P): Likewise.
30710 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
30712 (PSEUDO_END): Likewise.
30713 [IS_IN (libpthread)] (CENABLE): Likewise.
30714 [IS_IN (libpthread)] (CDISABLE): Likewise.
30715 [IS_IN (libc)] (CENABLE): Likewise.
30716 [IS_IN (libc)] (CENABLE): Likewise.
30717 [IS_IN (librt)] (CDISABLE): Likewise.
30718 [IS_IN (librt)] (CDISABLE): Likewise.
30719 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30720 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
30722 (PSEUDO_END): Likewise.
30723 [IS_IN (libpthread)] (CENABLE): Likewise.
30724 [IS_IN (libpthread)] (CDISABLE): Likewise.
30725 [IS_IN (libc)] (CENABLE): Likewise.
30726 [IS_IN (libc)] (CENABLE): Likewise.
30727 [IS_IN (librt)] (CDISABLE): Likewise.
30728 [IS_IN (librt)] (CDISABLE): Likewise.
30729 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30730 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
30731 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30732 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
30733 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
30735 (PSEUDO_END): Likewise.
30736 [IS_IN (libpthread)] (CENABLE): Likewise.
30737 [IS_IN (libpthread)] (CDISABLE): Likewise.
30738 [IS_IN (libc)] (CENABLE): Likewise.
30739 [IS_IN (libc)] (CENABLE): Likewise.
30740 [IS_IN (librt)] (CDISABLE): Likewise.
30741 [IS_IN (librt)] (CDISABLE): Likewise.
30742 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30743 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
30745 (PSEUDO_END): Likewise.
30746 [IS_IN (libpthread)] (CENABLE): Likewise.
30747 [IS_IN (libpthread)] (CDISABLE): Likewise.
30748 [IS_IN (libc)] (CENABLE): Likewise.
30749 [IS_IN (libc)] (CENABLE): Likewise.
30750 [IS_IN (librt)] (CDISABLE): Likewise.
30751 [IS_IN (librt)] (CDISABLE): Likewise.
30752 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30753 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
30755 (PSEUDO_END): Likewise.
30756 [IS_IN (libpthread)] (CENABLE): Likewise.
30757 [IS_IN (libpthread)] (CDISABLE): Likewise.
30758 [IS_IN (libc)] (CENABLE): Likewise.
30759 [IS_IN (libc)] (CENABLE): Likewise.
30760 [IS_IN (librt)] (CDISABLE): Likewise.
30761 [IS_IN (librt)] (CDISABLE): Likewise.
30762 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30763 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
30764 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30765 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
30766 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
30768 (PSEUDO_END): Likewise.
30769 [IS_IN (libpthread)] (CENABLE): Likewise.
30770 [IS_IN (libpthread)] (CDISABLE): Likewise.
30771 [IS_IN (libc)] (CENABLE): Likewise.
30772 [IS_IN (libc)] (CENABLE): Likewise.
30773 [IS_IN (librt)] (CDISABLE): Likewise.
30774 [IS_IN (librt)] (CDISABLE): Likewise.
30775 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30776 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
30778 (PSEUDO_END): Likewise.
30779 [IS_IN (libpthread)] (CENABLE): Likewise.
30780 [IS_IN (libpthread)] (CDISABLE): Likewise.
30781 [IS_IN (libc)] (CENABLE): Likewise.
30782 [IS_IN (libc)] (CENABLE): Likewise.
30783 [IS_IN (librt)] (CDISABLE): Likewise.
30784 [IS_IN (librt)] (CDISABLE): Likewise.
30785 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30787 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
30789 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
30791 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30793 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30795 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30798 * string/stratcliff.c (do_test): Declare size, nchars, inner,
30799 middle and outer with size_t instead of int. Repleace %d and
30800 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
30801 "MAX (outer, nchars - 64)" to support unsigned outer and
30802 nchars. Also exit loop when outer == 0.
30804 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30806 * include/fcntl.h (__fcntl_nocancel): Remove definition.
30807 * include/signal.h (__sigsuspend_nocancel): Likewise.
30808 * include/time.h (__nanosleep_nocancel): Likewise.
30809 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
30810 * login/utmp_file.c: Include non cancellable syscall header.
30811 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
30814 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30816 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
30817 .byte sequences with AVX512F instructions.
30818 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
30819 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
30820 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
30821 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
30823 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
30826 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
30827 Steve Ellcey <sellcey@cavium.com>
30829 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
30830 Use PTR_REG macro in cmp instruction.
30832 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30834 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
30835 Change the return type of the ifunc resolver to match the return
30836 type of the target function.
30838 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30840 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
30841 (preadv64): Likewise.
30842 (pwrite64(: Likewise.
30843 (pwritev64): Likewise.
30845 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
30846 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
30847 (LOAD_ARGS_0): Likewise.
30848 (LOAD_ARGS_1): Likewise.
30849 (LOAD_ARGS_2): Likewise.
30850 (LOAD_ARGS_3): Likewise.
30851 (LOAD_ARGS_4): Likewise.
30852 (LOAD_ARGS_5): Likewise.
30853 (LOAD_ARGS_6): Likewise.
30854 (LOAD_REGS_0): Likewise.
30855 (LOAD_REGS_1): Likewise.
30856 (LOAD_REGS_2): Likewise.
30857 (LOAD_REGS_3): Likewise.
30858 (LOAD_REGS_4): Likewise.
30859 (LOAD_REGS_5): Likewise.
30860 (LOAD_REGS_6): Likewise.
30861 (ASM_ARGS_0): Likewise.
30862 (ASM_ARGS_1): Likewise.
30863 (ASM_ARGS_2): Likewise.
30864 (ASM_ARGS_3): Likewise.
30865 (ASM_ARGS_4): Likewise.
30866 (ASM_ARGS_5): Likewise.
30867 (ASM_ARGS_6): Likewise.
30868 (LOAD_ARGS_TYPES_1): Likewise.
30869 (LOAD_ARGS_TYPES_2): Likewise.
30870 (LOAD_ARGS_TYPES_3): Likewise.
30871 (LOAD_ARGS_TYPES_4): Likewise.
30872 (LOAD_ARGS_TYPES_5): Likewise.
30873 (LOAD_ARGS_TYPES_6): Likewise.
30874 (LOAD_REGS_TYPES_1): Likewise.
30875 (LOAD_REGS_TYPES_2): Likewise.
30876 (LOAD_REGS_TYPES_3): Likewise.
30877 (LOAD_REGS_TYPES_4): Likewise.
30878 (LOAD_REGS_TYPES_5): Likewise.
30879 (LOAD_REGS_TYPES_6): Likewise.
30880 (TYPEFY): New define.
30881 (ARGIFY): Likewise.
30882 (internal_syscall0): Likewise.
30883 (internal_syscall1): Likewise.
30884 (internal_syscall2): Likewise.
30885 (internal_syscall3): Likewise.
30886 (internal_syscall4): Likewise.
30887 (internal_syscall5): Likewise.
30888 (internal_syscall6): Likewise.
30889 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
30890 (INTERNAL_SYSCALL_NCS): Remove define.
30891 (internal_syscall1): Add define.
30893 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30895 * math/w_remainder_compat.c: Remove duplicate inclusion of
30896 math-svid-compat.h.
30897 * math/w_remainderf_compat.c: Likewise.
30898 * math/w_remainderl_compat.c: Likewise.
30900 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30904 2017-08-22 Joseph Myers <joseph@codesourcery.com>
30907 * math/tgmath.h (__floating_type): Simplify definitions.
30908 (__real_integer_type): New macro.
30909 (__complex_integer_type): Likewise.
30910 (__expr_is_real): Likewise.
30911 (__tgmath_real_type_sub): Update comment to describe handling of
30913 (__tgmath_complex_type_sub): New macro.
30914 (__tgmath_complex_type): Likewise.
30915 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30916 (__TGMATH_CF128): Use __expr_is_real.
30917 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
30919 (__TGMATH_BINARY_REAL_IMAG): Likewise.
30920 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
30921 * math/gen-tgmath-tests.py (Type.create_type): Create complex
30924 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30926 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
30928 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
30930 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
30933 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
30934 nanosleep_not_cancel with __nanosleep_nocancel.
30935 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
30936 (__nanosleep_nocancel): New macro.
30937 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
30939 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
30941 (__nanosleep_nocancel): New prototype.
30943 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
30944 pause_not_cancel with __pause_nocancel.
30945 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
30946 (__pause_nocancel): New macro.
30947 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
30949 (__pause_nocancel): New prototype.
30950 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
30952 2017-08-22 Martin Sebor <msebor@redhat.com>
30954 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
30955 to return a pointer to the same type as the target function.
30957 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30961 * include/printf.h (__printf_fphex): Add attribute_hidden.
30962 (__guess_grouping): New prototype.
30963 * stdio-common/printf_fp.c (__guess_grouping): Removed.
30964 * stdio-common/reg-printf.c (__register_printf_specifier): Add
30965 libc_hidden_proto and libc_hidden_def.
30966 * stdlib/strfmon_l.c (__guess_grouping): Removed.
30967 (__vstrfmon_l): Remove the third argument passed to
30970 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30972 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
30973 definition for issignaling that does not rely on __MATH_TG,
30974 since __MATH_TG uses __builtin_types_compatible_p, which is only
30975 available in C mode.
30976 (CFLAGS-test-math-issignaling.cc): New variable.
30977 * math/Makefile [CXX] (tests): Add test-math-issignaling.
30978 * math/test-math-issignaling.cc: New test for C++ implementation
30979 of type-generic issignaling.
30980 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30981 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
30982 options of test-math-issignaling on powerpc64le.
30984 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30986 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30988 (hidden_proto): Likewise.
30989 (hidden_tls_proto): Likewise.
30990 (__hidden_proto): Likewise.
30992 2017-08-22 Florian Weimer <fweimer@redhat.com>
30994 math: Statically link tests of internal functionality.
30995 * math/Makefile (tests): Remove atest-exp, atest-sincos,
30997 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
30998 (gmp-objs): Remove assignment.
30999 (atest-exp, atest-sincos, atest-exp2): Remove targets.
31001 2017-08-22 Joseph Myers <joseph@codesourcery.com>
31004 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
31006 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
31008 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
31011 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
31012 variable definitions above inclusion of ../Rules.
31014 2017-08-21 Joseph Myers <joseph@codesourcery.com>
31016 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
31017 case calling __builtin_unreachable.
31019 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31021 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
31022 __waitpid_nocancel.
31023 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
31024 (__waitpid_nocancel): New macro.
31025 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
31027 (__waitpid_nocancel): Replace macro with a function.
31028 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
31031 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
31033 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
31034 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
31036 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
31037 __writev_nocancel_nostatus.
31038 (write_call_graph): Likewise.
31039 (write_bb_counts): Likewise.
31040 * resolv/herror.c (herror): Likewise.
31041 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
31043 (__writev_nocancel_nostatus): New macro.
31044 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
31046 (__writev_nocancel_nostatus): New function.
31048 2017-08-21 Joseph Myers <joseph@codesourcery.com>
31051 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31053 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31055 (hidden_proto): Likewise.
31056 (hidden_tls_proto): Likewise.
31057 (__hidden_proto): Likewise.
31060 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
31061 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
31062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
31064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
31066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
31068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
31070 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
31071 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
31072 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
31073 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
31074 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
31075 GLIBC_2.0 sqrtl symbol.
31077 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
31078 [__USE_MISC] (_LIB_VERSION): Likewise.
31079 [__USE_MISC] (struct exception): Likewise.
31080 [__USE_MISC] (matherr): Likewise.
31081 [__USE_MISC] (DOMAIN): Likewise.
31082 [__USE_MISC] (SING): Likewise.
31083 [__USE_MISC] (OVERFLOW): Likewise.
31084 [__USE_MISC] (UNDERFLOW): Likewise.
31085 [__USE_MISC] (TLOSS): Likewise.
31086 [__USE_MISC] (PLOSS): Likewise.
31087 [__USE_MISC] (HUGE): Likewise.
31088 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
31089 * math/math-svid-compat.h: New file.
31090 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
31092 * include/math.h [!_ISOMAC] (__matherr): Remove.
31093 * manual/arith.texi (FP Exceptions): Do not document matherr.
31094 * math/Makefile (tests): Change test-matherr to test-matherr-3.
31095 (tests-internal): New variable.
31096 (install-lib): Do not add libieee.a.
31097 (non-lib.a): Likewise.
31098 (extra-objs): Do not add libieee.a and ieee-math.o.
31099 (CPPFLAGS-s_lib_version.c): Remove variable.
31100 ($(objpfx)libieee.a): Remove rule.
31101 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
31102 * math/ieee-math.c: Remove.
31103 * math/libm-test-support.c (matherr): Remove.
31104 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
31105 and license notices. Include <math-svid-compat.h> and
31107 (matherr): Undefine as macro. Use compat_symbol_reference.
31108 (_LIB_VERSION): Likewise.
31109 * math/test-matherr-2.c: New file.
31110 * math/test-matherr-3.c: Likewise.
31111 * sysdeps/generic/math_private.h (__kernel_standard): Remove
31113 (__kernel_standard_f): Likewise.
31114 (__kernel_standard_l): Likewise.
31115 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
31116 <math_private.h>. Include <math-svid-compat.h>.
31117 (_LIB_VERSION): Undefine as macro.
31118 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
31119 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
31120 [LIBM_SVID_COMPAT], use compat_symbol.
31121 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
31122 <math_private.h>. Include <math-svid-compat.h>.
31123 (matherr): Undefine as macro.
31124 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
31126 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
31127 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
31128 compat_symbol_reference.
31129 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
31130 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
31131 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
31132 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
31133 (MATHERR_D): Remove declaration.
31134 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
31135 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
31136 [LIBM_BUILD] (pmatherrf): Likewise.
31137 [LIBM_BUILD] (pmatherr): Likewise.
31138 [LIBM_BUILD] (pmatherrl): Likewise.
31139 (DOMAIN): Likewise.
31141 (OVERFLOW): Likewise.
31142 (UNDERFLOW): Likewise.
31145 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
31146 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
31148 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
31149 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
31151 * math/lgamma-compat.h: Include <math-svid-compat.h>.
31152 * math/w_acos_compat.c: Likewise.
31153 * math/w_acosf_compat.c: Likewise.
31154 * math/w_acosh_compat.c: Likewise.
31155 * math/w_acoshf_compat.c: Likewise.
31156 * math/w_acoshl_compat.c: Likewise.
31157 * math/w_acosl_compat.c: Likewise.
31158 * math/w_asin_compat.c: Likewise.
31159 * math/w_asinf_compat.c: Likewise.
31160 * math/w_asinl_compat.c: Likewise.
31161 * math/w_atan2_compat.c: Likewise.
31162 * math/w_atan2f_compat.c: Likewise.
31163 * math/w_atan2l_compat.c: Likewise.
31164 * math/w_atanh_compat.c: Likewise.
31165 * math/w_atanhf_compat.c: Likewise.
31166 * math/w_atanhl_compat.c: Likewise.
31167 * math/w_cosh_compat.c: Likewise.
31168 * math/w_coshf_compat.c: Likewise.
31169 * math/w_coshl_compat.c: Likewise.
31170 * math/w_exp10_compat.c: Likewise.
31171 * math/w_exp10f_compat.c: Likewise.
31172 * math/w_exp10l_compat.c: Likewise.
31173 * math/w_exp2_compat.c: Likewise.
31174 * math/w_exp2f_compat.c: Likewise.
31175 * math/w_exp2l_compat.c: Likewise.
31176 * math/w_fmod_compat.c: Likewise.
31177 * math/w_fmodf_compat.c: Likewise.
31178 * math/w_fmodl_compat.c: Likewise.
31179 * math/w_hypot_compat.c: Likewise.
31180 * math/w_hypotf_compat.c: Likewise.
31181 * math/w_hypotl_compat.c: Likewise.
31182 * math/w_j0_compat.c: Likewise.
31183 * math/w_j0f_compat.c: Likewise.
31184 * math/w_j0l_compat.c: Likewise.
31185 * math/w_j1_compat.c: Likewise.
31186 * math/w_j1f_compat.c: Likewise.
31187 * math/w_j1l_compat.c: Likewise.
31188 * math/w_jn_compat.c: Likewise.
31189 * math/w_jnf_compat.c: Likewise.
31190 * math/w_jnl_compat.c: Likewise.
31191 * math/w_lgamma_main.c: Likewise.
31192 * math/w_lgamma_r_compat.c: Likewise.
31193 * math/w_lgammaf_main.c: Likewise.
31194 * math/w_lgammaf_r_compat.c: Likewise.
31195 * math/w_lgammal_main.c: Likewise.
31196 * math/w_lgammal_r_compat.c: Likewise.
31197 * math/w_log10_compat.c: Likewise.
31198 * math/w_log10f_compat.c: Likewise.
31199 * math/w_log10l_compat.c: Likewise.
31200 * math/w_log2_compat.c: Likewise.
31201 * math/w_log2f_compat.c: Likewise.
31202 * math/w_log2l_compat.c: Likewise.
31203 * math/w_log_compat.c: Likewise.
31204 * math/w_logf_compat.c: Likewise.
31205 * math/w_logl_compat.c: Likewise.
31206 * math/w_pow_compat.c: Likewise.
31207 * math/w_powf_compat.c: Likewise.
31208 * math/w_powl_compat.c: Likewise.
31209 * math/w_remainder_compat.c: Likewise.
31210 * math/w_remainderf_compat.c: Likewise.
31211 * math/w_remainderl_compat.c: Likewise.
31212 * math/w_scalb_compat.c: Likewise.
31213 * math/w_scalbf_compat.c: Likewise.
31214 * math/w_scalbl_compat.c: Likewise.
31215 * math/w_sinh_compat.c: Likewise.
31216 * math/w_sinhf_compat.c: Likewise.
31217 * math/w_sinhl_compat.c: Likewise.
31218 * math/w_sqrt_compat.c: Likewise.
31219 * math/w_sqrtf_compat.c: Likewise.
31220 * math/w_sqrtl_compat.c: Likewise.
31221 * math/w_tgamma_compat.c: Likewise.
31222 * math/w_tgammaf_compat.c: Likewise.
31223 * math/w_tgammal_compat.c: Likewise.
31224 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
31225 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
31226 * sysdeps/ieee754/k_standard.c: Likewise.
31227 * sysdeps/ieee754/k_standardf.c: Likewise.
31228 * sysdeps/ieee754/k_standardl.c: Likewise.
31229 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
31230 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
31231 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
31232 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
31233 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
31234 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
31235 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
31236 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
31237 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
31238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
31240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
31242 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
31243 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
31244 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
31245 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
31247 2017-08-21 Florian Weimer <fweimer@redhat.com>
31250 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
31251 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
31252 Move before inclusion of ../Rules.
31254 2017-08-21 Florian Weimer <fweimer@redhat.com>
31257 * assert/assert.h (assert): Use static_cast (bool) for C++.
31258 Use the ternary operator in the warning branch for GNU C.
31259 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
31260 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
31261 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
31262 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
31263 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
31265 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31268 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31269 (__syscall_clock_gettime): Add attribute_hidden.
31270 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
31271 (__start_context): Likewise.
31273 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31275 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31277 (hidden_proto): Likewise.
31278 (hidden_tls_proto): Likewise.
31279 (__hidden_proto): Likewise.
31281 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31283 * include/libc-symbols.h (attribute_hidden): Enable hidden
31284 visibility in libc.a compiled with PIE.
31286 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31289 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
31290 Add attribute_hidden.
31292 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31295 * Makerules (all-nonlib): Add $(others-extras).
31296 * catgets/Makefile (others-extras): New.
31297 * elf/Makefile (others-extras): Likewise.
31298 * nss/Makefile (others-extras): Likewise.
31300 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31303 * csu/libc-start.c (__libc_multiple_libcs): Removed.
31304 * elf/dl-open.c: Include <libc-internal.h>.
31305 (__libc_multiple_libcs): Removed.
31306 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
31308 * include/libc-internal.h (__libc_multiple_libcs): New.
31309 * misc/sbrk.c: Include <libc-internal.h>.
31310 (__libc_multiple_libcs): Removed.
31312 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31315 * grp/initgroups.c (__nss_group_database): Removed.
31316 (__nss_initgroups_database): Likewise.
31317 * nscd/gai.c (__nss_hosts_database): Likewise.
31318 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
31319 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
31320 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
31321 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
31322 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
31323 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
31325 * nss/nsswitch.c (__nss_database_custom): Define only if
31326 USE_NSCD is defined.
31327 (__nss_configure_lookup): Use __nss_database_custom only if
31328 USE_NSCD is defined.
31329 * nss/nsswitch.h (__nss_database_custom): Declare only if
31330 USE_NSCD is defined. Add attribute_hidden.
31331 (__nss_setent): Add attribute_hidden.
31332 (__nss_endent): Likewise.
31333 (__nss_getent_r): Likewise.
31334 (__nss_getent): Likewise.
31335 (DEFINE_DATABASE): Declare __nss_##arg##_database.
31337 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31340 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
31341 libc_hidden_proto and libc_hidden_def.
31343 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31346 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
31347 Add libc_hidden_proto.
31348 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
31349 Add libc_hidden_def.
31351 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31354 * gmon/Makefile (routines): Remove bb_init_func and
31356 (elide-routines.os): Removed.
31357 * gmon/bb_exit_func.c: Likewise.
31358 * gmon/bb_init_func.c: Likewise.
31359 * include/sys/gmon.h (__bb): Likewise.
31360 (__bb_init_func): Likewise.
31361 (__bb_exit_func): Likewise.
31362 * sysdeps/alpha/bb_init_func.S: Likewise.
31364 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31366 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
31367 * include/setjmp.h (____longjmp_chk): Here. Add
31370 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
31373 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
31375 (__strspn_sse2): Likewise.
31377 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31379 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
31380 (close_not_cancel_no_status): Likewise.
31381 (__close_nocancel): New macro.
31382 (__close_nocancel_nostatus): Likewise.
31383 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
31385 (close_not_cancel): Likewise.
31386 (close_not_cancel_no_status): Likewise.
31387 (__close_nocancel): New prototype.
31388 (__close_nocancel_nostatus): New function.
31389 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
31390 * catgets/open_catalog.c (__open_catalog): Replace
31391 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
31392 * gmon/gmon.c (write_gmon): Likewise.
31393 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
31394 * intl/loadmsgcat.c (close): Likewise.
31395 * io/ftw.c (open_dir_stream): Likewise.
31396 (ftw_startup): Likewise.
31397 * libio/fileops.c (_IO_file_open): Likewise.
31398 (_IO_file_close_mmap): Likewise.
31399 (_IO_file_close): Likewise.
31400 * libio/iopopen.c (_IO_dup2): Likewise.
31401 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31402 * locale/loadlocale.c (_nl_load_locale): Likewise.
31403 * login/utmp_file.c (pututline_file): Likewise.
31404 (endutent_file): Likewise.
31405 * misc/daemon.c (daemon): Likewise.
31406 * nscd/nscd_getai.c (__nscd_getai): Likewise.
31407 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31408 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31409 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31410 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31411 * nscd/nscd_helper.c (open_socket): Likewise.
31412 (__nscd_open_socket): Likewise.
31413 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
31414 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
31415 (__nscd_innetgr): Likewise.
31416 * nss/nss_db/db-open.c (internal_setent): Likewise.
31417 * resolv/res-close.c (__res_iclose): Likewise.
31418 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
31419 * sysdeps/posix/closedir.c (__closedir): Likewise.
31420 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
31421 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31422 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31423 (opendir_tail): Likewise.
31424 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31425 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
31426 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
31427 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31428 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31429 (gethostid): Likewise.
31430 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31431 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31433 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31434 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
31435 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31436 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31438 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
31439 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
31440 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31442 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
31443 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31445 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31447 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31448 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31449 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31452 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
31453 (openat_not_cancel_3): Likewise.
31454 (openat64_not_cancel_3): Likewise).
31455 (openat_not_cancel_3): Likewise).
31456 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
31458 (openat_not_cancel_3): Likewise.
31459 (openat64_not_cancel): Likewise.
31460 (openat64_not_cancel_3): Likewise.
31461 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
31462 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
31463 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
31464 __open{64}_nocancel.
31465 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31466 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31467 * sysdeps/posix/opendir.c (__opendirat): Likewise.
31469 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31472 * include/argz.h (__argz_create_sep): New function prototype.
31473 (__argz_append): Likewise.
31474 (__argz_add): Likewise.
31475 (__argz_add_sep): Likewise.
31476 (__argz_delete): Likewise.
31477 (__argz_insert): Likewise.
31478 (__argz_replace): Likewise.
31479 * string/argz.h (__argz_create_sep): Removed.
31480 (__argz_append): Likewise.
31481 (__argz_add): Likewise.
31482 (__argz_add_sep): Likewise.
31483 (__argz_delete): Likewise.
31484 (__argz_insert): Likewise.
31485 (__argz_replace): Likewise.
31487 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31489 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
31490 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
31491 (GNU_PROPERTY_STACK_SIZE): Likewie.
31492 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
31493 (GNU_PROPERTY_LOPROC): Likewise.
31494 (GNU_PROPERTY_HIPROC): Likewise.
31495 (GNU_PROPERTY_LOUSER): Likewise.
31496 (GNU_PROPERTY_HIUSER): Likewise.
31497 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
31498 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
31499 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
31500 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
31501 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
31502 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
31503 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
31504 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
31505 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
31506 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
31507 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
31508 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
31509 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
31510 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
31511 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
31512 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
31513 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
31514 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
31515 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
31516 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
31517 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
31518 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
31519 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
31521 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31523 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
31526 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31529 * math/math.h (isinf): Check if in C or C++ mode before using
31530 __builtin_types_compatible_p, since this is a C mode feature.
31532 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31534 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
31535 (__write_nocancel): New macro.
31536 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
31537 Rewrite as a function prototype.
31538 (write_not_cancel): Remove macro.
31539 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
31540 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
31541 (write_gmon): Likewise.
31542 * libio/fileops.c (_IO_new_file_write): Likewise.
31543 * login/utmp_file.c (pututline_file): Likewise.
31544 (updwtmp_file): Likewise.
31545 * stdio-common/psiginfo.c (psiginfo): Likewise.
31546 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31547 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31548 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31550 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31553 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
31554 (__read_nocancel): New macro.
31555 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31557 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
31559 (__read_nocancel): New prototype.
31560 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
31561 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
31562 with __read_nocancel.
31563 * intl/loadmsgcat.c (read): Likewise.
31564 * libio/fileops.c (_IO_file_read): Likewise.
31565 * locale/loadlocale.c (_nl_load_locale): Likewise.
31566 * login/utmp_file.c (getutent_r_file): Likewise.
31567 (internal_getut_r): Likewise.
31568 (getutline_r_file): Likewise.
31569 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31570 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31571 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31572 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31574 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
31575 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31576 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31578 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31580 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31582 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31584 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31586 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
31589 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
31590 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
31593 2017-08-17 DJ Delorie <dj@redhat.com>
31595 * bug17079.c: Update to new test harness.
31596 * test-digits-dots.c: Likewise.
31597 * test-netdb.c: Likewise.
31598 * tst-field.c: Likewise.
31599 * tst-nss-getpwent.c: Likewise.
31600 * tst-nss-static.c: Likewise.
31601 * tst-nss-test1.c: Likewise.
31602 * tst-nss-test2.c: Likewise.
31603 * tst-nss-test3.c: Likewise.
31604 * tst-nss-test4.c: Likewise.
31605 * tst-nss-test5.c: Likewise.
31607 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31609 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
31610 (open_not_cancel_2): Likewise.
31611 (open_nocancel): New macro.
31612 (open64_nocancel): Likewise.
31613 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
31614 (open_not_cancel_2): Likewise.
31615 (__open_nocancel): New prototype.
31616 (__open64_nocancel): Likewise.
31617 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31619 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
31620 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
31621 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
31622 with __open_nocancel.
31623 * csu/check_fds.c (check_one_fd): Likewise.
31624 * gmon/gmon.c (write_gmon): Likewise.
31625 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
31626 * intl/loadmsgcat.c (open): Likewise.
31627 * libio/fileops.c (_IO_file_open): Likewise.
31628 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31629 * locale/loadlocale.c (_nl_load_locale): Likewise.
31630 * login/utmp_file.c (setutent_file): Likewise.
31631 * misc/daemon.c (daemon): Likewise.
31632 * nss/nss_db/db-open.c (internal_setent): Likewise.
31633 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31634 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
31635 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31636 (__opendir): Likewise.
31637 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31638 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
31639 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31640 (gethostid): Likewise.
31641 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31642 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31644 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31645 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
31646 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31647 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31649 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
31651 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31653 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
31655 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31657 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31659 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31660 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31662 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
31664 * benchtests/bench-skeleton.c (main): Add support for
31665 latency benchmarking.
31666 * benchtests/scripts/bench.py: Add support for latency benchmarking.
31668 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
31670 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
31671 the startup object.
31673 2017-08-17 Florian Weimer <fweimer@redhat.com>
31675 * include/sys/socket.h (__opensock): Remove internal_function.
31676 * socket/opensock.c (__opensock): Likewise.
31677 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
31679 2017-08-16 Joseph Myers <joseph@codesourcery.com>
31682 * signal/bits/types/__sigval_t.h: New file.
31683 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
31684 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
31685 and define sigval_t using __sigval_t.
31686 * include/bits/types/__sigval_t.h: New file.
31687 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
31688 instead of <bits/types/__sigval_t.h>.
31689 (struct sigevent): Use __sigval_t instead of sigval_t.
31690 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
31691 instead of <bits/types/__sigval_t.h>.
31692 (siginfo_t): Use __sigval_t instead of sigval_t.
31693 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
31694 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31695 (struct sigevent): Use __sigval_t instead of sigval_t.
31696 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
31697 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31698 (siginfo_t): Use __sigval_t instead of sigval_t.
31699 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
31701 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31703 * NEWS: Remove "[Add new features here]" for 2.27.
31705 2017-08-16 Joseph Myers <joseph@codesourcery.com>
31707 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
31710 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31712 * NEWS: Mention x86-64 FMA optimization.
31714 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31717 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31719 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
31720 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
31721 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
31723 2017-08-16 Andreas Schwab <schwab@suse.de>
31727 * elf/ldd.bash.in: Never run file directly.
31729 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
31732 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
31733 (L(SP_INF_0)): Likewise.
31735 2017-08-15 Florian Weimer <fweimer@redhat.com>
31737 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
31740 2017-08-15 Florian Weimer <fweimer@redhat.com>
31742 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
31743 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
31744 BROKEN_THREAD_SIGNALS code.
31745 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
31746 request_list): Remove caller_pid member used for
31747 BROKEN_THREAD_SIGNALS.
31748 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
31749 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31750 Remove BROKEN_THREAD_SIGNALS support.
31751 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
31752 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
31754 2017-08-15 Florian Weimer <fweimer@redhat.com>
31756 * gmon/Makefile (tests): Add tst-gmon.
31757 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
31759 (tests-special): Add tst-gmon-prof.out.
31760 (tst-gmon.out): Depend on clean-tst-gmon-data.
31761 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
31762 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
31763 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
31765 * aclocal.m4 (GPROF): Set and substitute.
31766 * config.amke.in (GPROF): Set.
31767 * configure: Regenerate.
31769 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
31771 * elf/elf.h A (NT_PPC_TAR): New macro.
31772 (NT_PPC_PPR): Likewise.
31773 (NT_PPC_DSCR): Likewise.
31774 (NT_PPC_EBB): Likewise.
31775 (NT_PPC_PMU): Likewise.
31776 (NT_PPC_TM_CGPR): Likewise.
31777 (NT_PPC_TM_CFPR): Likewise.
31778 (NT_PPC_TM_CVMX): Likewise.
31779 (NT_PPC_TM_CVSX): Likewise.
31780 (NT_PPC_TM_SPR): Likewise.
31781 (NT_PPC_TM_CTAR): Likewise.
31782 (NT_PPC_TM_CPPR): Likewise.
31783 (NT_PPC_TM_CDSCR): Likewise.
31785 2017-08-15 Florian Weimer <fweimer@redhat.com>
31787 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
31788 regparm (2) instead of internal_function.
31789 (_MCOUNT_DECL): Adjust.
31791 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
31793 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
31794 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
31796 2017-08-14 Joseph Myers <joseph@codesourcery.com>
31798 * conform/data/sys/wait.h-data (si_value): Do not expect for
31801 2017-08-14 Florian Weimer <fweimer@redhat.com>
31804 NSS: Create stubs for accidentally exported lookup functions.
31805 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
31806 Remove declaration.
31807 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
31808 (ether_hostton): Call __nss_ethers_lookup2 instead.
31809 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
31810 (ether_ntohost): Call __nss_ethers_lookup2 instead.
31811 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
31812 (setup): Call __nss_netgroup_lookup2 instead.
31813 * nss/Makefile (routines): Add compat-lookup.
31814 * nss/Versions (GLIBC_2.27): Add symbol version.
31815 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
31816 (DB_COMPAT_FCT): Remove.
31817 * nss/compat-lookup.c: New file.
31818 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
31819 from databases.def.
31820 * nss/service-lookup.c (NO_COMPAT): Remove definition.
31821 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
31822 (netname2user): Call __nss_publickey_lookup2 instead.
31823 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
31824 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
31827 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31828 Sergei Trofimovich <slyfox@inbox.ru>
31831 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
31832 Rename to MMAP2_PAGE_UNIT.
31833 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
31834 __OFF_T_MATCHES_OFF64_T is not defined.
31835 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
31837 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
31838 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
31840 2017-08-14 Florian Weimer <fweimer@redhat.com>
31842 i386: Do not set internal_function.
31843 * config.h.in (USE_REGPARMS, internal_function): Remove.
31844 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
31845 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
31847 2017-08-14 Florian Weimer <fweimer@redhat.com>
31849 * elf/dl-init.c (_dl_init): Remove internal_function.
31850 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
31851 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
31853 2017-08-14 Florian Weimer <fweimer@redhat.com>
31855 * elf/rtld.c (_dl_start): Remove internal_function.
31856 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
31859 2017-08-14 Florian Weimer <fweimer@redhat.com>
31861 * elf/dl-fini.c (_dl_fini): Remove internal_function
31862 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
31864 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
31866 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
31867 (bit_cpu_SHSTK): Likewise.
31868 (index_cpu_IBT): Likewise.
31869 (index_cpu_SHSTK): Likewise.
31870 (reg_IBT): Likewise.
31871 (reg_SHSTK): Likewise.
31872 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
31873 Handle index_cpu_IBT and index_cpu_SHSTK.
31875 2017-08-14 Mike FABIAN <mfabian@redhat.com>
31878 * po/fr.po: Fix spelling mistake.
31880 2017-08-13 Florian Weimer <fweimer@redhat.com>
31882 * elf/dl-addr.c (_dl_addr): Remove internal_function.
31883 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
31884 (_dl_catch_error, _dl_receive_error): Likewise.
31885 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
31886 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
31887 (_dl_deallocate_tls): Likewise.
31888 * include/dlfcn.h (_dl_addr): Likewise.
31889 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
31890 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
31891 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
31894 2017-08-13 Florian Weimer <fweimer@redhat.com>
31896 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
31897 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
31899 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
31901 2017-08-13 Florian Weimer <fweimer@redhat.com>
31903 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
31905 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
31906 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
31907 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
31908 internal_function from _dl_make_stack_executable_hook member.
31909 (_dl_make_stack_executable): Remove internal_function.
31910 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
31912 * sysdeps/unix/sysv/linux/dl-execstack.c
31913 (_dl_make_stack_executable): Likewise.
31915 2017-08-13 Florian Weimer <fweimer@redhat.com>
31917 * sysdeps/unix/sysv/linux/netlinkaccess.h
31918 (__netlink_assert_response): Remove internal_function.
31919 * sysdeps/unix/sysv/linux/netlink_assert_response.c
31920 (__netlink_assert_response): Likewise.
31922 2017-08-13 Florian Weimer <fweimer@redhat.com>
31924 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
31926 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
31928 2017-08-13 Florian Weimer <fweimer@redhat.com>
31930 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
31932 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
31933 * inet/netgroup.h (__internal_setnetgrent)
31934 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31935 * inet/getnetgrent_r.c (__internal_setnetgrent)
31936 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31937 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
31938 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
31939 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
31940 * nss/nsswitch.h (db_lookup_function): Likewise.
31942 2017-08-13 Florian Weimer <fweimer@redhat.com>
31944 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
31945 Remove internal_function.
31946 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
31947 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
31948 message argument on the stack.
31949 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
31952 2017-08-12 Mike FABIAN <mfabian@redhat.com>
31954 Adapt test case data to the changes in the thousands
31958 * localedata/tst-langinfo.sh: Adapt test case data.
31959 * stdlib/tst-strfmon_l.c: Likewise.
31960 * stdlib/tst-strtod4.c: Likewise.
31961 * stdlib/tst-strtod5i.c: Likewise.
31963 2017-08-11 Florian Weimer <fweimer@redhat.com>
31966 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
31967 Suppress pedantic warning resulting from statement expression.
31968 (__ASSERT_FUNCTION): Add missing __extension__.
31970 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
31972 * benchtests/bench-memmove-large.c: Print output in JSON
31974 * benchtests/bench-memmove.c: Likewise.
31976 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
31977 * benchtests/bench-memchr.c (do_one_test): Likewise.
31978 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
31979 * benchtests/bench-memcpy.c (do_one_test): Likewise.
31980 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
31981 * benchtests/bench-memmove.c (do_one_test): Likewise.
31982 * benchtests/bench-memset-large.c (do_one_test): Likewise.
31983 * benchtests/bench-memset.c (do_one_test): Likewise.
31984 * benchtests/bench-string.h (test_init): Remove memsets.
31986 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
31989 (Computing the Width of an Integer Data Type): Rename section to
31990 "Width of an Integer Type". Remove inaccurate statement regarding
31991 lack of C language facilities for determining width of integer
31992 types, and reorder content to improve flow and context of
31995 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
31997 * lang.texi (va_copy): Change standard from ISO to C99.
31998 (__va_copy): Add standard and header annotation.
31999 Update description for clarity of origins and current use.
32001 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32004 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
32005 xssqrtqp requires operands to be in Vector Registers
32006 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
32007 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
32008 (__ieee754_sqrtf128): Likewise.
32010 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
32012 * sysdeps/aarch64/memcmp.S (memcmp):
32013 Rewrite of optimized memcmp.
32015 2017-08-10 Florian Weimer <fweimer@redhat.com>
32017 Introduce ld.so exceptions.
32018 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
32019 (_dl_exception_create, _dl_exception_create_format)
32020 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
32021 (_dl_catch_exception): Declare.
32022 (_dl_catch_error): Update comment.
32023 * elf/dl-error-skeleton.c (struct catch): Replace objname,
32024 errstring, malloced members with exception member.
32025 (_dl_out_of_memory): Remove.
32026 (fatal_error): New function, extracted from _dl_signal_error.
32027 (_dl_signal_exception, _dl_signal_cexception): New functions.
32028 (_dl_signal_error): Call _dl_exception_create to allocate an
32030 (_dl_catch_exception): New function, based on _dl_catch_error.
32031 (_dl_catch_error): Implement using _dl_catch_exception.
32032 * elf/dl-exception.c: New file.
32033 * elf/Makefile (dl-routines): Add dl-exception.
32034 (elide-routines.os): Likewise.
32035 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
32036 _dl_exception_create_format, _dl_exception_free.
32037 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
32038 _dl_signal_exception.
32039 * elf/dl-lookup.c (make_string): Remove.
32040 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
32041 _dl_signal_cexception, _dl_exception_free.
32042 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
32043 _dl_signal_exception.
32044 * elf/dl-sym.c (do_sym): Likewise.
32045 * elf/dl-version.c (make_string): Remove.
32046 (match_symbol): Use _dl_exception_create_format,
32047 _dl_signal_cexception, _dl_exception_free.
32048 (_dl_check_map_versions): Likewise.
32049 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
32050 _dl_catch_exception.
32051 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
32052 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
32053 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
32054 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
32055 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
32056 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
32057 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
32058 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
32060 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
32061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
32063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
32065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
32067 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
32068 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
32069 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
32071 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
32073 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
32075 2017-08-10 Florian Weimer <fweimer@redhat.com>
32077 * inet/net-internal.h (__inet6_scopeid_pton): Remove
32078 attribute_hidden, internal_function.
32079 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
32082 2017-08-10 Florian Weimer <fweimer@redhat.com>
32084 * malloc/malloc.c (get_max_fast): Reimplement as an inline
32085 function which calls __builtin_unreachable.
32087 2017-08-10 Mike FABIAN <mfabian@redhat.com>
32089 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
32090 Indian monetary formatting
32091 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
32094 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
32096 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
32097 Fix typo in comment.
32100 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
32101 PTRACE_SEIZE_DEVEL): Remove.
32102 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
32103 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32104 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32105 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32106 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32108 2017-08-09 Joseph Myers <joseph@codesourcery.com>
32110 * posix/bits/types.h (__qaddr_t): Remove.
32113 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
32114 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32116 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
32117 (ucontext_t): Use __ctx with uc_flags.
32118 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
32119 (__ctxt): Likewise.
32120 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32122 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
32123 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32125 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
32126 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32128 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
32130 (ucontext_t): Use __ctx with uc_flags.
32131 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
32132 (ucontext_t): Use __ctx with uc_flags.
32133 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
32134 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
32135 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
32136 (ucontext_t): Use __ctx with uc_flags.
32137 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
32138 undefine further down.
32139 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32141 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
32142 undefine further down.
32143 (ucontext_t): Use __ctx with uc_flags.
32144 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
32145 undefine further down.
32146 (ucontext_t): Use __ctx with uc_flags.
32147 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
32148 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
32149 Rename uc_pad to __glibc_reserved1.
32150 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
32151 undefine further down.
32152 (ucontext_t): Use __ctx with uc_flags.
32153 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
32155 (ucontext_t): Use __ctx with uc_flags.
32156 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
32157 __ctx with uc_flags.
32158 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
32159 (ucontext_t): Use __ctx with uc_flags.
32160 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
32161 __ctx with uc_flags.
32163 2017-08-09 Florian Weimer <fweimer@redhat.com>
32166 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
32167 before early return.
32169 2017-08-09 Andreas Schwab <schwab@suse.de>
32172 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
32176 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
32177 tst-compat-forwarder.
32178 (modules-names): Add tst-compat-forwarder-mod.
32179 ($(objpfx)tst-compat-forwarder): Depend on
32180 $(objpfx)tst-compat-forwarder-mod.so.
32181 * nptl/tst-compat-forwarder.c: New file.
32182 * nptl/tst-compat-forwarder-mod.c: New file.
32184 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
32186 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
32189 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
32190 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
32192 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
32194 (__libc_ifunc_impl_list): Add __memcpy_falkor.
32195 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
32196 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
32197 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
32199 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
32202 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32205 * manual/setjmp.texi (getcontex): Document uc_stack value
32206 compatibility differences.
32208 2017-08-08 Joseph Myers <joseph@codesourcery.com>
32210 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
32211 (old_malloc_hook): Likewise.
32212 (old_memalign_hook): Likewise.
32213 (old_realloc_hook): Likewise.
32214 (struct hdr): Likewise.
32216 (freehook): Likewise.
32217 (mallochook): Likewise.
32218 (memalignhook): Likewise.
32219 (reallochook): Likewise.
32220 (mprobe): Likewise.
32221 * malloc/mtrace.c (mallwatch): Likewise.
32222 (tr_old_free_hook): Likewise.
32223 (tr_old_malloc_hook): Likewise.
32224 (tr_old_realloc_hook): Likewise.
32225 (tr_old_memalign_hook): Likewise.
32226 (tr_where): Likewise.
32227 (lock_and_info): Likewise.
32228 (tr_freehook): Likewise.
32229 (tr_mallochook): Likewise.
32230 (tr_reallochook): Likewise.
32231 (tr_memalignhook): Likewise.
32232 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
32233 * misc/mmap.c (__mmap): Likewise.
32234 * misc/mmap64.c (__mmap64): Likewise.
32235 * misc/mprotect.c (__mprotect): Likewise.
32236 * misc/msync.c (msync): Likewise.
32237 * misc/munmap.c (__munmap): Likewise.
32238 * posix/posix_madvise.c (posix_madvise): Likewise.
32239 * socket/send.c (__send): Likewise.
32240 * socket/sendto.c (__sendto): Likewise.
32241 * socket/setsockopt.c (__setsockopt): Likewise.
32242 * string/memcmp.c (__ptr_t): Remove macro.
32243 (MEMCMP): Use void * instead of ptr_t.
32244 * string/memrchr.c (__ptr_t): Remove macro.
32245 (__memrchr): Use void * instead of ptr_t.
32246 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
32247 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
32248 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
32249 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
32250 * sysdeps/mach/msync.c (msync): Likewise.
32251 * sysdeps/mach/munmap.c (__munmap): Likewise.
32252 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
32254 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32255 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
32256 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
32257 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
32258 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
32259 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
32260 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
32261 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
32263 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
32264 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
32265 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
32266 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
32267 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
32268 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
32269 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
32270 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
32271 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
32273 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
32274 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
32275 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
32276 (MEMCMP): Use void * instead of ptr_t.
32277 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
32278 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
32280 2017-08-08 Florian Weimer <fweimer@redhat.com>
32282 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
32285 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
32288 * csu/libc-tls.c: Include <startup.h> first.
32289 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
32290 * elf/dl-tunables.c: Include <startup.h> first.
32291 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
32292 * sysdeps/generic/startup.h: New file.
32293 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
32294 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
32295 (I386_USE_SYSENTER): New. Defined to 0.
32297 2017-08-08 Andreas Schwab <schwab@suse.de>
32300 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
32301 * nptl/pt-system.c (system): Likewise.
32303 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32306 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
32308 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
32309 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
32310 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
32311 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
32312 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
32313 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
32314 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
32316 2017-08-07 Joseph Myers <joseph@codesourcery.com>
32319 * bits/sigaction.h (struct sigaction): Define sa_handler and
32320 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
32321 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32322 [__USE_XOPEN_EXTENDED].
32323 (SA_RESTART): Likewise.
32324 (SA_NODEFER): Likewise.
32325 (SA_RESETHAND): Likewise.
32326 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
32327 (struct sigaction): Define sa_handler and sa_sigaction using union
32328 also for [__USE_XOPEN_EXTENDED].
32329 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32330 [__USE_XOPEN_EXTENDED].
32331 (SA_RESTART): Likewise.
32332 (SA_NODEFER): Likewise.
32333 (SA_RESETHAND): Likewise.
32334 * sysdeps/unix/sysv/linux/bits/sigaction.h
32335 (struct sigaction): Define sa_handler and sa_sigaction using union
32336 also for [__USE_XOPEN_EXTENDED].
32337 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32338 [__USE_XOPEN_EXTENDED].
32339 (SA_RESTART): Likewise.
32340 (SA_NODEFER): Likewise.
32341 (SA_RESETHAND): Likewise.
32342 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
32343 (struct sigaction): Define sa_handler and sa_sigaction using union
32344 also for [__USE_XOPEN_EXTENDED].
32345 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32346 [__USE_XOPEN_EXTENDED].
32347 (SA_RESTART): Likewise.
32348 (SA_NODEFER): Likewise.
32349 (SA_RESETHAND): Likewise.
32350 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
32351 (struct sigaction): Define sa_handler and sa_sigaction using union
32352 also for [__USE_XOPEN_EXTENDED].
32353 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32354 [__USE_XOPEN_EXTENDED].
32355 (SA_RESTART): Likewise.
32356 (SA_NODEFER): Likewise.
32357 (SA_RESETHAND): Likewise.
32358 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
32359 (struct sigaction): Define sa_handler and sa_sigaction using union
32360 also for [__USE_XOPEN_EXTENDED].
32361 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32362 [__USE_XOPEN_EXTENDED].
32363 (SA_RESTART): Likewise.
32364 (SA_NODEFER): Likewise.
32365 (SA_RESETHAND): Likewise.
32366 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
32367 (struct sigaction): Define sa_handler and sa_sigaction using union
32368 also for [__USE_XOPEN_EXTENDED].
32369 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32370 [__USE_XOPEN_EXTENDED].
32371 (SA_RESTART): Likewise.
32372 (SA_NODEFER): Likewise.
32373 (SA_RESETHAND): Likewise.
32374 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
32375 (struct sigaction): Define sa_handler and sa_sigaction using union
32376 also for [__USE_XOPEN_EXTENDED].
32377 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32378 [__USE_XOPEN_EXTENDED].
32379 (SA_RESTART): Likewise.
32380 (SA_NODEFER): Likewise. Define directly rather than as alias.
32381 (SA_RESETHAND): Likewise.
32382 (SA_INTERRUPT): Define only for [__USE_MISC].
32383 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
32384 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
32386 (SA_STACK): Define only for [__USE_MISC].
32387 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
32388 (struct sigaction): Define sa_handler and sa_sigaction using union
32389 also for [__USE_XOPEN_EXTENDED].
32390 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32391 [__USE_XOPEN_EXTENDED].
32392 (SA_RESTART): Likewise.
32393 (SA_NODEFER): Likewise.
32394 (SA_RESETHAND): Likewise.
32395 (SA_NOPTRACE): Define only for [__USE_MISC].
32397 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
32398 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
32399 (struct catalog_info): Likewise.
32400 * inet/htontest.c (lo): Likewise.
32402 * inet/inet_lnaof.c (inet_lnaof): Likewise.
32403 * inet/inet_net.c (inet_network): Likewise.
32404 * inet/inet_netof.c (inet_netof): Likewise.
32405 * inet/rcmd.c (__ivaliduser): Likewise.
32406 (iruserok): Likewise.
32407 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
32408 * locale/programs/locale-spec.c (locale_special): Likewise.
32409 * nis/nis_findserv.c (struct findserv_req): Likewise.
32410 (__nis_findfastest_with_timeout): Likewise.
32411 * nss/test-netdb.c (test_network): Likewise.
32412 * resolv/inet_neta.c (inet_neta): Likewise.
32413 * resolv/ns_date.c (ns_datetosecs): Likewise.
32414 (SECS_PER_DAY): Likewise.
32415 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
32417 * resolv/res_comp.c (__putlong): Likewise.
32418 (__putshort): Likewise.
32419 (_getlong): Likewise.
32420 (_getshort): Likewise.
32421 * resolv/res_debug.c (p_time): Likewise.
32422 (precsize_ntoa): Likewise.
32423 (precsize_aton): Likewise.
32424 (latlon2ul): Likewise.
32425 (loc_aton): Likewise.
32426 (loc_ntoa): Likewise.
32427 * resolv/res_hconf.c (struct netaddr): Likewise.
32428 (_res_hconf_reorder_addrs): Likewise.
32429 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
32430 (clnttcp_control): Likewise.
32431 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32432 (clntudp_control): Likewise.
32433 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
32434 (clntunix_control): Likewise.
32435 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
32436 * sunrpc/rpc/auth.h (union des_block): Likewise.
32437 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
32438 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
32439 (xdrrec_create): Likewise.
32440 (xdrrec_endofrecord): Likewise.
32441 (flush_out): Likewise.
32442 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
32443 (xdrstdio_putlong): Likewise.
32444 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
32447 * misc/sys/cdefs.h (__long_double_t): Remove.
32448 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
32449 instead of __long_double_t,
32450 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
32452 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
32454 * benchtests/scripts/compare_strings.py: Avoid display error when
32455 running on a text terminal.
32457 * benchtests/scripts/compare_strings.py (main): Add an
32458 optional -base option.
32459 (process_results): New argument base_func.
32461 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
32463 * benchtests/bench-memcpy-large.c (test_name): Likewise.
32464 * benchtests/bench-memcpy-random.c (test_name): Likewise.
32466 2017-08-07 Andreas Schwab <schwab@suse.de>
32468 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
32469 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
32470 * intl/Makefile ($(objpfx)tst-gettext.out)
32471 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
32472 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
32473 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
32474 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
32475 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
32476 * posix/Makefile ($(objpfx)globtest.out)
32477 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
32478 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
32479 ($(objpfx)tst-printf.out): Likewise.
32480 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
32481 ($(objpfx)tst-setcontext3.out): Likewise.
32483 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
32485 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32486 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
32487 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
32488 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
32489 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
32491 (CFLAGS-doasin-fma.c): New.
32492 (CFLAGS-dosincos-fma.c): Likewise.
32493 (CFLAGS-e_asin-fma.c): Likewise.
32494 (CFLAGS-e_atan2-fma.c): Likewise.
32495 (CFLAGS-e_exp-fma.c): Likewise.
32496 (CFLAGS-e_log-fma.c): Likewise.
32497 (CFLAGS-e_pow-fma.c): Likewise.
32498 (CFLAGS-halfulp-fma.c): Likewise.
32499 (CFLAGS-mpa-fma.c): Likewise.
32500 (CFLAGS-mpatan-fma.c): Likewise.
32501 (CFLAGS-mpatan2-fma.c): Likewise.
32502 (CFLAGS-mpexp-fma.c): Likewise.
32503 (CFLAGS-mplog-fma.c): Likewise.
32504 (CFLAGS-mpsqrt-fma.c): Likewise.
32505 (CFLAGS-mptan-fma.c): Likewise.
32506 (CFLAGS-s_atan-fma.c): Likewise.
32507 (CFLAGS-sincos32-fma.c): Likewise.
32508 (CFLAGS-slowexp-fma.c): Likewise.
32509 (CFLAGS-slowpow-fma.c): Likewise.
32510 (CFLAGS-s_sin-fma.c): Likewise.
32511 (CFLAGS-s_tan-fma.c): Likewise.
32512 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
32513 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
32514 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
32515 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
32516 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
32517 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
32518 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
32519 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
32520 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
32521 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
32522 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
32523 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
32524 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
32525 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
32526 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
32527 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
32528 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
32529 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
32530 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
32531 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
32532 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
32533 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
32534 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
32535 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
32536 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32537 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32538 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32539 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
32540 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32541 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32542 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32544 2017-08-04 Joseph Myers <joseph@codesourcery.com>
32546 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
32547 (min_of_type_f): New macro.
32548 (min_of_type_): Likewise.
32549 (min_of_type_l): Likewise.
32550 (min_of_type_f128): Likewise.
32551 (min_of_type): Define using __MATH_TG and taking an expression
32553 (math_check_force_underflow): Pass expression instead of type to
32555 (math_check_force_underflow_nonneg): Likewise.
32557 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32559 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32560 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
32561 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
32563 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32565 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32566 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
32567 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
32568 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
32569 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
32570 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
32571 memcpy_chk-nonshared, mempcpy_chk-nonshared,
32572 memmove_chk-nonshared and memset_chk-nonshared
32573 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
32574 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
32575 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
32576 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
32577 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
32578 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
32579 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
32580 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
32581 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
32582 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
32583 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
32584 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
32585 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
32586 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
32587 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
32588 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
32589 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
32590 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
32591 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
32592 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
32593 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
32594 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
32595 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
32596 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
32597 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
32598 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
32599 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
32600 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
32601 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
32602 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
32603 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
32604 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
32605 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
32606 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32607 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
32608 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
32609 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
32610 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
32611 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
32612 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
32613 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
32614 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
32615 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
32616 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
32617 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
32618 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
32619 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
32620 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
32621 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
32622 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
32623 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
32624 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
32625 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
32626 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
32627 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
32628 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
32629 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
32630 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
32631 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
32632 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
32633 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
32634 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
32635 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
32636 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
32637 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
32638 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
32639 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
32640 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
32641 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
32642 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
32643 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
32644 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32645 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32646 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32647 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32648 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32649 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32650 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32651 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32652 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32653 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32654 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32655 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32656 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32657 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32658 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32659 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32660 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32661 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32662 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32663 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32664 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32665 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32666 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32667 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32668 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32669 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32670 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32671 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32672 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32673 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32674 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32675 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32676 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32677 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32678 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32679 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32680 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32682 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32684 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
32685 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
32686 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
32687 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
32688 svml_d_log2_core-sse2, svml_d_log4_core-sse,
32689 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
32690 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
32691 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
32692 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
32693 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
32694 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
32695 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
32696 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
32697 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
32698 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
32699 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
32700 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
32701 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
32702 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
32703 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
32704 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
32705 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
32706 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
32707 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
32708 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
32709 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
32710 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
32711 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
32712 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
32713 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
32714 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
32715 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
32716 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
32717 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
32718 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
32719 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
32720 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
32721 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
32722 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
32723 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
32724 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
32725 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
32726 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
32727 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
32728 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
32729 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
32730 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
32731 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
32732 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
32733 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
32734 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
32735 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
32736 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
32737 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
32738 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
32739 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
32740 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
32741 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
32742 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
32744 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
32745 Don't include <sysdep.h> nor <init-arch.h>.
32746 (_ZGVbN2v_cos): Removed.
32747 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
32749 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
32750 Don't include <sysdep.h> nor <init-arch.h>.
32751 (_ZGVdN4v_cos): Removed.
32752 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
32754 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
32755 Don't include <sysdep.h> nor <init-arch.h>.
32756 (_ZGVeN8v_cos): Removed.
32757 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
32759 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
32760 Don't include <sysdep.h> nor <init-arch.h>.
32761 (_ZGVbN2v_exp): Removed.
32762 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
32764 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
32765 Don't include <sysdep.h> nor <init-arch.h>.
32766 (_ZGVdN4v_exp): Removed.
32767 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
32769 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
32770 Don't include <sysdep.h> nor <init-arch.h>.
32771 (_ZGVeN8v_exp): Removed.
32772 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
32774 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
32775 Don't include <sysdep.h> nor <init-arch.h>.
32776 (_ZGVbN2v_log): Removed.
32777 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
32779 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
32780 Don't include <sysdep.h> nor <init-arch.h>.
32781 (_ZGVdN4v_log): Removed.
32782 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
32784 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
32785 Don't include <sysdep.h> nor <init-arch.h>.
32786 (_ZGVeN8v_log): Removed.
32787 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
32789 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
32790 Don't include <sysdep.h> nor <init-arch.h>.
32791 (_ZGVbN2vv_pow): Removed.
32792 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
32794 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
32795 Don't include <sysdep.h> nor <init-arch.h>.
32796 (_ZGVdN4vv_pow): Removed.
32797 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
32799 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
32800 Don't include <sysdep.h> nor <init-arch.h>.
32801 (_ZGVeN8vv_pow): Removed.
32802 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
32804 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
32805 Don't include <sysdep.h> nor <init-arch.h>.
32806 (_ZGVbN2v_sin): Removed.
32807 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
32809 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
32810 Don't include <sysdep.h> nor <init-arch.h>.
32811 (_ZGVbN4v_sin): Removed.
32812 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
32814 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
32815 Don't include <sysdep.h> nor <init-arch.h>.
32816 (_ZGVbN8v_sin): Removed.
32817 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
32819 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
32820 Don't include <sysdep.h> nor <init-arch.h>.
32821 (_ZGVbN2vvv_sincos): Removed.
32822 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
32824 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
32825 Don't include <sysdep.h> nor <init-arch.h>.
32826 (_ZGVdN4vvv_sincos): Removed.
32827 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
32829 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
32830 Don't include <sysdep.h> nor <init-arch.h>.
32831 (_ZGVeN8vvv_sincos): Removed.
32832 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
32834 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
32835 Don't include <sysdep.h> nor <init-arch.h>.
32836 (_ZGVeN16v_cosf): Removed.
32837 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
32839 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
32840 Don't include <sysdep.h> nor <init-arch.h>.
32841 (_ZGVbN4v_cosf): Removed.
32842 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
32844 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
32845 Don't include <sysdep.h> nor <init-arch.h>.
32846 (_ZGVdN8v_cosf): Removed.
32847 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
32849 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
32850 Don't include <sysdep.h> nor <init-arch.h>.
32851 (_ZGVeN16v_expf): Removed.
32852 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
32854 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
32855 Don't include <sysdep.h> nor <init-arch.h>.
32856 (_ZGVbN4v_expf): Removed.
32857 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
32859 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
32860 Don't include <sysdep.h> nor <init-arch.h>.
32861 (_ZGVdN8v_expf): Removed.
32862 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
32864 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
32865 Don't include <sysdep.h> nor <init-arch.h>.
32866 (_ZGVeN16v_logf): Removed.
32867 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
32869 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
32870 Don't include <sysdep.h> nor <init-arch.h>.
32871 (_ZGVbN4v_logf): Removed.
32872 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
32874 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
32875 Don't include <sysdep.h> nor <init-arch.h>.
32876 (_ZGVdN8v_logf): Removed.
32877 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
32879 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
32880 Don't include <sysdep.h> nor <init-arch.h>.
32881 (_ZGVeN16vv_powf): Removed.
32882 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
32884 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
32885 Don't include <sysdep.h> nor <init-arch.h>.
32886 (_ZGVbN4vv_powf): Removed.
32887 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
32889 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
32890 Don't include <sysdep.h> nor <init-arch.h>.
32891 (_ZGVdN8vv_powf): Removed.
32892 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
32894 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
32895 Don't include <sysdep.h> nor <init-arch.h>.
32896 (_ZGVeN16vvv_sincosf): Removed.
32897 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
32899 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
32900 Don't include <sysdep.h> nor <init-arch.h>.
32901 (_ZGVbN4vvv_sincosf): Removed.
32902 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
32904 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
32905 Don't include <sysdep.h> nor <init-arch.h>.
32906 (_ZGVdN8vvv_sincosf): Removed.
32907 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
32909 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
32910 Don't include <sysdep.h> nor <init-arch.h>.
32911 (_ZGVeN16v_sinf): Removed.
32912 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
32914 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
32915 Don't include <sysdep.h> nor <init-arch.h>.
32916 (_ZGVbN4v_sinf): Removed.
32917 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
32919 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
32920 Don't include <sysdep.h> nor <init-arch.h>.
32921 (_ZGVdN8v_sinf): Removed.
32923 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32925 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32926 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
32927 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
32928 s_rint-sse4_1 and s_rintf-sse4_1.
32929 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
32930 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
32931 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
32932 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
32933 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
32934 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
32935 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
32936 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
32937 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
32938 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
32939 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
32940 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32942 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
32943 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
32944 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32945 (__ceilf): Removed.
32946 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
32947 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
32948 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32949 (__floor): Removed.
32950 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
32951 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
32952 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32953 (__floorf): Removed.
32954 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
32955 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
32956 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32957 (__nearbyint): Removed.
32958 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
32959 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
32960 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32961 (__nearbyintf): Removed.
32962 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
32963 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
32964 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32966 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
32967 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
32968 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32969 (__rintf): Removed.
32971 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32973 * sysdeps/i386/start.S (_start): Check Check PIC instead of
32974 SHARED. Avoid dynamic relocation against main in static PIE.
32976 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32979 * elf/Makefile (CFLAGS-tst-prelink.c): New.
32980 (LDFLAGS-tst-prelink): Likewise.
32982 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32984 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
32985 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
32986 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
32987 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
32988 (INTERNAL_SYSCALL_NCS): Likewise.
32989 (LOADARGS_1): Likewise.
32990 (LOADARGS_5): Likewise.
32991 (RESTOREARGS_1): Likewise.
32992 (RESTOREARGS_5): Likewise.
32994 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32996 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
32997 (MEMPCPY_SYMBOL): Likewise.
32998 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
32999 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
33000 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
33002 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33003 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
33005 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
33006 (__hidden_ver1): Don't use in libc.a.
33007 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
33008 (__mempcpy): Don't create a weak alias in libc.a.
33009 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
33011 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
33012 (__hidden_ver1): Don't use in libc.a.
33014 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33016 * config.make.in (have-insert): New.
33017 * configure.ac (libc_cv_insert): New. Set to yes if linker
33018 supports INSERT in linker script.
33019 (AC_SUBST(libc_cv_insert): New.
33020 * configure: Regenerated.
33021 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
33022 if $(have-insert) == yes.
33024 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33026 * elf/Makefile (tests): Add vismain only if
33027 $(have-protected-data) == yes.
33028 (tests-pie): Likewise.
33030 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33033 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
33034 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
33036 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33039 * sysdeps/i386/i586/memset.S
33040 (__memset_zero_constant_len_parameter): Removed.
33041 * sysdeps/i386/i686/memset.S
33042 (__memset_zero_constant_len_parameter): Likewise.
33043 * sysdeps/i386/i686/multiarch/memset_chk.S
33044 (__memset_zero_constant_len_parameter): Likewise.
33045 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
33048 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
33050 * stdlib/getentropy.c (getentropy): Change return type to int.
33052 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
33054 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
33056 2017-08-03 Joseph Myers <joseph@codesourcery.com>
33058 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
33060 * math/s_nexttowardf.c (__nexttowardf): Likewise.
33061 * sysdeps/generic/math_private.h (ieee_double_shape_type):
33063 (ieee_float_shape_type): Likewise.
33064 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
33065 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
33066 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
33067 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33068 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
33069 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
33070 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
33071 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
33072 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
33074 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
33075 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
33076 (__ieee754_yn): Likewise.
33077 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
33078 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
33079 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
33081 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
33082 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
33083 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
33084 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
33085 (__erfc): Likewise.
33086 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
33087 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
33088 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
33089 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
33090 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
33091 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
33093 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
33094 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
33095 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
33096 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
33097 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
33098 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
33099 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
33100 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
33101 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
33102 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
33103 (__issignaling): Likewise.
33104 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
33105 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
33106 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
33108 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33109 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
33110 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
33111 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
33113 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
33115 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
33116 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
33117 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
33118 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
33119 (__erfcf): Likewise.
33120 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
33121 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
33122 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
33123 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
33125 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
33126 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
33128 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
33129 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
33130 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
33131 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
33132 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
33133 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33134 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
33135 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
33137 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
33139 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
33141 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
33142 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
33144 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
33146 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
33147 (__ieee754_ynl): Likewise.
33148 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
33149 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
33151 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
33153 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
33154 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
33155 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33157 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
33158 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
33159 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
33160 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
33161 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
33162 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
33163 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
33164 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
33166 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
33167 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
33168 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
33170 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
33171 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
33172 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
33173 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
33174 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
33175 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33177 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
33179 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33181 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33183 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
33184 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33185 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33186 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
33187 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
33188 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
33189 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
33191 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
33193 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
33194 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33196 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
33197 (__ieee754_remainderl): Likewise.
33198 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33199 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33200 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
33201 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
33203 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
33204 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33206 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33207 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
33208 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
33209 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
33210 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
33211 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
33213 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
33214 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
33215 (__ieee754_y0l): Likewise.
33218 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33219 (__ieee754_y1l): Likewise.
33222 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
33223 (__ieee754_ynl): Likewise.
33224 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
33225 (__ieee754_lgammal_r): Likewise.
33226 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
33228 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
33229 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
33230 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
33231 (__erfcl): Likewise.
33232 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
33233 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
33235 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
33236 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
33237 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
33238 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
33239 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
33240 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33241 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33243 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
33244 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33245 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
33246 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
33247 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33249 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
33250 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
33252 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
33253 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
33254 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
33255 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
33256 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
33258 2017-08-03 Florian Weimer <fweimer@redhat.com>
33261 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
33262 on memory allocation failure.
33264 2017-08-03 Alan Modra <amodra@gmail.com>
33266 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
33267 tst-tlsopt-powerpc.c with function name change and no test harness.
33268 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
33269 Call tls_get_addr_opt_test.
33270 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
33271 (modules-names): Add mod-tlsopt-powerpc.
33272 (mod-tlsopt-powerpc.so-no-z-defs): Define.
33273 (tst-tlsopt-powerpc): Depend on .so.
33274 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
33275 define. Expand use in TLS_GD and TLS_LD.
33277 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
33279 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
33281 * sysdeps/posix/shm_open.c: Include <pthread.h>.
33283 2017-08-02 Joseph Myers <joseph@codesourcery.com>
33286 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
33287 comparing size with that of double.
33288 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33289 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33290 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33291 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33292 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33293 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
33294 unsigned __int128 types.
33296 2017-08-02 Steve Ellcey <sellcey@cavium.com>
33298 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
33299 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
33300 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
33301 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
33302 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
33304 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33306 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
33308 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33310 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
33312 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
33313 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
33314 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33315 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33316 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33317 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33318 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33320 2017-08-02 Joseph Myers <joseph@codesourcery.com>
33323 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
33324 bit-field expressions passed to sizeof or typeof.
33325 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33326 (__TGMATH_F128): Likewise.
33327 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33328 (__TGMATH_CF128): Likewise.
33329 (__TGMATH_UNARY_REAL_ONLY): Likewise.
33330 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
33331 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
33332 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
33333 (__TGMATH_BINARY_REAL_ONLY): Likewise.
33334 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33335 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33336 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33337 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33338 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
33339 (__TGMATH_UNARY_REAL_IMAG): Likewise.
33340 (__TGMATH_UNARY_IMAG): Likewise.
33341 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
33342 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33343 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
33345 (define_vars_for_type): Handle bit_field type specially.
33346 (Tests.__init__): Declare structure with bit-field element.
33348 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33351 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
33352 (MEMCPY_CHK): Define only if SHARED is defined.
33353 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
33355 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
33358 See ChangeLog.18 for earlier changes.